|
NSB/AppStudio Release History
The Easiest way to Program Mobile Devices!
|
Welcome to NSB/AppStudio!
This document shows all enhancements and fixes to NSB/AppStudio, by release.
2.6.0.2
- Language: SQLImport() improved.
- Samples: Northwind sample enhanced to show an update.
Documentation Changes for Version 2.6.0.2
SQLImport() enhanced. The fourth parameter, overwrite, now has 4 possible values. It can be used in the function and in the manifest.
NSB.overwriteAlways | overwrite the existing database (default). |
NSB.overwriteNever | only write out database if it does not exist yet. |
NSB.overwriteIfVersionDifferent | overwrite if the version number of the database has changed. |
NSB.overwriteIfVersionSame | overwrite if the version number of the database is the same. |
SQLImport now returns a string with the status to the callback function.
2.6.0.1
- Compile: Fix intermittent crash on compile with SQLite.
2.6.0.0
- iOS6: Support added for Camera.
- iOS6: Support added for getting files from picture folder.
- iOS6: Cached file limit increased from 5 to 25 megs.
- Library: Retina library added. Allows higher quality images to be displayed.
- Samples: New RetinaHiRes sample.
- Samples: New Camera sample.
- Deploy: Local deploy to PhoneGap improved. See below.
- Deploy: Cordova updated to 2.0.0
- About Screen: now shows versions of installed modules.
- Language: SysInfo(2) and SysInfo(3) results improved.
Documentation Changes for Version 2.6.0
Camera Support added: The TextBox control has a new input type: File. If you select that, a Choose File button will appear in your app. If you click on that, you will get the option of taking a picture or choosing an existing picture from Photos. See the Camera sample for more.
Retina support added: This allows the display of Hi Res images on devices which support them. To use, add the Retina library to your project. Then, for each image you want to have displayed in Hi Res, add an additional image named xxx@2x.jpg to your project and in the manifest. See the RetinaHiRes sample for more.
Local deploy to PhoneGap improved. In Deploy Options, if you select "Deploy to local or DropBox public folder, you can specify the location of the www folder inside your PhoneGap SDK project. When you deploy, all the files your app needs will be copied to this folder.
iOS6: Changes to how SQLite and localStorage are used by iOS6. There have been important and significant changes. Read this blog post for more information.
2.5.1.1
- IDE: Add default form size for Nexus 7.
- IDE: Fix small bug causing incorrect save prompts in limited cases.
- Language: Add new control.resize(left, top, width, height) function.
- Translator: Fix problem with functionName_xxx variables.
2.5.1.0
- Code Window: Added .text to autocomplete.
- Code Window: Function/Sub popdown formatting improved.
- Code Window: Go to event was creating new event when one existed.
- Installer: Now has a certificate. Should help with Norton install.
- Language: NSB.InputBox sets focus and bring up soft keyboard.
- Library: Retina.js library added.
- Runtime: Internal logging improved.
- Samples: New Retina sample shows how to do HiRes images on iOS.
- Translator: Fix hang on Sub name with no parameters.
2.5.0.7
- Design Screen: Fix right click to create event function.
- IDE: Add ThemeRoller link to Options menu.
- Samples: Add ThemeRoller sample.
2.5.0.6
- Code Window: Fix spurious syntax error on Function statements.
2.5.0.5
- Code Window: Pulldown function list cleaned up and sorts properly.
- Code Window: Right click and Find now opens Find with current selection.
- Controls: ComboBox, Select now have a .text property.
- Controls: ComboBox, Select with empty initial list fixed.
- Controls: ComboBox, Select: Changing .ListIndex calls _onchange, _onclick.
- Controls: Controls now have a .Visible property.
- Controls: Label now has Caption property.
- Controls: TextBox, TextArea controls now have .text property.
- Docs: Handbook and Language Reference updated.
- Runtime: CSng() uses more digits of precision.
- Samples: Now opens complex pathnames properly.
- Translator: Dim a(5):s=a(b.c+1) gets proper brackets.
- Translator: Empty function args now default to empty string.
- Translator: Function variable names now initialized as empty strings.
- Translator: Internal function Format() renamed to fix potential conflict.
2.5.0.4
- Code Window: Fix syntax highlighting on Case Else.
- Controls: Add align property to Label, TextBox ad TextArea.
- Controls: Add List, ListCount and ListIndex to ComboBox and Select.
- Controls: Added setSelectionRange() to TextArea.
- Controls: Rendering bug fixed in Twitter control.
- Controls: Trim item names in NavBar and FooterBar.
- IDE: fixed problem with demo timeout.
- Language: Erase now works on multidimensional arrays.
- Libraries: Added new xml2json library.
- Samples: Added HelloWorldHebrew sample.
- Samples: Added SAP sample.
- Translator: Button1_onclick now translates to Button1_onclick().
- Translator: Dim a(3):s=a(b.c) fixed.
- Translator: Function names used as variables in functions fixed.
- Translator: MsgBox 10^2 no longer hangs IDE.
2.5.0.3
- Code Window: Auto complete improved for a number of controls.
- Deploy: improved messages if local deploy fails.
- IDE: Added new -ftp-active start up command line switch
- IDE: Problem with Reset IDE fixed.
- IDE: Removed Del key that was behaving ambiguously.
- IDE: Updated demo message.
- Language: NSB.ShowProgress can now be removed with an empty argument.
- Samples: A number of samples updated.
- ToolBox: FaceBook and PayPal no longer error if offline.
- ToolBox: FaceBook and PayPal now have .hide() and .show() functions.
2.5.0
- Code Window: AutoComplete list filters as you add letters.
- Code Window: AutoComplete now completes on (, [ and space as well as tab.
- Code Window: Changed so case normalization happens before autocomplete.
- Code Window: Focus now placed in code window when switching to it.
- Controls: _requiredFiles can be located outside of /nsb now.
- Controls: Add .hide() and .show() methods. (Forms too)
- Controls: Add .top, .left, .height and .width properties. (Forms too)
- Controls: Added option for smaller version of several jQM controls.
- Controls: New jQWidgets: Tabs, DragDrop, Button, SwitchButton and Chart.
- Controls: jQM List control addItem() can now add headings too. (Thanks, Mathew Craig!)
- Controls: jQM RadioButton now has a value() method.
- Controls: jQM Slider now has a setValue() method.
- Controls: New Facebook control.
- Controls: New Twitter control.
- Controls: Reduce number of files that TitleBar loads.
- Controls: Select now returns an array when doing multiple selections.
- Controls: Support added for jqWidgets
- Controls: Toolbox files are now YAML.
- Deploy: SQLite databases can be included. See Tech Note 5.
- Deploy: Add Deploy to a local path.
- Deploy: Add local path field to Deploy Options.
- Deploy: Add support for Deploy to Dropbox Public folder.
- Deploy: Cache event progress messages made nicer.
- Deploy: checks existence of local path when running in local browser.
- Deploy: complexfunctions.js and iscroll.js no longer included if not needed.
- Deploy: Default splash screen updated.
- Deploy: fix problem with apps sometimes not starting in local browser.
- Deploy: Fixed configxml splash screen due to change in PhoneGap.
- Deploy: Fixed error in ftp error handling.
- Deploy: Files with absolute paths should deploy properly.
- Deploy: FTP does not die if folder already exists.
- Deploy: jQuery Mobile updated to release 1.1.0.
- Deploy: Name of the manifest file changed.
- Deploy: New project property: manifestFile. See docs below.
- Deploy: phonegap.js is added to headers automatically for PhoneGap Build.
- Deploy: Separate files for NSB.MsgBox now combined with others.
- Deploy: Splashscreens, icon and background images no longer have to be added to manifest.
- Deploy: Use of Project.id cleaned up.
- Deploy: Windows Phone is now on Native Build Status screen.
- Deploy: PhoneGap Build download changed as a result of Chrome change.
- Design Screen: Improvements to grid.
- Design Screen: Forms which have openMode of true will not display with others.
- Deploy: Faster deploy and loading of apps due to less files.
- Docs: Handbook and Language Reference updated.
- IDE: Find dialog now keeps recent items.
- IDE: Find/Replace can now do entire project, current code window or all open code windows.
- IDE: Fix problem with apps sometimes not loading.
- IDE: Now functions if no project open.
- IDE: Pathnames no longer stored in project files.
- IDE: Problem with unicode in pathname at startup fixed.
- IDE: Some menu shortcuts added.
- IDE: Sony Experia added to list of standard screen sizes.
- IDE: Deploy Options screen now resizable.
- Installer: settings problem for initial install fixed.
- Translator: DatePart("w",Now()) fixed.
- Language: New SQLExport() function added.
- Language: New SQLImport() function added.
- Language: New NSB.ShowProgress() function added.
- Langauge: SqlCreateDatabase will create new database with version="".
- Libraries: Add Windows Phone Metro theme.
- Libraries: Fix incorrect file name in Sencha library.
- Libraries: jQuery library added.
- Property Grid: changes are now saved when focus is lost.
- Samples: ControlArray sample added.
- Samples: New nsbShowProgress sample.
- Samples: New Northwind sample shows how to deploy a database.
- Samples: New Twitter and Facebook samples.
- Samples: Update AjaxStockQuote to use script injection technique.
- Samples: Update samples and tutorials to use ChangeForm()
- Setup: Delete obsolete History.htm file.
- Setup: Experiment with downloading from DropBox Public area.
- Toolbox: Financial is now Finance & Social Media
- Translator: a="string"\n'Set fixed.
- Translator: Dim Antenna_Matrix(1,1) fixed.
- Translator: If F1.style.display<>"none" Then... fixed.
- Translator: if url("http://www.google.com") Then... fixed.
Documentation Changes for Version 2.5.0
jqWidgets: Support has been added for jqWidgets. Most of these powerful widgets can be used alongside Class and jQuery Mobile widgets. They include Tabs, Chart, SwitchButton and the very interesting DragDrop, which lets you move other controls around. The jqWidgets Button will not work in a jQuery Mobile app due to styling conflicts. jqWidgets is free for non commercial use, but costs if you want to use it in an app you sell. See their website for full details.
To use this, the jqWidgets library needs to be installed. Download it from http://www.jqwidgets.com/download/, unzip it and copy its 'jqwidgets' folder into your project folder.
Twitter and Facebook: The new Twitter and Facebook controls make it easy to add a links to them in your app. See the Twitter and Facebook samples.
NSB.ShowProgress(message): This new statement displays a status message in the bottom middle of the screen. Your app can cancel the message at any time by calling NSB.ShowProgress(false).
manifestFile: This new project property can be manifest or appcache. Use appcache for all new projects - the HTML5 standard has changed. Appcache is required for deploy to DropBox Public folder.
Database Import/Export: New functions have been added (SQLExport, SQLImport) to convert a database to a JSON object which can be easily transferred to and from a server using AJAX. See SqlSample1 to see them in action.
Deploy Databases: You can now add a database to the manifest. The IDE will convert it to a JavaScript file that gets included in your project. When your project launches for the first time, the database will created and be ready for use without any extra work on your part. See the Northwind sample.
Windows Phone: Apps can now be produced for Windows Phone 7 devices. As web apps, they cannot run offline, since Microsoft has not implemented HTML5 caching. This is a new area - the catches and restrictions are still be mapped out.
- Apps that need to run offline should be compiled using PhoneGap.
- To use the Windows Metro Theme, check the "Windows Metro Theme" library.
- Use the jQuery Mobile framework.
- Blank out the backgroundimage property.
- Set the theme of your project to A or B.
- Set the theme of your controls to A or B.
New properties: People have been asking for a simpler way to change common properties. This has been added for top, left, height, width, hide() and show(). Examples:
Button1.top=100 'Same as Button1.style.top="100px"
Button1.hide() 'Same as Button1.style.display="none"
Button1.show() 'Same as Button1.style.display="block"
A couple of restrictions: height and width do not work PictureBox or Image; hide() and show() do not work on Android forms.
2.1.0.2
- Code Window: Add Math object.
- Code Window: Improve AutoComplete parsing.
- Controls: ComboBox Classic: removeItem function added. (Thanks, Norman Peelman!)
- Controls: jQM List can now have variable width.
- Controls: jQM RadioButton fixed with update to jQuery Mobile.
- Controls: jQM Select has new multiple selection property.
- Controls: jQM Select: selected* functions return arrays for multiple selections.
- Controls: PictureBox background now fills entire control.
- Deploy: Fix problem with browser warning and iPad splashscreen.
- Deploy: Script and Link entries generated from _requiredFiles
- Design Screen: Clicking on a blank area of the form now selects the form instead of nothing.
- Framework: jQueryMobile updated to 1.1.0 RC2
- IDE: .keyCode is now a keyword.
- IDE: Clicking from Design Screen to Project Explorer selected wrong item.
- IDE: Fix crash on resize.
- IDE: Fix problem saving minimized dimensions on exit.
- IDE: Changing framework does not leave Design Screen blank.
- Installer: Fix shortcut to Readme.htm.
- Translator: Fix $("#T_A").A({selectedItem:2})
2.1.0.1
- Code Window: Slow processing of large code modules fixed.
- Code Window: White box on autocomplete fixed.
- IDE: Main Window size saved for restart.
- Samples: Rename SideBySizeForm to SplitView
- Samples: Web Worker sample added (Thanks, Christian!)
- Controls: Add backgroundColor to PictureBox.
2.1.0
- Code Windows: Autocomplete for objects added.
- IDE: Support for Libraries added. See below.
- Libraries: AddToHomePage added. Prompts iOS user to add add to Home page.
- Libraries: Stanford Encryption library added.
- Libraries: SpinningWheel control added.
- Libraries: Sencha Touch framework added.
- Libraries: PhoneGap (Cordova) added.
- Code Window: Problem with function list on mixed JS and Basic fixed.
- Controls: Forms now have onhide and onshow events when using ChangeForm.
- Controls: getItem(i) function added to jQM List and Classic Menu controls.
- Controls: jQM List - fix formatting problem with dividers.
- Controls: jQM Slider top, left, etc. fixed.
- Controls: NSB.MsgBox - fix spacing on buttons in iOS.
- Controls: Classic ComboBox now has .setValue() function.
- Deploy: Improve logic for removing deploy status box. (Thanks, Roy!)
- Deploy: Upgrade to jQuery Mobile 1.1
- Docs: Handbook and Language Reference updated.
- IDE: Fix unicode in Find/Replace as well as other places.
- IDE: Launch time improved.
- IDE: Make Cancel button the default on Options screen.
- IDE: If maximized, state is restored properly after restart.
- IDE: New Project and Open Samples screens are now resizable.
- IDE: Installer Inno Setup is now 5.4.3 (u).
- IDE: Installation on Arabic systems fixed.
- Language: ChangeForm switches forms. See docs.
- Language: New global NSBCurrentForm returns the current form. See Docs.
- Language: New global NSBFramework variable returns "Classic" or "jQueryMobile".
- Language: CStr and CDate now return 'undefined' if appropriate.
- Runtime: Fix .disabled so it works properly on older browsers.
- Samples: New AjaxStockQuote sample.
- Samples: New Dialog sample shows how to use forms as dialog boxes.
- Samples: Folders reorganized. Libraries have their own folder now.
- Translator: s="__x__('y'" fixed.
- Translator: Bug in DatePart() for leap years fixed.
Documentation Changes for Version 2.1.0
We recommend doing an uninstall of the old version before installing 2.1.
Library support added. Libraries are modules which can optionally be added to your app. When you click on Project Properties, a list of them appears in the ToolBox. Click their checkbox and they will be automatically included in your project. A couple of libraries are already included: one to implement Encryption, and the other to automatically put a prompt to add to the home screen of iOS devices. (This feature is still evolving during the beta period.)
The new release changes some internal functions. Be sure to do a full deploy of your apps the first time you run them in the new release.
getItem(i) is a new function for menu style controls. If you pass the number of the user's menu choice to it, the text of the item will be returned.
ChangeForm(newForm) is a new function which makes changing forms easier. oldForm_onhide() is called on the current form, and newForm_onshow() is called on the new form.
NSBCurrentForm returns the current form when using ChangeForm() to change forms.
2.0.1.9
- Runtime: jQM controls no longer cause errors on older devices.
- ToolBox: FlipToggle now supports user supplied values.
- ToolBox: FlipToggle.setValue(n) function added. See sample.
- Translator: Dim str=InStr(a,b) was translating slowly.
- Translator: Error in JavaScript sections fixed.
Documentation Changes for Version 2.0.1.9
The .disabled property is not supported for jQuery Mobile controls when running on old devices (Android 2.1, iOS 3,4
2.0.1.8
- ToolBox: Fix configurable error on certain controls in Safari.
2.0.1.7
- IDE: Problem in Find/Replace fixed.
- ToolBox: FlipToggle fixed for latest version of Chrome.
2.0.1.6
- IDE: Find dialog is no longer modal.
- IDE: Fixed bug in registration screen.
- PhoneGap: Format of ID in config.xml corrected.
- ToolBox: .disabled property added to all jQM controls.
- ToolBox: MultiInput with scrolling fixed.
- ToolBox: NSB.MsgBox can now handle HTML formatted text.
- ToolBox: NSB.MsgBox colors links properly.
- ToolBox: Select fixed for latest version of Chrome (17.0.963.46)
- ToolBox: Setting disabled to True in IDE now works for most jQM controls.
- Translator: 2^3^4 fixed.
- Translator: Problem with For...Each fixed.
2.0.1.5
- Code Window: Case normalization fixed in JavaScript mode.
- Code Window: Fix incorrect syntax error on object delete.
- IDE: Fix problems with Open Project if last project no longer exists.
- IDE: Kill special processing of .txt files.
- IDE: Make Open Project more robust.
- PhoneGap: Description and ID now inserted into config.xml.
- Samples: New GetIPAddress sample.
- Technotes: New #11: Ajax made Simple.
- Tutorials: Updated for New Project screen.
2.0.1.4
- Code Window: line number increased to 4 digits.
- Runtime: problem with Ajax async fixed.
- Samples: Add highlight button sample code to jQM NavBar sample.
- Samples: Ajax samples now upload their PHP scripts.
- Samples: More cleanup to folders.
- ToolBox: Classic ButtonBar now has option for no default.
- Translator: Fix to complex calculations with exponentiation.
Documentation Changes for Version 2.0.1.4
You should uninstall the old version before installing this one. The Sample folders were reorganized. Deleting the old sample folders will keep things tidy.
2.0.1.3
- IDE: backgroundimage on new project corrected.
- Samples: Add highlight button sample code to jQM FooterBar sample.
2.0.1.2
- Samples: New CustomFont sample.
- Samples: Move generic controls to Folder 4.
- ToolBox: Refresh CheckBox and RadioButton after setValue.
- Samples: Correct bug in CheckBox sample.
- Translator: Replace("Marcello", "ce", ";;") fixed.
Documentation Changes for Version 2.0.1.2
You should uninstall the old version before installing this one. The Sample folders were reorganized. Deleting the old files will keep things tidy.
2.0.1.1
- Translator: fix problems with "&"
- Language: Fix Date function.
- ToolBox: Refresh CheckBox and RadioButton after setValue.
- Samples: Correct bug in CheckBox sample.
2.0.1
- IDE: Add new default screen sizes on New Project.
- IDE: Added landscape form factors to New Project.
- Code Window: Highlight 'Step' keyword.
- Docs: Handbook and Language Reference updated.
- Language: TimeSerial() now carries result if values are large.
- Runtime: jQuery Mobile updated to version 1.0.1.
- Samples: AddToNumbers: add a reset button.
- Samples: jQM List: Show text of selected item.
- Samples: new jQM ListWithScrolling sample.
- Samples: new SQLSample3.
- Samples: New Transitions sample - work in progress.
- Samples: Open Sample screen is resizable - more improvements coming.
- Toolbox: Add setIndex() function to Select control.
- Toolbox: Fix default on 'hidden' property.
- ToolBox: jQM FooterBar on new form fixed.
- Toolbox: native menu is now the default.
- Translator: CDate("hh:yy:ss") fixed.
- Translator: Replace(a, "&", "&") fixed.
- Translator: Replace(a,"&", "&") fixed.
- Translator: text in comments no longer affects function defs.
2.0.0.2
- Samples: Bug in Twitter example fixed.
- Runtime: Missing INVALID_STATE_ERR constant fixed.
- Controls: Another error fixed in Select (jQM). Thanks, Roy Ing!
- Controls: FooterBar.refresh() function added.
- Translator: For x=0 to x<=50 (illegal syntax) no longer hangs the IDE.
Documentation Changes for Version 2.0.0.2
If you go to another form with a jQuery FooterBar, you need to call FooterBar1.refresh() after showing the new form. (change name as needed.)
2.0.0.1
- Samples: Typos in descriptions fixed.
- Docs: Redundant files remove from Tech Notes.
- Demo: Demo period reset for all users.
- Controls: Error fixed in Select (jQM). Thanks, Roy Ing!
2.0.0
- jQuery Mobile control support added.
- Language: Ajax() can now do asynchronous calls
- IDE: New option on View menu to show Grid on Design Screen.
- IDE: New Project dialog greatly enhanced. See below.
- Samples: Open Sample dialog greatly enhanced.
- Deploy: Standalone Desktop apps can now be made. See Tech Note 10.
- Deploy: Desktop apps can now be sold on Chrome Web Store.
- Controls: Classic Titlebar now has 'minus' icon.
- Language: FormatDateTime has many new formats. See Language Reference.
- Design Screen: Now handles form.left properly.
- Deploy: Comments in config.xml improved.
- Docs: Controls moved to their own chapter.
- Docs: Handbook and Language Reference updated.
- IDE: Description added to Project Properties.
- IDE: Size to grid setting now remembered between sessions.
- IDE: Change to icon or splashscreen now saved properly.
- IDE: Code to save preferences redone internally.
- iMenuTextBlock was causing problems in other controls.
- Samples folders reorganized.
- Samples: Descriptions added to all samples.
- Samples: new KitchenSink (jQuery Mobile) sample.
- Samples: new AjaxGetWebFile sample.
- Samples: new AjaxLog sample.
- Samples: new AjaxAsync sample.
- Samples: HelloWorld improved.
- Samples: new FormatDateTime sample.
- Code Window: Incorrect syntax error on With statement fixed.
- Translator: Now handled syntax errors more gracefully.
- Translator: Fix myCollection.add("a","b")
- Translator: Problem with complex exponentiation fixed.
- Translator: Extra code no longer emitted after (incorrect) Next i.
- Translator: Print String(2-2,"0") & "---" & String(2-1, "0") fixed.
- Translator: Dim a '1: 2: fixed.
- Translator: ReDim a(UBound(b),1) fixed.
- Translator: sURL = sURL & "&" & params fixed.
- Translator: lineWidth no longer changes to lower case.
- Translator: Problem with 'loop while' fixed.
- Translator: If Left(s,1)="{" then a=1 fixed.
- Translator: Dim gYEnd: Function Image1_onclick() fixed.
- Translator: Form1.style.width="100%" fixed.
Documentation Changes for Version 1.5.0
jQuery Mobile is widely used framework of controls that now works with NSB/AppStudio. The jQuery controls are more fully featured and attractive than the Classic controls NSB/AppStudio has used. They also take a bit more screen real estate, which means they are not pixel for pixel replacements. Classic controls will continue to work and be supported as before.
To use them, change the framework project setting to jQuery Mobile. Only do this to new projects: Classic controls will not work in the same project as jQuery Mobile controls.
Converting a project from Classic to jQuery Mobile is some work. A project created using Classic will open in jQuery Mobile, but many of the controls will be badly formatted. They should be replaced by their jQuery Mobile counterparts. Your code will probably not need any changes so long as you give your new controls the same ID as the one they are replacing.
The New Project dialog allows selection of framework, default form size and language.
The FormatDateTime() function has a number of new formats, including vbYYYYMMDD, vbDDdotMMdotYY, vbDDdotMMdotYYYY, vbYYslashMMslashDD, vbDDslashMMslashYY, vbYYYYhyphenMMhyphenDD, "DD.MM.YY", "DD.MM.YYYY", "DD/MM/YY", "DD/MM/YYYY", "DD-MM-YY", "DD-MM-YYYY", "DDMMYY", "DDMMYYYY", "YY.MM.DD", "YYYY.MM.DD", "YY/MM/DD", "YYYY/MM/DD", "YY-MM-DD", "YYYY-MM-DD", "YYMMDD", "YYYYMMDD", "MM.DD.YY", "MM.DD.YYYY", "MM/DD/YY", "MM/DD/YYYY", "MM-DD-YY", "MM-DD-YYYY", "MMDDYY", "MMDDYYYY".
1.4.2
- Language: Added new Ajax() function.
- Language: Support added for Collections.
- Samples: Added AjaxPost sample: reverse a string and save as file on server.
- Samples: Add Collections sample.
- Samples: New C# WebSockets sample. (Thanks to Christian Probst!)
- Controls: Added false to Hidden property.
- Controls: Font styling added to DateTime controls.
- Controls: Allow width to be changed on Checkbox, RadioButton.
- Docs: Handbook and Language Reference updated.
- Translator: BTNew changing to BTnew fixed.
- Translator: If a then MsgBox 0 fixed.
- Translator: MsgBox 0 no longer shows blank.
- Translator: Case of 'Case' no longer changed to 'case'
- Translator: MsgBox false no longer shows blank.
- Translator: Object.Add and Object Delete added: collections!
- Translator: UBound(object) returns items in object.
- Translator: Comments with embedded colons fixed.
Documentation Changes for Version 1.4.2
The new Ajax function is a more powerful version of ReadFile(). It can directly replace ReadFile, plus do POST. POST lets you send larger files to the server - the usual limit is 8 megs, but this can be increased. Calling arguments are Ajax(URL, method, data), which URL is the name of the file or server side script, method is GET or POST, and data is a string containing the data you wish to transfer. Only the URL argument is required: if method is not supplied, it defaults to GET.
- Collections: A collection is like an array, except the members are accessed by name instead of number.
1.4.1
- Controls: Add new RadioButton control. Replaces OptionButton.
- Language: ReadFile() can now specify method. See Language Reference.
- Code Window: Auto Indent/Outdent improved for Select and Do Loop.
- Controls: Form has new properties: left, top and openMode.
- Controls: Button: fix iOS padding problem. Now matches Design Screen.
- Controls: Button: Orange flash on Android should finally be gone.
- Controls: Grid - cellstyle now applies to all cells.
- Controls: TextBox: fix iOS padding problem. Now matches Design Screen.
- Docs: Handbook and Language Reference updated.
- IDE: Typo fixed in save message.
- Language: NSBVersion fixed.
- Runtime: Improve logic to hide URL bar on iOS.
- Runtime: NSB.InputBox bombed when used with Sencha Touch.
- Runtime: NSB.InputBox no longer bounces in Android.
- Runtime: Multiple forms can be opened side by side.
- Samples: Added new Ajax sample.
- Samples: Added new RadioButton sample.
- Samples: Added new SideBySideFormsTablet sample.
- ToolBox: Search feature added.
Documentation Changes for Version 1.4.1
TextBox and Input box: These controls had a problem. On iOS devices, they were showing 10 pixels wider than in the Design Screen and on Android devices. The problem was fixed by setting padding:0px in the internal code which creates them. This change will affect the appearance of your programs on iOS devices. It should actually make most of them look better, especially short textboxes and buttons. To go back to the old appearance, you will need to add "padding:10px;" to the style property of the control.
RadioButton: This new control is much improved over the old OptionButton control. While OptionButton will continue to work, its use is discouraged. The new one is much prettier. You can set up all the options in one control, instead of needing a control for each one. It also has a much simpler interface. See the Language Reference for the details.
Forms no longer have to be full screen and you can have more than one open at a time. This allows techniques like side by side forms on tablets (see sample) and pop up dialog boxes.
1.4.0
- ToolBox: Completely replaced - vastly improved!
- ToolBox: All new icons!
- ToolBox: Drag and drop controls to Design Screen.
- Controls: New Data, DateTime, Month and Time controls. (iOS5)
- Controls: New Slider control (iOS5)
- ToolBox: Double click adds control to Design Screen.
- Code Window: Indentation problem fixed with 'If' after a blank line.
- Code Window: Recompile of source code improved.
- Code Window: Syntax checking is back.
- Code Window: Very long statements are handled much better.
- Controls: PayPal - New addField() function added.
- Controls: PayPal - Subscribe and Unsubscribe added.
- Controls: CommandButton is now called Button.
- Deploy: Build status screen appearance improved.
- Deploy: Unicode characters allowed in configxml.
- Docs: Handbook and Language Reference updated.
- Docs: Tutorials 1-4 overhauled.
- Design Screen: Right click to add control do so at cursor position.
- IDE: Added "Reset IDE Panels" to View Menu.
- IDE: Control descriptions now appear in the Hints area.
- IDE: Format of .nsx file improved for more readability.
- IDE: View menu fixed.
- Installation: Unicode characters allowed in install path.
- Property Box: Spaces in control ID no longer allowed.
- Runtime: NSB.InputBox input field sized properly on Safari.
- Runtime: NSB.InputBox no longer bounces on Android
- Samples: New Slider sample (iOS5)
- Samples: DateTime updated to use new controls.
- Translator: Integer Divide operator now works ("\")
- Translator: VBCritical now parses properly.
- Translator: Multiple statements per line using : fixed.
Documentation Changes for Version 1.4.0
- The ToolBox has been overhauled. It looks a lot nicer, can scroll (so users with small screens can see all the controls again) and has some new features. To add controls to your project, either drag & drop them or double click.
1.3.1
- Deploy: config.xml file now created automatically. See below.
- Controls: Adsense - id property added.
- Controls: Textarea now has single finger scrolling (iOS 5)
- Deploy: PhoneGap Build 404 errors now handled gracefully.
- Globals: AppBuildStamp, AppLegalCopyright, AppVersion, NSBVersion added.
- IDE: New control: range slider. Part of TextBox. (iOS 5)
- IDE: New project property: configxml
- IDE: New project property: Version
- IDE: phonegap property removed. See below.
- Runtime: Buttons no longer have orange flash on Android
- TechNotes: New Tech Note 8: Web Apps Compared to PhoneGap Apps
Documentation Changes for Version 1.3.1
Config.xml is a file that PhoneGap uses for its settings: icon, program name, version, features used, etc. Until now, you had to create this file yourself. Now, it is generated automatically using the information already in your project. To customize it for your own needs, edit configxml in Project Properties. Full documentation on config.xml is here.
The phonegap property has been removed from Project Properties. It conflicted with PhoneGap Build and was rarely used. To accomplish the same thing, add <script src="phonegap.js"></script>
to the extraheaders property.
Range
The Range option in the TextBox control allows you to have an input slider. (iOS 5).
1.3.0
- PhoneGap: Can now create native apps directly in NSB/AppStudio.
- Controls: New AdSense control lets you add advertising to your app.
- Language: New NSB.InputBox function
- Language: New NSB.MsgBox function
- Controls: ComboBox: Complete overhaul, much easier to use. See below.
- Controls: Add new Date, DateTime, Month and Time input types for iOS5.
- Code Window: 'is' and 'in' are now treated as a keywords.
- Code Window: Search now handles unicode characters.
- Code Window: Fixed bug on line continations.
- Controls: Menus now refresh automatically when items added or deleted.
- Controls: Menus: Scrolling fixed on MenuNumber* controls.
- Controls: Menus: several formatting problems fixed.
- Deploy: NETWORK: * is default in manifest. See below.
- Docs: Handbook and Language Reference updated.
- IDE: Amazon Fire screen size added. (see below)
- IDE: File name at top of the screen corrected.
- Language: New Sort() function - see sample in Folder 3.
- Language: Values of vbYes and vbNo changed from true, false to 6,7.
- Language: MsgBox returns new values for vbYes and vbNo.
- Language: Add encodeURI() and decodeURI() to documentation
- Language: Add encodeURLComponent() and decodeURIComponent() to docs.
- Runtime: iScroll updated to 4.1.9
- Samples: New DateTime sample.
- Samples: New Sort sample.
- Samples: All web samples have improved manifests.
- Samples: FaceBookAPI and GoogleReverseGeocoding should now work.
- Samples: Geolocation updated due to change on Google's server.
- Samples: New AdSense sample.
- Samples: New nsbMsgBox sample shows MsgBox and InputPrompt.
- Samples: LocalStorage enhanced with extreme comments. (Thanks, Alan Heverly!)
- Controls: Fixes to Adsense (1.3.0.1)
- Code Window: NSB is now auto capitalized. (1.3.0.2)
- Language: Values of vbOK and VBCancel changed to 1,2. (1.3.0.2)
- Language: Force a one time update to translation of all modules (1.3.0.2)
- Controls: Fixes to Adsense (1.3.0.2)
- Controls: Fix NSB.MsgBox positioning on Android devices (1.3.0.2)
- Docs: Update Handbook, Language Reference and TechNotes. (1.3.0.2)
Documentation Changes for Version 1.3.0
iOS5: This release brings support for new features in iOS5. Unfortunately, iOS5 has a bug which affects all web apps (not just NS Basic generated ones). It is recorded as Bug 9519157 in Apple's tracking system. The first time an app is run after it is saved to the Home screen, if in offline mode, will show a message that internet access is required. The message can be ignored: it will only appear once.
PhoneGap Build in NSB/AppStudio: We have now added the ability to create native apps using PhoneGap directly into NSB/AppStudio. Here is what you need to do:
- If you have a PhoneGap Email and Password, enter it into Deploy Options (under the Tools menu). Otherwise, a demo account will be used.
- From the Run menu, choose "Build Native App".
- From the Run menu, check the status of your build in "Get Native Build Status".
- As the builds complete, the URLs to download them will appear on this screen.
- Do whatever else you need to do to deploy the native app to the device.
- To set additional options for the build, create a config.xml file in your home directory. See https://build.phonegap.com/docs/config-xml.
ComboBox: Now much easier to use, and supports setting up the list in the IDE. Old implmentation should continue to work. See updated sample.
Manifest: NETWORK: * is now part of the default manifest. This means that any external reference is now allowed. This is especially helpful if you are doing complex operations with external servers. If you add your own NETWORK: section to your manifest, it will override the default setting.
New AdSense Control: AdSense lets you put advertising on your page. If your customer clicks on it, your AdSense account at Google will earn money. To use this, first sign up with AdSense.com, then fill the account details into the control's properties. Note that if the customer clicks on an ad, your program will end and the customer will be taken to the ad's website. Make sure you keep your current state saved so you can restart.
New NSB.MsgBox control: The current MsgBox statement reads "JavaScript" instead of the program name, and is missing many features found in the VBScript version. The new NSB.MsgBox remedies this - it has all the features of the VBScript statement and more: such as custom icons.
There is one significant difference. All execution is not stopped until the user responds (as the current MsgBox and the VBScript one do). The screen will lock out all other input, but execution will continue. Once the user has dismissed the NSB.MsgBox, a function in the program can be called to deal with the result.
See the new nsbMsgBox sample.
New NSB.InputBox control: Implemented much like NSB.MsgBox.
Amazon Fire support: While we support the screensize of the device, we have not actually gotten one to test yet. No promises until we do!
1.2.6
- Samples: Nearly all have been revised and new comments added.
- Controls: All scrolling controls now have a refresh() method. See below.
- Docs: Handbook and Language Reference updated.
- Code Window: 'Not', 'True' and 'False' were not colored correctly.
- Code Window: False syntax error on Do statement fixed.
- Controls: Form now has some events.
- Controls: nsbbutton class improved.
- Controls: Remove href="#" tags - fixes refresh problem.
- Deploy: Incorrect browser message can be changed.
- Language: New global: Location. See Language Reference.
- Samples: New Picturebox_ScrollAndZoom sample.
- Samples: Reorganized folders.
Documentation Changes for Version 1.2.6
Scrolling controls: All now have a .refresh() method, which replaces having to do SetTimeout(control_ref.refresh(),100). Now you just need to do control.refresh() after the content of a scrolling area is rendered or updated.
1.2.5
- Samples: TextToSpeech sample added.
- Samples: New Encrypt sample added.
- Controls: new PayPal button control to "Buy Now" or "Donate".
- Controls: new ButtonBar control.
- Samples: new Sencha\KitchenSink (work in progress)
- Code Window: improve syntax error checking for HTML blocks.
- Code Window: Fix line continuation problem with syntax checking.
- Code Window: Fix problem with block comment selection.
- Code Window: Fixed generated event functions in JavaScript mode.
- Controls: Grid has new refresh() function.
- Controls: iMenu.addItem now adds images properly. (Thanks, Brian Leach!)
- Controls: Audio and Video no longer have extra / in tag.
- Deploy: Improvements for IIS servers.
- Deploy: Improvements to server folder creation.
- Deploy: Streamline some HTML in the header.
- Deploy: Manifest file now called index.manifest for PhoneGap.
- Docs: Handbook and Language Reference updated.
- Language: GetRef() function added. See Language Reference.
- Samples: fixes to Base64Image, Signature, SqlSample1
- Samples: Reorganized folder.
- Sencha: Added Overlay() function. See Sencha\KitchenSink sample
- Translater: Functions with "_" in their name fixed.
- Translator: x = {b: {d: a, e: a}, c: a} fixed.
- Translator: If a.b=true then... no longer changes value of a.b.
- Translator: If If a then MsgBox "b" fixed.
Documentation Changes for Version 1.2.5
New PayPal control: This provides an easy way to collect a payment or a donation from a user. Tapping on it will bring up the PayPay Payments screen with the user and amount filled in - all they have to do is approve the transation. To use it, you need to have a PayPal Merchant Account (easy to set up), and use Merchant Services to create a button. Use the ID number it gives you in the properties of the button, and specify whether this is a Donation or Purchase. This feature will be handy for those selling commercial or donationware apps.
New ButtonBar control: This control lets you arrange two or three buttons, either as a titlebar or lower down on the form. This are usually used for apps with multiple forms to switch between. Each form will have a buttonbar control on it, with a different button highlighted.
Text to Speech: A new sample has been added showing how to get the device to speak a text string. To do this, you will need to sign up with iSpeech. The first 1000 words are free.
Sencha Touch is an additional library of controls and functions. The best way to experience it is to run the new KitchenSink sample in the Sencha folder. It has some beautiful effects (more coming), but since it is fairly large, it can slow down app deployment and loading.
Grid.refresh(): This new function should be called whenever the size of a grid changes, or when a scrolling grid is opened on a new form. It replaces the SetTimeout(grid_ref.refresh(),100) that used to be needed. Check the GridWithScrolling sample to see how it is used.
1.2.4
- JSON support added. See docs below.
- Design Screen: Right click on a control brings up lots of options.
- Properties Window: Now remembers folder settings on restart.
- Controls: Button is now square with rounded corners. See docs below.
- Deploy: Faster, since only files actually used are deployed.
- Code Window: Sleep 5000 no longer hangs IDE for 5 seconds.
- Code Window: Problem with indenting fixed.
- Code Window: Resume is no longer highlight.
- Controls: HTMLview now scrolls properly.
- Deploy: 550 error on some servers fixed.
- Deploy: If serial number is removed, deploy still works.
- Demo Screen: PayPal button added.
- Design Screen: Fix problem with pasting multiple copies of a control.
- Design Screen: Right click on a control brings up options.
- Docs: Handbook and Language Reference updated.
- IDE: Improved demo screen.
- IDE: Deploy password now encrypted.
- Language: DIM array can now have any number of dimensions. (Thanks to Thomas Gruber!)
- Language: New functions - JSON.stringify(), JSON.parse().
- Language: New statement: Sleep
- Runtime: Added BlackBerry to supported device browsers.
- Samples: SQLSample1 now uses JSON to output SQLite database.
- Samples: MiniDataServer is an alternative to WebSockets. (Thanks to Robert Borsuk!)
- Samples: New GoogleReverseGeocoding sample.
- Samples: ReadFile uses updated HTMLview.
- Translator: 'f = FactCalc()' was not always translating properly.
- Translator: 'Function test(p) one' no longer hangs IDE.
- Translator: Dim(10,10,10) was not creating all elements.
- Translator: Typename("12345a") returned Integer, not string.
- Translator: Dim(a.b) is now allowed.
Documentation Changes for Version 1.2.4
Make sure you do a full deploy the first time you run the new version.
JSON is now supported. JSON is a standardized way of converting objects to strings so they can easily be saved or transmitted to other systems. For example, you could convert an SQLite database to JSON, then transfer it to a server using WebSockets or HTTP POST. The server would then unpack it and process it.
Buttons now look more like standard iOS buttons. The edges are now straight: just the corners are rounded. Any new buttons you create will have the new look: to upgrade old buttons to the new look, enter nsbbutton into the class property of the button in the IDE. To keep the old appearance, leave the class property blank. Be sure to do a full deploy to see this change.
1.2.3
- Controls: New MenuNumberTitleDescArrow (see docs below)
- Controls: New MenuNumberTitleTime (see docs below)
- Controls: New MenuTextBlock (see docs below)
- Samples: New jQuery sample.
- Samples: New BarCode reading sample.
- Code Window: Shortcuts: Ctrl F for Find, Ctrl G for Find Next.\
- Code Window: Multi line statements are syntax checked correctly.
- Controls: Grid scrolling improved.
- Controls: MultiInput and Menu now support scrolling.
- Docs: Handbook and Language Reference updated.
- Deploy: Extra MKD operations removed: deploy speed improved.
- Deploy: Improvements to error messages.
- Language: New bitwise functions: ANDb, ORb, XORb, NOTb. See Language Reference.
- Project Explorer: right click to move and delete controls.
- Project Explorer: Problem with deleting all forms fixed.
- Properties Window: Return no longer needed to save changed value.
- Runtime: "UpdateReady" cache message now reads "Update Complete - Restarting"
- Runtime: Global code is executed before first form shows.
- Runtime: iScroll.js updated to 4.1.2
- Runtime: Removed some unneeded image files.
- Samples: Communicating: Add Skype calling as an option, refresh screen.
- Samples: New BarCode reading sample.
- Samples: New GridWithScrolling sample.
- Samples: New MenuNumberTitleDescArrow, MenuNumberTitleTime, MenuTextBlock samples.
- Toolbox: Controls are now in alphabetic order
- Translator: Replace(s,")","") fixed.
- Translator: a=Log(1) fixed.
- Translator: a=5.1 mod 3.1 fixed.
- Translator: a=[{b:1}] fixed.
- Translator: t[1,(1) Mod 2] fixed.
Documentation Changes for Version 1.2.3
- MenuNumberTitleDescArrow: This new control shows a number (or word), title, optional description and an arrow. See Language Reference for more details.
MenuNumberTitleTime: This new control shows a number (or word), title and optional time. See Language Reference for more details.
MenuTextBlock: This new control shows blocks of text and an arrow. Useful as a preview of text. See Language Reference for more details.
1.2.2
- Code Window: Syntax checking added.
- Controls: Grid can scroll.
- Controls: PictureBox can scroll.
- Samples: New FacebookAPI sample.
- Samples: New Sencha Touch sample.
- Code Window: Turn off undo when setting initial text.
- Controls: Grid new row height is now correct.
- Controls: Button had invalid default property.
- Deploy: Error message if remote server cannot be found.
- Deploy: Error message shows if login info is not correct.
- Deploy: Error message shows if remote folder cannot be created.
- Deploy: Progress message improved.
- Deploy: Thumbs.db file ignored if in upload folder.
- IDE: Bug when closing minimized IDE fixed.
- IDE: iPhone 4 Design Screen size corrected.
- IDE: Problem with positioning bottom of object above top fixed.
- IDE: Problem with save fixed.
- Language: For Each index, item in Data now supported.
- Language: ReadFile produces better error messages.
- Samples: GetData sample improved.
- Samples: HTMLview - added display a .htm file in HTMLview control.
- Samples: ReadFile sample improved.
- Samples: WebSocket sample improved.
- Translator: Execute() function now works.
- Translator: Exit Function now returns value.
- Translator: If e.keyCode = 13 Then Button1_onclick() fixed.
Documentation Changes for Version 1.2.2
- The first time you compile under this release, it will take a bit longer. Afterwards, it will be as usual.
- Do a full deploy the first time you run on the new release.
1.2.1
- Deploy: Directory names can be put in the manifest.
- Controls: FontSize, FontFamily, FontStyle, FontWeight, color and backgroundColor properties added to Label, Text, TextArea and Button.
- Controls: FontSize, FontFamily, FontStyle, FontWeight and color properties added to HTMLview.
- Controls: Hidden property added to a number of controls.
- Controls: HTMLview border-style changed to borderStyle, and background-color changed to backgroundColor.
- Deploy: Cache Manifest simplified.
- Deploy: All system files are now put into a new nsb folder.
- Deploy: slash and colon now allowed in manifest file names.
- Deploy: Apps deployed to nsbapp are now available immediately.
- Deploy: Apps now stay on nsbapp.com for 10 days.
- Deploy: Progress message appears properly with lots of files.
- Docs: Handbook and Language Reference updated.
- IDE: Adding code file marks project as dirty for saving.
- IDE: Problems in Recent Files list fixed.
- IDE: New splashscreenipad property.
- Setup: Menu shortcut no longer contains version number. You may need to uninstall/reinstall to see this change.
- Project Explorer: multiple code files fixed.
- Runtime: Browser check fixed for IE.
- Samples: Base64Image added - shows using image as a string.
- Samples: HTMLviewCallFunction - call a function in your app from HTMLview.
- Samples: iMenu and iTitlebar renamed Menu and Titlebar.
- Samples: MoveTheBall renamed to Accelerometer.
- Translator: Dim tt(6):s=tt(1-1) fixed.
- Translator: if s="if(" then s=s & "}" fixed.
- Translator: if s="if(" then s=s & "\" fixed.
- Translator: d = new Date() fixed.
Documentation Changes for Version 1.2.1
- Deploy: We have made some changes to how files are deployed to provide some additional functionality. You can now put the name of folder in your list of files to deploy. That folder, and all of the files and folders in it, will be copied to your server. This makes it easy to have a project with a lot of files: you no longer have to list each file in the manifest.
We also reorganized the files that NS Basic needs at runtime, putting them all into an /nsb/ folder within your project. You may want to delete your app from your server completely before you deploy next time: that will get the obsolete NS Basic files out of your app's folder.
1.2.0
- Language: New ReadFile function. See Language Reference.
- Controls: HTMLview control now supports scrolling.
- Samples: ScrollingFile added.
- Samples: ReadFile added.
- Code Window: Case normalization improved.
- Code Window: Problem with cut and paste fixed.
- Deploy: Added more checking to file names.
- Deploy: Cache error messages can now be dismissed by tapping on them.
- Deploy: Move browser check to complexfunctions.js
- Docs: Handbook and Language Reference updated.
- IDE: Defaultformsize values remembered correctly.
- IDE: General code cleanup.
- IDE: Initial startup screens revised.
- IDE: Settings and Recent data now saved to registry.
- IDE: Tabs can now be pulled out into separate windows.
- Setup: Some apparently unneeded dll files removed.
1.1.3
- Deploy: Incrementatal compile can cut build time dramatically. See below.
- Deploy: Cache status now displayed when updating. See below.
- Deploy: If app is updated, app is automatically restarted.
- IDE: Default form size added as a Project Property.
- IDE: Code Files added.
- IDE: Code Files Import/Export added.
- IDE: Form Import/Export added.
- IDE: Property Help text now displayed.
- Docs: Handbook and Language Reference updated.
- Installer: removed reference to folder that was not created.
- Runtime: fixed problems with rotation and control sizing.
- Samples: Geolocation now shows more information, updates itself.
- Samples: CacheEvents sample removed - obsolete.
- Samples: CreateDiv: shows how to create a control on the fly.
- Samples: Signature: Shows how to capture and display signatures and drawings.
- Translator: Case normalization for 'timestamp' and 'form' fixed.
- Translator: d = new Date() translates correctly.
- Translator: Dim names2(): ReDim names2(0,4) translates correctly.
- Translator: Naming conflict in String function fixed.
Documentation Changes for Version 1.1.3
Incremental Compile: Only the code modules which have changed since the last compile will be recompiled.
Caching: If there is a fresh copy of your app on the server, status messages will now be displayed as the files load. Once all the files are loaded, the app will restart automatically. This takes the guesswork out of knowing whether the new version of your app has loaded. Your program can continue to do processing as this is going on.
To check if updating is going on, check if NSB_eCount>1.
To override the standard handling of cache events, add this code to your program:
Sub oncache(e)
'do what processing you need (or nothing)
End Sub
Default Form Size: The IDE has a number of default form sizes built in. You can ignore these and enter your own height and width. If you know the size of a popular device you would like added to the list, send the info to us.
1.1.2
- Save: modified to prevent possible corruption. (1.1.2a)
- Deploy: Looks in more places for browser. (1.1.2b)
- Deploy: No longer runs in the default browser. Tries Chrome first, Safari next, then gives a message requesting that a compatible browser to be installed.
- Deploy: Refresh Deploy just uploads the app, not all the other files.
- Code Window: Jumping to a function scrolls it to the top.
- Code Window: Block comment/uncomment a section of code by right clicking or from the Edit menu.
- Code Window: Cos() is colored properly.
- Deploy: Missing files for titlebar added.
- Deploy: Trailing spaces on # USER FILES ignored.
- Deploy: Status bar is updated more frequently.
- Deploy: Exclude Thumbs.db from manifest.
- Docs: Handbook and Language Reference updated.
- IDE: Bug in moving Project Explorer tree items fixed.
- IDE: Project Explorer buttons have disabled images.
- IDE: Updates window enlarged and positioned properly.
- Installer: ReadMe file can be opened at end of installation.
- Language: Capitalization issues fixed on interval and timeout functions.
- PhoneGap: iOS helper file changed from phonegap-0.9.3.min.js to phonegap.js
- Runtime: Some variables in canned code were not properly declared.
- Samples: slight change to GetData.
- Samples: TwoForms modified to use transitions.
- Samples: CacheEvents now gives more information.
- Translator: ' sub = no longer causes problems.
- Translator: a[0]=atn(1) fixed.
- Translator: FormatNumber((a[1] Mod Reg[0]),9) fixed.
- Translator: If A = "a" Or b = "b" Or c = "c" Then... fixed.
- Translator: Int() and CInt() are now consistant with VB.
- Translator: Print a[0]^5 fixed.
- Translator: v1 = Sin((Lat1r - Lat2r) / 2) ^ 2 fixed.
1.1.1
- Controls: Add image map tag to Image control.
- Controls: Grid now returns row, col on click.
- Deploy: <Doctype> changed to be HTML5 standard.
- Deploy: Blank lines in manifest no longer needed.
- Deploy: Make <body> min-height device aware.
- Docs: Technote 09 Using PhoneGap API added.
- Docs: Handbook and Language Reference updated.
- IDE: Fixed unicode in property values.
- IDE: Save always saves, regardless of dirty status.
- IDE: Added prompt for form deletion.
- IDE: Fixed selection problem in Form Editor.
- Language: New function GetLocale() added.
- Language: New function Log10() added.
- Language: VBNullString constant added.
- Samples: ComboBox shows how to get name of selected item
- Samples: PhoneGapAPI added.
- Samples: Tutorial2 and SQLSample2 fixed.
- Samples: New HelloWorldArabic
- Translator: /*....*/ treated as block comment.
- Translator: a.value="" Or b.value="" Or c.value="" fixed.
- Translator: DateAdd past end of year fixed.
- Translator: Msgbox DatePart("d",Now) fixed.
- Translator: nStr(2,"12345","23") fixed.
- Translator: REM (all by itself) fixed.
- Translator: Round(CDbl("10"),2) fixed.
- Translator: x=5: Dim a(x) fixed.
1.1.0
- Support for PhoneGap added.
- PhoneGap API is now supported.
- IDE: New project property: phonegap
- Tutorials: New Tutorial 11: Using PhoneGap to create an iOS App
- Tutorials: New Tutorial 12: Using PhoneGap to create an Android App
- Code Window: case normalizes control names
- Controls: improvements to iMenu
- IDE: Now checks for duplicate control names
- IDE: Project explorer icons tweaked.
- Samples: Improvements to Geolocation, iMenu, getDate
- Translator: MsgBox 1 / (1 + 2011 mod 4) fixed.
1.0.10
- Controls: Buttons now render properly on Android.
- Controls: Grid sets width from column sizes if possible.
- Controls: iMenu now has addItem, replaceItem and deleteItem methods.
- Controls: Text, TextArea: Added onkeypress event.
- Deploy: Control positioning changed from Fixed to Absolute.
- Docs: Handbook and Language Reference updated.
- IDE: "Cannot open project in read only location" fixed.
- IDE: firstform property changes if form name changes.
- IDE: New icons for Project Explorer
- IDE: Sometimes dropdown to go to _click in code did not work.
- Language: New screen size functions added to SysInfo().
- Samples: iMenu sample updates with new functions.
- Samples: New GetDate sample in SpinningWheel subfolder.
- Samples: SendDate and CacheEvents have manifest fixed.
- Translator: 'If (a=true) And _ [return] (b=false) Then' fixed.
- Translator: a = { 1: "a", 2: "b", 3: "c"} fixed.
Documentation Changes for Version 1.0.10
We have made some changes to the iMenu control. There are a number of new functions - they are listed under iMenu in the Language Reference.
1.0.9
- Code Window: Added more JavaScript keywords
- Code Window: REM statements are no longer case normalized.
- Deploy: Added message if file does not exist.
- Docs: Handbook and Language Reference updated.
- Controls: Grid - New functions added. See below.
- Controls: MultiInput.disable fixed.
- Controls: Scoping problems in complexfunctions fixed.
- IDE: Fixed bug with toolbar resizing.
- IDE: Project name change in Save As now changes relevant properties.
- IDE: Top line in Project Explorer renamed.
- Samples: Geolocation overhauled.
- Samples: New MoveTheBall shows use of device motion sensors.
- Samples: PictureBox updated and improved.
- Samples: New SqlSample2 shows reading, writing database.
- Samples: Grid sample updated.
- Translator: _onevents fixed (for good?)
- Translator: a=vbTab fixed.
- Translator: If A="a" Then:MZahl=1:z1 =2:End If fixed.
- Translator: if not(a) and not(b) Then... fixed.
- Translator: More problems with brackets fixed.
- Translator: Problem with Select...Case fixed.
Documentation Changes for Version 1.0.9
We have made some changes to the Grid control. There are a number of new functions - they are listed under Grid in the Language Reference. One of the new functions is cell(row,col). Please use this function instead of the current Grid_row_col to refer to cells. The Grid_row_col method deprecated and will stop working in a future release.
The changes make the Grid control more HTML compliant. It is possible that your rows will be drawn with a different height than before: you will need to adjust your code if this happens to you.
1.0.8
- Code Window: Add Main, vb* as keywords.
- Code Window: lots more case normalization is being done.
- Controls: New Audio control - now you can play sounds!
- Controls: New Video control.
- Controls: redundant click definitions removed.
- Controls: Uncaught Reference Error fixed.
- IDE: Added style property for project.
- IDE: Fixed issue with long strings in HTMLview and extraheaders.
- IDE: New Check for Update menu item.
- IDE: Deploy window now has OK/Cancel buttons.
- IDE: New project property: Language - BASIC or JavaScript
- Project Explorer: Forms can be expanded or contracted.
- Runtime: Added check for valid browser.
- Samples: New AudioVideo sample.
- Translator: a[0,1] fixed.
- Translator: Dim a: a=b() fixed.
- Translator: If c(a) Then a.b="x" fixed.
- Translator: Function window_onorientationchange() fixed.
1.0.7
- Code Window: Case normalization for additional keywords and DOM objects.
- Code Window: literal strings are now Courier New as well.
- Code Window: Ctl-j now handles unicode characters.
- Deploy: Filenames in manifest have spaces or slashes are flagged.
- Docs: Handbook and Language Reference updated.
- IDE: New extraheaders property lets you add your lines to header.
- IDE: Form has new method property: GET or POST.
- IDE: New form names now have first letter capitalized.
- Runtime: 'Go' on some browsers no longer causes unintentional submit.
- Samples: Extra ' signs removed from some samples.
- Samples: HTMLview has Show Map option.
Deploy: prefixes appear again when deploying to NS Basic App Server.
- Translator: a = "a://b" fixed
- Translator: a={b:"b",c:"c"} fixed
- Translator: a=new Option(Aus(i),Aus(i)) fixed.
- Translator: Function a_b_onclick() fixed.
- Translator: If a="=" Then b=1 fixed
- Translator: If Mid("1",1,1)=1 Then Print "yes" fixed
- Translator: Mod fixed.
- Translator: MsgBox Replace("AB.DEF",".","X") fixed
- Translator: Print ">" & "," & "<" fixed
- Translator: Print DatePart("ww",01 & "." & 01 & "." & 2010,2,2) fixed.
- Translator: V=(F ^ 3) ^ 2 fixed.
- Translator: With Canvas.getContext("2d") fixed.
Documentation Changes for Version 1.0.7
The project has a new property: extraheaders. This allows you to add addtional header lines to the <head> section of the generated code. An example would to include an extra JavaScript library, you would add:
<script src="myLib.js" type="text/javascript"></script>
1.0.6
- Code Window: Font changed to Courier New.
- Controls: MultiInput - setValue on smallField fixed.
- Deploy: 4 character prefix not added when deploying to own server
- Deploy: Spaces in filenames changed to "_".
- IDE: Bounds are now saved properly on exiting.
- IDE: Changing id of a control now updates event dropdown.
- IDE: Date meta tag added to headers.
- IDE: Generator meta tag added to headers.
- IDE: Message displayed if no write permission to current folder.
- IDE: Saving a project to a different folder now works.
- IDE: Settings file now written out immediately.
- nsbapp.com: location of project_template changed.
- Samples: HTMLview has display map option.
- Samples: New WebSocketsEchoServer.VBExpress2010.zip
- Translator: a="a://b" translates properly
- Translator: ElseIf now treated as "Else If"
- Translator: Expression on Select statement fixed.
- Translator: Global no longer does anything.
- Translator: Replace - 4th and 5th parameters fixed.
- Translator: Replace("10,5",",",".") fixed.
- Translator: TypeName(CInt(1)) fixed.
- Tutorials: 09 Websockets added.
1.0.5
- Docs: New Tutorial 07: Communicating with a server
- Docs: Handbook and Language Reference updated.
- Samples: ComboBox sample now shows how to clear.
- Translator: a="IF NOT a;" fixed.
- Translator: cstr(0) and cstr(1) fixed.
- Translator: Date and Time fixed for all time zones
- Translator: Functions in form of object_onsomething fixed.
- Translator: Instr("12345","3") fixed.
- Translator: Some syntax errors handled more gracefully.
1.0.4
- Code Window: And and Or now properly highlighted.
- Code Window: InStr fixed.
- Docs: Handbook and Language Reference updated.
- IDE: Form has new function: submit(). See Docs below.
- IDE: Form has new property: URL. See Docs below.
- Language: New GetURLParameter function.
- Samples: CacheEvents shows cache events.
- Samples: SendData shows how to send and receive data from a server
- Samples: SQL sample now works
1.0.3
- Code Window: Case normalization improved.
- Code Window: Some functions beginning with i were not highlighted.
- Deploy: Manifest file simplified.
- Deploy: Problems with samples running offline fixed.
- IDE: Images in properties no longer require quote signs.
- IDE: New project defaults to last directory used.
- Samples: All samples updated with new manifest.
- Translator: Errors are handled gracefully.
- Translator: form1_onsubmit fixed.
- Translator: Function return values fixed.
- Translator: Set a=b fixed.
1.0.2
- Forms: Add new style property.
- Code Window: Type Ctl J to see the translated JavaScript.
- Controls: Grid: Add new cellstyle property
- Controls: Grid: reduce default padding, font size default is now 10 and populate each cell with a space.
- Controls: Grid: multiple grids can have different styles.
- Controls: TextBox: Add inputType of hidden.
- Samples: HTMLview's manifest fixed so image is deployed.
- Samples: Added tutorial samples.
- Samples: GetData retrieves data from a remote site.
- Translator: some color constants were incorrect
- Translator: Msgbox "Grid(4,4)=" & Grid1.getValue(3,3)
- Translator: Function ComboBox1_onchange
- Translator: datediff("ww",fromdate,todate)
1.0.1
- Deploy: Meta tag viewport.user-scalable changed to no.
- Deploy: Missing file in deploy fixed.
- Deploy: Unique name for registered users is now lower case.
- Docs: Tutorial 1 updated to show Android install.
- Docs: Appearance of Language Reference improved.
- Docs: Handbok updated.
- Runtime: Titlebar images now all show.
- IDE: NSB Icon now appears in top left corner
- IDE: Removed single quotes around image names.
- IDE: Problem deleting forms is fixed.
- Controls: Label.value is now called textContent (same as runtime)
- Samples: new WebSockets is an early demo
- Translation: a = ((i/100) ^ 12 * a)
- Translation: a = Eval("Grid1_" & x & "_" & y)
- Translation: a = NSBVersionView
- Translation: a="<img src=""mario.jpg"">"
- Translation: If (Location.coords.longitude > 0) Then Amendment = " east"
- Translation: Dim Amendment; Amendment = ""
- Translation: LGA(0) = "a" : LGA(1) = "b" : LGA(2) = "b"
- Translation: MsgBox "aaaa ()"
- Translation: MsgBox a.b.c()
- Translation: MsgBox a.b.c(0)[name]
Documentation Changes for Version 1.0.4
Form has new URL property and submit() method
This property is the URL that is called when a form is submitted using form1.submit(). The URL is called with a query string made up of the values of all controls on the form that have a Name defined. See the SendData sample.
© NSB Corporation. All rights reserved.