comparison src/ChangeLog @ 272:c5d627a313b1 r21-0b34

Import from CVS: tag r21-0b34
author cvs
date Mon, 13 Aug 2007 10:28:48 +0200
parents b2472a1930f2
children ca9a9ec9c1c1
comparison
equal deleted inserted replaced
271:c7b7086b0a39 272:c5d627a313b1
1 1998-04-04 Martin Buchholz <martin@xemacs.org>
2
3 * emacs.c: #include <paths.h>, not "paths.h"
4 This is a standard bug. It manifests if you configure in the
5 source tree, then configure elsewhere with --srcdir.
6 Remove misleading PATH_EXEC comment; PATH_PACKAGEPATH is also used.
7
8 1998-04-04 Olivier Galibert <galibert@pobox.com>
9
10 * s/386bsd.h: Removed obsolete define.
11
12 1998-04-04 Olivier Galibert <galibert@pobox.com>
13
14 * s/386-ix.h: Removed useless define.
15
16 * sysdep.c (insque): Removed. Not used anywhere in the code.
17
18 1998-04-04 Olivier Galibert <galibert@pobox.com>
19
20 * process-unix.c (unix_kill_child_process): Use TIOCSIGSEND or
21 TIOCSIGNAL as needed.
22
23 * s/usg5-4.h: Remove kludgy TIOCSIGSEND #define which breaks on
24 irix 6.5.
25
26 1998-03-28 Hrvoje Niksic <hniksic@srce.hr>
27
28 * insdel.c (emchar_string_displayed_columns): Simplify for
29 non-Mule case.
30
31 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Issue nicer output.
32
33 1998-04-01 Martin Buchholz <martin@xemacs.org>
34
35 * sysdir.h (sys_mkdir):
36 * sysfile.h (sys_read):
37 (sys_write):
38 (sys_chmod):
39 (sys_creat):
40
41 * sysdep.c (sys_read_1):
42 (sys_read):
43 (sys_write_1):
44 (sys_write):
45 (sys_mkdir):
46 (sys_readlink):
47 (sys_chmod):
48 (sys_creat):
49
50 * nt.c (sys_read):
51 (sys_chmod):
52 (sys_creat):
53 (sys_write): Change types of sys_* in accordance with published
54 standards. Use size_t and mode_t instead of unsigned int and int.
55
56 1998-04-03 Martin Buchholz <martin@xemacs.org>
57
58 * config.h.in (enum_field):
59 * lisp-union.h:
60 * extents.h:
61 * redisplay.c (add_margin_runes):
62 Prefer enums for use as bitfields in preference to unsigned int,
63 but allow the possibility to suppress it if a compiler disallows
64 it or emits annoying warnings. Currently only __SUNPRO_C cc -Xc
65 used unsigned ints.
66
67 * event-stream.c: Fixup DEFVAR for
68 Vcomposed_character_default_binding; Real bug!
69 * event-msw.c: Rename mswindows_button2* to mswindows_mouse_button*
70 * emacs.c: Rename suppress_early_backtrace to
71 suppress_early_error_handler_backtrace
72 * objects-x.c: Rename handle_nonfull_spec_fonts to
73 x_handle_non_fully_specified_fonts
74 * lread.c: Rename puke_on_fsf_keys to
75 fail-on-bucky-bit-character-escapes
76 * lread.c:
77 * doc.c: Rename Vdoc_file_name to Vinternal_doc_file_name
78 * fileio.c:
79 * bufslots.h:
80 * buffer.c: Rename save_length to saved_size
81 * alloc.c: Rename pureptr to pure_bytes_used
82 * abbrev.c: Rename last_abbrev_point to last_abbrev_location
83 * lisp.h:
84 DEFVAR_* are supposed to be named following a standard convention.
85
86 1998-04-03 Martin Buchholz <martin@xemacs.org>
87
88 * callint.c:
89 * ralloc.c:
90 * data.c:
91 * eldap.c:
92 * extents.c:
93 * frame-msw.c:
94 * frame-x.c:
95 * general.c:
96 * process.c:
97 * xselect.c:
98 Rationalize defsymbol handling.
99 defsymbols are supposed to have equivalent C and Lisp names, for
100 consistency. At least one real bug (end-glyph-layout) fixed.
101 Move multiply defsymbol'ed stuff into general.c.
102
103 1998-04-03 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
104
105 * m/ibmrs6000.inp: Removed; obsoleted by configure.in changes.
106
107 1998-04-03 Martin Buchholz <martin@xemacs.org>
108
109 * console-tty.c (Fset_console_tty_input_coding_system):
110 (Fset_console_tty_output_coding_system):
111 Input/Output and encoding/decoding were reversed.
112
113 1998-04-02 SL Baur <steve@altair.xemacs.org>
114
115 * m/powerpc.h: Remove LD_SWITCH_MACHINE for Linux.
116
117 1998-04-02 Greg Klanderman <greg@alphatech.com>
118
119 * window.c (set_window_pixsize): Move up call to
120 check_min_window_sizes.
121
122 * indent.c (vmotion_1): renamed from vmotion() and added
123 additional argument to optionally return the pixel motion.
124 (vpix_motion): Helper for vmotion_1.
125 (vmotion): Wrapper - just call vmotion_1() with the right args.
126 (Fvertical_motion_pixels): New function.
127 (syms_of_indent): DEFSUBR it.
128
129 1998-04-02 Martin Buchholz <martin@xemacs.org>
130
131 * xselect.c:
132 * event-Xt.c:
133 * emacs.c:
134 Remove last vestiges of #ifdef EPOCH code. It had no chance of
135 working anyways. In honour of seeing Marc Andreesen in person for
136 the first time today.
137
138 1998-04-01 Martin Buchholz <martin@xemacs.org>
139
140 * extents.h:
141 * lisp-union.h:
142 Don't use enums as bitfields - only unsigned ints.
143 Fixes: warning: nonportable bit-field type
144
145 * eval.c (call_with_suspended_errors): More volatilizing to
146 appease Sunpro cc.
147
148 * mem-limits.h:
149 * ralloc.c: Remove #undef NULL; they're not even used!
150
151 * process-unix.c (unix_send_process): send_process is a method, so
152 we can't include volatile in the prototype. We make the argument
153 non-volatile, make a volatile copy, and then use that instead.
154
155 * frame-x.c (x_delete_frame): The `frame' variable is initialized
156 but not actually used.
157
158 * Makefile.in.in (xselect.o): The last line of b34-pre2's
159 src/Makefile.in.in contains a dependency that should have been
160 patched away.
161 (mostlyclean): Remove the removal of depend.* - no such files
162 exist anymore
163
164 * make-src-depend: include a dependency on only one of
165 lisp-union.h or lisp-disunion.h.
166
167 1998-04-01 Martin Buchholz <martin@xemacs.org>
168
169 * specifier.c (specifier_instance_from_inst_list): A nanosecond
170 saved is a nanosecond earned.
171
172 1998-03-31 Greg Klanderman <greg@alphatech.com>
173
174 * redisplay.c (update_line_start_cache): Fix bug involving
175 invisible text in which the line_start_cache gets hosed.
176
177 Sun Mar 29 1998 Andy Piper <andyp@parallax.co.uk>
178
179 * console-msw.h: define FRAME_MSWINDOWS_CDC.
180
181 * frame-msw.c: (mswindows_set_frame_icon) new function. Works but
182 no masks as yet.
183
184 * glyphs-msw.c: GNUize the code. Fix 24bpp display and make the
185 default. Add managment of icons.
186
187 * glyphs-msw.h: add icon attributes.
188
189 * redisplay-msw.c: (mswindows_output_pixmap) remove unused cursor
190 code.
191
192 * objects-msw.c: eliminate char subscript warning.
193
194 1998-04-01 SL Baur <steve@altair.xemacs.org>
195
196 * sysdll.c (dll_close): fix typo.
197 Suggested by Marcus Thiessel <marcus_thiessel@hp.com>
198
199
200 1998-03-28 Kyle Jones <kyle_jones@wonderworks.com>
201
202 * device.c (Fset_device_class): Recompute cached
203 specifiers everywhere if device class is changed.
204 Set various redisplay flags so that the device's
205 various frames are redisplayed.
206
207 1998-03-31 SL Baur <steve@altair.xemacs.org>
208
209 * lrecord.h (DECLARE_NONRECORD): Remove redundant paren.
210 Suggested by Martin Buchholz <martin@xemacs.org>
211
212 1998-04-01 Kirill M. Katsnelson <kkm@kis.ru>
213
214 * gui.c (gui_item_display_flush_left): Fix suffix length.
215
216 1998-04-01 Kirill M. Katsnelson <kkm@kis.ru>
217
218 * s/windowsnt.h: Defined SIZEOF_LONG_LONG and SIZEOF_VOID_P
219
220 * dired-msw.c: Included <limits.h>
221
222 * config.h.in (VOID_P_BITS): Fixed so that uses SIZEOF_VOID_P
223
224 1998-03-31 SL Baur <steve@altair.xemacs.org>
225
226 * glyphs.c (image_instantiate_cache_result): Correct order of
227 parameters to Fputhash.
228 Suggested by Kirill M. Katsnelson <kkm@kis.ru>
229
230 1998-03-30 Martin Buchholz <martin@xemacs.org>
231
232 * redisplay.c (create_right_glyph_block): glyph_type should really
233 be glyph_layout.
234
235 1998-03-29 Martin Buchholz <martin@xemacs.org>
236
237 * sysfile.h: Move all encapsulations from lisp.h/emacsfns.h into
238 sysfile.h. Users of the functionality herein will have to
239 #include sysfile.h.
240 Check all .o files for missing #includes.
241 * config.h.in:
242 Discovered that config.h.in was missing ENCAPSULATE_CLOSEDIR, as a
243 result of fixing the above.
244
245 * gui.c (gui_item_add_keyval_pair): We should not use the idiom
246 error ("%S", lisp_object) in C code.
247 I converted the code to use signal_simple_error_2 instead.
248 (signal_too_long_error): Ditto.
249
250 * glyphs.c (image_instantiate_cache_result): Use XC[AD]R instead
251 of Fc[ad]r. This is always called with valid conses, and in fact,
252 already assumed it.
253
254 * font-lock.c (find_context): Use context_none with context
255 instead of ccontext_none.
256
257 * fns.c (Flength): The CONSP and NILP code can be combined.
258 Change the name of the arg to SEQUENCE from OBJ.
259 (Fnthcdr): CHECK_NATNUM instead of CHECK_INT. Optimize out Fcdr calls.
260 (Felt): Change argument from seq to sequence to match docstring.
261
262 1998-03-28 Martin Buchholz <martin@xemacs.org>
263
264 * fns.c (string_putprop):
265 (string_getprop): Make method functions static.
266
267 * window.c (find_window_by_pixel_pos): Warning suppression.
268
269 * imgproc.c (splitbox): Warning suppression.
270
271 * redisplay-x.c (x_output_eol_cursor): Remove redundant XSETWINDOW.
272
273 * glyphs-x.c (signal_image_error):
274 (signal_image_error_2):
275 (convert_EImage_to_XImage): Make functions static.
276
277 * editfns.c (Fbuffer_size): Rename the `F' function to
278 Fbuffer_size in accordance with coding standards.
279
280 * dll.c (Fdll_open): Fix up data conversion.
281 Provide auxiliary function maybe_call_library_function().
282
283 * device-x.c (get_x_display): make function static.
284
285 * data.c (Fcar): Should generate listp, not consp error.
286 (Fcdr): Should generate listp, not consp error.
287
288 1998-03-27 Martin Buchholz <martin@xemacs.org>
289
290 * console-tty.c (free_tty_console_struct):
291 Replace con->console_data with CONSOLE_type_DATA (con)
292
293 * *.[ch]: C++ compilability of xemacs, on Linux and Solaris.
294
295 * casetab.c (Fcase_table_p): Optimize.
296
297 * eval.c:
298 * bytecode.c:
299 Rename Fcondition_case_3 to condition_case_3 - it's not a DEFUN.
300
301 * buffer.h:
302 Remove all *BUFFER_OR_STRING* macros - unused.
303 (memind_to_bytind): Merge two versions of function by moving
304 #ifdef ERROR_CHECK_BUFPOS into the function body.
305 (*_DATA_ALLOCA*): get types correct. rewrite for clarity.
306
307 * balloon_help.c (balloon_help_destroy): rearrange order of
308 functions, and remove prototype from header file.
309
310 * alloc.c (deadbeef_memory): Rewrite. Use size_t for clarity.
311 Don't bother with the left-over bytes, since in practice we will
312 always get called with a size multiple of 4.
313 (Fmake_list): CHECK_NATNUM instead of CHECK_INT
314 (vector[4567]): Currently unused; ifdef out.
315 (make_pure_float): make function static.
316 (garbage_collect_1): Optimize.
317
318 1998-03-23 Martin Buchholz <martin@xemacs.org>
319
320 * marker.c (print_marker): Fix compiler warning, real bug!
321
322 * device.h (MARK_DEVICE_FRAMES_FACES_CHANGED):
323 * frame.h (MARK_FRAME_FACES_CHANGED):
324 (MARK_FRAME_TOOLBARS_CHANGED):
325 (MARK_FRAME_SIZE_CHANGED):
326 (MARK_FRAME_CHANGED):
327 (MARK_FRAME_WINDOWS_CHANGED):
328 (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED):
329 Fix multiple evaluation of macro arguments.
330 Macros are a fact of life. Callers have to use temp variables to
331 avoid multiple evaluation of arguments.
332
333 * data.c (Ftrue_list_p): New function, with obvious meaning.
334 This is terminology from Cltl2.
335 Also define a corresponding macro TRUE_LIST_P.
336
337 * device-x.c (validify_resource_component): Optimize. Rename.
338 Use the standard technique of using a precomputed table of valid chars.
339
340 (x_get_resource_prefix):
341 (Fx_get_resource):
342 (Fx_get_resource_prefix):
343 Avoid fixed buffer sizes. Use a char_dynarr.
344 Run validify_resource_component on all computed components.
345
346 * lisp.h: Define a char_dynarr type.
347
348 1998-03-22 Martin Buchholz <martin@xemacs.org>
349
350 * fns.c (Fcopy_alist): Optimize.
351
352 * alloc.c (acons): New function. Now used in the C code.
353 Definition in cl.el is commented out. Add docstring.
354 Use acons in functions which create alists.
355 * lisp/cl.el (acons): Add docstring. Really otta be a macro, tho.
356
357 * buffer.c (Fbuffer_memory_usage):
358 * window.c (Fwindow_memory_usage):
359 Clean up horrible consing code using new acons function.
360 Fix incorrect value reported for gap-overhead.
361
362 * fns.c (Fmember):
363 (Fold_member):
364 (Fmemq):
365 (Fold_memq):
366 (memq_no_quit):
367 (Fassoc):
368 (Fold_assoc):
369 (Fassq):
370 (Fold_assq):
371 (assq_no_quit):
372 (Frassoc):
373 (Fold_rassoc):
374 (Frassq):
375 (Fold_rassq):
376 (rassq_no_quit):
377 (Fdelete):
378 (Fold_delete):
379 (Fdelq):
380 (Fold_delq):
381 (delq_no_quit):
382 (delq_no_quit_and_free_cons):
383 (Fremassoc):
384 (Fremassq):
385 (remassq_no_quit):
386 (Fremrassoc):
387 (Fremrassq):
388 (remrassq_no_quit):
389 (Fnreverse):
390 (Freverse):
391 (Fnthcdr):
392 Optimize.
393 Replace calls to Fcar, Fcdr, Fsetcar with XCAR and XCDR.
394 Simplify logic.
395 Many of these functions wouldn't QUIT if called on cyclic lists.
396 e.g. try (progn (setq x '(nil)) (setcdr x x) (reverse x))
397 One benchmark of delq showed it to be 3 times faster.
398
399 * emacs.c:
400 * database.c:
401 Cleanup of database functions.
402 Make the get_subtype and get_type methods return Lisp_Objects,
403 instead of C strings. No more need for both dbm_type and dbm_lisp_type.
404 Rewrite the doc strings to be consistent with XEmacs tradition.
405 Replace old `dbm' names with `database'.
406 Rename struct database to struct Lisp_Database.
407 Rename DEFUN arguments to `database', when applicable.
408
409 * buffer.c:
410 * chartab.c:
411 * console.c:
412 * data.c:
413 * database.c:
414 * device.c:
415 * elhash.c:
416 * eval.c:
417 * event-stream.c:
418 * extents.c:
419 * faces.c:
420 * frame.c:
421 * glyphs.c:
422 * keymap.c:
423 * lstream.c:
424 * mule-charset.c:
425 * mule-coding.c:
426 * objects.c:
427 * opaque.c:
428 * process.c:
429 * rangetab.c:
430 * specifier.c:
431 * symbols.c:
432 * tooltalk.c:
433 * window.c:
434 Place DEFINE_LRECORD_* after definition of static object methods, to
435 avoid redundant declarations.
436
437 * console.c:
438 * console.h:
439 * device.c:
440 * device.h:
441 * extents.c:
442 * extents.h:
443 * frame.c:
444 * frame.h:
445 * glyphs.c:
446 * glyphs.h:
447 * lisp.h:
448 * lstream.c:
449 * lstream.h:
450 * signal.c:
451 * specifier.c:
452 * specifier.h:
453 Eliminate MAC_* macros.
454 The MAC_ macros use non-standard comiler extenstions which cause
455 gcc to generate bad code on Sparc/Solaris. Attractive though the
456 idea of using those compiler extensions is, they are just not
457 robust enough to use in the real world. So we eliminate them.
458 We put up with some sub-optimalities, like macros with multiple
459 evaluation. Such is life with C. The MAC_ macros were pretty
460 darn ugly anyways. We CAN use inline functions, since the advent
461 of C++ means that compilers must support those anyways.
462
463 1998-03-21 Martin Buchholz <martin@xemacs.org>
464
465 * alloc.c (list*): Optimize recursion levels.
466
467 * alloc.c: Add debugger support via enum dbg_constants.
468 * gdbinit: Complete rewrite.
469 * gdbinit.union: Remove
470 * gdbinit.pre-4.14: Remove
471 * dbxrc: Complete rewrite.
472 * man/xemacs-faq.texi:
473 Proper robust debugger support for gdb and Sun's dbx.
474 Support all combinations of Kylish DEFINEs.
475 Work out of the box with no user customizations.
476 See the updated faq for details.
477
478 * emacsfns.h: Remove. Move declarations to lisp.h
479 * dynarr.h: Remove. Move declarations to lisp.h
480 * lisp.h.
481 Optimize header file handling to improve compile time over a network.
482 Introduce EXFUN macro for external declaration to correspond to DEFUN.
483 Include header files only when necessary, i.e. not from lisp.h:
484 - unistd.h, limits.h, fnctl.h, blocktype.h, dynarr.h, emacsfns.h
485
486
487 * lisp.h:
488 * lisp-union.h:
489 * lisp-disunion.h:
490 Rewrite low level object frobbing.
491 Make it safe to use XSETOBJ on uninitialized Lisp_Objects.
492 (markbit might have been set otherwise)
493 Move XPRNTRVAL->XPNTR computation out of lisp-*union.h, since it
494 is union-type-independent.
495
496 * EmacsFrame.c:
497 * alloc.c:
498 * chartab.c:
499 * console.c:
500 * dialog-x.c:
501 * doc.c:
502 * elhash.c:
503 * eval.c:
504 * event-Xt.c:
505 * event-stream.c:
506 * event-unixoid.c:
507 * extents.c:
508 * faces.c:
509 * file-coding.c:
510 * frame.c:
511 * glyphs.c:
512 * insdel.c:
513 * keymap.c:
514 * lstream.c:
515 * marker.c:
516 * menubar-x.c:
517 * mule-coding.c:
518 * opaque.c:
519 * ralloc.c:
520 * rangetab.c:
521 * redisplay-msw.c:
522 * redisplay-output.c:
523 * redisplay-tty.c:
524 * redisplay-x.c:
525 * redisplay.c:
526 * scrollbar-x.c:
527 * scrollbar.c:
528 * specifier.c:
529 * symbols.c:
530 * toolbar-x.c:
531 * toolbar.c:
532 * window.c:
533 As a result of the above lisp*.h changes, we can now safely remove
534 initializations of Lisp_Objects before calling XSETOBJ on them.
535 This was only being done half the time, anyways.
536
537 * Makefile.in.in (depend): New target. calls make-src-depend.
538 * depend: New file. Generated by make-src-depend
539 * make-src-depend: New file. generates up-to-date dependencies.
540 Makefile dependencies are now automagically maintained, and
541 CORRECT. lisp.h and friends are now included in the dependencies,
542 since this complies with the principle of least astonishment.
543
544 * symbols.c (symbol_is_constant): Optimize.
545
546 1998-03-30 SL Baur <steve@altair.xemacs.org>
547
548 * frame.c (vars_of_frame): Default frame name should be InfoDock
549 for InfoDock.
550
551 1998-03-29 SL Baur <steve@altair.xemacs.org>
552
553 * emacs.c (voodoo_free_hook): ELF libraries built with newer
554 versions of GCC do horrible things in dumped binaries after exit()
555 is called.
556 (Fkill_emacs): Use it.
557
558 1998-03-28 SL Baur <steve@altair.xemacs.org>
559
560 * s/linux.h: For simplicity, do not use standard linking because
561 it is deadly with new GCC.
562
1 Sat Mar 28 10:16:29 1998 Andy Piper <andyp@parallax.co.uk> 563 Sat Mar 28 10:16:29 1998 Andy Piper <andyp@parallax.co.uk>
2 564
3 * Makefile.in.in: fix fastdump target 565 * Makefile.in.in: fix fastdump target
4 566
5 * console-msw.h: add memory dc to frame. 567 * console-msw.h: add memory dc to frame.