------------------------------------------------------------------------ r2010 | taco | 2009-03-13 17:02:05 +0100 (Fri, 13 Mar 2009) | 17 lines Changed paths: M /trunk/src/texk/web2c/luatexdir/Makefile.in M /trunk/src/texk/web2c/luatexdir/lua/ltexlib.c M /trunk/src/texk/web2c/luatexdir/lua/ltokenlib.c M /trunk/src/texk/web2c/luatexdir/lua/luatoken.c M /trunk/src/texk/web2c/luatexdir/luatex.ch M /trunk/src/texk/web2c/luatexdir/luatex.defines M /trunk/src/texk/web2c/luatexdir/luatex.web A /trunk/src/texk/web2c/luatexdir/primitive.h M /trunk/src/texk/web2c/luatexdir/ptexlib.h A /trunk/src/texk/web2c/luatexdir/tex/primitive.c * Fix the typo that caused \charic (instead of \charit) to be defined as a primitive. * Move the definition of primitive() and id_lookup() to a separate c file, * add a header for that file and adjust luatex.defines * create interface macros that mark the origin of specific primitives within the web source, and add an enumerated value as the fourth argument of primitive(), * and merge subsections of string_lookup() and id_lookup() now that it is feasible to use char pointers thanks to the move to C, * incorporate soms bits from luatex.ch, * and fix up some lua library files for the new interface. ------------------------------------------------------------------------ r2011 | oneiros | 2009-03-13 17:35:07 +0100 (Fri, 13 Mar 2009) | 2 lines Changed paths: M /trunk/src/texk/web2c/luatexdir/primitive.h M /trunk/src/texk/web2c/luatexdir/tex/primitive.c svn:keywords ------------------------------------------------------------------------ r2012 | oneiros | 2009-03-13 17:36:50 +0100 (Fri, 13 Mar 2009) | 2 lines Changed paths: M /trunk/src/texk/web2c/luatexdir/primitive.h M /trunk/src/texk/web2c/luatexdir/tex/primitive.c indent ------------------------------------------------------------------------ r2013 | oneiros | 2009-03-13 17:43:17 +0100 (Fri, 13 Mar 2009) | 2 lines Changed paths: M /trunk/src/texk/web2c/luatexdir/depend.mk make depend ------------------------------------------------------------------------ r2014 | taco | 2009-03-13 18:32:16 +0100 (Fri, 13 Mar 2009) | 2 lines Changed paths: M /trunk/src/texk/web2c/luatexdir/tex/primitive.c fix an initialization error spotted by Martin ------------------------------------------------------------------------ r2015 | taco | 2009-03-13 20:06:34 +0100 (Fri, 13 Mar 2009) | 5 lines Changed paths: M /trunk/src/texk/web2c/luatexdir/lua/ltexlib.c M /trunk/src/texk/web2c/luatexdir/lua/ltokenlib.c M /trunk/src/texk/web2c/luatexdir/primitive.h M /trunk/src/texk/web2c/luatexdir/ptexlib.h M /trunk/src/texk/web2c/luatexdir/tex/primitive.c M /trunk/src/texk/web2c/luatexdir/tex/textoken.c Make string_lookup() run on a char *,size_t pair instead of a str_number. this simplifies more than a dozen calls at the expense of one, the one inside is_primitive(). Also re-create a str_eq_cstr() function (in textoken.c for now) ------------------------------------------------------------------------ r2016 | taco | 2009-03-13 21:38:11 +0100 (Fri, 13 Mar 2009) | 2 lines Changed paths: M /trunk/src/texk/web2c/luatexdir/tex/textoken.c My stupidity surprises even me sometimes: I had the return values of strncmp() reversed. ------------------------------------------------------------------------
participants (1)
-
root@www.metatex.org