Scratch ChangeLog
Scratch 2.1.6

1. Updated Scratch to use HTTPS when talking to Google, as they no longer support plain (and slightly faster) bare HTTP requests.
2. Improved the error handling when talking to Google. Error messages should once again appear for errors like the one fixed above, should it happen again.
3. Touchpad users now have a "search" button to access the main filter field's search area.

Scratch 2.1.5

1. Added a "scrollIntoView" call when entering a new paragraph in docs, to ensure that you can actually see what you're typing.
2. Corrected a file permission error that was preventing us from seeing custom folders.
3. Scratch now remembers the custom folder name you use.

Scratch 2.1.4

1. Numerous bugfixes, including an apparant data-loss when exporting a file. (The file exported, but the in-db copy had its body set to "undefined." That can't happen now.)

Scratch 2.1.0

1. Implemented a new "headings only" function for the document edting scene. Tap the button to hide anything but heading elements, tap it again to show everything.
2. To prevent you from saving a file that appears to be blank, the system forces the "headings only" view off whenever the file is saved.

Scratch 2.0.3

1. Scratch has been (nearly) completely re-written for the WebOS version 2. Certain features were not re-implemented due to WebOS 2's bluetooth keyboard support, and many icons have been rearranged. If you would like a missing feature re-added, please let me know via e-mail.
2. A future version will have cleaner touchpad support, while retaining utility on phones. For now, the phone version is shown, expanded to take advantage of the touchpad's available space.
3. When installed on WebOS 2.x, Scratch can now read and write to the local file system.
4. If installed on WebOS 1.x, Scratch will work in a "compatability mode", where features that are webOS 2.x dependent (such as local file access) will no longer function.
5. The old "import" and "export" scenes have been merged into a single "sync" scene, which will also enable WebOS 2.x users to syncronize their files with the lcoal file system.
6. Google Docs is currently butchering CSS formatting; if you are unable to upgrade to WebOS 2, please use email to export files where your formatting is important.

Scratch 1.4.7

1. More aggrivating bug fixes.

Scratch 1.4.6

1. 1.4.5 introduced a bug that killed the style function. Fixed now.

Scratch 1.4.5

1. GoogleSync password functions no longer break unexpecteadly. (Email if you want the embarassing details.)
2. New option!: Open documents in new cards
3. New option!: Turn off the darn "file saved" message.

Scratch 1.4.3

1. Passing email and password through the encodeURIComponent() function, which hopefully will stop the annoying password errors.

Scratch 1.4.2

1. Minor fix to enable Text Assist in WebOS 2.0

Scratch 1.4.1

1. Numerous bugfixes from the 1.4 beta
2. Beta nag code has been increased in utility.
3. Folders can be added to documents even if they did not previously have a folder.
4. New Support Scene includes the very beginings of an on-device help system.

Scratch 1.4.0 (beta only)

1. Revised database code should allow slightly quicker speed-ups.
2. New feature!: When editing, press to hold in the "Topic" area to view a list of topics.
3. New feature!: Import has been significant updated; you can now import more than just one file at a time, files are automatically saved once you import them, and Folders from Google Docs are included in an import. Oh, and if your document is in at least one folder, it will have its topic set as default to the first folder's name, insetad of just "Imported"
4. New Features!: Mark a document as being a member of any number of folders.
5. Increased the window for getItems() and filter() when called by the main scene's activate() method. Means that Scratch will grab more items when you load up the scene for the first time.
6. New feature!: "Sync" scene will match up local files that have a Google Doc ID with their counterparts on the cloud.

Scratch 1.3.3

1. Sweet new icon courtesy of Manuel Erickson (@ethic3 on twitter).
2. New feature!: you can now collapse topics on the main scene.
3. The main scene has been optimized, and should load and sort significantly faster. Loading the text of an item is now delayed until that item is selected. Users may expereince a slight slowdown when choosing larger files, but larger files will no longer slow-down an entire list,
4. Fixed a typo on the import scene
5. Word Suggestion has a new two-part control; tapping the word will insert that word, while tapping the number will show you the list.
6. Word Suggestion's results are now extended to 50 items. (Please submit any reports of slowness with this feature ASAP.)
7. Lexicon now displays your terms in a case-insensitive list.
8. New command!: "Navigation" menu allows for Home (Metatap + h) and End (metatap+E) commands. Home goes to the start of the current file, while end goes to the end of the current file.
9. Improved return behavior in main scene. (You should be able to press enter for newlines again.)

Scratch 1.3.1 – 1.3.2
Beta-only releases
Scratch 1.3.0

1. New Feature!: Words typed into any Scratch Entry are saved into a seperate table, and suggestions are made as you type. Tapping the control that appears will allow you to enter that word or phrase instead of typing it all in.
2. Words saved to the "lexicon" can be viewed and deleted via selecting the new "Edit Lexicon" button on the Preferences scene
3. New Feature!: A new "find" feature allows you to search through the currently open file to find any string of text. Strings cannot overlap formatting, but they will be found and scroll into view as you search. Simply press the find icon on the bottom-left of your screen to begin a find. To cancel or change the word you&re looking for, tap the word.
4. If you want to hide the command menu (those controls along the bottom of the screen) or show it again after hiding it, double-tap the guesture area.
5. Import errors due to the "New Google Docs Format" now give a clearer error message.
6. Updating a local copy of a file from Google Docs will no longer over-write the topic
7. Scratch is sporting a new ugly icon to replace the old ugly icon. No Insult Software has no professional artists on staff.

Scratch 1.2.4

1. Minor tweak to support email subject.
2. Expanded display message if, upon trying to connect to Google for an API key, a 403 (invalid login) message is returned.
3. Properly escaping the non-UTF8 HTML should fix the occasional Atom/Media part error on export. If you encounter an error on export, please email your error message via the "Support" email.

Scratch 1.2.3

1. Re-written "Style Selection" code should closer match your expected behavior. Note that applying a style to a selection will over-writes anystyle in the selected area, as well as removing any <span> elements that have no attributes.
2. Some improvements to the "RTEreturnCheck" function. Hitting enter inside some simple formatting should continue that formatting on to the next line. Still does not work cleanly on multiple tags of formatting, due in large part to an annoying design descision in how WebKit implemented the execCommand method.
3. The Style scene now has a dedicated "Apply Styles" button.
4. A new "Remember Password" function has been added
5. Google Import now allows you to perform a title or all-contents search when initially looking for a file.
6. Google Export should now display a better error message when a scratch file is not exported correctly.
7. Google Export also now exports using a multipart ATOM request call instead of a straight text/html POST rqeuest. The immediate upside is that irregular titles, like colons and question marks, should no longer cause errors by themselves. In future versions, we may be able to add extra metadata to the upload.

Scratch 1.2.2

1. Google Import will now better handle API errors, properly failing if an empty list is returned and offering to try a general "all files" search. (Fallover to work around recent Google Docs API bug.)
2. The Main scene now has a dedicated "add scratch" button.

Scratch 1.2.1

1. Corrected a major boo-boo in 1.2.0.
2. Adjusted left padding for <ul> and <ol> tags (unordered list and ordered list, respectively), so that the bullets and numbers show more to the left, and thus let more text fit on one line.
3. Hid superfluous "Text Indent" option in Preferences. To set text indent now, use the style option and select the whole document.

Scratch 1.2.0

1. New Style command and scene available on any document, by pressing MetaTap + S or selecting "Style" from the app menu. You can apply styles to either the current selected range, the current block-level element, or your whole document.
   - Font Size (xx-small to xx-large)
   - Text Indent
   - Line spacing
   - Paragraph spacing
   - Text Color
   - Hightlight color
   - Custom(ish) CSS (pick from a subset of the CSS properties and enter your own. For advanced users only.)
2. A new Clean command is available on any document, by pressing MetaTap + spacebar or selecting "Clean" from the app menu. Cleaning a file will remove any styles or invalid HTML; to clean only part of a document, select that area and invoke clean.
3. MetaTap + enter now follows the default action for a Rich Text Edit widget when enter is pressed, and puts in a single line break.
4. If you press enter in a blank item at the end of a list, that item will instead be converted to a normal paragraph.
5. The shortcut key for "paragraph" has been changed to MetaTap + p
6. If you are importing from Google Docs, you can now type to filter by the document names.
7. Importing a local file should work now.
8. A document's properly set <title> should be read now when importing from a URL or local HTML file.
9. Improved sync behavior with Google Docs:
   1. A downloaded file will attempt to upload to itself instead of creating a new Google Docs document.
   2. The document's category and title will no longer be prepended on each upload.
   3. When importing a file from Google Docs, Scratch will search your local documents for a file with a matching docID, and offer to update that file instead of creating a new one.
10. Importing a file will now have a much reduduced "Clean" function ran on it.
11. Default subject when e-mailing from the support scene changed to better conform to observed usage.

Scratch 1.1.3

1. Corrected bug where new documents were not appearing on inital return to main scene.

Scratch 1.1.2

1. Altered behavior of Heading Elements. Pressing enter at the end of a heading will now insert a new non-heading paragraph after the heading. Empty heading elements were not displaying, and so simply cluttered the HTML without allowing you to acutally enter text.
2. Typing to filter in the main scene will now search document topics as well as titles.
3. Returning to the main scene after filtering will re-apply the same filter.

Scratch 1.1.1

1. Change log added to "Help" scene.
2. Keyboard shortcut added to "Underline" command to allow metaTap + u to toggle underline state.
3. Vendor URL simplified

Scratch 1.1.0

- Initial Release