Sw4   >   About   >   Version 2008-02-29

Version 2008-02-29

This release is a maintenance release. No new features. Just bug fixes and some code cleanup.

  1. Email - Various fixes and enhancements to the oEmail and oWebBrowser objects. oEmail now supports sending HTML content in emails. Attachments should be working. A new $:PingTimeout property which if set to zero oEmail will not attempt to ping the mail server. (Thanks to Mike Matthews and Andy Hilton for their work on these fixes and enhancements!)
  2. AutoUpdater Compatibility - Two methods added to the main library Startup_Task for better compatibility with AutoUpdater. ($closeApp & closeLibrariesInFolder). Copy these methods to your main library Startup_Task if you are using or planning to use AutoUpdater.
  3. >Missing Toolbars - Fixed a code change in the last release which was causing some toolbars to not appear.

To update to this new release:

  1. Quit Omnis Studio.
  2. Backup your application!
  3. Replace your old studioworks folder and contents with the new studioworks folder included with this release.
  4. Open your StudioWorks app.
  5. If you are using AutoUpdater or planning to, then copy the $closeApp & closeLibrariesInFolder methods from the myAppMain library's Startup_Task to your main library Startup_Task

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.

myAppMain

Startup_Task/$closeApp (2008-02-06 Doug K.)
Added method which can be called by AutoUpdater to close the StudioWorks app and the StudioWorks core libraries.

Startup_Task/closeLibrariesInFolder (2008-02-06 Doug K.)
Added method to close libraries in a folder and drill down recursively and close libraries in subfolders as well.

swBase4

oEmail/$:PingTimeout.$assign (2008-02-05 Doug K.)
Added method to allow developers to assign the $:PingTimeout value. If timeout is set to zero then this object skips pinging the server.

oEmail/$initialize (2008-02-05 Doug K per Andy H)
Call the method to define the enclosures list on initialization.

oEmail/$prepareEmail (2008-02-05 Doug K.)
Call oWebBrowser $createEmail, rather than $openURL. The $createEmailMethod has the smarts for proper formating, etc.

oEmail/$retEmptyEnclosuresList (2008-02-05 Doug K.)
Added method which returns a defined empty enclosures list.

oEmail/$sendEmail (2008-02-04 Doug K per Mike Matthews.)
Removed XtraHdrsList from the method. It is messing up HTML content and attachments.

oEmail/$sendEmail (2008-02-04 Doug K per Mike M.)
Added Priority and XtraHdrsList parameters to the non-authenticated SMTPSend. Set Priority to default to 3 (normal) instead of 5 (lowest priority)

oEmail/convertEnclosuresToMIMEList (2008-02-04 Doug K per Mike M.)
Added parameter 'base64' to the 'encoding' column value of each attached file added the MIMEList.

oEmail/convertEnclosuresToMIMEList (2008-02-05 Doug K based on Andy Hilton's code)
Added code to check for and add HTML to the email body if rawhtml is included in the enclosures list.

oEmail/defineEnclosuresList (2008-02-05 Doug K. per Andy H.)
Added method to define the enclosures list.

oEmail/pingSMTPServer (2008-02-05 Doug K.)
If the $:PingTimeout property method returns zero then skip pinging the service and return true.

oWebBrowser/$createEmail (2008-02-05 Doug K.)
Added encoding special character so that the subject and body appear correctly in the prepared email message.

oWebBrowser/encodeURLSpecialCharacters (2008-02-05 Doug K.)
Added method to replace all special characters with ASCII hex escape characters.

swDocs4

No modifications

swGui4

wBase_ToolbarTitlebar_abstract/$_constructToolbar (2008-02-06 Doug K.)
Check the len(iWinsListRow.toolbarvisible) property. If empty default bToolbarVisible to true.

wContainer_abstract/$_constructToolbar (2008-02-06 Josh L. as per Doug K.)
Check iWinsListRow.toolbarvisible property for empty as well.

swIcons4

No modifications

swRefs4

No modifications

swReports4

oReportBuilder/$createReportClass (2008-02-04 Doug K. per Josh L.)
Fixed the code so that if an X_ report class is found and no instance of it is open, it will get recreated.

swWeb4

No modifications