comparison src/ChangeLog @ 90737:95d0cdf160ea

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 586-614) - Update from CVS - Update from erc--emacs--22 - Merge from gnus--rel--5.10 - Merge from erc--main--0 - Make byte compiler correctly write circular constants * gnus--rel--5.10 (patch 186-196) - Update from CVS - Merge from emacs--devo--0 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-162
author Miles Bader <miles@gnu.org>
date Fri, 26 Jan 2007 06:16:11 +0000
parents bc10a33dd40b 496d2145a60d
children f83d17e1ace6
comparison
equal deleted inserted replaced
90736:ef1369583937 90737:95d0cdf160ea
1 2007-01-24 Kim F. Storm <storm@cua.dk>
2
3 * keymap.c (describe_map): Don't consider prefix keys to be shadowed.
4
5 2007-01-23 Juanma Barranquero <lekktu@gmail.com>
6
7 * editfns.c (Finsert_char): Doc fix.
8 (Fget_internal_run_time, Fdecode_time): Fix typos in docstrings.
9
10 2007-01-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11
12 * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Don't
13 pass keyboard modifiers to mac_store_drag_event, but put them as
14 kEventParamKeyModifiers Apple event parameter.
15
16 2007-01-21 Chong Yidong <cyd@stupidchicken.com>
17
18 * xdisp.c (try_window): Revert previous change.
19
20 * dispnew.c (update_text_area): Revert 2006-09-17 change.
21 Always redraw non-mode-line rows with mouse-face.
22
23 2007-01-20 Chong Yidong <cyd@stupidchicken.com>
24
25 * xdisp.c (try_window): Clear mouse-face highlights first.
26
27 * window.c (set_window_buffer): Revert 2006-11-22 change.
28
29 2007-01-20 Eli Zaretskii <eliz@gnu.org>
30
31 * .gdbinit (ppt, xtype, xmisctype, xint, xptr, xmarker, xframe)
32 (xbuffer, xcons, xcar, xcdr): Fix doc strings.
33
34 2007-01-20 Chong Yidong <cyd@stupidchicken.com>
35
36 * keyboard.c (read_key_sequence): Extract local map only if the
37 given position is in an accessible buffer region.
38
39 2007-01-19 Nick Roberts <nickrob@snap.net.nz>
40
41 * .gdbinit: Reformat documentation so that first sentence
42 displays properly with "help user-defined" (like apropos).
43
44 2007-01-18 Bruno Haible <bruno@clisp.org> (tiny change)
45
46 * epaths.in: Move PATH_DOC from local/info to local/share/info.
47
48 2007-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
49
50 * macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]:
51 Create movable modal window instead of movable alert window.
52 (create_and_show_dialog) [!MAC_OSX]: Use DeactivateControl instead
53 of DisableControl.
54
55 * macselect.c (Fmac_resume_apple_event): Set error number when
56 descriptor type of reply is non-null.
57
58 2007-01-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
59
60 * macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]: Use
61 DisableControl for disabled items. Set default button to first
62 enabled one. Use icon of application in execution.
63
64 2007-01-13 Eli Zaretskii <eliz@gnu.org>
65
66 * process.c (Fdelete_process, Fprocess_id, sigchld_handler):
67 Copy PID into EMACS_INT to avoid GCC warnings.
68
69 * fns.c (maybe_resize_hash_table): Copy new size of hash table
70 into EMACS_INT to avoid GCC warnings.
71
72 * editfns.c (Fuser_uid, Fuser_real_uid): Copy values returned by
73 geteuid and getuid into EMACS_INT to avoid GCC warnings.
74
75 * dired.c (Ffile_attributes): Fix last change.
76
77 2007-01-12 Eli Zaretskii <eliz@gnu.org>
78
79 * dired.c (Ffile_attributes): Copy some members of `struct stat'
80 into int's to avoid GCC warnings about limited range of short in
81 arguments to FIXNUM_OVERFLOW_P.
82
83 2007-01-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
84
85 * macmenu.c (HAVE_DIALOGS): Define if TARGET_API_MAC_CARBON.
86 (mac_handle_dialog_event, install_dialog_event_handler)
87 (create_and_show_dialog) [TARGET_API_MAC_CARBON]: New functions.
88 (DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN)
89 (DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH)
90 (DIALOG_MAX_INNER_WIDTH, DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE)
91 (DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH)
92 (DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE)
93 (DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN)
94 (DIALOG_ICON_TOP_MARGIN) [TARGET_API_MAC_CARBON]: New macros.
95 (mac_dialog) [TARGET_API_MAC_CARBON]: Remove function.
96 (mac_dialog_show) [TARGET_API_MAC_CARBON]: Use create_and_show_dialog.
97
98 * macterm.c (x_free_frame_resources) [USE_CG_DRAWING]: Call
99 mac_prepare_for_quickdraw.
100 (quit_char, make_ctrl_char) [TARGET_API_MAC_CARBON]: Move externs
101 outside #ifdef MAC_OSX.
102 (mac_quit_char_key_p) [TARGET_API_MAC_CARBON]: Move function
103 outside #ifdef MAC_OSX.
104 (mac_check_bundle) [MAC_OSX]: Remove unused function.
105
106 * macterm.h (mac_quit_char_key_p): Move extern outside #ifdef MAC_OSX.
107 (HOURGLASS_WIDTH, HOURGLASS_HEIGHT): Parenthesize definitions.
108
109 2007-01-11 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
110
111 * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use pthread_equal,
112 block/unblock SIGIO.
113
114 2007-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
115
116 * editfns.c (Fformat): Allow integer-format to work with floats of size
117 larger than most-positive-fixnum (but still smaller than MAXINT).
118
119 * dired.c (Ffile_attributes): Use floats for large uids/gids.
120
121 2007-01-09 Eli Zaretskii <eliz@gnu.org>
122
123 * emacs.c (syms_of_emacs) <path-separator>: Doc fix.
124
125 2007-01-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
126
127 * callproc.c (Fcall_process_region) [HAVE_MKSTEMP]: Add BLOCK_INPUT
128 around mkstemp.
129
130 * image.c (XDrawLine) [MAC_OS]: Remove macro.
131 (XCreateGC_pixmap) [!HAVE_NTGUI]: Likewise.
132 (x_disable_image) [!HAVE_NTGUI]: Use XCreateGC instead of
133 XCreateGC_pixmap.
134
135 * macgui.h (Display): Typedef to opaque type.
136
137 * macmenu.c (mac_dialog_modal_filter) [MAC_OSX]: New function.
138 (Fx_popup_dialog) [MAC_OSX]: Use standard alert if called from
139 Fmessage_box, Fyes_or_no_p, or Fy_or_n_p.
140 [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030] (menu_quit_handler):
141 Use mac_quit_char_key_p.
142
143 * macterm.c (XDrawLine): Rename from mac_draw_line_to_pixmap.
144 (XCreateGC): Change type of 2nd argument to void *.
145 (XFreeGC) [USE_CG_DRAWING && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
146 Fix last change.
147 (mac_to_emacs_modifiers): Change return type to int.
148 [USE_CARBON_EVENTS] (mac_event_to_emacs_modifiers): Likewise.
149 (mac_mapped_modifiers): New function.
150 (XTread_socket): Use it.
151 [USE_TSM] (mac_handle_text_input_event): Likewise.
152 (do_window_update) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw.
153 (mac_quit_char_modifiers, mac_quit_char_keycode) [MAC_OSX]:
154 Remove variables.
155 (mac_determine_quit_char_modifiers, init_quit_char_handler)
156 [MAC_OSX]: Remove functions.
157 (make_ctrl_char) [MAC_OSX]: Add extern.
158 (mac_quit_char_key_p) [MAC_OSX]: New function.
159 (mac_initialize) [MAC_OSX]: Don't call init_quit_char_handler.
160
161 * macterm.h (FONT_MAX_WIDTH): Remove unused macro.
162 (XCreateGC): Change type in extern.
163 (XDrawLine): Rename from mac_draw_line_to_pixmap.
164 (mac_quit_char_key_p) [MAC_OSX]: Add extern.
165
166 2007-01-08 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
167
168 * keyboard.c (init_keyboard): Initialize interrupt_input_blocked and
169 interrupt_input_pending.
170
171 * xterm.h (x_display_info): New: net_supported_atoms,
172 nr_net_supported_atoms and net_supported_window.
173
174 * xterm.c (last_user_time): New variable.
175 (handle_one_xevent): Set last_user_time from events that have Time.
176 Set net_supported_window to 0 when reparented.
177 (wm_supports): New function.
178 (do_ewmh_fullscreen): Use wm_supports to check for _NET_WM_STATE.
179 (x_term_init): Initialize net_supported_atoms, nr_net_supported_atoms
180 and net_supported_window.
181
182 2007-01-05 Kim F. Storm <storm@cua.dk>
183
184 * indent.c (Fvertical_motion): Fix it overshoot check for overlay
185 strings without embedded newlines immediately followed by newline.
186
187 2007-01-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
188
189 * editfns.c (Fformat_time_string, Fdecode_time, Fencode_time)
190 (Fcurrent_time_string, Fcurrent_time_zone): Add BLOCK_INPUT around
191 gmtime/localtime/emacs_memftimeu/mktime.
192
193 * mac.c (Fmac_set_file_creator): Use MAC_EMACS_CREATOR_CODE
194 instead of 'EMAx'.
195 [!MAC_OSX] (sys_open, sys_creat, sys_fopen): Likewise.
196
197 * macgui.h (struct _XGC) [USE_CG_DRAWING
198 && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New members cg_fore_color
199 and cg_back_color.
200
201 * macmenu.c (Vshow_help_function) [TARGET_API_MAC_CARBON]: Add extern.
202 (restore_show_help_function, menu_target_item_handler)
203 [TARGET_API_MAC_CARBON]: New functions.
204 (install_menu_target_item_handler): New function.
205 (add_menu_item) [TARGET_API_MAC_CARBON]: Set help string as menu
206 item property.
207
208 * macterm.c (CG_SET_FILL_COLOR_MAYBE_WITH_CGCOLOR)
209 (CG_SET_FILL_COLOR_WITH_GC_FOREGROUND)
210 (CG_SET_FILL_COLOR_WITH_GC_BACKGROUND)
211 (CG_SET_STROKE_COLOR_MAYBE_WITH_CGCOLOR)
212 (CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND): New macros.
213 (mac_cg_color_space_rgb) [USE_CG_DRAWING]: New variable.
214 (mac_cg_color_black) [USE_CG_DRAWING
215 && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New variable.
216 (init_cg_color) [USE_CG_DRAWING]: New function.
217 (mac_draw_line, mac_draw_rectangle) [USE_CG_DRAWING]: Use
218 CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND instead of CG_SET_STROKE_COLOR.
219 (mac_erase_rectangle, mac_clear_window, mac_draw_cg_image)
220 (mac_fill_rectangle, mac_draw_image_string_cg) [USE_CG_DRAWING]:
221 Use CG_SET_FILL_COLOR_WITH_GC_FOREGROUND or
222 CG_SET_FILL_COLOR_WITH_GC_BACKGROUND instead of CG_SET_FILL_COLOR.
223 (mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Likewise.
224 (XCreateGC, XFreeGC, XSetForeground, XSetBackground) [USE_CG_DRAWING
225 && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Use gc->cg_fore_color and/or
226 gc->cg_back_color.
227 (install_drag_handler, remove_drag_handler): Make extern.
228 (install_menu_target_item_handler): Add extern.
229 (install_window_handler): Call install_menu_target_item_handler.
230 [MAC_OS8] (main): Use MAC_EMACS_CREATOR_CODE instead of 'EMAx'.
231 (mac_initialize) [USE_CG_DRAWING]: Call init_cg_color.
232
233 * macterm.h (MAC_EMACS_CREATOR_CODE): New enumerator.
234
235 2007-01-04 Juanma Barranquero <lekktu@gmail.com>
236
237 * window.c (Fwindow_end): Fix use of >= operator.
238
239 2007-01-03 Richard Stallman <rms@gnu.org>
240
241 * window.c (Fwindow_end): Check BUF_OVERLAY_MODIFF like BUF_MODIFF.
242
243 2007-01-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
244
245 * gtkutil.h (xg_menu_item_cb_data_): Remove highlight_id and
246 unhighlight_id.
247
248 * gtkutil.c (menuitem_highlight_callback): Invoked widget is the
249 parent of the menu item. Get menu item widget from event.
250 (xg_create_one_menuitem, xg_update_menu_item): highlight_id and
251 unhighlight_id has been removed.
252 (create_menus): Connect enter/leave-notify-event to the menu instead
253 of individual items.
254
1 2006-12-31 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 255 2006-12-31 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2 256
3 * gtkutil.c (update_frame_tool_bar): Connect create-menu-proxy with 257 * gtkutil.c (update_frame_tool_bar): Connect create-menu-proxy with
4 xg_tool_bar_menu_proxy. 258 xg_tool_bar_menu_proxy.
5 (xg_tool_bar_menu_proxy): New function. 259 (xg_tool_bar_menu_proxy): New function.
73 ($(OBJ0) $(OBJ1) $(WIN32OBJ)): Add lastfile.$(O) and firstfile.$(O). 327 ($(OBJ0) $(OBJ1) $(WIN32OBJ)): Add lastfile.$(O) and firstfile.$(O).
74 (clean): Delete stamp_BLD. 328 (clean): Delete stamp_BLD.
75 329
76 2006-12-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 330 2006-12-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
77 331
78 * macfns.c (mac_update_title_bar) [TARGET_API_MAC_CARBON]: Call 332 * macfns.c (mac_update_title_bar) [TARGET_API_MAC_CARBON]:
79 mac_update_proxy_icon also when buffer modification flag changed. 333 Call mac_update_proxy_icon also when buffer modification flag changed.
80 [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): Don't update alias, 334 [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): Don't update alias,
81 but compare FSRef/FSSpec of resolved alias. 335 but compare FSRef/FSSpec of resolved alias.
82 336
83 2006-12-21 Kim F. Storm <storm@cua.dk> 337 2006-12-21 Kim F. Storm <storm@cua.dk>
84 338
167 421
168 * macfns.c (mac_atsu_font_face_attributes) [USE_ATSUI]: Add extern. 422 * macfns.c (mac_atsu_font_face_attributes) [USE_ATSUI]: Add extern.
169 (Fmac_atsu_font_face_attributes) [USE_ATSUI]: New function. 423 (Fmac_atsu_font_face_attributes) [USE_ATSUI]: New function.
170 (syms_of_macfns) [USE_ATSUI]: Defsubr it. 424 (syms_of_macfns) [USE_ATSUI]: Defsubr it.
171 425
172 * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Use 426 * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag):
173 mac_wakeup_from_rne instead of mac_post_mouse_moved_event. 427 Use mac_wakeup_from_rne instead of mac_post_mouse_moved_event.
174 428
175 * macterm.c (mac_query_char_extents) [USE_ATSUI]: Don't call 429 * macterm.c (mac_query_char_extents) [USE_ATSUI]: Don't call
176 ATSUGetGlyphBounds if not necessary. 430 ATSUGetGlyphBounds if not necessary.
177 (Vmac_atsu_font_table) [USE_ATSUI]: Remove variable. 431 (Vmac_atsu_font_table) [USE_ATSUI]: Remove variable.
178 (syms_of_macterm) [USE_ATSUI]: Don't defvar it. 432 (syms_of_macterm) [USE_ATSUI]: Don't defvar it.
181 [USE_ATSUI]: New functions. 435 [USE_ATSUI]: New functions.
182 (init_font_name_table) [USE_ATSUI]: Use atsu_find_font_family_name. 436 (init_font_name_table) [USE_ATSUI]: Use atsu_find_font_family_name.
183 (mac_load_query_font) [USE_ATSUI]: Use atsu_find_font_from_family_name. 437 (mac_load_query_font) [USE_ATSUI]: Use atsu_find_font_from_family_name.
184 Don't get metrics for Latin-1 right half characters. 438 Don't get metrics for Latin-1 right half characters.
185 (mac_load_query_font): Don't load font if space width is not positive. 439 (mac_load_query_font): Don't load font if space width is not positive.
186 [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event): Use 440 [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event):
187 mac_wakeup_from_rne instead of mac_post_mouse_moved_event. 441 Use mac_wakeup_from_rne instead of mac_post_mouse_moved_event.
188 (XTread_socket): Call SelectWindow when unfocused frame is clicked. 442 (XTread_socket): Call SelectWindow when unfocused frame is clicked.
189 443
190 * macterm.h (mac_wakeup_from_rne) [TARGET_API_MAC_CARBON]: Add extern. 444 * macterm.h (mac_wakeup_from_rne) [TARGET_API_MAC_CARBON]: Add extern.
191 445
192 2006-12-15 Kim F. Storm <storm@cua.dk> 446 2006-12-15 Kim F. Storm <storm@cua.dk>
26931 ;; coding: iso-2022-7bit 27185 ;; coding: iso-2022-7bit
26932 ;; add-log-time-zone-rule: t 27186 ;; add-log-time-zone-rule: t
26933 ;; End: 27187 ;; End:
26934 27188
26935 Copyright (C) 2001, 2002, 2003, 2004, 2005, 27189 Copyright (C) 2001, 2002, 2003, 2004, 2005,
26936 2006 Free Software Foundation, Inc. 27190 2006, 2007 Free Software Foundation, Inc.
26937 Copying and distribution of this file, with or without modification, 27191 Copying and distribution of this file, with or without modification,
26938 are permitted provided the copyright notice and this notice are preserved. 27192 are permitted provided the copyright notice and this notice are preserved.
26939 27193
26940 ;;; arch-tag: 5dcc435f-4038-4141-b3bf-5be51cd76bd4 27194 ;;; arch-tag: 5dcc435f-4038-4141-b3bf-5be51cd76bd4