comparison src/ChangeLog @ 53091:a92809bb2b30

*** empty log message ***
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 17 Nov 2003 23:30:28 +0000
parents bf86de5f6d07
children cbc887693651
comparison
equal deleted inserted replaced
53090:86e42266b65e 53091:a92809bb2b30
1 2003-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * keyboard.c (parse_modifiers, apply_modifiers): Use INTMASK instead
4 of VALMASK.
5
6 * fns.c (hashfn_eq, hashfn_eql, hashfn_equal, hash_put)
7 (sxhash_string, sxhash): Use INTMASK instead of VALMASK.
8 (maybe_resize_hash_table): Use MOST_POSITIVE_FIXNUM.
9
10 * lisp.h (VALMASK): Only define for non-union type.
11 (MARKBIT): Remove.
12 (ARRAY_MARK_FLAG): Use previous value of MARKBIT.
13 (XTYPE): Define unconditionally.
14 (XSETTYPE): Remove one more remnant.
15 (EQ): Define differently for the union and non-union cases.
16 (INTMASK): New bit mask.
17 (struct Lisp_Marker): Move down to prepare for upcoming patch.
18 (GC_EQ): Delegate to EQ.
19
20 * coding.c (coding_restore_composition): Lisp_Object/int mixup.
21
1 2003-11-17 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 22 2003-11-17 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2 23
3 * xterm.c (x_window_to_scroll_bar): Move check of display to 24 * xterm.c (x_window_to_scroll_bar): Move check of display to
4 where window_id is compared. 25 where window_id is compared.
5 26
12 line if no reusable lines at start of window with header line. 33 line if no reusable lines at start of window with header line.
13 34
14 2003-11-16 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 35 2003-11-16 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
15 36
16 * w32fns.c (XPutPixel): 37 * w32fns.c (XPutPixel):
17 * w32bdf.c (w32_init_bdf_font): 38 * w32bdf.c (w32_init_bdf_font):
18 * sunfns.c (sel_read): 39 * sunfns.c (sel_read):
19 * process.c (Fmake_network_process): 40 * process.c (Fmake_network_process):
20 * frame.c (store_frame_param): 41 * frame.c (store_frame_param):
21 * fontset.c (Fset_fontset_font): 42 * fontset.c (Fset_fontset_font):
22 * emacs.c (shut_down_emacs): 43 * emacs.c (shut_down_emacs):
23 * ccl.c (ccl_driver): Remove period at end of error message. 44 * ccl.c (ccl_driver): Remove period at end of error message.
24 45
25 * config.in: Regenerate. 46 * config.in: Regenerate.
26 47
27 * xfns.c (x_window_to_frame, x_any_window_to_frame) 48 * xfns.c (x_window_to_frame, x_any_window_to_frame)
35 * xterm.c: Add Display * to x_window_to_scroll_bar declaration. 56 * xterm.c: Add Display * to x_window_to_scroll_bar declaration.
36 (XTmouse_position, handle_one_xevent): Pass Display* to 57 (XTmouse_position, handle_one_xevent): Pass Display* to
37 x_window_to_scroll_bar. 58 x_window_to_scroll_bar.
38 (x_window_to_scroll_bar): Take a Display* argument. 59 (x_window_to_scroll_bar): Take a Display* argument.
39 Check that display for frame is equal to Display* argument. 60 Check that display for frame is equal to Display* argument.
40 (event_handler_gdk): current_dpyinfo removed. Get dpyinfo from 61 (event_handler_gdk): Remove current_dpyinfo. Get dpyinfo from
41 x_display_info_for_display instead. Use Display in xev instead 62 x_display_info_for_display instead. Use Display in xev instead
42 of GDK_DISPLAY. 63 of GDK_DISPLAY.
43 (x_dispatch_event): Call x_display_info_for_display. 64 (x_dispatch_event): Call x_display_info_for_display.
44 (XTread_socket): Move GTK part out of loop. current_dpyinfo removed. 65 (XTread_socket): Move GTK part out of loop. current_dpyinfo removed.
45 (x_connection_closed): Call xg_display_close for GTK. 66 (x_connection_closed): Call xg_display_close for GTK.
55 76
56 * gtkutil.c (xg_get_gdk_display, xg_set_screen, xg_display_open) 77 * gtkutil.c (xg_get_gdk_display, xg_set_screen, xg_display_open)
57 (xg_display_close, xg_create_default_cursor) 78 (xg_display_close, xg_create_default_cursor)
58 (xg_get_gdk_pixmap_and_mask): New functions for multiple display 79 (xg_get_gdk_pixmap_and_mask): New functions for multiple display
59 handling. 80 handling.
60 (xg_left_ptr_cursor): Removed. 81 (xg_left_ptr_cursor): Remove.
61 (xg_set_cursor): cursor changed to GdkCursor*. Do not create 82 (xg_set_cursor): Change cursor to GdkCursor*. Do not create
62 cursor here. 83 cursor here.
63 (xg_win_to_widget): Take Display* argument, call 84 (xg_win_to_widget): Take Display* argument, call
64 gdk_xid_table_lookup_for_display. 85 gdk_xid_table_lookup_for_display.
65 (xg_create_frame_widgets, xg_get_file_name, create_menus) 86 (xg_create_frame_widgets, xg_get_file_name, create_menus)
66 (xg_create_widget, xg_modify_menubar_widgets): Call xg_set_screen. 87 (xg_create_widget, xg_modify_menubar_widgets): Call xg_set_screen.
67 (xg_create_widget, xg_create_scroll_bar): Use xg_cursor 88 (xg_create_widget, xg_create_scroll_bar): Use xg_cursor
68 in FRAME_X_DISPLAY_INFO. 89 in FRAME_X_DISPLAY_INFO.
69 (xg_get_scroll_id_for_window): Take Display* argument. 90 (xg_get_scroll_id_for_window): Take Display* argument.
70 (update_frame_tool_bar): Call xg_get_gdk_pixmap_and_mask. 91 (update_frame_tool_bar): Call xg_get_gdk_pixmap_and_mask.
71 (xg_initialize): xg_left_ptr_cursor removed. 92 (xg_initialize): Remove xg_left_ptr_cursor.
72 93
73 * gtkutil.h: xg_get_scroll_id_for_window, xg_win_to_widget takes 94 * gtkutil.h: xg_get_scroll_id_for_window, xg_win_to_widget takes
74 Display* argument also. Declare xg_display_open, 95 Display* argument also. Declare xg_display_open,
75 xg_display_close, xg_create_default_cursor. 96 xg_display_close, xg_create_default_cursor.
76 97
81 102
82 2003-11-14 Kim F. Storm <storm@cua.dk> 103 2003-11-14 Kim F. Storm <storm@cua.dk>
83 104
84 * dispnew.c (update_text_area): Fix redisplay error when hscroll 105 * dispnew.c (update_text_area): Fix redisplay error when hscroll
85 is active and first glyph is only partially visible. 106 is active and first glyph is only partially visible.
86 107
87 2003-11-13 Kenichi Handa <handa@m17n.org> 108 2003-11-13 Kenichi Handa <handa@m17n.org>
88 109
89 * xdisp.c (select_frame_for_redisplay): New function. 110 * xdisp.c (select_frame_for_redisplay): New function.
90 (redisplay_internal): Record also selected_frame for 111 (redisplay_internal): Record also selected_frame for
91 unwind_redisplay. Call select_frame_for_redisplay before 112 unwind_redisplay. Call select_frame_for_redisplay before
114 * Makefile.in (lisp): Add kannada.el. 135 * Makefile.in (lisp): Add kannada.el.
115 (shortlisp): Likewise. 136 (shortlisp): Likewise.
116 137
117 2003-11-07 Kenichi Handa <handa@m17n.org> 138 2003-11-07 Kenichi Handa <handa@m17n.org>
118 139
119 * coding.c (coding_allocate_composition_data): Reset 140 * coding.c (coding_allocate_composition_data):
120 coding->composing to COMPOSITION_NO. 141 Reset coding->composing to COMPOSITION_NO.
121 (coding_restore_composition): Detect invalid composition data. 142 (coding_restore_composition): Detect invalid composition data.
122 Give Fstring and Fvector a Lispy integer, not C int. 143 Give Fstring and Fvector a Lispy integer, not C int.
144
145 2003-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
146
147 * floatfns.c (Flogb): Don't use VALMASK.
148
149 * m/amdx86-64.h (VALBITS, XINT, XUINT): Remove.
150 * m/ia64.h (VALBITS, XINT, XUINT): Remove.
151
152 * lisp.h (XINT): Move the cast to clarify what is going on.
153 (GCTYPEMASK, XSETTYPE): Remove.
154 (XGCTYPE): Make it an alias of XTYPE.
123 155
124 2003-11-03 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 156 2003-11-03 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
125 157
126 * xterm.c (x_term_init): Fix formatting. 158 * xterm.c (x_term_init): Fix formatting.
127 159
133 * gtkutil.c: Remove variable xg_did_tearoff. 165 * gtkutil.c: Remove variable xg_did_tearoff.
134 (xg_have_tear_offs): New function. 166 (xg_have_tear_offs): New function.
135 (tearoff_remove): Just decrease xg_detached_menus. 167 (tearoff_remove): Just decrease xg_detached_menus.
136 (tearoff_activate): Increase xg_detached_menus and call 168 (tearoff_activate): Increase xg_detached_menus and call
137 tearoff_remove when tearoff is removed. 169 tearoff_remove when tearoff is removed.
138 (xg_keep_popup): Removed function. 170 (xg_keep_popup): Remove function.
139 (create_menus): Give add_tearoff_p as argument to recursive 171 (create_menus): Give add_tearoff_p as argument to recursive
140 call to create_menus. 172 call to create_menus.
141 (xg_create_widget): Use variables instead of multiple 173 (xg_create_widget): Use variables instead of multiple
142 strcmp. Tell create_menus to create tear off only for 174 strcmp. Tell create_menus to create tear off only for
143 menu bar menus. 175 menu bar menus.
154 186
155 2003-11-01 Andrew Choi <akochoi@shaw.ca> 187 2003-11-01 Andrew Choi <akochoi@shaw.ca>
156 188
157 * macterm.c (XTread_socket): Handle menubar selection and grow 189 * macterm.c (XTread_socket): Handle menubar selection and grow
158 window only for mouseDown events. 190 window only for mouseDown events.
159 191
160 2003-10-31 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 192 2003-10-31 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
161 193
162 * xterm.c (x_term_init): For GTK part, increase x_initialized 194 * xterm.c (x_term_init): For GTK part, increase x_initialized
163 to check for more than one display. Use error instead of return 0. 195 to check for more than one display. Use error instead of return 0.
164 196
165 2003-10-31 Andrew Choi <akochoi@shaw.ca> 197 2003-10-31 Andrew Choi <akochoi@shaw.ca>
166 198
167 * unexmacosx.c (unrelocate): New function (contributed by Nozomu 199 * unexmacosx.c (unrelocate): New function (contributed by Nozomu Ando).
168 Ando).
169 (copy_dysymtab): Call it. 200 (copy_dysymtab): Call it.
170 201
171 2003-10-31 Luc Teirlinck <teirllm@auburn.edu> 202 2003-10-31 Luc Teirlinck <teirllm@auburn.edu>
172 203
173 * eval.c (Fdefvaralias): Doc fix. 204 * eval.c (Fdefvaralias): Doc fix.
179 2003-10-14 Lute Kamstra <lute@gnu.org> 210 2003-10-14 Lute Kamstra <lute@gnu.org>
180 211
181 * window.c (Fset_window_fringes): Clarify docstring. 212 * window.c (Fset_window_fringes): Clarify docstring.
182 213
183 2003-10-14 Kim F. Storm <storm@cua.dk> 214 2003-10-14 Kim F. Storm <storm@cua.dk>
215
184 * window.c (Fset_window_margins): Simplify arg checking. 216 * window.c (Fset_window_margins): Simplify arg checking.
185 217
186 2003-10-13 Richard M. Stallman <rms@gnu.org> 218 2003-10-13 Richard M. Stallman <rms@gnu.org>
187 219
188 * regex.c (MAX_BUF_SIZE): Reduce to 2**15. 220 * regex.c (MAX_BUF_SIZE): Reduce to 2**15.
199 231
200 * window.c (Fset_window_fringes): Elaborate docstring. 232 * window.c (Fset_window_fringes): Elaborate docstring.
201 233
202 2003-10-12 Andrew Choi <akochoi@shaw.ca> 234 2003-10-12 Andrew Choi <akochoi@shaw.ca>
203 235
204 * macterm.c (XTread_socket): Call DragWindow only for mouseDown 236 * macterm.c (XTread_socket): Call DragWindow only for mouseDown events.
205 events.
206 237
207 * s/darwin.h (GC_MARK_STACK): Define. 238 * s/darwin.h (GC_MARK_STACK): Define.
208 239
209 2003-10-12 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 240 2003-10-12 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
210 241
216 247
217 * xdisp.c (compute_fringe_widths): Doc fix. 248 * xdisp.c (compute_fringe_widths): Doc fix.
218 249
219 2003-10-08 Kenichi Handa <handa@m17n.org> 250 2003-10-08 Kenichi Handa <handa@m17n.org>
220 251
221 * coding.c (Fcoding_system_p): Return t for auto-loading coding 252 * coding.c (Fcoding_system_p): Return t for auto-loading coding system.
222 system.
223 253
224 2003-10-07 Kenichi Handa <handa@m17n.org> 254 2003-10-07 Kenichi Handa <handa@m17n.org>
225 255
226 * coding.c (Qcoding_system_define_form): New variable. 256 * coding.c (Qcoding_system_define_form): New variable.
227 (syms_of_coding): Intern and staticpro it. 257 (syms_of_coding): Intern and staticpro it.
245 x/y_pixels_outer_diff. 275 x/y_pixels_outer_diff.
246 (x_check_expected_move): Calculate move_offset_left/top. 276 (x_check_expected_move): Calculate move_offset_left/top.
247 277
248 * xterm.h (struct x_output): New members: move_offset_top/left. 278 * xterm.h (struct x_output): New members: move_offset_top/left.
249 279
250 * frame.c (x_set_frame_parameters): x_fullscreen_move removed, 280 * frame.c (x_set_frame_parameters): Remove x_fullscreen_move,
251 call x_set_offset directly. 281 call x_set_offset directly.
252 282
253 * frame.h (enum): FULLSCREEN_MOVE_WAIT removed. 283 * frame.h (enum): FULLSCREEN_MOVE_WAIT removed.
254 284
255 * frame.c (Fdelete_frame): Free decode_mode_spec_buffer. 285 * frame.c (Fdelete_frame): Free decode_mode_spec_buffer.
256 286
257 * xterm.c (x_delete_display): Free font names and font_encoder 287 * xterm.c (x_delete_display): Free font names and font_encoder
258 in dpyinfo->font_table. 288 in dpyinfo->font_table.
259 289
260 * xfns.c (Fx_close_connection): Only call XFreeFont here. xfree 290 * xfns.c (Fx_close_connection): Only call XFreeFont here.
261 of font names moved to x_delete_display. 291 Move xfree of font names to x_delete_display.
262 292
263 * xterm.h (struct x_display_info): New member, wm_type. 293 * xterm.h (struct x_display_info): New member, wm_type.
264 (struct x_output): New members, expected_top/left and 294 (struct x_output): New members, expected_top/left and
265 check_expected_move. 295 check_expected_move.
266 296
267 * xterm.c (handle_one_xevent): Reset wm_type when ReparentNotify 297 * xterm.c (handle_one_xevent): Reset wm_type when ReparentNotify
268 is received. 298 is received.
269 (handle_one_xevent): x_check_expected_move renamed from 299 (handle_one_xevent): Rename x_check_expected_move from
270 x_check_fullscreen_move 300 x_check_fullscreen_move.
271 (x_set_offset): Only add WM decoration sizes to modified_top/left 301 (x_set_offset): Only add WM decoration sizes to modified_top/left
272 for X_WMTYPE_A. Set check_expected_move when WM type is unknown. 302 for X_WMTYPE_A. Set check_expected_move when WM type is unknown.
273 (x_check_expected_move): Renamed from x_check_fullscreen_move. 303 (x_check_expected_move): Rename from x_check_fullscreen_move.
274 Removed fullscreen specific code. Use check_expected_move, 304 Removed fullscreen specific code. Use check_expected_move,
275 expected_left/top instead. Also, set wm_type. 305 expected_left/top instead. Also, set wm_type.
276 (x_term_init): Initialize wm_type to unknown. 306 (x_term_init): Initialize wm_type to unknown.
277 307
278 * frame.c (x_fullscreen_move): Remove addition of WM decoration 308 * frame.c (x_fullscreen_move): Remove addition of WM decoration
296 326
297 * keymap.c (map_keymap): Don't abort when binding is a vector. 327 * keymap.c (map_keymap): Don't abort when binding is a vector.
298 328
299 2003-10-02 Jason Rumney <jasonr@gnu.org> 329 2003-10-02 Jason Rumney <jasonr@gnu.org>
300 330
301 * makefile.w32-in (emacs.o, coding.o, bytecode.o): Sync 331 * makefile.w32-in (emacs.o, coding.o, bytecode.o):
302 dependancies with Makefile.in. 332 Sync dependencies with Makefile.in.
303 (alloca.o): Remove. 333 (alloca.o): Remove.
304 334
305 * w32fns.c (w32_load_system_font): Clear all members of FONTP before 335 * w32fns.c (w32_load_system_font): Clear all members of FONTP before
306 filling them. 336 filling them.
307 337
310 2003-09-30 Richard M. Stallman <rms@gnu.org> 340 2003-09-30 Richard M. Stallman <rms@gnu.org>
311 341
312 * term.c (set_tty_color_mode): Calculate current_mode_spec 342 * term.c (set_tty_color_mode): Calculate current_mode_spec
313 regardless of value of VAL. 343 regardless of value of VAL.
314 344
315 * intervals.c (graft_intervals_into_buffer): 345 * intervals.c (graft_intervals_into_buffer):
316 Set BUF_INTERVALS (buffer)->up_obj when appropriate. 346 Set BUF_INTERVALS (buffer)->up_obj when appropriate.
317 Handle over_used when splitting UNDER. 347 Handle over_used when splitting UNDER.
318 348
319 2003-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 349 2003-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
320 350
381 411
382 * window.c (Fwindow_scroll_bars): Doc fix. 412 * window.c (Fwindow_scroll_bars): Doc fix.
383 413
384 2003-09-19 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 414 2003-09-19 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
385 415
386 * xterm.c (x_set_offset): Take window manager decorations 416 * xterm.c (x_set_offset): Take window manager decorations into account.
387 into account.
388 417
389 2003-09-19 Richard M. Stallman <rms@gnu.org> 418 2003-09-19 Richard M. Stallman <rms@gnu.org>
390 419
391 * atimer.h: Don't include lisp.h. 420 * atimer.h: Don't include lisp.h.
392 (P_): Define it here (as well as elsewhere). 421 (P_): Define it here (as well as elsewhere).