Autoupdater   >   About   >   Version 2008-01-15

Version 2008-01-15

The following is a summary of the changes included in this release.

  1. Quickstart Tutorial - Added a simple tutorial to make it easier to learn and setup AutoUpdater with your application.
  2. Package Builder/Editor - Added a new window to make it much easier to create and upload a new package with the package's files to the files server.
  3. PostgreSQL - Added support for using PostgreSQL as the files server. Introduced a structure for subclassing oSession and oSQLText making it easier to implement additonal DAMs.
  4. AutoUpdater Paths - Added OMNISSHARED, OMNISSTARTUP, USERAPPPREFS, USEROMNISPREFS, and XCOMP to the possible folders where application files can be stored.
  5. External Components - Added support downloading, installing, and updating external components.
  6. Environment Variables - Added the ability to specify Omnis Studio version, unicode vs. non-unicode, and platform (Mac OS X, Win, Linux) for each file type.
  7. Zip Files - Added support for unzipping zip files on Mac OS X. This was done for Mac OS X external components.
  8. Desktop Alias - Automatically create an alias (Mac OS X only) on the user's Desktop when ever the AutoUpdater library is self updated.
  9. Local DB Files Server - Added support to allow a System Administrator to setup and update a database file server on a company network where the local area network users would get their updates, rather than from the master files server administered by the developer.
The details 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.

Details

@10 AutoUpdater/@00 About (2008-01-14 Doug K.)
Updated documentation for the new release which includes support for platform, unicode, Omnis Studio version number.

@10 Local Files Server/@00 About (2007-12-17 Doug K.)
Added documentation for clients with a system administrator that wishes to run their own local files server.

@10 Programmer Notes/@00 About (2007-12-10 Doug K.)
Added Programmer notes as much for myself as for other developers.

@15 Quickstart Tutorial/@00 About (2008-01-14 Doug K.)
Updated the Quickstart tutorial for the new release of AutoUpdater.

@17 Adding AutoUpdater to Your App/@00 About (2008-01-14 Doug K.)
Updated the 'Adding AutoUpdater to your App' section for the new release of AutoUpdater.

@21 Technical Documentation/@00 About (2008-01-14 Doug K.)
Updated the Technical Documenation section for the new release of AutoUpdater.

oErrorHandler/$logSQLError (2007-11-30 Doug K.)
Added $errorcode and $errortext to the error message details as they can be different than $native... errors.

oErrorHandler/$logSQLError (2007-12-13 Doug K.)
Removed $statementobject from the notation. (was accidentally copied from tBase $sqlerror method)

oErrorHandler/$setDatabaseSession (2007-11-27 Doug K.)
Check the colcount in the database and sync if it doesn't match so that added columns are automatically added to the database.

oFilesServer_DB/retServerFilesList (2007-12-10 Doug K.)
Simplify the oFilesServer objects by removing parse server file name code from the object. Parsing the server file name is the responsibility of the oUpdater object.

oFilesServer_DB/retServerPackagesList (2007-12-10 Doug K.)
Simplify the oFilesServer objects by removing parse package file name code from the object. Parsing the package file name is the responsibility of the oUpdater object.

oFilesServer_FTP/$retServerFilesList (2007-12-10 Doug K.)
Simplify the oFilesServer objects by removing parse server file name code from the object. Parsing the server file name is the responsibility of the oUpdater object.

oFunctions/retEnclosedFoldersList (2007-12-17 Doug K.)
Added FileOps Tool method.

oPaths_autoupdater/$:PathApplicationsFolder (2008-01-02 Doug K.)
Added method which returns the path to the 'Program Files' or 'Applications' directory, based on the operating system.

oPaths_autoupdater/$:PathOmnisStudioFolder (2007-12-20 Doug K.)
Add sys(215) for Vista.

oPaths_autoupdater/$:PathOmnisXcompFolder (2007-12-06 Doug K.)
Add method to return the file path for 'xcomp' folder.

oPaths_autoupdater/$:PathProgramFilesFolder (2008-01-02 Doug K.)
Added method which returns the path to the 'Program Files' or 'Applications' directory, based on the operating system.

oPaths_autoupdater/retApplicationsOrProgramFilesFolderPath (2008-01-02 Doug K.)
Added method which returns the path to the 'Program Files' or 'Applications' directory, based on the operating system.

oSessionMethods_base/setUniqueSessionName (2007-12-13 Doug K.)
If the sessionname is empty use the first 5 letters of the damname + the first 7 letters of the database name. Use the rpos() function which was introduced in Omnis Studio v4.1

oUpdater/$retServerFilesList (2007-12-11 Doug K.)
Make oUpdater responsible for adding display text columns to the server files list.

oUpdater/$uploadPackage (2007-12-13 Doug K.)
Moved responsibility for parsing the packagename and packagefilename from oFilesServer objects to oUpdater.

oUpdater/$uploadSelf (2007-12-04 Doug K.)
Remove ReleaseNum and use timestamp for the release date/time.

oUpdater/$uploadSelf (2007-12-10 Doug K.)
Moved calculation of the sever file name and package file name to oUpdater so that file name calculations are in one place.

oUpdater/createTempAutoUpdaterLibrary (2007-12-25 Doug K.)
Copy the system classes before copying the GUI classes so that fieldstyles don't get messed up.

oUpdaterTools/$convertTargetFilePathToLocalFilePath (2007-12-06 Doug K.)
Added XCOMP to the possible targetfilepath prefixes handled by this method.

oUpdaterTools/$parsePackageFileName (2007-12-04 Doug K)
Added 'minutes' to the release hour to make it easier for issuing more than one release in an hour.

oUpdaterTools/$parseServerFileName (2007-12-04 Doug K)
Added 'platform' option for indicating any platform specific files, return via field ref parameter 'pfRetPlatformString'. Added 'minutes' to the release hour to make it easier for issuing more than one release in an hour.

oUpdaterTools/$retDefinedServerFilesList (2007-12-04 Doug K.)
Added 'platform' column to the server files list definiton. ('sServerFiles_listdef')

oUpdaterTools/$retReleaseDateTimeString (2007-12-04 Doug K.)
Remove the release hour parameter and just use timestamp parameter. Rename the method from $retReleaseDateString to $retReleaseDateTimeString

oUpdaterTools/parseEnvironmentString (2007-12-06 Doug K.)
Add method to parse the environment string.

oUpdaterTools/parseFileNameString (2007-12-05 Doug K.)
Modify the method to include the minutes and seconds of the release date/time string.

oUpdaterTools/parseFileNameString (2007-12-06 Doug K.)
Modify the method to parse the environment string.

oZipUnzip/$#About (2007-12-12 Doug K.)
Created object class to provide crossplatform support for zip and unzip of files.

oZipUnzip/zip_macosx (2007-12-13 Doug K.)
Include the orginal file extension in the zip file name so that the original file name and extension can be extracted from the zip file name.

tBase/$sqlerror (2007-11-30 Doug K.)
Added $errorcode and $errortext to the error message details as they can be different than $native... errors.

wPackageBuilderEditor/$#About (2007-12-04 Doug K.)
Removed release date and release hr fields. No longer needed as uploaded now use the current timestamp. Two less things for the developer to have to worry about.

wPackageBuilderEditor/loadPackageListFromLocalFile (2007-12-04 Doug K.)
Remove hour and release date ivars. Now just using current timestamp when uploading.

wPackageBuilderEditor/promptUploadFilesAndPackage (2007-12-04 Doug K.)
Removed hour parameter and iReleaseDate parameter. Just use the timestamp for the release.

wPackageBuilderEditor/uploadFiles (2007-12-04 Doug K.)
Drop use of release hour and switch to using the current timestamp for the release date/time string.

wPackageBuilderEditor/uploadPackage (2007-12-04 Doug K.)
Removed hour parameter and iReleaseDate parameter. Just send #D as the timestamp for the release.

wPreferencesDeveloper/$event (2007-12-04 Doug K.)
Use timestamp instead of release number simplifying things for the developer.

wPreferencesDeveloper/uploadSelf (2007-12-04 Doug K.)
Use timestamp instead of release number simplifying things for the developer.

wUploadFiles/$#About (2007-12-04 Doug K.)
Removed release date and release hr fields. No longer needed as uploaded now use the current timestamp. Two less things for the developer to have to worry about.

wUploadFiles/$construct (2007-12-04 Doug K.)
Add columns for setting the optional 'platform' specifiers.

wUploadFiles/uploadFiles (2007-12-11 Doug K.)
Moved responsibility for setting the packagename and serverfilename to oUpdater.