Child pages
  • New in 7.0

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Currently the following things are still to be done:

  • Improve the first launch process with the minimized perspective
  • Create proper CheatSheets
  • Redesign the Welcome page
  • Redesign the iServoy page
  • Provide option to turn off the display of the iServoy page on launch of Servoy Developer when a Servoy Developer license has been registered.
First Launch Experience
  • On first launch, after the Welcome screen the Servoy Design perspective will show with all parts minimized and only the iServoy and the CheatSheet views showingServoy Developer will launch maximized on first launch
Servoy Developer UI
  • CVS team support has been removed (can be added again when needed through standard Eclipse update mechanism)
  • Java related features of Eclipse have been hidden from view
  • Toolbars related to Form editing have been inlined into the Form Editor
  • Added Color/font chooser Toolbar
  • Reordered default toolbar positions to achieve a more steady ToolBar when switching between different types of Editors
  • Preferences:
    • Made then "Window > Preferences > Servoy > Team settings" all selected by default
    • Removed "Window > Preferences > Servoy > Services" as they are not relevant within Servoy Developer
    • Removed the obsolete "Window > Preferences > JavaScript > Console"  preference page
  • Hidden several not usefull MenuItems, like File > Convert line Delimiters ....
  • Moved MenuItems from Elements menu under the Actions Menu on the MenuBar
  • Moved the Debug Client Launch MenuItems from the Actions menu to the Run menu
  • Removed custom "New Form" option in the main toolbar and moved the New .... options into the default Eclipse mechanism for "New ..." operations (File > New or New button on toolbar or Alt-Shift-N keyboard shortcut)
  • Removed Classic Search view: Search can be triggered through keyboard shortcuts as well as though buttons in the main toolbar area and the menubar 
  • Renamed "Profiler View" to just "Profiler"
  • Hidden the Profiler view by default (Can be added through Window > Show view > Other > Servoy > Profiler)
  • Hidden Console view by default: gets added automatically when starting a Debug Client
  • Moved Tasks view next to Bookmarks view
  • Improved enabling/disabling of Solution Explorer nodes, menuItems & ToolBar buttons based on the current context, for example the enabled state of the Debug Client launch buttons
  • Better visual feedback on which nodes are enabled/disabled in the Solution Explorer
  • Cleaned up and aligned the Context menu's of the Form and Method Editors, to show only relevant entries and to follow the same menuitem order
  • Removed the obsolete Script Debug Log view
Form Editor

The Form Editor in Servoy 6 has gotten a major overhaul. The main new features are a configurable Palette, Alignment Guides for placing, moving & resizing elements and many keyboard shortcuts for new and existing functions. Also the Form editing toolbars have been inlined into the editor, instead of being part of the main toolbar area.

...

  • Created dedicated Group & Layout toolbars
  • Improved visual feedback while resizing/moving elements using the keyboard 
  • When placing fields through the "Place Field wizard" button in the Toolbar of the Form Editor, the fields are placed in the order in which the dataproviders were selected in the "Select Data Providers" dialog 
  • Added a setting to sort the dataproviders that are columns from a Table in the order in which they are defined in the database (Window > Preferences > Servoy > Wizard options) 
  • Better placement of horizontally placed fields through the "Place Field Wizard" button in the Toolbar of the Form Editor
  • The value of the Alignment Guide > Small Offset preference is used for the distance between the elements in the "Leftward" and "Upward" distribution actions
  • Added option to toggle the display of the Rulers (default: on)
  • Added option to toggle the display of "Page break" lines (default: off)
  • Added option to toggle the visibility of inherited elements that don't have any overridden properties (default: show)
  • Added the drawing of the Form border
  • Offset the Form inside the editor viewport, for drawing the Form Border
  • Visual feedback of Forms being transparent
  • Elements marked as invisible are displayed semi-transparent
  • Elements marked as invisible do not generate an "Element in form "...." is outside the bounds of form." builder marker when placed horizontally outside the bounds of the form
  • Added "Element Placement Guide Options" shortcut on the toolbar to quickly toggle the Alignment mechanism to use for the current editor:
    • None
    • Grid Guides
    • Alignment Guides (default)
  • Added "Visual Feedback Options" shortcut on the Toolbar to toggle the Form Editor feedback preferences for the current editor:
    • Selected Element Anchoring Indicator (default = true)
    • Selected Element Alignment Indicator (default = true)
    • Selected Element Same Size Indicator (default = true)
    • Grid (default = false)
    • Page Breaks
    • Rulers
  • Added support for quick pan of viewport using SpaceBar+MouseDown+MouseMove (allows for quick scrolling the viewport if the Form is larger than the Form Editor area)
  • Added forced lasso select for layered elements through Shift modifier when starting the select using the mouse 
  • Added preference for the lasso select mechanism: the ability to toggle between the mode where only elements that are fully enclosed by the lasso are selected, or any element which is partly within the lasso is selected
  • Form part height can be set by double-clicking the part label 
  • Form parts can be resized using the keyboard
  • When resizing Form parts using the mouse, if the Control modifier is pressed while the resize takes place, anchored elements also are resized based on their anchoring settings
  • Form (parts) can be resized using the mouse by dragging their edges 
  • Form and Form Part can be resized in both dimensions at the intersection of the Form's right edge and the Form part bottom edge
  • While hovering over the Form part label, a vertical resize cursor is shown 
  • Added location (x & y and x1 & y1) and size feedback in the status bar of Servoy Developer for the selected element 
  • Added "Revert Form" option to Context menu of the Form Editor, to undo all changes since the last Save at once (No undo possible!)
  • Added "Preferences" option in the Context menu of the Form Editor
  • Reorganized entries in the Context menu, including grouping related action into submenu's
  • When pressing the Tab key while focus is on an element in the Form Editor, the next element in the tab sequence is selected
  • The preferred size of beans is used when placing beans on a Form
  • Support for dragging Forms from the Solution Explorer directly onto a Form in the Form Editor. The dragged Form can be dropped on existing container elements (TabPanel, SPlitPane or TablessPanel) or straight onto the Form in the Form Editor, in which case a new TabPanel is created with the dropped Form as the first tab  
  • When placing a new Tabpanel through the new Tabpanel button on the toolbar, the Tabpanel is dimensioned to the dimensions of the largest form, also taking into account the Form's border and navigator settings
  • Splitpane elements get a name prefixed with split_ when placed on a form
  • Splitpane elements render like a Splitpane in the Form Editor, instead of like a Tabpanel
  • Tabless panel elements get a name prefixed with tabless_ when placed on a form
  • Tabless panel element renders like a empty container element, instead of like a Tabpanel
  • Visual appearance of elements representing Tabs on a Tabpanel changed to let the element better resemble a tab, especially on transparent Tabpanels 
  • Drag & Dropping a method from the Solution Explorer onto a field in the Form Editor sets the method as the field's onAction event handler
  • Improved inline editing of Labels & Buttons in the Form Editor. Proper support added for Control-X/C/V keyboard shortcuts
  • Added more finegrained layering controls: besides the already existing "Send to back" and "Bring to front", which would send the selected elements all the way to the back or front, the new "Send backwards" and "Bring forwards" move the selected elements only one layer down or up.
  • Labels placed through Place Fields wizard also get their name filled, if the "Set name" checkbox is checked
  • Elements in the Outline View linked to the Form Editor are grouped by Type of element

Still to be done

  • Size feedback in the status bar for the Form itself
Script Editor

For Servoy 6 the goal was to introduce automated refactoring support for JavaScript. In order to be able to do automated refactoring, the refactoring mechanism needs to be able to analyse all the JavaScript code and determine exactly what every bit of code is, what it's scope is and how it is related to other parts of the code.

...

  • Support for typing parameters as Objects with certain properties:
  • Code Block
    /**
     * @param {Object} person
     * @param {String} person.name
     * @param {String} person.email
     * @param {Number} [person.age] optional "age" property
     */
    function processPerson(person) {
      application.output(person.name);
      application.output(person.email);
    }
  • Support for rest parameters: Allows to indicate through JSDoc that a function can take unlimited trailing arguments of the specified type:
    Code Block
    /**
      * @param {...String} someExtraStrings One or more additional String can be send into this function
      */
    function methodWithRestParams(someExtraString){}
    
    
    function test() {
       methodWithRestParams('one', 'two', 'three', 'four');
    }
  • Support for typing as an instance of a Form. Can also be used to indicate that the Form must extend the specified Form:
    • @type {Form<mySuperFormName>}
  • Support for the so-called "AnyType"
    • @param * myParam A parameter that can contain any type of value. 
  • Beans are made available as types in CodeCompletion, to be used for type checking and JSDoc 
  • Support for @AllowToRunInFind on functions to indicate that the the function should be executed on event handlers while in FindMode:
    Eliminates the //controller.search() workaround. Note that that running JavaScript while in FindMode has it's limitations and not all behavior is 100% defined. More details will follow.
  • Support for @constructor tag, to indicate that a function declaration is to be used as a Constructor. Functions marked as Constructor also display differently in the Script Outline view 
  • Automatic JSDoc @type setting on global and Form variables
  • Ability to update the type of a variable by updating the JSdoc @type tag value AND the default value
  • Added specific JSDoc context for Templates (Window > Preferences > JavaScript > Editor > Templates), besides the already existing JavaScript context.
  • Added dedicated RuntimeXxxx types for all runtime element types and for Forms. For example RuntimeLabel, RuntimeTextField and RuntimeForm. These types can be used in JSDoc, but also in scripting to check if an object is and instance of a certain type, using the instanceOf operator. Note that RuntimeForm and Form are the same, RuntimeForm was added for consistency. RuntimeComponent is the base type for all default elements that Servoy Ships with
  • Removed Strict Mode option from the JavaScript Preferences: the additional warnings that where generated with Strict Mode enabled are now part of the extended JavaScript Error/Warnings preferences and thus can be enabled/disabled on individual basis  

...

  • Fixed expand/collapse behavior when saving the Script Editor after adding new variables or functions
  • Made it possible to collapse/expand the multi-line content of variables (multi-line Strings, XML, Functions and Objects)
  • Added support for putting comments in script files (.js files) outside functions and outside JSDoc tags linked to variables and functions. Note that the comments are lost in the following scenario's:
    • When using Servoy Repository for team development: The Servoy Repository stores individual variables and functions, so anything else in the .js file is lost. Solution: use SVN instead which is file-based
    • When exporting the Solution to a .servoy file: just like the Servoy Repository, the .servoy export format only contains the individual variables and functions. When the .servoy file is used to move a Solution from development into test/Q&A/production, there should be no issue loosing the comments. However, if the .servoy export is going to be used to transport the source into another workspace/development environment, the loss of the extra information could be unwanted. In this case the solution would be:
      1. Share sourcecode between different developers by allowing (anonymous) checkout from the source repository used (for example SVN). 
      2. Use the native Eclipse Archive file export/import functionality to export and later import an entire Eclipse project (a.k.a. Servoy Solution) 
  • Fixed indentation of code when pasting code into the Script editor
  • Fixed indentation of code when moving code using the "Move Sample" and "Move Code" buttons in the Solution Explorer view
  • Prevented Typing info to get inserted by "Move Code"
  • Show Parameter Hints after "Move Code" 
  • Improved JSDoc tooltip hover behavior over functions: moving the mouse from the function to the tooltip doesn't hide the tooltip, but instead gives it focus
  • Removed the "Paste to JavaScript console" option in the Context menu of the Script Editor
  • Hidden non-functional menu items "Open Type Hierarchy" and "Quick Type Hierarchy" from the context menu of the Script Editor
  • Added Eclipse Spelling support inside the Script Editor on comments (singleline comments, multiline comments and JSDoc comments): See Window > Preferences > General > Editors > Text Editors > Spelling
  • Save Actions for the JavaScript Editor: allows automatic triggering of formatting JavaScript sourcecode when the editor is saved. Currently, the Save actions can only be accessed through the Properties of a Solution: Accessible through the context menu or keyboard shortcut Alt-Enter on the Active solution node of Module nodes in the Solution Explorer. See  JavaScript > Save Actions
  • Removed the non-functioning "Run As" and "Debug As" menu items from the context menu 

Still to be done

  • Investigate if the "Run as ..." and "Debug as ..." options in the Context menu of the Script Editor can be removed or made to work
  • Bring back support for the old way to type a foundset or records to belong to a certain database and table
  • Introduce the option to suppress individual markers
  • Properly enable/disable the Refactor options based on the context and selection  

...

  • Activate a Solution by double-clicking the node for the solution to activate under the "All solutions" node 
  • Added support to rename the Active Solution (added item in the Context menu of the Active Solution node)
  • More contrast between enabled and disabled nodes (for example when editing Calculations)
  • Hide 'selectedrecord' & 'relations' node under the Form node of Forms that are not bound to a table 
  • Different icons under the "All solutions" node for solutions of type module or solution, with special decorators for Web Client or Smart Client only
  • Warning & Error decorators on the Icons of each node if there are any builder markers (Errors and/or Warnings) on the object the Node represents or on any of it's children
  • Subnodes now ordered alphabetically
  • Automatic expand of the Resources > Database Servers node on startup if there are invalid servers
  • Added "Search for references" to the context menu of many of the object nodes:
    "Search for references" tried to find all references to the given object, both inside the JavaScipt code as well as the definitions of objects like Forms, Relations, ValueLists etc. Due to the dynamic nature of the JavaScript language, the matches within the JavaScript code might not be complete and/or not valid in the case of code that uses dynamic code constructions 
  • Added preference to define the double-click behavior on Form nodes and on the globals node. See Window > Preferences > Servoy > Solution Explorer
  • Improved "Move Code" support:
    • Properly indent the moved code
    • Removed parameter type info from the moved code
    • Show Parameter Hints over the moved code 
  • Added Search for References on several nodes. See #Search support
  • Renamed menuitem "New server" to "Connect to existing database" in the Context menu of the Database Server node of the Solution Explorer 
  • Moved "Create new Database" option from the Context menu of existing individual Database Servers definitions to the Database Servers node in the Solution Explorer
    • As before, the Create new database is only supported on PostgreSQL and Sybase databases
    • The option's are disabled when there are no Database Servers defined yet for PostgreSQL or Sybase DB's
    • When there are Database Server connections to multiple database servers, a popup is shown first to select on which database server to create the new database
  • Improved Solution Explorer preferences page (Window > Preferences > Servoy > Solution Explorer)
    • Included Alignment and List Viewer options
    • Improved display of globals and Form Node double click options
  • On forms that are not linked to a datasource, the selectedrecord and relations nodes are removed
  • Moved the ServoyException node under the Application node: ServoyException is not a top level scriptable object, it is only obtained through the solutions onError handler. Therefor, it is moved under the Application node, where the other similar types are already located
  • Added "Properties" menu item to context menu of active solution and it's modules, to gain access to the Project properties. Useful for Project specific Preference settings
  • Added support for drag 'n' dropping files from outside Servoy Devloper Developer directly into the media library
  • Added support for drag 'n' dropping media objects onto:
    • Form Editor: supports images, dimensions of the image is used when placing the image
    • Script & CSS Editor: the media url gets inserted

...

  • Hidden the options "Go Home", "Go Back", "Go Into", "Refresh", "Expand" and "Collapse tree" from the Context menu in the Solution Explorer by default, can be turned on through the Solution Explorer options menu and preferences again
  • Improved "Link with Editor" support i.c.w. the Form Editor: clicking a named element in the Form Editor will now select the element in the Solution Explorer
Properties view
  • Color properties show the HEX value, instead of the RGB value
  • Color properties can be directly edited. Supported values are Hex values, RGB values and named colors (i.e. black, red etc)
  • Font properties can be directly edited
  • When setting a property to an invalid value, an Error dialog pops up, instead of a message in the status bar and a silent revert to the old value
  • Dataprovider properties that are unresolved now show the dataprovider name that cannot be resolved
  • StyleName and StyleClass property now have a button to open the StyleSheet/jump to the StyleClass declaration
  • The tabSeq property has a button to open the "Tab sequence" tab of the Form Editor
  • The Method Selection dialog used to assign methods to Commands and Events has an "OK & Show" button to assign the selected method to the Command/Event and open the assigned method in the Script Editor in one go
  • Ability to select -none- as dataprovider when editing a dataprovider property
  • Added option to select standard tags over a relation (where applicable) in the Text property editor
  • Overrides of inherited property values show -OVERRIDE- next to the value
  • Options to create either a private, protected or public method when creating a new method for an event/command handler. In case of the private or protected option, resp. the @private or @protected JSDoc tag is set in the JSDoc of the newly created method. 
  • Better context aware entries in the dropdown of labelFor property: For labels in the body part of Forms in TableView mode, the dropdown will include all named elements that are also in the body part and that don't have the labelFor property set yet.  

...

  • Made all possible builder markers for JavaScript file configurable:
    See Window > Preferences > JavaScript > Error/Warnings: Each possible builder marker on JavaScript files is listed and can be set to be ignored or to generate either an Error, Warning or Info marker 
  • Added QuickFix to create the unresolved method on builder markers for unresolved methods attached to events and commands 
  • Added "Element in form "...." is outside the bounds of form." builder marker for elements placed below the last Form part. Note: elements placed below the last form part on a form are not instantiated at runtime, thus are not in the elements array or visible on the Form
  • Added builder marker to warn about dataprovider of type text with a small length that are attached to HTMLArea's or RTFArea's, as these type of fields generate more markup in the dataprovider than the user actually sees
  • Added builder marker to warn about fields with a format setting that isn't appropriate for the type of the data provider: 'Element in form "..." has incompatible format with its data type (...) : "..."'
  • Added builder markers for use of deprecated scripting API
  • Added builder markers for use of deprecated JavaScript variables and functions (see #Script Editor > JSDoc support)
  • Added builder markers for access to not declared objects or properties of objects
  • Added builder markers for calling functions (global methods, form methods and scripting API) with the wrong number and/or type of parameters
  • Added builder markers for variables and parameters that hide data providers, variables or parameters at a higher scope
  • Excluded .js files contained in the Media library from the builder process
  • Added builder markers for Database Server definitions of which the JDBC Driver class cannot be found 
  • Added @SuppressWarnings (warningIdentifiers) to suppress individual warnings from being shown: currently the only supported type is current supported types are "deprecated", "hides" and "undeclared". The @SuppressWarnings tag can only be applied in the JSDoc of functions

...

  • Added a Servoy Active Solution Working set: the support for modifying the BuildPath include/exclude settings on solutions (Solution Explorer > Solution's Context Menu > Properties > JavaScript > Build Path > Source): by default all .js files in the solution's directory are included, except .js files stored in the Media library. Modifying the excludes can be usefull when using the JSDoc plugin from Servoyforge, which creates a docs/ directory containing .js files as well. When not excluded from the Build Path, the builder process will include those .js files as well and validate them and generate builder markers (Error/Warning marker) for them.
Miscellaneous
  • Added a Servoy Active Solution Working set: the workset functionality of Eclipse allows to limit the scope of operations like searching or display of builder markers. The Servoy Active Solution workset is a pre-defined workset that contains the Active Solution and all it's modules. The Servoy Active Solution working set can be used in:
    • Problems view: The contents of the Problems view can be filtered to only show the builder markers for the active solution. Click "View menu" > Configure Contents > Select "Servoy Active Solution Filter"
    • Searching: In the Search dialog, the scope of the Search can also be restricted to the Servoy Active Solution workset:
  • Servoy MarketPlace integration: Servoy MarketPlace can be opened in Servoy Developer, through Help > Servoy MarketPlace
  • Added Servoy Admin page shortcut in the Help menu of Servoy Developer
  • Added option to show the firstForm of the solution that is being activated (see Window > Preferences > Servoy > Form Editor) 
  • First form created in a Solution is automatically set as the Main form in the Solution properties
  • Wiki Markup
    Improved output to console of Javascript objects: \{name: someValue}&nbsp;instead of \[object Object\]
  • Added predefined update url for JSDoc plugin (https://www.servoyforge.net/projects/jsdoc)
  • Updated Servoy Developer to Eclipse Helios (3.6)
    • Option to export/import Preferences via generic export/import mechanism 
  • Reduced memory footprint of solutions in Servoy Developer by about 40% 
  • Added command line Solution Exporter (more info will follow)
  • Added JUnit testclass for running JSUnit tests contained in a solution within the JUnit framework (more info will follow)
  • Made update of Calculations and Aggregates in the Replace Table action optional
  • In the Debug Smart Client, a call to application.showUrl(...) will open the URL in a browser within Servoy Developer
  • In Table Editor, when creating a new column containing the text "email" or "url" in the columnName, automatically set the type to "Text" and the length to resp. 254 or 2048 (based on the specifications for email addresses and urls)
  • Added Copy action in columns rows in Table Editor, to quickly get the column name into the clipboard
  • Added "Maximum prepared statements idle" property in Database Server Editor (was already exposed on the Admin page)
  • Made "Link with Editor" work for Styles, Tables and Database Servers as well
  • Added "FoxPro DBF" New server template
  • Included the FoxPro DBF JDBC driver into the distrubution
  • Added ability to to also externalize hard-coded Strings inside JavaScript code (See Externalize Messages dialog)
  • Moved all Database Server management into Servoy Developer and disabled the functionality on the Servoy Admin page when running Servoy Developer
  • Removed option to turn off Enhanced Security from the UI. enhanced Security is now the default mode. Can only be turned on by manually adding the relevant property to the servoy.properties file (see #Deployment )  
  • Images in the Media library are now opened with the Viewer which is registered for the image type. By default this will be the Image viewer Servoy supplies, but can now be overruled by the user, for example by installing another Image Viewer plugin, for example the QuickImage plugin for Eclipse: [http://psnet.nu/eclipse/|http://psnet.nu/eclipse/]
  • Table Editor: support Control-Click to deselect the selected row and hide the Column Details
  • Database Server Editor: Highlighted the JDBC Driver ClassName if it cannot be resolved, meaning that the specified class cannot be found in the available JDBC Drivers
  • Added more options to synchronize I18N keys between the workspace and database in Servoy Developer
    • Read from DB: Option to sync the keys in the workspace (target) with the keys in the I18N table in the database (source)
    • Write to DB:  Option to sync the keys in the I18N table (target) in the database with the keys in the workspace (source)
    • Both option provide the option to remove keys that are in the target, but not in the source
    • Both options are available through the context menu of the Resources > I18N files node of the Solution Explorer

...

  • New controller.getWindow(...)
  • New application.isFormInWindow(...)
  • New application.getWindow(...)
  • New application.createWindow(...)
  • New application.closeAllWindows(...)
  • New JSWindow class
  • Deprecated controller.getContainerName(...)
  • Deprecated application.closeForm(...)
  • Deprecated application.getWindowHeight(...)
  • Deprecated application.getWindowWidth(...)
  • Deprecated application.getWindowX(...)
  • Deprecated application.getWindowY(...)
  • Deprecated application.setWindowLocationisFormInWindow(...)): instead use the more powerfull controller.getWindow()
  • Deprecated application.setWindowLocation(...)
  • Deprecated application.setWindowSize(...)
  • Deprecated application.showFormInDialog(...)
  • Deprecated application.showFormInWindow(...)
  • Deprecated constant UICONSTANTS.FULL_SCREEN

...

  • Deprecated rowBGColorCalculation property on Forms, in favor of CSS support for odd/even/selected styling and onRender event for finegrained stylinging control
  • Deprecated application.getStartupArguments(): the deeplink arguments are now also applied to the onOpen method of the login solution (were already applied to the onOpen method of the main solution), which makes the getStartupArguments() method obsolete
  • Deprecated i18n.setDefaultTimezone() in favor of i18n.setTimezone()
  • New class JSRenderEvent: eventType passed to onRender event handler methods 
  • New class Renderable: used by the JSRenderEvent
  • New class JSWindow; see Windowing API
  • New class JSDNDEvent: eventType passed to Drag 'n' Drop event handlers
  • New class CLIENTDESIGN containing constants for ClientDesign
  • New constants
    • UICONSTANTS.USE_SYSTEM_PRINT_DIALOG
    • ELEMENT_TYPES.TYPE_AHEAD
    • ELEMENT_TYPES.SPLITPANE
    • ELEMENT_TYPES.RTF_AREA
    • ELEMENT_TYPES.RECTANGLE
    • ELEMENT_TYPES.HTML_AREA
    • ELEMENT_TYPES.COMBOBOX
    • DRAGNDROP.MIME_TYPE_SERVOY_RECORD
    • DRAGNDROP.MIME_TYPE_SERVOY
    • JSEvent.ONDRAGEND
    • SQL_ACTION_TYPES.UPDATE_ACTION
    • SQL_ACTION_TYPES.SELECT_ACTION
    • SQL_ACTION_TYPES.NO_ACTION
    • SQL_ACTION_TYPES.INSERT_ACTION
    • SQL_ACTION_TYPES.DELETE_ACTION
  • New security.isUserMemberOfGroup(...)
  • New JSTable.getDataSource(...)
  • New JSRecord.getDataSource(...)
  • New JSDataSet.sort(Function)
  • Wiki Markup
    New JSFoundSet.sort(Function, \[defer\])
  • New setRollOverImageURL(...) on Labels and Buttons
  • New getImageURL() on Labels
  • Deprecated .getTitleText() on fields in favor of a titleText property that also allows setting the titleText at runtime
  • Made Date.setYear deprecated (is deprecated in ECMAScript)
  • Made relation parameter optional for setLeft/RightForm(...) functions for Splitpane instances
  • Added support for multiple fallback filter values in i18n.setI18NMessagefilter, by supplying an Array of Strings for the value parameter
  • Newi18n.getCountries()
  • New i18n.setDefaulttimeZone()
  • Add support to utils.stringReplaceTags() to accept as input not only a JSFoundset or JSRecord but a RuntimeForm as well
  • New application.removeClientInfo()
  • Added UIConstant that determines whether readOnly fields remain readOnly in findMode or not:  APP_UI_PROPERTY.LEAVE_FIELDS_READONLY_IN_FIND_MODE
  • Support for IN operator support in scripted Find/Search. The advantage over the OR ('||') option are:
    • Unlimited size: the Or statement is limited to what the database supports
    • The values don't need to concatenated into a String value, making it easier to work with values containing '||' or working with Dates
  • Code Block
    if (foundset.find()) {
       foundset.name = ['John', 'Paul', 'Ringo', 'George'];
       foundset.search();
    }

...

  • Support added to Icons on Tabs of a Tabpanel
  • Support added for percentage values when setting the divider position of Splitpanes (values between 0 and 1 are considered percentage values e.g. 0.5 means 50%)
  • Support added for .replaceSelectedText(...) on fields
  • Support added for rollOverImageMedia
  • Support for "media:///...." in HTML inside tooltips
  • Support for "media:///...." for the "scr" attribute of Script and Style tags included in non-editable HTMLArea's and HTML contained in the text property of Labels
  • Added mnemonic support in Web Client
  • Added horizontal alignment support to labels/buttons with images in the Web Client
  • Link tags contained in non-editable HTMLArea's are now inserted into the HEAD part of the Markup
  • Support for HTML on nodes of the DBTree(Table)View beans
  • Support for separators within ComboBox dropdown
  • Partial Dialogs plugin support (see #Plugins & Beans
  • Added support for editable HTMLArea
  • Added anchoring support for non-Servoy-aware beans 
  • Performance improvement of the Web Client due to compression enabling by default
  • Moved all styling of Tabpanels to the servoy_default_webclient_stylesheet.css 
  • Moved default form background-color into servoy_default_webclient_stylesheet.css 
  • Exposed an 'indicator' styleClass in servoy_default_webclient_stylesheet.css, to allow customization of the Loading indicator
  • Ability to control the HTML text of the "Loading..." indicator by specifying an i18n key with the following name: servoy.general.loading
  • Cleaned up the File Upload dialog: removed unneeded border and label
  • Upgraded several used libraries:
    • Upgraded to jQuery 1.5
    • Upgraded to YUI 2.8.2r1
  • Support for retrieving browser-side variables in JavaScript callbacks inside non-editable HTMLArea's by using a prefix
    Code Block
    <html>
    <body>
    <button onclick="javascript:globals.myCallBackMethod(browser:browserSideVariableName1, browser:browserSideVariableName1)">test</button>
    </body>
    </html>

...

  • Deprecated getRemoteList()
  • New file.getRemoteFolderContents(...)
  • Deprecated plugins.file.getHomedirectory() in favor of plugins.file.getHomeFolder()
  • New file.getRemoteFolderContents(...)
  • New file.getDefaultUploadLocation(...)
  • New JSFile.setBytes(...)
  • New class JSProgressMonitor

...

  • Deprecated .validate() on Toolbar and MenuBar class, as they are no longer required. Changes to the Toolbar or MenuBar are visible immediatly
  • Deprecated plugins.window.setToolBarvisible() in favor of plugins.window.setToolbarAreaVisible(), to align the name with what the method actually does
  • Added support to create MenuBars on (Modal) Dialogs as well (Windows was already possible)
  • Added .putClientProperty() to the UI classes of the windows plugin 
  • New setBackgroundColor/setForegroundColor methods on RadioButton/Checkbox/MenuItem classes of window plugin
  • Added maximize() method, to maximize a JSWindow of type Window in the Smart Client 

...

  • Dedicated SolutionType values for pre and post import hooks, instead of relying on a naming convention
  • Ability to use a global method as PK generator, through selecting a global method under Auto Enter > Lookup Value on the Column in the Table editor
  • Support for using variables of type Boolean inside relations, mapping on integer columns
  • Added ability to use separators in ValueLists
  • Made "Left Outer Join" the default value for new relations
  • Ability to use global variables of type Boolean in Relations. Can map to integer columns containing 0 or 1 in the database
  • Support i18n filter fallbacks for i18n.setI18NMessagesFilter (see samplecode)
  • Support to mark functions through the JSDoc @AllowToRunInFind tag to be executed as event handlers while in FindMode:
    Previously methods attached to event handlers would only execute in FindMode if the contained the code the execute a search (controller.search() or foundset.search()). As of Servoy 6 any method that contains the @AllowToRunInFind tag in it's JSDoc will be executed in FindMode when attached to an event. Note that there are limitations to what is possible in scritping while in FindMode and that certain behavior is not well defined. More information on this will follow.
  • Support to mark variables and functions as private through JSdoc using the @deprecated JSDoc tag
  • Support for dependent ValueLists when in FindMode
  • Added extra parameter to globals method ValueList that indicated if the FoundSet is in FindMode  
  • Optimized databaseManager.recalculate() to only trigger the recalculation of stored calculations
  • Added weeknumber to Date Field calendar popup in Smart Client, to bring it inline with the Web Client

Deployment

...

  • Added the PostgreSQL upgrade module to the bundled PostgreSQL
  • Compression is enabled by default on the Servoy Application Server for serving HTML, CSS and JavaScript files, which improves the performance of the Web Client
  • Lazy loading of the datamodel of database server clones, resulting in faster Servoy Application Server startup and no unneeded overhead for database server clones that aren't going to be used
  • Enhanced Security is now the default mode, can only be disabled by manually setting the relevant property in the servoy.properties file: "servoy.application_server.enhancedSecurity=false"
  • The default value for the MaxHeapSize memory setting (-Xmx) for the Application Server has been changes to 1Gb (both in servoy_server.bat as well as in the wrapper.conf for the Service component)
  • Display Community Edition splash screen content over HTTPS, to prevent mixed content warnings when running the community edition over HTTPS
  • In the Preferences of the Smart Client, the Services Preference tab is hidden if the Smart Client is not connected to the Application Server through Direct connection of TwoWay socket  
  • BugFix/BehaviorChange: pre-import hook now runs before updating the datamodel and importing sampledata

Admin page

  • Ability to update the "Maximum connections active" and "Maximum connections idle" without requiring a restart
  • Added ability to specify the user directory for Smart Clients on the Admin page
  • Ability on the Admin page to set on Solution level if the the solution is to use Anchors in the Web Client or not 
  • Ability to "compact" a Solution: this removes all but the latest release of the solution
  • Added Styles node, to allow the deletion of StyleSheets from the Repository
  • Added a grid-like Database Server overview on the Servoy Admin page for better overview of the status of all Database Server connections, with links to get to the details of a specific Database Server. Database Server clones will be grouped under their master.
  • Moved the Log Server setting away from the individual Database Server details to the Database Server overview, as there can only be one Log server defined on the Application Server
  • Added Solution import option to auto update Servoy Sequences after import 
  • Added Database Server name to the Performance Data page of the Admin page
  • Added log entry when clearing the log on the Server Log page of the Admin page
  • Moved the link to import Solutions to the top of the Solutions page on the Admin page
  • Improved type tagging of queries in the Performance Data page on the Admin page. For example, FoundSet queries are now properly tagged as FoundSet queries.
  • Added option to push a Font to clients as well (To complement the already existing Look & Feel and Theme push options)
  • Removed SocketFactory.useTwoWaySocket and SocketFactory.rmiServerFactory on the Network section of the Admin page and replaced them with a SocketFactory.tunnelConnectionMode property that is displayed as a dropdown with the available options.
  • Added option to disable SSL encryption when using the HTTP Tunnel if the HTTP Tunnel runs over HTTPS (to prevent double encryption)

All-In-One installer

  • Split the workflow in the installer Added option to set the min and max Java Version for Smart Clients on the Admin page: Setting the minimum Java version to Java 1.6 will force the Smart Client to only start when Java 6 is available on the Client machine.
    • servoy.smartclient.min_java_version
    • servoy.smartclient.max_java_version
  • Relocated Smart Client related memory settings under the "Smart Client Settings", instead of the "Memory/Performance settings"

All-In-One installer

  • Split the workflow in the installer into two separate flows: Servoy Developer installation and servoy Servoy Application Server installation
  • Added the option to download & install the EnterpriseDB Standard Server instead of installing the bundled PostgreSQL database engine
  • Added the option to connect to an existing database instead of installing the bundled PostgreSQL database engine
  • Due to the two items above, the installation will always contain a servoy.properties file after installation, contrary to Servoy 5.2 where it was missing after deselecting the Database option in the installer
  • Added the ability to specify the database server and data directories and the database server port when installing the bundled PostgreSLQ database 
  • Added the PostgreSQL upgrade module to the bundled PostgreSQL
  • Made installation of Clustering configuration optional for Application Server installations and removed it from the Developer installation 
  • Split the installation of the Service component into two parts: installing the component and setting up the actual service
  • Changed License Agreements text to styled text for better readability
  • Added options to set the HTTP and RMI port in the installer
  • Added warning when trying to install into Program files on Windows
  • Changed the options panel into a tree structure to better resemble dependencies
  • When installing the Application Server, the option "servoy.application_server.startRepositoryAsTeamProvider" is set to false by default

Service component

  • Added support for the Service Component on all platforms (Windows, OSX, *nix)
  • Config has been added to automatically restart the Application Server when OutOfMemory exception occur: the rationale behind the automated restart is that an OutOfMemory exception can severely compromize the stability of the Application Server and the clients it hosts.
  • The default value for the MaxHeapSize has been set to 1Gb
  • On Windows, the startType of the Service has been changed to "AUTO_START"On
  • Windows the Added install_service/uninstall_service.bat/.sh files to install and uninstall the service have been added, to complement the already available uninstall bat fileAdded Install as a service support in OSX and Unixon all platforms (on Windows the existing install_windows_service.bat files was removed)

Public Java API

...