512 Commits

Author SHA1 Message Date
Reuben Thomas 718b6985e5 Remove a couple of eflags which can’t be used as eflags (oops).
Remove the commented-out reverse-search functions and methods (we’ll
use an extra argument to the existing functions and methods instead).
2010-07-30 23:49:30 +01:00
Reuben Thomas 7b61bf11b4 Simplify some code, and fix some formatting. 2010-07-30 22:30:17 +01:00
Reuben Thomas 4b0c49c660 Add test for execution flags. 2010-07-30 19:55:15 +01:00
Reuben Thomas 6139778cc0 Update Lua function prototypes in comments. 2010-07-30 19:53:56 +01:00
Reuben Thomas f1a6c35148 Add execution flags for GNU. 2010-07-30 19:36:31 +01:00
Reuben Thomas c8e5b6e8f2 Bump a missed version to 2.5. 2010-07-30 19:08:38 +01:00
Reuben Thomas 0bf6f395ab Move the documentation of the library-specific compile-time arguments
into the documentation of each library’s new method; just refer to
“larg” (library arguments) elsewhere.

Add some missing documentation for GNU.

Make the layout of the argument tables a little more consistent.
2010-07-30 19:02:03 +01:00
Reuben Thomas 8af4a80821 Add GNU-specific test (of translation tables). 2010-07-30 18:20:59 +01:00
Reuben Thomas 8dfd794540 Tweak for clarity. 2010-07-30 18:20:36 +01:00
Reuben Thomas 3ffd7f8214 Fix typo in commit b7161ee896. 2010-07-30 18:11:39 +01:00
Reuben Thomas 2625dfc024 Add TRE targets and add TRE and GNU targets to global targets. 2010-07-30 17:56:00 +01:00
Reuben Thomas 73eca70a10 Fix some bitrot in rex_tre.mak. 2010-07-30 17:55:20 +01:00
Reuben Thomas f589a525f4 Fix up some uses of ALG_NOMATCH missed earlier. 2010-07-30 17:54:58 +01:00
Reuben Thomas 4aec84e779 Add URL for GNU regex. 2010-07-30 17:31:49 +01:00
Reuben Thomas 7ce7d8c0a2 Don't bother listing possible libraries; they're obvious, and this is just another list to keep up to date. 2010-07-30 17:29:04 +01:00
Reuben Thomas b7161ee896 Change ALG_NOMATCH to a macro that takes an argument, like
ALG_ISMATCH, because the GNU API can return two different error codes.
2010-07-30 17:25:16 +01:00
Reuben Thomas b857ec6784 Implement per-regex syntax. Use this in the tests, but because most of
the test harnesses are not set up for extra compile-time arguments,
discard most of the tests in emacs_sets. Shmuel was happy with this
idea; it’s similar to what other bindings do.

Remove per-regex cflags, as the GNU API doesn’t have any.
2010-07-29 19:20:00 +01:00
Reuben Thomas 271f9f34af Various improvements to GNU regex support:
1. Change default syntax to POSIX_EXTENDED, as agreed with Shmuel.

2. Add setsyntax function to set the syntax. Use it to run a much
   smaller emacs_sets.lua, while using common_sets.lua (with normal
   syntax) as the main test.

This commit also introduces preliminary untested code to support
translation arrays, and code to parse a syntax argument so per-regex
syntax can be selected.
2010-07-26 19:18:11 +01:00
Reuben Thomas e3ccbbb7c3 Merge TRE and GNU documentation into manual. 2010-07-26 16:14:47 +01:00
Reuben Thomas ab2e90b741 Ignore common backup and object file names. 2010-07-26 16:14:28 +01:00
rrt 2b4e772aa1 Bump version to 2.5.
Fix Shmuel’s email address in index.txt.

Add some very preliminary documentation for the GNU regex library.
2010-07-20 15:06:24 +00:00
rrt 4fee3d69f9 Fix clean_gnu and test_gnu to use the right env var (thanks, Shmuel!). 2010-07-20 13:46:20 +00:00
rrt cf705e859f Add a new regex engine: GNU regex.
This checkin contains simply a first rough cut of the new code, which
passes the existing tests (but rewritten for Emacs syntax, in
emacs_sets.lua).

Documentation and complete code to expose the unique features of GNU
regex is yet to come.
2010-07-19 20:07:17 +00:00
shmuz 6dad4d41c3 Casts to suppress compiler warnings. 2010-07-06 16:00:46 +00:00
shmuz 205e93b740 lpcre_f.c: added flags up to PCRE version 8.10. 2010-07-05 19:59:23 +00:00
shmuz b6e86ca865 email address updated 2010-03-12 13:02:12 +00:00
rrt b75734aa2a Mention TRE in README. 2010-03-12 11:11:30 +00:00
shmuz 9983df8800 several files: luaL_typerror renamed to luaL_typeerror (as in Lua 5.2).
common.h: added a macro for handling luaL_typeerror and luaL_typerror.
2010-01-19 08:58:25 +00:00
shmuz 83bbc16906 * ltre.c: changes to adapt to TRE 0.8
1) #include <tre/tre.h> (was: <tre/regex.h>).
    2) added tre_ prefix to all TRE functions.
2009-11-29 17:58:18 +00:00
shmuz dab71ac6b7 lpcre_f.c: added flags up to PCRE version 8.00. 2009-11-09 12:30:44 +00:00
shmuz 8d8485a078 eliminate a warning on 64 bit systems: cast to pointer from integer of different size 2008-08-16 18:27:27 +00:00
shmuz c807b0dd1c The definition of Lrexlib edited. 2008-08-05 05:10:15 +00:00
shmuz c78c31b6b5 The definition of Lrexlib edited. 2008-08-05 02:23:24 +00:00
shmuz aa65ade7bc prepare to release 2.4.0 2008-08-04 16:00:29 +00:00
shmuz 066d80305e prepare to release 2.4.0 2008-08-04 15:47:12 +00:00
shmuz 39df52e02e corrections 2008-08-01 19:16:58 +00:00
shmuz f76e595306 force-reload the tested library; makefile reverted; 2008-08-01 19:16:29 +00:00
niklas 6ac8ab8f32 Unset LUA_INIT before running tests to avoid problems 2008-07-31 21:33:49 +00:00
niklas 10eb8b69aa English fixes. 2008-07-30 20:29:16 +00:00
niklas 093353c8a1 Add .cvsignore files to ignore .so's. 2008-07-30 20:00:18 +00:00
niklas f9af32fa78 Add .cvsignore file for generated HTML files 2008-07-30 19:10:30 +00:00
niklas 91987af868 Remove a stray _cdecl.
Change stricmp (non-standard name) to strcasecmp (POSIX 2001 name).

Change include path for oniguruma.h. If installed under
/usr/include/oniguruma, an additional -I flag is needed; on Ubuntu
(and hence presumably Debian) the include files are stored directly
under /usr/include.
2008-07-30 19:09:12 +00:00
niklas be5c33441c Fix makefile paths for common files. 2008-07-30 19:07:12 +00:00
shmuz a462c97815 Changes related to Oniguruma addition and directory layout change. 2008-07-30 17:45:45 +00:00
shmuz de14e21753 Changes related to Oniguruma addition and directory layout change. 2008-07-30 17:40:04 +00:00
shmuz 357e381748 1) Moving files: each binding to its dedicated directory.
2) Oniguruma binding added.
2008-07-30 17:35:10 +00:00
shmuz 09205eea30 Moving files: each binding to its dedicated directory. 2008-07-30 17:30:02 +00:00
shmuz 54a8e5ff8b a little fix 2008-06-22 18:41:44 +00:00
shmuz 198d99c6f8 one sentence reworded 2008-06-15 15:33:34 +00:00
shmuz b17e31a4fc update version and copyright strings (prepare to release 2.4) 2008-06-15 03:22:58 +00:00