Jump to content
Sign in to follow this  
jarto

Development updates

Recommended Posts

The Development-channel in SmartUpdate contains all the latest changes in Smart Mobile Studio. It's a good channel to follow for those who want all the new features and bug fixes right away, instead of waiting for the next formal release.

To follow the Development-channel:

  • Make a new folder and add:
    • SmartUpdate.exe
    • Your own user.lic from your current Smart Mobile Studio folder.

To get all the latest changes in the Development-channel:

  • Run: SmartUpdate /changechannel /showhidden
  • When asked for which channel to follow, choose Development

The purpose of this topic is to inform about all the new features and fixes.

Share this post


Link to post
Share on other sites

17.11.2018

RTL:

  • Changes to handling of Cursor:
    • Style definitions moved from basic html elements to control styles
    • GetCursor and SetCursor can now be overridden
    • Bug fixes to how many controls handle cursor. Especially TW3Label.
  • Themes:
    • Add missing styles TW3CheckBox, TW3CheckMark, TW3RadioButton, TW3RadioToggle and TW3RadioGroup
    • Two new backgrounds: TW3DecorativeListItemBackground and TW3TransparentBackground
  • RTL optimizations to creation of controls, GetBoundsRect, SetBounds, MoveTo and SetSize.
  • Bug fix to SmartCL.Graphics.pas: Changing of canvas font, size and styles did not work.
  • Bug fix to System.DateUtils.DecodeDate.

IDE:

  • Delete key works now Search dialog and other dialogs.
  • Bug fix: Internal Browser Window showed only a white screen if Execute was clicked while it was open.

Compiler:

  • Now(), EncodeDate() and EncodeTime() returns now the same values as Delphi and FPC
  • All time/date -functions fixed to work with the new TDateTime-values

Share this post


Link to post
Share on other sites

Development-channel was just updated:

RTL:

  • Add styles for TW3RadioButtonLabel and TW3CheckBoxLabel. Also remove hard coded color from source code.
  • Add default property values for in various components for the Object Inspector.

IDE:

  • Property Inspector shows default values from RTL source.

Share this post


Link to post
Share on other sites

New update available in the Development-channel:

RTL:

  • Bug fix to SmartCL.Layout: Set component size before position, to avoid problems in bottom and right alignments.
  • Bug fix to TW3ToolControlFlatBorder in iOS theme.
  • TW3BufferedImage: Don't try to use TW3BackgroundGraphicContext, which was deprecated in Chrome

Share this post


Link to post
Share on other sites

New update:

On 11/18/2018 at 1:18 PM, jarto said:

Compiler:

  • Now(), EncodeDate() and EncodeTime() returns now the same values as Delphi and FPC 
  • All time/date -functions fixed to work with the new TDateTime-values

The build server did not compile these properly until now.

Share this post


Link to post
Share on other sites

I have updated using

SmartUpdate /changechannel /showhidden

 

If I subsequently run smartupdate by double clicking I get a message that development not available.

Can you update smartupdate so that we don't have to run from DOS using SmartUpdate /changechannel /showhidden every time - or set up a batch file

Share this post


Link to post
Share on other sites

@jarto

The update worked for me. Thanks!

Just so you know though, the Change Log did not mention any of it.This is what the change log said

Quote


26.11.2018

RTL:
- Bug fix to SmartCL.Layout: Set component size before position, to avoid problems in bottom and right alignments.
- Bug fix to TW3ToolControlFlatBorder in iOS theme.
- TW3BufferedImage: Don't try to use TW3BackgroundGraphicContext, which was deprecated in Chrome

 

which I believe is the change log for the earlier update ?

the attached screenshot is what files it showed I was getting.

I guess the date routine changes are part of one of the executable files? Cause all the other files are demo related

 

 

 

screenshot.png

Share this post


Link to post
Share on other sites
On 11/26/2018 at 2:05 PM, Czar said:

I have updated using

SmartUpdate /changechannel /showhidden

 

If I subsequently run smartupdate by double clicking I get a message that development not available.

Can you update smartupdate so that we don't have to run from DOS using SmartUpdate /changechannel /showhidden every time - or set up a batch file

@Czar

Create a batch file on your desktop (e.g. smartupdate.bat)

echo off
cd C:\users\shane\downloads\smart\ 
start SmartUpdate /changechannel /showhidden

Share this post


Link to post
Share on other sites

A new update is available:

  • Fixed "Argument out of Range" -error while renaming forms or units.
  • Fix bug in renaming Form1, which did not change TForm1-classes in Form1.
    • This happens if Form1 is not listed in the uses-clause of the main project source.
    • Fixed in new projects.
    • In older projects, users should change the uses-clause to also contain Form1
  • Update uses-clauses in Form1 of a new project to get the same units as a new form.

To fix this Form1-issue in older projects, edit the project source:

uses SmartCL.System, Unit1, Form1; //<<<<<< Add Form1 here if it's missing

{$IFDEF SMART_INTERNAL_HANDLE_EXCEPTIONS}
try
{$ENDIF}
  var Application := TApplication.Create;
  Application.RunApp;
{$IFDEF SMART_INTERNAL_HANDLE_EXCEPTIONS}
except
  on e: Exception do
    ShowMessage(e.Message);
end;
{$ENDIF}

 

Share this post


Link to post
Share on other sites
21 minutes ago, DavidRM said:

So is this actually updating my installed SMS files? Or just the files in the download folder? I ask because I would expect to be prompted for admin privileges to update Program Files.

-David

It updates the files and folder where ever you placed the SmartUpdate.exe (if the files and folders dont exist, they are created)

In my case, I have a production version of SMS installed in my ProgramFiles folder, then I have the Development version (which uses SmartUpdate.exe) in my downloads. 

I really don't even use my production version anymore :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×