Powerful cross-platform web scripting
|
|
Frontier 5.0d19 Release Notes
- Problems with file-based objects fixed.
- File-based objects were broken in the last release.
- They now work again.
- Sys.os and sys.machine verbs.
- Returned values now have compiler constants:
- machinePPC
- machine68K
- machineX86
- osMacOS
- osWin95
- osWinNT
- Like the built in direction constants, these identifiers are now keywords in the language.
CGI Framework updated; now server-agnostic.
- Frontier has changed the way it handles incoming Apple events.
- Event parameters can now be in any order. More or fewer parameters
- can be sent to Frontier: Frontier will field it cleanly.
- As a result, the CGI Framework's CGI sdoc handler now supports
- any server: WebSTAR, Quid Pro Quo, NetPresenz, MS-PWS, etc.
- Also: due to the below change to the appleEvent verb, we now easily support running two server
- applications (same or different) on one machine.
AppleEvent verbs understand 'psn ' binary values.
- You might get a psn value as the result of getEventSender.
- You can now use a psn as the appID parameter to appleEvent, complexEvent, etc.
Window.xxx verbs.
- Added window.getFile verb:
- Returns the empty string for odb windows other than the root window.
- Window.close _does_ close file-based windows, including the root.
- Scripts should test window.getFile to see whether closing a window will close a file.
- Window verbs don't include the path to the compiler.files table for file-based object windows.
File Menu tweaks.
- In the File menu, the Save item toggles to Save Database when the frontmost window belongs to the odb.
- In Expert mode, Save Database is enabled when no windows are open, as long as a database is open.
- In Beginner mode, when no windows are open the menu says "Save" and is dimmed.
Bug fixes.
- ParentOf returns the empty string for file-based object windows.
- Fixed bug where saving an Untitled object would fail to update the system.compiler.files table accordingly, causing various failures.
- Updated the menu sharing application icon fix to be insensitive to processor speed.
- Fixed several [4.x] bugs targeting, editing menubar objects from scripts.
- Fixed external editing (cmd-E) bug.
- Fixed bug that would cause a crash when quitting.
- Fixed string.processHtmlMacros bug, spurious 's' after <hr size=2 width =100%> when processing hyphens to create a hroizontal rule.
- Another string.processHtmlMacros bug fix: URLs inside parentheses are now expanded properly.
- Fixed problem remembering font changes in the About window.
Table editing.
- Refined the column width adjustment logic when resizing table windows.
- When opening empty table, new item #1 is selected in edit mode.
- The runtime stack table is closed when the script being debugged exits.
- Zoom value when user 2clicks in the value column.
Fat Pages use less memory.
- We were copying the page source at fatPages.getPageAtts.
- Now you can optionally pass the address instead,
- as fatPages.getFileData does.
- (There may be some more work to do with the Fat Pages suite
- in regards to memory.)
Cleaned up outline keyboard navigation.
- cmd-up/down goes to the first, last headline at the current level.
- cmd-left-right goes to the first, last headline in the outline, ignoring level.
- option-left goes to the parent, option-right goes to the subhead, if expanded.
- option-up/down do the same thing as normal up/down.
- cmd-option-right expands, dives into subheads; cmd-option-left surfaces, collapses.
- cmd-option-up/down perform similar, reciprocal expand/collapse combined with cursor movement.
- Note: What if the dive/surface worked with just the option key, not cmd-option?
- That would take away the ability to move directly to the parent without collapsing. Would people miss this?
- Right now, option-left is the only option-arrow that adds value over naked arrow keys, so option is pretty much wasted.
User.initials menu copied to user.menus.customMenu.
- If a user.initials menu in your main menubar exists and is
- no longer virginal, it is automatically copied to the
- new location, user.menus.customMenu, and removed
- from system.misc.menubar.
- Otherwise, the default user.menus.customMenu is used.
- (A backup copy of system.misc.menubar is now at
- scratchpad.oldMenubar.)
SuperStress now logs errors.
- Instead of stopping when it reaches an error,
- SuperStress now logs all errors to an outline and
- continues to run.
Table menu Get Info works.
- The Get Info command was returning a "Can't coerce
- value to address" error, but now it's fixed.
|