Smart Mobile Studio
  • News
  • Forums
  • Download
  • Store
  • Showcases
    • Featured demos
    • The Smart Contest 2013, Round 1 – Graphics
  • Documentation
    • Get the book
    • System requirements
    • Prerequisites
    • Getting started
      • Introduction
      • Application architecture
      • The application object
      • Forms and navigation
      • Message dialogs
      • Themes and styles
    • Project types
      • Visual project
      • Game project
      • Console project
    • Layout manager
    • Networking
      • TW3HttpRequest
      • TW3JSONP
      • Loading files
  • About

Tag Archives: new

Smart Mobile Studio 2.0

Posted on 09.12.2013 by Smart Mobile Studio Team Posted in Developers log, News 3 Comments

This is a list of all changes since the last official release (1.1.2).

Compiler

New functionality

  • Added command line compiler smsc.
  • Added support for external variables and external class variables.
  • Scriptable HTML templates and CSS scripts.
  • CSS is compressed during compilation.
  • New ways to include an external resource:
    • {$R ‘resource.js’} or {$R ‘file:resource.js’} will copy the resource to the ‘res’ folder during compilation and link it into the program (‘<script>’ statement will be generated in the HTML code or ‘require’ will be generated for NodeJS code).
    • {$R ‘http://server/path/script.js’} or {$R ‘https://server/path/script.js’} will just link the code to the program without copying anything.
    • You can specify MIME type for the resource by prefixing it to the resource name: {$R ‘text/javascript:http://server/path/file.php’}. If the MIME type is not provided, it will be generated automatically from the extension part of the resource name.
  • Compiled program is stored in a ‘www’ subfolder (previously it was stored in a ‘bin’ subfolder).

Improved functionality

  • Improved codegen for static and static sealed classes.
  • Improved codegen for “new JObject”.

Bugs fixed

  • Fixed various codegen problems related to constant arrays, external classes and nested records.

RTL

New functionality

  • Added support for the Espruino microcontroller.
  • Added wrappers for JavaScript functions prompt() and confirm().
  • Added support for Android Home Screen applications (http://www.delphitools.info/2013/10/16/chrome-web-apps-in-android/).
  • Added TMetronome class (http://www.delphitools.info/2013/10/18/time-stepping-for-games-and-simulations/).
  • New units: w3WebWorker, w3c.WebSpeechAPI, Chrome.Serial, Firefox\Bluetooth.
  • Added methods to the w3colors unit.

Improved functionality

  • Redesigned (faster) GameView.
  • Improved TW3Button with ‘pressed’ state.
  • More IE shims.
  • Improved W3Effects.
  • Improved ColorToWebStr.
  • Improved TW3BufferedImage.SetSize.
  • Improved compiler messages window.

Bugs fixed

  • Fixed System.Diagnostics performance timer fallback (for Safari).
  • Fixed HSL delta methods in w3colors.

IDE

New functionality

  • New visual designer.
  • New component package manager.
  • New project file format, incompatible with older Smart versions. Projects are now stored with a .sproj extension and forms with a .sfm extension.
  • New, XML-based preferences file (preferences.xml) replaced INI-based file (preferences.ini).
  • Added NodeJS and WebWorkers project types.
  • Added tool that creates DataSnap service connector (Delphi Enterprise must be installed on the same computer).
  • Build automation with build scripts.
  • Source maps.
  • Lines/blocks can be moved up/down with Alt+Shift+Up/Down.
  • Internal browser allows taking screenshot of the running application.
  • Configuration option “Save projects before compilation”.
  • A project can be compiled and run even if it was never saved.
  • Implemented Open, Save, Save As, Save Project As.
  • Metadata information can be set for a project.
  • IDE state related to the project (open tabs, top line, bookmarks) is stored in the <projectname>.dsk file and is restored when a project is open.
  • Redesigned template (HTML and CSS) handling.
  • Ctrl+click ‘link’ highlighting.
  • Source code change bar to indicate changes (original, modified, saved).
  • Default project options for each project type can be configured.
  • Added compilation options ‘Automatically refresh in browser’ and ‘Handle uncaught exceptions’.
  • Added support for defining conditional compilation symbols on a project level.
  • Redesigned ‘run’ experience (http://smartmobilestudio.com/2013/10/12/new-ways-to-run-a-project/).

Improved functionality

  • Project title can contain spaces.
  • Custom HTML & CSS code is now separated from general resources
  • Better structure of project options (removed dead settings)
  • Application adapts to low-resolution displays.
  • Improved HTML highlighter, now supports embedded JavaScript, DWS, and CSS.
  • Dotted unit names are supported.
  • Snippets are stored in a separate folder, one snippet per file.
  • Redesigned server/internal browser forms and execution options.
  • Added shortcuts to toggle Compiler Messages and Mini Map visibility.
  • Improved renaming of units.

Bugs fixed

  • Code completion works in .spr files.
  • Highlighter preview (in Preferences) uses currently selected editor font.
  • Configured editor font is correctly displayed when Preview dialog is open.

Removed functionality

  • Compact toolbar.
  • Exit button in the toolbar.
  • Removed ‘Visual components project (New Project Script Demo)’ project type.

Other

New functionality

  • New demos: eSpeak, TransitionEffects, Complex Numbers.
  • Added touch and acceleration support to the “Box2D Demo” project.

Changed

  • Renamed some demos (removed ‘by XXXX’).

Removed

  • Removed demo “Box2D Integration”.
new Smart Mobile Studio Version 2.0

Pages

  • About
  • Feature Matrix
  • Forums
  • News
  • Release History
  • Download
  • Showcases
    • The Smart Contest 2013, Round 1 – Graphics
  • Store
  • Documentation
    • Creating your own controls
    • Debugging, exceptions and error handling
    • Differences between Delphi and Smart
    • Get the book
    • Getting started
      • Introduction
      • Local storage, session storage and global storage
      • Application architecture
      • The application object
      • Forms and navigation
      • Message dialogs
      • pmSmart Box Model
      • Themes and styles
    • Layout manager
    • Networking
      • Loading files
      • TW3HttpRequest
      • TW3JSONP
    • Prerequisites
    • Real data, talking to sqLite
    • System requirements
    • Project types
      • Visual project
      • Game project
      • Console project

Archives

  • December 2019
  • December 2018
  • November 2018
  • July 2018
  • June 2018
  • February 2018
  • September 2017
  • April 2017
  • November 2016
  • October 2016
  • September 2016
  • April 2016
  • March 2016
  • January 2016
  • October 2015
  • September 2015
  • July 2015
  • April 2015
  • January 2015
  • December 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • November 2013
  • October 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • August 2012
  • July 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • November 2011
  • October 2011
  • September 2011

Categories

  • Announcements (25)
  • Developers log (119)
  • Documentation (26)
  • News (104)
  • News and articles (16)

WordPress

  • Register
  • Log in
  • WordPress

Subscribe

  • Entries (RSS)
  • Comments (RSS)
© Optimale Systemer AS