1 |
|
2003-11-19 Kim F. Storm <storm@cua.dk> |
2 |
|
|
3 |
|
* xdisp.c (init_iterator): Initialize it->start to position |
4 |
|
before reseating (in case start position is invisible). |
5 |
|
(init_to_row_start): Set it->start to row-start. |
6 |
|
(redisplay_window): Accept optional_new_start if start position |
7 |
|
is invisible (in which case IT_CHARPOS overshoots PT). |
8 |
|
(display_line): Setup row->start from it->start (rather than |
9 |
|
it->current which is wrong if first char on line is invisible). |
10 |
|
When done, reseat it->start to it->current (= start of next row). |
11 |
|
(expose_area): Fix exposure of text area when first char (e.g. TAB) |
12 |
|
is only partially visible. |
13 |
|
|
14 |
|
* dispextern.h (struct it): New member start. |
15 |
|
|
16 |
|
2003-11-17 Stefan Monnier <monnier@iro.umontreal.ca> |
17 |
|
|
18 |
|
* keyboard.c (parse_modifiers, apply_modifiers): Use INTMASK instead |
19 |
|
of VALMASK. |
20 |
|
|
21 |
|
* fns.c (hashfn_eq, hashfn_eql, hashfn_equal, hash_put) |
22 |
|
(sxhash_string, sxhash): Use INTMASK instead of VALMASK. |
23 |
|
(maybe_resize_hash_table): Use MOST_POSITIVE_FIXNUM. |
24 |
|
|
25 |
|
* lisp.h (VALMASK): Only define for non-union type. |
26 |
|
(MARKBIT): Remove. |
27 |
|
(ARRAY_MARK_FLAG): Use previous value of MARKBIT. |
28 |
|
(XTYPE): Define unconditionally. |
29 |
|
(XSETTYPE): Remove one more remnant. |
30 |
|
(EQ): Define differently for the union and non-union cases. |
31 |
|
(INTMASK): New bit mask. |
32 |
|
(struct Lisp_Marker): Move down to prepare for upcoming patch. |
33 |
|
(GC_EQ): Delegate to EQ. |
34 |
|
|
35 |
|
* coding.c (coding_restore_composition): Lisp_Object/int mixup. |
36 |
|
|
37 |
|
2003-11-17 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
38 |
|
|
39 |
|
* xterm.c (x_window_to_scroll_bar): Move check of display to |
40 |
|
where window_id is compared. |
41 |
|
|
42 |
|
2003-11-17 Kim F. Storm <storm@cua.dk> |
43 |
|
|
44 |
|
* dispextern.h (struct it): New member first_vpos. |
45 |
|
|
46 |
|
* xdisp.c (start_display): Set it->first_vpos. |
47 |
|
(try_window_id): Use first_vpos to start display in first _text_ |
48 |
|
line if no reusable lines at start of window with header line. |
49 |
|
|
50 |
|
2003-11-16 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
51 |
|
|
52 |
|
* w32fns.c (XPutPixel): |
53 |
|
* w32bdf.c (w32_init_bdf_font): |
54 |
|
* sunfns.c (sel_read): |
55 |
|
* process.c (Fmake_network_process): |
56 |
|
* frame.c (store_frame_param): |
57 |
|
* fontset.c (Fset_fontset_font): |
58 |
|
* emacs.c (shut_down_emacs): |
59 |
|
* ccl.c (ccl_driver): Remove period at end of error message. |
60 |
|
|
61 |
|
* config.in: Regenerate. |
62 |
|
|
63 |
|
* xfns.c (x_window_to_frame, x_any_window_to_frame) |
64 |
|
(x_non_menubar_window_to_frame, x_menubar_window_to_frame) |
65 |
|
(x_top_window_to_frame): Add Display* argument to xg_win_to_widget. |
66 |
|
(x_create_bitmap_mask, xg_set_icon, create_frame_xic) |
67 |
|
(xic_set_statusarea, x_window, gif_load): Formatting adjustments. |
68 |
|
|
69 |
|
* xterm.h (struct x_display_info): New field xg_cursor for GTK. |
70 |
|
|
71 |
|
* xterm.c: Add Display * to x_window_to_scroll_bar declaration. |
72 |
|
(XTmouse_position, handle_one_xevent): Pass Display* to |
73 |
|
x_window_to_scroll_bar. |
74 |
|
(x_window_to_scroll_bar): Take a Display* argument. |
75 |
|
Check that display for frame is equal to Display* argument. |
76 |
|
(event_handler_gdk): Remove current_dpyinfo. Get dpyinfo from |
77 |
|
x_display_info_for_display instead. Use Display in xev instead |
78 |
|
of GDK_DISPLAY. |
79 |
|
(x_dispatch_event): Call x_display_info_for_display. |
80 |
|
(XTread_socket): Move GTK part out of loop. current_dpyinfo removed. |
81 |
|
(x_connection_closed): Call xg_display_close for GTK. |
82 |
|
(x_term_init): Call xg_display_open for additional displays. |
83 |
|
Initiate dpyinfo->xg_cursor with call to xg_create_default_cursor |
84 |
|
for GTK. |
85 |
|
|
86 |
|
* xmenu.c (single_menu_item, mouse_position_for_popup) |
87 |
|
(x_activate_menubar): Formatting adjustments. |
88 |
|
|
89 |
|
* xdisp.c (update_tool_bar, redisplay_tool_bar): Formatting |
90 |
|
adjustments. |
91 |
|
|
92 |
|
* gtkutil.c (xg_get_gdk_display, xg_set_screen, xg_display_open) |
93 |
|
(xg_display_close, xg_create_default_cursor) |
94 |
|
(xg_get_gdk_pixmap_and_mask): New functions for multiple display |
95 |
|
handling. |
96 |
|
(xg_left_ptr_cursor): Remove. |
97 |
|
(xg_set_cursor): Change cursor to GdkCursor*. Do not create |
98 |
|
cursor here. |
99 |
|
(xg_win_to_widget): Take Display* argument, call |
100 |
|
gdk_xid_table_lookup_for_display. |
101 |
|
(xg_create_frame_widgets, xg_get_file_name, create_menus) |
102 |
|
(xg_create_widget, xg_modify_menubar_widgets): Call xg_set_screen. |
103 |
|
(xg_create_widget, xg_create_scroll_bar): Use xg_cursor |
104 |
|
in FRAME_X_DISPLAY_INFO. |
105 |
|
(xg_get_scroll_id_for_window): Take Display* argument. |
106 |
|
(update_frame_tool_bar): Call xg_get_gdk_pixmap_and_mask. |
107 |
|
(xg_initialize): Remove xg_left_ptr_cursor. |
108 |
|
|
109 |
|
* gtkutil.h: xg_get_scroll_id_for_window, xg_win_to_widget takes |
110 |
|
Display* argument also. Declare xg_display_open, |
111 |
|
xg_display_close, xg_create_default_cursor. |
112 |
|
|
113 |
|
2003-11-14 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
114 |
|
|
115 |
|
* xterm.c (x_detect_focus_change): Do not change focus frame for |
116 |
|
Enter/LeaveNotify if the current focus frame has explicit focus. |
117 |
|
|
118 |
|
2003-11-14 Kim F. Storm <storm@cua.dk> |
119 |
|
|
120 |
|
* dispnew.c (update_text_area): Fix redisplay error when hscroll |
121 |
|
is active and first glyph is only partially visible. |
122 |
|
|
123 |
|
2003-11-13 Kenichi Handa <handa@m17n.org> |
124 |
|
|
125 |
|
* xdisp.c (select_frame_for_redisplay): New function. |
126 |
|
(redisplay_internal): Record also selected_frame for |
127 |
|
unwind_redisplay. Call select_frame_for_redisplay before |
128 |
|
redrawing each frame. |
129 |
|
(unwind_redisplay): Argument changed to a cons. |
130 |
|
|
131 |
|
2003-11-12 Luc Teirlinck <teirllm@auburn.edu> |
132 |
|
|
133 |
|
* fns.c (Fstring_to_multibyte): Doc fix. |
134 |
|
|
135 |
|
2003-11-11 Kenichi Handa <handa@m17n.org> |
136 |
|
|
137 |
|
* xterm.c (x_list_fonts): Fix excluding of auto-scaled fonts. |
138 |
|
|
139 |
|
2003-11-09 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
140 |
|
|
141 |
|
* xfns.c (x_window): Set XtNx and XtNy in shell widget for |
142 |
|
program specified positions. |
143 |
|
|
144 |
|
2003-11-08 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
145 |
|
|
146 |
|
* xterm.c (XAW_ARROW_SCROLLBARS): Define it for Xaw 1.5E. |
147 |
|
|
148 |
|
2003-11-08 Kenichi Handa <handa@m17n.org> |
149 |
|
|
150 |
|
* Makefile.in (lisp): Add kannada.el. |
151 |
|
(shortlisp): Likewise. |
152 |
|
|
153 |
|
2003-11-07 Kenichi Handa <handa@m17n.org> |
154 |
|
|
155 |
|
* coding.c (coding_allocate_composition_data): |
156 |
|
Reset coding->composing to COMPOSITION_NO. |
157 |
|
(coding_restore_composition): Detect invalid composition data. |
158 |
|
Give Fstring and Fvector a Lispy integer, not C int. |
159 |
|
|
160 |
|
2003-11-05 Stefan Monnier <monnier@iro.umontreal.ca> |
161 |
|
|
162 |
|
* floatfns.c (Flogb): Don't use VALMASK. |
163 |
|
|
164 |
|
* m/amdx86-64.h (VALBITS, XINT, XUINT): Remove. |
165 |
|
* m/ia64.h (VALBITS, XINT, XUINT): Remove. |
166 |
|
|
167 |
|
* lisp.h (XINT): Move the cast to clarify what is going on. |
168 |
|
(GCTYPEMASK, XSETTYPE): Remove. |
169 |
|
(XGCTYPE): Make it an alias of XTYPE. |
170 |
|
|
171 |
|
2003-11-03 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
172 |
|
|
173 |
|
* xterm.c (x_term_init): Fix formatting. |
174 |
|
|
175 |
|
2003-11-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
176 |
|
|
177 |
|
* gtkutil.h: Declare xg_have_tear_offs, remove xg_keep_popup |
178 |
|
and xg_did_tearoff. |
179 |
|
|
180 |
|
* gtkutil.c: Remove variable xg_did_tearoff. |
181 |
|
(xg_have_tear_offs): New function. |
182 |
|
(tearoff_remove): Just decrease xg_detached_menus. |
183 |
|
(tearoff_activate): Increase xg_detached_menus and call |
184 |
|
tearoff_remove when tearoff is removed. |
185 |
|
(xg_keep_popup): Remove function. |
186 |
|
(create_menus): Give add_tearoff_p as argument to recursive |
187 |
|
call to create_menus. |
188 |
|
(xg_create_widget): Use variables instead of multiple |
189 |
|
strcmp. Tell create_menus to create tear off only for |
190 |
|
menu bar menus. |
191 |
|
(xg_update_menubar): Change title for a detached menu also. |
192 |
|
(xg_modify_menubar_widgets): Always call xg_update_menubar, regardless |
193 |
|
of deep_p. |
194 |
|
(xg_initialize): Initialize xg_detached_menus, remove |
195 |
|
initialization of xg_did_tearoff. |
196 |
|
|
197 |
|
* xmenu.c (set_frame_menubar): For GTK, set deep_p if |
198 |
|
xg_have_tear_offs returns non-zero. |
199 |
|
(create_and_show_popup_menu): Remove setting of xg_did_tearoff and |
200 |
|
call to xg_keep_popup. |
201 |
|
|
202 |
|
2003-11-01 Andrew Choi <akochoi@shaw.ca> |
203 |
|
|
204 |
|
* macterm.c (XTread_socket): Handle menubar selection and grow |
205 |
|
window only for mouseDown events. |
206 |
|
|
207 |
|
2003-10-31 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
208 |
|
|
209 |
|
* xterm.c (x_term_init): For GTK part, increase x_initialized |
210 |
|
to check for more than one display. Use error instead of return 0. |
211 |
|
|
212 |
|
2003-10-31 Andrew Choi <akochoi@shaw.ca> |
213 |
|
|
214 |
|
* unexmacosx.c (unrelocate): New function (contributed by Nozomu Ando). |
215 |
|
(copy_dysymtab): Call it. |
216 |
|
|
217 |
|
2003-10-31 Luc Teirlinck <teirllm@auburn.edu> |
218 |
|
|
219 |
|
* eval.c (Fdefvaralias): Doc fix. |
220 |
|
|
221 |
|
2003-10-26 Luc Teirlinck <teirllm@auburn.edu> |
222 |
|
|
223 |
|
* data.c (Fsetplist): Doc fix. |
224 |
|
|
225 |
2003-10-14 Lute Kamstra <lute@gnu.org> |
2003-10-14 Lute Kamstra <lute@gnu.org> |
226 |
|
|
227 |
* window.c (Fset_window_fringes): Clarify docstring. |
* window.c (Fset_window_fringes): Clarify docstring. |
228 |
|
|
229 |
2003-10-14 Kim F. Storm <storm@cua.dk> |
2003-10-14 Kim F. Storm <storm@cua.dk> |
230 |
|
|
231 |
* window.c (Fset_window_margins): Simplify arg checking. |
* window.c (Fset_window_margins): Simplify arg checking. |
232 |
|
|
233 |
2003-10-13 Richard M. Stallman <rms@gnu.org> |
2003-10-13 Richard M. Stallman <rms@gnu.org> |
248 |
|
|
249 |
2003-10-12 Andrew Choi <akochoi@shaw.ca> |
2003-10-12 Andrew Choi <akochoi@shaw.ca> |
250 |
|
|
251 |
* macterm.c (XTread_socket): Call DragWindow only for mouseDown |
* macterm.c (XTread_socket): Call DragWindow only for mouseDown events. |
|
events. |
|
252 |
|
|
253 |
* s/darwin.h (GC_MARK_STACK): Define. |
* s/darwin.h (GC_MARK_STACK): Define. |
254 |
|
|
264 |
|
|
265 |
2003-10-08 Kenichi Handa <handa@m17n.org> |
2003-10-08 Kenichi Handa <handa@m17n.org> |
266 |
|
|
267 |
* coding.c (Fcoding_system_p): Return t for auto-loading coding |
* coding.c (Fcoding_system_p): Return t for auto-loading coding system. |
|
system. |
|
268 |
|
|
269 |
2003-10-07 Kenichi Handa <handa@m17n.org> |
2003-10-07 Kenichi Handa <handa@m17n.org> |
270 |
|
|
292 |
|
|
293 |
* xterm.h (struct x_output): New members: move_offset_top/left. |
* xterm.h (struct x_output): New members: move_offset_top/left. |
294 |
|
|
295 |
* frame.c (x_set_frame_parameters): x_fullscreen_move removed, |
* frame.c (x_set_frame_parameters): Remove x_fullscreen_move, |
296 |
call x_set_offset directly. |
call x_set_offset directly. |
297 |
|
|
298 |
* frame.h (enum): FULLSCREEN_MOVE_WAIT removed. |
* frame.h (enum): FULLSCREEN_MOVE_WAIT removed. |
302 |
* xterm.c (x_delete_display): Free font names and font_encoder |
* xterm.c (x_delete_display): Free font names and font_encoder |
303 |
in dpyinfo->font_table. |
in dpyinfo->font_table. |
304 |
|
|
305 |
* xfns.c (Fx_close_connection): Only call XFreeFont here. xfree |
* xfns.c (Fx_close_connection): Only call XFreeFont here. |
306 |
of font names moved to x_delete_display. |
Move xfree of font names to x_delete_display. |
307 |
|
|
308 |
* xterm.h (struct x_display_info): New member, wm_type. |
* xterm.h (struct x_display_info): New member, wm_type. |
309 |
(struct x_output): New members, expected_top/left and |
(struct x_output): New members, expected_top/left and |
311 |
|
|
312 |
* xterm.c (handle_one_xevent): Reset wm_type when ReparentNotify |
* xterm.c (handle_one_xevent): Reset wm_type when ReparentNotify |
313 |
is received. |
is received. |
314 |
(handle_one_xevent): x_check_expected_move renamed from |
(handle_one_xevent): Rename x_check_expected_move from |
315 |
x_check_fullscreen_move |
x_check_fullscreen_move. |
316 |
(x_set_offset): Only add WM decoration sizes to modified_top/left |
(x_set_offset): Only add WM decoration sizes to modified_top/left |
317 |
for X_WMTYPE_A. Set check_expected_move when WM type is unknown. |
for X_WMTYPE_A. Set check_expected_move when WM type is unknown. |
318 |
(x_check_expected_move): Renamed from x_check_fullscreen_move. |
(x_check_expected_move): Rename from x_check_fullscreen_move. |
319 |
Removed fullscreen specific code. Use check_expected_move, |
Removed fullscreen specific code. Use check_expected_move, |
320 |
expected_left/top instead. Also, set wm_type. |
expected_left/top instead. Also, set wm_type. |
321 |
(x_term_init): Initialize wm_type to unknown. |
(x_term_init): Initialize wm_type to unknown. |
343 |
|
|
344 |
2003-10-02 Jason Rumney <jasonr@gnu.org> |
2003-10-02 Jason Rumney <jasonr@gnu.org> |
345 |
|
|
346 |
* makefile.w32-in (emacs.o, coding.o, bytecode.o): Sync |
* makefile.w32-in (emacs.o, coding.o, bytecode.o): |
347 |
dependancies with Makefile.in. |
Sync dependencies with Makefile.in. |
348 |
(alloca.o): Remove. |
(alloca.o): Remove. |
349 |
|
|
350 |
* w32fns.c (w32_load_system_font): Clear all members of FONTP before |
* w32fns.c (w32_load_system_font): Clear all members of FONTP before |
357 |
* term.c (set_tty_color_mode): Calculate current_mode_spec |
* term.c (set_tty_color_mode): Calculate current_mode_spec |
358 |
regardless of value of VAL. |
regardless of value of VAL. |
359 |
|
|
360 |
* intervals.c (graft_intervals_into_buffer): |
* intervals.c (graft_intervals_into_buffer): |
361 |
Set BUF_INTERVALS (buffer)->up_obj when appropriate. |
Set BUF_INTERVALS (buffer)->up_obj when appropriate. |
362 |
Handle over_used when splitting UNDER. |
Handle over_used when splitting UNDER. |
363 |
|
|
428 |
|
|
429 |
2003-09-19 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
2003-09-19 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
430 |
|
|
431 |
* xterm.c (x_set_offset): Take window manager decorations |
* xterm.c (x_set_offset): Take window manager decorations into account. |
|
into account. |
|
432 |
|
|
433 |
2003-09-19 Richard M. Stallman <rms@gnu.org> |
2003-09-19 Richard M. Stallman <rms@gnu.org> |
434 |
|
|