]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/README
MdeModulePkg RegularExpressionDxe: Update Oniguruma to 6.9.0
[mirror_edk2.git] / MdeModulePkg / Universal / RegularExpressionDxe / Oniguruma / README
index 18952eed007fc405322c8642864cc50f4f48b0a1..4975466cedf2dceb7116c67edff3077a2c4a4465 100644 (file)
@@ -1,12 +1,30 @@
-README  2007/05/31\r
-\r
-Oniguruma  ----   (C) K.Kosako <sndgk393 AT ybb DOT ne DOT jp>\r
-\r
-http://www.geocities.jp/kosako3/oniguruma/\r
-\r
-Oniguruma is a regular expressions library.\r
-The characteristics of this library is that different character encoding\r
-for every regular expression object can be specified.\r
+README  2018/04/05\r
+\r
+Oniguruma  ----   (C) K.Kosako\r
+\r
+https://github.com/kkos/oniguruma\r
+\r
+FIXED Security Issues (in Oniguruma 6.3.0):\r
+  CVE-2017-9224, CVE-2017-9225, CVE-2017-9226\r
+  CVE-2017-9227, CVE-2017-9228, CVE-2017-9229\r
+\r
+---\r
+Oniguruma is a modern and flexible regular expressions library. It\r
+encompasses features from different regular expression implementations\r
+that traditionally exist in different languages. It comes close to\r
+being a complete superset of all regular expression features found\r
+in other regular expression implementations.\r
+\r
+Its features include:\r
+* Character encoding can be specified per regular expression object.\r
+* Several regular expression types are supported:\r
+  * POSIX\r
+  * Grep\r
+  * GNU Regex\r
+  * Perl\r
+  * Java\r
+  * Ruby\r
+  * Emacs\r
 \r
 Supported character encodings:\r
 \r
@@ -30,18 +48,16 @@ Install
 \r
  Case 1: Unix and Cygwin platform\r
 \r
-   1. ./configure\r
-   2. make\r
-   3. make install\r
+   1. autoreconf -vfi   (* case: configure script is not found.)\r
+\r
+   2. ./configure\r
+   3. make\r
+   4. make install\r
 \r
    * uninstall\r
 \r
      make uninstall\r
 \r
-   * test (ASCII/EUC-JP)\r
-\r
-     make atest\r
-\r
    * configuration check\r
 \r
      onig-config --cflags\r
@@ -51,18 +67,19 @@ Install
 \r
 \r
 \r
- Case 2: Win32 platform (VC++)\r
+ Case 2: Windows 64/32bit platform (Visual Studio)\r
 \r
-   1. copy win32\Makefile Makefile\r
-   2. copy win32\config.h config.h\r
-   3. nmake\r
+   execute make_win64 or make_win32\r
 \r
-      onig_s.lib:  static link library\r
-      onig.dll:    dynamic link library\r
+      src/onig_s.lib:  static link library\r
+      src/onig.dll:    dynamic link library\r
 \r
   * test (ASCII/Shift_JIS)\r
-   4. copy win32\testc.c testc.c\r
-   5. nmake ctest\r
+      1. cd src\r
+      2. copy ..\windows\testc.c .\r
+      3. nmake -f Makefile.windows ctest\r
+\r
+  (I have checked by Visual Studio Community 2015)\r
 \r
 \r
 \r
@@ -103,6 +120,7 @@ Sample Programs
   sample/posix.c     POSIX API sample.\r
   sample/sql.c       example of the variable meta characters.\r
                      (SQL-like pattern matching)\r
+  sample/user_property.c  example of user defined Unicode property.\r
 \r
 Test Programs\r
   sample/syntax.c    Perl, Java and ASIS syntax test.\r
@@ -136,54 +154,42 @@ Source Files
   regposerr.c        POSIX error message function.\r
   regposix.c         POSIX API functions.\r
 \r
-  enc/mktable.c      character type table generator.\r
-  enc/ascii.c        ASCII encoding.\r
-  enc/euc_jp.c       EUC-JP encoding.\r
-  enc/euc_tw.c       EUC-TW encoding.\r
-  enc/euc_kr.c       EUC-KR, EUC-CN encoding.\r
-  enc/sjis.c         Shift_JIS encoding.\r
-  enc/big5.c         Big5      encoding.\r
-  enc/gb18030.c      GB18030   encoding.\r
-  enc/koi8.c         KOI8      encoding.\r
-  enc/koi8_r.c       KOI8-R    encoding.\r
-  enc/cp1251.c       CP1251    encoding.\r
-  enc/iso8859_1.c    ISO-8859-1  encoding. (Latin-1)\r
-  enc/iso8859_2.c    ISO-8859-2  encoding. (Latin-2)\r
-  enc/iso8859_3.c    ISO-8859-3  encoding. (Latin-3)\r
-  enc/iso8859_4.c    ISO-8859-4  encoding. (Latin-4)\r
-  enc/iso8859_5.c    ISO-8859-5  encoding. (Cyrillic)\r
-  enc/iso8859_6.c    ISO-8859-6  encoding. (Arabic)\r
-  enc/iso8859_7.c    ISO-8859-7  encoding. (Greek)\r
-  enc/iso8859_8.c    ISO-8859-8  encoding. (Hebrew)\r
-  enc/iso8859_9.c    ISO-8859-9  encoding. (Latin-5 or Turkish)\r
-  enc/iso8859_10.c   ISO-8859-10 encoding. (Latin-6 or Nordic)\r
-  enc/iso8859_11.c   ISO-8859-11 encoding. (Thai)\r
-  enc/iso8859_13.c   ISO-8859-13 encoding. (Latin-7 or Baltic Rim)\r
-  enc/iso8859_14.c   ISO-8859-14 encoding. (Latin-8 or Celtic)\r
-  enc/iso8859_15.c   ISO-8859-15 encoding. (Latin-9 or West European with Euro)\r
-  enc/iso8859_16.c   ISO-8859-16 encoding.\r
+  mktable.c          character type table generator.\r
+  ascii.c            ASCII encoding.\r
+  euc_jp.c           EUC-JP encoding.\r
+  euc_tw.c           EUC-TW encoding.\r
+  euc_kr.c           EUC-KR, EUC-CN encoding.\r
+  sjis.c             Shift_JIS encoding.\r
+  big5.c             Big5      encoding.\r
+  gb18030.c          GB18030   encoding.\r
+  koi8.c             KOI8      encoding.\r
+  koi8_r.c           KOI8-R    encoding.\r
+  cp1251.c           CP1251    encoding.\r
+  iso8859_1.c        ISO-8859-1  encoding. (Latin-1)\r
+  iso8859_2.c        ISO-8859-2  encoding. (Latin-2)\r
+  iso8859_3.c        ISO-8859-3  encoding. (Latin-3)\r
+  iso8859_4.c        ISO-8859-4  encoding. (Latin-4)\r
+  iso8859_5.c        ISO-8859-5  encoding. (Cyrillic)\r
+  iso8859_6.c        ISO-8859-6  encoding. (Arabic)\r
+  iso8859_7.c        ISO-8859-7  encoding. (Greek)\r
+  iso8859_8.c        ISO-8859-8  encoding. (Hebrew)\r
+  iso8859_9.c        ISO-8859-9  encoding. (Latin-5 or Turkish)\r
+  iso8859_10.c       ISO-8859-10 encoding. (Latin-6 or Nordic)\r
+  iso8859_11.c       ISO-8859-11 encoding. (Thai)\r
+  iso8859_13.c       ISO-8859-13 encoding. (Latin-7 or Baltic Rim)\r
+  iso8859_14.c       ISO-8859-14 encoding. (Latin-8 or Celtic)\r
+  iso8859_15.c       ISO-8859-15 encoding. (Latin-9 or West European with Euro)\r
+  iso8859_16.c       ISO-8859-16 encoding.\r
                      (Latin-10 or South-Eastern European with Euro)\r
-  enc/utf8.c         UTF-8    encoding.\r
-  enc/utf16_be.c     UTF-16BE encoding.\r
-  enc/utf16_le.c     UTF-16LE encoding.\r
-  enc/utf32_be.c     UTF-32BE encoding.\r
-  enc/utf32_le.c     UTF-32LE encoding.\r
-  enc/unicode.c      Unicode information data.\r
+  utf8.c             UTF-8    encoding.\r
+  utf16_be.c         UTF-16BE encoding.\r
+  utf16_le.c         UTF-16LE encoding.\r
+  utf32_be.c         UTF-32BE encoding.\r
+  utf32_le.c         UTF-32LE encoding.\r
+  unicode.c          common codes of Unicode encoding.\r
 \r
   win32/Makefile     Makefile for Win32 (VC++)\r
   win32/config.h     config.h for Win32\r
 \r
 \r
-\r
-ToDo\r
-\r
-  ? case fold flag: Katakana <-> Hiragana.\r
-  ? add ONIG_OPTION_NOTBOS/NOTEOS. (\A, \z, \Z)\r
- ?? \X (== \PM\pM*)\r
- ?? implement syntax behavior ONIG_SYN_CONTEXT_INDEP_ANCHORS.\r
- ?? transmission stopper. (return ONIG_STOP from match_at())\r
-\r
 and I'm thankful to Akinori MUSHA.\r
-\r
-\r
-Mail Address: K.Kosako <sndgk393 AT ybb DOT ne DOT jp>\r