Commit Graph

94 Commits

Author SHA1 Message Date
Philip.Hazel eb59159ce0 Change --enable-pcre8 etc to --enable-pcre2-8 etc and consequent changes;
change "pcre" to "pcre2" in a number of files.
2014-10-17 15:52:57 +00:00
Philip.Hazel 2f27ca131d Update pcre2_pattern_info to return a length if "where" is NULL. 2014-10-16 16:49:23 +00:00
Philip.Hazel 7d0008d453 Remove length argument from pcre2_config; give width if where==NULL. 2014-10-15 16:44:12 +00:00
Philip.Hazel 722817013c Fix several bugs concerned with different configurations. 2014-10-15 15:57:49 +00:00
Philip.Hazel 29ae875dd7 Fix Unicode version and JIT target output. 2014-10-14 17:07:46 +00:00
Philip.Hazel 14ed10fc3a Minor length bug. 2014-10-14 16:41:13 +00:00
Philip.Hazel 26cd0bccb3 Partial documentation and partial code tweaks. 2014-10-14 16:23:57 +00:00
Zoltán Herczeg a6302442f2 Fix JIT test issues when PCRE2 configured in various modes. 2014-10-13 06:43:00 +00:00
Philip.Hazel 3ab47d70b0 Create PRIV(strcpy_c8) for copying config strings. 2014-10-12 15:45:05 +00:00
Philip.Hazel 0ec351e95e Create default compile and match contexts as constant static data. 2014-10-11 17:05:18 +00:00
Philip.Hazel b6e793f343 The tests all run clean with JIT. 2014-10-11 15:56:25 +00:00
Zoltán Herczeg 1ebad64b34 Landing initial version of JIT regression tests. 2014-10-10 17:29:08 +00:00
Philip.Hazel d961132ae1 Fix match_unset_backref bug. 2014-10-10 16:42:03 +00:00
Philip.Hazel 623b497851 Fix "first code unit" bug. 2014-10-10 16:16:44 +00:00
Philip.Hazel 62d728bb0b Remove leftchar/rightchar from the public API. 2014-10-10 11:55:28 +00:00
Zoltán Herczeg 0907fc6e92 Support for JIT code free and small partial match optimization. 2014-10-09 10:06:19 +00:00
Zoltán Herczeg 62746ceb10 Several small JIT fixes. 2014-10-08 08:57:26 +00:00
Philip.Hazel cc463c76a3 Call _pcre2_jit_free from pcre2_code_free. 2014-10-07 13:07:20 +00:00
Philip.Hazel 2148a4093e Work on the tests for JIT. 2014-10-06 17:28:42 +00:00
Philip.Hazel 4bdfd990af Impose a minimum of 1 for the number of pairs in the ovector. 2014-10-05 17:55:25 +00:00
Philip.Hazel 4ca4ad688d Fix duplicate RM15 label (compile error with --disable-stack-for-recursion). 2014-10-05 16:56:11 +00:00
Zoltán Herczeg 386b47eabe More JIT fixes. 2014-10-05 06:20:41 +00:00
Zoltán Herczeg 648695e262 Minor fixes. RunTest 1 now works with JIT. 2014-10-04 17:05:21 +00:00
Philip.Hazel 0e221c4381 Break global loop in pcre2test if matching returns the same substring. 2014-10-04 15:09:00 +00:00
Zoltán Herczeg f0855fab5c Starting commit of the JIT compiler. 2014-10-03 10:17:18 +00:00
Philip.Hazel ccd5ac9014 Save compile-time work when PCRE2_NO_START_OPTIMIZE is set. 2014-10-03 09:47:59 +00:00
Philip.Hazel df93e05c2e Remove match context argument from pcre2_jit_compile. 2014-10-03 09:25:57 +00:00
Philip.Hazel e036c5fba0 Remove the ability to change newlines and \R at match time. 2014-10-01 17:02:33 +00:00
Philip.Hazel a0410efc56 Make PCRE2_NO_START_OPTIMIZE a compile-only option. 2014-10-01 16:16:27 +00:00
Philip.Hazel 313245365d Update pcre2test with JIT features (untested) 2014-09-30 16:30:39 +00:00
Zoltán Herczeg 63d812ff0e Land the JIT compiler (as a separate commit). 2014-09-30 07:08:35 +00:00
Zoltán Herczeg 4fda5bba36 PCRE2 successfully compiles with --enable-jit now. 2014-09-30 07:06:48 +00:00
Philip.Hazel 5543597741 More documentation. 2014-09-29 16:45:37 +00:00
Philip.Hazel e15b64ef03 More draft documentation. 2014-09-28 17:39:28 +00:00
Philip.Hazel d5495a30f4 Documentation scripts 2014-09-23 11:35:51 +00:00
Philip.Hazel 698d21c62f Changed SUPPORT_PCRE8 etc into SUPPORT_PCRE2_8 etc. 2014-09-19 17:53:33 +00:00
Philip.Hazel 24c0018125 Set the callout block version back to 0 for this new project and re-order the
fields.
2014-09-19 17:38:26 +00:00
Philip.Hazel eee8530add API documentation and a lot of little related changes to the code. 2014-09-19 07:43:39 +00:00
Philip.Hazel de4f203346 Changed remaining size_t occurrences to PCRE2_SIZE. 2014-08-31 17:03:37 +00:00
Philip.Hazel 7b2707fcf7 Make /()a/ set the "first character must be" data. 2014-08-30 16:21:17 +00:00
Philip.Hazel 9c3deebcbd Fix int/long bug in limit argument decoding. 2014-08-30 14:20:14 +00:00
Philip.Hazel 4bb064a167 Fix typos: PCREPOSIX -> PCRE2POSIX. 2014-08-30 08:52:32 +00:00
Philip.Hazel 066aa00067 Re-specify how the substring functions return lengths. 2014-08-29 12:12:34 +00:00
Philip.Hazel cfb78cbd53 Refactor match_ref() and fix UTF-8 caseless bug. 2014-08-27 16:59:56 +00:00
Philip.Hazel 7858fa702d Implement (*NOTEMPTY) and (?(VERSION= features. 2014-08-26 11:46:21 +00:00
Philip.Hazel ac70cacd29 Implement the "rightchar" feature of match data. 2014-08-19 17:07:22 +00:00
Philip.Hazel 55e279eff2 Some missed PCRE2_SIZE updates in pcre2test. 2014-08-17 11:12:22 +00:00
Philip.Hazel ac8cbf8d6a Keep recursion ovecsave blocks on a chain and re-use them. 2014-08-16 15:10:42 +00:00
Philip.Hazel 7efba85b56 Change lengths to PCRE2_SIZE and revise OP_RECURSE processing. 2014-08-16 09:46:58 +00:00
Philip.Hazel 7770350034 Remove (possibly temporarily) byte-ordering functions (which were dummies
anyway), to be thought about later.
2014-08-15 10:07:50 +00:00