Hello all,
I've never contributed to an open source project before, so I'm not sure of the proper ettiquite. Please correct me if I do something stupid :)
I've been email with Raymond Irving about some idea's that I had, and he encouraged me to post it here and see what people think.
I wrote a Java version of the JavaScript compressor that comes with DynAPI. Along with everything that the DynAPI one does, it reads in a config file that says "compress these files, then merge them into this one file". This enables me to keep a good amount of JS files when I'm coding, but then when I "build" to apache, I compress them all into 1 file, so the browser doesn't have to hit the server multiple times to get the files.
Then, I took it a step farther, and added what I had to in order to be able to compress the DynAPI files I was using, and it worked! I was able to get all my files, plus the DynAPI files I was using and compress / merge them all into 1 file. It sped things up on my server dramatically.
The changes were all just adding semi-colons where they were needed, except for one case:
The mouse_ie.js, dyndocument.js and mouse_dom.js files all have a method called "main" and that doesn't seem to work very well when they're all combined into the same file. To fix it, I renamed them, which names like main_mouse_ie, etc, and fixed all the other references to them. Seems to work fine, but I haven't tested extensively all the examples and such.
I'd like to check in my changes, as well as send in my Java compressor, since Raymond said he'd like to post it on the site. I'd also like to make a Swing front end for the java app to make it a little easier to use.
What do you guys and gals think of this idea? Should I check in the changes? What's the right process for checking in changes?
Jesse
------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/