Sw4   >   About   >   Version 2013-01-31

Version 2013-01-31

This is a minor release with various bug fixes and minor enhancements.

Warning

Release 2012-02-29 basically fixes the Memory Leak caused by lists in Omnis Studio. It is recommended that that update be applied and tested before this one.

To update to this new release:

  1. Quit Omnis Studio.
  2. Backup your application!
  3. Replace the studioworks folder.
  4. Open your application and test.
  5. If you hit any snags, email me a zip of your application with instructions on when and where you are running into problems.

Each library and the modifications in the release are listed below. The modifications are compiled from the @MOD tag comments found in the methods of the classes in the library.

Warning

This release and all future StudioWorks releases require Omnis Studio 5.x or greater

swBase4

oErrorHandler/_writeToDatabase (2012-05-15 Josh L.)
Added this chunk of code to try getting the current date time from the database to use as the insdatetime value for the error rows.

oExportImportData/$importReturnList (2012-05-24 Josh L. as per Andy H.)
Pass in the delimiter character to the method call that has been updated as per Andy Hilton to allow the delimiter to be specified.

oFunctions/$retDBMSVendorFromDAMName (2012-05-15 Josh L.)
Created this method as a translator between the DAMName (used in session methods objects) and the DBMS Vendor (used in oTableClassMethods objects).

oFunctions/$retListFromTextString (2012-05-24 Josh L. as per Andy H.)
Enhancement to use any passed in character as a delimiter. Also ignores delimiters inside quoted text.

oMetaDataQueryCol_Model/syncColumnsForSQLClass_full (2012-05-24 Josh L. as per Andy H.)
When exiting the while loop, check the flag to determine whether to continue.

oMetaDataSchemaCol_Model/$initialize (2012-04-03 Josh L. as per Birger R.)
Removed the duplicated 'Do method retDefinedDataList Returns iDataList' method call.

oObservers/$notify (2012-04-18 Josh L.)
Added error handling so that they will get reported by the originating method.

oSecurity_DBAccessor_abstract/$updateUser (2012-03-22 Josh L. as per Doug K.)
Changed the Tablename Usr to usr.

wSQLMetaDataSchemaClassEditor_View/$construct (2012-08-08 Josh L as per Will A.)
Add a Data Observer to the window so that changes are realized. I also removed the extra 'r' from the object name.

wSQLMetaDataSchemaColsEditor_View/$event (2012-04-03 Josh L. as per Doug K.)
Added the lines to assign the metadatafkeychangedmoddatetime so that the Query Builder works properly recalculating the extra query text.

swDocs4

No modifications

swGui4

oConcretizer/addLookupFieldEditButton (2012-03-28 Josh L.)
Added to get rid of the black background on auto-generated buttons.

oFieldHandlerLookupTypeAhead/setMainListValues (2012-06-20 Josh L.)
Introduce FlagOK for error handling and passing the errors out of the called methods.

oFieldHandlerPropertiesList/setLookupProperties (2012-05-28 Josh L.)
Changed pfFieldPropsList.lookupcolname to pfFieldPropsList.lookupmaincolname because sometimes the lookupcolname is not set.

oMenus/$installMainMenu (2013-01-16 Josh L. as per Will A.)
Redraw the menus after removing one so the correct menus show up.

oPrompts/$promptHeadedList (2012-10-25 Josh L.)
Destruct and Construct the iList because it is being calculated from an parameter and is an instance variable. Do the same for the parameter in the reverse calculation.

oPrompts/$promptHeadedList_NoSort (2012-10-25 Josh L.)
Destruct and Construct the iList because it is being calculated from an parameter and is an instance variable. Do the same for the parameter in the reverse calculation.

oWindowInstancesListEditor_Controller/$openWinInstClassMethods (2012-04-18 Josh L.)
Allow the developer to Alt / Option Click Open Window Instance and open to the first overriden class method.

oWindowMenus_Model/$recalcLanguageText (2012-03-21 Josh L. as per Will A.)
Added Return FlagOK to the method calls and the If not(FlagOK) break ... blocks.

oWindowMenus_Model/$recalcLanguageText (2012-03-21 Josh L. as per Will A.)
Added an End If line so even if the optional vars aren't passed in, an attempt to translate is still made.

wBase_abstract/$updateActiveCmnds (2012-10-25 Josh L.)
destruct the active cmnds list before returning it as this method can be called numerous times during the life of an instance.

wComplexGrid_abstract/$fetchNextBatch (2012-05-16 Josh L.)
Changed Do irMoreButton.$enabled.$assign(kFalse) to Do irMoreButton.$enabled.$assign(kTrue) as there are still more records to fetch.

wContainer_TabEdit_abstract/$newRecordCopy (2012-06-20 Josh L.)
Changed the name of the method to $newRecordCopy from $newCopyRecord to match up with the method call from wList_autoconfig

wContainer_abstract/$updateActiveCmnds (2012-10-25 Josh L.)
Destruct the active cmnds list before defining it as this method can be called numerous times in the life of an instance.

wEdit_abstract/$control (2012-06-20 Josh L.)
Report the errors, then drop the event.

wEdit_abstract/$displayLookupFieldDropList (2012-07-23 Josh L.)
Changed the pfLookupField.$enabled to pfLookupfield.$fieldstyle<>'swField_displayonly' so lookup fields with the click decorator will display the droplist

wHeadedList_autoconfig/$event (2012-08-08 Josh L.)
Added error checking for the events already in this method.

wHeadedList_autoconfig/$event (2012-08-08 Josh L. as per Andy H.)
Added event handling for changing the display order.

wHeadedList_autoconfig/resizeTotals (2012-08-08 Josh L. as per Andy H.)
Added code to get the displayed column list from the list object as it may not be the same as the defined list since users can reorder them.

wHeadedList_autoconfig/resizeTotals (2012-08-08 Josh L. as per Andy H.)
Added a block of code to calculate the sizes list based on the order of the columns in the displayed list if the users can reorder the columns.

wHeadedList_autoconfig/saveUserPropertiesList (2012-08-08 Josh L. as per Andy H.)
Save the current column display order in the window properties.

wHeadedList_autoconfig/setListProperties (2012-08-08 Josh L. as per Andy H.)
Allow users to reorder the columns in a displayed list.

wList_autoconfig/$control (2012-04-18 Josh L.)
Added error handler code for this method to prompt any errors related to the handled events.

wShell_Lookup/$destruct (2013-01-15 Josh L.)
Execute the inherited method

wToolbar/$setActiveCmnds (2012-10-25 Josh L.)
Destruct the active cmnds list before recalculating it.

wWindowInstancesListEditor_View/$event (2012-04-18 Josh L.)
Allow the developer to Alt / Option Click Open Window Instance and open to the first overriden class method.

wWindowInstancesListEditor_View/openWindowCurrWinInstClassMethods (2012-04-18 Josh L.)
Allow the developer to Alt / Option Click Open Window Instance and open to the first overriden class method.

swIcons4

No modifications

swRefs4

No modifications

swReports4

oReports/saveReportPropertiesRow (2012-05-11 Josh L.)
The Refs Row is getting saved multiple times because $setDefaults sets the primary key for the row, and Refs doesn't find a row to update.

rReport_abstract/$_findaddalignObj (2012-04-18 Josh L.)
The Fieldstyle property is not being transfered over in the calculation from the Template.

swWeb4

oDeleteTempHTMLFilesTimer/deleteOutdatedTempFiles (2012-05-24 Josh L. as per Andy H.)
Modified Date Time should be in the past, not the future.

oHTMLDataBroker/$retSearchCriteriaStringRecords (2012-10-16 Josh L.)
is a way to deal with column names of the type <tablename>.<columnname> by removing the tablename part.

oHTMLDateStringParse/_calcDateVarFromParseRowVar4Cols (2012-12-13 Josh L.)
Added this method to calculate the date from timestamps

oHTMLDateStringParse/calcDateVarFromParseRowVar (2012-12-13 Josh L.)
Allow this method to parse out timestamps.

oHTMLTools/$_retDefinedListFromXMLString (2012-10-15 Josh L.)
Added a protected access method for the private methods so they can be accessed in inherited versions of this object.

oHTMLTools/$_retEnclosedFilesList (2012-10-15 Josh L.)
Added a protected access method for the private methods so they can be accessed in inherited versions of this object.

oHTMLTools/$_retEntryFieldHTML (2012-10-15 Josh L.)
Added a protected access method for the private methods so they can be accessed in inherited versions of this object.

oHTMLTools/$_retLookupSelectListHTML (2012-10-15 Josh L.)
Added a protected access method for the private methods so they can be accessed in inherited versions of this object.

oHTMLTools/$_retPropertiesList (2012-10-15 Josh L.)
Added a protected access method for the private methods so they can be accessed in inherited versions of this object.

oHTMLTools/$_retRefsLookupSelectListHTML (2012-10-15 Josh L.)
Added a protected access method for the private methods so they can be accessed in inherited versions of this object.

oHTMLTools/$retSpecialMenuHTML (2012-11-12 Josh L.)
Added this method to enable special menu items.

oHTMLTools/retLookupSelectListHTML (2012-08-15 Josh L.)
Use the colslist lookupsqlclassname rather than trying to find the "default" one for the base schema.

oHTMLTools/retLookupSelectListHTML (2012-10-17 Josh L.)
use the decorator type to determine whether it is supposed to be display only. Also use the display only parameter (otherwise it isn't display only) because the entry field code doesn't check the decorator type and only goes by the parameter.

oList_autoconfig/$_retListAutoConfig (2012-11-12 Josh L.)
Added code to create a special menu if there is one in the metadata.