summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/ChangeLog
blob: 3bf7e4657ecde896c4a4d7633b87ba851919d854 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
2010-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Clarify dependencies between luaTeX libraries:
	* am/libzzip.am: Remove dependency on liblua51.a.
	* am/luamisc.am: Add dependency on libzzip.a.
	* am/luasocket.am: Replace dependency on libzzip.a by liblua51.a.

2010-01-27  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* utils/avl.c (avl_copy): Proper handling of const.

2010-01-27  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* luafontloader/src/luafflib.h: New file with prototypes used
	by libluatex.
	* luafontloader/src/luafflib.c: #include "luafflib.h".
	* font/writecff.c, font/writetype2.c: Remove the extern decls
	and #include <luafontloader/src/luafflib.h>.
	* font/writecff.c (writetype1w): Change tfm_size integer=>int.
	* am/luafontforge.am: Add the new file.

	* luatex-api.h: Add prototype for utf8_idpb(), renamed
	lua_utf8_idpb to avoid name conflicts with fontforge library.
	* lang/texlang.c: Declare utf8_idpb() as non-static.
	* tex/filename.c: Remove prototype for utf8_idpb().

	* tex/filename.c (scan_file_name): Don't assume a null byte
	after string created by utf8_idpb().

2010-01-26  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* font/writettf.c: Remove extern charsetstr[].
	* lua/lkpselib.c: Remove extern luainit.
	* lua/luainit.c: Remove extern normalize_quotes(), argc, argv.
	* tex/textoken.c: Remove extern insert_vj_template().

	* utils/utils.h: Add extern declaration of fb_array ...
	* font/writet1.c, font/writettf.c: ... removed from here.
	* luatex-api.h: Add extern declaration of program_name_set ...
	* lua/luainit.c, lua/luatex.c: ... removed from here.
	* luatex-api.h: Add extern declaration of startup_filename,
	safer_option, and nosocket_option ...
	* lua/luastuff.c: ... removed from here.
	* lua/llualib.c (luabytecode_max): Change integer=>int.
	* luatex-api.h: Add extern declaration of luabytecode_max,
	luabytecode_bytes, luastate_bytes, callback_count, and
	saved_callback_count ...
	* lstatslib.c: ... removed from here.

2010-01-25  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/luatex.am (luatex_CFLAGS, luatex_CXXFLAGS),
	am/libluatex.am (libluatex_a_CFLAGS): Enable compiler warnings.

	Avoid most compiler warnings:

	* font/luatexfont.h, luatexdir/hyphen.h, image/writeimg.h,
	image/writejbig2.h, luatex.h, pdf/pagetree.h, pdf/pdfpage.h,
	utils/avlstuff.h, utils/utils.h: ANSI C function prototypes.
	* font/mapfile.c, font/writeenc.c, font/writefont.c,
	font/writet1.c, font/writettf.c, image/writeimg.c,
	image/writejbig2.c, lang/hyphen.c, pdf/pagetree.c,
	pdf/pdfpage.c, utils/avlstuff.c, utils/utils.c: ANSI C function
	definitions.

	* font/luafont.c, lang/texlang.c, lua/lcallbacklib.c,
	lua/lfontlib.c, lua/limglib.c, lua/lkpselib.c, lua/llualib.c,
	lua/lnodelib.c, lua/loslibext.c, lua/lpdflib.c, lua/lstatslib.c,
	lua/ltexiolib.c, lua/ltexlib.c, lua/ltokenlib.c, lua/luanode.c,
	lua/luatoken.c: Remove 'char *' or 'unsigned char *'  casts of
	Lua strings.

	* font/texfont.h, font/writecff.h, luatex-api.h, luatex.h,
	nodes.h, primitive.h, ptexlib.h, utils/utils.h, font/dofont.c,
	font/luafont.c, font/tfmofm.c, font/vfovf.c, font/writecff.c,
	font/writefont.c, font/writet1.c, font/writettf.[ch],
	lang/hyphen.c, lang/texlang.c, lua/lcallbacklib.c,
	lua/lfontlib.c, lua/limglib.c, lua/lkpselib.c, lua/llualib.c,
	lua/lnodelib.c, lua/loslibext.c, lua/lpdflib.c, lua/lstatslib.c,
	lua/ltexiolib.c, lua/ltexlib.c, lua/ltokenlib.c, lua/luainit.c,
	lua/luanode.c, lua/luastuff.c, lua/luatex.c, lua/luatoken.c,
	luatex.ch, tex/filename.c, tex/linebreak.c, tex/math.c,
	tex/mlist.c, tex/primitive.c, tex/texdeffont.c, tex/texnodes.c,
	tex/textoken.c, utils/utils.c: Declare various function params
	and args, local and global vars, and struct members as const.

	* font/luafont.c, font/texfont.c, font/tfmofm.c, font/vfovf.c,
	font/writeenc.c, font/writefont.c, font/writet1.c,
	font/vfpacket.c, font/writettf.c, font/writetype2.c,
	image/writeimg.c, lang/hyphen.c, lang/texlang.c, lua/limglib.c,
	lua/llualib.c, lua/lnodelib.c, lua/loslibext.c, lua/lpdflib.c,
	lua/lstatslib.c, lua/ltexlib.c, lua/luainit.c, lua/luanode.c,
	lua/luastuff.c, mathcodes.c, tex/linebreak.c, tex/math.c,
	tex/mlist.c, tex/primitive.c, tex/texdeffont.c, tex/texnodes.c,
	tex/textoken.c, utils/synctex.c, utils/utils.c:
	Declare functions and global vars as static.

	* font/texfont.c: #include "luatexfont.h" and remove externs.
	* image/writejpg.c: #include "writejpg.h".
	* image/writepng.c: #include "writepng.h".
	* lang/hnjalloc.c: #include "hnjalloc.h".
	* lua/texluac.c: #include "luatex-api.h".
	* utils/synctex.c: #include "synctex.h".
	* utils/utils.c: #include "utils.h".

	* lua/lcallbacklib.c: Remove prototype for lua_traceback().
	* ptexlib.h: Add prototype for get_command_id() ...
	* lua/ltokenlib.c: ... removed from here.
	* nodes.h: Add prototype for list_node_mem_usage() ...
	* lua/lnodelib.c: ... removed from here.
	* managed-sa.h: Add prototype for rawset_sa_item() ...
	* mathcodes.c, tex/math.c: ... removed from here.

	* inc-epdf.h: New file with prototypes for epdf_mark_glyphs(),
	epdf_create_fontdescriptor(), and epdf_write_enc() ...
	* image/epdf.h: ... removed from here.
	* image/epdf.h, font/writeenc.c: #include inc-epdf.h.
	* inc-vfovf.h: New file with prototype for make_vf_table() ...
	* lua/lfontlib.c: ... removed from here.
	* font/vfovf.c, lua/lfontlib.c: #include inc-vfovf.h.
	* inc-extra.h: New file with prototypes for check_isnode()
	and lua_nodelib_push_fast() ...
	* lua/limglib.c, lua/llanglib.c, lua/lstatslib.c, lua/ltexlib.c:
	... removed from here.
	* lua/limglib.c, lua/llanglib.c, lua/lnodelib.c,
	lua/lstatslib.c, lua/ltexlib.c: #include "inc-extra.h".
	* am/libluatex.am (libluatex_a_SOURCES): Add the new files.

	* font/texfont.c (lua_char_exists_callback),
	font/vfovf.c (is_letterspaced_font),
	font/vfpacket.c (packet_command_names),
	font/writet1.c (free_glyph_names),
	image/writeimg.c (image_group_ref),
	lua/ltexlib.c (get_something_internal),
	tex/texnodes.c (print_free_chain),
	textcodes.c (clearcatcodestack):
	Skip unused static funcs and vars (via #if 0 ... #endif).

	* lua/luainit.c (lua_initialize): Replace string constant
	arguments of putenv() by non-const static string variables.

	* utils/avl.c (avl_delete): Don't reuse const input param for
	non-const return value.

	* utils/synctex.c: Rename synctexchar => synctex_char and
	synctexnode => synctex_node as declared in utils/synctex.h.

2010-01-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* luatangle.ch: Declare web_name, chg_name, pascal_name, and
	pool_name as const_c_string.

	* lua/lkpselib.c (readable_file, lua_kpathsea_readable_file):
	Drop non-const cast of {kpse,kpathsea}_readable_file() result.

2010-01-03  Karl Berry  <karl@tug.org>

	* luatex.ch: propagate "executed safely" wording change.

2009-12-12  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/luatex.am: Replace the obsolete $(mkdir_p) by $(MKDIR_P).

2009-12-07  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* lua/loslibext.c (do_mkdtemp): Declare as static and skip
	compilation when not used.

2009-12-06  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pdf/pagetree.c, utils/utils.c: Drop #ifdef HAVE_ASPRINTF and
	#include <stdio.h>.

2009-12-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* utils/synctex.c: Remove (already commented) extern declaration
	of gettexstring().

2009-10-24  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* luatex.web: Use kpse_{in,out}_name_ok(), now in Kpathsea,
	instead of open{in,out}nameok().
	* luatex.defines: Replace open_{in,out}_name_ok by
	kpse_{in,out}_name_ok.

2009-10-07  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* image/pdftoepdf.cc: Adapt to poppler-0.12.

	* FIXME: image/epdf.h, utils/utils.h: Multiple prototypes for
	pdftex_fail, pdftex_warn, and probably others.

2009-09-06  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/luatex.am: Adapt to new makecpool with one argument.

2009-09-06  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* lua/luainit.c (dump_name, c_job_name, last_source_name,
	last_lineno): Drop extern declarations (now in texmfmp.h).
	(user_progname): Constify string.
	(lua_initialize): Avoid modifying the const_string 'dump_name'.

2009-09-06  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* utils/synctex.c (synctex_suffix*): Constify strings.

2009-09-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* luatangle.ch: Eliminate the unused |end_of_TANGLE| label.

2009-09-02  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/libzzip.am: Enable compiler warnings.
	* am/liblua51.am, am/libluatex.am, am/luafontforge.am,
	am/luamisc.am, am/luasocket.am, am/luatex.am: Prepare compiler
	warnings.

2009-08-20  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* lua/lstatslib.c, lua/luainit.c: Drop extern decl of ptexbanner.
	* utils/utils.c: #include <kpathsea/version.h> and drop extern
	decls.

2009-08-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* lua/liolib.c (io_popen): Changed Arg1 of shell_cmd_is_allowed().
	* lua/loslibext.c (os_exec, os_spawn, os_execute): Same.

2009-08-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/luatangle.am: Adapt to web2c-sh.
	* am/luatex.am (luatex_tangle): Use tangle-sh.
	Adapt to tangle-sh and web2c-sh.

2009-06-26  Taco Hoekwater <taco@luatex.org>

        * lua51/lcoco.c, lua51/lcoco.h: disable the coco patch on
	linux+ppc because it crashes the executable.

2009-06-25  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* font/writet1.c, image/epdf.[ch], utils/avlstuff.c:
	remove #include <kpathsea/c-proto.h>.
 	
2009-06-25  Taco Hoekwater <taco@luatex.org>
 	
	* luatexdir: import of luatex release 0.40.6.

2009-06-23  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* lua/luatex.c: drop P?C, P?H, use ANSI C function declarations.

2009-06-23  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* font/writet1.c, image/epdf.c, utils/avlstuff.c:
	#include <stdarg.h>, not <kpathsea/c-vararg.h>.

2009-06-09  Taco Hoekwater <taco@luatex.org>
 	
	* luatexdir: import of luatex release 0.40.4.

2009-06-08  Taco Hoekwater <taco@luatex.org>
 	
	* luatexdir: import of luatex release 0.40.3.
	This affects many files in subdirectories.

2009-06-04  Taco Hoekwater <taco@luatex.org>
	
	* luatexdir: "avoid variable declaration after statement" patch
	from Vladimir Volovich

2009-06-03  Taco Hoekwater <taco@luatex.org>
 	
	* luatexdir/luafontloader/fontforge/fontforge/namelist.c (psaltnames): add
        a dimension specifier, for AIX portability.

2009-06-03  Taco Hoekwater <taco@luatex.org>
 	
	* luatexdir: import of luatex release 0.40.2.
	This affects many files in subdirectories.

2009-05-30  Peter Breitenlohner <peb@mppmu.mpg.de>

	* am/luatex.am (install-exec-hook, uninstall-hook):
	avoid dangling symlinks.

2009-05-25  Peter Breitenlohner <peb@mppmu.mpg.de>

	* am/luatex.am (uninstall-hook): new target to uninstall texlua[c]
	symlinks.

2009-05-25  Karl Berry  <karl@tug.org>

	* am/luatex.am (install-exec-hook): new target to install texlua[c]
	symlinks.

2009-05-08  Taco Hoekwater <taco@luatex.org>
 	
	* luatexdir: import of the current state of luatex, 0.40.1.
	This affects many files in subdirectories.

2009-05-05  Peter Breitenlohner <peb@mppmu.mpg.de>

	* image/pdftoepdf.cc, utils/utils.c: adapt for poppler.

	patches from Norbert Preinig <preining@logic.at>

2009-04-27  Taco Hoekwater <taco@luatex.org>

	* pdf/pdfpage.c: rename exp10 to exp10_arr to solve a 
	conflict with cygwin's <math.h>.
	* font/texfont.h: add #undef quad before definition to suppress a
	compiler warning under cygwin. 

2009-04-22  Taco Hoekwater <taco@luatex.org>

	* luatexdir: import of the current state of luatex, 0.40.0. 
	This affects many files in subdirectories.

2009-04-16  Taco Hoekwater <taco@luatex.org>

	* image/image.h: remove the trick that forced a local png.h

2009-04-16  Taco Hoekwater <taco@luatex.org>

	* luatexdir: import of the current state of luatex, 0.39.0. 
	This affects many files in subdirectories.

2009-03-27  Peter Breitenlohner <peb@mppmu.mpg.de>

	* am/luatex.am (luatex_c_h): avoid to split the C code
	(from Taco).

2009-03-27  Taco Hoekwater <taco@luatex.org>

	* luatexdir: import of the current state of luatex, 0.37.0. 
	This affects many files in subdirectories.

2009-03-05  Peter Breitenlohner <peb@mppmu.mpg.de>

	* image/pdftoepdf.cc: Uninclude <config.h>, included later
	by "epdf.h".

2009-03-03  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* luatangle.ch: use kpse_open_file to locate input files,
	in order to respect WEBINPUTS (ported from tangle.ch).