Version 5

From NSB App Studio
Jump to navigation Jump to search

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

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

Version 5.0.0

Major New Features

  1. Responsive Design lets your app adapt smoothly to different screen sizes.
  2. Make Windows Executables (exe) apps.
  3. Ten new controls, including Container, Collapsible, Editor, Password Input and Window.
  4. Use Visual Effects to show forms.
  5. Use Modal Forms
  6. Internet Explorer 11 support.

IDE - General

  1. New look and feel for the IDE
  2. Tools Menu: New option to convert a BASIC project to JavaScript.
  3. Open Sample: Now allows nested folders, for better organization
  4. Open Sample: New Find option.
  5. About Screen: reformatted.
  6. Find: Opens with "Find What" selected.
  7. Help: now displays HTML formatted text with links.
  8. Open Sample: Samples are now sorted case insensitively.
  9. Project Properties: New styleheader property saves your styling rules.
  10. Properties Window: ChangeForm and firstform now have pickers.
  11. Properties Window: Events set properly on control copy and paste.
  12. Run menu: New Make Windows Executables (exe) App.
  13. Run menu: Improved menu names.
  14. Save: Saving a project no longer changes the Project ID.
  15. Startup: Projects with deprecated controls will get a message when loading is attempted.
  16. Startup: Splash screen on Mac OS startup no longer required.
  17. Startup: When project reopened, tabs are all reopened and same one returned to.
  18. View menu: New option to close all tabs.
  19. Installer: Checks if IE11 is installed on Windows
  20. Installer: Modifies registry so IE11 recognizes AppStudio.

Code Window

  1. Code Window: New clickable Function List appears in the Toolbox pane.
  2. Code Window: ToolTips now appear for user functions.
  3. Code Window: 'error' is no longer auto capitalized.
  4. Code Window: Code converted to JS is now beautified.
  5. Code Window: Error when typing 'screen.' fixed.
  6. Code Window: JSONP files are now edited as JSON files.
  7. Code Window: Problem with auto indentation fixed.

Design Screen

  1. Design Screen: controls are relative if their parent is.
  2. Design Screen: new zoom icon. Use this to shrink size of Design Screen. Disables drag and drop.
  3. Design Screen: controls can be grouped using Containers.
  4. Design Screen: Right click to lock controls from accidental position changes.
  5. Design Screen: Double click opens Code Window.
  6. Design Screen: Dump wxWebkit. Now smaller, faster.
  7. Design Screen: Internally uses IE to render controls.
  8. Design Screen: Paste now shows on the right click menu.
  9. Design Screen: Snap to grid is now gray, not black.

Project Explorer

  1. Project Explorer: Folders can now be dragged and dropped.
  2. Project Explorer: JSON files can now be dragged and dropped.
  3. Project Explorer: SQLite databases can now be dragged and dropped.
  4. Project Explorer: Delete file now has confirmation message.
  5. Project Explorer: Warning if drag and drop of existing file.

Language

  1. ChangeForm() now supports visual effects.
  2. Ajax() can now have a callback as a second argument.
  3. Ajax() can now take an object for its parameters.
  4. Ajax() now supports a fail callback.
  5. ReadFile() can now be used asynchronously.
  6. Case normalization is now handled in Code Window
  7. Case normalization moved out of hfunc.js, killing hundreds of lines of code.
  8. Language version bumped. Existing projects will take longer to compile first time they are run using the new version.
  9. Map is now a keyword.
  10. Overlay() function deleted - it was obsolete.
  11. Referencing a control by name itself will return its value.
  12. Referencing a control by name will return a numeric if possible.
  13. Style/End Style deprecated. See 'Breaking Changes'.
  14. NSBCurrentForm changed to NSB.currentForm.
  15. Arrays no longer have to be declared in all modules.

Toolbox

  1. New: Container control for text, html and other controls.
  2. All: New methods to hide and show controls: fadeIn, fadeOut, slideUp, slideDown.
  3. All: Updated to work with IE11.
  4. All: -webkit prefix removed from css.
  5. All: Border properties are now consistant.
  6. All: BorderColor and BorderWidth added all controls with borders.
  7. All: Bounds can now be 'inherit' and 'initial'.
  8. All: Disabled property fixed.
  9. All: font selectors normalized.
  10. All: HTML output for borders streamlined.
  11. All: New onresize event.
  12. All: no longer load function code that is not needed.
  13. All: ToolBox Files can now share property definitions.
  14. Camera: value can now be set at Design Time.
  15. Date and Time: appearance improved.
  16. Dialog is now on top of scroll bars.
  17. Facebook: unneeded font property removed.
  18. Functions for AppStudio's controls moved from complexfunctions.js to nsbFunctions.js.
  19. Functions for jqMobile controls moved from complexfunctions.js to jqmFunctions.js.
  20. Functions for jqWidget controls moved from complexfunctions.js to jqxFunctions.js.
  21. Generic: Deprecated - replaced by Container.
  22. Grid: .cellstyle can be read at runtime.
  23. Grid: .colWidths can be read at runtime.
  24. Grid: Cells added at runtime are formatted with cellstyle.
  25. Grid: fix alignment style bug on first column.
  26. Grid: styling moved from complexfunctions to nsbstyle.css.
  27. Help now has pointers to Wiki.
  28. HTMLView: Emitted code improved.
  29. HTMLView: fix warning from Safari.
  30. HTMLView: Percentage widths fixed.
  31. NSB.MsgBox: Appearance improved on RTL systems.
  32. NSB.MsgBox: formatting error with two buttons fixed.
  33. NSB.MsgBox: iOS 6 style MsgBoxes are gone.
  34. NSB.MsgBox: now handles former _msgbox_confirm function.
  35. NSB.ShowProgress is now modal.
  36. PayPal: Allows user specified image.
  37. PayPal: Only deploy image which is used, not all four.
  38. Toolbox: Now has a Find area on the bottom.
  39. Toolbox: Right click now opens Wiki page for all controls.

Forms

  1. New modal property: can make form float modally over rest of app.
  2. New visual effects: fadeIn, fadeOut, slideUp, slideDown.
  3. New BackgroundColor property.
  4. New BorderColor property.
  5. New BorderWidth property.
  6. New parentForm property.
  7. New position property. Can be absolute, fixed, etc. Good for Responsive Design.
  8. Background renamed backgroundImage.
  9. Borders can be specified.
  10. Controls copy and pasted to new forms are not repositioned.
  11. Form submit properties removed from Toolbox.
  12. Forms are now a <div> element, not <form>
  13. Forms can now have bounds in percentages (if fullScreen is false).

Runtime

  1. Comments between forms added to output code.
  2. Indenting of code improved.
  3. Main div renamed to NSBPage from Page_jqm.
  4. Needless blank lines removed.
  5. Output code cleaned up.
  6. Return value of function renamed returnValue (was savethefunction_rval)
  7. ReturnValue code not created if function does not return a value.
  8. CSS files moved to head for faster rendering.
  9. Generated code reformatted by JSBeautifier when possible.

Deploy

  1. Option to create Windows Executable (exe) added to Run menu.
  2. Nicely formatted screen listing your deployed apps.
  3. Native Build Status: Starts automatically after build and auto refreshes.
  4. Drag and Drop to Project Explorer fills manifest automatically.
  5. Cache: error message improved.
  6. Cache: Mime types set on local server - Some Windows systems set incorrectly.
  7. Cache: New global NSB.cacheStatus is available to your app.
  8. Cache: User now prompted before web app is updated.
  9. Cache: To turn off update prompt, do NSB.confirmCacheUpdate=""
  10. Check Deployment: Additional checking added.
  11. Native Build Status: Auto refresh every 3 seconds.
  12. Native Build Status: Links added for iOS 'Error' message.
  13. Native Build Status: Links added to Tech Note for app stores.
  14. Native Build Status: Refresh button deleted.
  15. Native Build Status: Opens automatically after app submitted to PhoneGap.
  16. nsbapp.com: User image in nsb caused problems uploading to nsbapp.com fixed.
  17. PhoneGap: CLI progress window can now be closed.
  18. PhoneGap: Config.xml no longer gets deployed (It's only for PhoneGap)
  19. PhoneGap: Default configxml updated.
  20. PhoneGap: New PhoneGap Camera sample.
  21. PhoneGap: Project Location build uses AuthToken.
  22. PhoneGap: Splashscreen is now automatically added to manifest.
  23. PhoneGap: splashscreen property now uses image picker.
  24. PHP: Umlauts (and other extended characters) are now OK in PHP files.
  25. Preferences: Static localhost port# added.
  26. Project Explorer: Entire folders can be dragged and dropped.
  27. Project Explorer: JSON files can be dragged and dropped for deploy.
  28. Project Explorer: SQLite databases can be dragged and dropped for deploy.
  29. Run: from local filesystem uses default browser.
  30. Run: Local deploy is to 127.0.0.1 instead of localhost to deal with poorly configured systems.
  31. Run: Local deploy pathnames can now have spaces.

jQuery Mobile Framework

  1. New: Collapsible control shows popup text.
  2. All: Toolbox files tweaked for proper display in IE11.
  3. All: jQuery Mobile 1.3 controls and samples have been removed.
  4. Button, List: Text appearance improved.
  5. Button: Groups now have ID numbers.
  6. Icons now draw more sharply.
  7. Panel: icon now drawn correctly.
  8. Select: addItem can now accept multiple items
  9. TextArea: Added maxlength property.

jqWidgets Framework

  1. New: DateTimeInput control.
  2. New: Docking control.
  3. New: Editor control.
  4. New: MaskedInput control.
  5. New: NavigationBar control.
  6. New: PasswordInput control.
  7. New: Validator control.
  8. New: Window control.
  9. New themes: Android, Web, Bootstrap, Metro and Office.
  10. All: controls now have hidden, disabled, theme and rtl properties.
  11. All: Design settings are available at runtime in the NSB.jqxSettings[id] array.
  12. All: Functions for jqx controls moved from complexfunctions.js to jqxFunctions.js.
  13. All: Remove jqxSettings_ variables from global namespace. Now in NSB.jqxSettings["controlName"]
  14. All: Toolbox files have been streamlined.
  15. Checkbox: Icon updated.
  16. Menu: wrong height on pulldown fixed.
  17. Samples: Numerous fixes to samples.

iWebKit Framework

  1. All iWebKit controls and samples have been removed.

Samples

  1. Samples can be searched for keywords.
  2. Samples are now organized into subdirectories.
  3. New Collapsable sample.
  4. New Modal form sample.
  5. New PhoneGap Camera sample.
  6. New samples for all the new jqWidgets controls.
  7. All samples updated to use the new release.
  8. Desktop files for WebSockets samples moved to Wiki in zip format.
  9. Fix incorrect default splashscreen paths.
  10. Many updates and fixes.
  11. Update Ajax samples to use asynchronous calls.

Documentation

  1. TechNotes: New Responsive Design Made Simple

Internals

  1. Internals: PyV8 no longer used.
  2. Internals: wxWebkit is no longer used.
  3. Internals: wxPython updated to 3.0.0.
  4. Internals: node.js now now used for translation and syntax checking.
  5. Internals: PyInstaller is now used to create Mac installer instead of Py2App.
  6. Internals: Complexfunctions and hfunc cleaned up using jshint.
  7. Internals: Complexfunctions and hfunc reformatted.
  8. Internals: hfunc and functions files minified.
  9. Internals: exception handling improved.
  10. Internals: FastClick updated to 1.0.6

Breaking Changes

  1. Windows XP and Vista are no longer supported, due to IE 11's minimum requirements. Microsoft is no longer issuing security patches for XP. http://windows.microsoft.com/en-ca/windows/end-support-help
  2. Internet Explorer 11 is now a prerequisite on Windows systems.
  3. iWebKit and jQuery Mobile 1.3 are no longer supported
  4. Chrome Packaged Apps are no longer supported - replaced by full Windows exe apps.
  5. Form submit() removed from Toolbox. Ajax is a better way to do this.
  6. iOS 6 style MsgBoxes have been updated to current style.
  7. Style/End Style is no longer supported. Putting styling rules inline in code is messy and can cause performance problems. Copy the code inside your Style/End Style blocks and paste into the new styleheader Project property. It will then be put in the correct place at runtime.
  8. jqWidgets: settings variable renamed from controlName_setting to NSB.jqxSettings["controlName"]
  9. NSBCurrentForm replaced by NSB.currentForm