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
8 hours ago, IElite said:

@Czar

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

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

that is what I had done already- :)

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

New update available:

RTL:

  • TW3TabControl:
    • AnimateTabs-property to control how tabs are changed.
  • TW3ListBox:
    • Prevent an exception if TW3Image is used as a line control and OnShowItem is not set.
  • TW3ListMenu, TW3HeaderControl and TW3SimpleLabel:
    • Don't set default caption to classname during initialization.
  • DWScript: Capitalize day and month names correctly (January instead of january, Sunday instead of sunday)

IDE:

  • Improvements to the way the IDE reacts to a changed external file.
  • Use caption while drawing generic controls instead of component name.

 

Share this post


Link to post
Share on other sites

New update available:

RTL:

  • New controls: TW3SpinButton, TW3ArrowUpButton, TW3ArrowDownButton, TW3ArrowLeftButton and TW3ArrowRightButton.
  • Add 1px margin to TW3ButtonBorder to prevent the border from being clipped.
  • Bug fixes to Tween.Effects

IDE:

  • Bug fixes and changes to renaming of forms:
    • Renaming in Project Manager will not change form class any more.
    • Form class name can be renamed in Object Inspector.
  • Improvements to Project Statistics:
    • Only count Total time when Smart Mobile Studio IDE has focus.
    • Only Count Design time when changes are made in Form Designer.
    • Add clear button.
  • Component Palette:
    • Added new controls
    • New icons for many existing controls

Share this post


Link to post
Share on other sites

A new update is available. This one contains a completely new Grid: TW3StringGrid. It's a completely new design, which was made to be very fast and able to handle lots of data. This is achieved through dynamic drawing: Only the visible grid lines are rendered.

There is a new StringGrid-demo in the Featured Demos. It downloads a json file and populates the grid with data from it.

RTL:

  • New control: TW3StringGrid
  • New featured demo for the StringGrid.
  • New TW3CustomScrollControl, for developing scroll controls with scrollbars/indicators-support.
  • New border types: btLightBorderTop, -Bottom, -Left, -Right, -Horiz and -Vert
  • EventManager: Check TouchPreventDefault before trying to prevent extra artificial mouse events from touch events
  • Improvements to TW3BlockBox and Modal dialogs:
    • TW3BlockBox did not trigger a resize
    • Dialogs did not get resized when window was resized or device flipped
    • Make sure the dialogs are not too big

Share this post


Link to post
Share on other sites

A new update is available.

RTL:

  • Improvements to TW3StringGrid:
    • New column types:
      • TW3StringGridNumericColumn
      • TW3StringGridButtonColumn
    • Added sorting
    • New event: OnCellChanged
  • TStringList and TObjectList: Add Sort() with CompareFunction.
  • Fix CSS browser prefix for Firefox
  • Themes: Use normal size and style text in buttons.

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  

×