comparison src/ChangeLog @ 424:11054d720c21 r21-2-20

Import from CVS: tag r21-2-20
author cvs
date Mon, 13 Aug 2007 11:26:11 +0200
parents 95016f13131a
children
comparison
equal deleted inserted replaced
423:28d9c139be4c 424:11054d720c21
1 1999-11-10 XEmacs Build Bot <builds@cvs.xemacs.org>
2
3 * XEmacs 21.2.20 is released
4
5 1999-11-04 Martin Buchholz <martin@xemacs.org>
6
7 * mule-ccl.c (ccl_driver): Warning suppression
8
9 1999-11-01 SL Baur <steve@miho.m17n.org>
10
11 * emacs.c (main_1): Guard call to reinit_vars_of_debug when not
12 building a debugged XEmacs.
13
14 1999-10-28 Andreas Jaeger <aj@suse.de>
15
16 * src/emacs.c (main_1): Don't set the malloc hooks if using
17 DOUG_LEA_MALLOC.
18
19 1999-10-30 Olivier Galibert <galibert@pobox.com>
20
21 * alloc.c (pdump_dump_rtables): Don't forget to dump the last
22 registered type.
23 (pdump): Ditto.
24
25 1999-10-25 Olivier Galibert <galibert@pobox.com>
26
27 * emacs.c (main_1): Call reinit_vars_of_scrollbar_x.
28
29 * symsinit.h: Declare reinit_vars_of_scrollbar_x.
30
31 1999-10-25 Martin Buchholz <martin@xemacs.org>
32
33 * redisplay.h (CLASS_RESET_CHANGED_FLAGS):
34 (GLOBAL_RESET_CHANGED_FLAGS):
35 (CLASS_REDISPLAY_FLAGS_CHANGEDP):
36 (RESET_CHANGED_SET_FLAGS):
37 Fix C++ compile errors/warnings.
38 These macros were just a tad too clever.
39
40 * process-unix.c (unix_open_network_stream):
41 * objects-x.c (allocate_nearest_color):
42 * mule-charset.c (vars_of_mule_charset):
43 * fileio.c (Ffile_truename):
44 * file-coding.c (vars_of_file_coding):
45 Fix compile errors/warnings.
46
47 * alloc.c (xstrdup): Use fact that memcpy returns its first arg.
48 (allocate_lisp_storage): Simplify.
49
50 1999-10-24 Olivier Galibert <galibert@pobox.com>
51
52 * conslots.h: Add defines with first and last slot names.
53 * bufslots.h: Add defines with first and last slot names.
54
55 * buffer.c (common_init_complex_vars_of_buffer): Renamed from
56 reinit_complex_vars_of_buffer
57 (reinit_complex_vars_of_buffer): Reset the slots to the dumped
58 value.
59 (complex_vars_of_buffer): Dump the slots values.
60
61 * console.c (common_init_complex_vars_of_console): Renamed from
62 reinit_complex_vars_of_console
63 (reinit_complex_vars_of_console): Reset the slots to the dumped
64 value.
65 (complex_vars_of_console): Dump the slots values.
66
67 * alloc.c: Rename reloc_table to pdump_reloc_table, rt_list to
68 pdump_rt_list and move them at the beginning of the file.
69 (gc_sweep): Unmark pdumped objects after the sweep phase.
70 (pdump_dump_rtables): Change a bare 256 to
71 last_lrecord_type_index_assigned. Add a separator between the
72 adresses or lrecords and the ones of C structs in the dump file.
73 (pdump_load): Cope with the new separator and the renamings. Stop
74 looking for the hash tables list after it has been found (duh!).
75
76 1999-10-24 Robert Bihlmeyer <robbe@orcus.priv.at>
77
78 * sound.c: support HAVE_ESD_SOUND
79
80 * miscplay.c:
81 * miscplay.h:
82 * linuxplay.c: Move large part of linuxplay to generalized file
83 miscplay. Make it platform independent.
84
85 * esd.c: New file
86
87 1999-10-24 Adrian Aichner <aichner@ecf.teradyne.com>
88
89 * lisp.h (Dynarr_declare): Fix boo-boo.
90
91 1999-10-24 Olivier Galibert <galibert@pobox.com>
92
93 * process-unix.c (allocate_pty): Fix HAVE_GETPT.
94 * process.h: Ditto.
95
96 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
97
98 * redisplay.c (start_with_line_at_pixpos): Remove assert(cur_elt
99 >=0). Handle the cur_elt == 0 case.
100
101 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
102
103 * unexelf.c: Merge Martin's c++ fixes back in
104
105 1999-10-20 Jan Vroonhof <vroonhof@math.ethz.ch>
106
107 * unexelf.c (unexec): Only copy the global offset
108 table from memory on sgi machines.
109
110 1999-08-13 Alexandre Oliva <oliva@dcc.unicamp.br>, Vin Shelton <acs@xemacs.org>
111
112 * unexelf.c: Enable GNU/Linux/alpha to build with gcc 2.95 by
113 adding support for an sbss section. Get IRIX 5.2 to build using
114 unexelf.c.
115
116 * m/iris4d.h: Use unexelf.o for unexec.
117
118 * m/iris5d.h: Use unexelf.o for unexec.
119
120 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
121
122 * unexelf.c: Revert to 21.1 version
123
124 1999-08-28 Jan Vroonhof <vroonhof@math.ethz.ch>
125
126 * window.c (Fwindow_truncated_p): New function.
127
128 1999-08-25 Jonathan Marten <jonathan.marten@uk.sun.com>
129
130 * window.c (window_truncation_on): Always return 0 for minibuffer
131 windows, to enable auto scrolling.
132
133 1999-10-24 Neal Becker <nbecker@fred.net>
134 * process.h: Unix98 PTY support
135
136 1999-10-17 Jan Vroonhof <vroonhof@math.ethz.ch>
137
138 * fileio.c (Ffile_truename): Do proper mule decoding on
139 the argument to xrealpath()
140
141 1999-08-19 Stephen Tse <stephent@sfu.ca>
142
143 * process-unix.c (unix_open_network_stream): Add udp network
144 support; rename variable Qtcpip to Qtcp, parameter family to
145 protocol for consistency with Qudp.
146
147 * process-nt.c (nt_open_network_stream): Rename variable Qtcpip to
148 Qtcp, parameter family to protocol for consistency with Qudp.
149
150 * process.c (global_variables): Add a new variable Qudp for udp
151 network support; rename variable Qtcpip to Qtcp for consistency
152 with Qudp.
153 (Fopen_network_stream_internal): Rename parameter FAMILY to
154 PROTOCOL for consistency; fix a minor typo and add an explanation
155 in docstring for udp programming.
156 (Fopen_multicast_group_internal): Fix a minor typo in docstring.
157 (syms_of_process): Add a new variable Qudp for udp network
158 support; rename variable Qtcpip to Qtcp for consistency with Qudp.
159
160 * process.h (extern_variables): Add a new variable Qudp for udp
161 network support; rename variable Qtcpip to Qtcp for consistency
162 with Qudp.
163
164 * procimpl.h: Add a new variable Qudp for udp network support;
165 rename variable Qtcpip to Qtcp for consistency with Qudp.
166 (struct process_methods): Rename parameter family to protocol.
167
168
169 1999-10-24 Olivier Galibert <galibert@pobox.com>
170
171 * alloc.c (pdump_make_hash): Divide pointers by 8 for a better hash.
172
173 1999-10-23 Olivier Galibert <galibert@pobox.com>
174
175 * lrecord.h (struct lrecord_header): Removed dumped flags.
176
177 * dynarr.c: Use DUMPEDP instead of dumped flag.
178
179 * lisp.h (DUMPEDP): Added. Removed dumped flag from dynarr.
180
181 * alloc.c: Removed hash_next linked list pointer.
182
183 * *.c *.h: Removed markobj and mark_object parameters, removed GC_
184 and XGC macros.
185
186 1999-10-14 Andy Piper <andy@xemacs.org>
187
188 * redisplay-x.c (x_output_shadows): fix dodgy maths for border
189 calculations.
190
191 * gutter.c (output_gutter): be more accurate about the area to be
192 cleared since X seems to manage to do the clear after drawing the
193 border.
194
195 * redisplay.h (RESET_CHANGED_FLAGS): new macro for setting
196 redisplay flags as a group.
197 (RESET_CHANGED_SET_FLAGS): ditto.
198 (CLASS_RESET_CHANGED_FLAGS): ditto.
199 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
200 (REDISPLAY_FLAGS_CHANGEDP): new macro for testing redisplay flags
201 as a group.
202 (CLASS_REDISPLAY_FLAGS_CHANGEDP): ditto.
203 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
204
205 * redisplay.c (redisplay_frame): use CLASS_RESET_CHANGED_FLAGS
206 instead of setting flags individually.
207 (redisplay_device): ditto CLASS_REDISPLAY_FLAGS_CHANGEDP.
208 (redisplay_device): ditto.
209 (redisplay_device): ditto CLASS_RESET_CHANGED_FLAGS.
210 (redisplay_without_hooks): ditto GLOBAL_REDISPLAY_FLAGS_CHANGEDP.
211 (redisplay_without_hooks): ditto CLASS_REDISPLAY_FLAGS_CHANGEDP.
212 (redisplay_without_hooks): ditto.
213 (redisplay_without_hooks): ditto GLOBAL_RESET_CHANGED_FLAGS.
214
215 * redisplay-x.c (x_output_string): unmap subwindows in the area.
216 (x_output_blank): ditto.
217
218 * redisplay-output.c (redisplay_output_display_block): don't unmap
219 subwindows in case layout optimization can avoid it.
220 (redisplay_output_subwindow): unmap subwindows in the area.
221 (redisplay_output_layout): optimize the output of layouts - only
222 output glyphs that have changed if nothing else of redisplay
223 significance has occurred.
224 (redisplay_output_pixmap): change args to
225 redisplay_clear_clipped_region.
226 (redisplay_clear_clipped_region): allow the clipped region to be
227 cleared of all subwindows except the one passed in.
228
229 * redisplay-msw.c (mswindows_output_blank): unmap subwindows in
230 the area.
231 (mswindows_output_cursor): ditto.
232 (mswindows_output_string): ditto.
233
234 * gutter.c (calculate_gutter_size): if the window buffer is nil
235 then don't continue.
236 (update_frame_gutters): be more lenient about when we actually
237 update the gutter. Layout optimization makes this
238 non-costly. Cache redisplay flags that we want to temporarily
239 ignore.
240
241 * glyphs.c (Fglyph_animated_timeout_handler): handle image
242 specific timeouts rather than iterating over the instance cache.
243 (glyph_animated_timeout_mapper): deleted.
244 (add_glyph_animated_timeout): use a weak list to hold onto the
245 image so that it can be GC'ed.
246 (disable_glyph_animated_timeout): disable a specific timeout.
247 (vars_of_glyphs): disable-animated-pixmaps is a new boolean for
248 controlling whether pixmaps are animated or not.
249
250 * glyphs-msw.c (mswindows_finalize_image_instance): make sure the
251 image timeout gets disabled when the image gets freed.
252
253 * glyphs-eimage.c (gif_instantiate): remove meaningless
254 comment. Cope with timeouts specified in the gif extension block.
255
256 * event-msw.c (vars_of_event_mswindows): new variable
257 mswindows-meta-activates-menu.
258 (mswindows_wnd_proc): only goto defproc with VK_MENU if the user
259 wants it.
260
261 * glyphs-x.c (x_finalize_image_instance): delete mask first so
262 that we can compare with image.
263
264 1999-10-14 Jonathan Harris <jhar@tardis.ed.ac.uk>
265
266 * event-msw.c (mswindows_key_to_emacs_keysym):
267 Recognise keypad keys as different from normal keys.
268
269 1999-10-14 Didier Verna <didier@xemacs.org>
270
271 * glyphs-x.c (x_finalize_image_instance): avoid freeing null pixmaps.
272
273 1999-10-10 Olivier Galibert <galibert@pobox.com>
274
275 * symbols.c (init_symbols_once_early): dump Vquit_flag.
276
277 * symsinit.h: Updated.
278
279 * ntproc.c (vars_of_ntproc): Use defsymbol.
280
281 * emacs.c (main_1): Updated reinit calls.
282
283 * lisp.h: Removed Fpurecopy and pure_put declarations.
284 * fns.c: Removed pure_put.
285
286 * eval.c (Fdefvar): pure_put -> Fput
287 (Fdefconst): Ditto.
288 * frame-x.c (init_x_prop_symbols): Ditto.
289 * symbols.c (deferror): Ditto.
290
291 * alloc.c (Fmake_byte_code): Remove Fpurecopy call.
292 * buffer.c (vars_of_buffer): Ditto.
293 * bytecode.c (Ffetch_bytecode): Ditto.
294 (optimize_compiled_function): Ditto.
295 * emacs.c (vars_of_emacs): Ditto.
296 * emodules.c (vars_of_module): Ditto.
297 * eval.c (define_function): Ditto.
298 (Fautoload): Ditto.
299 * frame.c (vars_of_frame): Ditto.
300 * intl.c (Fset_domain): Ditto.
301 * lread.c (load_force_doc_string_unwind): Ditto.
302 * menubar.c (vars_of_menubar): Ditto.
303 * minibuf.c (reinit_complex_vars_of_minibuf): Ditto.
304
305 * debug.c (reinit_vars_of_debug): Extracted.
306 * device-x.c (reinit_vars_of_device_x): Ditto.
307 * emodules.c (reinit_vars_of_module): Ditto.
308 * font-lock.c (reinit_vars_of_font_lock): Ditto.
309 * glyphs-widget.c (reinit_vars_of_glyphs_widget): Ditto.
310 * glyphs.c (reinit_vars_of_glyphs): Ditto.
311 * gui-x.c (reinit_vars_of_gui_x): Ditto.
312 * insdel.c (reinit_vars_of_insdel): Ditto.
313 * menubar-x.c (reinit_vars_of_menubar_x): Ditto.
314 * minibuf.c (reinit_complex_vars_of_minibuf): Ditto.
315 * mule-wnnfns.c (reinit_vars_of_mule_wnn): Ditto.
316 * print.c (reinit_vars_of_print): Ditto.
317 * redisplay.c (reinit_vars_of_redisplay): Ditto.
318 * select-x.c (reinit_vars_of_xselect): Ditto.
319 * undo.c (reinit_vars_of_undo): Ditto.
320
321 1999-10-10 Olivier Galibert <galibert@pobox.com>
322
323 * symsinit.h: Updated declarations, see other ChangeLog entries.
324
325 * redisplay.c (init_redisplay): Ensure proper reinitialisation.
326
327 * lrecord.h (XD_DYNARR_DESC): Introduce XD_INT_RESET and use it.
328
329 * glyphs.c: Add the ii_keyword_entry and related descriptions.
330 Fix the image_instantiator_methods one.
331
332 * file-coding.c: Plonk all data that needs to be dumped in a
333 dynamically allocated structure.
334
335 * extents.c (reinit_vars_of_extents): Extracted from
336 vars_of_extents.
337
338 * event-stream.c (vars_of_event_stream): Don't staticpro when
339 pdump_wire is enough.
340
341 * event-msw.c (reinit_vars_of_event_mswindows): Extracted from
342 vars_of_event_mswindows.
343
344 * event-Xt.c (reinit_vars_of_event_Xt): Extracted from
345 vars_of_event_Xt.
346
347 * eval.c (vars_of_eval): Don't staticpro when pdump_wire is enough.
348
349 * emacs.c (main_1): Added some reinit calls.
350
351 * device-x.c (reinit_console_type_create_device_x): Extracted from
352 console_type_create_device_x.
353
354 * console.h: Declare the console_type_entry_dynarr description.
355
356 * console.c: Unstatic the console_type_entry_dynarr description.
357
358 * alloc.c: Removed some dubious comments. Handle XD_INT_RESET.
359
360 1999-10-07 Olivier Galibert <galibert@pobox.com>
361
362 * symsinit.h: Updated declarations, see other ChangeLog entries.
363
364 * minibuf.c (reinit_complex_vars_of_minibuf): Extracted from
365 complex_vars_of_minibuf.
366
367 * lrecord.h: Removed XD_PARENT_INDIRECT (unused and
368 unimplemented), added XD_LO_LINK.
369
370 * lisp.h (pdump_wire_list): Add declaration.
371
372 * glyphs.h (INITIALIZE_DEVICE_IIFORMAT): Fix bug found by Andy.
373 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Fix stupid bug.
374 (REINITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Remove, useless once the
375 stupid bug fixed.
376
377 * glyphs.c (reinit_image_instantiator_format_create): Remove.
378
379 * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x):
380 Remove.
381
382 * glyphs-widget.c
383 (reinit_image_instantiator_format_create_glyphs_widget): Remove.
384
385 * glyphs-msw.c
386 (reinit_image_instantiator_format_create_glyphs_mswindows):
387 Remove.
388
389 * glyphs-eimage.c
390 (reinit_image_instantiator_format_create_glyphs_eimage): Remove.
391
392 * frame.c (Fmake_frame): Don't reset the face cache when using the
393 stream device.
394
395 * file-coding.c: Dumped the_codesys_prop_dynarr and added all
396 relevant descriptions.
397
398 * events.c (reinit_vars_of_events): Extracted from vars_of_events.
399
400 * eval.c: The subr is _not_ a lcrecord.
401
402 * emacs.c (main_1): Call vars_of_specifier early before any
403 specifier creation (e.g in vars_of_glyphs, at least). Remove the
404 useless reinit_image_instantiator_format*. Add
405 reinit_vars_of_events and reinit_complex_vars_of_minibuf. Add
406 calls to lstream_type_create* and process_type_create*.
407
408 * elhash.c: Dump Vall_weak_hash_tables correctly.
409
410 * data.c: Dump Vall_weak_lists correctly.
411
412 * console.c: Fix description.
413
414 * console-stream.c (init_console_stream): Do initializations
415 correctly in the pdump case.
416
417 * chartab.c: Fix description. Dump Vall_syntax_tables correctly.
418 (Fcopy_char_table): Link into Vall_syntax_tables.
419
420 * alloc.c (pdump_wire_list): Added.
421 (Fgarbage_collect): Fix loop in stats couting missing the last
422 lrecord type.
423 (pdump_register_sub): Added XD_LO_LINK.
424 (pdump_dump_data): Ditto. Fixed XD_LO_RESET_NIL forgttting the
425 counter.
426 (pdump_reloc_one): Ditto.
427 (pdump_scan_by_alignement): Use last_lrecord_type_index_assigned
428 instead of 256.
429 (pdump_dump_wired): Added lists.
430 (pdump): Use last_lrecord_type_index_assigned instead of 256.
431 Dump last_lrecord_type_index_assigned value. Fix minor bugs.
432
433 1999-10-07 Andy Piper <andy@xemacs.org>
434
435 * glyphs-msw.c (mswindows_finalize_image_instance): zero out
436 bitmap slices.
437
438 * glyphs-x.c (x_finalize_image_instance): fix FMW problem.
439
440 1999-10-06 Andy Piper <andy@xemacs.org>
441
442 * elhash.c (resize_hash_table): Correct reference to lrecord_header.
443
444 1999-10-06 Damon Lipparelli <lipp@primus.com>
445
446 * elhash.h: forward declare Lisp_Hash_Table.
447
448 1999-10-06 Andy Piper <andy@xemacs.org>
449
450 * glyphs.c (Fset_image_instance_property): mark glyphs as dirty
451 after setting an image instance property.
452
453 1999-10-05 Andy Piper <andy@xemacs.org>
454
455 * gutter.c (update_frame_gutters): output gutters if
456 windows_changed is set. This is the only way of catching changes
457 in selected window which obviously can affect the specifiers.
458
459 * redisplay.c: new state flags, subwindows_state_changed and
460 subwindows_state_changed set.
461 (redisplay_window): use them.
462 (redisplay_device): ditto.
463 (redisplay_without_hooks): ditto.
464 (redisplay_frame): ditto. Reset subwindow cachels if
465 subwindows_changed is set.
466 (redisplay_window): call mark_glyph_cachels_as_clean after
467 redisplaying.
468
469 * redisplay-x.c (x_output_x_pixmap): select correct
470 pixmap image for display depending on the currently selected
471 slice.
472
473 * redisplay-output.c (compare_runes): check dirtiness when
474 checking RUNE_DGLYPH runes.
475 (compare_display_blocks): relax invalidation of display blocks
476 since we can now detect whether individual glyphs have changed or
477 not.
478
479 * redisplay-msw.c (mswindows_output_dibitmap): select correct
480 bitmap image for display depending on the currently selected
481 slice.
482
483 * glyphs.h (struct Lisp_Image_Instance): add a dirty flag.
484 (IMAGE_INSTANCE_DIRTYP): new macro.
485 (XIMAGE_INSTANCE_DIRTYP): ditto.
486 (MARK_IMAGE_INSTANCE_CHANGED): ditto.
487 (GLYPH_DIRTYP): ditto.
488 (XGLYPH_DIRTYP): ditto.
489 (MARK_GLYPH_CHANGED): ditto.
490 (GLYPH_CACHEL_DIRTYP): ditto.
491 (struct glyph_cachel): add a dirty flag.
492
493 * glyphs.c (update_frame_subwindows): Don't update on
494 glyphs_changed.
495 (glyph_animated_timeout_mapper): new function. Map over the
496 instance cache lookinng for animated images to update.
497 (Fglyph_animated_timeout_handler): new function. Lisp callback for
498 handling animated image timeout events.
499 (disable_glyph_animated_timeout): new function. Add the animated
500 image timeout.
501 (disable_glyph_animated_timeout): new function. Remove the
502 animated image timeout.
503 (syms_of_glyphs): initialize Qglyph_animated_timeout_handler and
504 friends.
505 (vars_of_glyphs): initialize Vglyph_animated_ticker.
506 (image_instance_equal): add the currently displayed slice.
507 (image_instance_hash): ditto.
508 (allocate_glyph): initialize dirty flag.
509 (glyph_width): rename glyph -> glyph_or_image.
510 (glyph_height_internal): ditto.
511 (glyph_dirty_p): new function. Determine whether the image
512 instance in the domain and/or glyph is dirty.
513 (set_glyph_dirty_p): set the dirtiness.
514 (update_glyph_cachel_data): take dirtiness into account. Pass the
515 image instance we are interested in to glyph_width and friends.
516 (get_glyph_cachel_index): make non-static. Always call
517 update_glyph_cachel_data.
518 (mark_glyph_cachels_as_not_updated): meaningless formatting
519 change.
520 (mark_glyph_cachels_as_clean): new function. Clean dirtiness from
521 glyph cachels.
522
523 * glyphs-x.h (struct x_image_instance_data): change
524 pixmap to a list of pixmaps.
525 (IMAGE_INSTANCE_X_PIXMAP_SLICE): new macro.
526 (IMAGE_INSTANCE_X_PIXMAP_SLICES): ditto.
527 (XIMAGE_INSTANCE_X_PIXMAP_SLICE): ditto.
528 (XIMAGE_INSTANCE_X_PIXMAP_SLICES): ditto.
529
530 * glyphs-x.c (x_finalize_image_instance): make sure multi pixmap
531 images get deleted properly.
532 (init_image_instance_from_x_image): add slices paramater and use
533 it to initialize x_image_instance_data correctly.
534 (image_instance_add_x_image): new function. Add new pixmaps to our
535 set of instantiated pixmaps for an image. Used by animated images.
536 (x_init_image_instance_from_eimage): add a slices
537 parameter. Instantiate all images from the eimage.
538 (x_xpm_instantiate): update use of
539 init_image_instance_from_x_image.
540 (init_image_instance_from_xbm_inline): ditto.
541 (x_initialize_pixmap_image_instance): add slices paramater and use
542 it to allocate x_image_instance_data correctly.
543
544 * glyphs-msw.h (struct mswindows_image_instance_data): change
545 bitmap to a list of bitmaps.
546 (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): new macro.
547 (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto.
548 (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): ditto.
549 (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto.
550
551 * glyphs-msw.c (init_image_instance_from_dibitmap): add slices
552 paramater and use it to initialize mswindows_image_instance_data
553 correctly.
554 (image_instance_add_dibitmap): new function. Add new bitmaps to
555 our set of instantiated bitmaps for an image. Used by animated
556 images.
557 (mswindows_init_image_instance_from_eimage): add a slices
558 parameter. Instantiate all images from the eimage.
559 (mswindows_xpm_instantiate): update use of
560 init_image_instance_from_dibitmap.
561 (bmp_instantiate): ditto.
562 (init_image_instance_from_xbm_inline): ditto.
563 (mswindows_finalize_image_instance): make sure all the bitmap
564 slices get deleted.
565 (mswindows_initialize_dibitmap_image_instance): add slices
566 paramater and use it to allocate mswindows_image_instance_data
567 correctly.
568
569 * glyphs-eimage.c (jpeg_instantiate): give extra paramter to
570 init_image_instance_from_eimage.
571 (png_instantiate): ditto.
572 (tiff_instantiate): ditto.
573 (gif_instantiate): allocate bitmaps for all gif slices not just
574 the first one.
575
576 * device.h (struct device): add subwindows_state_changed flag.
577 (MARK_DEVICE_SUBWINDOWS_STATE_CHANGED): new macro.
578 (MARK_DEVICE_FRAMES_GLYPHS_CHANGED): ditto.
579
580 * console.h (struct console_methods): add a slice parameter to
581 init_image_instance_from_eimage_method.
582
583 * redisplay.c (create_string_text_block): Allow buffer to be nil
584 without crashing.
585
586 1999-09-24 Andy Piper <andy@xemacs.org>
587
588 * glyphs-x.c: only include gui-x.h if we are building with
589 widgets.
590
591 * gui-x.c (vars_of_gui_x): only set popup_up_p if we have popups.
592
593 1999-09-28 Lee Kindness <lkindness@csl.co.uk>
594
595 * objects-x.c (allocate_nearest_color): will return 0 (failure)
596 when the colormap is full and the color it has computed to be the
597 'nearest' has been allocated read/write.
598
599 1999-10-02 Olivier Galibert <galibert@pobox.com>
600
601 * search.c (reinit_vars_of_search): Reinit the search cache
602 correctly.
603
604 * elhash.h: Make the description visible. Declare
605 resize_hash_table.
606
607 * elhash.c (resize_hash_table): Extracted from enlarge_hash_table
608 to generalize the hash table reorganization.
609 (reorganize_hash_table): Added.
610 (enlarge_hash_table): Uses resize_has_table.
611
612 * casetab.c (complex_vars_of_casetab): staticpro the mule mirror
613 tables.
614
615 * alloc.c: Add correct management of blocks of structures.
616 Reorganize hash tables at reload since the hash values can change
617 with the pointers.
618
619 1999-10-01 Olivier Galibert <galibert@pobox.com>
620
621 * lisp.h: Add pdump_wire declaration
622
623 * elhash.c (vars_of_elhash): Wire Vall_weak_hash_tables.
624 * symbols.c (init_symbols_once_early): Wire Qnil and Qunbound.
625
626 * alloc.c (pdump_wire): Added..
627 (pdump_load): Support it.
628 (pdump): Support it
629
630 * glyphs-msw.c
631 (reinit_image_instantiator_format_create_glyphs_mswindows): Fix
632 macro calls.
633
634 1999-09-28 Olivier Galibert <galibert@pobox.com>
635
636 * symsinit.h: Added lots of prototypes.
637
638 * symeval.h: Added defsymbol_nodump declaration.
639
640 * symbols.c (find_symbol_value): Lame attempt at making the
641 startup go further.
642 (defsymbol_nodump): Added.
643
644 * mule-charset.c: Collapsed global lisp objects arrays in one
645 dumpable structure.
646
647 * lrecord.h: Added some flags.
648
649 * lisp.h: Added dumped flag to dynarrs. Added dumpstruct
650 declaration.
651
652 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): Don't
653 staticpro dynamic variables.
654
655 * glyphs.c (reinit_specifier_type_create_image): Added.
656 (image_instantiator_format_create): Dump image instantiator format
657 dynarr.
658 (reinit_image_instantiator_format_create): Added.
659
660 * emacs.c (main_1): Added reinits calls.
661
662 * dynarr.c: Protect dumped dynarrays from going berzek in free or
663 realloc.
664
665 * specifier.h (INITIALIZE_SPECIFIER_TYPE): Don't staticpro dynamic
666 variables.
667 * specifier.c (specifier_type_create): Dump the specifier type
668 dynarr.
669 (reinit_specifier_type_create): Added.
670 * console.h (INITIALIZE_CONSOLE_TYPE): Don't staticpro dynamic
671 variables.
672 * console.c (console_type_create): Dump the console type dynarr.
673 (reinit_vars_of_console): Extracted from vars_of_console.
674 (reinit_complex_vars_of_console): Extracted from
675 complex_vars_of_console
676 * window.c (reinit_vars_of_window): Extracted from vars_of_window.
677 * toolbar.c (reinit_specifier_type_create_toolbar): Added.
678 * search.c (reinit_vars_of_search): Extracted from vars_of_search.
679 * objects.c (reinit_specifier_type_create_objects): Added.
680 (reinit_vars_of_objects): Extracted from vars_of_objects.
681 * lstream.c (reinit_vars_of_lstream): Extracted from
682 vars_of_lstream.
683 * lread.c (reinit_vars_of_lread): Extracted from vars_of_lread.
684 * gutter.c (reinit_specifier_type_create_gutter): Added.
685 * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x):
686 Added.
687 * glyphs-widget.c
688 (reinit_image_instantiator_format_create_glyphs_widget): Added
689 * glyphs-msw.c
690 (reinit_image_instantiator_format_create_glyphs_mswindows): Added.
691 * glyphs-eimage.c
692 (reinit_image_instantiator_format_create_glyphs_eimage): Added.
693 * event-stream.c (reinit_vars_of_event_stream): Extracted from
694 vars_of_event_stream
695 * eval.c (reinit_vars_of_eval): Extracted from vars_of_eval.
696 * device.c (reinit_vars_of_device): Extracted from vars_of_device.
697 * console-x.c (reinit_console_type_create_x): Added.
698 * console-tty.c (reinit_console_type_create_tty): Added
699 * console-stream.c (reinit_console_type_create_stream): Added.
700 (init_console_stream): If PDUMP, always reinitialise basic
701 devices.
702 * console-msw.c (reinit_console_type_create_mswindows): Added.
703 * buffer.c (reinit_vars_of_buffer): Extracted from
704 init_vars_of_buffer.
705 (reinit_complex_vars_of_buffer): Extracted from
706 complex_vars_of_buffer
707
708 * alloc.c: Further with the portable dumping, the revenge.
709 (dumpstruct): Added.
710 (reinit_alloc_once_early): Extracted from init_alloc_once_early.
711
712 * specifier.c (sizeof_specifier): Correct size computation.
713 (make_specifier_internal): Ditto.
714
715 1999-09-27 Olivier Galibert <galibert@pobox.com>
716
717 * alloc.c: Further with the portable dumping.
718
719 1999-09-27 Martin Buchholz <martin@xemacs.org>
720
721 * glyphs-x.c (update_widget_face): Remove bogus cast
722
723 * data.c (sign_extent_lisp):
724 * data.c (check_int_range):
725 * data.c (Faref):
726 * data.c (Faset):
727 * data.c (number_char_or_marker_to_int):
728 * data.c (number_char_or_marker_to_double):
729 * data.c (Frem):
730 * data.c (Fmod):
731 * extents.c (print_extent_1):
732 * fns.c (print_bit_vector):
733 * fns.c (Flength):
734 * fns.c (Fsafe_length):
735 * fns.c (copy_list):
736 * fns.c (Fsubseq):
737 * fns.c (Felt):
738 * fns.c (Flast):
739 * fns.c (Fnbutlast):
740 * insdel.h:
741 * marker.c (print_marker):
742 * syntax.h:
743 * bytecode.c (bytecode_arithcompare):
744 * bytecode.c (bytecode_arithop):
745 * lisp.h:
746 * lisp.h (EXTERNAL_LIST_LOOP_DELETE_IF):
747 * lisp.h (TRUE_LIST_P):
748 * lisp.h (CHECK_TRUE_LIST):
749 * lisp.h (bit_vector_length):
750 * lisp.h (GCPRO4): Make consistent.
751 * lisp.h (NGCPRO4): Make consistent.
752 * lisp.h (NNGCPRO4): Make consistent.
753 * alloc.c (Fmake_list):
754 * alloc.c (Fmake_string):
755 Use proper 64-bit types, e.g. EMACS_INT or size_t instead of int.
756 This should make all arithmetic 64-bit clean.
757
758 Use %ld with (long) casts in print statements of types with sizes
759 possibly larger than int.
760
761 Following functions had mismatched prototypes!!:
762 do_marker_adjustment(), fixup_internal_substring(), scan_lists(),
763 char_quoted(), make_string_from_buffer(),
764 make_string_from_buffer_no_extents()
765
766 The types of Bufpos, Bytind, Memind, Bytecount, Charcount,
767 Extcount are all now EMACS_INT. I hope to see the day when I can
768 create a buffer with more than INT_MAX characters, without having
769 XEmacs slow down to a crawl. I also hope to be able to create a
770 list with more than INT_MAX cons cells.
771
772 * redisplay.c (decode_mode_spec):
773 The %p and %P specs in the mode line were not correct for buffers
774 larger than MAX_INT/100! The %p spec was off by .5% even for
775 small buffers!
776
777 1999-09-27 Martin Buchholz <martin@xemacs.org>
778
779 * cmdloop.c (num_input_keys):
780 * print.c (debug_temp):
781 * emacs.c (Vinfo_directory):
782 Delete unused variables
783
784 * console-x.h (x_interline_space): Mark as unimplemented.
785 * redisplay-x.c (x_interline_space): Mark as unimplemented.
786
787 * event-Xt.c (pending_timeouts):
788 * linuxplay.c (linuxplay_sndbuf):
789 * profile.c (QS*):
790 * search.c (searchbufs):
791 * specifier.c (specifier_type_entry_dynarr):
792 * undo.c (pending_boundary):
793 * event-stream.c (the_low_level_timeout_blocktype):
794 * extents.c (gap_array_marker_freelist):
795 * extents.c (extent_list_marker_freelist):
796 * print.c (being_printed):
797 * print.c (alternate_do_pointer):
798 * alloc.c (first_string_chars_block):
799 * alloc.c (current_string_chars_block):
800 * emacs.c (initial_argv):
801 * emacs.c (initial_argc):
802 * eval.c (lisp_eval_depth):
803 * free-hook.c (pointer_table):
804 * free-hook.c (free_queue):
805 * free-hook.c (current_free):
806 * free-hook.c (strict_free_check):
807 * redisplay.c (formatted_string_emchar_dynarr):
808 * redisplay.c (formatted_string_display_line):
809 * redisplay.c (formatted_string_extent_dynarr):
810 * redisplay.c (formatted_string_extent_start_dynarr):
811 * redisplay.c (formatted_string_extent_end_dynarr):
812 * redisplay.c (updating_line_start_cache):
813 * redisplay.c (last_display_warning_tick):
814 * redisplay.c (display_warning_tick):
815 * redisplay.c (internal_cache):
816 * window.c (Vwindow_configuration_free_list):
817 Make static.
818
819 * redisplay.c (Vinitial_window_system): Make CONST.
820
821 1999-09-24 Martin Buchholz <martin@xemacs.org>
822
823 * redisplay-tty.c (term_get_fkeys_1): Minor aesthetic improvements.
824
825 * doprnt.c (get_doprnt_args): Use int, not short, with va_arg.
826
827 1999-09-24 Andy Piper <andy@xemacs.org>
828
829 * redisplay-output.c (output_display_line): only clear the borders
830 if we are not displaying the gutter.
831
832 1999-09-24 Jan Vroonhof <vroonhof@math.ethz.ch>
833
834 * frame-x.c (x_any_window_to_frame): Let Xt find the widget and
835 then use x_any_widget_or_parent_to_frame().
836 (x_find_frame_for_window): remove special cases.
837
838 1999-09-24 Andy Piper <andy@xemacs.org>
839
840 * scrollbar-x.c (x_window_is_scrollbar): deleted.
841 * scrollbar-x.h: ditto.
842
843 1999-09-23 Martin Buchholz <martin@xemacs.org>
844
845 * alloc.c (this_marks_a_marked_record): Remove.
846
847 * buffer.c (mark_buffer):
848 * buffer.c (nuke_all_buffer_slots):
849 * console.c (mark_console):
850 * console.c (nuke_all_console_slots):
851 * frame.c (mark_frame):
852 * frame.c (nuke_all_frame_slots):
853 Treat MARKED_SLOT() macros consistently.
854
855 * device.h (error_check_device_type):
856 * faces.c (face_getprop):
857 * fileio.c (DRIVE_LETTER):
858 * filelock.c (lock_file_1):
859 * frame-x.c (x_create_widgets):
860 * frame.h (error_check_frame_type):
861 * keymap.c (print_keymap):
862 * keymap.c (Fkey_description):
863 * keymap.c (where_is_recursive_mapper):
864 * mule-charset.h (CHARSET_LEADING_BYTE):
865 * objects-msw.c (mswindows_color_instance_hash):
866 * objects.c (color_instance_equal):
867 * objects.h (struct color_specifier):
868 * objects.h (struct font_specifier):
869 * objects.h (struct face_boolean_specifier):
870 * opaque.h (get_opaque_ptr):
871 * opaque.h (set_opaque_ptr):
872 * process-unix.c (set_socket_nonblocking_maybe):
873 * specifier.h (SPECIFIER_TYPE_P):
874 * symbols.c (store_symval_forwarding):
875 * syssignal.h (EMACS_KILLPG):
876 * terminfo.c (emacs_tparam):
877 * glyphs.c (glyph_putprop):
878 * glyphs.c (glyph_remprop):
879 * glyphs.c (Fimage_instance_subwindow_id):
880 * window.c (mark_window):
881 * window.c (mark_window_config):
882 * window.c (Fset_window_configuration):
883 * window.c (save_window_save):
884 * eval.c (Fuser_variable_p):
885 * eval.c (Fcommand_execute):
886 * eval.c (Feval):
887 * eval.c (Ffuncall):
888 * lisp.h (XPNTR):
889 * lisp.h (INT_OR_FLOATP):
890 * lisp.h (GC_INT_OR_FLOATP):
891 * lisp.h (XFLOATINT):
892 * lisp.h (IS_ANY_SEP):
893 * mule-ccl.c (Fccl_execute):
894 * mule-ccl.c (Fccl_execute_on_string):
895 * redisplay-x.c (x_output_string):
896 Remove redundant extra parentheses.
897
898 1999-09-22 Martin Buchholz <martin@xemacs.org>
899
900 * chartab.c (word_boundary_p): Add prototype for warning avoidance.
901 * eval.c (PRIMITIVE_FUNCALL): ANSIfy
902 * free-hook.c (fun_ptr): ANSIfy
903 * getloadavg.c: Remove declaration for errno.
904 * gui.c (allocate_gui_item): ANSIfy
905 * gui.h (allocate_gui_item): ANSIfy
906 * mule-ccl.c (resolve_symbol_ccl_program): Make static
907 * realpath.c: Remove K&R support.
908 * redisplay-x.c (x_output_display_block): Don't shadow previous local
909 * glyphs-widget.c (layout_instantiate): Don't shadow previous local
910 * gutter.c (get_gutter_coords): Make static.
911 * lread.c (locate_file_map_suffixes): Make static.
912 * ralloc.c (relinquish): ANSIfy
913 * redisplay.c:
914 * lisp.h:
915 Move prototypes from redisplay.c to lisp.h
916
917 1999-09-22 Martin Buchholz <martin@xemacs.org>
918
919 * glyphs-x.c (x_widget_set_property):
920 - Remove unnecessary initialization.
921 - Use char*, not Bufbyte *, with GET_C_STRING_OS_DATA_ALLOCA
922 * glyphs-x.c (x_widget_instantiate):
923 - Use char*, not Bufbyte *, with GET_C_STRING_OS_DATA_ALLOCA
924 * unexelf.c (unexec):
925 Add cast for C++ compilability.
926 * redisplay.h:
927 Fix a typo.
928 * ralloc.c (r_alloc_reinit):
929 SET_FUN_PTR was broken wrt ANSI aliasing!
930 To compensate, use __typeof__ when using gcc, else live with
931 possible (but rare) warnings.
932 * ralloc.c (init_ralloc):
933 Ditto
934 * ralloc.c: Use the real dlmalloc prototype for __morecore.
935 * lread.c (locate_file_map_suffixes):
936 * input-method-xlib.c (XIM_init_frame):
937 - Xlib functions should use XPointer, not XtPointer.
938 * input-method-xlib.c (XIM_delete_frame):
939 - Xlib functions should use XPointer, not XtPointer.
940 * input-method-xlib.c (IMDestroyCallback):
941 - Simplify.
942 - XFRAME (obj) can never be NULL, so don't test for it.
943 * gutter.h:
944 Add GUTTER_POS_LOOP for iterating over all gutter_pos'es
945 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
946 Run c-backslash-region on macro body.
947 * gutter.c (gutter_was_visible):
948 Remove redundant parens - this is not a macro.
949 * gutter.c (redraw_exposed_gutters):
950 Use GUTTER_POS_LOOP.
951 * gutter.c (gutter_specs_changed):
952 Use GUTTER_POS_LOOP.
953 * gutter.c (gutter_geometry_changed_in_window):
954 Use GUTTER_POS_LOOP.
955 * gutter.c (update_frame_gutters):
956 Use GUTTER_POS_LOOP.
957 * gutter.c (init_frame_gutters):
958 Use GUTTER_POS_LOOP.
959 * file-coding.c (determine_real_coding_system):
960 Fix C++ compile error.
961 * emodules.c (find_make_module):
962 Cast return value from xrealloc
963 * emacs.c (Fkill_emacs):
964 Use __typeof__, when available.
965 * emacs.c (voodoo_free_hook):
966 Use __typeof__, when available.
967 (Unfortunately, the type of __free_hook is glibc-version-dependent)
968 * dired.c (user_cache): Use Bufbyte *, not char *
969 * dired.c (Fuser_name_all_completions): Ditto.
970
971 1999-09-22 Andy Piper <andy@xemacs.org>
972
973 * redisplay.c (redisplay_frame): reset the gutter display lines
974 when we reset the subwindows.
975
976 * gutter.c (reset_gutter_display_lines): new function.
977
978 * window.c (Flast_nonminibuf_window): new function equivalent to
979 FRAME_LAST_NONMINIBUF_WINDOW ().
980 (syms_of_window): declare it.
981
982 * redisplay.c (create_string_text_block): don't add bogus eol
983 markers to gutter display lines.
984
985 * glyphs.c (reset_subwindow_cachels): make sure we unmap
986 subwindows using unmap_subwindow so that expose events get
987 registered correctly.
988
989 * window.c (window_scroll): use Vwindow_pixel_scroll_increment to
990 determine how much to scroll the window.
991 (vars_of_window): Vwindow_pixel_scroll_increment is a new
992 variable.
993
994 1999-09-20 Robert Pluim <rpluim@nortelnetworks.com>
995
996 * glyphs-x.c (update_widget_face): Guard fontList declaration for
997 non-motif uses.
998
999 1999-09-20 Andy Piper <andy@xemacs.org>
1000
1001 * glyphs-msw.c (mswindows_update_subwindow): update faces.
1002
1003 1999-09-19 Andy Piper <andy@xemacs.org>
1004
1005 * glyphs.c (update_frame_subwindows): update if faces have
1006 changed.
1007
1008 * glyphs-x.c (x_widget_instantiate): create the clip widget using
1009 lwlib rather than directly.
1010 (x_finalize_image_instance): delete the clip widget using lwlib.
1011 (x_update_subwindow): update widget faces.
1012 (update_widget_face): new function for updating the face
1013 properties of a widget.
1014 (x_widget_set_property): update widget faces.
1015
1016 * lwlib-Xlw.c (xlw_create_clip_window): new function. We need to
1017 manage the clip widgets using lwlib so that we can delete them in
1018 a safe manner.
1019
1020 1999-09-16 Martin Buchholz <martin@xemacs.org>
1021
1022 * lisp-union.h:
1023 * lisp-disunion.h:
1024 Define new, potentially faster INT arithmetic macros
1025 INT_PLUS, INT_MINUS, INT_PLUS1, INT_MINUS1
1026 * bytecode.c (execute_optimized_function):
1027 Use new macros.
1028 Fix metering code
1029 * bytecode.c (bytecode_negate):
1030 Optimize for integer case.
1031
1032 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1033
1034 * m/mips.h: Support for mips-linux: Add !linux around places
1035 that are not valid for linux, define TEXT_START, DATA_START,
1036 DATA_SEG_BITS.
1037
1038 1999-09-16 Andy Piper <andy@xemacs.org>
1039
1040 * redisplay-output.c (redisplay_output_subwindow): clip subwindows
1041 that don't completely fit on-screen rather than just unmapping
1042 them.
1043
1044 * glyphs.h: change signature of map_subwindow.
1045
1046 * glyphs.c (map_subwindow): add display_glyph_area to the
1047 signature. make sure the mapped area saved in the subwindow_cachel
1048 reflects this.
1049 (Fforce_subwindow_map): make a no-op. I don't think this does
1050 anything useful.
1051
1052 * glyphs-x.h (struct x_subwindow_data): save the Display rather
1053 than the Screen. Add a clipwindow and clipwidget handle.
1054 (IMAGE_INSTANCE_X_CLIPWINDOW): new accessor.
1055 (IMAGE_INSTANCE_X_CLIPWIDGET): ditto.
1056 (XIMAGE_INSTANCE_X_CLIPWIDGET): ditto.
1057 (XIMAGE_INSTANCE_X_CLIPWINDOW): ditto.
1058
1059 * glyphs-x.c (x_finalize_image_instance): destroy the clipwidget
1060 as well as the widget itself.
1061 (x_unmap_subwindow): unmap the clipwindow and clipwidget rather
1062 than the widgets and subwindows themselves. move the widget inside
1063 the clipwidget.
1064 (x_subwindow_instantiate): hold onto the Display rather than the
1065 Screen. allocate a clipwindow to put the subwindow inside.
1066 (x_resize_subwindow): use saved Display directly.
1067 (x_widget_instantiate): allocate a clipwidget of type EmacsManager
1068 to put widgets inside.
1069
1070 * glyphs-widget.c: remove group stuff.
1071
1072 * glyphs-msw.h (struct mswindows_subwindow_data): new structure to
1073 hold the clipwindow.
1074 (IMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): new accessor.
1075 (XIMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): ditto.
1076
1077 * glyphs-msw.c: remove group stuff.
1078 (mswindows_finalize_image_instance): destroy clipwindow as well as
1079 the widget itself.
1080 (mswindows_unmap_subwindow): unmap the clipwindow rather than the
1081 widget.
1082 (mswindows_map_subwindow): ditto. move the widget within the
1083 clipwindow.
1084 (mswindows_subwindow_instantiate): allocate and initialize
1085 mswindows_subwindow_data. allocate a clipwindow with the subwindow
1086 as a child.
1087 (mswindows_widget_instantiate): ditto.
1088 (mswindows_control_wnd_proc): new function that allows us to
1089 propagate events from the widget to the main windows control loop.
1090
1091 * device-msw.c (mswindows_init_device): register new widget clip window
1092 class.
1093
1094 * console.h (struct console_methods): add display_glyph_area to
1095 map_window.
1096
1097 * console-msw.h: declare new window class and wnd proc for
1098 widgets.
1099
1100 1999-09-14 Martin Buchholz <martin@xemacs.org>
1101
1102 * general.c:
1103 * eldap.c:
1104 Move symbols used only by eldap.c into eldap.c as statics.
1105
1106 1999-09-09 Martin Buchholz <martin@xemacs.org>
1107
1108 * window.c (syms_of_window):
1109 * symbols.c (syms_of_symbols):
1110 * redisplay.c (syms_of_redisplay):
1111 * print.c (syms_of_print):
1112 * lisp.h:
1113 * intl.c (syms_of_intl):
1114 * general.c (syms_of_general):
1115 * frame.c (syms_of_frame):
1116 * fileio.c (syms_of_fileio):
1117 * file-coding.h:
1118 * file-coding.c (syms_of_file_coding):
1119 * extents.c (syms_of_extents):
1120 * event-stream.c (syms_of_event_stream):
1121 * event-stream.c (Fnext_event):
1122 * device.c (syms_of_device):
1123 * data.c (syms_of_data):
1124 * casetab.c (syms_of_casetab):
1125 * casetab.c (check_case_table):
1126 * callint.c (syms_of_callint):
1127 * buffer.c (syms_of_buffer):
1128 Delete unused C symbols:
1129 Qbuffer_file_name, Qbuffer_undo_list, Quser_variable_p,
1130 Qcurrent_prefix_arg, Qtranslate_table, Qkeywordp,
1131 Qnumber_or_marker_p, Qcons, Qkeyword, Qignore, Qdelete_device,
1132 Qcommand_execute, Qglyph_invisible,
1133 Qbuffer_file_coding_system, Qfile_name_handler_alist,
1134 Qframe_x_p, Qframe_tty_p, Qblack, Qkeyboard, Qmenubar, Qpath,
1135 Qvector, Qwhite, Qcase, Qdomain, Qalternate_debugging_output,
1136 Qprint_escape_newlines, Qprint_readably, Qfloat_output_format,
1137 Qwindow_scroll_functions, Qfboundp, Qscroll_up, Qscroll_down
1138
1139 Rename symbols as required by the CHECK_RECORD macro:
1140 - Qcase_table_p to Qcase_tablep
1141 - Qcoding_system_p to Qcoding_systemp
1142
1143 * debug.h:
1144 * debug.c (syms_of_debug):
1145 Make debug.c's internal Lisp_Objects static.
1146
1147 * events.c (vars_of_events):
1148 * events.c (syms_of_events):
1149 Use regular old defsymbol instead of KEYSYM + staticpro().
1150
1151 * select-x.c (CHECK_CUTBUFFER):
1152 Rewrite in accordance with coding standards.
1153
1154 * keymap.c (syms_of_keymap):
1155 Use SPC in the same way as RET, TAB, etc.
1156
1157 1999-08-27 Jan Vroonhof <vroonhof@math.ethz.ch>
1158
1159 * xemacs-20/src/menubar-x.c (make_dummy_xbutton_event): Don't add
1160 offset twice if HAVE_WMCOMMAND is defined.
1161
1162 1999-09-13 Mike McEwan <mike@lotusland.demon.co.uk>
1163
1164 * redisplay-x.c (x_output_vertical_divider): make sure
1165 shadow_thickness is positive.
1166
1167 1999-09-10 Julian Back <jback@rudd.compulink.co.uk>
1168
1169 * process-nt.c (nt_create_process): fixup to cope with
1170 Vprocess_environment.
1171
1172 1999-09-02 Andy Piper <andy@xemacs.org>
1173
1174 * redisplay-output.c (redisplay_output_layout): call output
1175 routines with clear_clip false. output layout borders with text
1176 correctly.
1177
1178 * redisplay-msw.c (mswindows_output_blank): call output routines
1179 with clear_clip true.
1180 (mswindows_output_string): ditto.
1181 (mswindows_output_display_block): ditto.
1182
1183 * redisplay-x.c (x_output_display_block): call output routines
1184 with clear_clip true.
1185
1186 * redisplay.h: fix output routines for clear_clip parameter.
1187
1188 * redisplay-output.c (redisplay_output_layout): cope with glyphs
1189 in the border.
1190
1191 * glyphs-widget.c (layout_instantiate): deal with border glyphs.
1192 (check_valid_glyph_or_instantiator): renamed from
1193 check_valid_glyph_or_image.
1194 (check_valid_border): allow glyphs or their instantiators.
1195 (check_valid_glyph_or_instantiator_list): renamed from
1196 check_valid_glyph_or_image_list,
1197 (glyph_instantiator_to_glyph): new function. make sure a glyph is
1198 a glyph and not an instantiator.
1199 (substitute_keyword_value): new function. replace a keyword value
1200 with a new one.
1201
1202 1999-09-01 Andy Piper <andy@xemacs.org>
1203
1204 * glyphs.c (string_set_property): new function to set the data of
1205 a string.
1206 (image_instantiator_format_create): use it.
1207
1208 1999-09-07 Hrvoje Niksic <hniksic@srce.hr>
1209
1210 * fns.c (Fmapc): Rename back to Fmapc_internal.
1211
1212 1999-07-30 Gleb Arshinov <gleb@cs.stanford.edu>
1213
1214 * ntheap.h: CONST (semantically constant) name field of file_data
1215 struct
1216
1217 * unexnt.c (open_output_file): match function definition with
1218 function declaration
1219
1220 * editfns.c: #include "sysfile.h" for getcwd() prototype
1221
1222 * gif_io.c: #include "sysfile.h" for close() prototype
1223
1224 1999-09-02 Martin Buchholz <martin@xemacs.org>
1225
1226 * elhash.c:
1227 * elhash.h:
1228 Change the :type keyword to :weakness, for compatibility with the
1229 GNU Emacs 20.5 hash table implementation.
1230 Keep (but don't document) the :type keyword for compatibility.
1231 Obsolete function hash-table-type
1232 General cleanup.
1233 Define function sxhash for compatibility with Common Lisp and GNU Emacs.
1234
1235 1999-09-01 Martin Buchholz <martin@xemacs.org>
1236
1237 * floatfns.c (arith_error):
1238 * floatfns.c (range_error):
1239 * floatfns.c (range_error2):
1240 * floatfns.c (domain_error):
1241 * floatfns.c (domain_error2):
1242 * lrecord.h (LRECORDP):
1243 * console-x.h (X_ERROR_OCCURRED):
1244 * console-x.h (HANDLING_X_ERROR):
1245 * chartab.c (CATEGORYP):
1246 * buffer.h (XCHAR_OR_CHAR_INT):
1247 Remove redundant and confusing parentheses.
1248
1249 * redisplay-output.c (redisplay_clear_to_window_end):
1250 Remove redundant initialization.
1251
1252 * redisplay.h:
1253 * redisplay-msw.c:
1254 * redisplay-x.c:
1255 Move declarations of bevel_modeline() into redisplay.h.
1256
1257 1999-08-30 Olivier Galibert <galibert@pobox.com>
1258
1259 * lisp.h: Add staticpro_nodump for undumped staticpro-ing.
1260 * alloc.c: Add staticpro_nodump for undumped staticpro-ing. Add
1261 alignment information for dumped data. Enhance
1262 descriptions. Phase out Vterminal_* variables while
1263 dumping.
1264 * lrecord.h: Add chained descriptions and automagically-reset
1265 lisp_objects to the description system.
1266
1267 * console-stream.h: Declare the Vterminal_* variables.
1268
1269 * buffer.c: Don't dump Vbuffer_alist, Vbuffer_defaults and
1270 Vbuffer_local_symbols.
1271 * console.c: Don't dump Vconsole_list, Vconsole_defaults and
1272 Vconsole_local_symbols.
1273 * eval.c: Don't dump Qunbound_suspended_errors_tag.
1274 * lread.c: Don't dump Vread_buffer_stream.
1275 * lstream.c: Don't dump Vlstream_free_list[].
1276 * search.c: Don't dump last_thing_searched.
1277 * window.c: Don't dump minibuf_window and
1278 Vwindow_configuration_free_list[].
1279
1280 * faces.c: Add face description.
1281 * fns.c: Add bit_vector description.
1282 * glyphs.c: Add image specifier description.
1283 * objects.c: Add color, face and face boolean specifiers descriptions.
1284 * opaque.c: Add opaque description. Don't dump Vopaque_ptr_free_list.
1285 * rangetab.c: Add range table description.
1286 * specifier.c: Add specifier and specifier methods description.
1287 * specifier.h: Add specifier extra description support.
1288
1289 * symbols.c: Fix symbol_value_buffer_local_description.
1290
1291 * gdbinit (Lisp): Add opaque_ptr, remove opaque_list.
1292
1293 1999-09-02 Hrvoje Niksic <hniksic@srce.hr>
1294
1295 * extents.c (extent_remprop): Get extent's plist address
1296 correctly.
1297
1298 1999-08-31 Andy Piper <andy@xemacs.org>
1299
1300 * xmu.h: define Xmu/Converters.h things.
1301
1302 1999-08-31 Andy Piper <andy@xemacs.org>
1303
1304 * opaque.c (equal_opaque_ptr): define.
1305 (hash_opaque_ptr): define.
1306
1307 * xmu.h: define Xmu/Misc.h things.
1308
1309 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1310
1311 * file-coding.c (determine_real_coding_system): Treat `coding:'
1312 cookie.
1313
1314 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1315
1316 * file-coding.c (struct decoding_stream): New member `counter'.
1317 (reset_decoding_stream): Initialize `counter'.
1318 (decode_coding_ucs4): Use `counter'.
1319 (decode_coding_utf8): Likewise.
1320
1321 1999-08-31 Andy Piper <andy@xemacs.org>
1322
1323 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
1324 the clip offset doesn't exceed the height we have available to
1325 show.
1326
1327 * window.h (struct window): add top_yoffset and left_xoffset for
1328 pixel scrolling.
1329 (WINDOW_TEXT_TOP_CLIP): new macro.
1330
1331 * window.c (window_scroll): add behaviour for pixel-scrolling of
1332 tall lines.
1333
1334 * redisplay.h (struct display_line): add top_clip.
1335 (DISPLAY_LINE_HEIGHT): adjust for top_clip.
1336 (DISPLAY_LINE_YPOS): ditto.
1337
1338 * redisplay.c (position_redisplay_data_type): add
1339 start_col_xoffset to prepare for pixel-based h-scrolling.
1340 (WINDOW_SCROLLED): new macro.
1341 (next_tab_position): use it.
1342 (add_glyph_rune): use new hscoll vars.
1343 (create_text_block): ditto.
1344 (generate_displayable_area): adjust off-by-one error.
1345 (regenerate_window): take top_clip into account.
1346 (regenerate_window_extents_only_changed): ditto.
1347 (regenerate_window_incrementally): ditto.
1348
1349 * redisplay-x.c (x_output_display_block): use DISPLAY_LINE_YPOS,
1350 DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros.
1351 (x_output_string): ditto.
1352 (x_output_blank): ditto.
1353 (x_output_hline): ditto.
1354 (x_output_eol_cursor): ditto.
1355
1356 * redisplay-output.c (output_display_line): allow for
1357 top_clip. use DISPLAY_LINE_YPOS, DISPLAY_LINE_HEIGHT and
1358 DISPLAY_LINE_YEND macros.
1359 (redisplay_output_layout): output strings in layouts correctly.
1360 (redisplay_clear_clipped_region): allow for top_clip.
1361 (redisplay_calculate_display_boxes): ditto.
1362
1363 * redisplay-msw.c (mswindows_output_blank): use DISPLAY_LINE_YPOS,
1364 DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros.
1365 (mswindows_output_cursor): ditto.
1366 (mswindows_output_string): ditto.
1367 (mswindows_redraw_exposed_window): ditto.
1368 (mswindows_output_display_block): ditto.
1369
1370 * gutter.c: new specifier type gutter-size.
1371 (gutter_size_validate): validate gutter-size specifier.
1372 (Fgutter_size_specifier_p): predicate for gutter-size.
1373 (Fredisplay_gutter_area): allow the gutter area to be redisplayed
1374 under user contol, like Fredisplay_echo_area.
1375 (syms_of_gutter): add new functions.
1376 (specifier_type_create_gutter): add new specifier.
1377 (specifier_vars_of_gutter): change specifier types of *-height to
1378 gutter-size.
1379
1380 * glyphs.c (glyph_width): make work with image instances.
1381
1382 * console.h (struct console_methods): change api of output_string.
1383
1384 * glyphs-x.c (x_map_subwindow): move before mapping as reported by
1385 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
1386
1387 1999-08-30 Andy Piper <andy@xemacs.org>
1388
1389 * glyphs-x.c (x_finalize_image_instance): X_MASK -> PIXMAP_MASK
1390 for assignment.
1391 (init_image_instance_from_x_image): ditto.
1392 (x_xpm_instantiate): ditto.
1393 (x_colorize_image_instance): ditto. Reported by Richard Cognot
1394 <cognot@ensg.u-nancy.fr>
1395
1396 1999-08-29 Andy Piper <andy@xemacs.org>
1397
1398 * glyphs-x.c (x_widget_instantiate): move font initialisation so
1399 that it doesn't get saved in the user defined args.
1400 (x_tab_control_instantiate): Set the fg color of the tab's
1401 children.
1402 (x_tab_control_set_property): ditto.
1403
1404 1999-08-27 Damon Lipparelli <lipp@primus.com>
1405
1406 * events.h (XTIMEOUT): must preface Lisp_Timeout with ``struct''
1407 (XSETTIMEOUT): fixup typo
1408
1409 1999-08-11 Jan Vroonhof <vroonhof@math.ethz.ch>
1410
1411 * syntax.c (scan_words): Unified Mule and Non-mule scanning.
1412 Word boundary search looks back instead of forward so that it
1413 doesn't peek over the limit.
1414
1415 1999-08-20 Olivier Galibert <galibert@pobox.com>
1416
1417 * config.h.in: Add PDUMP define.
1418 * emacs.c (Fdump_emacs): Hackish, call pdump() if configured in.
1419
1420 * lrecord.h: Enhance description system.
1421 * alloc.c: Fix vector and string description. Add portable
1422 dumper enumeration fonctions.
1423
1424 * symbols.c: Fix symbols description. Add symbol_value_forward
1425 description.
1426 * eval.c: Add subr description.
1427 * elhash.c (CLEAR_HENTRY): Clean value pointer too. Fix hash
1428 table description.
1429 (remhash_1): CLEAR_HENTRY evaluates the parameter two times now.
1430
1431 1999-08-20 Olivier Galibert <galibert@pobox.com>
1432
1433 * opaque.c: Kill opaque lists, make Lisp_Opaque_Ptr a lrecord of
1434 its own.
1435 * opaque.h: Ditto.
1436
1437 * eval.c (eval_in_buffer_trapping_errors):
1438 (run_hook_trapping_errors):
1439 (safe_run_hook_trapping_errors):
1440 (call0_trapping_errors):
1441 (call1_trapping_errors):
1442 (call2_trapping_errors): OPAQUEP -> OPAQUE_PTRP. make_opaque_ptr
1443 now takes a non-const void *.
1444
1445 1999-08-20 Olivier Galibert <galibert@pobox.com>
1446
1447 * opaque.c: Remove make_opaque_long.
1448
1449 * opaque.h: Remove everything opaque_long related.
1450
1451 * eval.c (vars_of_eval): Make Qunbound_suspended_errors_tag an
1452 opaque_ptr.
1453
1454 * emacs.c (main_1): Remove make_opaque_long from comment.
1455
1456 1999-08-20 Olivier Galibert <galibert@pobox.com>
1457
1458 * event-stream.c (mark_timeout):
1459 (print_timeout):
1460 (event_stream_generate_wakeup):
1461 (event_stream_resignal_wakeup):
1462 (event_stream_disable_wakeup):
1463 (event_stream_wakeup_pending_p):
1464 (vars_of_event_stream): Lisp_Timeout is now a lrecord.
1465
1466 * events.h (struct Lisp_Timeout): Added.
1467
1468 1999-08-24 Andy Piper <andy@xemacs.org>
1469
1470 * console-x.h: declare new pixmap signatures.
1471
1472 1999-08-23 Andy Piper <andy@xemacs.org>
1473
1474 * glyphs-x.c (x_update_subwindow): make sure the widget size is
1475 maintained after an update.
1476
1477 * event-Xt.c (emacs_Xt_handle_magic_event): use
1478 find_matching_subwindow to check whether the exposure is totally
1479 inside a subwindow, if it is then ignore it.
1480
1481 * glyphs.c (find_matching_subwindow): new function.
1482
1483 * toolbar-x.c (x_draw_blank_toolbar_button): use new
1484 x_output_shadows signature.
1485 (x_output_toolbar_button): use new x_output_x_pixmap signature.
1486
1487 * redisplay.h (struct display_box): new structure.
1488 (struct display_glyph_area): ditto.
1489 declare new display_box functions.
1490
1491 * redisplay-x.c (x_output_pixmap): update for new display
1492 box stuff.
1493 (x_bevel_area): update to allow multiple edge styles and border
1494 segments.
1495 (x_output_display_block): update for new display_box stuff and
1496 signatures.
1497 (x_clear_region): ditto.
1498 (x_output_x_pixmap): ditto. adjust offsets rather than clip.
1499 (console_type_create_redisplay_x): declare new console methods.
1500 (x_output_vertical_divider): update for new bevel_area signature.
1501 (x_output_shadows): update to allow selective drawing of edges.
1502
1503 * redisplay-tty.c (tty_output_display_block): do nothing for
1504 layouts.
1505
1506 * redisplay-output.c (redisplay_output_subwindow): convert to use
1507 display_box structure, this allows us to put subwindows anywhere
1508 with any offset, useful for layout glyphs.
1509 (redisplay_output_layout): new function. output a layout and its
1510 sub-glyphs.
1511 (redisplay_output_pixmap): new modular function combining generic
1512 parts of the X and mswindows versions. convert to use display_box
1513 structures.
1514 (redisplay_clear_clipped_region): new function. clear the area a
1515 glyph is going into.
1516 (redisplay_normalize_glyph_area): new function. calculate the
1517 bounds of a display_glyph_area given a display_box.
1518 (redisplay_normalize_display_box): new function. shrink a
1519 display_box to enclose a display_glyph_area.
1520 (redisplay_display_boxes_in_window_p): check whether the input
1521 display_box and display_glyph_area are actually in a window.
1522 (redisplay_calculate_display_boxes): calculate display boxes based
1523 on conventional display_line metrics.
1524 (bevel_modeline): update for new bevel_area signature.
1525
1526 * redisplay-msw.c (mswindows_output_blank): update for new
1527 display_box stuff.
1528 (mswindows_output_string): ditto.
1529 (mswindows_output_dibitmap): ditto.
1530 (mswindows_output_dibitmap_region): ditto.
1531 (mswindows_output_pixmap): ditto.
1532 (mswindows_bevel_area): update to allow multiple edge styles and
1533 border segments.
1534 (mswindows_output_display_block): update for new display_box stuff
1535 and signatures.
1536 (mswindows_clear_region): ditto.
1537 (console_type_create_redisplay_mswindows): declare new console methods.
1538
1539 * lisp.h (edge_style): new enum.
1540 declare display_box and display_glyph_area.
1541
1542 * gutter.c (output_gutter): update for new bevel_area signature.
1543
1544 * glyphs.h (image_instance_type): add layout.
1545 (IMAGE_LAYOUT_MASK): ditto.
1546 (LAYOUT_IMAGE_INSTANCEP): new macro.
1547 (CHECK_LAYOUT_IMAGE_INSTANCE): ditto.
1548 (struct Lisp_Image_Instance): add offsets for layout and the
1549 layout type itself. move mask here also.
1550 (IMAGE_INSTANCE_LAYOUT_CHILDREN): new macro.
1551 (IMAGE_INSTANCE_LAYOUT_BORDER): ditto.
1552 (XIMAGE_INSTANCE_LAYOUT_CHILDREN): ditto.
1553 (XIMAGE_INSTANCE_LAYOUT_BORDER): ditto.
1554
1555 * glyphs.c (mark_image_instance): update for layouts.
1556 (print_image_instance): ditto.
1557 (image_instance_equal): ditto.
1558 (image_instance_hash): ditto.
1559 (allocate_image_instance): initialise offsets for layout.
1560 (decode_image_instance_type): update for layouts.
1561 (encode_image_instance_type): ditto.
1562 (Fimage_instance_height): ditto.
1563 (Fimage_instance_width): ditto.
1564 (allocate_glyph): ditto.
1565 (glyph_width): allow image instances as an argument. update for layouts.
1566 (glyph_height_internal): ditto.
1567 (syms_of_glyphs): add layout symbols.
1568
1569 * glyphs-x.h (struct x_image_instance_data): remove mask entry.
1570 (IMAGE_INSTANCE_X_MASK): update.
1571
1572 * glyphs-x.c (x_label_instantiate): new function. instantiate a
1573 label.
1574 (image_instantiator_format_create_glyphs_x): initialise new layout
1575 glyph type.
1576
1577 * glyphs-widget.c: new layout type.
1578 (check_valid_orientation): new keyword checker for layouts.
1579 (check_valid_justification): ditto.
1580 (check_valid_border): ditto.
1581 (check_valid_glyph_or_image_list): ditto.
1582 (layout_possible_dest_types): new function for layout glyph type.
1583 (layout_normalize): ditto.
1584 (layout_instantiate): ditto.
1585 (syms_of_glyphs_widget): new keywords for layout.
1586 (image_instantiator_format_create_glyphs_widget): initialise the
1587 layout glyph type.
1588
1589 * glyphs-msw.h (struct mswindows_image_instance_data): remove mask
1590 argument.
1591 (IMAGE_INSTANCE_MSWINDOWS_MASK): update.
1592
1593 * glyphs-msw.c: declare layout format.
1594 (image_instantiator_format_create_glyphs_mswindows): initialise it.
1595
1596 * general.c: new symbols for layouts.
1597
1598 * console.h (struct console_methods): new console methods for
1599 outputting pixmaps and strings.
1600
1601 1999-08-23 Didier Verna <verna@inf.enst.fr>
1602
1603 * sound.c: revert the renaming of `bell_volume' to `Vbell_volume'
1604 and `bell_inhibit_time' to `Vbell_inhibit_time'.
1605
1606 1999-08-18 Andy Piper <andy@xemacs.org>
1607
1608 * redisplay-output.c (redisplay_output_subwindow): disable
1609 clipping attempt.
1610
1611 1999-08-17 Andy Piper <andy@xemacs.org>
1612
1613 * gutter.c (redraw_exposed_gutter): handle degenerate case of no
1614 area to expose or no gutter to display.
1615
1616 1999-08-16 Charles G Waldman <cgw@fnal.gov>
1617
1618 * sound.c: rename `bell_volume' to `Vbell_volume' and
1619 `bell_inhibit_time' to `Vbell_inhibit_time'.
1620
1621 1999-08-13 Charles G Waldman <cgw@fnal.gov>
1622
1623 * sound.c: (bell-inhibit-time): New variable.
1624 (ding): Use it.
1625 (sound-alist): Fix docstring.
1626
1627 1999-08-17 Andy Piper <andy@xemacs.org>
1628
1629 * gui-x.c (button_item_to_widget_value): xstrdup name so that
1630 deleting it is ok.
1631
1632 1999-08-16 Jeff Miller <jmiller@smart.net>
1633
1634 * syntax.c (scan_words): make compile.
1635
1636 1999-08-16 Andy Piper <andy@xemacs.org>
1637
1638 * redisplay-output.c (redisplay_output_subwindow): try and be more
1639 relaxed about clipping possibilities.
1640
1641 * glyphs-x.c (x_tab_control_set_property): free_widget_value_tree
1642 rather than just the widget_value.
1643 (x_update_subwindow): ditto.
1644 (x_widget_instantiate): ditto.
1645
1646 * gutter.c (output_gutter): shrink current display lines if
1647 required.
1648
1649 1999-08-15 Andy Piper <andy@xemacs.org>
1650
1651 * redisplay.h: declare free_display_lines.
1652
1653 * redisplay.c (free_display_lines): make non-static.
1654
1655 * gutter.c (free_frame_gutters): use free_display_lines instead of
1656 Dynarr_free.
1657 (calculate_gutter_size): ditto.
1658
1659 1999-08-12 Jan Vroonhof <vroonhof@math.ethz.ch>
1660
1661 * eval.c (run_hook_with_args_in_buffer): GCPRO globals.
1662
1663 1999-08-14 Andy Piper <andy@xemacs.org>
1664
1665 * glyphs.c (update_subwindow_cachel): make it less brittle.
1666
1667 1999-08-04 Mike Woolley <mike@bulsara.com>
1668
1669 * scrollbar-msw.c (mswindows_handle_mousewheel_event): Fixed
1670 problem in wheelmouse code occurring when the horizontal scrollbar
1671 is enabled but not visible.
1672
1673 1999-08-08 Andy Piper <andyp@beasys.com>
1674
1675 * toolbar-msw.c (mswindows_redraw_frame_toolbars): new function.
1676 (console_type_create_toolbar_mswindows): use it.
1677
1678 * glyphs.c (Fset_image_instance_property): fiddly reorganisation.
1679
1680 * redisplay-output.c (redisplay_output_display_block): unmap
1681 subwindows in the block area before outputting the block.
1682
1683 * event-msw.c (mswindows_wnd_proc): check the update rect before
1684 painting and disable expose registration while painting.
1685
1686 * glyphs.c (register_ignored_expose): check
1687 hold_ignored_expose_registration before registering expose events.
1688
1689 * redisplay.c (redisplay_frame): reset the subwindow cache before
1690 displaying the gutter.
1691
1692 * glyphs-msw.c (mswindows_map_subwindow): move the window before
1693 mapping.
1694
1695 * gutter.c (update_frame_gutters): check for glyphs_changed as if
1696 it is the subwindow cache will have been reset.
1697
1698 1999-08-06 Andy Piper <andyp@beasys.com>
1699
1700 * gui-x.c (button_item_to_widget_value): cope with strings.
1701
1702 * glyphs.h: declare global widget functions.
1703 (IIFORMAT_HAS_SHARED_DEVMETHOD): new macro.
1704
1705 * glyphs-x.c (x_combo_box_instantiate): do generic initialization
1706 here. remove dead code.
1707 (image_instantiator_format_create_glyphs_x): enable combo boxes
1708 for Motif 2.0.
1709
1710 * glyphs-widget.c (widget_instantiate_1): make non-static.
1711 (tree_view_instantiate): renamed from combo_box_instantiate.
1712 (image_instantiator_format_create_glyphs_widget): use new/changed methods.
1713
1714 * glyphs-msw.c (mswindows_combo_box_instantiate): do generic
1715 initialization here.
1716
1717 * lwlib-Xm.c (xm_update_combo_box): new function.
1718 (xm_update_one_widget): call it.
1719 (xm_update_one_value): deal with combo boxes as well as lists.
1720 (xm_create_combo_box): create a drop-down combo box.
1721
1722 * toolbar-msw.c (mswindows_output_toolbar): call
1723 mswindows_move_toolbar.
1724
1725 1999-08-05 Andy Piper <andyp@beasys.com>
1726
1727 * window.c (Fcurrent_pixel_column): new function. use display
1728 lines to calculate pixel position of point.
1729 * window.c (syms_of_window): declare it.
1730
1731 1999-08-05 Andy Piper <andy@xemacs.org>
1732
1733 * glyphs.c (check_for_ignored_expose): ignore exposures wholly
1734 contained in our ignore list.
1735
1736 * buffer.c (Frecord_buffer): add call to record-buffer-hook.
1737 (syms_of_buffer): declare record-buffer-hook.
1738
1739 * s/mingw32.h: define mousewheel things.
1740
1741 1999-08-04 Mike Woolley <mike@bulsara.com>
1742
1743 * windowsnt.h (_WIN32_WINNT): enable for win95
1744
1745 * s/cygwin32.h: define mousewheel things.
1746
1747 * scrollbar-msw.h: declare mousewheel handler.
1748
1749 * scrollbar-msw.c (mswindows_handle_mousewheel_event): new function.
1750
1751 1999-08-04 Andy Piper <andy@xemacs.org>
1752
1753 * gui-x.c (gui_items_to_widget_values): remove unused variable.
1754 (gui_items_to_widget_values_1): ditto.
1755
1756 * gui-x.h: unconditionally define since it is used everywhere.
1757
1758 1999-08-04 Andy Piper <andy@xemacs.org>
1759
1760 * glyphs-x.c (x_finalize_image_instance): only free pixels if we
1761 have that type of image.
1762
1763 1999-07-30 Andy Piper <andy@xemacs.org>
1764
1765 * redisplay-output.c (redisplay_unmap_subwindows): add comparison
1766 subwindow to not unmap if required.
1767 (redisplay_unmap_subwindows_maybe): comparison is Qnil.
1768 (redisplay_unmap_subwindows_except_us): new function.
1769 (redisplay_output_subwindow): use it to unmap windows in the area
1770 we are displaying into.
1771
1772 * glyphs.c (update_subwindow_cachel_data): always update as we
1773 only ever get called when an update is required.
1774 (update_subwindow_cachel): new function. sync a subwindow with its
1775 cachel.
1776 (Fresize_subwindow): use it.
1777 (register_ignored_expose): make sure we set the tail correctly.
1778
1779 1999-07-28 Andy Piper <andy@xemacs.org>
1780
1781 * redisplay-output.c (redisplay_clear_bottom_of_window): remove
1782 unneeded device.
1783
1784 * gutter.c (redraw_exposed_gutter): unmap subwindows from the
1785 whole gutter.
1786
1787 * gui.h: declare parse_gui_item_tree_list and
1788 parse_gui_item_tree_children.
1789
1790 * gui.c (parse_gui_item_tree_item): new function for parsing item
1791 lists into gui-item trees.
1792 (parse_gui_item_tree_children): ditto.
1793 (parse_gui_item_tree_list): ditto.
1794
1795 * gui-x.h: declare gui_items_to_widget_values.
1796
1797 * gui-x.c (gui_items_to_widget_values_1): new function for
1798 recursively parsing gui-items into widget_values.
1799 (gui_item_children_to_widget_values): ditto.
1800 (gui_items_to_widget_values): ditto.
1801 (sanity_check_lwlib): add widgets macrolets.
1802
1803 * glyphs.h (IMAGE_INSTANCE_WIDGET_ITEMS): rename from *ITEM.
1804 (XIMAGE_INSTANCE_WIDGET_ITEMS): ditto.
1805 (IMAGE_INSTANCE_WIDGET_ITEM): rename from *SINGLE_ITEM.
1806 (XIMAGE_INSTANCE_WIDGET_ITEM): ditto.
1807 (struct expose_ignore): new structure for storing ignorable expose
1808 events.
1809
1810 * glyphs.c (valid_image_instantiator_format_p): fix so that using
1811 a console-type as a locale works.
1812 (mark_image_instance): ITEM->ITEMS.
1813 (image_instance_equal): ditto.
1814 (image_instance_hash): ditto.
1815 (struct expose_ignore_blocktype): new blocktype.
1816 (check_for_ignored_expose): new function. checks frame exposure
1817 list for events to ignore.
1818 (register_ignored_expose): new function. registers an expose event
1819 as ignorable.
1820 (unmap_subwindow): register the expose event as ignorable.
1821 (vars_of_glyphs): initialise the exposure blocktype.
1822
1823 * glyphs-x.c (x_finalize_image_instance): use lw_destroy_widget.
1824 (x_update_subwindow): modify all widgets using widget_value tree
1825 rather than just a single widget value.
1826 (x_widget_instantiate): LWLIB_USES_MOTIF -> LWLIB_WIDGETS_MOTIF.
1827 make sure widgets don't resize themselves.
1828 (x_tab_control_instantiate): new function. use lwlib tab functions.
1829 (x_tab_control_set_property): new function.
1830 (image_instantiator_format_create_glyphs_x): add tab_control.
1831
1832 * glyphs-widget.c (widget_text_to_pixel_conversion): calculate
1833 slightly more sensibly.
1834 (initialize_widget_image_instance): ITEM->ITEMS.
1835 (widget_instantiate_1): parse gui items generically into the ITEMS
1836 entry.
1837
1838 * glyphs-msw.c (mswindows_update_subwindow): replace
1839 SINGLE_ITEM->ITEM.
1840 (mswindows_register_widget_instance): ditto.
1841 (add_tree_item): modify to use new pre-initialised gui-item
1842 structure.
1843 (add_tab_item): ditto.
1844 (mswindows_tab_control_instantiate): ditto.
1845 (mswindows_tab_control_set_property): ditto.
1846 (image_instantiator_format_create_glyphs_mswindows): predicate
1847 existance of widgets on HAVE_WIDGETS.
1848
1849 * frame.h (struct frame): add subwindow_exposures variables.
1850
1851 * frame.c (allocate_frame_core): reset subwindow_exposures links.
1852
1853 * event-msw.c (mswindows_wnd_proc): check for ignored
1854 expose events before redrawing.
1855
1856 * event-Xt.c (emacs_Xt_handle_magic_event): check for ignored
1857 expose events before redrawing.
1858
1859 1999-07-30 SL Baur <steve@xemacs.org>
1860
1861 * scrollbar-x.c: should include EmacsFrame.h.
1862 From Jeff Miller <jmiller@smart.net>
1863
1 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org> 1864 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
2 1865
3 * XEmacs 21.2.19 is released 1866 * XEmacs 21.2.19 is released
4 1867
5 1999-07-27 Jeff Miller <jmiller@smart.net> 1868 1999-07-27 Jeff Miller <jmiller@smart.net>
6 1869
7 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around 1870 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
8 menubar_show_keybindings. 1871 menubar_show_keybindings.
9 1872
10 1999-07-23 SL Baur <steve@miho> 1873 1999-07-23 SL Baur <steve@miho>
11 1874
12 * mule-charset.c (syms_of_mule_charset): Delete duplicated 1875 * mule-charset.c (syms_of_mule_charset): Delete duplicated
98 1961
99 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp> 1962 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
100 1963
101 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get 1964 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
102 focus the event (XIM_focus_event). 1965 focus the event (XIM_focus_event).
103 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because 1966 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
104 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify 1967 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
105 the interface for future use (XIM_SetGeometry). 1968 the interface for future use (XIM_SetGeometry).
106 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot 1969 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
107 location (XIM_SetSpotLocation). 1970 location (XIM_SetSpotLocation).
108 (x_output_eol_cursor): Ditto. 1971 (x_output_eol_cursor): Ditto.
109 1972
110 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk> 1973 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
111 1974
209 * redisplay-output.c (redisplay_clear_to_window_end): generalised 2072 * redisplay-output.c (redisplay_clear_to_window_end): generalised
210 from redisplay-x.c 2073 from redisplay-x.c
211 2074
212 * redisplay-x.c (redisplay_clear_to_window_end): moved to 2075 * redisplay-x.c (redisplay_clear_to_window_end): moved to
213 redisplay.c 2076 redisplay.c
214 2077
215 * redisplay-msw.c (redisplay_clear_to_window_end): deleted. 2078 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
216 2079
217 * gutter.c: new file - implements gutters. All new functions are 2080 * gutter.c: new file - implements gutters. All new functions are
218 semantically equivalent to the toolbar functions. 2081 semantically equivalent to the toolbar functions.
219 (gutter_was_visible): new function. 2082 (gutter_was_visible): new function.
348 xemacs will die. Now xim=xlib waits the XIM will be ready and 2211 xemacs will die. Now xim=xlib waits the XIM will be ready and
349 endures the case of XIM end up. 2212 endures the case of XIM end up.
350 2213
351 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk> 2214 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
352 2215
353 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT, 2216 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
354 SIGINT and SIGCHLD before calling tt_open and restore the 2217 SIGINT and SIGCHLD before calling tt_open and restore the
355 afterwards. This fixes e.g. the zombie subprocesses on Solaris 2218 afterwards. This fixes e.g. the zombie subprocesses on Solaris
356 2219
357 1999-07-06 SL Baur <steve@xemacs.org> 2220 1999-07-06 SL Baur <steve@xemacs.org>
358 2221
359 * s/linux.h: gcc-2.8 changes for powerpc 2222 * s/linux.h: gcc-2.8 changes for powerpc
360 From Justin Vallon <vallon@mindspring.com> 2223 From Justin Vallon <vallon@mindspring.com>
2275 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA' 4138 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
2276 (Fldap_search_internal): Ditto 4139 (Fldap_search_internal): Ditto
2277 4140
2278 1998-12-11 Martin Buchholz <martin@xemacs.org> 4141 1998-12-11 Martin Buchholz <martin@xemacs.org>
2279 4142
2280 * event-msw.c (mswindows_cancel_dispatch_event): 4143 * event-msw.c (mswindows_cancel_dispatch_event):
2281 Gratuitous code prettification 4144 Gratuitous code prettification
2282 4145
2283 4146
2284 1998-12-07 Hrvoje Niksic <hniksic@srce.hr> 4147 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
2285 4148
2286 * fns.c (Fnconc): Fix use of wrong_type_argument(). 4149 * fns.c (Fnconc): Fix use of wrong_type_argument().
4101 Manually track the state of the left and right Ctrl and Alt 5964 Manually track the state of the left and right Ctrl and Alt
4102 modifiers. 5965 modifiers.
4103 5966
4104 1998-08-07 Matt Stupple <matts@tibco.com> 5967 1998-08-07 Matt Stupple <matts@tibco.com>
4105 5968
4106 * ntproc.c: don't wait on char_consumed at thread entry. 5969 * ntproc.c: don't wait on char_consumed at thread entry.
4107 Additionally, to get the 'process' marked as finished, ensure 5970 Additionally, to get the 'process' marked as finished, ensure
4108 that the CHILD_ACTIVE macro returns false, so before exiting 5971 that the CHILD_ACTIVE macro returns false, so before exiting
4109 close char_avail and set it to NULL, and close other handles 5972 close char_avail and set it to NULL, and close other handles
4110 to reduce handle leak problems. 5973 to reduce handle leak problems.
4111 5974
5394 (Fdecode_path): Renamed to Fsplit_path. 7257 (Fdecode_path): Renamed to Fsplit_path.
5395 (Fsplit_string_by_char): New function. 7258 (Fsplit_string_by_char): New function.
5396 7259
5397 1998-05-14 Damon Lipparelli <lipp@primus.com> 7260 1998-05-14 Damon Lipparelli <lipp@primus.com>
5398 7261
5399 * winslots.h: close comment 7262 * winslots.h: close comment
5400 7263
5401 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru> 7264 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
5402 7265
5403 * callproc.c: Removed declared and unused variable Qbuffer_file_type. 7266 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
5404 7267