]> granicus.if.org Git - onig/log
onig
7 years agoMerge pull request #39 from k-takata/fix-utf-16
K.Kosako [Tue, 13 Dec 2016 07:31:09 +0000 (16:31 +0900)]
Merge pull request #39 from k-takata/fix-utf-16

Fix UTF-16/32 problems

7 years agoFix that warnings are not shown properly
K.Takata [Tue, 1 Nov 2016 13:45:49 +0000 (22:45 +0900)]
Fix that warnings are not shown properly

When encoding is UTF-16LE/32LE, warning message with '/' or '\\' are not
shown properly.

7 years ago/[a-c#]+\W/ =~ "def#" fails when encoding is UTF-16/32
K.Takata [Tue, 15 Jul 2014 13:52:34 +0000 (22:52 +0900)]
/[a-c#]+\W/ =~ "def#" fails when encoding is UTF-16/32

7 years ago/[\x{0}-X]/i doesn't match properly when UTF-16/32 is used.
K.Takata [Wed, 16 Nov 2011 18:36:22 +0000 (03:36 +0900)]
/[\x{0}-X]/i doesn't match properly when UTF-16/32 is used.

This bug occurs when a code range already includes \x{0} and adding
a new code range to it. We must also care about 0xffffffff.

7 years agosetup 6.1.3 v6.1.3
K.Kosako [Sun, 11 Dec 2016 04:18:17 +0000 (13:18 +0900)]
setup 6.1.3

7 years agoupdate HISTORY
K.Kosako [Sun, 11 Dec 2016 04:12:29 +0000 (13:12 +0900)]
update HISTORY

7 years agofix: Syntax error: redirection unexpected (expecting word) #35
K.Kosako [Sat, 10 Dec 2016 08:00:04 +0000 (17:00 +0900)]
fix: Syntax error: redirection unexpected (expecting word) #35

7 years agocheck return values for alloc() and Calloc()
kosako [Thu, 17 Nov 2016 05:04:11 +0000 (14:04 +0900)]
check return values for alloc() and Calloc()

7 years agoadd an entry into .gitignore
kosako [Tue, 15 Nov 2016 04:34:36 +0000 (13:34 +0900)]
add an entry into .gitignore

7 years agocheck return value for fprintf() and fputs() #34
kosako [Tue, 15 Nov 2016 04:33:46 +0000 (13:33 +0900)]
check return value for fprintf() and fputs() #34

7 years agoguard __USE_ISOC99
kosako [Tue, 15 Nov 2016 04:26:59 +0000 (13:26 +0900)]
guard __USE_ISOC99

7 years agocheck return value for fopen() #34
kosako [Tue, 15 Nov 2016 04:21:40 +0000 (13:21 +0900)]
check return value for fopen() #34

8 years agomerge from develop v6.1.2
kosako [Mon, 7 Nov 2016 01:41:55 +0000 (10:41 +0900)]
merge from develop

8 years agoupdate README.md
kosako [Mon, 7 Nov 2016 01:33:25 +0000 (10:33 +0900)]
update README.md

8 years agosetup 6.1.2
kosako [Thu, 3 Nov 2016 11:59:01 +0000 (20:59 +0900)]
setup 6.1.2

8 years agoupdate HISTORY
kosako [Thu, 3 Nov 2016 11:53:50 +0000 (20:53 +0900)]
update HISTORY

8 years agoallow word bound, word begin and word end in look-behind
kosako [Tue, 25 Oct 2016 06:37:28 +0000 (15:37 +0900)]
allow word bound, word begin and word end in look-behind

8 years agofix typo
kosako [Thu, 20 Oct 2016 04:03:30 +0000 (13:03 +0900)]
fix typo

8 years agoMerge pull request #30 from k-takata/fix-typo
K.Kosako [Wed, 19 Oct 2016 23:50:31 +0000 (08:50 +0900)]
Merge pull request #30 from k-takata/fix-typo

Fix typos

8 years agoFix typos in comments and docs
K.Takata [Fri, 7 Oct 2016 20:11:28 +0000 (05:11 +0900)]
Fix typos in comments and docs

8 years agoadd ONIG_OPTION_CHECK_VALIDITY_OF_STRING
kosako [Wed, 19 Oct 2016 10:01:21 +0000 (19:01 +0900)]
add ONIG_OPTION_CHECK_VALIDITY_OF_STRING

8 years agofix forgotten to call anchor target
K.Kosako [Sun, 16 Oct 2016 09:14:20 +0000 (18:14 +0900)]
fix forgotten to call anchor target

8 years agofix: use after free for regexp /()(?\!(?'a')\1)/ #29
K.Kosako [Sun, 16 Oct 2016 09:08:09 +0000 (18:08 +0900)]
fix: use after free for regexp /()(?\!(?'a')\1)/ #29

8 years agofix bug: Use after free when parsing /(|/ #27
kosako [Tue, 11 Oct 2016 03:47:14 +0000 (12:47 +0900)]
fix bug: Use after free when parsing /(|/ #27

8 years agoMemory leaks after onig_new(), onig_free() when parsing regexp /\((/ #26
K.Kosako [Mon, 10 Oct 2016 02:14:00 +0000 (11:14 +0900)]
Memory leaks after onig_new(), onig_free() when parsing regexp /\((/ #26

8 years agoFix typo in debug log
K.Takata [Fri, 7 Oct 2016 20:10:31 +0000 (05:10 +0900)]
Fix typo in debug log

8 years agoUpdate config.sub to version 2016-09-05
kosako [Mon, 3 Oct 2016 00:55:24 +0000 (09:55 +0900)]
Update config.sub to version 2016-09-05

8 years agoUpdate config.guess to version 2016-09-11
kosako [Mon, 3 Oct 2016 00:55:02 +0000 (09:55 +0900)]
Update config.guess to version 2016-09-11

8 years agoMerge pull request #25 from maxnordlund/patch-1
K.Kosako [Sun, 2 Oct 2016 14:30:34 +0000 (23:30 +0900)]
Merge pull request #25 from maxnordlund/patch-1

Update config.guess and config.sub to latest version

8 years agoUpdate config.sub to version 2016-09-05
Max Nordlund [Sun, 2 Oct 2016 13:08:17 +0000 (15:08 +0200)]
Update config.sub to version 2016-09-05

8 years agoUpdate config.guess to version 2016-09-11
Max Nordlund [Sun, 2 Oct 2016 13:06:55 +0000 (15:06 +0200)]
Update config.guess to version 2016-09-11

8 years agofix anchor conflict by look-behind following anychar-star-multiline (/(?<=a).*/m...
K.Kosako [Thu, 22 Sep 2016 13:04:22 +0000 (22:04 +0900)]
fix anchor conflict by look-behind following anychar-star-multiline (/(?<=a).*/m fail with 'ab')

8 years agoimplement is_valid_mbc_string() in gb18030
K.Kosako [Thu, 22 Sep 2016 00:54:33 +0000 (09:54 +0900)]
implement is_valid_mbc_string() in gb18030

8 years agoimplement is_valid_mbc_string() in big5
K.Kosako [Wed, 21 Sep 2016 23:38:08 +0000 (08:38 +0900)]
implement is_valid_mbc_string() in big5

8 years agoshould be OnigUChar instead of UChar
K.Kosako [Sun, 18 Sep 2016 09:45:30 +0000 (18:45 +0900)]
should be OnigUChar instead of UChar

8 years agoimplement is_valid_mbc_string() in euc_tw
K.Kosako [Sun, 18 Sep 2016 09:38:21 +0000 (18:38 +0900)]
implement is_valid_mbc_string() in euc_tw

8 years agoimplement is_valid_mbc_string() in euc_kr
K.Kosako [Sun, 18 Sep 2016 09:25:54 +0000 (18:25 +0900)]
implement is_valid_mbc_string() in euc_kr

8 years agoimplement is_valid_mbc_string() in Shift_jis
K.Kosako [Sun, 18 Sep 2016 09:04:21 +0000 (18:04 +0900)]
implement is_valid_mbc_string() in Shift_jis

8 years agoshould be OnigUChar instead of UChar
K.Kosako [Sat, 17 Sep 2016 13:29:52 +0000 (22:29 +0900)]
should be OnigUChar instead of UChar

8 years agoimplement is_valid_mbc_string() in euc_jp
K.Kosako [Sun, 11 Sep 2016 03:06:58 +0000 (12:06 +0900)]
implement is_valid_mbc_string() in euc_jp

8 years agoupdate HISTORY v6.1.1
K.Kosako [Wed, 31 Aug 2016 14:50:14 +0000 (23:50 +0900)]
update HISTORY

8 years agosetup 6.1.1
K.Kosako [Wed, 31 Aug 2016 14:47:03 +0000 (23:47 +0900)]
setup 6.1.1

8 years agofix segmentation fault /W.?{888}{888}{888}\x00/ (found by libfuzzer)
K.Kosako [Wed, 31 Aug 2016 14:24:57 +0000 (23:24 +0900)]
fix segmentation fault /W.?{888}{888}{888}\x00/ (found by libfuzzer)

8 years agofix error unmatched close parenthesis for %{(.*?)} #23
kosako [Wed, 31 Aug 2016 09:43:27 +0000 (18:43 +0900)]
fix error unmatched close parenthesis for %{(.*?)} #23

8 years agoupdate HISTORY v6.1.0
K.Kosako [Sun, 28 Aug 2016 11:05:31 +0000 (20:05 +0900)]
update HISTORY

8 years agoadd distribution file
K.Kosako [Sun, 28 Aug 2016 11:03:42 +0000 (20:03 +0900)]
add distribution file

8 years agomove etc/ to contributed
K.Kosako [Sun, 28 Aug 2016 10:50:42 +0000 (19:50 +0900)]
move etc/ to contributed

8 years agoadd etc/libfuzzer-onig.cpp
K.Kosako [Sun, 28 Aug 2016 10:19:02 +0000 (19:19 +0900)]
add etc/libfuzzer-onig.cpp

8 years agoupdate LTVERSION 4:0:0
K.Kosako [Sun, 28 Aug 2016 10:16:36 +0000 (19:16 +0900)]
update LTVERSION 4:0:0

8 years agoremove onigenc_mbc_enc_len_end()
K.Kosako [Sun, 28 Aug 2016 09:50:26 +0000 (18:50 +0900)]
remove onigenc_mbc_enc_len_end()

8 years agoreimplement mbc_to_code() in utf-8
K.Kosako [Sun, 28 Aug 2016 09:33:52 +0000 (18:33 +0900)]
reimplement mbc_to_code() in utf-8

8 years agoNEW API: onigenc_is_valid_mbc_string()
K.Kosako [Sun, 28 Aug 2016 07:51:35 +0000 (16:51 +0900)]
NEW API: onigenc_is_valid_mbc_string()

8 years agofix is_valid_mbc_string() in utf-16le
K.Kosako [Sun, 28 Aug 2016 06:06:24 +0000 (15:06 +0900)]
fix is_valid_mbc_string() in utf-16le

8 years agoremove redundant code
K.Kosako [Sun, 28 Aug 2016 00:58:43 +0000 (09:58 +0900)]
remove redundant code

8 years agofix out of memory 0x27 0x2f 0x67 0x5c 0xff 0xff 0xff 0xff 0x26 0x29 0x29
K.Kosako [Sat, 27 Aug 2016 12:11:44 +0000 (21:11 +0900)]
fix out of memory 0x27 0x2f 0x67 0x5c 0xff 0xff 0xff 0xff 0x26 0x29 0x29

8 years agoadd is_valid_mbc_string() member into OnigEncodingType
K.Kosako [Sat, 27 Aug 2016 08:52:30 +0000 (17:52 +0900)]
add is_valid_mbc_string() member into OnigEncodingType

8 years agofix out of bounds read -\xc1\xfb{22}
K.Kosako [Sat, 27 Aug 2016 05:59:23 +0000 (14:59 +0900)]
fix out of bounds read -\xc1\xfb{22}

8 years agofix out of bounds read /(\k'k-0/
K.Kosako [Sat, 27 Aug 2016 01:25:25 +0000 (10:25 +0900)]
fix out of bounds read /(\k'k-0/

8 years agofix out of bounds read by /\k'-/
K.Kosako [Fri, 26 Aug 2016 15:35:42 +0000 (00:35 +0900)]
fix out of bounds read by /\k'-/

8 years agofix out of bounds read /[\p{/ (found by libfuzzer)
K.Kosako [Fri, 26 Aug 2016 15:24:51 +0000 (00:24 +0900)]
fix out of bounds read /[\p{/ (found by libfuzzer)

8 years agofix out of bounds read by /(?</ (found by libfuzzer)
K.Kosako [Fri, 26 Aug 2016 15:00:35 +0000 (00:00 +0900)]
fix out of bounds read by /(?</ (found by libfuzzer)

8 years agoremove DEBUG_OOB
kosako [Fri, 26 Aug 2016 10:16:00 +0000 (19:16 +0900)]
remove DEBUG_OOB

8 years agofix invalid goto in parse_char_class() #21
kosako [Fri, 26 Aug 2016 10:12:27 +0000 (19:12 +0900)]
fix invalid goto in parse_char_class() #21

8 years agofix out of bounds read in fetch_token() #20
kosako [Fri, 26 Aug 2016 08:54:11 +0000 (17:54 +0900)]
fix out of bounds read in fetch_token() #20

8 years agofix indent
kosako [Thu, 25 Aug 2016 07:33:51 +0000 (16:33 +0900)]
fix indent

8 years agoreduce DEBUG_OOB
kosako [Thu, 25 Aug 2016 07:23:22 +0000 (16:23 +0900)]
reduce DEBUG_OOB

8 years agodon't use enclen_end() by check in onig_parse_make_tree()
kosako [Thu, 25 Aug 2016 00:57:41 +0000 (09:57 +0900)]
don't use enclen_end() by check in onig_parse_make_tree()

8 years agodisable USE_INVALID_CODE_SCHEME for fix #18
kosako [Thu, 25 Aug 2016 00:33:55 +0000 (09:33 +0900)]
disable USE_INVALID_CODE_SCHEME for fix #18

8 years agofix out of bounds heap read in add_bytes #19
K.Kosako [Wed, 24 Aug 2016 14:40:22 +0000 (23:40 +0900)]
fix out of bounds heap read in add_bytes #19

8 years agoregression of using enclen_end()
K.Kosako [Wed, 24 Aug 2016 14:11:47 +0000 (23:11 +0900)]
regression of using enclen_end()

8 years agore-fix out of bounds read in mbc_to_code() #16
kosako [Wed, 24 Aug 2016 05:33:52 +0000 (14:33 +0900)]
re-fix out of bounds read in mbc_to_code() #16

8 years agouse enclen_end() in regparse.c
kosako [Wed, 24 Aug 2016 02:16:05 +0000 (11:16 +0900)]
use enclen_end() in regparse.c

8 years agoadd DEBUG_OOB
kosako [Wed, 24 Aug 2016 01:02:38 +0000 (10:02 +0900)]
add DEBUG_OOB

8 years agoadd description of 6.1
kosako [Tue, 23 Aug 2016 01:59:27 +0000 (10:59 +0900)]
add description of 6.1

8 years agoupdate HISTORY
kosako [Tue, 23 Aug 2016 01:58:57 +0000 (10:58 +0900)]
update HISTORY

8 years agodoc/RE: clarify the definition of \G
esdoppio [Mon, 22 Aug 2016 23:29:56 +0000 (07:29 +0800)]
doc/RE: clarify the definition of \G

8 years agodoc/RE: refine section Subexp calls
esdoppio [Mon, 22 Aug 2016 16:38:32 +0000 (00:38 +0800)]
doc/RE: refine section Subexp calls

8 years agodoc/RE: clarify section Backreferences
esdoppio [Mon, 22 Aug 2016 11:49:12 +0000 (19:49 +0800)]
doc/RE: clarify section Backreferences

8 years agosetup 6.1.0
kosako [Mon, 22 Aug 2016 08:01:35 +0000 (17:01 +0900)]
setup 6.1.0

8 years agoadd description of files into README.md
kosako [Mon, 22 Aug 2016 08:00:50 +0000 (17:00 +0900)]
add description of files into README.md

8 years agoupdate HISTORY
kosako [Mon, 22 Aug 2016 07:27:58 +0000 (16:27 +0900)]
update HISTORY

8 years agoupdate date for doc/RE
kosako [Mon, 22 Aug 2016 07:27:36 +0000 (16:27 +0900)]
update date for doc/RE

8 years agoadd onig_scan() into doc/API
kosako [Mon, 22 Aug 2016 07:22:08 +0000 (16:22 +0900)]
add onig_scan() into doc/API

8 years agofix indent
kosako [Mon, 22 Aug 2016 07:13:56 +0000 (16:13 +0900)]
fix indent

8 years agofix bug: Out of bounds read in onig_strcpy() #17
kosako [Mon, 22 Aug 2016 06:52:57 +0000 (15:52 +0900)]
fix bug: Out of bounds read in onig_strcpy() #17

8 years agoupdate HISTORY
K.Kosako [Sun, 21 Aug 2016 15:07:02 +0000 (00:07 +0900)]
update HISTORY

8 years agofix invalid pattern in sample/bug_fix.c
K.Kosako [Sun, 21 Aug 2016 13:53:12 +0000 (22:53 +0900)]
fix invalid pattern in sample/bug_fix.c

8 years agofix bug: infinite loop of backreference and group
K.Kosako [Sun, 21 Aug 2016 13:52:34 +0000 (22:52 +0900)]
fix bug: infinite loop of backreference and group

8 years agofix out of bounds read in mbc_to_code() #16
K.Kosako [Sun, 21 Aug 2016 08:42:18 +0000 (17:42 +0900)]
fix out of bounds read in mbc_to_code() #16

8 years agodoc/RE: refinements
esdoppio [Thu, 18 Aug 2016 15:55:18 +0000 (23:55 +0800)]
doc/RE: refinements

8 years agodoc/RE: remove trailing spaces and fix typos
esdoppio [Thu, 18 Aug 2016 11:44:56 +0000 (19:44 +0800)]
doc/RE: remove trailing spaces and fix typos

8 years agoadd sample/scan.c
K.Kosako [Wed, 17 Aug 2016 20:24:12 +0000 (05:24 +0900)]
add sample/scan.c

8 years agoadd onig_scan() (NEW API)
K.Kosako [Wed, 17 Aug 2016 20:23:35 +0000 (05:23 +0900)]
add onig_scan() (NEW API)

8 years agoadd a test case (find longest option)
K.Kosako [Tue, 16 Aug 2016 06:07:14 +0000 (15:07 +0900)]
add a test case (find longest option)

8 years agoreimplement match stack allocation for case too many repeat and too many captures...
K.Kosako [Tue, 16 Aug 2016 06:05:42 +0000 (15:05 +0900)]
reimplement match stack allocation for case too many repeat and too many captures in regexp

8 years agoadd test /(\2)(\1)/ into bug_fix.c
K.Kosako [Tue, 16 Aug 2016 05:58:06 +0000 (14:58 +0900)]
add test /(\2)(\1)/ into bug_fix.c

8 years agonumber of captures <= 32767 for bytecode representation
K.Kosako [Mon, 15 Aug 2016 07:34:42 +0000 (16:34 +0900)]
number of captures <= 32767 for bytecode representation

8 years agooutput warning if onig_initialize() is not called explicitly
K.Kosako [Sat, 13 Aug 2016 14:28:01 +0000 (23:28 +0900)]
output warning if onig_initialize() is not called explicitly

8 years agoadd onig_warning()
K.Kosako [Sat, 13 Aug 2016 14:26:37 +0000 (23:26 +0900)]
add onig_warning()

8 years agofix indent
kosako [Fri, 5 Aug 2016 06:02:28 +0000 (15:02 +0900)]
fix indent