<?xml version="1.0" encoding="UTF-8"?> <!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>StudioWorks - Version 2008-02-29</title> <meta name="keywords" content="omnis studio, raining data, studioworks documentation" /> <link rel="stylesheet" type="text/css" href="http://www.studiotips.net/css/codedoc.css" /> <link rel="stylesheet" type="text/css" href="http://www.studioworks-dev.net/css/codedoc.css" /> </head> <body> <div id="container"> <p><a href = ../index.html > Sw4 </a> &nbsp &gt; &nbsp <a href = index.html > About </a> &nbsp &gt; &nbsp Version 2008-02-29</p> <a name="version20080229" /> <h2>Version 2008-02-29</h2> <p>This release is a maintenance release. No new features. Just bug fixes and some code cleanup.</p> <ol> <li><span class="nav">Email</span> - Various fixes and enhancements to the <span class="code">oEmail</span> and <span class="code">oWebBrowser</span> objects. <span class="code">oEmail</span> now supports sending HTML content in emails. Attachments should be working. A new <span class="code">$:PingTimeout</span> property which if set to zero <span class="code">oEmail</span> will not attempt to ping the mail server. (Thanks to Mike Matthews and Andy Hilton for their work on these fixes and enhancements!)</li> <li><span class="nav">AutoUpdater Compatibility</span> - Two methods added to the main library <span class="code">Startup_Task</span> for better compatibility with AutoUpdater. (<span class="code">$closeApp</span> &amp; <span class="code">closeLibrariesInFolder</span>). Copy these methods to your main library <span class="code">Startup_Task</span> if you are using or planning to use AutoUpdater.</li> <li>><span class="nav">Missing Toolbars</span> - Fixed a code change in the last release which was causing some toolbars to not appear.</li> </ol> <p>To update to this new release:<br /> <ol> <li>Quit Omnis Studio.</li> <li>Backup your application!</li> <li>Replace your old <span class="file">studioworks</span> folder and contents with the new <span class="file">studioworks</span> folder included with this release.</li> <li>Open your StudioWorks app.</li> <li>If you are using AutoUpdater or planning to, then copy the <span class="code">$closeApp</span> &amp; <span class="code">closeLibrariesInFolder</span> methods from the <span class="code">myAppMain</span> library's <span class="code">Startup_Task</span> to your main library <span class="code">Startup_Task</span></li> </ol></p> Each library and the 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="myappmain" /> <h3>myAppMain</h3> <p><span class="code">Startup_Task/$closeApp</span> <span class="moddateby">(2008-02-06 Doug K.)</span><br /> Added method which can be called by AutoUpdater to close the StudioWorks app and the StudioWorks core libraries.</p> <span class="code">Startup_Task/closeLibrariesInFolder</span> <span class="moddateby">(2008-02-06 Doug K.)</span><br /> Added method to close libraries in a folder and drill down recursively and close libraries in subfolders as well. <a name="swbase4" /> <h3>swBase4</h3> <p><span class="code">oEmail/$:PingTimeout.$assign</span> <span class="moddateby">(2008-02-05 Doug K.)</span><br /> Added method to allow developers to assign the $:PingTimeout value. If timeout is set to zero then this object skips pinging the server.</p> <p><span class="code">oEmail/$initialize</span> <span class="moddateby">(2008-02-05 Doug K per Andy H)</span><br /> Call the method to define the enclosures list on initialization.</p> <p><span class="code">oEmail/$prepareEmail</span> <span class="moddateby">(2008-02-05 Doug K.)</span><br /> Call oWebBrowser $createEmail, rather than $openURL. The $createEmailMethod has the smarts for proper formating, etc.</p> <p><span class="code">oEmail/$retEmptyEnclosuresList</span> <span class="moddateby">(2008-02-05 Doug K.)</span><br /> Added method which returns a defined empty enclosures list.</p> <p><span class="code">oEmail/$sendEmail</span> <span class="moddateby">(2008-02-04 Doug K per Mike Matthews.)</span><br /> Removed XtraHdrsList from the method. It is messing up HTML content and attachments.</p> <p><span class="code">oEmail/$sendEmail</span> <span class="moddateby">(2008-02-04 Doug K per Mike M.)</span><br /> Added Priority and XtraHdrsList parameters to the non-authenticated SMTPSend. Set Priority to default to 3 (normal) instead of 5 (lowest priority)</p> <p><span class="code">oEmail/convertEnclosuresToMIMEList</span> <span class="moddateby">(2008-02-04 Doug K per Mike M.)</span><br /> Added parameter 'base64' to the 'encoding' column value of each attached file added the MIMEList.</p> <p><span class="code">oEmail/convertEnclosuresToMIMEList</span> <span class="moddateby">(2008-02-05 Doug K based on Andy Hilton's code)</span><br /> Added code to check for and add HTML to the email body if rawhtml is included in the enclosures list.</p> <p><span class="code">oEmail/defineEnclosuresList</span> <span class="moddateby">(2008-02-05 Doug K. per Andy H.)</span><br /> Added method to define the enclosures list.</p> <p><span class="code">oEmail/pingSMTPServer</span> <span class="moddateby">(2008-02-05 Doug K.)</span><br /> If the $:PingTimeout property method returns zero then skip pinging the service and return true.</p> <p><span class="code">oWebBrowser/$createEmail</span> <span class="moddateby">(2008-02-05 Doug K.)</span><br /> Added encoding special character so that the subject and body appear correctly in the prepared email message.</p> <span class="code">oWebBrowser/encodeURLSpecialCharacters</span> <span class="moddateby">(2008-02-05 Doug K.)</span><br /> Added method to replace all special characters with ASCII hex escape characters. <a name="swdocs4" /> <h3>swDocs4</h3> No modifications <a name="swgui4" /> <h3>swGui4</h3> <p><span class="code">wBase_ToolbarTitlebar_abstract/$_constructToolbar</span> <span class="moddateby">(2008-02-06 Doug K.)</span><br /> Check the len(iWinsListRow.toolbarvisible) property. If empty default bToolbarVisible to true.</p> <span class="code">wContainer_abstract/$_constructToolbar</span> <span class="moddateby">(2008-02-06 Josh L. as per Doug K.)</span><br /> Check iWinsListRow.toolbarvisible property for empty as well. <a name="swicons4" /> <h3>swIcons4</h3> No modifications <a name="swrefs4" /> <h3>swRefs4</h3> No modifications <a name="swreports4" /> <h3>swReports4</h3> <span class="code">oReportBuilder/$createReportClass</span> <span class="moddateby">(2008-02-04 Doug K. per Josh L.)</span><br /> Fixed the code so that if an X_ report class is found and no instance of it is open, it will get recreated. <a name="swweb4" /> <h3>swWeb4</h3> No modifications <p class="footer">StudioWorks Documentation - Copyright 2005 Vencor Software </p></div> </body> </html>