Version 3: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
Line 8: Line 8:
== Version 3.1.0 (not released yet) ==
== Version 3.1.0 (not released yet) ==
# Control Bounds properties: left, top, width and height can now be a percent value of screen size.
# Control Bounds properties: left, top, width and height can now be a percent value of screen size.
# Controls: New PhotoGallery control (thanks, Erkan!)
# Controls: Added verticalAlign property to Label.
# Controls: Added verticalAlign property to Label.
# Controls: Added .hide() and .show() to jQM RadioButton.
# Controls: Added .hide() and .show() to jQM RadioButton.
# Controls: Added right and bottom properties to most controls.
# Controls: Added right and bottom properties to most controls.
# Controls: Add "auto" as a value for bounds. Value is then derived from other info.
# Controls: Add "auto" as a value for bounds. Value is then derived from other info.
# Controls: Grid: ScrollHeight property eliminated.
# Controls: Add touchend event.
# Code Window: Syntax checking disabled for JavaScript.
# Code Window: New code module defaults to project's language.
# Design Screen: Grid no longer draws outside its bounds if scrolling.
# Deploy: Downloading a file from PhoneGap no longer leaves user signed on.
# Deploy: Downloading a file from PhoneGap no longer leaves user signed on.
# Deploy: html file written to project folder as well.
# Forms: Added fullScreen property. If set, form is set to runtime screen size.
# Forms: Added fullScreen property. If set, form is set to runtime screen size.
# IDE: 'firstform' property updated if form's ID is changed.
# IDE: 'firstform' property updated if form's ID is changed.
# IDE: Crash when closing the last tab on top of the Design Screen prevented (Mac).
# IDE: Crash when closing the last tab on top of the Design Screen prevented (Mac).
# IDE: Crash when encoding SQLite database on Mac deploy avoid. Caused by new Pyv8.
# IDE: Crash when encoding SQLite database on Mac deploy avoid. Caused by new Pyv8.
# IDE: Problem with Chinese unicode pathnames on Windows fixed.
# IDE: Toolbox descriptions now appear in the Help area.
# IDE: Toolbox descriptions now appear in the Help area.
# IDE: Error with pulled out window fixed.
# IDE: About screen shows Demo mode properly.
# IDE: View Log now handles UTF-8 characters properly.
# Runtime: NSB.InputBox is now Android style on Chrome and Android.
# Runtime: NSB.InputBox is now Android style on Chrome and Android.
# Runtime: NSB.MsgBox is now Android style on Chrome and Android.
# Runtime: NSB.MsgBox is now Android style on Chrome and Android.
Line 25: Line 36:
# Samples: Added Pixastic sample.
# Samples: Added Pixastic sample.
# Samples: Fixes to many samples.
# Samples: Fixes to many samples.
# Samples: Chart now has BASIC and JavaScript versions.
# Translator: Fixed parsing error on invalid If Then ElseIf statement.
# Translator: Fixed parsing error on invalid If Then ElseIf statement.
# Translator: rndTest=1 parses properly.
# Translator: Referencing function name immediately after function translates
properly.
# Translator: Function MyObj.myFunction() translates properly.


== Updates to 3.0 ==
== Updates to 3.0 ==

Revision as of 15:32, 13 May 2013

Documentation for AppStudio 3.0

If you own a previous version of AppStudio, you need to buy the upgrade to use version 3.0. You can do this from within the app or from our order form.

Until you have bought the upgrade, you can use AppStudio 3 in Demo mode. Once you buy, your copy will convert automatically to the full version.


Version 3.1.0 (not released yet)

  1. Control Bounds properties: left, top, width and height can now be a percent value of screen size.
  2. Controls: New PhotoGallery control (thanks, Erkan!)
  3. Controls: Added verticalAlign property to Label.
  4. Controls: Added .hide() and .show() to jQM RadioButton.
  5. Controls: Added right and bottom properties to most controls.
  6. Controls: Add "auto" as a value for bounds. Value is then derived from other info.
  7. Controls: Grid: ScrollHeight property eliminated.
  8. Controls: Add touchend event.
  9. Code Window: Syntax checking disabled for JavaScript.
  10. Code Window: New code module defaults to project's language.
  11. Design Screen: Grid no longer draws outside its bounds if scrolling.
  12. Deploy: Downloading a file from PhoneGap no longer leaves user signed on.
  13. Deploy: html file written to project folder as well.
  14. Forms: Added fullScreen property. If set, form is set to runtime screen size.
  15. IDE: 'firstform' property updated if form's ID is changed.
  16. IDE: Crash when closing the last tab on top of the Design Screen prevented (Mac).
  17. IDE: Crash when encoding SQLite database on Mac deploy avoid. Caused by new Pyv8.
  18. IDE: Problem with Chinese unicode pathnames on Windows fixed.
  19. IDE: Toolbox descriptions now appear in the Help area.
  20. IDE: Error with pulled out window fixed.
  21. IDE: About screen shows Demo mode properly.
  22. IDE: View Log now handles UTF-8 characters properly.
  23. Runtime: NSB.InputBox is now Android style on Chrome and Android.
  24. Runtime: NSB.MsgBox is now Android style on Chrome and Android.
  25. Runtime: NSB.MsgBoxStyle overrides default. Values are "" for iOS, "-android" for Android style.
  26. Runtime: TypeName("String 1") fixed.
  27. Runtime: CInt("&h100") now returns 256.
  28. Samples: Added Pixastic sample.
  29. Samples: Fixes to many samples.
  30. Samples: Chart now has BASIC and JavaScript versions.
  31. Translator: Fixed parsing error on invalid If Then ElseIf statement.
  32. Translator: rndTest=1 parses properly.
  33. Translator: Referencing function name immediately after function translates

properly.

  1. Translator: Function MyObj.myFunction() translates properly.

Updates to 3.0

Version 3.0.10

  1. Controls: Image control now displays src image immediately.
  2. Controls: jqWidgets have new pathname property.
  3. Controls: src in Image control now added to manifest automatically.
  4. Design Screen: Changed background image now updates immediately.
  5. IDE: Add 'View Logs' button to About screen.
  6. IDE: New form now has proper default programming language.
  7. IDE: Programming language preference is now saved.
  8. Sample: WebSockets sample updated to latest RFC. Should work in iOS 6, Android 4.
  9. Samples: Problem with Save As fixed.

Version 3.0.9

  1. Runtime: New FastClick feature: clicks on mobile device react much more quickly now.
  2. Installer: Project running from a different drive than the installation will not have a blank Design Screen.
  3. Run: Error when starting app in Chrome fixed.

Version 3.0.8

  1. Code Window: If language is JavaScript, event functions are created properly.
  2. Deploy: Do not include hidden files in manifest.
  3. IDE: Do not allow dashes in Property IDs.
  4. IDE: Opening an invalid project name no longer throws an error.
  5. jQuery Mobile: Updated to 1.3.1
  6. jQuery: Updated to 1.9.1
  7. Runtime: Allow Print to be customized.
  8. Runtime: NSB.Print can be used from JavaScript
  9. Samples: Add display pdf to HTMLview.
  10. Samples: New Emoji sample.
  11. Samples: New Print sample.
  12. Samples: New WaitCursor sample.
  13. ToolBox: Orientation now allows single quote signs in text.

Version 3.0.7

  1. Deploy: Error on incorrect PhoneGap log in fixed.
  2. Deploy: PhoneGap settings are project specific as well.
  3. Design Screen: TextArea no longer expands if text too large.
  4. Design Screen: Pasted controls remain selected.
  5. Design Screen: Pasting multiple controls does not go into a loop.
  6. Design Screen: Projects with SQLImport no longer have problems.
  7. Design Screen: Form style now shows properly.
  8. Design Screen: No longer compiles code.
  9. Design Screen: Outline of selected control changed to dotted.
  10. Design Screen: View...Design Grid fixed.
  11. Docs: On Mac OS, do not use 'US International Keyboard'.
  12. Deploy: Problem deploying to PhoneGap account fixed.
  13. Deploy: Add splash screen timeout to Phonegap configxml
  14. IDE: General cleanup to internals of project open/save/close
  15. IDE: Minimum iOS version is now documented as 4.3
  16. IDE: Projects in read only folder can now be opened.
  17. IDE: Registry problem with unicode fixed.
  18. IDE: Error in Save As into same folder fixed.
  19. IDE: When switching forms, sometime the form would be selected, not the control.
  20. IDE: Use of temp folders improved.
  21. IDE: Default folder selection improved.
  22. IDE: Fix language selection bug on startup.
  23. IDE: Folders in manifest work with Save As now.
  24. IDE: Accomodate odd folder names like $$DEVELOPER$$
  25. Internationalization: Several languages have had much more translated.
  26. Language: Add SysInfo(5) - returns device pixel ratio.
  27. Samples: Folder is now read only.
  28. ToolBox: jqxGrid: SelectMode now allows multiplecellsextended
  29. ToolBox: Multiple ToolTips now allowed.
  30. Toolbox: popupmsg editor improved.
  31. ToolBox: ToolTip icon can now be changed.
  32. ToolBox: Select.addItem() now adds value of 0 correctly.
  33. ToolBox: jQM RadioButton.value() nows returns values starting with 1, not 0. Possible breaking change.
  34. Toolbox: PopUp control improved - still a test control.

Version 3.0.6

  1. Deploy: Preferences can now be set for individual projects. This is done in Preferences: prefs can be set for the Global Location (all projects) or Project Location (the current project).
  2. IDE: (Mac) Environment error fixed.
  3. IDE: Shortcuts on menus should be fixed in French and other languages.
  4. IDE: Unicode problem with browser start fixed.
  5. Runtime: Fixed problem with form not restoring properly after keyboard shown.
  6. Samples: Add new features to jqWidgets Grid
  7. Toolbox: Always load iScroll if EULA is enabled.
  8. Toolbox: jQuery Mobile TextArea no longer resizes if text does not fit.
  9. Toolbox: New ToolTip control (Thanks, Erkan Kaplan!)
  10. Toolbox: Orientation message is now customizable.
  11. Toolbox: Test version of PopUp control added.

Version 3.0.5

  1. Design Screen: Alt-arrow keys can be used to nudge controls.
  2. Controls: ComboBox: setIndex() is now zero based, to be consistent with other calls. (Used to be 1 based - could be a breaking change if you use this function)
  3. Controls: ComboBox: setText() added.
  4. Controls: ComboBox: setValue() fixed.
  5. Controls: jqxGrid: Export function now works.
  6. Controls: jqxGrid: Grouping now works. Make sure groupcolumnrenderer is blank, not null.
  7. Controls: MultiInput: Width can now be set in Design Screen and runtime. Top fixed.
  8. Controls: PictureBox: Width and Height can now be set at runtime.
  9. Controls: RadioButton and Grid: .Width now works.
  10. Project Explorer: Right click to delete form works.
  11. Runtime: Calculation error in Month() function fixed.
  12. Samples: jqWidget SwitchButton sample improved.
  13. Samples: jqWidget ListBox sample improved.
  14. Samples: Signature sample improved.
  15. IDE: Regional versions of languages revert to main version.
  16. IDE: Toolbox blanking out has been fixed.
  17. PhoneGap updated to 2.5.0.

Version 3.0.4

  1. Grid: Should work as it did in 2.6
  2. Controls: refresh() on a non scrolling control now does nothing.
  3. RadioButton: Height should work better. Setting Height and Width on jQM version lets these properties be calculated automatically.
  4. Date, DateTime, Month and Time: should position properly.

Version 3.0.3

  1. Grid: Left, Top, Width and Height should now work well.
  2. RadioButton: Classic RadioButton now OK in same app as jQM controls.
  3. RadioButton: Now resizes height properly on Design Screen.
  4. RadioButton: New .getItemCount function
  5. jqxGrid: Now includes jxqnumberinput.js
  6. PictureBox: Now sizes properly using Left, Top, Width, Height and resize.
  7. List: Now sizes properly using Left, Top, width, height and resize.
  8. jQuery Mobile 1.3: Final release version now included.

If you have been using the _scroller or _wrapper tag as a workaround to manipulate controls, it will no longer work. Change your code to use Left, Top, Width and Height directly to the control.

Version 3.0.2

  1. Code Window: Changing Language automatically resets the Code Window
  2. Language: control.left automatically becomes control.Left (same with top, width and height) on first deploy. As a result, it will take longer the first time and return to normal thereafter.
  3. Translation files updates: Thai is now complete!

Version 3.0.1

  1. Code Window: Block commenting for JavaScript fixed.
  2. Mac: Find dialog raised when invoked - it was getting lost.
  3. Properties Window: The id property must start with a letter.
  4. Runtime: control.resize fixed.
  5. ToolBox: ComboBox.selectedIndex() fixed.
  6. ToolBox: Label (and others) can now have unicode characters.

Version 3.0.0

IDE

  1. Mac OS 10.7 and later is now supported.
  2. Native IDE support is substantially complete for 17 languages
  3. Multiple frameworks can be used in the same project
  4. New Preferences screen.
  5. Preferences screen now has IDE language picker.
  6. About Screen now has a View Log button to view the latest error in the IDE. Cmd-click (Mac) or Ctrl-click (Win) on the button to open the log folder.
  7. Error reporting improved.
  8. Framework prompt removed from New Project.
  9. Framework property removed from Project Properties.
  10. ID of Code Module can now be changed.
  11. Installing on a path with unicode chars (like umlaut) now works.
  12. New AppStudio icon
  13. New globalfont property.
  14. New HomescreenTitle property (for iOS)
  15. New Project dialog rewritten.
  16. Open Sample dialog rewritten.
  17. Product name changed from NS Basic/App Studio to NSB/AppStudio.
  18. Registry keys now support unicode.
  19. Project IDs can now have unicode.
  20. The first time an app is run in the new version, it will take a bit longer to compile. It will be normal thereafter.
  21. JavaScript can be specified as the language in Form Properties.
  22. JavaScript can be specified as the language in Code Module Properties.

Design Screen

  1. Major rewrite
  2. Clicking in the area outside the Design Screen no longer messes up the cursor.
  3. Highlighting of controls works much more consistently.
  4. Multiple select dragging works
  5. New drag handles on controls
  6. New tab at bottom to switch to Code Window
  7. Right click to switch to Code Window

Code Window

  1. Allow up to 99999 lines in a file
  2. Autocomplete added for localStorage, sessionStorage and location
  3. Block comment respects language setting
  4. Cyrillic text can now be pasted in
  5. Don't autocase .close
  6. Find/Replace improved.
  7. Fix false syntax error on Try
  8. Fix problem with autocase on Replace()
  9. JavaScript support improved
  10. New tab at bottom to switch to Design Screen
  11. Right click to switch to Design Screen
  12. Right click to view JavaScript
  13. Shortcut pulldown now sorted as case insensitive.
  14. The case of control names is autocorrected.
  15. Autocomplete will not happen in the middle of a string

Deploy

  1. PhoneGap: Add missing keyword argument.
  2. PhoneGap: Add support for PhoneGap 2.4RC1
  3. Recover gracefully if file missing.
  4. Handle unicode characters in SQLite database

Runtime

  1. Language: NSB.EULA added.
  2. Language: NSB.ShowProgress added.
  3. Language: Print made much more useful.
  4. Language: Removed NSBFramework global variable.
  5. Language: SQLImport() improved.
  6. Progress message on loading improved.
  7. Runtime: If form does not have onsubmit code, ignore keyboard Go button.
  8. Runtime: NSB.InputBox and NSB.MsgBox no longer leak clicks to underlying buttons.
  9. Runtime: NSB.InputBox and NSB.MsgBox now more responsive on touch screen devices.
  10. Runtime: Tweaks to SysInfo(2), SysInfo(3) and SysInfo(4).

Libraries

  1. jQuery: Updated to 1.9.0
  2. Library: Add2home updated for iPhone 5.
  3. Library: Update iScroll to 4.2.2.

Samples

  1. Camera sample enhanced for iOS6.
  2. Descriptions updated.
  3. Headerbar sample improved.
  4. Moved to My Documents/AppStudio Samples. (Win)
  5. New BusyIndicator sample.
  6. New JqxChart sample.
  7. New MinecraftSim sample. Shows off extreme PictureBox.
  8. New NSBInput sample.
  9. New Orientation sample.
  10. New samples: Grid, JqxTree, Menu, Grid_Northwind, JqxListBox
  11. Northwind sample enhanced to show an update.
  12. Old format manifest entries updated.
  13. SAP sample updated to use better PGP script.
  14. Themeroller sample improved.

ToolBox

  1. To move controls, use .Left, .Top, .Width and .Height (note first letter is capitalized.)
  2. Add new Orientation control.
  3. Added contenteditable property.
  4. Adsense: does not display if offline or not on a mobile device.
  5. All controls now hide if hidden=true.
  6. Controls can have their own clientBoundingRect.
  7. Controls from different frameworks can be used in the same project
  8. Get rid of _offsetX, _offsetY in toolbox files.
  9. Get rid of NSBWidget base control
  10. Grid: fix scrolling error
  11. HTMLView: fix scrolling error
  12. More properties and keywords added.
  13. Show 'False' in Property Window if control not hidden.
  14. Toolbox reorganzed

jQuery Mobile

  1. Updated to Version 1.3. Read about the changes here.
  2. Button: Groups now work differently (breaking change!)
  3. FlipToggle width can be changed.
  4. Footerbar no longer gets an error if no click routine is defined.
  5. HeaderBar, NavBar and FooterBar no longer get errors if there are spaces in the button name. The value sent to the click event will replace the spaces with "_" characters.
  6. List width can be changed.
  7. RadioButton can now adjust height, width and font size in IDE.
  8. Select: Groups now work differently (breaking change!)
  9. Hidden and Readonly properties fixed.

jqWidgets

  1. Add 11 new themes.
  2. Control id can now be changed.
  3. Files are loaded from jqWidgets website, not locally.
  4. New Calendar control.
  5. New Grid control.
  6. New ListBox control.
  7. New Menu control.
  8. New RadialGauge control
  9. New SwitchButton control
  10. New Tree control.
  11. ToolBox now uses jqWidget icons

iWebKit

  1. Default classic button has improved border styling.
  2. This framework used to be called Classic. It is no longer being maintained by its author.

Documentation

  1. All documentation has been converted into a Wiki. All of the existing Handbook, Language Reference, Technotes and Tutorials have been merged into it.
  2. The IDE now points to the correct spot in the Wiki.
  3. Wiki can run offline, but search function does not work.

Translator

  1. a=Abs(Abs(1)) translates incorrectly.
  2. Allow expressions in Select.
  3. Case "Narcis" fixed.
  4. Case clauses can now have multiple comma separated values.
  5. Code indentation improved.
  6. Compile: Fix intermittent crash on compile with SQLite.
  7. Dim a(10): a(1).test=1 fixed.
  8. exp() and atn() fixed.
  9. Expression with comma in string could add extra space character.
  10. Fix Not in If statements.
  11. Fix using function name in SetTimeout.
  12. Hour(x) function argument is now used.
  13. InStr() and Replace() now handle vbTextCompare properly.
  14. IsDate("testing") returned true.
  15. Line continuation in comments did not work properly.
  16. Problem with DatePart("w") fixed.