Mercurial > hg > xemacs-beta
comparison src/ChangeLog @ 408:501cfd01ee6d r21-2-34
Import from CVS: tag r21-2-34
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:18:11 +0200 |
parents | b8cc9ab3f761 |
children | de805c49cfc1 |
comparison
equal
deleted
inserted
replaced
407:ed6218a7d4d3 | 408:501cfd01ee6d |
---|---|
1 2000-05-28 Martin Buchholz <martin@xemacs.org> | |
2 | |
3 * XEmacs 21.2.34 is released. | |
4 | |
5 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch> | |
6 | |
7 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line | |
8 start cache. | |
9 (updating_line_start_cache): Gone. | |
10 (regenerate_window): Replace resetting of VERTICAL_CLIP by | |
11 generic code to force a minimum of 1 line laid out in the | |
12 CMOTION_DISP case. | |
13 | |
14 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch> | |
15 | |
16 * glyphs.c (instantiate_image_instantiator): Check for initialized | |
17 height & width no longer special cases IMAGE_NOTHING. | |
18 (nothing_instantiate): Set height and width of instance. | |
19 | |
20 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org> | |
21 | |
22 * unexelf.c (unexec): Search for ".data" section. | |
23 Initialize new_data2_offset from old_data_index. | |
24 Remove redundant check for ElfW. | |
25 | |
26 2000-05-23 Andy Piper <andy@xemacs.org> | |
27 | |
28 * glyphs.c (get_image_instantiator_governing_domain): allow more | |
29 specific domains as the governing domain rather than expecting an | |
30 exact match. This fixes problems with layouts. | |
31 | |
32 2000-05-22 Andy Piper <andy@xemacs.org> | |
33 | |
34 * redisplay-output.c (compare_runes): check for non-images | |
35 | |
36 * glyphs.c (set_glyph_dirty_p): ditto. | |
37 (update_glyph_cachel_data): ditto. | |
38 | |
39 * glyphs-widget.c (layout_post_instantiate): ditto. | |
40 (layout_post_instantiate): ditto. | |
41 | |
42 * event-msw.c (mswindows_wnd_proc): warning removal. | |
43 | |
44 2000-05-12 Craig Lanning <CraigL@DyCon.com> | |
45 | |
46 * s\mingw32.h: Added #undef for CLASH_DETECTION. | |
47 | |
48 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h. | |
49 | |
50 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h. | |
51 | |
52 * nt.c (rva_to_section): mingw32 needs rva_to_section. | |
53 (mswindows_executable_type): mingw32 now has enough headers for | |
54 this to work. | |
55 | |
56 2000-05-20 Andy Piper <andy@xemacs.org> | |
57 | |
58 * console-msw.c (mswindows_output_last_error): ; -> , | |
59 | |
60 2000-05-12 Andy Piper <andy@xemacs.org> | |
61 | |
62 * console-msw.c (FROB): compare ints with ints. | |
63 | |
64 2000-05-11 Andy Piper <andy@xemacs.org> | |
65 | |
66 * glyphs-x.c (x_finalize_image_instance): make minimal build | |
67 happy. | |
68 | |
69 2000-05-20 Ben Wing <ben@xemacs.org> | |
70 | |
71 * event-Xt.c: | |
72 * event-Xt.c (vars_of_event_Xt): | |
73 move modifier-keys-are-sticky to event-stream.c. | |
74 | |
75 * event-msw.c: | |
76 * event-msw.c (mswindows_enqueue_mouse_button_event): | |
77 * event-msw.c (key_needs_default_processing_p): | |
78 * event-msw.c (XEMSW_LCONTROL): | |
79 * event-msw.c (mswindows_handle_sticky_modifiers): | |
80 * event-msw.c (FROB): | |
81 * event-msw.c (clear_sticky_modifiers): | |
82 * event-msw.c (output_modifier_keyboard_state): | |
83 * event-msw.c (output_alt_keyboard_state): | |
84 * event-msw.c (mswindows_wnd_proc): | |
85 * event-msw.c (mswindows_modifier_state): | |
86 * event-msw.c (emacs_mswindows_handle_magic_event): | |
87 implement sticky modifiers. | |
88 | |
89 * event-stream.c: | |
90 * event-stream.c (vars_of_event_stream): | |
91 move modifier-keys-are-sticky here. | |
92 | |
93 * lisp.h: | |
94 add CHECK_FUNCTION. | |
95 | |
96 * rangetab.c: | |
97 implement map-range-table. | |
98 | |
99 | |
100 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org> | |
101 | |
102 * redisplay-tty.c (reset_tty_modes): | |
103 (tty_redisplay_shutdown): Adjust argument type to | |
104 tty_frame_output_end. | |
105 | |
106 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org> | |
107 | |
108 * eval.c (Fbacktrace): Don't output a line with only right | |
109 parenthesis. | |
110 | |
111 2000-05-17 Kenji Itoh <keit@tpj.co.jp> | |
112 | |
113 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'. | |
114 (Fpq_reset_poll): Ditto. | |
115 | |
116 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org> | |
117 | |
118 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end. | |
119 | |
120 2000-05-16 Ben Wing <ben@xemacs.org> | |
121 | |
122 * buffer.c: | |
123 * buffer.c (dfc_convert_to/from_internal_format): | |
124 * buffer.c (reinit_vars_of_buffer): | |
125 Fix conversion functions to allow reentrancy. | |
126 | |
127 * console-msw.c: | |
128 * console-msw.c (mswindows_output_last_error): | |
129 New fun, generally useful -- output a human-readable | |
130 version of GetLastError() on the console. | |
131 | |
132 * console-msw.h: | |
133 * console-msw.h (struct mswindows_frame): | |
134 Changes for DeferWindowPos. Declare mswindows_output_last_error(). | |
135 | |
136 * console-stream.c (stream_output_begin): | |
137 * console-stream.c (stream_output_end): | |
138 * console-stream.c (stream_output_vertical_divider): | |
139 * console-stream.c (stream_clear_region): | |
140 * console-stream.c (stream_flash): | |
141 * console-stream.c (console_type_create_stream): | |
142 Delete blank stream methods, not needed. | |
143 | |
144 * console.h (struct console_methods): | |
145 Split begin/end methods into window and frame. | |
146 | |
147 * event-msw.c: | |
148 * event-msw.c (mswindows_handle_paint): | |
149 * event-msw.c (output_alt_keyboard_state): | |
150 * event-msw.c (mswindows_wnd_proc): | |
151 * event-msw.c (vars_of_event_mswindows): | |
152 Comment about problems with ignored-expose. | |
153 Define mswindows-debug-events; not really implemented. | |
154 | |
155 * frame-msw.c (mswindows_init_frame_1): | |
156 random cleanups. | |
157 | |
158 * glyphs-msw.c: | |
159 * glyphs-msw.c (begin_defer_window_pos): | |
160 * glyphs-msw.c (mswindows_unmap_subwindow): | |
161 * glyphs-msw.c (mswindows_map_subwindow): | |
162 * glyphs-msw.c (mswindows_resize_subwindow): | |
163 Use DeferWindowPos to reduce flashing when mapping/unmapping. | |
164 | |
165 * glyphs.c (make_image_instance_1): | |
166 Fix crash. | |
167 | |
168 * gutter.c (Fredisplay_gutter_area): | |
169 Use new begin/end methods. | |
170 | |
171 * lisp.h (Dynarr_new2): | |
172 New creation fun. | |
173 | |
174 * redisplay-msw.c: | |
175 * redisplay-msw.c (mswindows_frame_output_begin): | |
176 * redisplay-msw.c (mswindows_frame_output_end): | |
177 * redisplay-msw.c (console_type_create_redisplay_mswindows): | |
178 New begin/end methods -- handle DeferWindowPos. | |
179 | |
180 * redisplay-output.c (redisplay_move_cursor): | |
181 * redisplay-output.c (redraw_cursor_in_window): | |
182 * redisplay-output.c (redisplay_update_line): | |
183 * redisplay-output.c (redisplay_output_window): | |
184 New begin/end methods. | |
185 | |
186 * redisplay-tty.c: | |
187 * redisplay-tty.c (tty_frame_output_begin): | |
188 * redisplay-tty.c (tty_frame_output_end): | |
189 * redisplay-tty.c (console_type_create_redisplay_tty): | |
190 New begin/end methods. | |
191 | |
192 * redisplay-x.c: | |
193 * redisplay-x.c (x_window_output_begin): | |
194 * redisplay-x.c (x_window_output_end): | |
195 * redisplay-x.c (console_type_create_redisplay_x): | |
196 New begin/end methods. | |
197 | |
198 * redisplay.c (redisplay_frame): | |
199 * redisplay.c (Fredisplay_echo_area): | |
200 New begin/end methods. | |
201 use MAYBE_DEVMETH for clear_frame; it may not exist. | |
202 | |
203 * window.h (WINDOW_XFRAME): | |
204 WINDOW_XFOO macros -- get locale and decode struct pointer. | |
205 | |
206 | |
207 2000-05-12 Ben Wing <ben@xemacs.org> | |
208 | |
209 * emacs.c: | |
210 * emacs.c (ensure_no_quitting_from_now_on): | |
211 * emacs.c (fatal_error_signal): | |
212 * emacs.c (mswindows_handle_hardware_exceptions): | |
213 * emacs.c (main): | |
214 * emacs.c (Fkill_emacs): | |
215 * emacs.c (shut_down_emacs): | |
216 * emacs.c (assert_failed): | |
217 various improvements in fatal error handling. | |
218 | |
219 * eval.c: | |
220 move preparing_for_armageddon to emacs.c. | |
221 | |
222 * lisp.h: | |
223 declare fatal_error_in_progress. | |
224 | |
225 * print.c: | |
226 * print.c (std_handle_out_external): | |
227 * print.c (std_handle_out_va): | |
228 * print.c (stderr_out): | |
229 * print.c (stdout_out): | |
230 use console under mswin when no standard output. | |
231 don't do code conversion during fatal error. | |
232 | |
233 * scrollbar.c (Fscrollbar_page_up): | |
234 * scrollbar.c (Fscrollbar_page_down): | |
235 fix missing else. reindent. | |
236 | |
237 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch> | |
238 | |
239 Emergency fix. | |
240 | |
241 * glyphs.h (GLYPH_CACHEL_DESCENT): | |
242 (GLYPH_CACHEL_DESCENT): | |
243 (GLYPH_CACHEL_DESCENT): | |
244 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables | |
245 used in case these are inline functions. | |
246 Use more absurd values to error check. | |
247 | |
248 include window.h for error check functions. | |
249 | |
250 2000-05-11 Ben Wing <ben@xemacs.org> | |
251 | |
252 * cmdloop.c (Freally_early_error_handler): | |
253 Display message box under windows; otherwise, message will disappear | |
254 before it can be viewed. | |
255 | |
256 * console-msw.c: | |
257 * console-msw.c (Fmswindows_message_box): | |
258 * console-msw.c (FROB): | |
259 * console-msw.c (syms_of_console_mswindows): | |
260 Define new fun `mswindows-message-box'. | |
261 #### I will merge this into `popup-dialog-box'; just give me | |
262 a bit of time. | |
263 | |
264 * general.c: | |
265 * general.c (syms_of_general): | |
266 Some new symbols used in `mswindows-message-box'. | |
267 | |
268 * glyphs.c: | |
269 * glyphs.c (Fset_image_instance_property): | |
270 put warning in this fun. | |
271 | |
272 * glyphs.h: | |
273 * glyphs.h (GLYPH_CACHEL_WIDTH): | |
274 * glyphs.h (GLYPH_CACHEL_ASCENT): | |
275 * glyphs.h (GLYPH_CACHEL): | |
276 * glyphs.h (GLYPH_CACHEL_GLYPH): | |
277 define error-checking versions to try to catch a bug i've seen -- | |
278 redisplay gets in an infinite loop because the glyph width of the | |
279 continuation glyph is 65535. | |
280 | |
281 * lisp.h: | |
282 Extern message-box stuff. | |
283 | |
284 * window.c (allocate_window): | |
285 * window.c (make_dummy_parent): | |
286 * window.c (Fset_window_configuration): | |
287 Use EQUAL not EQ for subwindow caches to make them work a bit | |
288 better. (Something is still very broken.) | |
289 | |
290 | |
291 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org> | |
292 | |
293 * glyphs.c (image_instantiate): Suppress gcc warnings. | |
294 (Fmake_image_instance): Fix doc string. | |
295 * specifier.c (Fmake_specifier): Ditto. | |
296 | |
297 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org> | |
298 | |
299 * paths.h.in (PATH_LOCK): Removed. | |
300 * config.h.in (LOCKDIR_USER_DEFINED): Removed. | |
301 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory. | |
302 | |
303 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org> | |
304 | |
305 * fns.c (Ffeaturep): Update e-mail address in doc-string. | |
306 Document (featurep '(and xemacs 21.02)). | |
307 | |
308 2000-05-09 Ben Wing <ben@xemacs.org> | |
309 | |
310 * buffer.c (complex_vars_of_buffer): | |
311 update modeline-format doc. | |
312 | |
313 * device.h: | |
314 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE. | |
315 | |
316 * emacs.c: | |
317 timeline of all released versions of Emacs, for use in creating | |
318 authorship comments and in synching up. | |
319 | |
320 * glyphs-widget.c (image_instantiator_buttons): | |
321 * glyphs-widget.c (image_instantiator_edit_fields): | |
322 * glyphs-widget.c (image_instantiator_combo_box): | |
323 * glyphs-widget.c (image_instantiator_scrollbar): | |
324 * glyphs-widget.c (image_instantiator_progress_guage): | |
325 * glyphs-widget.c (image_instantiator_tree_view): | |
326 * glyphs-widget.c (image_instantiator_tab_control): | |
327 * glyphs-widget.c (image_instantiator_labels): | |
328 * glyphs-widget.c (image_instantiator_layout): | |
329 * glyphs-widget.c (image_instantiator_native_layout): | |
330 rename decode_domain method to governing_domain. | |
331 | |
332 * glyphs.c: | |
333 * glyphs.c (Fvalid_image_instantiator_format_p): doc update. | |
334 * glyphs.c (add_entry_to_device_ii_format_list): | |
335 make sure we don't put an entry more than once into the list. | |
336 * glyphs.c (check_instance_cache_mapper): | |
337 ************************************************************* | |
338 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE | |
339 HAVE BEEN GETTING. | |
340 ************************************************************* | |
341 * glyphs.c (get_image_instantiator_governing_domain): | |
342 clean up, expand on new concept of governing domain. | |
343 * glyphs.c (instantiate_image_instantiator): | |
344 * glyphs.c (allocate_image_instance): | |
345 use governing_domain instead of cache_domain in naming. | |
346 * glyphs.c (Fvalid_image_instance_type_p): fix docs. | |
347 * glyphs.c (make_image_instance_1): | |
348 * glyphs.c (Fmake_image_instance): | |
349 allow for any domain (not just device), and process the | |
350 governing domain correctly. very big doc fix. | |
351 * glyphs.c (Fimage_instance_domain): | |
352 new primitive, to retrieve the governing domain of an image instance. | |
353 * glyphs.c (image_instantiate): | |
354 use new governing_domain stuff. this fixes a crash you could get | |
355 by instantiating certain widget glyphs in frame locales. (should | |
356 signal an error instead of crashing.) | |
357 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier. | |
358 * glyphs.c (Fglyphp): clean up doc. | |
359 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain. | |
360 * glyphs.c (syms_of_glyphs): | |
361 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p. | |
362 * glyphs.c (image_instantiator_format_create): add some comments about | |
363 bogus code. | |
364 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string | |
365 for current-display-table. (Apparently Hrjove implemented in 1998 a | |
366 design I wrote up in 1996, but didn't update the doc string.) | |
367 | |
368 * glyphs.h: clean up a doc string. | |
369 * glyphs.h (governing_domain): | |
370 * glyphs.h (struct image_instantiator_methods): | |
371 changes for governing_domain stuff. | |
372 | |
373 * gutter.c: | |
374 * gutter.c (Fgutter_specifier_p): | |
375 * gutter.c (Fgutter_size_specifier_p): | |
376 * gutter.c (Fgutter_visible_specifier_p): | |
377 * objects.c: | |
378 * objects.c (Fcolor_specifier_p): | |
379 * objects.c (Ffont_specifier_p): | |
380 * objects.c (Fface_boolean_specifier_p): | |
381 doc strings moved to make-*-specifier. | |
382 | |
383 * redisplay.c (add_disp_table_entry_runes_1): | |
384 * redisplay.c (generate_fstring_runes): | |
385 * redisplay.c (screen): | |
386 add random comments and doc strings. | |
387 | |
388 * specifier.c: | |
389 * specifier.c (Fmake_specifier): | |
390 major overhaul of this doc string. | |
391 | |
392 * specifier.c (Fvalid_specifier_domain_p): | |
393 comment about the bogosity of image instances being domains. | |
394 * specifier.c (decode_domain): | |
395 now non-static, used in glyphs.c. | |
396 * specifier.c (specifier_instance): | |
397 comment about the bogosity of image instances being domains. | |
398 * specifier.c (Fgeneric_specifier_p): | |
399 move doc string to make-generic-specifier. | |
400 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P): | |
401 rebackslashify. | |
402 | |
403 * specifier.h: | |
404 * specifier.h (DOMAIN_FRAME): | |
405 * specifier.h (DOMAIN_LIVE_P): | |
406 * specifier.h (DOMAIN_XDEVICE): | |
407 rebackslashify. | |
408 add comments about problems with these macros. | |
409 prototype for decode_domain. | |
410 | |
411 * toolbar.c: | |
412 * toolbar.c (Ftoolbar_specifier_p): | |
413 move doc string to `make-toolbar-specifier'. | |
414 | |
415 * window.c (window_unmap_subwindows_cache_mapper): | |
416 ************************************************************* | |
417 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE | |
418 HAVE BEEN GETTING. | |
419 ************************************************************* | |
420 | |
421 2000-05-09 Andy Piper <andy@xemacs.org> | |
422 | |
423 * glyphs.h: declare reset_frame_subwindow_instance_cache. | |
424 | |
425 * window.c (Fset_window_configuration): reset the frame subwindow | |
426 cache and re-initialize the window subwindow caches. | |
427 | |
428 * glyphs.c (reset_frame_subwindow_instance_cache): new function. | |
429 | |
430 2000-05-09 Ben Wing <ben@xemacs.org> | |
431 | |
432 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to | |
433 DWORD. | |
434 | |
435 2000-04-26 Mike Woolley <mike@bulsara.com> | |
436 | |
437 * ntheap.c: Changed recreate_heap to limit the amount reserved | |
438 for the heap to that which is actually available. Also now | |
439 displays a message box (with some dignostics) in the event that | |
440 it still can't start. | |
441 | |
442 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch> | |
443 | |
444 * callproc.c (Fold_call_process_internal): GCPRO path | |
445 | |
446 2000-05-08 Jan Vroonhof <jan@xemacs.org> | |
447 | |
448 Patch by Bill Perry. | |
449 | |
450 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call | |
451 back data instead of #ifdef. | |
452 (Fscrollbar_page_down): ditto. | |
453 | |
454 2000-05-07 Ben Wing <ben@xemacs.org> | |
455 | |
456 * buffer.h: | |
457 Kludge for defining Qmswindows_tstr. | |
458 | |
459 * nt.c: | |
460 * nt.c (open_input_file): | |
461 * nt.c (open_output_file): | |
462 * nt.c (rva_to_section): | |
463 * nt.c (mswindows_executable_type): | |
464 Move all memory-mapped-file routines here (some were in unexnt.c, | |
465 which is bad because they are used by process-nt.c, and unexnt | |
466 won't be around when portable dumping). Synched the above routines | |
467 with FSF 20.6. | |
468 | |
469 * nt.h: | |
470 Removed ifdef'd out bogus code. | |
471 Fixed some prototypes. | |
472 | |
473 * nt.h (file_data): | |
474 * nt.h (OFFSET_TO_RVA): | |
475 * nt.h (RVA_TO_OFFSET): | |
476 * nt.h (RVA_TO_PTR): | |
477 Moved the memory-mapped-file structures, macros and prototypes | |
478 here, to parallel nt.c. ntheap.h should really be removed | |
479 entirely, and it's a non-portable-dumper specific file. | |
480 | |
481 * ntheap.h (round_to_next): | |
482 Moved the memory-mapped-file structures, macros and prototypes | |
483 to nt.h. | |
484 | |
485 * ntproc.c (compare_env): | |
486 Moved rva_to_section and mswindows_executable_type to nt.c. | |
487 Moved compare_env to process-nt.c. | |
488 ntproc.c will die, one day. | |
489 | |
490 * ntproc.c (sys_spawnve): | |
491 Account for win32_ -> mswindows_. | |
492 | |
493 * process-nt.c: | |
494 * process-nt.c (struct nt_process_data): | |
495 * process-nt.c (ensure_console_window_exists): | |
496 * process-nt.c (compare_env): | |
497 * process-nt.c (nt_create_process): | |
498 * process-nt.c (nt_kill_process_by_pid): | |
499 * process-nt.c (syms_of_process_nt): | |
500 * process-nt.c (vars_of_process_nt): | |
501 Introduce variable `mswindows-quote-process-args', from FSF 20.6. | |
502 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization | |
503 changes). Eliminate our old `nt-quote-process-args' mechanism. | |
504 Synch up nt_create_process with FSF 20.6 sys_spawnve. | |
505 Move compare_env here from ntproc.c. | |
506 | |
507 * process.c (Fprocess_send_region): | |
508 Takes an optional fourth argument, BUFFER, which should fix some | |
509 problems with call-process. | |
510 | |
511 * syscommctrl.h: | |
512 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning. | |
513 | |
514 * syswindows.h: | |
515 Move ICC_BAR_CLASSES to syscommctrl.h. | |
516 Add preliminary macros for MSWindows/Mule. More to come. | |
517 | |
518 * unexnt.c: | |
519 * unexnt.c (unexec): | |
520 open_output_file moved to nt.c. | |
521 | |
522 | |
523 2000-05-05 Andy Piper <andy@xemacs.org> | |
524 | |
525 * window.c (window_unmap_subwindows_cache_mapper): remove the dead | |
526 instance from the frame cache also since GC may catch up too late | |
527 to make frame deletion sane. | |
528 | |
529 2000-05-04 Andy Piper <andy@xemacs.org> | |
530 | |
531 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks. | |
532 (x_finalize_image_instance): ungcpro on deletion. | |
533 | |
534 * glyphs.c (image_instantiator_format_create): give pointers a | |
535 query geometry method so that the geometry is at least set. | |
536 | |
537 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only | |
538 initialize layouts if using widgets. | |
539 | |
540 2000-05-03 Andy Piper <andy@xemacs.org> | |
541 | |
542 * nt.c: remove bogus reference to sysmmsystem.h | |
543 | |
544 * gui-x.c (popup_selection_callback): fix no selection abort. | |
545 | |
546 2000-05-02 Andy Piper <andy@xemacs.org> | |
547 | |
548 * glyphs-msw.c (mswindows_update_widget): cope with nil text. | |
549 (mswindows_widget_instantiate): ditto. | |
550 | |
551 * glyphs-widget.c (initialize_widget_image_instance): initialize | |
552 children correctly. | |
553 (widget_instantiate): cope with children and items in the same | |
554 instance. | |
555 | |
556 * glyphs.c (mark_image_instance): cope with children as a first | |
557 class member. | |
558 (image_instance_equal): ditto. | |
559 (image_instance_hash): ditto. | |
560 (image_instance_changed): ditto. | |
561 | |
562 2000-04-30 Andy Piper <andy@xemacs.org> | |
563 | |
564 * glyphs.c (subwindow_query_geometry): new function. Return some | |
565 defaults. | |
566 (subwindow_instantiate): don't assign dimensions if none have been | |
567 given. | |
568 (image_instantiator_format_create): add subwindow_query_geometry. | |
569 (print_image_instance): cope with layouts as widgets. | |
570 | |
571 2000-04-29 Andy Piper <andy@xemacs.org> | |
572 | |
573 * frame.c (delete_frame_internal): call | |
574 free_frame_subwindow_instance_cache so that all subwindows are | |
575 finalized before their parent. | |
576 (mark_frame): remove subwindow_cachels. | |
577 (Fmake_frame): remove subwindow_cachel manipulation. | |
578 (allocate_frame_core): subwindow_instance_cache is a weak list. | |
579 (delete_frame_internal): set subwindow_instance_cache to nil. | |
580 | |
581 * glyphs-msw.c (mswindows_finalize_image_instance): make double | |
582 finalization safe. | |
583 (mswindows_finalize_image_instance): use the device | |
584 not the domain as the domain may have died already. | |
585 | |
586 * glyphs-x.c (x_finalize_image_instance): ditto. | |
587 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH & | |
588 HEIGHT. | |
589 | |
590 * redisplay-output.c (redisplay_unmap_subwindows): update for | |
591 subwindow instance cache as a weak list. | |
592 (redisplay_unmap_subwindows_maybe): ditto. | |
593 (redisplay_unmap_subwindows_except_us): ditto. | |
594 | |
595 * glyphs.c (unmap_subwindow): error checking will check the domain | |
596 so don't deal with it here. Don't use cachels anymore. | |
597 (map_subwindow): ditto. | |
598 (update_subwindow_cachel_data): remove old accessor names. | |
599 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT. | |
600 (Fresize_subwindow): don't update cachel. | |
601 (mark_subwindow_cachels): | |
602 (update_subwindow_cachel_data): | |
603 (add_subwindow_cachel): | |
604 (get_subwindow_cachel_index): | |
605 (update_subwindow_cachel): | |
606 (reset_subwindow_cachels): | |
607 (mark_subwindow_cachels_as_not_updated): deleted. | |
608 (cache_subwindow_instance_in_frame_maybe): new function. Add a | |
609 subwindow instance to the frame cache. | |
610 (find_matching_subwindow): update for subwindow instance cache as | |
611 a weak list. | |
612 (update_widget_instances): ditto. | |
613 (image_instance_type_to_mask):inlined. | |
614 (free_frame_subwindow_instance_cache): new function. finalize all | |
615 subwindows that are instantiated. | |
616 | |
617 * glyphs.h (struct Lisp_Image_Instance): add display_data instead | |
618 of cachel information. | |
619 (IMAGE_INSTANCE_DISPLAY_X): | |
620 (IMAGE_INSTANCE_DISPLAY_Y): | |
621 (IMAGE_INSTANCE_DISPLAY_WIDTH): | |
622 (IMAGE_INSTANCE_DISPLAY_HEIGHT): | |
623 (XIMAGE_INSTANCE_DISPLAY_X): | |
624 (XIMAGE_INSTANCE_DISPLAY_Y): | |
625 (XIMAGE_INSTANCE_DISPLAY_WIDTH): | |
626 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors. | |
627 remove subwindow_cachel structure and function references. | |
628 (image_instance_type_to_mask): inline from glyphs.c | |
629 | |
630 * redisplay.c (redisplay_frame): remove subwindow_cachel | |
631 references. | |
632 | |
633 * frame.h (struct frame): remove subwindow_cachels. | |
634 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache. | |
635 | |
636 * frameslots.h: add subwindow_instance_cache. | |
637 | |
638 * window.c (replace_window): check subwindow cache of replacement. | |
639 (window_unmap_subwindows_cache_mapper): | |
640 (window_unmap_subwindows): new functions. Unmap all subwindows | |
641 cached on this window. | |
642 (mark_window_as_deleted): unmap all subwindows. | |
643 | |
644 2000-04-27 Andy Piper <andy@xemacs.org> | |
645 | |
646 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths. | |
647 | |
648 * glyphs-widget.c (widget_layout): return something. | |
649 (layout_layout): return something. Fail if not intialized. | |
650 (layout_query_geometry): ditto. | |
651 (image_instantiator_native_layout): new function. Initialized the | |
652 native layout type. | |
653 (widget_instantiate): don't do layout stuff here. | |
654 | |
655 * glyphs.c (instantiate_image_instantiator): reorded calling or | |
656 instantiate and post_instantiate with layout in between. | |
657 (image_instance_layout): be more selective about deciding whether | |
658 the layout has been done or not. | |
659 | |
660 * glyphs.h (struct image_instantiator_methods): return a value | |
661 from layout_method. | |
662 | |
663 2000-04-26 Andy Piper <andy@xemacs.org> | |
664 | |
665 * glyphs.c (allocate_image_instance): make initial width and | |
666 height unspecified. Set initialized to 0. | |
667 | |
668 * syscommctrl.h new file. Encapsulates commctrl.h. | |
669 | |
670 * syswindows.h new file. Encapsulates windows.h. | |
671 | |
672 * ntplay.c: use new syswindows.h and syscommctrl.h header. | |
673 * nt.c: ditto. | |
674 * console-msw.h: ditto. | |
675 | |
676 * redisplay-tty.c (tty_output_display_block): remove layout references. | |
677 | |
678 * glyphs-msw.c (mswindows_widget_instantiate): use the domain | |
679 window handle rather than just the frame. | |
680 | |
681 * glyphs.c (mark_image_instance): remove layout references. | |
682 (print_image_instance): ditto. | |
683 (image_instance_equal): ditto. | |
684 (image_instance_hash): ditto. | |
685 (decode_image_instance_type): ditto. | |
686 (encode_image_instance_type): ditto. | |
687 (image_instantiate): ditto. | |
688 (allocate_glyph): ditto. | |
689 (Fimage_instance_height): ditto. | |
690 (Fimage_instance_width): ditto. | |
691 (update_subwindow): ditto. | |
692 | |
693 * redisplay-x.c (x_output_display_block): recode for layouts as | |
694 widgets. | |
695 | |
696 * redisplay-output.c (redisplay_output_layout): recode for layouts | |
697 as widgets. | |
698 (compare_runes): remove layout references. | |
699 | |
700 * redisplay-msw.c (mswindows_output_display_block): recode for | |
701 layouts as widgets. | |
702 | |
703 * glyphs-widget.c (image_instantiator_layout): remove | |
704 layout_possible_dest_types. | |
705 (layout_possible_dest_types): deleted. | |
706 | |
707 * glyphs.h (image_instance_type): remove layout references. | |
708 (struct Lisp_Image_Instance): ditto. Add initialized flag. | |
709 (IMAGE_INSTANCE_INITIALIZED): new accessor. | |
710 (XIMAGE_INSTANCE_INITIALIZED): ditto. | |
711 | |
712 2000-04-25 Andy Piper <andy@xemacs.org> | |
713 | |
714 * glyphs-widget.c (image_instantiator_buttons): | |
715 (image_instantiator_edit_fields): | |
716 (image_instantiator_combo_box): | |
717 (image_instantiator_scrollbar): | |
718 (image_instantiator_progress_guage): | |
719 (image_instantiator_tree_view): | |
720 (image_instantiator_tab_control): | |
721 (image_instantiator_labels): | |
722 (image_instantiator_layout): call default post_instantiate method. | |
723 (widget_post_instantiate): new function. Simply lays out the | |
724 widgets. | |
725 | |
726 * glyphs.h (struct image_instantiator_methods): add | |
727 post_instantiate method. | |
728 | |
729 * glyphs.c (instantiate_image_instantiator): add post_instantiate | |
730 method calls. | |
731 | |
732 2000-04-23 Andy Piper <andy@xemacs.org> | |
733 | |
734 * glyphs.h (struct image_instantiator_methods): add | |
735 decode_domain_method. | |
736 (struct Lisp_Image_Instance): remove subwindow frame - it can be | |
737 derived from the domain. | |
738 (IMAGE_INSTANCE_FRAME): new accessor. | |
739 (XIMAGE_INSTANCE_FRAME): ditto. | |
740 | |
741 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME | |
742 instead of _SUBWINDOW_FRAME. | |
743 (finalize_image_instance): ditto. | |
744 (Fimage_instance_foreground): ditto. | |
745 (Fimage_instance_background): ditto. | |
746 (image_instantiate): ditto. | |
747 (update_subwindow_cachel): ditto. | |
748 (update_subwindow): ditto. | |
749 (unmap_subwindow): ditto. | |
750 (map_subwindow): ditto | |
751 (subwindow_instantiate): ditto. | |
752 * glyphs-msw.c (mswindows_update_widget): ditto. | |
753 (mswindows_progress_gauge_instantiate): ditto. | |
754 (mswindows_tab_control_update): ditto. | |
755 * glyphs-x.c (x_update_widget): ditto. | |
756 (x_widget_instantiate): ditto. | |
757 (x_tab_control_instantiate): ditto. | |
758 (x_tab_control_update): ditto. | |
759 * event-msw.c (mswindows_wnd_proc): ditto | |
760 | |
761 * glyphs-widget.c (image_instantiator_layout): use | |
762 subwindow_decode_domain. | |
763 (image_instantiator_buttons): ditto. | |
764 (image_instantiator_edit_fields): ditto. | |
765 (image_instantiator_combo_box): ditto. | |
766 (image_instantiator_scrollbar): ditto. | |
767 (image_instantiator_progress_guage): ditto. | |
768 (image_instantiator_tree_view): ditto. | |
769 (image_instantiator_tab_control): ditto. | |
770 (image_instantiator_labels): ditto. | |
771 (image_instantiator_layout): ditto. | |
772 | |
773 * glyphs.c: add instance error checking to many functions. | |
774 (instantiate_image_instantiator): decode device from cache_domain. | |
775 (image_instantiate): partially rewrite by using | |
776 decode_image_instantiator_domain to determine what domain the | |
777 instance needs to be cached in. | |
778 (decode_image_instantiator_domain): new function. Determine what | |
779 domain the image needs to be cached in. | |
780 (check_window_subwindow_cache): new error checking function. | |
781 (check_instance_cache_mapper): ditto. | |
782 (check_image_instance_structure): ditto. | |
783 (subwindow_decode_domain): new function. Encodes a window as a | |
784 subwindow's cache domain. | |
785 (image_instantiator_format_create): use it for text and | |
786 subwindows. | |
787 | |
788 2000-04-21 Andy Piper <andy@xemacs.org> | |
789 | |
790 * glyphs.c (image_instance_device): new function. | |
791 (image_instance_frame): new function. | |
792 (image_instance_window): new function. | |
793 (image_instance_live_p): new function. | |
794 | |
795 * window.c (mark_window_as_deleted): reset the subwindow_instance_ | |
796 cache to nil. | |
797 | |
798 * glyphs.h (struct Lisp_Image_Instance): device->domain. | |
799 (IMAGE_INSTANCE_DOMAIN): new accessor. | |
800 (XIMAGE_INSTANCE_DOMAIN): ditto. | |
801 | |
802 * glyphs-x.c (x_finalize_image_instance): device->domain. | |
803 | |
804 * glyphs-msw.c (init_image_instance_geometry): device->domain. | |
805 (mswindows_finalize_image_instance): ditto. | |
806 | |
807 * glyphs-eimage.c (jpeg_instantiate): device->domain. | |
808 (gif_instantiate): ditto. | |
809 (png_instantiate): ditto. | |
810 (tiff_instantiate): ditto. | |
811 | |
812 * glyphs.c (instantiate_image_instantiator): use domain rather | |
813 than device. | |
814 (mark_image_instance): device -> domain. | |
815 (print_image_instance): ditto. | |
816 (finalize_image_instance): ditto. | |
817 (image_instance_equal): ditto. | |
818 (allocate_image_instance): ditto. | |
819 (Fcolorize_image_instance): ditto. | |
820 (query_string_geometry): ditto. | |
821 (image_instantiate): ditto | |
822 (query_string_font): ditto. | |
823 (image_instantiate): ditto. | |
824 (update_subwindow): ditto. | |
825 (unmap_subwindow): ditto. | |
826 (map_subwindow): ditto. | |
827 (subwindow_instantiate): ditto. | |
828 | |
829 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder. | |
830 (DOMAIN_FRAME): ditto. | |
831 (DOMAIN_WINDOW): ditto. | |
832 (DOMAIN_LIVE_P): ditto. | |
833 (XDOMAIN_DEVICE): ditto. | |
834 (XDOMAIN_FRAME): ditto. | |
835 (XDOMAIN_WINDOW): ditto. | |
836 | |
837 * specifier.c (Fvalid_specifier_domain_p): add image instances as | |
838 a valid specifier domain. | |
839 | |
840 2000-04-19 Andy Piper <andy@xemacs.org> | |
841 | |
842 * glyphs-widget.c (syms_of_glyphs_widget): remove | |
843 widget-callback-current-channel. | |
844 (vars_of_glyphs_widget): ditto. | |
845 * glyphs.h: ditto | |
846 | |
847 * gui.c (get_gui_callback): revert to previous behaviour. | |
848 | |
849 2000-04-18 Andy Piper <andy@xemacs.org> | |
850 | |
851 * glyphs.h (struct Lisp_Image_Instance): add margin_width. | |
852 (IMAGE_INSTANCE_MARGIN_WIDTH): new. | |
853 (XIMAGE_INSTANCE_MARGIN_WIDTH): new. | |
854 | |
855 * glyphs.c (image_instance_equal): add margin_width. | |
856 (image_instance_hash): ditto. | |
857 | |
858 * glyphs-widget.c (widget_instantiate): deal with margin-width. | |
859 (layout_query_geometry): ditto. | |
860 (layout_layout): ditto. | |
861 (syms_of_glyphs_widget): add margin-width. | |
862 (image_instantiator_layout): allow margin-width. | |
863 | |
864 * glyphs.c (update_widget_instances): make a normal function. | |
865 (syms_of_glyphs): remove Qupdate_widget_instances. | |
866 * glyphs.h: ditto. | |
867 | |
868 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event | |
869 so that we don't corrupt ideas about the last event or | |
870 command. Remove widget-callback-current-channel fiddling. | |
871 * gui-msw.c (mswindows_handle_gui_wm_command): ditto. | |
872 | |
1 2000-05-01 Martin Buchholz <martin@xemacs.org> | 873 2000-05-01 Martin Buchholz <martin@xemacs.org> |
2 | 874 |
3 * XEmacs 21.2.33 is released. | 875 * XEmacs 21.2.33 is released. |
4 | 876 |
5 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org> | 877 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org> |