comparison src/ChangeLog @ 400:a86b2b5e0111 r21-2-30

Import from CVS: tag r21-2-30
author cvs
date Mon, 13 Aug 2007 11:14:34 +0200
parents 74fd4e045ea6
children 5a2589c672dc
comparison
equal deleted inserted replaced
399:376370fb5946 400:a86b2b5e0111
1 2000-02-21 Martin Buchholz <martin@xemacs.org>
2
3 * XEmacs 21.2.30 is released.
4
5 2000-02-20 Martin Buchholz <martin@xemacs.org>
6
7 Performance hacking.
8 * *.c (syms_of_*):
9 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
10 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
11 * emacs.c (main_1):
12 * lisp.h (DEFUN):
13 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
15 * symeval.h (DEFVAR_SYMVAL_FWD):
16 * symbols.c (guts_of_unbound_marker):
17 Make all c_readonly objects also lisp_readonly and marked for life.
18 * lrecord.h (struct lrecord_implementation):
19 Document flags better.
20 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
21 * lrecord.h (DECLARE_LRECORD):
22 * lrecord.h (XSETRECORD):
23 * lrecord.h (RECORDP):
24 * lrecord.h (RECORD_TYPEP):
25 * lrecord.h (RECORD_MARKER): New.
26 * lrecord.h (error_check_*):
27 * lrecord.h (CONCHECK_NONRECORD):
28 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
29 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
30 * lrecord.h (set_lheader_implementation):
31 * lrecord.h (enum lrecord_type): New.
32 * symeval.h (SYMBOL_VALUE_MAGIC_P):
33 * alloc.c (disksave_object_finalization_1):
34 * alloc.c (mark_object):
35 * alloc.c (lrecord_type_index):
36 * alloc.c (tick_lcrecord_stats):
37 * alloc.c (Fgarbage_collect):
38 * alloc.c (init_alloc_once_early):
39 * alloc.c (pdump_load):
40 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
41 * alloc.c (lrecord_type_index): Delete.
42 Make lisp object type indexes be constant.
43 Makes (byte-compile) 5% faster.
44 Put all marker functions into their own array.
45 Makes (garbage-collect) 5% faster.
46 Optimize SYMBOL_VALUE_MAGIC_P.
47 Makes (byte-compile) 2-3% faster.
48 * config.h.in (gc_checking_assert): New.
49 * alloc.c: Use gc_checking_assert().
50 * .dbxrc: Make compatible with new object type implementation.
51 * .gdbinit: Make compatible with new object type implementation.
52 * alloc.c: Delete all symbols defined only for debugging, such as
53 Lisp_Type_Vector and lrecord_charset.
54
55 2000-02-21 Andy Piper <andy@xemacs.org>
56
57 * gui-msw.c (Fmswindows_shell_execute): fix file location
58 problems.
59
60 * buffer.c (Fkill_buffer): remove buffer from alist buffer
61 unshowing so that set_window_buffer doesn't undo
62 kill_buffer_hook's hard work.
63
64 * glyphs-widget.c (tab_control_query_geometry): don't count the
65 first item when calculating geometry.
66
67 * glyphs.c (map_subwindow): remove redundant code.
68 (update_frame_subwindows): be more circumspect about when to
69 update subwindows.
70
71 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
72 when items haven't changed. Update faces if faces have changed as
73 well as just the widget face.
74 (x_tab_control_update): Update faces if faces have changed as well
75 as just the widget face.
76
77 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
78
79 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
80 registration.
81 (build_syscolor_string): Use mswindows_color_to_string to try to
82 get a named color.
83 (mswindows_device_system_metrics): Reverse the foreground and
84 background colors so that they match the documentation.
85
86 * objects-msw.c: (mswindows_X_color_map): tweak some values so
87 they match the default Windows palette.
88 (mswindows_color_to_string): New function.
89
90 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
91
92 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
93
94 2000-02-18 Olivier Galibert <galibert@pobox.com>
95
96 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
97 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
98
99 * symbols.c (init_symbols_once_early): Removed obsolete
100 DATA_SEG_BITS related kludge.
101 (defvar_magic): Ditto.
102
103 * malloc.c: Removed obsolete DATA_SEG_BITS
104 * ralloc.c: Ditto.
105 * mem-limits.h: Ditto.
106
107 * Makefile.in.in: Removed obsolete HAVE_SHM
108 * emacs.c: Ditto.
109
110 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
111
112 * device-msw.c (mswindows_delete_device): Free DDE string
113 handles.
114
115 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
116
117 * keymap.c (get_keyelt):
118 * unexnt.c (unexec):
119 * vm-limit.c (memory_warnings):
120 * ntheap.c (recreate_heap):
121 * ntheap.h (UNINIT_PTR):
122 * select-msw.c (Fmswindows_get_clipboard):
123 (Fmswindows_set_clipboard):
124 * objects-msw.h (MSWINDOWS_BAD_HFONT):
125 * objects-msw.c:
126 * menubar-msw.c (displayable_menu_item):
127 * glyphs-msw.c:
128 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
129 * sysdep.c (sys_subshell):
130 * process-nt.c (nt_create_process):
131 * nt.c (normalize_filename):
132 (dostounix_filename):
133 (unixtodos_filename):
134 * ntproc.c (win32_executable_type):
135 * ntplay.c (play_sound_data_1):
136 (play_sound_file):
137 * editfns.c (get_home_directory):
138 * event-msw.c (struct winsock_stream):
139 (mswindows_dde_callback):
140 * device-msw.c (msprinter_init_device):
141 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
142
143 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
144 mswindows_clear_toolbar were swapped!
145
146 * objects-msw.c:(colormap_t):
147 (fontmap_t):
148 * emacs.c (struct standard_args): Fixed const jumble.
149
150 * glyphs-widget.c (update_widget): Fixed comparison notation.
151
152 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
153
154 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
155 __declspec(noreturn) syntax.
156
157 2000-02-19 Martin Buchholz <martin@xemacs.org>
158
159 * eldap.c (Fldap_open):
160 (Fldap_search_basic):
161 (Fldap_add):
162 (Fldap_modify):
163 Use new coding system conversion macros.
164
165 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
166
167 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
168
169 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
170
171 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
172 (Fldap_add, Fldap_modify, Fldap_delete): New functions
173
174 * eldap.c (Qadd, Qreplace): New constant symbols
175 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
176 interruptions by XEmacs signals
177 Remove unnecessary calls to slow_down_interrupts and
178 speed_up_interrupts
179 (Fldap_search_basic): Renamed from Fldap_search_internal
180 Added new optional parameter VERBOSE that triggers the
181 display of progress messages
182 Remove unnecessary calls to slow_down_interrupts and
183 speed_up_interrupts
184 LDAP result code analysis rewritten
185 (Fldap_add, Fldap_modify, Fldap_delete): New functions
186 (syms_of_eldap): Define the new symbols and functions
187
188
189 2000-02-17 Martin Buchholz <martin@xemacs.org>
190
191 * realpath.c: Determine PATH_MAX maximally portably.
192
193 * insdel.c (bytecount_to_charcount): Optimize.
194 The function used to be optimized for entirely ASCII sequences.
195 Now it is optimized for successive characters from the same
196 charset. This also wins big for _mostly_ ASCII sequences.
197
198 * fileio.c (Ffile_truename): convert return from realpath() using
199 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
200 - Rewrite GCPROing slightly.
201
202 * sysdep.c (sys_open): Do filename conversion, like all other
203 sys_* functions. Fixes bug:
204 (let ((file-name-coding-system 'iso-8859-2))
205 (write-region x y latin2-name))
206 ==> writes filename using internal encoding.
207
208 2000-02-18 Martin Buchholz <martin@xemacs.org>
209
210 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
211 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
212 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
213 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
214 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
215 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
216 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
217 (CONST_IF_NOT_DEBUG): Delete.
218 * alloc.c (this_one_is_unmarkable): Delete.
219 (mark_object): Don't check for this_one_is_unmarkable. Use the
220 c_readonly flag instead.
221 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
222
223 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
224
225 * event-msw.c (mswindows_drain_windows_queue):
226 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
227 away redundant repaint events.
228
229 2000-02-17 Andy Piper <andy@xemacs.org>
230
231 * redisplay.h: declare mark_redisplay_structs.
232
233 * redisplay.c (redisplay_window):
234 (redisplay_frame): don't check subwindows_state_changed.
235 (mark_redisplay): mark gutters here.
236
237 * glyphs.c: (instantiate_image_instantiator): always layout if we
238 haven't done so already.
239 (allocate_image_instance): don't mark as dirty.
240 (update_subwindow): bind inhibit_quit.
241
242 * gutter.c (mark_gutters): new function.
243
244 * glyphs-x.c (x_update_widget): Always resize to get round a
245 widget bug.
246
247 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
248 breaking absolutely everything.
249
250 * gutter.h: declare mark_gutters.
251
1 2000-02-16 Martin Buchholz <martin@xemacs.org> 252 2000-02-16 Martin Buchholz <martin@xemacs.org>
2 253
3 * XEmacs 21.2.29 is released. 254 * XEmacs 21.2.29 is released.
4 255
5 2000-02-15 Olivier Galibert <galibert@pobox.com> 256 2000-02-15 Olivier Galibert <galibert@pobox.com>
41 * lisp.h: Added Qprinter. 292 * lisp.h: Added Qprinter.
42 293
43 * general.c (syms_of_general): Initialized it. 294 * general.c (syms_of_general): Initialized it.
44 295
45 * redisplay-msw.c (get_frame_dc): Conditionally start a new page. 296 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
46 (get_frame_dc): 297 (get_frame_dc):
47 (get_frame_compdc): Made inline. 298 (get_frame_compdc): Made inline.
48 299
49 * console.h (struct console_methods): Added eject_page method. 300 * console.h (struct console_methods): Added eject_page method.
50 301
51 * frame.h: Added FRAME_DISPLAY_P and friends. 302 * frame.h: Added FRAME_DISPLAY_P and friends.
56 * defice.h: Added DEVICE_DISPLAY_P and friends. 307 * defice.h: Added DEVICE_DISPLAY_P and friends.
57 308
58 * device.c (Fdevice_printer_p): Used these. 309 * device.c (Fdevice_printer_p): Used these.
59 310
60 * frame.c (allocate_frame_core): Initialize page number. 311 * frame.c (allocate_frame_core): Initialize page number.
61 (Fprint_job_page_number): 312 (Fprint_job_page_number):
62 (Fprint_job_eject_page): Implemented. 313 (Fprint_job_eject_page): Implemented.
63 314
64 * frame-msw.c (msprinter_eject_page): Added method. 315 * frame-msw.c (msprinter_eject_page): Added method.
65 (msprinter_start_page): Added. 316 (msprinter_start_page): Added.
66 317
122 373
123 * s/sol2.h: Remove feature macro initialization. 374 * s/sol2.h: Remove feature macro initialization.
124 375
125 * alloc.c (alloc_lcrecord): Add more type checking assertions. 376 * alloc.c (alloc_lcrecord): Add more type checking assertions.
126 (vector_hash): New. Code from internal_hash. 377 (vector_hash): New. Code from internal_hash.
127 * lrecord.h: 378 * lrecord.h:
128 Fix up allocation subsystem comments. 379 Fix up allocation subsystem comments.
129 380
130 * config.h.in: Add __EXTENSIONS__ for Solaris. 381 * config.h.in: Add __EXTENSIONS__ for Solaris.
131 382
132 * systime.h (EMACS_GETTIMEOFDAY): New. 383 * systime.h (EMACS_GETTIMEOFDAY): New.
139 390
140 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE. 391 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
141 * sunplay.c (sighandler): Fix prototype to use SIGTYPE. 392 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
142 393
143 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete. 394 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
144 * fns.c (size_bit_vector): 395 * fns.c (size_bit_vector):
145 * alloc.c (size_vector): 396 * alloc.c (size_vector):
146 (make_vector_internal): 397 (make_vector_internal):
147 (make_bit_vector_internal): 398 (make_bit_vector_internal):
148 (sweep_bit_vectors_1): 399 (sweep_bit_vectors_1):
149 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression. 400 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
150 401
151 2000-02-10 Martin Buchholz <martin@xemacs.org> 402 2000-02-10 Martin Buchholz <martin@xemacs.org>
152 403
153 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't. 404 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
311 562
312 * event-Xt.c (x_has_keysym): Use XConvertCase only if available. 563 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
313 * config.h.in: Add HAVE_XCONVERTCASE. 564 * config.h.in: Add HAVE_XCONVERTCASE.
314 565
315 2000-02-07 Andy Piper <andy@xemacs.org> 566 2000-02-07 Andy Piper <andy@xemacs.org>
316 567
317 * glyphs.c (image_instance_layout): undo 2000-01-29 change since 568 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
318 it breaks many things. 569 it breaks many things.
319 570
320 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch> 571 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
321 572
338 589
339 * menubar.c (vars_of_menubar): A small code simplification. 590 * menubar.c (vars_of_menubar): A small code simplification.
340 591
341 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug 592 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
342 593
343 * ExternalShell.c: 594 * ExternalShell.c:
344 * ExternalClient.c: 595 * ExternalClient.c:
345 * EmacsShell-sub.c: 596 * EmacsShell-sub.c:
346 * EmacsManager.c: 597 * EmacsManager.c:
347 * EmacsFrame.c: 598 * EmacsFrame.c:
348 Use consistent style for specifying X resources. 599 Use consistent style for specifying X resources.
349 600
350 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC. 601 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
351 This makes (dontusethis-set-symbol-value-handler) actually usable. 602 This makes (dontusethis-set-symbol-value-handler) actually usable.
352 603
353 * lrecord.h (lrecord_decription_type): 604 * lrecord.h (lrecord_decription_type):
354 * alloc.c (pdump_register_sub): 605 * alloc.c (pdump_register_sub):
355 (pdump_dump_data): 606 (pdump_dump_data):
356 (pdump_reloc_one): 607 (pdump_reloc_one):
357 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects. 608 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
358 Comply with XEmacs coding style. 609 Comply with XEmacs coding style.
359 All lrecord descriptions updated to use XD_LISP_OBJECT with 2 610 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
360 args, and XD_LISP_OBJECT_ARRAY with 3 args. 611 args, and XD_LISP_OBJECT_ARRAY with 3 args.
361 612
362 * keymap.c (Faccessible_keymaps): 613 * keymap.c (Faccessible_keymaps):
363 Make (accessible-keymaps map "\C-h") do the Right Thing. 614 Make (accessible-keymaps map "\C-h") do the Right Thing.
364 Make (accessible-keymaps map []) do the Right Thing. 615 Make (accessible-keymaps map []) do the Right Thing.
365 Make (accessible-keymaps map "") do the Right Thing. 616 Make (accessible-keymaps map "") do the Right Thing.
366 (check_keymap_definition_loop): New function. 617 (check_keymap_definition_loop): New function.
367 (keymap_store_internal): Keep luser from shooting self in foot, 618 (keymap_store_internal): Keep luser from shooting self in foot,
371 (print_keymap): Remove 'Yuck' factor by simply printing "size %d". 622 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
372 623
373 2000-01-30 Martin Buchholz <martin@xemacs.org> 624 2000-01-30 Martin Buchholz <martin@xemacs.org>
374 625
375 * redisplay.c (init_redisplay): Fix small memory leak. 626 * redisplay.c (init_redisplay): Fix small memory leak.
376 * elhash.h: 627 * elhash.h:
377 * elhash.c (pdump_reorganize_hash_table): 628 * elhash.c (pdump_reorganize_hash_table):
378 Rename from reorganize_hash_table. Change prototype. 629 Rename from reorganize_hash_table. Change prototype.
379 Reuse the original memory for hentries. Save 100k. 630 Reuse the original memory for hentries. Save 100k.
380 * alloc.c (PDUMP_READ): new macro. 631 * alloc.c (PDUMP_READ): new macro.
381 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros. 632 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
382 * alloc.c: No need to #ifndef before #undef. 633 * alloc.c: No need to #ifndef before #undef.
408 659
409 * sysdep.c (near start of file): Fixed commentary and rearranged 660 * sysdep.c (near start of file): Fixed commentary and rearranged
410 ifdefs in readable order. 661 ifdefs in readable order.
411 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing. 662 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
412 (start_of_text): 663 (start_of_text):
413 (end_of_text): 664 (end_of_text):
414 (end_of_data): Do not compile in if using PDUMP. 665 (end_of_data): Do not compile in if using PDUMP.
415 666
416 * symsinit.h: Protptyped vars_of_nt(). 667 * symsinit.h: Protptyped vars_of_nt().
417 668
418 * ntproc.c (windows9x_p): Added, instead of os_subtype. 669 * ntproc.c (windows9x_p): Added, instead of os_subtype.
429 nt_fake_unix_uid, instead of hashing fake uid out of NT RID. 680 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
430 (init_user_info): Removed the above mentioned hackery. 681 (init_user_info): Removed the above mentioned hackery.
431 (fstat, stat): Do not compile in if using MSVC 5.0 and above - 682 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
432 stat has been fixed in the C runtime. 683 stat has been fixed in the C runtime.
433 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there. 684 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
434 685
435 * file-coding.c (struct file_coding_dump): Do not define 686 * file-coding.c (struct file_coding_dump): Do not define
436 ucs_to_mule_table in the struct if not MULE. 687 ucs_to_mule_table in the struct if not MULE.
437 (struct struct lrecord_description fcd_description_1): Do not dump 688 (struct struct lrecord_description fcd_description_1): Do not dump
438 the above. 689 the above.
439 690
476 * frame-msw.c: Added lots of printer code. 727 * frame-msw.c: Added lots of printer code.
477 728
478 * faces.c: Moved 'left-margin and 'right-margin defsymbols to 729 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
479 general.c. 730 general.c.
480 731
481 * console-msw.h: Added more msprinter device private slots. 732 * console-msw.h: Added more msprinter device private slots.
482 733
483 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com> 734 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
484 735
485 * event-msw.c (key_needs_default_processing_p): Added. 736 * event-msw.c (key_needs_default_processing_p): Added.
486 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it. 737 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
607 mswindows_drain_windows_queue(). 858 mswindows_drain_windows_queue().
608 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages 859 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
609 only. 860 only.
610 861
611 * console-msw.h: Moved a few function prototypes here from 862 * console-msw.h: Moved a few function prototypes here from
612 event-msw.c. 863 event-msw.c.
613 864
614 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID 865 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
615 parameter from unsigned short to unsigned long. 866 parameter from unsigned short to unsigned long.
616 (Fmswindows_shell_execute): Added return value. 867 (Fmswindows_shell_execute): Added return value.
617 868
618 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp> 869 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
619 870
620 * sysdep.c (init_system_name): 871 * sysdep.c (init_system_name):
621 process-unix.c (unix_canonicalized_host_name): 872 process-unix.c (unix_canonicalized_host_name):
622 Don't call freeaddrinfo() if getaddrinfo() fails. 873 Don't call freeaddrinfo() if getaddrinfo() fails.
623 874
624 * process-unix.c (unix_open_unix_network_stream): 875 * process-unix.c (unix_open_unix_network_stream):
625 Moved the code to get a port # into address loop. 876 Moved the code to get a port # into address loop.
626 877
627 2000-01-27 Martin Buchholz <martin@xemacs.org> 878 2000-01-27 Martin Buchholz <martin@xemacs.org>
628 879
629 * buffer.c (reinit_vars_of_buffer): 880 * buffer.c (reinit_vars_of_buffer):
630 The right place to initialize conversion_in_dynarr and 881 The right place to initialize conversion_in_dynarr and
631 conversion_out_dynarr. 882 conversion_out_dynarr.
632 883
633 * alloc.c (pdump): Use the real open() till sys_open() is functional. 884 * alloc.c (pdump): Use the real open() till sys_open() is functional.
634 885
785 Make sure file-name, keyboard, terminal, and ctext are always 1036 Make sure file-name, keyboard, terminal, and ctext are always
786 defined as coding systems or aliases. Make 1037 defined as coding systems or aliases. Make
787 file-name-coding-system, terminal-coding-system, and 1038 file-name-coding-system, terminal-coding-system, and
788 keyboard-coding-system magical variables that are equivalent to 1039 keyboard-coding-system magical variables that are equivalent to
789 defining the corresponding coding system aliases. 1040 defining the corresponding coding system aliases.
790 1041
791 * file-coding.c (Fcoding_system_canonical_name_p): New function. 1042 * file-coding.c (Fcoding_system_canonical_name_p): New function.
792 * file-coding.c (Fcoding_system_alias_p): New function. 1043 * file-coding.c (Fcoding_system_alias_p): New function.
793 * file-coding.c (Fcoding_system_aliasee): New function. 1044 * file-coding.c (Fcoding_system_aliasee): New function.
794 * file-coding.c (append_suffix_to_symbol): New function. 1045 * file-coding.c (append_suffix_to_symbol): New function.
795 * file-coding.c (dangling_coding_system_alias_p): New function. 1046 * file-coding.c (dangling_coding_system_alias_p): New function.
829 1080
830 * alloc.c (resize_string): Fix unlikely crash with big strings. 1081 * alloc.c (resize_string): Fix unlikely crash with big strings.
831 1082
832 2000-01-24 Martin Buchholz <martin@xemacs.org> 1083 2000-01-24 Martin Buchholz <martin@xemacs.org>
833 1084
834 * realpath.c (xrealpath): 1085 * realpath.c (xrealpath):
835 Don't call getwd(). 1086 Don't call getwd().
836 1087
837 2000-01-25 Martin Buchholz <martin@xemacs.org> 1088 2000-01-25 Martin Buchholz <martin@xemacs.org>
838 1089
839 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors. 1090 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
873 (DEFVAR_BOOL_MAGIC): Ditto. 1124 (DEFVAR_BOOL_MAGIC): Ditto.
874 * glyphs.h: Reindent backslash. 1125 * glyphs.h: Reindent backslash.
875 1126
876 2000-01-24 Martin Buchholz <martin@xemacs.org> 1127 2000-01-24 Martin Buchholz <martin@xemacs.org>
877 1128
878 * glyphs-widget.c (layout_query_geometry): 1129 * glyphs-widget.c (layout_query_geometry):
879 (layout_layout): Use correct types for gheight, gwidth. 1130 (layout_layout): Use correct types for gheight, gwidth.
880 1131
881 2000-01-24 Martin Buchholz <martin@xemacs.org> 1132 2000-01-24 Martin Buchholz <martin@xemacs.org>
882 1133
883 * EmacsManager.c (QueryGeometry): Purified. 1134 * EmacsManager.c (QueryGeometry): Purified.
890 (pdump): Use xmalloc, not malloc. 1141 (pdump): Use xmalloc, not malloc.
891 (pdump_load): Use xmalloc, not malloc. 1142 (pdump_load): Use xmalloc, not malloc.
892 1143
893 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com> 1144 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
894 1145
895 * callproc.c: 1146 * callproc.c:
896 * dired-msw.c: 1147 * dired-msw.c:
897 * fileio.c: 1148 * fileio.c:
898 * process-nt.c: 1149 * process-nt.c:
899 * redisplay-msw.c: 1150 * redisplay-msw.c:
900 * sysdep.c: Removed redundant #include <windows.h> 1151 * sysdep.c: Removed redundant #include <windows.h>
901 1152
902 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com> 1153 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
903 1154
904 * frame.c (delete_frame_internal): Do not delete device when its 1155 * frame.c (delete_frame_internal): Do not delete device when its
905 implementation so declares. 1156 implementation so declares.
906 (delete_frame_internal): Set device selected frame to nil when 1157 (delete_frame_internal): Set device selected frame to nil when
907 last frame goes away. 1158 last frame goes away.
908 1159
909 * device-msw.c (msprinter_device_system_metrics): Implemented. 1160 * device-msw.c (msprinter_device_system_metrics): Implemented.
910 (mswindows_device_system_metrics): Added 'device-dpi property. 1161 (mswindows_device_system_metrics): Added 'device-dpi property.
911 1162
912 * device.c: (Fdevice_printer_p): Added. 1163 * device.c: (Fdevice_printer_p): Added.
975 functions. 1226 functions.
976 1227
977 2000-01-22 Martin Buchholz <martin@xemacs.org> 1228 2000-01-22 Martin Buchholz <martin@xemacs.org>
978 1229
979 * process.c (Fset_process_coding_system): 1230 * process.c (Fset_process_coding_system):
980 * device-x.c (Fx_keysym_hash_table): 1231 * device-x.c (Fx_keysym_hash_table):
981 Docstring fixes. 1232 Docstring fixes.
982 1233
983 * lstream.c (Lstream_write): Return documented value, not 0. 1234 * lstream.c (Lstream_write): Return documented value, not 0.
984 1235
985 * fileio.c (directory_file_name): 1236 * fileio.c (directory_file_name):
986 (Fsubstitute_in_file_name): 1237 (Fsubstitute_in_file_name):
987 (Fsubstitute_insert_file_contents_internal): 1238 (Fsubstitute_insert_file_contents_internal):
988 (Fwrite_region_internal): 1239 (Fwrite_region_internal):
989 * emacs.c: 1240 * emacs.c:
990 * sysdep.c: 1241 * sysdep.c:
991 * getloadavg.c: 1242 * getloadavg.c:
992 * systty.h: 1243 * systty.h:
993 Remove vestigial APOLLO-conditional code. 1244 Remove vestigial APOLLO-conditional code.
994 1245
995 2000-01-21 Martin Buchholz <martin@xemacs.org> 1246 2000-01-21 Martin Buchholz <martin@xemacs.org>
996 1247
1011 * xmu.h: Add guard macros. 1262 * xmu.h: Add guard macros.
1012 * gpmevent.h: Add copyright statement. Add guard macros. 1263 * gpmevent.h: Add copyright statement. Add guard macros.
1013 * miscplay.h: Add guard macros. 1264 * miscplay.h: Add guard macros.
1014 * *.h: Use consistent C-standards-approved guard macro names. 1265 * *.h: Use consistent C-standards-approved guard macro names.
1015 1266
1016 * opaque.c (make_opaque): Switch parameter order. 1267 * opaque.c (make_opaque): Switch parameter order.
1017 * opaque.h (make_opaque): Switch parameter order. 1268 * opaque.h (make_opaque): Switch parameter order.
1018 Update all callers. 1269 Update all callers.
1019 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR. 1270 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
1020 1271
1021 * config.h.in (type_checking_assert): Added. 1272 * config.h.in (type_checking_assert): Added.