GST 2.50 new features

This publication includes information about new features and changes in existing functionality.

Important:

This page covers only those new features introduced with the GST 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 version.

Important:

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

Corresponding upgrade guide: GST 2.50 upgrade guide.

Previous new features page: GST 2.41 new features

These changes and enhancements are relevant to this publication. See also Migration notes for Version 2.50.

Table 1. General
Overview Reference
Mac® OS support. No further reference.
All build processes are done remotely for remote host configurations, optimizing speed and efficiency of remote builds on slower connections. See Configuring a remote environment.
Configurations are stored on the remote host allowing users to reconnect from another machine with configurations intact. See Migration notes for GST 2.50 upgrade guide.
Improved file compatibility. If you open a file that was saved with a different version of Genero Studio, you can decide how to handle the file. When working in environments with multiple versions of Genero Studio installed, files will open in the appropriate version. See Open from a different version.
Improved Diff tool. Modifications made to a file are shown as annotations, indicating added, modified and removed lines. You can now switch from a single pane view to a dual pane view showing the original file (as it is in the SVN repository for example) and the locally edited file. See Using the Diff tool.
-diff file1 file2 support. Genero Studio opens the given files in diff mode. This option is also integrated in File Browser. See Command line options.
GAS Standalone (httpdispatch) can be automatically started by setting the startup script in the GAS configuration. See Configure for the Web client.
The Environment Variable definition dialog now includes a value list type. See Add or edit environment variables
User documentation has been migrated to XML-based DITA (Darwin Information Typing Architecture). No further reference.
Table 2. Project Manager
Overview Reference
Project Manger extended to support other programming languages.

See Building and linking programs.

A Deploy Project 4pw template (File > New > Genero Files > Deploy Project) creates a directory structure recommended for a project which is to be deployed on the Genero Application Server (GAS). No further reference.
Build Rules dialog and File Associations dialogs are accessible from the Tools menu (Tools > Global setup or Tools > Specific setup) and no longer in Preferences. The global setup overrides the built-in factory setup. It applies to all configuration of a user for the current machine or remote machine. The specific setup overrides the global setup and is specified by setting the GSTSETUPDIR variable in the Genero configuration.

User build rules, template build rules, user and template file associations are also stored on the server and not on the local machine allowing users to reconnect from another machine with build rules intact.

See Migration notes for GST 2.50 upgrade guide
$(tcl) has been deprecated and replaced with tclsh in Business Application Modeling build rules. The tclsh executable generates the final file by using both a Tcl template file and the intermediary XML file created by the $(generate) command. See tclsh.
Standard/error output redirection supported in build rules and user actions. See Add/Edit a build rule.
Table 3. Form Designer
Overview Reference
Graphical Topmenu editor allows for Topmenu editing directly in the form design. See Add a Topmenu to a form.
Improved ergonomics in the Form from Database wizard. Easier to create complex queries and select appropriate fields. Shows foreign key relations and NOT NULL constraints. See Create a form.
New and improved form item properties:
query
A single query property is now used to enter queries instead of several properties.
uniqueKey
Replaces uniqueQueryKey. Instead of having one uniqueQueryKey boolean on each field, one uniqueKey contains the list of unique fields.
See Joins and Data order.
Form properties benefit from a new initializer functionality which can set its value from another property. See Setting properties for form items.
Web components locations are specified with the environment variable GSTWCDIR and are no longer specified in Tools > Preferences (or, if you are on a Mac, > Preferences). Environment set configuration now includes a Web Components set. See GSTWCDIR, Migration notes for GST 2.50 upgrade guide.
Table 4. Business Application Modeling
Overview Reference
New dbapp3.0 template with improved functionality:
  • Properties in Business Application diagram allow for customization of the UI behavior.
  • Cascade delete supported in generated code.
  • Web Services can be generated and provide CRUD operations.
  • Improved architecture based on different layers: ui, webservice, uidata, database.
  • Improved insert, update, delete in the data layer.
  • Improved libdbapp architecture.
  • Dialog modularization used. Declarative DIALOG blocks are now defined as module elements and reused with the SUBDIALOG keyword of procedural DIALOG blocks. (See DIALOG Block Structure in the Genero Business Development Language User Guide.)
  • Centralized actions in the generated code.
  • The business record is checked to confirm that the unique key is defined as a primary key or a secondary key in the database schema.
  • The foreign key database constraint existence is checked.
  • Code generation uses unique constraint instead of unique index.
  • Constraints on the relations of Business Application diagram entities can be defined in the settings.agconf file. Validation is done on the constraints during editing.
  • Added native serial management for Informix® database.
  • Manages concurrent access.
  • New support for business record and form files without a database or a masterTable property set.
  • New relation properties allow for specifying the row position in an opened form and applying a SQL filter while opening a form.
See The default template features

Form behavior in CRUD states

Cascade delete

Add Web services

Add constraints or indexes

Managing SERIALs in a generated application

Managing concurrency

Add Relations
The GSTSETUPDIR environment variable specifies the location of the GST setup directory. Part of this directory includes the Business Application Modeling template files. They are no longer specified in Tools > Preferences (or, if you are on a Mac, > Preferences). Environment set configuration now includes a set for each available template set. See GSTSETUPDIR, Migration notes for GST 2.50 upgrade guide.
Create BA entities in the current view only instead of all views. New BA entities are only visible in the current view and are automatically hidden in the other views. No further reference.
A new Toolbar has been added in the Business Application Modeler. This Toolbar contains all the items defined for the Business Application Modeler in the settings.agconf file. No further reference.
Orphan properties now managed. Templates used in Application Generator define dynamic properties that can be used in objects such as records, form fields, and database objects. Opening a file generated with a template version different than the one set in Application Generator preferences may produce a warning indicating that some properties are not found in the current template definition. New warnings signal that those properties can now be removed using the Tools > Specific setup > Clean orphan properties menu option. See Orphan properties.
Added built-in Find. No further reference.
Improved performance for large 4dbx database meta-schema files. No further reference.
Table 5. Meta-schema Manager
Overview Reference
Enhanced Revert action. A dialog is displayed listing changes made on the selected items in the schema with option to select which changes to revert.

See Revert schema changes dialog.

Database > Diff Schema... option. See Using the Diff tool.
Generate Database Update Script option. The Meta-schema Manager is able to generate a database update script. This script will modify the database according to the changes made in the Meta-schema. Previous version of the tables will be backed up and the data will be migrated to the new tables when applicable.

See Generate a database script from meta-schema.

Improved database creation script. The database creation script now supports Secondary Keys and case sensitivity and has improved support for Oracle® MySQL and SQLite databases.

See Generate a database script from meta-schema.

Improved Locate in Diagram action. See Meta-schema diagram context menu.
Create database objects in the current view only instead of all views. New Meta-schema objects are only visible in the current view and are automatically hidden in the other views. No further reference.

Secondary Keys (also known as Unique Constraints) have been added in the Meta-schema Manager.

See Add constraints or indexes
Global meta-schema files are now specified with the environment variable GSTSCHEMANAMES and are no longer specified in Tools > Preferences (or, if you are on a Mac, > Preferences). Environment set configuration now includes a set for Global Database Schemas. See GSTSCHEMANAMES, Migration notes for GST 2.50 upgrade guide.
Table 6. Graphical Debugger
Overview Reference
Stack frames support, provided Genero 2.50 DVM is used. Navigate the call stack. Data view is automatically updated according to the current frame. See Execution flow.
User variables of type ARRAY or RECORD are displayed in the Data view. Values can be re-assigned for complex types. See Examining data.
Enhanced performance when retrieving and displaying data. No further reference.
Support of signal SIGINT and signal SIGQUIT. See Debugger (fgldb) command prompt.
Table 7. Source Code Management (SCM)
Overview
SVN Blame command support and integration with Code Editor and SVN Lock command with a new view to manage all locks. See Blame and Locking.
Status view optimized for unversioned files. See SVN Status view.
User and password are based on repository. Different users can now connect to different repositories at the same time. No further reference.
Ignore List action now adds to the ignore list of the current directory only, not recursive up to the checkout directory. No further reference.
SCM tasks are properly interrupted to avoid lock on the checkout. No further reference.
Authentication is global to the checkout and is no longer folder based. No further reference.