comparison src/ChangeLog @ 4969:cbe181529c34

Automatic merge
author Ben Wing <ben@xemacs.org>
date Wed, 03 Feb 2010 21:46:21 -0600
parents 4d35e52790f8 c90385e49231
children 5c89ceb69819
comparison
equal deleted inserted replaced
4968:4d35e52790f8 4969:cbe181529c34
126 isn't locked. (This is used in redisplay to check for problems 126 isn't locked. (This is used in redisplay to check for problems
127 with reentrancy.) 127 with reentrancy.)
128 128
129 * lrecord.h: Move XD_DYNARR_DESC to lisp.h, grouping with the dynarr code. 129 * lrecord.h: Move XD_DYNARR_DESC to lisp.h, grouping with the dynarr code.
130 130
131 2010-02-03 Jerry James <james@xemacs.org>
132
133 * s/mach-bsd4-3.h: Add historical copyright and license information,
134 unearthed by Ben Wing.
135
136 2010-02-03 Ben Wing <ben@xemacs.org>
137
138 * bytecode.c:
139 Fix minor compile problem.
140
141 2010-02-03 Ben Wing <ben@xemacs.org>
142
143 * symbols.c (defsymbol_massage_name_1):
144 * symbols.c (defsymbol_nodump):
145 * symbols.c (defsymbol):
146 * symbols.c (defkeyword):
147 * symeval.h (DEFVAR_SYMVAL_FWD_OBJECT):
148 Temporarily back out staticpro-related changes in symbols.c and
149 symeval.h to fix compile problems, will put back when `latest-fix'
150 workspace gets merged in.
151
152 2010-02-03 Ben Wing <ben@xemacs.org>
153
154 * alloc.c (Fmake_byte_code):
155 * lread.c:
156 * lread.c (readevalloop):
157 * lread.c (Fread):
158 * lread.c (Fread_from_string):
159 * lread.c (read_list_conser):
160 * lread.c (read_list):
161 * lread.c (vars_of_lread):
162 Remove the old kludgy stuff bracketed by `#ifdef
163 COMPILED_FUNCTION_ANNOTATION_HACK_OLD_WAY'.
164
165 2010-02-03 Ben Wing <ben@xemacs.org>
166
167 * alloc.c (Fmake_byte_code):
168 * bytecode.h:
169 * lisp.h:
170 * lread.c:
171 * lread.c (readevalloop):
172 * lread.c (Fread):
173 * lread.c (Fread_from_string):
174 * lread.c (read_list_conser):
175 * lread.c (read_list):
176 * lread.c (vars_of_lread):
177 * symbols.c:
178 * symbols.c (Fdefine_function):
179 Turn on the "compiled-function annotation hack". Implement it
180 properly by hooking into Fdefalias(). Note in the docstring to
181 `defalias' that we do this. Remove some old broken code and
182 change code that implemented the old kludgy way of hooking into
183 the Lisp reader into bracketed by `#ifdef
184 COMPILED_FUNCTION_ANNOTATION_HACK_OLD_WAY', which is not enabled.
185
186 Also enable byte-code metering when DEBUG_XEMACS -- this is a form
187 of profiling for computing histograms of which sequences of two
188 bytecodes are used most often.
189
190 * bytecode-ops.h:
191 * bytecode-ops.h (OPCODE):
192 New file. Extract out all the opcodes and declare them using
193 OPCODE(), a bit like frame slots and such. This way the file can
194 be included multiple times if necessary to iterate multiple times
195 over the byte opcodes.
196
197 * bytecode.c:
198 * bytecode.c (NUM_REMEMBERED_BYTE_OPS):
199 * bytecode.c (OPCODE):
200 * bytecode.c (assert_failed_with_remembered_ops):
201 * bytecode.c (READ_UINT_2):
202 * bytecode.c (READ_INT_1):
203 * bytecode.c (READ_INT_2):
204 * bytecode.c (PEEK_INT_1):
205 * bytecode.c (PEEK_INT_2):
206 * bytecode.c (JUMP_RELATIVE):
207 * bytecode.c (JUMP_NEXT):
208 * bytecode.c (PUSH):
209 * bytecode.c (POP_WITH_MULTIPLE_VALUES):
210 * bytecode.c (DISCARD):
211 * bytecode.c (UNUSED):
212 * bytecode.c (optimize_byte_code):
213 * bytecode.c (optimize_compiled_function):
214 * bytecode.c (Fbyte_code):
215 * bytecode.c (vars_of_bytecode):
216 * bytecode.c (init_opcode_table_multi_op):
217 * bytecode.c (reinit_vars_of_bytecode):
218 * emacs.c (main_1):
219 * eval.c (funcall_compiled_function):
220 * symsinit.h:
221 Any time we change either the instruction pointer or the stack
222 pointer, assert that we're going to move it to a valid location.
223 This should catch failures right when they occur rather than
224 sometime later. This requires that we pass in another couple of
225 parameters into some functions (only with error-checking enabled,
226 see below).
227
228 Also keep track, using a circular queue, of the last 100 byte
229 opcodes seen, and when we hit an assert failure during byte-code
230 execution, output the contents of the queue in a nice readable
231 fashion. This requires that bytecode-ops.h be included a second
232 time so that a table mapping opcodes to the name of their operation
233 can be constructed. This table is constructed in new function
234 reinit_vars_of_bytecode().
235
236 Everything in the last two paras happens only when
237 ERROR_CHECK_BYTE_CODE.
238
239 Add some longish comments describing how the arrays that hold the
240 stack and instructions, and the pointers used to access them, work.
241
242 * gc.c:
243 Import some code from my `latest-fix' workspace to mark the
244 staticpro's in order from lowest to highest, rather than highest to
245 lowest, so it's easier to debug when something goes wrong.
246
247 * lisp.h (abort_with_message): Renamed from abort_with_msg().
248
249 * symbols.c (defsymbol_massage_name_1):
250 * symbols.c (defsymbol_nodump):
251 * symbols.c (defsymbol):
252 * symbols.c (defkeyword):
253 * symeval.h (DEFVAR_SYMVAL_FWD_OBJECT):
254 Make the various calls to staticpro() instead call staticpro_1(),
255 passing in the name of the C var being staticpro'ed, so that it
256 shows up in staticpro_names. Otherwise staticpro_names just has
257 1000+ copies of the word `location'.
258
259 2010-02-02 Ben Wing <ben@xemacs.org>
260
261 * bytecode.c (execute_rare_opcode):
262 * lisp.h (abort_with_msg): New.
263 When aborting due to unknown opcode, output more descriptive msg.
264
265 2010-02-01 Vin Shelton <acs@xemacs.org>
266
267 * intl-encap-win32.c: Added description of override keyword.
268 Fix 2nd arg to CreateMDIWindowW.
269
270 * intl-auto-encap-win32.c:
271 * intl-auto-encap-win32.h: Fix 2nd arg to qxeCreateMDIWindow.
272
131 2010-02-01 Aidan Kehoe <kehoea@parhasard.net> 273 2010-02-01 Aidan Kehoe <kehoea@parhasard.net>
132 274
133 * fns.c (internal_equalp): 275 * fns.c (internal_equalp):
134 Use bytecode_arithcompare, which takes two args, instead of 276 Use bytecode_arithcompare, which takes two args, instead of
135 passing a stack pointer to Feqlsign. 277 passing a stack pointer to Feqlsign.
141 (Fcanoncase): New function, used for case-insensitive comparison. 283 (Fcanoncase): New function, used for case-insensitive comparison.
142 * lisp.h: 284 * lisp.h:
143 Make Fcanoncase, bytecode_arithcompare visible here. 285 Make Fcanoncase, bytecode_arithcompare visible here.
144 * bytecode.c (bytecode_arithcompare): 286 * bytecode.c (bytecode_arithcompare):
145 Make this visible to other files. 287 Make this visible to other files.
288
289 2010-02-03 Ben Wing <ben@xemacs.org>
290
291 * Makefile.in.in:
292 * Makefile.in.in (x_objs):
293 * Makefile.in.in (gtk_gui_objs):
294 * console-xlike-inc.h:
295 * depend:
296 * device-x.c:
297 * emacs.c:
298 * gccache-gtk.h:
299 * gccache-gtk.h (gc_cache_lookup):
300 * gccache-x.c:
301 * gccache-x.c (GCCACHE_HASH):
302 * gccache-x.h:
303 * toolbar-gtk.c:
304 * toolbar-gtk.c (gtk_initialize_frame_toolbars):
305 * toolbar-x.c:
306 * toolbar-x.c (x_initialize_frame_toolbars):
307 * toolbar-xlike.c:
308 * toolbar-xlike.c (xlike_draw_blank_toolbar_button):
309 * toolbar-xlike.c (xlike_output_toolbar_button):
310 * toolbar-xlike.c (xlike_get_button_size):
311 * toolbar-xlike.c (XLIKE_OUTPUT_BUTTONS_LOOP):
312 * toolbar-xlike.c (xlike_output_toolbar):
313 * toolbar-xlike.c (xlike_clear_toolbar):
314 * toolbar-xlike.c (xlike_output_frame_toolbars):
315 * toolbar-xlike.c (xlike_clear_frame_toolbars):
316 * toolbar-xlike.c (xlike_redraw_exposed_toolbar):
317 * toolbar-xlike.c (xlike_redraw_exposed_toolbars):
318 * toolbar-xlike.c (xlike_redraw_frame_toolbars):
319 * toolbar-xlike.h:
320 * toolbar-xlike.h (xlike_clear_frame_toolbars):
321 Rename some files to make them consistent with general naming rules:
322
323 xgccache.c -> gccache-x.c
324 xgccache.h -> gccache-x.h
325 toolbar-common.c -> toolbar-xlike.c
326 toolbar-common.h -> toolbar-xlike.h
327
328 Fix include-file references. Also change the names of functions
329 in now-named toolbar-xlike.c to be xlike_foo() instead of common_foo().
330
331 Add a longish comment in console-xlike-inc.h describing the "xlike"
332 system, how it works and what the various files are used for.
333
334
335 2010-02-01 Ben Wing <ben@xemacs.org>
336
337 * Makefile.in.in:
338 * compiler.h:
339 * config.h.in:
340 * console-x-impl.h:
341 * console-x-impl.h (struct x_frame):
342 * console-x-impl.h (FRAME_X_TOTALLY_VISIBLE_P):
343 * console-x.h:
344 * console-xlike-inc.h:
345 * emacs.c (main_1):
346 * faces.c (complex_vars_of_faces):
347 * font-mgr.h:
348 * frame-x.c (x_delete_frame):
349 * frame-x.c (x_update_frame_external_traits):
350 * glyphs-x.c (update_widget_face):
351 * inline.c:
352 * objects-x-impl.h:
353 * objects-x-impl.h (struct x_color_instance_data):
354 * objects-x-impl.h (struct x_font_instance_data):
355 * objects-x.c:
356 * objects-x.c (x_initialize_color_instance):
357 * objects-x.c (x_initialize_font_instance):
358 * objects-x.c (x_print_font_instance):
359 * objects-x.c (x_finalize_font_instance):
360 * objects-x.c (x_font_instance_truename):
361 * objects-x.c (vars_of_objects_x):
362 * objects-x.h:
363 USE_XFT* -> HAVE_XFT*. But in objects-xlike-inc.c and
364 redisplay-xlike-inc.c, continue to use USE_XFT, and define
365 it appropriately in console-xlike-inc.h when both HAVE_XFT
366 and THIS_IS_X -- even if HAVE_XFT, we don't want to enable
367 XFT code when included in a *-gtk.c file.
368
146 369
147 2010-02-01 Ben Wing <ben@xemacs.org> 370 2010-02-01 Ben Wing <ben@xemacs.org>
148 371
149 * alloc.c (common_init_alloc_early): 372 * alloc.c (common_init_alloc_early):
150 Fix compiler breakage. 373 Fix compiler breakage.
401 * keymap.c (MARKED_SLOT): 624 * keymap.c (MARKED_SLOT):
402 * keymap.c (keymap_equal): 625 * keymap.c (keymap_equal):
403 * keymap.c (keymap_hash): 626 * keymap.c (keymap_hash):
404 Implement. 627 Implement.
405 628
629 2010-02-01 Ben Wing <ben@xemacs.org>
630
631 * syntax.c:
632 * syntax.c (scan_lists):
633 * syntax.c (syms_of_syntax):
634 Declare `scan-error' as a type of `syntax-error'. In `scan-lists'
635 et al., don't signal a syntax error but instead a `scan-error', and
636 pass a couple of integer arguments, for GNU compatibility. Fixes
637 problems with typing double-quote in texinfo.el.
638
406 2010-01-31 Aidan Kehoe <kehoea@parhasard.net> 639 2010-01-31 Aidan Kehoe <kehoea@parhasard.net>
407 640
408 * symbols.c (Fspecial_operator_p, syms_of_symbols): 641 * symbols.c (Fspecial_operator_p, syms_of_symbols):
409 * eval.c (print_subr, Finteractive_p, Ffuncall) 642 * eval.c (print_subr, Finteractive_p, Ffuncall)
410 (Ffunction_min_args, Ffunction_max_args, vars_of_eval): 643 (Ffunction_min_args, Ffunction_max_args, vars_of_eval):