Carsten Blüm: Mac Development
Pashua Version History
Application description
0.9.4 (05/30/2007)
- New GUI element date for choosing date and/or time
- New attribute disabled for any elements with the exception of image and text
- Example shell script: Fixed missing quoting of paths with spaces
- Example Tcl script: Corrected variable names
0.9.3.1 (02/28/2006)
- Changed return values to conform to Pashua's behaviour before 0.9.3: buttons and checkboxes return 1 when clicked / checked and 0 if not clicked / checked, read-only elements (line, text) do not return anything any longer.
0.9.3 (01/16/2006)
- Important: Syntax change in the configuration string: Window attributes now have to be specified using an asterisk (*) as a dummy element name. Moreover, the attribute name for the window title was changed from windowtitle to title.
- New window attribute "floating": When using "*.floating = 1", the window will float above other windows.
- New window attributes "x" and "y": Using "*.x = [number]" and "*.y = [number]", the window will open at the specified x / y position
- Absolute positioning of any elements using new attributes "x" and "y". The window will resized as required.
- Relative positioning of any elements (except buttons) using new attributes relx and rely.
- Due to the new positioning features, text (element type text) no longer fits the window width automatically.
- More syntactical checks and better error messages
- Better shortening of filenames in openbrowser and savebrowser elements
- openbrowser and savebrowser elements now use sheets instead of panels
- Radiobutton labels are now considered when calculating the window width
- The height of elements of type textbox is now regarded as pixels, not as lines
- Completely rewritten documentation using DocBook
- Pashua is a “Universal Binary” (should run on Intel Macs)
- Supports Unsanity's Smart Crash Reports
0.9.2 (09/16/2005)
- Syntax change in the configuration string: Element names and their attributes should be no longer separated by an underscore, but by a dot. For instance, instead of "name_label = Enter your name" you now have to use "name.label = Enter your name"
- The way encodings are defined has changed (and encodings should work more reliably now). Instead of specifying the encoding in the configuration string, the encoding is passed as a command-line argument to Pashua. See documentation for more info.
- Pashua will read the configuration from stdin instead of a file, if "-" is passed as filename to Pashua. However, the examples still use temporary files; if you want to make use of this feature, you have to change the code accordingly.
- For elements of type text you can use attribute default instead of text, if you prefer. These attribute names are treated as synonyms to achieve more consistency with other element types, which use default for any pre-set values.
- The text of elements of type text is selectable and can be copied.
- French localization, contributed by Daniel Robillard
- Fixed small bugs in two of the example scripts
0.9.1 (11/06/2004)
- Windows with attribute appearance=metal can be moved by clicking in their background, which is the regular behaviour of texturized (metal) windows.
- Example code for using Pashua from Ruby (Code contributed by Mike Hall)
- Two fixes in the example shell script
- Fix in the example Perl script
- Using the new instruction encoding, users are able to define an encoding for text sent to and returned by Pashua. Among the supported encodings are Unicode (UTF-8) and Latin-1. To learn more about encodings, please take a look at the documentation.
- Using textbox's new attribute fonttype=fixed it's possible to get a textbox with a fixed (monospaced) font.
- Improved and extended documentation
- Improved behaviour of openbrowser and savebrowser text fields (reg. Drag&Drop and displaying paths which are too long to fit in the textfield)
- New attribute autoclosetime, which can be used to close the dialog automatically after a certain amount of time.
0.9 (06/25/2004)
- By default, openbrowser and savebrowser navigate to the directory which contains the currently selected item, provided that you did select something before.
- Improvements in AppleScript code, contributed by Hans Haesler
- Tempfile cleanup in the Perl module did not work as expected, therefore Pashua.pm now uses the module File::Temp. (This module is only part of OS X in v10.3 and later, thus I simply have included it in Pashua.pm)
- Small fix in Tcl code
- New GUI element textbox, for displaying multi-line, scrollable input fields
- New GUI element image for displaying images
- Fixes a bug in button positioning code: when no cancel button should be visible, no space is allocated for it
- Tiny fix in the Tcl code for Mac OS X 10.2 compatibility
- Fixes in the PHP code
0.8.5 (04/22/2004)
- Example code for using Pashua from Tcl (Code contributed by Bruce M. Axtens)
- Minor bugfix in the Python script (contributed by Ed Heil)
- Corrected error in English localization
- Added keyboard shortcut Cmd-Option-H for “Hide others”
- In addition to the default and the cancel button, it's now possible to define additional buttons.
- Cancel buttons do have a return value now, to make it easier to detect whether the dialog was canceled or not.
- Whitespace at the beginning and the end of configuration string options is ignored.
- A new configurations command appearance=metal enables switching from Aqua to “Brushed metal” look. (Although I hate this look, but people asked for it and it was easy to implement…)
- Files can be dragged and dropped onto openbrowser or savebrowser textfields to set these fields to the file's path.
- The first openbrowser element in a window can now be triggered by menu item “File” –> “Open…” (or Cmd-O) and the first savebrowser can be triggered by menu item “File” –> “Save as…” (or Cmd-Shift-S).
- Separator lines were broken in 10.3, but do work now
- Changed the PHP script's Shebang line to match the PHP command-line binary shipped with 10.3
0.8 (12/15/2003)
- Example code for using Pashua from Rexx (Code contributed by Bruce Woller)
- Several improvements in the Python and shell scripts (contributed by Canis Lupus and Tor Sigurdsson)
- Changes in Perl, Python, shell and PHP scripts regarding path issues: All example scripts for these languages can now be used inside application bundles (for creating doubleclickable apps) without any changes.
- New attribute tooltip to define tooltips for GUI elements.
- The well-known keyboard shortcuts Cmd-C, Cmd-V, Cmd-X und Cmd-A do work in textfields.
- When no value is selected in a popup menu, an empty string is returned instead of “(null)”.
- If the window contains a cancel button, it can be triggered using the escape key.
- New attributes for types openbrowser and savebrowser: By setting filetype, you can specify which filetypes are available in open panels, whether users can choose directories etc.
- Improved and extended documentation.
0.7 (11/05/2003)
- Change in the configuration syntax: Any default values must be set using the attribute default now (see examples). This improves consistency between the various element types and thus eases using Pashua.
- New GUI element: Save dialog box (element type: savebrowser)
- Change in the configuration syntax: Due to the new element type savebrowser (see above), type fsbrowser has been renamed to openbrowser (see examples).
- Fixed a bug that could result in an empty dialog when using AppleScript
- Two configuration errors which caused Pashua to crash are simply ignored now
- Improved error notification when an element's type is not defined or when the type is unknown
0.6.1
- Added support for Python (Code contributed by James Reese)
- Fixed bug: Closing the about window no longer closes the dialog window
0.6
- New GUI element: Plain text
- New GUI element: Cancel button
- Minor improvement in AppleScript code
- The default button will be labeled “OK” automatically, unless a label is specified.
0.5
- Added support for AppleScript
- New GUI element: Filesystem browser
0.4
- You don't have to define an empty default text any longer.
- Pashua accepts textfields without label.
- New GUI element: Password field
- New GUI element: Combo box
- New GUI element: Horizontal separator line
0.3
- New GUI element: Popup menus
- New GUI element: Radiobuttons
0.2