Version 3.2 - 4.August.2008

  • Made it so that numeric strings (1967) and numeric abbreviations ('67) aren't marked as misspelled.

Version 3.1 - 28.July.2008

  • Added the ability to configure the location of the controls (top or bottom).
  • Fixed bug where it wouldn't work in IE.

Version 3.0 - 07.July.2008

  • Completely rewritten to use Mootools 1.2.

Version 2.8 - 07.February.2006

  • Added a CSS classes for spell checker container and corrected words.
  • Added a safe onload handler to avoid overwriting existing onload handlers.
  • Cleaned up some global scope polluters (Captain Planet style!).
  • Width and height of the textarea are set using the offsetWidth and offsetHeight instead of the style definition.
  • Added $editablePersonalDict variable to enable or disable the editability of the custom dictionary by the users.
  • Changed the default path to the personal dictionary to use the directory of the spell_checker.php as a base location.
  • Changed the path to Aspell to the default path for most Unix boxes.
  • In showSuggestions, added "return false;" to the two onclick handlers.
  • Worked around a CPAINT/Safari bug when the textarea is empty.
  • Upgraded to CPAINT 2.0.2.
  • Changed the conversion of \r\n to <br /> on the front end instead of the backend.
  • Made icons optionally available to use instead of text for the spell checker controls.
  • Added configuration constant for number of suggestions returned.
  • Cleaned up code structure a bit including separating the code out into folders.
  • Completely reworked the spellCheck PHP function so it runs a lot faster now.
  • Changed findPosX and findPosY Javascript functions to findPosXById and findPosYById to avoid conflicts with existing findPos functions.
  • Removed the generation of a new DOM textarea, and just use the original textarea to avoid conflicts with other modules (i.e. - quicktags in WordPress).
  • Thanks to Justin Greer!

Version 2.7 - 23.January.2006

  • Reworked how the spell checker is added to a page. It no longer has the problem of not degrading nicely. The text areas will still work fine if you don't have Javascript enabled. You only need to set the title attribute of the text area to "spellcheck" and the accesskey attribute to the location of the spell_checker.php file on the text areas you want to have a spell checker on and include the spell checker files, and it will automatically go through and add spell checking capabilities to the text areas. See the example and Readme.txt for more info.
  • Added the ability to add words to a custom dictionary. Just make sure the personal_dictionary directory is publicly writable.
  • Added a fix in the pspell_comp.php file that was not allowing people using aspell to change the language. (Thanks to Thomas Rabe for this fix).
  • Removed the setText functions. These are no longer needed since you can just stick the text to be loaded in the textarea tags.
  • Added a class in spell_checker.css to style the Add to Dictionary link.

Version 2.6 - 14.December.2005

  • Added the strip_tags_advanced fuction so that disallowed tags are converted to escaped html, rather than being removed. This function also escapes tags with unsupported attributes (such as onmouseover).

Version 2.5 - 21.October.2005

  • Added the setText() function so that you can set the preloaded text in the textarea. See the example.php file for an example of how to use it.

Version 2.4 - 21.October.2005

  • Upgraded to CPAINT 2.0.

Version 2.3 - 20.October.2005

  • Spell checker is now object oriented so you just have to make one call to add a spell checker to your site.
  • Rewrote how the spell checker is generated. It's all done dynamically so there's little work for the developer.
  • Made it super easy to have multiple spell checkers on one page.
  • Increased the speed of suggestion return a little bit by cutting out extra crap that didn't really need to be there.

Version 2.2 - 24.June.2005

  • Fixed a problem where it wouldn't strip the html tags properly.
  • Non-standard unicode characters are no longer used.
  • The compressed Javascript file wasn't being compressed properly, so I used a different one and that fixed the problem.

Version 2.1 - 23.June.2005

  • Fixed a bug where it wouldn't resume if the box was empty.

Version 2.0 - 23.June.2005

  • Fixed a bug where words with apostrophes wouldn't be replaced properly if your server had magic quotes turned on.
  • Fixed a bug where "No Misspellings" would be returned if you clicked Check Spelling twice.
  • Fixed a bug where if you clicked "Resume Editing" twice it would delete the contents of the text box.
  • Made it so you can still preview the HTML even if there are no misspellings.
  • Fixed the "flashing" problem where the text was shown before the spelling updates were made.
  • Added a feature that makes the spell_checker.php include optional. You can call setSpellUrl with the url to the spell_checker.php file if you don't want to include it in every page. It defaults to SELF if you don't set it, so you'll need to include the spell_checker.php page if you don't set the url to it yourself with the setSpellUrl call.
  • Thanks to Ir8 Prim8 of www.prim8.net for the optional include update.
  • Thanks to Justin Greer for testing the magic quotes crap.
  • Thanks to Jake Olefsky of www.jakeo.com for the rest of most of these updates.

Version 1.9 - 16.June.2005

  • The fix from 1.8 to strip out extra stuff in html tags had a bug. That's now fixed.
  • The results and suggestions divs are now auto generated so you don't have to have them hardcoded on the page. This allows for multiple spell checkers on the same page. You currently still need to have a hardcoded action and status divs for each spell checker.
  • Added a fix in spell_checker.php for the people who don't have magic_quotes_gpc enabled on their server...I think this works ok, but it's not been verified as of yet. It basically only affects words with apostrophe's and them not being replaced.
  • Added a check so it will say "No Suggestions" if there aren't any suggestions for the misspelled word.
  • Added check to the onClick handler in spell_checker.js so that it doesn't interfere with any onClick handlers that may already exist on the page.
  • Modified the findPosX and findPosY functions in spell_checker.js so that it will find the correct position if the spellchecker is inside any other divs.
  • Consolidated the switchText() spell_checker.js code a bit.
  • Many thanks to Justin Greer for helping find these bugs.

Version 1.8 - 16.June.2005

  • Code will now strip out all arbitrary text the user might have added inside html tags. (i.e. <b onMouseover="document.location='something';"> will now be shortened to just <b>).
    Thanks to Jake Olefsky for noticing that potential security issue.
  • Added support for the img tag. The image will be shown while in the (preview) spell checking mode.
  • Fixed a bug where strings would be stripped of slashes all the time. I changed it so it only does stripslashes if magic quotes are on.
  • Upgraded to CPAINT 1.01

Version 1.7 - 08.June.2005

  • Back to CPAINT. Bugs have been worked out and it works very well and very quickly.
    It's also much more efficient than Sajax.
  • Added a Beta pspell wrapper for aspell. I've never actually tested it for myself so let me know if you use and if it works or doesn't work or whatever. Thanks to Andreas Gohr <andi@splitbrain.org> for that addition.
  • Also added a thing to increase or decrease the size of the text box...some dude asked for it, so there it is if you want to use it.

Version 1.6 - 06.June.2005

  • Reverted back to Sajax instead of CPAINT. I had reports of it not working well with some browsers. Will wait for later version.

Version 1.5 - 03.June.2005

  • Code no longer uses Sajax cause it was slow and very inefficient. I now use a new homebrew AJAX library called CPAINT by Paul Sullivan of BooleanSystems, and now the code is hella fast.
  • Separated Javascript and CSS from the file. Also added a compressed version of the Javascript so it's faster and smaller.

Version 1.4 - 31.May.2005

  • Fixed a little bug where it wouldn't convert html entites back to their applicable characters.

Version 1.3 - 26.May.2005

  • Fixed the bug where it would add breaks for no good reason in Firefox if you had a lot of text. Firefox tries to pretty up the formatting of your html, which I didn't want it to do.

Version 1.2 - 26.May.2005

  • Added fix so that POST is used instead of GET so that large pieces of text will go through properly.

Version 1.1 - 25.May.2005

  • Added BSD open source license.

© 2005 - 2008 Broken-Notebook.com