You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 46
Next »
https://support.servoy.com/browse/SVY-5984
https://support.servoy.com/browse/SVY-5876
https://support.servoy.com/browse/SVY-5772
https://support.servoy.com/browse/SVY-5964
https://support.servoy.com/browse/SVY-5876
https://support.servoy.com/browse/SVY-5967
https://support.servoy.com/browse/SVY-5984
https://support.servoy.com/browse/SVY-5166
https://support.servoy.com/browse/SVY-5683
SVY-5406
https://support.servoy.com/browse/SVY-5250
https://support.servoy.com/browse/SVY-2834
Mobile Client
- SVY-4448 Added support for related find/search
- SVY-4989 Enhanced the debug mode of the Mobile Client to read the Solution design live from Servoy Developer
Since Servoy 7.3 code changes made while debugging are synced between the debug client and Servoy Developer. However, if the debug session would end and then restarted, the debug client would not have the latest code. In Servoy 7.4 the debug client reads the latest code from developer when launched, so it will always have the latest code, instead of having to do a full export if there was a code change made since the last export - SVY-5336, SVY-5164 Improved Mobile Export Wizard
The Mobile Solution Export Wizard has been improved by remembering all settings of the previous export and allowing to press the Finish button on the first page of the Wizard if there was a previously successful export that can be repeated based on the stored settings. - Switched to JQuery Mobile virtual click events to work around the standard 300ms delay for click events on mobile browsers
- Improvements to ListView performance
- SVY-5406 Added option to configure the order of inclusion for additional JS & CSS resources
See the Mobile Solution Export Wizard - SVY-5528 Added option to not auto-sync on first login
If the first form of the Mobile solution is not bound to a datasource, then the Mobile Client will not automatically perform a sync if the Solution is started for the first time. It is then up to the developer to call the sync method before accessing data. This way, the developer has control over how and when to perform synchronization and error handling in case of issues during the sync.
Servoy Developer
- SVY-3659 HTML-based Form Editor (currently only in use for Servoy Mobile)
By default Servoy Mobile Forms will still open in the existing Form Editor. To enable the HTML-based form Editor, go to Window > Preferences > Servoy > Form Editor and uncheck the "Use classic form editor for mobile forms" checkbox.
Note that by default the browser provided by the operating system is used as internal browser in Servoy Developer. For the best experience it is advised to replace the default browser with the Mozilla XulRunner browser component. See Install Mozilla XulRunner as internal browser for the steps involved. - SVY-5742 Made Mozilla XulRunner available as plugin to replace the OS-specific browser using as internal browser inside Servoy Developer
See Install Mozilla XulRunner as internal browser for the installation steps. - SVY-3518 Upgraded to Eclipse 4.3.1
- Color preview on hover over color declarations in the CSS Editor
- SVY-5252 Support for CSS3 in the CSS Editor: this does not enable CSS3 usage in StyleSheets used on Forms, but allows setting a CSS3 Profile on .css files stored in the media library.
To set the CSS Profile, open the Navigator View, locate the .ccs file, select 'Properties' from the context menu > Web Content Settings > select desired CSS Profile)
- SVY-170 Added support to group Forms together in the Solution Explorer
The context the forms
node of the Solution Explorer provides an entry to "Add working set". Through this option a 'folder' can be created, into which Forms can be dragged and dropped.
The folders or working sets are stored in the Resources project and thus can be shared with other developers through the team provider used - SVY-5033 Added ability to drag and drop media entries around folders inside the media library
- SVY-5202 Grouped layout related properties in the Properties View
- SVY- 4448, SVY-5195 Improved deleting of User Groups by allowing multi-select
- SVY-375 Improved the "Select Dataprovider" dialog with option to create new scope variables
- SVY-5145 Exposed encapsulation and deprecation properties in the ValueList and Relation Editors
- SVY-3149 Ability to locate scopes using the Servoy Locator
- SVY-132 Implemented Search for References on entries in the Media Library
- SVY-5257 Better indication of what type of update is available through the auto-update mechanism
The Servoy Developer entry in the overview of available updates will have a version that includes details on whether the update is a release candidate or final and similar information is provided in the Description area of the overview.
Additionally, the non-final updates are exposed through a different update site, which is disabled by default and should be enabled to receive updates for release candidate updates (see Window > Preferences > Install/Update > Available software Sites). - SVY-5194 Improved error reporting when attempting to work on Solutions that are created/modified using a newer version of Servoy Developer
Testing & Debugging
Build system/JSDoc enhancements
SVY-5532, SVY-5523, SVY-5531, SVY-5527 Improved support for JavaScript prototype inside code
Servoy's Script Editor and Build system now have good support for JavaScript prototyping. This allows creating JavaScript objects using prototyping and having proper code completion and builder markers. Supports both setting an Object as prototype or directly assigning new members to the prototype. Prototype members can be marked as deprecated or protected through JSDoc annotations.
Sample code
/**
* @param {String} name
*
* @properties={typeid:24,uuid:"AACFB629-BDC1-4250-BCFA-E564C686153E"}
*/
function BaseEntity(name) {
/**
* Storing name as a protected instance variable
* @protected
*/
this.name = name
}
/**
* Self executing function (IIFE) to setup the prototype of BaseEntity when the scope in which the functions reside gets instantiated
*
* @private
* @SuppressWarnings(unused)
* @properties={typeid:35,uuid:"13635962-8720-4666-9955-6D8BEF94CE38",variableType:-4}
*/
var initBaseEntity = (function() {
//Setting the prototype of BaseEntity to an object with a set of methods
BaseEntity.prototype = {
publicMethod: function() {},
/**
* This is bananas
* @protected
*/
protectedMethod: function() {},
/**
* and this too
* @deprecated
*/
deprecatedMethod: function() {}
}
//Extending the previously set prototype object with another method
BaseEntity.prototype.getName = function() {
return this.name
}
}())
/**
* The extends tag signals the build system that public & protected members added through super constructor are known to code completion and the build system<br>
* <br>
* The constructor tag takes care of removing the inconsistent return value warning<br>
* <br>
*
* @constructor
* @extends {BaseEntity}
* @param {String} name
* @param {String} type
*
* @properties={typeid:24,uuid:"1D55BCFC-CEE2-4445-95E7-792152E36876"}
*/
function ExtendedEntity(name, type) {
//Fail-save for when the ExtendedEntity gets called without the 'new' keyword
if (! (this instanceof ExtendedEntity)) {
return new ExtendedEntity(name, type)
}
//Calling the BaseEntity constructor, so that the logic defined in the constructor is invoked
BaseEntity.call(this, name)
/**@protected*/
this.type = type
}
/**
* Self executing function (IIFE) to setup the prototype of ExtendedEntity when the scope in which the functions reside gets instantiated
*
* @private
* @SuppressWarnings(unused)
* @properties={typeid:35,uuid:"8F148031-763B-47B8-A69C-35458EDB6857",variableType:-4}
*/
var initExtendedEntity = (function() {
/* Setting the prototype of ExtendedEntity to an object that has BaseEntity.prototype as prototype
* BaseEntity.prototype is not used directly as prototype for ExtendedEntity, as this would mean that any additions made to
* the prototype of ExtendedEntity would actually be made on the prototype of BaseEntity
*/
ExtendedEntity.prototype = Object.create(BaseEntity.prototype, {})
//Properly set the constructor
ExtendedEntity.prototype.constructor = ExtendedEntity
ExtendedEntity.prototype.getType = function() {
return this.type
}
}())
/**
* @properties={typeid:24,uuid:"586D324D-F1D9-474B-B4EE-E9238E73F80E"}
*/
function test() {
var x = new ExtendedEntity('Servoy', 'company')
application.output(x.getName()) //Yields 'Servoy'
application.output(x.getType()) //Yields 'company'
//These bits of code will result in warnings
x.protectedMethod()
x.deprecatedMethod()
x.name
x.type
}
SVY-5615 Improved build system to handle special JavaScript methods like function.call, function.apply, function.bind and Object.create
For .apply/call/bind, the build system will recognize that the .apply/call/bind method will return the same type as the function on which it is called, for example:
Sample code
var x = Object.prototype.toString.call(object) //Build system will know that .call will return a String, as it is called on the .toString() method of Object, which returns a String value
function test() {
var y = Array.prototype.slice.call(arguments) //Build system will know that y is an Array, as .slice() of Array returns an Array
}
For Object.create(object, properties) the build system will know that what Object.create returns has the same type as the value of the object parameter, enhanced with the (optional) properties (See Object.create for more info)
SVY-5827 support function types with rest parameters in typedefs
Sample code
/**
* @typedef {{
* name: String,
* handler: function(String, Number|*...)
* }}
*/
var MyType
- SVY-5114 Improved support for Union Types in JSDoc
TODO - SVY-5113 Support builder markers when supplying a reference to a function object as value to another functions parameter, but the signature does not match
TODO - SVY-3555 Enabled the strike-through of deprecated member declarations in the Script Editor
- SVY-5524 Exposed Error.stack property in scripting
Allows getting the stacktrace of JavaScript Error objects SVY-5371 Support returning an instance of itself inside Constructor functions without warnings being generated
This allows building in a fail-save for Constructor function not being called with the new
keyword
Sample code
/**
* @public
* @constructor
*/
function MyConstructor(name) {
if (!(this instanceof MyConstructor)) { //constructor is not called with the 'new' keyword
return new MyConstructor(name)
}
//rest of the constructor logic
};
- SVY-3049 Made the preference to initially fold the Header comment work (Preferences > JavaScript > Editor > Folding)
- SVY-4876 Fixed the generation of JSDocs through the "Generate Element Comment" option to not insert an @return tag if the function does not return anything
- SVY-4226 Improved "move code" option of the Solution Explorer to not insert the scope prefix if inserting into the same scope
Solution Development
Web Client
- SVY-69 Disabled text-selection while a Drag 'n' Drop operation is taking place
The side effect is that selecting text on elements that also have an onDragStart event handling that starts a Drag 'n' Drop event is not possible anymore - SVY-521 Added ability to customize internal icons of Calendar and Image fields
TODO - SVY-1419 Made Calendar popup styleable
TODO - SVY-5176 Improved onRender performance on consecutive calls
onRender will now only cause clientside updates if there are actual changes to make. - SVY-5701 Updated HTML Editor (in editable HTMLArea) to TimyMCE
The old editor was replaced as it was not supported anymore and caused issues on newer browsers. - SVY-5774 Option to hide the loading indicator separatly from the blockInputOnRequest
Whether or not the Loading indicator is visible can now be controlled through the servoy.webclient.hideloadingindicator
setting on the Servoy Admin page. Prior to Servoy 7.4 when enabling the servoy.webclient.blockinputonrequest
setting, the Loading indicator would be disabled automatically. - SVY-5730 Added Array Up/down keyboard navigation to TableViews
Smart Client
- SVY-4946 Improved UX of Smart client launch
Servoy 7.4 introduced 2 new serverside settings that can be set to control the launch experience of the Smart Client:
- servoy.branding.loadingbackground
: Sets the background-color of the main Smart Client window when no form is showing. This is without other settings before and after a custom login form is shown or while the default login dialog is shown.
- servoy.branding.hideframewhileloading
: hides the main Smart Client window while no form is showing. This is before and after a custom login form is shown or while the default login dialog is shown.
These two new settings can be used in conjunction with other bradning related settings and can be set on globally or in Profiles
Deployment
- SVY-3072 Added support for exporting the scale of columns when exporting to a .servoy file
TODO - SVY-5357 Ability to include Solutions in a WAR export
TODO - SVY-5772 Added JDBC driver wrapper for Pervasive (PSQL) to make to resolve incompatibilities with Servoy
TODO - SVY-5774 Introduced
servoy.webclient.hideloadingindicator
setting to control the display of the Loading Indicator independant from the servoy.webclient.blockinputonrequest
Plugin & Bean Development
- SVY-5242 Improved how Servoy scans jar files in the plugins & bean folders to improve performance
TODO