]> granicus.if.org Git - onig/log
onig
7 years agofix memory leaks
K.Kosako [Fri, 30 Jun 2017 01:25:31 +0000 (10:25 +0900)]
fix memory leaks

7 years agoremove BBUF_ENSURE_SIZE_FREE_ON_ERROR()
K.Kosako [Thu, 29 Jun 2017 09:05:25 +0000 (18:05 +0900)]
remove BBUF_ENSURE_SIZE_FREE_ON_ERROR()

7 years agoremove NCCLAS_SHARE codes
K.Kosako [Thu, 29 Jun 2017 08:45:51 +0000 (17:45 +0900)]
remove NCCLAS_SHARE codes

7 years agoadd NST_BACKREF flag
K.Kosako [Thu, 29 Jun 2017 07:13:38 +0000 (16:13 +0900)]
add NST_BACKREF flag

7 years agofix memory leaks
K.Kosako [Thu, 29 Jun 2017 06:28:30 +0000 (15:28 +0900)]
fix memory leaks

7 years agorefactoring
K.Kosako [Thu, 29 Jun 2017 05:46:17 +0000 (14:46 +0900)]
refactoring

7 years agofix a memory leak
K.Kosako [Thu, 29 Jun 2017 05:27:49 +0000 (14:27 +0900)]
fix a memory leak

7 years agoreduce code
K.Kosako [Thu, 29 Jun 2017 05:27:12 +0000 (14:27 +0900)]
reduce code

7 years agochange encoding from EUC-JP to UTF-8 in doc/XXX.ja
K.Kosako [Wed, 28 Jun 2017 06:35:17 +0000 (15:35 +0900)]
change encoding from EUC-JP to UTF-8 in doc/XXX.ja

7 years agoupdate doc/RE.ja
K.Kosako [Wed, 28 Jun 2017 06:31:15 +0000 (15:31 +0900)]
update doc/RE.ja

7 years agorefactoring
K.Kosako [Wed, 28 Jun 2017 06:26:41 +0000 (15:26 +0900)]
refactoring

7 years agocheck 0 in ME_STATUS_ON_AT()
K.Kosako [Wed, 28 Jun 2017 06:23:42 +0000 (15:23 +0900)]
check 0 in ME_STATUS_ON_AT()

7 years agodefine MEM_STATUS_AT0()
K.Kosako [Wed, 28 Jun 2017 05:37:19 +0000 (14:37 +0900)]
define MEM_STATUS_AT0()

7 years agorefactoring
K.Kosako [Wed, 28 Jun 2017 05:25:49 +0000 (14:25 +0900)]
refactoring

7 years agorename NQ_BODY_XXXX
K.Kosako [Wed, 28 Jun 2017 04:43:56 +0000 (13:43 +0900)]
rename NQ_BODY_XXXX

7 years agoupdate doc/RE
K.Kosako [Wed, 28 Jun 2017 04:25:35 +0000 (13:25 +0900)]
update doc/RE

7 years agorename member
K.Kosako [Wed, 28 Jun 2017 04:21:28 +0000 (13:21 +0900)]
rename member

7 years agochange compile code for zero
K.Kosako [Wed, 28 Jun 2017 04:17:40 +0000 (13:17 +0900)]
change compile code for zero

7 years agodefine compile_enclosure_memory_node()
K.Kosako [Wed, 28 Jun 2017 02:23:33 +0000 (11:23 +0900)]
define compile_enclosure_memory_node()

7 years agoadd test cases
K.Kosako [Wed, 28 Jun 2017 02:13:17 +0000 (11:13 +0900)]
add test cases

7 years agorefactoring
K.Kosako [Wed, 28 Jun 2017 01:53:17 +0000 (10:53 +0900)]
refactoring

7 years agorename symbol
K.Kosako [Wed, 28 Jun 2017 01:34:53 +0000 (10:34 +0900)]
rename symbol

7 years agoenclose by USE_MONOMANIAC_CHECK_CAPTURES_IN_ENDLESS_REPEAT
K.Kosako [Wed, 28 Jun 2017 01:28:57 +0000 (10:28 +0900)]
enclose by USE_MONOMANIAC_CHECK_CAPTURES_IN_ENDLESS_REPEAT

7 years agofix STACK_EMPTY_CHECK_REC()
K.Kosako [Wed, 28 Jun 2017 01:20:58 +0000 (10:20 +0900)]
fix STACK_EMPTY_CHECK_REC()

7 years agouse HAVE_INTTYPES_H
K.Kosako [Mon, 26 Jun 2017 07:51:03 +0000 (16:51 +0900)]
use HAVE_INTTYPES_H

7 years agofix type OnigStackIndex to intptr_t for Windows platoform
K.Kosako [Mon, 26 Jun 2017 07:29:10 +0000 (16:29 +0900)]
fix type OnigStackIndex to intptr_t for Windows platoform

7 years agoenclose ifdef USE_SUBEXP_CALL
K.Kosako [Mon, 26 Jun 2017 06:17:09 +0000 (15:17 +0900)]
enclose ifdef USE_SUBEXP_CALL

7 years agoPR #62 check malloc, realloc and alloca return value
K.Kosako [Mon, 26 Jun 2017 04:13:20 +0000 (13:13 +0900)]
PR #62 check malloc, realloc and alloca return value

7 years agoPR #62 check xmalloc return value before using it
K.Kosako [Mon, 26 Jun 2017 04:02:46 +0000 (13:02 +0900)]
PR #62 check xmalloc return value before using it

7 years agoPR #62 check alloc return value
K.Kosako [Mon, 26 Jun 2017 03:55:46 +0000 (12:55 +0900)]
PR #62 check alloc return value

7 years agofix indent
K.Kosako [Mon, 26 Jun 2017 03:53:19 +0000 (12:53 +0900)]
fix indent

7 years agoPR #62 check malloc return value
K.Kosako [Mon, 26 Jun 2017 02:21:25 +0000 (11:21 +0900)]
PR #62 check malloc return value

7 years agoPR #62 unicode: use OnigCtype in onigenc_unicode_ctype_code_range argument
K.Kosako [Mon, 26 Jun 2017 02:18:53 +0000 (11:18 +0900)]
PR #62 unicode: use OnigCtype in onigenc_unicode_ctype_code_range argument

7 years agorefactoring
K.Kosako [Fri, 23 Jun 2017 08:08:28 +0000 (17:08 +0900)]
refactoring

7 years agoimplement call-zero body
K.Kosako [Fri, 23 Jun 2017 07:52:44 +0000 (16:52 +0900)]
implement call-zero body

7 years agorename has_zero_call to has_call_zero
K.Kosako [Fri, 23 Jun 2017 07:32:15 +0000 (16:32 +0900)]
rename has_zero_call to has_call_zero

7 years agoallow call-zero
K.Kosako [Fri, 23 Jun 2017 07:30:14 +0000 (16:30 +0900)]
allow call-zero

7 years agoadd a space for mem_start_stk amd mem_end_stk for the zero memory group
K.Kosako [Fri, 23 Jun 2017 06:45:40 +0000 (15:45 +0900)]
add a space for mem_start_stk amd mem_end_stk for the zero memory group

7 years agoremove unused code
K.Kosako [Fri, 23 Jun 2017 06:37:15 +0000 (15:37 +0900)]
remove unused code

7 years agoadd test cases for relative backref and call by positive number
K.Kosako [Fri, 23 Jun 2017 05:49:30 +0000 (14:49 +0900)]
add test cases for relative backref and call by positive number

7 years agosupport relative backref and relative call by positive number
K.Kosako [Fri, 23 Jun 2017 05:01:05 +0000 (14:01 +0900)]
support relative backref and relative call by positive number

7 years agofix invalid error output for zero-backref \k'0'
K.Kosako [Fri, 23 Jun 2017 01:55:36 +0000 (10:55 +0900)]
fix invalid error output for zero-backref \k'0'

7 years agofix indent
K.Kosako [Fri, 23 Jun 2017 01:38:19 +0000 (10:38 +0900)]
fix indent

7 years agoreduce code
K.Kosako [Thu, 22 Jun 2017 08:24:41 +0000 (17:24 +0900)]
reduce code

7 years agoadd bt_mem_start ON condition
K.Kosako [Thu, 22 Jun 2017 06:18:56 +0000 (15:18 +0900)]
add bt_mem_start ON condition

7 years agorename variable
K.Kosako [Thu, 22 Jun 2017 04:06:22 +0000 (13:06 +0900)]
rename variable

7 years agoremove error check from get_min_len() and get_max_len()
K.Kosako [Thu, 22 Jun 2017 00:56:35 +0000 (09:56 +0900)]
remove error check from get_min_len() and get_max_len()

7 years agorefactoring
K.Kosako [Wed, 21 Jun 2017 08:30:31 +0000 (17:30 +0900)]
refactoring

7 years agorefactoring
K.Kosako [Wed, 21 Jun 2017 07:33:34 +0000 (16:33 +0900)]
refactoring

7 years agorefactoring
K.Kosako [Wed, 21 Jun 2017 06:47:07 +0000 (15:47 +0900)]
refactoring

7 years agorename IN_REPEAT to IN_REAL_REPEAT
K.Kosako [Wed, 21 Jun 2017 05:17:20 +0000 (14:17 +0900)]
rename IN_REPEAT to IN_REAL_REPEAT

7 years agorename IN_ZERO to IN_ZERO_REPEAT
K.Kosako [Wed, 21 Jun 2017 05:11:56 +0000 (14:11 +0900)]
rename IN_ZERO to IN_ZERO_REPEAT

7 years agorefactoring
K.Kosako [Wed, 21 Jun 2017 04:47:15 +0000 (13:47 +0900)]
refactoring

7 years agorefactoring
K.Kosako [Wed, 21 Jun 2017 01:56:31 +0000 (10:56 +0900)]
refactoring

7 years agoshould not guard by MARK1 for call node
K.Kosako [Tue, 20 Jun 2017 08:58:57 +0000 (17:58 +0900)]
should not guard by MARK1 for call node

7 years agoremove IN_CALL
K.Kosako [Tue, 20 Jun 2017 07:43:13 +0000 (16:43 +0900)]
remove IN_CALL

7 years agoupdate called_state even if guarded by MARK1
K.Kosako [Tue, 20 Jun 2017 07:30:21 +0000 (16:30 +0900)]
update called_state even if guarded by MARK1

7 years agouse called_state value in setup_tree()
K.Kosako [Tue, 20 Jun 2017 06:53:38 +0000 (15:53 +0900)]
use called_state value in setup_tree()

7 years agoremove env argument from setup_call2()
K.Kosako [Tue, 20 Jun 2017 06:49:48 +0000 (15:49 +0900)]
remove env argument from setup_call2()

7 years agoadd called_state into EnclosureNode
K.Kosako [Tue, 20 Jun 2017 06:46:25 +0000 (15:46 +0900)]
add called_state into EnclosureNode

7 years agouse union for EnclosureNode type
K.Kosako [Tue, 20 Jun 2017 05:22:09 +0000 (14:22 +0900)]
use union for EnclosureNode type

7 years agoadd entry_count into CallNode
K.Kosako [Tue, 20 Jun 2017 04:24:06 +0000 (13:24 +0900)]
add entry_count into CallNode

7 years agoguard to duplicated call by NST_MARK1 in another recursive call
K.Kosako [Tue, 20 Jun 2017 01:54:26 +0000 (10:54 +0900)]
guard to duplicated call by NST_MARK1 in another recursive call

7 years agoadd entry_count memberr into EnclosureNode
K.Kosako [Mon, 19 Jun 2017 07:56:39 +0000 (16:56 +0900)]
add entry_count memberr into EnclosureNode

7 years agosmall refactoring
K.Kosako [Mon, 19 Jun 2017 07:20:33 +0000 (16:20 +0900)]
small refactoring

7 years agodefine NST_IN_ZERO flag and set NST_CALLED more exactly
K.Kosako [Mon, 19 Jun 2017 05:58:27 +0000 (14:58 +0900)]
define NST_IN_ZERO flag and set NST_CALLED more exactly

7 years agoadd state argument into setup_call()
K.Kosako [Mon, 19 Jun 2017 02:16:33 +0000 (11:16 +0900)]
add state argument into setup_call()

7 years agoreplace if (r) to if (r != 0)
K.Kosako [Mon, 19 Jun 2017 02:12:48 +0000 (11:12 +0900)]
replace if (r) to if (r != 0)

7 years agodefine NST_IN_CALLED flag and use it for bytecode compile
K.Kosako [Fri, 16 Jun 2017 08:37:44 +0000 (17:37 +0900)]
define NST_IN_CALLED flag and use it for bytecode compile

7 years agodon't set IN_REPEAT state if upper value is less than 2
K.Kosako [Fri, 16 Jun 2017 08:28:35 +0000 (17:28 +0900)]
don't set IN_REPEAT state if upper value is less than 2

7 years agosetup_tree() refactoring
K.Kosako [Fri, 16 Jun 2017 07:53:58 +0000 (16:53 +0900)]
setup_tree() refactoring

7 years agoreduce setup_tree() code
K.Kosako [Fri, 16 Jun 2017 07:48:26 +0000 (16:48 +0900)]
reduce setup_tree() code

7 years agoreduce setup_tree() code
K.Kosako [Fri, 16 Jun 2017 07:25:39 +0000 (16:25 +0900)]
reduce setup_tree() code

7 years agoremove NST_MEM_BACKREFED flag
K.Kosako [Fri, 16 Jun 2017 06:27:04 +0000 (15:27 +0900)]
remove NST_MEM_BACKREFED flag

7 years agoremove unused codes
K.Kosako [Fri, 16 Jun 2017 06:20:24 +0000 (15:20 +0900)]
remove unused codes

7 years agore-fix #60 by check val_type
K.Kosako [Thu, 15 Jun 2017 06:48:46 +0000 (15:48 +0900)]
re-fix #60 by check val_type

7 years agosmall code refactoring
K.Kosako [Thu, 15 Jun 2017 04:23:27 +0000 (13:23 +0900)]
small code refactoring

7 years agoinfinite recursive check should be done for only ENCLOSURE_MEMORY
K.Kosako [Thu, 15 Jun 2017 02:14:35 +0000 (11:14 +0900)]
infinite recursive check should be done for only ENCLOSURE_MEMORY

7 years agorecursive check should be done for only ENCLOSURE_MEMORY
K.Kosako [Thu, 15 Jun 2017 02:01:01 +0000 (11:01 +0900)]
recursive check should be done for only ENCLOSURE_MEMORY

7 years agofix return value check in recursive_call_check_trav()
K.Kosako [Thu, 15 Jun 2017 00:32:15 +0000 (09:32 +0900)]
fix return value check in recursive_call_check_trav()

7 years agofunction name refactoring
K.Kosako [Wed, 14 Jun 2017 07:07:30 +0000 (16:07 +0900)]
function name refactoring

7 years agofunction name refactoring
K.Kosako [Wed, 14 Jun 2017 06:30:40 +0000 (15:30 +0900)]
function name refactoring

7 years agofix calling condition for subexp_inf_recursive_check()
K.Kosako [Wed, 14 Jun 2017 06:24:29 +0000 (15:24 +0900)]
fix calling condition for subexp_inf_recursive_check()

7 years agoset NST_RECURSION flag for inner recursion group
K.Kosako [Wed, 14 Jun 2017 06:20:46 +0000 (15:20 +0900)]
set NST_RECURSION flag for inner recursion group

7 years agofix definitions of RECURSION_XXXX values
K.Kosako [Mon, 12 Jun 2017 08:29:22 +0000 (17:29 +0900)]
fix definitions of RECURSION_XXXX values

7 years agorefactoring of subexp_inf_recursive_check()
K.Kosako [Mon, 12 Jun 2017 07:51:26 +0000 (16:51 +0900)]
refactoring of subexp_inf_recursive_check()

7 years agosmall optimization
K.Kosako [Mon, 12 Jun 2017 04:49:56 +0000 (13:49 +0900)]
small optimization

7 years agorename setup_subexp_call() to setup_call()
K.Kosako [Mon, 12 Jun 2017 04:23:51 +0000 (13:23 +0900)]
rename setup_subexp_call() to setup_call()

7 years agoadd ScanEnv argument
K.Kosako [Mon, 12 Jun 2017 02:35:51 +0000 (11:35 +0900)]
add ScanEnv argument

7 years agoadd ScanEnv argument into compile functions and remove unset_addr_list from CallNode
K.Kosako [Mon, 12 Jun 2017 02:30:51 +0000 (11:30 +0900)]
add ScanEnv argument into compile functions and remove unset_addr_list from CallNode

7 years agorename onig_parse_make_tree() to onig_parse_tree()
K.Kosako [Mon, 12 Jun 2017 01:56:44 +0000 (10:56 +0900)]
rename onig_parse_make_tree() to onig_parse_tree()

7 years agoreduce code
K.Kosako [Fri, 9 Jun 2017 08:43:14 +0000 (17:43 +0900)]
reduce code

7 years agoreduce code
K.Kosako [Fri, 9 Jun 2017 08:37:57 +0000 (17:37 +0900)]
reduce code

7 years agoreduce code
K.Kosako [Fri, 9 Jun 2017 08:32:07 +0000 (17:32 +0900)]
reduce code

7 years agoreduce code
K.Kosako [Fri, 9 Jun 2017 08:27:04 +0000 (17:27 +0900)]
reduce code

7 years agoreduce code
K.Kosako [Fri, 9 Jun 2017 08:20:55 +0000 (17:20 +0900)]
reduce code

7 years agorename enclose to enclosure
K.Kosako [Fri, 9 Jun 2017 08:17:08 +0000 (17:17 +0900)]
rename enclose to enclosure

7 years agoremove NodeBase
K.Kosako [Fri, 9 Jun 2017 07:53:51 +0000 (16:53 +0900)]
remove NodeBase

7 years agodivide setup_subexp_call() into setup_subexp_call_node_call()
K.Kosako [Fri, 9 Jun 2017 07:40:15 +0000 (16:40 +0900)]
divide setup_subexp_call() into setup_subexp_call_node_call()

7 years agoreduce code
K.Kosako [Fri, 9 Jun 2017 07:16:21 +0000 (16:16 +0900)]
reduce code