/[emacs]/emacs/src/ChangeLog
ViewVC logotype

Diff of /emacs/src/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2701.2.64 by miles, Fri Nov 12 04:21:17 2004 UTC revision 1.2701.2.65 by miles, Wed Dec 8 23:31:39 2004 UTC
# Line 1  Line 1 
1    2004-11-16  Luc Teirlinck  <teirllm@auburn.edu>
2    
3            * xdisp.c (message3): Call clear_message.
4    
5    2004-11-17  Kim F. Storm  <storm@cua.dk>
6    
7            * xdisp.c (erase_phys_cursor): Adjust cursor row visible height.
8    
9    2004-11-16  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
10    
11            * gtkutil.c (xg_get_file_name): Fix typo in
12            HAVE_GTK_FILE_SELECTION_NEW.
13    
14            * xmenu.c (x_menu_in_use): Remove.
15            (x_menu_set_in_use): Also set popup_activated_flag.
16    
17            * xfns.c (Fx_file_dialog): Call popup_activated instead of
18            x_menu_in_use.  Call x_menu_set_in_use in Motif version also.
19    
20            * xterm.h: (x_menu_in_use): Remove.
21    
22    2004-11-16  Richard M. Stallman  <rms@gnu.org>
23    
24            * keymap.c (Fmap_keymap): New arg SORT-FIRST.
25            Use map-keymap-internal to implement that.
26    
27            * indent.c (Fvertical_motion): In batch mode, use vmotion directly.
28    
29    2004-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
30    
31            * xdisp.c (get_glyph_string_clip_rect, init_glyph_string): Check it's
32            a window before using XWINDOW.
33    
34            * window.c (make_window, Fselect_window, make_dummy_parent)
35            (save_window_save):
36            * frame.c (make_frame):
37            * fns.c (concat): Avoid side-effects inside XSETFASTINT's arguments.
38    
39            * lisp.h (NILP): Use EQ rather than XFASTINT.
40    
41    2004-11-16  Kim F. Storm  <storm@cua.dk>
42    
43            * fringe.c (Fdefine_fringe_bitmap): Always set 'h'.  Simplify.
44    
45            * indent.c (Fvertical_motion): Fix last change.  Only reseat when
46            moving backwards.
47    
48    2004-11-16  Luc Teirlinck  <teirllm@auburn.edu>
49    
50            * dispextern.h: Extern reseat_at_previous_visible_line_start.
51    
52    2004-11-16  Kenichi Handa  <handa@m17n.org>
53    
54            * xdisp.c (display_mode_element): Fix previous change (calculate
55            end position of substring to display correctly).
56    
57    2004-11-16  Kim F. Storm  <storm@cua.dk>
58    
59            * keyboard.c (Fposn_at_point): Remove extra */ after doc string.
60            Reported by Andrew M. Scott.
61    
62    2004-11-15  Kim F. Storm  <storm@cua.dk>
63    
64            * fns.c (Fsafe_plist_get): New defun.
65            (syms_of_fns): Defsubr it.
66    
67            * lisp.h (Fsafe_plist_get): Add EXFUN.
68    
69            * xdisp.c (store_mode_line_string, produce_stretch_glyph):
70            Use Fsafe_plist_get.
71            (note_mode_line_or_margin_highlight, note_mouse_highlight):
72            Fix image map element parsing.  Use Fsafe_plist_get.
73    
74    2004-11-15  Richard M. Stallman  <rms@gnu.org>
75    
76            * xdisp.c (get_next_display_element): Fix previous change.
77    
78    2004-11-14  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
79    
80            * window.c (shrink_windows): Handle special case of one window left
81            when trying to shrink the final reminder.  Grow windows if
82            total_removed is less than total_shrink.
83    
84            * xmenu.c (pop_down_menu): Remove global variable current_menu,
85            extract pointer from arg with XSAVE_VALUE.
86            (create_and_show_popup_menu, create_and_show_dialog, xmenu_show):
87            Construct arg to record_unwind_protect with make_save_value.
88    
89    2004-11-13  Richard M. Stallman  <rms@gnu.org>
90    
91            * xdisp.c (reseat_at_previous_visible_line_start): No longer static.
92            (get_next_display_element): Fix previous change to apply only to \n.
93    
94            * indent.c (Fvertical_motion): Scan to PT from start of line to
95            make iterator consistent.
96    
97            * minibuf.c (syms_of_minibuf) <completion-ignore-case>: Doc fix.
98    
99    2004-11-14  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
100    
101            * gtkutil.c (pop_down_file_dialog): Add BLOCK_INPUT.
102    
103            * xfns.c (Fx_file_dialog): Call x_menu_in_use and x_menu_set_in_use.
104            Record unwind with clean_up_file_dialog.
105    
106            * xterm.h (x_menu_in_use, x_menu_set_in_use, x_menu_wait_for_event):
107            Declare.
108    
109            * xmenu.c (x_menu_in_use, x_menu_set_in_use): New functions.
110    
111    2004-11-13  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
112    
113            * gtkutil.c (xg_file_sel_ok, xg_file_sel_cancel)
114            (xg_file_sel_destroy): Remove.
115            (xg_file_response_cb, pop_down_file_dialog)
116            (xg_get_file_name_from_chooser, xg_get_file_name_from_selector):
117            New functions.
118            (xg_get_file_with_chooser, xg_get_file_with_selection):
119            Take new arg func, set it to xg_get_file_name_from_chooser/selector.
120            Move common code to xg_get_file_name.  Return widget created.
121            (xg_get_file_name): Set name, transient for, modal and destroy
122            with parent here.  Connect response signal to xg_file_response_cb,
123            connect delete-event to gtk_true.  Record pop_down_file_dialog
124            for unwind.  Do event loop and call x_menu_wait_for_event in loop.
125            (xg_create_widget): Make dialogs modal.
126    
127            * xmenu.c (unuse_menu_items, pop_down_menu): Arg is of type
128            Lisp_Object.
129            (popup_get_selection): Move unwind protect ...
130            (create_and_show_popup_menu, create_and_show_dialog): ... to here.
131            Move destroy of widget to pop_down_menu.
132            (popup_widget_loop): Move unwind protect ...
133            (create_and_show_popup_menu, create_and_show_dialog): ... to here.
134            Move destroy of widget to pop_down_menu.
135            (pop_down_menu): BLOCK_INPUT and destroy widget/window.
136            (xmenu_show): Record unwind pop_down_menu.  Move XMenuDestroy,
137            x_mouse_leave and grabbed = 0 to pop_down_menu.
138    
139    2004-11-13  Kim F. Storm  <storm@cua.dk>
140    
141            * xdisp.c (make_cursor_line_fully_visible_p): New variable.
142            (syms_of_xdisp): DEFVAR_BOOL it.
143            (make_cursor_line_fully_visible, try_cursor_movement)
144            (try_window_id): Use it.
145    
146    2004-11-12  Kim F. Storm  <storm@cua.dk>
147    
148            * dispextern.h (struct glyph_row): New member extra_line_spacing.
149            (struct it): New member max_extra_line_spacing.
150            (MR_PARTIALLY_VISIBLE, MR_PARTIALLY_VISIBLE_AT_TOP)
151            (MR_PARTIALLY_VISIBLE_AT_BOTTOM): New helper macros.
152            (MATRIX_ROW_PARTIALLY_VISIBLE_P): Fix to return false if invisible
153            part of last line is only extra line spacing (so the text on the
154            line is fully visible). Use helper macros.
155            Add W arg (to use them).  All callers changed.
156            (MATRIX_ROW_PARTIALLY_VISIBLE_AT_TOP_P)
157            (MATRIX_ROW_PARTIALLY_VISIBLE_AT_BOTTOM_P): Use helper macros.
158    
159            * window.c (window_scroll_pixel_based, Frecenter):
160            Use move_it_vertically_backward directly.
161            (Frecenter): Fix calculation of new start pos for negative arg.
162            Before, the new start pos was sometimes chosen too far back, so
163            the last line became only partially visible, and thus would be
164            either only semi-visible or automatically scrolled to the middle
165            of the window by redisplay.
166    
167            * xdisp.c (init_iterator): Clear it.max_extra_line_spacing.
168            (move_it_vertically_backward): Don't recure to move further back.
169            (move_it_vertically): Remove superfluous condition.
170            (move_it_by_lines): Clear last_height when moved 0 lines.
171            (resize_mini_window): Use it.max_extra_line_spacing.
172            (display_tool_bar_line): Clear row->extra_line_spacing.
173            (try_scrolling): Use move_it_vertically_backward directly.
174            (redisplay_window): Likewise.
175            (compute_line_metrics): Set row->extra_line_spacing.
176            (display_line, display_string): Likewise.
177            (x_produce_glyphs): Update it->max_extra_line_spacing.
178    
179            * xmenu.c (pop_down_menu): Return nil.
180    
181    2004-11-12  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
182    
183            * xmenu.c (x_menu_wait_for_event): New function.
184            (popup_get_selection, popup_widget_loop):  Call x_menu_wait_for_event
185            to handle timers.
186            (popup_widget_loop): Add argument do_timers.
187            (create_and_show_popup_menu, create_and_show_dialog): Pass 1 for
188            do_timers to popup_widget_loop.
189            (xmenu_show): Call XMenuActivateSetWaitFunction so that
190            x_menu_wait_for_event is called by XMenuActivate.
191            (create_and_show_popup_menu): Pass 1 for do_timers to
192            popup_get_selection.
193            (pop_down_menu): New function.
194            (popup_get_selection, popup_widget_loop): Unwind protect to
195            pop_down_menu.
196            (popup_widget_loop): Add argument widget.
197            (create_and_show_popup_menu, create_and_show_dialog): Pass new
198            argument widget to popup_widget_loop.
199    
200  2004-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>  2004-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
201    
202          * keymap.c (Fkeymap_prompt): Accept symbol keymaps.          * keymap.c (Fkeymap_prompt): Accept symbol keymaps.
# Line 61  Line 260 
260          * Makefile.in (SOME_MACHINE_OBJECTS): Add fringe.o, image.o          * Makefile.in (SOME_MACHINE_OBJECTS): Add fringe.o, image.o
261          and w32*.o.          and w32*.o.
262          (temacs${EXEEXT}): Generate buildobj.lst when temacs is linked.          (temacs${EXEEXT}): Generate buildobj.lst when temacs is linked.
263          (mostlyclean): rm buildobj.lst          (mostlyclean): Rm buildobj.lst
264    
265          * makefile.w32-in ($(TEMACS)): Generate buildobj.lst when temacs          * makefile.w32-in ($(TEMACS)): Generate buildobj.lst when temacs
266          is linked.          is linked.
# Line 98  Line 297 
297    
298  2004-11-07  Andreas Schwab  <schwab@suse.de>  2004-11-07  Andreas Schwab  <schwab@suse.de>
299    
300          * lisp.h: Declare Fmsdos_downcase_filename.          * lisp.h (Fmsdos_downcase_filename): Declare.
301          * dired.c: Don't declare Fmsdos_downcase_filename.          * dired.c (Fmsdos_downcase_filename): Don't declare here.
302          * fileio.c: Likewise.          * fileio.c: Likewise.
303    
304  2004-11-07  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>  2004-11-07  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
# Line 110  Line 309 
309    
310          * msdos.c (IT_set_frame_parameters): Use EQ, not ==, for Lisp_Object:s.          * msdos.c (IT_set_frame_parameters): Use EQ, not ==, for Lisp_Object:s.
311    
312          * dired.c: extern declare Fmsdos_downcase_filename on MSDOS to avoid          * dired.c (Fmsdos_downcase_filename): Declare extern on MSDOS to avoid
313          int/Lisp_Object mixup.          int/Lisp_Object mixup.
314    
315          * fileio.c: Ditto.          * fileio.c: Ditto.
# Line 219  Line 418 
418    
419          * fileio.c (Fnext_read_file_uses_dialog_p): New function.          * fileio.c (Fnext_read_file_uses_dialog_p): New function.
420    
421          * gtkutil.h: Declare use_old_gtk_file_dialog.          * gtkutil.h (use_old_gtk_file_dialog): Declare.
422    
423          * gtkutil.c: Make use_old_gtk_file_dialog non-static.          * gtkutil.c: Make use_old_gtk_file_dialog non-static.
424          (xg_initialize): Move DEFVAR_BOOL for use_old_gtk_file_dialog ...          (xg_initialize): Move DEFVAR_BOOL for use_old_gtk_file_dialog ...
# Line 696  Line 895 
895          precedence.          precedence.
896          (XTread_socket) [TARGET_API_MAC_CARBON]: Don't specify drag area.          (XTread_socket) [TARGET_API_MAC_CARBON]: Don't specify drag area.
897    
   
898  2004-10-05  Jan Dj,Ad(Brv.  <jan.h.d@swipnet.se>  2004-10-05  Jan Dj,Ad(Brv.  <jan.h.d@swipnet.se>
899    
900          * config.in: Regenerate.          * config.in: Regenerate.
# Line 1273  Line 1471 
1471    
1472  2004-07-24  Richard M. Stallman  <rms@gnu.org>  2004-07-24  Richard M. Stallman  <rms@gnu.org>
1473    
1474          * keyboard.h (not_single_kboard_state): Declared.          * keyboard.h (not_single_kboard_state): Declare.
1475    
1476          * fileio.c (Fwrite_region): Doc fix.          * fileio.c (Fwrite_region): Doc fix.
1477    
# Line 1481  Line 1679 
1679          (lookup_image_type): Pass Qnil as second argument to          (lookup_image_type): Pass Qnil as second argument to
1680          Finit_image_library.          Finit_image_library.
1681    
1682          * lisp.h: Declare Finit_image_library.          * lisp.h (Finit_image_library): Declare.
1683    
1684  2004-06-29  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>  2004-06-29  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
1685    
# Line 2326  Line 2524 
2524    
2525  2004-05-10  Andreas Schwab  <schwab@suse.de>  2004-05-10  Andreas Schwab  <schwab@suse.de>
2526    
2527          * lisp.h: Declare Fmake_symbolic_link.          * lisp.h (Fmake_symbolic_link): Declare.
2528    
2529          * fileio.c (Frename_file): Remove extra argument in call to          * fileio.c (Frename_file): Remove extra argument in call to
2530          Fmake_symbolic_link.          Fmake_symbolic_link.
# Line 4817  Line 5015 
5015          (update_frame_tool_bar): Call xg_get_gdk_pixmap_and_mask.          (update_frame_tool_bar): Call xg_get_gdk_pixmap_and_mask.
5016          (xg_initialize): Remove xg_left_ptr_cursor.          (xg_initialize): Remove xg_left_ptr_cursor.
5017    
5018          * gtkutil.h: xg_get_scroll_id_for_window, xg_win_to_widget takes          * gtkutil.h (xg_get_scroll_id_for_window, xg_win_to_widget): Add
5019          Display* argument also.  Declare xg_display_open,          Display* argument.
5020          xg_display_close, xg_create_default_cursor.          (xg_display_open, xg_display_close, xg_create_default_cursor): Declare.
5021    
5022  2003-11-14  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>  2003-11-14  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
5023    
# Line 4885  Line 5083 
5083    
5084  2003-11-02  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>  2003-11-02  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
5085    
5086          * gtkutil.h: Declare xg_have_tear_offs, remove xg_keep_popup          * gtkutil.h (xg_have_tear_offs): Declare.
5087          and xg_did_tearoff.          (xg_keep_popup, xg_did_tearoff): Remove.
5088    
5089          * gtkutil.c: Remove variable xg_did_tearoff.          * gtkutil.c: Remove variable xg_did_tearoff.
5090          (xg_have_tear_offs): New function.          (xg_have_tear_offs): New function.
# Line 5384  Line 5582 
5582    
5583          * alloc.c (lisp_align_malloc): Change type of `aligned'.          * alloc.c (lisp_align_malloc): Change type of `aligned'.
5584    
5585          * alloca.s: Removed.          * alloca.s: Remove.
5586    
5587  2003-08-19  Gerd Moellmann  <gerd@gnu.org>  2003-08-19  Gerd Moellmann  <gerd@gnu.org>
5588    
# Line 8006  Line 8204 
8204          (handle_one_xevent): ButtonPress/Release:  If event is for a toolkit          (handle_one_xevent): ButtonPress/Release:  If event is for a toolkit
8205          scrollbar and control is pressed, call x_scroll_bar_handle_click.          scrollbar and control is pressed, call x_scroll_bar_handle_click.
8206    
8207          * gtkutil.h: Declare xg_get_scroll_id_for_window.          * gtkutil.h (xg_get_scroll_id_for_window): Declare.
8208    
8209          * gtkutil.c (xg_get_scroll_id_for_window): New function.          * gtkutil.c (xg_get_scroll_id_for_window): New function.
8210          (xg_tool_bar_item_expose_callback): New function.          (xg_tool_bar_item_expose_callback): New function.
# Line 8708  Line 8906 
8906          (FRAME_OUTER_TO_INNER_DIFF_Y): Add FRAME_TOOLBAR_HEIGHT to calculation.          (FRAME_OUTER_TO_INNER_DIFF_Y): Add FRAME_TOOLBAR_HEIGHT to calculation.
8907    
8908          * xterm.c: Include gtkutil.h for USE_GTK.          * xterm.c: Include gtkutil.h for USE_GTK.
8909          Declare extern void free_frame_menubar for USE_GTK.          (free_frame_menubar): Declare extern void for USE_GTK.
8910          (note_mouse_highlight): Check popup_activated for USE_GTK.          (note_mouse_highlight): Check popup_activated for USE_GTK.
8911          (xt_action_hook): Don't compile if USE_GTK.          (xt_action_hook): Don't compile if USE_GTK.
8912          (x_scroll_bar_to_input_event): Use CurrentTime for USE_GTK.          (x_scroll_bar_to_input_event): Use CurrentTime for USE_GTK.
# Line 8778  Line 8976 
8976          (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_TOOL_BAR.          (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_TOOL_BAR.
8977          (display_menu_bar): Add check for USE_GTK          (display_menu_bar): Add check for USE_GTK
8978    
8979          * lisp.h: Declare Vx_resource_name extern.          * lisp.h (Vx_resource_name): Declare extern.
8980    
8981          * keyboard.c (kbd_buffer_get_event): Check MENU_BAR_ACTIVATE_EVENT          * keyboard.c (kbd_buffer_get_event): Check MENU_BAR_ACTIVATE_EVENT
8982          for USE_GTK.          for USE_GTK.
# Line 8995  Line 9193 
9193          (XSAVE_VALUE): New macro.          (XSAVE_VALUE): New macro.
9194          (struct Lisp_Save_Value): New data type.          (struct Lisp_Save_Value): New data type.
9195          (union Lisp_Misc): Add u_save_value alternative.          (union Lisp_Misc): Add u_save_value alternative.
9196          (make_save_value): Declared.          (make_save_value): Declare.
9197    
9198          * alloc.c (make_save_value): New function.          * alloc.c (make_save_value): New function.
9199    
# Line 12065  Line 12263 
12263          * fontset.c [MAC_OS]: Set Vdefault_fontset to ETL Fixed instead of          * fontset.c [MAC_OS]: Set Vdefault_fontset to ETL Fixed instead of
12264          Apple Monaco.          Apple Monaco.
12265    
12266          * process.c: Declare QCfamily and QCfilter as extern.          * process.c (QCfamily, QCfilte): Declare extern.
12267          (wait_reading_process_input) [MAC_OSX]: Clear bit for stdin before          (wait_reading_process_input) [MAC_OSX]: Clear bit for stdin before
12268          calling select.          calling select.
12269    
# Line 12893  Line 13091 
13091    
13092  2002-03-10  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>  2002-03-10  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
13093    
13094          * xterm.h (x_session_check_input, x_session_initialize): Declared.          * xterm.h (x_session_check_input, x_session_initialize): Declare.
13095    
13096          * xterm.c: (XTread_socket): Add call to x_session_check_input and          * xterm.c: (XTread_socket): Add call to x_session_check_input and
13097          x_session_have_connection.          x_session_have_connection.
# Line 12905  Line 13103 
13103    
13104          * emacs.c (main): Add call to syms_of_xsmfns.          * emacs.c (main): Add call to syms_of_xsmfns.
13105    
13106          * lisp.h: Declare syms_of_xsmfns as extern.          * lisp.h (syms_of_xsmfns): Declare extern.
13107    
13108          * config.in: Add HAVE_X_SM.          * config.in: Add HAVE_X_SM.
13109    
# Line 14250  Line 14448 
14448  2001-12-09  Jason Rumney  <jasonr@gnu.org>  2001-12-09  Jason Rumney  <jasonr@gnu.org>
14449    
14450          * w32menu.c (_widget_value): Make `help' field a Lisp_Object.          * w32menu.c (_widget_value): Make `help' field a Lisp_Object.
14451          Add     comment to explain where the struct came from.          Add comment to explain where the struct came from.
14452          (single_submenu, w32_menu_show): Set `help' field as Lisp_Object.          (single_submenu, w32_menu_show): Set `help' field as Lisp_Object.
14453          (add_menu_item): Process pop-up menus first to avoid memory leak.          (add_menu_item): Process pop-up menus first to avoid memory leak.
14454          (add_menu_item, w32_menu_display_help): Use `help' field as          (add_menu_item, w32_menu_display_help): Use `help' field as
# Line 15036  Line 15234 
15234          * insdel.c (replace_range): Use adjust_markers_for_replace          * insdel.c (replace_range): Use adjust_markers_for_replace
15235          instead of adjust_markers_for_delete and adjust_markers_for_insert.          instead of adjust_markers_for_delete and adjust_markers_for_insert.
15236    
15237          * intervals.h: Declare set_text_properties and set_text_properties_1.          * intervals.h (set_text_properties, set_text_properties_1): Declare.
15238    
15239          * textprop.c (set_text_properties_1): New subroutine          * textprop.c (set_text_properties_1): New subroutine
15240          broken out of set_text_properties.          broken out of set_text_properties.

Legend:
Removed from v.1.2701.2.64  
changed lines
  Added in v.1.2701.2.65

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26