BDL 3.00 new features

Features added in 3.00 releases of the Genero Business Development Language.

Important:

This version of Genero BDL is desupported, use a more recent version of the product.

Important:

This page covers only those new features introduced with the Genero BDL version specified in the page title. Check prior new features pages if you migrate from an earlier version. Make sure to also read the upgrade guide corresponding to this Genero version.

Corresponding upgrade guide: BDL 3.00 upgrade guide.

Prior new features guide: BDL 2.51 new features.

Table 1. Core language
Overview Reference
Attach the debugger to a running program with fgldb -p process-id. See Attaching to a running program.
Improved compilation time (fglcomp and fglform) See Improved compilation time.
Datetime-related utility methods. See util.Datetime.getCurrentAsUTC, util.Datetime.format, util.Datetime.parse.
Date-related utility methods. See util.Date methods.
Interval-related utility methods. See util.Interval methods.
Temporary filename creation with os.Path.makeTempName(). See os.Path.makeTempName.
JSON stringification method to omit NULL elements. See util.JSON.stringifyOmitNulls.
New fglcomp warning for invalid NULL usage in expressions like var==NULL. See Compiler warning -6636.
fglcomp option to avoid source name in the .42m module. See 42m module information.
C Extension runtime stack introspection (parameter type and actual string value size in bytes). See Runtime stack functions.
The fglmkext command line tool can build your C Extension library. See fglmkext.
Table 2. User interface
Overview Reference
Dynamic dialog creation (equivalent of INPUT, CONSTRUCT and DISPLAY ARRAY blocks). See Dynamic Dialogs, ui.Dialog.createConstructByName, ui.Dialog.createInputByName, ui.Dialog.createDisplayArrayTo.
Resizable SCROLLGRID containers (WANTFIXEDPAGESIZE=NO). See WANTFIXEDPAGESIZE attribute.
The ON SORT dialog control block can be used to execute code when the record list is re-ordered by the user. See Sorting rows in a list, Populating a DISPLAY ARRAY, ON SORT block, ui.Dialog.getSortKey, ui.Dialog.isSortReverse.
ON TIMER trigger in dialogs, to execute a block of code at regular intervals. See Get program control on a regular (timed) basis.
Autocompletion in text edit fields with the COMPLETER attribute. See Enabling autocompletion.
Centralization of icon definitions with the FGLIMAGEPATH environment variable. See Providing the image resource, FGLIMAGEPATH, Built-in front-end icons desupport.
Binding structured ARRAYs in DISPLAY ARRAY and INPUT ARRAY. See Structured ARRAYs in list dialogs
Defining an action for IMAGE form items (clickable images). See Defining action views in forms, Image columns firing actions, IMAGE item type.
Detect window resizing or device orientation change with the windowresized predefined action. See Adapting to viewport changes.
Dialog methods to convert the program array row index to the visual index, and the opposite. See ui.Dialog.arrayToVisualIndex, ui.Dialog.visualToArrayIndex.
Providing application image resources to Web Components with ui.Interface.filenameToURI(). See Using image resources with the gICAPI web component, ui.Interface.filenameToURI.
The standard.openFile front call is now supported with GBC. See standard front call support matrix.
The dictionariesDirectory parameter for the standard.feInfo front call can be used to get the directory where spell checker dictionary files can be uploaded. See standard.feInfo front call.
The allowWebSelection style attribute can used to enable items selection with a simple mouse drag. See Table style attributes.
The browserMultiPage style can be used to specify whether the RUN and RUN WITHOUT WAITING instructions will be executed in the same browser tab or in a new browser tab. See UserInterface style attributes.
Upgrade notes for presentations styles. See Presentation styles changes.
Upgrade notes for front calls. See Front calls changes.
Table 3. SQL databases
Overview Reference
Support for PostgreSQL 9.4. See Database driver specification (driver).
Support for SAP® ASE 16.x - Warning: SAP ASE is now desupported in all BDL versions. SAP ASE is desupported in BDL version 4.00.
Support for SQL Server 2008, 2012 and 2014 with FreeTDS driver (using FreeTDS 0.95) See FreeTDS driver supports SQL Server 2008, 2012, 2014.
Maria DB support (V5.5 and V10): Use the dbmmys driver. See MariaDB support.
Support for Microsoft® SQL Server 2016 with SNC 11, ESM and FTM drivers. See Microsoft SQL Server.
Dynamic cursor built-in class base.SqlHandle. See The SqlHandle class.
SQL interruption is now supported with Oracle® MySQL. See Using SQL interruption.
MySQL VARCHAR(N) can be used when N is greater than 255. See MySQL VARCHAR size limit.
MySQL DATETIME can store fractional seconds. See MySQL DATETIME fractional seconds.
Native Oracle NUMBER type (without precision/scale) can be extracted by fgldbsch. See Oracle DB NUMBER type.
Serial emulation based on triggers and sequences with SQL Server 2012 and +. See SERIAL and BIGSERIAL data types.
PostgreSQL connection string option specification in the source parameter. See Database source specification (source), Prepare the runtime environment - connecting to the database.
Upgrade notes for database drivers. See Database drivers changes.
Table 4. Web Services
Overview Reference
IPv6 support for Web Services clients. See Configure a WS client to use IPv6.
Flushing immediately the response of a web service operation with com.WebServicesEngine.flush. See com.WebServiceEngine.Flush.
Base64 / Hexadecimal / Digest methods using a specific character set for string data. See security.Base64.FromStringWithCharset, security.Base64.ToStringWithCharset, security.HexBinary.FromStringWithCharset, security.HexBinary.ToStringWithCharset, security.Digest.AddStringDataWithCharset.
com.WebServiceEngine option server_readwritetimeout to define a server socket read/write timeout. See Web Services changes, WebServiceEngine options.
Specific APIs for Apple® Push Notification Service support. Desupported since V5.00
Methods to perform RESTful requests using files on disk. See com.HttpServiceRequest.readFileRequest, com.HttpServiceRequest.sendFileResponse, com.HttpRequest.doFileRequest, com.HttpResponse.getFileResponse, com.HttpPart.getAttachment, com.HttpPart.CreateAttachment.
FGLPROFILE entries to define XML Signature and XML Encrypted data prefix: xml.signature.prefix and xml.encrypted.prefix. See XML configuration.
SOAP fault handling works now when HTTP error 200 is returned by the server. See SOAP fault handling in client stub.
Client stub multipart supports now optional parts. See Optional multipart handling in client stub.
Upgrade notes for web services. See Web Services changes.
Table 5. Mobile apps
Overview Reference
Command line tools to build mobile apps. See Building Android apps with Genero, Building iOS apps with Genero.
Starting remote applications from a mobile device with the runOnServer front call. See Running mobile apps on an application server.
Push notification APIs for Google Cloud Messaging (GMA) and Apple Push Notification Service (GMI), with new predefined actions (notificationpushed). See Push notifications.
Extended feInfo front call options for mobile devices (deviceModel, deviceId, freeStorageSpace, iccid, imei, ppi, windowSize, and so on). See standard.feInfo.
New materialFABType and materialFABActionList style attributes for Window class, to control the FAB button on devices following material design guidelines. This feature is desupported since version 4.00 Universal Rendering.
Front call to display a box controlling debug settings on GMA. See android.showSettings.
Automatic FGLAPPDIR environment variable (defining the path to the appdir), and automatic FGLDIR environment variable, when executing on mobile devices. See FGLAPPDIR, FGLDIR, Setting environment variables in FGLPROFILE (mobile).
Front calls to take or choose videos on mobile devices. See mobile.chooseVideo, mobile.takeVideo front calls.
Front call to ask user for Android permissions. See android.askForPermission front call.
GMA buildtool --clean option to cleanup the scaffold directory in case of interruption or failure in prior build. See Building Android apps with Genero.
GMA buildtool --no-install-extras option to avoid installation of extras during Android SDK update. See Building Android apps with Genero.
GMI specific style attribute iosTabBarUnselectedColor, to define the color of unselected tab bar elements. Desupported in V4. See Universal Rendering as standard.
GMA specific style attribute androidKeepForeground, to control the app state and the background state notification. See Foreground and background modes, UserInterface style attributes.
Table 6. Experimental features
Overview Reference
Stacked form definition in .per files with the new STACK container, for mobile programming. Desupported in V4. See Universal Rendering as standard.