]> granicus.if.org Git - onig/log
onig
5 years agorefactoring
K.Kosako [Mon, 4 Mar 2019 04:37:18 +0000 (13:37 +0900)]
refactoring

5 years agoadd string_pool for byte code
K.Kosako [Fri, 1 Mar 2019 08:27:15 +0000 (17:27 +0900)]
add string_pool for byte code

5 years agoembed string into Operation structure
K.Kosako [Tue, 26 Feb 2019 04:54:06 +0000 (13:54 +0900)]
embed string into Operation structure

5 years agorefactoring
K.Kosako [Tue, 26 Feb 2019 02:23:10 +0000 (11:23 +0900)]
refactoring

5 years agoadd ocs member into regex_t
K.Kosako [Tue, 26 Feb 2019 02:19:22 +0000 (11:19 +0900)]
add ocs member into regex_t

5 years agorefactoring
K.Kosako [Mon, 25 Feb 2019 01:58:16 +0000 (10:58 +0900)]
refactoring

5 years agoadd dummy statement for escape warning in MacOSX
K.Kosako [Sat, 23 Feb 2019 08:46:09 +0000 (17:46 +0900)]
add dummy statement for escape warning in MacOSX

5 years agosupport USE_RFC3629_RANGE disabled case
K.Kosako [Fri, 22 Feb 2019 07:59:44 +0000 (16:59 +0900)]
support USE_RFC3629_RANGE disabled case

5 years agoupdate year
K.Kosako [Fri, 22 Feb 2019 07:52:33 +0000 (16:52 +0900)]
update year

5 years agofix maximum byte length to be 4 for utf-8
K.Kosako [Fri, 22 Feb 2019 07:50:12 +0000 (16:50 +0900)]
fix maximum byte length to be 4 for utf-8

5 years agoadd cov-clean target
K.Kosako [Fri, 22 Feb 2019 05:28:31 +0000 (14:28 +0900)]
add cov-clean target

5 years agoadd test cases for improve coverage
K.Kosako [Fri, 22 Feb 2019 05:11:55 +0000 (14:11 +0900)]
add test cases for improve coverage

5 years agoremove onig_transfer()
K.Kosako [Fri, 22 Feb 2019 04:07:54 +0000 (13:07 +0900)]
remove onig_transfer()

5 years agoadd test cases for improve coverage
K.Kosako [Thu, 21 Feb 2019 05:16:28 +0000 (14:16 +0900)]
add test cases for improve coverage

5 years agoallow if-then-else in look-behind and look-behind-not
K.Kosako [Thu, 21 Feb 2019 02:12:43 +0000 (11:12 +0900)]
allow if-then-else in look-behind and look-behind-not

5 years agoadd test cases for improve coverage
K.Kosako [Wed, 20 Feb 2019 05:03:07 +0000 (14:03 +0900)]
add test cases for improve coverage

5 years agoremove GIMMICK_KEEP from GimmickType
K.Kosako [Wed, 20 Feb 2019 05:02:07 +0000 (14:02 +0900)]
remove GIMMICK_KEEP from GimmickType

5 years agoremove unused code
K.Kosako [Wed, 20 Feb 2019 04:38:54 +0000 (13:38 +0900)]
remove unused code

5 years agomove member position for reduce Operation size
K.Kosako [Tue, 19 Feb 2019 08:40:28 +0000 (17:40 +0900)]
move member position for reduce Operation size

5 years agoreduce Operation size
K.Kosako [Tue, 19 Feb 2019 08:19:54 +0000 (17:19 +0900)]
reduce Operation size

5 years agoopcode of Operation is needed to free member value
K.Kosako [Tue, 19 Feb 2019 07:58:07 +0000 (16:58 +0900)]
opcode of Operation is needed to free member value

5 years agochange coverage test from test_utf8 to all test
K.Kosako [Tue, 19 Feb 2019 07:29:49 +0000 (16:29 +0900)]
change coverage test from test_utf8 to all test

5 years agoadd test cases for improve coverage
K.Kosako [Tue, 19 Feb 2019 07:07:29 +0000 (16:07 +0900)]
add test cases for improve coverage

5 years agoenable USE_OP_PUSH_OR_JUMP_EXACT
K.Kosako [Tue, 19 Feb 2019 05:56:37 +0000 (14:56 +0900)]
enable USE_OP_PUSH_OR_JUMP_EXACT

5 years agodisable OP_PUSH_OR_JUMP_EXACT1
K.Kosako [Tue, 19 Feb 2019 04:37:24 +0000 (13:37 +0900)]
disable OP_PUSH_OR_JUMP_EXACT1

5 years agofix invalid condition for setting of head_exact value
K.Kosako [Tue, 19 Feb 2019 02:26:31 +0000 (11:26 +0900)]
fix invalid condition for setting of head_exact value

5 years agoadd test cases for improve coverage
K.Kosako [Mon, 18 Feb 2019 08:12:44 +0000 (17:12 +0900)]
add test cases for improve coverage

5 years agoremovee tab
K.Kosako [Mon, 18 Feb 2019 07:41:34 +0000 (16:41 +0900)]
removee tab

5 years agoadd lcov targets
K.Kosako [Mon, 18 Feb 2019 05:34:45 +0000 (14:34 +0900)]
add lcov targets

5 years agoadd gcov files into .gitignore
K.Kosako [Sun, 17 Feb 2019 14:08:57 +0000 (23:08 +0900)]
add gcov files into .gitignore

5 years agoadd target cov into Makefile.am
K.Kosako [Sun, 17 Feb 2019 14:07:35 +0000 (23:07 +0900)]
add target cov into Makefile.am

5 years agorename onig_bbuf_init() to bbuf_init()
K.Kosako [Fri, 15 Feb 2019 12:56:54 +0000 (21:56 +0900)]
rename onig_bbuf_init() to bbuf_init()

5 years agoremove USE_OP_CCLASS_NODE
K.Kosako [Fri, 15 Feb 2019 12:43:43 +0000 (21:43 +0900)]
remove USE_OP_CCLASS_NODE

5 years agoremove unused codes
K.Kosako [Fri, 15 Feb 2019 12:36:16 +0000 (21:36 +0900)]
remove unused codes

5 years agoupdate year in comment to 2019
K.Kosako [Fri, 15 Feb 2019 05:15:17 +0000 (14:15 +0900)]
update year in comment to 2019

5 years agoremove unused variable
K.Kosako [Fri, 15 Feb 2019 05:13:31 +0000 (14:13 +0900)]
remove unused variable

5 years agoremove arg_type member from OptInfoType
K.Kosako [Fri, 15 Feb 2019 05:11:47 +0000 (14:11 +0900)]
remove arg_type member from OptInfoType

5 years agorename USE_THREADED_CODE to USE_GOTO_LABELS_AS_VALUES
K.Kosako [Fri, 15 Feb 2019 04:53:23 +0000 (13:53 +0900)]
rename USE_THREADED_CODE to USE_GOTO_LABELS_AS_VALUES

5 years agoescape compile errors and warnings in Windows
K.Kosako [Fri, 15 Feb 2019 00:56:14 +0000 (09:56 +0900)]
escape compile errors and warnings in Windows

5 years agofix compile error when USE_THREADED_CODE is disabled
K.Kosako [Thu, 14 Feb 2019 08:49:47 +0000 (17:49 +0900)]
fix compile error when USE_THREADED_CODE is disabled

5 years agoremove options member from backref_general structure
K.Kosako [Mon, 11 Feb 2019 06:26:29 +0000 (15:26 +0900)]
remove options member from backref_general structure

5 years agoadd OP_BACKREF_WITH_LEVEL_IC opcode
K.Kosako [Mon, 11 Feb 2019 05:18:29 +0000 (14:18 +0900)]
add OP_BACKREF_WITH_LEVEL_IC opcode

5 years agofix initialization of FinishCode[] values
K.Kosako [Mon, 11 Feb 2019 05:01:10 +0000 (14:01 +0900)]
fix initialization of FinishCode[] values

5 years agofix some compile conditions
K.Kosako [Thu, 7 Feb 2019 05:07:39 +0000 (14:07 +0900)]
fix some compile conditions

5 years agoopcode member to be coexists with opaddr member if ONIG_DEBUG is enabled.
K.Kosako [Thu, 7 Feb 2019 04:45:45 +0000 (13:45 +0900)]
opcode member to be coexists with opaddr member if ONIG_DEBUG is enabled.

5 years agocheck next opcode after empty check if ONIG_DEBUG is enabled.
K.Kosako [Thu, 7 Feb 2019 04:20:12 +0000 (13:20 +0900)]
check next opcode after empty check if ONIG_DEBUG is enabled.

5 years agouse direct threaded code for GNU C
K.Kosako [Wed, 6 Feb 2019 07:40:44 +0000 (16:40 +0900)]
use direct threaded code for GNU C

5 years agoupdate year in comment to 2019
K.Kosako [Wed, 30 Jan 2019 05:08:54 +0000 (14:08 +0900)]
update year in comment to 2019

5 years agodisable ONIG_DEBUG_PARSE and ONIG_DEBUG_COMPILE
K.Kosako [Wed, 30 Jan 2019 05:06:23 +0000 (14:06 +0900)]
disable ONIG_DEBUG_PARSE and ONIG_DEBUG_COMPILE

5 years agofix missing INC_OP in OP_REPEAT_INC process
K.Kosako [Wed, 30 Jan 2019 05:05:33 +0000 (14:05 +0900)]
fix missing INC_OP in OP_REPEAT_INC process

5 years agochange address output format for OP_REPEAT
K.Kosako [Wed, 30 Jan 2019 04:59:07 +0000 (13:59 +0900)]
change address output format for OP_REPEAT

5 years agoadd pattern output for error case
K.Kosako [Wed, 30 Jan 2019 04:53:42 +0000 (13:53 +0900)]
add pattern output for error case

5 years agore-implement bytecode by using Operation struct
K.Kosako [Wed, 30 Jan 2019 01:47:09 +0000 (10:47 +0900)]
re-implement bytecode by using Operation struct

5 years agorefactoring
K.Kosako [Wed, 9 Jan 2019 07:51:45 +0000 (16:51 +0900)]
refactoring

5 years agoremove tabs
K.Kosako [Thu, 28 Feb 2019 05:27:09 +0000 (14:27 +0900)]
remove tabs

5 years agorefactoring
K.Kosako [Thu, 28 Feb 2019 02:23:45 +0000 (11:23 +0900)]
refactoring

5 years agoMerge pull request #131 from petk/patch-have-vsnprintf
K.Kosako [Thu, 28 Feb 2019 00:09:37 +0000 (09:09 +0900)]
Merge pull request #131 from petk/patch-have-vsnprintf

Remove unused HAVE_VSNPRINTF

5 years agoRemove unused HAVE_VSNPRINTF
Peter Kokot [Wed, 27 Feb 2019 19:43:07 +0000 (20:43 +0100)]
Remove unused HAVE_VSNPRINTF

The symbol HAVE_VSNPRINTF was once used for checks if vsnprintf can be
used. Today this symbol is not used in oniguruma library anymore.

5 years agofix #130: Build error on UWP with VS2017
K.Kosako [Tue, 26 Feb 2019 13:45:24 +0000 (22:45 +0900)]
fix #130: Build error on UWP with VS2017

5 years agoMerge pull request #128 from pallas/fix-to-ascii-null-crash
K.Kosako [Sun, 3 Feb 2019 07:30:01 +0000 (16:30 +0900)]
Merge pull request #128 from pallas/fix-to-ascii-null-crash

regerror/toascii: do not attempt to serialize NULL pointer

5 years agoregerror/toascii: do not attempt to serialize NULL pointer
Derrick Pallas [Sun, 3 Feb 2019 02:38:05 +0000 (18:38 -0800)]
regerror/toascii: do not attempt to serialize NULL pointer

This has been seen in the wild, e.g.  [1], and while I have not investigated
how a NULL made it in here, this should prevent similar future bugs causing
a SEGFAULT.

[1] https://github.com/stedolan/jq/issues/1803

5 years agofix #73: Build breaks without autoreconf
K.Kosako [Wed, 30 Jan 2019 01:55:24 +0000 (10:55 +0900)]
fix #73: Build breaks without autoreconf

5 years agorefactoring
K.Kosako [Mon, 7 Jan 2019 08:56:21 +0000 (17:56 +0900)]
refactoring

5 years agofix #127: Windows VS 2008 build errors
K.Kosako [Wed, 2 Jan 2019 12:30:33 +0000 (21:30 +0900)]
fix #127: Windows VS 2008 build errors

6 years agofix #126: Unable to compile when USE_CALLOUT is not defined
K.Kosako [Wed, 19 Dec 2018 00:56:56 +0000 (09:56 +0900)]
fix #126: Unable to compile when USE_CALLOUT is not defined

6 years agosetup 6.9.1 v6.9.1
K.Kosako [Thu, 6 Dec 2018 08:30:04 +0000 (17:30 +0900)]
setup 6.9.1

6 years agoupdate HISTORY
K.Kosako [Thu, 6 Dec 2018 08:23:04 +0000 (17:23 +0900)]
update HISTORY

6 years agorename USE_DIRECT_THREADED_CODE to USE_THREADED_CODE
K.Kosako [Thu, 6 Dec 2018 07:59:32 +0000 (16:59 +0900)]
rename USE_DIRECT_THREADED_CODE to USE_THREADED_CODE

6 years agodefine BREAK_OUT for removing a LGTM warning
K.Kosako [Sun, 2 Dec 2018 02:40:28 +0000 (11:40 +0900)]
define BREAK_OUT for removing a LGTM warning

6 years agoremove dead coded NEXT_OP statements
K.Kosako [Fri, 9 Nov 2018 01:45:51 +0000 (10:45 +0900)]
remove dead coded NEXT_OP statements

6 years agoadd a test case
K.Kosako [Tue, 6 Nov 2018 08:31:53 +0000 (17:31 +0900)]
add a test case

6 years agorefactoring
K.Kosako [Tue, 6 Nov 2018 08:17:57 +0000 (17:17 +0900)]
refactoring

6 years agoupdate README.md
K.Kosako [Tue, 6 Nov 2018 04:34:13 +0000 (13:34 +0900)]
update README.md

6 years agodrop group node for quantifier
K.Kosako [Tue, 6 Nov 2018 01:59:11 +0000 (10:59 +0900)]
drop group node for quantifier

6 years agoremove tabs
K.Kosako [Mon, 5 Nov 2018 09:02:40 +0000 (18:02 +0900)]
remove tabs

6 years agorefactoring
K.Kosako [Sun, 4 Nov 2018 07:28:14 +0000 (16:28 +0900)]
refactoring

6 years agorefactoring
K.Kosako [Sun, 4 Nov 2018 06:48:16 +0000 (15:48 +0900)]
refactoring

6 years agorefactoring
K.Kosako [Sun, 4 Nov 2018 06:11:59 +0000 (15:11 +0900)]
refactoring

6 years agorefactoring
K.Kosako [Sun, 4 Nov 2018 04:55:24 +0000 (13:55 +0900)]
refactoring

6 years agorefactoring
K.Kosako [Sun, 4 Nov 2018 04:30:26 +0000 (13:30 +0900)]
refactoring

6 years agoadd group_head argument into parse_subexp() etc..
K.Kosako [Sun, 4 Nov 2018 04:11:57 +0000 (13:11 +0900)]
add group_head argument into parse_subexp() etc..

6 years agoremove default case for EnclosureType switch
K.Kosako [Fri, 2 Nov 2018 14:06:45 +0000 (23:06 +0900)]
remove default case for EnclosureType switch

6 years agofix argument type in onig_node_new_enclosure()
K.Kosako [Fri, 2 Nov 2018 13:46:11 +0000 (22:46 +0900)]
fix argument type in onig_node_new_enclosure()

6 years agomerge from develop
K.Kosako [Sat, 13 Oct 2018 11:44:53 +0000 (20:44 +0900)]
merge from develop

6 years agorefactoring
K.Kosako [Wed, 10 Oct 2018 03:12:29 +0000 (12:12 +0900)]
refactoring

6 years agoadd a test case into test_utf8.c
K.Kosako [Wed, 10 Oct 2018 01:22:50 +0000 (10:22 +0900)]
add a test case into test_utf8.c

6 years agocheck in-look-behind in expand_case_fold_string()
K.Kosako [Wed, 10 Oct 2018 01:19:44 +0000 (10:19 +0900)]
check in-look-behind in expand_case_fold_string()

6 years agorevert a null check (in PR #125)
K.Kosako [Tue, 9 Oct 2018 06:03:00 +0000 (15:03 +0900)]
revert a null check (in PR #125)

6 years agodon't execute CASE_OP(FAIL) for failed case (label-fail)
K.Kosako [Tue, 9 Oct 2018 05:33:19 +0000 (14:33 +0900)]
don't execute CASE_OP(FAIL) for failed case (label-fail)

6 years agofix s == NULL case in MATCH_DEBUG_OUT()
K.Kosako [Tue, 9 Oct 2018 04:57:13 +0000 (13:57 +0900)]
fix s == NULL case in MATCH_DEBUG_OUT()

6 years agofix compile error in ONIG_DEBUG_MATCH
K.Kosako [Tue, 9 Oct 2018 04:31:15 +0000 (13:31 +0900)]
fix compile error in ONIG_DEBUG_MATCH

6 years agoremove tabs
K.Kosako [Tue, 9 Oct 2018 04:27:55 +0000 (13:27 +0900)]
remove tabs

6 years agoadjust PR #125
K.Kosako [Tue, 9 Oct 2018 04:21:51 +0000 (13:21 +0900)]
adjust PR #125

6 years agoMerge pull request #125 from methyleneBlue/develop
K.Kosako [Tue, 9 Oct 2018 03:58:49 +0000 (12:58 +0900)]
Merge pull request #125 from methyleneBlue/develop

NULL pointer check

6 years agoNULL pointer check
Dongao Guo [Tue, 9 Oct 2018 03:14:11 +0000 (11:14 +0800)]
NULL pointer check

These check seems not necessary in logic,it is just to increase
security.

6 years agorefactoring
K.Kosako [Mon, 8 Oct 2018 08:08:52 +0000 (17:08 +0900)]
refactoring

6 years agoremove USE_SUNDAY_QUICK_SEARCH_ALGORITHM switch
K.Kosako [Mon, 8 Oct 2018 08:03:16 +0000 (17:03 +0900)]
remove USE_SUNDAY_QUICK_SEARCH_ALGORITHM switch

6 years agouse ENC_FLAG_SKIP_OFFSET_XXX values
K.Kosako [Mon, 8 Oct 2018 07:58:20 +0000 (16:58 +0900)]
use ENC_FLAG_SKIP_OFFSET_XXX values

6 years agoadd ENC_FLAG_SKIP_OFFSET_XXX flag values
K.Kosako [Mon, 8 Oct 2018 07:21:01 +0000 (16:21 +0900)]
add ENC_FLAG_SKIP_OFFSET_XXX flag values

6 years agoUTF-8 supports code range from 0x0000 to 0x10FFFF.
K.Kosako [Sat, 6 Oct 2018 09:42:51 +0000 (18:42 +0900)]
UTF-8 supports code range from 0x0000 to 0x10FFFF.

UTF-8, a transformation format of ISO 10646
(https://tools.ietf.org/html/rfc3630)