# 6.1.1

SUMMARY

This release includes fixes intended to make Tinderbox more reliable, correcting a number of recently-reported issues.

This release is recommended for all Tinderbox Six users.

Actions and Rules

Action values have not been thread safe; if one thread changes an action while another thread is using the same action, Tinderbox might crash. To avoid this, we add a recycling pool for actions and only delete actions in the agent thread. This should now avoid risk of the agent thread using invalidated, deleted actions. (1114)

A document with many inherited rules could crash on update, because the new, thread-safe approach to attribute fetching failed to handle cached actions correctly. To avoid this, we no longer cache compiled rules; this wastes some work, but the since rules are no longer evaluated on the main thread the performance hit may be tolerable. (1141)

Fixed a crash in a rule when applying nsort to a list of items that are not, in fact, numeric.(1180)

nsort() sorted incorrectly if the list contained floating point numbers. (1188)

Modified format() and .format() so the localized formats “l” and “L” respect local handling for separators. For example, in the US the result of 10500.format(“l”) will be “10,500”

Agents

Turning an agent on or off in the Action Inspector now updates the agent’s outline icon immediately to reflect whether it is running or not. Previously, the icon might not be redrawn until the selection changed. (1127)

Attribute Browser

Attribute Browser: category labels are formatted more legibly. For example: “801-890” rather than “8.1e+2-8.9e+2” (1168)

Fixed a crash when switching to attribute browser from other views, if the browser attempted to set up categories before the browser attribute control had been initialized. (1172)

Removed animation when switching between attribute browser and another view, as the crossfade was unsightly with outlines and had terrible performance. (1199)

Dates

Days of week: the date parser now recognizes the day of the week in the current locale, not only in English. Recognized forms include the full day (Sunday), the short day (Sun), and the very short day (S). Note that the very short day is ambiguous in many languages, including English.

Month names: the date parser’s super-lenient formulation, which recognizes partial dates like “Jan 15, ”now deals with month names and month abbreviations in the current locale.

The super-lenient date parser now recognizes dates like “Jun 2014” as well as “Jun 5”

Unparseable dates are now treated as “never”. (1137)

Export

File>Export Note asks for export folder, defaulting to the current export folder. (1110)

Export Selected Note is now enabled when the text pane has the focus; it was previously available only when the view pane had the focus. (1175)

Links

Attempting to make a link from the text link parking space by clicking and typing the name of the destination crashed .(1143)

Revised link parking space help messages, and hide link parking space help controls when they are inapplicable. (1144)

Maps

When pasting notes in maps, if the map background has been clicked, the pasted note is placed at the location of the most recent click.

When pasting a group of notes into a map, the relative geometry of the pasted notes is preserved. (983,1076)

Added “Paste” to map background contextual menu. (796,1077)

Menu command for Paste is no longer enabled when nothing can be pasted.

Images on the clipboard may now be pasted into maps as image adornments. Image files may also be dragged. Images on the clipboard may also be pasted into outlines or charts; in this case, a new note named “pasted image” is created and the image is placed in its text.

Double-click on the note name no longer hoists the view in maps, outlines, or charts. Instead, the title is opened for editing. Triple-click opens the title for editing and selects the entire title. Double-clicking the interior continues to hoist the view in maps, and double-clicking the icon hoists the view in outlines. (1148)

Summary tables no longer coerce integers to show two decimal points. This old behavior might be desirable for currency, but decimal points can still be forced using .format(2).

Adornments inside agents could not be pasted or duplicated. (1197)

Text excerpts in maps now respect $MapBodyTextSize. (1190)

Summary tables incorrectly handled tables in which an interior cell is empty or contains only white space. For example, if a line was

> Lincoln | | 1865

then “1865” would be drawn in the second column, not the third. (1198)

Menus

The item contextual menu now provides an opportunity to open a Text Window. (1132)

The Find results table now has a contextual menu, and offers an opportunity to open a Text Window (1132) in both popover and freestanding window implementations. This is particularly tricky because the menu is owned by the table, not the cell view, and so must be prepared through the NSMenuDelegate protocol.

Outlines

Outlines: link widgets are larger (1140).

Selected notes are no longer expanded when switching tabs.(1162)

Roadmap

Roadmap: Improved layout of torn-off roadmap, so title remains centered and lists expand to fill the available space. (1158)

Roadmap no longer lists links to notes deleted in this session. These links are retained internally while the deletion might be undone, but should not be displayed. (1170)

After scrolling a long list of link sources or link destinations in roadmap, some notes which have no badge were listed with another note’s badge. (1195)

Simplenote

Simplenote syncing had been inadvertently disabled. It’s back now. (1171)

Text and Key Attributes

Key attribute tables and Get Info>Attributes now accept Format>Text>InsertDate and Format>Text>Insert Date and Time with equivalent effects. (1142)

File attributes in key attribute table: if no value is specified, clicking on the folder icon lets you choose a file. Previously, the folder icon was disabled. (1129)

Format>Style>Standard Font now adjusts the typing attributes. This accommodates the scenario where the user pastes unwanted text in a new style, deletes the text, and then applies the standard font: because there is now selection, previously this failed to reset the typing style which the unwanted paste had altered. (1125)

If you try to add a key attribute that is not defined as an attribute, a popover allows you to create a new attribute on the fly.

Key Attributes: the popover for unknown key attributes now deletes attributes that don’t exist if those attributes are not created (1151).

Key attributes: the unknown attribute popover now includes "file" and "boolean" types (1152).

Key attributes: autocomplete interference with names that such as DestState, which have prefixes that are shared by only one existing attribute, should no longer prose difficulties (1154)

Text windows: when a text window is activated, its cursor position remains where it was when the window was deactivated. If the text has been shortened in another view, so that the cursor position no longer exists, the cursor is placed at the start of the text. Formerly, the cursor was always placed at the start of the text. (1133)

Read-only attributes no longer enable “Use Inherited Value” in the key attribute table. (1177)

Selecting a new note and clicking in the text pane could sometimes cause the text to scroll to an arbitrary position. (1201)

The “unknown attributes” popover now supports creating URL attributes. (1202)

Miscellaneous

The positioning of the “+” control in the tab bar has been corrected.

The Color Palettes picker now includes a palette that reflects the current Tinderbox palette.

The Registration Window provides a link from the reminder text to the order page (1155)

The initial position of the inspector has been moved, allowing more space in the upper right-hand corner for notifications. (1165)

When a new document is opened, its first window becomes the key window. (1161)

$ID was not correctly populated for newly-created notes. (1174)

Yosemite triggers layout debugging pane in its standard file windows; disable the debugging pane in release builds. (1173)

Popovers again detach correctly under Yosemite. (1178)

Crashes when closing popovers that ought to be capable of being torn off under Yosemite should no longer occur. (1178)

The Stamp Inspector failed to reset its text fields after switching documents if the nth stamp was previously selected and the new document had at least n stamps. (1182)

Switching tabs to a tab using the Preview pane, and then switching back to any map pane, resulted in a host of update problems. If the preview completion block failed to run, then change updates would be permanently locked. Even if the preview completion block did run successfully, the update was not thread safe.

Fixed a typo in Help:Anatomy of a Note