V1.2.2 Beta - 2006-06-18 (Josh Harris)
 - Change Google url from http to https to fix 302 error.
 
V1.2.1 Beta - 2006-04-08 (Josh Harris)
 - Fix for Google Spelling Suggestion list: it was not displaying the last
   suggestion.
 - Fix for Spelling Suggestion dialog box: Corrected spelling of "Ignore All"
   button.

V1.2.0 Beta - 2006-04-04 (Josh Harris)
 - Added a Custom Dictionary (word list).  New words can be added to it from
   the "Spelling Suggestion" dialog box and it can be edited, cleared, etc. from
   the BBCorrector Options Screen.  In the BBCorrector Options Screen,
   open the menu and choose "Edit Dictionary."  To add a new item, use the
   menu or press "i" (insert) on the keyboard.  To delete the currently selected
   word, use the menu or press "d" (delete) on the keyboard.  To clear all words
   from the dictionary, use the menu or press "c" (clear) on the keyboard.
 - When a misspelled word is selected and you open the menu, "Spelling
    Suggestion" is now the default choice.
 - Added "Ignore All" to the "Spelling Suggestion" dialog box.  When used, this
   will remove every occurrence of the current word from the current list of
   underlined, misspelled words.  The next time you check spelling, this word
   will be flagged as misspelled.
 - Added "Add to Dictionary" to "Spelling Suggestion" dialog box.  When used, this
   will add the current word to a custom dictionary, then it will remove the current
   word from the current list of underlined, misspelled words.  The next time
   you check spelling, this word will NOT be flagged as misspelled.
 - Selecting Save from the BBCorrector Options Screen Menu closes the window.
 - Added "Language" selection to BBCorrector Options.  This is the two letter
   ISO 639 language code. Check with your server to see which choices are
   available.  If left blank, the server default is used.    Along with this, the
   BBCorrectorServer.cgi and php has been modified slightly to handle this.
 - Added "Use Google Spell Checker" option to BBCorrector Options.  If selected,
   BBCorector will connect directly to google.com and use it's spell checker.
   If this is unchecked, it uses the server in the url field.
 - Added "AutoAdvance to Next Item" option to BBCorrector Options.  When
   selected, the "Spelling Suggestion" dialog box will automatically open after
   you run "Spelling" and will cause the spell checker to autoadvance to the next
   misspelled word every time you make a correction and back to the beginning
   of the document after you change the last word.  The dialog box will stay open
   until you press Cancel or reach the last misspelled word.
 - Added "Language" selection to BBCorrector Options.  This is the two letter
   ISO 639 language code. Check with your server to see which choices are
   available.  If left blank, the server defaults are used.

V1.1.2 Beta - 2006-03-23 (Josh Harris)
 - Added a manual text replace option to "Spelling Suggestion" dialog
   in "CorrectorActiveFieldCookie.java."  Added "doExit" to "doSave" in
   "BBCorrectorOptionScreen.java."
- Fixed Malformed UTF-8 error in XML packet of "CheckSpellingMenuItem.java."

V1.01 Beta - 2006-02-11 (Josh Harris)
  - Modifications made to "CorrectorActiveFieldCookie.java" to fix
    deletion of two characters before misspelled word and to
	re-highlight misspelled text after making a spelling change.  These
	changes are meant for newer OS versions (4.02 and above, I think).
	Removed one line of code (field.backspace(pattern.length() - 1);).
	Added one line of code (field.scanForActiveRegions();).
  - Modification made to "BBCorrectorOptionScreen.java" to make
    the URL field in the options screen behave as a normal URL field.
	Added "| EditField.FILTER_URL"

V1.0 Final
* Removed default URL in options screen.

V0.91 RC2
* Explicity say whether to use a MDS proxy or not. Apparantly the default for certain Nextel
models is different to other carriers
* Rearrange order of options screen menu items

V0.81 RC1
* Only add "Spelling" menu item to applications that can potentially support it
* Display please wait dialog when performing spell check
* Change non error Dialog's to Status's that disappear after an amount of time
  or escape key

V0.75 Beta
* Fix fields not being dirty after replacing mispellings

V0.74 Beta
* BBCorrector is a client/server based Spell Checking application
  for the BlackBerry device. It adds 2 system wide menu options
  to allow you to perform a spell check on any compatible field
  in any BlackBerry application. These menu options are "Spelling"
  and "Spelling Suggestion".




  How to use:

  - install BBCorrector and reboot you BlackBerry
  - setup the required parameters in the BBCorrector options screen
  - type in your text in a compatible field
  - select the "Spelling" menu item
  - the spell checking is performed and the mispelled words will be underlined
  - move the cursor to each mispelled word and select "Spelling Suggestion" to
    select from a list of replacement words

  NOTES:

  - BBCorrector works on any BlackBerry application that contains a
    compatible field, just select "Spelling" from the menu item. If the field is
    not compatible, you will be informed that a spell check cannot be performed
    on this field. Compatible fields are those fields that provide active regions
    that can be highlighted and actions performed on them. For example, the
    Messages, Address Book, Calendar, Tasks, MemoPad, etc applications all have
    compatible fields. These are the fields that if you type an email address, url or
    phone number, they are automatically underlined and you can highlight them to perform
    some other action.

  - This is a client/server style application. The actual spell checking function is
    performed on a server and the results returned back to the BlackBerry via http.
    Believe me, I tried writing a client only application but found I could not store
    a suitably sized dictionary on the blackberry itself.

  - After a spell check is performed on a field, you can cycle through all the mispellings
    and correct. If you happen to add/remove data in this field, you'll lose the current
    mispellings and you'll have to reissue a spell check. Note that, correcting a
    mispelling does not lose the other mispellings.

  - An example BBCorrectorServer, written in Perl, is provided. It makes use of Aspell
    to actually perform the spell check. Aspell information can be obtained from
    http://aspell.sourceforge.net/

  NOTES v1.2 2006-04-04:
  - From the options screen you can enter a private Server URL or leave it blank and
      select "Use Google Spell Checker."  It will connect directly to Google with this
	  set. Enter a two letter code for "Language" ("en" for English, "es" for Spanish, etc.).
	  "AutoAdvance" will make the spell checker keep the suggestions dialog box
	  open and will automatically advance to the next word.  If you would like to
	  edit the custom word list, open the menu and choose "Edit Dictionary."  You can
	  use the menu or the keyboard.  "i" = insert new word. "d" = delete selected word.
	  "c" = clear all words. "s" = save and exit. "x" = exit.

  - From a valid text field, choose "Spelling" from the menu. It opens up a dialog box.
    The word at the top is the currently misspelled word.  The empty line is where you
	can enter in a manual spelling correction (type in the manual text, and press the
	enter key or click the trackwheel).  "Ignore" skips over the current word and moves
	on to the next misspelling.  "Ignore All" causes it to skip over all misspellings
	of the current word.  "Add" adds the current misspelled word to the custom dictionary
	and skips over it for the rest of the spellcheck.  "Cancel" ends the spelling session.
	If you press "Cancel," and there are still misspelled words highlighted, you can correct
	them by highlighting them and choosing "Spelling Suggestion" from the menu. If you
	get through all of the misspelled words, it automatically takes you back to the email
	screen so you don't have to press "Cancel."


How to setup BBCorrector Server under WindowsXP
------------------------------------------------

1) Install Perl (http://www.activestate.com/Products/ActivePerl/)

2) Install Aspell (http://aspell.net/win32/)

3) Create you IIS web site via the Microsoft Management Console

	- right click your web site and select "Properties"
	- select the "Home Directory" tab
	- choose your "Local Path"
	- in the "Application Settings" box, select "Configuration"
	- select the "Mappings" tab
	- make sure the extension ".cgi" is mapped to the Perl executable
	  "C:\perl\bin\perl.exe %s" (replace path as necessary)
	- create a directory under your "Local Path" called cgi-bin and place
	  BBCorrectorServer.cgi there
	- execute the following two commands:
	      adsutil.vbs SET w3svc/CreateCGIWithNewConsole "1"
	      adsutil.vbs SET w3svc/CreateProcessAsUser "0"
	  I found "adsutil.vbs" under C:\Inetpub\AdminScripts. Your mileage may vary but these
	  two commands MUST be run.
	- restart your web site

4) Modify BBCorrectorServer.cgi to reflect your system configuration

    - change perl executable path. Example:
          #!d:/perl/bin/perl
    - change path to aspell executable. Example:
          my $cmdAspellExe = "\"D:/Program Files/Aspell/bin/aspell\"";
