Version 5

From NSB App Studio
Revision as of 17:10, 14 April 2015 by Ghenne (talk | contribs) (→‎Forms)
Jump to navigation Jump to search

Change History for AppStudio 5 -- Not yet released!

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. Windows Design Screen is faster and smoother.
  3. Internet Explorer 11 supported.
  4. Ten new controls.

IDE - General

  1. General: Look and feel of IDE updated - new buttons, etc.
  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: Improved menu names.
  13. Save: Saving a project no longer changes the Project ID.
  14. Startup: Projects with deprecated controls will get a message when loading is attempted.
  15. Startup: Splash screen on Mac OS startup no longer required.
  16. Startup: When project reopened, tabs are all reopened and same one returned to.
  17. View menu: New option to close all tabs.
  18. Installer: Checks if IE11 is installed on Windows
  19. 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. Cache: error message improved.
  3. Cache: Mime types set on local server - Some Windows systems set incorrectly.
  4. Cache: New global NSB.cacheStatus is available to your app.
  5. Cache: User now prompted before web app is updated.
  6. Cache: To turn off update prompt, do NSB.confirmCacheUpdate=""
  7. Check Deployment: Additional checking added.
  8. Native Build Status: Auto refresh every 3 seconds.
  9. Native Build Status: Links added for iOS 'Error' message.
  10. Native Build Status: Links added to Tech Note for app stores.
  11. Native Build Status: Refresh button deleted.
  12. Native Build Status: Opens automatically after app submitted to PhoneGap.
  13. nsbapp.com: User image in nsb caused problems uploading to nsbapp.com fixed.
  14. PhoneGap: CLI progress window can now be closed.
  15. PhoneGap: Config.xml no longer gets deployed (It's only for PhoneGap)
  16. PhoneGap: Default configxml updated.
  17. PhoneGap: New PhoneGap Camera sample.
  18. PhoneGap: Project Location build uses AuthToken.
  19. PhoneGap: Splashscreen is now automatically added to manifest.
  20. PhoneGap: splashscreen property now uses image picker.
  21. PHP: Umlauts (and other extended characters) are now OK in PHP files.
  22. Preferences: Static localhost port# added.
  23. Project Explorer: Entire folders can be dragged and dropped.
  24. Project Explorer: JSON files can be dragged and dropped for deploy.
  25. Project Explorer: SQLite databases can be dragged and dropped for deploy.
  26. Run: from local filesystem uses default browser.
  27. Run: Local deploy is to 127.0.0.1 instead of localhost to deal with poorly configured systems.
  28. Run: Local deploy pathnames can now have spaces.

jQuery Mobile Framework

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

jqWidgets Framework

  1. All: controls now have hidden, disabled, theme and rtl properties.
  2. All: Design settings are available at runtime in the NSB.jqxSettings[id] array.
  3. All: Functions for jqx controls moved from complexfunctions.js to jqxFunctions.js.
  4. All: Remove jqxSettings_ variables from global namespace. Now in NSB.jqxSettings["controlName"]
  5. All: Toolbox files have been streamlined.
  6. Checkbox: Icon updated.
  7. Menu: wrong height on pulldown fixed.
  8. New themes: Android, Web, Bootstrap, Metro and Office.
  9. New: DateTimeInput control.
  10. New: Docking control.
  11. New: Editor control.
  12. New: MaskedInput control.
  13. New: NavigationBar control.
  14. New: PasswordInput control.
  15. New: Validator control.
  16. New: Window control.
  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. All samples updated to use the new release.
  3. Desktop files for WebSockets samples moved to Wiki in zip format.
  4. Fix incorrect default splashscreen paths.
  5. Many updates and fixes.
  6. New Collapsable sample.
  7. New Modal form sample.
  8. New PhoneGap Camera sample.
  9. New samples for all the new jqWidgets controls.
  10. Samples are now organized into subdirectories.
  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. Form submit() removed from Toolbox. Ajax is a better way to do this.
  2. Windows XP is no longer supported. Microsoft is no longer issuing security patches. http://windows.microsoft.com/en-ca/windows/end-support-help
  3. Internet Explorer 11 is now a prerequisite on Windows systems.
  4. iOS 6 style MsgBoxes have been updated to current style.
  5. 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.
  6. iWebKit and jQuery Mobile 1.3 are no longer supported
  7. jqWidgets: settings variable renamed from controlName_setting to NSB.jqxSettings["controlName"]
  8. NSBCurrentForm replaced by NSB.currentForm
  9. Chrome Packaged Apps are no longer supported - replaced by full Windows exe apps.