Add arch taglines
[bpt/emacs.git] / src / ChangeLog
index 6bbc784..faa35c3 100644 (file)
@@ -1,3 +1,439 @@
+2003-09-01  Dave Love  <fx@gnu.org>
+
+       * Makefile.in (alloca.o): Remove commands.
+       (coding.o): Depend on intervals.h composite.h window.h.
+       (emacs.o): Depend on window.h keyboard.h keymap.h.
+       (gtkutil.o): Depend on keyboard.h charset.h coding.h.
+       (bytecode.o): Depend on window.h.
+
+2003-08-31  Jason Rumney  <jasonr@gnu.org>
+
+       * w32term.c (w32_per_char_metric): Allow cached metrics to be
+       returned even when font_type is unknown.
+
+       * xdisp.c (init_iterator): Remove old WINDOWSNT conditional.
+
+2003-08-30  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xterm.c (x_term_init): Initialize new fields in x_display_info.
+
+       * xterm.h (struct x_display_info): Add red/green/blue_bits and
+       *_offset.
+
+       * xfns.c (lookup_rgb_color): Use new fields in x_display_info to
+       calculate pixel value.
+
+2003-08-29  Gerd Moellmann  <gerd.moellmann@t-online.de>
+
+       * xdisp.c (redisplay_internal): Fix change of 2003-04-30.  Don't
+       tell redisplay display is accurate when it's actually been paused
+       for pending input.
+
+2003-08-29  Richard M. Stallman  <rms@gnu.org>
+
+       * dispnew.c (adjust_glyph_matrix): Call window_box
+       whenever W is nonzero.
+
+       * data.c (Fmake_variable_buffer_local, Fmake_local_variable)
+       (Fkill_local_variable, Fmake_variable_frame_local)
+       (Flocal_variable_p, Flocal_variable_if_set_p): 
+       Use indirect_variable to trace thru variable aliases.
+
+       * config.in: Updated.
+
+       * callint.c (Fcall_interactively): Save and restore
+       Vthis_command, Vthis_original_command, real_this_command,
+       and current_kboard->Vlast_command.
+
+       * abbrev.c (Fexpand_abbrev): Insert before deleting.
+
+2003-08-29  Gerd Moellmann  <gerd@gnu.org>
+
+       * xfns.c (lookup_rgb_color): Handle TrueColor visuals specially.
+
+2003-08-28  David Abrahams  <dave@boost-consulting.com>  (tiny change)
+
+       * coding.c (decode_coding_iso2022): Initialized local variable c2.
+       (decode_coding_sjis_big5): Likewise.
+
+2003-08-27  Jason Rumney  <jasonr@gnu.org>
+
+       * w32.c (sys_pipe): Protect against file descriptor overflow.
+
+       * w32fns.c (syms_of_w32fns): Remove non-existent functions.
+
+       * w32term.c (w32_read_socket): Fix WM_MOUSEWHEEL assignment.
+
+2003-08-26  Terje Rosten <terjeros@phys.ntnu.no>
+
+       * xfns.c (Vgtk_version_string): New variable.
+       (syms_of_xfns): DEFVAR_LISP it.  Provide gtk.
+
+2003-08-24  Eli Zaretskii  <eliz@elta.co.il>
+
+       * term.c (term_init): Remove `const' from buffer_size's
+       declaration.
+
+       * Makefile.in (msdos.o): Depend on intervals.h.
+
+       * msdos.c: Include intervals.h, since STRING_INTERVALS requires
+       that.
+
+2003-08-21  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xterm.h (struct x_display_info): New fields: client_leader_window
+       and Xatom_wm_client_leader.
+
+       * xterm.c (x_initialize): Move call to x_session_initialize to ...
+       (x_term_init): ... here.  Initialize client_leader fields in dpyinfo.
+
+       * xsmfns.c (create_client_leader_window): New function.
+       (x_session_initialize): Call create_client_leader_window, take
+       dpyinfo as argument.
+
+       * xfns.c (Fx_create_frame): Set property WM_CLIENT_LEADER.
+
+       * Makefile.in (xsmfns.o): Add more depenedencies.
+
+2003-08-21  Dave Love  <fx@gnu.org>
+
+       * m/iris4d.h: Use _MIPS_SZLONG, not _LP64.
+
+2003-08-21  Kenichi Handa  <handa@m17n.org>
+
+       * term.c (term_init): Fix previous change; don't rely on the
+       length of `buffer' if TERMINFO is defined.
+
+2003-08-20  Dave Love  <fx@gnu.org>
+
+       * atimer.h: Include lisp.h.
+
+       * lisp.h (EMACS_LISP_H): New.
+       (popup_activated_flag): Don't declare.
+
+       * alloca.c: Some merging with gnulib.  Change logic and doc
+       concerning (x)malloc/(x)free -- no longer Emacs-specific.
+       [DO_BLOCK_INPUT]: Don't include lisp.h.
+       (xmalloc, xfree): Declare.
+       (malloc): Don't declare.
+
+       * Makefile.in (LWLIB_OPTIONS): Removed (unused).
+       (alloca.o): Remove obsolete stuff concerning alloca.s.  Depend on
+       atimer.h, blockinput.h.
+
+       * alloc.c (lisp_align_malloc): Change type of `aligned'.
+
+       * alloca.s: Removed.
+
+2003-08-19  Gerd Moellmann  <gerd@gnu.org>
+
+       * s/freebsd.h [__FreeBSD_version >= 400000]: Define TERMINFO,
+       use -lncurses.
+
+       * term.c (term_init): Use a buffer of size 4096 for tgetent since
+       FreeBSD returns something longer than 2044.  Abort if the end of
+       the buffer is overwritten.
+
+2003-08-19  Miles Bader  <miles@gnu.org>
+
+       * xterm.c (x_term_init): Correctly use result of Ffile_readable_p.
+
+2003-08-19  Gerd Moellmann  <gerd@gnu.org>
+
+       * alloc.c (lisp_align_malloc): Check for memory full when
+       allocating ablocks, which also avoids freeing a pointer into an
+       ablocks structure.
+
+       * puresize.h (BASE_PURESIZE): Increase to 1100000.
+
+       * buffer.c (Fmove_overlay): Set overlay's next pointer
+       unconditionally.
+
+2003-08-16  Richard M. Stallman  <rms@gnu.org>
+
+       * editfns.c (Fencode_time): Doc fix.
+
+2003-08-16  David Ponce  <david@dponce.com>
+
+       * fileio.c (Fwrite_region): Fix conditional expression to issue
+       the right message.
+
+2003-08-16  Juri Linkov  <juri@jurta.org>  (tiny change)
+
+       * syntax.c (Fforward_word): Argument changed to optional.
+        Set default value to 1.
+
+2003-08-15  Kenichi Handa  <handa@m17n.org>
+
+       * xfaces.c (better_font_p): Prefer a real scalable font; i.e. not
+       what autoscaled.
+       (best_matching_font): Once we find a better scalable font, set
+       non_scalable_has_exact_height_p to 1.
+       (try_font_list): Call try_alternative_families to try any family
+       with the given registry.
+
+2003-08-09  Andreas Schwab  <schwab@suse.de>
+
+       * alloc.c (mark_object): Handle Lisp_Misc_Save_Value.
+
+       * print.c (print_string): Fix printing of multibyte string with
+       nontrivial printcharfun.
+
+2003-07-31  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xfns.c (xg_set_icon): Rewrite to compile with GTK 2.0 and 2.2.
+
+       * xterm.c (x_bitmap_icon): Return if xg_set_icon succeeds.
+
+2003-07-31  Kenichi Handa  <handa@m17n.org>
+
+       * process.c (read_process_output): Return the actually read bytes
+       instead of the result of decoding.
+
+2003-07-31  Kenichi Handa  <handa@m17n.org>
+
+       * xterm.h (struct x_bitmap_record): New member have_mask.
+
+       * xfns.c (x_create_bitmap_from_data): Initialize have_mask member
+       to 0.
+       (x_create_bitmap_from_file): Likewise.
+       (x_destroy_bitmap): Check have_mask member before freeing a mask.
+       (x_destroy_all_bitmaps): Likewise.
+       (x_create_bitmap_mask): Set have_mask member to 1.
+
+2003-07-30  Richard M. Stallman  <rms@gnu.org>
+
+       * Makefile.in (CFLAGS) [!OPTIMIZE]: Undo previous change.
+
+2003-07-29  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_mark_data): Update calls to mark_object.
+
+2003-07-29  Richard M. Stallman  <rms@gnu.org>
+
+       * xterm.c (xim_open_dpy, xim_initialize, xim_close_dpy):
+       Conditionalize XIM code on HAVE_XIM.
+
+       * fns.c (Fclear_string): New function.
+       (syms_of_fns): defsubr it.
+
+2003-07-28  KOBAYASHI Yasuhiro  <kobayays@otsukakj.co.jp> (tiny change)
+
+       * xfns.c (xic_set_preeditarea): Add the left fringe width to
+       spot.x.
+
+2003-07-22  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * xfns.c: Don't check HAVE_PNG_H: autoconf doesn't seem to find it.
+
+       * buffer.c (delete_all_overlays): New function.
+       * buffer.h (delete_all_overlays): Declare.
+       * coding.c (run_pre_post_conversion_on_str):
+       * print.c (temp_output_buffer_setup):
+       * fileio.c (Finsert_file_contents):
+       * minibuf.c (get_minibuffer): Use it.
+
+2003-07-22  Andrew Choi  <akochoi@shaw.ca>
+
+       * unexmacosx.c (unexec_regions_sort_compare):
+       (unexec_regions_merge): New functions.  Sort and merge unexec
+       regions before dumping them.
+
+2003-07-22  Dave Love  <fx@gnu.org>
+
+       * xfns.c [HAVE_PNG]: Consider both png.h and libpng/png.h.
+
+2003-07-21  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P)
+       (GC_STRING_CHARS, string_bytes): Use ARRAY_MARK_FLAG rather than
+       MARKBIT as the gcmarkbit for strings.
+
+2003-07-21  Richard M. Stallman  <rms@gnu.org>
+
+       * s/openbsd.h (LD_SWITCH_SYSTEM_TEMACS): Add undef.
+
+       * fns.c (Flocale_info): Rename from Flanginfo.  Doc fixes.
+       (syms_of_fns): Corresponding change.
+
+       * alloc.c (syms_of_alloc): Doc fixes.
+
+2003-07-20  Han Boetes  <han@mijncomputer.nl>  (tiny change)
+
+       * s/netbsd.h: Use -Wl syntax.
+
+2003-07-17  Richard M. Stallman  <rms@gnu.org>
+
+       * xterm.c (xim_initialize): Redo 6/24 change.
+
+2003-07-15  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * buffer.c (copy_overlays): Use EMACS_INT for positions.
+       (Fswitch_to_buffer): Don't signal an error when switching to the same
+       buffer in a dedicated window.
+
+       * alloc.c: Use bitmaps for cons, as was done for floats.
+       (init_float, init_cons): Let the normal code allocate the first block.
+       (CONS_BLOCK_SIZE): Redefine based on BLOCK_BYTES and bitmap size.
+       (CONS_BLOCK, CONS_INDEX, CONS_MARKED_P, CONS_MARK, CONS_UNMARK):
+       New macros.
+       (struct cons_block): Move conses to the beginning.  Add gcmarkbits.
+       (Fcons): Use lisp_align_malloc and CONS_UNMARK.
+       (live_cons_p): Check the pointer is not past the `conses' array.
+       (mark_maybe_object, mark_maybe_pointer): Use CONS_MARKED_P.
+       (mark_object, mark_buffer): Use CONS_MARKED_P and CONS_MARK.
+       (survives_gc_p): Use CONS_MARKED_P and simplify.
+       (gc_sweep): Use CONS_MARKED_P, CONS_UNMARK, and lisp_align_free.
+
+2003-07-13  Paul Eggert  <eggert@twinsun.com>
+
+       GCC 3.3 (sparc) no longer puts "int foo = 0;" into data; it
+       puts it into BSS instead, at least on Solaris 8 and 9.
+       This is a valid optimization, and it may occur on other platforms,
+       so Emacs should not assume that initializing a static variable to
+       zero puts it into data.
+       * alloc.c (pure, staticvec):
+       Initialize these arrays to nonzero, so that they're not
+       put into BSS by that optimization.
+
+2003-07-13  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * alloc.c (BLOCK_PADDING): Rename from ABLOCKS_PADDING.  Update users.
+       (lisp_align_malloc): Use posix_memalign is available.
+       (ABLOCKS_BASE): Use HAVE_POSIX_MEMALIGN as an optimization.
+       (STRING_BLOCK_SIZE): Rename from STRINGS_IN_STRING_BLOCK
+       for consistency.  Update users.
+
+2003-07-13  Richard M. Stallman  <rms@gnu.org>
+
+       * s/netbsd.h (START_FILES_1, END_FILES_1): Always define them.
+
+2003-07-13  Terje Rosten  <terjeros@phys.ntnu.no>
+
+       * xterm.c (x_bitmap_icon,x_wm_set_icon_pixmap): Modify to add mask,
+       and use the Gtk+ function gtk_window_icon_from_file if available.
+
+       * xfns.c (x_bitmap_mask, x_create_bitmap_mask): New functions to
+       handle mask of bitmaps.
+       (x_allocate_bitmap_record, x_destroy_bitmap): Modify to handle the
+       mask property.
+       (xg_set_icon): New function, wrapper for gtk_window_icon_from_file.
+
+       * xterm.h (xg_set_icon): New function.
+
+2003-07-12  Paul Eggert  <eggert@twinsun.com>
+
+       * unexelf.c (unexec): Consider a section to precede the .bss
+       section if its addresses overlap that of .bss.
+
+2003-07-12  Richard M. Stallman  <rms@gnu.org>
+
+       * Makefile.in (CFLAGS) [!OPTIMIZE]: Set CFLAGS to -g.
+
+       * config.in (HAVE_CRTIN): Add #undef.
+       (INLINE): Really inline only if OPTIMIZE is defined.
+
+       * s/netbsd.h (START_FILES, LIB_STANDARD): Use START_FILES_1,
+       END_FILES_1.
+       (START_FILES_1, END_FILES_1): New macros (conditional).
+       (LD_SWITCH_SYSTEM_TEMACS): Define.
+
+       * s/openbsd.h: Don't include bsd4-3.h.
+       (TERMINFO): Define.
+       (LIBS_TERMCAP): Define.
+       (LD_SWITCH_SYSTEM): Define (two definitions).
+
+       * xfns.c: Include libpng/png.h instead of png.h.
+
+2003-07-11  Andreas Schwab  <schwab@suse.de>
+
+       * buffer.c (modify_overlay): Update prototype.
+       * lisp.h (adjust_overlays_for_insert, adjust_overlays_for_delete):
+       Likewise.
+
+2003-07-09  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * lisp.h (VALBITS): Define in terms of GCTYPEBITS.
+       (struct interval): Move to intervals.h.
+       (struct Lisp_Marker): Use EMACS_INT for position info.
+       (forward_point): Remove prototype of defunct function.
+       (Qmodification_hooks, Qrear_nonsticky, Fnext_property_change)
+       (Fget_text_property, Fset_text_properties, Ftext_propertes_not_all)
+       (syms_of_textprop, set_text_properties): Remove prototypes that are
+       already in intervals.h.
+
+       * intervals.h (struct interval): Move from lisp.h.
+       Use EMACS_INT for position and size info.
+
+       * coding.c: Include intervals.h for Fset_text_properties.
+
+       * buffer.h (struct buffer_text, struct buffer): Use EMACS_INT for
+       position and length information.
+
+2003-07-09  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * buffer.h (struct buffer_text, struct buffer): Use EMACS_INT for
+       position and length information.
+
+2003-07-09  Stefan Monnier  <monnier@cs.yale.edu>
+
+       Change overlays_after and overlays_before so the overlays themselves
+       are linked into lists, rather than using cons cells.  After all each
+       Lisp_Misc already occupies 5 words, so we can add a `next' field to
+       Lisp_Overlay for free and save up one cons cell per overlay (not
+       to mention one indirection when traversing the list of overlay).
+
+       * lisp.h (struct Lisp_Overlay): New field `next'.
+
+       * buffer.h (struct buffer): Change overlays_before and overlays_after
+       from Lisp lists of overlays to pointers to overlays.
+
+       * buffer.c (overlay_strings, recenter_overlay_lists):
+       Fix typo in eassert in last commit.
+       (unchain_overlay): New function.
+       (add_overlay_mod_hooklist): Use AREF.
+       (copy_overlays, reset_buffer, overlays_at, overlays_in)
+       (overlay_touches_p, overlay_strings, recenter_overlay_lists)
+       (fix_overlays_in_range, fix_overlays_before, Fmake_overlay)
+       (Fmove_overlay, Fdelete_overlay, Foverlay_lists)
+       (report_overlay_modification, evaporate_overlays, init_buffer_once):
+       Adjust to new type of overlays_(before|after).
+
+       * alloc.c (mark_object): Mark the new `next' field of overlays.
+       (mark_buffer): Manually mark the overlays_(after|before) fields.
+
+       * coding.c (run_pre_post_conversion_on_str):
+       * editfns.c (overlays_around):
+       * xdisp.c (load_overlay_strings):
+       * fileio.c (Finsert_file_contents):
+       * indent.c (current_column):
+       * insdel.c (signal_before_change, signal_after_change):
+       * intervals.c (set_point_both):
+       * print.c (temp_output_buffer_setup): Use new type for
+       overlays_(before|after).
+
+2003-07-08  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * buffer.c (report_overlay_modification): Don't run hooks while
+       traversing the list of overlays.
+
+       * buffer.h (struct buffer): Use an int for overlay_center.
+       (overlays_at, evaporate_overlays, recenter_overlay_lists)
+       (overlay_strings, fix_overlays_before): Use EMACS_INT for positions.
+
+       * buffer.c (reset_buffer, recenter_overlay_lists)
+       (adjust_overlays_for_insert, adjust_overlays_for_delete)
+       (fix_overlays_in_range, Fmake_overlay, Fmove_overlay)
+       (evaporate_overlays, init_buffer_once): Update use of overlay_center.
+       (overlays_at, evaporate_overlays, recenter_overlay_lists)
+       (overlay_strings, fix_overlays_before): Use EMACS_INT for positions.
+
+       * xdisp.c (fast_find_position): Remove unused var.
+
+       * cmds.c (Qexpand_abbrev): New sym.
+       (syms_of_cmds): Initialize it.
+       (internal_self_insert): Use it to call expand-abbrev.
+
 2003-07-09  Kim F. Storm  <storm@cua.dk>
 
        * xterm.c (use_xim) [!USE_XIM]: Default to disable XIM if emacs
 
 2003-07-06  Stefan Monnier  <monnier@cs.yale.edu>
 
+       * minibuf.c (read_minibuf): UNGCPRO before returning.
+       (Ftry_completion, Fall_completions): Doc fix.
+
        * alloc.c (live_float_p): Check that p is not past the `floats' array,
        now that `floats' is not the last element of the struct any more.
 
@@ -10254,3 +10693,5 @@ See ChangeLog.9 for earlier changes.
     Copyright (C) 2001, 2002 Free Software Foundation, Inc.
   Copying and distribution of this file, with or without modification,
   are permitted provided the copyright notice and this notice are preserved.
+
+;;; arch-tag: 5dcc435f-4038-4141-b3bf-5be51cd76bd4