Mercurial > hg > xemacs-beta
comparison src/ChangeLog @ 404:2f8bb876ab1d r21-2-32
Import from CVS: tag r21-2-32
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:16:07 +0200 |
parents | 5a2589c672dc |
children | b8cc9ab3f761 |
comparison
equal
deleted
inserted
replaced
403:9f011ab08d48 | 404:2f8bb876ab1d |
---|---|
1 2000-03-20 Martin Buchholz <martin@xemacs.org> | |
2 | |
3 * XEmacs 21.2.32 is released. | |
4 | |
5 2000-03-12 Jan Vroonhof <vroonhof@math.ethz.ch> | |
6 | |
7 * sysdep.c: Include proper headers for mmap when pdumping() | |
8 | |
9 2000-03-20 Martin Buchholz <martin@xemacs.org> | |
10 | |
11 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA): | |
12 (DFC_MALLOC_USE_CONVERTED_DATA): | |
13 Add aliasing-safe casts to allow use with char* or unsigned char* | |
14 lvalues. | |
15 | |
16 * eldap.c (Fldap_open): | |
17 (Fldap_search_basic): | |
18 (Fldap_add): | |
19 (Fldap_modify): | |
20 Make C++-compilable. | |
21 Make sure GCPRO'ed variables are initialized. | |
22 Use temp variables to avoid repeated calls to Flength. | |
23 | |
24 2000-03-16 Martin Buchholz <martin@xemacs.org> | |
25 | |
26 * sysfile.h: | |
27 Make sure PATH_MAX is always defined. | |
28 Include limits.h for PATH_MAX. | |
29 Deprecate use of MAXPATHLEN. | |
30 | |
31 2000-03-10 Martin Buchholz <martin@xemacs.org> | |
32 | |
33 * emacs.c: Add reinit_vars_of_fileio. | |
34 * symsinit.h: Add reinit_vars_of_fileio. | |
35 * fileio.c (reinit_vars_of_fileio): New. | |
36 * fileio.c (Fmake_temp_name): | |
37 Initialize temp_name random number from microseconds to make | |
38 collisions even less likely. Initialize always at process startup | |
39 time. (make-temp-name) used to return the same file name twice in | |
40 a row when PDUMP. | |
41 Random stylistic fiddling. | |
42 Comment fixes. | |
43 | |
44 2000-03-20 Andy Piper <andy@xemacs.org> | |
45 | |
46 * glyphs.c (image_instantiate): allow text glyphs to be | |
47 instantiated in the minibuffer window. | |
48 | |
49 2000-03-19 Andy Piper <andy@xemacs.org> | |
50 | |
51 * glyphs.c (image_instance_hash): be careful about which items we | |
52 hash on. | |
53 | |
54 * glyphs-widget.c (tab_control_set_property): record into pending | |
55 items rather than the actual items. | |
56 | |
57 * glyphs-x.c (x_update_widget): use pending items to update with. | |
58 | |
59 * glyphs-msw.c (mswindows_tab_control_update): use pending items | |
60 to update with. | |
61 | |
62 * glyphs.c (mark_image_instance): mark pending items. | |
63 | |
64 * window.c (Fset_window_configuration): record the buffer. | |
65 (Fselect_window): totally revert previous change which breaks many | |
66 things. | |
67 | |
68 2000-03-18 Andy Piper <andy@xemacs.org> | |
69 | |
70 * glyphs-msw.c (mswindows_tab_control_update): force selected | |
71 item. | |
72 | |
73 * glyphs.c (image_instantiate): don't allow the minibuffer as a | |
74 window domain cache, otherwise we get inconsistencies at | |
75 startup. There is something fishy at startup which can lead to the | |
76 minibuffer being the selected window when the gutter content is | |
77 instantiated. | |
78 | |
79 * gui.c (parse_gui_item_tree_list): add probably unneccessary | |
80 gcpros. | |
81 (parse_gui_item_tree_children): ditto. | |
82 (parse_gui_item_tree_item): ditto. | |
83 | |
84 * glyphs.c (Fupdate_widget_instances): return something. | |
85 | |
86 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org> | |
87 | |
88 * window.c (Fselect_window): Undo 2000-03-17 change. | |
89 | |
90 2000-03-17 SL Baur <steve@musashimaru.m17n.org> | |
91 | |
92 * postgresql.c (Fpq_setenv): Remove this turkey when linking | |
93 against v7.0 libraries. Insta-coredump city until the postgres | |
94 folks fix it. | |
95 | |
96 2000-03-17 Andy Piper <andy@xemacs.org> | |
97 | |
98 * faces.c (complex_vars_of_faces): don't give the widget face an | |
99 inherited background pixmap. | |
100 | |
101 * glyphs-msw.c (mswindows_tab_control_instantiate): select the | |
102 selected item. | |
103 | |
104 * event-stream.c (Fdispatch_non_command_events): return something. | |
105 | |
106 * gutter.c (output_gutter): use widget face. | |
107 (clear_gutter): ditto. | |
108 | |
109 * NEWS: adjust again. | |
110 | |
111 * window.c (Fselect_window): make sure this runs to completion to | |
112 avoid oddities with Fset_window_configuration. | |
113 (Fcurrent_window_configuration): in general do not save the | |
114 minibuffer as the selected window. | |
115 | |
116 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase. | |
117 | |
118 2000-03-16 Olivier Galibert <galibert@pobox.com> | |
119 | |
120 * emacs.c (Frunning_temacs_p): Revert previous patch. | |
121 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds. | |
122 | |
123 2000-03-16 Andy Piper <andy@xemacs.org> | |
124 | |
125 * glyphs-x.c (x_tab_control_update): if no widget values then | |
126 return. | |
127 | |
128 * NEWS: update for new features. | |
129 | |
130 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a | |
131 synthetic event to the native system. | |
132 (reinit_vars_of_event_Xt): set force_event_pending to | |
133 emacs_Xt_force_event_pending. | |
134 | |
135 * events.h (struct event_stream): add force_event_pending. | |
136 | |
137 * specifier.c (recompute_one_cached_specifier_in_window): add | |
138 comment. | |
139 | |
140 * redisplay.c (redisplay_frame): don't call | |
141 update_frame_subwindows. Reset subwindow cachels when | |
142 subwindows_changed, removing this was an optimization too far. | |
143 | |
144 * redisplay-output.c (compare_runes): reorganize so that we catch | |
145 glyph changes when we want them. Set optimize_output when this | |
146 would help layouts. | |
147 (redisplay_output_layout): remove frame_really_changed, use | |
148 optimize_output instead. | |
149 | |
150 * redisplay-msw.c (mswindows_output_display_block): reset | |
151 optimize_output after outputting a glyph. | |
152 * redisplay-x.c (x_output_display_block): ditto. | |
153 * redisplay-tty.c (tty_output_display_block): ditto. | |
154 | |
155 * gutter.c: (specifier_vars_of_gutter): use new spec changed | |
156 functions. | |
157 (gutter_specs_changed): do specific gutter positions. | |
158 (top_gutter_specs_changed): new function. Only update the | |
159 specified gutter specs. | |
160 (bottom_gutter_specs_changed): ditto. | |
161 (left_gutter_specs_changed): ditto. | |
162 (right_gutter_specs_changed): ditto. | |
163 | |
164 * gui.c (gui_item_hash_internal): new function, does a real hash. | |
165 (gui_item_id_hash): use it. | |
166 (gui_item_hash): hash the eval'ed gui_item. | |
167 | |
168 * gui-x.c (popup_selection_callback): send an eval event to call | |
169 Fupdate_widget_instances. | |
170 | |
171 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event | |
172 to call Fupdate_widget_instances. | |
173 | |
174 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag. | |
175 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it. | |
176 | |
177 * glyphs.c: (update_frame_subwindows): deleted. | |
178 (Fupdate_widget_instances): new function for updating the dirty | |
179 state of widgets that might have changed. | |
180 (syms_of_glyphs): add Qupdate_widget_instances. | |
181 (full_list_hash): hash a list completely. | |
182 (image_instance_hash): use it for items and properties. | |
183 | |
184 * frame-msw.c (mswindows_size_frame_internal): remove unused | |
185 variable. | |
186 | |
187 * faces.h (struct face_cachel): fix comment. | |
188 | |
189 * event-stream.c (Fdispatch_non_command_events): new | |
190 function. Process non-command events, forcing an event cycle | |
191 beforehand. | |
192 (syms_of_event_stream): declare. | |
193 (event_stream_force_event_pending): new function. Force an event | |
194 on the native event queue so that an event cycle will occur next | |
195 time we check. | |
196 | |
197 * event-msw.c: | |
198 (struct ntpipe_shove_stream): | |
199 (mswindows_enqueue_dispatch_event): | |
200 (mswindows_dequeue_dispatch_event): | |
201 (mswindows_cancel_dispatch_event): | |
202 (mswindows_pump_outstanding_events): | |
203 (mswindows_drain_windows_queue): | |
204 (mswindows_handle_paint): | |
205 (mswindows_wnd_proc): | |
206 (mswindows_key_to_emacs_keysym): | |
207 (get_process_input_waitable): | |
208 (emacs_mswindows_delete_stream_pair): re-indent file. | |
209 (mswindows_need_event): do not process further fds if the windows | |
210 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This | |
211 fixes the 100% cpu problem. | |
212 (reinit_vars_of_event_mswindows): set force_event_pending to 0. | |
213 | |
214 2000-03-15 Olivier Galibert <galibert@pobox.com> | |
215 | |
216 * alloc.h: New. | |
217 * dumper.h: New. | |
218 * dumper.c: New. | |
219 | |
220 * emacs.c: Moved dump file searching to dumper.c. | |
221 (Frunning_temacs_p): Fixed. | |
222 | |
223 * alloc.c: Moved everything pdump-related to dumper.c. Removed | |
224 last_lrecord_type_index_assigned. | |
225 | |
226 2000-02-20 Olivier Galibert <galibert@pobox.com> | |
227 | |
228 * symsinit.h: Added reinit parameter to init_console_stream | |
229 declaration. | |
230 | |
231 * lisp.h: Added file parameter to pdump_load declaration. | |
232 | |
233 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id | |
234 support. Added dump file searching. | |
235 | |
236 * config.h.in: Added EMACS_PROGNAME. | |
237 | |
238 * console-stream.c (init_console_stream): Fix reinitialisation | |
239 when running from temacs. | |
240 | |
241 * alloc.c (pdump): Add id support. | |
242 (pdump_load): Add file parameter and signature/id support. | |
243 | |
244 * Makefile.in.in: Add full pdump support. | |
245 | |
246 2000-03-15 SL Baur <steve@musashimaru.m17n.org> | |
247 | |
248 * postgresql.c: Update documentation to reflect latest code | |
249 status. | |
250 (print_result): Show tuple counts in printed representation when | |
251 appropriate. | |
252 (Fpq_put_nbytes): MULE-ize. | |
253 (Fpq_get_line_async): Ditto. | |
254 | |
255 2000-03-14 SL Baur <steve@musashimaru.m17n.org> | |
256 | |
257 * postgresql.c (Fpq_lo_import): Fix return value. | |
258 Suggested by: Kenji Itoh <keit@tpj.co.jp>. | |
259 | |
260 2000-03-13 Ben Wing <ben@xemacs.org> | |
261 | |
262 * alloc.c (pdump_load): | |
263 Fix compile warning under mswin. | |
264 | |
265 2000-03-14 SL Baur <steve@musashimaru.m17n.org> | |
266 | |
267 * postgresql.c: Mule-ization, bug fixes. | |
268 Use PG_CODING to encapsulate coding system name changes. | |
269 Backport a version of TO_EXTERNAL format for 21.1/InfoDock. | |
270 (pg-coding-system): Create. | |
271 | |
272 (Fpq_conn_defaults): Mule-ize. | |
273 (Fpq_connectdb): Mule-ize & bug fix. | |
274 (Fpq_connect_start): Mule-ize. | |
275 (Fpq_set_client_encoding): Mule-ize. | |
276 (Fpq_finish): Document `DEAD' connection status. | |
277 (Fpq_clear): Ditto. | |
278 (Fpq_pgconn): Mule-ize. | |
279 (Fpq_exec): Mule-ize & bug fix. | |
280 (Fpq_send_query): Ditto. | |
281 (Fpq_get_result): Ditto. | |
282 (Fpq_res_status): Mule-ize. | |
283 (Fpq_result_error_message): Mule-ize. | |
284 (Fpq_ntuples): fix comments. | |
285 (Fpq_fname): Mule-ize. | |
286 (Fpq_fnumber): Mule-ize. | |
287 (Fpq_ftype): fix comments. | |
288 (Fpq_get_value): Mule-ize. | |
289 (Fpq_cmd_status): Ditto. | |
290 (Fpq_cmd_tuples): Ditto. | |
291 (Fpq_oid_value): Ditto. | |
292 (Fpq_notifies): Ditto. | |
293 (Fpq_lo_import): Ditto. | |
294 (Fpq_lo_export): Ditto. | |
295 (Fpq_get_line): Ditto. | |
296 (Fpq_put_line): Mule-ize and bug fix. | |
297 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system. | |
298 | |
299 2000-03-10 SL Baur <steve@musashimaru.m17n.org> | |
300 | |
301 * postgresql.c (vars_of_postgresql): Mule-ize. | |
302 (Fpq_conn_defaults): Ditto. | |
303 | |
304 2000-03-12 Ben Wing <ben@xemacs.org> | |
305 | |
306 * alloc.c (Fmake_byte_code): | |
307 * alloc.c (debug_string_purity_print): | |
308 * alloc.c (pdump_backtrace): | |
309 * alloc.c (pdump_get_indirect_count): | |
310 * alloc.c (pdump_register_sub): | |
311 * alloc.c (pdump_register_object): | |
312 * alloc.c (pdump_register_struct): | |
313 * alloc.c (pdump_dump_data): | |
314 * alloc.c (pdump_reloc_one): | |
315 Minor cleanups. | |
316 | |
317 * console-msw.c: | |
318 * console-msw.c (GetConsoleHwnd): | |
319 * console-msw.c (msw_hide_console): | |
320 * console-msw.c (msw_show_console): | |
321 * console-msw.c (msw_ensure_console_buffered): | |
322 * console-msw.c (msw_output_console_string): | |
323 * console-msw.c (console_type_create_mswindows): | |
324 | |
325 a) Added functions to manipulate the console window for use with | |
326 shell support. | |
327 | |
328 b) Added support for writing text to the console, which is now | |
329 used under Windows when xemacs is not being run non-interactively, | |
330 to write text that would otherwise be destined for stdout because | |
331 under these circumstances, text written to stdout tends to | |
332 disappear and not be seen. | |
333 | |
334 * console-msw.h: | |
335 * event-Xt.c: | |
336 * event-Xt.c (x_event_to_emacs_event): | |
337 * event-Xt.c (describe_event_window): | |
338 * events-mod.h (XEMACS_MOD_CONTROL): | |
339 * events.c: | |
340 * events.c (Fmake_event): | |
341 * events.c (character_to_event): | |
342 * events.c (event_to_character): | |
343 * events.c (format_event_object): | |
344 * events.c (Fevent_modifiers): | |
345 * events.h: | |
346 * events.h (struct key_data): | |
347 * events.h (struct button_data): | |
348 * events.h (struct misc_user_data): | |
349 * frame-x.c (Fcde_start_drag_internal): | |
350 * frame-x.c (Foffix_start_drag_internal): | |
351 * gpmevent.c (Freceive_gpm_event): | |
352 * keymap.c: | |
353 * keymap.c (bucky_sym_to_bucky_bit): | |
354 * keymap.c (control_meta_superify): | |
355 * keymap.c (make_key_description): | |
356 * keymap.c (keymap_lookup_directly): | |
357 * keymap.c (create_bucky_submap): | |
358 * keymap.c (keymap_store): | |
359 * keymap.c (define_key_check_and_coerce_keysym): | |
360 * keymap.c (define_key_parser): | |
361 * keymap.c (define_key_alternate_name): | |
362 * keymap.c (Fdefine_key): | |
363 * keymap.c (raw_lookup_key_mapper): | |
364 * keymap.c (struct map_keymap_unsorted_closure): | |
365 * keymap.c (map_keymap_unsorted_mapper): | |
366 * keymap.c (map_keymap_sort_predicate): | |
367 * keymap.c (map_keymap_sorted): | |
368 * keymap.c (accessible_keymaps_mapper_1): | |
369 * keymap.c (where_is_recursive_mapper): | |
370 * keymap.c (describe_map_mapper): | |
371 * keymap.c (describe_map_sort_predicate): | |
372 * keymap.c (describe_map): | |
373 * keymap.c (complex_vars_of_keymap): | |
374 And a number of other files, the key modifier preprocessor | |
375 constants that xemacs uses have names that conflict with constants | |
376 defined under MS Windows for other purposes, so they were renamed | |
377 to begin with the prefix XEMACS_. The variables that hold such | |
378 modifiers were changed to consistently be of type int to fix | |
379 various compile warnings. | |
380 | |
381 * console.c (complex_vars_of_console): | |
382 * device.c: | |
383 * device-msw.c: | |
384 * device-msw.c (mswindows_finish_init_device): | |
385 * device-msw.c (msw_get_workspace_coords): | |
386 * device-msw.c (mswindows_device_system_metrics): | |
387 and various other files, added support for a new | |
388 device property called offset-workspace which returns the position | |
389 of the upper left corner of the workspace area and goes along with | |
390 the existing size-workspace property. | |
391 | |
392 * dialog-msw.c: | |
393 * dialog-msw.c (push_bufbyte_string_as_unicode): | |
394 * dialog-msw.c (mswindows_popup_dialog_box): | |
395 Added support for XEmacs-style accelerator specifications in | |
396 button text. Note: I didn't add support for this under X Windows, | |
397 and somebody needs to do this. | |
398 | |
399 * dialog.c: | |
400 * dialog.c (Fpopup_dialog_box): | |
401 Documented the support for accelerators that was just mentioned. | |
402 | |
403 editfns.c (get_home_directory): Changed behavior under Windows | |
404 when HOME not defined; former behavior was irretrievably broken. | |
405 | |
406 * emacs.c: | |
407 * emacs.c (main_1): | |
408 * emacs.c (main): | |
409 * minibuf.c (clear_echo_area_internal): | |
410 * minibuf.c (echo_area_append): | |
411 * print.c: | |
412 * print.c (std_handle_out_external): | |
413 * print.c (std_handle_out_va): | |
414 * print.c (fatal): | |
415 * print.c (write_string_to_stdio_stream): | |
416 * print.c (output_string): | |
417 * print.c (debug_print): | |
418 * print.c (debug_backtrace): | |
419 * print.c (debug_short_backtrace): | |
420 Cleaned up the code that prints text to stdout so that this can be | |
421 changed to output into a console window instead under MS Windows, | |
422 as described above. | |
423 | |
424 * eval.c: | |
425 * eval.c (DEFEND_AGAINST_THROW_RECURSION): | |
426 * eval.c (internal_catch): | |
427 * eval.c (unwind_to_catch): | |
428 * eval.c (throw_or_bomb_out): | |
429 * eval.c (condition_case_1): | |
430 * eval.c (signal_1): | |
431 * eval.c (check_error_state_sanity): | |
432 * eval.c (call_with_suspended_errors_1): | |
433 * eval.c (call_with_suspended_errors): | |
434 * eval.c (reinit_vars_of_eval): | |
435 Added code to catch throw loops and check for a pesky bug that may | |
436 be gone now. | |
437 | |
438 * event-msw.c: | |
439 * event-msw.c (key_needs_default_processing_p): | |
440 * event-msw.c (mswindows_wnd_proc): | |
441 * event-msw.c (mswindows_modifier_state): | |
442 * event-msw.c (emacs_mswindows_quit_p): | |
443 * event-msw.c (vars_of_event_mswindows): | |
444 a) Added support for using the alt key to select menu items as is | |
445 standard under MS Windows. This is controlled using the variable | |
446 menu-accelerator-enabled, just like under X Windows. There is an | |
447 option on the options menu to turn this support on. I really | |
448 think that it should be on by default under Windows, but I'm not | |
449 going to make this change yet. | |
450 | |
451 b) Added support for dynamic display size changes under Windows. | |
452 | |
453 * event-stream.c: | |
454 * event-stream.c (maybe_echo_keys): | |
455 * event-stream.c (Fnext_event): | |
456 * event-stream.c (command_builder_find_leaf): | |
457 * event-stream.c (lookup_command_event): | |
458 * event-stream.c (execute_command_event): | |
459 * event-stream.c (pre_command_hook): | |
460 * event-stream.c (post_command_hook): | |
461 * event-stream.c (syms_of_event_stream): | |
462 * event-stream.c (vars_of_event_stream): | |
463 * event-stream.c (complex_vars_of_event_stream): | |
464 * events.h (struct command_builder): | |
465 | |
466 a) Tried to clean up a little bit the horribly written x-specific | |
467 accelerator code that crept into this file. I moved this code | |
468 into menubar-x.c where it belongs. I also needed to move the | |
469 command builder structure into the file events.h because it is | |
470 accessed directly by this accelerator code. What I didn't do, but | |
471 which should be done at some point, is to properly abstract this | |
472 code using device methods instead of the kludgy way that it | |
473 currently hooks into the event code. | |
474 | |
475 b) Added the lisp variables this-command-properties and | |
476 last-command- properties, which should be used to synchronize two | |
477 adjacent commands in preference to playing games with the variable | |
478 this-command, which is typically what happens. | |
479 | |
480 c) Added some slightly nasty code to hook into the lisp support | |
481 for shifted- motion-key selection. This is actually necessary for | |
482 somewhat complicated reasons, which are described in | |
483 simple.el. (NB: I think the proper thing would be to have the code | |
484 that calls the pre and post command hooks also call out to generic | |
485 lisp functions in simple.el, where all built-in stuff could be | |
486 added. I will think about this more.) | |
487 | |
488 * event-unixoid.c (poll_fds_for_input): | |
489 * lread.c (readchar): | |
490 * redisplay-tty.c (tty_clear_frame): | |
491 * redisplay-x.c (x_get_gc): | |
492 * signal.c (interrupt_signal): | |
493 And a whole bunch of other files: fixed up places that printed | |
494 directly to stderr to instead call the function stderr_out so that | |
495 the changes I made under Windows work correctly. | |
496 | |
497 * filemode.c (mode_string): | |
498 Warning fixes. | |
499 | |
500 * frame-msw.c: | |
501 * frame-msw.c (mswindows_size_frame_internal): | |
502 Fixed the computation of frame size and position to keep the frame | |
503 within the workspace area, rather than within the physical | |
504 dimensions of the screen, so that the frame doesn't overlap window | |
505 manager decorations, such as the start menu and toolbar, typically | |
506 at the bottom of the screen. | |
507 | |
508 * frame.c (vars_of_frame): | |
509 Changed the default frame title format under MS Windows to consist | |
510 of buffername-XEmacs, which is standard under MS Windows. I think | |
511 it might be a good idea to change this everywhere because I think | |
512 it is superior to the current frame title format, but this is the | |
513 kind of change that is likely to cause some people to get annoyed, | |
514 so I'm not making it. | |
515 | |
516 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings. | |
517 | |
518 * gui-msw.c (mswindows_handle_gui_wm_command): | |
519 Fixed compile warnings. | |
520 | |
521 * gui-x.c: | |
522 * gui-x.c (strdup_and_add_accel): | |
523 * gui-x.c (button_item_to_widget_value): | |
524 * gui-x.h: | |
525 Added code to automatically put an accelerator onto the beginning | |
526 of menu items that don't have one as is now the standard, and is | |
527 described more later. Also fixed things so that the menu item | |
528 name can be an evaluated expression, again a new standard. | |
529 | |
530 * gui.c: | |
531 * gui.c (gui_item_add_keyval_pair): | |
532 * gui.c (make_gui_item_from_keywords_internal): | |
533 * gui.c (gui_add_item_keywords_to_plist): | |
534 * gui.c (gui_item_accelerator): | |
535 * gui.c (gui_name_accelerator): | |
536 * gui.c (gui_item_included_p): | |
537 * gui.c (gui_item_display_flush_left): | |
538 * gui.c (gui_item_display_flush_right): | |
539 * gui.c (parse_gui_item_tree_item): | |
540 * gui.c (parse_gui_item_tree_children): | |
541 * gui.c (parse_gui_item_tree_list): | |
542 Mule-ized. Cleanup. GCPRO addition. | |
543 | |
544 * line-number.c (buffer_line_number): | |
545 * lisp.h: | |
546 * lisp.h (EMACS_INT_MAX): | |
547 Added the manifest constant EMACS_INT_MIN corresponding to the | |
548 existing constant EMACS_INT_MAX. This is partially to fix compile | |
549 warnings under Windows, and partly for cleanliness. | |
550 | |
551 * menubar-msw.c: | |
552 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH): | |
553 * menubar-msw.c (msw_translate_menu_or_dialog_item): | |
554 * menubar-msw.c (displayable_menu_item): | |
555 * menubar-msw.c (populate_menu_add_item): | |
556 * menubar-msw.c (populate_or_checksum_helper): | |
557 * menubar-msw.c (populate_menu): | |
558 * menubar-msw.c (update_frame_menubar_maybe): | |
559 * menubar-msw.c (prune_menubar): | |
560 * menubar-msw.c (msw_char_is_accelerator): | |
561 * menubar-msw.c (unsafe_handle_wm_initmenu_1): | |
562 * menubar-msw.c (mswindows_handle_wm_command): | |
563 * menubar-msw.c (mswindows_handle_wm_initmenupopup): | |
564 * menubar-msw.c (mswindows_handle_wm_initmenu): | |
565 * menubar-msw.c (mswindows_update_frame_menubars): | |
566 * menubar-msw.c (mswindows_free_frame_menubars): | |
567 * menubar-msw.c (mswindows_popup_menu): | |
568 Fixed a bug in handling accelerators where an extra character | |
569 would be displayed in the menu item. Also generalized the | |
570 function displayable_menu_item because it is now used by the | |
571 dialog box code as well. And finally, added code in the functions | |
572 that create the menubar to extract a list of accelerators for the | |
573 top level menubar, which is used in the event code to determine | |
574 whether a particular alt-key combination should be used to invoke | |
575 a menu item, or should be passed through to access the standard | |
576 XEmacs keymap binding for this key combination. | |
577 | |
578 Much needed GCPROing. | |
579 | |
580 * menubar-x.c: | |
581 * menubar-x.c (menu_item_descriptor_to_widget_value_1): | |
582 * menubar-x.c (menu_item_descriptor_to_widget_value): | |
583 * menubar-x.c (restore_in_menu_callback): | |
584 * menubar-x.c (x_popup_menu): | |
585 * menubar-x.c (menu_move_up): | |
586 * menubar-x.c (menu_move_down): | |
587 * menubar-x.c (menu_move_left): | |
588 * menubar-x.c (menu_move_right): | |
589 * menubar-x.c (menu_select_item): | |
590 * menubar-x.c (command_builder_operate_menu_accelerator): | |
591 * menubar-x.c (menu_accelerator_junk_on_error): | |
592 * menubar-x.c (command_builder_find_menu_accelerator): | |
593 * menubar-x.c (Faccelerate_menu): | |
594 * menubar.h: | |
595 Moved a whole bunch of code here that was previously in | |
596 event-stream.c as described above. There is also code connected | |
597 to the new standard of adding an accelerator to the beginning of | |
598 menu items that don't have one as described above and below. | |
599 | |
600 * menubar.c: | |
601 * menubar.c (menu_parse_submenu_keywords): | |
602 * menubar.c (Fmenu_find_real_submenu): | |
603 * menubar.c (Fnormalize_menu_item_name): | |
604 * menubar.c (syms_of_menubar): | |
605 * menubar.c (vars_of_menubar): | |
606 * menubar.c (complex_vars_of_menubar): | |
607 | |
608 a) Cleaned up a bunch of documentation and improved it. | |
609 | |
610 b) XEmacs now automatically adds an accelerator onto the beginning | |
611 of any menu items that don't have one. I did this because there | |
612 will inevitably be some menu items on the main menubar that don't | |
613 have accelerators on them because the package that adds that | |
614 particular menu item hasn't yet been fixed up to have accelerators | |
615 in them and it looked rather strange to have some items with and | |
616 some items without accelerators, especially since even in items | |
617 without accelerators, you can, at least under windows, still | |
618 access the item through an accelerator corresponding to the first | |
619 character in the item's name. If people don't like this behavior, | |
620 I can add a variable to turn it off optionally, but I'm not sure | |
621 this is a good idea because we really do need to have accelerators | |
622 on all of the menu items, and if a package doesn't like the | |
623 accelerators being put on the first character, then it should put | |
624 the accelerators where they belong. | |
625 | |
626 c) I made a behavior change, which is that the descriptor that | |
627 specifies the text of the menu item, which formerly was just a | |
628 string, can now also be an evaluated expression. This makes this | |
629 descriptor parallel with all of the others, which could also be | |
630 evaluated expressions. This also obviates the need for the | |
631 keyword :label, which was previously listed in the documentation | |
632 as unimplemented, and which was for the same purpose. | |
633 | |
634 d) GCPROing. | |
635 | |
636 * ntproc.c: | |
637 * ntproc.c (new_child): | |
638 * ntproc.c (sys_spawnve): | |
639 * ntproc.c (find_child_console): | |
640 * ntproc.c (sys_kill): | |
641 Fixed compile warnings. By the way, this file should really go | |
642 away entirely, and this will happen as soon as Kirill makes his | |
643 final round of process cleanups, which affect the function | |
644 call-process. | |
645 | |
646 * process-nt.c: | |
647 * process-nt.c (struct nt_process_data): | |
648 * process-nt.c (find_process_from_pid): | |
649 * process-nt.c (send_signal_the_nt_way): | |
650 * process-nt.c (enable_child_signals): | |
651 * process-nt.c (find_child_console): | |
652 * process-nt.c (send_signal_the_95_way): | |
653 * process-nt.c (nt_finalize_process_data): | |
654 * process-nt.c (ensure_console_window_exists): | |
655 * process-nt.c (nt_create_process): | |
656 * process-nt.c (nt_kill_child_process): | |
657 * process-nt.c (nt_kill_process_by_pid): | |
658 * process-nt.c (nt_open_network_stream): | |
659 * process-nt.c (vars_of_process_nt): | |
660 Copied over code from Emacs 20.5 to correctly send signals to sub- | |
661 processes under Windows 95. Also added code to automatically | |
662 create and hide console window when a sub-process is created under | |
663 Windows 95, which obviates the need for the separate runemacs.exe | |
664 executable, and finally implemented some variables that were | |
665 implemented in Emacs 20.5, but previously not in XEmacs. These | |
666 include mswindows- start-process-share-console and | |
667 mswindows-start-process-inherit-error-mode. (Both of these only | |
668 apply to Windows 95.) | |
669 | |
670 * regex.c (regex_compile): Fixed a compile warning. | |
671 | |
672 * select-msw.c: | |
673 * select-msw.c (mswindows_own_selection): | |
674 * select-msw.c (mswindows_get_foreign_selection): | |
675 * select-msw.c (mswindows_disown_selection): | |
676 * select-msw.c (console_type_create_select_mswindows): | |
677 * select-msw.c (syms_of_select_mswindows): | |
678 Cleaned up the file and implemented the device method | |
679 selection_exists_p, which had accidentally been left out. Also | |
680 removed four lisp functions that were remnants from before the | |
681 time when the selection code was properly device abstracted. | |
682 These functions are no longer needed because there are generic | |
683 equivalents, and because they were added recently and don't exist | |
684 in FSF Emacs, I don't think there's any problem with just deleting | |
685 them. | |
686 | |
687 * sysdep.c: | |
688 * sysdep.c (sys_subshell): | |
689 Fixed a compile warning, although in this case there's probably | |
690 something wrong with this code, and it ought to be looked into | |
691 more thoroughly by somebody who understands it. | |
692 | |
693 * window.c: | |
694 * window.c (Fwindow_text_area_height): | |
695 * window.c (Fwindow_width): | |
696 * window.c (Fwindow_full_width): | |
697 * window.c (Fwindow_pixel_width): | |
698 * window.c (debug_print_window): | |
699 * window.c (syms_of_window): | |
700 Added functions window-text-area-height and window-full-width, | |
701 which are functions for returning various width and height | |
702 characteristics of a window. (One of these functions is necessary | |
703 for making the file dialog box work correctly, and the other one | |
704 was added for completeness.) Also added a table to the | |
705 documentation for window-height which describes the entire scheme | |
706 for accessing width and height characteristics of a window. | |
707 | |
708 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
709 | |
710 * nt.c (fstat): Added a comment for another problem with | |
711 non-encapsulated [f]stat(), reported by Adrian Aichner | |
712 <aichner@ecf.teradyne.com>. | |
713 | |
714 2000-03-11 Andy Piper <andy@xemacs.org> | |
715 | |
716 * window.c (make_dummy_parent): initialize subwindow instance | |
717 cache. | |
718 (Fset_window_configuration): zero extent_modiff. | |
719 | |
720 2000-03-10 Andy Piper <andy@xemacs.org> | |
721 | |
722 * redisplay.c (Fredraw_frame): reset the changed_set flags so that | |
723 more changes can be triggered. | |
724 (Fredisplay_frame): ditto. | |
725 (Fredraw_device): ditto. | |
726 (Fredisplay_device): ditto. | |
727 (redisplay_frame): make non-static. | |
728 (redisplay_frame): call update_frame_gutter_geometry outside of | |
729 display proper. | |
730 | |
731 * gutter.h: declare update_frame_gutter_geometry. | |
732 | |
733 * redisplay.h: declare redisplay_frame. | |
734 | |
735 * gutter.c (update_frame_gutter_geometry): move geometry changes | |
736 in update_frame_gutters here. Geometry changes can only occur | |
737 outside of redisplay. | |
738 (update_frame_gutters): remove geometry change code. | |
739 (Fredisplay_gutter_area): make sure that we are in display when we | |
740 update and that we have flushed any size changes. | |
741 | |
742 2000-03-11 Andy Piper <andy@xemacs.org> | |
743 | |
744 * alloc.c (pdump_dump_data): remove i & count shadows. | |
745 | |
746 2000-02-27 Mike Alexander <mta@arbortext.com> | |
747 | |
748 * sysdep.h: Declare pdump_read_file | |
749 | |
750 * sysdep.c (pdump_read_file): New function | |
751 | |
752 * alloc.c (pdump_load): Call pdump_read_file to get the portable | |
753 dump data | |
754 | |
755 2000-03-10 SL Baur <steve@musashimaru.m17n.org> | |
756 | |
757 * lrecord.h: add `lrecord_type_pgsetenv'. | |
758 | |
759 2000-03-08 SL Baur <steve@musashimaru.m17n.org> | |
760 | |
761 * symsinit.h: declare (vars|syms)_of* functions. | |
762 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'. | |
763 | |
764 2000-03-06 SL Baur <steve@musashimaru.m17n.org> | |
765 | |
766 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7 | |
767 | |
768 * inline.c: Include postgresql.h lrecord stuffs to placate buggy | |
769 GCCs. | |
770 | |
771 * emacs.c (main_1): Call postgres initialization code. | |
772 | |
773 * postgresql.h: New file. PostgreSQL RDBMS support. | |
774 * postgresql.c: New file. | |
775 | |
776 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org> | |
777 | |
778 * redisplay-output.c (redisplay_output_display_block): Disable | |
779 redundant code. | |
780 | |
781 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org> | |
782 | |
783 * mule-canna.c (Fcanna_henkan_region): Translate doc-string. | |
784 (Fcanna_henkan_next): Ditto. | |
785 (Fcanna_bunsetu_henkou): Ditto. | |
786 (Fcanna_henkan_kakutei): Ditto. | |
787 (Fcanna_henkan_end): Ditto. | |
788 (Fcanna_henkan_quit): Ditto. | |
789 (Fcanna_henkan_next): Set retun value correctly. | |
790 (c2mu): Use unsigned char instead of signed char. | |
791 | |
792 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org> | |
793 | |
794 * emacs.c (main_1): Always call syms_of_gui. | |
795 * inline.c: include gui.h | |
796 | |
797 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org> | |
798 | |
799 * redisplay.c (Vvisible_bell): Renamed from visible_bell and | |
800 converted to Lisp_Object. | |
801 (Qtop_bottom): New variable. | |
802 (syms_of_redisplay): Initialize it. | |
803 * redisplay.h (Vvisible_bell): Ditto. | |
804 * sound.c (ding): Ditto and check if Vvisible_bell is nil. | |
805 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom, | |
806 only flash top and bottom. | |
807 | |
808 2000-03-08 Andy Piper <andy@xemacs.org> | |
809 | |
810 * buffer.c (Frename_buffer): record new buffer name the right way. | |
811 | |
812 2000-03-08 Andy Piper <andy@xemacs.org> | |
813 | |
814 * glyphs.c (update_subwindow): increase hash depth so that widget | |
815 items get picked up properly. | |
816 | |
817 * redisplay-output.c (compare_runes): increase hash depth so that | |
818 widget items get picked up properly. | |
819 | |
820 2000-03-08 Andy Piper <andy@xemacs.org> | |
821 | |
822 * gutter.c (output_gutter): add some debug. | |
823 | |
824 * glyphs.h (struct Lisp_Image_Instance): add display_hash. | |
825 (IMAGE_INSTANCE_DISPLAY_HASH): new macro. | |
826 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto. | |
827 | |
828 * redisplay-output.c (compare_runes): use display_hash to | |
829 determine if glyphs really are not the same. | |
830 | |
831 * glyphs.c (update_subwindow): check display_hash to see if | |
832 anything really needs to be updated. If not then do | |
833 nothing. Record the display_hash after updating. | |
834 (image_instance_equal): compare the image_instance face also. | |
835 | |
836 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org> | |
837 | |
838 * redisplay.h: Fix comment style. | |
839 | |
840 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
841 | |
842 * consle-msw.h (struct mswindows_frame): | |
843 Added new member paint_pending to indicate whether a WM_PAINT | |
844 magic event has been queued for this frame. | |
845 | |
846 * event-msw.c (mswindows_drain_windows_queue): | |
847 Don't queue a WM_PAINT magic event if one is already queued. | |
848 (emacs_mswindows_handle_magic_event): clear paint_pending flag. | |
849 | |
850 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag. | |
851 | |
852 2000-03-07 Didier Verna <didier@xemacs.org> | |
853 | |
854 * dired.c: #include `regex.h' after `sysfile.h'. | |
855 | |
856 2000-03-06 Martin Buchholz <martin@xemacs.org> | |
857 | |
858 * sound.c (init_nas_sound): Fix compiler warning. | |
859 | |
860 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New. | |
861 (FREE_STRUCT_P): | |
862 (MARK_STRUCT_AS_FREE): | |
863 (MARK_STRUCT_AS_NOT_FREE): | |
864 Make `gcc -fstrict-aliasing' work properly. | |
865 | |
866 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
867 | |
868 * device-msw.c (mswindows_finish_init_device): Call CoInitialize(). | |
869 (mswindows_delete_device): Call CoUnnitialize(). | |
870 | |
871 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts. | |
872 | |
873 2000-02-25 <CraigL@DyCon.com> | |
874 | |
875 * process-nt.c: MinGW now has <shellapi.h>, but still needs | |
876 <errno.h>. | |
877 | |
878 * sysdep.c: This extern declaration for environ prevents MinGW | |
879 from finding the variable in CRTDLL.DLL. | |
880 | |
881 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's | |
882 windows headers. | |
883 (SHGFI_EXETYPE): .. | |
884 (WM_MOUSEWHEEL): .. | |
885 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL | |
886 definitions. | |
887 (MMRESULT): Removed, now defined in cygwin's windows headers. | |
888 (TIMECAPS): .. | |
889 (uid_t,gid_t,pid_t,ssize_t): .. | |
890 (_timeb): Removed, MinGW defines both _timeb and timeb. | |
891 (HAVE_H_ERRNO): Added. | |
892 (HAVE_TZNAME): Added, configure is not detecting this. | |
893 | |
894 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org> | |
895 | |
896 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro. | |
897 * syntax.c (syntax_match): Use it. | |
898 | |
899 * cmds.c: Import auto-fill-chars from FSF Emacs. | |
900 (Vauto_fill_chars): New variables. | |
901 (internal_self_insert): Check Vauto_fill_chars. | |
902 (vars_of_cmds): | |
903 Declare auto-fill-chars as a Lisp variable and initialize it. | |
904 | |
905 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
906 | |
907 * fileio.c (Fmake_symbolic_link): | |
908 (Ffile_symlink_p): | |
909 Run handlers even if local machine doesn't have symlinks. | |
910 | |
911 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
912 | |
913 * event-msw.c (mswindows_drain_windows_queue): | |
914 Don't generate paint magic events for non-XEmacs frames. | |
915 | |
916 2000-03-05 Andy Piper <andy@xemacs.org> | |
917 | |
918 * redisplay.c (redisplay_frame): generate_displayable_area and | |
919 friends assumes that we are not in GC, we therefore have to make | |
920 sure that this doesn't happen. | |
921 | |
922 * gutter.c (calculate_gutter_size): generate_displayable_area | |
923 assumes that we are not in GC, we therefore have to make sure that | |
924 this doesn't happen. | |
925 | |
926 2000-03-05 Martin Buchholz <martin@xemacs.org> | |
927 | |
928 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr | |
929 | |
930 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch> | |
931 | |
932 * redisplay.c (regenerate_window): Make sure we set a sane value | |
933 for end_pos even if we jump out of the loop. | |
934 (regenerate_window): Answer Ben's question :-). | |
935 (start_end_of_last_line): Add may_error argument. | |
936 (start_of_last_line): | |
937 (end_of_last_line): Pass may_error = 0. | |
938 (end_of_last_line_may_error): New function. | |
939 (pixel_to_glyph_translation): Use it, so we don't crash in | |
940 event_to_glyph. | |
941 | |
942 2000-03-04 Andy Piper <andy@xemacs.org> | |
943 | |
944 * window.h (struct window): add gutter_extent_modiff. | |
945 | |
946 * window.c (allocate_window): zero out gutter_extent_modiff. | |
947 | |
948 * redisplay.h: declare sync_display_line_structs. | |
949 | |
950 * redisplay.c (add_glyph_rune): add a better comment. | |
951 | |
952 * redisplay-output.c (sync_display_line_structs): made non-static. | |
953 (compare_runes): remove unneccesary glyph cachel access. | |
954 | |
955 * gutter.h: declare gutter_extent_signal_changed_region_maybe. | |
956 | |
957 * gutter.c (output_gutter): don't output the gutter if extent | |
958 changes only involve extents in buffers. use 4 sets of display | |
959 lines. | |
960 (gutter_extent_signal_changed_region_maybe): new function. Mark | |
961 extents in gutters as changed. | |
962 (update_frame_gutters): use 4 sets of display lines. | |
963 (reset_gutter_display_lines): ditto. | |
964 (free_frame_gutters): ditto. | |
965 (redraw_exposed_gutter): force output of gutters. | |
966 | |
967 * frame.h (struct frame): add 4 sets of gutter display lines. | |
968 | |
969 * extents.c: (extent_changed_for_redisplay): signal changes to | |
970 extents in strings in the gutter as well as extents in buffers. | |
971 | |
972 2000-03-02 Andy Piper <andy@xemacs.org> | |
973 | |
974 * gutter.c (specifier_vars_of_gutter): cosmetic changes. | |
975 | |
976 * frame.c (Fmake_frame): make sure the gutters get initialized | |
977 after the frame is visible. | |
978 (set_frame_selected_window): re-arrange compilation macros a | |
979 little. | |
980 (change_frame_size_1): mark gutters changed. | |
981 | |
982 * device.c (Fset_device_class): mark gutters changed. | |
983 | |
984 2000-03-01 Andy Piper <andy@xemacs.org> | |
985 | |
986 * window.c (window_top_frame_gutter_height): deleted. | |
987 (window_bottom_frame_gutter_height): ditto. | |
988 (window_left_frame_gutter_height): ditto. | |
989 (window_right_frame_gutter_height): ditto. | |
990 (window_top_gutter_height): don't use them. | |
991 (window_bottom_gutter_height): ditto. | |
992 (window_left_gutter_width): ditto. | |
993 (window_right_gutter_width): ditto. | |
994 (Fsplit_window): ditto. | |
995 (Fwindow_pixel_edges): don't use border dimensions here. | |
996 | |
997 * scrollbar.c (update_scrollbar_instance): don't take gutters into account. | |
998 (update_scrollbar_instance): ditto. | |
999 | |
1000 * redisplay.c (generate_modeline): don't take gutters into account. | |
1001 (generate_modeline): ditto. | |
1002 (redisplay_frame): small gutter display optimisation. | |
1003 | |
1004 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account. | |
1005 | |
1006 * redisplay-msw.c (mswindows_output_vertical_divider): don't take | |
1007 gutters into account. | |
1008 | |
1009 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks | |
1010 for window position and type. | |
1011 | |
1012 * gutter.c (get_gutter_coords): fix for frame gutters. | |
1013 (update_frame_gutters): update frame geometry if the gutters have | |
1014 changed. | |
1015 (init_frame_gutters): record current gutter geometries. | |
1016 | |
1017 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused | |
1018 var. | |
1019 (mswindows_widget_instantiate): ditto. | |
1020 | |
1021 * frame.h (struct frame): add current_gutter_bounds. | |
1022 | |
1023 * frame.c (change_frame_size_1): position window and minibuffer | |
1024 appropriately taking into account the frame gutters. | |
1025 | |
1026 * frame-x.c: (x_initialize_frame_size): take into account the | |
1027 frame gutters. | |
1028 | |
1029 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org> | |
1030 | |
1031 * emacs.c (data-directory): Xref `locate-data-file' in docstring. | |
1032 | |
1033 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org> | |
1034 | |
1035 * alloc.c (dumpopaquevec): Increase dimension for --with-canna. | |
1036 | |
1037 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp> | |
1038 | |
1039 * file-coding.c (reset_decoding_stream): Clear previous | |
1040 detection state when autodetect. | |
1041 | |
1042 2000-02-29 Didier Verna <didier@xemacs.org> | |
1043 | |
1044 * extents.c (set_extent_glyph_1): don't require extents to be | |
1045 attached. | |
1046 | |
1047 2000-02-27 Andy Piper <andy@xemacs.org> | |
1048 | |
1049 * gutter.c (Fset_default_gutter_position): don't default left and | |
1050 right gutter visibility to t. | |
1051 (Fset_default_gutter_position): run | |
1052 default-gutter-position-changed-hook. | |
1053 (syms_of_gutter): add default-gutter-position-changed-hook. | |
1054 | |
1055 2000-02-26 Andy Piper <andy@xemacs.org> | |
1056 | |
1057 * specifier.c (Fmake_specifier): add gutter references. | |
1058 | |
1059 * gutter.h (RAW_WINDOW_GUTTER): new macro. | |
1060 | |
1061 * lisp.h: declare Fvalid_plist_p. | |
1062 | |
1063 * gutter.c (gutter_geometry_changed_in_window): mark the modeline | |
1064 as changed. | |
1065 (default_gutter_visible_p_changed_in_window): invalidate gutter as | |
1066 well as its visibility so that it gets reconstructed. | |
1067 (construct_window_gutter_spec): new function. Construct a string | |
1068 to be displayed in the gutter from a plist of strings. Take care | |
1069 to only use elements that are declared as visible. | |
1070 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of | |
1071 WINDOW_GUTTER. | |
1072 (gutter_validate): allow plists of strings in the specifier. | |
1073 (gutter_specs_changed): construct the real_gutter from the gutter | |
1074 specs using construct_window_gutter_spec. | |
1075 (gutter_visible_validate): gutter-visible is a new specifier type. | |
1076 (Fgutter_visible_specifier_p): new function for the new specifier. | |
1077 (syms_of_gutter): declare gutter-visible and | |
1078 Fgutter_visible_specifier_p. | |
1079 (specifier_type_create_gutter): intitalize new gutter-visible | |
1080 specifier. | |
1081 (reinit_specifier_type_create_gutter): ditto. | |
1082 (specifier_vars_of_gutter): use new specifier type for gutter | |
1083 visibility. | |
1084 (init_frame_gutters): construct real_gutter correctly. | |
1085 (Fgutter_specifier_p): beef up documentation. | |
1086 (Fgutter_size_specifier_p): ditto. | |
1087 | |
1088 * winslots.h: add real_gutter slots. | |
1089 | |
1090 2000-02-25 Andy Piper <andy@xemacs.org> | |
1091 | |
1092 * device-msw.c: Be kind to older cygwin versions. From Raymond | |
1093 Toy <toy@rtp.ericsson.se>. | |
1094 | |
1095 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to | |
1096 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>. | |
1097 | |
1098 2000-02-25 Martin Buchholz <martin@xemacs.org> | |
1099 | |
1100 * elhash.c (MARK_OBJ): Practice macro hygiene. | |
1101 | |
1102 2000-02-24 Martin Buchholz <martin@xemacs.org> | |
1103 | |
1104 * miscplay.c: s/__inline__/inline/g; | |
1105 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline | |
1106 (get_device_compdc): INLINE ==> static inline | |
1107 * *.[ch]: Change INLINE to INLINE_HEADER globally. | |
1108 find -name '*.h' | \ | |
1109 xargs global-replace \ | |
1110 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g' | |
1111 | |
1112 2000-02-25 Andy Piper <andy@xemacs.org> | |
1113 | |
1114 * window.c (window_top_frame_gutter_height): new function. | |
1115 (window_top_window_gutter_height): ditto. | |
1116 (window_top_gutter_height): use them. | |
1117 (window_bottom_frame_gutter_height): new function. | |
1118 (window_bottom_window_gutter_height): ditto. | |
1119 (window_bottom_gutter_height): use them. | |
1120 (window_left_window_gutter_width): new function. | |
1121 (window_left_frame_gutter_width): ditto. | |
1122 (window_left_gutter_width): use them. | |
1123 (window_right_window_gutter_width): new function. | |
1124 (window_right_frame_gutter_width): ditto. | |
1125 (window_right_gutter_width): use them. | |
1126 (window_pixel_height): new function. calulate window pixel height | |
1127 with frame gutter involvement. | |
1128 (Fsplit_window): calculate new sizes taking frame gutters into | |
1129 account. | |
1130 (window_char_height_to_pixel_height): don't include frame gutters. | |
1131 (window_char_height): use window_pixel_height. | |
1132 (window_pixheight): rename from window_pixel_height. | |
1133 (change_window_height): use it. | |
1134 (window_pixel_height_to_char_height): don't include frame gutters. | |
1135 (window_char_width_to_pixel_width): ditto. | |
1136 | |
1137 2000-02-25 Andy Piper <andy@xemacs.org> | |
1138 | |
1139 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash | |
1140 if it is. | |
1141 | |
1142 2000-02-24 Martin Buchholz <martin@xemacs.org> | |
1143 | |
1144 * alloc.c (staticpro): | |
1145 (staticpro_nodump): | |
1146 (dumpstruct): | |
1147 (dumpopaque): | |
1148 (pdump_wire): | |
1149 (pdump_wire_list): | |
1150 (compact_string_chars): | |
1151 (pdump_dump_wired): | |
1152 Convert: if (foo) abort(); ==> assert (! foo); | |
1153 | |
1154 * eldap.c (Fldap_search_basic): | |
1155 (Fldap_add): | |
1156 (Fldap_modify): | |
1157 (Fldap_delete): | |
1158 Fix compiler warnings, and possible crashes if (random) return | |
1159 value were to be used. | |
1160 | |
1161 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
1162 | |
1163 * device-msw.c: Workaround ResetDC failure. | |
1164 | |
1165 * frame-msw.c (msprinter_init_frame_3): Added an assertion before | |
1166 applying a devmode. | |
1167 | |
1168 * redisplay-msw.c (get_frame_dc): Added start_page_p. | |
1169 (mswindows_text_width): Do not start printer page. | |
1170 | |
1171 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends. | |
1172 | |
1173 * glyphs-msw.c: Added image methods to msprinter console and | |
1174 msprinter-specific image instantiation. | |
1175 | |
1176 2000-02-20 Mike Alexander <mta@arbortext.com> | |
1177 | |
1178 * select-msw.c (Fmswindows_set_clipboard): GC protect more things | |
1179 to avoid crashes when selection-sets-clipboard is on | |
1180 (mswindows_own_selection): ditto | |
1181 | |
1182 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
1183 | |
1184 * glyphs-msw.c: | |
1185 * redisplay-msw.c (get_frame_dc): | |
1186 (get_frame_compdc): | |
1187 * console-msw.h: | |
1188 * device-msw.c (mswindows_init_device): | |
1189 (mswindows_delete_device): | |
1190 (msprinter_init_device): | |
1191 (msprinter_delete_device): | |
1192 * frame-msw.c (mswindows_init_frame_1): | |
1193 (mswindows_delete_frame): | |
1194 (msprinter_init_frame_3): | |
1195 (msprinter_delete_frame): Move compatible DC to device object from | |
1196 frame object, for both mswindows and msprinter. Only one at a time | |
1197 is needed, it is a real waste to have one per frame! | |
1198 | |
1199 2000-02-23 Andy Piper <andy@xemacs.org> | |
1200 | |
1201 * glyphs.c: add dynamic width and height elements. | |
1202 (image_instance_equal): ditto. | |
1203 | |
1204 * glyphs-widget.c (widget_query_geometry): calculate width and | |
1205 height dynamically if required. | |
1206 (initialize_widget_image_instance): initialize dynamic dimensions. | |
1207 (widget_instantiate): pick-up dynamic dimensions. | |
1208 | |
1209 * glyphs.h (struct Lisp_Image_Instance): add width and height for | |
1210 dynamic determination. Add appropriate macros. | |
1211 | |
1212 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer | |
1213 dimensions safe. | |
1214 (WINDOW_GUTTER_SIZE): ditto. | |
1215 (WINDOW_GUTTER_SIZE_INTERNAL): ditto. | |
1216 | |
1217 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this | |
1218 inline. | |
1219 (get_frame_dc): ditto. | |
1220 | |
1221 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces | |
1222 here. | |
1223 | |
1 2000-02-23 Martin Buchholz <martin@xemacs.org> | 1224 2000-02-23 Martin Buchholz <martin@xemacs.org> |
2 | 1225 |
3 * XEmacs 21.2.31 is released. | 1226 * XEmacs 21.2.31 is released. |
4 | 1227 |
5 2000-02-22 Ben Wing <ben@xemacs.org> | 1228 2000-02-22 Ben Wing <ben@xemacs.org> |
10 | 1233 |
11 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here. | 1234 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here. |
12 | 1235 |
13 2000-02-21 Mike Sperber <mike@xemacs.org> | 1236 2000-02-21 Mike Sperber <mike@xemacs.org> |
14 | 1237 |
15 * .dbxrc: | 1238 * .dbxrc: |
16 * .gdbinit: | 1239 * .gdbinit: |
17 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment | 1240 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment |
18 variables. | 1241 variables. |
19 | 1242 |
20 2000-02-21 Mike Sperber <mike@xemacs.org> | 1243 2000-02-21 Mike Sperber <mike@xemacs.org> |
60 * alloc.c (Fgarbage_collect): | 1283 * alloc.c (Fgarbage_collect): |
61 * alloc.c (init_alloc_once_early): | 1284 * alloc.c (init_alloc_once_early): |
62 * alloc.c (pdump_load): | 1285 * alloc.c (pdump_load): |
63 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New. | 1286 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New. |
64 * alloc.c (lrecord_type_index): Delete. | 1287 * alloc.c (lrecord_type_index): Delete. |
65 Make lisp object type indexes be constant. | 1288 Make lisp object type indexes be constant. |
66 Makes (byte-compile) 5% faster. | 1289 Makes (byte-compile) 5% faster. |
67 Put all marker functions into their own array. | 1290 Put all marker functions into their own array. |
68 Makes (garbage-collect) 5% faster. | 1291 Makes (garbage-collect) 5% faster. |
69 Optimize SYMBOL_VALUE_MAGIC_P. | 1292 Optimize SYMBOL_VALUE_MAGIC_P. |
70 Makes (byte-compile) 2-3% faster. | 1293 Makes (byte-compile) 2-3% faster. |
71 * config.h.in (gc_checking_assert): New. | 1294 * config.h.in (gc_checking_assert): New. |
72 * alloc.c: Use gc_checking_assert(). | 1295 * alloc.c: Use gc_checking_assert(). |
107 background colors so that they match the documentation. | 1330 background colors so that they match the documentation. |
108 | 1331 |
109 * objects-msw.c: (mswindows_X_color_map): tweak some values so | 1332 * objects-msw.c: (mswindows_X_color_map): tweak some values so |
110 they match the default Windows palette. | 1333 they match the default Windows palette. |
111 (mswindows_color_to_string): New function. | 1334 (mswindows_color_to_string): New function. |
112 | 1335 |
113 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk> | 1336 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk> |
114 | 1337 |
115 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6. | 1338 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6. |
116 | 1339 |
117 2000-02-18 Olivier Galibert <galibert@pobox.com> | 1340 2000-02-18 Olivier Galibert <galibert@pobox.com> |
118 | 1341 |
119 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS, | 1342 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS, |
120 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND. | 1343 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND. |
121 | 1344 |
122 * symbols.c (init_symbols_once_early): Removed obsolete | 1345 * symbols.c (init_symbols_once_early): Removed obsolete |
123 DATA_SEG_BITS related kludge. | 1346 DATA_SEG_BITS related kludge. |
124 (defvar_magic): Ditto. | 1347 (defvar_magic): Ditto. |
125 | 1348 |
126 * malloc.c: Removed obsolete DATA_SEG_BITS | 1349 * malloc.c: Removed obsolete DATA_SEG_BITS |
135 * device-msw.c (mswindows_delete_device): Free DDE string | 1358 * device-msw.c (mswindows_delete_device): Free DDE string |
136 handles. | 1359 handles. |
137 | 1360 |
138 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | 1361 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com> |
139 | 1362 |
140 * keymap.c (get_keyelt): | 1363 * keymap.c (get_keyelt): |
141 * unexnt.c (unexec): | 1364 * unexnt.c (unexec): |
142 * vm-limit.c (memory_warnings): | 1365 * vm-limit.c (memory_warnings): |
143 * ntheap.c (recreate_heap): | 1366 * ntheap.c (recreate_heap): |
144 * ntheap.h (UNINIT_PTR): | 1367 * ntheap.h (UNINIT_PTR): |
145 * select-msw.c (Fmswindows_get_clipboard): | 1368 * select-msw.c (Fmswindows_get_clipboard): |
146 (Fmswindows_set_clipboard): | 1369 (Fmswindows_set_clipboard): |
147 * objects-msw.h (MSWINDOWS_BAD_HFONT): | 1370 * objects-msw.h (MSWINDOWS_BAD_HFONT): |
148 * objects-msw.c: | 1371 * objects-msw.c: |
149 * menubar-msw.c (displayable_menu_item): | 1372 * menubar-msw.c (displayable_menu_item): |
150 * glyphs-msw.c: | 1373 * glyphs-msw.c: |
151 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK): | 1374 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK): |
152 * sysdep.c (sys_subshell): | 1375 * sysdep.c (sys_subshell): |
153 * process-nt.c (nt_create_process): | 1376 * process-nt.c (nt_create_process): |
154 * nt.c (normalize_filename): | 1377 * nt.c (normalize_filename): |
155 (dostounix_filename): | 1378 (dostounix_filename): |
156 (unixtodos_filename): | 1379 (unixtodos_filename): |
157 * ntproc.c (win32_executable_type): | 1380 * ntproc.c (win32_executable_type): |
158 * ntplay.c (play_sound_data_1): | 1381 * ntplay.c (play_sound_data_1): |
159 (play_sound_file): | 1382 (play_sound_file): |
160 * editfns.c (get_home_directory): | 1383 * editfns.c (get_home_directory): |
161 * event-msw.c (struct winsock_stream): | 1384 * event-msw.c (struct winsock_stream): |
162 (mswindows_dde_callback): | 1385 (mswindows_dde_callback): |
163 * device-msw.c (msprinter_init_device): | 1386 * device-msw.c (msprinter_init_device): |
164 (msprinter_get_devmode_copy): Frobbed syntax frivolities. | 1387 (msprinter_get_devmode_copy): Frobbed syntax frivolities. |
165 | 1388 |
166 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to | 1389 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to |
167 mswindows_clear_toolbar were swapped! | 1390 mswindows_clear_toolbar were swapped! |
168 | 1391 |
171 * emacs.c (struct standard_args): Fixed const jumble. | 1394 * emacs.c (struct standard_args): Fixed const jumble. |
172 | 1395 |
173 * glyphs-widget.c (update_widget): Fixed comparison notation. | 1396 * glyphs-widget.c (update_widget): Fixed comparison notation. |
174 | 1397 |
175 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'. | 1398 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'. |
176 | 1399 |
177 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC | 1400 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC |
178 __declspec(noreturn) syntax. | 1401 __declspec(noreturn) syntax. |
179 | 1402 |
180 2000-02-19 Martin Buchholz <martin@xemacs.org> | 1403 2000-02-19 Martin Buchholz <martin@xemacs.org> |
181 | 1404 |
182 * eldap.c (Fldap_open): | 1405 * eldap.c (Fldap_open): |
183 (Fldap_search_basic): | 1406 (Fldap_search_basic): |
184 (Fldap_add): | 1407 (Fldap_add): |
185 (Fldap_modify): | 1408 (Fldap_modify): |
186 Use new coding system conversion macros. | 1409 Use new coding system conversion macros. |
187 | 1410 |
188 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp> | 1411 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp> |
189 | 1412 |
190 * console-tty.c (tty_init_console): Change MULE to FILE_CODING. | 1413 * console-tty.c (tty_init_console): Change MULE to FILE_CODING. |
191 | 1414 |
192 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> | 1415 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> |
193 | 1416 |
194 * eldap.h (Fldap_search) Renamed from Fldap_search_internal: | 1417 * eldap.h (Fldap_search) Renamed from Fldap_search_internal: |
195 (Fldap_add, Fldap_modify, Fldap_delete): New functions | 1418 (Fldap_add, Fldap_modify, Fldap_delete): New functions |
196 | 1419 |
197 * eldap.c (Qadd, Qreplace): New constant symbols | 1420 * eldap.c (Qadd, Qreplace): New constant symbols |
198 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid | 1421 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid |
199 interruptions by XEmacs signals | 1422 interruptions by XEmacs signals |
200 Remove unnecessary calls to slow_down_interrupts and | 1423 Remove unnecessary calls to slow_down_interrupts and |
201 speed_up_interrupts | 1424 speed_up_interrupts |
202 (Fldap_search_basic): Renamed from Fldap_search_internal | 1425 (Fldap_search_basic): Renamed from Fldap_search_internal |
203 Added new optional parameter VERBOSE that triggers the | 1426 Added new optional parameter VERBOSE that triggers the |
204 display of progress messages | 1427 display of progress messages |
205 Remove unnecessary calls to slow_down_interrupts and | 1428 Remove unnecessary calls to slow_down_interrupts and |
206 speed_up_interrupts | 1429 speed_up_interrupts |
207 LDAP result code analysis rewritten | 1430 LDAP result code analysis rewritten |
208 (Fldap_add, Fldap_modify, Fldap_delete): New functions | 1431 (Fldap_add, Fldap_modify, Fldap_delete): New functions |