Troi URL Plug-in release notes

Below you can find the version history, with an overview of what has been changed in the current and previous versions of Troi URL Plug-in.

Troi URL Plug-in versions for FileMaker Pro 10, 11 and 12

Version 3.0 for FileMaker 10, 11 and 12 (October 9th, 2012)

  • Further improved compatiblity with FileMaker Pro 12.
  • The example files are now available in the new .fmp12 format.
  • Added new function TURL_Put. This will perform the PUT method on the server. You can use the PUT method to transfer files or upload data to web servers who support this method.
  • Added new function TURL_Delete. This will perform the DELETE method on the server. You can use the DELETE method to delete items on web servers who support this method.
  • Added the PutDelete.fp7 example file to demonstrate the newly added functionality.
  • Added new example file EasyInstallTroiPlugins.fmp12 (in the FileMaker Pro 12 formatted download only), which contains the plug-ins and can install the plug-in from within FileMaker Pro 12.
  • Corrected a problem with PNG images, which are returned with the TURL_Get and TURL_Post functions.
  • Fixed a bug in the 'unregistered' flash dialog, where in rare cases the dialog would not be dismissed.

Version 2.6.2 for FileMaker 10, 11 and 12 (Sept 3rd, 2012)

  • Made compatible and tested with FileMaker Pro 12.
  • Fixed a problem where the plug-in would not correctly load when running as a server-side plug-in or as a web-side plug-in under FileMaker Server 12.
  • (Windows) Fixed a problem in the TURL_Get and TURL_Post functions, where the switch -TimeoutTicks=xxx would not always work.
  • Added new switch "-GetPluginInstallPath" to the TURL_Version function: This switch will return the path where a plug-in is installed, for example "/Mac HD/Users/User Name/Library/Application Support/FileMaker/Extensions/Troi_URL.fmplugin".

Troi URL Plug-in versions for FileMaker Pro 9, 10 and 11

Version 2.6.1 (for FileMaker 9 through 11) (March 19th, 2012)

  • Made small change to the bundle (on Mac OS X) and FileVersion resource (on Windows) so it now reflects the correct version number.

Version 2.6 (for FileMaker 9 through 11) (March 30th, 2011)

  • Added 3 new (related) functions to make web service authorization and subsequent sending of authorized requests easy. These functions specifically make it very easy to work with a Twitter account and post tweets from FileMaker. The three functions are:
    • TURL_GetAuthorizationURL, which talks with a web service to get an authorization URL. With this URL the user can authorize the plug-in to use this service.
    • TURL_SendAuthorizationPIN, which will send the PIN (obtained while granting access) to the web service to complete the authorization.
    • TURL_SendAuthorizedRequest, which can send requests (like posting a tweet), using the credentials obtained during authorization.
  • Added new TURL_HMACSHA1 function, which calculates a keyed-hash message authentication code (HMAC-SHA1) signature using a (secret) key.
  • Added new TURL_ToURLEncoded function, which URL encodes text (also known as percent-encoding). For example "hello world!" will become "hello%20world%21". See also http://en.wikipedia.org/wiki/Percent-encoding.
  • Improved the TURL_ToHTTP function: added switch "-UpperCaseHex", which will make the encoded string contain only uppercase hexadecimals, like for example %0A (instead of %0a) for the linefeed character.
  • Added "-DontTryWithUserPassword" switch to the TURL_Get and TURL_Post functions. With this switch the plug-in will never try to send a username and password when the web server responds with "401 Authorization Error".
  • (Windows) Fixed a problem in the TURL_Get and TURL_Post functions, where the switch -TimeoutTicks=xxx would not set the correct timeout time.
  • Corrected the path of logs files in the document filemaker-server-side-plug-ins.htm.

Version 2.5 (for FileMaker 9 through 11) (January 20th, 2011)

  • Made compatible with FileMaker Pro 10 and FileMaker Pro 11.
  • Added compatibility with Windows 7.
  • Added two optional paramaters to the TURL_SetProxy function: ProxyUserName and ProxyPassword. Some proxy servers require separate authentication, which you can now supply with these parameters.
  • Improved the TURL_Get and TURL_Post functions to better support the proxy server credentials like username and passwords.
  • Troi URL plug-in is now compatible to run under FileMaker Server. The plug-in now creates log files when running under FileMaker Server to make troubleshooting installing easier and to provide feedback regarding errors and registration status.
    Note that if some functionality can't run under FileMaker Server or under the Web Engine it will now return error code: $$-4251. This entails the functions which use GUI, like for example show a dialog. Note that the progress dialog in the TURL_Get and TURL_Post function is automatically disabled. Also please note that you need a special Server/WebEngine license to use this plug-in on FileMaker Server. See our web site for details.
  • Completely rewrote the code for handling images which are returned with the TURL_Get and TURL_Post functions:
    • Improved the speed and reliability of getting images.
    • Fixed a problem where some images would not be recognized as JPEG or some valid JPEG images would return the error code $$-4247 (kErrInvalidImageType).
    • Added extra sanity checks for images that are corrupt or invalid. If this is the case error $$-4247 is returned. This can prevent FileMaker from hanging on the invalid image.
    • Fixed a bug which could lead to a possible memory related error, while getting PNG images.
  • Added new switch to TURL_Version: -UnregisterPlugin. This will remove the registration data. The plug-in will be in an unregistered state after this. See the "Temporary Register Troi URL Plug-in" script in the file RegiFunc.fp7 for an example use.
  • Added the plug-in's version number to the description in FileMaker's preference pane.
  • Added new TURL_VersionAutoUpdate function. The TURL_VersionAutoUpdate function is part of an emerging standard for FileMaker plug-ins of third party vendors of plug-ins. The version number is returned in the format aabbccdd where every letter represents a digit of the level, so versions can be easily compared.
  • Updated the User Guide and Overview.fp7 file. Also added new function TURL_VersionAutoUpdate and missing switches like "-ExtraImageCheck".
  • Improved code in several places, improved example files and fixed several smaller bugs.

Troi URL Plug-in versions for FileMaker Pro 9, 8 and 7

Version 2.0.3 (for FileMaker 7, 8 and 9) (August 4th, 2008)

  • Added new switch "-AlwaysSendUserPassword" to the TURL_Get and TURL_Post functions. This will make the plug-in to directly send the username and password even when that might not be necessary.
  • (Mac OS X) Improved the TURL_Post function: added switch "-Encoding=ISO_8859_1" to be able to specify the ISO latin 1 data for the POST data encoding.
  • (Windows) Improved the TURL_Post function: Changed the default encoding from "-Encoding=ASCII_Mac" to "-Encoding=UTF8". This encoding is now used for the POST data if you don't specify an "-Encoding=..." switch.
  • (Mac OS X) Improved the TURL_Post function: improved the encoding with switch "-Encoding=UTF8".
  • (Windows) Improved the TURL_Post function: added workaround, where from some servers and in some circumstances the HttpSendRequest would be issued three times.
  • (Windows) Added new switch "-AllowAnyRootCertificate", which can be added to HTTPS TURL_Get and TURL_Post functions. When you get the error code $$12045 you can add this switch to allow root certificates from unrecognized certification authorities. Note that this is less secure.
  • (Windows) Fixed a problem with certificates from unrecognized certification authorities, when using HTTPS in the TURL_Get and TURL_Post functions. The plug-in now returns an error code, most likely $$12045 (Certificate authority is invalid) instead of an empty result.
  • (Mac OS X) Fixed a problem where the plug-in would not load on Mac OS X 10.3.9.
  • (Mac OS X) Fixed a problem where the plug-in could return error code $$-9876 (eventLoopQuitErr), when calling the TURL_Get or TURL_Post function just after opening a new FileMaker window.
  • Set the user agent for the browser to "Troi URL Plug-In 2.0"
  • Updated the FillForm.fp7, to include a script with a long timeout.
  • Updated the User Guide and Overview.fp7 file.

Version 2.0.2 (for FileMaker 7, 8 and 8.5) (November 7th, 2006)

  • (Windows) Fixed a problem where after installing Internet Explorer 7 (Release Candidate 1) the plug-in would return an error of $$87.
  • (Windows) When using the TURL_Post function with the -NotEncoded switch: the plug-in now no longer adds "Content-Type: application/x-www-form-urlencoded" to the headers.
  • (Mac OS X) Added "-DontAutoRedirect" switch for the TURL_Get and TURL_Post function.
  • (Mac OS X) Added "-AllowAnyRootCertificate" switch which can be added to HTTPS TURL_Get and TURL_Post functions. This switch will allow root certificates from unrecognized certification authorities. Note that this is less secure.
  • Added user interface for explicitly setting a proxy in the example file "FillForm.fp7".
  • Corrected wrong field for the -NotEncoded switch on the layout of the example file "FillForm.fp7".
  • Fixed a problem in the example files "GetPage.fp7" and "GetImages.fp7". The button "Set proxy server" now executes the correct script.
  • (Windows) Changed the error code returned when a timeout occurs: instead of $$12002 the plug-in now returns $$-4230, as on Mac OS X.
  • Changed name of user guide to be more clear for which plug-in it refers to.

Version 2.0.1 (for FileMaker 7, 8 and 8.5) (August 22nd, 2006)

  • Added the new function TURL_GetLastProperties, which returns information about the last image downloaded. You can ask for image type, width and height. Also fixed a bug in the windows version
  • (Windows) Fixed bug in TURL_GetLastProperties.
  • Improved the GetImages.fp7 example file.
  • Added a consistency check for missing resources. The plug-in will now notice missing resources for example after being incorrectly zipped or tarred.

Version 2.0b2 (for FileMaker 7, 8 and 8.5) (August 2nd, 2006)

  • Fixed a bug where after disabling and re-enabling the plug-in not all the functions of the plug-in would be available.
  • (Windows) Fixed a problem with not using implicit ports, like www.test.com:8080
  • (Mac OS X) Fixed a problem where the plug-in would not work after using the AutoUpdate feature of FileMaker Server.

Version 2.0b1 (for FileMaker 7, 8 and 8.5) (July 21st, 2006)

  • First public beta for FileMaker Pro 8.5. On Mac the plug-in is now an Universal plug-in which runs on PowerPC-based and on Intel-based Macs.
  • Added "-ExtraImageCheck" switch to the TURL_Get and TURL_Post functions. This will make the plug-in do extra checking on the returned data if the data might be a image after all even if the images on the web site doesn't have a .png or .gif extension.
  • Added new function: TURL_GetLastProperties, to retrieve the last image properties: image type, image height and width.
  • Added switch -ReturnDataAfterError to TURL_Get and TURL_Post functions. This will return the error code followed by the data. Useful for debugging when partial data is returned.
  • (Mac OS X) the "-Portnumber =xxx" switch now also works in TURL_Post.
  • The plug-in now recovers better from some errors in the TURL_Get and TURL_Post functions.
  • Made the plug-in functions also visible in Custom Functions.
  • Improved file type checking for images, especially GIFs, in the TURL_Get and TURL_Post functions.
  • Improved error handling in the TURL_Get and TURL_Post functions.
  • Added sanity checks to the TURL_Get and TURL_Post functions. The plug-in now checks if returned images are corrupt or invalid. If this is the case error $$-4247 is returned. This can prevent FileMaker from hanging on the invalid image.
  • (Mac OS X) Fixed a bug in the TURL_Get and TURL_Post functions, where with some long URLs would return with error code $$-2131.

Version 1.8.3.1 (for FileMaker 7 and 8) (July 31st, 2006)

  • Fixed a bug where after disabling and reenabling the plug-in not all the functions of the plug-in would be available.

Version 1.8.3 (for FileMaker 7 and 8) (July 20th, 2006)

  • Made the plug-in's functions also visible in Custom Functions.
  • (Mac OS X) the "-Portnumber =xxx" switch now also works in TURL_Post.
  • The plug-in now recovers better from some errors in the TURL_Get and TURL_Post functions.
  • (Mac OS X) Fixed a bug in the TURL_Get and TURL_Post functions, where with some long URLs would return with error code $$-2131.
  • TURL_Post: Added forgotten "theData" parameter in external list in the calculation dialog box. it now shows correctly as: "TURL_Post( switches ; theURL ; theData )".
  • Updated the FillForm.fp7 example file, to reflect changes to external web pages.
  • Cleaned up code in several places and prepared for Universal version. Also prepared registration handling for next release.

Version 1.8.2 (for FileMaker 7 and 8) (February 6th, 2006)

  • Added new function: TURL_SetProxy. This gives you an explicit way to set a proxy server.
  • Added switch to TURL_Post: "-NotEncoded". This switch will send the post data without any encoding for "www-form-urlencoded".
  • (Mac OS X) Fixed a memory leak in TURL_Get and TURL_Post, which could return error code $$24 and eventually lead to a crash.
  • (Windows) Improved proxy handling code on Windows.

Version 1.8.1 (for FileMaker 7 and 8) (October 15th, 2005)

  • (Mac OS X) Cookies and Custom-Headers are now set properly.
  • (Windows) Cookies and Custom-Headers can now be set on Windows too.
  • Improved handling of HTTP errors and JPEGs.
  • Added user guide and updated Overview.fp7.
  • Added support to get GIF images from the web into a container field.

Version 1.8 BETA (for FileMaker 7) (August 30th, 2005)

  • Converted to new Function API of FileMaker Pro 7.
  • Added support to get JPEG images from the web into a container field.

NOTE Most functions now fully support Unicode, however there are some exceptions. Please read the FileMaker Pro 8 conversion note for more information on this and conversion to Troi URL Plug-in 1.8. Go to the FileMaker 8 Conversion Note


Troi URL Plug-in versions for FileMaker Pro 6

1.2 (August 10th, 2004)

  • (Mac OS) Added support for customizing the header sent to web servers on Mac OS and Mac OS X, through the new TURL-SetCustomHeader function. This allows you to set the content-type too: for example "Content-type: text/html" or "Content-type: text/xml". Added DRAFT layout for this in the GetPage.fp5 file.
  • Added -ExtraCRLFafterData switch to the TURL-Post function. This allows you to add CRLF at the end of the data.

IMPORTANT Changed behavior: On Windows the TURL-Post function would add an extra CRLF at the end of the data it sends to the web server. This caused problems with some web servers. Starting with this version of the plug-in this extra CRLF is no longer added. Please use the -ExtraCRLFafterData switch if you need the CRLF at the end.

  • (Mac OS) Improved correct display of dialog messages, like when the plug-in has stopped working. Also moved resources to a range not affected by the FileMaker application.
  • When you specify a too long timeout value in the TURL-Post and the TURL-Get function, the plug-in now returns $$-4239, indicating the timeout is too big.
  • Added documentation on checkboxes and radiobuttons in the TURL-Post function.
  • Improved the FillForm.fp5 example file, to use the custom headers if necessary.
  • (Mac OS) fixed a bug, when a web page is not available on the web server. Instead of an empty page the error code 404 is now returned.
  • Fixed an error in the TURL-Get and TURL-Post function where the switch "-TimeoutSecs=301" (or bigger) would result in an inaccurate error code kErrPortNrOutOfRange ($$-4228) instead of kErrTimeOutOutOfRange ($$-4239).

1.1 (April 1st, 2003)

  • (Mac OS) Added support for cookies on Mac OS and Mac OS X, through the new TURL-SetCookies function. On Windows cookies are handled automatically.
  • (Windows) Changed implementation. Troi URL Plug-in now supports HTTPS and cookies on Windows.
  • (Mac OS X) Fixed a bug which could crash FileMaker, if the URL did not exist and the progresss dialog was shown.
  • (Windows) Fixed a problem where the plug-in would not return all data for a password protected web page.

1.0.1 (November 11th, 2002)

NOTE The Mac OS Plug-in has not changed. Version 1.0.1 of the Mac OS plug-in is the same as the 1.0 version. We changed the version number to keep in sync with the Windows version.

  • (Windows) Fixed a problem where the plug-in would always return with a timeout error code $$-4230 for certain URLs. The web servers of these URLs used chuncked encoding. We improved support for this encoding. Furthermore the extra length bytes at certain points in the returned HTML are now removed.
  • (Windows) When an authorisation error occurs the plug-in now returns $$-30776 (URLAuthenticationError) , instead of showing the error page from the browser itself.
  • (Windows) When a timeout occurs the plug-in now always returns error code $$-4230, instead of $$-3259 in some cases.
  • Added "For Solution developers" folder, with information about distributing this plug-in.

1.0 (October 28th, 2002)

  • Added support for Proxy servers on Windows.
  • Added TURL-ToHTTP, which can encode text in to HTTP format.
  • Added TURL-SetUserAgent, which can customize the text of the User Agent, so the plug-in can pretend to be a browser.
  • Added TURL-SetProgressText, which can customize the text of the progress dialog box (Mac OS only).
  • On Mac OS and Mac OS X long GET and POST operations now can be cancelled with an ESC or a Command-Period.
  • Changed the default timeout to 15 seconds.
  • If there is no protocol at the beginning of an URL, the plug-in now adds "http://" before it.

0.9b2 (September 23rd, 2002)

  • Added TURL-SetPassword and TURL-SetUserName function.
  • Added -NoDialog switch to TURL-Get and TURL-Post functions. (progress dialog is Mac only at the moment).
  • Added "All URL Example.fp5" file.
  • Added DRAFT of User Guide.
  • Fixed a bug with too long URLs (>1000 characters), which could crash FileMaker, instead of return an error. Now URLs up to 64000 char long are supported. Should be enough.

0.9b1 (Augustus 13th, 2002)

First public beta release