english português


search
     
Downloads
  Documentation
  Changelogs
  Support
  Compatibility









Changelogs / TotalCross 1.5x


TotalCross 1.52

. fixed ios 5 support.
. fixed support for dual-sim devices. now the imei is always returned from the first sim.
. changed expiration vm message when activating
. fixed DataStream not throwing EOS exception when the end has reached.
. fixed scanner library sometimes overwritting the end of a memory chunk
. added DataStream.writeSmallString8
. fixed whiteboard not working correctly since some events were being dropped.
. now we disable the click button in Camera after it is clicked to prevent the vm from aborting.
. fixed Edit not opening virtual keyboard on WM6 when mode is CURRENCY
. fixed ToolTip taking the whole screen when the screen is rotated
. added default protected HttpScream constructor and made init protected.
. now ListBox.itemHeightFactor is cached by the ListBox in the constructor. This allows you to change the itemHeightFactor for a single ListBox.
. now FontGenerator does not break when a invalid char is found.
. added sample code for Tree's javadocs
. fixed cursor position of masked Edits using the old font
. fixed Radio in uiVista not changing appearance when state was changed from enabled -> disabled -> enabled
. fixed problem of disabled controls receiving focus_in and focus_out events
. fixed problem of a PRESS on a Button inside a TabbedContainer calling the press listener of the TabbedContainer.
. fixed ComboBox problem of clicking on an open combobox was making it open again
. prevent NPE on onPaint of PushButtonGroup
. avoid npe if MultiEdit is just added to a container but has no size
. now Vm.exec can be used to generate the logcat from within the program. see javadocs.
. fixed GPSView(readInterval) calling the wrong constructor
. fixed AIOOBE in Edit when setting a number bigger than the number of 9's in the mask
. fixed passing the wrong line value for Grid.CellController.isEnabled
. fixed Grid.setItems not correctly setting up the vector that holds the checks.
. the LEFT/RIGHT clicked events were not updating the ListContainer selected item when the clicked control was not an image or a button with an image. must also check if the target of the PenDown event is a ListContainer's item to avoid a ClassCastException. in this case, we'll try to find the item by looking at the target's parent.
. fixed PopupMenu using the default blue color instead of white as background
. added TabbedContainer.tabsBackColor, so you can dinamically change the colors of a tab
. fixed message when creating a file and the path does not exist
. updated Android manifest to include access to sd card
. fixed click in a control with the screen shifted was not working
. now Vm.debug accepts null
. fixed Edit.setDecimalPlaces sample
. fixed Bluetooth support on singleapk deploys.
. added highresaware flag to fix windows mobile pocketpc/arm problems on hiresolution devices
. fixed NPE that could occur on GPSView.
. improved Calculator sample appearance. added menu icon to totalcross.res.Resources


TotalCross 1.51

. now Scanner.activate sends the SCANNED event when running emulated at desktop
. do not throw IllegalStateException when n is equals to the Image current frameCount.
. added /uistyle Android argument option to totalcross.Launcher
. fixed problem when a combobox with 0 elements was clicked and then it was impossible to open it after filling with items
. disable search if in PopupMenu if there are less than 10 items or if all starts with the same letter
. Fixed DataStream.readBytesInternal to return the number of bytes read before reaching EOS.
. show the classpath for the user during deploy
. fixed palm.pkg not finding some files
. fixed Grid placement not working when Settings.uiAdjustmentsBasedOnFontHeightIsSupported is set


TotalCross 1.50

*** we had to change the relative positioning constant values. Due to this, all programs must be recompiled on TotalCross 1.5! Changed the tcz version to ensure that all applications will be recompiled.
. Changed MessageBox.showException to show exception in a better format
. A warning is issued by tc.Deploy regarding the "float parameter" bug in the converter.
. fixed the key used to identify some properties sent during the activation on BlackBerry.
. Activation also sends the device romSerialNumber and imei. These can be seen in the licenses page at the site.
. TotalCross Companion updated up to page 100
. fixed Check and Radio when leftJustify is true
. fixed Check's arrow on some resolutions
. added RadioGroupController.getRadio
. fixed Radio not resizing the image when a font changes
. improved javadoc's solution for Settings.disableScreenRotation
. fixed ComboBox.getPreferredWidth on uiandroid
. fixed Grid.getPreferredHeight on uiAndroid
. added SpinList.getPreferredHeight
. fixed Edit not appearing on Grid. this bug was introduced when we changed the way the selected line was implemented
. Now almost all controls don't "press" the control if the parent was scrolled. This way you can press and flick any controls to scroll a container
. added DataStream.writeBytesInternal, to make easier the implementation of cryptography in Litebase
. fixed AIOOBE in ButtonMenu when there are less buttons than the available number of rows and the FILL was used in width
. fixed deadlock problem on iPhone 4.x, because it was trying to show the sip more than once.
. if user pass deployer /x option with parameters separated by '.', change to '/', since all classes are shown using '/'
. added Grid.isColumnEditable
. don't let the tabbedcontainer scroll if drag was too short
. added Grid.titleMayBeClipped: When the width of a title is greater than the width you specified for a the column, the title's width is used instead. this flag changes this behaviour
. added FlowContainer, which places controls one after the other and wraps if necessary
. don't let grid work when its disabled
. shade Grid's text color if not enabled
. fixed ComboBox and ListBox responding to events when not enabled
. fixed SpinList's background when not enabled
. fixed loading of litebase.dll on win32 when it was still inside the sdk
. added Grid.drawHighlight now Grid's Edit is autoSelect by default
. now tc.Deploy doesn't call System.exit at the end.
. disable events if button is not enabled
. Device is activated if the hash, imei or serial matches the values in the activation info. Before, only the hash was being used.
. fixed black screen that appears sometimes when the keyboard closes
. now SpinList can have horizontal arrows, to be used in fingertouch devices
. now listbox uses a bigger height on fingertouch
. fixed android compilation when dx.jar is in a folder with spaces
. fixed ListBox.getPreferredHeight when androidUI
. Fixed post-install running at windows 7
. added ComboBox.setPop, to replace the ComboBoxDropDown
. now new File(CREATE) throws a better message when you try to create a file and a folder already exists with the same name.
. now the pkg file accepts a file ended with slash (/), indicating that its a folder and all files inside that folder are added to the tcz.
. in deploy's verbose mode, show the application's path on android.
. now the different combobox popup for androidUI works with the DBListBox.
. added ComboBox.usePopupMenu, to let the user disable the new popup window used in uiAndroid
. now the ComboBox' popup menu used in androidUI splits big lines and vertically centers it.
. increased flick speed of ComboBox' PopupMenu if there are many items
. don't draw the Button's border in uiAndroid if drawBorder is false
. fixed vertical position of edit on grid
. added keyboard navigation to the ListContainer class
. fixed ListContainer sending events too early (bug fix to keyboard support)
. fixed Edit's text block selection limits
. now when a popup keyboard opens and the text is changed, a PRESSED event is sent from an Edit.
. now Edit.setMaxLength can be used for masked edits.
. fixed disabled color for MultiEdit in androidUI when backcolor is white
. fixed vertical text position of ProgressBox
. now passing "/i android" to tc.Deploy installs on device the apk generated
. fixed vertical placement of combobox text due to line height being now fmH*1.5
. fixed application crash when totalcross was not installed. now a message is given to the user
. fixed problem when adding resources (like litebase tables) to the android's apk and these resources were not accessible from the application.
. fixed problem of optional directory being defined in pkg file was being created with permissions that would not let the application access it.
. fixed tc.Deploy being freezed during android build.
. fixed ListContainer.removeAllContainers not actually emptying the ScrollContainer
. improved performance of ListContainer.removeAllContainers
. fixed Edit's text right limits on uiAndroid
. fixed AIOOBE on ComboBox
. drastically improved scroll performance on ListContainer with hundreds of elements.
. changed limit of number of items in a ListContainer from 6000 to 100000 (may take a while to load)
. decreased CalendarBox year/month label sizes if resolution is low.
. fixed y position when ComboBox has the same height of an Edit
. improved performance of Grid's column resize by clearing PEN_DRAG events
. now Bar can have a spinner shown on demand at the right of a title
. fixed AIOOBE in PopupMenu when the number of text lines is greater than 3
. zero pad demo minutes message
. added Bar.setButtonRepeatRate
. improved PopupMenu speed by 100x when lots of items are shown.
. added Settings.sendPressEventOnChange, which sends a press when setText (or other setXXX versions) are called.
. improved usability of the ScrollContainer's drag bar.
. improved performance when opening ComboBox' PopupMenu, improved ListContainer's performance.
. now its possible to use FILL on a Control's height inside a ScrollContainer.
. fixed tc.Deploy freezing when an error message comes from a forked process.
. fixed tc.Deploy jar signer not working when sdk path contains spaces
. fixed NPE when clicking in the ComboBox button
. added SpinList.setSelectedItem
. don't open the PopupMenu if there are no items to show
. improved javadoc for usePopupMenu
. fixed CalendarBox title's position since now we shrink the button labels
. Now CalendarBox uses a smaller text in the year/month buttons if screen width <= 320
. fixed Edit's text being shown over the borders.
. fixed UI freeze when a ComboBox was being flicked and then unpopped
. added Vm.preallocateArray, used to pre-allocate a big array. works only for big arrays, and does nothing for small ones
. added ListBox.itemHeightFactor, so user can decide if he wants the extra height on fingertouch devices
. fixed ScrollPosition's dragbar being shown in reduced size under some situations.
. improved performance of ListContainer when using ListContainer.Item
. made a few optimizations in Control.add
. Improved performance on ListContainer
. added ListContainer.Item.leftControlVisible (and rightControlVisible)
. fixed ColorChooserBox combobox' height
. don't show keyboard if Edit is not editable nor enabled
. fixed ColorList when item height is above fmH
. now Grid also sends a TEXT_CHANGED_EVENT if Settings.sendPressEventOnChange
. fixed problem when clear was called and it was also resetting the ScrollPosition of a ScrollContainer. Now clear does nothing on ScrollPosition
. Now ScrollPosition.clear also moves the parent container to the top
. now MultiEdit.hasCursorWhenNotEditable is static and affects all MultiEdits
. now when hasCursorWhenNotEditable is true and the MultiEdit is notEditable, using the up/down keys navigate on the edit (just like the left/right keys already does)
. fixed Grid's ComboBox not accepting an empty String item as a valid selection
. SpinList constructor and setChoices now throws an InvalidNumberException. This exception was previously hidden from the user, which is not a good practice. added SpinList.expand
. now Grid.setColumnChoices returns the created ComboBoxDropDown (so you can customize) or null if choices is null. It also throws IllegalArgumentException if the column is invalid.
. added Hashtable(Object[] keys, Object values) constructor
. fixed problem when the MultiEdit is flicked and the keyboard is open
. now MultiEdit calls shiftScreen only if needed
. now scrolling a control that supports flick does not flick a parent's ScrollContainer once the limits has been reached (improved usability of Grid/MultiEdit). This was resulting in a strange behaviour.
. if there's no need to scroll the grid, let the flick event get passed
. Changed Grid to only show the control if the pen down and pen up occurs at the same line.
. Now you can change Folder.HEADER_BUFFER_SIZE to limit the size maximum of the message that will be downloaded.
. added RadioGroupController.setSelectedItem(String) to use the Radio's text
. TabbedContainer allows parent's flicking if moving up/down, but disallows if moving left/right
. added SpinList.useNumericBox
. now in NumericBox, if the source edit has 0 on it, the NumericBox pops up empty
. fixed problem on NumericBox where the first pendown was being ignored
. Now NumericBox has left/right arrows for cursor movement and backspace buttons.
. Changed Sprite constructors visibility from protected to public.
. fixed setCursorPos
. added constructor GPSView(GPS, readInterval)
. fixed problem in Flick when you drag a paged scroll and tried to abort the scroll, now it goes back to the original position.
. NumericBox now has the default text selected on popup
. fixed ListContainer not working with arrow keys until user clicks on it.
. added button "00" to NumericBox.
. fixed problem that was preventing the user to specify the back/fore colors when using ListContainer.addContainers
. now ActivationWindow has a nice UI
. fixed Bar's Spinner position when there's no buttons
. added ScrollContainer.getBagChildren
. A couple of methods in Image that ignored received exceptions will now throw them up.
. fixed setCursorPos not scrolling the edit
. now Edit.paste replaces the text if there's a selection
. fixed edit's disabled color when its background color is the same of the parent
. fixed blackberry build not including android pngs
. added Bar.assignBackKeyToButton
. fixed Edit.getMask throwing NPE when mask is null
. fixed file not being found when path contains spaces on JavaSE and Windows
. removed all Symbian references from the SDK
. added ComboBox.setSelectedIndex(index, sendPressEvent)
. fixed Image.getFrameInstance on blackberry when the bitmap had multiple pages
. fixed small font sizes on high-resolution blackberry
. fixed ListContainer not correctly changing the selected item when the left/right controls were clicked
. now clicking and dragging a ListContainer item does not generate events.
. fixed problem of Radio allowing more than one button (and even none) from a RadioGroupController be pressed
. prevent problems with resizing colunn when user is clicking erratically dragging the column
. changed TCZ version to 107. This will force all users recompile their applications. Made this due to the change of the Control relative positioning values (LEFT,RIGHT,PREFERRED,etc)
. improved tcz mismatch message
. fixed ListContainer not sending selection events when there's a single left/right image.
. fixed tc.Deploy not closing the passed-in jar file. due to this bug, it was impossible to delete the tc.jar after a deploy under some situations
. fixed support for paths with spaces on Deployer for android
. fixed iOS 5 support
. removed NumericBox. Now CalculatorBox is a real calculator, supporting the computation of operations like 2*3= or 2*3+5-10^3/2=. A CalculatorBox can be changed to a NumericPad using the non-default constructor. This is automatically done using Edit.setKeyboard(KBD_NUMERIC / KBD_CALCULATOR).
. now Image.createPNG uses compression level -1 (default). There's just a minor size difference but a huge performance gain
. fixed NPE when calling Resources.flush in an user interface different of Android
. fixed Grid's selection color not merging the colors of the selected line and a CellControl's back color for that line
. improved CalculatorBox appearance. Changed operation ^ (exp) to % (percent)
. now testing masked and unmasked calulators in AndroidUI
. use the division sign on CalculatorBox
. fixed rotation support on Android for devices with OS >= 3
. Don't use the IMEI to generate the activationId on Android LG dual sim phone.
. now the vm gives priority to the one located at the same folder in a single apk
. fixed grid's check backcolor
. added MultiEdit.setText(text, sendPress)
. now selecting the same item in a combobox only sends a pressed event if Settings.sendPressEventOnChange is false
. fixed PopupMenu not closing when we clicked in a Radio
. now, in Edit.getTextWithoutMask, if there are no significant digits, it returns 0 with the number of decimal places instead of just 0 (e.g.: 0.00 instead of 0)
. added Bar.createSpinner
. fixed Bar sending events repeatdly after a pen_up
. passing null to Edit.onEvent (to fix setCursorPos) was causing flaws on custom edits. So we created a special ControlEvent.
. added Edit.optionalValue4CalculatorBox and CalculatorBox.optionalValue, so you can change the original value of a button of the CalculatorBox to something else.
. added PopupMenu.enableSearch to quickly search items starting with a typed letter. Positions are pre-cached for faster searches. Works better if items are sorted.
. now Grid/Convert.qsortInt resumes in qsortDouble if there's an InvalidNumberException
. fixed Arithmetic exception on Graphics.fillShadedRect when height is 0
. fixed high resolution support for WM6.5
. now the PopupMenu shows the letters for the search filter using a PushButtonGroup
. don't let the fontsize get beyond font limits. this fixes support for very height dpi devices
. now only characters available in the PopupMenu itesm are added to the PushButtonGroup
. now PopupMenu shows the a..z buttons inside a scrollcontainer taking only one line (inside a horizontal ScrollContainer).
. fixed PBG sending events even when inside a scrollcontainer that scrolled
. now ComboBox' PopupMenu is unmovable


Copyright© 2002-2012 SuperWaba15 userssite map