Last October we thought that we have version 2.2 all but ready, but then users found some hard to fix problems and our schedule plan got heavily delayed into the 2016. Of course we spent all this time improving Smart in all its aspects and we added a ton of fixes and even some small new features. So now – when the original problems are fixed – we decided to release yet another beta. Hopefully this will be the last one.
If you are already running the beta-4, you can just start the SmartUpdate program and it will fetch the new version. Otherwise, you should follow the detailed instructions outlined in the beta-1 announcement.
Changes since beta-4
- Minor changes about accessing the audio tag from the Web Audio API.
- Fixed Node.js not starting properly in latest beta-4.
- Fixed access violation crash.
- Fixed: Failed compilation didn’t always focus the editor.
- Added AAC audio compression.
- Fixed small issues with ‘Find in files’.
- Improved code completion.
- New forms/units are external by default (on new installations).
- Allow opening more than one file at once.
- Added a few examples to test certain cordova features (back button, audio playback [hooking its data for further processing]).
- Fixed wrong declaration of JEventHandler (changed to ‘TEventHandler’ as it is rather a Pascal type declaration and not a JavaScript type).
- EventHandler renamed to TEventHandler as it is not a native JS type. JEventHandler still exists, but is marked ‘deprecated’.
- Improved Web Audio ABX Test demo.
- Fixed problems setting the linker output path.
- Added dialog to ask whether an unlinked external should be deleted upon making a project file all internal.
- Updated web audio examples and added new lessons.
- Separated external objects defined by the JavaScript specification itself to a separate namespace ECMA. New units: ECMA.Date, ECMA.Json, ECMA.Math, ECMA.RegEx. RegEx class now lives in th ECMA.RegEx unit and global JSON object in the ECMA.Json unit.
- Completed overloads for the JJSON class.
- Improved Search&Replace dialog.
- Fixed TW3Dataset.Back.
- Fixed Application.Document.ClientHeight.
- Updated to latest DWScript:
- Compiler fixes related to syntax errors in connectors (like Variant / JSON).
- Fixed issue with nested contexts.
- Fixed missing support for “set of” record fields.
- Fixed bug with nested constant arrays.
- Fixed obfscation support.
- Fixed some bugs and memory leaks.
- Fixed issue with codegen which could crash on invalid source.
- Added support for floating point modulus. (see https://www.delphitools.info/2015/10/29/floating-point-modulus)
- Fixed codegen bug with interfaces across inherited classes.
- Added support for sets in constant records.
- Added third, manually created form to the `Multiple forms’ demo.
- Added a snippet that shows how to create a form in runtime.
- Added APIs: W3C.Push, W3C.ServiceWorkers, WHATWG.Fetch.
- Improved several of W3C APIs.
- Added cryptographic header translations (Cryptography API and “DRM” API).
- Added neural network libraries Brain and Synaptic.
- Updated Node.JS units.
- Fixed problems with TW3Label positioning.
- Fixed ‘Open in browser’ button.
- Improved Ctrl+click behaviour in editor.
- Fixed TW3Slider component.
- Added events OnActivate and OnDeactivate to TW3CustomForm.
- Fixed unnecessary limitations in ‘Keywords’ and ‘Homepage URL’ editors.
- Added nullable primitive types.
Both “smartms.exe” and “smsc.exe” program just terminated silently in my old WINXP. For instance, If I run smsc.exe nothing happens, just quit.
I must admit that we didn’t test it on WinXP at all (being an unsupported OS). But we do understand that many programmers are still using it so we’ll try to make it work there, too.
Did you try running it on newer Windows? Is it working OK?
I feel familiar and comfortable with WinXP, like an old pair of shoes. Others windows, this 2.2.04361 seems to be OK. At least, I can use the newer RTL.
We fixed the XP compatibility issues so you’ll be able to use next beta/RC on this operating system. We’ll keep the 2.2 release XP-compatible.
No promises for the next release (2.3), though.
Doesn’t look like the issue with the Layout Manager was fixed. Controls layout nicely on the main form, but anything on secondary forms do not – when using the Layout Manager. See my bug report on the forum with a demo and code
You have to create layouts in InitializeForm, not in InitializeObject.
See full response here: http://forums.smartmobilestudio.com/index.php?/topic/3894-layouts-still-not-working-correctly-in-sms-22-beta-5/#entry16711
ahhhhh, OK
I have reverted the code in the SmartCL.Layout back to its original, and I have Created my Layouts for my forms, in the InitializeForm as you suggested. I have also changed all my Resize events to include the “if assigned(fLayout) then” .
Everything seems to be working good
THANK YOU!
Seems as though the Labels are still not displaying correctly. Please see the forum tread:
http://forums.smartmobilestudio.com/index.php?/topic/3894-layouts-still-not-working-correctly-in-sms-22-beta-5/#entry16729