summaryrefslogtreecommitdiff
path: root/regcomp.c
Commit message (Collapse)AuthorAgeFilesLines
* To: Mailing list Perl5 <perl5-porters@perl.org>Ilya Zakharevich1999-09-221-4/+4
| | | | | | | | | | | | | Subject: [PATCH 5.005_61] regfree could segfault with -Mre=debug Date: Tue, 21 Sep 1999 19:50:00 -0400 Message-ID: <19990921195000.A23938@monk.mps.ohio-state.edu> From: Ilya Zakharevich <ilya@math.ohio-state.edu> To: Mailing list Perl5 <perl5-porters@perl.org> Subject: [PATCH 5.005_61] More verbose -Mre=debug Date: Tue, 21 Sep 1999 22:29:55 -0400 Message-ID: <19990921222955.A25094@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@4215
* queue errors due to strictures rather than printing them asGurusamy Sarathy1999-09-201-1/+1
| | | | | | | | | | | warnings; symbols that violate strictures do *not* end up in the symbol table anyway, making multiple evals of the same piece of code produce the same errors; errors indicate all locations of a global symbol rather than just the first one; these changes make compile-time failures within evals reliably visible via the return value or contents of $@, and trappable using __DIE__ hooks p4raw-id: //depot/perl@4197
* Fix debugging output for RExIlya Zakharevich1999-09-081-1/+1
| | | | | | To: Mailing list Perl5 <perl5-porters@perl.org> Message-ID: <19990908050201.A17682@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@4104
* Use \N{named characters} instead of \C.Ilya Zakharevich1999-08-301-1/+1
| | | | | | | | | To: jhi@iki.fi Cc: larry@wall.org (Larry Wall), Tim.Bunce@ig.co.uk (Tim Bunce), perl5-porters@perl.org (Mailing list Perl5) Subject: Re: [PATCH 5.005_58] Named characters in Perl Message-Id: <199908292046.QAA05510@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@4052
* Fix regex charclass parsing so that bogus rangesJarkko Hietaniemi1999-08-051-21/+31
| | | | | | like [0-\d] and [[:word:]-z] are no more allowed. The anomaly was noticed by Guy Decoux. p4raw-id: //depot/cfgperl@3926
* Introduce the charnames pragma.Jarkko Hietaniemi1999-08-041-1/+1
| | | | | | | | | | | | | | | | Subject: [PATCH 5.005_58] Free \C (for named chars), move to \O From: Ilya Zakharevich <[9]ilya@math.ohio-state.edu> To: Chip Salzenberg <[11]chip@perlsupport.com> Cc: Mailing list Perl5 <[12]perl5-porters@perl.org> Date: Sat, 31 Jul 1999 05:44:05 -0400 Message-Id: <[13]199907311407.IAA25042@localhost.frii.com> From: Ilya Zakharevich <ilya@math.ohio-state.edu> To: Mailing list Perl5 <perl5-porters@perl.org> Subject: [PATCH 5.005_58] Named characters in Perl Date: Mon, 2 Aug 1999 19:25:40 -0400 Message-ID: <19990802192540.B24407@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@3916
* Clarify RE engine code; inline a static function to a macro;Ilya Zakharevich1999-08-031-44/+33
| | | | | | | | make exact string nodes smaller. To: perl5-porters@perl.org (Mailing list Perl5) Subject: [PATCH 5.005_60] Cosmetic change to REx engine Message-Id: <199908030153.VAA10542@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@3908
* Fix some of the {IV_IS_QUAD,UV_IS_QUAD} cases so thatJarkko Hietaniemi1999-08-021-2/+4
| | | | | | emacs code indentation doesn't get wrong ideas-- in other words, introduce a couple of "redundant" if:s. p4raw-id: //depot/cfgperl@3887
* Fix regclass utf8 hex ranges for quads.Jarkko Hietaniemi1999-08-021-1/+9
| | | p4raw-id: //depot/cfgperl@3884
* More 64-bit fixing. One known bug of that kindJarkko Hietaniemi1999-08-021-0/+4
| | | | | | | | | remains, 32-bit platforms using long long in the test t/pragma/utf8 subtests 1-3 fail. (Update: change #3884 fixed that one.) p4raw-link: @3884 (not found) p4raw-id: //depot/cfgperl@3880
* Integrate with Sarathy. perl.h and util.c required manual resolving.Jarkko Hietaniemi1999-08-011-11/+60
| | | p4raw-id: //depot/cfgperl@3864
* fix little utf8 nits in testsuite; add patch from Ilya that curesGurusamy Sarathy1999-07-251-0/+1
| | | | | a utf8 bug in one of the new RE optimizations p4raw-id: //depot/perl@3730
* yet more cleanups of the PERL_OBJECT, MULTIPLICITY and USE_THREADSGurusamy Sarathy1999-07-121-2/+9
| | | | | | | | | | | | | | | | builds; passing the implicit context is unified among the three flavors; PERL_IMPLICIT_CONTEXT is auto-enabled under all three flavors (see the top of perl.h) for testing; all varargs functions foo() have a va_list-taking variant vfoo() for generating the context-free versions; the PERL_OBJECT build should now be hyper-compatible with CPAN extensions (C++ is totally out of the picture) result has only been tested on Windows TODO: write docs on the THX rationale and idiomatic usage of the Perl API p4raw-id: //depot/perl@3667
* more PERL_OBJECT cleanups (changes still untested on Unix!)Gurusamy Sarathy1999-07-081-5/+15
| | | p4raw-id: //depot/perl@3660
* sundry cleanups for clean build on windowsGurusamy Sarathy1999-07-081-4/+4
| | | p4raw-id: //depot/perl@3659
* fixes for logical bugs in the lexwarn patch; other tweaks to avoidGurusamy Sarathy1999-07-081-1/+1
| | | | | type mismatch problems p4raw-id: //depot/perl@3658
* POSIX [[:character class:]] support for standard, locale,Jarkko Hietaniemi1999-07-061-196/+477
| | | | | | | and utf8. If both utf8 and locale are on, utf8 wins. I don't fully understand why so many tables changed in lib/unicode because of "make" -- maybe it was just overdue. p4raw-id: //depot/cfgperl@3624
* Integrate with Sarathy.Jarkko Hietaniemi1999-07-061-6/+54
| | | p4raw-id: //depot/cfgperl@3609
* more complete support for implicit thread/interpreter pointer,Gurusamy Sarathy1999-06-091-45/+45
| | | | | | | | | | | | | | | | | | | | | enabled via -DPERL_IMPLICIT_CONTEXT (all changes are noops without that enabled): - USE_THREADS now enables PERL_IMPLICIT_CONTEXT, so dTHR is a noop; tests pass on Solaris; should be faster now! - MULTIPLICITY has been tested with and without PERL_IMPLICIT_CONTEXT on Solaris - improved function database now merged with embed.pl - everything except the varargs functions have foo(a,b,c) macros to provide compatibility - varargs functions default to compatibility variants that get the context pointer using dTHX - there should be almost no source compatibility issues as a result of all this - dl_foo.xs changes other than dl_dlopen.xs untested - still needs documentation, fixups for win32 etc Next step: migrate most non-mutex variables from perlvars.h to intrpvar.h p4raw-id: //depot/perl@3524
* initial stub implementation of implicit thread/thisGurusamy Sarathy1999-06-071-74/+31
| | | | | | | | | | | | pointer argument; builds/tests on Solaris, win32 hasn't been fixed up yet; proto.h, global.sym and static function decls are now generated from a common database in proto.pl; some inconsistently named perl_foo() things are now Perl_foo(), compatibility #defines provided; perl_foo() (lowercase 'p') reserved for functions that take an explicit context argument; next step: generate #define foo(a,b) Perl_foo(aTHX_ a,b) p4raw-id: //depot/perl@3522
* remove _() non-ansismGurusamy Sarathy1999-06-021-19/+19
| | | p4raw-id: //depot/perl@3518
* REx engine improvementsIlya Zakharevich1999-05-251-18/+19
| | | | | Message-Id: <199905250642.CAA06208@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@3475
* Cosmetic: data-driven REx-dumpIlya Zakharevich1999-05-101-189/+18
| | | | | Message-Id: <199905060521.BAA03485@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@3372
* fix overeager [:foo:] parsingHugo van der Sanden1999-05-101-0/+4
| | | | | | Message-Id: <199904300826.JAA01257@crypt.compulink.co.uk> Subject: [PATCH 5.005_{56,03}] Re: Regular expression difference b/n 5.004 & 5.005 p4raw-id: //depot/perl@3364
* cygwin32 update (untested adaptation of patch against 5.005_03)Alexander Smishlajev1999-05-101-0/+5
| | | | | | Message-ID: <37230365.5F68B460@turnhere.com> Subject: [PATCH]5.005_03 (CORE) cygwin32 port p4raw-id: //depot/perl@3358
* allow embedded null characters in diagnosticsGurusamy Sarathy1999-04-261-2/+3
| | | p4raw-id: //depot/perl@3274
* correct places that said newSVpv() when they meant newSVpvn()Gurusamy Sarathy1999-04-041-7/+7
| | | p4raw-id: //depot/perl@3217
* fix off-by-one that resulted in misparse of C</[\x{80}-\x{81}]/>Gurusamy Sarathy1999-03-241-1/+1
| | | p4raw-id: //depot/perl@3136
* update copyright yearsGurusamy Sarathy1999-03-221-1/+1
| | | p4raw-id: //depot/perl@3124
* 5.005_55 (CORE) Sparse intializer in regcomp.cJohn Bley1999-02-201-1/+2
| | | | | Message-Id: <Pine.SOL.3.91.990220155832.9913A-100000@soc11.acpub.duke.edu> p4raw-id: //depot/perl@2999
* fix comppad handling for failures in eval 'qr/(?p{...})/'Hugo van der Sanden1999-02-171-3/+20
| | | | | | Message-Id: <199902171006.KAA10204@crypt.compulink.co.uk> Subject: Re: [5.005_53] panic: pad_free curpad p4raw-id: //depot/perl@2963
* regexp flags bugHugo van der Sanden1999-02-151-5/+5
| | | | | Message-Id: <199901310150.BAA16299@crypt.compulink.co.uk> p4raw-id: //depot/perl@2922
* s/\ba/./g was over-optimizedIlya Zakharevich1999-02-071-0/+2
| | | | | Message-ID: <19990207172522.B894@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@2828
* patch for change#2822, done right; add PERL_OBJECT stuff; regen headersIlya Zakharevich1999-02-071-1/+13
| | | | | | | | Message-ID: <19990207150726.A571@monk.mps.ohio-state.edu> Subject: Re: fixing memory leaks in REx compilation p4raw-link: @2822 on //depot/perl: 34184a49c8a0771dbea73b3f0519126fd5b22c2f p4raw-id: //depot/perl@2826
* PERL_OBJECT tweaks for change#2426Gurusamy Sarathy1999-01-171-0/+1
| | | | | p4raw-link: @2426 on //depot/cfgperl: 620e46c53f8c7c9f3fd77bcea9cd19e919047cba p4raw-id: //depot/perl@2626
* [Patch for 5.005_54] re::debugcolors dumps coreHans Mulder1999-01-131-1/+1
| | | | | | | To: perlbug@perl.com Cc: hansmu@xs4all.nl Message-ID: <MLIST_9901111947.AA22109@icgned.icgroup.nl> p4raw-id: //depot/cfgperl@2603
* Missing dTHRs added.Jarkko Hietaniemi1999-01-091-0/+1
| | | p4raw-id: //depot/cfgperl@2591
* Warn on unrecognized alpha escapes.Ilya Zakharevich1998-12-291-0/+7
| | | | | | To: perl5-porters@perl.org (Mailing list Perl5) Message-ID: <MLIST_199812090823.DAA17566@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@2516
* Regexp tests and UTF8Ilya Zakharevich1998-12-291-0/+11
| | | | | | To: perl5-porters@perl.org (Mailing list Perl5) Message-ID: <MLIST_199812080447.XAA05297@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@2514
* Separated the [:foo:] parsing to its own function.Jarkko Hietaniemi1998-12-011-53/+44
| | | | | Passes all tests. p4raw-id: //depot/cfgperl@2426
* various tweaks; result passes all tests for normal build on Solaris;Gurusamy Sarathy1998-11-281-4/+2
| | | | | | fails two pat.t tests under USE_THREADS; io_poll.t test#3 fails on win32 due to lack of select() that works on non-socket fds p4raw-id: //depot/perl@2377
* regcolorsIlya Zakharevich1998-11-281-25/+31
| | | | | Message-Id: <199811272022.PAA17874@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@2370
* phase 1 of somewhat major rearrangement of PERL_OBJECT stuffGurusamy Sarathy1998-10-301-32/+32
| | | | | | | | | | (objpp.h is gone, embed.pl now does some of that); objXSUB.h should soon be automated also; the global variables that escaped the PL_foo conversion are now reined in; renamed MAGIC in regcomp.h to REG_MAGIC to avoid collision with the type of same name; duplicated lists of pp_things in various places is now gone; result has only been tested on win32 p4raw-id: //depot/perl@2133
* fix globals caught by change#1927; builds and tests on SolarisGurusamy Sarathy1998-10-061-3/+4
| | | | | p4raw-link: @1927 on //depot/perl: eb07465ebe1238598e948058857ec948c6697f86 p4raw-id: //depot/perl@1936
* os390 fixes (suggested by Peter Prymmer)Gurusamy Sarathy1998-10-021-1/+3
| | | p4raw-id: //depot/perl@1921
* document yet another RE diagnostic, make it consistent with REG_INFTYDominic Dunlop1998-10-021-2/+2
| | | | | | | | | | | Date: Tue, 29 Sep 1998 21:06:30 +0000 Message-Id: <v03110700b236f60b1375@[212.24.192.106]> Subject: [PATCH 5.005_52] Fix hard-coded "matches null string many times" limit -- Date: Wed, 30 Sep 1998 11:46:44 +0000 Message-Id: <v03110702b237beb04830@[212.24.192.74]> Subject: [PATCH 5.005_52] Add "Strange *+?{} ..." to perldiag p4raw-id: //depot/perl@1911
* Extraneous warning for (?()A|B)Ilya Zakharevich1998-09-241-0/+4
| | | | | Message-Id: <199808250829.EAA02470@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@1873
* hide symbol for static buildDominic Dunlop1998-09-231-1/+1
| | | | | | Message-Id: <v03110700b21b52db318d@[212.24.192.111]> Subject: Not OK: perl 5.00551 on powerpc-machten 4.1.1 [PATCH] p4raw-id: //depot/perl@1843
* re-introduce change#1703Gurusamy Sarathy1998-09-231-28/+26
| | | | | p4raw-link: @1703 on //depot/maint-5.005/perl: af819cba4f44bf2074ec4808e403dedf8c3ce2b2 p4raw-id: //depot/perl@1825
* patch to support computed regular subexpressionsIlya Zakharevich1998-09-231-1/+22
| | | | | | Message-Id: <199808201919.PAA04692@monk.mps.ohio-state.edu> Subject: [5.005_5* PATCH] Postponed RE - now! p4raw-id: //depot/perl@1813