On Sat, 2006-08-26 at 23:56 -0400, Roy Sutton wrote:> I have basically spent a full day''s worth of time I could have
spent
> working on something productive trying to figure out which function
> signature I changed that is causing wxRuby to crash. It just takes so
> long to recompile this from scratch and without dependencies you kind of
> have to when you change wxWindow.h. I updated a lot of signatures to
> match the wxWindows header file. So frustrated....
I feel your pain. Did you mean to attach a patch?
One way we could speed up compilation is to avoid launching the various
swig post-processors as command-line apps. Low on my todo list is to
make them all embeddable ruby, which could be require''d by rakewx.rb.
We
would probably save at least a minute per recompile if we did this.
And, it''s another PURE RUBY project which could be taken on by a
volunteer who doesn''t know C++ or SWIG. If you''re interested,
contact me
for a more detailed spec of what we need.
I wonder if there is some automated way we could take care of this. One
approach that would at least help would be if someone could run the
actual wx headers through something like doxygen. It would need to be
done for each of our 3 platforms, since there may be variations. Just
having that available would save us a ton of time.
After that''s done, an enhancement would be to parse the doxygen output,
and our .h files, comparing them to see where we have discrepancies.
Another cool pure-ruby task.
Kevin