Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

Releases: mnater/Hyphenator

Version 5.3.0

13 Oct 14:03
Compare
Choose a tag to compare
  • fall back to loading patterns from GitHub (#275, #311 )
  • fix regex to match urls like example.co.uk
  • oncopy-handler is now registered on parent-elements only (#310)
  • fixed issue when toggling hyphenation for elements with class="urlhyphenate"
  • removed deprecated showModalDialog
  • some refactoring to meet JSLint standards

Version 5.2.0

06 Aug 22:27
Compare
Choose a tag to compare
  • updated patterns for german
  • support for Irish (thanks to Kevin Scannell)
  • support for Georgian (thanks to Levan Shoshiashvili)
  • support for Church Slavonic (thanks to Aleksandr Andreev)
  • adopt the more restrictive coding standarts of new JSLint
  • adds some missing chars and adjusts leftmin in french patterns
  • fixes an issue with extremly long words (#226)
  • fixes an issue where Hyphenator_Loader didn't yield correct results (#231)
  • fixes an issue with character substitution (#246)
  • Adds options to control leftmin and rightmin (#240)
  • Adds options to prevent ugly hyphenation of compound words (#261)
  • fixes an issue with orphan control (#264)
  • fixes an issue when toggling non-ASCII hyphenchars (#267)
  • fixes issue in mergeAndPack (#276)
  • fixes an issue where URLs are not correctly detected (#287, #289, #290)
  • fixes an issue with the toggleBox (#291)
  • fixes an issue with words that already contain shy (#297)

Version 5.1.0

24 Jun 10:06
Compare
Choose a tag to compare

This minor release brings the following changes:

  • patterns are stored in DOM-Storage in the raw format (instead of as trie); this is faster since building the trie is highly optimised and much faster than unpacking and parsing the huge indexed trie.
  • fixes a performance issue when checking if String.normalize() is supported
  • fires hyphenation of elements immediately instead on timeout (better perf)
  • deferred writing to storage works with frames, too
  • fixes an issue with toggling hyphenation

Version 5.0.1

27 Apr 15:09
Compare
Choose a tag to compare
Small fixes

- Fixes error in bower.json
- Hyphenator_Loader.js only relayouts once

Version 5.0.0

13 Apr 12:24
Compare
Choose a tag to compare

This major release brings the following changes:

  • better performance 1: The way how the patterns are represented in memory has changed. Instead of a huge objegt tree a (typed) array is used. Arrays use less memory and typed arrays are not garbage collected. To build the typed array information about the length of the arrays are necessary. This information is stored in the pattern files. Make sure to also replace old pattern files by new ones! Since the format of the pattern files changes mergeAndPack.html and compressor.html have changed, too. So this is seen as a major release.
  • better performance 2: the regular expressions for finding words are less captive
  • better performance 3: messaging and waiting for patterns to be loaded is more accurate
  • better performance 4: some rare-case and not so rare JIT deoptimizations are gone
  • fixes issue215
  • fixes issues with compound characters (only if String().normalize is supported)
  • fixes an issue where a DOM Exception 1: Index greater as allowed occured

4.3.0

18 Mar 13:48
Compare
Choose a tag to compare

This minor release brings the following changes:

  • added support for Serbian Cyrillic (thanks to Milan Gurjanov)
  • jsdoc3 formatted code comments in the source file
  • the core functions are slightly faster (specially in chrome: removed some deopts)
  • better performance when checking for CSS3 hyphens support
  • new method for hyphenating URL-styled text (fixed issue188 and issue198)
  • prevention of a memory leak in some rare cases (fixed issue192)
  • Hyphenator. emits a warning to the console, when it is invoked twice (see documentation)
  • Code refactoring for better readability
    And some bugfixes:
  • fixed an issue with Hyphenator.js running in private mode (fixed issue108)
  • fixed an issue with the Bookmarklet (fixed issue185)
  • fixed an issue with ommited tags (fixed issue194)
  • workaround for a bug in Konqueror 4.8.4 (fixed issue202)

4.2.0

18 Mar 14:07
Compare
Choose a tag to compare

This minor release brings the following changes:

  • added support for Romanian (thanks to irragal)
  • hiding and unhiding of elements is now done by adding classes
  • patterns stored in DOMStorage are now versioned (fixed issue169)
  • Hyphenator.js now uses a modalDialog to ask for languages if o language is defined (issue171)
  • there are two new functions that can be defined: onbeforewordhyphenation and onafterwordhyphenation
    And some bugfixes:
  • fixed issue when accessing external style sheets (fixed issue164)
  • togglebox works when elements are hyphenated by CSS (fixed issue168)
  • hyphenation now works for elements with a supported language on pages that have a unsupported main language (fixed issue177)
  • elements now hide during hyphenation when using a selector function (fixed issue172)
  • some general refactoring and code changes

Version_4.2.0

18 Mar 14:07
Compare
Choose a tag to compare

This minor release brings the following changes:

  • bookmarklet uses CSS3hyphenation
  • updated jslint and made it happier
  • faster pattern checking (async)
  • use of querySelectorAll in some browsers
  • globally hide and unhide text by setting CSS classes (faster)
  • included test for CSS3hyphenation availability
  • made Hyphenator.js ready for IE10
  • added support for Esperanto (thanks to Sergio Pokrovskij)
  • added support for Estonian (thanks to Peeter Marvet)
  • added support for Serbian latin (thanks to (Sonja Keljević)
  • some general commenting and code reordering
    Ans some bugfixes:
  • fixed issue with getComputedStyle for older Firefox (<4)
  • fixed issue158 (Not working when called after the document load, thanks to davenewtron)
  • fixed issue162 (Object Document has no method 'getAttribute')
  • fixed issue165 (words not cached)
  • fixed issue166 (added polish prompter string)
  • fixed issue148 (safe copy not working correctly with toggle box)
  • fixed an issue where words with apostrophes weren't treated correctly