r752 - 22 Jul 2008 - 16:03:23 - GuilhermeCHazanYou are here: SuperWaba >  Codev Web  > ChangeLogs
Here are described two versions: the currently developed version, and the currently released one.
To see the changelog information for other versions, please go to http://www.superwaba.org/sdkhistory

SEE THE LitebaseChangelogs

SEE THE BlackBerryChangelogs

TotalCross changes

Changes in SuperWaba 5.86 (in development)

1. Added Vm.TWEAK_INFINITE_TIMED_CHUNK to be passed to Vm.tweak, which re-enables the infinite memory allocation that occurs when your program is doing intensive operations, it can speedup a lot the process.
2. Fixed Grid painting over left area when grid position was > 0.
3. added TabPanel.arrowsColor to change the arrow colors.
4. fixed Vm.attachLibrary at desktop not considering the same files of Warp as valid files to be used.
5. fixed button.setImage not recomputing the image position
6. fixed SerialPort calling EscapeCommFunction(port,SETIR) on all ports.
7. added support for Pidion devices on GPS default constructor.
. fixed the message overwritting the lattitude information on the GPS class.
8. fixed Conduit not copying zero-sized files to the pda.
9. fixed NPE in Calculator on keypadOnly devices.

Changes in SuperWaba 5.85 (20080317)

1. Clicking in the Grid's caption sorts the column. Now clicking again will revert-sort it.
2. fixed actionOnRelease not correctly working at device side when Settings.actionOnRelease is set to false.
3. fixed the memory leak checking routine when it was removing a value from the hashtable but the value was being used further. this caused a wrong information of memory leak being displayed.
4. added Robson Gehl changes to StandardHttpClient to fix a problem when parsing the http headers.
5. now the ACTION key in Palm OS is also sent when the key is pressed.

Changes in SuperWaba 5.84 (Current GPL and LGPL version - 20071120)

1. added a kind of "flush" when Vm.debug is redirected to nvfs. this makes the debug really slow, but at least the data is now persisted after a reset.
2. fixed stack trace rebooting the device under some circunstantes.
3. now the virtualKeyboard is correctly set to false on Qtek 9100.
4. fixed y/z keys on German's Qtek 9100.
5. improved GPS class so that it read many commands sent in the same text line. Tested with Rikaline GPS-6033 Bluetooth and a Treo 650.
6. new changes on MotoQ: now the back key is back and the right selection key is ACTION.
. updated the license for S60V3 devices. Now it expires at 2017.
7. vinicius: fixed NPE when using auto-scroll for a ScrollBar and the button was released but another timer event was dispatched.


Changes in SuperWaba 5.83 (20070927)

1. added ByteArrayStream.setPos.
2. fixed stack trace not showing the line where the exception was thrown.
3. fixed stack trace at device giving "empty stack" at most situations.
4. added some "throw new OutOfMemoryError" at sw_graphics.c.
5. fixed superwaba's installations not working with windows mobile 5/6 devices. Please read page 16 of the superwaba companion.pdf
6. now the left/right buttons on motoq will popup the menu.
7. fixed Convert.toDouble("-") corrupting memory.
8. now keypadOnly is set to false for MotoQ.
9. fixed a problem in Socket/SerialPort that was introduced by the new lastErrorStr added by the blackberry port. This variable was being placed at a wrong position, leading to problems when the native functions tried to access the internal hook variables.
. fixed problem when generating the install files for s60v3.
10. fixed MultiEdit throwing an ArrayIndexOutOfBounds when starting the ME with a space.
11. now if you intercept the SK_LAUNCH key on Symbian, the right (exit) button won't exit.
. added XPlatUtilDateRGF.pdb and XPlatUtilCrypto.pdb to the Windows CE cab files.
12. fixed HtmlBrowser crashing on penless devices. Added a comment in the Control.setVisible about the issue.
. now the SoundClip class is no longer final.
13. fixed problem in Treo devices when a key of the device was assigned to a SW application, and the key was pressed while the device was off.
14. added two things in the SOAP class: a protected HttpStream hs member used by the last call to execute, and a createOptions method where you will be able to override and add more options besides the default ones.
15. fixed MultiEdit not correctly handling the ENTER key
16. fixed support for Janam XP20 and XP30. Now both run fine on ARM vm. Notes: to run the XP30, you must install the font file msw.pdb; to run the XP20, you must install the 8bpp vm and the lsw.pdb font file.


Changes in SuperWaba 5.82 (20070817)

. Removed support for the following platforms: UIQ (P800), HPC2000_MIPS, HPC211_SH3, HPC211_MIPS. These pdas are rather old and we don't believe someone is still using them. This will make the SDK smaller. If you try to install the vm and the installation now fails, contact us and we'll send you the files and maybe put back the removed platform (if many people needs it).
1. When an error 500 occurs, the SOAP class gets the error reason from the returned message and displays it in the exception. Increased SOAP, XmlTokenizer and HttpStream default buffer sizes from 512 to 1024, so the error message can be read at once.
2. now when the user hold the action key for a while in wince and symbian, the menu is popped up. before this, it was impossible to open the menu in penless devices. Note that now the ACTION key event is dispatched when the key is released and Settings.actionOnRelease is true (default). On Palm OS, actionOnRelease is ignored.
3. added Vm.tweak to enable, during the running instance, some parameters that are available when running the Welcome application.
4. added ColorList.setColors to set the colors that will be displayed.
5. fixed color of ScrollBar's bar when both buttons are disabled (on Palm OS style).
6. added Convert.getStackTrace, which returns the stack trace for a given Throwable as a String. CAUTION: getting a stack trace can cause device reset, because there's a lack of information in the SuperWaba vm about method frames, and during the stack crawl, it can access an invalid memory region, causing the reset.
7. now the Esc key also exits from the MultiEdit and Edit on penless devices.
8. added SoundClip support for java applications at desktop (before, only java applets was supported).
9. changed the motoq button at the RIGHT SIDE of the pda from BACKSPACE to ACTION. Otherwise, it is impossible to exit from a MultiEdit, because (only) on this phone the center button is mapped to 13 (enter) instead of 134 (action).
10. brunosoares - fixed HttpStream's content-length not being correctly retrieved under some situations.
11. brunosoares - fixed HttpStream's and Socket's readLine not reading lines correctly (now returns null only when no more lines are available).
12. brunosoares - added support to 3xx response codes (redirection) in HttpStream. Included an attribute which contains the new location: URI location.
13. brunosoares - fixed MainWindow's swap() method that was causing a container to be focused instead of its first focusable control on penless devices (only when a container was added to another container).
14. fixed Button on Vista ui style: now when it has BORDER_NONE, only a flat background is drawn in the control.
15. fixed the focus getting out of a Grid on penless mode when an item was selected on a cell's combobox.
16. fixed problem on Grid with combobox on penless devices: put the focus on a grid, select a line, press ACTION and press 0 to open the combobox - the program freezes.
17. fixed Settings.appPath at desktop not ending with a slash.
18. fixed support for passive scanners (SocketCom).
19. now when the user press a 0-9 key in the Grid in penless mode, the selected column flashes.
20. fixed printStackTrace when sending the buffer to the string not keeping the line number.


Changes in SuperWaba 5.81 (20070703)

1. added Settings.appPath, used to store (except in Palm OS) the folder from where the application is running.
2. added two constructors to the ftp class where you can pass the port that will be used to open the connection, which defaults to 21 in the other constructors.
3. added a new constructor to RemoteCatalog to receive the name and the open mode. Now the open mode can be ored with Catalog.DB_ATTR_STREAM or Catalog.DB_ATTR_BACKUP in order to set these flags in the remote catalog being opened.
4. fixed Catalog.CREATE_NEW not creating the file when it doesn't exist.
5. fixed ZLib at desktop not correctly handling data smaller than 9 bytes in length.
6. optimized the MultiEdit gadget. Computing words from a 11k text in a TE2 went from 9100ms to 6680ms (only java optimizations were made).


Changes in SuperWaba 5.8 (20070615)

This version is dedicated to a revision in the waba API. It fixes some wrong decisions we made in the past, and enhances the main API in several points.
Important: all deprecated methods will be removed in future versions, so fix them ASAP.

. SuperWaba Companion fully revised and updated to SuperWaba 5.8.
. Moved Control.highlightColors to UIColors class. deprecated Control.highlightRectsCount. Just set the highlightColors to the colors you want to show.
1. fixed height of the Calculator in 160x160 and 176x189.
2. fixed SocketScan library name. Thanks to arensa.
3. fixed bug of PDB not read properly at desktop if "traditional 2-byte gap" not there.
4. fixed Grid.clear not unsetting the selected line.
5. added two new constructors for PushButtonGroup, with 3 and 4 parameters.
6. now the PushButtonGroup also respects the given width passed through the width constants. This means that if you use FILL, PREFERRED+10 on the width, it will correctly compute the internal gap to match that width. Note that this only applies if allSameWidth is true. This change does not breaks old code that use PREFERRED as width.
7. now in TabPanel if useOnTabThePanelsColor is true and panelsColor was not set, we use the container's back color.
8. added waba.ui.MenuItem. This leads to a major change in the MenuBar and PopupMenu: instead of using horrible coding to specify which items are enabled and which are checkable, you can now use MenuItem.isEnabled and MenuItem.isChecked. Check the waba.ui.Welcome app for an example of how to convert the application to use the new format. Note that the old format is still supported, but will be removed in future versions. There's a handy method to convert a String matrix into a MenuItem matrix: MenuBar.strings2items.
9. now the TestSuite selected tests are stored in appSettingsBin. You will have to select the tests again.
10. waba.fx.Font is now a singleton. The original constructor was deprecated: use Font.getFont(name, boldStyle, size) method instead. Added BIG_SIZE and NORMAL_SIZE so you don't get messed with the possible sizes anymore.
11. deprecated waba.fx.FontMetrics constructor and MainWindow.getFontMetrics. Use font.fm instead.
12. deprecated waba.util.IntHashtable(DataStream) constructor and IntHashtable.saveTo method. If you're using these methods, grab the code and place them in your program.
13. added Catalog.CREATE_NEW, a destructive-create mode.
14. deprecated the following methods from waba.util.Vector and IntVector: add, insert, del, find, getCount. These methods were in the original Waba implementation but not in the Java implementation, so we decided to keep the Java ones only. Careful: insert is replaced by insertElementAt, which has the parameters in inverted position!
15. fixed Grid.setSelectedLine and add issuing a NPE when the grid was not yet added to the parent container.
16. now the click in the check all/uncheck all of the grid issues a CHECK_CHANGED_EVENT, with the row set to values Grid.ALL_CHECKED and Grid.ALL_UNCHECKED, accordingly.
17. Added Settings.useExceptions, to be able to use exceptions in the waba.* packages instead of checking for error codes of calling methods. Note that all new exceptions extend the java(waba).lang.Error - now added to the list of allowed classes in warp - which is an UNCHECKED EXCEPTION. In this way, it is not explicitly required by the compiler to do a try/catch in your code, maintaining compatibility with older versions, but the exception may be thrown anyway. List of added exceptions and methods that use them: waba.util.ElementNotFoundError: IntVector.pop/peek, Vector.pop/peek, Hashtable.get/remove, IntHashtable.get/remove; waba.fx.ImageError: Image(String fileName), Image(byte[] fullBmpDescription), JpegImage / PngImage / GifImage constructors; waba.io.IOError: Catalog.setRecordPos/addRecord/rename/delete/deleteRecord/getRecordSize, File.setPos. Here are instructions of how you catch all errors when turning on Settings.useExceptions: first, open the classes IOError, ElementNotFoundError and ImageError, and replace "extends Error" by "extends Exception". Now rebuild the superwaba.jar (ant build-desktop build-device) and then recompile your application. Fix all errors, and that's it.
18. fixed NPE in ByteArrayStream(byte[]) when the given byte array was null. This allows isOpen to work as expected.
19. waba.io.ResizeStream is now deprecated. Use waba.io.ResizeRecord instead.
20. fixed Scanner class not correctly passing the parameters in setBarcodeParam in Windows CE.
21. now Settings.appSecretKey in win32 (only win32 desktop, wince remains as before) is stored in HKLM instead of HKCU. This is needed because in Windows Vista it is not possible to store files in anywhere of the user's directory due to security restrictions. So, we provide a way to persist the data even among different users, storing the values in the new key root. Note that since only a priviledged user can write to the HKLM registry, if writting on HKLM fails, it will write on HKCU.
22. fixed Scanner class with problems reading BAR I2OF5 in Windows CE Symbol scanners. You must call Scanner.setParam(Scanner.WAITING_TIME_PARAM,0,xxx), where xxx is the time in ms to wait for an event or -1 to wait forever. To make it work with the I2OF5 type, you must pass something different of 0, before calling Scanner.activate. Read the javadocs for more information.
23. fixed Convert.toString(1e-40d) causing an infinite loop at desktop. At device it was correct.
24. fixed Grid's scrollbar not repainting when the scroll was at offset 0 and the item count set in setItems shrinked.
25. fixed ComboBox not properly inverting the title when it was pressed a first time.
26. Deprecated TabPanel.setPanelsBackColor. You may set the back color directly in the class that extends Container, or use getPanel(i).setBackColor(...).
27. now when a window closes, a ControlEvent.PRESSED event is dispatched to the caller. This makes the event handling more uniform. Note that if the user press the cancel button, or if the selected item was not changed (if applicable), then the event is not dispatched, what its reasonable. The classes that changed: MenuBar, PopupMenu, Calendar, Keyboard, Calculator, MessageBox, InputDialog, PopList.
28. waba.fx.Color is now a singleton and the constructors are deprecated. Use Color.getColor instead.
29. added IntHashtable and Hashtable exists(key), which returns a boolean instead of throwing an exception as the new get methods now do.
30. added Hashtable.get(int hash). Caution: since you're passing an integer instead of an object, if there are two objects that map to the same key, this method will always return the first one only.
31. added Grid.CellController. With it, you have a fine control of all aspects of a cell, like line fore and back colors, enabled state, check allowed, and choices options. see javadocs for details.
32. fixed Grid clip values for each column.
33. fixed WinCE ui style not being applied when user calls setUIStyle with another style in the constructor and calls the application with /uiStyle WinCE. parameter
. changed all the API to support both useExceptions=false and useExceptions=true.
34. improved the event rate on Palm OS devices. improved the Painter/Blackboard application to get better drawings.
35. added an option to the Welcome app that enables the printStackTrace at the device. See the vm menu.
36. added an option to the Welcome app for Palm OS NVFS devices only that allows you to redirect the Vm.debug messages to a file called /DebugConsole in the NVFS partition. Using the NVFS for this has two advantages: first, it correctly appends data (the memo console has a problem where it only writes if the console is empty), second, it keeps the information even if a reset occurs during write. Added also an option in the Welcome app (File / Read NVFS memo) from where you can read the console and even delete it.
. added the 3 slashes to Vista scrollbar.
37. fdie: fixed problem when drawing lines in the screen using the stylus and the screen was not being updated correctly.
38. added Control.appObj. The same of appId, but its an Object instead.
. deprecated Control.getFontMetrics(font). Use font.fm instead.
. fixed the Bench program where the loop and method tests were being eliminated by the obfuscator.
39. fixed JavaBridge.openInputStream not correctly handling file search when the archive tag has more than one jar.
. deprecated Button.setGap. Use Button.commonGap instead.
40. deprecated PenEvent.PEN_MOVE. Use PEN_DRAG instead. Note that PEN_MOVE never worked, so your program will not be affected. Just remove it from the code if you're using it.
41. changed listbox item offset from 3 to 2 otherwise in lowres the text will override the scrollbar.
. renamed some methods in the Grid class, deprecating the old names: getColumnText -> getCellText, setColumnText -> setCellText, setSelectedLine -> setSelectedRow, getSelectedLine -> getSelectedRow.
42. fixed problem when attaching a ToolTip to an Edit and a button in another container was pressed.
43. fixed corner pixels on round border windows when double buffer was true.
44. fixed BlowfishCBC not clearing internal hash value between calls to encrypt/decrypt. Due to this bug, if you encrypt something and then reuse the instance to decrypt it, the first two chars were incorrectly decrypted.
45. fixed db2e's Date.toString not correctly handling dates set as 4-digits.
46. fixed PushButtonGroup not selecting if setSelected was called in an onPopup method.
47. fixed Calculator not clearing the pressed buttons after calling the second time.
48. fixed grid allowing events below its height.
49. fixed grid column drag drawing pixel below its bounds in some situations.
50. now the SOAP class throws an OutOfMemoryError on desktop if the request string is greater than 32750 chars. On device, the error will occur anyway.
51. now, on penless devices, pressing 0 in a grid without checks issues a SELECTED_EVENT. Otherwise, if the grid has no checks, pressing a number will dispath the event with the given number as selected column.
52. now TabPanel only draws the tab's cursor when it is changing tabs.
53. fixed TabPanel freezing on penless devices when the focus was set to it.
54. now TabPanel doesn't request the focus to the parent when the user wishes to move to the next control.
55. fixed problem when setting a Grid's column as editable; this was preventing the focus to move to the grid in penless devices.
56. fixed penless navigation when an Edit with setEditable(false) was reached.


Changes from SuperWaba 5.7 to 5.73

See the OldChanges57.

Changes from SuperWaba 5.6 to 5.68

See the OldChanges56.

Changes from SuperWaba 5.0 to 5.57

See the OldChanges.


  • Set ALLOWTOPICCHANGE = CoreTeamGroup?
Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r752 < r751 < r750 < r749 < r748 | More topic actions
 
SuperWaba home
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding SuperWaba? Send feedback