Changes in SuperWaba 3.4 ! changed directory locations of SW files in WinCE: now is \SuperWaba instead of "\Program Files\SuperWaba" 1. fixed problem in dumpStackTrace. also removed some unnecessary code from exception handling. . increased Color.fadeStep in color device from 64 to 96. This will make disable control look more faded. 2. Ported SuperWaba to Palm OS 5.0. Binaries placed at superwaba/bin/palm/PalmOS5. 3. added clipping to arcPiePointDrawAndFill 4. fixed "record not busy". thanks to Sir Anodos. 5. implemented Rogerio's code to add a textColor field to the progress bar. 6. fixed JavaBridge to correctly emulate Windows CE 480/640 horizontal resolutions. //removed for version 3.5 7. added support for .wav files in Palm OS 5. Updated Warp to include a wav file in the pdb. You must use SoundClip to play the wav. 8. added Object.getClass 9. increased size of the String name returned in Object.toString (was 45. now is 200). 10. now the waba and ext package are compiled using Symantec's Visual Cafe Compiler if running at my home. sj11 creates faster code comparing with javac. . fixed name of Zip library: was XPlatIoZip.pdb and now is XPlatUtilZip.pdb. . removed the java.lang package from superwaba.jar . now the SuperWaba deploying is completly automated. No more way that i forget something! 11. now Game.TextRenderer stores the Text in an image. 12. optimized Game engine. 13. new method: static Graphics.copyScreen. Changed a few places to use it. 14. Graphics.drawImage (for sprite) has a new field: doClip. Use with care! See javadocs. 15. added onStart for the Container class. Now you can use it to initialize your controls in classes that extends waba.ui.Container in the same way you already do in the MainWindow. Changed Window.swap to set the rect of the container being swapped to the Window's client rect (this will invoke the onStart method in a consistent state). . placed onStart = true in most controls that extends Container/Window in the waba.ui package to avoid calling onStart method (they won't need it) and thus speeding up the VM. 16. added Chrysander changes in BufferStream.readBytes to fix problem when not all the bytes we want to read is available 17. added alex gross code to fix a repaint problem in MultiEdit. 18. added a new option to Exegen: /L now creates a .lnk file that can be used instead of the /E. But in this case your app won't have an icon. 19. changed Exegen to display the paths where it founds the icon file. . fixed SWCalc to correctly run in Windows CE. 20. fixed bug in Windows CE that was causing a fatal exception with a problem in the initialization. 21. fixed bug in Windows CE that was occuring in xmalloc because it was not clearing the allocated memory. 22. fixed a problem in x86Em where it may not get access to a bitmap's pixels. 23. added hasCursorWhenNotEditable to Edit and MultiEdit. now you can disable the cursor if you want in these circunstances. 24. made String.indexOf(char), indexOf(char,int) indexOf(String) functions native. . fixed Socket.java javadocs example. 25. added support in Keyboard.java for Turkish characters. Thanks to Dogan Soykan. 26. added Dan Jones changes to Progress bar to fix a width problem. 27. implemented getClientRect for the TabPanel class to exclude the areas for the tab and border 28. fixed TabPanel painting problems when the number of elements given does not fit in the number of wanted rows. 29. added David Haysmitch fixes to waba.util.Date to fix getJulianDate 30. fixed problem when using Catalog at the desktop and the path to the catalog has a . inside 31. added Alex Muc fixes to Tea.padPlainText to fix padding problems . added Rogerio Araujo's scripts for linux to create the libraries and classes. 32. fixed instantiation of package accessed programs using Class.forName. 33. added Settings.timeZone and daylightSavings. Only available in desktop, WinCE and PalmOS >= 4.0 devices. 34. fixed Settings.dateFormat,is24Hour,dateSeparator,timeSeparator at the desktop . Thanks to Frank Diebolt, added a code to the waba.fx.Palette javadocs to create the web safe palette. . added Frank Diebolt changes to HighScore class to only save valid high scores. . added Frank Diebolt changes to GameEngineMainWindow class to use a private control that receives game timer events. So custom timers will no longer be an issue. 35. added Andy De Pue code to let native methods handle thrown exceptions and return values when calling executeMethod. . added Visual J++ setup to how-to-start.txt file. 36. added new ComboBox constructor to accept a PopList. 37. added a new public field to the Socket class, refreshBeforeEachRead, which make the vm call NetLibConnectionRefresh for each read/write. // removed 38. Added Thomas Klotz changes to XmlLiteParser to handle two more cases of foundEndTagName 39. Added Greg Wilkins changes to XmlLiteParser to parse more than one piece, and also added two classes to parse a HTML header and body. . added Alexander Gros HtmlViewer classes to examples/HtmlViewer replacing the non-functional Browser example. //removed . added Danilo Luiz Rheinheimer wdbc-jdbc bridge so you can test the db2 wdbc driver AT THE DESKTOP. Please check the readme.txt at \superwaba\ext\xplat\sql\jdbc . moved the superwaba.ext.xplat.util.Properties classes to util.props package and created a single library for it (XPlatUtilProps.pdb). 40. added Francois Vincent changes to TabPanel.onBoundsChanged to only reset the tab to 0 if none was set. . moved xxx_javalang.c to /vm, renaming it to xplat_javalanc.c, and removed everything from the specific platforms. 41. fixed bug in fillEllipse that was using currentForeColor instead of currentBackColor. Thanks to Peter Dickerson. 42. fixed incompatibility in Exegen: changed the string that is used to generate the creator id from pdbFile to className, which makes more sense, since warp uses the className too. 43. new parameter to Exegen: /Z [file.swz], used to create all installation cab files for windows ce. 44. fixed problem with long classnames. SW was expecting a maximum of 40 chars for the package+classname. Now it computes the size dynamically. 45. added code to snap the scrollbar to the nearest unitIncrement value when dragging. 46. fixed some bugs in the Graphics.drawText and FontMetrics.getCharWidth, specialy regarding the display of glyphs not present that were not being replaced by the MCB char. . New font: 5SW, to be used for 320x320 Palm OS 5 devices. THIS FONT MUST BE INSTALLED IN THE DEVICE AS WELL. 47. now the 4 font styles can be merged into one file using the utility superwaba/apps/xplat/TTF2PDBs/JoinFonts. The font files at /superwaba/classes were merged into the following files: LSW.pdb, MSW,pdb, HSW.pdb, 5SW.pdb. Note that SW will support both merged and splitted font pdbs. Note also that the TTF2PDBs utility now will always merge the fonts, unless the parameter /split is given. 48. fixed the Catalog class at the desktop not being able to correctly handle 65535 records. Thanks to Heiko Klein for the tip. 49. hidded the warning messages regarding file Settings4xxxx.pdb. This confuses the user. 50. renamed Catalog.DmGetDatabaseTypeCreator to DmGetDatabaseTypeCreatorSize so it can retrieve the number of records too. 51. made the cursors a little more darker in color devices. 52. catching out of memory exceptions in image buffering allocations to avoid the program being halted. In case of failure, it does not use double buffering or does not save the background. . added search for jdk 1.4.1, 1.4.0_01 and 1.4.0_02 in the bat files 53. regarding the support for jdk class files 1.2 or above: since it makes the VM slower, and thus is not recommended, the Warp file now aborts the packaging if it finds a class compiled with jdk 1.3.x or 1.4.x. To use those compilers, you must add "-target 1.1" to it. The big problem of targets greater than 1.1 is that now they may not put the reference for a method or variable that is in the superclass inside the subclass. See http://java.sun.com/docs/books/jls/public-symref-compilation-rules.html . fixed make.bat and rundemoex.bat files to use -target 1.1 54. added Anthony Goubard changes to fix a bug in the Compression class when growing too much compressed strings. 55. added support for 5-way navigation under PalmOS5: IKeys.ENTER,LEFT,RIGHT (and PAGE_UP/DOWN). 56. now the Vm.getDeviceFreeMemory returns the amount of free heap space for PalmOS5. . placed back the command bar menu in PalmOS >= 3.5. 57. relesed the semaphore when closing stuff at db2e to try to avoid fatal errors. 58. now TabPanel.setPanel calls the setRect of the given container, which in turn calls onStart if needed. . updated the ContainerSwitch example to use the new onStart method. . added Frank Diebolt changes to the Game API: . new classes Animation, AnimatedButton, AnimatedSprite . new app to convert an animated gif to a bmp to be used above: superwaba\apps\xplat\Gif2Bmps 59. fixed problem in loadBmpCompressed for bad formatted bitmaps that was causing it to be black. 60. fixed problem in Exegen that it was not finding the bitmaps header. 61. fixed "incompatible device" warning bug. 62. Added Andreas Rozek fixes in ExeFile to fix problems in CE exe generation.