Skip to content

Releases: k-takata/Onigmo

Onigmo 6.2.0

30 Jan 11:14
Compare
Choose a tag to compare

Changes from Onigmo 6.1.3 are listed below.

Improvement

  • Add USE_CASE_MAP_API configuration. (PR #125)
  • Update Unicode data: Unicode 11.0.0, Emoji 11.0 (PR #112)
  • Make it possible to extend UTF-8 to 31 bits. (PR #111)
  • Support gperf 3.1 with backward compatibility. (PR #101)

Bug fixes

  • Import the latest code from Ruby (PR #112)
  • Fix that "ss" in look-behind causes syntax error. (Issue #92) (PR #116)
  • Fix performance regression if quantifier lower bound is 1. (Issue #100) (PR #114)
  • Fix performance problem with /k/i and /s/i. (Issue #97) (PR #113) (Issue #120) (PR #121)

Onigmo 6.1.3

26 Sep 14:04
Compare
Choose a tag to compare

Onigmo 6.1.2

15 May 14:00
Compare
Choose a tag to compare

Changes from Onigmo 6.1.1 are listed below.

Security fixes

Improvement

  • Improve document about absence operator (Issue #87)
    The name of the operator was changed from "absent" to "absence".
  • Import the latest enc-unicode.rb from Ruby r58070. (Ruby r58065, r58066, r58069 and r58070.)

Bug fixes

  • Fix macro expansion bug. (Ruby r58468)
  • Fix UTF-32 valid_encoding?. (Ruby r57816)
  • Fix missing const on onig_new_without_alloc. (Issue #85)

Onigmo 6.1.1

29 Jan 02:07
Compare
Choose a tag to compare

Changes from Onigmo 6.1.0 are listed below.

Bug fixes

  • Fix that (?~\S+) might cause infinite loop.

Onigmo 6.1.0

16 Jan 14:38
Compare
Choose a tag to compare

Changes from Onigmo 6.0.0 are listed below.

New features

  • Support absent operator (?~subexp) (Issue #82)
    This is a new operator which matches any string which doesn't contain any string which maches subexp. See the document for detail.

Bug fixes

  • mac: Fix loading library (PR #84)
  • Fix out-of-bounds read in set_bm_skip() (Issue #81)
  • Ignore /sample/scan (PR #80)
  • suppress warning: sign compare (PR #79)
  • CRuby enc/*.c needs other way to detect (PR #78)
  • Fix backward search with .* (Issue #69)

Onigmo 6.0.0

10 Dec 09:35
Compare
Choose a tag to compare

This is the first major release of Onigmo. 🎉
Changes from Onigmo 5.15.0 are listed below.

Incompatible changes

  • The header file, library file and other files are renamed from oniguruma* or onig* to onigmo*. This aims to avoid conflict with Oniguruma 6.x. (Issue #66)
  • Source code for Ruby 2.x in ruby-2.x branch is now fully merged into the master branch. This includes the following changes:
    • Ruby specific parts are now sorrounded by #ifdef RUBY .. #endif.
    • Ruby specific onig_compile() is now named onig_compile_ruby().
    • Some APIs have end parameter now. E.g. onigenc_get_prev_char_head().
    • Some encoding names were changed. E.g.: "CP932" -> "Windows-31J".
    • Encoding structs and syntax structs are now constants.
  • The behavior of [[:punct:]] on Unicode encodings is changed. Now [[:punct:]] matches the nine characters $+<=>^|~` on all encodings. (Issue #42)
  • Drop support for very old compilers. For MSVC, VC2005 or later is required. For other platforms, ANSI C89 is required. (Issue #72)
  • Remove ONIG_OPTION_POSIX_REGION. (Issue #75)
  • Value of some constants were changed. E.g. ONIG_OPTION_NOTBOS
  • Remove onigenc_set_default_caseconv_table().
  • All THREAD_* macros are removed, because Onigmo is now thread-safe.

New features

  • Support Token Threaded VM on GCC and Clang. (PR #52)
  • Update Unicode database from 7.0.0 to 9.0.0.
  • Support true extended grapheme cluster. (Issue #46)
  • Add onig_{get,set}_parse_depth_limit(). (Issue #68)
  • Add onig_initialize().
  • Add onig_scan().
  • Support \uHHHH in Ruby syntax.
  • Support \o{OOO} in Perl syntax.
  • Use separate build directories for x86 and x64 on Windows. (Issue #67)
  • Some new encodings were imported from Ruby: KOI8-U, Windows-1250, Windows-1251, Windows-1252, Windows-1253, Windows-1254 and Windows-1257.
  • Support multiprocess build on MSVC.
  • Add build_nmake script for building with nmake. (PR #47)

Bug fixes

  • Fix that deeply nested capture groups cause stack overflow. (Issue #68)
  • Fix that some patterns cause crash. (Issue #65, etc.)
  • Fix that \G doesn't match properly with onig_search_gpos(). (Issue #53)
  • Fix that look-behind does not take Unicode case-folding into account. (Issue #18)
  • Fix that wrong capturing occurs after recursive match. (Issue #48)
  • Fix build error on systems using BSD make. (PR #55)
  • The behavior of named backreferences in Perl syntax was different from Perl. (Issue #74)
  • etc.

Many changes from Ruby and also from Oniguruma were merged.