

|
 |
 |
 |
 |

|
TotalCross 1.23
1. fixed problem in PushButtonGroup in keyboard focus when there are only empty captions.
2. fixed vm crash in Convert.to(primitive type) when the string to be converted had a length above standard sizes.
3. fixed Button.autoRepeat not releasing the button after a pen up.
4. fixed divide by 0 in PieChart that occured when selecting a line at some points.
5. added Gps.useTimeZone to use the Settings.timeZone when showing the lastFix information. also showing lastFix (using the current time) in cellID positioning.
TotalCross 1.22
. removed some deprecated methods:
- Color.getRGB: change
int x = Color.getRGB(y) to int x = y
- Node.breathFirstVector: use Node.breadthFirstVector
- Node.children: change
Vector v = node.children() to Vector v = node (node IS A vector)
- Node.childrenArray: use the node itself
- Node.getAllowsChildren: use the
allowsChildren member instead
- Node.setAllowsChildren: use the
allowsChildren member instead
- Node.getChildCount: use
size() instead
- Node.getUserObject: use the
userObject member instead
- Node.setUserObject: use the
userObject member instead
- Node.isVisited: use the
visited member instead
- Node.setVisited: use the
visited member instead
- TreeModel.getAllowsChildren: use the
allowsChildren member instead
- Grid.drawStripes: just set firstStripeColor and secondStripeColor as you wish
- Grid.setSelectedRow: use
setSelectedIndex instead
- TabbedContainer.setGaps: use
setInsets instead
. deprecated the Vm.attachNative. Added Image.loadFrom.
. several updates on Mail API:
- fixed a design flaw - totalcross.net.mail.Multipart no longer extends totalcross.net.mail.Part
- method setContent now checks the type of the received content for consistency
- fixed Message.replyTo
- added support for multiple addresses in the header 'From' - removed the public field "from" and added methods to manipulate this header
- added header support for Part, users may now insert your own headers to the message
- added the properties mail.smtp.timeout, mail.smtp.connectiontimeout, mail.pop3.timeout and mail.pop3.connectiontimeout to MailSession
- improved MailSession documentation - added a list of supported properties and with usage description
- dropped the native support for BlackBerry messaging API (SMTP and POP3 are still supported for all platforms)
1. fixed Camera support on some Windows Mobile devices, where the camera was opened and closed immediately.
2. fixed Grid tooltip not being shown when the current column width was bigger than the text but only part of the column was visible.
3. added sum(int[], from, to).
4. now if you launch a class that implements totalcross.MainClass, the runtime instructions are not displayed.
5. fixed socket.read/write bytes blocking the vm and letting Windows Vista think that the program was dead.
6. added Thread.currentThread to get the current thread object.
7. added support for Intermec barcode scanners.
8. fixed PEN_DRAG_END event sending the x,y in absolute coordinates; now the coords are relative, as all other events.
9. duplicate pen events are now discarted at Java layer.
10. fixed TabbedContainer drawings in Vista mode when the key was pressed, now the feel is more 3d.
. fixed a bug in the deployer that could make an exception object overwrite a register of another object being used. This used to result in "No such method" errors after an exception was raised.
11. fixed event Listener support. The old implementation could result in invalid listener calls. The method removeListener was removed, you must use one of the new removeXXXListener, where xxx is the listener's type. Fixed PenListener's penDrag, penDragEnd and penDragStart, whom now receive a DragEvent instead of a PenEvent (the event was already a DragEvent, only the method's signature was wrong). Fixed PEN_DRAG direction not being set.
12. fixed problem in Android of essential keys (like backspace and enter) events not being posted if there were no special keys being intercepted.
13. fixed ConnectionManager breaking the Android's vm if it was called using invalid parameters.
14. added File.listRoots to list, on Java and Win32, the drives available in a computer.
15. now the Font does not check for an upper limit while loading a font. This allows you to create font files of bigger sizes. If the desired size is not found in the font, it will search DOWN for the nearest size.
16. fixed Unicode fonts outside the 32-255 range not working under Java and Blackberry (other platforms is working fine).
17. default font sizes now range from 6 to 30 (previously was 24). TCFont.tcz now is at 320kb (was 195kb before). This big size was needed to be used in the Nexus One and other big-resolution devices. Fixed computation of the normal font for this device.
18. fixed event PEN_UP not being sent when a flick and drag is posted. now the event is sent at the end of the flickering.
19. fixed Android life cycle. Now after a phone call is received or the screen dims, the application is restored to the state it was left over.
20. fixed problem in semaphore initialization that would lead to a reset in Palm OS (resets Treo 650, but does not reset on Centro).
21. now the Window.dragThreshold is 3 for non-palm os devices. this fixes the "virtual keyboard don't appears" problem in MultiEdit and Edit. The problem was happening because in some unaccurate devices, when you press the pen, it also results in a DRAG event, which would let the control think that you're trying to select a text.
22. fixed ENTER key not working in MultiEdit.
23. fixed Graphics.drawText incorrectly drawing strings with characters not available in the current font.
24. fixed problem in File.createDir method definition that would lead to register corruption in device.
25. fixed a potential bug in File.getSize when used to get the amount of free space available on a file system on Windows OS systems.
. created method RemoteFile.exec, which can be used to remotely execute commands on a connected device. Supported only for WinCE devices.
. files opened using the File class on JDK (1.4 and later) are now marked for exclusive access and locked for read and write operations. Shared access was only allowed on JDK, and this behaviour was often related to bugs regarding the Litebase on JDK. This feature is not supported by JDK versions prior to 1.4, therefore shared access of files is still possible on these versions.
26. fixed scrollbar not scrolling in Palm OS when the bar was dragged.
27. added Grid.columnResizeMargin, to increase the width of the column resizing area.
28. added some features on Android:
- onMinimize/onRestore, to be used when the application pauses and resumes. MainWindow.minimize can achieve the same effect of pressing the home key.
- Phone.dial
- Vm.exec
- Sound.tone and Sound.setEnabled
- GPS
- Camera
29. fixed Linux deploying problems on not finding the path of some java tools.
30. deprecated Settings.isMinimized, since similar results can be achieved by monitoring onMinimize/onRestore call back listeners.
31. added support to MainWindow.minimize and MainWindow.restore on WinCE and Win32, as well as their corresponding callback listeners onMinimize/onRestore.
32. added some JDK 1.1 compliant methods and fields to the java.lang.Thread class:
- Thread.MIN_PRIORITY, Thread.NORM_PRIORITY and Thread.MAX_PRIORITY
- New Thread constructors which can receive the thread name
- Thread.getName/Thread.setName
- Thread.getPriority
33. fixed "file is no longer open" error that could happen when trying to operate a file on BlackBerry devices.
34. now the GPS class can also find the location based on the CELLID. The accuracy can vary from 50m to 30km. To work, you must have an internet connection available to be able to do a query in a public site that maps the CELLID to a lattitute/longitude coordinate. Works on Windows Mobile, Android and Blackberry.
35. added a special key combination to kill unresponsive applications on the BlackBerry (LEFT_CONVENIENCE_KEY + END).
36. on touchscreen BlackBerry devices, make sure the focused Edit or MultiEdit control does not get overlapped by the virtual keyboard.
37. fixed keypad behavior on touchscreen BlackBerry devices (now all the possible layouts are correctly recognized: suretype, multitap and full keyboard).
38. fixed Grid selection being painted incorrectly when CellController was used.
39. fixed MultiEdit having the virtual keyboard being closed when a text selection was made.
40. fixed BinaryContentHandler to handle unknown types using toString().getBytes().
41. fixed Edit.getTextWithoutMask throwing AIOOBE when the text has less charactes than the mask.
42. fixed Radio.leftJustify not correctly placing the text at left.
43. added totalcross.ui.Spacer, used to add a space between controls. People used to use Label for this, but now we added a specific control for it.
44. added totalcross.ui.dialog.TimeBox, used to select a time using a numeric pad. Supports am/pm.
45. ResizeRecord.close no longer closes the PDBFile it is attached to. This prevents a problem when saving two images consecutively using Image.saveTo, where the second image was not able to be saved because the first ResizeRecord closed the PDBFile when it got finalized.
. added Time.isValid.
46. added Button.autoRepeat, which enables automatic repeatition of the PRESSED event. now Calendar month and year buttons are auto-repeat, as also the TabbedContainer scroll buttons.
47. Now in Calendar up and down keys increment the year, and left/right keys increment the month.
48. Disabled Button's border is now more faded (just like the text).
49. implemented minimize/restore for windows platforms.
50. fixed Radio vertical alignment for Vista ui style.
51. added Vm.vibrate(ms). Supported on JavaSE (simulated), Palm OS, Android, BlackBerry and WinCE. Added Settings.vibrateMessageBox to vibrate the MessageBox when it appears (you must set it to true).
52. fixed Convert.getDistancePoint2Rect not correctly calculating distances. This will also fix focus issues that affected finger touch devices. removed Convert.getDistanceLineSegment2Point.
53. fixed Android not being able to delete an empty PDB file.
54. fixed Breakout sample having its background erased once it starts. Now if you set Window.transparentBackground to true, the screen is not blanked when it is painted. This was the cause of the problem.
55. added Grid.lineScroll to scroll the grid a line at a time.
56. in totalcross.io.device.bluetooth.UUID, fixed length of UUID created from a short value
TotalCross 1.21
. fixed linux vm dependencies
. fixed documentation not going on the sdk
. fixed android vm not going on the sdk
. fixed slowness on Windows Mobile when Vm.setAutoOff was called
. fixed new gps and ZipStream not finding native methods
. improved blackberry File/Litebase performance in OS 5
TotalCross 1.2
Version 1.2a:
. fixed win32 vm not included in sdk
. fixed activation problem due to buggy Base64 class
. iphone vm no longer dumps memory allocations
. fixed litebase dependency on linux
. fixed litebase including old files
67. fixed setAutoOff not working on windows mobile.
. TotalCross ported to Android (1.6 and newer).
. TotalCross ported to Linux
. Font sizes now range from 6 to 24. TCFont.tcz is now 40Kb bigger (190K)
. added support for zip compression and cabinet handling through the class ZipStream.
0.ATTENTION: JDK 1.6.0_6 has a problem with the synchronized keyword. If you're using this JDK version, update to a newer version. Besides what we said in version 1.14 about problems in more recent JDK versions, you can now safely use a newer version.
1. fixed Button growing at each setRect(x,y,PREFERRED,PREFERRED) when border was set to BORDER_GRAY_IMAGE
2. fixed ToolTip position change between first and second display (more visibly when there's a font size change).
. now FTP.progressInfo is public.
3. fixed Vm.disableDebug not working under the tcvm (worked only on JavaSE and BlackBerry).
4. fixed Vector.addElements changing the count to a wrong value.
5. fixed Label's height being changed when something different of PREFERRED was specified for the height.
6. added Grid.markAll, which can be used to mark or unmark all checks in the grid.
7. fixed problem of the vm not exitting when running as non-UI app (using totalcross.MainClass).
8. now MainWindow.getCommandLine is static.
9. added Convert.tokenizeArguments (to be used with getCommandLine).
10. on GPS, fixed values displayed on labels speed and direction.
. implemented GPS for BlackBerry devices that work in autonomous mode (GPS is embedded on device). Assisted and Cellsite modes are not supported yet.
If you're not sure if your device supports autonomous GPS, check the following article: List of BlackBerry models and their corresponding GPS capabilities
We had to make some minor changes on the GPS class though, basically there are a couple methods that now throws IOException.
11.on Camera for BlackBerry, fixed video control being initialized twice and layout of camera window.
. now MainWindow.exit is static.
12. TabbedContainer now supports resizeHeight: it resizes all containers's height and itself.
13. Tree's Node now supports changing the fore and back colors.
14. fixed tree not correctly repainting after a node is added.
15. added expandClickingOnText which lets the user collapse/expand clicking only on the +- buttons (when set to false).
. Completely revised the Tree/Node classes; made many improvements and optimizations. added TreeModel.addNode. Deprecated many methods (will be removed in TotalCross 1.17)
16. added TabbedContainer.getActiveContainer.
17. fixed bug with HttpStream connection over BIS transport on BlackBerry.
18. fixed path of LitebaseLib.tcz on Win32. Applications should now able to run from anywhere, as long as the Litebase and TotalCross home paths are set.
19. added AlignedLabelsContainer() and setLabels method, so you can set the labels after the constructor.
20. added support for the synchronized keyword, with the following restrictions: synchronized classes and methods are not allowed and are IGNORED; you must use the synchronized(object) syntax, and the only object type allowed is totalcross.util.concurrent.Lock (no other object types can be syncrhonized; trying to do so will make the VM throw a RuntimeException).
21. fixed stack trace shown in exceptions when there's a finally block without a catch.
22. now when the ToolTip is displayed, the control no longer receives the PenUp event. This way, the control is not "pressed" when the tooltip is displayed.
23. fixed problem of Grid's sort not working unless you click inside the title.
24. fixed windows 32 problem of the same desktop computer being activated more than once. All users that activated a win32 computer MUST ACTIVATE it again. Contact us, providing the registration key you pass to tc.Deploy /r, so we can put back the win32 licenses in your account.
25. fixed persistence of PDBFile on BlackBerry.
26. fixed PDBFile.getRecordAttributes not returning the attributes of the specified record on BlackBerry.
27. fixed File.setTime on iPhone, Android and Linux. When setting a file time, the attribute month was always off by 1.
28. fixed bug in PDBFile.deleteRecord on BlackBerry. It may no longer corrupt the file after deleting its last record.
. In File - Updated documentation of getAttributes, setAttributes, getTime and setTime: Listed any platform specific behaviour.
29. fixed bug in PDBFile: opening files in CREATE mode would reset the PDB attributes.
30. improved PDBFIle implementation: any records left locked when the file is closed are automatically released.
31. added constants Settings.PLATFORM_NAME, with all possible values that can be used with the Settings.platform.
32. added Settings.fingerTouch, that defines platforms that the touchscreen is used MOSTLY with the finger.
33. fixed Vector.addElements inserting elements one position higher than it should.
34. added method addElements to IntVector.
35. added convenience method Grid.add(String[][]).
36. fixed PushButtonGroup not working correct when transparentBackground was true. thanks to Greg Ouzounian.
37. fixed title's bounds that opens the menu when the screen is rotated.
38. fixed screen flickering when menubar was closed and changed.
39. fixed MultiEdit's highlight overwritting MenuBar when it pops up.
40. added FTP.ProgressInformation.informSize. Thanks to Kalil Maciel, now we are able to retrieve the file's size and you can now compute the transfer's percentage.
41. made some optimization on the user interface to avoid unneeded update screens. Window.repaintActiveWindows no longer receive a parameter.
42. now setPressColor also works with border3D button type.
43. added Window.fadeOtherWindows, Window.fadeValue, and Graphics.fadeScreen to make other non-toplevel windows appear faded. The totalcross.ui.dialog windows have fadeOtherWindows set to UIColors.fadeDialogs (which defaults to true).
44. added Event.clearQueue, to clear the event queue of a particular event type. Used to speedup window panning
45. fixed String.equalsIgnoreCase throwing NPE instead of returning false if the comparing string is null (as in JDK.
46. now when a timer is removed, its target is made null. Its a way to find if a timer has been removed.
47. added Container.nextTransitionEffect/transitionEffect to show Container and Window using a closing/opening effect.
48. added Settings.touchTolerance to help users that navigate in finger-touch devices, like Android and Storm.
49. now if a virtual sip is open and the user press the ENTER key in an Edit, the sip is closed.
50. Launcher now throws an Error if an invalid parameter is sent via command line. The parameters are now dumped to the console.
51. fixed GPS.getWinCEGPSCom not working in some WM devices. Thanks to Renato Dervelan.
52. added Label.getLineCount, getLinesPerPage and scrollTo, so you can use a scrollbar to scroll the Label.
54. fixed Grid not posting SELECTED event when the row is not enabled. The event will be posted, but the check will not be allowed to be set.
55. now Radio button's text color is drawn using the foreground color in vista ui style
56. added AlignedLabelsContainer.foreColors, so you can specify the foreground color of each label.
57. added Convert.append(StringBuffer, char, count), to greatly decrease the amount of memory needed to insert characters into a StringBuffer.
58. changed EscapeHtml.escape to ignore character of value 0, because it is not a valid value.
59. added Settings.fullScreenPlatforms, as a way to determine which platforms will have the isFullScreen applied.
60. fixed png transparent color not working in 8-bpp png images.
61. Window.rTitle is now protected. You can change it to define the rectangle that is used to drag the window (override the paintTitle method)
62. added IntHashtable.incrementValue.
. added two new methods to the abstract class RandomAccessStream: setPos(int, int) and getPos().
. updated the classes File and ByteArrayStream with the implementation of the new methods inherited from RandomAccessStream.
63. fixed deployer not using the jar file name as the name of the main class.
64. added ComboBox.unpop, to close the ComboBoxDropDown.
65. fixed default transparent color on desktop/blackberry. in device was WHITE, in desktop was -1 (none). Now in desktop is WHITE too.
66. Improvements on the GPS implementation:
. Improved GPS implementation for devices with Windows Mobile 5 or Windows CE 6 and later. It should now be faster, especially on TTFF (Time To First Fix). This new implementation does not use PortConnector and is always preferred if the GPS instance is created without a PortConnector instance.
. Messages received through PortConnector are now verified and discarded if the format is invalid. Which improves the accuracy of the received information and greatly reduces the incidence of exceptions.
. Added new field satellites, which has the number of satellites currently in view.
|
 |
|