<?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>AutoUpdater - Version 2007-10-30</title> <meta name="keywords" content="omnis studio, autoupdater documentation" /> <link rel="stylesheet" type="text/css" href="http://www.studiotips.net/css/codedoc.css" /> <link rel="stylesheet" type="text/css" media="print" href="http://www.studiotips.net/css/codedoc_print.css" /> </head> <body> <div id="container"> <p><a href = ../index.html > Autoupdater </a> &nbsp &gt; &nbsp <a href = index.html > About </a> &nbsp &gt; &nbsp Version 2007-10-30</p> <a name="version20071030" /> <h2>Version 2007-10-30</h2> <p>The following is a summary of the changes included in this release.</p> <ol> <li><strong>Quickstart Tutorial</strong> - Added an simple tutorial to make it easier to learn and setup AutoUpdater with your application.</li> <li><strong>Create Package</strong> - 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.</li> <li><strong>Edit Package</strong> - Added new window to make it easier to edit existing packages and upload them.</li> <li><strong>MySQL</strong> - Added support for using MySQL as the files server. Introduced a structure for subclassing <span class="code">oLogon</span> making it easier to implement additonal DAMs.</li> <li><strong>PostgreSQL</strong> - Added support for using PostgreSQL as the files server. Live testing still needs to be done.</li> <li><strong>AutoUpdater Paths</strong> - Added <span class="code">OMNISSTARTUP</span> and <span class="code">USERPREFS</span> to the possible folders where application files can be stored.</li> <li><strong>oAutoUpdater Object</strong> - Figured out a generic way for the <span class="code">oAutoUpdater</span> object to find the <span class="code">AutoUpdater</span> task thereby allowing the object to be copied to the application's main library without modification. Added an <span class="code">mAutoUpdater</span> menu which can be simply be added as a cascading menu to an existing application's main menu with code changes.</li> </ol>The details modifications in the release are listed below. The modifications are compiled from the <span class="code">@MOD</span> tag comments found in the methods of the classes in the library. <a name="details" /> <h3>Details</h3> <p><span class="code">Startup_Task/$isAutoUpdaterTask</span> <span class="moddateby">(2007-10-23 Doug K.)</span><br /> Added $isAutoUpdaterTask method to the Startup_Task so that the oAutoUpdater object can automatically find the AutoUpdater task by sending an $isAutoUpdater.$cando message to each $itask till it finds one.</p> <p><span class="code">Startup_Task/$promptonceLastError</span> <span class="moddateby">(2007-10-23 Doug K.)</span><br /> Added $promptonceLastError method so that the main library can ask the AutoUpdater task to report the last error.</p> <p><span class="code">Startup_Task/$runDemo</span> <span class="moddateby">(2007-10-23 Doug K.)</span><br /> Added method to the Startup_Task for AutoUpdater documentation (uses StudioTips)</p> <p><span class="code">Startup_Task/$updateAutoUpdaterMenuLine</span> <span class="moddateby">(2007-10-11 Doug K.)</span><br /> Added method to be allow the AutoUpdater menu line text to be updated on-the-fly.</p> <p><span class="code">mAutoUpdaterDeveloperMultiApp/$updateMenuLineText</span> <span class="moddateby">(2007-10-12 Doug K.)</span><br /> Added method to allow AutoUpdater to change the menu line text.</p> <p><span class="code">oAutoUpdater/$#About</span> <span class="moddateby">(2007-10-23 Doug K.)</span><br /> Modified the oAutoUpdater object so it can find the AutoUpdater task on its own using $isAutoUpdaterTask.</p> <p><span class="code">oAutoUpdater/$#About</span> <span class="moddateby">(2007-10-23 Doug K.)</span><br /> Modified the oAutoUpdater object so it is a 'visual' object which immediately notifies the user of any errors detected.</p> <p><span class="code">oErrorHandler/retFTPErrorText</span> <span class="moddateby">(2007-09-26 Doug K.)</span><br /> Added method to return the specified FTP error code text for the $logFTPError method.</p> <p><span class="code">oFilesServer_DB/_createTable_serverfile</span> <span class="moddateby">(2007-10-24 Doug K.)</span><br /> Add exception for MYSQLDAM to create the table using MEDIUMBLOB rather than BLOB for the filebinary datatype.</p> <p><span class="code">oFilesServer_DB/_createTable_serverpackage</span> <span class="moddateby">(2007-10-24 Doug K.)</span><br /> Add exception for MYSQLDAM to create the table using MEDIUMBLOB rather than BLOB for the filebinary datatype.</p> <p><span class="code">oFilesServer_DB/_createTable_serverpackage</span> <span class="moddateby">(2007-10-24 Doug K.)</span><br /> Add unique constraint on packagefilename.</p> <p><span class="code">oFilesServer_FTP/$deleteServerFiles</span> <span class="moddateby">(2007-10-12 Doug K.)</span><br /> Fixed the method so that is deletes FTP server files.</p> <p><span class="code">oFilesServer_FTP/$downloadServerFiles</span> <span class="moddateby">(2007-10-11 Doug K.)</span><br /> Bug fix. The PkgName was not being set the first time through the loop and therefore the working directory was not being set.</p> <p><span class="code">oFunctions/$retContainedObjs</span> <span class="moddateby">(2007-03-07 Doug K.)</span><br /> Added objdataname to the objects list.</p> <p><span class="code">oFunctions/$retEnclosedFilesList</span> <span class="moddateby">(2007-10-11 Doug K.)</span><br /> Added FileOps Tool method.</p> <p><span class="code">oFunctions/$retExportFormatsList</span> <span class="moddateby">(2007-10-11 Doug K.)</span><br /> Added FileOps Tool method.</p> <p><span class="code">oFunctions/$retFileOpsErrortext</span> <span class="moddateby">(2007-10-11 Doug K.)</span><br /> Added FileOps Tool method.</p> <p><span class="code">oFunctions/retEnclosedFilesList</span> <span class="moddateby">(2007-10-11 Doug K.)</span><br /> Added FileOps Tool method.</p> <p><span class="code">oLibraryOps_CreateLibrary/checkaddupdateLibraryOpsFile</span> <span class="moddateby">(2007-10-24 Doug K.)</span><br /> Copy the $classdata twice. Save the class each time.</p> <p><span class="code">oLibraryOps_CreateLibrary/checkaddupdateLibraryOpsFile</span> <span class="moddateby">(2007-10-24 Doug K.)</span><br /> If the LibraryOps library is already open, close it, so that it can be recreated is the file was tossed in the trash.</p> <p><span class="code">oLogon/$logon</span> <span class="moddateby">(2007-10-24 Doug K.)</span><br /> Bug fix. Combine the hostname/databasename for FrontBase.</p> <p><span class="code">oLogon_MYSQL/$logon</span> <span class="moddateby">(2007-10-13 Doug K.)</span><br /> Override the $logon method in for MySQL because the $databasename property must be set.</p> <p><span class="code">oLogon_MYSQL/$pingDatabase</span> <span class="moddateby">(2007-10-13 Doug K.)</span><br /> Override the $pingDatabase method in for MySQL and modify to suit.</p> <p><span class="code">oLogon_PGSQL/$logon</span> <span class="moddateby">(2007-10-13 Doug K.)</span><br /> Override the $logon method in for MySQL because the $databasename property must be set.</p> <p><span class="code">oLogon_PGSQL/$pingDatabase</span> <span class="moddateby">(2007-10-13 Doug K.)</span><br /> Override the $pingDatabase method in for MySQL and modify to suit.</p> <p><span class="code">oPaths/retProgramFiles_unix</span> <span class="moddateby">(2007-03-06 Doug K. per Matthias Henze)</span><br /> User getenv() function to calculate the home folder path on Unix platform.</p> <p><span class="code">oPaths/retTempFiles_unix</span> <span class="moddateby">(2007-03-06 Doug K. per Matthias Henze)</span><br /> User getenv() function to calculate the home folder path on Unix platform.</p> <p><span class="code">oPaths/trimPath</span> <span class="moddateby">(2007-07-05 Doug K.)</span><br /> Added new method which trims double quotes off file paths (from Applescript) and trims trailing path delimiters.</p> <p><span class="code">oPreferences/$:ServerInfo</span> <span class="moddateby">(2007-10-11 Doug K.)</span><br /> Changed calculation of FTP server infor to use $:FTPServerAddress rather than $:ServerAddress</p> <p><span class="code">oStartupTaskDefaultMethods/$updateAutoUpdaterMenuLine</span> <span class="moddateby">(2007-10-11 Doug K.)</span><br /> Added method to allow the AutoUpdater menu line to be updated on-the-fly.</p> <p><span class="code">oStartupTaskDefaultMethods/$updateNow</span> <span class="moddateby">(2006-07-05 Doug K.)</span><br /> Set download files list to smartlist and filter out the 'delete' files before deciding whether or not to prompt for updates.</p> <p><span class="code">oUpdater/$uploadSelf</span> <span class="moddateby">(2006-07-05 Doug K.)</span><br /> Added parameter pReleaseNum_opt so that sender can specify the version number for the current date. Previously the version number was the current hour only.</p> <p><span class="code">oUpdaterTools/$checkSourceFileName</span> <span class="moddateby">(2007-10-12 Doug K.)</span><br /> Added method to check the file name for unwanted characters.</p> <p><span class="code">oUpdaterTools/$convertSourceFilePathToTargetFilePath</span> <span class="moddateby">(2007-10-12 Doug K.)</span><br /> Added method to check and convert a sourcefilepath to a targetfilepath.</p> <p><span class="code">oUpdaterTools/$convertTargetFilePathToLocalFilePath</span> <span class="moddateby">(2007-10-12 Doug K.)</span><br /> Added OMNISSTARTUP and USERPREFS to the possible targetfilepath prefixes handled by this method.</p> <p><span class="code">wPackageEditor/checkPackageFilesList</span> <span class="moddateby">(2007-10-13 Doug K.)</span><br /> Added OMNISTARTUP and USERPREFS to the possible prefixes.</p> <p><span class="code">wPreferencesDeveloper/$event</span> <span class="moddateby">(2006-07-05 Doug K.)</span><br /> Added the release number as a parameter sent to oUpdater.$uploadSelf.</p> <p><span class="code">wPromptForUpdates/$setDownloadFilesList</span> <span class="moddateby">(2006-07-05 Doug K.)</span><br /> Set download files list to smartlist and filter out the 'delete' files before displaying the list.</p> <p><span class="code">wPromptForUpdates/installUpdates</span> <span class="moddateby">(2006-06-05 Doug K.)</span><br /> Comment out the OK message which informs the user that the new software has been successfully downloaded and installed. The messages gets annoying and it halts completion of the download, install, and restart.</p> <p><span class="code">wPromptForUpdates/installUpdates</span> <span class="moddateby">(2006-07-05 Doug K.)</span><br /> Unfilter the download files smartlist before sending the list to oUpdater.$downloadandinstallFiles.</p> <p><span class="code">wServerFiles/$#About</span> <span class="moddateby">(2007-10-11 Doug K.)</span><br /> Added radio buttons for 'Show All' and 'Show' Lastest files.</p> <p><span class="code">wServerFiles/downloadSelectedFiles</span> <span class="moddateby">(2007-10-11 Doug K.)</span><br /> The prompt title was not being calculated correctly.</p> <span class="code">wUploadFiles/$eventToTop</span> <span class="moddateby">(2007-10-12 Doug K.)</span><br /> Update the packages list each time the window comes to the front. <p class="footer">AutoUpdater Documentation - Copyright 2006 Vencor Software </p></div> </body> </html>