]> granicus.if.org Git - onig/log
onig
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

7 years agoredefine IS_NODE_TYPE_SIMPLE() to NODE_IS_SIMPLE_TYPE()
K.Kosako [Fri, 9 Jun 2017 06:19:13 +0000 (15:19 +0900)]
redefine IS_NODE_TYPE_SIMPLE() to NODE_IS_SIMPLE_TYPE()

7 years agochange type of node_type from int to NodeType
K.Kosako [Fri, 9 Jun 2017 06:12:47 +0000 (15:12 +0900)]
change type of node_type from int to NodeType

7 years agomove CClassNode from regint.h to regparse.h
K.Kosako [Fri, 9 Jun 2017 05:55:59 +0000 (14:55 +0900)]
move CClassNode from regint.h to regparse.h

7 years agodefine NodeType (enum)
K.Kosako [Fri, 9 Jun 2017 05:21:40 +0000 (14:21 +0900)]
define NodeType (enum)

7 years agorename node type NT_XXXX to NODE_XXXX
K.Kosako [Fri, 9 Jun 2017 05:11:48 +0000 (14:11 +0900)]
rename node type NT_XXXX to NODE_XXXX

7 years agorename NCAR() to NODE_CAR() and NCDR() to NODE_CDR()
K.Kosako [Fri, 9 Jun 2017 04:51:09 +0000 (13:51 +0900)]
rename NCAR() to NODE_CAR() and NCDR() to NODE_CDR()

7 years agorename NSTR() etc.. to STR_()
K.Kosako [Fri, 9 Jun 2017 04:45:05 +0000 (13:45 +0900)]
rename NSTR() etc.. to STR_()

7 years agoremove NT_CANY type Node and unify into NT_CTYPE
K.Kosako [Fri, 9 Jun 2017 04:17:29 +0000 (13:17 +0900)]
remove NT_CANY type Node and unify into NT_CTYPE

7 years agosmall refactoring
K.Kosako [Fri, 9 Jun 2017 00:42:22 +0000 (09:42 +0900)]
small refactoring

7 years agosmall refactoring
K.Kosako [Thu, 8 Jun 2017 08:35:13 +0000 (17:35 +0900)]
small refactoring

7 years agouse IS_NOT_NULL() and IS_NULL() macro
K.Kosako [Thu, 8 Jun 2017 08:26:40 +0000 (17:26 +0900)]
use IS_NOT_NULL() and IS_NULL() macro

7 years agoremove unused members in MemEnv
K.Kosako [Thu, 8 Jun 2017 07:59:48 +0000 (16:59 +0900)]
remove unused members in MemEnv

7 years agoremove redundant code
K.Kosako [Thu, 8 Jun 2017 07:55:29 +0000 (16:55 +0900)]
remove redundant code

7 years agodefine ANCHOR_HAS_BODY() macro
K.Kosako [Thu, 8 Jun 2017 07:52:10 +0000 (16:52 +0900)]
define ANCHOR_HAS_BODY() macro

7 years agomove comment
K.Kosako [Thu, 8 Jun 2017 07:39:38 +0000 (16:39 +0900)]
move comment

7 years agoescape warnings in ONIG_DEBUG_SEARCH
K.Kosako [Thu, 8 Jun 2017 07:17:33 +0000 (16:17 +0900)]
escape warnings in ONIG_DEBUG_SEARCH

7 years agoescape warnings in ONIG_DEBUG_PARSE_TREE
K.Kosako [Thu, 8 Jun 2017 07:13:33 +0000 (16:13 +0900)]
escape warnings in ONIG_DEBUG_PARSE_TREE

7 years agouse NODE_BODY in invalidated codes
K.Kosako [Thu, 8 Jun 2017 07:05:21 +0000 (16:05 +0900)]
use NODE_BODY in invalidated codes

7 years agosmall change
K.Kosako [Thu, 8 Jun 2017 07:03:48 +0000 (16:03 +0900)]
small change

7 years agosmall refactoring
K.Kosako [Thu, 8 Jun 2017 06:52:44 +0000 (15:52 +0900)]
small refactoring

7 years agorename NODE_STATUS_CLEAR() to NODE_STATUS_REMOVE()
K.Kosako [Thu, 8 Jun 2017 06:41:27 +0000 (15:41 +0900)]
rename NODE_STATUS_CLEAR() to NODE_STATUS_REMOVE()

7 years agorename NODE_STATUS_SET() to NODE_STATUS_ADD()
K.Kosako [Thu, 8 Jun 2017 06:38:59 +0000 (15:38 +0900)]
rename NODE_STATUS_SET() to NODE_STATUS_ADD()

7 years agoremove redandant cast
K.Kosako [Thu, 8 Jun 2017 06:36:57 +0000 (15:36 +0900)]
remove redandant cast

7 years agoremove redundant cast
K.Kosako [Thu, 8 Jun 2017 06:33:46 +0000 (15:33 +0900)]
remove redundant cast

7 years agodefine NODE_STATUS macro
K.Kosako [Thu, 8 Jun 2017 05:34:17 +0000 (14:34 +0900)]
define NODE_STATUS macro

7 years agoremove Node* cast in NODE_BODY macro
K.Kosako [Thu, 8 Jun 2017 05:25:18 +0000 (14:25 +0900)]
remove Node* cast in NODE_BODY macro

7 years agoremove NodeBase from subclassof Node
K.Kosako [Thu, 8 Jun 2017 04:55:46 +0000 (13:55 +0900)]
remove NodeBase from subclassof Node

7 years agorename NTYPE to NODE_TYPE
K.Kosako [Thu, 8 Jun 2017 04:38:41 +0000 (13:38 +0900)]
rename NTYPE to NODE_TYPE

7 years agorename NodeBase#type to NodeBase#node_type
K.Kosako [Thu, 8 Jun 2017 04:35:15 +0000 (13:35 +0900)]
rename NodeBase#type to NodeBase#node_type

7 years agorename target_empty_info to body_empty_info
K.Kosako [Thu, 8 Jun 2017 04:24:35 +0000 (13:24 +0900)]
rename target_empty_info to body_empty_info

7 years agorename NQ_TARGET_ to NQ_BODY_
K.Kosako [Thu, 8 Jun 2017 04:21:24 +0000 (13:21 +0900)]
rename NQ_TARGET_ to NQ_BODY_

7 years agomove target member in AnchorNode to NodeBase#body
K.Kosako [Thu, 8 Jun 2017 04:18:21 +0000 (13:18 +0900)]
move target member in AnchorNode to NodeBase#body

7 years agomove target member in CallNode to NodeBase#body
K.Kosako [Thu, 8 Jun 2017 02:13:04 +0000 (11:13 +0900)]
move target member in CallNode to NodeBase#body

7 years agomove target member in EncloseNode into NodeBase#body
K.Kosako [Wed, 7 Jun 2017 08:59:50 +0000 (17:59 +0900)]
move target member in EncloseNode into NodeBase#body

7 years agomove target in QtfrNode into NodeBase#body
K.Kosako [Wed, 7 Jun 2017 08:32:37 +0000 (17:32 +0900)]
move target in QtfrNode into NodeBase#body