1 2006-12-09 Vin Shelton <acs@xemacs.org>
3 * XEmacs 21.4.20 is released
5 2006-12-08 Nelson Ferreira <njsf@sxemacs.org>
7 * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND):
8 relocated the definitions to be used sooner in file.
9 (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use
10 XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack
13 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
15 * sound.c (init_native_sound):
16 Only X11 and GTK devices can possibly not be on the console of the
17 associated machine. Fixes a crash when init_native_sound is called
18 on a msprinter device.
20 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
22 * buffer.c (buffer-file-name): Document invariant.
23 (buffer-file-truename): Sync wording to buffer-file-name.
24 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
27 2006-11-19 Benson Margulies <benson@dchbk.us>
29 * fileio.c: Add code to use full Win32 API to check for write
30 access. Win32 has the general design policy that you aren't
31 supposed to ask this question, since security checks change
32 depending on asynchronous processes. Nonetheless, there is a way,
33 by acting as if we are a server doing interpretive access
36 2006-07-31 Aidan Kehoe <kehoea@parhasard.net>
38 * bytecode.c: Use xnew_array instead of alloca.
40 2006-07-04 Vin Shelton <acs@xemacs.org>
42 * redisplay-msw.c: Fix tiny, but crucial typo.
44 2006-06-22 Jerry James <james@xemacs.org>
46 * EmacsShell-sub.c (ChangeManaged):
47 * device-x.c (x_IO_error_handler): Do not dereference d if it is
49 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
50 checking if it is NULL. Also fix a memory leak.
51 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
52 dereference it, not the other way around.
53 * dumper.c (pdump_register_object): Fix off-by-one array bounds
55 * dumper.c (pdump_register_struct): Ditto.
56 * editfns.c (Ftemp_directory): Don't let a copy from (long) path
57 to (short) warnpath overflow warnpath.
58 * extents.c (detach_all_extents): Call extent_list_delete_all with
59 a non-NULL parameter only.
60 * glyphs-widget.c (widget_query_geometry): Guard against possibly
61 NULL width and height.
62 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
63 xic before checking if they are NULL.
64 * keymap.c (where_is_recursive_mapper): Don't throw away the newly
66 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
67 * nas.c (Err): Fix a memory leak.
68 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
69 Don't create the buffer if there is nothing to do.
70 * redisplay-msw.c (mswindows_output_display_block): Ditto.
71 * redisplay-output.c (redisplay_output_layout): Ditto.
72 * redisplay-tty.c (tty_output_display_block): Ditto.
73 * redisplay-x.c (x_output_display_block): Ditto.
74 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not
75 dereference instance->scrollbar_data if it is NULL.
76 * scrollbar-x.c (x_free_scrollbar_instance): Ditto.
77 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but
78 for sb->scrollbar_data.
79 * sound.c (init_native_sound): Avoid a buffer overflow by
80 allocating a buffer with the appropriate size.
82 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
84 * EmacsShell-sub.c (RootGeometryManager):
85 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
86 Based on a suggestion by Francois L'Archeveque.
88 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
90 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
91 current values found in GNU Emacs.
93 2006-03-17 Vin Shelton <acs@xemacs.org>
95 * dialog-msw.c (handle_directory_dialog_box): Don't declare
96 Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue.
98 * glyphs-msw.c (read_bitmap_data): change 'initialized' to
99 'hex_initialized' because it conflicts with 'initialized' in
102 2006-01-28 Vin Shelton <acs@xemacs.org>
104 * XEmacs 21.4.19 is released
106 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
108 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
110 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
112 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
115 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
117 * database.c: Suppress compiler warning under Cygwin.
118 * database.c: Removed __FreeBSD__ check, should be handled by
119 HAVE_U_xxx_T defines.
121 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
123 * console.c (stuff_buffered_input): Compile body only if
126 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
128 * callproc.c: #include sysdir.h, so that any appropriate Mule
129 magic happens with the chdir() call when calling a subprocess.
131 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
133 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
134 * mule-ccl.c: Check that a character set exists before using it
135 to create a character.
137 2005-12-06 Vin Shelton <acs@xemacs.org>
139 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
142 2005-12-03 Vin Shelton <acs@xemacs.org>
144 * XEmacs 21.4.18 is released
146 2005-11-27 Kean Johnston <kean@armory.com>
148 * redisplay-tty.c (set_tty_modes):
149 (reset_tty_modes): disable auto-margins if the terminal supports
151 (init_tty_for_redisplay): fix cursor shape.
153 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
155 * mule-ccl.c (ccl_driver): Calculate the charset and position code
156 for control-1 characters properly, both when reading multibyte
157 characters and writing them.
159 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
161 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
162 * select-x.c (x_reply_selection_request): Use it; fix the bug we
163 were seeing with incremental selection transfer failing.
165 2005-11-26 Vin Shelton <acs@xemacs.org>
167 * callproc.c (Fold_call_process_internal): Create the buffer if it
168 does not already exist. The original patch came from Ben Wing in
169 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
171 2002-05-13 Adrian Aichner <adrian@xemacs.org>
173 * callproc.c: Process-related docstring improvements spurred by
176 2005-11-25 Vin Shelton <acs@xemacs.org>
178 * depend: Regenerated.
180 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
182 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
183 says it clashes with a global with the same name.
185 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
187 * sysdll.c (dll_open): Under MacOS X return NULL under the
188 filename is NULL. Fixes problems finding local symbols under 10.4
191 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
193 * config.h.in: New HAVE_U_INT*_T defines.
195 * database.c: Only use u_int*_t typedefs if not already
198 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
200 * src/process-unix.c (unix_open_network_stream): moved
201 'portbuf' buffer out of an inner block as it is used in the
202 entire function. With gcc4, the stack may get corrupted
203 after leaving this block. This patches adjusts the size of
204 the used buffer also; static '128' bytes are far too much
205 currently and might not suffice for future architectures
206 (e.g. for 512 bit ones ;)). Instead of, use only the really
207 required space (max octets * ln(256)/ln(10) chars + space
208 for '\0' and the sign)
210 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
212 * callproc.c: Include sysdir.h, so any necessary Mule processing
213 is done on the current directory name before starting a new
216 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
218 * chartab.c (Fchar_table_p):
219 (Fget_range_char_table):
222 Describe range representation and fix typo.
224 2005-02-12 Vin Shelton <acs@xemacs.org>
226 * emacs.c (shut_down_emacs): Advise users to send email to the
227 xemacs-beta list instead of crashes@xemacs.org.
229 2005-02-03 David Evers <extsw@appliedgenerics.com>
231 * process-unix.c (unix_send_process): Flush the last chunk, even
232 when the pipe is blocked.
234 2005-02-06 Vin Shelton <acs@xemacs.org>
236 * XEmacs 21.4.17 is released
238 2005-01-31 Ben Wing <ben@xemacs.org>
241 Define assert_failed() always.
243 Always define ABORT().
245 2005-01-25 Ben Wing <ben@xemacs.org>
248 * Makefile.in.in (%.o):
249 Don't compile executable as Windows (-mwindows) under Cygwin.
250 Semi-recent changes to Cygwin's executable-startup handling make
251 it impossible to access the TTY this way.
253 Don't use special linker file under Cygwin (cygwin.sc) except
254 when non-PDUMP (even in this case it is highly questionable); you
257 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
258 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
260 2005-01-29 Ben Wing <ben@xemacs.org>
262 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
264 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
266 2005-01-29 Ben Wing <ben@xemacs.org>
268 * bytecode.c (optimize_compiled_function):
270 * print.c (long_to_string):
271 Add casts to avoid warning.
274 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
275 #### The better solution is to move the TIFF and JPEG code to
278 * glyphs-msw.c (mswindows_xbm_instantiate):
279 Define __STDC__ to avoid problems with compface.h.
281 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
283 * EmacsShell-sub.c (ABORT):
284 * EmacsShell-sub.c (SuperClassRootGeometryManager):
285 * EmacsShell-sub.c (RootGeometryManager):
287 * EmacsShell.c (ABORT):
288 * EmacsShell.c (EmacsShellUpdateSizeHints):
289 * alloc.c (free_lcrecord):
290 * alloca.c (i00afunc):
291 * buffer.c (delete_from_buffer_alist):
292 * buffer.c (MARKED_SLOT):
293 * bytecode.c (execute_rare_opcode):
294 * bytecode.c (optimize_byte_code):
295 * bytecode.c (Ffetch_bytecode):
296 * chartab.c (char_table_type_to_symbol):
297 * chartab.c (Freset_char_table):
298 * chartab.c (decode_char_table_range):
299 * chartab.c (Fget_range_char_table):
300 * chartab.c (check_valid_char_table_value):
301 * chartab.c (map_char_table):
302 * chartab.c (slow_map_char_table_fun):
303 * chartab.c (chartab_instantiate):
304 * cm.c (cmcheckmagic):
305 * console-msw.c (DHEADER):
306 * console.c (MARKED_SLOT):
307 * data.c (finish_marking_weak_lists):
308 * data.c (encode_weak_list_type):
310 * device-gtk.c (gtk_init_device):
311 * device-msw.c (mswindows_get_default_margin):
312 * device-tty.c (tty_init_device):
313 * device-x.c (get_device_from_display):
314 * device-x.c (x_get_visual_depth):
315 * doprnt.c (parse_doprnt_spec):
316 * doprnt.c (get_doprnt_args):
317 * dumper.c (pdump_get_indirect_count):
318 * dumper.c (pdump_register_sub):
319 * dumper.c (pdump_register_object):
320 * dumper.c (pdump_register_struct):
321 * dumper.c (pdump_dump_data):
322 * dumper.c (pdump_reloc_one):
323 * elhash.c (print_hash_table):
324 * elhash.c (make_standard_lisp_hash_table):
325 * elhash.c (hash_table_instantiate):
327 * emacs.c (Fforce_debugging_signal):
328 * emacs.c (sort_args):
330 * emacs.c (assert_failed):
331 * eval.c (throw_or_bomb_out):
335 * event-Xt.c (emacs_Xt_mapping_action):
336 * event-Xt.c (Xt_process_to_emacs_event):
338 * event-stream.c (check_event_stream_ok):
339 * event-stream.c (Fadd_timeout):
340 * event-stream.c (Fadd_async_timeout):
341 * event-stream.c (Fdiscard_input):
342 * event-stream.c (execute_internal_event):
343 * event-stream.c (Frecent_keys):
344 * event-stream.c (extract_this_command_keys_nth_mouse_event):
345 * event-stream.c (lookup_command_event):
346 * event-unixoid.c (poll_fds_for_input):
348 * events.c (mark_event):
349 * events.c (event_equal):
350 * events.c (event_hash):
351 * events.c (Fmake_event):
352 * events.c (Fdeallocate_event):
353 * events.c (event_chain_find_previous):
354 * events.c (event_to_character):
355 * events.c (format_event_object):
356 * events.c (Fevent_type):
357 * events.c (event_pixel_translation):
358 * events.c (Fevent_properties):
359 * extents.c (extent_in_region_p):
360 * extents.c (print_extent):
361 * extents.c (process_extents_for_insertion_mapper):
362 * extents.c (report_extent_modification_mapper):
363 * extents.c (glyph_layout_to_symbol):
364 * faces.c (face_validate):
365 * file-coding.c (eol_type_to_symbol):
366 * file-coding.c (subsidiary_coding_system):
367 * file-coding.c (Fcoding_system_type):
368 * file-coding.c (Fcoding_system_property):
369 * file-coding.c (mule_decode):
370 * file-coding.c (mule_encode):
371 * file-coding.c (encode_coding_ucs4):
372 * file-coding.c (encode_coding_utf8):
373 * file-coding.c (parse_iso2022_esc):
374 * file-coding.c (encode_coding_iso2022):
379 * fns.c (Fbase64_encode_region):
380 * fns.c (Fbase64_encode_string):
381 * fns.c (Fbase64_decode_region):
382 * fns.c (Fbase64_decode_string):
383 * font-lock.c (find_context):
384 * font-lock.c (context_to_symbol):
385 * frame-gtk.c (gtk_set_frame_pointer):
386 * frame-gtk.c (gtk_update_frame_external_traits):
387 * frame-x.c (x_wm_mark_shell_size_user_specified):
388 * frame-x.c (x_wm_mark_shell_position_user_specified):
389 * frame-x.c (x_wm_set_shell_iconic_p):
390 * frame-x.c (x_wm_set_cell_size):
391 * frame-x.c (x_wm_set_variable_size):
392 * frame-x.c (x_wm_store_class_hints):
393 * frame-x.c (x_wm_maybe_store_wm_command):
394 * frame-x.c (x_initialize_frame_size):
395 * frame-x.c (x_update_frame_external_traits):
397 * frame.c (delete_frame_internal):
398 * frame.c (mouse_pixel_position_1):
399 * frame.c (change_frame_size_1):
400 * free-hook.c (check_free):
401 * free-hook.c (check_realloc):
402 * free-hook.c (note_block_input):
403 * free-hook.c (log_gcpro):
404 * gccache-gtk.c (gc_cache_lookup):
405 * glyphs-eimage.c (tiff_memory_write):
406 * glyphs-gtk.c (gtk_finalize_image_instance):
407 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
408 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
409 * glyphs-gtk.c (gtk_xpm_instantiate):
410 * glyphs-gtk.c (gtk_unmap_subwindow):
411 * glyphs-gtk.c (gtk_map_subwindow):
412 * glyphs-gtk.c (gtk_button_redisplay):
414 * glyphs-msw.c (init_image_instance_from_xbm_inline):
415 * glyphs-x.c (init_image_instance_from_xbm_inline):
416 * glyphs-x.c (extract_xpm_color_names):
417 * glyphs-x.c (x_xpm_instantiate):
418 * glyphs.c (get_image_instantiator_governing_domain):
419 * glyphs.c (print_image_instance):
420 * glyphs.c (image_instance_equal):
421 * glyphs.c (image_instance_hash):
422 * glyphs.c (encode_image_instance_type):
423 * glyphs.c (make_image_instance_1):
424 * glyphs.c (inherit_instantiate):
425 * glyphs.c (image_instantiate):
426 * glyphs.c (allocate_glyph):
427 * glyphs.c (Fglyph_type):
428 * glyphs.c (redisplay_subwindow):
429 * glyphs.c (display_table_entry):
430 * gtk-glue.c (xemacs_list_to_gtklist):
431 * gtk-glue.c (xemacs_gtklist_to_list):
432 * gtk-glue.c (xemacs_list_to_array):
433 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
434 * gutter.c (gutter_was_visible):
435 * gutter.c (get_gutter_coords):
436 * input-method-xlib.c (get_XIM_input):
437 * insdel.c (bufpos_to_bytind_func):
438 * insdel.c (bytind_to_bufpos_func):
439 * insdel.c (move_gap):
440 * intl.c (x_get_composed_input):
441 * keymap.c (keymap_lookup_directly):
442 * keymap.c (keymap_delete_inverse_internal):
443 * keymap.c (ensure_meta_prefix_char_keymapp):
444 * keymap.c (accessible_keymaps_mapper_1):
445 * keymap.c (where_is_recursive_mapper):
448 * lread.c (read_atom):
449 * lstream.c (Lstream_delete):
450 * lstream.c (make_lisp_buffer_stream_1):
451 * macros.c (pop_kbd_macro_event):
454 * marker.c (bi_marker_position):
455 * marker.c (set_bi_marker_position):
456 * menubar-gtk.c (menu_descriptor_to_widget_1):
457 * menubar-msw.c (prune_menubar):
458 * menubar-x.c (set_frame_menubar):
459 * mule-charset.c (get_unallocated_leading_byte):
460 * mule-charset.h (CHAR_LEADING_BYTE):
461 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
462 * nt.c (init_environment):
463 * nt.c (generate_inode_val):
464 * ntproc.c (delete_child):
465 * ntproc.c (_sys_read_ahead):
466 * ntproc.c (create_child):
467 * objects.c (color_instantiate):
468 * objects.c (font_instantiate):
469 * objects.c (face_boolean_instantiate):
470 * print.c (printing_major_badness):
471 * process-nt.c (nt_send_process):
472 * process-unix.c (unix_send_process):
473 * process.c (get_process):
475 * ralloc.c (relinquish):
476 * ralloc.c (relocate_blocs):
477 * ralloc.c (resize_bloc):
478 * ralloc.c (r_alloc_free):
479 * ralloc.c (r_re_alloc):
480 * ralloc.c (r_alloc_thaw):
481 * ralloc.c (init_ralloc):
482 * ralloc.c (Free_Addr_Block):
483 * ralloc.c (r_alloc):
484 * redisplay-gtk.c (gtk_output_display_block):
485 * redisplay-msw.c (mswindows_output_display_block):
486 * redisplay-output.c (get_next_display_block):
487 * redisplay-output.c (get_cursor_size_and_location):
488 * redisplay-output.c (redisplay_output_layout):
489 * redisplay-output.c (redisplay_clear_region):
490 * redisplay-tty.c (tty_output_display_block):
491 * redisplay-x.c (x_output_display_block):
492 * redisplay.c (add_propagation_runes):
493 * redisplay.c (add_glyph_rune):
494 * redisplay.c (create_text_block):
495 * redisplay.c (add_margin_runes):
496 * redisplay.c (create_left_glyph_block):
497 * redisplay.c (create_right_glyph_block):
498 * redisplay.c (create_string_text_block):
499 * redisplay.c (regenerate_window):
500 * redisplay.c (REGEN_INC_FIND_START_END):
501 * redisplay.c (redisplay_frame):
502 * redisplay.c (point_in_line_start_cache):
505 * regex.c (re_compile_fastmap):
506 * regex.c (re_match_2_internal):
507 * regex.c (regerror):
508 * scrollbar-gtk.c (gtk_scrollbar_loop):
509 * scrollbar-gtk.c (scrollbar_cb):
510 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
511 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
512 * scrollbar-x.c (x_update_scrollbar_instance_status):
513 * scrollbar-x.c (x_scrollbar_loop):
514 * scrollbar-x.c (x_update_frame_scrollbars):
515 * search.c (search_command):
516 * search.c (Fmatch_data):
517 * select-x.c (motif_clipboard_cb):
518 * signal.c (interrupt_signal):
519 * specifier.c (specifier_add_spec):
520 * specifier.c (specifier_instance_from_inst_list):
521 * specifier.c (specifier_instance):
523 * specifier.h (struct specifier_methods):
524 * strftime.c (add_num_time_t):
525 * sunplay.c (init_device):
526 * symbols.c (Fsetplist):
527 * symbols.c (do_symval_forwarding):
528 * symbols.c (store_symval_forwarding):
530 * symbols.c (Fbuilt_in_variable_type):
531 * symbols.c (decode_magic_handler_type):
532 * symbols.c (handler_type_from_function_symbol):
533 * syntax.c (update_syntax_cache):
534 * sysdep.c (init_baud_rate):
535 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
536 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
537 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
538 * toolbar.c (get_toolbar_coords):
539 * ui-gtk.c (build_gtk_boxed):
540 * ui-gtk.c (describe_gtk_arg):
541 * ui-gtk.c (gtk_type_to_lisp):
542 * ui-gtk.c (lisp_to_gtk_type):
543 * ui-gtk.c (lisp_to_gtk_ret_type):
544 * ui-gtk.c (lisp_to_flag):
545 * unexnt.c (read_in_bss):
546 * unexnt.c (map_in_heap):
547 * window.c (real_window):
548 * window.c (window_display_lines):
549 * window.c (window_display_buffer):
550 * window.c (set_window_display_buffer):
551 * window.c (window_modeline_height):
552 * window.c (unshow_buffer):
553 * window.c (window_loop):
554 * window.c (Fget_lru_window):
555 * window.c (Fsplit_window):
556 * window.c (Fset_window_configuration):
557 * window.c (saved_window_index):
558 * xgccache.c (gc_cache_lookup):
559 abort() -> ABORT(). Eliminate preprocessor games with abort()
560 since it creates huge problems in VC7, solvable only by including
561 massive amounts of files in every compile (and not worth it).
565 Inclusion of process.h does not need to be before lisp.h any more.
566 Move later and remove comment about abort().
568 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
570 * regex.c (re_match_2_internal):
571 Correctly initialize loop which clears uninitialized registers.
573 2005-01-28 Vin Shelton <acs@xemacs.org>
575 * sheap.c (more_static_core): Applied Ben's version of the long
578 2005-01-24 Vin Shelton <acs@xemacs.org>
580 * sheap.c (more_static_core): Reformatted printf string so
581 gcc-3.3.3 will compile this on Cygwin.
583 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
585 * console.c (function_key_map): Reference `key-binding'.
587 * keymap.c (Vkey_translation_map): Improve docstring.
589 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
591 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
592 * window.c (window_loop): [fix] Take into account
593 `allow-deletion-of-last-visible-frame' variable.
594 * window.c (replace-buffer-in-windows): Ditto.
596 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
598 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
600 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
602 * event-gtk.c: Recognise AltGr as a valid modifier.
604 2005-01-12 Ville Skyttä <scop@xemacs.org>
606 * console-x.h: #include X11/keysym.h before xintrinsic.h.
608 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
610 Fix backreference bug caught by test suite.
612 * regex.c (regex_compile):
613 Make backref duplicate internal register.
615 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
617 Documentation, code clarification, and warning suppression.
619 * regex.c (regex_compile):
621 (re_match_2_internal):
622 Improve comments and avoid redundant braces. [Most of the big hunk
623 at l. 4710 is indentation; use diff -w to see the real changes.]
624 (alt_match_null_string_p):
625 (common_op_match_null_string_p):
626 Avoid shadowing global on Mac OS X 10.4, at least.
628 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
630 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
631 introduced with shy groups fix). [Already applied, probably
632 with the second "fix shy groups" patch of 2004-10-07.]
634 2005-01-10 Steve Youngs <steve@sxemacs.org>
636 From Andrey Slusar <anrays@gmail.com>:
638 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
640 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
642 * Makefile (RECURSIVE_MAKE): Removed.
643 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
644 handling parallel builds.
646 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
648 * Makefile.in.in: Enable support for parallel builds.
650 2005-01-09 Steve Youngs <steve@sxemacs.org>
652 From Andrey Slusar <anrays@gmail.com>:
654 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
655 FreeBSD version is >= 199701 _and_ < 600006.
657 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
659 * scrollbar.c (compute_scrollbar_instance_usage):
660 Only call device method compute_scrollbar_instance_usage() if it
663 2004-12-05 Vin Shelton <acs@xemacs.org>
665 * XEmacs 21.4.16 is released
667 2004-12-04 Vin Shelton <acs@xemacs.org>
669 * depend: Regenerated.
671 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
673 * regex.c (re_match_2_internal): Map internal to external
674 registers. Fixes bug identified by Steve Youngs 2004-09-30
675 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
677 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
679 * buffer.c (Frecord_buffer): Make sure the argument is buffer
680 to fix a crash. Also, check the buffer is live and it
681 really exists in buffer_list. If the buffer is not in the list,
684 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
686 Fix shy groups by implementing recording of all groups for
687 repetition and backtracking. Backport from 21.5.
689 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
690 external_to_internal_register, external_to_internal_register_size,
691 and update comments for re_nsub.
693 * regex.c (re_opcode_t): Update comments.
694 (print_compiled_pattern): Ouput external_to_internal_register,
695 external_to_internal_register_size, and re_ngroups for debugging.
696 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
697 (regex_compile): Update header comment.
698 Ensure that all groups are recorded so that repeat matches and
699 backtracking work correctly. Comment related warning for groups >
701 (re_search_2): Construct map of API indexes (which count only
702 nonshy groups) to internal register numbers, and keep it updated.
704 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
706 * frame-gtk.c (gtk_make_frame_visible):
707 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
708 show/hide. This is what X uses and is prevents previously hidden
709 widgets from suddenly reappearing.
710 * gtk-xemacs.c (gtk_xemacs_paint):
711 * gtk-xemacs.c (gtk_xemacs_draw):
712 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
714 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
715 size and location changes so that they can be seen before the next
716 idle event. Without this rapid changes to scrollbar properties
719 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
722 * console-gtk.h (struct gtk_frame):
723 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
724 Add hash tables track tab_control callback data.
725 Added #defines for GTK object data names.
726 Declaration of gtk_widget_to_frame().
727 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
728 * frame-gtk.c (gtk_widget_to_frame): New.
729 * frame-gtk.c (gtk_create_widgets):
730 * frame-gtk.c (allocate_gtk_frame_struct):
731 * frame-gtk.c (gtk_mark_frame):
732 Manage frame callbakc hash tables.
733 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
734 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
735 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
737 * glyphs-gtk.c (gtk_widget_query_geometry): New
738 * glyphs-gtk.c (gtk_register_gui_item): New
739 * glyphs-gtk.c (gtk_add_tab_item): New
740 * glyphs-gtk.c (gtk_tab_control_callback): New
741 * glyphs-gtk.c (gtk_tab_control_instantiate): New
742 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
743 Use correct list when loading item.
744 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
745 Register new methods.
746 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
747 default size, for widgets.
748 * gui-x.c: Improved comment.
749 * menubar-gtk.c (__generic_button_callback): Use
750 gtk_widget_to_frame instead of __get_channel.
752 * ui-gtk.c: Use symbolic names for GTK object data.
754 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
756 * s/usg5-4.h (NSIG): Define only inside emacs binary.
758 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
760 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
762 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
764 * malloc.c (morecore): siz is a long because in some architectures
765 (eg ia-64) an int cannot hold the address range. Additional patch
766 from the SuSe distribution.
768 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
771 * malloc.c: lim_data is a long because in some architectures
772 (eg ia-64) an int cannot hold the address range.
773 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
774 instead of ulimit() because ulimit() always returns -1.
776 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
778 * search.c: Reenable an ansync semaphore. Remove bogus comments.
780 2004-06-11 David Kastrup <dak@gnu.org>
782 * search.c (match_limit): Don't flag an error if match-data
783 exceeding the allocated search_regs.num_regs gets requested, just
786 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
788 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
789 replace symbolic color entries with the real colors specified in
790 xpm-color-symbols, before passing the XPM to gtk.
791 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
792 instead of a GTK specific field, so that it is used in by generic
795 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
797 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
798 coredump from deref of NULL ptr (ExtData)
800 2004-04-19 Jerry James <james@xemacs.org>
802 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
803 VALBITS to compute the location of the sign bit.
804 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
805 of VALBITS with EMACS_INT_MAX.
806 * events.c (Fevent_timestamp): Ditto.
807 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
808 compute the halfway point to timestamp wraparound.
809 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
810 EMACS_INT_MIN instead of using VALBITS.
811 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
812 incorrect number with VALBITS.
813 * fns.c (Frandom): Correct number of integer bits in docstring.
814 Use INT_VALBITS instead of VALBITS to compute the denominator.
815 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
816 build random numbers.
818 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
820 * event-gtk.c (gtk_event_to_emacs_event):
822 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
823 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
824 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
825 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
826 * menubar-gtk.c (__activate_menu):
827 * menubar-gtk.c (convert_underscores):
828 * menubar-gtk.c (remove_underscores):
829 * menubar-gtk.c (menu_convert):
830 * menubar-gtk.c (menu_descriptor_to_widget_1):
831 * menubar-gtk.c (menu_descriptor_to_widget):
832 * menubar-gtk.c (menu_can_reuse_widget):
833 * menubar-gtk.c (menu_create_menubar):
834 * menubar-gtk.c (gtk_popup_menu):
835 * menubar-gtk.c (Fgtk_build_xemacs_menu):
836 Added support for Gtk menu bar and menu item mnemonics.
838 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
840 * sysdll.c: (dll_function): Added support for finding symbols in
841 Darwin shared libraries as well in Darwin bundles.
842 * sysdll.c (image_for_address): New
843 * sysdll.c (my_find_image): New
844 * sysdll.c (search_linked_libs): New
846 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
848 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
849 return to GTK requires a different API to marshalling data to use
851 * ui-gtk.c (lisp_to_gtk_ret_type): New.
853 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
855 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
857 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
859 * glyphs.c (process_image_string_instantiator):
860 (Fset_console_type_image_conversion_list):
861 Stop GCC from warning about shadowing of `exp'.
863 * redisplay-x.c (x_output_string): Fix unsigned lossage.
865 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
867 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
869 2004-02-03 Vin Shelton <acs@xemacs.org>
871 * glyphs.c (image_instance_layout): Remove pointless assertion.
872 * regex.c (regex_grow_registers): Return type is void.
874 2004-02-02 Vin Shelton <acs@xemacs.org>
876 * XEmacs 21.4.15 is released
878 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
880 * device-x.c (x_error_handler): Don't call stderr_out
882 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
884 * buffer.c (other-buffer): Clarify documentation of order of
885 arguments for FSF Emacs.
887 2003-10-11 Olivier Galibert <galibert@pobox.com>
889 * window.c (Fdelete_window): Dirty the mirror structure _before_
890 marking the window deleted.
892 2003-09-15 Jerry James <james@xemacs.org>
894 * event-msw.c (debug_mswin_messages): Conditionally compile
895 messages missing from the Cygwin headers.
897 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
899 * data.c (eq_with_ebola_notice): Fix typo in comment.
900 (Ftrue_list_p): Improve docstring.
902 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
904 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
906 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
908 * search.c (trivial_regexp_p): Regexps containing "\{" are
909 nontrivial. Thanks to Manfred Bartz for reporting the bug and
910 Stefan Monnier for suggesting a diagnosis.
912 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
914 * elhash.c (make-hash-table): Clarify use of :test #'equal.
916 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
918 * search.c (Fsearch_forward):
920 Document negative count.
922 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
924 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
926 2003-09-13 Martin Buchholz <martin@xemacs.org>
928 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
930 2003-09-15 Vin Shelton <acs@xemacs.org>
932 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
935 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
937 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
938 (re_search_2): Match the first byte of Bufbyte, not Emchar.
939 (re_match_2_internal): Use TRANSLATE instead of
940 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
941 non-ASCII char case conversion.
943 2003-09-08 Mike Sperber <mike@xemacs.org>
945 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
946 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
948 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
950 * .gdbinit (pobj): fix printing of symbol name.
952 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
954 * frame-x.c (x_layout_widgets): When resizing is about to cause
955 frame size slip, mark it for redisplay.
957 2003-08-18 Jerry James <james@xemacs.org>
959 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
961 2003-09-03 Vin Shelton <acs@xemacs.org>
963 * XEmacs 21.4.14 is released
965 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
967 * config.h.in (REGEX_MALLOC): Make it configure'able.
969 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
971 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
973 * sysdll.c (dll_init):
974 * sysdll.c (dll_open):
975 * sysdll.c (dll_close):
976 * sysdll.c (dll_function):
977 * sysdll.c (dll_variable):
978 * sysdll.c (dll_error):
979 Add support for loading bundles using Darwin/MacOSX
982 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
984 * process.c (start-process-internal): Document coding systems.
986 2003-07-30 Jerry James <james@xemacs.org>
988 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
990 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
992 * event-msw.c (mswindows_enqueue_mouse_button_event):
993 * event-msw.c (mswindows_wnd_proc):
994 enqueue button event when scrollwheel event isn't handled by
995 mswindows_handle_mousewheel_event, such as when the scrollbars
998 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
1000 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
1002 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
1004 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
1006 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
1008 * regex.c (re_match_2_internal): Fix matching degenerate word
1011 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
1013 * XEmacs 21.4.13 is released
1015 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
1017 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
1018 * lisp.h (<inttypes.h>):
1019 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
1022 2003-03-15 Martin Buchholz <martin@xemacs.org>
1024 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
1025 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
1026 Result: "temacs can only be run in -batch mode."
1027 Fix: Check xemacs executable candidate for directory-ness.
1029 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
1031 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
1032 they conflict with <sys/types.h>.
1034 2003-02-14 Martin Buchholz <martin@xemacs.org>
1036 * database.c: Berkeley DB wants __STDC__ to be defined.
1038 2003-02-13 Martin Buchholz <martin@xemacs.org>
1040 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
1042 2003-02-01 Martin Buchholz <martin@xemacs.org>
1044 * process-unix.c (unix_send_process): Fix C++ compile error.
1046 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
1048 * Added .dylib as an acceptable shared library file extension
1049 * to support MacOSX.
1051 2003-02-01 Martin Buchholz <martin@xemacs.org>
1053 * EmacsFrameP.h (EmacsFramePart):
1054 Kludge to allow compiling with Motif1, but linking with Motif2.
1056 2003-01-28 Martin Buchholz <martin@xemacs.org>
1058 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
1061 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
1063 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
1065 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
1067 * sysdll.c: Included lisp.h to define needed alloca_array.
1069 2003-02-13 Martin Buchholz <martin@xemacs.org>
1071 Make XEmacs redisplay 10 times faster.
1072 If, that is, you're using a slow X connection and MoveOpaque.
1073 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
1074 Use compress_motion = TRUE.
1075 * EmacsFrame.c (emacsFrameClassRec):
1076 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
1077 * EmacsManager.c (emacsManagerClassRec):
1078 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
1080 2003-01-30 Vin Shelton <acs@xemacs.org>
1082 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
1084 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
1086 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
1087 Patch by Martin Buchholz.
1089 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
1091 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
1092 Thanks to icc for warning and Martin Buchholz for reporting.
1094 2003-01-29 Vin Shelton <acs@xemacs.org>
1096 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
1098 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
1099 remember to multiply by the element size.
1101 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
1103 * XEmacs 21.4.12 "Portable Code" is released.
1105 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
1107 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
1108 * s/cygwin.sc: new linker file.
1110 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
1112 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
1114 * redisplay-x.c (x_output_string): Use X11-specified types.
1115 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
1116 * emacs.c (__free_hook): Use typeof with Intel compiler.
1117 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
1119 2003-01-08 Andy Piper <andy@xemacs.org>
1121 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
1122 reserve size during unexec().
1124 2003-01-07 Daiki Ueno <daiki@xemacs.org>
1126 * process-unix.c (unix_create_process): Don't let outchannel block.
1128 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
1130 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
1131 Needed for IsBadReadPtr().
1133 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
1135 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
1137 2002-12-14 Ben Wing <ben@xemacs.org>
1139 * callint.c: Declaration error.
1141 * dumper.c (pdump_load): Warning fix.
1142 * process.c: GCPRO error.
1143 * glyphs.c (unmap_subwindow):
1144 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
1145 * event-stream.c (maybe_kbd_translate): Wrong argument to
1146 character_to_event().
1148 * alloc.c (garbage_collect_1):
1150 * emacs.c (debug_can_access_memory):
1151 * emacs.c (fatal_error_signal):
1152 * emacs.c (mswindows_handle_hardware_exceptions):
1155 * emacs.c (assert_failed):
1156 * emacs.c (syms_of_emacs):
1159 * print.c (std_handle_out_va):
1160 * print.c (write_string_to_stdio_stream):
1161 * print.c (write_fmt_string):
1162 * print.c (printing_badness):
1163 * print.c (printing_major_badness):
1164 * print.c (print_internal):
1165 * print.c (debug_print_no_newline):
1166 * print.c (debug_backtrace):
1167 Be more defensive in handling bad values when printing. Add code
1168 from trunk involving inhibit_non_essential_printing_operations.
1169 When going down or in debug_print(), don't do external conversion
1170 and such and try really, really hard when printing to avoid core
1171 dumping. Add force-debugging-signal, debug_break().
1173 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
1175 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
1176 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
1178 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
1180 * database.c: Fix open_database. Berkeley DB API has changed in
1181 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
1183 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
1185 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
1187 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
1189 * event-Xt.c (Xt_timeout):
1190 (Xt_timeout_callback):
1191 (emacs_Xt_add_timeout):
1192 (emacs_Xt_remove_timeout):
1193 (Xt_timeout_to_emacs_event):
1194 Turn completed_timeouts from a stack into a queue. Fixes
1195 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
1197 2002-11-07 Wolfram Gloger <wg@malloc.de>
1199 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
1200 * emacs.c (main): Assert that mmap'd allocation is disabled.
1202 2002-10-14 Andy Piper <andy@xemacs.org>
1204 * glyphs-widget.c (layout_query_geometry): add in fiddle
1205 factor. Include border text in width layout calculation.
1206 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
1208 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
1210 * XEmacs 21.4.10 "Military Intelligence" is released.
1212 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
1214 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
1215 using the NAS private array SoundFileInfo that no longer exists in
1216 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
1217 and earlier. This is broken for some versions between 1.5a and
1220 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
1222 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
1224 * emacs.c (shut_down_emacs): Improve crash message.
1226 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
1228 * file-coding.c (determine_real_coding_system): Check for coding
1229 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
1230 shebangs and Python PEP 263.
1232 2002-10-08 Andy Piper <andy@xemacs.org>
1234 * glyphs-widget.c (layout_query_geometry): only resize dynamically
1235 if static sizes haven't been set.
1237 2002-08-30 Mike Alexander <mta@arbortext.com>
1239 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
1242 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
1244 * callproc.c (child_setup): 21.4 doesn't have retry_close.
1246 2002-09-20 Mike Sperber <mike@xemacs.org>
1248 (This partially gets back my patch from 2002-07-20 without the
1250 * callproc.c (child_setup): Remove Ben's comment noting confusion
1251 over the file descriptors >= 3: close_process_descs() doesn't
1252 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
1253 * process-unix.c (unix_create_process): Call
1254 begin_dont_check_for_quit to inhibit unwanted interaction (and
1255 thus breaking of X event synchronicity) in the child.
1257 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
1259 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
1262 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
1264 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
1265 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
1266 the xemacs process did not exit, but looped infinitely here. This
1269 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
1271 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
1272 (find_context): Improve comments.
1274 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
1275 (re_match_2): An XCHAR_TABLE operation was missing.
1277 Many of the following changes were inspired by Andy Piper's (now
1278 obsolete) patch to make syntax-table text property lookup optional.
1282 * syntax.h (top level): Document semantics of syntax flags.
1283 * syntax.c (comstr_start, Fforward_comment): Improve comments.
1284 * syntax.c, syntax.h (top level): Document syntax cache better in
1287 [Instrument syntax caching (temporary change)]
1289 * syntax.h (enum syntax_cache_statistics_functions, struct
1290 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
1291 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
1292 * syntax.c (scan_words, Fforward_comment, scan_lists,
1293 Fbackward_prefix_characters):
1294 * font-lock.c (find_context):
1295 Use them to instrument syntax caching.
1296 * syntax.c (struct syntax_cache_statistics, scs_statistics,
1297 syntax_cache_statistics_function_names): New type and variables.
1298 * syntax.c (update_syntax_cache): Update and report statistics.
1300 [Major syntax cache optimizations]
1302 syntax.c (lookup_syntax_properties): Default off.
1304 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
1305 * syntax.c (update_syntax_cache):
1306 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
1308 [Minor syntax cache optimizations and code clarifications]
1310 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
1311 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
1312 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
1313 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
1314 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
1315 (Code clarification.)
1317 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
1318 scan_lists): Compute code from syncode, use Boolean macros instead
1319 of redundant masking operations. (Code clarification; any decent
1320 compiler can do this optimization.)
1322 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
1325 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
1326 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
1327 use F*_single_property_change instead of F*_extent_change.
1328 Currently F*_single_property_change is _much_ less efficient.
1330 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
1331 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
1332 syntax_cache.object properly, don't leave Qt or Qnil.
1333 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
1334 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
1335 tests for Qt or Qnil.
1337 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
1339 * redisplay.c (point_in_line_start_cache):
1340 * extents.c (print_extent_1):
1343 * extents.c (Fset_extent_property): Document `syntax-table' property.
1345 * extents.h (Fnext_single_property_change): EXFUN it.
1347 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
1349 * search.c (clear_unused_search_regs): New static function.
1353 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
1354 Minor clarifications in comments.
1356 * regex.c (re_match_2_internal): Ensure no stale submatches.
1358 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
1360 * event-Xt.c (enqueue_focus_event): Add missing prototype.
1362 2002-08-29 Jerry James <james@xemacs.org>
1364 * lisp.h: structrures -> structures.
1366 2002-06-03 Andy Piper <andy@xemacs.org>
1368 * frame.c (frame_conversion_internal): add conversion appropriate
1369 for setting frame dimensions in pixels.
1371 * console.h (struct console_methods): add device-specific widget
1374 * emacs.c (main_1): initialize glyph vars.
1376 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
1377 (handle_focus_event_2): new function. Allow focus to
1378 be set to a particular window and widget.
1379 (enqueue_focus_event): new function. Create a
1380 synthetic focus event.
1381 (emacs_Xt_handle_magic_event): call
1382 handle_focus_event_2.
1384 * frame.c (Fset_frame_pixel_height): new function. Allow
1385 pixel-based sizing. Does the right thing on character-oriented
1387 (Fset_frame_pixel_width): ditto.
1388 (Fset_frame_pixel_size): ditto.
1389 (syms_of_frame): declare.
1391 * general-slots.h: add :vertically-justify and
1392 :horizontally-justify.
1394 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
1395 (mswindows_widget_border_width): new function.
1396 (mswindows_combo_box_instantiate): set border widths.
1397 (console_type_create_glyphs_mswindows): declare.
1400 (check_valid_justification): allow vertical and horizontal
1402 (widget_border_width): new function. Call device methods.
1403 (widget_instance_border_width): ditto.
1404 (logical_unit_height): new function. Determine the height of a
1405 logical-unit. Logical units are intended to provide grid-like
1406 layout for subcontrols in a layout. If the layout is
1407 :vertically-justify top then subcontrols will be positioned on
1408 logical-unit boundaries, thus allowing adjacent subcontrols to
1410 (widget_logical_unit_height): ditto for widgets.
1411 (redisplay_widget): misc cleanup.
1412 (widget_spacing): new function. Call device specific
1413 methods. Intended to be the default gap between adjacent widgets.
1414 (widget_query_geometry): use new spacing functions to determine
1415 appropriate geometry.
1416 (initialize_widget_image_instance): initialize horizontal and
1417 vertical justification.
1418 (widget_instantiate): use logica-units where appropriate for
1419 sizing large widgets.
1420 (button_query_geometry): use widget_instance_border_width.
1421 (tree_view_query_geometry): ditto.
1422 (tab_control_query_geometry): ditto.
1423 (edit_field_query_geometry): new function.
1424 (layout_update): pick up :justify, :horizontally-justify and
1425 :vertically-justify none of which worked previously. :justify is
1426 used as a fallback for both horizontal and vertical justification.
1427 (layout_query_geometry): use logical units to size appropriately.
1428 (layout_layout): ditto.
1429 (Fwidget_logical_to_character_width): new function. Allow users to
1430 convert from logical units to characters so that frame sizes can
1431 be set appropriately.
1432 (Fwidget_logical_to_character_height): ditto.
1433 (syms_of_glyphs_widget): declare.
1434 (image_instantiator_edit_fields): add edit_field_query_geometry.
1435 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
1436 :horizontally-justify.
1437 (specifier_vars_of_glyphs_widget): new function. Declare
1438 Vwidget_border_width which is not yet used.
1440 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
1441 (x_widget_border_width): new function.
1442 (x_widget_instantiate): create a sensible name for widgets.
1443 (console_type_create_glyphs_x): declare x_widget_border_width.
1445 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
1446 (struct Lisp_Image_Instance): add :vertically-justify and
1447 :horizontally-justify.
1448 (LAYOUT_JUSTIFY_TOP): new.
1449 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
1450 (ROUND_UP): new macro. Round argument up to next integral
1453 * redisplay-output.c (redisplay_output_layout): misc formatting.
1455 * symsinit.h: declare specifier_vars_of_glyphs_widget.
1457 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
1459 * XEmacs 21.4.9 "Informed Management" is released.
1461 2002-08-19 Andy Piper <andy@xemacs.org>
1463 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
1466 * realpath.c (xrealpath): normalize drive spec also so that dir
1467 sep chars are not mixed on cygwin.
1469 2002-08-06 Jerry James <james@xemacs.org>
1471 * window.c (Fsplit_window): Count only half of the divider width
1472 against the left window when splitting horizontally.
1474 2002-06-24 Andy Piper <andy@xemacs.org>
1476 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
1477 toolbar was cleared.
1479 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
1480 function. Split out from mswindows_output_frame_toolbars.
1481 (mswindows_output_frame_toolbars): move clear pieces to
1482 mswindows_output_frame_toolbars.
1484 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
1485 out from gtk_output_frame_toolbars.
1486 (gtk_output_frame_toolbars): move clear pieces to
1487 gtk_clear_frame_toolbars.
1489 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
1490 the frame is cleared. How this ever worked before is a mystery.
1491 (x_output_frame_toolbars): Only output toolbars.
1492 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
1494 * gutter.c (update_gutter_geometry):
1495 Mark frame layout changed.
1496 (update_frame_gutter_geometry, update_frame_gutters):
1497 Respect frame_layout_changed.
1499 * console.h (struct console_methods): add
1500 clear_frame_toolbars_method.
1502 * redisplay.c (redisplay_frame): call
1503 update_frame_toolbars_geometry and re-order update_frame_toolbars.
1505 * toolbar.h: declare update_frame_toolbars_geometry.
1507 * toolbar.c (update_frame_toolbars_geometry): new function. Split
1508 out from update_frame_toolbars. Call clear_frame_toolbars.
1509 (update_frame_toolbars): only output, do not change geometry.
1511 * redisplay.c: add frame_layout_changed.
1513 * redisplay.h: add frame_layout_changed.
1514 (CLASS_RESET_CHANGED_FLAGS): set it.
1515 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
1516 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
1517 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
1519 * device.h (struct device): add frame_layout_changed.
1520 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
1522 * frame.h (struct frame): add frame_layout_changed.
1523 (MARK_FRAME_LAYOUT_CHANGED): new.
1525 2002-06-30 Mike Alexander <mta@arbortext.com>
1527 * event-msw.c (mswindows_need_event): Don't wait for a new message
1528 if the queue is not empty. Suggested by Paul Moore.
1530 2002-06-12 Andy Piper <andy@xemacs.org>
1532 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
1533 for printing on accurately.
1535 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
1537 * event-msw.c (mswindows_wnd_proc): Add a handler for the
1538 WM_ACTIVATE message. Make sure that the frame is visible if the
1539 window is visible. This seemss to fix the problem where XEmacs
1540 appears to freeze after switching desktops with certain virtual
1542 (debug_output_mswin_message): Added code to output message
1543 parameters for WM_WINDOWPOSCHANGED,
1544 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
1546 2002-05-25 Andy Piper <andy@xemacs.org>
1548 * select-x.c (vars_of_select_x): Fix docstring of
1549 x-selection-strict-motif-ownership
1551 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
1553 * keymap.c (get_keymap):
1554 Add comment about do_autoload GCPROs own args.
1556 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
1558 * bytecode.c (execute_optimized_program): check_opcode ifdef
1559 ERROR_CHECK_BYTE_CODE.
1561 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
1563 Thanks to Ben Wing and Michael Sperber.
1565 * eval.c (Fcommand_execute):
1568 (Fmacroexpand_internal):
1569 (function_argcount):
1570 callint.c (Fcall_interactively):
1571 Add comment about do_autoload GCPROs own args.
1573 * (do_autoload): GCPRO both args as well as local Lisp_Object.
1575 * eval.c (Ffuncall): Extra braces to placate GCC.
1577 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
1579 * backtrace.h (grow_specpdl):
1581 * EmacsFrame.c (EmacsFrameSetValues):
1582 * eval.c (grow_specpdl):
1583 * ExternalShell.c (hack_event_masks_1):
1584 * glyphs-x.c (convert_EImage_to_XImage):
1585 (x_finalize_image_instance):
1586 * ralloc.c (page_size):
1588 * xgccache.c (gc_cache_hash):
1589 Fix unsigned comparison warnings.
1591 2002-07-29 Jerry James <james@xemacs.org>
1593 * lread.c (locate_file): Any nonnegative return value indicates
1594 success if MODE is nonnegative.
1596 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
1598 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
1601 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
1603 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
1605 * dumper.c (pdump_get_indirect_count):
1606 (pdump_scan_by_alignment):
1607 (pdump_dump_root_struct_ptrs):
1608 (pdump_dump_rtables):
1609 (pdump_dump_root_objects):
1611 * nas.c (WaveOpenDataForReading):
1612 * fns.c (print_bit_vector):
1613 * font-lock.c (SINGLE_SYNTAX_STYLE):
1614 * glyphs.c (check_for_ignored_expose):
1615 (find_matching_subwindow):
1617 * imgproc.c (get_histogram):
1618 * redisplay.c (point_in_line_start_cache):
1619 * redisplay-output.c (redisplay_unmap_subwindows):
1620 * symbols.c (defsymbol_massage_name_1):
1621 (defkeyword_massage_name):
1622 (deferror_massage_name_and_message):
1623 * redisplay-x.c (x_output_string):
1624 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
1625 * frame.h (struct frame):
1626 * filelock.c (current_lock_owner):
1627 * doprnt.c (emacs_doprnt_1):
1628 * lisp.h (struct Lisp_Bit_Vector):
1632 2002-02-13 Ben Wing <ben@xemacs.org>
1634 * event-stream.c (reset_key_echo):
1635 * event-stream.c (reset_this_command_keys):
1636 * event-stream.c (execute_command_event):
1637 If console is dead as a result of C-x 5 0, then post-command stuff
1638 needs to be careful and do only non-console-specific stuff.
1640 2002-07-01 Mike Sperber <mike@xemacs.org>
1642 * process-unix.c (unix_send_process): Mark coding_outstream as
1643 non-open upon SIGPIPE.
1645 * event-stream.c (Fnext_event): Reorder switch cases to something
1648 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
1650 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
1651 Don't bogusly reinitialize ascii_character property.
1653 2002-07-08 Mike Sperber <mike@xemacs.org>
1655 * process.c (Fstart_process_internal): Do error checking before we
1656 fork off the child, so the child can't muck with the state of the
1659 2002-07-08 Mike Sperber <mike@xemacs.org>
1661 * ralloc.c (init_ralloc): Allocate properly for pdump.
1663 2002-06-12 Andy Piper <andy@xemacs.org>
1665 * glyphs.c (query_string_geometry): check the string.
1667 * glyphs-widget.c (widget_logical_unit_height): cope with nil
1670 2002-06-17 Jerry James <james@xemacs.org>
1672 * sysdll.c: Remove RTLD_GLOBAL initialization.
1673 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
1675 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
1677 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
1679 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
1681 * sysdep.c (sys_rename): Make sys_rename work for the case where
1682 Windows rename sets errno to EACCES if target file exists.
1684 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
1686 * device-msw.c (mswindows_handle_page_setup_dialog_box):
1687 Fix detection of metric units to work on Win95
1689 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
1691 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
1693 2002-04-25 Andy Piper <andy@xemacs.org>
1695 * redisplay.c (create_text_block): Remove extra comment trailer.
1697 2002-04-24 Andy Piper <andy@xemacs.org>
1699 * redisplay.c (create_text_block): Don't actually add propagation
1700 data if the line ends after we have added a glyph.
1702 2002-04-22 Andy Piper <andy@xemacs.org>
1704 * extents.c (extent_fragment_update): check for glyphs we have
1705 previously displayed.
1706 * extents.c (print_extent_1): warning removal.
1707 * extents.h: change prototype.
1708 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
1709 widths correctly for wide glyphs.
1710 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
1711 * redisplay.c (prop_type): add PROP_GLYPH.
1712 * redisplay.c (struct prop_block): add glyph type
1713 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
1714 to the propagation data.
1715 * redisplay.c (create_text_block): if there is a glyph in the
1716 propagation data use it to salt extent_fragment_update.
1717 * redisplay.c (create_string_text_block): ditto.
1719 2002-04-13 Nix <nix@esperi.demon.co.uk>
1721 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
1722 * redisplay-output.c (compare_runes): Compare them.
1723 * redisplay.c: Update copyright date.
1724 * redisplay.c (pos_data): Add need_baseline_computation field.
1725 * redisplay.c (add_glyph_rune): Update ascent, descent, and
1726 need_baseline_computation; zero yoffset. Set max_pixmap_height
1727 for all pixmaps, not just automatically positioned ones.
1728 * redisplay.c (calculate_yoffset): New, compute yoffset values.
1729 * redisplay.c (calculate_baseline): New, compute textual baseline.
1730 * redisplay.c (add_glyph_rune): Call them.
1731 * redisplay.c (create_text_block): Likewise.
1732 * redisplay.c (create_overlay_glyph_block): Likewise.
1733 * redisplay.c (add_margin_runes): Likewise.
1734 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
1736 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
1737 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
1738 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
1739 * redisplay-msw.c (mswindows_output_string): Likewise.
1740 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
1741 * redisplay-gtk.c (gtk_output_display_block): Likewise.
1742 * redisplay-x.c (x_output_display_block): Likewise.
1744 2002-03-28 Ben Wing <ben@xemacs.org>
1746 * redisplay.c: Fixed bug in redisplay
1747 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
1748 and down of the lines, since they're bigger than the line
1749 size. (It was seen most obviously when there's a horizontal scroll
1750 bar, e.g. do C-h a glyph or something like that.) The problem was
1751 that the glyph-contrib-p setting on glyphs was ignored even if it
1752 was set properly, which it wasn't until now.
1754 2002-04-24 Andy Piper <andy@xemacs.org>
1756 * lisp.h (Dynarr_end): Fix definition.
1758 2002-02-06 Adrian Aichner <adrian@xemacs.org>
1760 * redisplay.c (mark_redisplay): Remove call to
1761 update_frame_window_mirror.
1763 2001-11-15 Andy Piper <andy@xemacs.org>
1765 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
1768 2002-02-13 Andy Piper <andy@xemacs.org>
1770 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
1771 we did in fact enqueue the XM_MAPFRAME event.
1773 2002-01-15 Adrian Aichner <adrian@xemacs.org>
1775 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
1776 to fix problem switching between virtual desktops under virtuawin
1777 virtual window manager.
1779 2001-07-30 Adrian Aichner <adrian@xemacs.org>
1781 * event-msw.c: Typo fix.
1782 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
1783 magic XM_MAPFRAME event has been sent.
1785 2001-11-23 Andy Piper <andy@xemacs.org>
1787 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
1789 2001-11-21 Andy Piper <andy@xemacs.org>
1791 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
1792 mouse events outside the frame.
1794 2002-03-20 Andy Piper <andy@xemacs.org>
1796 * menubar-msw.c (mswindows_popup_menu): warning removal.
1797 * dialog-msw.c (dialog_popped_down): ditto.
1799 2001-12-11 Andy Piper <andy@xemacs.org>
1801 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
1802 * dialog-msw.c (mswindows_make_dialog_box_internal): set
1804 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
1805 * menubar-msw.c (mswindows_handle_wm_command): ditto.
1806 * menubar-msw.c (mswindows_popup_menu): ditto.
1808 2001-10-29 Andy Piper <andy@xemacs.org>
1810 * dialog-msw.c (handle_directory_dialog_box): quit if the user
1813 2002-01-03 Andy Piper <andy@xemacs.org>
1815 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
1819 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
1821 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
1822 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
1823 * device-msw.c (mswindows_handle_page_setup_dialog_box):
1824 Detect and handle case where machine is set up for metric units
1826 2002-04-02 Andy Piper <andy@xemacs.org>
1828 * dired-msw.c (mswindows_get_files):
1829 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
1830 completely handled by XEmacs. Suggested by Thomas Vogler
1831 <mail@thomas-vogler.de>.
1833 2001-11-14 Andy Piper <andy@xemacs.org>
1835 * nt.c (REG_ROOT): change registry key to XEmacs.
1837 2002-04-27 Andy Piper <andy@xemacs.org>
1839 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
1841 2002-04-26 Andy Piper <andy@xemacs.org>
1843 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
1846 2002-03-14 Mike Alexander <mta@arbortext.com>
1848 * event-msw.c (mswindows_unwait_process): New, remove process from
1850 * process-nt.c (nt_finalize_process_data): Call
1851 mswindows_unwait_process
1852 * console-msw.h: Declare mswindows_unwait_process
1854 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
1856 * editfns.c (Fdecode_time):
1857 (Fformat_time_string):
1858 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
1859 (make_time): Warning elimination (change arg name).
1861 2001-11-24 Andy Piper <andy@xemacs.org>
1863 * window.c (Fsplit_window): Doc return type.
1865 2002-04-01 Andy Piper <andy@xemacs.org>
1867 * emacs.c (Fkill_emacs): Only output message box in interactive
1870 2002-04-26 Andy Piper <andy@xemacs.org>
1872 * config.h.in: pull in 21.5.x change to stop alloca warnings under
1875 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
1877 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
1880 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
1882 * XEmacs 21.4.8 "Honest Recruiter" is released.
1884 2002-05-07 Nix <nix@esperi.demon.co.uk>
1886 Supersedes 2002-04-17 patch.
1888 * process.h (PROCESS_LIVE_P): Use the process status as
1889 evidence of health, not the state of the input stream.
1890 (PROCESS_READABLE_P): Say if the process is readable
1891 from. (It may be dead nonetheless.)
1892 (CHECK_READABLE_PROCESS): Test for that condition.
1894 * process.c (create_process): Use PROCESS_READABLE_P.
1895 (read_process_output, set_process_filter): Likewise.
1897 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
1898 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
1900 This code is #if 0'd, this is not the time to add new functions:
1902 * process.c (Fprocess_readable_p): Report readability status.
1903 * process.c (Qprocess_readable_p): New, associated symbol...
1904 * process.c (syms_of_process): ... initialize it.
1906 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
1908 * XEmacs 21.4.7 "Economic Science" is released.
1910 2002-04-17 Nix <nix@esperi.demon.co.uk>
1912 * process.h (PROCESS_LIVE_P): Use the process status as
1913 evidence of health, not the state of the input stream.
1915 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
1917 * sysdep.c (sys_siglist): change "signum" to "signal"
1919 2001-04-21 Martin Buchholz <martin@xemacs.org>
1921 * s/darwin.h: New file.
1922 Thanks to Greg Parker <gparker@cs.stanford.edu>.
1924 2002-04-23 Andreas Jaeger <aj@suse.de>
1926 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
1927 which use lib64 for 64-bit libs.
1928 (START_FILES): Likewise.
1930 2002-02-11 Mike Sperber <mike@xemacs.org>
1933 (x_IO_error_handler):
1934 (x_init_device): Temporarily keep device in static variable
1935 `device_being_initialized' so we can recover gracefully from
1936 internal XOpenDevice failure. (XOpenDevice is documented to
1937 return NULL on failure, but sometimes calls the IO error handler
1940 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
1942 * dired.c (Ffile_name_all_completions): Change documentation --
1943 remove reference to completion-ignored-extensions.
1944 * dired.c (vars_of_dired): Change documentation for
1945 completion-ignored-extensions -- remove reference to
1946 file-name-all-completions.
1948 2002-03-06 Jerry James <james@xemacs.org>
1950 * emodules.c (emodules_load): Fix multiple loading of same module.
1952 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
1953 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
1954 RTLD_LAZY to avoid incorrect symbol binding when using nested
1955 shared libraries on Solaris.
1957 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
1959 * fileio.c (Ffind_file_name_handler): Improve docstring.
1961 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
1963 * fns.c (Fmapconcat): Improve docstring.
1965 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
1967 * device-gtk.c: Add prototype for
1968 emacs_gtk_selection_clear_event_handle.
1969 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
1970 selection. Setup signal handler for "selection_clear_event"
1971 (emacs_gtk_selection_clear_event_handle).
1973 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
1974 other applications owning the clipboard (based on
1975 x_handle_selection_clear).
1977 2001-12-23 William M. Perry <wmperry@gnu.org>
1979 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
1981 2002-01-04 Martin Buchholz <martin@xemacs.org>
1983 * keymap.c (define_key_alternate_name): Parenthesize EQ.
1985 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
1987 * XEmacs 21.4.6 "Common Lisp" is released.
1989 2001-12-16 Torsten Duwe <duwe@caldera.de>
1991 * search.c (Freplace_match): Add missing sub-expression functionality.
1993 * buffer.c (decode_buffer): Add a check for pointer type to
1994 decode_buffer, before gcc's CSE optimization reorders a
1995 dereference in front of the allow_string test.
1997 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
1999 * window.c (window_loop): Fix bug that sometimes prevented
2000 window_loop() from iterating across multiple devices. Also, at
2001 Ben's request, changed infloop-detecting code to abort() instead
2002 of silently terminating window_loop().
2004 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
2006 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
2007 * editfns.c (make_time): New function.
2008 (Fencode_time): Use it instead of wasteful_word_to_lisp.
2009 * lisp.h (make_time): Prototype and comment it.
2010 * dired.c (wasteful_word_to_lisp): Deprecate.
2011 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
2013 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
2015 * fileio.c (auto_save_1): Use current coding system, not
2018 2001-11-13 Ben Wing <ben@xemacs.org>
2021 * window.c (window_truncation_on):
2022 * window.c (syms_of_window):
2023 truncate-partial-width-windows should respect the buffer being
2024 displayed, like other redisplay vars.
2026 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
2028 * event-stream.c (Fread_key_sequence): save current buffer.
2030 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
2032 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
2034 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
2036 * alloc.c (lcrecord_stats): Add space for types defined in modules.
2038 2001-10-26 Mike Alexander <mta@arbortext.com>
2040 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
2042 2001-10-25 Andy Piper <andy@xemacs.org>
2045 * dialog-msw.c (handle_directory_proc): new function.
2046 (handle_directory_dialog_box): new fucntion.
2047 (handle_file_dialog_box): use new directory dialog support.
2048 (mswindows_make_dialog_box_internal): ditto.
2049 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
2051 (mswindows_find_frame): make global.
2052 * fileio.c (Fexpand_file_name): build fix.
2053 * general-slots.h: add Qdirectory.
2054 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
2056 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
2057 cygwin not leaving win32 paths unchanged.
2058 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
2059 cygwin runtime to do path conversion.
2060 (Fmswindows_shell_execute): fix cygwin handling of URLs.
2061 (syms_of_win32): add new function.
2062 * window.c (window_loop): build fix.
2064 2001-10-15 Andy Piper <andy@xemacs.org>
2066 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
2068 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
2070 * XEmacs 21.4.5 "Civil Service" is released.
2072 2001-04-08 Danny Colascione <qtmstr@optonline.net>
2074 * glyphs-x.c: Force buffer-tab highlight update when moving the
2075 buffer, avoiding an ugly black border, used for keyboard focus
2076 indication, on a widget that can never have keyboard focus, the
2079 2001-08-30 Daiki Ueno <ueno@unixuser.org>
2081 * process-unix.c (unix_open_multicast_group): Remove too much
2082 conversion between host and network byte order.
2084 2001-09-10 Nix <nix@esperi.demon.co.uk>
2086 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
2087 before replacing them.
2089 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
2092 * src/window.c (undedicate_windows): Use it.
2093 * src/window.h: Add prototype.
2095 2001-09-17 Ben Wing <ben@xemacs.org>
2097 * fileio.c (normalize_filename):
2098 * fileio.c (Fexpand_file_name):
2099 Fix various C++ compile errors in Andy's recent code.
2101 * callint.c (Fcall_interactively):
2102 * editfns.c (Ftemp_directory):
2103 * editfns.c (Fuser_full_name):
2104 * emacs.c (argmatch):
2105 * lread.c (locate_file_map_suffixes):
2106 * redisplay-x.c (x_ring_bell):
2107 Fix sign-compare warnings.
2109 2001-09-08 Andy Piper <andy@xemacs.org>
2111 * fileio.c (normalize_filename): copied from nt.c
2112 * (Ffile_name_directory): enable win32 paths under cygwin.
2113 * (Ffile_name_nondirectory): ditto.
2114 * (directory_file_name): ditto.
2115 * (Fexpand_file_name): ditto.
2116 * (Ffile_truename): ditto.
2117 * (Fsubstitute_in_file_name): ditto.
2118 * (Ffile_name_absolute_p): ditto.
2119 * (Ffile_readable_p): ditto.
2121 2001-09-08 Andy Piper <andy@xemacs.org>
2123 * device-msw.c (mswindows_finish_init_device): remove dde
2125 * device-msw.c (mswindows_init_dde): factor out from
2126 mswindows_finish_init_device()
2127 * device-msw.c (init_mswindows_very_early): new function
2128 initialize but don't enable dde.
2129 * emacs.c (main_1): call init_mswindows_very_early.
2131 * event-msw.c (mswindows_dde_callback): only execute when we are
2133 * symsinit.h: declare init_mswindows_very_early.
2135 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
2137 [sjt: This has been in 21.5 for months with no complaints.]
2139 * console.h (struct console_methods): Added flags member.
2140 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
2141 (CONMETH_IMPL_FLAG):
2142 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
2143 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
2145 * device.c (window_system_pixelated_geometry): Use the above macros.
2147 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
2148 implememntation flag.
2149 * device.h (DEVICE_DISPLAY_P): Use it.
2151 * frame.c (delete_frame_internal): Use the above macro.
2153 * redisplay.c (redisplay_device): Use it.
2154 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
2155 (redisplay_frame): Ditto.
2157 * device-msw.c (mswindows_device_implementation_flags): Removed.
2158 (msprinter_device_implementation_flags): Removed.
2159 (console_type_create_device_mswindows): Removed references to
2160 implementation_flags methods, set implementation flags here.
2161 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
2163 * device-gtk.c (gtk_device_implementation_flags): Removed method.
2164 (console_type_create_device_gtk): Removed method declaration.
2165 Added commented out statement which semantically matches the
2166 commented out statement in the above removed method.
2168 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
2170 The attached patch fixes a few warnings.
2172 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
2173 * src/frame-gtk.c: guard against GNOME calls in GTK only
2174 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
2175 * src/select-gtk.c: prototype lisp_to_time
2177 2001-06-08 Ben Wing <ben@xemacs.org>
2179 ------ gc-in-window-procedure fixes ------
2182 * alloc.c (struct post_gc_action):
2183 * alloc.c (register_post_gc_action):
2184 * alloc.c (run_post_gc_actions):
2185 * alloc.c (garbage_collect_1):
2186 Create "post-gc actions", to avoid those dreaded "GC during window
2187 procedure" problems.
2190 Abort, clean and simple, when GC in window procedure. We want
2191 to flush these puppies out.
2194 * glyphs-msw.c (finalize_destroy_window):
2195 * glyphs-msw.c (mswindows_finalize_image_instance):
2196 Use a post-gc action when destroying subwindows.
2199 Declare register_post_gc_action().
2202 * scrollbar-msw.c (unshow_that_mofo):
2203 Use a post-gc action when unshowing scrollbar windows, if in gc.
2205 * redisplay.c (mark_redisplay):
2206 Add comment about the utter evilness of what's going down here.
2208 ------ cygwin setitimer fixes ------
2210 * Makefile.in.in (sheap_objs):
2211 * Makefile.in.in (profile_objs):
2212 * Makefile.in.in (objs):
2213 Compile profile.c only when HAVE_SETITIMER.
2215 * nt.c (mswindows_sigset):
2216 * nt.c (mswindows_sighold):
2217 * nt.c (mswindows_sigrelse):
2218 * nt.c (mswindows_sigpause):
2219 * nt.c (mswindows_raise):
2220 * nt.c (close_file_data):
2224 Move setitimer() emulation to win32.c, because Cygwin needs it too.
2227 * profile.c (Fstart_profiling):
2228 * profile.c (Fstop_profiling):
2229 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
2230 instead of just plain setitimer().
2233 * signal.c (set_one_shot_timer):
2235 Define qxe_setitimer() as an encapsulation around setitimer() --
2236 call setitimer() directly unless Cygwin or MS Win, in which case
2237 we use our simulated version in win32.c.
2240 * systime.h (struct itimerval):
2241 * systime.h (ITIMER_REAL):
2242 Prototype mswindows_setitimer() and qxe_setitimer(). Long
2243 comment about "qxe" and the policy regarding encapsulation.
2246 * win32.c (setitimer_helper_proc):
2247 * win32.c (setitimer_helper_period):
2248 * win32.c (setitimer_helper):
2249 * win32.c (mswindows_setitimer):
2250 Move setitimer() emulation here, so Cygwin can use it.
2251 Rename a couple of functions and variables to be longer and more
2252 descriptive. In setitimer_helper_proc(), send the signal
2253 using either mswindows_raise() or (on Cygwin) kill(). If for
2254 some reason we are still getting lockups, we'll change the kill()
2255 to directly invoke the signal handlers.
2257 ------ windows shell fixes ------
2261 Comments about how these two files must die.
2263 * callproc.c (init_callproc):
2264 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
2265 not just COMSPEC. (more correct and closer to FSF.) Don't
2266 force a value for SHELL into the environment. (Comments added
2267 to explain why not.)
2269 * nt.c (init_user_info):
2270 Don't shove a fabricated SHELL into the environment. See above.
2272 2001-06-01 Ben Wing <ben@xemacs.org>
2274 * Makefile.in.in (ldflags):
2275 eliminate that pesky "defaulting to 00401000" warning.
2279 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
2281 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
2282 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
2284 2001-04-24 Jerry James <james@xemacs.org>
2286 * faces.h: pass parameters to Fadd_spec_to_specifier in the
2289 2001-06-01 Ben Wing <ben@xemacs.org>
2291 * event-msw.c (debug_mswin_messages):
2292 conditionalize the messages that were causing compile errors.
2293 (if only macros could generate #ifdef statements ...)
2295 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
2297 * XEmacs 21.4.4 "Artificial Intelligence" is released.
2299 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
2301 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
2303 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
2305 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
2306 * process-unix.c (unix_canonicalize_host_name):
2307 sysdep.c (init_system_name):
2308 Use it to conditionally support IPv6 canonicalization.
2310 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
2313 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
2315 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
2317 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
2318 attempt is made to scroll when no scroll bar is available.
2320 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
2322 * input-method-motif.c (XIM_delete_frame): New callback.
2323 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
2324 got deleted from 21.4.3.)
2326 2001-06-01 Ben Wing <ben@xemacs.org>
2328 * nt.c (mswindows_utime):
2329 * nt.c (close_file_data):
2330 fix off-by-one-indirection error.
2332 2001-05-29 Adrian Aichner <adrian@xemacs.org>
2334 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
2335 because set_file_times() now takes Lisp_Object path, instead of
2337 * nt.c: Include buffer.h.
2338 * nt.c (convert_from_time_t): New.
2339 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
2340 not set mtime correctly.
2341 * nt.h: Declare mswindows_utime().
2342 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
2343 path, instead of char*.
2344 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
2346 2001-05-30 Ben Wing <ben@xemacs.org>
2350 (Stephen, just take all event-msw.c patches. This includes
2351 the "iconify" fix below.)
2354 * event-msw.c (mswindows_dequeue_dispatch_event):
2355 * event-msw.c (assert):
2356 * event-msw.c (emacs_mswindows_quit_p):
2357 * event-msw.c (debug_mswin_messages):
2358 * event-msw.c (debug_output_mswin_message):
2359 * event-msw.c (vars_of_event_mswindows):
2360 Fix yet more problems with C-g handling.
2361 Implement debug-mswindows-events.
2363 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
2365 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
2367 2001-05-23 Ben Wing <ben@xemacs.org>
2369 * event-msw.c (winsock_writer):
2370 * event-msw.c (winsock_closer):
2371 prior kludgy code was clobbering the buffer, thinking it was
2372 "unused" space to store an unneeded return value; instead, use
2373 the variable we've already got staring us in the face.
2375 2001-05-17 Andy Piper <andy@xemacs.org>
2377 * sysfile.h: don't assume that file attributes are boolean
2379 2001-05-23 Ben Wing <ben@xemacs.org>
2381 * device-msw.c (msprinter_init_device):
2382 signal an error rather than crash with an unavailable network
2383 printer (from Mike Alexander).
2386 * event-msw.c (struct winsock_stream):
2387 * event-msw.c (winsock_writer):
2388 * event-msw.c (winsock_closer):
2389 * event-msw.c (make_winsock_stream_1):
2390 cleanup headers. fix (hopefully) an error with data corruption
2391 when sending to a network connection.
2393 * fileio.c (Fexpand_file_name): Fix evil code that attempts
2394 to handle the ~user prefix by (a) always assuming we're referencing
2395 ourselves and not even verifying the user -- hence any file with
2396 a tilde as its first char is invalid! (b) if there wasn't a slash
2397 following the filename, the pointer was set *past* the end of
2398 file and we started reading from uninitialized memory. Now we
2399 simply treat these as files, always.
2401 * buffer.c (common_init_complex_vars_of_buffer): comment change.
2403 2001-05-19 Ben Wing <ben@xemacs.org>
2405 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
2408 * process-nt.c (vars_of_process_nt):
2409 remove unused mswindows-quote-process-args. rec for 21.4.
2411 2001-05-12 Ben Wing <ben@xemacs.org>
2413 * event-msw.c (mswindows_dde_callback):
2414 * event-msw.c (mswindows_wnd_proc):
2415 eliminate cygwin warnings.
2417 2001-05-06 Ben Wing <ben@xemacs.org>
2421 * device-msw.c (print_dialog_worker):
2422 * device-msw.c (mswindows_handle_print_dialog_box):
2423 * device-msw.c (syms_of_device_mswindows):
2424 * dialog-msw.c (mswindows_make_dialog_box_internal):
2426 implement printing the selection when it's selected.
2428 2001-05-20 Drazen Kacar <dave@arsdigita.com>
2430 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
2432 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
2434 * lisp.h (EMACS_INT_MAX): This should be one bit less since
2435 EMACS_INT is signed.
2437 2001-04-15 Michael Lausch <mla@1012surf.net>
2439 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
2440 gtk_widget_request_size() to give scrollbar >0 width for
2443 2001-05-30 William M. Perry <wmperry@gnu.org>
2445 * event-gtk.c: Check for buttons as modifier keys.
2447 2001-05-25 Craig Lanning <CraigL@Knology.net>
2450 Properly find MinGW's <process.h> inside Cygwin's restructured
2451 include directories. Don't try to include <cygwin/version.h>
2452 since we are dropping support for MinGW in versions of Cygwin
2455 Drop support for MinGW in versions of Cygwin before b21.
2457 Properly find MinGW's <process.h> inside Cygwin's restructured
2458 include directories.
2460 Drop support for MinGW in versions of Cygwin before b21.
2462 Even though a.out.h is no longer detected by configure, allow
2463 MinGW to use it until we figure out how to do the job with Win32.
2465 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
2467 * syntax.c (find_start_of_comment):
2468 Fix `unbalanced parentheses' bug when dealing with mixed comment
2469 styles in c++/java/etc. mode
2471 2001-05-29 Mike Alexander <mta@arbortext.com>
2473 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
2474 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
2476 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
2478 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
2480 2001-03-31 Mike Sperber <mike@xemacs.org>
2482 * search.c (Freplace_match): Support FSF-style specification of
2483 match subexpression when applied to a buffer.
2485 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
2487 * event-stream.c (is_scrollbar_event): add missing semicolon
2489 2001-05-22 Isaac Hollander <ysh@mindspring.com>
2491 * Makefile.in.in: Use TAR macro instead of hardcoding
2492 tar. Allows use of GNU tar instead of system tar
2494 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
2496 * event-stream.c (is_scrollbar_event): add missing semicolon
2498 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
2500 * XEmacs 21.4.3 "Academic Rigor" is released.
2502 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
2504 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
2506 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
2508 * buffer.c (Vcase_fold_search): Remove obsolete
2509 comment about non ASCII case-fold-search. This
2510 bug has been fixed by case-table changes.
2512 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
2514 * event-msw.c: Restore include of events-mod.h.
2516 2001-04-22 zhaoway <zw@debian.org>
2518 * event-stream.c (is_scrollbar_event): Noop returning 0 if
2521 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
2523 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
2525 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
2527 * mule-charset.c (Fmake_charset): Add missing else.
2529 2001-04-23 Ben Wing <ben@xemacs.org>
2531 * event-msw.c (FAKE_MOD_QUIT):
2532 * event-msw.c (mswindows_dequeue_dispatch_event):
2533 * event-msw.c (mswindows_wnd_proc):
2534 * event-msw.c (emacs_mswindows_quit_p):
2535 Get critical quit working.
2537 2001-05-05 Ben Wing <ben@xemacs.org>
2541 * device-msw.c (mswindows_get_default_margin):
2542 * frame-msw.c (mswindows_size_frame_internal):
2543 * frame-msw.c (msprinter_init_frame_1):
2544 * frame-msw.c (vars_of_frame_mswindows):
2545 Change top/bottom margin defaults to 0.5 inches.
2547 2001-05-01 Martin Buchholz <martin@xemacs.org>
2549 Fix link error with gcc 3.0 on Linux.
2550 * terminfo.c (UP): Remove.
2551 * terminfo.c (BC): Remove.
2552 * terminfo.c (PC): Remove.
2553 They weren't used, and in any case, these symbols should be
2554 defined in the *library*.
2556 2001-05-03 Martin Buchholz <martin@xemacs.org>
2558 * s/aix4.h: Fix crash with xlc -O3.
2559 Improve comment explaining how -O3 works.
2561 2001-04-15 Ben Wing <ben@xemacs.org>
2564 * event-stream.c (Fnext_event):
2565 * event-stream.c (is_scrollbar_event):
2566 * event-stream.c (execute_command_event):
2567 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
2568 crash' problem. His fix introduces other problems. We filter
2569 out scrollbar events specifically, making them somewhat invisible
2570 to command-building, and not appearing in `this-command-keys'.
2571 More work is still needed (see comments in event-stream.c), but
2572 this fixes all the major problems.
2574 2001-04-20 Ben Wing <ben@xemacs.org>
2576 * .cvsignore: Added stuff for Windows.
2578 2001-04-28 Ben Wing <ben@xemacs.org>
2580 * buffer.c (Ferase_buffer):
2581 * editfns.c (buffer_insert1):
2582 * editfns.c (Finsert_before_markers):
2583 * editfns.c (Finsert_string):
2584 * editfns.c (Finsert_char):
2585 * editfns.c (Fdelete_region):
2586 * editfns.c (Fwiden):
2587 * editfns.c (Fnarrow_to_region):
2588 remove bogus lines setting zmacs_region_stays to 0.
2590 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
2592 * process-unix.c (unix_open_network_stream): If connect() fails
2593 invalidate file descriptor after closing it.
2595 2001-03-08 Mike Alexander <mta@arbortext.com>
2597 * event-msw.c (mswindows_need_event_in_modal_loop):
2598 Don't dispatch a message if we didn't get one.
2599 (mswindows_need_event):
2600 Terminate the correct process when one exits instead of the first
2601 one on Vprocess_list and look for process termination when in
2602 mswindows_protect_modal_loop.
2604 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
2606 * XEmacs 21.4.1 "Copyleft" is released.
2608 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
2610 * input-method-motif.c (XIM_delete_frame): New callback.
2611 (XIM_init_frame): Register it.
2613 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
2615 * XEmacs 21.4.0 "Solid Vapor" is released.
2617 2001-04-15 Ben Wing <ben@xemacs.org>
2619 * cmdloop.c (call_command_loop):
2620 Fix braino in bit-rotting code.
2622 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
2624 * extents.c (Fset_extent_endpoints): Force creation of extent info
2625 in buffer_or_string.
2627 * extents.c (process_extents_for_insertion_mapper): Correctly
2628 check for open-open zero-length extents.
2630 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
2632 * lisp.h: New typedefs Memory_count, Element_count.
2635 Sign-compare warning elimination: several unsigned -> signed.
2636 Based on work by Ben Wing <ben@xemacs.org>.
2638 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
2640 * XEmacs 21.2.47 "Zephir" is released.
2642 2001-04-02 Jan Vroonhof <jan@xemacs.org>
2644 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
2646 2001-04-03 Mike Sperber <mike@xemacs.org>
2648 * search.c: Revert previous patch due because of release.
2650 2001-03-30 Ben Wing <ben@xemacs.org>
2653 Add missing killpg prototype.
2656 Add a comment about fixing problems when a new entry is added
2659 * frame-msw.c (mswindows_init_frame_1):
2660 Fix compile warnings.
2662 * menubar.c (vars_of_menubar):
2663 Provide `menu-accelerator-support' to indicate that we properly
2664 support %_ in menu specifications, so that package code can
2665 conditionalize on this (and remove %_ from menu specifications
2670 * scrollbar-msw.c (can_scroll):
2672 Fix handling of mouse wheel under Windows to follow standards --
2673 now scrolls window under pointer, not selected window.
2675 2001-03-31 Mike Sperber <mike@xemacs.org>
2677 * search.c (Freplace_match): Support FSF-style specification of
2678 match subexpression when applied to a buffer.
2680 2001-03-15 Martin Buchholz <martin@xemacs.org>
2682 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
2683 function to modify KEYMAP, so map over a copy of the hash table.
2685 2001-03-21 Martin Buchholz <martin@xemacs.org>
2687 * XEmacs 21.2.46 "Urania" is released.
2689 2001-03-20 Dan Holmsand <dan@eyebee.com>
2691 * realpath.c (xrealpath): Make file-truename work with symlinks to
2692 /cygdrive paths on cygwin. Always lowercase drive-letters on
2694 (cygwin_readlink): Don't try to find canonical filename unless
2697 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
2699 * ChangeLog: Log GTK merge.
2705 Revert gratuitous whitespace changes from GTK merge.
2707 * emacs.c: Document end of complex #ifdef @ l. 1495.
2710 2001-03-12 Andy Piper <andy@xemacs.org>
2712 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
2713 have to do likewise.
2715 2001-03-12 Andy Piper <andy@xemacs.org>
2717 * sysdep.c: we only support mingw now.
2719 2001-03-09 Andy Piper <andy@xemacs.org>
2721 * unexcw.c (copy_executable_and_dump_data_section): making approx
2722 overrun a warning only.
2724 2001-03-10 William M. Perry <wmperry@aventail.com>
2726 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
2727 satisfy Stephen's identical-after-cpp plea.
2729 2001-03-02 Ben Wing <ben@xemacs.org>
2732 * cmds.c (Fforward_char):
2736 Augment documentation of the most common motion commands to make
2737 note of the shifted-motion support.
2739 2001-03-02 Ben Wing <ben@xemacs.org>
2741 * nt.c (mswindows_fstat):
2742 * nt.c (mswindows_stat):
2743 * search.c (boyer_moore):
2744 Fix compile warnings under Windows.
2746 * sysdep.c (sys_readdir):
2747 Fix buggy filename-conversion code under Mule.
2749 2001-03-09 William M. Perry <wmperry@aventail.com>
2771 * redisplay-output.c:
2777 The Great GTK Merge.
2784 * emacs-widget-accessors.c:
2798 * native-gtk-toolbar.c:
2809 The Great GTK Merge: new files.
2811 2001-02-26 Ben Wing <ben@xemacs.org>
2813 Reapplied Lstream change.
2815 2001-02-26 Ben Wing <ben@xemacs.org>
2817 Undid the last change, since it is more controversial than I
2818 thought. It should be back in at some point soon.
2820 2001-02-25 Ben Wing <ben@xemacs.org>
2823 * callproc.c (Fold_call_process_internal):
2824 * event-msw.c (ntpipe_slurp_reader):
2825 * event-msw.c (ntpipe_shove_writer):
2826 * event-msw.c (winsock_reader):
2827 * event-msw.c (winsock_writer):
2829 * file-coding.c (detect_eol_type):
2830 * file-coding.c (detect_coding_type):
2831 * file-coding.c (determine_real_coding_system):
2832 * file-coding.c (Fdetect_coding_region):
2833 * file-coding.c (decoding_reader):
2834 * file-coding.c (decoding_writer):
2835 * file-coding.c (mule_decode):
2836 * file-coding.c (Fdecode_coding_region):
2837 * file-coding.c (encoding_reader):
2838 * file-coding.c (encoding_writer):
2839 * file-coding.c (mule_encode):
2840 * file-coding.c (Fencode_coding_region):
2841 * file-coding.c (detect_coding_sjis):
2842 * file-coding.c (decode_coding_sjis):
2843 * file-coding.c (encode_coding_sjis):
2844 * file-coding.c (detect_coding_big5):
2845 * file-coding.c (decode_coding_big5):
2846 * file-coding.c (encode_coding_big5):
2847 * file-coding.c (detect_coding_ucs4):
2848 * file-coding.c (decode_coding_ucs4):
2849 * file-coding.c (encode_coding_ucs4):
2850 * file-coding.c (detect_coding_utf8):
2851 * file-coding.c (decode_coding_utf8):
2852 * file-coding.c (encode_coding_utf8):
2853 * file-coding.c (detect_coding_iso2022):
2854 * file-coding.c (decode_coding_iso2022):
2855 * file-coding.c (encode_coding_iso2022):
2856 * file-coding.c (decode_coding_no_conversion):
2857 * file-coding.c (encode_coding_no_conversion):
2858 * glyphs-x.c (write_lisp_string_to_temp_file):
2859 * gpmevent.c (tty_get_foreign_selection):
2862 * lstream.c (Lstream_flush_out):
2863 * lstream.c (Lstream_adding):
2864 * lstream.c (Lstream_write_1):
2865 * lstream.c (Lstream_write):
2866 * lstream.c (Lstream_raw_read):
2867 * lstream.c (Lstream_read_more):
2868 * lstream.c (Lstream_read):
2869 * lstream.c (Lstream_unread):
2870 * lstream.c (Lstream_fputc):
2871 * lstream.c (stdio_reader):
2872 * lstream.c (stdio_writer):
2873 * lstream.c (filedesc_reader):
2874 * lstream.c (filedesc_writer):
2875 * lstream.c (lisp_string_reader):
2876 * lstream.c (struct fixed_buffer_stream):
2877 * lstream.c (make_fixed_buffer_input_stream):
2878 * lstream.c (make_fixed_buffer_output_stream):
2879 * lstream.c (fixed_buffer_reader):
2880 * lstream.c (fixed_buffer_writer):
2881 * lstream.c (struct resizing_buffer_stream):
2882 * lstream.c (resizing_buffer_writer):
2883 * lstream.c (dynarr_writer):
2884 * lstream.c (lisp_buffer_reader):
2885 * lstream.c (lisp_buffer_writer):
2887 * lstream.h (lstream_implementation):
2888 * lstream.h (struct lstream):
2890 * process-nt.c (nt_send_process):
2891 * process-unix.c (unix_send_process):
2893 Correct Lstream lossage due to mixing of signed and unsigned
2894 quantities. All Lstream uses of size_t and ssize_t are now a
2895 single signed data type Lstream_data_count. This fixes problems
2896 under Windows with sending large quantities of data to a process,
2897 and may well fix other subtle bugs.
2899 2001-02-23 Martin Buchholz <martin@xemacs.org>
2901 * XEmacs 21.2.45 "Thelxepeia" is released.
2903 2001-02-21 Martin Buchholz <martin@xemacs.org>
2905 * lisp-union.h (XSETINT):
2908 Reverse previous change of 2001-02-06.
2910 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
2912 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
2914 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
2915 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
2916 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
2917 * regex.c (POS_AS_IN_BUFFER): removed
2918 * regex.c (re_search_2):
2919 * regex.c (re_match_2):
2920 Don't use an offset of 1 when calculating buffer positions, since
2921 `BI_BUF_BEGV' does it already.
2923 2001-02-18 Wim Dumon <wim@easics.be>
2925 * insdel.c (prepare_to_modify_buffer): Also check for
2926 supersession when clash-detection is enabled.
2928 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
2930 * regex.c (re_match_2_internal):
2931 Convert temp characters from 'const unsigned char' to 're_char'.
2932 Fix crashing bug with extended characters under mule.
2933 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
2934 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
2935 font-lock, pdump, and new syntax-table code.
2936 * syntax.c (find_start_of_comment):
2937 (find_end_of_comment):
2939 Fix crashing bugs involving moving beyond end of buffer.
2940 * syntax.c (find_start_of_comment):
2941 Fixed logic to allow proper detection of cases where the same
2942 character is used to end both a two-char comment start and a
2943 two-char comment end sequence. Fixes `(forward-comment -1)'.
2944 * syntax.c (find_start_of_comment):
2945 Return position just past last comment-end character for all cases
2946 (previously was only done for two-char comment-end sequences).
2947 * syntax.c (forward-comment):
2948 Take value returned from `find_end_of_comment', rather than
2950 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
2951 Properly deal with BUFFERP (syntax_cache.object)
2953 2001-02-17 Martin Buchholz <martin@xemacs.org>
2955 * alloc.c (Fgarbage_collect):
2956 * alloc.c (make_bit_vector_from_byte_vector):
2957 -Wsign-compare-correctness.
2959 2001-02-16 Martin Buchholz <martin@xemacs.org>
2961 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
2962 (XSETCHAR): Likewise.
2963 (XSETOBJ): Likewise.
2965 2001-02-15 Martin Buchholz <martin@xemacs.org>
2967 * mule-canna.c (canna-func-delete_previous):
2968 Rename to canna-func-delete-previous.
2970 2001-02-14 Martin Buchholz <martin@xemacs.org>
2972 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
2974 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
2976 * font-lock.c (find_context): Fix C++ compile errors introduced by
2979 2001-02-13 Martin Buchholz <martin@xemacs.org>
2981 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
2982 pragma, but earlier ones barf on the same pragma.
2984 2001-02-06 Mike Sperber <mike@xemacs.org>
2986 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
2987 `configure-mule-lisp-directory'.
2989 2001-02-12 Martin Buchholz <martin@xemacs.org>
2991 Make sure dump-id.c is compiled in the same way as other .c's.
2992 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
2993 * dump-id.h: Remove.
2994 * emacs.c: Move dump-id.h into dumper.h.
2995 * dumper.h: Move dump-id.h into dumper.h.
2997 Use standard .c.o rule for building dump-id.o.
2998 Remove preprocessor flags from link command.
2999 Add dump-id.o to ${otherobjs} if PDUMP.
3001 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
3003 Port FSF 20.7 syntax table improvements.
3007 Fixups for new syntax table stuff.
3008 * dired.c: Include syntax.c.
3009 (Fdirectory_files): Initialize regex_match_object and
3011 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
3012 and Fget_char_property.
3014 Use ported FSF 20.7 syntax table improvements.
3019 2001-02-09 Martin Buchholz <martin@xemacs.org>
3021 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
3022 Unixware's enum boolean from sys/types.h.
3024 2001-02-10 Martin Buchholz <martin@xemacs.org>
3026 Fix support for building with latest Purify.
3027 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
3028 (PURIFY_FLAGS): Likewise.
3030 2001-02-09 Martin Buchholz <martin@xemacs.org>
3032 * fileio.c (lisp_string_set_file_times): New.
3033 * fileio.c (Fcopy_file): Use it.
3035 (copy-file filename non-ascii-filename t t)
3036 ==> No such file or directory, non-ascii-filename
3038 2001-02-10 Martin Buchholz <martin@xemacs.org>
3040 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
3041 USHRT_MAX seems clearer than ~0 anyways.
3043 2001-02-09 Martin Buchholz <martin@xemacs.org>
3045 dumper improvements. Inspired by Olivier.
3046 * dumper.c (pdump_max_align): New.
3047 * dumper.c (pdump_add_entry): Use pdump_max_align.
3048 * dumper.c (pdump_get_entry_list): Likewise.
3049 * dumper.c (pdump_scan_by_alignment): Likewise.
3050 Don't iterate through unnecessary alignments.
3051 * dumper.c (pdump_file_get): No need to align result of malloc().
3052 * dumper.c (pdump_mallocadr): Remove.
3053 The result of malloc() is guaranteed to be maximally aligned.
3054 * dumper.c: s/elmt/elt/g;
3055 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
3056 * dumper.c (pdump_alert_undump_object): Likewise.
3057 * dumper.c (pdump_align_table):
3058 Don't support alignments > 64.
3059 Store ALIGNOF's, not shift counts, in table.
3061 2001-02-09 Martin Buchholz <martin@xemacs.org>
3063 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
3064 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
3065 * systime.h: Use HAVE_UTIME.
3066 * sysdep.c (struct utimbuf): Remove.
3067 * sysdep.c (set_file_times): Prefer utime() to utimes().
3068 * config.h.in (HAVE_UTIME): New.
3069 * config.h.in (HAVE_UTIME_H): Remove.
3070 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
3072 2001-02-09 Martin Buchholz <martin@xemacs.org>
3074 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
3076 2001-02-08 Martin Buchholz <martin@xemacs.org>
3078 * s/irix6-0.h: Use the standard system memmove, not bcopy.
3080 2001-02-08 Martin Buchholz <martin@xemacs.org>
3082 * XEmacs 21.2.44 "Thalia" is released.
3084 2001-02-06 Martin Buchholz <martin@xemacs.org>
3086 Fixes crashes in kill-emacs on some systems.
3087 * process-unix.c (unix_kill_child_process):
3088 It's OK for kill() to fail with ESRCH.
3090 2001-02-07 Martin Buchholz <martin@xemacs.org>
3092 Contortions to make .gdbinit tricks work on most systems.
3093 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
3094 * alloc.c (dbg_valmask): Make non-const.
3095 * alloc.c (dbg_typemask): Make non-const.
3096 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
3097 * alloc.c (dbg_valbits): Make non-const.
3098 * alloc.c (dbg_gctypebits): Make non-const.
3099 * .gdbinit (decode_object): Make it work with AIX cc.
3101 2001-02-06 Martin Buchholz <martin@xemacs.org>
3103 * elhash.c (make_general_lisp_hash_table):
3104 Use simpler and more efficient calloc to clear entries.
3106 2001-02-07 Martin Buchholz <martin@xemacs.org>
3108 * window.c (window_scroll): Work around an AIX C compiler bug.
3109 Fixes 'scroll-up' does nothing problem with xlC.
3111 2001-02-05 Martin Buchholz <martin@xemacs.org>
3113 * .gdbinit: Remove obsolete comment.
3115 2001-01-31 Mike Alexander <mta@arbortext.com>
3117 * select.c (Fown_selection_internal): Set owned_p for device
3120 2001-02-01 Martin Buchholz <martin@xemacs.org>
3123 "not" cannot be used as a macro name as it is an operator in C++
3124 * config.h.in: Stop #defining `not'.
3125 * chartab.c (check_category_char): not ==> not_p
3126 * chartab.h: Likewise.
3127 * regex.c (re_match_2_internal): Likewise.
3129 2001-02-02 Martin Buchholz <martin@xemacs.org>
3131 * lisp-disunion.h: Fix up comments.
3133 2001-01-31 Martin Buchholz <martin@xemacs.org>
3135 * keymap.c (define_key_check_and_coerce_keysym):
3137 Support mouse-6 and mouse-7 bindings in the obvious way.
3139 2001-02-01 Martin Buchholz <martin@xemacs.org>
3141 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
3143 2001-01-30 Martin Buchholz <martin@xemacs.org>
3145 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
3146 Previous patch missed DEFVAR_INT_MAGIC.
3147 Make sure future DEFVAR_foo use correct types.
3148 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
3149 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
3150 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
3151 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
3152 * (DEFVAR_INT): Likewise.
3153 * redisplay.c (vertical_clip): Should be of type Fixnum.
3154 * redisplay.c (horizontal_clip): Likewise.
3155 * lisp.h (dump_add_opaque_int): New.
3156 (dump_add_opaque_fixnum): New.
3158 2001-01-29 Andy Piper <andy@xemacs.org>
3160 * glyphs-widget.c (check_valid_int_or_function): allow symbols
3161 since they can be eval'ed
3163 2001-01-29 Martin Buchholz <martin@xemacs.org>
3165 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
3166 Oops, XEmacs redefines `class'. Use `typename' instead.
3168 2001-01-28 Martin Buchholz <martin@xemacs.org>
3170 * dumper.c: Fix C++ compile errors.
3172 2001-01-29 Martin Buchholz <martin@xemacs.org>
3174 * tparam.c: Use correct prototypes.
3176 2001-01-28 Martin Buchholz <martin@xemacs.org>
3178 * sysproc.h: #include util.h for NetBSD's openpty.
3180 2001-01-27 Martin Buchholz <martin@xemacs.org>
3182 More 64-bit correctness.
3183 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
3184 Use a typedef `fixnum' for the type used for DEFVAR_INT.
3186 This finally finishes the 64-bit SGI port.
3187 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
3188 * symbols.c: Fix up comments and type casts.
3189 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
3190 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
3191 * symeval.h (Fixnum): New type.
3192 * symeval.h (symbol_value_type): Fix up comment.
3208 * mule-canna.c: A million DEFVAR_INTs here...
3209 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
3222 s/int/Fixnum/g in DEFVAR_INT declarations.
3224 2001-01-26 Martin Buchholz <martin@xemacs.org>
3226 Port pdump to SGI alignment-sensitive environment.
3227 Lisp Object sizeof methods now return aligned sizes. Rely on that.
3228 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
3230 Define and use aligned reading and writing macros.
3231 Use buffered stdio instead of posix i/o for faster dumping.
3232 Eliminate kludgy 256 byte space for header.
3233 Read and write from dump file using structs for alignment safety.
3234 * dumper.c (pdump_align_stream): New.
3235 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
3236 * dumper.c (PDUMP_READ_ALIGNED): New.
3237 * dumper.c (PDUMP_WRITE_ALIGNED): New.
3238 * dumper.c (pdump_static_Lisp_Object): New struct.
3239 * dumper.c (pdump_static_pointer): New struct.
3240 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
3241 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
3242 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
3243 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
3245 * dumper.c (pdump_backtrace):
3246 * dumper.c (pdump_get_indirect_count):
3247 * dumper.c (pdump_register_object):
3248 * dumper.c (pdump_register_struct):
3249 * dumper.c (pdump_reloc_one):
3250 * dumper.c (pdump_scan_by_alignment):
3251 * dumper.c (pdump_dump_from_root_struct_ptrs):
3252 * dumper.c (pdump_dump_opaques):
3253 * dumper.c (pdump_dump_rtables):
3254 * dumper.c (pdump_dump_from_root_objects):
3256 * dumper.c (pdump_load_finish):
3257 Use aligned reading and writing.
3259 * dumper.c (pdump_free): Make static.
3260 * dumper.c (pdump_hFile): Likewise.
3261 * dumper.c (pdump_hMap): Likewise.
3263 2001-01-26 Martin Buchholz <martin@xemacs.org>
3265 * XEmacs 21.2.43 "Terspichore" is released.
3267 2001-01-25 Martin Buchholz <martin@xemacs.org>
3269 Type fiddling for window_config.saved_windows_count
3270 * window.c (struct window_config):
3271 Make saved_windows_count member unsigned.
3272 * window.c (sizeof_window_config_for_n_windows):
3273 Make parameter unsigned.
3274 * window.c (mark_window_config):
3275 * window.c (window_config_equal):
3276 * window.c (free_window_configuration):
3277 * window.c (Fset_window_configuration):
3278 * window.c (count_windows):
3279 * window.c (Fcurrent_window_configuration):
3280 * window.c (reinit_vars_of_window):
3281 Update all callers and users.
3283 2001-01-25 Martin Buchholz <martin@xemacs.org>
3285 Alignment correctness for flexible arrays.
3286 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
3287 Make alignment-correct. Add interesting comments.
3288 * alloc.c (size_vector):
3289 * alloc.c (make_vector_internal):
3290 * alloc.c (make_bit_vector_internal):
3291 * alloc.c (sweep_bit_vectors_1):
3292 * fns.c (size_bit_vector):
3293 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
3294 * window.c (sizeof_window_config_for_n_windows):
3295 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
3297 2001-01-24 Martin Buchholz <martin@xemacs.org>
3299 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
3301 2001-01-23 Andy Piper <andy@xemacs.org>
3303 * select.c (Fown_selection_internal): pass owned_p
3305 * select-msw.c (mswindows_own_selection): New Signature.
3307 * console.h (struct console_methods): add owned_p to
3310 * select-x.c (x_own_selection): pass owned_p
3311 (hack_motif_clipboard_selection): use owned_p
3312 (vars_of_select_x): new variable -
3313 x_selection_strict_motif_ownership.
3315 2001-01-23 Martin Buchholz <martin@xemacs.org>
3317 * specifier.h (specifier_data_offset): Remove pointless parens.
3318 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
3320 2001-01-24 Martin Buchholz <martin@xemacs.org>
3322 Make Lisp_Object sizeof methods be alignment-correct.
3323 pdump must restore objects to the same alignment as the C compiler
3324 assumes. It really matters on SGIs.
3325 * lstream.c (aligned_sizeof_lstream): New.
3326 (sizeof_lstream): Use aligned_sizeof_lstream.
3327 (Lstream_new): Likewise.
3328 * opaque.c (aligned_sizeof_opaque): New.
3329 (sizeof_opaque): Use aligned_sizeof_opaque.
3330 (make_opaque): Likewise.
3331 * specifier.c (aligned_sizeof_specifier): New.
3332 (sizeof_specifier): Use aligned_sizeof_specifier.
3333 (make_specifier_internal): Likewise.
3335 2001-01-23 Martin Buchholz <martin@xemacs.org>
3337 * lstream.h (struct lstream): Use max_align_t for trailing data.
3338 * specifier.h (struct Lisp_Specifier): Likewise.
3340 2001-01-22 Martin Buchholz <martin@xemacs.org>
3342 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
3343 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
3344 (CCL_SUSPEND): Likewise.
3345 (CCL_INVALID_CMD): Likewise.
3346 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
3347 (ccl_driver): Likewise.
3348 (CCL_WRITE_CHAR): Macro hygiene.
3349 (CCL_WRITE_STRING): Macro hygiene.
3351 2001-01-22 Martin Buchholz <martin@xemacs.org>
3353 Port "portable" dumper to SunOS 4 and HP-UX.
3354 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
3355 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
3356 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
3358 2001-01-22 Martin Buchholz <martin@xemacs.org>
3360 * lisp.h (ALIGNOF): A better definition for C++.
3362 2001-01-20 Martin Buchholz <martin@xemacs.org>
3365 Fix printf warnings: int format, long int arg.
3366 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
3367 (PUSH_FAILURE_POINT): Use correct printf formats.
3368 (POP_FAILURE_POINT): Use correct printf formats.
3369 Use do {...} while (0)
3371 2001-01-20 Martin Buchholz <martin@xemacs.org>
3373 * XEmacs 21.2.42 "Poseidon" is released.
3375 2001-01-20 Martin Buchholz <martin@xemacs.org>
3377 * console-x.h: typo fix du jour. Remove #if 0'ed code.
3379 2001-01-19 Martin Buchholz <martin@xemacs.org>
3381 De-kludgify FIXED_TYPE free list frobbing.
3382 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
3383 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
3384 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
3385 * alloc.c (Lisp_Free): New pseudo lisp object definition.
3386 * alloc.c (LRECORD_FREE_P): New.
3387 * alloc.c (MARK_LRECORD_AS_FREE): New.
3388 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
3389 * alloc.c (STRUCT_FREE_P): Deleted.
3390 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
3391 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
3392 * alloc.c (STRING_CHARS_FREE_P): New.
3393 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
3394 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
3395 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
3396 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
3397 * alloc.c (resize_string): Use new definitions.
3398 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
3399 * alloc.c (verify_string_chars_integrity): Use new definitions.
3400 * alloc.c (compact_string_chars): Use new definitions.
3401 * alloc.c: Update monster comments.
3402 * lrecord.h (lrecord_type): Add some new lrecord types for
3405 2001-01-18 Martin Buchholz <martin@xemacs.org>
3407 Improve alignment hackery.
3408 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
3409 (max_align_t): Moved from opaque.h - general purpose.
3410 (ALIGN_PTR): Use size_t, not long.
3411 * opaque.h (max_align_t): Move to lisp.h.
3413 2001-01-18 Norbert Koch <nk@LF.net>
3415 * gui.h: Fix and add prototypes to fix build problems.
3417 2001-01-18 Martin Buchholz <martin@xemacs.org>
3419 temacs is going away, so `dump-temacs' is now a bad name.
3420 * .dbxrc (dump-temacs): Rename to `dmp'.
3421 * .gdbinit (dump-temacs): Rename to `dmp'.
3423 2001-01-17 Andy Piper <andy@xemacs.org>
3425 * glyphs.c (print_image_instance): comment to make martin happy.
3427 * glyphs-x.c (x_redisplay_widget): update faces after a frame
3430 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
3432 (mswindows_tab_control_redisplay): warning suppression.
3434 * glyphs-widget.c (widget_update): re-write to cope with updated
3436 (widget_instantiate): use new gui_item functions.
3437 (tab_control_update): deleted.
3438 (progress_gauge_update): deleted.
3439 (image_instantiator_progress_guage): take out update reference.
3440 (image_instantiator_tree_view): ditto.
3441 (image_instantiator_tab_control): ditto.
3443 * gui.c (widget_gui_parse_item_keywords): new function. Do things
3445 (gui_item_add_keyval_pair): re-write to cope with descriptors and
3446 return whether anything was changed.
3447 (update_gui_item_keywords): as it sounds.
3449 * gui.h: declare widget_gui_parse_item_keywords.
3451 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
3452 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
3454 2001-01-17 Martin Buchholz <martin@xemacs.org>
3456 * XEmacs 21.2.41 "Polyhymnia" is released.
3458 2001-01-16 Didier Verna <didier@xemacs.org>
3460 * glyphs.c (image_instantiate): don't use fallbacks when
3461 instantiating a face's background pixmap by inheritance.
3463 2001-01-14 Mike Sperber <mike@xemacs.org>
3465 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
3466 Conditionalize accordingly.
3468 2001-01-16 Martin Buchholz <martin@xemacs.org>
3470 * dumper.c (pdump_file_get): Fix a compiler warning.
3472 2001-01-15 Martin Buchholz <martin@xemacs.org>
3474 Make Purify happy when pdumping.
3475 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
3476 iniitalizing all bits of new lisp object memory.
3477 * symbols.c (Fmake_local_variable): Likewise.
3478 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
3479 * symbols.c (Fdefvaralias): Likewise.
3480 * mule-charset.c (vars_of_mule_charset): Likewise.
3482 2001-01-15 Martin Buchholz <martin@xemacs.org>
3483 Add the `-nd' flag when running pre-dump operations under the debugger.
3484 * .dbxrc (run-temacs): Add `-nd'.
3485 * .dbxrc (update-elc): Likewise.
3486 * .dbxrc (dump-temacs): Likewise.
3487 * .gdbinit (run-temacs): Likewise.
3488 * .gdbinit (check-temacs): Likewise.
3489 * .gdbinit (update-elc): Likewise.
3490 * .gdbinit (dump-temacs): Likewise.
3492 2001-01-14 Martin Buchholz <martin@xemacs.org>
3494 Allow building 64-bit executables on AIX with GNU malloc, e.g.
3495 export OBJECT_MODE=64
3496 configure --pdump --use-union-type=no
3497 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
3498 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
3500 * miscplay.c (sndcnv8U_2mono):
3501 Avoid two uses of `++' in the same expression.
3502 Suppresses a GCC warning.
3504 2001-01-13 Martin Buchholz <martin@xemacs.org>
3506 Make sure future compilers don't miscompile alloc.c.
3508 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
3509 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
3511 2001-01-12 Martin Buchholz <martin@xemacs.org>
3513 * dumper.c: A little post-pdump-rename comment fixup.
3515 2001-01-09 Jerry James <james@eecs.ku.edu>
3517 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
3519 2001-01-13 Martin Buchholz <martin@xemacs.org>
3521 * *.[ch]: Globally rename symbols using the following `pdump-rename'
3525 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
3528 replace_symbol pdump_wire_lists pdump_weak_object_chains
3529 replace_symbol pdump_wire_list dump_add_weak_object_chain
3531 replace_symbol pdump_wires pdump_root_objects
3532 replace_symbol pdump_wire dump_add_root_object
3534 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
3535 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
3537 replace_symbol dumpstructinfos pdump_root_struct_ptrs
3538 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
3539 replace_symbol dumpstructinfo pdump_root_struct_ptr
3540 replace_symbol dumpstruct dump_add_root_struct_ptr
3542 replace_symbol dumpopaque dump_add_opaque
3543 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
3544 replace_symbol dumpopaqueinfos pdump_opaques
3545 replace_symbol dumpopaqueinfo pdump_opaque
3547 replace_symbol nb_structdump nb_root_struct_ptrs
3548 replace_symbol nb_opaquedump nb_opaques
3550 replace_symbol align_table pdump_align_table
3551 replace_symbol dump_header pdump_header
3553 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
3554 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
3557 2001-01-12 Martin Buchholz <martin@xemacs.org>
3559 * s/aix4.h: Keep the C for AIX compiler from overaggressively
3560 optimizing bytecount_to_charcount().
3562 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
3565 (HAVE_DLFCN_H): Removed.
3566 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
3568 2001-01-06 Martin Buchholz <martin@xemacs.org>
3570 Portable dumper maintainability improvements.
3571 * alloc.c (staticpro):
3572 * alloc.c (staticpro_nodump):
3573 * alloc.c (garbage_collect_1):
3574 * alloc.c (reinit_alloc_once_early):
3575 * alloc.c (init_alloc_once_early):
3576 * alloc.c: Move dumper functions to alloc.c.
3577 * dumper.c (pdump_backtrace):
3578 * dumper.c (pdump_dump_structs):
3579 * dumper.c (pdump_dump_opaques):
3580 * dumper.c (pdump_dump_rtables):
3581 * dumper.c (pdump_dump_wired):
3583 * dumper.c (pdump_load_check):
3584 * dumper.c (pdump_load_finish):
3585 * dumper.c (pdump_file_unmap):
3586 * dumper.c (pdump_file_get):
3587 * dumper.c (pdump_resource_free):
3588 * dumper.c (pdump_resource_get):
3589 * dumper.c (pdump_file_free):
3590 * dumper.c (pdump_file_try):
3591 * dumper.c (pdump_load):
3592 Remove fixed size limits on staticpro(), staticpro_nodump(),
3593 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
3594 Remove custom code for dumping lrecord_implementations_table - use
3596 Remove (most of the) custom code for dumping staticpros - dump it
3597 like any other dynarr.
3599 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
3600 * dumper.c: Moved functions from alloc.c.
3601 * alloc.c (dumpstruct): Moved to dumper.c.
3602 * alloc.c (dumpopaque): Likewise.
3603 * alloc.c (pdump_wire): Likewise.
3604 * alloc.c (pdump_wire_list): Likewise.
3606 * lisp.h (Dynarr_sizeof): New.
3607 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
3608 * lisp.h (Dynarr_end): New. Very slightly C++oid.
3609 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
3611 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
3612 * lisp.h (dumpopaque): ditto.
3613 * lisp.h (pdump_wire): ditto.
3614 * lisp.h (pdump_wire_list): ditto.
3616 2001-01-09 Martin Buchholz <martin@xemacs.org>
3618 * make-src-depend (PrintPatternDeps):
3619 Use `sort' to make output independent of perl version.
3621 2001-01-08 Martin Buchholz <martin@xemacs.org>
3624 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
3625 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
3627 2001-01-03 Didier Verna <didier@xemacs.org>
3629 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
3630 that `focus_frame' is alive before thinking of calling
3631 `redisplay_redraw_cursor' on it.
3633 2001-01-08 Martin Buchholz <martin@xemacs.org>
3635 * XEmacs 21.2.40 is released.
3637 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
3639 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
3641 2001-01-06 Martin Buchholz <martin@xemacs.org>
3643 * alloc.c (dbg_valmask): Make const.
3644 * alloc.c (dbg_typemask): Make const.
3645 * alloc.c (dbg_USE_UNION_TYPE): Make const.
3646 * alloc.c (dbg_valbits): Make const.
3647 * alloc.c (dbg_gctypebits): Make const.
3649 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
3651 * redisplay-x.c (x_bevel_area):
3652 redisplay.h (struct rune):
3653 Typo fixes in comments.
3655 2001-01-05 Andy Piper <andy@xemacs.org>
3657 * glyphs-x.c (x_redisplay_widget): use size changed for offset
3660 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
3662 2001-01-05 Martin Buchholz <martin@xemacs.org>
3664 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
3666 * mule-ccl.c (stack_idx_of_map_multiple):
3667 Non const global data must not be initialized!
3668 Found by MIYASHITA Hisashi.
3670 2001-01-02 Andy Piper <andy@xemacs.org>
3672 * frame.c (change_frame_size): make sure frame size is always
3675 * glyphs.c (image_instance_layout): minor code reuse.
3677 * window.c (Fcurrent_window_configuration): revert previous
3680 2001-01-02 Martin Buchholz <martin@xemacs.org>
3683 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
3685 2000-12-31 Andy Piper <andy@xemacs.org>
3687 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
3688 when widget gets unmapped.
3690 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
3691 function. Make sure widgets losing focus don't just drop it.
3692 (handle_focus_event_1): record the widget with focus.
3694 2000-12-31 Andy Piper <andy@xemacs.org>
3696 * window.c (allocate_window): use
3697 make_image_instance_cache_hash_table.
3698 (make_dummy_parent): ditto.
3699 (Fset_window_configuration): ditto.
3701 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
3703 * glyphs.c (process_image_string_instantiator): use
3705 (get_image_instantiator_governing_domain): ditto.
3706 (normalize_image_instantiator): ditto.
3707 (instantiate_image_instantiator): ditto.
3708 (make_image_instance_1): ditto.
3709 (image_instantiate): ditto. Key on glyph *and* instantiator type.
3710 (instantiator_eq_equal): new function for use with instance hash
3712 (instantiator_eq_hash): ditto.
3713 (make_image_instance_cache_hash_table): create a suitable hash
3714 table for storing image instances.
3716 * elhash.h (hash_table_weakness): new internal weakness type
3717 HASH_TABLE_KEY_CAR_VALUE_WEAK.
3718 declare new functions.
3720 * elhash.c (finish_marking_weak_hash_tables): introduce yet
3721 another weakness type for glyphs.
3722 (make_standard_lisp_hash_table): new function split out from
3723 make_general_lisp_hash_table.
3724 (make_lisp_hash_table): call make_standard_lisp_hash_table.
3725 (hash_table_instantiate): ditto.
3726 (Fmake_hash_table): ditto.
3728 2000-12-31 Martin Buchholz <martin@xemacs.org>
3730 * XEmacs 21.2.39 is released.
3732 2000-12-29 Andy Piper <andy@xemacs.org>
3734 * menubar.c (menubar_visible_p_changed): signal the frame changed.
3736 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
3737 the frame has changed so that we pick up geometry changes such as
3740 2000-12-28 Andy Piper <andy@xemacs.org>
3742 * lastfile.c (my_ebss): make a char array so we can pad the
3743 bss. Fixes cygwin unexec.
3745 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
3747 2000-12-26 Andy Piper <andy@xemacs.org>
3749 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
3750 comments and try and be more precise about a non-/SIGIO world.
3751 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
3754 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
3755 we don't normalize to zero width or height.
3757 2000-12-24 Andy Piper <andy@xemacs.org>
3759 * Makefile.in.in (ldflags): add -mwindows when appropriate.
3761 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
3763 * s/sco5.h: SCO 5 has pty support.
3765 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
3767 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
3768 input-method-xlib.c contains whole contents of input-method-xfs.c,
3769 so we can use input-method-xlib.c's code for USE_XFONTSET
3771 * input-method-xfs.c: removed.
3773 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
3775 * file-coding.h (enum coding_category_type): reorder enumerators to
3776 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
3777 (now one greater than largest real coding_category_type enumerator).
3778 * file-coding.c (coding_category_symbol, coding_category_by_priority,
3779 coding_category_system, fcd_descriptihon_1, decode_coding_category,
3780 Fcoding_category_list, Fset_coding_priority_list,
3781 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
3782 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
3784 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
3786 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
3787 * redisplay-output.c (redisplay_output_window): Clear top of window
3788 when face is changed.
3789 * redisplay-x.c (x_redraw_exposed_window): Call
3790 redisplay_clear_top_of_window.
3791 * redisplay.h: Publish redisplay_clear_top_of_window.
3793 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
3795 * buffer.c (Fkill_buffer): Map over all devices.
3796 * window.c (window_loop): Remove UNSHOW_BUFFER code.
3797 (list_windows): New function.
3798 (list_all_windows): Ditto.
3799 (Freplace_buffer_in_windows): Use them.
3801 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
3803 * database.c (berkdb_subtype): Recognize new subtype `queue'.
3804 (Fopen_database): Use `db_create' instead of `db_open'.
3805 (syms_of_database): Initialize Qqueue.
3807 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
3809 * buffer.c (common_init_complex_vars_of_buffer): Initialize
3810 buffer_local_face_property.
3811 * buffer.h (struct buffer): New member buffer_local_face_property.
3812 * window.c (Fset_window_buffer): Mark window's face as changed
3813 when buffer has buffer local face.
3814 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
3815 * objects.c (color_after_change): Set buffer_local_face_property
3816 when locale of face specifier is buffer.
3817 * objects.c (font_after_change): Ditto.
3818 * objects.c (face_boolean_after_change): Ditto.
3819 * glyphs.c (image_after_change): Ditto.
3821 2000-12-09 Dan Holmsand <dan@eyebee.com>
3823 * nt.c (mswindows_fstat): Report file permissions, volume serial
3824 number, etc. Code adapted from FSF Emacs 20.7.
3826 2000-12-09 Dan Holmsand <dan@eyebee.com>
3828 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
3829 of stat when we don't have symbolic links, to make sure
3830 mswindows_stat is called on mswindows.
3832 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
3834 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
3836 2000-12-12 Martin Buchholz <martin@xemacs.org>
3838 * doprnt.c (emacs_doprnt_1): More printing fixes.
3839 Make printing of numbers compatible with libc and FSF Emacs.
3840 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
3841 Use the system printf to do most of the hard work of formatting,
3842 instead of doprnt_1().
3843 Calculate memory to allocate for format string.
3844 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
3845 (doprnt_1): Cleaner code and documentation.
3847 2000-12-01 Jerry James <james@eecs.ukans.edu>
3849 * Makefile.in.in: Use the loop variable to install headers.
3851 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
3853 * window.c (Fsplit_window): Don't invalidate face cache.
3855 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
3857 * minibuf.c (Fall_completions): Undo the previous change
3858 which removed checking elements start with space.
3860 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
3862 * mule-canna.c: Didier suppression.
3864 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
3866 * mule-canna.c: rename static unsigned char buf[] to key_buffer
3867 (warning suppression). Add English comment translations.
3869 2000-12-05 Martin Buchholz <martin@xemacs.org>
3871 * unexelfsgi.c (unexec): Better test for mmap failure.
3873 2000-12-05 Martin Buchholz <martin@xemacs.org>
3875 * XEmacs 21.2.38 is released.
3877 2000-12-05 Martin Buchholz <martin@xemacs.org>
3879 * redisplay.c (bar-cursor): Make a user variable.
3881 * symsinit.h: Add init_postgresql_from_environment.
3883 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
3885 * regex.c: Convert to clean C.
3887 2000-12-05 Dan Holmsand <dan@eyebee.com>
3890 Don't #include sysfile.h. Revert to duplicating PATH_MAX
3892 (sys_readlink): renamed to system_readlink to avoid conflict with
3893 the other sys_readlink.
3895 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
3897 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
3899 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
3901 * postgresql.c (init_postgresql_from_environment): new function.
3902 (vars_of_postgresql): Move code initializing Lisp variables out and
3903 into init_postgresql_from_environment.
3904 emacs.c (main_1): Call init_postgresql_from_environment if and only
3905 if running a dumped XEmacs.
3907 2000-08-31 Dan Holmsand <dan@eyebee.com>
3909 * buffer.c: Make find-file-compare-truenames default to true on
3912 * realpath.c (win32_abs_start):
3914 (win32_readlink): New functions.
3915 (xrealpath): Return really real filenames on windows.
3917 * fileio.c (Ffile_truename): Make file-truename work on windows.
3919 2000-11-29 Didier Verna <didier@xemacs.org>
3921 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
3922 * faces.c (update_face_cachel_data): use it.
3923 * faces.c (add_face_cachel): use it. Complete background pixmap
3924 frobbing in face cache if `update_face_cachel_data' has not done so.
3926 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
3928 * search.c (string_match_1): Don't set last_thing_searched
3931 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
3933 * buffer.c: Include casetab.h
3934 (common_init_complex_vars_of_buffer): Use new case-table object.
3935 * buffer.h: Include casetab.h
3936 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
3937 (DOWNCASE_TABLE_OF): Ditto.
3938 * bufslots.h: Remove char-tables and add case-table.
3939 * casetab.c: Include casetab.h
3940 (CASE_TABLE_P): Removed.
3941 (mark_case_table): New function.
3942 (allocate_case_table): New function.
3943 (Fcase_table_p): Use new case-table.
3944 (case_table_char): New function.
3945 (Fget_case_table): Ditto.
3946 (Fput_case_table): Ditto.
3947 (Fput_case_table_pair): Ditto.
3948 (Fcopy_case_table): Ditto.
3949 (Fcurrent_case_table): Return case-table.
3950 (Fstandard_case_table): Return case-table.
3951 (Fset_case_table): Fix doc-string.
3952 (set_case_table): Use case-table
3953 (syms_of_casetab): DEFSUBR new functions.
3954 (complex_vars_of_casetab): Set up standard case-table.
3955 * casetab.h: New file.
3956 * editfns.c: Include casetab.h
3957 (Fcompare_buffer_substrings): Use case-table.
3958 * inline.c: Include casetab.h
3959 * lisp.h: Remove bogus extern.
3960 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
3961 * search.c: Include casetab.h
3962 (TRANSLATE_ASCII): Removed.
3963 (TRANSLATE): Unconditionally translate character.
3964 (looking_at_1): Use case-table.
3965 (string_match_1): Ditto.
3966 (fast_string_match): Ditto.
3967 (search_command): Ditto.
3968 (search_buffer): Separate boyer_moore. Check whether
3969 boyer_moore is possible.
3970 (simple_search): New function.
3971 (boyer_moore): Separated from search_buffer. Translate char.
3973 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
3975 * regex.c (RE_TR_ASCII): Removed.
3976 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
3977 (PATFETCH): Call PATFETCH_RAW.
3978 (PATFETCH_RAW): Fetch Emchar.
3979 (PATUNFETCH): Decrement charptr.
3980 (GET_BUFFER_SPACE): Rename b to buf_end.
3982 (BUF_PUSH_2): Ditto.
3983 (BUF_PUSH_3): Ditto.
3984 (EXTEND_BUFFER): Ditto.
3985 (SET_LIST_BIT): Ditto.
3986 (regex_compile): Ditto. Translate non ASCII char.
3987 (compile_range): Ditto.
3988 (re_search_2): Ditto.
3989 (re_match_2_internal): Compare Emchar.
3990 (bcmp_translate): Ditto.
3992 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
3994 * lisp.h (basic char/int typedefs): comment improvement.
3996 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
3998 * emacs.c (main_1): unconditional pdump unstomping; don't save and
3999 unstomp inhibit_site_lisp. Improve comments.
4001 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
4003 * mule-charset.c (Fcharset_property): improve type checking, comments.
4005 2000-11-28 Andy Piper <andy@xemacs.org>
4007 * redisplay-output.c (redisplay_output_subwindow): make sure we do
4008 clipped display for windows in the gutter also.
4009 (redisplay_display_boxes_in_window_p): change semantics of return
4010 codes to be more intuitive.
4012 * gutter.h: declare display_boxes_in_gutter_p.
4014 * gutter.c (display_boxes_in_gutter_p): new function for
4017 2000-11-22 Andy Piper <andy@xemacs.org>
4019 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
4022 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
4024 * callproc.c (Fold_call_process_internal):
4025 * gpm.c (Freceive_gpm_event):
4026 (tty_get_foreign_selection): Might be just warning supression.
4027 * fileio.c (Fwrite_region_internal):
4028 (Fset_visited_file_modtime):
4029 * keymap.c (event_matches_key_specifier_p):
4030 Initialize GCPROed variable.
4032 * menubar-x.c (command_builder_find_menu_accelerator):
4033 Initialize before use.
4035 2000-11-23 Andy Piper <andy@xemacs.org>
4037 * unexcw.c (unexec): make the resulting executable executable.
4039 2000-11-21 Martin Buchholz <martin@xemacs.org>
4041 * doc.c (get_doc_string):
4042 Use size_t, not int, for result of XSTRING_LENGTH.
4044 * cmds.c (Fdelete_char):
4045 * cmds.c (Fpoint_at_eol):
4046 * cmds.c (Fself_insert_command):
4047 Use EMACS_INT, not int, for result of XINT.
4048 Someday, someone will want to insert more than 2**31 identical characters.
4050 * cmds.c (Fdelete_char):
4051 * cmds.c (Fdelete_backward_char):
4052 * syntax.c (Fforward_word):
4053 * syntax.c (Fforward_comment):
4054 Make COUNT argument optional, for consistency with forward-char et al.
4056 2000-11-22 Martin Buchholz <martin@xemacs.org>
4059 * print.c (long_to_string):
4060 Return a useful value: the pointer at end of data written.
4063 Use `static const char * const' for constant strings.
4064 (union printf_arg): Delete `i', `ui' members.
4067 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
4068 Do all printf-ing via the `l' specifier.
4069 Use EMACS_INT instead of int.
4072 2000-11-20 Didier Verna <didier@xemacs.org>
4074 * faces.c (update_face_cachel_data): don't frob the background
4075 pixmap when the window is being created. The face is needed but
4078 2000-11-20 Andy Piper <andy@xemacs.org>
4080 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
4081 messing with a debug environment.
4083 2000-11-20 Martin Buchholz <martin@xemacs.org>
4085 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
4087 2000-11-20 Martin Buchholz <martin@xemacs.org>
4089 * casetab.c (Fcase_table_p): Fix compile error and crash.
4091 2000-11-18 Philip Aston <philipa@mail.com>
4093 * s/cygwin32.h: Cygwin has SVR4-like pty support.
4095 2000-11-18 Martin Buchholz <martin@xemacs.org>
4097 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
4098 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
4100 2000-11-17 Martin Buchholz <martin@xemacs.org>
4102 * config.h.in: Define HAVE_ELF_H if elf.h exists.
4103 * unexelf.c: Use HAVE_ELF_H.
4104 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
4105 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
4106 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
4107 Greg Harrington <greg_harrington@hotmail.com> provided a machine
4109 So this is an unexelfsgi.c from a different line of development.
4111 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
4113 * regex.c (RE_TR_ASCII): New function.
4114 (RE_TRANSLATE): Call it.
4116 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
4118 * buffer.h (TRT_TABLE_OF): Remove assert.
4119 (IN_TRT_TABLE_DOMAIN): Removed.
4121 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
4123 * free-hook.c (log_gcpro):
4124 (show_gcprohist): Add support for GCPRO5.
4126 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
4128 * emacs.c (main_1): Improve -sd error message when --pdump=no.
4130 2000-11-16 Olivier Galibert <galibert@xemacs.org>
4132 * symeval.h: Declare flush_all_buffer_local_cache.
4134 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
4135 (flush_buffer_local_cache): Added.
4136 (flush_all_buffer_local_cache): Added.
4138 * lrecord.h: Remove unused XD_LO_RESET_NIL.
4140 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
4141 (pdump_dump_data): Ditto.
4142 (pdump_reloc_one): Ditto.
4143 (pdump): Remove unused pdump_qnil. Flush buffer local caches
4147 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
4149 * buffer.c: Remove if 0'ed entry.
4150 * buffer.h: Rewrite TRT to use char-table.
4151 * bufslots.h: Remove mirror tables.
4152 * casetab.c: Remove mirror tables.
4153 (CASE_TABLE_P): New macro.
4154 (Fcase_table_p): Element of a case table is string or char-table.
4155 (make_mirror_trt_table): Removed.
4156 (set_case_table): Setup char-table from strings for backward
4158 * dired.c (Fdirectory_files):
4159 * dired-msw.c: (mswindows_get_files):
4160 * lisp.h: Change prototype of re_pattern_buffer.
4161 * regex.c: (RE_TRANSLATE): New macro.
4162 (TRANSLATE_P): Ditto.
4163 Change translate to type RE_TRANSLATE_TYPE.
4164 * regex.h: Define RE_TRANSLATE_TYPE
4165 * search.c (TRANSLATE): New macro.
4166 (TRANSLATE_ASCII): New macro.
4167 Translate table is changed to Lisp_Object.
4168 (signal_failure): Inhibit return.
4170 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
4177 Do UNGCPRO before return.
4179 2000-11-14 Martin Buchholz <martin@xemacs.org>
4181 * XEmacs 21.2.37 is released.
4183 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
4185 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
4186 Add comments about discarded return value.
4188 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
4191 * event-stream.c: Fix comments. Remove some #if 0'ed part.
4193 2000-10-27 Andy Piper <andy@xemacs.org>
4195 * gutter.c (Fset_default_gutter_position): default left and right
4197 (calculate_gutter_size): calculate resonable heuristic for left
4198 and right gutter sizes.
4199 (specifier_vars_of_gutter): change left and right gutter sizes to
4201 (calculate_gutter_size_from_display_lines): new function.
4202 (output_gutter): check for resizing on left and right gutters.
4203 (clear_gutter): don't special case top and left gutters.
4204 (specifier_vars_of_gutter): use new signature for
4205 set_specifier_caching.
4207 * glyphs-x.c (x_redisplay_widget): spelling fix.
4208 * glyphs.c (specifier_vars_of_glyphs):
4209 * menubar.c (specifier_vars_of_menubar):
4210 * redisplay.c (specifier_vars_of_redisplay):
4211 * toolbar.c (specifier_vars_of_toolbar):
4212 * window.c (specifier_vars_of_window):
4213 * scrollbar.c (specifier_vars_of_scrollbar):
4214 (complex_vars_of_scrollbar): use new signature for
4215 set_specifier_caching.
4217 * specifier.c (set_specifier_caching): include recompute flag.
4218 (recompute_one_cached_specifier_in_window): always recompute if
4220 (recompute_one_cached_specifier_in_frame): ditto.
4222 * specifier.h (struct specifier_caching): add recompute flag.
4224 2000-10-24 Andy Piper <andy@xemacs.org>
4226 * unexcw.c (copy_executable_and_dump_data_section): add new
4227 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
4230 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
4232 * console-x.h (x_device): New member modifier_release_time.
4233 * event-Xt.c (x_handle_sticky_modifiers):
4234 Bound interval modifier keys are sticky.
4235 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
4236 * events.h: extern it.
4238 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
4240 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
4242 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
4244 * event-stream.c (execute_command_event): Preserve current_events
4245 and the like when event is misc-user-event.
4246 Inhibit quit during the call to maybe_echo_keys.
4248 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
4250 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
4251 symlink when buffer is killed.
4252 (inhibit_clash_detection): New variable.
4254 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
4256 * console.c (Fset_input_method): Trigger redisplay on tty.
4258 2000-11-07 Martin Buchholz <martin@xemacs.org>
4260 * process.c (Fprocess_status): Revert to previous behavior:
4261 (process-status "nosuchprocess") ==> nil
4263 2000-11-06 Martin Buchholz <martin@xemacs.org>
4265 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
4266 Work around another GCC 2.95.2 optimizer bug.
4268 2000-11-02 Martin Buchholz <martin@xemacs.org>
4270 * process.c (Fget_process): Use LIST_LOOP_2.
4271 (kill_buffer_processes): Use LIST_LOOP_2.
4273 * minibuf.c (Fall_completions):
4274 Delete old non-functional code for FSF fourth argument.
4276 * frame.c (frame_matches_frame_spec):
4277 Renamed from `frame_matches_frametype'. Update all callers.
4278 (device_matches_device_spec):
4279 Renamed from 'device_matches_console_spec'. Update all callers.
4281 * doc.c (Fsubstitute_command_keys):
4282 Remove buffer overflow crash. Small code cleanups.
4284 * casetab.c (check_case_table): Simpler code.
4286 * window.c (Freplace_buffer_in_windows):
4287 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
4288 (and similar implementation) as Fdelete_windows_on.
4291 * alloc.c (Fmake_list):
4292 * alloc.c (make_vector):
4293 * alloc.c (Fmake_vector):
4294 * alloc.c (make_bit_vector):
4295 * alloc.c (Fmake_bit_vector):
4296 * alloc.c (Fbit_vector):
4297 * alloc.c (Fmake_string):
4298 * alloc.c (Fpurecopy):
4299 * alloc.c (Fmemory_limit):
4301 * buffer.c (Fget_buffer):
4302 * buffer.c (Fkill_buffer):
4303 * buffer.c (complex_vars_of_buffer):
4304 * bytecode.c (Fcompiled_function_stack_depth):
4305 * callint.c (Fprefix_numeric_value):
4307 * event-stream.c (Fread_key_sequence):
4309 * casetab.c (Fcase_table_p):
4310 * casetab.c (check_case_table):
4311 * casetab.c (Fset_case_table):
4312 * casetab.c (Fset_standard_case_table):
4314 * chartab.c (Fchar_table_type):
4315 * chartab.c (Freset_char_table):
4316 * chartab.c (Fget_char_table):
4317 * chartab.c (Fget_range_char_table):
4318 * chartab.c (Fput_char_table):
4319 * chartab.c (Fmap_char_table):
4320 * chartab.c (Fcategory_table_p):
4321 * chartab.c (Fcheck_category_at):
4322 * chartab.c (Fchar_in_category_p):
4323 * chartab.c (Fcategory_table):
4324 * chartab.c (Fcopy_category_table):
4325 * chartab.c (Fset_category_table):
4326 * chartab.c (Fcategory_designator_p):
4327 * chartab.c (Fcategory_table_value_p):
4328 * cmds.c (Fdelete_char):
4329 * cmds.c (Fdelete_backward_char):
4330 * cmds.c (Fself_insert_command):
4331 * cmds.c (Fself_insert_internal):
4332 * console.c (Fvalid_console_type_p):
4333 * console.c (Fcdfw_console):
4334 * console.c (Fconsole_type):
4335 * console.c (Fconsole_name):
4336 * console.c (Fconsole_device_list):
4337 * console.c (Fconsole_on_window_system_p):
4341 * data.c (Fsubr_interactive):
4342 * data.c (Fchar_to_int):
4343 * data.c (Fint_to_char):
4346 * data.c (Fnumber_to_string):
4347 * data.c (Fstring_to_number):
4349 * database.c (mark_database):
4350 * database.c (finalize_database):
4351 * database.c (Fdatabase_live_p):
4352 * database.c (Fdatabasep):
4353 * device-x.c (Fx_get_resource):
4354 * device.c (Fdfw_device):
4356 * dired.c (Ffile_name_completion):
4357 * dired.c (Ffile_name_all_completions):
4358 * dired.c (Fuser_name_completion):
4359 * dired.c (Fuser_name_completion_1):
4360 * dired.c (Fuser_name_all_completions):
4361 * doc.c (Fdocumentation):
4362 * doc.c (Fdocumentation_property):
4363 * doc.c (Fsubstitute_command_keys):
4365 * editfns.c (Fchar_to_string):
4366 * editfns.c (Fstring_to_char):
4367 * editfns.c (Ftemp_directory):
4368 * editfns.c (Finsert_char):
4369 * editfns.c (Fbuffer_substring_no_properties):
4370 * editfns.c (Fnarrow_to_region):
4371 * editfns.c (Fchar_equal):
4372 * editfns.c (Fchar_Equal):
4373 * editfns.c (Ftranspose_regions):
4374 * emacs.c (Fdump_emacs):
4376 * eval.c (Fcommand_execute):
4377 * eval.c (Fautoload):
4378 * eval.c (Fbacktrace):
4379 * eval.c (Fbacktrace_frame):
4381 * events.c (Fcopy_event):
4382 * events.c (Fcharacter_to_event):
4383 * events.c (Fevent_button):
4384 * events.c (Fevent_process):
4386 * extents.c (Fnext_extent_change):
4387 * extents.c (Fextent_property):
4389 * faces.c (Fmake_face):
4391 * file-coding.c (Fencode_shift_jis_char):
4392 * file-coding.c (Fencode_big5_char):
4393 * fileio.c (Ffile_name_directory):
4394 * fileio.c (Ffile_name_nondirectory):
4395 * fileio.c (Ffile_name_as_directory):
4396 * fileio.c (Fdirectory_file_name):
4397 * fileio.c (Ffile_truename):
4398 * fileio.c (Fsubstitute_in_file_name):
4399 * fileio.c (Ffile_modes):
4400 * fileio.c (Fset_file_modes):
4401 * fileio.c (Fset_default_file_modes):
4402 * fileio.c (Fverify_visited_file_modtime):
4403 * floatfns.c (Facos):
4404 * floatfns.c (Fasin):
4405 * floatfns.c (Fatan):
4406 * floatfns.c (Fcos):
4407 * floatfns.c (Fsin):
4408 * floatfns.c (Ftan):
4409 * floatfns.c (Fbessel_j0):
4410 * floatfns.c (Fbessel_j1):
4411 * floatfns.c (Fbessel_jn):
4412 * floatfns.c (Fbessel_y0):
4413 * floatfns.c (Fbessel_y1):
4414 * floatfns.c (Fbessel_yn):
4415 * floatfns.c (Ferf):
4416 * floatfns.c (Ferfc):
4417 * floatfns.c (Flog_gamma):
4418 * floatfns.c (Fexp):
4419 * floatfns.c (Fexpt):
4420 * floatfns.c (Flog):
4421 * floatfns.c (Flog10):
4422 * floatfns.c (Fsqrt):
4423 * floatfns.c (Fcube_root):
4424 * floatfns.c (Facosh):
4425 * floatfns.c (Fasinh):
4426 * floatfns.c (Fatanh):
4427 * floatfns.c (Fcosh):
4428 * floatfns.c (Fsinh):
4429 * floatfns.c (Ftanh):
4430 * floatfns.c (Fabs):
4431 * floatfns.c (Ffloat):
4432 * floatfns.c (Flogb):
4433 * floatfns.c (Fceiling):
4434 * floatfns.c (Ffloor):
4435 * floatfns.c (Fround):
4436 * floatfns.c (Ftruncate):
4437 * floatfns.c (Ffceiling):
4438 * floatfns.c (Fffloor):
4439 * floatfns.c (Ffround):
4440 * floatfns.c (Fftruncate):
4441 * fns.c (Fstring_equal):
4442 * fns.c (Fstring_lessp):
4447 * fns.c (Fsubstring):
4449 * fns.c (Fold_assoc):
4450 * fns.c (assoc_no_quit):
4452 * fns.c (Fold_assq):
4453 * fns.c (assq_no_quit):
4455 * fns.c (Fold_rassoc):
4457 * fns.c (Fold_rassq):
4458 * fns.c (rassq_no_quit):
4459 * fns.c (Fremassoc):
4460 * fns.c (remassoc_no_quit):
4462 * fns.c (remassq_no_quit):
4463 * fns.c (Fremrassoc):
4464 * fns.c (Fremrassq):
4465 * fns.c (remrassq_no_quit):
4467 * fns.c (Fplist_get):
4468 * fns.c (Fplist_put):
4469 * fns.c (Fplist_remprop):
4470 * fns.c (Fplist_member):
4471 * fns.c (Flax_plist_get):
4472 * fns.c (Flax_plist_put):
4473 * fns.c (Flax_plist_remprop):
4474 * fns.c (Flax_plist_member):
4476 * fns.c (Fold_equal):
4478 * fns.c (Fbase64_encode_region):
4479 * fns.c (Fbase64_encode_string):
4480 * fns.c (Fbase64_decode_region):
4482 * frame.c (frame_matches_frame_spec):
4483 * frame.c (device_matches_device_spec):
4484 * frame.c (next_frame):
4485 * frame.c (previous_frame):
4486 * frame.c (Fnext_frame):
4487 * frame.c (Fprevious_frame):
4488 * frame.c (Fframe_property):
4489 * frame.c (Fset_frame_height):
4490 * frame.c (Fset_frame_size):
4494 * glyphs.c (decode_error_behavior_flag):
4495 * glyphs.c (Fmake_image_instance):
4496 * indent.c (Findent_to):
4497 * intl.c (Fignore_defer_gettext):
4498 * keymap.c (Fkeymapp):
4499 * keymap.c (Flookup_key):
4501 * lread.c (Fload_internal):
4502 * lread.c (Feval_buffer):
4503 * lread.c (Feval_region):
4504 * macros.c (Fexecute_kbd_macro):
4505 * marker.c (set_marker_internal):
4506 * marker.c (Fset_marker):
4507 * marker.c (set_marker_restricted):
4508 * marker.c (Fcopy_marker):
4509 * marker.c (noseeum_copy_marker):
4511 * menubar.c (Fpopup_menu):
4513 * mule-charset.c (Fcharset_name):
4514 * mule-charset.c (Fchar_charset):
4515 * mule-charset.c (Fchar_octet):
4516 * mule-charset.c (Fsplit_char):
4517 * mule-wnnfns.c (Fwnn_open):
4518 * mule-wnnfns.c (Fwnn_dict_comment):
4519 * mule-wnnfns.c (Fwnn_quit_henkan):
4520 * mule-wnnfns.c (Fwnn_word_toroku):
4521 * mule-wnnfns.c (Fwnn_word_sakujo):
4522 * mule-wnnfns.c (Fwnn_word_use):
4523 * mule-wnnfns.c (Fwnn_hindo_set):
4525 * objects.c (Fmake_color_instance):
4526 * objects.c (Fmake_font_instance):
4527 * print.c (Fwrite_char):
4529 * process.c (mark_process):
4530 * process.c (print_process):
4531 * process.c (get_process_from_usid):
4532 * process.c (Fprocessp):
4533 * process.c (Fprocess_live_p):
4534 * process.c (Fget_process):
4535 * process.c (Fget_buffer_process):
4536 * process.c (get_process):
4537 * process.c (Fprocess_id):
4538 * process.c (Fprocess_name):
4539 * process.c (Fprocess_command):
4540 * process.c (init_process_io_handles):
4541 * process.c (start_process_unwind):
4542 * process.c (Fstart_process_internal):
4543 * process.c (Fopen_multicast_group_internal):
4544 * process.c (Fset_process_window_size):
4545 * process.c (read_process_output):
4546 * process.c (send_process):
4547 * process.c (Fprocess_tty_name):
4548 * process.c (Fset_process_buffer):
4549 * process.c (Fprocess_buffer):
4550 * process.c (Fprocess_mark):
4551 * process.c (set_process_filter):
4552 * process.c (Fset_process_filter):
4553 * process.c (Fprocess_filter):
4554 * process.c (Fprocess_send_region):
4555 * process.c (Fprocess_send_string):
4556 * process.c (exec_sentinel):
4557 * process.c (Fset_process_sentinel):
4558 * process.c (Fprocess_sentinel):
4559 * process.c (status_notify):
4560 * process.c (Fprocess_status):
4561 * process.c (Fprocess_exit_status):
4562 * process.c (process_send_signal):
4563 * process.c (Fprocess_send_eof):
4564 * process.c (deactivate_process):
4565 * process.c (remove_process):
4566 * process.c (Fdelete_process):
4567 * process.c (kill_buffer_processes):
4568 * process.c (Fprocess_kill_without_query):
4569 * process.c (Fprocess_kill_without_query_p):
4571 * rangetab.c (Fget_range_table):
4572 * rangetab.c (Fput_range_table):
4573 * rangetab.c (Fremove_range_table):
4574 * rangetab.c (Fclear_range_table):
4576 * search.c (Fskip_chars_forward):
4577 * search.c (Fskip_chars_backward):
4578 * search.c (Fskip_syntax_forward):
4579 * search.c (Fskip_syntax_backward):
4580 * search.c (search_command):
4581 * search.c (Freplace_match):
4582 * search.c (Fregexp_quote):
4583 * select.c (Fown_selection_internal):
4584 * select.c (Fselection_owner_p):
4585 * select.c (Fselection_exists_p):
4586 * select.c (Fget_selection_internal):
4589 * symbols.c (Fintern):
4590 * symbols.c (Fintern_soft):
4591 * symbols.c (Funintern):
4592 * symbols.c (Fapropos_internal):
4593 * symbols.c (Fset_default):
4595 * syntax.c (Fsyntax_table_p):
4596 * syntax.c (Fcopy_syntax_table):
4597 * syntax.c (Fset_syntax_table):
4598 * syntax.c (Fchar_syntax):
4599 * syntax.c (syntax_match):
4600 * syntax.c (Fmatching_paren):
4601 * syntax.c (Fforward_word):
4602 * syntax.c (scan_lists):
4603 * syntax.c (Fscan_lists):
4604 * syntax.c (Fscan_sexps):
4605 * syntax.c (Fparse_partial_sexp):
4606 * toolbar.c (Fcheck_toolbar_button_syntax):
4609 * window.c (Fwindowp):
4610 * window.c (Fwindow_live_p):
4611 * window.c (Fwindow_point):
4612 * window.c (Fdelete_window):
4613 * window.c (Fnext_window):
4614 * window.c (Fprevious_window):
4615 * window.c (Fother_window):
4616 * window.c (window_loop):
4617 * window.c (Fget_lru_window):
4618 * window.c (Fsplit_window):
4619 * window.c (Fenlarge_window):
4620 * window.c (Fenlarge_window_pixels):
4621 * window.c (Fshrink_window):
4622 * window.c (Fshrink_window_pixels):
4623 * window.c (change_window_height):
4624 * window.c (Fwindow_configuration_p):
4625 * window.c (Fcurrent_window_configuration):
4627 * casefiddle.c (casify_object):
4628 * casefiddle.c (Fupcase):
4629 * casefiddle.c (Fdowncase):
4630 * casefiddle.c (Fcapitalize):
4631 * casefiddle.c (Fupcase_initials):
4632 * casefiddle.c (casify_region_internal):
4633 * casefiddle.c (casify_region):
4634 * casefiddle.c (Fupcase_region):
4635 * casefiddle.c (Fdowncase_region):
4636 * casefiddle.c (Fcapitalize_region):
4637 * casefiddle.c (Fupcase_initials_region):
4638 * casefiddle.c (Fupcase_word):
4639 * casefiddle.c (Fdowncase_word):
4640 * casefiddle.c (Fcapitalize_word):
4641 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
4642 Replace 0 with '\0' when working with bytes.
4643 Replace initial "(" with "\(" in docstrings.
4645 2000-11-01 Martin Buchholz <martin@xemacs.org>
4647 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
4649 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
4651 2000-10-31 Martin Buchholz <martin@xemacs.org>
4653 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
4655 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
4657 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
4660 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
4662 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
4663 (inhibit_auto_save_session): New variable.
4664 (vars_of_fileio): Declare and initialize them.
4665 * fileio.c (Fdo_auto_save): Don't create session file if
4666 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
4668 2000-10-31 Martin Buchholz <martin@xemacs.org>
4670 * sgiplay.c (play_internal): C++ compilability.
4671 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
4672 * callproc.c (Fold_call_process_internal):
4673 Remove unused vars `env', `first'.
4674 * scrollbar.c (update_scrollbar_instance):
4675 #### unused var `current_window'.
4676 * redisplay-tty.c: Put currently unused vars insert_mode_on,
4677 etc. within #ifdef NOT_YET.
4678 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
4679 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
4680 * specifier.c (specifier_instance):
4681 #### unused var `tag'.
4682 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
4684 2000-10-27 Martin Buchholz <martin@xemacs.org>
4687 * fns.c (list_sort):
4688 * fns.c (Ffillarray):
4689 * fns.c (bytecode_nconc2):
4692 * fns.c (Fmapconcat):
4693 Be pedantically 64-bit correct. For the time when someone will
4694 want to have a list with length > 2**32.
4696 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
4697 Work around MIPSpro compiler bug.
4699 * process-unix.c (unix_kill_child_process): Add snarky comment.
4700 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
4702 * config.h.in: Oops, _getpt ==> _getpty
4704 2000-10-26 Martin Buchholz <martin@xemacs.org>
4708 Use void*, not char*, as return type of alloca().
4710 * alloc.c (free_marker): Side effect inside assert expression!
4712 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
4714 * mule-charset.c (Fset_charset_ccl_program): To check
4715 if the given ccl program is valid, use setup_ccl_program()
4716 instead of CHECK_VECTOR().
4717 (Fmake_charset): Likewise.
4719 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
4721 * faces.c (get_extent_fragment_face_cache_index):
4722 Fix cachel.merged_faces memory leak.
4724 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
4726 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
4727 Reset MSB of octets obtained by DECODE_SJIS
4728 because of the incompatibility with Emacs.
4729 (ccl_driver)<CCL_ENCODE_SJIS>:
4730 Set MSB of octets before passing them to
4731 ENCODE_SJIS because of the incompatibility
4734 2000-10-18 Daiki Ueno <ueno@unixuser.org>
4736 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
4737 (DECLARE_LRECORD): Undo the last change.
4738 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
4740 2000-10-17 Daiki Ueno <ueno@unixuser.org>
4742 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
4743 the implementation to lrecord_implementations_table.
4745 2000-10-14 Daiki Ueno <ueno@unixuser.org>
4747 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
4748 initial value of `lrecord_type_##c_name' and
4749 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
4750 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
4751 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
4752 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
4753 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
4755 2000-10-17 Martin Buchholz <martin@xemacs.org>
4757 * miscplay.c (sndcnv8S_2mono):
4758 (sndcnv2monounsigned):
4759 (sndcnvULaw_2linear):
4761 Remove implementation-defined behavior.
4763 2000-10-12 Martin Buchholz <martin@xemacs.org>
4765 * input-method-xlib.c: Warning suppression.
4767 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
4769 * mule-ccl.c: Sync up with Emacs 21.0.90.
4770 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
4772 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
4774 (ccl_driver[WriteMultibyteChar2]): Bug fix.
4775 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
4776 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
4777 leading char belongs to official 2-dimensional charset.
4778 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
4779 write the given character as is. Otherwise,
4780 if it is a multibyte char, convert it by
4781 non_ascii_set_charptr_emchar, then write it.
4782 (CCL_WRITE_STRING): Likewise.
4783 (ccl_get_compiled_code): New function.
4784 (setup_ccl_program): When ccl_prog is invalid,
4786 (Fregister_code_conversion_map): New function.
4787 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
4789 * mule-ccl.h: Sync up with Emacs 21.0.90.
4790 (Fregister_ccl_program): export it.
4792 * redisplay-msw.c (separate_textual_runs):
4793 If ccl program is not valid, don't do ccl conversion.
4795 * redisplay-x.c (separate_textual_runs): Ditto.
4797 * file-coding.c (Fmake_coding_system):
4798 When type is ccl and value is vector, register it
4799 with a proper symbol. And checks whether the
4800 given ccl program is valid.
4801 (mule_decode): When calling ccl_driver, if src indicates
4802 NULL pointer, set an empty string instead.
4803 (mule_encode): Likewise.
4805 2000-10-11 Martin Buchholz <martin@xemacs.org>
4807 The following large batch of changes gets us back to a state of
4808 C++ compilability. Extbyte is now a char, which means that
4809 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
4811 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
4813 * sound.c (Fplay_sound): Type correctness.
4815 * select-x.c (hack_motif_clipboard_selection): Type correctness.
4816 (x_get_window_property): Type correctness.
4817 (receive_incremental_selection): unsigned char ==> Extbyte
4818 (selection_data_to_lisp_data): unsigned char ==> Extbyte
4819 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
4820 (Fx_store_cutbuffer_internal): Type correctness.
4822 * process-unix.c (try_to_initialize_subtty): Type correctness.
4824 * objects-x.c (x_print_color_instance): Type correctness.
4825 (x_print_font_instance): Type correctness.
4826 (x_list_fonts): SExtbyte ==> Extbyte.
4827 (valid_x_font_name_p): SExtbyte ==> Extbyte.
4828 (x_find_charset_font): SExtbyte ==> Extbyte.
4829 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
4830 (truename_via_XListFonts): SExtbyte ==> Extbyte.
4831 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
4834 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
4835 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
4836 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
4837 (BYTE_C0_P): Use bit ops for char-signedness safety.
4838 (BYTE_C1_P): Use bit ops for char-signedness safety.
4839 (CHARSET_BY_LEADING_BYTE):
4840 (CHARSET_BY_ATTRIBUTES):
4841 Always use inline function.
4842 Use type_checking_assert.
4845 * mule-charset.c (non_ascii_charptr_copy_char):
4846 Modify to work with both ASCII and non-ASCII characters.
4847 Improve docs and variable names.
4848 Replace over-clever fall-through switch with a simple loop.
4849 (Lstream_get_emchar_1):
4850 Replace over-clever fall-through switch with a simple loop.
4852 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4853 Warning suppression.
4855 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
4856 the return value of Lstream_getc, which could be EOF as well.
4858 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
4860 * lisp.h: Make Extbyte a char, not unsigned char, so that external
4861 APIs can be used on Extbytes without casts. Risky!
4865 * input-method-xlib.c (XIM_init_device):
4866 Use Xlib.h instead of IntrinsicP.h.
4867 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
4868 which will break in X11R7.
4869 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
4870 to call XRegisterIMInstantiateCallback with correct types.
4872 * gui-x.c (button_item_to_widget_value): Type correctness.
4874 * glyphs.c (bitmap_to_lisp_data): Type correctness.
4876 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
4877 (xbm_instantiate_1): Type correctness.
4878 (BUILD_GLYPH_INST): Type correctness.
4880 * fileio.c (Fsubstitute_in_file_name): Type correctness.
4883 (decode_coding_sjis):
4884 (decode_coding_big5):
4885 (decode_coding_ucs4):
4886 (decode_coding_utf8):
4887 (decode_coding_iso2022):
4888 (decode_coding_no_conversion):
4889 Make all decoding functions take an Extbyte * arg.
4890 (encode_coding_sjis):
4891 (encode_coding_big5):
4892 (encode_coding_ucs4):
4893 (encode_coding_utf8):
4894 (encode_coding_iso2022):
4895 (encode_coding_no_conversion):
4896 Make all encoding functions take a Bufbyte * arg.
4897 Use size_t instead of unsigned int for memory sizes.
4898 Only cast to unsigned char whenever dereferencing Extbyte *.
4900 * doc.c (unparesseuxify_doc_string): Type correctness.
4902 * console-x.c (split_up_display_spec):
4903 Rewrite without using details of internal string representation.
4904 (x_semi_canonicalize_device_connection): Type correctness.
4907 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
4908 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
4909 (HAVE_XFREE386): Removed.
4911 * buffer.h (DEC_CHARPTR): `const' correctness.
4912 (bufbyte_strcmp): New.
4913 (bufbyte_memcmp): New.
4915 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
4917 * buffer.h (XCHAR_OR_CHAR_INT):
4918 Always use inline function.
4919 Remove redundant type checking assert() - XINT will abort quite nicely.
4921 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
4923 * search.c (Freplace_match): Set newtext to an empty string.
4925 2000-10-10 Martin Buchholz <martin@xemacs.org>
4927 * s/decosf1-3.h: Remove #include of stropts.h
4928 * s/ptx.h: Remove #include of stropts.h
4929 * s/usg5-4.h: Remove #include of stropts.h
4932 Use stropts.h, not sys/stropts.h.
4933 Use strtio.h, not sys/strtio.h.
4935 2000-10-04 Martin Buchholz <martin@xemacs.org>
4937 * XEmacs 21.2.36 is released.
4939 2000-09-21 Andy Piper <andy@xemacs.org>
4941 * glyphs-x.c (x_redisplay_widget): make sure non-structural
4942 changes still involve copying the widget tree.
4943 (update_widget_face): make sure a change is register in the widget
4944 tree. Call update_tab_widget_face appropriately.
4945 (update_tab_widget_face): ditto.
4946 (x_tab_control_redisplay): make sure non-structural changes still
4947 involve copying the widget tree.
4949 2000-08-31 Daiki Ueno <ueno@unixuser.org>
4951 * lread.c (locate_file): Check the path element is non-nil.
4953 2000-10-02 Martin Buchholz <martin@xemacs.org>
4955 * lisp.h: Warning suppression for SCO compilers.
4957 * redisplay-tty.c (reset_tty_modes): Fix crash.
4958 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
4960 2000-09-27 Martin Buchholz <martin@xemacs.org>
4962 Big signal/process handling overhaul. Bugs fixed:
4963 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
4964 M-x comint-kill-subjob should work for both values nil and t of
4965 process-connection-type. It was broken on most platforms.
4966 Testing on Irix and Cygwin still needed. Other plaforms tested.
4967 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
4968 * process-unix.c: Signal/Process handling overhaul.
4969 (pty_name): make 64 bytes, as `expect' does, for paranoia.
4970 (allocate_pty): Use all available modern methods of allocating
4971 ptys, falling back to old style BSD allocation as a last resort.
4972 Use allegedly more secure Unix98 pty allocation by default.
4973 (allocate_pty_the_old_fashioned_way): New. the last resort.
4974 (unix_create_process): Push ptem, ldterm, ttcompat where
4975 available. Autoconfiscate.
4976 (try_to_initialize_subtty): New.
4977 (unix_kill_child_process): Proper signal handling for ptys on most
4978 platforms, using special knowledge of AIX, BSD, etc...
4979 (unix_create_process): Always disconnect_controlling_terminal() for
4980 subprocesses, whether using ptys or not.
4981 * process.h: Remove old getpt-dependent PTY code.
4982 * process.c (Fprocess_send_signal): New, obvious generic function.
4983 (decode_signal): New.
4984 (Finterrupt_process):
4988 (Fcontinue_process):
4989 (Fsignal_process): Use decode_signal.
4990 (process_send_signal):
4991 Many docstring corrections.
4992 Allow any signal to be sent to a process object.
4993 * config.h.in: Add symbols for big signal/process overhaul.
4994 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
4995 * sysproc.h: Include process-related headers, where available:
4996 sys/stropts.h sys/strtio.h pty.h libutil.h
5004 Remove old S&M pty stuff.
5005 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
5006 * systty.h: Simplify cpp hackery, improve comments.
5007 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
5009 * editfns.c (Fformat_time_string):
5010 Be a little more paranoid with the return value of ctime.
5012 * fileio.c (check_executable):
5014 Use symbolic constants X_OK, W_OK.
5016 * console-x.c (split_up_display_spec): Fix a warning.
5018 2000-10-02 Martin Buchholz <martin@xemacs.org>
5020 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
5021 * ntproc.c (sys_spawnve): make_string ==> build_string
5022 Small clarity improvements.
5024 2000-09-30 Martin Buchholz <martin@xemacs.org>
5026 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
5028 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
5030 * config.h.in (HAVE_STRCASECMP): Remove.
5032 2000-09-29 Martin Buchholz <martin@xemacs.org>
5034 * redisplay-output.c (redisplay_output_pixmap):
5035 Cleaner and possibly more 64-bit correct code.
5037 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5039 * dumper.c (pdump_load_finish): move restoration of
5040 `noninteractive1' to emacs.c (main_1).
5041 * emacs.c (main_1): protect LISP-visible command-line flags
5044 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
5046 * Makefile.in.in (versionclean): Use EXE_TARGET and
5047 DUMP_TARGET instead of literal program names.
5049 2000-09-20 Martin Buchholz <martin@xemacs.org>
5051 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
5053 2000-09-19 Martin Buchholz <martin@xemacs.org>
5055 * *: Spelling mega-patch
5057 2000-09-19 Martin Buchholz <martin@xemacs.org>
5059 * fns.c (bad_bad_turtle):
5060 Delete "Eek!" comment, since we fixed the bug to which it refers.
5062 2000-09-16 Martin Buchholz <martin@xemacs.org>
5064 * alloca.c: Replace REGISTER with register.
5066 2000-09-16 Daiki Ueno <ueno@unixuser.org>
5068 * file-coding.c (ucs_to_char): Use countof.
5070 2000-09-16 Martin Buchholz <martin@xemacs.org>
5072 * file-coding.c: (ucs_to_char):
5073 (complex_vars_of_file_coding):
5074 Use countof instead of sizeof.
5075 Use CHECK_NATNUM instead of CHECK_INT.
5077 * sysdep.c (strcasecmp): Remove.
5078 * device-x.c (ascii_strcasecmp): New.
5079 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
5080 Avoid using non-standard non-portable strcasecmp.
5082 2000-09-16 Martin Buchholz <martin@xemacs.org>
5084 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
5085 * font-lock.c: remove reference to emacsfns.h.
5086 * search.c: small doc improvement.
5087 * event-Xt.c: correct file names in comments.
5088 * console-x.h Correct file names in comments.
5089 * frame.c: Correct file names in comments.
5090 * event-stream.c: remove Energize from comments.
5092 2000-09-15 Martin Buchholz <martin@xemacs.org>
5094 * symeval.h (DEFERROR_STANDARD):
5097 (DEFSYMBOL_NO_DUMP):
5098 (DEFSYMBOL_MULTIWORD_PREDICATE):
5099 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
5101 The construct &##name is not sensible C.
5102 Fixes compilation errors with Unixware native compiler.
5104 2000-09-14 Martin Buchholz <martin@xemacs.org>
5106 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
5107 (next_frame_internal): Removed. We now just have next_frame.
5109 Write a simpler and cleaner one-pass algorithm.
5110 Remove called_from_delete_device arg and #ifdefed-out code.
5112 Renamed from prev_frame. Update callers.
5113 Cleaned up to have an analogous implementation to next_frame.
5114 (other_visible_frames_internal): Remove the
5115 called_from_delete_device bogus arg, and hence, remove this
5116 function. Just use other_visible_frames().
5118 * window.c (Fnext_window):
5120 Since next_frame() is guaranteed to return a frame, remove check
5121 for nil inserted in previous patch.
5124 Make code look more like Fnext_window.
5126 Respect the `console' arg when iterating through windows.
5127 Fixes bug: (get-buffer-window buffer t device) not respecting
5129 This function needs more work, as others have pointed out.
5131 * frame.h: Rename prev_frame to previous_frame.
5132 device_matches_console_spec no longer takes a `frame' arg.
5137 Use EMACS_BLOCK_SIGNAL instead of sigblock.
5138 From "Golubev I. N." <gin@mo.msk.ru>.
5140 * make-src-depend: Fix typo.
5142 2000-09-13 Martin Buchholz <martin@xemacs.org>
5144 * window.c (Fnext_window):
5145 next_frame() might return nil, not a frame.
5147 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
5149 * frame.c (next_frame_internal):
5150 We've passed a frame if we've passed its device.
5152 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
5153 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
5155 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
5157 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
5158 Allow option to suppress accelerators in menu/dialog items.
5159 (populate_or_checksum_helper): Pass dialog title through above.
5161 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
5163 * event-msw.c (mswindows_key_to_emacs_keysym):
5164 Add "pause" key, fix "menu" key.
5166 2000-09-09 Martin Buchholz <martin@xemacs.org>
5168 * eval.c (reinit_vars_of_eval):
5169 Increase max_lisp_eval_depth to 1000,
5170 required for thai-xtis.el to byte-compile under some circumstances.
5172 2000-09-04 Martin Buchholz <martin@xemacs.org>
5174 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
5177 2000-09-01 Martin Buchholz <martin@xemacs.org>
5179 * make-src-depend: Make the generated Makefiles smaller.
5181 * s/hpux.h (SETUP_SLAVE_PTY):
5182 Provide a %d in the format string for the errno argument.
5184 * editfns.c (Ftemp_directory):
5186 Avoid buffer overrun on very long file name.
5188 * input-method-xlib.c (XIM_init_device):
5189 6th parameter of XRegisterIMInstantiateCallback has different
5190 pointer types on different OSes, so simply cast to (void *).
5192 * unexhp9k800.c: Warning fixes. Fiddly changes.
5194 * sysdll.c (dll_open):
5195 shl_load will hang hard if passed a NULL filename.
5196 Simply return NULL for compatibility with dlopen.
5197 * sysdll.c: Conform to XEmacs coding standards.
5199 * sysdep.c (get_pty_max_bytes):
5200 Support pty input lines longer than 512 bytes on HP-UX 10.20.
5202 2000-08-31 Martin Buchholz <martin@xemacs.org>
5204 * tooltalk.c: Add #include <syssignal.h>
5206 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
5208 * s/hpux.h: Don't use undefined function sigunblock().
5210 2000-08-31 Martin Buchholz <martin@xemacs.org>
5212 * config.h.in: Add HAVE_BALLOON_HELP.
5213 * emacs.c: Use HAVE_BALLOON_HELP.
5214 * Makefile.in.in (x_objs):
5215 Make Balloon Help conditional on finding shape.h.
5217 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
5219 * syntax.c (regex_emacs_buffer_p): New variable.
5220 * syntax.h (regex_emacs_buffer_p): extern.
5221 * search.c (looking_at_1):
5223 (fast_string_match):
5224 (search_buffer): Set regex_emacs_buffer_p.
5225 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
5226 when before_dot, at_dot, after_dot.
5228 2000-08-23 Andy Piper <andy@xemacs.org>
5230 * gui-x.c (popup_selection_callback): Only set action_occurred
5231 when we really have an image instance.
5232 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
5234 2000-08-23 Andy Piper <andy@xemacs.org>
5236 * gui-msw.c (mswindows_handle_gui_wm_command): set
5238 * gui-x.c (popup_selection_callback): ditto.
5240 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
5241 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
5242 (struct Lisp_Image_Instance): add action_occurred flag.
5244 * glyphs.c (redisplay_subwindow): use action_occurred flag.
5245 (image_instance_changed): ditto.
5246 (reset_frame_subwindow_instance_cache): only unmap windows - do
5247 not remove them from the cache also.
5249 * glyphs-widget.c (tab_control_update): better debug.
5250 (progress_gauge_update): ditto.
5251 (layout_update): ditto.
5252 (layout_instantiate): ditto.
5253 (tab_control_order_only_changed): cope with null pending items.
5255 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
5256 debug. Force selection of an item when an action occurred. Cope
5257 with null pending_items.
5258 (mswindows_progress_gauge_redisplay): better debug.
5259 * glyphs-x.c (x_tab_control_redisplay): ditto.
5261 * redisplay.c (redisplay_frame): reset the frame cache if the
5264 * window.c (Fset_window_configuration): potentially re-enable
5266 (window_unmap_subwindows): need to finalize instances here since
5267 it is only used in mark_window_as_deleted.
5269 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
5271 * nas.c (SndOpenDataForReading):
5272 nas.c (WaveOpenDataForReading):
5273 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
5274 Somehow escaped from the 2000-08-14 patch.
5276 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5278 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
5279 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
5281 2000-08-21 Andy Piper <andy@xemacs.org>
5283 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
5284 window if it is not already displayed.
5286 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
5287 it is not already displayed.
5289 * window.c (Fset_window_configuration): don't reset the frame
5292 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
5293 instances from the frame cache if we are actually finalizing them.
5294 (reset_frame_subwindow_instance_cache): reset frame cache only
5295 after unmapping everything.
5296 (map_subwindow): set displayed flag after mapping.
5298 2000-08-21 Martin Buchholz <martin@xemacs.org>
5300 * data.c (indirect_function):
5301 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
5303 * eval.c (function_argcount):
5304 Use original function when signaling errors.
5306 2000-08-18 Andy Piper <andy@xemacs.org>
5308 * frame.c (delete_frame_internal): use new
5309 free_frame_subwindow_instances name.
5311 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
5312 (add_tab_item): make return type correct.
5313 (mswindows_tab_control_instantiate): assert index of tab.
5314 (mswindows_tab_control_redisplay): Re-code to use
5315 gui_item_equal_sans_selected and gui_item_list_find_selected.
5317 * glyphs-widget.c (tab_control_update): Correct comment.
5319 * window.c (window_unmap_subwindows): use new
5320 unmap_subwindow_instance_cache_mapper.
5321 (window_unmap_subwindows_cache_mapper): deleted.
5322 (Fset_window_configuration): comparisons should now be with
5323 EQ. Preserve the subwindow instance cache across configuration
5325 (allocate_window): ditto.
5326 (make_dummy_parent): ditto.
5328 * glyphs.c (free_frame_subwindow_instances): rename from
5329 free_frame_subwindow_instance_cache. finalize all instances rather
5330 than just those in the display cache.
5331 (finalize_all_subwindow_instances): walk windows unmapping and
5332 finalizing subwindows.
5333 (unmap_subwindow_instance_cache_mapper): moved from
5334 window.c. Allow finalization as well as unmapping.
5336 * gui.c (gui_item_list_find_selected): new function.
5338 * gui.h (gui_item_list_find_selected): declare.
5340 * glyphs-x.c (x_tab_control_redisplay): pick tab
5341 explicitly. Re-code to use gui_item_equal_sans_selected and
5342 gui_item_list_find_selected.
5344 * glyphs-x.h: add lwlib-utils.h
5346 * buffer.c (Frecord_buffer): undo previous change.
5348 2000-08-09 Vin Shelton <acs@xemacs.org>
5350 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
5351 possible. Create temporary files more securely. The patch was
5352 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
5353 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
5354 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
5357 2000-08-07 Ben Wing <ben@xemacs.org>
5359 * getloadavg.c: remove duplicate (and windows-breaking)
5360 includes of fcntl.h and sys/file.h.
5362 * nt.c: remove duplicate getloadavg() definition.
5364 * sysdll.h (Qdll_filename_encoding): add missing stand-in
5367 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
5369 * eval.c (function_argcount): If function needs to be autoloaded
5370 actually use the loaded definition.
5373 2000-08-05 Ben Wing <ben@xemacs.org>
5375 * getloadavg.c: add prototype for getloadavg(). remove
5376 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
5377 of the code). remove duplicate header includes.
5379 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
5381 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
5382 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
5383 useful load average.
5385 * alloc.c (reinit_alloc_once_early): removed references to
5386 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
5387 the lisp vars are the only things referencing the malloc_sbrk_*
5388 vars, and they were already if 0'd out. these vars only exist
5389 in the older malloc.c, which is basically unused, and they're
5390 only for informational purposes.
5392 * m\*.h: removed useless VIRT_ADDR_VARIES.
5394 * m\powerpc.h: removed stray NO_ARG_ARRAY.
5396 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
5398 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
5399 color if the image is a mono pixmap.
5401 2000-07-30 Ben Wing <ben@xemacs.org>
5403 * Makefile.in.in (release):
5406 * buffer.c (directory_is_current_directory):
5407 * dired-msw.c (mswindows_get_files):
5409 * dired.c (Fdirectory_files):
5410 * dired.c (file_name_completion_stat):
5411 * dired.c (Ffile_attributes):
5412 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
5413 preprocessor tricks, to avoid problems on some machines
5416 * callproc.c (egetenv): GC docs.
5419 * console-msw.h (struct mswindows_dialog_id):
5420 * lrecord.h (lrecord_type):
5421 New object for use with MSW dialogs.
5423 * console.h (struct console_methods):
5424 New enable/disable frame methods, for proper modal dialogs.
5426 * device-msw.c (msprinter_default_printer): Fix to follow
5427 proper Mule conventions.
5430 * device-msw.c (signal_open_printer_error):
5431 * device-msw.c (msprinter_init_device):
5432 * device-msw.c (ensure_not_printing):
5433 * device-msw.c (plist_get_margin):
5434 * device-msw.c (Fmsprinter_select_settings):
5435 * device-msw.c (finalize_devmode):
5436 * device-msw.c (Fmsprinter_settings_despecialize):
5437 * device-msw.c (signal_enum_priner_error):
5438 * extents.c (decode_extent):
5439 * extents.c (decode_map_extents_flags):
5440 * extents.c (decode_extent_at_flag):
5441 * extents.c (Fextent_at):
5442 * extents.c (Fextents_at):
5443 * extents.c (symbol_to_glyph_layout):
5444 [[[[2]]]] Use structured errors.
5447 * dialog-msw.c (mswindows_is_dialog_msg):
5448 * dialog-msw.c (mark_mswindows_dialog_id):
5449 * dialog-msw.c (dialog_proc):
5450 * dialog-msw.c (handle_question_dialog_box):
5451 * dialog-msw.c (syms_of_dialog_mswindows):
5452 Define new object to clean up marking; use it as a dialog identifier.
5453 Call new delete-dialog-box-hook.
5455 * dialog-x.c (dbox_selection_callback):
5456 * dialog-x.c (dbox_descriptor_to_widget_value):
5457 * dialog-x.c (x_make_dialog_box_internal):
5458 Call new delete-dialog-box-hook.
5462 * dialog.c (syms_of_dialog):
5463 * dialog.c (vars_of_dialog):
5464 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
5467 * eval.c (signal_call_debugger):
5468 when noninteractive, output stack traces on the console instead
5469 of in a (never-seen) buffer.
5471 * eval.c (signal_type_error):
5472 * eval.c (invalid_argument_2):
5474 new funs for use w/structured errors.
5477 * event-Xt.c (x_to_emacs_keysym):
5478 * event-Xt.c (describe_event):
5479 * event-Xt.c (emacs_Xt_event_handler):
5480 * event-Xt.c (vars_of_event_Xt):
5482 * event-msw.c (mswindows_wnd_proc):
5483 * event-msw.c (vars_of_event_mswindows):
5484 rename {x,mswindows}-debug-events to debug-{}-events for
5485 consistency with other debug-foo variables.
5488 document next-event more clearly.
5490 * fileio.c (Ffile_name_directory):
5491 * fileio.c (Ffile_name_nondirectory):
5492 * fileio.c (Funhandled_file_name_directory):
5493 * fileio.c (file_name_as_directory):
5494 * fileio.c (Ffile_name_as_directory):
5495 * fileio.c (directory_file_name):
5496 * fileio.c (Fdirectory_file_name):
5497 * fileio.c (Fmake_temp_name):
5498 * fileio.c (Ffile_truename):
5499 * fileio.c (Fsubstitute_in_file_name):
5500 * fileio.c (expand_and_dir_to_file):
5501 * fileio.c (barf_or_query_if_file_exists):
5502 * fileio.c (check_executable):
5503 * fileio.c (Ffile_exists_p):
5504 * fileio.c (Ffile_writable_p):
5505 * fileio.c (Ffile_directory_p):
5506 * fileio.c (Ffile_regular_p):
5507 * fileio.c (Ffile_modes):
5508 * fileio.c (Ffile_newer_than_file_p):
5509 * fileio.c (Fverify_visited_file_modtime):
5510 * fileio.c (Fset_visited_file_modtime):
5511 * fileio.c (auto_save_1):
5516 * frame-msw.c (mswindows_init_frame_1):
5517 * frame-msw.c (mswindows_enable_frame):
5518 * frame-msw.c (error_frame_unsizable):
5519 * frame-msw.c (msprinter_init_frame_1):
5520 * frame-msw.c (msprinter_init_frame_3):
5521 * frame-msw.c (console_type_create_frame_mswindows):
5523 implement new enable/disable frame methods.
5526 * frame-x.c (x_enable_frame):
5527 * frame-x.c (console_type_create_frame_x):
5528 implement new enable/disable frame methods.
5531 * frame.c (Fdisable_frame):
5532 * frame.c (syms_of_frame):
5533 * frame.h (struct frame):
5534 implement new enable/disable frame methods/functions.
5539 * glyphs-msw.c (mswindows_widget_instantiate):
5540 comment that initial-focus should be implemented.
5543 * glyphs-widget.c (check_valid_instantiator):
5544 * glyphs-widget.c (check_valid_orientation):
5545 * glyphs-widget.c (check_valid_tab_orientation):
5546 * glyphs-widget.c (check_valid_justification):
5547 * glyphs-widget.c (check_valid_border):
5548 * glyphs-widget.c (check_valid_callback):
5549 * glyphs-widget.c (check_valid_int_or_function):
5550 * glyphs-widget.c (check_valid_string_or_vector):
5551 * glyphs-widget.c (check_valid_item_list_1):
5552 * glyphs-widget.c (widget_validate):
5553 * glyphs-widget.c (combo_box_validate):
5554 * glyphs-widget.c (widget_instantiate):
5555 * glyphs-widget.c (syms_of_glyphs_widget):
5556 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
5557 * glyphs-widget.c (image_instantiator_combo_box):
5558 * glyphs-widget.c (image_instantiator_scrollbar):
5559 * glyphs-widget.c (image_instantiator_tab_control):
5560 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
5562 support (unimplemented) keyword initial-focus.
5563 reindent long macros.
5565 * glyphs-x.c (x_redisplay_widget):
5566 * glyphs-x.c (x_button_instantiate):
5567 * glyphs-x.c (x_button_redisplay):
5568 * glyphs-x.c (x_progress_gauge_instantiate):
5569 * glyphs-x.c (x_edit_field_instantiate):
5570 * glyphs-x.c (x_combo_box_instantiate):
5571 * glyphs-x.c (x_tab_control_instantiate):
5572 * glyphs-x.c (x_label_instantiate):
5574 * gui-x.c (button_item_to_widget_value):
5575 * gui-x.c (gui_items_to_widget_values_1):
5576 * gui-x.c (gui_item_children_to_widget_values):
5577 * gui-x.c (gui_items_to_widget_values):
5579 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5580 add new flag to gui-parsing routines to indicate whether
5581 accelerator specs should be supported.
5583 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
5585 * glyphs.h (struct Lisp_Image_Instance):
5586 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
5587 add initial-focus flag.
5590 * gui.c (syms_of_gui):
5591 * gui.c (vars_of_gui):
5592 clean up menu-no-selection-hook.
5595 support delete-dialog-box-hook.
5597 * lread.c (Fload_internal):
5598 * lread.c (locate_file_in_directory_mapper):
5602 * lrecord.h (struct toolbar_button):
5603 * lrecord.h (syms_of_toolbar):
5604 document how to create a new object.
5606 * menubar-msw.c (mswindows_char_is_accelerator):
5607 may be called on frames w/o menus.
5609 * menubar.c (vars_of_menubar):
5610 clean up :filter docs.
5617 * process-nt.c (validate_signal_number):
5618 * process-nt.c (signal_cannot_launch):
5619 * process-nt.c (nt_create_process):
5620 * process-nt.c (nt_send_process):
5621 * process-nt.c (nt_kill_child_process):
5622 * process-nt.c (nt_open_network_stream):
5623 * process-nt.c (syms_of_process_nt):
5625 delete quote-handling. call new lisp code that does it better.
5627 * process-unix.c (connect_to_file_descriptor):
5628 * process-unix.c (allocate_pty):
5629 * process-unix.c (unix_send_process):
5630 * process-unix.c (unix_kill_child_process):
5631 * process-unix.c (unix_open_network_stream):
5632 * process-unix.c (unix_open_multicast_group):
5636 * process.c (Fstart_process_internal):
5637 (2). need to canonicalize process path even if absolute.
5639 * select-msw.c (symbol_to_ms_cf):
5640 * select-msw.c (ms_cf_to_symbol):
5641 * select-msw.c (cf_is_autofreed):
5642 * select-msw.c (mswindows_destroy_selection):
5644 * select.c (syms_of_select):
5646 support dibv5, fix bugs. (from Mike Alexander)
5648 * select.c (Fget_selection_internal):
5649 * select.c (select_convert_out):
5652 * sysdep.c (xemacs_stat):
5657 but keep original stat() here because we provide encapsulation
5661 * sysfile.h (fstat):
5662 remove stat garbage.
5666 don't include tchar.h. it's inappropriate because it makes
5667 compile-time distinctions when we want runtime distinctions.
5668 (we provide our own tchar replacements)
5671 use default object printer for toolbar-button.
5674 make sure we don't encapsulate.
5676 * window.c (vars_of_window):
5677 emphasize that temp-buffer-show-hook is obsolete.
5679 2000-08-05 Martin Buchholz <martin@xemacs.org>
5681 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
5682 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
5684 * events.c (Fevent_timestamp_lessp):
5685 Not 64-bit clean. Use EMACS_INT, not int.
5687 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
5689 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
5690 unsigned int and changed the last enum to
5691 lrecord_type_last_built_in_type.
5692 (lrecord_implementations_table): changed prototype to know how
5693 long the array is supposed to be.
5694 (lrecord_type_count): new unsigned int to keep track of the
5695 current number of lisp lrecord types.
5696 (DEFINE_EXTERNAL_LRECORD):
5697 (DECLARE_EXTERNAL_LRECORD): Added these two for external
5698 dynamic-modules to declare new lisp types. They are the same
5699 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
5700 int for each new type, and increment lrecord_type_count by 1.
5702 * alloc.c (lrecord_implementations_table): Changed to reference
5703 lrecord_type_last_built_in_type for the size of the array.
5704 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
5706 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
5708 * glyphs.h (check_valid_item_list): Renamed from
5709 check_valid_item_list_1.
5711 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
5713 * select.c (Qselect_coerce): New.
5714 * select.c (Vselection_coercion_alist): New.
5715 * select.c (syms_of_select): Declare.
5716 * select.c (get-selection-internal): Use it.
5717 Use the new select-coerce functionality.
5719 * select.c (select_coerce): New.
5720 * select.h (select_coerce): Declare.
5721 New function to coerce one type of data into another.
5723 2000-08-03 Martin Buchholz <martin@xemacs.org>
5725 * callproc.c (Fcall_process_internal):
5726 (Fcall_process_internal):
5727 * process-unix.c (unix_create_process):
5728 Save and restore the value of errno, so that error messages are accurate.
5730 2000-08-01 Martin Buchholz <martin@xemacs.org>
5732 * elhash.c (print_hash_table):
5733 Fix printing of hash tables to also use `key-and-value' instead of `t'.
5734 Prettify docstrings and indentation.
5736 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
5738 * window.c (Fwindow_pixel_edges): Subtract frame border and
5741 2000-07-31 Andy Piper <andy@xemacs.org>
5743 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
5744 will acknowledge the change.
5746 * glyphs.h: declare tab_control_order_only_changed.
5748 * glyphs-x.c (x_tab_control_redisplay): use
5749 tab_control_order_only_changed.
5751 * glyphs-widget.c (tab_control_order_only_changed): new function.
5753 * glyphs-msw.c (mswindows_tab_control_redisplay): use
5754 tab_control_order_only_changed.
5756 * gui.c (gui_item_equal_sans_selected): new function.
5757 (gui_item_equal): use it.
5759 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
5760 :properties in favor of :items..
5762 * glyphs-widget.c (check_valid_item_list): rename from
5763 check_valid_item_list_1.
5764 (check_valid_item_list_1): renamed.
5765 (combo_box_validate): deprecate :properties in favor of :items.
5766 (widget_instantiate): ditto.
5767 (tab_control_update): ditto.
5768 (image_instantiator_combo_box): ditto.
5769 (image_instantiator_tree_view): ditto.
5770 (image_instantiator_tab_control): ditto.
5771 (layout_post_instantiate): remove dead code.
5773 * print.c (debug_print_no_newline): only write to debugger if in
5776 * elhash.c (Fmake_hash_table): update doc string.
5778 * event-msw.c (mswindows_wnd_proc): don't allow processing of
5779 messages whilst in GC. This at least stops XEmacs crashing but has
5780 the potential for wierd behaviour.
5782 2000-07-31 Martin Buchholz <martin@xemacs.org>
5785 Make existence of s&m files optional.
5787 * s/bsd386.h: Remove HAVE_GETLOADAVG.
5788 * s/freebsd.h: Remove HAVE_GETLOADAVG.
5789 * s/gnu.h: Remove HAVE_GETLOADAVG.
5790 * s/netbsd.h: Remove HAVE_GETLOADAVG.
5791 * s/sol2.h: Remove HAVE_GETLOADAVG.
5792 * lisp.h: Remove getloadavg() declaration.
5794 Include <sys/loadavg.h> if available.
5795 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
5796 * config.h.in: Group together getloadavg()-related macros.
5797 Use only configure-time tests to detect getloadavg().
5799 2000-07-30 Martin Buchholz <martin@xemacs.org>
5801 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
5803 2000-07-25 Andy Piper <andy@xemacs.org>
5805 * syswindows.h: add tchar.h for native builds.
5807 * frame.c (syms_of_frame): remove set-glyph-image.
5809 * general-slots.h: add Qset_glyph_image.
5811 * glyphs-widget.c (layout_update): add domain arg to
5813 (syms_of_glyphs_widget): remove set-glyph-image.
5815 2000-07-23 Ben Wing <ben@xemacs.org>
5817 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
5820 2000-07-22 Andy Piper <andy@xemacs.org>
5822 * symsinit.h: add syms_of_win32().
5824 * gui-msw.c (syms_of_gui_mswindows): remove
5825 Fmswindows_shell_execute.
5826 (Fmswindows_shell_execute): moved to win32.c.
5828 * emacs.c (main_1): add syms_of_win32 ().
5830 * win32.c (init_potentially_nonexistent_functions): rewrite in
5831 compiler-friendly terms.
5832 (Fmswindows_shell_execute): move here from gui-msw.c.
5833 (syms_of_win32): new.
5835 * device-msw.c (Fmswindows_printer_list): clean up args to
5837 Don't include tchar under cygwin or mingw.
5838 (msprinter_default_printer): make cygwin-friendly.
5840 2000-07-21 Andy Piper <andy@xemacs.org>
5842 * glyphs-widget.c (image_instantiator_tree_view): use tab
5843 control's update function.
5844 (layout_property): new function. Retrieve items.
5846 * glyphs-msw.c (mswindows_tree_view_redisplay): new
5847 function. Re-populate the tree view from the pending items.
5849 * glyphs.c (instantiate_image_instantiator): Make sure the domain
5850 is designated the parent if the domain is an image instance. This
5851 is needed so that dirtiness can be cascade up the hierarchy and
5852 thus for layout children to be redisplayed correctly.
5853 (allocate_image_instance): rename glyph -> parent.
5855 * redisplay.h: change redisplay_output_layout signature.
5857 * redisplay-msw.c (mswindows_output_display_block): use domain
5860 * redisplay-x.c (x_output_display_block): use domain arg.
5862 2000-07-10 Andy Piper <andy@xemacs.org>
5864 * window.c (Fset_window_configuration): add comment.
5866 * redisplay-output.c (compare_runes):
5867 (redisplay_output_subwindow): redisplay rather than update subwindow.
5868 (redisplay_output_layout): ditto.
5870 * redisplay-msw.c (mswindows_frame_output_end):
5871 (mswindows_frame_output_end): make defer window pos optional.
5873 * lisp.h: add Flast.
5875 * glyphs.h (struct image_instantiator_methods): add dest_mask top
5876 normalize method. Change update method to be for changed
5877 instantiators. Add redisplay method. Change signature of layout
5879 (struct Lisp_Image_Instance): add instantiator.
5880 (IMAGE_INSTANCE_INSTANTIATOR): new.
5881 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
5882 (XIMAGE_INSTANCE_INSTANTIATOR): new.
5883 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
5886 (find_instantiator_differences): new function.
5887 (Fset_instantiator_property): new convenience function.
5888 (check_image_instance_structure): strictly check for vector
5890 (normalize_image_instantiator): make non-static.
5891 (instantiate_image_instantiator): pass on dest_mask and use new
5892 signatures for image_instance_layout and friends.
5893 (mark_image_instance): mark the instantiator. Mark the subwindow
5894 face not the widget face.
5895 (image_instance_equal): add instantiator.
5896 (image_instance_hash): ditto.
5897 (allocate_image_instance): ditto.
5898 (Fset_image_instance_property): removed.
5899 (Fimage_instance_file_name): ditto.
5900 (Fcolorize_image_instance): ditto.
5901 (image_instance_layout): add offsets to be set.
5902 (update_image_instance): new function. update an image instance
5903 from its changed instantiator.
5904 (inherit_normalize): add dest_mask.
5905 (xbm_normalize): ditto.
5906 (xface_normalize): ditto.
5907 (xpm_normalize): ditto.
5908 (text_update): set_property -> update.
5909 (image_instantiate): use the glyph identity as a hash key, not the
5911 (glyph_width): use new image_instance_layout signature.
5912 (glyph_ascent): ditto.
5913 (glyph_descent): ditto.
5914 (glyph_height): ditto.
5915 (glyph_query_geometry): ressurrect.
5916 (glyph_layout): ditto.
5917 (redisplay_subwindow): update -> redisplay.
5918 (syms_of_glyphs): add Fset_instantiator_property.
5919 (image_instantiator_format_create): set_property -> update.
5922 (autodetect_normalize): add dest_maks to signature.
5923 (x_redisplay_subwindow): update -> redisplay.
5924 (x_redisplay_widget): ditto.
5925 (x_button_redisplay): ditto.
5926 (x_progress_gauge_redisplay): ditto.
5927 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
5929 (console_type_create_glyphs_x): update -> redisplay.
5930 (image_instantiator_format_create_glyphs_x): ditto.
5933 (check_valid_instantiator): disallow glyphs in the instantiator,
5934 they must now be vectors.
5935 (check_valid_instantiator_list): ditto.
5936 (glyph_instantiator_to_glyph): use internal symbol rather than
5938 (widget_update): renamed from widget_set_property. Call cascaded
5940 (redisplay_widget): renamed from update_widget.
5941 (widget_layout): image_instance_layout now takes position as well
5943 (widget_normalize): ditto.
5944 (widget_instantiate): ditto.
5945 (tab_control_query_geometry) ditto.:
5946 (tab_control_update): renamed from tab_control_set_property.
5947 (progress_gauge_update): set_property -> update.
5948 (layout_normalize): rewrite so that child instantiators are
5950 (layout_update): new function. Create glyphs from the normalized
5951 children and cope with any other layout keywords. We do not
5952 instantiate children here that will be take care of by
5953 redisplay_output_layout.
5954 (layout_instantiate): call layout_update and not much else.
5955 (layout_post_instantiate): not sure whether this is needed
5957 (layout_query_geometry): query glyph geometry rather than
5958 image_instance geometry.
5959 (layout_layout): set offsets from pass in parameters. Use glyph
5960 geometry and layout functions rather than image instance ones.
5961 (native_layout_layout): ditto.
5962 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
5963 (image_instantiator_widget): set_property -> update.
5964 (image_instantiator_buttons): ditto.
5965 (image_instantiator_progress_guage): ditto.
5966 (image_instantiator_tab_control): ditto.
5967 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
5968 (image_instantiator_layout): add update method.
5970 * glyphs-msw.c (bmp_normalize):
5971 (mswindows_resource_normalize): add dest_mask so that it can be
5972 proprogated by layout_normalize.
5973 (begin_defer_window_pos): make optional because it may not be the
5974 right thing to do and it introduces differences with X.
5975 (mswindows_unmap_subwindow): ditto.
5976 (mswindows_map_subwindow): ditto.
5977 (mswindows_redisplay_subwindow): renamed from
5978 mswindows_update_subwindow.
5979 (mswindows_redisplay_widget): ditto.
5980 (mswindows_button_redisplay): renamed from
5981 mswindows_button_update. Update is now what the instantiation
5982 function does for a changed instantiator.
5983 (mswindows_progress_gauge_instantiate): set the progress value
5984 here if appropriate.
5985 (mswindows_tab_control_redisplay): cope with re-ordering of the
5986 members of the tab widget by simply selecting the new top
5987 widget. This makes things appear ok if you click on a tab.
5988 (mswindows_combo_box_instantiate): image_instance_layout now takes
5989 position as well as size.
5990 (mswindows_progress_gauge_redisplay): renamed from
5991 mswindows_progress_gauge_update.
5992 (console_type_create_glyphs_mswindows): fix update -> redisplay.
5993 (image_instantiator_format_create_glyphs_mswindows): ditto.
5995 * glyphs-eimage.c (jpeg_normalize):
5998 (tiff_normalize): add dest_mask so that it can be proprogated by
6003 (hash_table_weakness_validate):
6004 (decode_hash_table_weakness):
6005 (Fhash_table_weakness):
6007 (syms_of_elhash): use Ben's naming scheme for hashtable types..
6009 * console.h (struct console_methods): move update_* to
6012 2000-07-20 Ben Wing <ben@xemacs.org>
6014 * *.[ch] (XSETOBJ): remove unused middle argument.
6015 lisp-disunion.h: correct wrap_object() to one argument.
6017 2000-07-15 Ben Wing <ben@xemacs.org>
6020 * s/cygwin32.h (CYGWIN_CONV_PATH):
6021 Add missing logb prototype for v1.1.
6022 Use post-b20 names and alias to pre-b20 names when pre-b20.
6024 * s/windowsnt.h: [5].
6026 2000-07-15 Ben Wing <ben@xemacs.org>
6028 * Makefile.in.in (x_objs):
6029 * Makefile.in.in (sheap_objs):
6030 * Makefile.in.in (objs):
6031 added win32.o, cosmetic cleanups.
6033 * alloc.c (Fmake_byte_code):
6034 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
6035 etc. macros which declare their own args now.
6037 * alloc.c (syms_of_alloc):
6038 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
6041 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
6043 * buffer.c (Fget_file_buffer):
6044 Fixed GCPRO problem.
6046 * buffer.c (get_truename_buffer):
6047 Fixed comment about GC checking.
6049 * buffer.c (syms_of_buffer):
6050 Undeclared those dedicated frame funs.
6054 Define convenience macros for internal/external conversions.
6055 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
6056 and Qenvironment_variable_encoding for cleaner code.
6059 Remove dedicated-frame; in lisp.
6061 * bytecode.c (funcall_compiled_function):
6064 * bytecode.c (syms_of_bytecode):
6068 * console-msw.c (mswindows_show_console): Rewrote.
6070 * console-msw.c (Fmswindows_debugging_output): New.
6071 Sends to OutputDebugString (special MSWin debugger interface).
6073 * console-msw.c (Fmswindows_message_box):
6074 Fixed stupid bugs so it works when called from kill-emacs.
6076 * console-msw.c (syms_of_console_mswindows):
6077 Declare Fmswindows_debugging_output.
6080 New MSWin prototypes.
6082 * console-msw.h (struct mswindows_frame):
6083 New entry last-click-mods for improved button-modifier support.
6085 * console-msw.h (FRAME_MSWINDOWS_POPUP):
6086 New struct entry `popup' with corresponding accessor.
6089 * console-x.c (split_up_display_spec):
6090 * console-x.c (get_display_arg_connection):
6091 * console-x.c (x_semi_canonicalize_console_connection):
6092 * console-x.c (x_canonicalize_device_connection):
6093 [[[6]]]: Change char to more specific type.
6094 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
6096 * console-x.c (x_semi_canonicalize_console_connection):
6097 * console-x.c (x_canonicalize_device_connection):
6098 [[[9]]]: Fix up error signalling to use new structured error system.
6101 [[[4]]]: Define codesys aliases:
6102 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
6103 Qx_color_name_encoding, Qx_display_name_encoding.
6105 * console.h (struct console_methods):
6106 New method make_dialog_box_internal supersedes older
6107 popup_dialog_box method.
6110 Define many new errors, part of new structured errors.
6112 * data.c (init_errors_once_early):
6113 * data.c (syms_of_data):
6116 * device-msw.c (mswindows_init_device):
6117 [[[5]]]: Cleanup to support NT 3.51.
6119 * device-msw.c (decode_devmode): Cleanup.
6121 * device-msw.c (mswindows_handle_print_setup_dialog_box):
6122 * device-msw.c (mswindows_handle_print_dialog_box):
6123 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6124 * device-msw.c (syms_of_device_mswindows):
6125 Delete the dialog box primitives recently introduced by Kirill and
6126 instead interface to general dialog box interface.
6129 * device-x.c (compute_x_app_name):
6130 * device-x.c (x_init_device):
6131 * device-x.c (Fx_valid_keysym_name_p):
6132 * device-x.c (Fx_set_font_path):
6136 * device.h (wrap_device): New.
6137 First of its kind; meant to replace XSETDEVICE.
6139 * dialog-msw.c: Many file-dialog symbols.
6141 * dialog-msw.c (mswindows_register_popup_frame): New.
6142 * dialog-msw.c (mswindows_is_dialog_msg): New.
6143 For supporting kbd traversal in dialog boxes.
6145 * dialog-msw.c (dialog_proc):
6146 Support hitting ESC in dialogs.
6148 * dialog-msw.c (struct):
6149 Common dialog box errors.
6151 * dialog-msw.c (handle_file_dialog_box): New.
6152 Add file dialog code.
6154 * dialog-msw.c (handle_question_dialog_box):
6155 Redo existing code to support new question dialog syntax.
6157 * dialog-msw.c (console_type_create_dialog_mswindows):
6158 We support new dialog console method.
6160 * dialog-msw.c (syms_of_dialog_mswindows):
6161 * dialog-msw.c (vars_of_dialog_mswindows):
6162 New file dialog symbols, vars.
6165 * dialog-x.c (maybe_run_dbox_text_callback):
6166 * dialog-x.c (dbox_descriptor_to_widget_value):
6167 * dialog-x.c (x_make_dialog_box_internal):
6168 * dialog-x.c (console_type_create_dialog_x):
6169 Mule-ize entire file.
6170 Redo to support question dialog syntax.
6174 * dialog.c (Fmake_dialog_box_internal):
6175 * dialog.c (syms_of_dialog):
6176 Kill old popup-dialog-box, replace with new primitive.
6177 Just call device method or signal error.
6179 * eldap.c (Fldap_open):
6180 * eldap.c (Fldap_search_basic):
6181 * eldap.c (Fldap_add):
6182 * eldap.c (Fldap_modify):
6187 * emacs.c (make_arg_list_1):
6188 * emacs.c (make_arg_list):
6189 Mule-ize call to dll_init().
6193 * emacs.c (make_argc_argv):
6194 * emacs.c (free_argc_argv):
6195 * emacs.c (init_cmdargs):
6197 * emacs.c (Fkill_emacs):
6198 * emacs.c (Fdump_emacs):
6199 Update comments about what can be used in syms_* etc.
6200 Call init_win32() when necessary.
6201 Fix up MS Win dialog box in kill-buffer to actually work right.
6212 * eval.c (condition_case_3):
6214 * eval.c (function_argcount):
6215 * eval.c (funcall_lambda):
6218 * eval.c (type_error): New.
6219 * eval.c (maybe_type_error): New.
6220 * eval.c (continuable_type_error): New.
6221 * eval.c (maybe_continuable_type_error): New.
6222 * eval.c (type_error_with_frob): New.
6223 * eval.c (maybe_type_error_with_frob): New.
6224 * eval.c (continuable_type_error_with_frob): New.
6225 * eval.c (maybe_continuable_type_error_with_frob): New.
6226 New functions for use with structured errors.
6229 * event-Xt.c (x_event_to_emacs_event):
6230 Buttons are now modifiers too.
6232 * event-Xt.c (emacs_Xt_current_event_timestamp):
6233 Implement new event method.
6234 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
6237 * event-msw.c (ntpipe_shove_writer): [5].
6238 * event-msw.c (mswindows_enqueue_mouse_button_event):
6239 * event-msw.c (mswindows_drain_windows_queue):
6240 * event-msw.c (mswindows_wnd_proc): [7].
6241 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
6242 * event-msw.c (mswindows_modifier_state):
6243 Throughout: support new button modifiers.
6245 * event-msw.c (emacs_mswindows_current_event_timestamp):
6246 Implement new event method.
6247 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
6250 * event-stream.c (event_stream_current_event_timestamp): New.
6251 * event-stream.c (maybe_kbd_translate): New functionality.
6252 * event-stream.c (vars_of_event_stream):
6253 Document new kbd-translate-table functionality.
6255 * event-stream.c (Fcurrent_event_timestamp): New.
6256 New primitive for use in fabricated events.
6257 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
6259 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
6262 * events.c (Fmake_event):
6263 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
6267 * events.c (format_event_object): fix gcc warnings.
6269 * events.c (Fevent_timestamp): Document new primitives.
6271 * events.c (TIMESTAMP_HALFSPACE): New.
6273 * events.c (Fevent_timestamp_lessp): New. New primitive for
6274 comparing timestamps correctly (half-space algorithm).
6276 * events.c (Fevent_modifier_bits): Doc fix.
6278 * events.c (Fevent_modifiers): Major doc addition.
6279 * events.c (event_x_y_pixel_internal): Typo fix.
6280 * events.c (syms_of_events): Declare new primitives.
6283 Update long comment for button modifiers, timestamps.
6285 * events.h (struct event_stream):
6286 New current_event_timestamp method.
6289 * extents.c (extent_in_region_p):
6290 * extents.c (decode_extent):
6291 * extents.c (Fset_extent_parent):
6292 * extents.c (decode_map_extents_flags):
6296 * extents.c (struct extent_at_arg):
6297 * extents.c (decode_extent_at_flag):
6298 * extents.c (extent_at_mapper):
6299 * extents.c (extent_at_bytind):
6300 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
6301 * extents.c (Fextents_at): New primitive. [9].
6302 * extents.c (symbol_to_glyph_layout): [9].
6303 Support new primitive `extents-at'.
6306 * extents.c (get_text_property_bytind):
6307 extent_at_bytind has another arg.
6310 * extents.c (syms_of_extents): New primitive.
6312 * file-coding.c (Fmake_coding_system): [1].
6313 * file-coding.c (subsidiary_coding_system): fix gcc warning
6314 * file-coding.c (syms_of_file_coding): [2].
6316 * fileio.c (Fexpand_file_name):
6317 * fileio.c (Fsysnetunam):
6318 * fileio.c (Ffile_exists_p):
6319 * fileio.c (Ffile_executable_p):
6320 * fileio.c (Fverify_visited_file_modtime):
6323 * fileio.c (syms_of_fileio): [2].
6325 * filelock.c (lock_file_1):
6326 * filelock.c (current_lock_owner):
6327 * filelock.c (lock_if_free):
6328 * filelock.c (lock_file):
6329 * filelock.c (unlock_file):
6332 * fns.c (concat): Fix gcc warning.
6335 * fns.c (Fold_member):
6337 * fns.c (Fold_memq):
6338 * fns.c (memq_no_quit):
6340 * fns.c (Fold_assoc):
6342 * fns.c (Fold_assq):
6343 * fns.c (assq_no_quit):
6345 * fns.c (Fold_rassoc):
6347 * fns.c (Fold_rassq):
6348 * fns.c (rassq_no_quit):
6350 * fns.c (Fold_delete):
6352 * fns.c (Fold_delq):
6353 * fns.c (delq_no_quit):
6354 * fns.c (Fremassoc):
6356 * fns.c (remassq_no_quit):
6357 * fns.c (Fremrassoc):
6358 * fns.c (Fremrassq):
6359 * fns.c (remrassq_no_quit):
6364 * frame-msw.c (mswindows_init_frame_1):
6365 * frame-msw.c (mswindows_delete_frame):
6366 Register popups with dialog code so keyboard traversing works.
6368 * frame-tty.c (tty_raise_frame_no_select): [1].
6371 * frame-x.c (x_set_frame_text_value):
6372 * frame-x.c (x_set_frame_properties):
6373 * frame-x.c (x_create_widgets):
6377 * frame.c (Fmouse_pixel_position): Minor doc fixes.
6379 * frame.h (wrap_frame): New.
6380 Macro like wrap_device.
6383 * general.c (SYMBOL):
6384 * general.c (syms_of_general):
6385 Major reorg. This is now just a wrapper and symbols themselves
6386 are listed in general-slots.h.
6388 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
6389 * glyphs-msw.c (mswindows_resource_instantiate): [5].
6391 * glyphs-msw.c (mswindows_native_layout_instantiate):
6392 Add DS_CONTROL so keyboard traversal will work.
6395 * glyphs-widget.c (syms_of_glyphs_widget):
6396 Move some symbols to general-slots.h.
6399 * glyphs-x.c (xbm_instantiate_1):
6400 * glyphs-x.c (x_xbm_instantiate):
6401 * glyphs-x.c (x_xface_instantiate):
6402 * glyphs-x.c (autodetect_instantiate):
6403 * glyphs-x.c (cursor_font_instantiate):
6404 * glyphs-x.c (x_update_widget):
6405 * glyphs-x.c (x_widget_instantiate):
6406 * glyphs.c (bitmap_to_lisp_data):
6407 * glyphs.c (pixmap_to_lisp_data):
6410 * glyphs.c (syms_of_glyphs):
6414 * gui-x.c (print_widget_value):
6415 * gui-x.c (menu_separator_style_and_to_external):
6416 * gui-x.c (add_accel_and_to_external):
6417 * gui-x.c (button_item_to_widget_value):
6418 * gui-x.c (gui_items_to_widget_values_1):
6419 * gui-x.c (gui_items_to_widget_values):
6420 * gui-x.c (syms_of_gui_x):
6421 * gui-x.c (vars_of_gui_x):
6422 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
6426 Muleize, prototype changes matching gui-x.c.
6429 * gui.c (separator_string_p):
6430 * gui.c (gui_item_add_keyval_pair):
6431 * gui.c (make_gui_item_from_keywords_internal):
6432 * gui.c (signal_too_long_error):
6433 * gui.c (parse_gui_item_tree_item):
6434 * gui.c (syms_of_gui):
6435 * gui.c (vars_of_gui):
6437 menu-no-selection-hook moved here (used by MSWin).
6438 Move some symbols to general-slots.h.
6442 * insdel.c (get_buffer_pos_char):
6443 * insdel.c (get_buffer_range_char):
6446 * keymap.c (keymap_lookup_directly):
6447 * keymap.c (keymap_store):
6448 * keymap.c (ensure_meta_prefix_char_keymapp):
6449 * keymap.c (describe_map):
6451 Support new button modifiers.
6453 * lisp-disunion.h (wrap_object):
6454 * lisp-disunion.h (XSETOBJ):
6455 Rename make_obj to wrap_object.
6458 * lisp-union.h (make_int):
6459 * lisp-union.h (make_char):
6460 Support wrap_object.
6463 * lisp.h (LIST_LOOP):
6464 * lisp.h (EXTERNAL_LIST_LOOP):
6465 * lisp.h (LIST_LOOP_2):
6466 * lisp.h (EXTERNAL_LIST_LOOP_1):
6467 * lisp.h (EXTERNAL_LIST_LOOP_2):
6468 * lisp.h (EXTERNAL_LIST_LOOP_3):
6469 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
6470 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
6471 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
6472 * lisp.h (EXTERNAL_ALIST_LOOP_5):
6473 * lisp.h (EXTERNAL_ALIST_LOOP_6):
6474 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
6475 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
6476 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
6477 * lisp.h (struct Lisp_Symbol):
6478 * lisp.h (maybe_continuable_error_with_frob):
6479 Fix up section comments.
6480 Add new types for char to indicate usage.
6481 Delete symbols auto-generated from general-slots.h.
6482 Add prototypes for structured error functions.
6483 Add long comments describing looping macros and change interface
6484 so that lvalues are automatically declared.
6485 Add NO_DECLARE macro in case callers want to declare lvalues
6488 * lread.c (read_syntax_error):
6489 * lread.c (continuable_read_syntax_error):
6490 * lread.c (read_structure):
6491 * lread.c (sequence_reader):
6492 * lread.c (read_list_conser):
6493 * lread.c (read_compiled_function):
6494 Rename syntax_error and continuable_syntax_error to avoid clash
6495 with same-named structured error functions.
6497 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6498 * menubar-msw.c (populate_menu_add_item):
6499 * menubar-msw.c (populate_or_checksum_helper):
6504 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
6505 Mule-ize whole file.
6507 * menubar.c (Fnormalize_menu_item_name): Add optimization.
6509 * mule-charset.c (Fmake_charset):
6510 * mule-wnnfns.c (Fwnn_set_param):
6513 * ntproc.c (create_child):
6514 * ntproc.c (Fwin32_set_current_locale):
6515 Add comments portending doom.
6518 * objects-msw.c (old_font_enum_callback_2):
6519 * objects-msw.c (font_enum_callback_1):
6520 * objects-msw.c (mswindows_enumerate_fonts):
6524 * objects-x.c (allocate_nearest_color):
6525 * objects-x.c (x_parse_nearest_color):
6526 * objects-x.c (x_initialize_color_instance):
6527 * objects-x.c (x_print_color_instance):
6528 * objects-x.c (x_finalize_color_instance):
6529 * objects-x.c (x_valid_color_name_p):
6530 * objects-x.c (x_initialize_font_instance):
6531 * objects-x.c (x_print_font_instance):
6532 * objects-x.c (valid_x_font_name_p):
6533 * objects-x.c (truename_via_FONT_prop):
6534 * objects-x.c (truename_via_random_props):
6535 * objects-x.c (truename_via_XListFonts):
6536 * objects-x.c (x_font_truename):
6537 * objects-x.c (x_font_instance_truename):
6538 * objects-x.c (x_font_instance_properties):
6539 * objects-x.c (x_list_fonts):
6540 * objects-x.c (x_find_charset_font):
6541 Mule-ize entire file.
6548 * print.c (std_handle_out_external):
6549 * print.c (debug_print_no_newline):
6550 * print.c (syms_of_print):
6551 Output to all debugger kinds in debug-print.
6552 Fix console-output code under MSWin to actually work.
6554 * process-nt.c (send_signal):
6555 * process-nt.c (nt_create_process):
6556 Use newer Unicode macros.
6558 * process-unix.c (unix_create_process):
6559 * process-unix.c (unix_canonicalize_host_name):
6560 * process-unix.c (unix_open_network_stream):
6566 * search.c (syms_of_search):
6569 * select-msw.c (mswindows_destroy_selection):
6572 * select-x.c (symbol_to_x_atom):
6575 * select.c (syms_of_select):
6578 * sound.c (Fplay_sound_file):
6582 * specifier.c (decode_specifier_type):
6583 * specifier.c (Fvalid_specifier_locale_type_p):
6584 * specifier.c (check_valid_locale_or_locale_type):
6585 * specifier.c (decode_locale):
6586 * specifier.c (decode_locale_type):
6587 * specifier.c (decode_locale_list):
6588 * specifier.c (check_valid_domain):
6589 * specifier.c (decode_specifier_tag_set):
6590 * specifier.c (Fcanonicalize_tag_set):
6591 * specifier.c (Fdefine_specifier_tag):
6592 * specifier.c (Fspecifier_tag_predicate):
6593 * specifier.c (check_valid_inst_list):
6594 * specifier.c (check_valid_spec_list):
6595 * specifier.c (decode_how_to_add_specification):
6596 * specifier.c (check_modifiable_specifier):
6597 * specifier.c (specifier_add_spec):
6598 * specifier.c (boolean_validate):
6599 * specifier.c (display_table_validate):
6602 * specifier.c (syms_of_specifier):
6603 Move some symbols to general-slots.h.
6607 * symbols.c (Fmapatoms):
6608 * symbols.c (Fapropos_internal):
6611 * symbols.c (set_default_buffer_slot_variable):
6612 * symbols.c (set_default_console_slot_variable):
6615 * symbols.c (defsymbol_massage_name_1):
6616 * symbols.c (defkeyword_massage_name):
6617 * symbols.c (deferror_1):
6618 * symbols.c (deferror):
6619 * symbols.c (deferror_massage_name_and_message):
6621 * symeval.h (DEFSYMBOL):
6622 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
6624 * symbols.c (syms_of_symbols):
6628 * symsinit.h (init_win32): New.
6629 Also new is syms_of_dialog_mswindows.
6632 Add new Unicode macros, missing Cygwin wide-char functions,
6633 convenience conversion macros for Qmswindows_tstr, macros for
6634 encapsulating required MSWin <-> Cygwin filename conversions,
6635 prototype for dynamically-extracted (not in NT 3.51) functions.
6640 * tooltalk.c (Fadd_tooltalk_message_arg):
6641 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
6642 * tooltalk.c (Fadd_tooltalk_pattern_arg):
6645 * tooltalk.c (syms_of_tooltalk):
6649 * unexnt.c (unexec):
6650 Fix up headers, declaration of unexec() to be more standard.
6652 2000-07-20 Martin Buchholz <martin@xemacs.org>
6654 * offix.h: Revert change to guard macros - they're used in offix.c!
6656 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6658 * lisp.h: Defsubred Fdelete.
6660 * console-msw.h: (msprinter_default_printer): Added.
6662 * console-msw.c (msprinter_canonicalize_console_connection):
6663 (msprinter_canonicalize_device_connection): Added.
6665 * device-msw.c (msprinter_default_printer):
6666 (Fmswingows_get_default_printer):
6667 (signal_enum_priner_error):
6668 (Fmswingows_printer_list): Added.
6670 2000-07-19 Martin Buchholz <martin@xemacs.org>
6672 * XEmacs 21.2.35 is released.
6674 2000-07-19 Martin Buchholz <martin@xemacs.org>
6676 * select-x.c (x_handle_selection_request):
6677 Text selected in xemacs and pasted into xterm failed to appear.
6678 Spelling fixes and cosmetic changes.
6680 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6682 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
6683 XEmacs frame (fix for doubling chars in dialog boxes).
6685 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
6687 * select.c (select_convert_in, select_convert_out):
6688 Don't call intern() every time.
6690 * select.c (Qselect_convert_in, Qselect_convert_out): New.
6691 * select.c (vars_of_select): Initialise them.
6693 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
6695 * select.c (selection-coercible-types): New.
6697 * select.c (own-selection-internal):
6698 * select.c (get-selection-internal):
6699 MULE bug fix - these should default to COMPOUND_TEXT and not
6700 STRING for MULE. I think.
6702 * select.c (select_convert_out): Use selection-coercible-types
6703 to find types that we can attempt to perform coercions on.
6705 2000-07-18 Martin Buchholz <martin@xemacs.org>
6709 Add coding: cookie to identify encoding.
6711 * mule-canna.c (CANNA_mode_keys): make static.
6712 Use proper prototypes, even for functions of no arguments.
6713 Remove external prototype for Fding().
6715 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
6717 * select.c (syms_of_select): Add missing DEFSUBR.
6719 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
6721 * select.c (get_selection_internal, own_selection_internal):
6722 Make the type default to STRING, rather than placing a nil type
6723 into Vselection_alist.
6725 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
6727 * gpmevent.c (tty_selection_exists_p):
6728 * gpmevent.c (tty_own_selection):
6729 Updated parameter lists.
6731 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
6733 * select.h (selection-alist): Removed declaration.
6735 * select.h (get_local_selection):
6736 * select.c (get_local_selection):
6739 * select.h (convert_selection): Removed declaration.
6740 * select.c (convert_selection): Removed.
6741 This function belongs in Lisp.
6743 * select.h (select_convert_in): Declare.
6744 * select.h (select_convert_out): Declare.
6745 * select.c (select_convert_in): New.
6746 * select.c (select_convert_out): New.
6747 New conversion functions for other files to call.
6749 * select.h (select_notify_buffer_kill): Declare.
6750 * select.c (select_notify_buffer_kill): New.
6751 New functions that get called from kill-buffer.
6753 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
6754 X-specific lisp code.
6756 * select.h: Declare some of the lisp-visible functions for
6759 * select.c (clean_local_selection_data): Removed. This was
6760 a disgusting function, and previously should have been in
6761 select-x.c in any case. The functionality is now provided
6762 in select-convert-from-integer (select.el).
6764 * select.c (available-selection-types): Fixed stupidity where
6765 INTEGER and ATOM got added twice. Also add STRING when we see an
6768 * select.c (get-selection-internal): Removed symbol stripping. No
6769 longer causes conversion when data comes from the internal cache.
6771 * select.c (syms_of_select): Added new functions.
6773 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
6774 error checking - previously this called abort!
6776 * select-x.c (x_own_selection): Changed comment.
6778 * select-x.c (x_handle_selection_request): Use select_convert_out.
6779 Don't mess with selection-alist; it's an internal variable of select.c.
6781 * select-x.c (x_get_foreign_selection): Use select_convert_in.
6783 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
6784 rather than messing with selection-alist.
6786 * select-msw.c (mswindows_get_foreign_selection):
6787 Use TO_INTERNAL_FORMAT rather than hacking.
6789 2000-07-14 Martin Buchholz <martin@xemacs.org>
6791 * process-unix.c (unix_open_multicast_group):
6792 (unix_open_multicast_group): Remove useless casts.
6794 2000-07-13 Martin Buchholz <martin@xemacs.org>
6796 * sound.c (Fplay_sound): Fix `unused variable' warning.
6798 * emacs.c (main): Use correct type for _environ on SCO5.
6800 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
6802 * console.h (own_selection_method):
6803 * console.h (selection_exists_p_method):
6804 * console.h (available_selection_types_method): New.
6805 * console.h (register_selection_data_type_method): New.
6806 * console.h (selection_data_type_name): New.
6808 * console-msw.h (mswindows_destroy_selection): Declare it. New
6809 function & alist to track GlobalAlloc()'d handles that need
6810 releasing when the clipboard data gets replaced or emptied.
6812 * event-msw.c (mswindows_wnd_proc): Call it.
6814 * lisp.h, general.c (Qappend): New symbol representing a
6817 * select.c (own-selection-internal):
6818 * select.c (selection-exists-p):
6819 * select.c (available-selection-types): New.
6820 * select.c (register-selection-data-type): New.
6821 * select.c (selection-data-type-name): New. New functions to deal
6822 with device-specific selection data formats.
6823 * select.c (selection-converter-out-alist): Renamed.
6824 * select.c (selection-converter-in-alist): New.
6825 * select.c (selection-appender-alist): New. Added new alists.
6826 * select.c (syms_of_select, vars_of_select): Added new symbols &
6828 * select.c (get_local_selection): Split.
6829 * select.c: Removed spurious type checking - selections may now be
6830 of any type, not just strings.
6831 * select.c (own-selection-internal):
6833 * select.h, select.c (convert_selection): New. Created
6834 convert_selection() function based on get_local_selection().
6835 * select.h, select.c (QCF_*): New symbols representing mswindows
6837 * select.h, select.c (Qreplace_all, Qreplace_existing): New
6838 symbols representing `how-to-add' modes.
6840 * select-msw.c (x_sym_p): New.
6841 * select-msw.c (symbol_to_ms_cf): New.
6842 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
6843 symbols & clipboard formats. Can also handle string names.
6844 * select-msw.c (mswindows_own_selection):
6845 * select-msw.c (mswindows_selection_exists_p):
6846 Added `data-type' parameter. Use it.
6847 * select-msw.c (mswindows_available_selection_types): New.
6848 * select-msw.c (mswindows_register_selection_data_type): New.
6849 * select-msw.c (mswindows_selection_data_type_name): New.
6850 * select-msw.c (mswindows_own_selection):
6851 * select-msw.c (mswindows_get_foreign_selection):
6852 * select-msw.c (mswindows_selection_exists_p): Rewrote.
6853 * select-msw.c (console_create_select_mswindows): Added new methods.
6854 * select-msw.c (mswindows_destroy_selection): New.
6855 * select-msw.c (Vhandle_alist): New list.
6856 * select-msw.c (mswindows_own_selection):
6858 * select-x.c (x_own_selection):
6859 * select-x.c (x_selection_exists_p):
6860 * select-x.c: Added some comments about maybe using new
6862 * select-x.c (x_own_selection):
6864 * specifier.c: Remove definition of Qappend (now in general.c)
6865 * specifier.c (syms_of_specifier): Remove Qappend.
6867 2000-07-12 Martin Buchholz <martin@xemacs.org>
6869 * config.h.in: Add socklen_t.
6871 * s/decosf4-0.h: No special compiler flags needed or desired.
6872 In particular, undefine _BSD for DEC OSF 4.0.
6874 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6876 * redisplay-msw.c (msprinter_frame_output_end): Added.
6877 (console_type_create_redisplay_mswindows): Referred the above.
6879 * frame.c (setup_frame_without_minibuffer): Do not create a
6880 default minibuffer frame on a printer device.
6882 * frame-msw.c (apply_dc_geometry): Added.
6883 (msprinter_start_page):
6884 (msprinter_init_frame_3):
6885 (msprinter_eject_page): Use it.
6887 * console-msw.h (struct msprinter_frame): Added pix_left and top,
6888 and removed residual duplex and orientation properties.
6890 2000-07-11 Martin Buchholz <martin@xemacs.org>
6892 * eval.c (function_argcount): Work around a DEC CC compiler bug.
6894 * unexalpha.c: Remove system prototypes from C sources!
6896 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
6898 * eval.c: Remove references to M-x edit-options in DEFUNs for
6899 `defvar' and `defconst'.
6901 2000-07-09 Martin Buchholz <martin@xemacs.org>
6903 * config.h.in: Remove SMART_INCLUDE hackery.
6906 * config.h.in: Don't use SMART_INCLUDE.
6908 * postgresql.h: Include libpq-fe.h here. Fix typo.
6909 * inline.c: Simply #include "postgresql.h"
6911 - Don't use SMART_INCLUDE
6912 - Use simply "const".
6913 - Use standard doc string conventions.
6914 - Use correct type for result of PQstatus.
6916 2000-07-09 Martin Buchholz <martin@xemacs.org>
6918 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
6920 C++ compilation changes.
6921 * config.h.in (EXTERN_C): Define.
6922 * config.h.in (not): This is also a C++ keyword.
6923 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
6924 * cm.c: Use EXTERN_C.
6925 * redisplay-tty.c: Use EXTERN_C.
6926 * sysdep.c: Use EXTERN_C. Remove Gould support.
6928 2000-07-09 Martin Buchholz <martin@xemacs.org>
6930 * general.c: Remove duplicate definition for Qfunction.
6932 2000-07-08 Ben Wing <ben@xemacs.org>
6934 * device-msw.c (msprinter_init_device):
6935 * device-msw.c (sync_printer_with_devmode):
6936 * device-msw.c (handle_devmode_changes):
6937 * device-msw.c (print_dialog_worker):
6938 * device-msw.c (Fmsprinter_apply_settings):
6939 * device-msw.c (hash_devmode):
6940 * device-msw.c (Fmsprinter_settings_despecialize):
6941 use Qmswindows_tstr, not Qctext.
6943 * vm-limit.c (check_memory_limits):
6944 avoid infinite loop printing warning messages.
6946 2000-07-05 Craig Lanning <lanning@scra.org>
6948 * Makefile.in.in: Add support for including the Windows resources
6949 when building with the cygwin and mingw targets.
6951 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
6952 not set or not correct.
6953 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
6954 (init_initial_directory): Don't try to use $PWD on the
6955 WIN32_NATIVE target.
6958 [[Add -mwindows to eliminate console window.]] not required --ben
6959 (HAVE_NATIVE_SOUND): removed; now handled by configure.
6960 (MAIL_USE_POP): removed; now handled by configure.
6962 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
6963 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
6964 (HAVE_NATIVE_SOUND): removed; now handled by configure.
6965 (MAIL_USE_POP): removed; now handled by configure.
6966 (ENCAPSULATE_STAT): from Dan Holmsand, added.
6967 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
6968 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
6970 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
6971 up from <winsock.h> via systime.h.
6972 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
6973 (getpagesize): from Dan Holmsand, added.
6974 Added #endif which was left dangling by Ben's mega patch; added
6975 comment to help prevent this in the future.
6977 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
6979 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6981 * console-msw.h (struct mswindows_device): Removed unnecessary
6982 cached device geometry values.
6983 Added update_tick and an accessor macro.
6984 (Lisp_Devmode): Added lrecord declaration.
6985 (struct msprinter_device): Contain devmode as a Lisp object.
6986 Added mswindows_get_selected_frame_hwnd();
6988 * console.h (struct console_methods): Indentation nitpicking.
6990 * device-msw.c (mswindows_init_device): Do not initialize geometry
6991 cache. Initialize update tick.
6992 (mswindows_device_system_metrics): Ask the device for its geometry.
6993 (global_free_2_maybe):
6994 (devmode_to_hglobal):
6995 (handle_printer_changes):
6996 (ensure_not_printing):
6997 (print_dialog_worker):
6998 (Fmsprinter_print_setup_dialog):
6999 (Fmsprinter_print_dialog):
7002 (Fmsprinter_page_setup_dialog): Added functions.
7003 (sync_printer_with_devmode):
7004 (handle_devmode_changes):
7005 (Fmsprinter_get_settings):
7006 (Fmsprinter_select_settings):
7007 (Fmsprinter_apply_settings):
7009 (Fmsprinter_settings_copy):
7010 (Fmsprinter_settings_despecialize):
7014 (hash_devmode): Added functions
7015 (syms_of_device_mswindows): Init devmode lrecord class.
7017 * device.h: Added an exfun for find-device.
7019 * event-msw.c (mswindows_wnd_proc): Do not update the cached
7020 geometry; although, recreate the device compatible DC.
7022 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
7023 (msprinter_init_frame_3):
7024 (msprinter_frame_property):
7025 (msprinter_internal_frame_property_p):
7026 (msprinter_frame_properties):
7027 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
7028 print job properties (will move to device settings).
7030 * lisp.h: Added symbols.
7032 * general.c (syms_of_general): Declared them.
7034 * hash.c (string_hash): Added.
7036 * lrecord.h (lrecord_type): Added devmode lrecord type.
7038 2000-07-02 Mike Sperber <mike@xemacs.org>
7040 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
7043 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
7045 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
7048 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
7050 * data.c (Fstring_to_number): Don't recognize floating point if
7053 2000-06-22 Martin Buchholz <martin@xemacs.org>
7055 * glyphs-widget.c (tab_control_query_geometry):
7056 (widget_query_geometry):
7057 (button_query_geometry):
7058 * glyphs.c (text_query_geometry):
7059 Enforce type correctness.
7061 2000-06-18 Martin Buchholz <martin@xemacs.org>
7063 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
7064 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
7066 2000-06-17 Martin Buchholz <martin@xemacs.org>
7068 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
7069 conflicts with gcc's fixincluded version of FOO.h.
7071 * glyphs.h (image_instance_geometry): Remove trailing `,'
7073 2000-06-08 Mike Alexander <mta@arbortext.com>
7075 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
7076 (shove_thread): Don't write the same output twice
7077 (make_ntpipe_output_stream): Increase priority of shove thread
7078 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
7080 (ntpipe_shove_closer): Don't delete the pipe until we're done with
7083 2000-06-12 Ben Wing <ben@xemacs.org>
7085 * s\mingw32.h (sigset):
7086 * s\windowsnt.h (sigset):
7087 rename msw_ to mswindows_ for consistency with general convention.
7089 2000-06-12 Ben Wing <ben@xemacs.org>
7092 * console-msw.c (mswindows_get_console_hwnd):
7093 * console-msw.c (mswindows_ensure_console_allocated):
7094 * console-msw.c (mswindows_hide_console):
7095 * console-msw.c (mswindows_show_console):
7096 * console-msw.c (mswindows_ensure_console_buffered):
7097 * console-msw.c (mswindows_output_console_string):
7098 * console-msw.c (mswindows_windows9x_p):
7100 * device-msw.c (mswindows_get_workspace_coords):
7101 * device-msw.c (mswindows_device_system_metrics):
7102 * dialog-msw.c (mswindows_popup_dialog_box):
7103 * event-msw.c (mswindows_wnd_proc):
7104 * frame-msw.c (mswindows_size_frame_internal):
7105 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
7106 * menubar-msw.c (displayable_menu_item):
7107 * menubar-msw.c (mswindows_char_is_accelerator):
7109 * nt.c (mswindows_sigset):
7110 * nt.c (mswindows_sigrelse):
7111 * nt.c (mswindows_sigpause):
7112 * nt.c (mswindows_raise):
7113 * nt.c (timer_proc):
7115 * ntproc.c (find_child_console):
7116 * ntproc.c (sys_kill):
7118 * print.c (std_handle_out_external):
7119 * process-nt.c (find_child_console):
7120 * process-nt.c (send_signal_the_95_way):
7121 * process-nt.c (ensure_console_window_exists):
7122 * process-nt.c (nt_create_process):
7124 rename msw_ to mswindows_ for consistency with general convention.
7128 include nt.h, not syswindows.h.
7130 * nt.c (mswindows_fstat):
7131 * nt.c (mswindows_stat):
7132 prefix mswindows_ instead of attempting to directly override the
7133 library functions. fix declarations.
7136 include syswindows.h. move some sysdep.h stuff here.
7139 include syswindows.h, not <windows.h>.
7147 * sysdep.c (sys_fstat):
7148 * sysdep.c (sys_stat):
7149 call mswindows versions when appropriate.
7152 move mswin decls to nt.h.
7155 add long comment describing appropriate use of the various windows
7158 2000-06-11 Ben Wing <ben@xemacs.org>
7160 * device-x.c: Correct doc string for sixth arg of x-get-resource.
7162 2000-06-10 Ben Wing <ben@xemacs.org>
7164 * Makefile.in.in (release):
7165 Correction to make sure xemacs.exe always dumped when correct.
7169 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
7171 * buffer.c (set_buffer_internal):
7172 [[[[2]]]]: Remove HAVE_FEP code.
7174 * buffer.c (init_initial_directory):
7178 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
7182 * callproc.c (call_process_cleanup):
7183 * callproc.c (Fold_call_process_internal):
7184 * callproc.c (child_setup):
7185 * callproc.c (getenv_internal):
7186 * callproc.c (init_callproc):
7187 * callproc.c (vars_of_callproc):
7188 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
7189 __CYGWIN32__ -> CYGWIN.
7190 DOS_NT -> WIN32_NATIVE.
7191 Remove MSDOS support/references, converting to WIN32_NATIVE
7193 __MINGW32__ -> MINGW.
7194 Fix windows.h includes.
7195 Remove bogus HAVE_NTGUI.
7201 mswindows_message_outputted added for use in allowing startup
7202 errors on the console to be seen.
7204 * console-msw.c (msw_ensure_console_allocated):
7205 * console-msw.c (msw_output_console_string):
7206 * console-msw.c (DHEADER):
7207 * console-msw.c (DOPAQUE_DATA):
7208 * console-msw.c (DEVENT):
7209 * console-msw.c (DCONS):
7210 * console-msw.c (DCONSCDR):
7211 * console-msw.c (DSTRING):
7212 * console-msw.c (DVECTOR):
7213 * console-msw.c (DSYMBOL):
7214 * console-msw.c (DSYMNAME):
7217 * console-stream.c (stream_init_console):
7218 Fix text/binary problems.
7221 * device-msw.c (mswindows_finish_init_device):
7222 * device-msw.c (mswindows_delete_device):
7225 * device.c (handle_asynch_device_change):
7229 * dgif_lib.c (DGifOpenFileName):
7230 * dgif_lib.c (DGifOpenFileHandle):
7231 * dgif_lib.c (DGifGetLine):
7232 * dgif_lib.c (DGifGetPixel):
7233 Added config.h/lisp.h, fix up includes.
7240 * dired.c (file_name_completion):
7241 * dired.c (Ffile_attributes):
7242 * dired.c (syms_of_dired):
7246 * dumper.c (pdump_file_unmap):
7247 * dumper.c (pdump_load):
7251 * editfns.c (Ftemp_directory):
7252 * editfns.c (user_login_name):
7253 * editfns.c (Fuser_real_login_name):
7254 * editfns.c (get_home_directory):
7257 * elhash.c (finish_marking_weak_hash_tables):
7258 [[[[5]]]]: Fix GCC warnings.
7261 * emacs.c (mswindows_handle_hardware_exceptions):
7262 * emacs.c (make_arg_list_1):
7264 * emacs.c (Fkill_emacs):
7265 * emacs.c (Fdump_emacs):
7267 Fix problems with nested crashes, add long comment.
7269 * event-Xt.c (init_event_Xt_late):
7273 * event-msw.c (mswindows_dde_callback):
7274 * event-msw.c (mswindows_handle_sticky_modifiers):
7275 * event-msw.c (mswindows_wnd_proc):
7279 * events.c (character_to_event):
7283 * fileio.c (Ffile_name_directory):
7284 * fileio.c (Ffile_name_nondirectory):
7285 * fileio.c (directory_file_name):
7286 * fileio.c (Fexpand_file_name):
7287 * fileio.c (Fsubstitute_in_file_name):
7288 * fileio.c (Ffile_name_absolute_p):
7289 * fileio.c (check_executable):
7290 * fileio.c (Ffile_readable_p):
7291 * fileio.c (Ffile_accessible_directory_p):
7292 * fileio.c (Ffile_modes):
7293 * fileio.c (Funix_sync):
7294 * fileio.c (vars_of_fileio):
7297 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
7299 Expand getdefdir defn.
7300 Fix bogus rename() comment.
7302 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
7303 to use standard XEmacs include files, e.g. sysfile.h, rather
7304 than system-specific includes.
7310 * frame.c (vars_of_frame):
7314 * getloadavg.c (getloadavg):
7316 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
7317 (We don't use it elsewhere in the code; just add a comment.)
7324 * glyphs-msw.c (mswindows_resource_instantiate):
7327 * glyphs-x.c (x_native_layout_instantiate):
7330 * gui-msw.c (Fmswindows_shell_execute):
7339 * lread.c (locate_file_in_directory_mapper):
7346 * mem-limits.h (get_lim_data):
7358 * nt.c (rva_to_section):
7359 * nt.c (mswindows_executable_type):
7361 Fix closedir() defn.
7364 [[[[8]]]]: *_OK defs moved to sysfile.h.
7373 * print.c (std_handle_out_external):
7377 * process-nt.c (nt_create_process):
7379 try to fix process quoting somewhat.
7381 * process-unix.c (unix_create_process):
7385 * process.c (vars_of_process):
7392 * realpath.c (xrealpath):
7395 * redisplay-tty.c (init_tty_for_redisplay):
7405 * sheap.c (more_static_core):
7406 * sheap.c (report_sheap_usage):
7410 * signal.c (alarm_signal):
7417 * strftime.c (zone_name):
7420 * symsinit.h (init_sunpro):
7424 commctrl.h not in Cygwin b20.1.
7428 * sysdep.c (sys_subshell):
7429 * sysdep.c (init_baud_rate):
7430 * sysdep.c (emacs_get_tty):
7431 * sysdep.c (emacs_set_tty):
7432 * sysdep.c (tty_init_sys_modes_on_device):
7433 * sysdep.c (init_system_name):
7434 * sysdep.c (sys_open):
7435 * sysdep.c (interruptible_open):
7436 * sysdep.c (sys_fopen):
7437 * sysdep.c (sys_mkdir):
7438 * sysdep.c (sys_rename):
7439 * sysdep.c (get_process_times_1):
7446 * sysdir.h (DIRENTRY_NONEMPTY):
7449 * sysdll.c (dll_init):
7455 added text/binary defs.
7461 * sysproc.h (EDESTADDRREQ):
7462 * sysproc.h (poll_fds_for_input):
7479 Always define WIN32_LEAN_AND_MEAN.
7481 * unexcw.c (unexec):
7485 * unexec.c (copy_text_and_data):
7486 * unexec.c (adjust_lnnoptrs):
7490 * unexnt.c (_start):
7493 2000-06-07 Ben Wing <ben@xemacs.org>
7495 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
7496 was used only as a model. We've long since extracted any useful
7497 logic or code out of this. (I just did an exhaustive search.)
7499 * s\msdos.h: Removed.
7501 * s\windows95.h: Removed.
7503 2000-06-10 Ben Wing <ben@xemacs.org>
7507 Don't use extern with fun defs.
7511 Remove nt\inc include.
7512 Remove getdisk, getdefdir. (The former is unused, the latter
7513 expanded in fileio.h.)
7516 * s\windowsnt.h (WIN32_NATIVE):
7517 * s\windowsnt.h (HAVE_STRCASECMP):
7519 Add long comment about preprocessor changes.
7520 Remove getdisk, getdefdir. (The former is unused, the latter
7521 expanded in fileio.h.)
7523 2000-06-10 Ben Wing <ben@xemacs.org>
7532 Remove bogus/unused NO_SOCK_SIGIO.
7534 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
7536 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
7539 2000-06-04 Mike Sperber <mike@xemacs.org>
7541 * casetab.c (set_case_table): For `set-standard-case-table',
7542 actually deposit the new case tables where the rest of XEmacs can
7545 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
7547 * data.c (Faset): Don't cast XCHAR() to unsigned char.
7549 2000-06-05 Ben Wing <ben@xemacs.org>
7551 * callproc.c (child_setup): Don't do close_load_descs() under
7552 MS Windows. Put in a comment explaining why.
7554 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
7556 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
7557 Toolkit shell" which breaks `kill-compilation' on Windows NT
7558 native, retaining STDERR handling improvements.
7560 2000-06-01 Andreas Jaeger <aj@suse.de>
7562 * s/s390.h: Support for S390, based on a patch by Martin
7563 Schwidefsky <schwidefsky@de.ibm.com>.
7565 2000-05-30 Andy Piper <andy@xemacs.org>
7567 * window.c (allocate_window):
7568 (make_dummy_parent):
7569 (Fset_window_configuration): use new hashtable type.
7571 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
7572 (struct image_instantiator_methods):
7573 (struct Lisp_Image_Instance): make instance geometry signed.
7575 * glyphs.c (instantiate_image_instantiator):
7576 (image_instance_query_geometry):
7577 (image_instance_layout):
7578 (image_instance_layout):
7579 (query_string_geometry):
7580 (text_query_geometry):
7581 (image_instantiate):
7582 (image_instantiate):
7583 (cache_subwindow_instance_in_frame_maybe):
7584 (subwindow_query_geometry): make instance geometry signed.
7586 * glyphs-widget.c (widget_query_geometry):
7588 (button_query_geometry):
7589 (tree_view_query_geometry):
7590 (tab_control_query_geometry):
7591 (layout_query_geometry):
7593 (native_layout_layout): make instance geometry signed.
7595 2000-05-29 Olivier Galibert <galibert@pobox.com>
7597 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
7600 * general.c (syms_of_general): Add Qfull_assoc symbol.
7602 * data.c (finish_marking_weak_lists): Mark full-assoc lists
7604 (decode_weak_list_type): Decode full-assoc type.
7605 (encode_weak_list_type): Encode full-assoc type.
7606 (Fmake_weak_list): Update doc string.
7608 2000-05-30 Andy Piper <andy@xemacs.org>
7610 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
7612 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
7613 (decode_hash_table_weakness): ditto.
7614 (Fhash_table_weakness): ditto.
7615 (Fhash_table_type): ditto.
7616 (finish_marking_weak_hash_tables): ditto.
7617 (hash_table_weakness_validate): ditto.
7618 (syms_of_elhash): ditto.
7620 2000-05-28 Martin Buchholz <martin@xemacs.org>
7622 * XEmacs 21.2.34 is released.
7624 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
7626 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
7628 (updating_line_start_cache): Gone.
7629 (regenerate_window): Replace resetting of VERTICAL_CLIP by
7630 generic code to force a minimum of 1 line laid out in the
7633 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
7635 * glyphs.c (instantiate_image_instantiator): Check for initialized
7636 height & width no longer special cases IMAGE_NOTHING.
7637 (nothing_instantiate): Set height and width of instance.
7639 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
7641 * unexelf.c (unexec): Search for ".data" section.
7642 Initialize new_data2_offset from old_data_index.
7643 Remove redundant check for ElfW.
7645 2000-05-23 Andy Piper <andy@xemacs.org>
7647 * glyphs.c (get_image_instantiator_governing_domain): allow more
7648 specific domains as the governing domain rather than expecting an
7649 exact match. This fixes problems with layouts.
7651 2000-05-22 Andy Piper <andy@xemacs.org>
7653 * redisplay-output.c (compare_runes): check for non-images
7655 * glyphs.c (set_glyph_dirty_p): ditto.
7656 (update_glyph_cachel_data): ditto.
7658 * glyphs-widget.c (layout_post_instantiate): ditto.
7659 (layout_post_instantiate): ditto.
7661 * event-msw.c (mswindows_wnd_proc): warning removal.
7663 2000-05-12 Craig Lanning <CraigL@DyCon.com>
7665 * s\mingw32.h: Added #undef for CLASH_DETECTION.
7667 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
7669 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
7671 * nt.c (rva_to_section): mingw32 needs rva_to_section.
7672 (mswindows_executable_type): mingw32 now has enough headers for
7675 2000-05-20 Andy Piper <andy@xemacs.org>
7677 * console-msw.c (mswindows_output_last_error): ; -> ,
7679 2000-05-12 Andy Piper <andy@xemacs.org>
7681 * console-msw.c (FROB): compare ints with ints.
7683 2000-05-11 Andy Piper <andy@xemacs.org>
7685 * glyphs-x.c (x_finalize_image_instance): make minimal build
7688 2000-05-20 Ben Wing <ben@xemacs.org>
7691 * event-Xt.c (vars_of_event_Xt):
7692 move modifier-keys-are-sticky to event-stream.c.
7695 * event-msw.c (mswindows_enqueue_mouse_button_event):
7696 * event-msw.c (key_needs_default_processing_p):
7697 * event-msw.c (XEMSW_LCONTROL):
7698 * event-msw.c (mswindows_handle_sticky_modifiers):
7699 * event-msw.c (FROB):
7700 * event-msw.c (clear_sticky_modifiers):
7701 * event-msw.c (output_modifier_keyboard_state):
7702 * event-msw.c (output_alt_keyboard_state):
7703 * event-msw.c (mswindows_wnd_proc):
7704 * event-msw.c (mswindows_modifier_state):
7705 * event-msw.c (emacs_mswindows_handle_magic_event):
7706 implement sticky modifiers.
7709 * event-stream.c (vars_of_event_stream):
7710 move modifier-keys-are-sticky here.
7716 implement map-range-table.
7719 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
7721 * redisplay-tty.c (reset_tty_modes):
7722 (tty_redisplay_shutdown): Adjust argument type to
7723 tty_frame_output_end.
7725 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7727 * eval.c (Fbacktrace): Don't output a line with only right
7730 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
7732 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
7733 (Fpq_reset_poll): Ditto.
7735 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
7737 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
7739 2000-05-16 Ben Wing <ben@xemacs.org>
7742 * buffer.c (dfc_convert_to/from_internal_format):
7743 * buffer.c (reinit_vars_of_buffer):
7744 Fix conversion functions to allow reentrancy.
7747 * console-msw.c (mswindows_output_last_error):
7748 New fun, generally useful -- output a human-readable
7749 version of GetLastError() on the console.
7752 * console-msw.h (struct mswindows_frame):
7753 Changes for DeferWindowPos. Declare mswindows_output_last_error().
7755 * console-stream.c (stream_output_begin):
7756 * console-stream.c (stream_output_end):
7757 * console-stream.c (stream_output_vertical_divider):
7758 * console-stream.c (stream_clear_region):
7759 * console-stream.c (stream_flash):
7760 * console-stream.c (console_type_create_stream):
7761 Delete blank stream methods, not needed.
7763 * console.h (struct console_methods):
7764 Split begin/end methods into window and frame.
7767 * event-msw.c (mswindows_handle_paint):
7768 * event-msw.c (output_alt_keyboard_state):
7769 * event-msw.c (mswindows_wnd_proc):
7770 * event-msw.c (vars_of_event_mswindows):
7771 Comment about problems with ignored-expose.
7772 Define mswindows-debug-events; not really implemented.
7774 * frame-msw.c (mswindows_init_frame_1):
7778 * glyphs-msw.c (begin_defer_window_pos):
7779 * glyphs-msw.c (mswindows_unmap_subwindow):
7780 * glyphs-msw.c (mswindows_map_subwindow):
7781 * glyphs-msw.c (mswindows_resize_subwindow):
7782 Use DeferWindowPos to reduce flashing when mapping/unmapping.
7784 * glyphs.c (make_image_instance_1):
7787 * gutter.c (Fredisplay_gutter_area):
7788 Use new begin/end methods.
7790 * lisp.h (Dynarr_new2):
7794 * redisplay-msw.c (mswindows_frame_output_begin):
7795 * redisplay-msw.c (mswindows_frame_output_end):
7796 * redisplay-msw.c (console_type_create_redisplay_mswindows):
7797 New begin/end methods -- handle DeferWindowPos.
7799 * redisplay-output.c (redisplay_move_cursor):
7800 * redisplay-output.c (redraw_cursor_in_window):
7801 * redisplay-output.c (redisplay_update_line):
7802 * redisplay-output.c (redisplay_output_window):
7803 New begin/end methods.
7806 * redisplay-tty.c (tty_frame_output_begin):
7807 * redisplay-tty.c (tty_frame_output_end):
7808 * redisplay-tty.c (console_type_create_redisplay_tty):
7809 New begin/end methods.
7812 * redisplay-x.c (x_window_output_begin):
7813 * redisplay-x.c (x_window_output_end):
7814 * redisplay-x.c (console_type_create_redisplay_x):
7815 New begin/end methods.
7817 * redisplay.c (redisplay_frame):
7818 * redisplay.c (Fredisplay_echo_area):
7819 New begin/end methods.
7820 use MAYBE_DEVMETH for clear_frame; it may not exist.
7822 * window.h (WINDOW_XFRAME):
7823 WINDOW_XFOO macros -- get locale and decode struct pointer.
7826 2000-05-12 Ben Wing <ben@xemacs.org>
7829 * emacs.c (ensure_no_quitting_from_now_on):
7830 * emacs.c (fatal_error_signal):
7831 * emacs.c (mswindows_handle_hardware_exceptions):
7833 * emacs.c (Fkill_emacs):
7834 * emacs.c (shut_down_emacs):
7835 * emacs.c (assert_failed):
7836 various improvements in fatal error handling.
7839 move preparing_for_armageddon to emacs.c.
7842 declare fatal_error_in_progress.
7845 * print.c (std_handle_out_external):
7846 * print.c (std_handle_out_va):
7847 * print.c (stderr_out):
7848 * print.c (stdout_out):
7849 use console under mswin when no standard output.
7850 don't do code conversion during fatal error.
7852 * scrollbar.c (Fscrollbar_page_up):
7853 * scrollbar.c (Fscrollbar_page_down):
7854 fix missing else. reindent.
7856 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
7860 * glyphs.h (GLYPH_CACHEL_DESCENT):
7861 (GLYPH_CACHEL_DESCENT):
7862 (GLYPH_CACHEL_DESCENT):
7863 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
7864 used in case these are inline functions.
7865 Use more absurd values to error check.
7867 include window.h for error check functions.
7869 2000-05-11 Ben Wing <ben@xemacs.org>
7871 * cmdloop.c (Freally_early_error_handler):
7872 Display message box under windows; otherwise, message will disappear
7873 before it can be viewed.
7876 * console-msw.c (Fmswindows_message_box):
7877 * console-msw.c (FROB):
7878 * console-msw.c (syms_of_console_mswindows):
7879 Define new fun `mswindows-message-box'.
7880 #### I will merge this into `popup-dialog-box'; just give me
7884 * general.c (syms_of_general):
7885 Some new symbols used in `mswindows-message-box'.
7888 * glyphs.c (Fset_image_instance_property):
7889 put warning in this fun.
7892 * glyphs.h (GLYPH_CACHEL_WIDTH):
7893 * glyphs.h (GLYPH_CACHEL_ASCENT):
7894 * glyphs.h (GLYPH_CACHEL):
7895 * glyphs.h (GLYPH_CACHEL_GLYPH):
7896 define error-checking versions to try to catch a bug i've seen --
7897 redisplay gets in an infinite loop because the glyph width of the
7898 continuation glyph is 65535.
7901 Extern message-box stuff.
7903 * window.c (allocate_window):
7904 * window.c (make_dummy_parent):
7905 * window.c (Fset_window_configuration):
7906 Use EQUAL not EQ for subwindow caches to make them work a bit
7907 better. (Something is still very broken.)
7910 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7912 * glyphs.c (image_instantiate): Suppress gcc warnings.
7913 (Fmake_image_instance): Fix doc string.
7914 * specifier.c (Fmake_specifier): Ditto.
7916 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
7918 * paths.h.in (PATH_LOCK): Removed.
7919 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
7920 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
7922 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7924 * fns.c (Ffeaturep): Update e-mail address in doc-string.
7925 Document (featurep '(and xemacs 21.02)).
7927 2000-05-09 Ben Wing <ben@xemacs.org>
7929 * buffer.c (complex_vars_of_buffer):
7930 update modeline-format doc.
7933 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
7936 timeline of all released versions of Emacs, for use in creating
7937 authorship comments and in synching up.
7939 * glyphs-widget.c (image_instantiator_buttons):
7940 * glyphs-widget.c (image_instantiator_edit_fields):
7941 * glyphs-widget.c (image_instantiator_combo_box):
7942 * glyphs-widget.c (image_instantiator_scrollbar):
7943 * glyphs-widget.c (image_instantiator_progress_guage):
7944 * glyphs-widget.c (image_instantiator_tree_view):
7945 * glyphs-widget.c (image_instantiator_tab_control):
7946 * glyphs-widget.c (image_instantiator_labels):
7947 * glyphs-widget.c (image_instantiator_layout):
7948 * glyphs-widget.c (image_instantiator_native_layout):
7949 rename decode_domain method to governing_domain.
7952 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
7953 * glyphs.c (add_entry_to_device_ii_format_list):
7954 make sure we don't put an entry more than once into the list.
7955 * glyphs.c (check_instance_cache_mapper):
7956 *************************************************************
7957 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
7959 *************************************************************
7960 * glyphs.c (get_image_instantiator_governing_domain):
7961 clean up, expand on new concept of governing domain.
7962 * glyphs.c (instantiate_image_instantiator):
7963 * glyphs.c (allocate_image_instance):
7964 use governing_domain instead of cache_domain in naming.
7965 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
7966 * glyphs.c (make_image_instance_1):
7967 * glyphs.c (Fmake_image_instance):
7968 allow for any domain (not just device), and process the
7969 governing domain correctly. very big doc fix.
7970 * glyphs.c (Fimage_instance_domain):
7971 new primitive, to retrieve the governing domain of an image instance.
7972 * glyphs.c (image_instantiate):
7973 use new governing_domain stuff. this fixes a crash you could get
7974 by instantiating certain widget glyphs in frame locales. (should
7975 signal an error instead of crashing.)
7976 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
7977 * glyphs.c (Fglyphp): clean up doc.
7978 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
7979 * glyphs.c (syms_of_glyphs):
7980 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
7981 * glyphs.c (image_instantiator_format_create): add some comments about
7983 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
7984 for current-display-table. (Apparently Hrjove implemented in 1998 a
7985 design I wrote up in 1996, but didn't update the doc string.)
7987 * glyphs.h: clean up a doc string.
7988 * glyphs.h (governing_domain):
7989 * glyphs.h (struct image_instantiator_methods):
7990 changes for governing_domain stuff.
7993 * gutter.c (Fgutter_specifier_p):
7994 * gutter.c (Fgutter_size_specifier_p):
7995 * gutter.c (Fgutter_visible_specifier_p):
7997 * objects.c (Fcolor_specifier_p):
7998 * objects.c (Ffont_specifier_p):
7999 * objects.c (Fface_boolean_specifier_p):
8000 doc strings moved to make-*-specifier.
8002 * redisplay.c (add_disp_table_entry_runes_1):
8003 * redisplay.c (generate_fstring_runes):
8004 * redisplay.c (screen):
8005 add random comments and doc strings.
8008 * specifier.c (Fmake_specifier):
8009 major overhaul of this doc string.
8011 * specifier.c (Fvalid_specifier_domain_p):
8012 comment about the bogosity of image instances being domains.
8013 * specifier.c (decode_domain):
8014 now non-static, used in glyphs.c.
8015 * specifier.c (specifier_instance):
8016 comment about the bogosity of image instances being domains.
8017 * specifier.c (Fgeneric_specifier_p):
8018 move doc string to make-generic-specifier.
8019 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
8023 * specifier.h (DOMAIN_FRAME):
8024 * specifier.h (DOMAIN_LIVE_P):
8025 * specifier.h (DOMAIN_XDEVICE):
8027 add comments about problems with these macros.
8028 prototype for decode_domain.
8031 * toolbar.c (Ftoolbar_specifier_p):
8032 move doc string to `make-toolbar-specifier'.
8034 * window.c (window_unmap_subwindows_cache_mapper):
8035 *************************************************************
8036 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
8038 *************************************************************
8040 2000-05-09 Andy Piper <andy@xemacs.org>
8042 * glyphs.h: declare reset_frame_subwindow_instance_cache.
8044 * window.c (Fset_window_configuration): reset the frame subwindow
8045 cache and re-initialize the window subwindow caches.
8047 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
8049 2000-05-09 Ben Wing <ben@xemacs.org>
8051 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
8054 2000-04-26 Mike Woolley <mike@bulsara.com>
8056 * ntheap.c: Changed recreate_heap to limit the amount reserved
8057 for the heap to that which is actually available. Also now
8058 displays a message box (with some dignostics) in the event that
8059 it still can't start.
8061 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
8063 * callproc.c (Fold_call_process_internal): GCPRO path
8065 2000-05-08 Jan Vroonhof <jan@xemacs.org>
8067 Patch by Bill Perry.
8069 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
8070 back data instead of #ifdef.
8071 (Fscrollbar_page_down): ditto.
8073 2000-05-07 Ben Wing <ben@xemacs.org>
8076 Kludge for defining Qmswindows_tstr.
8079 * nt.c (open_input_file):
8080 * nt.c (open_output_file):
8081 * nt.c (rva_to_section):
8082 * nt.c (mswindows_executable_type):
8083 Move all memory-mapped-file routines here (some were in unexnt.c,
8084 which is bad because they are used by process-nt.c, and unexnt
8085 won't be around when portable dumping). Synched the above routines
8089 Removed ifdef'd out bogus code.
8090 Fixed some prototypes.
8093 * nt.h (OFFSET_TO_RVA):
8094 * nt.h (RVA_TO_OFFSET):
8095 * nt.h (RVA_TO_PTR):
8096 Moved the memory-mapped-file structures, macros and prototypes
8097 here, to parallel nt.c. ntheap.h should really be removed
8098 entirely, and it's a non-portable-dumper specific file.
8100 * ntheap.h (round_to_next):
8101 Moved the memory-mapped-file structures, macros and prototypes
8104 * ntproc.c (compare_env):
8105 Moved rva_to_section and mswindows_executable_type to nt.c.
8106 Moved compare_env to process-nt.c.
8107 ntproc.c will die, one day.
8109 * ntproc.c (sys_spawnve):
8110 Account for win32_ -> mswindows_.
8113 * process-nt.c (struct nt_process_data):
8114 * process-nt.c (ensure_console_window_exists):
8115 * process-nt.c (compare_env):
8116 * process-nt.c (nt_create_process):
8117 * process-nt.c (nt_kill_process_by_pid):
8118 * process-nt.c (syms_of_process_nt):
8119 * process-nt.c (vars_of_process_nt):
8120 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
8121 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
8122 changes). Eliminate our old `nt-quote-process-args' mechanism.
8123 Synch up nt_create_process with FSF 20.6 sys_spawnve.
8124 Move compare_env here from ntproc.c.
8126 * process.c (Fprocess_send_region):
8127 Takes an optional fourth argument, BUFFER, which should fix some
8128 problems with call-process.
8131 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
8134 Move ICC_BAR_CLASSES to syscommctrl.h.
8135 Add preliminary macros for MSWindows/Mule. More to come.
8138 * unexnt.c (unexec):
8139 open_output_file moved to nt.c.
8142 2000-05-05 Andy Piper <andy@xemacs.org>
8144 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
8145 instance from the frame cache also since GC may catch up too late
8146 to make frame deletion sane.
8148 2000-05-04 Andy Piper <andy@xemacs.org>
8150 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
8151 (x_finalize_image_instance): ungcpro on deletion.
8153 * glyphs.c (image_instantiator_format_create): give pointers a
8154 query geometry method so that the geometry is at least set.
8156 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
8157 initialize layouts if using widgets.
8159 2000-05-03 Andy Piper <andy@xemacs.org>
8161 * nt.c: remove bogus reference to sysmmsystem.h
8163 * gui-x.c (popup_selection_callback): fix no selection abort.
8165 2000-05-02 Andy Piper <andy@xemacs.org>
8167 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
8168 (mswindows_widget_instantiate): ditto.
8170 * glyphs-widget.c (initialize_widget_image_instance): initialize
8172 (widget_instantiate): cope with children and items in the same
8175 * glyphs.c (mark_image_instance): cope with children as a first
8177 (image_instance_equal): ditto.
8178 (image_instance_hash): ditto.
8179 (image_instance_changed): ditto.
8181 2000-04-30 Andy Piper <andy@xemacs.org>
8183 * glyphs.c (subwindow_query_geometry): new function. Return some
8185 (subwindow_instantiate): don't assign dimensions if none have been
8187 (image_instantiator_format_create): add subwindow_query_geometry.
8188 (print_image_instance): cope with layouts as widgets.
8190 2000-04-29 Andy Piper <andy@xemacs.org>
8192 * frame.c (delete_frame_internal): call
8193 free_frame_subwindow_instance_cache so that all subwindows are
8194 finalized before their parent.
8195 (mark_frame): remove subwindow_cachels.
8196 (Fmake_frame): remove subwindow_cachel manipulation.
8197 (allocate_frame_core): subwindow_instance_cache is a weak list.
8198 (delete_frame_internal): set subwindow_instance_cache to nil.
8200 * glyphs-msw.c (mswindows_finalize_image_instance): make double
8202 (mswindows_finalize_image_instance): use the device
8203 not the domain as the domain may have died already.
8205 * glyphs-x.c (x_finalize_image_instance): ditto.
8206 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
8209 * redisplay-output.c (redisplay_unmap_subwindows): update for
8210 subwindow instance cache as a weak list.
8211 (redisplay_unmap_subwindows_maybe): ditto.
8212 (redisplay_unmap_subwindows_except_us): ditto.
8214 * glyphs.c (unmap_subwindow): error checking will check the domain
8215 so don't deal with it here. Don't use cachels anymore.
8216 (map_subwindow): ditto.
8217 (update_subwindow_cachel_data): remove old accessor names.
8218 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
8219 (Fresize_subwindow): don't update cachel.
8220 (mark_subwindow_cachels):
8221 (update_subwindow_cachel_data):
8222 (add_subwindow_cachel):
8223 (get_subwindow_cachel_index):
8224 (update_subwindow_cachel):
8225 (reset_subwindow_cachels):
8226 (mark_subwindow_cachels_as_not_updated): deleted.
8227 (cache_subwindow_instance_in_frame_maybe): new function. Add a
8228 subwindow instance to the frame cache.
8229 (find_matching_subwindow): update for subwindow instance cache as
8231 (update_widget_instances): ditto.
8232 (image_instance_type_to_mask):inlined.
8233 (free_frame_subwindow_instance_cache): new function. finalize all
8234 subwindows that are instantiated.
8236 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
8237 of cachel information.
8238 (IMAGE_INSTANCE_DISPLAY_X):
8239 (IMAGE_INSTANCE_DISPLAY_Y):
8240 (IMAGE_INSTANCE_DISPLAY_WIDTH):
8241 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
8242 (XIMAGE_INSTANCE_DISPLAY_X):
8243 (XIMAGE_INSTANCE_DISPLAY_Y):
8244 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
8245 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
8246 remove subwindow_cachel structure and function references.
8247 (image_instance_type_to_mask): inline from glyphs.c
8249 * redisplay.c (redisplay_frame): remove subwindow_cachel
8252 * frame.h (struct frame): remove subwindow_cachels.
8253 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
8255 * frameslots.h: add subwindow_instance_cache.
8257 * window.c (replace_window): check subwindow cache of replacement.
8258 (window_unmap_subwindows_cache_mapper):
8259 (window_unmap_subwindows): new functions. Unmap all subwindows
8260 cached on this window.
8261 (mark_window_as_deleted): unmap all subwindows.
8263 2000-04-27 Andy Piper <andy@xemacs.org>
8265 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
8267 * glyphs-widget.c (widget_layout): return something.
8268 (layout_layout): return something. Fail if not initialized.
8269 (layout_query_geometry): ditto.
8270 (image_instantiator_native_layout): new function. Initialized the
8272 (widget_instantiate): don't do layout stuff here.
8274 * glyphs.c (instantiate_image_instantiator): reorded calling or
8275 instantiate and post_instantiate with layout in between.
8276 (image_instance_layout): be more selective about deciding whether
8277 the layout has been done or not.
8279 * glyphs.h (struct image_instantiator_methods): return a value
8282 2000-04-26 Andy Piper <andy@xemacs.org>
8284 * glyphs.c (allocate_image_instance): make initial width and
8285 height unspecified. Set initialized to 0.
8287 * syscommctrl.h new file. Encapsulates commctrl.h.
8289 * syswindows.h new file. Encapsulates windows.h.
8291 * ntplay.c: use new syswindows.h and syscommctrl.h header.
8293 * console-msw.h: ditto.
8295 * redisplay-tty.c (tty_output_display_block): remove layout references.
8297 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
8298 window handle rather than just the frame.
8300 * glyphs.c (mark_image_instance): remove layout references.
8301 (print_image_instance): ditto.
8302 (image_instance_equal): ditto.
8303 (image_instance_hash): ditto.
8304 (decode_image_instance_type): ditto.
8305 (encode_image_instance_type): ditto.
8306 (image_instantiate): ditto.
8307 (allocate_glyph): ditto.
8308 (Fimage_instance_height): ditto.
8309 (Fimage_instance_width): ditto.
8310 (update_subwindow): ditto.
8312 * redisplay-x.c (x_output_display_block): recode for layouts as
8315 * redisplay-output.c (redisplay_output_layout): recode for layouts
8317 (compare_runes): remove layout references.
8319 * redisplay-msw.c (mswindows_output_display_block): recode for
8322 * glyphs-widget.c (image_instantiator_layout): remove
8323 layout_possible_dest_types.
8324 (layout_possible_dest_types): deleted.
8326 * glyphs.h (image_instance_type): remove layout references.
8327 (struct Lisp_Image_Instance): ditto. Add initialized flag.
8328 (IMAGE_INSTANCE_INITIALIZED): new accessor.
8329 (XIMAGE_INSTANCE_INITIALIZED): ditto.
8331 2000-04-25 Andy Piper <andy@xemacs.org>
8333 * glyphs-widget.c (image_instantiator_buttons):
8334 (image_instantiator_edit_fields):
8335 (image_instantiator_combo_box):
8336 (image_instantiator_scrollbar):
8337 (image_instantiator_progress_guage):
8338 (image_instantiator_tree_view):
8339 (image_instantiator_tab_control):
8340 (image_instantiator_labels):
8341 (image_instantiator_layout): call default post_instantiate method.
8342 (widget_post_instantiate): new function. Simply lays out the
8345 * glyphs.h (struct image_instantiator_methods): add
8346 post_instantiate method.
8348 * glyphs.c (instantiate_image_instantiator): add post_instantiate
8351 2000-04-23 Andy Piper <andy@xemacs.org>
8353 * glyphs.h (struct image_instantiator_methods): add
8354 decode_domain_method.
8355 (struct Lisp_Image_Instance): remove subwindow frame - it can be
8356 derived from the domain.
8357 (IMAGE_INSTANCE_FRAME): new accessor.
8358 (XIMAGE_INSTANCE_FRAME): ditto.
8360 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
8361 instead of _SUBWINDOW_FRAME.
8362 (finalize_image_instance): ditto.
8363 (Fimage_instance_foreground): ditto.
8364 (Fimage_instance_background): ditto.
8365 (image_instantiate): ditto.
8366 (update_subwindow_cachel): ditto.
8367 (update_subwindow): ditto.
8368 (unmap_subwindow): ditto.
8369 (map_subwindow): ditto
8370 (subwindow_instantiate): ditto.
8371 * glyphs-msw.c (mswindows_update_widget): ditto.
8372 (mswindows_progress_gauge_instantiate): ditto.
8373 (mswindows_tab_control_update): ditto.
8374 * glyphs-x.c (x_update_widget): ditto.
8375 (x_widget_instantiate): ditto.
8376 (x_tab_control_instantiate): ditto.
8377 (x_tab_control_update): ditto.
8378 * event-msw.c (mswindows_wnd_proc): ditto
8380 * glyphs-widget.c (image_instantiator_layout): use
8381 subwindow_decode_domain.
8382 (image_instantiator_buttons): ditto.
8383 (image_instantiator_edit_fields): ditto.
8384 (image_instantiator_combo_box): ditto.
8385 (image_instantiator_scrollbar): ditto.
8386 (image_instantiator_progress_guage): ditto.
8387 (image_instantiator_tree_view): ditto.
8388 (image_instantiator_tab_control): ditto.
8389 (image_instantiator_labels): ditto.
8390 (image_instantiator_layout): ditto.
8392 * glyphs.c: add instance error checking to many functions.
8393 (instantiate_image_instantiator): decode device from cache_domain.
8394 (image_instantiate): partially rewrite by using
8395 decode_image_instantiator_domain to determine what domain the
8396 instance needs to be cached in.
8397 (decode_image_instantiator_domain): new function. Determine what
8398 domain the image needs to be cached in.
8399 (check_window_subwindow_cache): new error checking function.
8400 (check_instance_cache_mapper): ditto.
8401 (check_image_instance_structure): ditto.
8402 (subwindow_decode_domain): new function. Encodes a window as a
8403 subwindow's cache domain.
8404 (image_instantiator_format_create): use it for text and
8407 2000-04-21 Andy Piper <andy@xemacs.org>
8409 * glyphs.c (image_instance_device): new function.
8410 (image_instance_frame): new function.
8411 (image_instance_window): new function.
8412 (image_instance_live_p): new function.
8414 * window.c (mark_window_as_deleted): reset the subwindow_instance_
8417 * glyphs.h (struct Lisp_Image_Instance): device->domain.
8418 (IMAGE_INSTANCE_DOMAIN): new accessor.
8419 (XIMAGE_INSTANCE_DOMAIN): ditto.
8421 * glyphs-x.c (x_finalize_image_instance): device->domain.
8423 * glyphs-msw.c (init_image_instance_geometry): device->domain.
8424 (mswindows_finalize_image_instance): ditto.
8426 * glyphs-eimage.c (jpeg_instantiate): device->domain.
8427 (gif_instantiate): ditto.
8428 (png_instantiate): ditto.
8429 (tiff_instantiate): ditto.
8431 * glyphs.c (instantiate_image_instantiator): use domain rather
8433 (mark_image_instance): device -> domain.
8434 (print_image_instance): ditto.
8435 (finalize_image_instance): ditto.
8436 (image_instance_equal): ditto.
8437 (allocate_image_instance): ditto.
8438 (Fcolorize_image_instance): ditto.
8439 (query_string_geometry): ditto.
8440 (image_instantiate): ditto
8441 (query_string_font): ditto.
8442 (image_instantiate): ditto.
8443 (update_subwindow): ditto.
8444 (unmap_subwindow): ditto.
8445 (map_subwindow): ditto.
8446 (subwindow_instantiate): ditto.
8448 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
8449 (DOMAIN_FRAME): ditto.
8450 (DOMAIN_WINDOW): ditto.
8451 (DOMAIN_LIVE_P): ditto.
8452 (XDOMAIN_DEVICE): ditto.
8453 (XDOMAIN_FRAME): ditto.
8454 (XDOMAIN_WINDOW): ditto.
8456 * specifier.c (Fvalid_specifier_domain_p): add image instances as
8457 a valid specifier domain.
8459 2000-04-19 Andy Piper <andy@xemacs.org>
8461 * glyphs-widget.c (syms_of_glyphs_widget): remove
8462 widget-callback-current-channel.
8463 (vars_of_glyphs_widget): ditto.
8466 * gui.c (get_gui_callback): revert to previous behaviour.
8468 2000-04-18 Andy Piper <andy@xemacs.org>
8470 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
8471 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
8472 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
8474 * glyphs.c (image_instance_equal): add margin_width.
8475 (image_instance_hash): ditto.
8477 * glyphs-widget.c (widget_instantiate): deal with margin-width.
8478 (layout_query_geometry): ditto.
8479 (layout_layout): ditto.
8480 (syms_of_glyphs_widget): add margin-width.
8481 (image_instantiator_layout): allow margin-width.
8483 * glyphs.c (update_widget_instances): make a normal function.
8484 (syms_of_glyphs): remove Qupdate_widget_instances.
8487 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
8488 so that we don't corrupt ideas about the last event or
8489 command. Remove widget-callback-current-channel fiddling.
8490 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
8492 2000-05-01 Martin Buchholz <martin@xemacs.org>
8494 * XEmacs 21.2.33 is released.
8496 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
8498 * make-src-depend: Allow dots in header file name.
8500 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
8502 * mule-charset.h (struct charset_lookup): Add
8503 next_allocated_1_byte_leading_byte and
8504 next_allocated_2_byte_leading_byte.
8505 * mule-charset.c: Move above two variables so that those values
8508 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
8510 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
8511 when string length is zero.
8512 (find_charsets_in_emchar_string): Ditto.
8514 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
8516 * lisp.h: extern Qdialog and Qmenubar.
8518 * gui-x.c: added events.h.
8519 also fixed typo which made the file uncompilable.
8521 * general.c: Added Qmenubar and Qdialog
8523 2000-04-28 Ben Wing <ben@xemacs.org>
8525 * frame-msw.c (mswindows_init_frame_1):
8526 * frame-msw.c (mswindows_mark_frame):
8527 * event-msw.c (mswindows_enqueue_dispatch_event):
8529 * console-msw.h (struct mswindows_frame):
8530 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
8531 there are now three hash tables for callbacks.
8532 mswindows_enqueue_dispatch_event is no longer static.
8534 * dialog-x.c (maybe_run_dbox_text_callback):
8535 * dialog-x.c (dbox_descriptor_to_widget_value):
8536 switch to new cons3 form for callbacks.
8538 * glyphs-msw.c (mswindows_register_gui_item):
8539 * glyphs-msw.c (mswindows_widget_instantiate):
8540 * glyphs-msw.c (add_tree_item):
8541 * glyphs-msw.c (add_tab_item):
8542 new image instance parameter, so it can be passed to callback-ex.
8543 respect :callback-ex as well as :callback.
8545 * glyphs-widget.c (VALID_GUI_KEYWORDS):
8548 * glyphs.c (print_image_instance):
8549 prettify, e.g. now prints widget type.
8552 certain funs have new image instance parameter.
8555 * gui.c (get_gui_callback):
8556 * gui.c (gui_item_add_keyval_pair):
8557 * gui.c (gui_item_init):
8558 * gui.c (gui_add_item_keywords_to_plist):
8559 * gui.c (mark_gui_item):
8560 * gui.c (gui_item_hash):
8561 * gui.c (gui_item_equal):
8562 * gui.c (copy_gui_item):
8563 * gui.c (syms_of_gui):
8564 recognize callback-ex in a number of places.
8565 also, fix the annoying "can't get out of yes-no dialog" bug.
8568 * gui.h (struct Lisp_Gui_Item):
8569 recognize callback-ex in a number of places.
8571 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8572 new parameter in button_item_to_widget_value.
8574 * glyphs-x.c (x_update_widget):
8575 * glyphs-x.c (x_button_instantiate):
8576 * glyphs-x.c (x_button_update):
8577 * glyphs-x.c (x_progress_gauge_instantiate):
8578 * glyphs-x.c (x_edit_field_instantiate):
8579 * glyphs-x.c (x_combo_box_instantiate):
8580 * glyphs-x.c (x_tab_control_instantiate):
8581 * glyphs-x.c (x_label_instantiate):
8582 new image instance parameter in various places.
8585 * event-Xt.c (enqueue_Xt_dispatch_event):
8586 this fun gets exported.
8589 * gui-msw.c (mswindows_handle_gui_wm_command):
8590 handle both :callback and :callback-ex, and generate our own
8591 event because it's one of the callback-ex arguments.
8594 * gui-x.c (popup_selection_callback):
8595 handle both :callback and :callback-ex, and generate our own
8596 event because it's one of the callback-ex arguments.
8597 * gui-x.c (button_item_to_widget_value):
8598 * gui-x.c (gui_items_to_widget_values_1):
8599 * gui-x.c (gui_item_children_to_widget_values):
8600 * gui-x.c (gui_items_to_widget_values):
8601 new image instance parameter in various places.
8603 * fns.c (Freplace_list):
8604 fix small typo in doc string.
8607 declare enqueue_Xt_dispatch_event.
8609 2000-04-28 Ben Wing <ben@xemacs.org>
8612 * buffer.c (Frecord_buffer):
8613 * buffer.c (syms_of_buffer):
8614 delete record-buffer-hook.
8617 * fns.c (Freplace_list):
8618 * fns.c (syms_of_fns):
8619 new primitive replace-list.
8622 slot for old buffer-alist.
8628 * redisplay.c (redisplay_frame):
8629 * redisplay.c (syms_of_redisplay):
8630 * redisplay.c (vars_of_redisplay):
8631 new hook buffer-list-changed-hook.
8634 2000-04-27 Ben Wing <ben@xemacs.org>
8636 * extents.h: extern in_modeline_generation.
8638 * redisplay.c (generate_formatted_string_db): set
8639 in_modeline_generation.
8641 * extents.c (extent_changed_for_redisplay): don't mark redisplay
8642 flags if in modeline generation. otherwise frame-modified-tick
8643 is ticked far too often.
8644 Declare in_modeline_generation.
8646 2000-04-26 Ben Wing <ben@xemacs.org>
8648 * emacs.c (vars_of_emacs): document quick-build "error-checking"
8650 (vars_of_emacs): add quick-build as an error-checking option.
8651 A bit kludgy, but there doesn't seem much point in creating
8652 a real var for this.
8654 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
8656 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
8658 * redisplay.h (struct display_line): Add a new variable,
8661 * redisplay.c (create_text_block): Set dl->line_continuation if
8663 (create_string_text_block): Ditto.
8664 (regenerate_window_incrementally): Use line_continuation instead
8665 of searching continuation glyph.
8666 (add_margin_runes): Call add_glyph_rune.
8667 (add_glyph_rune): Handle margin glyph.
8669 2000-04-20 Martin Buchholz <martin@xemacs.org>
8671 * filelock.c (fill_in_lock_file_name):
8673 Check for IS_ANY_SEP instead of '/'.
8675 Avoid generating gratuitous garbage. Call user_login_name() directly.
8676 Never check errno without first seeing that system call failed.
8677 (unlock_file): Add GCPRO.
8678 (Flock_buffer): Fix docstring.
8679 (Ffile_locked_p): Fix docstring. Add GCPRO.
8681 2000-04-19 Martin Buchholz <martin@xemacs.org>
8683 * sysdep.c (get_pty_max_bytes):
8684 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
8685 strings longer than 252 bytes.
8687 * md5.c: Unconditionally include ANSI header <limits.h>
8689 * glyphs-x.c (convert_EImage_to_XImage):
8690 * lisp-union.h (union Lisp_Object):
8691 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
8693 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8695 * filelock.c (current_lock_owner): Remove unused variable o, p.
8697 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
8699 * callint.c: Remove multiply defined symbol Qlet
8700 (syms_of_callint): ditto.
8702 2000-04-14 Andy Piper <andy@xemacs.org>
8704 * general.c (syms_of_general): add last-command, this-command, let
8707 * lisp.h: declare various symbols.
8709 * glyphs.h: declare Qwidget_callback_current_channel;
8711 * glyphs-widget.c (syms_of_glyphs_widget): add
8712 Qgui_callback_current_channel.
8713 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
8715 * gui-msw.c (mswindows_handle_gui_wm_command): bind
8716 widget-callback-current-channel when invoking the interactive
8717 arg. Also bind last-command and next-command when invoking the
8719 * gui-x.c (popup_selection_callback): ditto.
8721 * gui.c (get_gui_callback): massage args so that we are always
8722 calling eval. This allows us to add our own variable bindings
8725 * glyphs-x.c (x_button_instantiate): use
8726 gui_items_to_widget_values since this is GC safe.
8727 (x_progress_gauge_instantiate): ditto.
8728 (x_edit_field_instantiate): ditto.
8729 (x_label_instantiate): ditto.
8731 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
8732 (emacs_Xt_event_widget_focus_out): new function
8733 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
8735 (emacs_Xt_event_add_widget_actions): new function. add focus
8736 functions as actions.
8737 (init_event_Xt_late): use it.
8739 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
8741 * event-stream.c (Fdispatch_event): Doc fix.
8743 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
8745 * postgresql.c: Remove all references to PQsetenv*.
8747 * postgresql.h: Remove references to PGsetenvHandler object.
8748 * lrecord.h (lrecord_type): Ditto.
8750 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8752 * glyphs-msw.h (struct mswindows_image_instance_data): Added
8753 real_heigh and real_width members, and accessor macros for these.
8755 * glyphs-msw.c (init_image_instance_geometry): New function.
8756 (init_image_instance_from_dibitmap): Use it.
8757 (mswindows_resource_instantiate): Use it.
8758 (init_image_instance_from_xbm_inline): Use it.
8759 (mswindows_initialize_image_instance_mask): Use real bitmap
8761 (mswindows_create_resized_bitmap): Ditto.
8762 (mswindows_create_resized_mask): Ditto.
8764 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
8765 and bitmap to their surface size.
8767 2000-04-11 Jan Vroonhof <jan@xemacs.org>
8769 * process-unix.c (unix_send_process): Guard against process MIA
8770 after Faccept_process_output.
8772 2000-04-11 Ben Wing <ben@xemacs.org>
8774 * eval.c (unbind_to_hairy): fix brokenness introduced by
8775 nanosecond speed improvements.
8777 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
8779 * sunplay.c (init_device): To play sounds correctly, the device
8780 apparently needs to be initialized at least once by XEmacs. Make
8783 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
8785 * redisplay.c (add_margin_runes): Add text image glyph
8788 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8790 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
8791 gcc is newer than 2.5.
8793 2000-04-06 Colin Rafferty <colin@xemacs.org>
8795 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
8797 * fns.c (size_bit_vector):
8798 * alloc.c (size_vector):
8799 (make_vector_internal):
8800 (make_bit_vector_internal):
8801 (sweep_bit_vectors_1):
8802 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
8804 2000-04-06 Andy Piper <andy@xemacs.org>
8806 * gmalloc.c (malloc): undo previous change.
8811 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
8813 * line-number.c (buffer_line_number): Revert to former version.
8815 2000-04-06 Andy Piper <andy@xemacs.org>
8817 * gmalloc.c (malloc): add error checking.
8822 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
8823 button_item_to_widget_value arg.
8825 * glyphs-x.c (x_button_instantiate): add extra
8826 button_item_to_widget_value arg.
8827 (x_progress_gauge_instantiate): ditto.
8828 (x_edit_field_instantiate): ditto.
8829 (x_label_instantiate): ditto.
8831 * gui-x.c (gui_items_to_widget_values_1): add extra
8832 button_item_to_widget_value arg.
8833 (button_item_to_widget_value): add extra menu_item_p arg.
8835 * gui-x.h: change signature of button_item_to_widget_value.
8837 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
8838 button_item_to_widget_value arg.
8840 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
8842 * buffer.h (struct buffer): auto_save_modified should be long.
8844 2000-04-05 Andy Piper <andy@xemacs.org>
8846 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
8848 (button_query_geometry): give a little more room so that athena
8851 2000-04-05 Andy Piper <andy@xemacs.org>
8853 * faces.c (complex_vars_of_faces): The widget face should inherit
8854 the font of the gui-element face.
8856 2000-04-04 Andy Piper <andy@xemacs.org>
8858 * glyphs-x.c (x_button_update): new function. unconditionally
8859 update a button's state when the instance is dirty.
8860 (image_instantiator_format_create_glyphs_x): add x_button_update.
8861 (x_widget_instantiate): remove old resize cruft.
8863 2000-04-02 Andy Piper <andy@xemacs.org>
8865 * frame.c (change_frame_size_1): The introduction of gutters means
8866 that we need to allow 0 as a potential frame dimension.
8868 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
8870 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
8871 image glyph if allow_cursor.
8872 (add_hscroll_rune): Don't allow cursor to border glyph.
8873 (create_text_block): Ditto.
8875 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
8877 (redisplay_output_layout): Call ensure_face_cachel_complete for
8881 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
8883 * redisplay.c (add_glyph_rune): Adding text image as text runes.
8885 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
8888 * redisplay-tty.c (tty_output_display_block): Delete the routine
8889 for text image glyph
8890 * redisplay-x.c (x_output_display_block): ditto
8891 * redisplay-msw.c (mswindows_output_display_block): ditto
8893 2000-02-02 Mike Alexander <mta@arbortext.com>
8895 Note: Some of these were committed by accident as part of other
8898 * regex.c (regex_compile): Avoid compiler warnings.
8900 * ntproc.c (sys_spawnve): Avoid compiler warnings.
8902 * nt.h: Declare term_ntproc correctly.
8904 * nt.c: Remove incorrect declaration of get_home_directory which
8905 is declared correctly in lisp.h.
8907 * keymap.c (get_keyelt): Avoid compiler warnings.
8908 (raw_lookup_key_mapper): Avoid compiler warnings.
8910 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
8912 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
8914 * filemode.c (mode_string): Avoid compiler warnings.
8916 * file-coding.c (Fcoding_system_aliasee): Add return statement to
8919 * events-mod.h: Undef some things that winuser.h defines differently.
8921 * data.c (Faset): Avoid compiler warnings.
8923 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
8925 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
8927 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
8928 Fall through to simple beep on error.
8929 Replace "extern" by real header file.
8931 * linuxplay.c: Use nativesound.h
8932 (play_sound_data): Return error code. Be less verbose on error.
8934 * sunplay.c: Use nativesound.h
8935 (play_sound_data): Return error code. Be less verbose on error.
8937 * ntplay.c: Use nativesound.h
8938 (play_sound_data): Return fake error code
8940 * sgiplay.c: Use nativesound.h
8941 (play_sound_data): Return error code
8943 * hpplay.c: Use nativesound.h, partially implement
8944 new error code. Break compilation until finished.
8945 (play_sound_data): error code.
8947 * nativesound.h (play_sound_file):
8948 (play_sound_data): Prototype in new header.
8950 2000-03-31 Andy Piper <andy@xemacs.org>
8952 * glyphs-widget.c: (button_query_geometry): new function. Adjust
8953 for toggle and radio buttons.
8954 (image_instantiator_buttons): use it.
8956 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
8958 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
8959 (x_update_horizontal_scrollbar_callback): Return if no mirror was
8960 found. Scrollbar event probably belonged to some old config.
8962 2000-03-31 Andy Piper <andy@xemacs.org>
8964 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
8966 (initialize_widget_image_instance): default layout to
8967 LAYOUT_HORIZONTAL rather than 0.
8968 (widget_instantiate): reverse the item list at the end rather than
8970 (layout_layout): re-code for the border text at the front of the
8971 item list rather than at the end.
8972 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
8973 provided by the user.
8974 (widget_query_geometry): comment.
8976 2000-03-30 Andy Piper <andy@xemacs.org>
8978 * glyphs-widget.c (image_instantiator_layout): allow standard
8979 widget keywords in layouts.
8981 * gutter.c (output_gutter): cope with nil gutter contents.
8983 * frame.c (Fset_frame_properties): add gutter docs.
8985 2000-03-29 Andy Piper <andy@xemacs.org>
8987 * toolbar-msw.c (TBSTYLE_FLAT): add.
8988 (mswindows_output_toolbar): minor fiddling.
8990 2000-03-29 Andy Piper <andy@xemacs.org>
8992 * gutter.c (output_gutter): force gutter size recalculation if
8993 what we are trying to display won't fit.
8994 (update_gutter_geometry): new function. A per-gutter version of
8995 update_frame_gutter_geometry.
8996 (update_frame_gutter_geometry): use it.
8997 (redraw_exposed_gutter): add extra debugging output.
8999 2000-03-28 Mike Alexander <mta@arbortext.com>
9001 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
9002 (pdump_file_unmap): Implement it on Windows
9003 (pdump_file_get): Save alocated handles for pdump_file_unmap
9005 2000-03-28 Andy Piper <andy@xemacs.org>
9007 * gui.c (get_gui_callback): treat Quit specially.
9009 2000-03-27 Andy Piper <andy@xemacs.org>
9011 * glyphs.c (image_instantiate): be careful to check in the same
9014 2000-03-27 Didier Verna <didier@xemacs.org>
9016 * config.h.in: define the proper SMART_INCLUDE macro.
9017 handle renaming of `foo_h_path' to `foo_h_file'.
9019 * database.c: ditto.
9023 * linuxplay.c: ditto.
9025 * terminfo.c: ditto.
9027 * tooltalk.h: ditto.
9029 2000-03-27 Andy Piper <andy@xemacs.org>
9031 * glyphs-msw.c (mswindows_update_widget): make sure the widget
9032 gets updated whenever the face might have changed.
9034 2000-03-26 Mike Alexander <mta@arbortext.com>
9036 * dumper.c (pdump_resource_free): Fix the comment.
9038 2000-03-21 Olivier Galibert <galibert@pobox.com>
9040 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
9042 2000-03-22 Mike Alexander <mta@arbortext.com>
9044 * dumper.c: Include Windows headers on Windows
9045 (pdump_resource_free): Add a body to the function
9046 (pdump_load): exe_name -> exe_path and add some comments.
9048 2000-03-25 Mike Alexander <mta@arbortext.com>
9050 * gui.c (copy_gui_item_tree): Return a value in all cases
9052 2000-03-21 Didier Verna <didier@xemacs.org>
9054 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
9056 (SMART_INCLUDE): new macro.
9057 (POSTGRES_INCLUDE): new macro to include postgresql headers from
9058 the proper location.
9060 * postgresql.c: use it.
9064 2000-03-24 Andy Piper <andy@xemacs.org>
9066 * gutter.c (redraw_exposed_gutters): must be "in display" when we
9069 2000-03-24 Andy Piper <andy@xemacs.org>
9071 * redisplay-output.c (compare_runes): use image_instance_changed
9072 to detect changes. Do not depend on glyphs_changed, only depend on
9074 (redisplay_output_layout): add debug messages.
9075 (compare_runes): ditto.
9077 * glyphs.h: declare new functions.
9078 (struct Lisp_Image_Instance): remove percent and associated
9081 * gui.h: declare new copying functions.
9083 * gui.c (copy_gui_item_tree): new function.
9084 (copy_gui_item): new function.
9085 (gui_item_id_hash): revert to standard hash.
9086 (gui_item_hash): ditto.
9087 (gui_item_hash_internal): deleted.
9088 (mark_gui_item): mark value.
9089 (gui_item_add_keyval_pair): add value.
9090 (gui_item_init): ditto.
9091 (gui_add_item_keywords_to_plist): ditto.
9092 (gui_item_equal): ditto.
9093 (syms_of_gui): add Q_value.
9095 * glyphs-x.c (x_progress_gauge_update): use pending items and
9096 value for setting the state.
9097 (x_update_widget): don't set items from pending here.
9099 * glyphs-widget.c (update_widget): update items here.
9100 (progress_gauge_set_property): use items for storing value. Put
9101 new value in pending items.
9103 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
9104 items for new value. Convert percent -> value.
9105 (mswindows_tab_control_update): don't update items here.
9107 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
9108 (update_subwindow): ditto.
9109 (image_instance_changed): new function. Compare hash values and
9110 past and present widget items.
9111 (image_instantiate): We more careful about where we instantiate
9113 (image_instantiate): add error checking.
9115 * gutter.c (syms_of_gutter): use -hook.
9117 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
9119 * console-tty.c (Fset_console_tty_input_coding_system): Use
9121 (Fset_console_tty_output_coding_system): Use Qterminal.
9122 (tty_init_console): Use Qkeyboard and Qterminal.
9124 2000-03-21 Ben Wing <ben@xemacs.org>
9126 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
9127 From Mike Alexander <mta@arbortext.com>.
9129 2000-03-21 Ben Wing <ben@xemacs.org>
9131 * event-msw.c (mswindows_need_event): Horrible kludge to fix
9132 process brokenness. Proper implementation to come.
9134 Rename call-process-internal to old-call-process-internal.
9135 New impl. in process.el.
9137 2000-03-21 Martin Buchholz <martin@xemacs.org>
9139 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
9141 2000-03-20 Andy Piper <andy@xemacs.org>
9143 * glyphs.c (full_list_hash): make hashes of the same elements in
9144 different orders return different values.
9146 2000-03-20 Martin Buchholz <martin@xemacs.org>
9148 * XEmacs 21.2.32 is released.
9150 2000-03-20 Martin Buchholz <martin@xemacs.org>
9152 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
9153 (DFC_MALLOC_USE_CONVERTED_DATA):
9154 Add aliasing-safe casts to allow use with char* or unsigned char*
9157 * eldap.c (Fldap_open):
9158 (Fldap_search_basic):
9161 Make C++-compilable.
9162 Make sure GCPRO'ed variables are initialized.
9163 Use temp variables to avoid repeated calls to Flength.
9165 2000-03-16 Martin Buchholz <martin@xemacs.org>
9168 Make sure PATH_MAX is always defined.
9169 Include limits.h for PATH_MAX.
9170 Deprecate use of MAXPATHLEN.
9172 2000-03-10 Martin Buchholz <martin@xemacs.org>
9174 * emacs.c: Add reinit_vars_of_fileio.
9175 * symsinit.h: Add reinit_vars_of_fileio.
9176 * fileio.c (reinit_vars_of_fileio): New.
9177 * fileio.c (Fmake_temp_name):
9178 Initialize temp_name random number from microseconds to make
9179 collisions even less likely. Initialize always at process startup
9180 time. (make-temp-name) used to return the same file name twice in
9182 Random stylistic fiddling.
9185 2000-03-20 Andy Piper <andy@xemacs.org>
9187 * glyphs.c (image_instantiate): allow text glyphs to be
9188 instantiated in the minibuffer window.
9190 2000-03-19 Andy Piper <andy@xemacs.org>
9192 * glyphs.c (image_instance_hash): be careful about which items we
9195 * glyphs-widget.c (tab_control_set_property): record into pending
9196 items rather than the actual items.
9198 * glyphs-x.c (x_update_widget): use pending items to update with.
9200 * glyphs-msw.c (mswindows_tab_control_update): use pending items
9203 * glyphs.c (mark_image_instance): mark pending items.
9205 * window.c (Fset_window_configuration): record the buffer.
9206 (Fselect_window): totally revert previous change which breaks many
9209 2000-03-18 Andy Piper <andy@xemacs.org>
9211 * glyphs-msw.c (mswindows_tab_control_update): force selected
9214 * glyphs.c (image_instantiate): don't allow the minibuffer as a
9215 window domain cache, otherwise we get inconsistencies at
9216 startup. There is something fishy at startup which can lead to the
9217 minibuffer being the selected window when the gutter content is
9220 * gui.c (parse_gui_item_tree_list): add probably unnecessary
9222 (parse_gui_item_tree_children): ditto.
9223 (parse_gui_item_tree_item): ditto.
9225 * glyphs.c (Fupdate_widget_instances): return something.
9227 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9229 * window.c (Fselect_window): Undo 2000-03-17 change.
9231 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
9233 * postgresql.c (Fpq_setenv): Remove this turkey when linking
9234 against v7.0 libraries. Insta-coredump city until the postgres
9237 2000-03-17 Andy Piper <andy@xemacs.org>
9239 * faces.c (complex_vars_of_faces): don't give the widget face an
9240 inherited background pixmap.
9242 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
9245 * event-stream.c (Fdispatch_non_command_events): return something.
9247 * gutter.c (output_gutter): use widget face.
9248 (clear_gutter): ditto.
9250 * NEWS: adjust again.
9252 * window.c (Fselect_window): make sure this runs to completion to
9253 avoid oddities with Fset_window_configuration.
9254 (Fcurrent_window_configuration): in general do not save the
9255 minibuffer as the selected window.
9257 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
9259 2000-03-16 Olivier Galibert <galibert@pobox.com>
9261 * emacs.c (Frunning_temacs_p): Revert previous patch.
9262 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
9264 2000-03-16 Andy Piper <andy@xemacs.org>
9266 * glyphs-x.c (x_tab_control_update): if no widget values then
9269 * NEWS: update for new features.
9271 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
9272 synthetic event to the native system.
9273 (reinit_vars_of_event_Xt): set force_event_pending to
9274 emacs_Xt_force_event_pending.
9276 * events.h (struct event_stream): add force_event_pending.
9278 * specifier.c (recompute_one_cached_specifier_in_window): add
9281 * redisplay.c (redisplay_frame): don't call
9282 update_frame_subwindows. Reset subwindow cachels when
9283 subwindows_changed, removing this was an optimization too far.
9285 * redisplay-output.c (compare_runes): reorganize so that we catch
9286 glyph changes when we want them. Set optimize_output when this
9288 (redisplay_output_layout): remove frame_really_changed, use
9289 optimize_output instead.
9291 * redisplay-msw.c (mswindows_output_display_block): reset
9292 optimize_output after outputting a glyph.
9293 * redisplay-x.c (x_output_display_block): ditto.
9294 * redisplay-tty.c (tty_output_display_block): ditto.
9296 * gutter.c: (specifier_vars_of_gutter): use new spec changed
9298 (gutter_specs_changed): do specific gutter positions.
9299 (top_gutter_specs_changed): new function. Only update the
9300 specified gutter specs.
9301 (bottom_gutter_specs_changed): ditto.
9302 (left_gutter_specs_changed): ditto.
9303 (right_gutter_specs_changed): ditto.
9305 * gui.c (gui_item_hash_internal): new function, does a real hash.
9306 (gui_item_id_hash): use it.
9307 (gui_item_hash): hash the eval'ed gui_item.
9309 * gui-x.c (popup_selection_callback): send an eval event to call
9310 Fupdate_widget_instances.
9312 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
9313 to call Fupdate_widget_instances.
9315 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
9316 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
9318 * glyphs.c: (update_frame_subwindows): deleted.
9319 (Fupdate_widget_instances): new function for updating the dirty
9320 state of widgets that might have changed.
9321 (syms_of_glyphs): add Qupdate_widget_instances.
9322 (full_list_hash): hash a list completely.
9323 (image_instance_hash): use it for items and properties.
9325 * frame-msw.c (mswindows_size_frame_internal): remove unused
9328 * faces.h (struct face_cachel): fix comment.
9330 * event-stream.c (Fdispatch_non_command_events): new
9331 function. Process non-command events, forcing an event cycle
9333 (syms_of_event_stream): declare.
9334 (event_stream_force_event_pending): new function. Force an event
9335 on the native event queue so that an event cycle will occur next
9339 (struct ntpipe_shove_stream):
9340 (mswindows_enqueue_dispatch_event):
9341 (mswindows_dequeue_dispatch_event):
9342 (mswindows_cancel_dispatch_event):
9343 (mswindows_pump_outstanding_events):
9344 (mswindows_drain_windows_queue):
9345 (mswindows_handle_paint):
9346 (mswindows_wnd_proc):
9347 (mswindows_key_to_emacs_keysym):
9348 (get_process_input_waitable):
9349 (emacs_mswindows_delete_stream_pair): re-indent file.
9350 (mswindows_need_event): do not process further fds if the windows
9351 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
9352 fixes the 100% cpu problem.
9353 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
9355 2000-03-15 Olivier Galibert <galibert@pobox.com>
9361 * emacs.c: Moved dump file searching to dumper.c.
9362 (Frunning_temacs_p): Fixed.
9364 * alloc.c: Moved everything pdump-related to dumper.c. Removed
9365 last_lrecord_type_index_assigned.
9367 2000-02-20 Olivier Galibert <galibert@pobox.com>
9369 * symsinit.h: Added reinit parameter to init_console_stream
9372 * lisp.h: Added file parameter to pdump_load declaration.
9374 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
9375 support. Added dump file searching.
9377 * config.h.in: Added EMACS_PROGNAME.
9379 * console-stream.c (init_console_stream): Fix reinitialisation
9380 when running from temacs.
9382 * alloc.c (pdump): Add id support.
9383 (pdump_load): Add file parameter and signature/id support.
9385 * Makefile.in.in: Add full pdump support.
9387 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
9389 * postgresql.c: Update documentation to reflect latest code
9391 (print_result): Show tuple counts in printed representation when
9393 (Fpq_put_nbytes): MULE-ize.
9394 (Fpq_get_line_async): Ditto.
9396 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
9398 * postgresql.c (Fpq_lo_import): Fix return value.
9399 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
9401 2000-03-13 Ben Wing <ben@xemacs.org>
9403 * alloc.c (pdump_load):
9404 Fix compile warning under mswin.
9406 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
9408 * postgresql.c: Mule-ization, bug fixes.
9409 Use PG_CODING to encapsulate coding system name changes.
9410 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
9411 (pg-coding-system): Create.
9413 (Fpq_conn_defaults): Mule-ize.
9414 (Fpq_connectdb): Mule-ize & bug fix.
9415 (Fpq_connect_start): Mule-ize.
9416 (Fpq_set_client_encoding): Mule-ize.
9417 (Fpq_finish): Document `DEAD' connection status.
9419 (Fpq_pgconn): Mule-ize.
9420 (Fpq_exec): Mule-ize & bug fix.
9421 (Fpq_send_query): Ditto.
9422 (Fpq_get_result): Ditto.
9423 (Fpq_res_status): Mule-ize.
9424 (Fpq_result_error_message): Mule-ize.
9425 (Fpq_ntuples): fix comments.
9426 (Fpq_fname): Mule-ize.
9427 (Fpq_fnumber): Mule-ize.
9428 (Fpq_ftype): fix comments.
9429 (Fpq_get_value): Mule-ize.
9430 (Fpq_cmd_status): Ditto.
9431 (Fpq_cmd_tuples): Ditto.
9432 (Fpq_oid_value): Ditto.
9433 (Fpq_notifies): Ditto.
9434 (Fpq_lo_import): Ditto.
9435 (Fpq_lo_export): Ditto.
9436 (Fpq_get_line): Ditto.
9437 (Fpq_put_line): Mule-ize and bug fix.
9438 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
9440 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
9442 * postgresql.c (vars_of_postgresql): Mule-ize.
9443 (Fpq_conn_defaults): Ditto.
9445 2000-03-12 Ben Wing <ben@xemacs.org>
9447 * alloc.c (Fmake_byte_code):
9448 * alloc.c (debug_string_purity_print):
9449 * alloc.c (pdump_backtrace):
9450 * alloc.c (pdump_get_indirect_count):
9451 * alloc.c (pdump_register_sub):
9452 * alloc.c (pdump_register_object):
9453 * alloc.c (pdump_register_struct):
9454 * alloc.c (pdump_dump_data):
9455 * alloc.c (pdump_reloc_one):
9459 * console-msw.c (GetConsoleHwnd):
9460 * console-msw.c (msw_hide_console):
9461 * console-msw.c (msw_show_console):
9462 * console-msw.c (msw_ensure_console_buffered):
9463 * console-msw.c (msw_output_console_string):
9464 * console-msw.c (console_type_create_mswindows):
9466 a) Added functions to manipulate the console window for use with
9469 b) Added support for writing text to the console, which is now
9470 used under Windows when xemacs is not being run non-interactively,
9471 to write text that would otherwise be destined for stdout because
9472 under these circumstances, text written to stdout tends to
9473 disappear and not be seen.
9477 * event-Xt.c (x_event_to_emacs_event):
9478 * event-Xt.c (describe_event_window):
9479 * events-mod.h (XEMACS_MOD_CONTROL):
9481 * events.c (Fmake_event):
9482 * events.c (character_to_event):
9483 * events.c (event_to_character):
9484 * events.c (format_event_object):
9485 * events.c (Fevent_modifiers):
9487 * events.h (struct key_data):
9488 * events.h (struct button_data):
9489 * events.h (struct misc_user_data):
9490 * frame-x.c (Fcde_start_drag_internal):
9491 * frame-x.c (Foffix_start_drag_internal):
9492 * gpmevent.c (Freceive_gpm_event):
9494 * keymap.c (bucky_sym_to_bucky_bit):
9495 * keymap.c (control_meta_superify):
9496 * keymap.c (make_key_description):
9497 * keymap.c (keymap_lookup_directly):
9498 * keymap.c (create_bucky_submap):
9499 * keymap.c (keymap_store):
9500 * keymap.c (define_key_check_and_coerce_keysym):
9501 * keymap.c (define_key_parser):
9502 * keymap.c (define_key_alternate_name):
9503 * keymap.c (Fdefine_key):
9504 * keymap.c (raw_lookup_key_mapper):
9505 * keymap.c (struct map_keymap_unsorted_closure):
9506 * keymap.c (map_keymap_unsorted_mapper):
9507 * keymap.c (map_keymap_sort_predicate):
9508 * keymap.c (map_keymap_sorted):
9509 * keymap.c (accessible_keymaps_mapper_1):
9510 * keymap.c (where_is_recursive_mapper):
9511 * keymap.c (describe_map_mapper):
9512 * keymap.c (describe_map_sort_predicate):
9513 * keymap.c (describe_map):
9514 * keymap.c (complex_vars_of_keymap):
9515 And a number of other files, the key modifier preprocessor
9516 constants that xemacs uses have names that conflict with constants
9517 defined under MS Windows for other purposes, so they were renamed
9518 to begin with the prefix XEMACS_. The variables that hold such
9519 modifiers were changed to consistently be of type int to fix
9520 various compile warnings.
9522 * console.c (complex_vars_of_console):
9525 * device-msw.c (mswindows_finish_init_device):
9526 * device-msw.c (msw_get_workspace_coords):
9527 * device-msw.c (mswindows_device_system_metrics):
9528 and various other files, added support for a new
9529 device property called offset-workspace which returns the position
9530 of the upper left corner of the workspace area and goes along with
9531 the existing size-workspace property.
9534 * dialog-msw.c (push_bufbyte_string_as_unicode):
9535 * dialog-msw.c (mswindows_popup_dialog_box):
9536 Added support for XEmacs-style accelerator specifications in
9537 button text. Note: I didn't add support for this under X Windows,
9538 and somebody needs to do this.
9541 * dialog.c (Fpopup_dialog_box):
9542 Documented the support for accelerators that was just mentioned.
9544 editfns.c (get_home_directory): Changed behavior under Windows
9545 when HOME not defined; former behavior was irretrievably broken.
9550 * minibuf.c (clear_echo_area_internal):
9551 * minibuf.c (echo_area_append):
9553 * print.c (std_handle_out_external):
9554 * print.c (std_handle_out_va):
9556 * print.c (write_string_to_stdio_stream):
9557 * print.c (output_string):
9558 * print.c (debug_print):
9559 * print.c (debug_backtrace):
9560 * print.c (debug_short_backtrace):
9561 Cleaned up the code that prints text to stdout so that this can be
9562 changed to output into a console window instead under MS Windows,
9566 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
9567 * eval.c (internal_catch):
9568 * eval.c (unwind_to_catch):
9569 * eval.c (throw_or_bomb_out):
9570 * eval.c (condition_case_1):
9571 * eval.c (signal_1):
9572 * eval.c (check_error_state_sanity):
9573 * eval.c (call_with_suspended_errors_1):
9574 * eval.c (call_with_suspended_errors):
9575 * eval.c (reinit_vars_of_eval):
9576 Added code to catch throw loops and check for a pesky bug that may
9580 * event-msw.c (key_needs_default_processing_p):
9581 * event-msw.c (mswindows_wnd_proc):
9582 * event-msw.c (mswindows_modifier_state):
9583 * event-msw.c (emacs_mswindows_quit_p):
9584 * event-msw.c (vars_of_event_mswindows):
9585 a) Added support for using the alt key to select menu items as is
9586 standard under MS Windows. This is controlled using the variable
9587 menu-accelerator-enabled, just like under X Windows. There is an
9588 option on the options menu to turn this support on. I really
9589 think that it should be on by default under Windows, but I'm not
9590 going to make this change yet.
9592 b) Added support for dynamic display size changes under Windows.
9595 * event-stream.c (maybe_echo_keys):
9596 * event-stream.c (Fnext_event):
9597 * event-stream.c (command_builder_find_leaf):
9598 * event-stream.c (lookup_command_event):
9599 * event-stream.c (execute_command_event):
9600 * event-stream.c (pre_command_hook):
9601 * event-stream.c (post_command_hook):
9602 * event-stream.c (syms_of_event_stream):
9603 * event-stream.c (vars_of_event_stream):
9604 * event-stream.c (complex_vars_of_event_stream):
9605 * events.h (struct command_builder):
9607 a) Tried to clean up a little bit the horribly written x-specific
9608 accelerator code that crept into this file. I moved this code
9609 into menubar-x.c where it belongs. I also needed to move the
9610 command builder structure into the file events.h because it is
9611 accessed directly by this accelerator code. What I didn't do, but
9612 which should be done at some point, is to properly abstract this
9613 code using device methods instead of the kludgy way that it
9614 currently hooks into the event code.
9616 b) Added the lisp variables this-command-properties and
9617 last-command- properties, which should be used to synchronize two
9618 adjacent commands in preference to playing games with the variable
9619 this-command, which is typically what happens.
9621 c) Added some slightly nasty code to hook into the lisp support
9622 for shifted- motion-key selection. This is actually necessary for
9623 somewhat complicated reasons, which are described in
9624 simple.el. (NB: I think the proper thing would be to have the code
9625 that calls the pre and post command hooks also call out to generic
9626 lisp functions in simple.el, where all built-in stuff could be
9627 added. I will think about this more.)
9629 * event-unixoid.c (poll_fds_for_input):
9630 * lread.c (readchar):
9631 * redisplay-tty.c (tty_clear_frame):
9632 * redisplay-x.c (x_get_gc):
9633 * signal.c (interrupt_signal):
9634 And a whole bunch of other files: fixed up places that printed
9635 directly to stderr to instead call the function stderr_out so that
9636 the changes I made under Windows work correctly.
9638 * filemode.c (mode_string):
9642 * frame-msw.c (mswindows_size_frame_internal):
9643 Fixed the computation of frame size and position to keep the frame
9644 within the workspace area, rather than within the physical
9645 dimensions of the screen, so that the frame doesn't overlap window
9646 manager decorations, such as the start menu and toolbar, typically
9647 at the bottom of the screen.
9649 * frame.c (vars_of_frame):
9650 Changed the default frame title format under MS Windows to consist
9651 of buffername-XEmacs, which is standard under MS Windows. I think
9652 it might be a good idea to change this everywhere because I think
9653 it is superior to the current frame title format, but this is the
9654 kind of change that is likely to cause some people to get annoyed,
9655 so I'm not making it.
9657 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
9659 * gui-msw.c (mswindows_handle_gui_wm_command):
9660 Fixed compile warnings.
9663 * gui-x.c (strdup_and_add_accel):
9664 * gui-x.c (button_item_to_widget_value):
9666 Added code to automatically put an accelerator onto the beginning
9667 of menu items that don't have one as is now the standard, and is
9668 described more later. Also fixed things so that the menu item
9669 name can be an evaluated expression, again a new standard.
9672 * gui.c (gui_item_add_keyval_pair):
9673 * gui.c (make_gui_item_from_keywords_internal):
9674 * gui.c (gui_add_item_keywords_to_plist):
9675 * gui.c (gui_item_accelerator):
9676 * gui.c (gui_name_accelerator):
9677 * gui.c (gui_item_included_p):
9678 * gui.c (gui_item_display_flush_left):
9679 * gui.c (gui_item_display_flush_right):
9680 * gui.c (parse_gui_item_tree_item):
9681 * gui.c (parse_gui_item_tree_children):
9682 * gui.c (parse_gui_item_tree_list):
9683 Mule-ized. Cleanup. GCPRO addition.
9685 * line-number.c (buffer_line_number):
9687 * lisp.h (EMACS_INT_MAX):
9688 Added the manifest constant EMACS_INT_MIN corresponding to the
9689 existing constant EMACS_INT_MAX. This is partially to fix compile
9690 warnings under Windows, and partly for cleanliness.
9693 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
9694 * menubar-msw.c (msw_translate_menu_or_dialog_item):
9695 * menubar-msw.c (displayable_menu_item):
9696 * menubar-msw.c (populate_menu_add_item):
9697 * menubar-msw.c (populate_or_checksum_helper):
9698 * menubar-msw.c (populate_menu):
9699 * menubar-msw.c (update_frame_menubar_maybe):
9700 * menubar-msw.c (prune_menubar):
9701 * menubar-msw.c (msw_char_is_accelerator):
9702 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
9703 * menubar-msw.c (mswindows_handle_wm_command):
9704 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
9705 * menubar-msw.c (mswindows_handle_wm_initmenu):
9706 * menubar-msw.c (mswindows_update_frame_menubars):
9707 * menubar-msw.c (mswindows_free_frame_menubars):
9708 * menubar-msw.c (mswindows_popup_menu):
9709 Fixed a bug in handling accelerators where an extra character
9710 would be displayed in the menu item. Also generalized the
9711 function displayable_menu_item because it is now used by the
9712 dialog box code as well. And finally, added code in the functions
9713 that create the menubar to extract a list of accelerators for the
9714 top level menubar, which is used in the event code to determine
9715 whether a particular alt-key combination should be used to invoke
9716 a menu item, or should be passed through to access the standard
9717 XEmacs keymap binding for this key combination.
9719 Much needed GCPROing.
9722 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9723 * menubar-x.c (menu_item_descriptor_to_widget_value):
9724 * menubar-x.c (restore_in_menu_callback):
9725 * menubar-x.c (x_popup_menu):
9726 * menubar-x.c (menu_move_up):
9727 * menubar-x.c (menu_move_down):
9728 * menubar-x.c (menu_move_left):
9729 * menubar-x.c (menu_move_right):
9730 * menubar-x.c (menu_select_item):
9731 * menubar-x.c (command_builder_operate_menu_accelerator):
9732 * menubar-x.c (menu_accelerator_junk_on_error):
9733 * menubar-x.c (command_builder_find_menu_accelerator):
9734 * menubar-x.c (Faccelerate_menu):
9736 Moved a whole bunch of code here that was previously in
9737 event-stream.c as described above. There is also code connected
9738 to the new standard of adding an accelerator to the beginning of
9739 menu items that don't have one as described above and below.
9742 * menubar.c (menu_parse_submenu_keywords):
9743 * menubar.c (Fmenu_find_real_submenu):
9744 * menubar.c (Fnormalize_menu_item_name):
9745 * menubar.c (syms_of_menubar):
9746 * menubar.c (vars_of_menubar):
9747 * menubar.c (complex_vars_of_menubar):
9749 a) Cleaned up a bunch of documentation and improved it.
9751 b) XEmacs now automatically adds an accelerator onto the beginning
9752 of any menu items that don't have one. I did this because there
9753 will inevitably be some menu items on the main menubar that don't
9754 have accelerators on them because the package that adds that
9755 particular menu item hasn't yet been fixed up to have accelerators
9756 in them and it looked rather strange to have some items with and
9757 some items without accelerators, especially since even in items
9758 without accelerators, you can, at least under windows, still
9759 access the item through an accelerator corresponding to the first
9760 character in the item's name. If people don't like this behavior,
9761 I can add a variable to turn it off optionally, but I'm not sure
9762 this is a good idea because we really do need to have accelerators
9763 on all of the menu items, and if a package doesn't like the
9764 accelerators being put on the first character, then it should put
9765 the accelerators where they belong.
9767 c) I made a behavior change, which is that the descriptor that
9768 specifies the text of the menu item, which formerly was just a
9769 string, can now also be an evaluated expression. This makes this
9770 descriptor parallel with all of the others, which could also be
9771 evaluated expressions. This also obviates the need for the
9772 keyword :label, which was previously listed in the documentation
9773 as unimplemented, and which was for the same purpose.
9778 * ntproc.c (new_child):
9779 * ntproc.c (sys_spawnve):
9780 * ntproc.c (find_child_console):
9781 * ntproc.c (sys_kill):
9782 Fixed compile warnings. By the way, this file should really go
9783 away entirely, and this will happen as soon as Kirill makes his
9784 final round of process cleanups, which affect the function
9788 * process-nt.c (struct nt_process_data):
9789 * process-nt.c (find_process_from_pid):
9790 * process-nt.c (send_signal_the_nt_way):
9791 * process-nt.c (enable_child_signals):
9792 * process-nt.c (find_child_console):
9793 * process-nt.c (send_signal_the_95_way):
9794 * process-nt.c (nt_finalize_process_data):
9795 * process-nt.c (ensure_console_window_exists):
9796 * process-nt.c (nt_create_process):
9797 * process-nt.c (nt_kill_child_process):
9798 * process-nt.c (nt_kill_process_by_pid):
9799 * process-nt.c (nt_open_network_stream):
9800 * process-nt.c (vars_of_process_nt):
9801 Copied over code from Emacs 20.5 to correctly send signals to sub-
9802 processes under Windows 95. Also added code to automatically
9803 create and hide console window when a sub-process is created under
9804 Windows 95, which obviates the need for the separate runemacs.exe
9805 executable, and finally implemented some variables that were
9806 implemented in Emacs 20.5, but previously not in XEmacs. These
9807 include mswindows- start-process-share-console and
9808 mswindows-start-process-inherit-error-mode. (Both of these only
9809 apply to Windows 95.)
9811 * regex.c (regex_compile): Fixed a compile warning.
9814 * select-msw.c (mswindows_own_selection):
9815 * select-msw.c (mswindows_get_foreign_selection):
9816 * select-msw.c (mswindows_disown_selection):
9817 * select-msw.c (console_type_create_select_mswindows):
9818 * select-msw.c (syms_of_select_mswindows):
9819 Cleaned up the file and implemented the device method
9820 selection_exists_p, which had accidentally been left out. Also
9821 removed four lisp functions that were remnants from before the
9822 time when the selection code was properly device abstracted.
9823 These functions are no longer needed because there are generic
9824 equivalents, and because they were added recently and don't exist
9825 in FSF Emacs, I don't think there's any problem with just deleting
9829 * sysdep.c (sys_subshell):
9830 Fixed a compile warning, although in this case there's probably
9831 something wrong with this code, and it ought to be looked into
9832 more thoroughly by somebody who understands it.
9835 * window.c (Fwindow_text_area_height):
9836 * window.c (Fwindow_width):
9837 * window.c (Fwindow_full_width):
9838 * window.c (Fwindow_pixel_width):
9839 * window.c (debug_print_window):
9840 * window.c (syms_of_window):
9841 Added functions window-text-area-height and window-full-width,
9842 which are functions for returning various width and height
9843 characteristics of a window. (One of these functions is necessary
9844 for making the file dialog box work correctly, and the other one
9845 was added for completeness.) Also added a table to the
9846 documentation for window-height which describes the entire scheme
9847 for accessing width and height characteristics of a window.
9849 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9851 * nt.c (fstat): Added a comment for another problem with
9852 non-encapsulated [f]stat(), reported by Adrian Aichner
9853 <aichner@ecf.teradyne.com>.
9855 2000-03-11 Andy Piper <andy@xemacs.org>
9857 * window.c (make_dummy_parent): initialize subwindow instance
9859 (Fset_window_configuration): zero extent_modiff.
9861 2000-03-10 Andy Piper <andy@xemacs.org>
9863 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
9864 more changes can be triggered.
9865 (Fredisplay_frame): ditto.
9866 (Fredraw_device): ditto.
9867 (Fredisplay_device): ditto.
9868 (redisplay_frame): make non-static.
9869 (redisplay_frame): call update_frame_gutter_geometry outside of
9872 * gutter.h: declare update_frame_gutter_geometry.
9874 * redisplay.h: declare redisplay_frame.
9876 * gutter.c (update_frame_gutter_geometry): move geometry changes
9877 in update_frame_gutters here. Geometry changes can only occur
9878 outside of redisplay.
9879 (update_frame_gutters): remove geometry change code.
9880 (Fredisplay_gutter_area): make sure that we are in display when we
9881 update and that we have flushed any size changes.
9883 2000-03-11 Andy Piper <andy@xemacs.org>
9885 * alloc.c (pdump_dump_data): remove i & count shadows.
9887 2000-02-27 Mike Alexander <mta@arbortext.com>
9889 * sysdep.h: Declare pdump_read_file
9891 * sysdep.c (pdump_read_file): New function
9893 * alloc.c (pdump_load): Call pdump_read_file to get the portable
9896 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
9898 * lrecord.h: add `lrecord_type_pgsetenv'.
9900 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
9902 * symsinit.h: declare (vars|syms)_of* functions.
9903 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
9905 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
9907 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
9909 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
9912 * emacs.c (main_1): Call postgres initialization code.
9914 * postgresql.h: New file. PostgreSQL RDBMS support.
9915 * postgresql.c: New file.
9917 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
9919 * redisplay-output.c (redisplay_output_display_block): Disable
9922 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9924 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
9925 (Fcanna_henkan_next): Ditto.
9926 (Fcanna_bunsetu_henkou): Ditto.
9927 (Fcanna_henkan_kakutei): Ditto.
9928 (Fcanna_henkan_end): Ditto.
9929 (Fcanna_henkan_quit): Ditto.
9930 (Fcanna_henkan_next): Set retun value correctly.
9931 (c2mu): Use unsigned char instead of signed char.
9933 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9935 * emacs.c (main_1): Always call syms_of_gui.
9936 * inline.c: include gui.h
9938 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9940 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
9941 converted to Lisp_Object.
9942 (Qtop_bottom): New variable.
9943 (syms_of_redisplay): Initialize it.
9944 * redisplay.h (Vvisible_bell): Ditto.
9945 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
9946 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
9947 only flash top and bottom.
9949 2000-03-08 Andy Piper <andy@xemacs.org>
9951 * buffer.c (Frename_buffer): record new buffer name the right way.
9953 2000-03-08 Andy Piper <andy@xemacs.org>
9955 * glyphs.c (update_subwindow): increase hash depth so that widget
9956 items get picked up properly.
9958 * redisplay-output.c (compare_runes): increase hash depth so that
9959 widget items get picked up properly.
9961 2000-03-08 Andy Piper <andy@xemacs.org>
9963 * gutter.c (output_gutter): add some debug.
9965 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
9966 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
9967 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
9969 * redisplay-output.c (compare_runes): use display_hash to
9970 determine if glyphs really are not the same.
9972 * glyphs.c (update_subwindow): check display_hash to see if
9973 anything really needs to be updated. If not then do
9974 nothing. Record the display_hash after updating.
9975 (image_instance_equal): compare the image_instance face also.
9977 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
9979 * redisplay.h: Fix comment style.
9981 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
9983 * consle-msw.h (struct mswindows_frame):
9984 Added new member paint_pending to indicate whether a WM_PAINT
9985 magic event has been queued for this frame.
9987 * event-msw.c (mswindows_drain_windows_queue):
9988 Don't queue a WM_PAINT magic event if one is already queued.
9989 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
9991 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
9993 2000-03-07 Didier Verna <didier@xemacs.org>
9995 * dired.c: #include `regex.h' after `sysfile.h'.
9997 2000-03-06 Martin Buchholz <martin@xemacs.org>
9999 * sound.c (init_nas_sound): Fix compiler warning.
10001 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
10003 (MARK_STRUCT_AS_FREE):
10004 (MARK_STRUCT_AS_NOT_FREE):
10005 Make `gcc -fstrict-aliasing' work properly.
10007 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
10009 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
10010 (mswindows_delete_device): Call CoUnnitialize().
10012 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
10014 2000-02-25 <CraigL@DyCon.com>
10016 * process-nt.c: MinGW now has <shellapi.h>, but still needs
10019 * sysdep.c: This extern declaration for environ prevents MinGW
10020 from finding the variable in CRTDLL.DLL.
10022 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
10024 (SHGFI_EXETYPE): ..
10025 (WM_MOUSEWHEEL): ..
10026 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
10028 (MMRESULT): Removed, now defined in cygwin's windows headers.
10030 (uid_t,gid_t,pid_t,ssize_t): ..
10031 (_timeb): Removed, MinGW defines both _timeb and timeb.
10032 (HAVE_H_ERRNO): Added.
10033 (HAVE_TZNAME): Added, configure is not detecting this.
10035 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
10037 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
10038 * syntax.c (syntax_match): Use it.
10040 * cmds.c: Import auto-fill-chars from FSF Emacs.
10041 (Vauto_fill_chars): New variables.
10042 (internal_self_insert): Check Vauto_fill_chars.
10044 Declare auto-fill-chars as a Lisp variable and initialize it.
10046 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10048 * fileio.c (Fmake_symbolic_link):
10050 Run handlers even if local machine doesn't have symlinks.
10052 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
10054 * event-msw.c (mswindows_drain_windows_queue):
10055 Don't generate paint magic events for non-XEmacs frames.
10057 2000-03-05 Andy Piper <andy@xemacs.org>
10059 * redisplay.c (redisplay_frame): generate_displayable_area and
10060 friends assumes that we are not in GC, we therefore have to make
10061 sure that this doesn't happen.
10063 * gutter.c (calculate_gutter_size): generate_displayable_area
10064 assumes that we are not in GC, we therefore have to make sure that
10065 this doesn't happen.
10067 2000-03-05 Martin Buchholz <martin@xemacs.org>
10069 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
10071 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
10073 * redisplay.c (regenerate_window): Make sure we set a sane value
10074 for end_pos even if we jump out of the loop.
10075 (regenerate_window): Answer Ben's question :-).
10076 (start_end_of_last_line): Add may_error argument.
10077 (start_of_last_line):
10078 (end_of_last_line): Pass may_error = 0.
10079 (end_of_last_line_may_error): New function.
10080 (pixel_to_glyph_translation): Use it, so we don't crash in
10083 2000-03-04 Andy Piper <andy@xemacs.org>
10085 * window.h (struct window): add gutter_extent_modiff.
10087 * window.c (allocate_window): zero out gutter_extent_modiff.
10089 * redisplay.h: declare sync_display_line_structs.
10091 * redisplay.c (add_glyph_rune): add a better comment.
10093 * redisplay-output.c (sync_display_line_structs): made non-static.
10094 (compare_runes): remove unneccesary glyph cachel access.
10096 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
10098 * gutter.c (output_gutter): don't output the gutter if extent
10099 changes only involve extents in buffers. use 4 sets of display
10101 (gutter_extent_signal_changed_region_maybe): new function. Mark
10102 extents in gutters as changed.
10103 (update_frame_gutters): use 4 sets of display lines.
10104 (reset_gutter_display_lines): ditto.
10105 (free_frame_gutters): ditto.
10106 (redraw_exposed_gutter): force output of gutters.
10108 * frame.h (struct frame): add 4 sets of gutter display lines.
10110 * extents.c: (extent_changed_for_redisplay): signal changes to
10111 extents in strings in the gutter as well as extents in buffers.
10113 2000-03-02 Andy Piper <andy@xemacs.org>
10115 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
10117 * frame.c (Fmake_frame): make sure the gutters get initialized
10118 after the frame is visible.
10119 (set_frame_selected_window): re-arrange compilation macros a
10121 (change_frame_size_1): mark gutters changed.
10123 * device.c (Fset_device_class): mark gutters changed.
10125 2000-03-01 Andy Piper <andy@xemacs.org>
10127 * window.c (window_top_frame_gutter_height): deleted.
10128 (window_bottom_frame_gutter_height): ditto.
10129 (window_left_frame_gutter_height): ditto.
10130 (window_right_frame_gutter_height): ditto.
10131 (window_top_gutter_height): don't use them.
10132 (window_bottom_gutter_height): ditto.
10133 (window_left_gutter_width): ditto.
10134 (window_right_gutter_width): ditto.
10135 (Fsplit_window): ditto.
10136 (Fwindow_pixel_edges): don't use border dimensions here.
10138 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
10139 (update_scrollbar_instance): ditto.
10141 * redisplay.c (generate_modeline): don't take gutters into account.
10142 (generate_modeline): ditto.
10143 (redisplay_frame): small gutter display optimization.
10145 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
10147 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
10148 gutters into account.
10150 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
10151 for window position and type.
10153 * gutter.c (get_gutter_coords): fix for frame gutters.
10154 (update_frame_gutters): update frame geometry if the gutters have
10156 (init_frame_gutters): record current gutter geometries.
10158 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
10160 (mswindows_widget_instantiate): ditto.
10162 * frame.h (struct frame): add current_gutter_bounds.
10164 * frame.c (change_frame_size_1): position window and minibuffer
10165 appropriately taking into account the frame gutters.
10167 * frame-x.c: (x_initialize_frame_size): take into account the
10170 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
10172 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
10174 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
10176 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
10178 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10180 * file-coding.c (reset_decoding_stream): Clear previous
10181 detection state when autodetect.
10183 2000-02-29 Didier Verna <didier@xemacs.org>
10185 * extents.c (set_extent_glyph_1): don't require extents to be
10188 2000-02-27 Andy Piper <andy@xemacs.org>
10190 * gutter.c (Fset_default_gutter_position): don't default left and
10191 right gutter visibility to t.
10192 (Fset_default_gutter_position): run
10193 default-gutter-position-changed-hook.
10194 (syms_of_gutter): add default-gutter-position-changed-hook.
10196 2000-02-26 Andy Piper <andy@xemacs.org>
10198 * specifier.c (Fmake_specifier): add gutter references.
10200 * gutter.h (RAW_WINDOW_GUTTER): new macro.
10202 * lisp.h: declare Fvalid_plist_p.
10204 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
10206 (default_gutter_visible_p_changed_in_window): invalidate gutter as
10207 well as its visibility so that it gets reconstructed.
10208 (construct_window_gutter_spec): new function. Construct a string
10209 to be displayed in the gutter from a plist of strings. Take care
10210 to only use elements that are declared as visible.
10211 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
10213 (gutter_validate): allow plists of strings in the specifier.
10214 (gutter_specs_changed): construct the real_gutter from the gutter
10215 specs using construct_window_gutter_spec.
10216 (gutter_visible_validate): gutter-visible is a new specifier type.
10217 (Fgutter_visible_specifier_p): new function for the new specifier.
10218 (syms_of_gutter): declare gutter-visible and
10219 Fgutter_visible_specifier_p.
10220 (specifier_type_create_gutter): intitalize new gutter-visible
10222 (reinit_specifier_type_create_gutter): ditto.
10223 (specifier_vars_of_gutter): use new specifier type for gutter
10225 (init_frame_gutters): construct real_gutter correctly.
10226 (Fgutter_specifier_p): beef up documentation.
10227 (Fgutter_size_specifier_p): ditto.
10229 * winslots.h: add real_gutter slots.
10231 2000-02-25 Andy Piper <andy@xemacs.org>
10233 * device-msw.c: Be kind to older cygwin versions. From Raymond
10234 Toy <toy@rtp.ericsson.se>.
10236 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
10237 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
10239 2000-02-25 Martin Buchholz <martin@xemacs.org>
10241 * elhash.c (MARK_OBJ): Practice macro hygiene.
10243 2000-02-24 Martin Buchholz <martin@xemacs.org>
10245 * miscplay.c: s/__inline__/inline/g;
10246 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
10247 (get_device_compdc): INLINE ==> static inline
10248 * *.[ch]: Change INLINE to INLINE_HEADER globally.
10249 find -name '*.h' | \
10250 xargs global-replace \
10251 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
10253 2000-02-25 Andy Piper <andy@xemacs.org>
10255 * window.c (window_top_frame_gutter_height): new function.
10256 (window_top_window_gutter_height): ditto.
10257 (window_top_gutter_height): use them.
10258 (window_bottom_frame_gutter_height): new function.
10259 (window_bottom_window_gutter_height): ditto.
10260 (window_bottom_gutter_height): use them.
10261 (window_left_window_gutter_width): new function.
10262 (window_left_frame_gutter_width): ditto.
10263 (window_left_gutter_width): use them.
10264 (window_right_window_gutter_width): new function.
10265 (window_right_frame_gutter_width): ditto.
10266 (window_right_gutter_width): use them.
10267 (window_pixel_height): new function. calulate window pixel height
10268 with frame gutter involvement.
10269 (Fsplit_window): calculate new sizes taking frame gutters into
10271 (window_char_height_to_pixel_height): don't include frame gutters.
10272 (window_char_height): use window_pixel_height.
10273 (window_pixheight): rename from window_pixel_height.
10274 (change_window_height): use it.
10275 (window_pixel_height_to_char_height): don't include frame gutters.
10276 (window_char_width_to_pixel_width): ditto.
10278 2000-02-25 Andy Piper <andy@xemacs.org>
10280 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
10283 2000-02-24 Martin Buchholz <martin@xemacs.org>
10285 * alloc.c (staticpro):
10286 (staticpro_nodump):
10291 (compact_string_chars):
10292 (pdump_dump_wired):
10293 Convert: if (foo) abort(); ==> assert (! foo);
10295 * eldap.c (Fldap_search_basic):
10299 Fix compiler warnings, and possible crashes if (random) return
10300 value were to be used.
10302 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10304 * device-msw.c: Workaround ResetDC failure.
10306 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
10307 applying a devmode.
10309 * redisplay-msw.c (get_frame_dc): Added start_page_p.
10310 (mswindows_text_width): Do not start printer page.
10312 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
10314 * glyphs-msw.c: Added image methods to msprinter console and
10315 msprinter-specific image instantiation.
10317 2000-02-20 Mike Alexander <mta@arbortext.com>
10319 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
10320 to avoid crashes when selection-sets-clipboard is on
10321 (mswindows_own_selection): ditto
10323 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10326 * redisplay-msw.c (get_frame_dc):
10327 (get_frame_compdc):
10329 * device-msw.c (mswindows_init_device):
10330 (mswindows_delete_device):
10331 (msprinter_init_device):
10332 (msprinter_delete_device):
10333 * frame-msw.c (mswindows_init_frame_1):
10334 (mswindows_delete_frame):
10335 (msprinter_init_frame_3):
10336 (msprinter_delete_frame): Move compatible DC to device object from
10337 frame object, for both mswindows and msprinter. Only one at a time
10338 is needed, it is a real waste to have one per frame!
10340 2000-02-23 Andy Piper <andy@xemacs.org>
10342 * glyphs.c: add dynamic width and height elements.
10343 (image_instance_equal): ditto.
10345 * glyphs-widget.c (widget_query_geometry): calculate width and
10346 height dynamically if required.
10347 (initialize_widget_image_instance): initialize dynamic dimensions.
10348 (widget_instantiate): pick-up dynamic dimensions.
10350 * glyphs.h (struct Lisp_Image_Instance): add width and height for
10351 dynamic determination. Add appropriate macros.
10353 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
10355 (WINDOW_GUTTER_SIZE): ditto.
10356 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
10358 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
10360 (get_frame_dc): ditto.
10362 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
10365 2000-02-23 Martin Buchholz <martin@xemacs.org>
10367 * XEmacs 21.2.31 is released.
10369 2000-02-22 Ben Wing <ben@xemacs.org>
10371 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
10373 2000-02-22 Andy Piper <andy@xemacs.org>
10375 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
10377 2000-02-21 Mike Sperber <mike@xemacs.org>
10381 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
10384 2000-02-21 Mike Sperber <mike@xemacs.org>
10386 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
10388 2000-02-21 Martin Buchholz <martin@xemacs.org>
10390 * XEmacs 21.2.30 is released.
10392 2000-02-20 Martin Buchholz <martin@xemacs.org>
10394 Performance hacking.
10396 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
10397 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
10398 * emacs.c (main_1):
10400 * console.c (DEFVAR_CONSOLE_LOCAL_1):
10401 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
10402 * symeval.h (DEFVAR_SYMVAL_FWD):
10403 * symbols.c (guts_of_unbound_marker):
10404 Make all c_readonly objects also lisp_readonly and marked for life.
10405 * lrecord.h (struct lrecord_implementation):
10406 Document flags better.
10407 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
10408 * lrecord.h (DECLARE_LRECORD):
10409 * lrecord.h (XSETRECORD):
10410 * lrecord.h (RECORDP):
10411 * lrecord.h (RECORD_TYPEP):
10412 * lrecord.h (RECORD_MARKER): New.
10413 * lrecord.h (error_check_*):
10414 * lrecord.h (CONCHECK_NONRECORD):
10415 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
10416 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
10417 * lrecord.h (set_lheader_implementation):
10418 * lrecord.h (enum lrecord_type): New.
10419 * symeval.h (SYMBOL_VALUE_MAGIC_P):
10420 * alloc.c (disksave_object_finalization_1):
10421 * alloc.c (mark_object):
10422 * alloc.c (lrecord_type_index):
10423 * alloc.c (tick_lcrecord_stats):
10424 * alloc.c (Fgarbage_collect):
10425 * alloc.c (init_alloc_once_early):
10426 * alloc.c (pdump_load):
10427 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
10428 * alloc.c (lrecord_type_index): Delete.
10429 Make lisp object type indexes be constant.
10430 Makes (byte-compile) 5% faster.
10431 Put all marker functions into their own array.
10432 Makes (garbage-collect) 5% faster.
10433 Optimize SYMBOL_VALUE_MAGIC_P.
10434 Makes (byte-compile) 2-3% faster.
10435 * config.h.in (gc_checking_assert): New.
10436 * alloc.c: Use gc_checking_assert().
10437 * .dbxrc: Make compatible with new object type implementation.
10438 * .gdbinit: Make compatible with new object type implementation.
10439 * alloc.c: Delete all symbols defined only for debugging, such as
10440 Lisp_Type_Vector and lrecord_charset.
10442 2000-02-21 Andy Piper <andy@xemacs.org>
10444 * gui-msw.c (Fmswindows_shell_execute): fix file location
10447 * buffer.c (Fkill_buffer): remove buffer from alist buffer
10448 unshowing so that set_window_buffer doesn't undo
10449 kill_buffer_hook's hard work.
10451 * glyphs-widget.c (tab_control_query_geometry): don't count the
10452 first item when calculating geometry.
10454 * glyphs.c (map_subwindow): remove redundant code.
10455 (update_frame_subwindows): be more circumspect about when to
10458 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
10459 when items haven't changed. Update faces if faces have changed as
10460 well as just the widget face.
10461 (x_tab_control_update): Update faces if faces have changed as well
10462 as just the widget face.
10464 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
10466 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
10468 (build_syscolor_string): Use mswindows_color_to_string to try to
10470 (mswindows_device_system_metrics): Reverse the foreground and
10471 background colors so that they match the documentation.
10473 * objects-msw.c: (mswindows_X_color_map): tweak some values so
10474 they match the default Windows palette.
10475 (mswindows_color_to_string): New function.
10477 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
10479 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
10481 2000-02-18 Olivier Galibert <galibert@pobox.com>
10483 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
10484 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
10486 * symbols.c (init_symbols_once_early): Removed obsolete
10487 DATA_SEG_BITS related kludge.
10488 (defvar_magic): Ditto.
10490 * malloc.c: Removed obsolete DATA_SEG_BITS
10492 * mem-limits.h: Ditto.
10494 * Makefile.in.in: Removed obsolete HAVE_SHM
10497 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
10499 * device-msw.c (mswindows_delete_device): Free DDE string
10502 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10504 * keymap.c (get_keyelt):
10505 * unexnt.c (unexec):
10506 * vm-limit.c (memory_warnings):
10507 * ntheap.c (recreate_heap):
10508 * ntheap.h (UNINIT_PTR):
10509 * select-msw.c (Fmswindows_get_clipboard):
10510 (Fmswindows_set_clipboard):
10511 * objects-msw.h (MSWINDOWS_BAD_HFONT):
10513 * menubar-msw.c (displayable_menu_item):
10515 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
10516 * sysdep.c (sys_subshell):
10517 * process-nt.c (nt_create_process):
10518 * nt.c (normalize_filename):
10519 (dostounix_filename):
10520 (unixtodos_filename):
10521 * ntproc.c (win32_executable_type):
10522 * ntplay.c (play_sound_data_1):
10524 * editfns.c (get_home_directory):
10525 * event-msw.c (struct winsock_stream):
10526 (mswindows_dde_callback):
10527 * device-msw.c (msprinter_init_device):
10528 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
10530 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
10531 mswindows_clear_toolbar were swapped!
10533 * objects-msw.c:(colormap_t):
10535 * emacs.c (struct standard_args): Fixed const jumble.
10537 * glyphs-widget.c (update_widget): Fixed comparison notation.
10539 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
10541 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
10542 __declspec(noreturn) syntax.
10544 2000-02-19 Martin Buchholz <martin@xemacs.org>
10546 * eldap.c (Fldap_open):
10547 (Fldap_search_basic):
10550 Use new coding system conversion macros.
10552 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10554 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
10556 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
10558 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
10559 (Fldap_add, Fldap_modify, Fldap_delete): New functions
10561 * eldap.c (Qadd, Qreplace): New constant symbols
10562 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
10563 interruptions by XEmacs signals
10564 Remove unnecessary calls to slow_down_interrupts and
10565 speed_up_interrupts
10566 (Fldap_search_basic): Renamed from Fldap_search_internal
10567 Added new optional parameter VERBOSE that triggers the
10568 display of progress messages
10569 Remove unnecessary calls to slow_down_interrupts and
10570 speed_up_interrupts
10571 LDAP result code analysis rewritten
10572 (Fldap_add, Fldap_modify, Fldap_delete): New functions
10573 (syms_of_eldap): Define the new symbols and functions
10576 2000-02-17 Martin Buchholz <martin@xemacs.org>
10578 * realpath.c: Determine PATH_MAX maximally portably.
10580 * insdel.c (bytecount_to_charcount): Optimize.
10581 The function used to be optimized for entirely ASCII sequences.
10582 Now it is optimized for successive characters from the same
10583 charset. This also wins big for _mostly_ ASCII sequences.
10585 * fileio.c (Ffile_truename): convert return from realpath() using
10586 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
10587 - Rewrite GCPROing slightly.
10589 * sysdep.c (sys_open): Do filename conversion, like all other
10590 sys_* functions. Fixes bug:
10591 (let ((file-name-coding-system 'iso-8859-2))
10592 (write-region x y latin2-name))
10593 ==> writes filename using internal encoding.
10595 2000-02-18 Martin Buchholz <martin@xemacs.org>
10597 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
10598 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
10599 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
10600 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
10601 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
10602 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
10603 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
10604 (CONST_IF_NOT_DEBUG): Delete.
10605 * alloc.c (this_one_is_unmarkable): Delete.
10606 (mark_object): Don't check for this_one_is_unmarkable. Use the
10607 c_readonly flag instead.
10608 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
10610 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
10612 * event-msw.c (mswindows_drain_windows_queue):
10613 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
10614 away redundant repaint events.
10616 2000-02-17 Andy Piper <andy@xemacs.org>
10618 * redisplay.h: declare mark_redisplay_structs.
10620 * redisplay.c (redisplay_window):
10621 (redisplay_frame): don't check subwindows_state_changed.
10622 (mark_redisplay): mark gutters here.
10624 * glyphs.c: (instantiate_image_instantiator): always layout if we
10625 haven't done so already.
10626 (allocate_image_instance): don't mark as dirty.
10627 (update_subwindow): bind inhibit_quit.
10629 * gutter.c (mark_gutters): new function.
10631 * glyphs-x.c (x_update_widget): Always resize to get round a
10634 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
10635 breaking absolutely everything.
10637 * gutter.h: declare mark_gutters.
10639 2000-02-16 Martin Buchholz <martin@xemacs.org>
10641 * XEmacs 21.2.29 is released.
10643 2000-02-15 Olivier Galibert <galibert@pobox.com>
10645 * fns.c (size_bit_vector): Fix computation of the size.
10647 2000-02-15 Martin Buchholz <martin@xemacs.org>
10649 * *.[ch]: Change CONST to const globally.
10650 find -name '*.[ch]' | \
10651 xargs global-replace \
10652 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
10653 - Remove vestigial references to CONST_IS_LOSING
10655 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
10657 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
10658 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
10659 events instead of dispatching them directly.
10660 (mswindows_handle_paint): New function to do repainting.
10661 (mswindows_wnd_proc):
10662 (emacs_mswindows_handle_magic_event): Call above function.
10664 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
10666 * objects-msw.c (mswindows_create_font_variant): Return the new
10668 (initialize_font_instance): Get font metrics from the underlined
10669 variant of the font to cope with the case where the underlined
10670 font has a bigger descent.
10672 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
10674 * gui.c (gui_item_accelerator): Return the first underlined
10675 character in item name.
10677 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10679 * lisp.h: Added Qprinter.
10681 * general.c (syms_of_general): Initialized it.
10683 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
10685 (get_frame_compdc): Made inline.
10687 * console.h (struct console_methods): Added eject_page method.
10689 * frame.h: Added FRAME_DISPLAY_P and friends.
10690 Aligned backslahes in many macros in more readable fashion.
10691 Added page_number to struct frame, and an accessor macro
10694 * defice.h: Added DEVICE_DISPLAY_P and friends.
10696 * device.c (Fdevice_printer_p): Used these.
10698 * frame.c (allocate_frame_core): Initialize page number.
10699 (Fprint_job_page_number):
10700 (Fprint_job_eject_page): Implemented.
10702 * frame-msw.c (msprinter_eject_page): Added method.
10703 (msprinter_start_page): Added.
10705 * window.c (Fwindow_truncated_p): Fixed docstring.
10706 (Fwindow_last_line_visible_height): Implemented.
10708 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10710 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
10712 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10714 * syntax.c (scan_words): Always advance at least one character.
10716 2000-02-13 Andy Piper <andy@xemacs.org>
10718 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
10719 to make sure the glyph is in the cachels.
10721 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
10722 global image instance flag.
10723 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
10724 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
10726 * glyphs.c (allocate_image_instance): set dirty bits correctly.
10727 (Fset_image_instance_property): mark layout as changed.
10728 (invalidate_glyph_geometry_maybe): mark layout as changed.
10729 (glyph_width): use new NEEDS_LAYOUT macro.
10730 (glyph_ascent): ditto.
10731 (glyph_descent): ditto.
10732 (glyph_height): ditto.
10733 (image_instance_layout): mark layout as clean after laying out.
10734 (update_subwindow): don't mark layout as clean here.
10736 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
10737 should no longer be needed.
10739 * glyphs-x.c (x_update_widget): sanitize asserts.
10740 (x_finalize_image_instance): sanitize assignment to widgets.
10742 * glyphs-widget.c (widget_instantiate): don't need to clear the
10745 2000-02-13 Martin Buchholz <martin@xemacs.org>
10747 * sysdep.c (getcwd): Use standard prototype.
10748 * sysdep.h (getcwd): Use standard prototype.
10750 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
10751 (sequence, start, end).
10752 Remove redundant type checking.
10753 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
10754 view of `caller-protects') to avoid a crash where the real fix was
10757 2000-02-12 Martin Buchholz <martin@xemacs.org>
10759 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
10761 * s/sol2.h: Remove feature macro initialization.
10763 * alloc.c (alloc_lcrecord): Add more type checking assertions.
10764 (vector_hash): New. Code from internal_hash.
10766 Fix up allocation subsystem comments.
10768 * config.h.in: Add __EXTENSIONS__ for Solaris.
10770 * systime.h (EMACS_GETTIMEOFDAY): New.
10771 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
10772 Remove Solaris-specific code.
10773 Use void* for the (ignored) second arg for gettimeofday().
10775 * elhash.c (hash_table_hash): Implement it, finally.
10776 * elhash.c: Use hashcode_t.
10778 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
10779 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
10781 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
10782 * fns.c (size_bit_vector):
10783 * alloc.c (size_vector):
10784 (make_vector_internal):
10785 (make_bit_vector_internal):
10786 (sweep_bit_vectors_1):
10787 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
10789 2000-02-10 Martin Buchholz <martin@xemacs.org>
10791 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
10792 Include strings.h to avoid warnings for bzero and strcasecmp.
10794 2000-02-10 Olivier Galibert <galibert@pobox.com>
10796 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
10797 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
10799 * fns.c (size_bit_vector): New. Declare bit vectors as a
10802 2000-02-10 Olivier Galibert <galibert@pobox.com>
10804 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
10805 use a value field instead.
10806 (symbol_value_forward_forward): Use value field.
10807 (DEFVAR_SYMVAL_FWD): Use value field.
10808 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
10809 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
10810 (DEFVAR_CONST_INT): Ditto.
10811 (DEFVAR_BOOL): Ditto.
10812 (DEFVAR_CONST_BOOL): Ditto.
10813 (DEFVAR_INT_MAGIC): Ditto.
10814 (DEFVAR_BOOL_MAGIC): Ditto.
10816 * symbols.c (guts_of_unbound_marker): Use value field.
10817 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
10818 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
10820 * lisp.h: Declare dumpopaque and noninteractive1.
10822 * alloc.c (dumpopaque): Added.
10823 (pdump_dump_opaquevec): Added.
10824 (pdump): Call pdump_dump_opaquevec to dump opaque data.
10825 (pdump_load): Reload opaque data. Sync noninteractive1 with
10828 2000-02-10 Andy Piper <andy@xemacs.org>
10830 * glyphs.c (image_instance_layout): if the size changes, mark it
10833 * redisplay-output.c (redisplay_output_layout): Update the
10835 (redisplay_output_subwindow): ditto.
10837 * glyphs.c (update_subwindow): make sure we reset flags for
10838 layouts as well as everything else.
10840 * glyphs-widget.c (layout_layout): don't need to set the instances
10843 2000-02-09 Martin Buchholz <martin@xemacs.org>
10845 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
10846 not HAVE_DLOPEN, which is a lower-level thing.
10848 * .cvsignore: Ignore gmon.out
10850 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
10852 * .cvsignore: Ignore portable dumper xemacs.dmp file
10854 2000-02-09 Andy Piper <andy@xemacs.org>
10856 * redisplay-output.c (redisplay_output_layout): be more clever
10857 about when we output based on the changed flags.
10859 * glyphs.h (struct image_instantiator_methods): add update_method.
10860 (struct Lisp_Image_Instance): add changed flags. Declare new
10861 macros for manipulating them.
10863 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
10864 (image_instance_parent_glyph): find an image_instance's parent
10865 glyph or image_instance.
10866 (image_instance_layout): mark the size as changed.
10867 (set_image_instance_dirty_p): new function. mark an image
10868 instance, plus all of its parents, as dirty.
10869 (Fset_image_instance_property): use it.
10870 (Fglyph_animated_timeout_handler): use it.
10871 (update_subwindow): call update_widget and device methods for
10872 update_subwindow. Mark all changed flags as clean.
10873 (Fresize_subwindow): mark size as changed.
10875 * glyphs-x.c (x_finalize_image_instance): try and detect gc
10877 (x_update_subwindow): only resize subwindows here.
10878 (x_update_widget): new function. Update all changed properties of
10880 (x_resize_subwindow): deleted.
10881 (x_widget_set_property): deleted.
10882 (x_progress_gauge_set_property): deleted.
10883 (x_progress_gauge_update): new function. Implement recorded
10885 (x_tab_control_update): ditto.
10886 (x_tab_control_set_property): deleted.
10887 (console_type_create_glyphs_x): declare new functions.
10888 (image_instantiator_format_create_glyphs_x): ditto.
10890 * glyphs-widget.c (widget_set_property): mark text changed.
10891 (update_widget): new function. Update properties of a widget.
10892 (widget_instantiate): for layouts make sure we set their
10893 children's parent correctly.
10894 (tab_control_set_property): new function. Record changes that will
10895 take place under redisplay's control.
10896 (progress_gauge_set_property): ditto.
10897 (image_instantiator_progress_guage): declare new functions.
10898 (image_instantiator_tab_control): ditto.
10900 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
10902 (mswindows_update_widget): new function. Update all properties on
10903 a widget that have changed.
10904 (mswindows_button_update): new function. Update a button's set
10906 (mswindows_tab_control_update): new function. Update the items in
10908 (mswindows_tab_control_set_property): deleted.
10909 (mswindows_progress_gauge_update): new function. Update the
10910 progress gauge's progress.
10911 (mswindows_widget_set_property): deleted. This is all done
10912 asynchronously now.
10913 (mswindows_progress_gauge_set_property): ditto.
10914 (console_type_create_glyphs_mswindows): declare new methods.
10915 (image_instantiator_format_create_glyphs_mswindows): ditto.
10917 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
10918 (msprinter_set_frame_properties): ditto.
10920 * console.h (struct console_methods): Add update_widget_method.
10922 2000-02-09 Andy Piper <andy@xemacs.org>
10924 * gui-msw.c (Fmswindows_shell_execute): Make
10925 mswindows-shell-execute industrial strength.
10927 2000-02-08 Martin Buchholz <martin@xemacs.org>
10929 * lrecord.h: Make macro argument `props' match member function `plist'.
10932 * fns.c (Fremprop):
10933 * fns.c (Fobject_plist):
10936 Object property list frobbing cleanup.
10937 - Allow any lisp object (compared with `eq'), not just symbols, as
10938 keys in object plists.
10939 - Move symbol plist frobbing into symbols.c, where it belongs.
10940 - Move string plist frobbing into alloc.c, where it belongs.
10941 - Everything's an lrecord now, so no need to test for symbolp, etc.
10942 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
10944 * extents.c: Reorder code to remove declarations.
10946 * frame.h (store_in_alist): Remove useless declaration.
10948 2000-02-07 Martin Buchholz <martin@xemacs.org>
10950 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
10951 * config.h.in: Add HAVE_XCONVERTCASE.
10953 2000-02-07 Andy Piper <andy@xemacs.org>
10955 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
10956 it breaks many things.
10958 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
10960 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
10961 actually can start a common comment type.
10962 * src/syntax.h (SYNTAX_END_P): ditto for end.
10964 2000-02-07 Martin Buchholz <martin@xemacs.org>
10966 * XEmacs 21.2.28 is released.
10968 2000-02-06 Martin Buchholz <martin@xemacs.org>
10970 * event-Xt.c (x_keysym_to_character): New.
10971 (maybe_define_x_key_as_self_inserting_character): New.
10972 (x_has_keysym): New.
10973 Auto-define all keys on the keyboard as self-insert-key.
10975 2000-02-02 Martin Buchholz <martin@xemacs.org>
10977 * menubar.c (vars_of_menubar): A small code simplification.
10979 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
10982 * ExternalClient.c:
10983 * EmacsShell-sub.c:
10986 Use consistent style for specifying X resources.
10988 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
10989 This makes (dontusethis-set-symbol-value-handler) actually usable.
10991 * lrecord.h (lrecord_decription_type):
10992 * alloc.c (pdump_register_sub):
10995 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
10996 Comply with XEmacs coding style.
10997 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
10998 args, and XD_LISP_OBJECT_ARRAY with 3 args.
11000 * keymap.c (Faccessible_keymaps):
11001 Make (accessible-keymaps map "\C-h") do the Right Thing.
11002 Make (accessible-keymaps map []) do the Right Thing.
11003 Make (accessible-keymaps map "") do the Right Thing.
11004 (check_keymap_definition_loop): New function.
11005 (keymap_store_internal): Keep luser from shooting self in foot,
11006 via (define-key ctl-x-4-map "p" global-map).
11007 Remove fullness slot from struct Lisp_Keymap, since hash tables
11009 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
11011 2000-01-30 Martin Buchholz <martin@xemacs.org>
11013 * redisplay.c (init_redisplay): Fix small memory leak.
11015 * elhash.c (pdump_reorganize_hash_table):
11016 Rename from reorganize_hash_table. Change prototype.
11017 Reuse the original memory for hentries. Save 100k.
11018 * alloc.c (PDUMP_READ): new macro.
11019 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
11020 * alloc.c: No need to #ifndef before #undef.
11022 * print.c: Allow debug_print() to print readably by modifying
11023 debug_print_readably. Use consistent variable names.
11025 * .dbxrc: Try to get things to work even if stopped in a function
11026 without source available by explicitly specifying source files.
11027 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11029 * unexnt.c (_start): Removed bogus code which caused loading heap
11030 from differrent executable file.
11031 Removed bogus assignment to _fmode, which caused inconsistencies.
11033 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11035 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
11036 Have spawnve encapsulation regard DONT_ENCAPSULATE.
11037 Do not preliminary `#define signal sigset'.
11039 * systime.h: Do not prototype environ on windows nt and cygwin,
11040 this conflicts with system header.
11042 * syssignal.h: Use correct define for WINDOWSNT
11044 * sysdep.h: Do not prototype environ on windows nt, this conflicts
11045 with system header.
11047 * sysdep.c (near start of file): Fixed commentary and rearranged
11048 ifdefs in readable order.
11049 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
11052 (end_of_data): Do not compile in if using PDUMP.
11054 * symsinit.h: Prototyped vars_of_nt().
11056 * ntproc.c (windows9x_p): Added, instead of os_subtype.
11057 (find_child_console): Use it.
11058 (sys_kill): Use it.
11060 * ntheap.h: Do not extern os_subtype.
11062 * ntheap.c (cache_system_info): Do not cache unneeded:
11063 nt_major_version, nt_minor_version and os_subtype.
11064 (recreate_heap): Do not compile in when PDUMPing.
11066 * nt.c (geteuid and friends): Use the new varibale
11067 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
11068 (init_user_info): Removed the above mentioned hackery.
11069 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
11070 stat has been fixed in the C runtime.
11071 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
11073 * file-coding.c (struct file_coding_dump): Do not define
11074 ucs_to_mule_table in the struct if not MULE.
11075 (struct struct lrecord_description fcd_description_1): Do not dump
11078 * emacs.c (main_1): Call vars_of_nt().
11079 (right before Fdump_emacs_data): Don't need lastfile if using both
11080 portabe dumper and system malloc.
11082 * alloc.c (Fmemory_limit): Conditionalized out.
11083 (pdump): Use OPEN_BINARY for the portable dump file.
11084 (pdump_load): Ditto.
11086 2000-02-02 Mike Alexander <mta@arbortext.com>
11088 * nt.c (convert_time): Set tm_isdst before calling mktime and
11089 avoid calling it at all if the compiler supports 64 bit integers.
11090 Also initialize utc_base_ft before using it.
11092 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
11094 * frame.c (change_frame_size_1): Take f->internal_border_width
11095 into consideration when calculating the width of the frame.
11097 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11099 * window.c (frame_min_height):
11100 (frame_size_valid_p):
11101 (frame_pixsize_valid_p): Added.
11102 (check_frame_size): Generalized.
11104 * window.h: Prototyped the above.
11107 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
11108 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
11109 Deleted Vwin32_* and Vbinary_process_* unused variables.
11111 * device-msw.c (msprinter_init_device): Do not get printer font
11112 list; Added DEVMODE functions.
11114 * frame-msw.c: Added lots of printer code.
11116 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
11119 * console-msw.h: Added more msprinter device private slots.
11121 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11123 * event-msw.c (key_needs_default_processing_p): Added.
11124 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
11126 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11128 * glyphs.c (image_instance_layout): Mark image instance as clean
11130 (glyph_dirty_p): Removed redundant function.
11131 (invalidate_glyph_geometry_maybe): Added.
11132 (update_glyph_cachel_data): Call it.
11134 * glyphs.h: Prototyped it.
11136 * redisplay.c (add_glyph_rune): Call it.
11137 (redisplay_window): Reset glyphs cachels when frame faces have
11138 changed, thus forcing recomputation of built-in border glyphs.
11140 2000-01-30 Martin Buchholz <martin@xemacs.org>
11142 * Makefile.in.in: Make portable dumper and purify play well together.
11143 Add imperfect, but better than nothing, support for pdump.
11144 Remove xemacs.dmp when temacs is re-generated.
11145 Don't ignore errors when dumping xemacs.
11147 * symbols.c (maybe_call_magic_handler): Remove one magic number.
11149 2000-01-28 Andy Piper <andy@xemacs.org>
11151 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
11152 (setup_normal_frame): ditto.
11153 (setup_frame_without_minibuffer): ditto.
11154 (setup_minibuffer_frame): ditto.
11155 (delete_frame_internal): ditto.
11156 (Fmake_frame_invisible): ditto.
11157 (Ficonify_frame): ditto.
11159 * window.h: change Fset_window_buffer signature.
11161 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
11162 (Fset_window_buffer): allow recording of buffer if the window is
11163 the selected window.
11164 (window_loop): Use new Fset_window signature.
11166 2000-01-23 Daniel Pittman <daniel@danann.net>
11168 * config.h.in: Added template for `HAVE_ATHENA_3D'
11170 2000-01-29 Andy Piper <andy@xemacs.org>
11172 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
11174 * gutter.c (output_gutter): Don't output if the window isn't live.
11176 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11178 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
11179 of 01/12/00: Moved SetFocus back here where it belongs.
11181 2000-01-23 Andy Piper <andy@xemacs.org>
11183 * s/cygwin32.h: declare printer things.
11185 2000-01-26 Andy Piper <andy@xemacs.org>
11187 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
11190 2000-01-24 Andy Piper <andy@xemacs.org>
11192 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
11193 (mswindows_button_instantiate): Make sure glyph is a pixmap.
11195 * glyphs-widget.c (widget_instantiate): Avoid shadows.
11197 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
11199 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
11201 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
11202 (mswindows_output_display_block): Avoid local shadows.
11204 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
11205 (mswindows_enqueue_mouse_button_event): ditto.
11206 (mswindows_handle_gui_wm_command): remove declaration.
11208 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
11211 * console-msw.h: Avoid shadows.
11212 (mswindows_get_toolbar_button_text):
11213 (emacs_mswindows_create_stream_pair):
11214 (emacs_mswindows_delete_stream_pair):
11215 (mswindows_handle_toolbar_wm_command): declare.
11217 * device-msw.c (build_syscolor_string): Avoid shadows.
11219 2000-01-23 Andy Piper <andy@xemacs.org>
11221 * glyphs-widget.c (widget_instantiate): reverse the items for
11222 layouts so that children are in the expected order.
11224 2000-01-28 Martin Buchholz <martin@xemacs.org>
11226 * ralloc.c: safe_bcopy ==> memmove
11227 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
11228 * s/msdos.h: Remove BCOPY macros.
11229 * insdel.c (gap_right): Remove BCOPY conditional code.
11230 * insdel.c (gap_left): Remove BCOPY conditional code.
11231 XEmacs demands a working ANSI C compiler - hence memmove.
11233 * regex.c (regex_compile): Remove accidental use of trigraphs.
11235 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11237 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
11240 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11242 * event-msw.c (mswindows_drain_windows_queue): Added the
11244 (mswindows_need_event): Commented the call to
11245 mswindows_drain_windows_queue().
11246 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
11249 * console-msw.h: Moved a few function prototypes here from
11252 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
11253 parameter from unsigned short to unsigned long.
11254 (Fmswindows_shell_execute): Added return value.
11256 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
11258 * sysdep.c (init_system_name):
11259 process-unix.c (unix_canonicalized_host_name):
11260 Don't call freeaddrinfo() if getaddrinfo() fails.
11262 * process-unix.c (unix_open_unix_network_stream):
11263 Moved the code to get a port # into address loop.
11265 2000-01-27 Martin Buchholz <martin@xemacs.org>
11267 * buffer.c (reinit_vars_of_buffer):
11268 The right place to initialize conversion_in_dynarr and
11269 conversion_out_dynarr.
11271 * alloc.c (pdump): Use the real open() till sys_open() is functional.
11273 * process-unix.c (unix_canonicalize_host_name): Muleize.
11274 (unix_open_network_stream): Muleize.
11276 * buffer.h: Fix up prototypes for ralloc.c functions.
11278 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
11279 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
11280 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
11281 instead of gethostbyname()
11282 * process-unix.c: In unix_canonicalize_host_name() and
11283 unix_open_network_stream(), add code to use getaddrinfo()
11284 instead of gethostbyname().
11286 2000-01-27 Daniel Pittman <daniel@danann.net>
11288 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
11289 libs when built with flat Athena.
11291 2000-01-27 Martin Buchholz <martin@xemacs.org>
11293 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
11294 Use coding standards for function prototypes.
11296 2000-01-25 Martin Buchholz <martin@xemacs.org>
11298 * dialog-msw.c (push_lisp_string_as_unicode):
11299 * doc.c (unparesseuxify_doc_string):
11300 * dired.c (Fuser_name_completion_1):
11301 * dired.c (Fuser_name_all_completions):
11302 * dired.c (free_user_cache):
11303 * dired.c (user_name_completion):
11304 * console-x.c (get_display_arg_connection):
11305 * minibuf.c (clear_echo_area_internal):
11306 * minibuf.c (echo_area_append):
11307 * eldap.c (Fldap_open):
11308 * eldap.c (Fldap_search_internal):
11309 * frame-x.c (x_set_frame_text_value):
11310 * frame-x.c (x_set_frame_properties):
11311 * frame-x.c (x_create_widgets):
11312 * redisplay-tty.c (term_get_fkeys_1):
11313 * objects-x.c (x_parse_nearest_color):
11314 * objects-x.c (x_valid_color_name_p):
11315 * objects-x.c (x_initialize_font_instance):
11316 * objects-x.c (x_list_fonts):
11317 * objects-x.c (x_find_charset_font):
11318 * tooltalk.c (Fadd_tooltalk_message_arg):
11319 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
11320 * tooltalk.c (Fadd_tooltalk_pattern_arg):
11321 * process-unix.c (unix_create_process):
11322 * ntproc.c (sys_spawnve):
11323 * sound.c (Fplay_sound_file):
11324 * sound.c (Fplay_sound):
11325 * buffer.c (init_initial_directory):
11326 * buffer.c (init_buffer):
11327 * editfns.c (init_editfns):
11328 * editfns.c (Ftemp_directory):
11329 * editfns.c (Fuser_full_name):
11330 * editfns.c (uncache_home_directory):
11331 * editfns.c (get_home_directory):
11332 * editfns.c (Fuser_home_directory):
11333 * editfns.c (Fformat_time_string):
11334 * editfns.c (Fcurrent_time_string):
11335 * gui-x.c (button_item_to_widget_value):
11336 * database.c (Fopen_database):
11337 * event-Xt.c (x_to_emacs_keysym):
11338 * event-Xt.c (x_event_to_emacs_event):
11339 * event-Xt.c (describe_event_window):
11340 * event-msw.c (mswindows_wnd_proc):
11341 * glyphs-eimage.c (jpeg_instantiate):
11342 * glyphs-eimage.c (gif_instantiate):
11343 * glyphs-eimage.c (png_instantiate):
11344 * glyphs-eimage.c (tiff_instantiate):
11345 * glyphs-x.c (xbm_instantiate_1):
11346 * glyphs-x.c (x_xbm_instantiate):
11347 * glyphs-x.c (x_xface_instantiate):
11348 * glyphs-x.c (autodetect_instantiate):
11349 * glyphs-x.c (cursor_font_instantiate):
11350 * glyphs-x.c (x_widget_instantiate):
11351 * glyphs-x.c (x_widget_set_property):
11352 * glyphs-x.c (x_widget_property):
11353 * glyphs-x.c (BUILD_GLYPH_INST):
11354 * print.c (write_string_to_stdio_stream):
11355 * print.c (output_string):
11356 * print.c (Falternate_debugging_output):
11357 * print.c (Fexternal_debugging_output):
11358 * glyphs-msw.c (extract_xpm_color_names):
11359 * glyphs-msw.c (mswindows_xpm_instantiate):
11360 * glyphs-msw.c (bmp_instantiate):
11361 * glyphs-msw.c (resource_name_to_resource):
11362 * glyphs-msw.c (mswindows_resource_instantiate):
11363 * glyphs-msw.c (xbm_instantiate_1):
11364 * glyphs-msw.c (mswindows_xbm_instantiate):
11365 * glyphs-msw.c (mswindows_xface_instantiate):
11366 * glyphs-msw.c (mswindows_widget_instantiate):
11367 * glyphs-msw.c (add_tree_item):
11368 * glyphs-msw.c (add_tab_item):
11369 * glyphs-msw.c (mswindows_combo_box_instantiate):
11370 * glyphs-msw.c (mswindows_widget_property):
11371 * glyphs-msw.c (mswindows_combo_box_property):
11372 * glyphs-msw.c (mswindows_widget_set_property):
11373 * console.c (stuff_buffered_input):
11374 * objects-msw.c (mswindows_initialize_color_instance):
11375 * objects-msw.c (mswindows_valid_color_name_p):
11376 * objects-msw.c (mswindows_list_fonts):
11377 * objects-msw.c (mswindows_font_instance_truename):
11378 * bytecode.c (optimize_compiled_function):
11379 * select-x.c (symbol_to_x_atom):
11380 * select-x.c (x_atom_to_symbol):
11381 * select-x.c (hack_motif_clipboard_selection):
11382 * select-x.c (selection_data_to_lisp_data):
11383 * select-x.c (lisp_data_to_selection_data):
11384 * select-x.c (Fx_get_cutbuffer_internal):
11385 * select-x.c (Fx_store_cutbuffer_internal):
11386 * buffer.h (TO_EXTERNAL_FORMAT): New function.
11387 * buffer.h (TO_INTERNAL_FORMAT): New function.
11388 * emacs.c (make_arg_list_1):
11389 * emacs.c (make_argc_argv):
11390 * emacs.c (main_1):
11391 * emacs.c (Fdump_emacs):
11392 * emacs.c (split_string_by_emchar_1):
11397 * device-x.c (x_init_device):
11398 * device-x.c (Fx_valid_keysym_name_p):
11399 * device-x.c (Fx_get_font_path):
11400 * device-x.c (Fx_set_font_path):
11401 * glyphs.c (bitmap_to_lisp_data):
11402 * glyphs.c (pixmap_to_lisp_data):
11403 * alloc.c (make_ext_string): Use coding system arguments. Update
11405 * alloc.c (build_string):
11406 * callproc.c (child_setup):
11407 * callproc.c (init_callproc):
11408 * fileio.c (lisp_strerror):
11409 * fileio.c (directory_file_name):
11410 * fileio.c (Fexpand_file_name):
11411 * fileio.c (Ffile_truename):
11412 * fileio.c (Fsysnetunam):
11413 * fileio.c (Fdo_auto_save):
11414 * sysdep.c (sys_readdir):
11415 * tests.c: New file. Allow adding C tests.
11416 Replace GET_* macros with a more comprehensible and flexible
11417 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
11419 Any coding system can be used to do format conversion.
11420 Eliminate enum external_data_format.
11421 Eliminate convert_to_external_format.
11422 Eliminate convert_to_internal_format.
11423 Make sure file-name, keyboard, terminal, and ctext are always
11424 defined as coding systems or aliases. Make
11425 file-name-coding-system, terminal-coding-system, and
11426 keyboard-coding-system magical variables that are equivalent to
11427 defining the corresponding coding system aliases.
11429 * file-coding.c (Fcoding_system_canonical_name_p): New function.
11430 * file-coding.c (Fcoding_system_alias_p): New function.
11431 * file-coding.c (Fcoding_system_aliasee): New function.
11432 * file-coding.c (append_suffix_to_symbol): New function.
11433 * file-coding.c (dangling_coding_system_alias_p): New function.
11434 * file-coding.c (Ffind_coding_system):
11435 * file-coding.c (Fcopy_coding_system):
11436 * file-coding.c (encode_coding_no_conversion):
11437 * file-coding.c (syms_of_file_coding):
11438 * file-coding.c (vars_of_file_coding):
11439 Rewrite coding system alias code.
11440 Allow nested aliases, like symbolic links.
11441 Allow redefinition of coding system aliases.
11442 Prevent existence of dangling coding system aliases.
11444 * dired.c (Fuser_name_completion_1):
11445 * dired.c (Fuser_name_all_completions):
11446 A crash would happen if user did QUIT in the middle of building
11447 user_name_cache. Remove redundant code in mainline and unwind_protect.
11450 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
11452 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
11453 an unsigned char *. Update all callers.
11455 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11457 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
11459 2000-01-25 Martin Buchholz <martin@xemacs.org>
11461 * elhash.c (hentry_description): Use more portable definition.
11462 (resize_hash_table): Initialize new hentries using
11463 xnew_array_and_zero, thereby simplifying the code.
11465 * mule-charset.c (make_charset): Make sure entire object is
11466 initialized, to avoid Purify warnings.
11468 * alloc.c (resize_string): Fix unlikely crash with big strings.
11470 2000-01-24 Martin Buchholz <martin@xemacs.org>
11472 * realpath.c (xrealpath):
11473 Don't call getwd().
11475 2000-01-25 Martin Buchholz <martin@xemacs.org>
11477 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
11479 1999-12-28 Max Matveev <max@melbourne.sgi.com>
11481 * unexelfsgi.c (unexec): Change the way we decide which segment
11482 should be extended.
11484 Assumption that .bss section should be outside the PT_LOADable
11485 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
11486 it's present) is inside the 'data' segment. This would fail the
11487 test which was used to find a segment to grow and cover new
11488 heap. Instead of this assumption, I created another one - on IRIX
11489 the segment to grow should start below .bss and it's address
11490 should extent above the end of .bss. Once this segment is
11491 identified, it's grown to accommodate the new heap and new
11492 zero-length .bss section is added at the end of .data2.
11494 2000-01-25 Martin Buchholz <martin@xemacs.org>
11496 * eval.c (Feval): Wrong number of arguments should use original
11497 function, not the indirect_function version of it.
11499 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11501 * glyphs-x.c (x_button_instantiate): Don't add image if
11502 it is not a pixmap.
11503 (x_locate_pixmap_file): Call Fexpand_file_name when file name
11506 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
11508 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
11510 (DEFVAR_INT_MAGIC): Ditto.
11511 (DEFVAR_BOOL_MAGIC): Ditto.
11512 * glyphs.h: Reindent backslash.
11514 2000-01-24 Martin Buchholz <martin@xemacs.org>
11516 * glyphs-widget.c (layout_query_geometry):
11517 (layout_layout): Use correct types for gheight, gwidth.
11519 2000-01-24 Martin Buchholz <martin@xemacs.org>
11521 * EmacsManager.c (QueryGeometry): Purified.
11523 2000-01-23 Martin Buchholz <martin@xemacs.org>
11525 * alloc.c (make_float): Make sure entire object is initialized, to
11526 avoid Purify warnings.
11527 (pdump_register_sub): Remove useless assignment.
11528 (pdump): Use xmalloc, not malloc.
11529 (pdump_load): Use xmalloc, not malloc.
11531 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11538 * sysdep.c: Removed redundant #include <windows.h>
11540 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11542 * frame.c (delete_frame_internal): Do not delete device when its
11543 implementation so declares.
11544 (delete_frame_internal): Set device selected frame to nil when
11545 last frame goes away.
11547 * device-msw.c (msprinter_device_system_metrics): Implemented.
11548 (mswindows_device_system_metrics): Added 'device-dpi property.
11550 * device.c: (Fdevice_printer_p): Added.
11551 Added 'offset-workspace device metric.
11553 * console.h (device_metrics): Declared DM_offset_workspace.
11555 2000-01-23 Martin Buchholz <martin@xemacs.org>
11557 * fileio.c (Ffile_truename): Remove pointless and confusing
11558 initialization of elen.
11560 * glyphs-widget.c: Compiler warning fixes.
11562 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
11564 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
11565 instead of a Lisp_Object as argument to make it consistent with
11566 the other LIVE_P macros.
11567 (CHECK_LIVE_PROCESS): New macro.
11569 * process.c: Declare Qprocess_live_p.
11570 (Fprocess_live_p): New function.
11571 (create_process): Use PROCESS_LIVE_P.
11572 (read_process_output): Ditto.
11573 (set_process_filter): Ditto.
11574 (Fdelete_process): Ditto.
11575 (kill_buffer_processes): Ditto
11576 (process_send_signal): Use CHECK_LIVE_PROCESS.
11577 (Fprocess_input_coding_system): Check whether process is still
11578 alive (fix PR#1061).
11579 (Fprocess_output_coding_system): Ditto.
11580 (Fprocess_coding_system): Ditto.
11581 (Fset_process_input_coding_system): Ditto.
11582 (Fset_process_output_coding_system): Ditto.
11584 2000-01-23 Andy Piper <andy@xemacs.org>
11586 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
11589 * glyphs.c (mark_image_instance): take into account changed
11590 image_instance format.
11591 (image_instance_equal): ditto.
11592 (image_instance_hash): ditto.
11594 * glyphs-widget.c (widget_instantiate): Incorporate layout
11595 instantiation here. Delay layout of the layout until later.
11596 (layout_instantiate): deleted.
11597 (layout_query_geometry): new function. get the geometry of a
11599 (layout_layout): layout a layout dynamically.
11600 (image_instantiator_widget): New function - splitting up
11601 image_instantiator_format_create_glyphs_widget for netwinder
11603 (image_instantiator_buttons):
11604 (image_instantiator_edit_fields):
11605 (image_instantiator_combo_box):
11606 (image_instantiator_scrollbar):
11607 (image_instantiator_progress_guage):
11608 (image_instantiator_tree_view):
11609 (image_instantiator_tab_control):
11610 (image_instantiator_labels):
11611 (image_instantiator_layout): ditto.
11612 (image_instantiator_format_create_glyphs_widget): Call preceding
11615 2000-01-22 Martin Buchholz <martin@xemacs.org>
11617 * process.c (Fset_process_coding_system):
11618 * device-x.c (Fx_keysym_hash_table):
11621 * lstream.c (Lstream_write): Return documented value, not 0.
11623 * fileio.c (directory_file_name):
11624 (Fsubstitute_in_file_name):
11625 (Fsubstitute_insert_file_contents_internal):
11626 (Fwrite_region_internal):
11631 Remove vestigial APOLLO-conditional code.
11633 2000-01-21 Martin Buchholz <martin@xemacs.org>
11635 * getpagesize.h: Add guard macros.
11636 * libsst.h: Add guard macros.
11637 * libst.h: Add guard macros.
11638 * line-number.h: Add guard macros.
11639 * ndir.h: Add guard macros.
11640 * sysfloat.h: Add guard macros.
11641 * sysfile.h: Add guard macros.
11642 * sysproc.h: Add guard macros.
11643 * syswait.h: Add guard macros.
11644 * xintrinsic.h: Add guard macros.
11645 * xintrinsicp.h: Add guard macros.
11646 * xmmanager.h: Add guard macros.
11647 * xmmanagerp.h: Add guard macros.
11648 * xmprimitive.h: Add guard macros.
11649 * xmu.h: Add guard macros.
11650 * gpmevent.h: Add copyright statement. Add guard macros.
11651 * miscplay.h: Add guard macros.
11652 * *.h: Use consistent C-standards-approved guard macro names.
11654 * opaque.c (make_opaque): Switch parameter order.
11655 * opaque.h (make_opaque): Switch parameter order.
11656 Update all callers.
11657 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
11659 * config.h.in (type_checking_assert): Added.
11660 (bufpos_checking_assert): Added.
11662 2000-01-21 Martin Buchholz <martin@xemacs.org>
11664 * alloc.c: Harmless pdump changes.
11666 - spell alignment correctly.
11667 * sysdep.c: Use countof()
11669 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11671 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
11672 initially_selected_for_input() console method, default to 0.
11673 (semi_canonicalize_console_connection): Try to delegate to
11674 canonicalize_console_connection if no such console method.
11675 (canonicalize_console_connection): Vice versa.
11676 (print_console): Do not print nil connection.
11678 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
11679 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
11680 (XDEVIMPF_FRAMELESS_OK): Added.
11681 (CONSOLE_INHERITS_METHOD): Added.
11683 * console-msw.c (mswindows_canonicalize_console_connection):
11685 (mswindows_canonicalize_device_connection): Added.
11687 * console-msw.h (struct msprinter_device): Added this struct and
11689 (mswindows_device): Made fontlist a lisp object.
11691 * device.c (semi_canonicalize_device_connection): Try to delegate
11692 to canonicalize_device_connection if no such console method.
11693 (canonicalize_device_connection): Vice versa.
11694 (print_device): Do not print nil connection.
11696 * device-msw.c (mswindows_init_device): Call InitCommonControls
11698 (mswindows_delete_device): Removed fontlist deallocation.
11699 (mswindows_mark_device): Added.
11701 * events.c (event_equal): Added abort() at unreached code.
11702 (event_hash): Ditto.
11704 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
11705 fallback tags of Windows devices.
11707 * general.c (syms_of_general): Initialized Qmsprinter.
11709 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
11710 of fallback tags of Windows devices.
11712 * lisp.h: Declared Qmsprinter.
11714 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
11716 (mswindows_list_fonts): Ditto.
11717 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
11718 that it can be used by both mswindows and msprinter devices.
11719 (initialize_font_instance): Added.
11720 (mswindows_initialize_font_instance): Use it.
11721 (msprinter_initialize_font_instance): Added.
11723 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
11724 and implementation flags check.
11725 (redisplay_without_hooks): Changed the call to the above.
11726 (Fredraw_device): Ditto.
11727 (Fredisplay_device): Ditto.
11729 * redisplay-msw.c (get_frame_dc): Implemented.
11730 (get_frame_compdc): Implemented.
11731 (many functions): Use the two functions above to get device
11732 contexts, ether for a window or a printer.
11734 2000-01-21 Olivier Galibert <galibert@pobox.com>
11736 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
11737 initialization here.
11738 (init_symbols_once_early): Call it.
11739 * emacs.c (main_1): Call it.
11740 * symsinit.h: Declare it.
11742 2000-01-19 Olivier Galibert <galibert@pobox.com>
11744 * alloc.c: Use a lrecord_header * in the backtrace instead of a
11746 (pdump_backtrace): Ditto.
11747 (pdump_register_object): Ditto. Cleanup use of the pointers.
11748 (pdump_get_entry): Abort if trying to register a null pointer.
11749 (pdump_dump_data): Cleanup types when relocating.
11750 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
11751 (pdump_dump_rtables): Remove bad casts.
11752 (pdump_load): Cleanup relocation w.r.t union type. Use a
11753 Lisp_Object instead of a EMACS_INT for the hashtable
11756 2000-01-20 Martin Buchholz <martin@xemacs.org>
11758 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
11760 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
11762 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
11764 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
11766 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11768 * faces.h (FACE_STRIKETHRU_P): Added.
11770 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
11773 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
11774 (mswindows_set_dc_font): New function, aware of font variants,
11775 separated from mswindows_update_dc.
11777 * objects-msw.h (struct mswindows_font_instance_data): Added
11780 * objects-msw.c (mswindows_finalize_font_instance): Delete all
11781 cached fonts and the data structure.
11782 (mswindows_initialize_font_instance): Added creation of font data
11784 (mswindows_print_font_instance): Print at least something.
11785 (mswindows_create_font_variant): Implemented.
11786 (mswindows_get_hfont): Implemented.
11788 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
11790 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
11791 prototyping problem with msvc.
11793 * emacs.c (main_1): added syms_of_gui_mswindows() call
11795 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
11796 syms_of_gui_mswindows() function
11798 * symsinit.h: added the prototype for syms_of_gui_mswindows()
11800 2000-01-18 Martin Buchholz <martin@xemacs.org>
11802 * XEmacs 21.2.27 is released.
11804 2000-01-18 Martin Buchholz <martin@xemacs.org>
11806 * glyphs-eimage.c (struct tiff_error_struct):
11808 (tiff_warning_func):
11809 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
11814 * unexec.c: Remove vestigial Lucid C code.
11818 * libsst.c: Ansify.
11819 Remove declarations of errno and strerror().
11821 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
11823 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
11825 2000-01-16 Martin Buchholz <martin@xemacs.org>
11827 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
11830 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11835 Change enum eol_type to eol_type_t.
11837 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11839 * gui.c (get_gui_callback): Check cons before accessing car.
11841 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11843 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
11844 (XSETSPECIFIER_TYPE): Ditto.
11846 2000-01-17 Didier Verna <didier@xemacs.org>
11848 * redisplay.c (generate_fstring_runes): compute string size in
11849 characters, not bytes.
11851 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
11853 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
11855 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
11857 * print.c (print_error_message): Call print_prepare().
11859 2000-01-14 Martin Buchholz <martin@xemacs.org>
11861 * .dbxrc: Renamed from dbxrc.
11863 * events.c (event_to_character):
11864 Use `assert (foo)' instead of `if (!foo) abort()'
11866 * .gdbinit (xtype): Add documentation.
11867 * .gdbinit (check-temacs): New function.
11868 * .gdbinit (check-xemacs): New function.
11869 * dbxrc (check-xemacs): New function.
11870 * dbxrc (check-xemacs): New function.
11872 2000-01-14 Andy Piper <andy@xemacs.org>
11874 * glyphs-widget.c (widget_query_geometry): Make sure that we
11875 calculate default dimensions correctly.
11877 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11879 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
11881 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
11882 pdump_wire'd variable.
11884 * emacs.c: (main_1): Conditionalized calls to
11885 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
11887 2000-01-13 Martin Buchholz <martin@xemacs.org>
11889 * window.c (Fset_window_configuration):
11890 * sysdep.c (_start):
11891 * input-method-motif.c (res):
11892 * event-Xt.c (Xt_process_to_emacs_event):
11893 Simple compiler warning fixes.
11895 * bytecode.c (funcall_compiled_function): Use the original
11896 function symbol on the backtrace list in preference to the
11897 compiled_function object in error messages.
11899 2000-01-13 Andy Piper <andy@xemacs.org>
11901 * glyphs-x.c (update_widget_face): Make sure we update the widget
11902 background as well as foreground.
11904 2000-01-13 Andy Piper <andy@xemacs.org>
11906 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
11907 fields to subwindow.
11908 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
11909 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
11910 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
11911 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
11913 * glyphs-widget.c (check_valid_tab_orientation): new function.
11914 (initialize_widget_image_instance): zero orientation and
11916 (widget_instantiate): pick up orientation.
11917 (tab_control_query_geometry): return appropriate values for
11920 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
11921 appropriate creation flags for left, right and bottom tabs.
11923 * s/cygwin32.h: add tab definitions.
11925 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11927 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
11928 frame upon hiding a subwindow.
11929 (mswindows_button_instantiate): Changed the push button style to
11931 (mswindows_button_instantiate): Removed button BS_NOTIFY
11933 (mswindows_button_instantiate): Removed redundant check for
11934 a disabled gui item.
11935 (mswindows_button_instantiate): Made use of WS_TABSTOP
11936 consistent: "operable" controls (edit, button, tree, scroll) have
11937 this style, "display-only" ones (static, progress gauge) do
11938 not. This style is currently ignored by XEmacs though. Also,
11939 removed the WS_EX_CONTROLPARENT style - it is not for children,
11940 it is for their parents!
11941 (mswindows_edit_field_instantiate): Ditto.
11942 (mswindows_progress_gauge_instantiate): Ditto.
11943 (mswindows_tree_view_instantiate): Ditto.
11944 (mswindows_tab_control_instantiate): Ditto.
11945 (mswindows_scrollbar_instantiate): Ditto.
11946 (mswindows_combo_box_instantiate): Ditto.
11947 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
11948 style to the "clip" window.
11949 (mswindows_button_instantiate): Removed compilation warning by
11950 equally typing terms of the ?: operator.
11952 2000-01-12 Didier Verna <didier@xemacs.org>
11954 * redisplay.c (generate_fstring_runes): new parameter holding the
11955 last modeline-format extent.
11956 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
11957 extent, fill the glyph block with it.
11958 (generate_fstring_runes): handle these parameters.
11959 (generate_formatted_string_db): ditto.
11961 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
11962 glyphs'extents in the modeline.
11964 1999-01-11 Mike Woolley <mike@bulsara.com>
11966 * ntheap.c: Reduced the reserved heap space from 1Gb down to
11967 256Mb, as a workaround for the non-starting problem many people
11970 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
11972 * console-tty.c (Fset_console_tty_output_coding_system):
11973 Force redrawing tty frame.
11975 2000-01-10 Didier Verna <didier@xemacs.org>
11977 * redisplay.c (generate_fstring_runes): fix size computation bug.
11979 2000-01-09 William M. Perry <wmperry@aventail.com>
11981 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
11983 2000-01-09 Andy Piper <andy@xemacs.org>
11985 * glyphs-msw.c: index -> i to avoid shadows.
11986 (xbm_create_bitmap_from_data): make static.
11987 (check_valid_string_or_int): deleted.
11988 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
11990 * glyphs-x.c (x_update_subwindow): remove unused args.
11992 * glyphs.c (glyph_image_instance): return the thing. Don't set the
11993 back pointer - this is done in allocate_image_instance.
11994 (query_string_font): return Qnil to make the compiler happy.
11995 (unmap_subwindow): set to ~0 to make the compiler happy.
11996 (glyph_query_geometry): comment out until used.
11997 (glyph_layout): ditto.
11999 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
12001 * insdel.c (signal_after_change): Remove extraneous unbind_to().