]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
*** empty log message ***
[gnu-emacs] / src / ChangeLog
index f37b3f580d5730720dbf695fc904fda443577af6..355b0203f09830938d8fc3d602ce0895e479b094 100644 (file)
@@ -1,3 +1,233 @@
+2003-01-17  Kenichi Handa  <handa@m17n.org>
+
+       * editfns.c (Fformat): Convert an unibyte char argument that is
+       formatted by "%c" to multibyte if the total result must be a
+       multibyte string.
+
+2003-01-16  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (set-process-filter): Document unibyte/multibyte-ness
+       of string argument.
+
+2003-01-16  Kenichi Handa  <handa@m17n.org>
+
+       * charset.h (NEXT_CHAR_BOUNDARY, PREV_CHAR_BOUNDARY): New macros.
+
+       * regex.c (GET_CHAR_BEFORE_2): Use PREV_CHAR_BOUNDARY.
+       (re_search_2): Likewise.
+
+2003-01-15  Kenichi Handa  <handa@m17n.org>
+
+       * xdisp.c (message_dolog): Fix bug of the case that *Message*
+       buffer is unibyte.
+
+2003-01-15  Francesco Potort\e,Al\e(B  <pot@gnu.org>
+
+       * fns.c (Fsubstring): Clarify doc string.
+
+       * textprop.c (Ftext_properties_at, Fnext_char_property_change)
+       (Fprevious_char_property_change)
+       (Fnext_single_char_property_change)
+       (Fprevious_single_char_property_change, Fnext_property_change)
+       (Fnext_single_property_change, Fprevious_property_change)
+       (Fprevious_single_property_change, Fadd_text_properties)
+       (Fput_text_property, Fset_text_properties)
+       (Fremove_text_properties, Fremove_list_of_text_properties)
+       (Ftext_property_any, Ftext_property_not_all): Clarify doc strings.
+
+2003-01-14  Kim F. Storm  <storm@cua.dk>
+
+       * process.h (struct Lisp_Process): New member plist replaces old
+       member private_vars.  All uses changed.
+
+       * process.c: Reworked 2003-01-12 change -- call a plist a plist!
+       (QCplist): Renamed from QCvars.  All uses changed.
+       (Fprocess_plist): Replaces Fprocess_variable.  Simplified.
+       (Fset_process_plist): Replaces Fset_process_variable.  Simplified.
+       (syms_of_process): Intern, staticpro, defsubr these.
+       (Fmake_network_process): Describe :plist arg.  Removed :vars arg.
+
+2003-01-14  Francesco Potort\e,Al\e(B  <pot@gnu.org>
+
+       * m/delta.h: Removed (obsolete).
+
+2003-01-13  Francesco Potort\e,Al\e(B  <pot@gnu.org>
+
+       * fileio.c (Fdelete_directory, Fdelete_file): Document the
+       behaviour in front of symlinks.
+       (Fdelete_file): Raise an error on directories.
+
+2003-01-13  Dave Love  <fx@gnu.org>
+
+       * fns.c (Freverse): Use QUIT.
+
+2003-01-13  Richard M. Stallman  <rms@gnu.org>
+
+       * minibuf.c (minibuffer_completion_contents):
+       Error if point is inside prompt.
+
+       * keyboard.c (command_loop_1): Don't redisplay directly
+       if there's a post-command-hook.
+
+       * fileio.c (syms_of_fileio) <directory-sep-char>: Doc fix.
+       (Fdo_auto_save): Add gcpros around Ffile_name_directory.
+
+2003-01-12  Kim F. Storm  <storm@cua.dk>
+
+       * process.h (struct Lisp_Process): New member private_vars.
+
+       * process.c (QCvars): New variable.
+       (syms_of_process): Intern and staticpro it.
+       (Fset_process_contact): Removed function.
+       (Fprocess_variable, Fset_process_variable): New functions.
+       (syms_of_process): Defsubr them.
+       (Fstart_process): Initialize private_vars plist to nil.
+       (Fmake_network_process): New arg :vars to setup the private
+       variables for new network process.
+       (server_accept_connection): Copy server's private variables to
+       client process.
+
+       * alloc.c (pure_alloc): Fixed 2003-01-10 changed (caused spurious
+       crashes).  Code rewritten and simplified.  Now directly aligns the
+       pointer and recalculates pure_bytes_used, rather than aligning the
+       size and adjusting the pointer.
+
+2003-01-11  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (Fset_process_contact): New function.
+       (syms_of_process): defsubr it.
+       (make-network-process): Update doc.
+
+2003-01-10  Andreas Schwab  <schwab@suse.de>
+
+       * alloc.c (pure_alloc): Correct alignment for Lisp_Floats.
+       Reported by Berthold Gunreben <b.gunreben@web.de>.
+
+2003-01-10  Dave Love  <fx@gnu.org>
+
+       * composite.c (syms_of_composite): Make composition_hash_table
+       weak.
+
+2003-01-09  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (Fmake_network_process): Convert new port number
+       to host byte order for `:service t' case.  From Mario Lang.
+
+2003-01-08  Jan D.  <jan.h.d@swipnet.se>
+
+       * xfns.c (Fx_file_dialog): Call XtAppNextEvent and x_dispatch_event
+       instead of XtAppProcessEvent.
+
+       * xterm.c (handle_one_xevent): New function
+       (x_dispatch_event): New function
+       (XTread_socket): Call handle_one_xevent.
+
+       * xterm.h (FRAME_OUTER_TO_INNER_DIFF_X/Y): Added
+
+       * xmenu.c (Fx_popup_menu): If popping up at mouse position,
+       call XQueryPointer to get coordinates.
+       (popup_get_selection): Do not set popup_activated_flag to zero,
+       let popup_deactivate_callback do that.  Needed for Motif.
+       Call x_dispatch_event instead of XtDispatchEvent.
+       (xmenu_show): Calculate root coordinate from frame top/left position.
+
+
+2003-01-08  Kim F. Storm  <storm@cua.dk>
+
+       * process.c (server_accept_connection): Fixed recording of new
+       connection's local address in :local property of contact info.
+       (Fmake_network_process): Record local network address for new
+       client processes in :local property of contact info.
+       (format-network-address): Added arg OMIT-PORT.  Callers changed.
+
+2003-01-07  Dave Love  <fx@gnu.org>
+
+       * Makefile.in (fns.o): Depend on coding.h.
+
+2003-01-07  Markus Rost  <rost@math.ohio-state.edu>
+
+       * minibuf.c (Fread_variable): Doc fix.
+
+       * eval.c (Fuser_variable_p): Doc change.  For custom variables,
+       use the same test as for custom-variable-p.
+
+2003-01-05  Richard M. Stallman  <rms@gnu.org>
+
+       * xdisp.c (try_scrolling): New arg LAST_LINE_MISFIT.
+       Count LAST_LINE_MISFIT in scroll margin for end of window.
+       Move label too_near_end before setting SCROLL_MARGIN_POS.
+       Set LAST_LINE_MISFIT before jumping there.
+
+       * xdisp.c (try_scrolling): Calculate amount_to_scroll better in
+       scroll_conservatively case.  If scrolling that much doesn't change
+       STARTP, move it down one line.
+
+       * xdisp.c (redisplay_window): Pass last_line_misfit arg to try_scrolling.
+       Make it 1 after make_cursor_line_fully_visible fails.
+
+       * xdisp.c (setup_echo_area_for_printing): Kill Emacs if no selected frame.
+
+       * keymap.c (apropos_predicate, apropos_accumulate): Make them static.
+       (syms_of_keymap): staticpro them.
+       (Fapropos_internal): Initialize them and clear them out.
+       Don't GCPRO them.
+
+       * buffer.c (syms_of_buffer) <scroll-up-aggressively, scroll-down-aggressively>:
+       Doc fixes.
+
+       * lisp.h: New misc type Lisp_Save_Value.
+       (enum Lisp_Misc_Type): Add Lisp_Misc_Save_Value.
+       (XSAVE_VALUE): New macro.
+       (struct Lisp_Save_Value): New data type.
+       (union Lisp_Misc): Add u_save_value alternative.
+       (make_save_value): Declared.
+
+       * alloc.c (make_save_value): New function.
+
+       * xterm.c (x_catch_errors): Save dpy using make_save_value.
+       (x_catch_errors_unwind): Call XSync.
+
+2003-01-01  Richard M. Stallman  <rms@gnu.org>
+
+       * window.c (window_scroll_pixel_based): Partially undo last change.
+
+       * keyboard.c (command_loop_1): Call adjust_point_for_property
+       in direct action cases for Qforward_char and Qbackward_char.
+       Set already_adjusted so it won't be done twice.
+
+2002-12-30  Richard Dawe  <rich@phekda.freeserve.co.uk>  (tiny change)
+
+       * src/config.in (!HAVE_SIZE_T): Fix order of arguments in
+       type definition of size_t.
+
+2003-01-02  Steven Tamm  <steventamm@mac.com>
+
+       * macterm.c (syms_of_macterm): Provide the feature "mac-carbon" to
+       distinguish Carbon GUI builds from X11 builds on darwin.
+
+2002-12-30  Steven Tamm  <steventamm@mac.com>
+
+       * macterm.c (syms_of_macterm): Set mac-wheel-button-is-mouse-2
+       to default to t.
+
+2002-12-29  Francesco Potort\e,Al\e(B  <pot@gnu.org>
+
+       * data.c (Fstring_to_number, Fminus): Better English in doc strings.
+
+2002-12-28  Steven Tamm  <steventamm@mac.com>
+
+       * Makefile.in (macosx-bundle): Fixes to Mac OS X/Carbon port to
+       allow building in a different directory than source.  Uses some
+       GNU Make extensions, but there is no other make on Mac OS X.
+
+2002-12-26  Francesco Potort\e,Al\e(B  <pot@gnu.org>
+
+       * data.c (Fmakunbound, Ffmakunbound, Fmake_variable_buffer_local)
+       (Fsetq_default, Fmake_local_variable, Fkill_local_variable)
+       (Fmake_variable_frame_local, Faset, Fnumber_to_string)
+       (Fstring_to_number, Fminus): Mention the returned value in the doc
+       strings.
+
 2002-12-23  Richard M. Stallman  <rms@gnu.org>
 
        * buffer.c (syms_of_buffer) <scroll-up-aggressively>
 
 2002-12-22  Steven Tamm  <steventamm@mac.com>
 
-       * macmenu.c (MIN_POPUP_SUBMENU_ID): Added 
+       * macmenu.c (MIN_POPUP_SUBMENU_ID): Added
        (mac_menu_show): Added support for hierarchical popup menus
        (add_menu_item): Removed indentation support
        (fill_submenu, fill_menu): Now creates hierarchical menus
        * Errors and throws work right with interrupt blocking.
        * eval.c (struct catchtag): New elt interrupt_input_blocked.
        (unwind_to_catch): Restore interrupt_input_blocked from saved value.
-       (internal_catch, Fcondition_case, internal_condition_case) 
+       (internal_catch, Fcondition_case, internal_condition_case)
        (internal_condition_case_1, internal_condition_case_2): Save it.
        (Fsignal): Don't do TOTALLY_UNBLOCK_INPUT.
 
 2002-12-17  Ben Key <bkey1@tampabay.rr.com>
 
        * Revisited my earlier fix for the following entry in
-       etc/PROBLEMS: 
+       etc/PROBLEMS:
        "Emacs built on Windows 9x/ME crashes at startup on Windows XP,
        or Emacs builtpart of on XP crashes at startup on Windows 9x/ME."
-       
+
        These changes were in part based upon suggestions made by Peter
        'Luna' Runestig [peter@runestig.com].
 
        * w32.c (open_process_token): Perform initialization only if
        g_b_init_open_process_token is equal to 0.  On initialization set
        g_b_init_open_process_token equal to 1.
-       
+
        * w32.c (get_token_information): Perform initialization only if
        g_b_init_get_token_information is equal to 0.  On initialization
        set g_b_init_get_token_information equal to 1.
-       
+
        * w32.c (lookup_account_sid): Perform initialization only if
-       g_b_init_lookup_account_sid is equal to 0.  On initialization 
+       g_b_init_lookup_account_sid is equal to 0.  On initialization
        set g_b_init_lookup_account_sid equal to 1.
 
        * w32.c (get_sid_identifier_authority): Perform initialization
        detected by BoundsChecker.  Test to determine if
        w32_system_caret_hwnd is NULL prior to attempting to use
        SendMessage to send the WM_EMACS_SHOW_CARET message to it.
-       
+
 2002-12-17  Kenichi Handa  <handa@m17n.org>
 
        * coding.c (coding_system_require_warning): New variable.