Share

WabaJump

File Release Notes and Changelog

Release Name: wabajump-0.6.1

Notes:
2 short bug fixes over 0.6, see change log.

Changes: Changes in WabaJump 0.6.1 ------------------------- - waba.ui.Edit: bugfix, would ignore events immediately after a setText(). - Examples:DiceRoller:Die: free() image after allocation in onPaint(). Both thanks to diligent debugging by Peter Dickerson. NOTE: If any of the compile.bat files fail to work on Windows, try raising the Properties:Memory:Environment to 1280 or more. They can use some big environment strings. December 17, 2002 Changes in WabaJump 0.6 ----------------------- - waba.fx.Graphics: Color!!! Requires Jump 2b10 or later. Affects lines and shapes, but not text, yet. Scott Cytacki, with work by Rod Montrose and George Ruban. Also: copyRect follows draw modes; the cursor is slightly optimized; resetClip() for Window (below), moved debug() to Debug class. RM & GR. - waba.fx.Color: setBlue(), setRed(), setGreen() matching the get()s. Rod Montrose. - waba.fx.Debug: Separate class to write temporary debugging messages to screen. GR & RM. - waba.fx.Font, FontMetrics: documentation and safety checks, Rod Montrose. - waba.fx.Image: Can pass in resource id as String, allowing more (but not complete) Java/Palm interoperability, setPixels(), free(). Rod Montrose, a little George Ruban. - waba.fx.SoundClip: dummy for Waba compatibility. Rod Montrose. - waba.io.Catalog: listCatalogs() uses Vector instead of delimited String. George Ruban. - waba.io.File: dummy for Waba compatibility. Rod Montrose. - waba.io.SerialPort: SerClearErr(), SerSend()/Receive(), setFlowControl() bug fixes by Andrzej Jan Taramina, refactoring mutilated by George Ruban. - waba.io.Socket: 90% functional, with debugging left in. Rod Montrose. - waba.sys.Convert: toUpperCase(), toLowerCase(). Rod Montrose. - waba.sys.JumpApp: use getTimeStamp() for events, release Graphics.cursor, general code cleanup. George Ruban, Rod Montrose. - waba.sys.Vm: getPlatformVersion(). Peter Carroll. - waba.sys.Vm: isColor(), getUserName(). Rod Montrose. - waba.sys.Vm: optimize getTimeStamp() performance. Peter Dickerson. - waba.sys.Vm: isGui3D()/setGui3D() to complement isColor(). George Ruban. Basically, if you want to use the "Palm-style" "flat" GUI devices, even on a color device, do nothing. If you want to use the "3D-style" ("Windows CE-style, perhaps?") GUI devices, call Vm.setGui3D(true) once (in your application constructor, for example). If you want a "Waba Classic" style application that has a "flat" GUI style on monochrome devices, and a "3D style" on color devices, call Vm.setGui3D(Vm.isColor()) once. (If you like, you can even change isGui3D at runtime, though we don't know why you'd want to. Controls does this to demonstrate the complete concept in one application.) This is a compromise between several views on the subject, better suggestions welcome. - waba.ui.Window, TabBar, Radio, Edit, Button, Check: Use Vm.isGui3D() to check the "3D motif" rather than Vm.isColor(). This allows 2D or 3D display for color or monochrome, all set in one place. Rod Montrose's idea mutilated by George Ruban. - waba.ui.Tab: setText(), getText(). Rod Montrose. - waba.ui.Container: moved debug() to Debug class, removed unnecessary clearClip(). George Ruban. - waba.ui.Edit: don't ignore events if charWidths==null (caused bug missing focus), removed workaround for Jump Vm.copyArray bug. George Ruban. - waba.ui.Window: call Graphics.resetClip() after each full draw to null the clip for PalmOS Hacks (slowing things down a bit, unfortunately). Rod Montrose and George Ruban. - waba.util.Vector: _size and removeAll(). guich. - waba.util.Vector: removed workaround for Jump Vm.copyArray bug. George Ruban. - Examples: Scribble is now Color Scribble if Vm.isColor(). George Ruban. - Examples: Controls can change to demonstrate 3D GUI and flat GUI devices. George Ruban. - Examples: WabaJumpTest displays user name along with other device data. George Ruban. - Examples: CoreTest demonstrates color and more draw modes (without code changes). - Examples: cascading Windows "compile.bat" files build the whole set at once. December 09, 2002 Changes in WabaJump 0.5 ----------------------- - waba.fx.Graphics: Major optimization rewrite. drawStart only calls WinSetDrawWindow or WinSetClip if they are different than the last iWinHandle or clip used, got rid of drawStop and getFocus entirely, copyRect works from Window to Image, fixed drawing to an Image without locking ... whew. - waba.io.Catalog: resizeRecord didn't work after recClose's DmReleaseRecord. Changed just to MemHandleUnlock, seems to work. - waba.io.Catalog: Reordered arguments in call to DmDeleteDatabase. Peter Carroll. - waba.io.Catalog: Cached _recordPos after recClose for DmRemoveRecord. Peter Carroll. - waba.io.Catalog: Added lastError public debugging String, since there seemed to be a lot of Catalog problems. Should remove next release if no more Catalog problems. - waba.sys.JumpApp: Calls handleMainWinEvent with Waba enumerations instead of handleEvent. - waba.sys.JumpApp: Cleaned up to use PenEvent and IKeys constants instead of hardcoded integers, commented, added real timestamp to all events, thanks to RMontrose. - waba.ui.Container: Added debug method to draw string to screen. Peter Carroll. - waba.ui.Edit: Iterative array expansion instead of System.arraycopy for inserting a character, workaround for Jump bug using memcpy on overlapping array. - waba.util.Vector: Iterative array expansion for inserting entry, ditto. - waba.io.SerialPort: Used newer SerReceive, SerSend functions. Scott Cytacki. - NOTE: there seems to be a bug in SerialPort when using flow control -- can either send or receive, not both. Need to setFlowControl(false) explicitly. - added Windows .bat files for compilation in source/waba, examples/*, and docs/javadocs. - Examples: DiceRoller Die.java edited to draw relative to the Control, not MainWindow. Also don't need to call clearClip any more. - Examples: CoreTest seems functional after Graphics change. All examples functional now. First version released by George Ruban. Thanks for the trust, Peter. December 08, 2001 Changes in WabaJump 0.4 ----------------------- - waba.io.Catalog: Fixed error in creating a new Catalog. Thanks to Michael George. - waba.io.Catalog: Fixed error writing to a Catalog. Thanks to Michael George. - waba.io.Catalog: Replaced Integer and Short objects with IntHolder and ShortHolder objects to get rid of deprecation warnings. - waba.io.SerialPort: Replaced Integer and Short objects with IntHolder and ShortHolder objects to get rid of deprecation warnings. - waba.fx.Graphics: Replaced Integer and Short objects with IntHolder and ShortHolder objects to get rid of deprecation warnings. - waba.sys.JumpApp: Replaced Integer and Short objects with IntHolder and ShortHolder objects to get rid of deprecation warnings. - waba.sys.JumpApp: MainWindow.onExit was never being called. Fixed. - waba.io.Catalog: Fixed records being left open when doing an addRecord - waba.io.Catalog: Fixed problems when creating a Catalog, the Catalog would be hosed because of an error in trying to set the backup bit on the Catalog. Thanks to Stephen Rudman. - waba.sys.JumpApp: Added some keycodes to the Event handler, borrowed from the SuperWaba VM code. Thanks Guich! - waba.ui.IKeys: Added some keycodes, borrowed from SuperWaba. Thanks Guich! - waba.sys.JumpApp: Trapped the popup keyboard keys so that it won't crash the app. - waba.sys.Vm: copyArray will now return false if either array is null. Thanks Sean Luke from the Newton Waba project! - waba.fx.Graphics: Fixed clipping. Changes in WabaJump 0.3 ----------------------- - waba.sys.Vm: getPlatform now returns "PalmOS" instead of "PalmOS/Jump". - waba.sys.Time: Time is now functional. - Examples: PocketWatch is now functional due to waba.sys.Time being completed. - waba.fx.Graphics: getClip now returns the current clipping rectangle. - waba.fx.Graphics: Added drawStart and drawStop functions and inserted them into all drawing functions. - waba.fx.Graphics: setColor will now default all colors that are not 255,255,255 to black instead of defaulting all colors that are not 0,0,0 to white. - waba.fx.Image: Removed getResourceID. - waba.fx.Image: Changed constructor that uses a resource id to also require height and width, as well as it now creating an offscreen window. - waba.fx.Graphics: Changed drawImage to use copyRect, copyRect is now functioning. - Examples: ImageSplit is now functional due to Image and Graphics Changes. - waba.ui.Window: getWinHandle now uses Palm.WinGetDisplayWindow. - waba.fx.FontMetrics: In getCharWidth, used Palm.FntLineWidth instead of Palm.FntCharWidth to correct cursor and selection being placed incorrectly on Edit controls. - waba.io.Socket: Skeleton version of Socket just to make apps that use Socket compile. Socket is not functional yet. - Examples: Removed PilotMain function from all the examples to demonstrate use of Jump's WabaJump mode. Changes in WabaJump 0.2 ----------------------- - Changed package name from wabajump to waba. - DiceRoller example: Fixed dice being placed in the wrong spot when the Set button is tapped. - waba.fx.Graphics: Put code into setClip and clearClip. - waba.fx.Graphics: Made getRect return a wabajump.fx.Rect instead of a palmos.Rectangle. - waba.fx.Graphics: Created function getRectangle for when a palmos.Rectangle is needed. - waba.io.SerialPort: Created function getRefNum for use in InfraRed. - waba.io.InfraRed: Now extends Stream instead of SerialPort for future compatibility with non-PalmOS versions of Waba/SuperWaba. - waba.io.InfraRed: Added code to make it do something! - Examples: Added Scribble example from the original Waba SDK. - waba.io.Catalog: Type and Creator were reversed in the constructor. Fixed it. - waba.io.Catalog: Made _recordPos initialize to -1. This fixed errors when closing a Catalog. - Examples: Added AddrScan example from the original Waba SDK. - Examples: Added Controls example from the original Waba SDK. - waba.fx.Image: Added the constructor that uses width and height. - waba.fx.Image: getWinHandle will now return a handle if it has one. - waba.fx.Graphics: Now initializing font=waba.ui.MainWindow.defaultFont. (Thanks Ralf!) - Examples: Added CoreTest example from the original Waba SDK. It is not fully functional, and demonstrates the unfinished parts of WabaJump quite well. - Examples: Added ImageSplit example from the original Waba SDK. It is not fully functional. - Examples: Added PocketWatch example from the original Waba SDK. It is not fully functional.