Version 5

From NSB App Studio
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. IE 11 is now supported.
  2. Responsive Design
  3. Windows Design Screen is faster and smoother.

General

  1. Windows installer now checks if IE11 is installed.
  2. Windows installer modifies registry so IE11 recognizes AppStudio.
  3. Internals: PyV8 no longer used.
  4. Internals: wxWebkit is no longer used.
  5. Internals: wxPython updated to 3.0.0.
  6. Internals: node.js now now used for translation and syntax checking.
  7. Internals: PyInstaller is now used to create Mac installer instead of Py2App.

IDE

  1. About Dialog: reformatted.
  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: Now shows an alpha list of functions and subs.
  8. Code Window: Problem with auto indentation fixed.
  9. Complexfunctions and hfunc cleaned up using jshint.
  10. Complexfunctions and hfunc reformatted.
  11. Design Screen: controls are relative if their parent is.
  12. Design Screen: Dump wxWebkit. Now smaller, faster.
  13. Design Screen: Internally uses IE to render controls.
  14. Design Screen: Snap to grid is now gray, not black.
  15. Design Screen: Paste now shows on the right click menu.
  16. Design Screen: Double click opens Code Window.
  17. Design Screen: Right click to lock it from changes.
  18. Help can now display HTML formatted text.
  19. Internal exception handling improved.
  20. Run menu: Improved menu names.
  21. Open Sample: Samples are now sorted case insensitively.
  22. Open Sample: Now allows nested folders, for better organization
  23. Open Sample: Find option added.
  24. Mac: Splash screen on startup no longer required.
  25. Saving a project no longer changes the Project ID.
  26. Project Explorer: Warning if drag and drop of existing file.
  27. Project Explorer: SQLite databases can now be dragged and dropped.
  28. Project Explorer: JSON files can now be dragged and dropped.
  29. Project Explorer: Folders can now be dragged and dropped.
  30. Project Explorer: Delete file now has confirmation message.
  31. Find: Opens with "Find What" selected.
  32. Property Inspector: Events set properly on control copy and paste.
  33. Properties Window: ChangeForm and firstform now have pickers.
  34. When project reopened, tabs are all reopened and same one returned to.
  35. Tools Menu: New option to convert a BASIC project to JavaScript.
  36. New project property: styleheader saves your styling rules.
  37. Look and feel of IDE updated - new buttons
  38. Code Windows function dropdown button replaced by Function List in Toolbox.
  39. Mac: Splash screen no longer needed.
  40. View menu: new option to close all tabs.
  41. Projects with deprecated controls will get a message when loading is attempted.

Libraries

  1. FastClick updated to 1.0.6

Language

  1. Ajax() can now have a callback as a second argument.
  2. Ajax() can now take an object for its parameters.
  3. Ajax() now supports a fail callback.
  4. Case normalization is now handled in Code Window
  5. Case normalization moved out of hfunc.js, killing hundreds of lines of code.
  6. ChangeForm() now supports transformations.
  7. iOS 6 style MsgBoxes have been updated to current style.
  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. ReadFile() can now be used asynchronously.
  12. Referencing a control by name itself will return its value.
  13. Referencing a control by name will return a numeric if possible.
  14. varType(boolean) now returns correct value.
  15. Style/End Style deprecated. See 'Breaking Changes'.
  16. NSBCurrentForm changed to NSB.currentForm.
  17. Arrays no longer have to be declared in all modules.

Toolbox

  1. All: -webkit prefix removed from css.
  2. All: Border properties are now consistant.
  3. All: BorderColor and BorderWidth added all controls with borders.
  4. All: Bounds can now be 'inherit' and 'initial'.
  5. All: Disabled property fixed.
  6. All: font selectors normalized.
  7. All: HTML output for borders streamlined.
  8. All: new onresize event.
  9. All: New transitions: fadeIn, fadeOut, slideUp, slideDown.
  10. All: no longer load function code they don't use.
  11. All: Toolbox definitions can now share property definitions.
  12. All: Updated to work with IE11.
  13. Camera: value can now be set at Design Time.
  14. Container: New control for text, html and other controls.
  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 jqWidget controls moved from complexfunctions.js to jqxFunctions.js.
  20. Functions for jqMobile controls moved from complexfunctions.js to jqmFunctions.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 add 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: formatting error with two buttons fixed.
  32. NSB.MsgBox: now handles former _msgbox_confirm function.
  33. NSB.MsgBox: Appearance improved on RTL systems.
  34. NSB.ShowProgress is now modal.
  35. PayPal: Allows user specified image.
  36. PayPal: Only deploy image which is used, not all four.
  37. Toolbox: Now has a Find area on the bottom.
  38. Toolbox: Right click now opens proper Wiki page for all controls.

Forms

  1. Background renamed backgroundImage.
  2. New BackgroundColor property.
  3. Borders can be specified.
  4. Controls copy and pasted to new forms are not repositioned.
  5. Form submit properties removed from toolbox.
  6. Forms are now a <div> element, not <form>
  7. New BorderColor property.
  8. New BorderWidth property.
  9. New modal property: can make form float modally over rest of app.
  10. New position property. Can be absolute, fixed, etc. Good for Responsive Design.
  11. New parentForm property.
  12. New transitions: fadeIn, fadeOut, slideUp, slideDown.
  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 not created if function does not return a value.

Deploy

  1. Cache error message improved.
  2. Config.xml no longer gets deployed (It's only for PhoneGap)
  3. Css files moved to head for faster rendering.
  4. Default PhoneGap configxml updated.
  5. Entire folders can be dragged and dropping into Project Explorer.
  6. Native Build Status: Auto refresh every 3 seconds.
  7. Native Build Status: Links added for iOS 'Error' message.
  8. Native Build Status: Links added to Tech Note for app stores.
  9. Native Build Status: Refresh button deleted.
  10. New global NSB.cacheStatus is available to your app.
  11. New PhoneGap Camera sample.
  12. PhoneGap CLI progress window can now be closed.
  13. PhoneGap Project Location build uses Auth Token.
  14. PhoneGap Splashscreen is now automatically added to manifest.
  15. PhoneGap splashscreen property now uses image picker.
  16. Preferences: Static localhost port# added.
  17. SQLite databases can be dragged and dropped into the Project Explorer for deploy.
  18. JSON files can be dragged and dropped into the Project Explorer for deploy.
  19. Umlauts (and other extended characters) are now OK in PHP files.
  20. User now prompted before web app is updated.
  21. Mime types set on local server - Some Windows systems set incorrectly.
  22. User image in nsb caused problems uploading to nsbapp.com fixed.
  23. Run from local filesystem uses default browser.
  24. Generated code reformatted by JSBeautify.
  25. Additional checking added to Check Deployment.
  26. Local deploy is to 127.0.0.1 instead of localhost to deal with poorly configured systems.
  27. Local deploy pathnames can now have spaces.

jQuery Mobile Framework

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

jqWidgets Framework

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

iWebKit Framework

  1. All iWebKit controls and samples have been removed.

Samples

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

Documentation

  1. TechNotes: New Responsive Design Made Simple

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