1 2000-02-16 Martin Buchholz <martin@xemacs.org>
3 * XEmacs 21.2.29 is released.
5 2000-02-15 Olivier Galibert <galibert@pobox.com>
7 * fns.c (size_bit_vector): Fix computation of the size.
9 2000-02-15 Martin Buchholz <martin@xemacs.org>
11 * *.[ch]: Change CONST to const globally.
12 find -name '*.[ch]' | \
13 xargs global-replace \
14 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
15 - Remove vestigial references to CONST_IS_LOSING
17 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
19 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
20 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
21 events instead of dispatching them directly.
22 (mswindows_handle_paint): New function to do repainting.
24 (emacs_mswindows_handle_magic_event): Call above function.
26 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
28 * objects-msw.c (mswindows_create_font_variant): Return the new
30 (initialize_font_instance): Get font metrics from the underlined
31 variant of the font to cope with the case where the underlined
32 font has a bigger descent.
34 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
36 * gui.c (gui_item_accelerator): Return the first underlined
37 character in item name.
39 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
41 * lisp.h: Added Qprinter.
43 * general.c (syms_of_general): Initialized it.
45 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
47 (get_frame_compdc): Made inline.
49 * console.h (struct console_methods): Added eject_page method.
51 * frame.h: Added FRAME_DISPLAY_P and friends.
52 Aligned backslahes in many macros in more readable fashion.
53 Added page_number to struct frame, and an accessor macro
56 * defice.h: Added DEVICE_DISPLAY_P and friends.
58 * device.c (Fdevice_printer_p): Used these.
60 * frame.c (allocate_frame_core): Initialize page number.
61 (Fprint_job_page_number):
62 (Fprint_job_eject_page): Implemented.
64 * frame-msw.c (msprinter_eject_page): Added method.
65 (msprinter_start_page): Added.
67 * window.c (Fwindow_truncated_p): Fixed docstring.
68 (Fwindow_last_line_visible_height): Implemented.
70 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
72 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
74 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
76 * syntax.c (scan_words): Always advance at least one character.
78 2000-02-13 Andy Piper <andy@xemacs.org>
80 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
81 to make sure the glyph is in the cachels.
83 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
84 global image instance flag.
85 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
86 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
88 * glyphs.c (allocate_image_instance): set dirty bits correctly.
89 (Fset_image_instance_property): mark layout as changed.
90 (invalidate_glyph_geometry_maybe): mark layout as changed.
91 (glyph_width): use new NEEDS_LAYOUT macro.
92 (glyph_ascent): ditto.
93 (glyph_descent): ditto.
94 (glyph_height): ditto.
95 (image_instance_layout): mark layout as clean after laying out.
96 (update_subwindow): don't mark layout as clean here.
98 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
99 should no longer be needed.
101 * glyphs-x.c (x_update_widget): sanitize asserts.
102 (x_finalize_image_instance): sanitize assignment to widgets.
104 * glyphs-widget.c (widget_instantiate): don't need to clear the
107 2000-02-13 Martin Buchholz <martin@xemacs.org>
109 * sysdep.c (getcwd): Use standard prototype.
110 * sysdep.h (getcwd): Use standard prototype.
112 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
113 (sequence, start, end).
114 Remove redundant type checking.
115 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
116 view of `caller-protects') to avoid a crash where the real fix was
119 2000-02-12 Martin Buchholz <martin@xemacs.org>
121 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
123 * s/sol2.h: Remove feature macro initialization.
125 * alloc.c (alloc_lcrecord): Add more type checking assertions.
126 (vector_hash): New. Code from internal_hash.
128 Fix up allocation subsystem comments.
130 * config.h.in: Add __EXTENSIONS__ for Solaris.
132 * systime.h (EMACS_GETTIMEOFDAY): New.
133 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
134 Remove Solaris-specific code.
135 Use void* for the (ignored) second arg for gettimeofday().
137 * elhash.c (hash_table_hash): Implement it, finally.
138 * elhash.c: Use hashcode_t.
140 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
141 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
143 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
144 * fns.c (size_bit_vector):
145 * alloc.c (size_vector):
146 (make_vector_internal):
147 (make_bit_vector_internal):
148 (sweep_bit_vectors_1):
149 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
151 2000-02-10 Martin Buchholz <martin@xemacs.org>
153 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
154 Include strings.h to avoid warnings for bzero and strcasecmp.
156 2000-02-10 Olivier Galibert <galibert@pobox.com>
158 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
159 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
161 * fns.c (size_bit_vector): New. Declare bit vectors as a
164 2000-02-10 Olivier Galibert <galibert@pobox.com>
166 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
167 use a value field instead.
168 (symbol_value_forward_forward): Use value field.
169 (DEFVAR_SYMVAL_FWD): Use value field.
170 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
171 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
172 (DEFVAR_CONST_INT): Ditto.
173 (DEFVAR_BOOL): Ditto.
174 (DEFVAR_CONST_BOOL): Ditto.
175 (DEFVAR_INT_MAGIC): Ditto.
176 (DEFVAR_BOOL_MAGIC): Ditto.
178 * symbols.c (guts_of_unbound_marker): Use value field.
179 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
180 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
182 * lisp.h: Declare dumpopaque and noninteractive1.
184 * alloc.c (dumpopaque): Added.
185 (pdump_dump_opaquevec): Added.
186 (pdump): Call pdump_dump_opaquevec to dump opaque data.
187 (pdump_load): Reload opaque data. Sync noninteractive1 with
190 2000-02-10 Andy Piper <andy@xemacs.org>
192 * glyphs.c (image_instance_layout): if the size changes, mark it
195 * redisplay-output.c (redisplay_output_layout): Update the
197 (redisplay_output_subwindow): ditto.
199 * glyphs.c (update_subwindow): make sure we reset flags for
200 layouts as well as everything else.
202 * glyphs-widget.c (layout_layout): don't need to set the instances
205 2000-02-09 Martin Buchholz <martin@xemacs.org>
207 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
208 not HAVE_DLOPEN, which is a lower-level thing.
210 * .cvsignore: Ignore gmon.out
212 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
214 * .cvsignore: Ignore portable dumper xemacs.dmp file
216 2000-02-09 Andy Piper <andy@xemacs.org>
218 * redisplay-output.c (redisplay_output_layout): be more clever
219 about when we output based on the changed flags.
221 * glyphs.h (struct image_instantiator_methods): add update_method.
222 (struct Lisp_Image_Instance): add changed flags. Declare new
223 macros for manipulating them.
225 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
226 (image_instance_parent_glyph): find an image_instance's parent
227 glyph or image_instance.
228 (image_instance_layout): mark the size as changed.
229 (set_image_instance_dirty_p): new function. mark an image
230 instance, plus all of its parents, as dirty.
231 (Fset_image_instance_property): use it.
232 (Fglyph_animated_timeout_handler): use it.
233 (update_subwindow): call update_widget and device methods for
234 update_subwindow. Mark all changed flags as clean.
235 (Fresize_subwindow): mark size as changed.
237 * glyphs-x.c (x_finalize_image_instance): try and detect gc
239 (x_update_subwindow): only resize subwindows here.
240 (x_update_widget): new function. Update all changed properties of
242 (x_resize_subwindow): deleted.
243 (x_widget_set_property): deleted.
244 (x_progress_gauge_set_property): deleted.
245 (x_progress_gauge_update): new function. Implement recorded
247 (x_tab_control_update): ditto.
248 (x_tab_control_set_property): deleted.
249 (console_type_create_glyphs_x): declare new functions.
250 (image_instantiator_format_create_glyphs_x): ditto.
252 * glyphs-widget.c (widget_set_property): mark text changed.
253 (update_widget): new function. Update properties of a widget.
254 (widget_instantiate): for layouts make sure we set their
255 children's parent correctly.
256 (tab_control_set_property): new function. Record changes that will
257 take place under redisplay's control.
258 (progress_gauge_set_property): ditto.
259 (image_instantiator_progress_guage): declare new functions.
260 (image_instantiator_tab_control): ditto.
262 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
264 (mswindows_update_widget): new function. Update all properties on
265 a widget that have changed.
266 (mswindows_button_update): new function. Update a button's set
268 (mswindows_tab_control_update): new function. Update the items in
270 (mswindows_tab_control_set_property): deleted.
271 (mswindows_progress_gauge_update): new function. Update the
272 progress gauge's progress.
273 (mswindows_widget_set_property): deleted. This is all done
275 (mswindows_progress_gauge_set_property): ditto.
276 (console_type_create_glyphs_mswindows): declare new methods.
277 (image_instantiator_format_create_glyphs_mswindows): ditto.
279 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
280 (msprinter_set_frame_properties): ditto.
282 * console.h (struct console_methods): Add update_widget_method.
284 2000-02-09 Andy Piper <andy@xemacs.org>
286 * gui-msw.c (Fmswindows_shell_execute): Make
287 mswindows-shell-execute industrial strength.
289 2000-02-08 Martin Buchholz <martin@xemacs.org>
291 * lrecord.h: Make macro argument `props' match member function `plist'.
295 * fns.c (Fobject_plist):
298 Object property list frobbing cleanup.
299 - Allow any lisp object (compared with `eq'), not just symbols, as
300 keys in object plists.
301 - Move symbol plist frobbing into symbols.c, where it belongs.
302 - Move string plist frobbing into alloc.c, where it belongs.
303 - Everything's an lrecord now, so no need to test for symbolp, etc.
304 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
306 * extents.c: Reorder code to remove declarations.
308 * frame.h (store_in_alist): Remove useless declaration.
310 2000-02-07 Martin Buchholz <martin@xemacs.org>
312 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
313 * config.h.in: Add HAVE_XCONVERTCASE.
315 2000-02-07 Andy Piper <andy@xemacs.org>
317 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
318 it breaks many things.
320 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
322 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
323 actually can start a common comment type.
324 * src/syntax.h (SYNTAX_END_P): ditto for end.
326 2000-02-07 Martin Buchholz <martin@xemacs.org>
328 * XEmacs 21.2.28 is released.
330 2000-02-06 Martin Buchholz <martin@xemacs.org>
332 * event-Xt.c (x_keysym_to_character): New.
333 (maybe_define_x_key_as_self_inserting_character): New.
335 Auto-define all keys on the keyboard as self-insert-key.
337 2000-02-02 Martin Buchholz <martin@xemacs.org>
339 * menubar.c (vars_of_menubar): A small code simplification.
341 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
348 Use consistent style for specifying X resources.
350 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
351 This makes (dontusethis-set-symbol-value-handler) actually usable.
353 * lrecord.h (lrecord_decription_type):
354 * alloc.c (pdump_register_sub):
357 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
358 Comply with XEmacs coding style.
359 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
360 args, and XD_LISP_OBJECT_ARRAY with 3 args.
362 * keymap.c (Faccessible_keymaps):
363 Make (accessible-keymaps map "\C-h") do the Right Thing.
364 Make (accessible-keymaps map []) do the Right Thing.
365 Make (accessible-keymaps map "") do the Right Thing.
366 (check_keymap_definition_loop): New function.
367 (keymap_store_internal): Keep luser from shooting self in foot,
368 via (define-key ctl-x-4-map "p" global-map).
369 Remove fullness slot from struct Lisp_Keymap, since hash tables
371 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
373 2000-01-30 Martin Buchholz <martin@xemacs.org>
375 * redisplay.c (init_redisplay): Fix small memory leak.
377 * elhash.c (pdump_reorganize_hash_table):
378 Rename from reorganize_hash_table. Change prototype.
379 Reuse the original memory for hentries. Save 100k.
380 * alloc.c (PDUMP_READ): new macro.
381 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
382 * alloc.c: No need to #ifndef before #undef.
384 * print.c: Allow debug_print() to print readably by modifying
385 debug_print_readably. Use consistent variable names.
387 * .dbxrc: Try to get things to work even if stopped in a function
388 without source available by explicitly specifying source files.
389 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
391 * unexnt.c (_start): Removed bogus code which caused loading heap
392 from differrent executable file.
393 Removed bogus assignment to _fmode, which caused inconsistencies.
395 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
397 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
398 Have spawnve encapsulation regard DONT_ENCAPSULATE.
399 Do not preliminary `#define signal sigset'.
401 * systime.h: Do not prototype environ on windows nt and cygwin,
402 this conflicts with system header.
404 * syssignal.h: Use correct define for WINDOWSNT
406 * sysdep.h: Do not prototype environ on windows nt, this conflicts
409 * sysdep.c (near start of file): Fixed commentary and rearranged
410 ifdefs in readable order.
411 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
414 (end_of_data): Do not compile in if using PDUMP.
416 * symsinit.h: Protptyped vars_of_nt().
418 * ntproc.c (windows9x_p): Added, instead of os_subtype.
419 (find_child_console): Use it.
422 * ntheap.h: Do not extern os_subtype.
424 * ntheap.c (cache_system_info): Do not cache unneeded:
425 nt_major_version, nt_minor_version and os_subtype.
426 (recreate_heap): Do not compile in when PDUMPing.
428 * nt.c (geteuid and friends): Use the new varibale
429 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
430 (init_user_info): Removed the above mentioned hackery.
431 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
432 stat has been fixed in the C runtime.
433 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
435 * file-coding.c (struct file_coding_dump): Do not define
436 ucs_to_mule_table in the struct if not MULE.
437 (struct struct lrecord_description fcd_description_1): Do not dump
440 * emacs.c (main_1): Call vars_of_nt().
441 (right before Fdump_emacs_data): Don't need lastfile if using both
442 portabe dumper and system malloc.
444 * alloc.c (Fmemory_limit): Conditionalized out.
445 (pdump): Use OPEN_BINARY for the portable dump file.
448 2000-02-02 Mike Alexander <mta@arbortext.com>
450 * nt.c (convert_time): Set tm_isdst before calling mktime and
451 avoid calling it at all if the compiler supports 64 bit integers.
452 Also initialize utc_base_ft before using it.
454 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
456 * frame.c (change_frame_size_1): Take f->internal_border_width
457 into consideration when calculating the width of the frame.
459 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
461 * window.c (frame_min_height):
462 (frame_size_valid_p):
463 (frame_pixsize_valid_p): Added.
464 (check_frame_size): Generalized.
466 * window.h: Prototyped the above.
469 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
470 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
471 Deleted Vwin32_* and Vbinary_process_* unused variables.
473 * device-msw.c (msprinter_init_device): Do not get printer font
474 list; Added DEVMODE functions.
476 * frame-msw.c: Added lots of printer code.
478 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
481 * console-msw.h: Added more msprinter device private slots.
483 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
485 * event-msw.c (key_needs_default_processing_p): Added.
486 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
488 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
490 * glyphs.c (image_instance_layout): Mark image instance as clean
492 (glyph_dirty_p): Removed redundant function.
493 (invalidate_glyph_geometry_maybe): Added.
494 (update_glyph_cachel_data): Call it.
496 * glyphs.h: Prototyped it.
498 * redisplay.c (add_glyph_rune): Call it.
499 (redisplay_window): Reset glyphs cachels when frame faces has
500 changed, thus forcing recomputation of built-in border glyphs.
502 2000-01-30 Martin Buchholz <martin@xemacs.org>
504 * Makefile.in.in: Make portable dumper and purify play well together.
505 Add imperfect, but better than nothing, support for pdump.
506 Remove xemacs.dmp when temacs is re-generated.
507 Don't ignore errors when dumping xemacs.
509 * symbols.c (maybe_call_magic_handler): Remove one magic number.
511 2000-01-28 Andy Piper <andy@xemacs.org>
513 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
514 (setup_normal_frame): ditto.
515 (setup_frame_without_minibuffer): ditto.
516 (setup_minibuffer_frame): ditto.
517 (delete_frame_internal): ditto.
518 (Fmake_frame_invisible): ditto.
519 (Ficonify_frame): ditto.
521 * window.h: change Fset_window_buffer signature.
523 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
524 (Fset_window_buffer): allow recording of buffer if the window is
526 (window_loop): Use new Fset_window signature.
528 2000-01-23 Daniel Pittman <daniel@danann.net>
530 * config.h.in: Added template for `HAVE_ATHENA_3D'
532 2000-01-29 Andy Piper <andy@xemacs.org>
534 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
536 * gutter.c (output_gutter): Don't output if the window isn't live.
538 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
540 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
541 of 01/12/00: Moved SetFocus back here where it belongs.
543 2000-01-23 Andy Piper <andy@xemacs.org>
545 * s/cygwin32.h: declare printer things.
547 2000-01-26 Andy Piper <andy@xemacs.org>
549 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
552 2000-01-24 Andy Piper <andy@xemacs.org>
554 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
555 (mswindows_button_instantiate): Make sure glyph is a pixmap.
557 * glyphs-widget.c (widget_instantiate): Avoid shadows.
559 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
561 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
563 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
564 (mswindows_output_display_block): Avoid local shadows.
566 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
567 (mswindows_enqueue_mouse_button_event): ditto.
568 (mswindows_handle_gui_wm_command): remove declaration.
570 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
573 * console-msw.h: Avoid shadows.
574 (mswindows_get_toolbar_button_text):
575 (emacs_mswindows_create_stream_pair):
576 (emacs_mswindows_delete_stream_pair):
577 (mswindows_handle_toolbar_wm_command): declare.
579 * device-msw.c (build_syscolor_string): Avoid shadows.
581 2000-01-23 Andy Piper <andy@xemacs.org>
583 * glyphs-widget.c (widget_instantiate): reverse the items for
584 layouts so that children are in the expected order.
586 2000-01-28 Martin Buchholz <martin@xemacs.org>
588 * ralloc.c: safe_bcopy ==> memmove
589 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
590 * s/msdos.h: Remove BCOPY macros.
591 * insdel.c (gap_right): Remove BCOPY conditional code.
592 * insdel.c (gap_left): Remove BCOPY conditional code.
593 XEmacs demands a working ANSI C compiler - hence memmove.
595 * regex.c (regex_compile): Remove accidental use of trigraphs.
597 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
599 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
602 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
604 * event-msw.c (mswindows_drain_windows_queue): Added the
606 (mswindows_need_event): Commented the call to
607 mswindows_drain_windows_queue().
608 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
611 * console-msw.h: Moved a few function prototypes here from
614 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
615 parameter from unsigned short to unsigned long.
616 (Fmswindows_shell_execute): Added return value.
618 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
620 * sysdep.c (init_system_name):
621 process-unix.c (unix_canonicalized_host_name):
622 Don't call freeaddrinfo() if getaddrinfo() fails.
624 * process-unix.c (unix_open_unix_network_stream):
625 Moved the code to get a port # into address loop.
627 2000-01-27 Martin Buchholz <martin@xemacs.org>
629 * buffer.c (reinit_vars_of_buffer):
630 The right place to initialize conversion_in_dynarr and
631 conversion_out_dynarr.
633 * alloc.c (pdump): Use the real open() till sys_open() is functional.
635 * process-unix.c (unix_canonicalize_host_name): Muleize.
636 (unix_open_network_stream): Muleize.
638 * buffer.h: Fix up prototypes for ralloc.c functions.
640 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
641 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
642 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
643 instead of gethostbyname()
644 * process-unix.c: In unix_canonicalize_host_name() and
645 unix_open_network_stream(), add code to use getaddrinfo()
646 instead of gethostbyname().
648 2000-01-27 Daniel Pittman <daniel@danann.net>
650 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
651 libs when built with flat Athena.
653 2000-01-27 Martin Buchholz <martin@xemacs.org>
655 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
656 Use coding standards for function prototypes.
658 2000-01-25 Martin Buchholz <martin@xemacs.org>
660 * dialog-msw.c (push_lisp_string_as_unicode):
661 * doc.c (unparesseuxify_doc_string):
662 * dired.c (Fuser_name_completion_1):
663 * dired.c (Fuser_name_all_completions):
664 * dired.c (free_user_cache):
665 * dired.c (user_name_completion):
666 * console-x.c (get_display_arg_connection):
667 * minibuf.c (clear_echo_area_internal):
668 * minibuf.c (echo_area_append):
669 * eldap.c (Fldap_open):
670 * eldap.c (Fldap_search_internal):
671 * frame-x.c (x_set_frame_text_value):
672 * frame-x.c (x_set_frame_properties):
673 * frame-x.c (x_create_widgets):
674 * redisplay-tty.c (term_get_fkeys_1):
675 * objects-x.c (x_parse_nearest_color):
676 * objects-x.c (x_valid_color_name_p):
677 * objects-x.c (x_initialize_font_instance):
678 * objects-x.c (x_list_fonts):
679 * objects-x.c (x_find_charset_font):
680 * tooltalk.c (Fadd_tooltalk_message_arg):
681 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
682 * tooltalk.c (Fadd_tooltalk_pattern_arg):
683 * process-unix.c (unix_create_process):
684 * ntproc.c (sys_spawnve):
685 * sound.c (Fplay_sound_file):
686 * sound.c (Fplay_sound):
687 * buffer.c (init_initial_directory):
688 * buffer.c (init_buffer):
689 * editfns.c (init_editfns):
690 * editfns.c (Ftemp_directory):
691 * editfns.c (Fuser_full_name):
692 * editfns.c (uncache_home_directory):
693 * editfns.c (get_home_directory):
694 * editfns.c (Fuser_home_directory):
695 * editfns.c (Fformat_time_string):
696 * editfns.c (Fcurrent_time_string):
697 * gui-x.c (button_item_to_widget_value):
698 * database.c (Fopen_database):
699 * event-Xt.c (x_to_emacs_keysym):
700 * event-Xt.c (x_event_to_emacs_event):
701 * event-Xt.c (describe_event_window):
702 * event-msw.c (mswindows_wnd_proc):
703 * glyphs-eimage.c (jpeg_instantiate):
704 * glyphs-eimage.c (gif_instantiate):
705 * glyphs-eimage.c (png_instantiate):
706 * glyphs-eimage.c (tiff_instantiate):
707 * glyphs-x.c (xbm_instantiate_1):
708 * glyphs-x.c (x_xbm_instantiate):
709 * glyphs-x.c (x_xface_instantiate):
710 * glyphs-x.c (autodetect_instantiate):
711 * glyphs-x.c (cursor_font_instantiate):
712 * glyphs-x.c (x_widget_instantiate):
713 * glyphs-x.c (x_widget_set_property):
714 * glyphs-x.c (x_widget_property):
715 * glyphs-x.c (BUILD_GLYPH_INST):
716 * print.c (write_string_to_stdio_stream):
717 * print.c (output_string):
718 * print.c (Falternate_debugging_output):
719 * print.c (Fexternal_debugging_output):
720 * glyphs-msw.c (extract_xpm_color_names):
721 * glyphs-msw.c (mswindows_xpm_instantiate):
722 * glyphs-msw.c (bmp_instantiate):
723 * glyphs-msw.c (resource_name_to_resource):
724 * glyphs-msw.c (mswindows_resource_instantiate):
725 * glyphs-msw.c (xbm_instantiate_1):
726 * glyphs-msw.c (mswindows_xbm_instantiate):
727 * glyphs-msw.c (mswindows_xface_instantiate):
728 * glyphs-msw.c (mswindows_widget_instantiate):
729 * glyphs-msw.c (add_tree_item):
730 * glyphs-msw.c (add_tab_item):
731 * glyphs-msw.c (mswindows_combo_box_instantiate):
732 * glyphs-msw.c (mswindows_widget_property):
733 * glyphs-msw.c (mswindows_combo_box_property):
734 * glyphs-msw.c (mswindows_widget_set_property):
735 * console.c (stuff_buffered_input):
736 * objects-msw.c (mswindows_initialize_color_instance):
737 * objects-msw.c (mswindows_valid_color_name_p):
738 * objects-msw.c (mswindows_list_fonts):
739 * objects-msw.c (mswindows_font_instance_truename):
740 * bytecode.c (optimize_compiled_function):
741 * select-x.c (symbol_to_x_atom):
742 * select-x.c (x_atom_to_symbol):
743 * select-x.c (hack_motif_clipboard_selection):
744 * select-x.c (selection_data_to_lisp_data):
745 * select-x.c (lisp_data_to_selection_data):
746 * select-x.c (Fx_get_cutbuffer_internal):
747 * select-x.c (Fx_store_cutbuffer_internal):
748 * buffer.h (TO_EXTERNAL_FORMAT): New function.
749 * buffer.h (TO_INTERNAL_FORMAT): New function.
750 * emacs.c (make_arg_list_1):
751 * emacs.c (make_argc_argv):
753 * emacs.c (Fdump_emacs):
754 * emacs.c (split_string_by_emchar_1):
759 * device-x.c (x_init_device):
760 * device-x.c (Fx_valid_keysym_name_p):
761 * device-x.c (Fx_get_font_path):
762 * device-x.c (Fx_set_font_path):
763 * glyphs.c (bitmap_to_lisp_data):
764 * glyphs.c (pixmap_to_lisp_data):
765 * alloc.c (make_ext_string): Use coding system arguments. Update
767 * alloc.c (build_string):
768 * callproc.c (child_setup):
769 * callproc.c (init_callproc):
770 * fileio.c (lisp_strerror):
771 * fileio.c (directory_file_name):
772 * fileio.c (Fexpand_file_name):
773 * fileio.c (Ffile_truename):
774 * fileio.c (Fsysnetunam):
775 * fileio.c (Fdo_auto_save):
776 * sysdep.c (sys_readdir):
777 * tests.c: New file. Allow adding C tests.
778 Replace GET_* macros with a more comprehensible and flexible
779 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
781 Any coding system can be used to do format conversion.
782 Eliminate enum external_data_format.
783 Eliminate convert_to_external_format.
784 Eliminate convert_to_internal_format.
785 Make sure file-name, keyboard, terminal, and ctext are always
786 defined as coding systems or aliases. Make
787 file-name-coding-system, terminal-coding-system, and
788 keyboard-coding-system magical variables that are equivalent to
789 defining the corresponding coding system aliases.
791 * file-coding.c (Fcoding_system_canonical_name_p): New function.
792 * file-coding.c (Fcoding_system_alias_p): New function.
793 * file-coding.c (Fcoding_system_aliasee): New function.
794 * file-coding.c (append_suffix_to_symbol): New function.
795 * file-coding.c (dangling_coding_system_alias_p): New function.
796 * file-coding.c (Ffind_coding_system):
797 * file-coding.c (Fcopy_coding_system):
798 * file-coding.c (encode_coding_no_conversion):
799 * file-coding.c (syms_of_file_coding):
800 * file-coding.c (vars_of_file_coding):
801 Rewrite coding system alias code.
802 Allow nested aliases, like symbolic links.
803 Allow redefinition of coding system aliases.
804 Prevent existence of dangling coding system aliases.
806 * dired.c (Fuser_name_completion_1):
807 * dired.c (Fuser_name_all_completions):
808 A crash would happen if user did QUIT in the middle of building
809 user_name_cache. Remove redundant code in mainline and unwind_protect.
812 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
814 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
815 an unsigned char *. Update all callers.
817 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
819 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
821 2000-01-25 Martin Buchholz <martin@xemacs.org>
823 * elhash.c (hentry_description): Use more portable definition.
824 (resize_hash_table): Initialize new hentries using
825 xnew_array_and_zero, thereby simplifying the code.
827 * mule-charset.c (make_charset): Make sure entire object is
828 intialized, to avoid Purify warnings.
830 * alloc.c (resize_string): Fix unlikely crash with big strings.
832 2000-01-24 Martin Buchholz <martin@xemacs.org>
834 * realpath.c (xrealpath):
837 2000-01-25 Martin Buchholz <martin@xemacs.org>
839 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
841 1999-12-28 Max Matveev <max@melbourne.sgi.com>
843 * unexelfsgi.c (unexec): Change the way we decide which segment
846 Assumption that .bss section should be outside the PT_LOADable
847 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
848 it's present) is inside the 'data' segment. This would fail the
849 test which was used to find a segment to grow and cover new
850 heap. Instead of this assumption, I created another one - on IRIX
851 the segment to grow should start below .bss and it's address
852 should extent above the end of .bss. Once this segment is
853 identified, it's grown to accommodate the new heap and new
854 zero-length .bss section is added at the end of .data2.
856 2000-01-25 Martin Buchholz <martin@xemacs.org>
858 * eval.c (Feval): Wrong number of arguments should use original
859 function, not the indirect_function version of it.
861 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
863 * glyphs-x.c (x_button_instantiate): Don't add image if
865 (x_locate_pixmap_file): Call Fexpand_file_name when file name
868 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
870 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
872 (DEFVAR_INT_MAGIC): Ditto.
873 (DEFVAR_BOOL_MAGIC): Ditto.
874 * glyphs.h: Reindent backslash.
876 2000-01-24 Martin Buchholz <martin@xemacs.org>
878 * glyphs-widget.c (layout_query_geometry):
879 (layout_layout): Use correct types for gheight, gwidth.
881 2000-01-24 Martin Buchholz <martin@xemacs.org>
883 * EmacsManager.c (QueryGeometry): Purified.
885 2000-01-23 Martin Buchholz <martin@xemacs.org>
887 * alloc.c (make_float): Make sure entire object is intialized, to
888 avoid Purify warnings.
889 (pdump_register_sub): Remove useless assignment.
890 (pdump): Use xmalloc, not malloc.
891 (pdump_load): Use xmalloc, not malloc.
893 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
900 * sysdep.c: Removed redundant #include <windows.h>
902 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
904 * frame.c (delete_frame_internal): Do not delete device when its
905 implementation so declares.
906 (delete_frame_internal): Set device selected frame to nil when
907 last frame goes away.
909 * device-msw.c (msprinter_device_system_metrics): Implemented.
910 (mswindows_device_system_metrics): Added 'device-dpi property.
912 * device.c: (Fdevice_printer_p): Added.
913 Added 'offset-workspace device metric.
915 * console.h (device_metrics): Declared DM_offset_workspace.
917 2000-01-23 Martin Buchholz <martin@xemacs.org>
919 * fileio.c (Ffile_truename): Remove pointless and confusing
920 initialization of elen.
922 * glyphs-widget.c: Compiler warning fixes.
924 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
926 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
927 instead of a Lisp_Object as argument to make it consistent with
928 the other LIVE_P macros.
929 (CHECK_LIVE_PROCESS): New macro.
931 * process.c: Declare Qprocess_live_p.
932 (Fprocess_live_p): New function.
933 (create_process): Use PROCESS_LIVE_P.
934 (read_process_output): Ditto.
935 (set_process_filter): Ditto.
936 (Fdelete_process): Ditto.
937 (kill_buffer_processes): Ditto
938 (process_send_signal): Use CHECK_LIVE_PROCESS.
939 (Fprocess_input_coding_system): Check whether process is still
941 (Fprocess_output_coding_system): Ditto.
942 (Fprocess_coding_system): Ditto.
943 (Fset_process_input_coding_system): Ditto.
944 (Fset_process_output_coding_system): Ditto.
946 2000-01-23 Andy Piper <andy@xemacs.org>
948 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
951 * glyphs.c (mark_image_instance): take into account changed
952 image_instance format.
953 (image_instance_equal): ditto.
954 (image_instance_hash): ditto.
956 * glyphs-widget.c (widget_instantiate): Incorporate layout
957 instantiation here. Delay layout of the layout until later.
958 (layout_instantiate): deleted.
959 (layout_query_geometry): new function. get the geometry of a
961 (layout_layout): layout a layout dynamically.
962 (image_instantiator_widget): New function - splitting up
963 image_instantiator_format_create_glyphs_widget for netwinder
965 (image_instantiator_buttons):
966 (image_instantiator_edit_fields):
967 (image_instantiator_combo_box):
968 (image_instantiator_scrollbar):
969 (image_instantiator_progress_guage):
970 (image_instantiator_tree_view):
971 (image_instantiator_tab_control):
972 (image_instantiator_labels):
973 (image_instantiator_layout): ditto.
974 (image_instantiator_format_create_glyphs_widget): Call preceeding
977 2000-01-22 Martin Buchholz <martin@xemacs.org>
979 * process.c (Fset_process_coding_system):
980 * device-x.c (Fx_keysym_hash_table):
983 * lstream.c (Lstream_write): Return documented value, not 0.
985 * fileio.c (directory_file_name):
986 (Fsubstitute_in_file_name):
987 (Fsubstitute_insert_file_contents_internal):
988 (Fwrite_region_internal):
993 Remove vestigial APOLLO-conditional code.
995 2000-01-21 Martin Buchholz <martin@xemacs.org>
997 * getpagesize.h: Add guard macros.
998 * libsst.h: Add guard macros.
999 * libst.h: Add guard macros.
1000 * line-number.h: Add guard macros.
1001 * ndir.h: Add guard macros.
1002 * sysfloat.h: Add guard macros.
1003 * sysfile.h: Add guard macros.
1004 * sysproc.h: Add guard macros.
1005 * syswait.h: Add guard macros.
1006 * xintrinsic.h: Add guard macros.
1007 * xintrinsicp.h: Add guard macros.
1008 * xmmanager.h: Add guard macros.
1009 * xmmanagerp.h: Add guard macros.
1010 * xmprimitive.h: Add guard macros.
1011 * xmu.h: Add guard macros.
1012 * gpmevent.h: Add copyright statement. Add guard macros.
1013 * miscplay.h: Add guard macros.
1014 * *.h: Use consistent C-standards-approved guard macro names.
1016 * opaque.c (make_opaque): Switch parameter order.
1017 * opaque.h (make_opaque): Switch parameter order.
1019 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
1021 * config.h.in (type_checking_assert): Added.
1022 (bufpos_checking_assert): Added.
1024 2000-01-21 Martin Buchholz <martin@xemacs.org>
1026 * alloc.c: Harmless pdump changes.
1028 - spell alignment correctly.
1029 * sysdep.c: Use countof()
1031 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
1033 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
1034 initially_selected_for_input() console method, default to 0.
1035 (semi_canonicalize_console_connection): Try to delegate to
1036 canonicalize_console_connection if no such console method.
1037 (canonicalize_console_connection): Vice versa.
1038 (print_console): Do not print nil connection.
1040 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
1041 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
1042 (XDEVIMPF_FRAMELESS_OK): Added.
1043 (CONSOLE_INHERITS_METHOD): Added.
1045 * console-msw.c (mswindows_canonicalize_console_connection):
1047 (mswindows_canonicalize_device_connection): Added.
1049 * console-msw.h (struct msprinter_device): Added this struct and
1051 (mswindows_device): Made fontlist a lisp object.
1053 * device.c (semi_canonicalize_device_connection): Try to delegate
1054 to canonicalize_device_connection if no such console method.
1055 (canonicalize_device_connection): Vice versa.
1056 (print_device): Do not print nil connection.
1058 * device-msw.c (mswindows_init_device): Call InitCommonControls
1060 (mswindows_delete_device): Removed fontlist deallocation.
1061 (mswindows_mark_device): Added.
1063 * events.c (event_equal): Added abort() at unreached code.
1064 (event_hash): Ditto.
1066 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
1067 fallback tags of Windows devices.
1069 * general.c (syms_of_general): Initialized Qmsprinter.
1071 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
1072 of fallback tags of Windows devices.
1074 * lisp.h: Declared Qmsprinter.
1076 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
1078 (mswindows_list_fonts): Ditto.
1079 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
1080 that it can be used by both mswindows and msprinter devices.
1081 (initialize_font_instance): Added.
1082 (mswindows_initialize_font_instance): Use it.
1083 (msprinter_initialize_font_instance): Added.
1085 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
1086 and implementation flags check.
1087 (redisplay_without_hooks): Changed the call to the above.
1088 (Fredraw_device): Ditto.
1089 (Fredisplay_device): Ditto.
1091 * redisplay-msw.c (get_frame_dc): Implemented.
1092 (get_frame_compdc): Implemented.
1093 (many functions): Use the two functions above to get device
1094 contexts, ether for a window or a printer.
1096 2000-01-21 Olivier Galibert <galibert@pobox.com>
1098 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
1099 initialization here.
1100 (init_symbols_once_early): Call it.
1101 * emacs.c (main_1): Call it.
1102 * symsinit.h: Declare it.
1104 2000-01-19 Olivier Galibert <galibert@pobox.com>
1106 * alloc.c: Use a lrecord_header * in the backtrace instead of a
1108 (pdump_backtrace): Ditto.
1109 (pdump_register_object): Ditto. Cleanup use of the pointers.
1110 (pdump_get_entry): Abort if trying to register a null pointer.
1111 (pdump_dump_data): Cleanup types when relocating.
1112 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
1113 (pdump_dump_rtables): Remove bad casts.
1114 (pdump_load): Cleanup relocation w.r.t union type. Use a
1115 Lisp_Object instead of a EMACS_INT for the hashtable
1118 2000-01-20 Martin Buchholz <martin@xemacs.org>
1120 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
1122 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
1124 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
1126 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
1128 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
1130 * faces.h (FACE_STRIKETHRU_P): Added.
1132 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
1135 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
1136 (mswindows_set_dc_font): New function, aware of font variants,
1137 separated from mswindows_update_dc.
1139 * objects-msw.h (struct mswindows_font_instance_data): Added
1142 * objects-msw.c (mswindows_finalize_font_instance): Delete all
1143 cached fonts and the data structure.
1144 (mswindows_initialize_font_instance): Added creation of font data
1146 (mswindows_print_font_instance): Print at least something.
1147 (mswindows_create_font_variant): Implemented.
1148 (mswindows_get_hfont): Implemented.
1150 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
1152 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
1153 prototyping problem with msvc.
1155 * emacs.c (main_1): added syms_of_gui_mswindows() call
1157 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
1158 syms_of_gui_mswindows() function
1160 * symsinit.h: added the prototype for syms_of_gui_mswindows()
1162 2000-01-18 Martin Buchholz <martin@xemacs.org>
1164 * XEmacs 21.2.27 is released.
1166 2000-01-18 Martin Buchholz <martin@xemacs.org>
1168 * glyphs-eimage.c (struct tiff_error_struct):
1170 (tiff_warning_func):
1171 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
1176 * unexec.c: Remove vestigial Lucid C code.
1181 Remove declarations of errno and strerror().
1183 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
1185 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
1187 2000-01-16 Martin Buchholz <martin@xemacs.org>
1189 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
1192 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
1197 Change enum eol_type to eol_type_t.
1199 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
1201 * gui.c (get_gui_callback): Check cons before accessing car.
1203 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
1205 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
1206 (XSETSPECIFIER_TYPE): Ditto.
1208 2000-01-17 Didier Verna <didier@xemacs.org>
1210 * redisplay.c (generate_fstring_runes): compute string size in
1211 characters, not bytes.
1213 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
1215 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
1217 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
1219 * print.c (print_error_message): Call print_prepare().
1221 2000-01-14 Martin Buchholz <martin@xemacs.org>
1223 * .dbxrc: Renamed from dbxrc.
1225 * events.c (event_to_character):
1226 Use `assert (foo)' instead of `if (!foo) abort()'
1228 * .gdbinit (xtype): Add documentation.
1229 * .gdbinit (check-temacs): New function.
1230 * .gdbinit (check-xemacs): New function.
1231 * dbxrc (check-xemacs): New function.
1232 * dbxrc (check-xemacs): New function.
1234 2000-01-14 Andy Piper <andy@xemacs.org>
1236 * glyphs-widget.c (widget_query_geometry): Make sure that we
1237 calculate default dimensions correctly.
1239 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
1241 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
1243 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
1244 pdump_wire'd variable.
1246 * emacs.c: (main_1): Conditionalized calls to
1247 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
1249 2000-01-13 Martin Buchholz <martin@xemacs.org>
1251 * window.c (Fset_window_configuration):
1252 * sysdep.c (_start):
1253 * input-method-motif.c (res):
1254 * event-Xt.c (Xt_process_to_emacs_event):
1255 Simple compiler warning fixes.
1257 * bytecode.c (funcall_compiled_function): Use the original
1258 function symbol on the backtrace list in preference to the
1259 compiled_function object in error messages.
1261 2000-01-13 Andy Piper <andy@xemacs.org>
1263 * glyphs-x.c (update_widget_face): Make sure we update the widget
1264 background as well as foreground.
1266 2000-01-13 Andy Piper <andy@xemacs.org>
1268 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
1269 fields to subwindow.
1270 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
1271 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
1272 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
1273 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
1275 * glyphs-widget.c (check_valid_tab_orientation): new function.
1276 (initialize_widget_image_instance): zero orientation and
1278 (widget_instantiate): pick up orientation.
1279 (tab_control_query_geometry): return appropriate values for
1282 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
1283 appropriate creation flags for left, right and bottom tabs.
1285 * s/cygwin32.h: add tab definitions.
1287 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
1289 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
1290 frame upon hiding a subwindow.
1291 (mswindows_button_instantiate): Changed the push button style to
1293 (mswindows_button_instantiate): Removed button BS_NOTIFY
1295 (mswindows_button_instantiate): Removed redundant check for
1296 a disabled gui item.
1297 (mswindows_button_instantiate): Made use of WS_TABSTOP
1298 consistent: "operable" controls (edit, button, tree, scroll) have
1299 this style, "display-only" ones (static, progress gauge) do
1300 not. This style is currently ignored by XEmacs though. Also,
1301 removed the WS_EX_CONTROLPARENT style - it is not for children,
1302 it is for their parents!
1303 (mswindows_edit_field_instantiate): Ditto.
1304 (mswindows_progress_gauge_instantiate): Ditto.
1305 (mswindows_tree_view_instantiate): Ditto.
1306 (mswindows_tab_control_instantiate): Ditto.
1307 (mswindows_scrollbar_instantiate): Ditto.
1308 (mswindows_combo_box_instantiate): Ditto.
1309 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
1310 style to the "clip" window.
1311 (mswindows_button_instantiate): Removed compilation warning by
1312 equally typing terms of the ?: operator.
1314 2000-01-12 Didier Verna <didier@xemacs.org>
1316 * redisplay.c (generate_fstring_runes): new parameter holding the
1317 last modeline-format extent.
1318 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
1319 extent, fill the glyph block with it.
1320 (generate_fstring_runes): handle these parameters.
1321 (generate_formatted_string_db): ditto.
1323 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
1324 glyphs'extents in the modeline.
1326 1999-01-11 Mike Woolley <mike@bulsara.com>
1328 * ntheap.c: Reduced the reserved heap space from 1Gb down to
1329 256Mb, as a workaround for the non-starting problem many people
1332 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
1334 * console-tty.c (Fset_console_tty_output_coding_system):
1335 Force redrawing tty frame.
1337 2000-01-10 Didier Verna <didier@xemacs.org>
1339 * redisplay.c (generate_fstring_runes): fix size computation bug.
1341 2000-01-09 William M. Perry <wmperry@aventail.com>
1343 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
1345 2000-01-09 Andy Piper <andy@xemacs.org>
1347 * glyphs-msw.c: index -> i to avoid shadows.
1348 (xbm_create_bitmap_from_data): make static.
1349 (check_valid_string_or_int): deleted.
1350 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
1352 * glyphs-x.c (x_update_subwindow): remove unused args.
1354 * glyphs.c (glyph_image_instance): return the thing. Don't set the
1355 back pointer - this is done in allocate_image_instance.
1356 (query_string_font): return Qnil to make the compiler happy.
1357 (unmap_subwindow): set to ~0 to make the compiler happy.
1358 (glyph_query_geometry): comment out until used.
1359 (glyph_layout): ditto.
1361 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
1363 * insdel.c (signal_after_change): Remove extraneous unbind_to().