]> granicus.if.org Git - onig/log
onig
5 years agoposix-api=no for 'make sanitize'
K.Kosako [Mon, 26 Aug 2019 00:01:48 +0000 (09:01 +0900)]
posix-api=no for 'make sanitize'

5 years agofix invalid position of return value check
K.Kosako [Sun, 25 Aug 2019 14:41:42 +0000 (23:41 +0900)]
fix invalid position of return value check

5 years agoremove tabs
K.Kosako [Sun, 25 Aug 2019 14:33:43 +0000 (23:33 +0900)]
remove tabs

5 years agouse OP_EMPTY_CHECK_END instead of OP_EMPTY_CHECK_END_MEMST for Quantifiers which...
K.Kosako [Sun, 25 Aug 2019 14:30:46 +0000 (23:30 +0900)]
use OP_EMPTY_CHECK_END instead of OP_EMPTY_CHECK_END_MEMST for Quantifiers which disabled EMPTY_STATUS_CHECK flag

5 years agodon't need to check nest level of PREC_READ in STACK_EMPTY_CHECK_MEM() and STACK_EMPT...
K.Kosako [Sun, 25 Aug 2019 14:05:27 +0000 (23:05 +0900)]
don't need to check nest level of PREC_READ in STACK_EMPTY_CHECK_MEM() and STACK_EMPTY_CHECK_MEM_REC()

5 years agouse empty_status_mem in STACK_EMPTY_CHECK_MEM() and STACK_EMPTY_CHECK_MEM_REC()
K.Kosako [Sun, 25 Aug 2019 13:59:35 +0000 (22:59 +0900)]
use empty_status_mem in STACK_EMPTY_CHECK_MEM() and STACK_EMPTY_CHECK_MEM_REC()

5 years agoadd EMPTY_STATUS_CHECK flag into quantifier node
K.Kosako [Sun, 25 Aug 2019 08:58:10 +0000 (17:58 +0900)]
add EMPTY_STATUS_CHECK flag into quantifier node

5 years agoadd empty_status_mem member into re_pattern_buffer
K.Kosako [Sat, 24 Aug 2019 14:50:48 +0000 (23:50 +0900)]
add empty_status_mem member into re_pattern_buffer

5 years agofix EMPTY_STATUS_CHECK setting condition
K.Kosako [Sat, 24 Aug 2019 13:08:39 +0000 (22:08 +0900)]
fix EMPTY_STATUS_CHECK setting condition

5 years agoadd set_empty_status_check_trav()
K.Kosako [Sat, 24 Aug 2019 13:03:54 +0000 (22:03 +0900)]
add set_empty_status_check_trav()

5 years agoadd a node flag NODE_ST_EMPTY_STATUS_CHECK
K.Kosako [Sat, 24 Aug 2019 13:03:28 +0000 (22:03 +0900)]
add a node flag NODE_ST_EMPTY_STATUS_CHECK

5 years agoadd set_parent_node_trav()
K.Kosako [Sat, 24 Aug 2019 08:10:22 +0000 (17:10 +0900)]
add set_parent_node_trav()

5 years agoadd parent member into Node
K.Kosako [Sat, 24 Aug 2019 06:34:23 +0000 (15:34 +0900)]
add parent member into Node

5 years agoadd set_empty_repeat_node_trav()
K.Kosako [Fri, 23 Aug 2019 14:27:10 +0000 (23:27 +0900)]
add set_empty_repeat_node_trav()

5 years agoadd empty_repeat_node member into MemEnv
K.Kosako [Fri, 23 Aug 2019 13:53:42 +0000 (22:53 +0900)]
add empty_repeat_node member into MemEnv

5 years agofix setup called state values
K.Kosako [Fri, 23 Aug 2019 06:39:01 +0000 (15:39 +0900)]
fix setup called state values

5 years agoadd a test cases
K.Kosako [Fri, 23 Aug 2019 06:38:10 +0000 (15:38 +0900)]
add a test cases

5 years agoadd test cases for infinite recursive call check
K.Kosako [Fri, 23 Aug 2019 06:08:08 +0000 (15:08 +0900)]
add test cases for infinite recursive call check

5 years agofix infinite recursive call check for if-then-else pattern
K.Kosako [Fri, 23 Aug 2019 06:07:24 +0000 (15:07 +0900)]
fix infinite recursive call check for if-then-else pattern

5 years agofix variables initialization position for VC++
K.Kosako [Wed, 21 Aug 2019 13:38:43 +0000 (22:38 +0900)]
fix variables initialization position for VC++

5 years agoMerge pull request #151 from kornelski/uninitialized
K.Kosako [Wed, 21 Aug 2019 13:31:47 +0000 (22:31 +0900)]
Merge pull request #151 from kornelski/uninitialized

Initialize potentially-uninitialized variables

5 years agoInitialize potentially-uninitialized variables
Kornel [Wed, 21 Aug 2019 11:30:14 +0000 (12:30 +0100)]
Initialize potentially-uninitialized variables

5 years agorefactoring
K.Kosako [Wed, 21 Aug 2019 08:36:54 +0000 (17:36 +0900)]
refactoring

5 years agoadd archive target
K.Kosako [Mon, 19 Aug 2019 08:13:53 +0000 (17:13 +0900)]
add archive target

5 years agorefactoring
K.Kosako [Mon, 19 Aug 2019 04:48:32 +0000 (13:48 +0900)]
refactoring

5 years agorefactoring
K.Kosako [Mon, 19 Aug 2019 03:51:06 +0000 (12:51 +0900)]
refactoring

5 years agorefactoring
K.Kosako [Thu, 15 Aug 2019 07:02:39 +0000 (16:02 +0900)]
refactoring

5 years agorevert commit 581b18: no needs to include stdint.h in regparse.c and regexec.c
K.Kosako [Wed, 14 Aug 2019 07:20:43 +0000 (16:20 +0900)]
revert commit 581b18: no needs to include stdint.h in regparse.c and regexec.c

5 years agoadd HAVE_STDINT_H check
K.Kosako [Wed, 14 Aug 2019 06:08:37 +0000 (15:08 +0900)]
add HAVE_STDINT_H check

5 years agoMerge pull request #150 from artichoke/disable-direct-threading
K.Kosako [Wed, 14 Aug 2019 06:00:06 +0000 (15:00 +0900)]
Merge pull request #150 from artichoke/disable-direct-threading

Enable oniguruma to build on wasm32-unknown-unknown target

5 years agofix to escape warning when ONIG_DEBUG_PARSE only enabled
K.Kosako [Wed, 14 Aug 2019 02:20:31 +0000 (11:20 +0900)]
fix to escape warning when ONIG_DEBUG_PARSE only enabled

5 years agoimprove output of print_indent_tree()
K.Kosako [Wed, 14 Aug 2019 02:08:59 +0000 (11:08 +0900)]
improve output of print_indent_tree()

5 years agorefactoring
K.Kosako [Wed, 14 Aug 2019 01:45:11 +0000 (10:45 +0900)]
refactoring

5 years agorefactoring
K.Kosako [Tue, 13 Aug 2019 07:32:55 +0000 (16:32 +0900)]
refactoring

5 years agofix heap-buffer-overflow
K.Kosako [Tue, 13 Aug 2019 04:37:30 +0000 (13:37 +0900)]
fix heap-buffer-overflow

5 years agoMerge pull request #149 from myd7349/fix-onig-static
K.Kosako [Tue, 13 Aug 2019 13:26:22 +0000 (22:26 +0900)]
Merge pull request #149 from myd7349/fix-onig-static

fix static build

5 years agofix static build
myd7349 [Tue, 13 Aug 2019 12:11:58 +0000 (20:11 +0800)]
fix static build

5 years agoInclude stdint.h
Ryan Lopopolo [Tue, 13 Aug 2019 04:08:16 +0000 (21:08 -0700)]
Include stdint.h

intptr_t and uintptr_t are C99 types but they are optional.

5 years agoAdd a macro to disable direct threading in the match engine
Ryan Lopopolo [Tue, 13 Aug 2019 02:37:56 +0000 (19:37 -0700)]
Add a macro to disable direct threading in the match engine

When defined, ONIG_DISABLE_DIRECT_THREADING disallows using computed
gotos in the match engine. Defining this macro enables onig to build
with the wasm32-unknown-unknown target on clang-8.

clang trunk enables support for computed gotos:
<https://bugs.llvm.org/show_bug.cgi?id=42498>

This commit enables building on released clang.

5 years agoremove unused codes
K.Kosako [Fri, 9 Aug 2019 06:30:36 +0000 (15:30 +0900)]
remove unused codes

5 years agoadd some encodings into encode-harness.c
K.Kosako [Fri, 9 Aug 2019 01:56:53 +0000 (10:56 +0900)]
add some encodings into encode-harness.c

5 years agoadd some entries into .gitignore
K.Kosako [Fri, 9 Aug 2019 00:19:40 +0000 (09:19 +0900)]
add some entries into .gitignore

5 years agoremove build_harnesses.sh
K.Kosako [Thu, 8 Aug 2019 05:37:09 +0000 (14:37 +0900)]
remove build_harnesses.sh

5 years agodon't execute autoreconf
K.Kosako [Thu, 8 Aug 2019 05:35:32 +0000 (14:35 +0900)]
don't execute autoreconf

5 years agoremove contributed/makefile
K.Kosako [Thu, 8 Aug 2019 05:12:36 +0000 (14:12 +0900)]
remove contributed/makefile

5 years agoremove compiler warnings
K.Kosako [Thu, 8 Aug 2019 05:06:07 +0000 (14:06 +0900)]
remove compiler warnings

5 years agoadd harnesses/makefile
K.Kosako [Thu, 8 Aug 2019 04:57:23 +0000 (13:57 +0900)]
add harnesses/makefile

5 years agoadd main function
K.Kosako [Thu, 8 Aug 2019 04:56:58 +0000 (13:56 +0900)]
add main function

5 years agomove libfuzzer-onig.cpp from contributed to harnesses
K.Kosako [Thu, 8 Aug 2019 04:13:09 +0000 (13:13 +0900)]
move libfuzzer-onig.cpp from contributed to harnesses

5 years agoadd descriptions about ONIG_SYN_ALLOW_INVALID_CODE_END_OF_RANGE_IN_CC
K.Kosako [Thu, 8 Aug 2019 02:17:50 +0000 (11:17 +0900)]
add descriptions about ONIG_SYN_ALLOW_INVALID_CODE_END_OF_RANGE_IN_CC

5 years agosmall update of descriptions about Absent repeater
K.Kosako [Thu, 8 Aug 2019 01:16:57 +0000 (10:16 +0900)]
small update of descriptions about Absent repeater

5 years agosmall update of .gitignore
K.Kosako [Wed, 7 Aug 2019 08:07:13 +0000 (17:07 +0900)]
small update of .gitignore

5 years agoremove mail address from source files
K.Kosako [Wed, 7 Aug 2019 08:05:25 +0000 (17:05 +0900)]
remove mail address from source files

5 years agofollow the latest version of clang
K.Kosako [Wed, 7 Aug 2019 06:40:42 +0000 (15:40 +0900)]
follow the latest version of clang

5 years agochange retry-limit value from 4000 to 3500
K.Kosako [Wed, 7 Aug 2019 06:22:54 +0000 (15:22 +0900)]
change retry-limit value from 4000 to 3500

5 years agosetup 6.9.3 v6.9.3
K.Kosako [Mon, 5 Aug 2019 05:53:41 +0000 (14:53 +0900)]
setup 6.9.3

5 years agoupdate HISTORY
K.Kosako [Mon, 5 Aug 2019 05:52:46 +0000 (14:52 +0900)]
update HISTORY

5 years agochange retry limit value to 4000
K.Kosako [Mon, 5 Aug 2019 05:24:59 +0000 (14:24 +0900)]
change retry limit value to 4000

5 years agorefactoring
K.Kosako [Mon, 5 Aug 2019 00:38:03 +0000 (09:38 +0900)]
refactoring

5 years agoupdate HISTORY
K.Kosako [Wed, 31 Jul 2019 04:50:46 +0000 (13:50 +0900)]
update HISTORY

5 years agorefactoring
K.Kosako [Wed, 31 Jul 2019 04:40:10 +0000 (13:40 +0900)]
refactoring

5 years agoremove fuzzer-no-link flag because my clang is old
K.Kosako [Wed, 31 Jul 2019 02:10:19 +0000 (11:10 +0900)]
remove fuzzer-no-link flag because my clang is old

5 years agorefactoring
K.Kosako [Tue, 30 Jul 2019 08:56:00 +0000 (17:56 +0900)]
refactoring

5 years agorefactoring
K.Kosako [Tue, 30 Jul 2019 06:04:37 +0000 (15:04 +0900)]
refactoring

5 years agorename build_libfuzzer_harnesses.sh to build_harnesses.sh
K.Kosako [Tue, 30 Jul 2019 05:50:13 +0000 (14:50 +0900)]
rename build_libfuzzer_harnesses.sh to build_harnesses.sh

5 years agodon't execute autoreconf in build_libfuzzer_harnesses.sh
K.Kosako [Tue, 30 Jul 2019 05:40:04 +0000 (14:40 +0900)]
don't execute autoreconf in build_libfuzzer_harnesses.sh

5 years agorefactoring
K.Kosako [Tue, 30 Jul 2019 05:34:43 +0000 (14:34 +0900)]
refactoring

5 years agorefactoring
K.Kosako [Tue, 30 Jul 2019 05:23:56 +0000 (14:23 +0900)]
refactoring

5 years agosmall change for my environment
K.Kosako [Tue, 30 Jul 2019 05:20:54 +0000 (14:20 +0900)]
small change for my environment

5 years agoadd some test cases
K.Kosako [Tue, 30 Jul 2019 05:15:56 +0000 (14:15 +0900)]
add some test cases

5 years agoadd ONIG_SYN_ALLOW_INVALID_CODE_END_OF_RANGE
K.Kosako [Tue, 30 Jul 2019 05:15:32 +0000 (14:15 +0900)]
add ONIG_SYN_ALLOW_INVALID_CODE_END_OF_RANGE

5 years agoadd code point value check in xxx_code_to_mbclen()
K.Kosako [Tue, 30 Jul 2019 03:23:34 +0000 (12:23 +0900)]
add code point value check in xxx_code_to_mbclen()

5 years agoupdate ascii_compatible.dict
K.Kosako [Tue, 30 Jul 2019 03:15:38 +0000 (12:15 +0900)]
update ascii_compatible.dict

5 years agochange return error code
K.Kosako [Mon, 29 Jul 2019 08:04:49 +0000 (17:04 +0900)]
change return error code

5 years agorefactoring
K.Kosako [Mon, 29 Jul 2019 07:35:19 +0000 (16:35 +0900)]
refactoring

5 years agorefactoring
K.Kosako [Mon, 29 Jul 2019 07:27:31 +0000 (16:27 +0900)]
refactoring

5 years agofix fatal endless loop found by libfuzzer
K.Kosako [Mon, 29 Jul 2019 06:49:51 +0000 (15:49 +0900)]
fix fatal endless loop found by libfuzzer

5 years agoadd STK_PREC_READ_START/END stack type
K.Kosako [Mon, 29 Jul 2019 06:14:45 +0000 (15:14 +0900)]
add STK_PREC_READ_START/END stack type

5 years agofix #147: Stack Exhaustion Problem caused by some parsing functions in regcomp.c...
K.Kosako [Mon, 29 Jul 2019 03:52:56 +0000 (12:52 +0900)]
fix #147: Stack Exhaustion Problem caused by some parsing functions in regcomp.c making recursive calls to themselves.

5 years agorefactoring
K.Kosako [Fri, 26 Jul 2019 05:36:17 +0000 (14:36 +0900)]
refactoring

5 years agorefactoring
K.Kosako [Fri, 26 Jul 2019 05:31:06 +0000 (14:31 +0900)]
refactoring

5 years agorefactoring
K.Kosako [Fri, 26 Jul 2019 05:26:19 +0000 (14:26 +0900)]
refactoring

5 years agorefactoring
K.Kosako [Fri, 26 Jul 2019 05:18:57 +0000 (14:18 +0900)]
refactoring

5 years agorefactoring
K.Kosako [Fri, 26 Jul 2019 05:09:55 +0000 (14:09 +0900)]
refactoring

5 years agoadd empty check in is_simple_type_node()
K.Kosako [Fri, 26 Jul 2019 05:08:17 +0000 (14:08 +0900)]
add empty check in is_simple_type_node()

5 years agorefactoring
K.Kosako [Fri, 26 Jul 2019 04:57:28 +0000 (13:57 +0900)]
refactoring

5 years agorefactoring
K.Kosako [Fri, 26 Jul 2019 04:50:58 +0000 (13:50 +0900)]
refactoring

5 years agoadd is_simple_type_node()
K.Kosako [Fri, 26 Jul 2019 04:48:07 +0000 (13:48 +0900)]
add is_simple_type_node()

5 years agoadd utf16-be-libfuzzer, utf16-le-libfuzzer etc..
K.Kosako [Thu, 25 Jul 2019 07:54:08 +0000 (16:54 +0900)]
add utf16-be-libfuzzer, utf16-le-libfuzzer etc..

5 years agodon't use onigenc_str_bytelen_null()
K.Kosako [Thu, 25 Jul 2019 07:51:24 +0000 (16:51 +0900)]
don't use onigenc_str_bytelen_null()

5 years agoadd main function
K.Kosako [Thu, 25 Jul 2019 00:27:22 +0000 (09:27 +0900)]
add main function

5 years agocheck error code by onig_is_error_code_needs_param() and replace error code
K.Kosako [Thu, 25 Jul 2019 00:14:45 +0000 (09:14 +0900)]
check error code by onig_is_error_code_needs_param() and replace error code

5 years agoadd onig_is_error_code_needs_param()
K.Kosako [Thu, 25 Jul 2019 00:13:40 +0000 (09:13 +0900)]
add onig_is_error_code_needs_param()

5 years agoadd main function
K.Kosako [Wed, 24 Jul 2019 08:55:24 +0000 (17:55 +0900)]
add main function

5 years agorename oniguruma-mb.dict to ascii_compatible.dict
K.Kosako [Wed, 24 Jul 2019 08:20:36 +0000 (17:20 +0900)]
rename oniguruma-mb.dict to ascii_compatible.dict

5 years agoadd a entry into .gitignore
K.Kosako [Wed, 24 Jul 2019 08:17:18 +0000 (17:17 +0900)]
add a entry into .gitignore

5 years agorefactoring
K.Kosako [Wed, 24 Jul 2019 08:14:58 +0000 (17:14 +0900)]
refactoring

5 years agoadd dict_conv.py
K.Kosako [Wed, 24 Jul 2019 08:14:11 +0000 (17:14 +0900)]
add dict_conv.py

5 years agofix access to invalid address (found by libfuzzer program)
K.Kosako [Tue, 23 Jul 2019 08:47:02 +0000 (17:47 +0900)]
fix access to invalid address (found by libfuzzer program)

5 years agono need for minlen in DATA_ENSURE()
K.Kosako [Tue, 23 Jul 2019 06:39:15 +0000 (15:39 +0900)]
no need for minlen in DATA_ENSURE()