Commit | Line | Data |
---|---|---|
034060e4 KH |
1 | 2003-05-30 Kenichi Handa <handa@m17n.org> |
2 | ||
3 | * coding.c (ccl_coding_driver): Set ccl->eight_bit_control | |
4 | properly before calling ccl_driver. | |
5 | ||
6 | * ccl.h (struct ccl_program) <eight_bit_control: Comment fixed. | |
7 | ||
8 | * ccl.c (CCL_WRITE_CHAR): Increment extra_bytes only when it is | |
9 | nonzero. | |
10 | (ccl_driver): Initialize extra_bytes to ccl->eight_bit_control. | |
11 | (setup_ccl_program): Initialize ccl->eight_bit_control to zero. | |
12 | ||
103e0180 KH |
13 | 2003-05-29 Kenichi Handa <handa@m17n.org> |
14 | ||
15 | * coding.c (decode_coding_iso2022): Pay attention to the byte | |
16 | sequence of CTEXT extended segment, and retain those bytes as is. | |
17 | ||
18 | 2003-05-28 Kenichi Handa <handa@m17n.org> | |
19 | ||
20 | * coding.c (ENCODE_UNSAFE_CHARACTER): Adjusted for the name change | |
21 | of CODING_REPLACEMENT_CHARACTER. | |
22 | (decode_coding_iso2022): If CODING_FLAG_ISO_SAFE, set | |
23 | CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in coding->mode, and | |
24 | check this flag on encoding. | |
25 | (encode_coding_sjis_big5): Check | |
26 | CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag of coding->mode. | |
27 | (Fset_terminal_coding_system_internal): Set | |
28 | CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in terminal_coding.mode | |
29 | instead of setting CODING_FLAG_ISO_SAFE flag in | |
30 | terminal_coding.flags. | |
31 | ||
32 | * coding.h (CODING_REPLACEMENT_CHARACTER): Renamed from | |
33 | CODING_INHIBIT_CHARACTER_SUBSTITUTION. | |
34 | (CODING_MODE_INHIBIT_UNENCODABLE_CHAR): New macro. | |
35 | ||
ff6a3bfb | 36 | 2003-05-28 Richard M. Stallman <rms@gnu.org> |
45f266dc | 37 | |
ff6a3bfb RS |
38 | * print.c (syms_of_print) <print-escape-nonascii>: Doc fix. |
39 | ||
40 | * eval.c (unbind_to): Move init of this_binding to separate statement. | |
45f266dc | 41 | |
1963c428 KS |
42 | 2003-05-28 Kim F. Storm <storm@cua.dk> |
43 | ||
44 | * xdisp.c (expose_window): Fix error in calculation of | |
45 | window relative coordinates of area to redisplay. | |
46 | ||
2b5d4601 JR |
47 | 2003-05-27 Jason Rumney <jasonr@gnu.org> |
48 | ||
49 | * w32term.c (GET_WHEEL_DELTA_WPARAM): New macro. | |
50 | ||
1c64a4a2 JB |
51 | 2003-05-27 David Ponce <david@dponce.com> |
52 | ||
53 | Handle W32 mouse wheel events as mouse click events, like in X. | |
54 | ||
55 | * keyboard.c (make_lispy_event) [WINDOWSNT]: Don't handle | |
56 | MOUSE_WHEEL_EVENT anymore. | |
57 | ||
58 | * w32term.c (construct_mouse_wheel): Result is a MOUSE_CLICK_EVENT. | |
59 | Scrolling down/up the mouse wheel is respectively mapped to mouse | |
60 | button 4 and 5. | |
61 | (w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs | |
62 | MOUSE_CLICK_EVENT events. Forward w32 MSH_MOUSEWHEEL events as | |
63 | WM_MOUSEWHEEL events. | |
64 | ||
2d031b89 AS |
65 | 2003-05-27 Andreas Schwab <schwab@suse.de> |
66 | ||
20464fdf AS |
67 | * buffer.c (syms_of_buffer) <default-direction-reversed>: Doc fix. |
68 | ||
2d031b89 AS |
69 | * xdisp.c (try_window_id): Avoid aborting if PT is inside a |
70 | partially visible line. | |
71 | ||
72 | * alloc.c (Fgarbage_collect): Fix last change. | |
73 | ||
97bc76d4 JPW |
74 | 2003-05-26 John Paul Wallington <jpw@gnu.org> |
75 | ||
76 | * xfns.c (Fx_create_frame): Don't call Qface_set_after_frame_default. | |
77 | ||
56613f06 SM |
78 | 2003-05-25 Stefan Monnier <monnier@cs.yale.edu> |
79 | ||
80 | * window.c (Fset_window_buffer): Add type of `keep_margins'. | |
81 | (Fset_window_fringes, Fset_window_scroll_bars): Declare before use. | |
82 | ||
83 | * window.h (window_box_text_cols): Declare. | |
84 | ||
85 | * xdisp.c (window_text_bottom_y, draw_row_fringe_bitmaps) | |
86 | (x_draw_vertical_border): Remove unused var `f'. | |
87 | ||
88 | * xfaces.c (build_scalable_font_name): Remove `unused var | |
89 | pixel_size' warning. | |
90 | ||
91 | * xfns.c (png_load): Remove `unused vars intent, image_gamma' warning. | |
92 | ||
93 | * unexelf.c (unexec): Remove `unused var n' warning. | |
94 | ||
95 | * strftime.c (my_strftime_localtime_r): Remove `defined but | |
96 | unused' warning. | |
97 | ||
98 | * process.c (allocate_pty): Remove `unused var stb' and | |
99 | `cp might be used uninitialized' warnings. | |
100 | ||
101 | * dispnew.c (mode_line_string): Remove unused var `f'. | |
102 | ||
103 | * coding.c (find_safe_codings): Remove unused var `i'. | |
104 | ||
105 | * bytecode.c (Fbyte_code): Remove `unused val' warning. | |
106 | ||
107 | * buffer.c (Fkill_buffer): Remove unused var `list'. | |
108 | ||
109 | * alloc.c (Fgarbage_collect): Remove `unused var tail' warning. | |
110 | ||
93421a1f JD |
111 | 2003-05-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
112 | ||
113 | * frame.c (make_frame): Condition want_fullscreen with | |
114 | HAVE_WINDOW_SYSTEM. | |
115 | ||
c4b8aebc JB |
116 | 2003-05-25 Juanma Barranquero <lektu@terra.es> |
117 | ||
118 | * window.c (Fset_window_scroll_bars): Fix typo in argument name. | |
119 | (Fwindow_scroll_bars): Fix typo in docstring. | |
120 | ||
0416870b KS |
121 | 2003-05-24 Kim F. Storm <storm@cua.dk> |
122 | ||
123 | The following changes serve several purposes: | |
124 | ||
125 | 1) Swap the position of fringes and display margins in windows, i.e. | |
126 | the fringes are now displayed between the margins and the text area | |
127 | (by default). | |
128 | ||
129 | 2) Allow fringe and scroll bar parameters to be set per-buffer and | |
130 | per-window (like display margins). Such settings are now stored | |
131 | in window configurations, preserved when frames are resized, and | |
9018a88e | 132 | copied when windows are split vertically or horizontally. |
0416870b KS |
133 | Several bugs related to display margins have been fixed. |
134 | ||
135 | 3) Consistently use FRAME_FONT and FRAME_FONTSET macros. | |
9018a88e | 136 | |
0416870b KS |
137 | 4) Use FRAME_COLUMN_WIDTH (f) consistently throughout the code |
138 | rather than FRAME_WIDTH (FRAME_FONT (f)). | |
139 | ||
140 | 5) Introduce a consistent naming of variables, members and macros | |
141 | depending on whether their value is measured in pixels or in | |
142 | canonical columns/lines. Pixel dimensions are named *_width and | |
143 | *_height, while canonical columns/lines are named *_cols and | |
144 | *_lines. Pixel positions are named *_x and *_y, while column/line | |
145 | positions are named *_col and *_line. | |
146 | ||
147 | 6) Consolidate more of the X, W32, and MAC gui code by moving | |
148 | common data into struct frame, and generalize it for the non-gui | |
149 | case by using suitable defaults. | |
150 | ||
151 | 7) Cleanup and consolidate the macros controlling frame and window | |
152 | layout into frame.h and window.h, and generalize the use of the | |
153 | various window_box_* functions (enhanced to handle the new fringe | |
154 | position and the per-window fringe and scroll bar settings). | |
155 | ||
156 | * frame.h (struct frame): Rename members height to text_lines, | |
157 | width to text_cols, window_height to total_lines, window_width to | |
158 | total_cols, new_height to new_text_lines, new_width to | |
159 | new_text_cols. All uses changed. | |
160 | (struct frame): New members which consolidate common members of | |
161 | x_output, w32_output, and mac_output structures: left_pos, | |
162 | top_pos, pixel_height, pixel_width, x_pixels_diff, y_pixels_diff, | |
163 | win_gravity, size_hint_flags, border_width, internal_border_width, | |
164 | line_height, fringe_cols, left_fringe_width, right_fringe_width, | |
165 | want_fullscreen. All uses changed. | |
166 | (struct frame): New member column_width contaning the canonical | |
167 | column width, analogue to line_height. All uses changed. | |
168 | (struct frame): Rename members scroll_bar_pixel_width to | |
169 | config_scroll_bar_width, and scroll_bar_cols to | |
170 | config_scroll_bar_cols. All uses changed. | |
171 | (struct frame): New member scroll_bar_actual_width which | |
172 | consolidates and renames the vertical_scroll_bar_extra member of | |
173 | x_output, w32_output, and mac_output structures. All uses changed. | |
174 | (FRAME_PIXEL_HEIGHT): Renamed from PIXEL_HEIGHT and moved | |
175 | from x/w32/macterm.h files. All uses changed. Also change code | |
176 | which referred to f->output_data...->pixel_height. | |
177 | (FRAME_PIXEL_WIDTH): Renamed from PIXEL_WIDTH and moved | |
178 | from x/w32/macterm.h files. All uses changed. Also change code | |
179 | which referred to f->output_data...->pixel_width. | |
180 | (FRAME_LINES): Renamed from FRAME_HEIGHT. All uses changed. | |
181 | Also change code which referred to f->height. | |
182 | (FRAME_COLS): Renamed from FRAME_WIDTH. All uses changed. | |
183 | Also change code which referred to f->width. | |
184 | (FRAME_NEW_HEIGHT, FRAME_NEW_WIDTH): Remove macros; change uses | |
185 | to update new_text_lines and new_text_cols members directly. | |
186 | (FRAME_CONFIG_SCROLL_BAR_WIDTH): Renamed from | |
187 | FRAME_SCROLL_BAR_PIXEL_WIDTH. All uses changed. | |
188 | (FRAME_CONFIG_SCROLL_BAR_COLS): Renamed from | |
189 | FRAME_SCROLL_BAR_COLS. All uses changed. | |
190 | (FRAME_LEFT_SCROLL_BAR_COLS, FRAME_RIGHT_SCROLL_BAR_COLS): | |
191 | Renamed from FRAME_LEFT_SCROLL_BAR_WIDTH and | |
192 | FRAME_RIGHT_SCROLL_BAR_WIDTH, resp. All uses changed. | |
193 | (FRAME_SCROLL_BAR_AREA_WIDTH, FRAME_LEFT_SCROLL_BAR_AREA_WIDTH) | |
194 | (FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH): New macros. | |
195 | (FRAME_TOTAL_COLS): Renamed from FRAME_WINDOW_WIDTH. | |
196 | (SET_FRAME_COLS): Renamed from SET_FRAME_WIDTH. | |
197 | (FRAME_TOTAL_COLS_ARG): Renamed from FRAME_WINDOW_WIDTH_ARG. | |
198 | (WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Remove unused macro. | |
199 | (WINDOW_VERTICAL_SCROLL_BAR_HEIGHT): Remove unused macro. | |
200 | (FRAME_LINE_HEIGHT): Renamed from CANON_Y_UNIT. Unconditionally | |
201 | return line_height member (it now has proper value also for | |
202 | non-window frames). | |
203 | (FRAME_COLUMN_WIDTH): Renamed from CANON_X_UNIT. Unconditionally | |
204 | return new column_width member (rather than the default font width). | |
205 | (FRAME_FRINGE_COLS, FRAME_LEFT_FRINGE_WIDTH) | |
206 | (FRAME_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_... and moved | |
207 | from x/w32/macterm.h files. Unconditionally return corresponding | |
208 | member of frame structure (they now have proper values also for | |
209 | non-window frames). | |
210 | (FRAME_TOTAL_FRINGE_WIDTH): Renamed from FRAME_FRINGE_WIDTH. | |
211 | Calculate return value from left and right widths. | |
212 | (FRAME_INTERNAL_BORDER_WIDTH): Unconditionally return | |
213 | internal_border_width member (has proper value for non-window frame). | |
214 | (FRAME_PIXEL_X_FROM_CANON_X): Renamed from PIXEL_X_FROM_CANON_X. | |
215 | (FRAME_PIXEL_Y_FROM_CANON_Y): Renamed from PIXEL_Y_FROM_CANON_Y. | |
216 | (FRAME_CANON_X_FROM_PIXEL_X): Renamed from CANON_X_FROM_PIXEL_X. | |
217 | (FRAME_CANON_Y_FROM_PIXEL_Y): Renamed from CANON_Y_FROM_PIXEL_Y. | |
218 | (FRAME_LINE_TO_PIXEL_Y): Renamed from CHAR_TO_PIXEL_ROW, | |
219 | consolidated from xterm.h, macterm.h, and w32term.h. | |
220 | (FRAME_COL_TO_PIXEL_X): Renamed from CHAR_TO_PIXEL_COL, | |
221 | consolidated from xterm.h, macterm.h, and w32term.h. | |
222 | (FRAME_TEXT_COLS_TO_PIXEL_WIDTH): Renamed from | |
223 | CHAR_TO_PIXEL_WIDTH consolidated from x/mac/w32term.h. | |
224 | (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Renamed from | |
225 | CHAR_TO_PIXEL_HEIGHT consolidated from x/mac/w32term.h. | |
226 | (FRAME_PIXEL_Y_TO_LINE): Renamed from PIXEL_TO_CHAR_ROW | |
227 | consolidated from x/mac/w32term.h. | |
228 | (FRAME_PIXEL_X_TO_COL): Renamed from PIXEL_TO_CHAR_COL | |
229 | consolidated from x/mac/w32term.h. | |
230 | (FRAME_PIXEL_WIDTH_TO_TEXT_COLS): Renamed from | |
231 | PIXEL_TO_CHAR_WIDTH consolidated from x/mac/w32term.h. | |
232 | (FRAME_PIXEL_HEIGHT_TO_TEXT_LINES): Renamed from | |
233 | PIXEL_TO_CHAR_HEIGHT consolidated from x/mac/w32term.h. | |
234 | ||
235 | * window.h (struct window): Rename members left to left_col, | |
236 | top to top_line, height to total_lines, width to total_cols, | |
237 | left_margin_width to left_margin_cols, right_margin_width to | |
238 | right_margin_cols, orig_height to orig_total_lines, orig_top to | |
239 | orig_top_line. All uses changed. | |
240 | (struct window): New members left_fringe_width, right_fringe_width, | |
241 | fringes_outside_margins, scroll_bar_width, vertical_scroll_bar_type. | |
242 | (WINDOW_XFRAME, WINDOW_FRAME_COLUMN_WIDTH, WINDOW_FRAME_LINE_HEIGHT): | |
243 | New macros primarily used to simplify other macros. | |
244 | (WINDOW_TOTAL_COLS): New macro. Change relevant code that | |
245 | referred to XINT (w->width). | |
246 | (WINDOW_TOTAL_LINES): New macro. Change relevant code that | |
247 | referred to XINT (w->height). | |
248 | (WINDOW_TOTAL_WIDTH): New macro. Change relevant code that | |
249 | referred to XINT (w->width) * canon_x_unit. | |
250 | (WINDOW_TOTAL_HEIGHT): New macro. Change relevant code that | |
251 | referred to XINT (w->height) * canon_y_unit. | |
252 | (WINDOW_LEFT_EDGE_COL): New macro. Change relevant code that | |
253 | referred to XINT (w->left). | |
254 | (WINDOW_RIGHT_EDGE_COL): Renamed from WINDOW_RIGHT_EDGE. Change | |
255 | all uses and code that referred to XINT (w->left) + XINT (w->width). | |
256 | (WINDOW_TOP_EDGE_LINE): New macro. Change relevant code that | |
257 | referred to XINT (w->top). | |
258 | (WINDOW_BOTTOM_EDGE_LINE): New macro. Change relevant code that | |
259 | referred to XINT (w->top) + XINT (w->height). | |
260 | (WINDOW_LEFT_EDGE_X): New macro. Change relevant code that | |
261 | referred to XINT (w->left) * canon_x_unit. | |
262 | (WINDOW_RIGHT_EDGE_X): New macro. Change relevant code that | |
263 | referred to (XINT (w->left) + XINT (w->width)) * canon_x_unit. | |
264 | (WINDOW_TOP_EDGE_Y): New macro. Change relevant code that | |
265 | referred to XINT (w->top) * canon_y_unit. | |
266 | (WINDOW_BOTTOM_EDGE_Y): New macro. Change relevant code that | |
267 | referred to (XINT (w->top) + XINT (w->height)) * canon_y_unit. | |
268 | (WINDOW_LEFTMOST_P): New macro. | |
269 | (WINDOW_BOX_LEFT_EDGE_COL): Renamed from WINDOW_LEFT_MARGIN. | |
270 | All uses changed. | |
271 | (WINDOW_BOX_RIGHT_EDGE_COL): Renamed from WINDOW_RIGHT_MARGIN. | |
272 | All uses changed. | |
273 | (WINDOW_BOX_LEFT_EDGE_X): Renamed from | |
274 | WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, moved from dispextern.h. | |
275 | Do not exclude left fringe width. | |
276 | (WINDOW_BOX_RIGHT_EDGE_X): Renamed from | |
277 | WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X, moved from dispextern.h. | |
278 | Do not exclude fringe widths. | |
279 | (WINDOW_LEFT_FRINGE_WIDTH, WINDOW_RIGHT_FRINGE_WIDTH) | |
280 | (WINDOW_FRINGE_COLS, WINDOW_TOTAL_FRINGE_WIDTH): New macros. | |
281 | Change relevant code that referred to FRAME_LEFT_FRINGE_WIDTH, | |
282 | FRAME_RIGHT_FRINGE_WIDTH, FRAME_FRINGE_COLS, and | |
283 | FRAME_TOTAL_FRINGE_WIDTH to allow per-window fringe settings. | |
284 | (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS): New macro. | |
285 | (WINDOW_VERTICAL_SCROLL_BAR_TYPE, WINDOW_HAS_VERTICAL_SCROLL_BAR) | |
286 | (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT) | |
287 | (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_RIGHT) | |
288 | (WINDOW_CONFIG_SCROLL_BAR_WIDTH, WINDOW_CONFIG_SCROLL_BAR_COLS): | |
289 | New macros. Change code which referenced corresponding | |
290 | FRAME_VERTICAL_SCROLL_BAR_TYPE, FRAME_HAS_VERTICAL_SCROLL_BARS, | |
291 | FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT, | |
292 | FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT, | |
293 | FRAME_SCROLL_BAR_PIXEL_WIDTH, and FRAME_SCROLL_BAR_COLS macros to | |
294 | allow per-window scroll-bar settings. | |
295 | (WINDOW_LEFT_SCROLL_BAR_COLS, WINDOW_RIGHT_SCROLL_BAR_COLS): New macros. | |
296 | (WINDOW_LEFT_SCROLL_BAR_AREA_WIDTH): New macro. Change code that | |
297 | referred to FRAME_LEFT_SCROLL_BAR_WIDTH. | |
298 | (WINDOW_RIGHT_SCROLL_BAR_AREA_WIDTH): New macro. Change code | |
299 | that referred to FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT and | |
300 | FRAME_SCROLL_BAR_WIDTH. | |
301 | (WINDOW_SCROLL_BAR_COLS, WINDOW_SCROLL_BAR_AREA_WIDTH) | |
9018a88e | 302 | (WINDOW_SCROLL_BAR_AREA_X): New macros. |
0416870b KS |
303 | (WINDOW_HEADER_LINE_HEIGHT): Renamed from |
304 | WINDOW_DISPLAY_HEADER_LINE_HEIGHT, moved from dispextern.h. | |
305 | (WINDOW_BOX_HEIGHT_NO_MODE_LINE): Renamed from | |
306 | WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, moved from dispextern.h. | |
307 | (WINDOW_BOX_TEXT_HEIGHT): Renamed from | |
308 | WINDOW_DISPLAY_PIXEL_WIDTH, moved from dispextern.h. | |
309 | (WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y) | |
310 | (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y) | |
311 | (WINDOW_TEXT_TO_FRAME_PIXEL_X): Moved here from dispextern.h. | |
312 | (WINDOW_LEFT_MARGIN_WIDTH): Renamed from | |
313 | WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH, moved from dispextern.h. | |
314 | (WINDOW_RIGHT_MARGIN_WIDTH): Renamed from | |
315 | WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, moved from dispextern.h. | |
316 | (window_from_coordinates): Update prototype. | |
317 | (Fset_window_buffer): Update EXFUN. | |
318 | (set_window_buffer): Update prototype. | |
9018a88e | 319 | |
0416870b | 320 | * dispextern.h (struct glyph_matrix): Rename members window_left_x |
9018a88e | 321 | to window_left_col, window_top_y to window_top_line. All uses |
0416870b KS |
322 | changed. |
323 | (FRAME_INTERNAL_BORDER_WIDTH_SAFE): Remove macro; can now safely | |
324 | use FRAME_INTERNAL_BORDER_WIDTH macro instead as | |
325 | internal_border_width is now set to 0 for non-window frames. | |
326 | (WINDOW_DISPLAY_PIXEL_WIDTH, WINDOW_DISPLAY_PIXEL_HEIGHT) | |
327 | (WINDOW_DISPLAY_MODE_LINE_HEIGHT, WINDOW_DISPLAY_HEADER_LINE_HEIGHT) | |
328 | (WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, WINDOW_DISPLAY_TEXT_HEIGHT) | |
329 | (WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X) | |
330 | (WINDOW_DISPLAY_TOP_EDGE_PIXEL_Y, WINDOW_DISPLAY_BOTTOM_EDGE_PIXEL_Y) | |
331 | (WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y) | |
332 | (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y) | |
333 | (WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH) | |
334 | (WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, WINDOW_WANTS_MODELINE_P): | |
9018a88e | 335 | Move to window.h and renamed [see window.h changes]. |
0416870b KS |
336 | (WINDOW_AREA_TO_FRAME_PIXEL_X, WINDOW_AREA_PIXEL_WIDTH) |
337 | (WINDOW_DISPLAY_TEXT_AREA_PIXEL_WIDTH): Remove macros. | |
9018a88e SM |
338 | (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): |
339 | Use WINDOW_TOTAL_LINES. | |
0416870b KS |
340 | (frame_update_line_height): Remove prototype. |
341 | ||
342 | * buffer.h (struct buffer): Rename members measured in columns: | |
343 | left_margin_width to left_margin_cols, right_margin_width to | |
344 | right_margin_cols. All uses changed. | |
345 | New members left_fringe_width, right_fringe_width, | |
346 | fringes_outside_margins for per-buffer fringe settings. | |
347 | New members scroll_bar_width and vertical_scroll_bar_type for | |
348 | per-buffer scroll bar settings. | |
349 | ||
350 | * buffer.c (init_buffer_once): Set buffer_defaults and | |
351 | buffer_local_flags for new buffer-local variables | |
352 | left_fringe_width, right_fringe_width, fringes_outside_margins, | |
353 | scroll_bar_width, and vertical_scroll_bar_type. | |
354 | (syms_of_buffer): Defvar_per_buffer them, and defvar_lisp_nopro | |
355 | default-* variables for them. | |
356 | ||
357 | * dispnew.c: Make (many) trivial substitutions for renamed and | |
358 | new macros in dispextern.h, frame.h and window.h. | |
359 | (mode_line_string): No need to adjust width for mode lines, as it | |
360 | is already adjusted by the caller. | |
361 | (marginal_area_string): Handle fringes inside/outside margins. | |
9018a88e | 362 | |
0416870b KS |
363 | * frame.c: Make (many) trivial substitutions for renamed and |
364 | new macros in dispextern.h, frame.h and window.h. | |
365 | (make_frame): Initialize left_fringe_width, right_fringe_width, | |
366 | fringe_cols, scroll_bar_actual_width, border_width, | |
367 | internal_border_width, column_width, line_height, x_pixels_diff, | |
368 | y_pixels_diff, want_fullscreen, size_hint_flags, and win_gravity | |
369 | members with values suitable for a non-window frames. | |
370 | ||
371 | * gtkutil.c: Make (many) trivial substitutions for renamed and | |
372 | new macros in dispextern.h, frame.h and window.h. | |
9018a88e | 373 | |
0416870b KS |
374 | * indent.c: Make (few) trivial substitutions for renamed and |
375 | new macros in dispextern.h, frame.h and window.h. | |
376 | ||
377 | * keyboard.c: Make (many) trivial substitutions for renamed and | |
378 | new macros in dispextern.h, frame.h and window.h. | |
379 | (make_lispy_event): Use window positions returned from | |
380 | window_from_coordinates when constructing the lisp event for | |
381 | MOUSE_CLICK_EVENT and DRAG_N_DROP_EVENT, rather than calculating | |
382 | (incorrect) values locally. | |
383 | (make_lispy_movement): Use window positions returned from | |
384 | window_from_coordinates when constructing the lisp event, rather | |
385 | than calculating (incorrect) values locally. | |
386 | ||
387 | * scroll.c: Make (some) trivial substitutions for renamed and | |
388 | new macros in dispextern.h, frame.h and window.h. | |
389 | ||
390 | * sunfns.c (Fsun_menu_internal): Adapt to per-window fringes and | |
391 | scroll-bars. | |
392 | ||
393 | * sysdep.c: Make (few) trivial substitutions for renamed and | |
394 | new macros in dispextern.h, frame.h and window.h. | |
395 | ||
396 | * term.c: Make (some) trivial substitutions for renamed and | |
397 | new macros in dispextern.h, frame.h and window.h. | |
398 | ||
399 | * widget.c: Make (few) trivial substitutions for renamed and | |
400 | new macros in dispextern.h, frame.h and window.h. | |
401 | ||
402 | * window.c: Make (many) trivial substitutions for renamed and | |
403 | new macros in dispextern.h, frame.h and window.h. | |
404 | (make_window): Initialize new members | |
405 | left_margin_cols, right_margin_cols, left_fringe_width, | |
406 | right_fringe_width, fringes_outside_margins, scroll_bar_width, | |
407 | and vertical_scroll_bar_type. | |
408 | (coordinates_in_window): Adapted to new fringe/margin positions | |
9018a88e | 409 | and per-window fringes and scroll-bars. |
0416870b | 410 | Fix bug related to incorrectly adjusting coordinates by |
9018a88e | 411 | frame's internal_border_width (the effect normally negible since |
0416870b KS |
412 | the internal_border_width is typically 0 or 1 pixel, but very |
413 | noticeable for an internal_border_width of e.g. 25 pixels). | |
414 | Upon successful return (other than ON_NOTHING), the coordinates | |
415 | are now always properly converted to window relative for the | |
416 | given display element. | |
417 | (window_from_coordinates): Add new parameters wx and wy to | |
418 | return the window relative x and y position in the returned | |
419 | window and part. A null arg means, don't return the position. | |
420 | All callers changed. | |
421 | (adjust_window_margins): New function which may reduce the width | |
422 | of the display margins if a window's text area is too small after | |
423 | resizing or splitting windows. | |
424 | (size_window): Fix bug that did not account for display margin | |
425 | widths when checking the minimum width of a window; use | |
426 | adjust_window_margins. | |
427 | (set_window_buffer): Call Fset_window_fringes and | |
428 | Fset_window_scroll_bars to setup per-window elements. | |
429 | Add new arg KEEP_MARGINS_P. Non-nil means to keep window's | |
430 | existing display margin, fringe widths, and scroll bar settings | |
9018a88e SM |
431 | (e.g. after splitting a window or resizing the frame). |
432 | All callers changed. | |
0416870b KS |
433 | (Fset_window_buffer): New arg KEEP_MARGINS. All callers changed. |
434 | (Fsplit_window): Duplicate original window's display margin, | |
435 | fringe, and scroll-bar settings; then call Fset_window_buffer with | |
436 | KEEP_MARGINS non-nil. This fixes a bug which caused a split | |
437 | window to only preserve the display margins in one of the windows. | |
c4b8aebc | 438 | When splitting horizontally, call adjust_window_margins on both |
0416870b KS |
439 | windows to ensure that the text area of the new windows is non too |
440 | narrow. This fixes a bug which could cause emacs to trap if the | |
441 | width of the split window was less than the width of the display | |
442 | margins. | |
9018a88e SM |
443 | (window_box_text_cols): Renamed from window_internal_width. |
444 | All uses changed. Adapt to per-window fringes and scroll bars. | |
0416870b KS |
445 | Fix bug that caused vertical separator to be subtracted also on |
446 | window frames. Fix another bug that did not reduce the returned | |
447 | value by the columns used for display margins. | |
448 | (window_scroll_line_based): Fix bug related to scrolling too much | |
449 | when display margins are present (implicitly fixed by the fix to | |
450 | window_box_text_cols). | |
451 | (scroll_left, scroll_right): Fix bug related to scrolling too far | |
452 | by default when display margins are present (implicitly fixed by | |
453 | the fix to window_box_text_cols). | |
454 | (struct saved_window): Rename members left to left_col, top to | |
455 | top_line, width to total_cols, height to total_lines, orig_top to | |
456 | orig_top_line, orig_height to orig_total_lines. All uses changed. | |
457 | New members left_margin_cols, right_margin_cols, | |
458 | left_fringe_width, right_fringe_width, fringes_outside_margins, | |
459 | scroll_bar_width, and vertical_scroll_bar_type for saving | |
460 | per-window display elements. | |
461 | (Fset_window_configuration): Restore display margins, fringes, | |
462 | and scroll bar settings. This fixes a bug which caused display | |
463 | margins to be discarded when saving and restoring a window | |
464 | configuration. | |
465 | (save_window_save): Save display margins, fringes, and scroll bar | |
466 | settings. This fixes a bug which caused display margins to be | |
467 | discarded when saving and restoring a window configuration. | |
468 | (Fset_window_margins): Do nothing if display margins are not | |
469 | really changed. Otherwise, call adjust_window_margins to ensure | |
470 | the text area doesn't get too narrow. This fixes a bug which | |
471 | could cause emacs to trap if setting display margins wider than | |
472 | the width of the window. | |
473 | (Fset_window_fringes): New defun to allow user to specifically set | |
474 | this window's fringe widths and position vs. display margins. | |
475 | (Fwindow_fringes): New defun to return window's actual fringe | |
476 | settings. | |
477 | (Fset_window_scroll_bars): New defun to allow user to specifically | |
478 | set this window's scroll bar width and position. | |
479 | (Fwindow_scroll_bars): New defun to return window's actual scroll | |
480 | bar settings. | |
481 | (compare_window_configurations): Also compare display margins, | |
482 | fringes, and scroll bar settings. | |
483 | (syms_of_window): Defsubr new defuns for fringe and scroll bars. | |
484 | ||
485 | * xdisp.c: Make (many) trivial substitutions for renamed and | |
486 | new macros in dispextern.h, frame.h and window.h. | |
487 | (window_box_width): Adapt to per-window fringes and scroll bars, | |
488 | and new fringe vs. display margin position. Note that returned | |
489 | value is no longer guaranteed to be a whole multiple of the frame | |
490 | column width, since per-window fringes may now be any width. | |
491 | (window_box_left_offset): New function like window_box_left, but | |
492 | value is relative to left border of window (rather than frame). | |
493 | (window_box_right_offset): New function like window_box_right, | |
494 | but value is relative to left border of window. | |
495 | (window_box_left): Adapt to per-window fringes and scroll bars, | |
496 | and new fringe vs. display margin position. Simplify by using | |
497 | WINDOW_LEFT_EDGE_X and window_box_left_offset. | |
498 | (window_box): Allow null args for unnecessary return values; | |
499 | change/simplify relevant callers. | |
500 | (x_y_to_hpos_vpos): Adapt to per-window fringes and scroll bars, | |
9018a88e SM |
501 | and new fringe vs. display margin position. |
502 | Use window_box_left_offset and window_box_right_offset | |
0416870b | 503 | (get_glyph_string_clip_rect): Adapt to per-window fringes and |
9018a88e SM |
504 | scroll bars, and new fringe vs. display margin position. |
505 | Use WINDOW_LEFT_EDGE_X and WINDOW_TOTAL_WIDTH. | |
0416870b KS |
506 | (draw_fringe_bitmap): Rework to handle per-window fringes and new |
507 | fringe vs. display margin position. | |
508 | (hscroll_window_tree): Use window_box_width instead of window_box. | |
509 | (redisplay_window): Adapt to per-window scroll bars. | |
510 | (draw_glyphs): Rework to handle per-window fringes and scroll | |
9018a88e SM |
511 | bars, and new fringe vs. display margin position. |
512 | Use WINDOW_LEFT_EDGE_X, WINDOW_TOTAL_WIDTH, and window_box_left. | |
0416870b KS |
513 | (x_clear_end_of_line): Adapt to per-window fringes and scroll |
514 | bars, and new fringe vs. display margin position. Fix bug which | |
515 | increased total width of full_width rows by width of scroll bars | |
516 | although window's total width already includes that. | |
517 | (x_fix_overlapping_area): Simplify using window_box_left_offset. | |
518 | (expose_area): Simplify using window_box_left_offset. | |
519 | (x_draw_vertical_border): Handle per-window scroll bar settings, | |
520 | mixing windows with left, right and no scroll bars. | |
521 | ||
522 | * xfaces.c [WINDOWSNT]: Move redefinition of FONT_WIDTH macro to | |
523 | where it's used in x_list_fonts (for clarity). | |
524 | (frame_update_line_height): Remove unused function; functionality | |
525 | is now done directly when setting the default font in x_set_font. | |
526 | ||
527 | * xfns.c: Make (many) trivial substitutions for renamed and | |
528 | new macros in dispextern.h, frame.h and window.h. | |
529 | ||
530 | * xmenu.c: Make (some) trivial substitutions for renamed and | |
531 | new macros in dispextern.h, frame.h and window.h. | |
532 | ||
533 | * xterm.h (struct x_output): Move members left_pos, top_pos, | |
534 | border_width, pixel_height, pixel_width, line_height, | |
535 | internal_border_width, vertical_scroll_bar_extra, | |
536 | left_fringe_width, right_fringe_width, fringe_cols, | |
537 | fringes_extra, win_gravity, size_hint_flags, want_fullscreen, | |
538 | x_pixels_diff, and y_pixels_diff to struct frame (frame.h). | |
539 | (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. | |
540 | (FRAME_DEFAULT_FONT_WIDTH): Remove macro. | |
541 | (PIXEL_WIDTH, PIXEL_HEIGHT) | |
542 | (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) | |
543 | (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Moved to | |
544 | frame.h and renamed [see frame.h changes]. | |
545 | (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) | |
546 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | |
547 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Moved to frame.h | |
548 | and renamed [see frame.h changes]. | |
9018a88e | 549 | |
0416870b KS |
550 | * xterm.c: Make (several) trivial substitutions for renamed and |
551 | new macros in dispextern.h, frame.h and window.h. | |
552 | (x_draw_glyph_string_box): Adapt to per-window fringes and | |
553 | scroll-bars. | |
554 | (scroll_run): Adapt to new fringe position. | |
555 | (glyph_rect): Use window coordinates returned from | |
556 | window_from_coordinates rather than frame_to_window_pixel_xy. | |
557 | (XTset_vertical_scroll_bar): Adapt to per-window fringes and | |
558 | scroll-bars. | |
559 | (handle_one_xevent): Simplify a USE_GTK conditional. | |
560 | (x_clip_to_row): Remove superfluous whole_line_p arg and code | |
561 | (fringes are now inside margins, i.e. always in the clipping area). | |
562 | All callers changed. | |
563 | (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT | |
564 | directly, then call compute_fringe_widths. Don't call | |
565 | frame_update_line_height. | |
566 | ||
567 | * w32term.h (struct w32_output): Move members left_pos, top_pos, | |
568 | border_width, pixel_height, pixel_width, line_height, | |
569 | internal_border_width, vertical_scroll_bar_extra, | |
570 | left_fringe_width, right_fringe_width, fringe_cols, | |
571 | fringes_extra, win_gravity, size_hint_flags, want_fullscreen, | |
572 | x_pixels_diff, and y_pixels_diff to struct frame (frame.h). | |
573 | (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. | |
574 | (FRAME_DEFAULT_FONT_WIDTH): Remove macro. | |
575 | (PIXEL_WIDTH, PIXEL_HEIGHT) | |
576 | (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) | |
577 | (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Moved to | |
578 | frame.h and renamed [see frame.h changes]. | |
579 | (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) | |
580 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | |
581 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Moved to frame.h | |
582 | and renamed [see frame.h changes]. | |
9018a88e | 583 | |
0416870b KS |
584 | * w32term.c: Make (several) trivial substitutions for renamed and |
585 | new macros in dispextern.h, frame.h and window.h. | |
586 | (x_draw_glyph_string_box): Adapt to per-window fringes and | |
587 | scroll-bars. | |
588 | (glyph_rect): Use window coordinates returned from | |
589 | window_from_coordinates rather than frame_to_window_pixel_xy. | |
590 | (XTset_vertical_scroll_bar): Adapt to per-window fringes and | |
591 | scroll-bars. | |
592 | (w32_clip_to_row): Remove superfluous whole_line_p arg and code | |
593 | (fringes are now inside margins, i.e. always in the clipping area). | |
594 | All callers changed. | |
595 | (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT | |
596 | directly, then call compute_fringe_widths. Don't call | |
597 | frame_update_line_height. | |
598 | ||
599 | * w32console.c: Make (few) trivial substitutions for renamed and | |
600 | new macros in dispextern.h, frame.h and window.h. | |
601 | ||
602 | * w32fns.c: Make (many) trivial substitutions for renamed and | |
603 | new macros in dispextern.h, frame.h and window.h. | |
604 | ||
605 | * w32menu.c: Make (few) trivial substitutions for renamed and | |
606 | new macros in dispextern.h, frame.h and window.h. | |
607 | ||
608 | * macterm.h (struct mac_output): Move members left_pos, top_pos, | |
609 | border_width, pixel_height, pixel_width, line_height, | |
610 | internal_border_width, vertical_scroll_bar_extra, | |
611 | left_fringe_width, right_fringe_width, fringe_cols, | |
612 | fringes_extra, win_gravity, size_hint_flags, want_fullscreen, | |
613 | x_pixels_diff, y_pixels_diff to struct frame (frame.h). | |
614 | (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. | |
615 | (FRAME_DEFAULT_FONT_WIDTH): Remove macro. | |
616 | (PIXEL_WIDTH, PIXEL_HEIGHT) | |
617 | (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) | |
618 | (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Moved to | |
619 | frame.h and renamed [see frame.h changes]. | |
620 | (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) | |
621 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | |
622 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Moved to frame.h | |
623 | and renamed [see frame.h changes]. | |
9018a88e | 624 | |
0416870b KS |
625 | * macterm.c: Make (several) trivial substitutions for renamed and |
626 | new macros in dispextern.h, frame.h and window.h. | |
627 | (x_draw_glyph_string_box): Adapt to per-window fringes and | |
628 | scroll-bars. | |
629 | (glyph_rect): Use window coordinates returned from | |
630 | window_from_coordinates rather than frame_to_window_pixel_xy. | |
631 | (XTset_vertical_scroll_bar): Adapt to per-window fringes and | |
632 | scroll-bars. | |
633 | (x_clip_to_row): Remove superfluous whole_line_p arg and code | |
634 | (fringes are now inside margins, i.e. always in the clipping area). | |
635 | All callers changed. | |
636 | (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT | |
637 | directly, then call compute_fringe_widths. Don't call | |
638 | frame_update_line_height. | |
639 | ||
640 | * macfns.c: Make (several) trivial substitutions for renamed and | |
641 | new macros in dispextern.h, frame.h and window.h. | |
9018a88e | 642 | (x_real_positions): Set f->x_pixels_diff and f->y_pixels_diff to 0. |
0416870b KS |
643 | |
644 | * macmenu.c: Make (few) trivial substitutions for renamed and | |
645 | new macros in dispextern.h, frame.h and window.h. | |
646 | ||
647 | * msdos.h (struct x_output): Remove members left_pos, top_pos, | |
648 | and line_height, and use corresponding new members in struct | |
649 | frame. All uses changed. | |
650 | (FRAME_LINE_HEIGHT, FRAME_INTERNAL_BORDER_WIDTH): Remove macros; | |
651 | superseeded by corresponding macros in frame.h. | |
652 | ||
653 | * msdos.c: Make (several) trivial substitutions for renamed and | |
654 | new macros in dispextern.h, frame.h and window.h. | |
655 | (IT_note_mouse_highlight): Use updated window coordinates returned | |
9018a88e | 656 | by window_from_coordinates, rather than adjusting them locally. |
0416870b KS |
657 | (internal_terminal_init): No need to initialize line_height here; |
658 | it now defaults to 1. | |
659 | ||
9018a88e SM |
660 | 2003-05-24 Stefan Monnier <monnier@cs.yale.edu> |
661 | ||
662 | * keyboard.c (read_key_sequence): Adjust fkey and keytran when | |
663 | dropping `down' events. | |
664 | ||
016bd3c0 AS |
665 | 2003-05-24 Andreas Schwab <schwab@suse.de> |
666 | ||
667 | * coding.c (find_safe_codings): Fix last change. | |
668 | ||
4dacadcc TTN |
669 | 2003-05-24 Istvan Marko <mi@imarko.dhs.org> (tiny change) |
670 | ||
671 | * xfns.c (x_window): Fix typo from 2003-05-21 change. | |
672 | ||
319830ce SM |
673 | 2003-05-23 Stefan Monnier <monnier@cs.yale.edu> |
674 | ||
9018a88e SM |
675 | * xdisp.c (display_mode_element): Increase max depth. |
676 | Simplify the error handling code. Use a different error string | |
677 | for the case where we hit the depth limit. | |
678 | ||
319830ce SM |
679 | * lisp.h (Vfundamental_mode_abbrev_table): Don't declare. |
680 | ||
681 | * buffer.c (reset_buffer_local_variables): Remove redundant setting. | |
682 | ||
683 | 2003-05-21 Stefan Monnier <monnier@cs.yale.edu> | |
684 | ||
685 | * intervals.c (get_local_map): Don't get char-property of previous | |
686 | point any more: get_pos_property already does it and better. | |
687 | ||
c67de8ba DL |
688 | 2003-05-21 Dave Love <fx@gnu.org> |
689 | ||
690 | [Merged from unicode branch.] | |
691 | ||
692 | * xfns.c (x_window, x_window): Use use_xim. | |
693 | ||
694 | * xterm.c (use_xim): Initialize. | |
695 | (xim_open_dpy, xim_initialize, xim_close_dpy): Use use_xim. | |
696 | (x_term_init): Maybe set use_xim. | |
697 | ||
698 | * xterm.h (use_xim) [HAVE_X_I18N]: Declare. | |
699 | ||
edd3ff1d JR |
700 | 2003-05-21 Jason Rumney <jasonr@gnu.org> |
701 | ||
702 | * unexw32.c (_start): Remove _fmode initialization. | |
703 | ||
704 | * emacs.c (main) [WINDOWSNT]: Move it here. | |
705 | ||
463f55ee DL |
706 | 2003-05-20 Dave Love <fx@gnu.org> |
707 | ||
708 | * s/gnu-linux.h (MAIL_USE_FLOCK): Make it conditional. | |
709 | ||
af253914 RS |
710 | 2003-05-19 Richard M. Stallman <rms@gnu.org> |
711 | ||
712 | * xfaces.c (Finternal_set_lisp_face_attribute): Handle Qunspecified | |
713 | as value for QCfont attribute. | |
714 | (realize_default_face): lface should already exist; crash if not. | |
715 | Specify 0 for FORCE_P when calling set_lface_from_font_name. | |
716 | ||
717 | * frame.c (Fignore_event): Doc fix. | |
718 | ||
1d211019 KH |
719 | 2003-05-19 Kenichi Handa <handa@m17n.org> |
720 | ||
721 | * coding.c (decode_coding_string): Handle post-read-conversion | |
722 | even if the coding doesn't require decoding. | |
723 | ||
4dd68254 RS |
724 | 2003-05-18 Richard M. Stallman <rms@gnu.org> |
725 | ||
726 | * callproc.c (Fcall_process_region): Doc fix. | |
727 | ||
14d87dc9 SM |
728 | 2003-05-17 Stefan Monnier <monnier@cs.yale.edu> |
729 | ||
deca5d96 SM |
730 | * lread.c (Fload): Print a message if package is obsolete. |
731 | ||
14d87dc9 SM |
732 | * window.c (Fselect_window): Add optional `norecord' arg. |
733 | (select_window_1): Fold into Fselect_window. | |
734 | (select_window_norecord): New function. | |
735 | (temp_output_buffer_show): Use it. Preserve current buffer. | |
736 | ||
737 | * window.h (Fselect_window): Update declaration. | |
738 | ||
739 | * window.c (delete_window, Fother_window, Fset_window_configuration): | |
740 | * minibuf.c (read_minibuf): | |
741 | * macterm.c (x_new_focus_frame): | |
742 | * frame.c (do_switch_frame, Fset_frame_selected_window, Fdelete_frame): | |
743 | * callint.c (Fcall_interactively): | |
744 | * xterm.c (x_new_focus_frame): Pass nil as new arg to Fselect_window. | |
745 | ||
746 | * buffer.c (Fpop_to_buffer): Pass norecord to Fselect_window. | |
747 | ||
78f52183 DK |
748 | 2003-05-17 David Kastrup <dak@gnu.org> |
749 | ||
750 | * process.c (read_process_output): Back out change from 2003-03-09. | |
751 | ||
14d87dc9 SM |
752 | 2003-05-17 Stefan Monnier <monnier@cs.yale.edu> |
753 | ||
754 | * editfns.c (get_pos_property): Don't assume that `object' = nil. | |
755 | ||
756 | * textprop.c (text_property_stickiness): New arg `buffer'. | |
757 | ||
758 | * intervals.h (text_property_stickiness): New arg `buffer'. | |
759 | (get_pos_property): Declare. | |
760 | ||
761 | * intervals.c (get_local_map): Use get_pos_property, to obey | |
762 | stickiness and empty overlays. | |
763 | (create_root_interval, graft_intervals_into_buffer): Use BEG. | |
764 | (merge_properties, intervals_equal, merge_properties_sticky): | |
765 | Use XCAR, XCDR. | |
766 | (adjust_for_invis_intang): Pass new arg to text_property_stickiness. | |
767 | ||
1fd1cc2f RS |
768 | 2003-05-17 Richard M. Stallman <rms@gnu.org> |
769 | ||
4f9f637a RS |
770 | * minibuf.c (read_minibuf): If buffer is empty, record the default |
771 | in the history. | |
772 | (Fminibuffer_complete_word): When deleting the overlap, take account | |
773 | of its real position. | |
774 | ||
775 | * fns.c (map_char_table): Fix previous change. | |
776 | ||
1fd1cc2f RS |
777 | * syntax.c (find_defun_start): |
778 | When open_paren_in_column_0_is_defun_start, | |
779 | return beginning of buffer. | |
780 | ||
781 | * lisp.h (map_char_table): Declare added arg. | |
782 | ||
783 | * fns.c (map_char_table): New arg TABLE gets the master table. | |
784 | All calls changed. | |
785 | Process default and inheritance, resorting to Faref if necessary. | |
786 | ||
787 | * keymap.c (Fset_keymap_parent, map_keymap, Fcopy_keymap) | |
788 | (Faccessible_keymaps): Pass new arg to map_char_table. | |
789 | ||
790 | * fontset.c (Ffontset_info): Pass new arg to map_char_table. | |
791 | ||
792 | * casetab.c (set_case_table): Pass new arg to map_char_table. | |
793 | ||
794 | * data.c (let_shadows_buffer_binding_p): Make target of p volatile. | |
795 | ||
796 | * lisp.h (specbinding_func): New typedef. | |
797 | (struct specbinding): Use specbinding_func, to put the `volatile' | |
798 | in the right place. | |
799 | ||
800 | * alloc.c (Fgarbage_collect): Cast pointers into specpdl | |
801 | to avoid GCC warning. | |
14d87dc9 | 802 | |
b4bd27c5 RS |
803 | 2003-05-16 Ralph Schleicher <rs@nunatak.allgaeu.org> (tiny change) |
804 | ||
14d87dc9 | 805 | * fileio.c (Fdelete_file): Handle symlinks pointing to directories. |
b4bd27c5 | 806 | |
35fb885d SM |
807 | 2003-05-15 Stefan Monnier <monnier@cs.yale.edu> |
808 | ||
809 | * keyboard.c (apply_modifiers): Don't fill the other cache. | |
810 | ||
9a274fbd SM |
811 | 2003-05-14 Stefan Monnier <monnier@cs.yale.edu> |
812 | ||
c55b5fad SM |
813 | * .gdbinit-union: New file, for USE_LISP_UNION_TYPE users. |
814 | ||
9a274fbd SM |
815 | * window.h (Qwindowp, Qwindow_live_p, Vwindow_list) |
816 | (Fwindow_end, Fselected_window, Fdelete_window, Fwindow_buffer) | |
817 | (Fget_buffer_window, Fsave_window_excursion, Fsplit_window) | |
818 | (Fset_window_configuration, Fcurrent_window_configuration) | |
819 | (compare_window_configurations, Fcoordinates_in_window_p, Fwindow_at) | |
820 | (Fpos_visible_in_window_p, mark_window_cursors_off) | |
821 | (window_internal_height, window_internal_width, Frecenter) | |
822 | (Fscroll_other_window, Fset_window_start, temp_output_buffer_show) | |
823 | (replace_buffer_in_all_windows, init_window_once, init_window) | |
824 | (syms_of_window, keys_of_window): Move from lisp.h. | |
825 | * lisp.h: Move window.c declarations to window.h. | |
826 | ||
827 | * bytecode.c: Include window.h. | |
828 | * emacs.c: Include window.h. | |
829 | ||
14d87dc9 | 830 | * keyboard.c (make_lispy_event): Apply modifiers to multibyte-char key. |
9a274fbd SM |
831 | (keyremap): Add `parent' field. |
832 | (keyremap_step): Use it. Remove `parent' argument. | |
833 | (read_key_sequence): Setup and use the new `parent' field. | |
834 | ||
fd93e331 SM |
835 | 2003-05-11 Stefan Monnier <monnier@cs.yale.edu> |
836 | ||
837 | * keyboard.c (adjust_point_for_property): Ensure termination. | |
838 | ||
1c4001a1 SM |
839 | 2003-05-10 Stefan Monnier <monnier@cs.yale.edu> |
840 | ||
841 | * keyboard.c (follow_key): Remove dead variable `did_meta'. | |
842 | (access_keymap_keyremap, keyremap_step): New funs, extracted from the | |
843 | duplicated handling of function-key-map and key-translation-map | |
844 | in read_key_sequence. | |
845 | (read_key_sequence): Use them. | |
846 | ||
847 | * keyboard.c (adjust_point_for_property): Try harder to move point | |
848 | to the non-sticky end of an invisible property. | |
849 | ||
850 | * xdisp.c (single_display_prop_intangible_p): Make `space' display | |
851 | property intangible as well. | |
852 | ||
780379b1 AS |
853 | 2003-05-10 Andreas Schwab <schwab@suse.de> |
854 | ||
855 | * xmenu.c (single_menu_item): Change last parameter to void* to | |
856 | avoid warning. | |
857 | ||
ca2de342 RS |
858 | 2003-05-09 Richard M. Stallman <rms@gnu.org> |
859 | ||
860 | * print.c (Fprin1_to_string): Instead of gcpro, set abort_on_gc. | |
861 | Bind Qinhibit_modification_hooks to t so there will be no GC. | |
862 | Rename local `tem' to `save_deactivate_mark'. | |
863 | ||
864 | * eval.c (specpdl_ptr): Declare volatile. | |
865 | (unbind_to): Copy the whole binding and decrement specpdl_ptr | |
866 | before doing the work of unbinding it. | |
867 | ||
868 | * lisp.h (struct specbinding): Declare elements volatile. | |
869 | (specpdl_ptr): Declare volatile. | |
870 | ||
871 | * Makefile.in (alloca.o): Specify -DDO_BLOCK_INPUT in compiling. | |
872 | ||
873 | * alloca.c: Test DO_BLOCK_INPUT rather than `emacs' | |
874 | for use of BLOCK_INPUT and inclusion of lisp.h and blockinput.h. | |
875 | ||
347003be DL |
876 | 2003-05-08 Dave Love <fx@gnu.org> |
877 | ||
878 | * coding.c (Vlast_coding_system_used): Doc fix. | |
879 | ||
5adcec23 JR |
880 | 2003-05-07 Jason Rumney <jasonr@gnu.org> |
881 | ||
882 | * fileio.c (Ffile_symlink_p): Let handlers handle symlinks even | |
883 | when system does not support them. | |
884 | ||
5fe3b8a4 SM |
885 | 2003-05-05 Stefan Monnier <monnier@cs.yale.edu> |
886 | ||
887 | * fileio.c (Qwrite_region_annotate_functions): New var. | |
888 | (build_annotations): Use it to process the global part of the hook. | |
889 | (syms_of_fileio): Init and staticpro it. | |
890 | ||
891 | * keyboard.c (safe_run_hooks_error): Display a message instead of | |
892 | silently ignoring the error. | |
893 | ||
894 | 2003-05-03 Stefan Monnier <monnier@cs.yale.edu> | |
895 | ||
896 | * keyboard.c (input_available_signal): Mark static. | |
897 | (menu_bar_items): Use map_keymap. | |
898 | (menu_bar_one_keymap): Remove. | |
899 | (menu_bar_item): Adjust arglist (for use in map_keymap). | |
900 | Properly hide a second binding when not both are keymaps. | |
901 | ||
902 | * xmenu.c (struct skp): New struct, to pass args through map_keymap. | |
903 | (single_keymap_panes): Use it and map_keymap. | |
904 | (single_menu_item): Use skp as well. | |
905 | ||
906 | * keymap.h (map_keymap_function_t): New type. | |
907 | (map_keymap): Declare. | |
908 | ||
909 | * keymap.c (map_keymap_item, map_keymap_char_table_item, map_keymap) | |
910 | (map_keymap_call, Fmap_keymap): New functions. | |
911 | (syms_of_keymap): Defsubr map-keymap. | |
912 | ||
4b1b4443 JD |
913 | 2003-05-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
914 | ||
915 | * gtkutil.c (create_dialog, make_widget_for_menu_item) | |
916 | (make_menu_item, create_menus, xg_update_menu_item): Don't call | |
917 | ..._with_mnemonic functions for menu items. | |
918 | ||
1f816871 KH |
919 | 2003-05-01 Kenichi Handa <handa@m17n.org> |
920 | ||
921 | * coding.c (coding_system_accept_latin_extra_p): Delete this | |
922 | function. | |
923 | (find_safe_codings): Pay attention to | |
924 | the property tranlsation-table-for-encode of each codings. | |
925 | (syms_of_coding): Give Qtranslation_table the extra slot number 2. | |
926 | ||
5ed6ba5b SM |
927 | 2003-05-01 Stefan Monnier <monnier@cs.yale.edu> |
928 | ||
929 | * eval.c (Funwind_protect): Use func=Fprogn rather than symbol=Qnil. | |
930 | ||
32c06229 SM |
931 | 2003-04-30 Stefan Monnier <monnier@cs.yale.edu> |
932 | ||
933 | * eval.c (unbind_to): Don't handle symbol = Qnil any more. | |
934 | ||
935 | * lisp.h (CHECK): Wrap args in parenthesis. | |
936 | (specbind): Fix doc: symbol = Qnil is not supported any more. | |
937 | ||
938 | * bytecode.c (Fbyte_code) <unwind-protect>: | |
939 | Use Fprogn rather than 0 and Qnil. | |
940 | ||
941 | * keyboard.c (parse_modifiers_uncached): Parse `down', `drag', | |
942 | `double', and `triple' modifiers as well. | |
943 | ||
ed3c3314 RS |
944 | 2003-04-30 Richard M. Stallman <rms@gnu.org> |
945 | ||
946 | * keyboard.c (echo_char): Don't clear out a dash that follows a space. | |
947 | ||
948 | * alloc.c (abort_on_gc): New variable. | |
949 | (Fgarbage_collect): Abort if abort_on_gc is set. | |
950 | ||
951 | * lisp.h (abort_on_gc): Add decl. | |
952 | ||
953 | * eval.c (Fsignal): Clear abort_on_gc. | |
954 | ||
955 | * editfns.c (Fformat): Set abort_on_gc during first scan of format. | |
32c06229 | 956 | Reinit FORMAT_START and END before second scan. |
ed3c3314 RS |
957 | |
958 | * xdisp.c (move_it_vertically_backward): Do the final big else | |
959 | even if nlines is 0. | |
960 | ||
961 | * xdisp.c (redisplay_internal): Finish the per-frame loop | |
962 | even if redisplay is suspended by input. | |
963 | ||
0b325c12 AC |
964 | 2003-04-24 Andrew Choi <akochoi@shaw.ca> |
965 | ||
966 | * macterm.c (x_list_fonts): Return all fonts that match if | |
967 | maxnames = -1. | |
968 | ||
4e837cd0 KH |
969 | 2003-04-25 Kenichi Handa <handa@m17n.org> |
970 | ||
971 | * syntax.c (skip_chars): Fix previous change. | |
972 | ||
9af7511a KH |
973 | 2003-04-24 Kenichi Handa <handa@m17n.org> |
974 | ||
975 | * syntax.c (skip_chars): Make the code faster by using the common | |
976 | technique of *p, *stop, and *endp. | |
977 | ||
e3b2c21f JD |
978 | 2003-04-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
979 | ||
980 | * xdisp.c (update_tool_bar): BLOCK_INPUT before calling | |
32c06229 | 981 | tool_bar_items so GTK tool bar expose callback does not access items |
e3b2c21f JD |
982 | being updated. |
983 | ||
32c06229 SM |
984 | 2003-04-19 Stefan Monnier <monnier@cs.yale.edu> |
985 | ||
986 | * eval.c (Fapply): Undo last change and add a comment about why. | |
987 | ||
c6464167 MB |
988 | 2003-04-18 Miles Bader <miles@gnu.org> |
989 | ||
990 | * data.c (Faset): Calculate nbytes earlier, to satisfy the now | |
991 | pickier PARSE_MULTIBYTE_SEQ. | |
992 | ||
e509f168 SM |
993 | 2003-04-17 Stefan Monnier <monnier@cs.yale.edu> |
994 | ||
995 | * eval.c (For, Fand, Fprogn, un_autoload, do_autoload): | |
996 | Use XCDR, XCAR, CONSP. | |
997 | (Fdefmacro): Fix docstring. Use XCAR, XCDR. | |
998 | (Fapply): Remove unnecessary GCPRO. | |
999 | ||
1000 | * doc.c (Fsubstitute_command_keys): Remove spurious casts. | |
1001 | ||
1002 | * charset.h (PARSE_MULTIBYTE_SEQ): Pretend `length' is used. | |
1003 | ||
1004 | * buffer.h: Don't hardcode BEG==1. | |
1005 | ||
1006 | * abbrev.c (Fdefine_abbrev_table): Use XCAR, XCDR. | |
1007 | ||
5ceea398 RS |
1008 | 2003-04-16 Richard M. Stallman <rms@gnu.org> |
1009 | ||
1010 | * xdisp.c (try_window, try_window_reusing_current_matrix): | |
1011 | When at end of window, set window_end_pos to Z-ZV. | |
1012 | ||
1013 | * buffer.c (Foverlay_recenter): Doc fix. | |
1014 | ||
e509f168 SM |
1015 | 2003-04-14 Stefan Monnier <monnier@cs.yale.edu> |
1016 | ||
1017 | * dispnew.c (Fsit_For): Support XEmacs-style arg list. | |
1018 | ||
d243e605 AC |
1019 | 2003-04-14 Andrew Choi <akochoi@shaw.ca> |
1020 | ||
1021 | * macterm.c (mac_check_for_quit_char): Don't check more often than | |
1022 | once a second. | |
1023 | ||
6901b111 SM |
1024 | 2003-04-11 Stefan Monnier <monnier@cs.yale.edu> |
1025 | ||
1026 | * keyboard.c (kbd_buffer_get_event): Don't handle SELECT_WINDOW_EVENT | |
1027 | specially, so that they can't hide an implicit switch-frame event. | |
1028 | (make_lispy_event): Handle SELECT_WINDOW_EVENT. | |
1029 | (head_table): Use switch-frame as event_kind for select-window. | |
1030 | (keys_of_keyboard): Don't bind [select-window] in special-event-map. | |
1031 | ||
1032 | * editfns.c (Fformat): Lisp_Object/int mixup. | |
1033 | (format2): Remove unused var numargs. | |
1034 | ||
e301806f | 1035 | 2003-04-11 Kenichi Handa <handa@m17n.org> |
aa95b710 | 1036 | |
6901b111 | 1037 | * fileio.c (Vafter_insert_file_adjust_coding_function): Delete. |
aa95b710 KH |
1038 | (Qafter_insert_file_set_coding): New variable. |
1039 | (syms_of_fileio): Initialize and staticpro it. Delete declaration | |
1040 | for after-insert-file-adjust-coding-function. | |
1041 | (Finsert_file_contents): Call Qafter_insert_file_set_coding | |
1042 | instead of Vafter_insert_file_adjust_coding_function. | |
1043 | ||
38914424 KH |
1044 | 2003-04-11 Kenichi Handa <handa@m17n.org> |
1045 | ||
1046 | * lisp.h (temp_echo_area_glyphs): Adjust prototype. | |
1047 | ||
1048 | * minibuf.c (temp_echo_area_glyphs): Change the arg to Lisp | |
1049 | string. Callers changed. | |
1050 | ||
1051 | 2003-04-10 Kenichi Handa <handa@m17n.org> | |
a288d979 | 1052 | |
6901b111 | 1053 | * fileio.c (Vafter_insert_file_adjust_coding_function): New variable. |
a288d979 | 1054 | (syms_of_fileio): Declare it as a lisp variable. |
6901b111 SM |
1055 | (Finsert_file_contents): |
1056 | Call Vafter_insert_file_adjust_coding_function before calling | |
a288d979 KH |
1057 | decode-format. |
1058 | ||
f979dc05 JD |
1059 | 2003-04-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1060 | ||
1061 | * xterm.c (xg_scroll_callback): Call gtk_range_get_adjustment to | |
1062 | get GtkAdjustment as widget now is a GtkRange. | |
1063 | ||
1064 | * gtkutil.c (xg_create_scroll_bar): Connect to value-changed on | |
1065 | GtkRange to avoid memory leak. | |
1066 | ||
f8c6b4c2 | 1067 | 2003-04-09 Kenichi Handa <handa@m17n.org> |
cb98871c | 1068 | |
50ebc53d KH |
1069 | * xfaces.c (Vface_font_rescale_alist): New variable. |
1070 | (struct font_name): New member rescale_ratio. | |
1071 | (font_rescale_ratio): New function. | |
6901b111 | 1072 | (split_font_name): If NUMERIC_P is nonzero, set font->rescale_ratio. |
50ebc53d KH |
1073 | (better_font_p): On comparing point sized, pay attention to |
1074 | recale_ratio member of fonts. | |
1075 | (build_scalable_font_name): Reflect font->rescale_ratio in the | |
1076 | font name. | |
6901b111 | 1077 | (syms_of_xfaces): Declare Vface_font_rescale_alist as a Lisp variable. |
50ebc53d | 1078 | |
cb98871c KH |
1079 | * lread.c (read1): Before calling index, check if the 2nd |
1080 | arguemnt is in ASCII range. | |
1081 | ||
4773b8ca RS |
1082 | 2003-04-08 Richard M. Stallman <rms@gnu.org> |
1083 | ||
b0ada147 RS |
1084 | * fileio.c (Ffile_symlink_p): Doc fix. |
1085 | ||
1086 | * editfns.c (Fformat): Translate positions of text properties | |
1087 | in the format string to apply them to the result. | |
1088 | ||
4773b8ca RS |
1089 | * fileio.c (Finsert_file_contents): Doc fix. |
1090 | (syms_of_fileio) <after-insert-file-functions>: Doc fix. | |
1091 | ||
1092 | 2003-04-08 Ivan Zakharyaschev <imz@altlinux.org> (tiny change) | |
6901b111 | 1093 | |
4773b8ca RS |
1094 | * lread.c (openp): Get the Qfile_exists_p handler for STRING, not FN. |
1095 | ||
e8f25745 | 1096 | 2003-04-08 Steven Tamm <steventamm@mac.com> |
b0ada147 | 1097 | |
e8f25745 ST |
1098 | * mac.c (init_mac_osx_environment): Switch libexec and bin so |
1099 | that self-contained application finds libexec files. | |
1100 | ||
f8c6b4c2 | 1101 | 2003-04-08 Kenichi Handa <handa@m17n.org> |
2310d84c | 1102 | |
6901b111 SM |
1103 | * coding.c (code_convert_region_unwind): |
1104 | Set Vlast_coding_system_used to the argument. | |
2310d84c KH |
1105 | (code_convert_region): If post-read-conversion function changed |
1106 | the value of last-coding-sytem, keep the new value in | |
1107 | coding->symbol so that it won't be overridden. | |
1108 | (run_pre_post_conversion_on_str): Likewise. | |
7c086845 KH |
1109 | (coding_system_accept_latin_extra_p): New function. |
1110 | (find_safe_codings): Pay attention to characters registered in | |
1111 | latin-extra-code-table. | |
2310d84c | 1112 | |
39c9a034 TTN |
1113 | 2003-04-07 Thien-Thi Nguyen <ttn@gnu.org> |
1114 | ||
1115 | * Makefile.in (md5.o): Add missing dependency info. | |
1116 | ||
eb67c5d6 RS |
1117 | 2003-04-06 Richard M. Stallman <rms@gnu.org> |
1118 | ||
1119 | * xselect.c (x_handle_selection_request): Move UNGCPRO to very end. | |
1120 | ||
1121 | * marker.c (verify_bytepos): New function. | |
1122 | ||
1123 | * intervals.c (set_intervals_multibyte_1): When becoming | |
1124 | multibyte, adjust right and left child sizes to a whole set of | |
1125 | characters. If an interval gets zero total-length, delete it. | |
1126 | If an interval consists of just its children, delete one of them. | |
1127 | ||
1128 | * intervals.h (CHECK_TOTAL_LENGTH): New macro. | |
1129 | * intervals.c: Add many calls to CHECK_TOTAL_LENGTH. | |
39c9a034 | 1130 | |
eb67c5d6 RS |
1131 | * alloc.c: (VALIDATE_LISP_STORAGE): Macro deleted. |
1132 | All calls deleted. | |
1133 | (lisp_malloc): Do the work here directly. | |
1134 | ||
b1f81fc5 JB |
1135 | 2003-04-06 Gareth Jones <emacs@referential.org.uk> (tiny change) |
1136 | ||
1137 | * fns.c (Flength): Return SUB_CHAR_TABLE_ORDINARY_SLOTS for sub | |
1138 | char tables. | |
1139 | ||
1140 | 2003-04-04 Kenichi Handa <handa@m17n.org> | |
aa8b70ae KH |
1141 | |
1142 | * editfns.c (Fformat): Use a copy of FORMAT string so that we can | |
1143 | destructively change "%S" to "%s". | |
1144 | ||
774666fb MB |
1145 | 2003-04-03 Miles Bader <miles@gnu.org> |
1146 | ||
1147 | * xfaces.c (choose_face_font): Make sure *NEEDS_OVERSTRIKE is | |
1148 | always set. | |
1149 | ||
19c37f01 DL |
1150 | 2003-04-01 Dave Love <fx@gnu.org> |
1151 | ||
1152 | * xfns.c (xpm_lookup_color): Grok "opaque". | |
1153 | ||
2f4b24c3 AC |
1154 | 2003-03-31 Andrew Choi <akochoi@shaw.ca> |
1155 | ||
1156 | * frame.c (x_report_frame_params) [HAVE_CARBON]: Do not report | |
1157 | parent window ID. | |
1158 | ||
1159 | * macfns.c (syms_of_macfns): Remove call to init_x_parm_symbols. | |
1160 | ||
1161 | * macterm.h (struct mac_output): Define x_pixels_diff and | |
1162 | y_pixels_diff. | |
b1f81fc5 | 1163 | |
9443fcf6 JB |
1164 | 2003-03-31 Juanma Barranquero <lektu@terra.es> |
1165 | ||
1166 | * makefile.w32-in ($(BLD)/frame.$(O)): Add dependency on | |
1167 | blockinput.h and files included from it. | |
1168 | ||
e072891b KS |
1169 | 2003-03-31 Kim F. Storm <storm@cua.dk> |
1170 | ||
1171 | The following changes consolidates the common code related to | |
1172 | frame-parameter handling from the xfns.c, w32fns.c, and macfns.c | |
1173 | files into frame.c. | |
9443fcf6 | 1174 | |
e072891b KS |
1175 | * frame.c: Include blockinput.h. |
1176 | (Vx_resource_name, Vx_resource_class, Qx_frame_parameter) | |
1177 | (Qx_resource_name, Qface_set_after_frame_default): Define vars here. | |
1178 | (Qauto_raise, Qauto_lower, ...): Define all frame parameter | |
1179 | related vars here. | |
1180 | (struct frame_parm_table, frame_parms): New table for describing | |
1181 | frame parameters and their associated Q-variable. | |
1182 | The order of the parameters corresponds to the sequence of the | |
1183 | frame_parm_handlers table in redisplay_interface. | |
1184 | (x_fullscreen_move, x_set_frame_parameters) | |
1185 | (x_report_frame_params, x_set_fullscreen, x_set_line_spacing) | |
1186 | (x_set_screen_gamma, x_set_font, x_set_fringe_width) | |
1187 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
1188 | (x_set_autoraise, x_set_autolower, x_set_unsplittable) | |
1189 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width, x_icon_type): | |
1190 | Generic functions for processing of frame parameters. | |
1191 | (validate_x_resource_name, xrdb_get_resource, Fx_get_resource) | |
1192 | (display_x_get_resource, x_get_resource_string): Functions for | |
1193 | generic access to X resources. | |
1194 | (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg) | |
1195 | (x_default_parameter, Fx_parse_geometry): Functions for generic | |
1196 | access to frame parameters. | |
6901b111 SM |
1197 | (x_figure_window_size): Generic calculation of frame size. |
1198 | Fixed to add space needed for tool bar. Also setup size_hint_flags. | |
e072891b KS |
1199 | (syms_of_frame): Intern and staticpro frame parameter variables. |
1200 | Defvar_lisp Vx_resource_class and Vx_resource_name here. | |
1201 | Defsubr Sx_get_resource and Sx_parse_geometry. | |
9443fcf6 | 1202 | |
e072891b KS |
1203 | * frame.h (Qauto_raise, Qauto_lower, ...): Declare extern all frame |
1204 | parameter related vars defined in frame.c. | |
1205 | (EMACS_CLASS): Define here. | |
1206 | (enum FULLSCREEN_*): Define here. | |
1207 | (x_set_scroll_bar_default_width, x_wm_set_icon_position) | |
1208 | (x_set_offset, x_new_font, x_new_fontset): Add prototypes. | |
1209 | (x_fullscreen_adjust, x_set_frame_parameters, x_report_frame_params) | |
1210 | (x_set_fullscreen, x_set_line_spacing, x_set_screen_gamma, x_set_font) | |
1211 | (x_set_fringe_width, x_set_border_width, x_set_internal_border_width) | |
1212 | (x_set_visibility, x_set_autoraise, x_set_autolower) | |
1213 | (x_set_unsplittable, x_set_vertical_scroll_bars) | |
1214 | (x_set_scroll_bar_width, x_icon_type, validate_x_resource_name) | |
1215 | (x_figure_window_size): Add prototypes. | |
1216 | ||
1217 | * dispextern.h (frame_parm_handler): New typedef. | |
1218 | (struct redisplay_interface): New member frame_parm_handlers. | |
1219 | (enum resource_types): Move declaration here. | |
1220 | (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg) | |
1221 | (x_default_parameter): Add prototypes. | |
1222 | ||
1223 | * window.c: Remove extern decl for frame parameter vars. | |
1224 | (change_window_heights): New generic function; | |
1225 | replaces x_change_window_heights. All users changed. | |
1226 | ||
1227 | * window.h (change_window_heights): Add prototype. | |
1228 | ||
1229 | * xfaces.c: Remove extern decl for frame parameter vars. | |
1230 | ||
1231 | * xterm.h (EMACS_CLASS): Remove. Use generic define. | |
1232 | (struct w32_display_info): Fix type of xrdb member. | |
1233 | (enum FULLSCREEN_*): Remove. | |
1234 | Remove prototypes for generic functions (in frame.h). | |
1235 | ||
1236 | * xfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame | |
1237 | parameters now defined in frame.h and frame.c. | |
1238 | (Vx_resource_name): Remove. Use generic var. | |
1239 | (enum x_frame_parms): Remove (bogus, unused enum). | |
1240 | (check_x_display_info): Make non-static (for frame.c). | |
1241 | (struct x_frame_parm_table, x_frame_parms): Remove. | |
1242 | (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) | |
1243 | (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) | |
1244 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
1245 | (x_change_window_heights, x_set_autoraise, x_set_autolower) | |
1246 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width) | |
1247 | (validate_x_resource_name, Fx_get_resource, x_get_resource_string) | |
1248 | (x_default_parameter, Fx_parse_geometry, x_figure_window_size): | |
1249 | Remove. Use generic functions instead. | |
1250 | (enum resource_types): Remove. | |
1251 | (x_set_scroll_bar_default_width): New global function (for frame.c). | |
1252 | (Fx_create_frame): Depend on x_figure_window_size to add space for | |
1253 | toolbar and setup size_hint_flags. | |
1254 | (x_frame_parm_handlers): New table for redisplay_interface. | |
1255 | (syms_of_xfns): Don't intern/staticpro removed vars. | |
9443fcf6 | 1256 | |
e072891b KS |
1257 | * xterm.c: Remove unnecessary extern declarations. |
1258 | (x_fullscreen_adjust): Remove. Use generic instead. | |
1259 | (x_redisplay_interface): Add x_frame_parm_handlers member. | |
1260 | ||
1261 | * w32gui.h (XrmDatabase): New (dummy) typedef. | |
1262 | ||
1263 | * w32term.h (EMACS_CLASS): Remove. Use generic define. | |
1264 | (struct w32_display_info): Fix type of xrdb member. | |
1265 | (enum FULLSCREEN_*): Remove. | |
1266 | (x_fullscreen_adjust): Remove prototype. | |
1267 | ||
1268 | * w32fns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame | |
1269 | parameters now defined in frame.h and frame.c. | |
1270 | (Vx_resource_name): Remove. Use generic var. | |
1271 | (enum x_frame_parms): Remove (bogus, unused enum). | |
1272 | (check_x_display_info): Make non-static (for frame.c). | |
1273 | (struct x_frame_parm_table, x_frame_parms): Remove. | |
1274 | (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) | |
1275 | (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) | |
1276 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
1277 | (x_change_window_heights, x_set_autoraise, x_set_autolower) | |
1278 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width) | |
1279 | (validate_x_resource_name, Fx_get_resource, x_get_resource_string) | |
1280 | (x_default_parameter, Fx_parse_geometry, x_figure_window_size): | |
1281 | Remove. Use generic functions instead. | |
1282 | (enum resource_types): Remove. | |
1283 | (x_set_scroll_bar_default_width): New global function (for frame.c). | |
1284 | (Fx_create_frame): Depend on x_figure_window_size to add space for | |
1285 | toolbar and setup size_hint_flags. | |
1286 | (w32_frame_parm_handlers): New table for redisplay_interface. | |
1287 | (syms_of_w32fns): Don't intern/staticpro removed vars. | |
9443fcf6 | 1288 | |
e072891b KS |
1289 | * w32term.c: Remove unnecessary extern declarations. |
1290 | (x_fullscreen_adjust): Remove. Use generic instead. | |
1291 | (x_redisplay_interface): Add w32_frame_parm_handlers member. | |
1292 | ||
1293 | * w32reg.c (x_get_string_resource): Use XrmDatabase. | |
1294 | ||
1295 | * macgui.h (XrmDatabase): New (dummy) typedef. | |
1296 | ||
1297 | * macterm.h (EMACS_CLASS): Remove. | |
1298 | (struct mac_display_info): Add xrdb member. | |
1299 | (struct mac_output): Add want_fullscreen member. | |
1300 | ||
1301 | * macfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame | |
1302 | parameters now defined in frame.h and frame.c. | |
1303 | (Vx_resource_name): Remove. Use generic var. | |
1304 | (check_x_display_info): Make non-static (for frame.c). | |
1305 | (struct x_frame_parm_table, x_frame_parms): Remove. | |
1306 | (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) | |
1307 | (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) | |
1308 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
1309 | (x_change_window_heights, x_set_autoraise, x_set_autolower) | |
1310 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width) | |
1311 | (validate_x_resource_name, Fx_get_resource, x_get_resource_string) | |
1312 | (x_default_parameter, Fx_parse_geometry, x_figure_window_size): | |
1313 | Remove. Use generic functions instead. | |
1314 | (enum resource_types): Remove. | |
1315 | (x_set_scroll_bar_default_width): New global function (for frame.c). | |
1316 | (mac_frame_parm_handlers): New table for redisplay_interface. | |
1317 | (syms_of_macfns): Don't intern/staticpro removed vars. | |
9443fcf6 | 1318 | |
e072891b KS |
1319 | * macterm.c: Remove unnecessary extern declarations. |
1320 | (x_redisplay_interface): Add mac_frame_parm_handlers member. | |
1321 | ||
3e6a560b KS |
1322 | * Makefile.in (frame.o): Add dependency on blockinput.h and files |
1323 | included from it (atimer.h and systime.h). | |
1324 | ||
7b7b454e AS |
1325 | 2003-03-30 Andreas Schwab <schwab@suse.de> |
1326 | ||
1327 | * xdisp.c (x_insert_glyphs): Fix swapped width and height | |
1328 | parameters for shift_glyphs_for_insert. | |
1329 | ||
1330 | * macterm.c (x_redisplay_interface): Add missing entry for | |
1331 | draw_vertical_window_border. | |
1332 | ||
beb402de KG |
1333 | 2003-03-29 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@gmx.net> |
1334 | ||
1335 | * fileio.c (Fexpand_file_name): In the no-handler case, after | |
1336 | expanding, look again for a handler and invoke it. This is needed | |
1337 | for filenames like "/foo/../user@host:/bar/../baz" -- the first | |
1338 | expansion produces "/user@host:/bar/../baz" which needs to be | |
1339 | expanded again for the finame result "/user@host:/baz". | |
1340 | ||
b676f356 JD |
1341 | 2003-03-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1342 | ||
1343 | * gtkutil.c (xg_tool_bar_item_expose_callback): Reduce size | |
1344 | of area to be redrawn for better performance. | |
1345 | ||
3c671a56 SM |
1346 | 2003-03-28 Stefan Monnier <monnier@cs.yale.edu> |
1347 | ||
1348 | * xterm.c (take_vertical_position_into_account): Remove. | |
1349 | (xt_action_hook): Call set_vertical_scroll_bar if needed. | |
1350 | (XM_SB_MIN, XM_SB_RANGE): Remove (min is now set to 0). | |
1351 | (xm_scroll_callback, x_create_toolkit_scroll_bar) | |
1352 | (x_set_toolkit_scroll_bar_thumb): Simplify. | |
1353 | (x_scroll_bar_expose): Only compile if !USE_TOOLKIT_SCROLL_BARS. | |
1354 | (XTread_socket): Remove unused var. | |
1355 | (x_make_frame_invisible): Replace goto with else. | |
1356 | ||
1357 | * xdisp.c (set_vertical_scroll_bar): New fun. | |
1358 | (redisplay_window): Use it. | |
1359 | ||
84f2e615 RS |
1360 | 2003-03-26 Richard M. Stallman <rms@gnu.org> |
1361 | ||
1362 | * xdisp.c (update_tool_bar): Recompute tool bar if | |
1363 | update_mode_lines is set. Set w->update_mode_line | |
1364 | only if the tool bar contents actually change. | |
1365 | (update_menu_bar): Undo previous change. | |
1366 | ||
70b6104c JD |
1367 | 2003-03-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1368 | ||
5fd6f727 JD |
1369 | * gtkutil.c (xg_resize_widgets): Don't call xg_frame_cleared. |
1370 | (xg_frame_set_char_size): Calculate scroll bar width before frame | |
1371 | width. Call SET_FRAME_GARBAGED and cancel_mouse_face. | |
1372 | (xg_separator_p): Check for all documented separator types. | |
1373 | (xg_update_scrollbar_pos): Variable gheight not needed, use height. | |
1374 | (update_frame_tool_bar): Don't call gdk_window_process_all_updates. | |
1375 | ||
70b6104c JD |
1376 | * xdisp.c (update_menu_bar): Set w->update_mode_line to Qt |
1377 | so tool bar gets updated. | |
1378 | ||
d9b36d19 SM |
1379 | 2003-03-26 Stefan Monnier <monnier@cs.yale.edu> |
1380 | ||
1381 | * data.c (store_symval_forwarding): Re-instate part of the code | |
1382 | that was deleted with too much enthusiasm. | |
1383 | ||
1384 | 2003-03-25 Stefan Monnier <monnier@cs.yale.edu> | |
1385 | ||
1386 | * data.c (store_symval_forwarding): Delete special read-only | |
1387 | hack for type == -1, since we now use ->constant instead. | |
1388 | (Fkill_local_variable): Don't use XBUFFER if it can be nil. | |
1389 | ||
1390 | * buffer.c (overlays_in): Declare static. | |
1391 | (syms_of_buffer) <enable-multibyte-characters>: Use the symbol's | |
1392 | `constant' field rather than the variable's `type' field. | |
1393 | ||
365fa1b3 AC |
1394 | 2003-03-24 Andrew Choi <akochoi@shaw.ca> |
1395 | ||
1396 | * config.in [MAC_OSX]: Do not redefine bcopy, bzero, and bcmp. | |
1397 | ||
1398 | * dispextern.h [HAVE_CARBON]: Include Carbon.h. | |
1399 | ||
1400 | * fns.c [MAC_OSX]: Do not redefine vector. | |
1401 | ||
1402 | * keyboard.c [MAC_OSX]: Handle SIGINT with interrupt_signal. | |
1403 | ||
1404 | * macgui.h: Remove definition of No_Cursor. | |
1405 | ||
d9b36d19 | 1406 | * macterm.h: Include Carbon.h. Replace (struct Cursor *) by Cursor. |
365fa1b3 AC |
1407 | |
1408 | * xdisp.c: Define No_Cursor. | |
1409 | (x_write_glyphs, notice_overwritten_cursor) | |
1410 | (draw_phys_cursor_glyph, note_mode_line_or_margin_highlight) | |
1411 | (note_mouse_highlight): Remove Mac-specific code. | |
1412 | (note_mouse_highlight): Use bcmp instead of == to compare Cursors. | |
d9b36d19 | 1413 | |
c0bcce6f JPW |
1414 | 2003-03-24 John Paul Wallington <jpw@gnu.org> |
1415 | ||
1416 | * xdisp.c (redisplay_window): If mini window's buffer is not | |
1417 | empty, then redisplay it like other windows. | |
1418 | ||
a526b96c KS |
1419 | 2003-03-23 Kim F. Storm <storm@cua.dk> |
1420 | ||
1421 | * w32term.c (w32_draw_window_cursor): Fix last change. | |
1422 | ||
37ab321e KH |
1423 | 2003-03-23 Kenichi Handa <handa@m17n.org> |
1424 | ||
a526b96c KS |
1425 | * alloc.c (make_string_from_bytes, make_specified_string): |
1426 | Add `const' for the arg CONTENTS. | |
37ab321e KH |
1427 | |
1428 | * lisp.h (make_string_from_bytes, make_specified_string): | |
1429 | Prototypes adjusted. | |
1430 | ||
7863d625 JD |
1431 | 2003-03-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1432 | ||
a526b96c | 1433 | * xdisp.c (get_glyph_string_clip_rect): Remove ; at end of #endif |
fd4c9408 | 1434 | |
7863d625 JD |
1435 | * gtkutil.h: Take two more arguments to xg_update_scrollbar_pos. |
1436 | (XG_SB_RANGE): New define. | |
1437 | ||
1438 | * gtkutil.c (xg_fixed_handle_expose): New function. | |
1439 | (xg_create_frame_widgets): Call xg_fixed_handle_expose for | |
1440 | expose events. | |
1441 | (xg_update_scrollbar_pos): Take two more arguments, left and width | |
1442 | of scroll bar including borders. | |
1443 | Clear left and right part outside scroll bar separately as some | |
1444 | themes have bars that are not an even number of pixels. | |
d9b36d19 | 1445 | Don't set reallocate_redraws, don't call |
7863d625 JD |
1446 | gdk_window_process_all_updates. |
1447 | (xg_set_toolkit_scroll_bar_thumb): Upper value is fixed, | |
1448 | so no need to change it. Calculate size and value with XG_SB_RANGE. | |
1449 | ||
d9b36d19 SM |
1450 | * xterm.c (x_scroll_bar_create, XTset_vertical_scroll_bar): |
1451 | Pass left and width of scroll bar including borders to | |
7863d625 JD |
1452 | xg_update_scrollbar_pos. |
1453 | ||
af0ad939 TTN |
1454 | 2003-03-22 Thien-Thi Nguyen <ttn@gnu.org> |
1455 | ||
1456 | * Makefile.in: Make sure space precedes end-of-line backslashes. | |
1457 | ||
b22139fd KS |
1458 | 2003-03-22 Kim F. Storm <storm@cua.dk> |
1459 | ||
1460 | * xdisp.c (pixel_to_glyph_coords, glyph_to_pixel_coords): | |
1461 | Add generic versions here. Remove system specific versions | |
1462 | defined elsewhere. | |
1463 | ||
1464 | * dispextern.h (pixel_to_glyph_coords, glyph_to_pixel_coords): | |
1465 | Add prototypes. | |
1466 | ||
6e6410cf KS |
1467 | * xterm.h (STORE_NATIVE_RECT): New macro. |
1468 | ||
5c9cc435 KS |
1469 | 2003-03-21 Kim F. Storm <storm@cua.dk> |
1470 | ||
00c64fab SM |
1471 | * xdisp.c (get_glyph_string_clip_rect): |
1472 | Use FRAME_INTERNAL_BORDER_WIDTH. | |
5c9cc435 KS |
1473 | |
1474 | * dispextern.h (struct redisplay_interface): Add active_p | |
1475 | argument to draw_window_cursor member. All uses changed. | |
1476 | ||
acd37560 KS |
1477 | 2003-03-21 Kim F. Storm <storm@cua.dk> |
1478 | ||
1479 | The following changes consolidate code related to writing and | |
1480 | inserting glyphs, exposing frame, the tool bar, the mouse face, | |
1481 | the output cursor, and help echo from xterm.c, w32term.c and | |
1482 | macterm.c into xdisp.c. It also generalizes the use of the | |
1483 | window_part enum instead of using numeric values throughout. | |
af0ad939 | 1484 | |
acd37560 KS |
1485 | * xdisp.c: Consolidate gui-independent code here. |
1486 | Include keymap.h. | |
1487 | (Qhelp_echo): Import. | |
1488 | (mouse_autoselect_window, x_stretch_cursor_p): Declare here. | |
1489 | (help_echo_string, help_echo_window, help_echo_object) | |
1490 | (previous_help_echo_string, help_echo_pos): Declare here. | |
1491 | (output_cursor, last_mouse_frame, last_tool_bar_item): Declare here. | |
1492 | (estimate_mode_line_height): Define here. Handle windowing | |
1493 | systems directly (without using estimate_mode_line_height_hook). | |
1494 | (x_y_to_hpos_vpos, get_tool_bar_item, note_tool_bar_highlight): | |
1495 | (update_window_cursor, update_cursor_in_window_tree) | |
1496 | (fast_find_position, fast_find_string_pos) | |
1497 | (note_mode_line_highlight, note_mode_line_or_margin_highlight) | |
1498 | (expose_area, expose_line, expose_overlaps, expose_window) | |
1499 | (expose_window_tree, phys_cursor_in_rect_p): New generic versions; | |
1500 | declared static as they are only used locally in xdisp.c. | |
1501 | (draw_glyphs): Rename from x_draw_glyphs and make static. | |
1502 | (tool_bar_item_info, notice_overwritten_cursor): Make static. | |
1503 | (frame_to_window_pixel_xy, get_glyph_string_clip_rect) | |
1504 | (set_output_cursor, x_cursor_to, handle_tool_bar_click) | |
af0ad939 | 1505 | (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line): |
acd37560 KS |
1506 | (x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor) |
1507 | (display_and_set_cursor, x_update_cursor, x_clear_cursor) | |
1508 | (show_mouse_face, clear_mouse_face, cursor_in_mouse_face_p) | |
1509 | (note_mouse_highlight, x_clear_window_mouse_face) | |
1510 | (cancel_mouse_face, x_draw_vertical_border, expose_frame) | |
1511 | (x_intersect_rectangles): New generic functions for use by xdisp.c | |
1512 | and GUI front-ends. | |
1513 | (syms_of_xdisp): Initialize and staticpro help_echo* variables. | |
1514 | Defvar_bool "x-streach-cursor" and "mouse-autoselect-window" here. | |
1515 | ||
1516 | * dispextern.h (Display_Info): Generic typedef for *_display_info. | |
1517 | (NativeRectangle): Generic typedef for rectangle type. | |
1518 | (enum window_part): Move here from window.c. | |
1519 | (struct redisplay_interface): New members flush_display_optional, | |
1520 | define_frame_cursor, clear_frame_area, draw_window_cursor, | |
1521 | draw_vertical_window_border, shift_glyphs_for_insert. | |
1522 | Rename member clear_mouse_face to clear_window_mouse_face. | |
1523 | (estimate_mode_line_height_hook): Remove hook. | |
1524 | (auto_raise_tool_bar_buttons_p): Don't declare extern. | |
1525 | (tool_bar_item_info): Remove prototype. | |
1526 | (help_echo_string, help_echo_window, help_echo_object) | |
1527 | (previous_help_echo_string, help_echo_pos) | |
1528 | (last_mouse_frame, last_tool_bar_item, mouse_autoselect_window): | |
1529 | (x_stretch_cursor_p, output_cursor): Declare extern. | |
1530 | (x_draw_glyphs, notice_overwritten_cursor): Remove prototypes. | |
1531 | (x_write_glyphs), x_insert_glyphs, x_clear_end_of_line) | |
1532 | (x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor) | |
1533 | (display_and_set_cursor, set_output_cursor, x_cursor_to) | |
1534 | (x_update_cursor, x_clear_cursor, x_draw_vertical_border) | |
1535 | (frame_to_window_pixel_xy, get_glyph_string_clip_rect) | |
1536 | (note_mouse_highlight, x_clear_window_mouse_face, cancel_mouse_face) | |
1537 | (handle_tool_bar_click, clear_mouse_face, show_mouse_face) | |
1538 | (cursor_in_mouse_face_p, expose_frame, x_intersect_rectangles): | |
1539 | Add prototypes. | |
1540 | (mode_line_string, marginal_area_string): Fix prototypes. | |
1541 | ||
1542 | * window.c (enum window_part): Move to dispextern.h. | |
1543 | (coordinates_in_window): Use enum window_part member names | |
1544 | instead of numbers to describe return value. | |
1545 | (struct check_window_data): Change part member to window_part. | |
1546 | (check_window_containing): Return window_part unaltered. | |
1547 | (window_from_coordinates): Change part arg from int to enum | |
1548 | window_part. Allow part arg to be null. All users changed. | |
1549 | ||
1550 | * window.h (window_from_coordinates): Fix prototype. | |
1551 | ||
1552 | * term.c (estimate_mode_line_height): Move to xdisp.c. | |
1553 | ||
1554 | * keyboard.c (make_lispy_event): Use enum window_part. | |
1555 | ||
1556 | * dispnew.c (mode_line_string, marginal_area_string): Use enum | |
1557 | window_part instead of int in arg list. Users changed. | |
1558 | ||
1559 | * xterm.h (No_Cursor): Declare as None for X. | |
1560 | (struct mac_output): Replace member cross_cursor by hand_cursor. | |
af0ad939 | 1561 | |
acd37560 KS |
1562 | * xterm.c: Remove consolidated defines and code. |
1563 | (BETWEEN): Remove unused macro. | |
1564 | (x_draw_vertical_window_border, x_shift_glyphs_for_insert) | |
1565 | (x_define_frame_cursor, x_clear_frame_area) | |
1566 | (x_draw_window_cursor): New X-specific functions for RIF. | |
1567 | (x_redisplay_interface): Add new members. | |
1568 | ||
1569 | * xfns.c: Setup and use hand_cursor instead of cross_cursor. | |
1570 | ||
1571 | * w32term.h (struct w32_output): Remove cross_cursor member. | |
1572 | ||
1573 | * w32term.c: Remove consolidated defines and code. | |
1574 | (BETWEEN): Remove unused macro. | |
1575 | (w32_draw_vertical_window_border, w32_shift_glyphs_for_insert) | |
1576 | (w32_define_frame_cursor, w32_clear_frame_area) | |
1577 | (w32_draw_window_cursor): New W32-specific functions for RIF. | |
1578 | (w32_redisplay_interface): Add new members. | |
1579 | ||
1580 | * w32gui.h (No_Cursor): Define as 0 for W32. | |
1581 | (XRectangle): Add X compatible rectangle type. | |
1582 | (NativeRectangle): Declare as RECT for W32. | |
1583 | (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros. | |
1584 | ||
1585 | * w32fns.c: Remove setup of cross_cursor (already has hand_cursor). | |
1586 | ||
1587 | * w32console.c: Remove consolidated defines and code. | |
af0ad939 | 1588 | |
acd37560 KS |
1589 | * msdos.h (Display_Info): Add generic typedef. |
1590 | ||
1591 | * msdos.c: Remove consolidated defines and code. | |
1592 | (IT_note_mouse_highlight, dos_rawgetc): Use enum window_part. | |
1593 | ||
1594 | * macterm.h (struct mac_output): Replace member cross_cursor by | |
1595 | hand_cursor. | |
1596 | (activate_scroll_bars, deactivate_scroll_bars): Add prototypes. | |
1597 | ||
1598 | * macterm.c: Remove consolidated defines and code. | |
1599 | (BETWEEN): Remove unused macro. | |
1600 | (mac_draw_vertical_window_border, mac_shift_glyphs_for_insert) | |
1601 | (mac_define_frame_cursor, mac_clear_frame_area) | |
1602 | (mac_draw_window_cursor): New Mac-specific functions for RIF. | |
1603 | (x_redisplay_interface): Add new members. | |
1604 | ||
1605 | * macgui.h (No_Cursor): Define as 0 for Mac. | |
1606 | (XRectangle): Add X compatible rectangle type. | |
1607 | (NativeRectangle): Declare as Rect for Mac. | |
1608 | (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros. | |
1609 | ||
204ccab1 KS |
1610 | * macfns.c (x_set_mouse_color): Setup hand_cursor. |
1611 | (x_set_cursor_color): Use x_display_and_set_cursor. | |
acd37560 | 1612 | |
9443fcf6 | 1613 | * Makefile.in (xdisp.o): Add dependency on blockinput.h and files |
acd37560 KS |
1614 | included from it. Add dependency on keymap.h. |
1615 | ||
1616 | * makefile.w32-in (xdisp.o): Add dependency on keymap.h. | |
1617 | ||
8ba01a70 | 1618 | 2003-03-21 Kenichi Handa <handa@m17n.org> |
3f817c73 KH |
1619 | |
1620 | * fileio.c (Fexpand_file_name): Fix previous change. | |
1621 | ||
8ba01a70 | 1622 | 2003-03-19 Kenichi Handa <handa@m17n.org> |
4f497b0a KH |
1623 | |
1624 | * fileio.c (Ffile_name_directory): Reconstruct file name by | |
1625 | make_specified_string. | |
1626 | (Ffile_name_nondirectory, Ffile_name_as_directory) | |
1627 | (Fdirectory_file_name, Fexpand_file_name) | |
1628 | (Fsubstitute_in_file_name): Likewise. | |
1629 | (Fread_file_name): Compare decoded homedir with DIR and | |
1630 | DEFAULT_FILENAME. | |
1631 | ||
1632 | * alloc.c (make_specified_string): If NCHARS is negative, count | |
1633 | the number of characters. | |
1634 | ||
19536747 JD |
1635 | 2003-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1636 | ||
de38ae5a JD |
1637 | * gtkutil.c (xg_frame_cleared): Call gtk_widget_queue_draw for |
1638 | all widgets. | |
1639 | ||
19536747 JD |
1640 | * gtkutil.h: Removed xg_ignore_next_thumb. |
1641 | ||
37ab321e | 1642 | 2003-03-18 Kenichi Handa <handa@m17n.org> |
cb0d4562 KH |
1643 | |
1644 | * coding.c (Vchar_coding_system_table): Remove this variable. | |
1645 | (Vcoding_system_safe_chars): New variable. | |
1646 | (intersection): Remove this function. | |
1647 | (find_safe_codings): Don't use Vchar_coding_system_table, but try | |
1648 | all codings in SAFE_CODINGS. | |
00c64fab | 1649 | (Ffind_coding_systems_region_internal): Adjust for the change of |
cb0d4562 KH |
1650 | find_safe_codings. Get generic coding systems from |
1651 | Vcoding_system_safe_chars. | |
1652 | (Fdefine_coding_system_internal): New function. | |
1653 | (syms_of_coding): Defsubr Sdefine_coding_system_internal. | |
1654 | Initialize and staticpro Vcoding_system_safe_chars. | |
1655 | ||
17097258 JD |
1656 | 2003-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1657 | ||
2a2071c3 JD |
1658 | * gtkutil.c (xg_set_toolkit_scroll_bar_thumb): Check if new values |
1659 | equal old values before updating. | |
1660 | ||
17097258 JD |
1661 | * xterm.c (xg_scroll_callback): Remove xg_ignore_next_thumb. |
1662 | ||
1663 | * gtkutil.c (xg_initialize): Remove xg_ignore_next_thumb. | |
1664 | ||
1665 | 2003-03-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
1666 | ||
1667 | * gtkutil.c: Removed handle_fixed_child, struct xg_last_sb_pos. | |
1668 | (xg_resize_widgets): Don't call foreach(handle_fixed_child). | |
1669 | (xg_gtk_scroll_destroy): Remove free of struct xg_last_sb_pos. | |
1670 | (scroll_bar_button_cb): Set bar->dragging to NIL on button release. | |
1671 | (xg_create_scroll_bar): Pass bar to button event callback. | |
1672 | (xg_find_top_left_in_fixed): New function. | |
1673 | (xg_update_scrollbar_pos): Don't call gdk_window_clear on | |
1674 | whole scroll bar area. Get old position with | |
1675 | xg_find_top_left_in_fixed, calculate and only clear needed areas. | |
1676 | (xg_set_toolkit_scroll_bar_thumb): Do not adjust scroll bar if | |
1677 | dragging is in progress. Calculate whole as for Motif. | |
1678 | Remove code that saved last values. Call gtk_range functions to | |
1679 | set scroll bar sizes. | |
1680 | ||
1681 | * gtkutil.h: Removed xg_ignore_next_thumb. | |
1682 | ||
8cb9dfbf JB |
1683 | 2003-03-17 Juanma Barranquero <lektu@terra.es> |
1684 | ||
1685 | * makefile.w32-in ($(BLD)/xdisp.$(O)): Add dependency on blockinput.h | |
1686 | and files included from it. | |
1687 | ||
00c64fab SM |
1688 | 2003-03-18 Stefan Monnier <monnier@cs.yale.edu> |
1689 | ||
1690 | * keymap.c (accessible_keymaps_1): Break cycles but without preventing | |
1691 | multiple occurrences of the same keymap under different prefixes. | |
1692 | (Faccessible_keymaps): Remove code redundant since 1994-08-03T07:39:00Z!rms@gnu.org. | |
1693 | ||
c45bb3b2 JR |
1694 | 2003-03-16 Jason Rumney <jasonr@gnu.org> |
1695 | ||
1696 | * w32gui.h: Use HDC for Display. | |
1697 | ||
1698 | * w32term.c (w32_encode_char): Prevent double-byte chars from | |
1699 | crashing Emacs. | |
1700 | ||
1701 | * w32fns.c (jpeg_load, png_load, slurp_file): Read image files | |
1702 | as binary. | |
1703 | ||
2a6d0874 JB |
1704 | 2003-03-16 Juanma Barranquero <lektu@terra.es> |
1705 | ||
1706 | * xdisp.c (x_produce_glyphs): Use FRAME_BASELINE_OFFSET. | |
1707 | ||
03eb5fab KS |
1708 | 2003-03-16 Kim F. Storm <storm@cua.dk> |
1709 | ||
1710 | The following changes consolidate some of the gui-independent | |
1711 | parts of the processing and drawing of "glyph strings" from | |
1712 | xterm.c, w32term.c, and macterm.c into xdisp.c. | |
2a6d0874 | 1713 | |
03eb5fab KS |
1714 | * dispextern.h (struct glyph): Reduce face_id member from 22 to |
1715 | 21 bits (this reduces number of faces from 4M to 2M). | |
1716 | Replace W32 specific w32_font_type member (2 bits) by generic | |
1717 | font_type member (3 bits) for portability. | |
1718 | (FONT_TYPE_UNKNOWN): New define, default for font_type member. | |
1719 | (enum draw_glyphs_face): Define here. | |
1720 | (struct glyph_string): Define here. Merge W32 and X versions. | |
1721 | (struct redisplay_interface): New members per_char_metric, | |
1722 | encode_char, compute_glyph_string_overhangs, draw_glyph_string. | |
1723 | (VCENTER_BASELINE_OFFSET): Define here. | |
1724 | (dump_glyph_string, x_get_glyph_overhangs, x_produce_glyphs) | |
1725 | (x_draw_glyphs, notice_overwritten_cursor): Declare prototypes here. | |
1726 | ||
1727 | * xdisp.c: Consolidate gui-independent "glyph string" code here. | |
1728 | (dump_glyph_string): Moved here. | |
1729 | (init_glyph_string, append_glyph_string_lists, append_glyph_string) | |
1730 | (prepend_glyph_string_lists, get_glyph_face_and_encoding) | |
1731 | (fill_composite_glyph_string, fill_glyph_string) | |
1732 | (fill_image_glyph_string, fill_stretch_glyph_string) | |
1733 | (left_overwritten, left_overwriting, right_overwritten) | |
1734 | (right_overwriting, get_char_face_and_encoding) | |
1735 | (set_glyph_string_background_width, compute_overhangs_and_x) | |
1736 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
1737 | (take_vertical_position_into_account, append_stretch_glyph) | |
1738 | (produce_stretch_glyph): New generic functions (based on X version). | |
1739 | Call platform specific functions through rif. | |
1740 | (INIT_GLYPH_STRING): New macro, hides W32 details. | |
1741 | (BUILD_STRETCH_GLYPH_STRING, BUILD_IMAGE_GLYPH_STRING) | |
1742 | (BUILD_CHAR_GLYPH_STRINGS, BUILD_COMPOSITE_GLYPH_STRING) | |
1743 | (BUILD_GLYPH_STRINGS): Generic macros (based on X version). | |
1744 | (x_draw_glyphs, x_get_glyph_overhangs, x_produce_glyphs) | |
1745 | (notice_overwritten_cursor): | |
1746 | Generic functions exported to platform modules. Users changed. | |
1747 | ||
1748 | * xterm.h (FONT_DESCENT, FRAME_X_OUTPUT, FRAME_BASELINE_OFFSET) | |
1749 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE) | |
1750 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): | |
fad49844 | 1751 | New macros for consolidated code. |
2a6d0874 | 1752 | |
03eb5fab KS |
1753 | * xterm.c: Remove consolidated defines and code. |
1754 | (x_per_char_metric, x_encode_char) | |
1755 | (x_compute_glyph_string_overhangs): Adapt to RIF requirements. | |
1756 | (x_redisplay_interface): Add new members. | |
1757 | ||
1758 | * w32gui.h (Display): Add dummy typedef for consolidation. | |
1759 | (XChar2b): Define alias for wchar_t for consolidation. | |
1760 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros. | |
1761 | ||
1762 | * w32term.h (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY) | |
2a6d0874 | 1763 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): |
03eb5fab KS |
1764 | New macros for consolidation. |
1765 | ||
fad49844 | 1766 | * w32term.c: Remove consolidated defines and code. |
03eb5fab KS |
1767 | (BUILD_WCHAR_T, BYTE1, BYTE2): Macros removed; callers changed |
1768 | to use STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2 instead. | |
1769 | (w32_per_char_metric): Change font_type arg to int for RIF. | |
1770 | (w32_encode_char): Return int according to RIF requirements. | |
1771 | (w32_compute_glyph_string_overhangs): Adapt to RIF. | |
1772 | (w32_get_glyph_overhangs): New function for RIF. Uses generic | |
1773 | x_get_glyph_overhangs. | |
1774 | (w32_redisplay_interface): Add new members. | |
1775 | ||
1776 | * macgui.h (XChar2b): Move typedef here for consolidation. | |
1777 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros. | |
1778 | ||
1779 | * macterm.h (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY): | |
1780 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): New macros for | |
1781 | consolidation. | |
1782 | ||
1783 | * macterm.c: Remove consolidated defines and code. | |
1784 | (mac_per_char_metric): New function for RIF. | |
00c64fab | 1785 | (mac_encode_char): Adapt to new RIF requirements. |
03eb5fab KS |
1786 | (mac_compute_glyph_string_overhangs): Adapt for RIF. |
1787 | (x_redisplay_interface): Add new members. | |
1788 | ||
00c64fab SM |
1789 | 2003-03-15 Stefan Monnier <monnier@cs.yale.edu> |
1790 | ||
1791 | * keymap.c (Vmenu_events): New var. | |
1792 | (syms_of_keymap): Initialize it. | |
1793 | (where_is_internal): Check more carefully what is a menu event. | |
1794 | ||
225c7a07 RS |
1795 | 2003-03-14 Richard M. Stallman <rms@gnu.org> |
1796 | ||
1797 | * lread.c (read1): After #!, exit loop on eof. | |
1798 | ||
cea9be54 JD |
1799 | 2003-03-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1800 | ||
9ea0e54d JD |
1801 | * gtkutil.h: Add declaration for xg_frame_cleared. |
1802 | ||
0cb35f4e JD |
1803 | * xterm.c (x_clear_frame): Call xg_frame_cleared for GTK. |
1804 | ||
cea9be54 JD |
1805 | * gtkutil.c (struct xg_last_sb_pos): New structure. |
1806 | (handle_fixed_child): New function. | |
1807 | (xg_resize_widgets): Call handle_fixed_child on all scroll bar widgets | |
1808 | and force a redraw on them. | |
1809 | (xg_gtk_scroll_destroy): Free struct xg_last_sb_pos also. | |
1810 | (xg_create_scroll_bar): Add struct xg_last_sb_pos to scroll bar | |
1811 | so we can avoid unneeded redraws. | |
1812 | (xg_update_scrollbar_pos): Invalidate data in xg_last_sb_pos | |
1813 | and force a redraw on the scroll bar. | |
1814 | (xg_set_toolkit_scroll_bar_thumb): Do not change/redraw scroll bar | |
1815 | if xg_last_sb_pos shows the positions are up to date. | |
0cb35f4e | 1816 | (xg_frame_cleared): New function. |
cea9be54 | 1817 | |
20b853f3 KH |
1818 | 2003-03-13 Kenichi Handa <handa@m17n.org> |
1819 | ||
1820 | * coding.c (Fdetect_coding_region): Fix docstring. | |
1821 | (Fdetect_coding_string): Fix docstring. | |
1822 | ||
7a555aff AS |
1823 | 2003-03-13 Andreas Schwab <schwab@suse.de> |
1824 | ||
25cc0080 AS |
1825 | * gtkutil.c: Add prototype for create_menus. |
1826 | ||
30225431 AS |
1827 | * data.c (long_to_cons): Fix type of top. |
1828 | ||
1829 | * xselect.c (selection_data_to_lisp_data): Use int instead of | |
1830 | long for an integer of size 4. | |
1831 | ||
7a555aff | 1832 | * gtkutil.c (xg_update_frame_menubar): Add missing return value. |
30225431 | 1833 | (xg_tool_bar_help_callback): Likewise. |
7a555aff | 1834 | |
a3e4741f AS |
1835 | 2003-03-12 Andreas Schwab <schwab@suse.de> |
1836 | ||
1837 | * xterm.c (x_term_init) [USE_GTK]: Fix typo. | |
1838 | ||
9668be7c KS |
1839 | 2003-03-12 Kim F. Storm <storm@cua.dk> |
1840 | ||
03eb5fab | 1841 | The following changes consolidate the fringe handling from |
9668be7c | 1842 | xterm.c, w32term.c, and macterm.c into xdisp.c. |
00a88f32 | 1843 | |
9668be7c KS |
1844 | * xdisp.c: Consolidate fringe handling code here. |
1845 | (left_bits, right_bits, continued_bits, continuation_bits) | |
1846 | (ov_bits, zv_bits): Define fringe bitmaps. | |
1847 | (fringe_bitmaps): New array holding fringe bitmaps. | |
1848 | (draw_fringe_bitmap): Draw a specific bitmap; call display | |
1849 | specific drawing routine via rif->draw_fringe_bitmap. | |
1850 | (draw_row_fringe_bitmaps): Generic replacement for | |
1851 | x_draw_row_fringe_bitmaps; all callers changed. | |
1852 | (compute_fringe_widths): Generic replacement for | |
1853 | x_compute_fringe_widths; all callers changed. | |
1854 | ||
1855 | * dispextern.h (enum fringe_bitmap_type): Define here. | |
1856 | (struct fringe_bitmap, struct draw_fringe_bitmap_params): New. | |
1857 | (fringe_bitmaps): Declare extern. | |
1858 | (struct redisplay_interface): New member draw_fringe_bitmap. | |
1859 | (draw_row_fringe_bitmaps, compute_fringe_widths): Declare extern. | |
1860 | ||
1861 | * xterm.c: Remove generic fringe code. | |
1862 | (x_draw_fringe_bitmap): Only perform actual fringe drawing. | |
1863 | (x_redisplay_interface): Add x_draw_fringe_bitmap member. | |
1864 | ||
1865 | * w32term.c: Remove generic fringe code. | |
1866 | (w32_draw_fringe_bitmap): Only perform actual fringe drawing. | |
1867 | (w32_redisplay_interface): Add w32_draw_fringe_bitmap member. | |
00a88f32 | 1868 | |
9668be7c KS |
1869 | * macterm.c: Remove generic fringe code. |
1870 | (x_draw_fringe_bitmap): Only perform actual fringe drawing. | |
1871 | (x_redisplay_interface): Add x_draw_fringe_bitmap member. | |
1872 | ||
00a88f32 SM |
1873 | 2003-03-11 Stefan Monnier <monnier@cs.yale.edu> |
1874 | ||
1875 | * print.c (Fprin1_to_string): Return unibyte string if possible. | |
1876 | ||
1d1de695 DK |
1877 | 2003-03-09 David Kastrup <dak@gnu.org> |
1878 | ||
1879 | * process.c (read_process_output): We have allocated enough space | |
1880 | for readmax and carryover, so actually use the alloted space. | |
1881 | ||
257f40f2 JD |
1882 | 2003-03-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1883 | ||
1884 | * keyboard.c (make_lispy_event): Extend mouse_syms if needed for | |
1885 | toolkit scrollbar click. | |
1886 | ||
1887 | * xterm.c (x_window_to_scroll_bar): Call xg_get_scroll_id_for_window | |
1888 | for USE_GTK. | |
1889 | (x_scroll_bar_handle_click): Use this function for toolkit scrollbars | |
1890 | also. | |
1891 | (handle_one_xevent): ButtonPress/Release: If event is for a toolkit | |
1892 | scrollbar and control is pressed, call x_scroll_bar_handle_click. | |
00a88f32 | 1893 | |
257f40f2 JD |
1894 | * gtkutil.h: Declare xg_get_scroll_id_for_window. |
1895 | ||
1896 | * gtkutil.c (xg_get_scroll_id_for_window): New function. | |
1897 | (xg_tool_bar_item_expose_callback): New function. | |
1898 | (xg_tool_bar_expose_callback): Call update_frame_tool_bar. | |
1899 | (xg_create_tool_bar): Connect xg_tool_bar_expose_callback to expose | |
1900 | on the tool bar widget. | |
1901 | (update_frame_tool_bar): Connect xg_tool_bar_item_expose_callback | |
1902 | to expose on the tool bar item widgets. | |
1903 | ||
15213141 JD |
1904 | 2003-03-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1905 | ||
26b74a0b | 1906 | * gtkutil.c (update_frame_tool_bar): Compare pixmap ID instead of |
00a88f32 | 1907 | struct image* when deciding to update (struct image* may have been |
26b74a0b JD |
1908 | deleted from the image cache). |
1909 | ||
15213141 JD |
1910 | * xterm.c (handle_one_xevent): Pass ReparentNotify to Xt even if |
1911 | the event isn't for a frame (i.e. for dialogs). | |
1912 | ||
20b853f3 | 1913 | 2003-03-07 Kenichi Handa <handa@m17n.org> |
cb681b34 KH |
1914 | |
1915 | * coding.c (CODING_ADD_COMPOSITION_COMPONENT): If the number of | |
1916 | composition components reaches the limit, terminate composing. | |
1917 | (COMPOSITION_OK): New macro. | |
00a88f32 | 1918 | (detect_coding_iso2022): Use it if an escape sequence for |
cb681b34 KH |
1919 | composition is found. |
1920 | (coding_restore_composition): Adjust the number of composition | |
1921 | components if it is not sane. | |
1922 | ||
c9029fe5 JB |
1923 | 2003-03-06 Juanma Barranquero <lektu@terra.es> |
1924 | ||
1925 | * w32term.h (struct w32_display_info): Add xrdb member to support | |
1926 | passing resources via -xrm on Windows. | |
1927 | ||
1928 | * w32term.c (w32_make_rdb): New function. | |
1929 | (w32_term_init): Use it to initialize xrdb member of w32_display_info | |
1930 | struct. Delete leftover code. | |
1931 | ||
1932 | * w32fns.c (Fx_get_resource, x_get_resource_string): Pass xrdb to check | |
1933 | for resources passed on the command line. | |
1934 | ||
1935 | * w32reg.c (w32_get_rdb_resource): New function. | |
1936 | (x_get_string_resource): Use it, so resources passed with -xrm | |
1937 | supercede the ones in the registry. | |
1938 | ||
9d00001f JD |
1939 | 2003-03-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1940 | ||
1941 | * xterm.c (x_detect_focus_change): Call x_any_window_to_frame | |
1942 | instead of x_top_window_to_frame. | |
1943 | ||
ca2417b9 JD |
1944 | 2003-03-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1945 | ||
1946 | * xsmfns.c (smc_save_yourself_CB): Add --no-splash to options | |
1947 | when restarting Emacs. | |
1948 | ||
5b20caf0 RS |
1949 | 2003-03-03 Richard M. Stallman <rms@gnu.org> |
1950 | ||
1951 | * buffer.c (Fkill_buffer): Use Frun_hook_with_args_until_failure | |
1952 | to run kill-buffer-query-functions. | |
1953 | (Qkill_buffer_query_functions): New var. | |
1954 | (syms_of_buffer): Init and staticpro it. | |
1955 | ||
58e91b77 JD |
1956 | 2003-03-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1957 | ||
1958 | * xterm.h (XSync): Define as gdk_window_process_all_updates for GTK. | |
1959 | ||
932357b4 KS |
1960 | 2003-02-25 Kim F. Storm <storm@cua.dk> |
1961 | ||
1962 | * xdisp.c (redisplay_window): Fix infinite loop in redisplay. | |
1963 | If centering point failed to make whole line visible and vscroll | |
1964 | is non-zero, disable vscroll and try centering point again. | |
1965 | ||
1966 | * lread.c (read1): Accept `single space' syntax like (? x). | |
1967 | ||
bb8db7e1 JD |
1968 | 2003-02-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1969 | ||
1970 | * keyboard.c (cancel_hourglass_unwind): Surround with | |
1971 | #ifdef HAVE_X_WINDOWS | |
1972 | ||
47d77aab KH |
1973 | 2003-02-25 Kenichi Handa <handa@m17n.org> |
1974 | ||
1975 | * buffer.c (Fset_buffer_multibyte): Pay attention to the buffer | |
1976 | process only when "subprocesses" is defined. | |
1977 | ||
6a097c0c SM |
1978 | 2003-02-24 Stefan Monnier <monnier@cs.yale.edu> |
1979 | ||
1980 | * syntax.c (back_comment): Only check nestedness of 2nd char if needed. | |
1981 | ||
0b063c27 JB |
1982 | 2003-02-24 Juanma Barranquero <lektu@terra.es> |
1983 | ||
d1135afc JB |
1984 | * callint.c (fix_command): Declare as static void and move before |
1985 | Fcall_interactively. | |
1986 | ||
0b063c27 JB |
1987 | * xdisp.c (Qwhen): Declare external; it's now defined in callint.c. |
1988 | (syms_of_xdisp): Don't initialize Qwhen. | |
1989 | ||
0af912f0 JD |
1990 | 2003-02-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1991 | ||
1992 | * keyboard.c (cancel_hourglass_unwind): New function. | |
1993 | (command_loop_1): Cancel hourglass with unwind-protect. | |
1994 | ||
120d0a23 RS |
1995 | 2003-02-23 Richard M. Stallman <rms@gnu.org> |
1996 | ||
1997 | * callint.c (fix_command): New subroutine, from Fcall_interactively. | |
1998 | Detect (when ... (region-beginning)) etc. | |
1999 | (Fcall_interactively): Call fix_command. | |
2000 | (Qif, Qwhen): New variables. | |
2001 | (syms_of_callint): Init and staticpro them. | |
0b063c27 | 2002 | |
120d0a23 RS |
2003 | * regex.c (print_partial_compiled_pattern): Output to stderr. |
2004 | ||
4ece81a6 KG |
2005 | 2003-02-23 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de> |
2006 | ||
2007 | * dired.c (directory_files_internal): Don't expand directory. | |
2008 | (Fdirectory_files, Fdirectory_files_and_attributes): Do it here | |
2009 | instead. From Lars Hansen <larsh@math.ku.dk>. | |
2010 | ||
e52bd6b7 SM |
2011 | 2003-02-22 Stefan Monnier <monnier@cs.yale.edu> |
2012 | ||
2013 | * fns.c (string_to_multibyte): Remove unused var i. | |
2014 | (Flanginfo): Fix int/Lisp_Object mixup. | |
2015 | (void_call2): New fun. | |
2016 | (Fmap_char_table): Use it in place of call2. | |
2017 | ||
2018 | * xfaces.c (x_face_list_fonts): Fix int/Lisp_Object mixup. | |
2019 | ||
2020 | * macros.c (Fstart_kbd_macro): Remove redundant assignment. | |
2021 | ||
2022 | * keymap.c (copy_keymap_1): Make it static. | |
2023 | ||
2024 | * alloc.c (Fgarbage_collect): Don't use XSETFLOAT. | |
2025 | ||
c33ef7c4 JB |
2026 | 2003-02-22 David Ponce <david@dponce.com> |
2027 | ||
2028 | * lread.c (Fload): Don't check STRING_MULTIBYTE. | |
2029 | ||
16782258 JD |
2030 | 2003-02-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2031 | ||
2032 | * process.h: Removed subtty field from struct Lisp_Process. | |
2033 | ||
2034 | * process.c (create_process): Remove setting of subtty. | |
2035 | (emacs_get_tty_pgrp): New function. | |
e52bd6b7 SM |
2036 | (Fprocess_running_child_p, process_send_signal): |
2037 | Call emacs_get_tty_pgrp instead of ioctl. | |
16782258 JD |
2038 | (process_send_signal): Call EMACS_KILLPG if ioctl TIOCSIGSEND fails. |
2039 | ||
3abeca61 KG |
2040 | 2003-02-21 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de> |
2041 | ||
2042 | * keymap.c (Fdefine_key): Doc fix. | |
2043 | ||
92a8ce63 JB |
2044 | 2003-02-21 Juanma Barranquero <lektu@terra.es> |
2045 | ||
2046 | Port of patch for RC by Klaus Zeitler <kzeitler@lucent.com>. | |
2047 | ||
2048 | * s/hpux10.h: Define POLL_INTERRUPTED_SYS_CALL, not | |
2049 | POLLING_PROBLEM_IN_SELECT. | |
2050 | ||
2051 | * s/hpux11.h: Include hpux10-20.h instead of hpux10.h. | |
2052 | Delete #undef of POLLING_PROBLEM_IN_SELECT. | |
2053 | ||
2054 | * s/hpux10-20.h: New file. | |
2055 | ||
e52bd6b7 SM |
2056 | * process.c (wait_reading_process_input): |
2057 | Use POLL_INTERRUPTED_SYS_CALL, not POLLING_PROBLEM_IN_SELECT. | |
92a8ce63 | 2058 | |
20f1ef2e KH |
2059 | 2003-02-20 Kenichi Handa <handa@m17n.org> |
2060 | ||
32d0a9dc KH |
2061 | * fontset.c (check_fontset_name): If NAME is nil, return the |
2062 | default fontset. | |
2063 | (override_font_info): New function. | |
e52bd6b7 | 2064 | (Fset_fontset_font): Document that NAME nil means the default fontset. |
32d0a9dc KH |
2065 | (Ffontset_info): If FONTSET is not the default fontset, merge |
2066 | FONTSET onto the copy of the default fontset, and work on that | |
2067 | copy. Document that NAME nil means the default fontset. | |
2068 | (Ffontset_font): Document that NAME nil means the default fontset. | |
2069 | ||
20f1ef2e KH |
2070 | * process.c (setup_process_coding_systems): If the process's |
2071 | in/out descriptor is -1, do nothing. | |
2072 | ||
77d1daf2 AS |
2073 | 2003-02-19 Andreas Schwab <schwab@suse.de> |
2074 | ||
e52bd6b7 SM |
2075 | * lisp.h (Fcancel_kbd_macro_events, Fstring_to_multibyte): |
2076 | Add prototypes. | |
77d1daf2 | 2077 | |
f9a45bb3 KH |
2078 | 2003-02-19 Kenichi Handa <handa@m17n.org> |
2079 | ||
2080 | * xfaces.c (try_alternative_families): Try all scalable fonts if | |
2081 | Vscalable_fonts_allowed is not Qt. | |
2082 | ||
72ecb43c JD |
2083 | 2003-02-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2084 | ||
2085 | * xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found. | |
2086 | ||
ee5be7c3 JD |
2087 | 2003-02-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2088 | ||
2089 | * xterm.c (x_list_fonts): If maxnames is less than 0, get all font | |
2090 | names. | |
2091 | ||
2092 | * xfaces.c (x_face_list_fonts): Allocate struct font_name here. | |
e52bd6b7 | 2093 | (sorted_font_list): Move allocation of struct font_name to |
ee5be7c3 JD |
2094 | x_face_list_fonts. |
2095 | (Fx_font_family_list): Set font-list-limit to -1 to get all font names. | |
2096 | (Fx_list_fonts): Set maxnames to -1 to get all font names. | |
2097 | ||
4cd519a7 KS |
2098 | 2003-02-18 Kim F. Storm <storm@cua.dk> |
2099 | ||
068f9882 KS |
2100 | * lread.c (read1): Fix last change. |
2101 | "`" is not always special. Allow "?" after a character constant. | |
4cd519a7 | 2102 | |
7290a344 AC |
2103 | 2003-02-18 Andrew Choi <akochoi@shaw.ca> |
2104 | ||
2105 | * unexmacosx.c (copy_data_segment): Also copy __cfstring section. | |
2106 | ||
1f7fa69b AS |
2107 | 2003-02-18 Andreas Schwab <schwab@suse.de> |
2108 | ||
2109 | * window.c (window_scroll_pixel_based): Move outside a | |
2110 | multi-glyph character before setting new window start. | |
2111 | ||
2112 | * xdisp.c (in_display_vector_p): New function. | |
2113 | * dispextern.h (in_display_vector_p): Declare. | |
2114 | ||
23e21195 KS |
2115 | 2003-02-18 Kim F. Storm <storm@cua.dk> |
2116 | ||
2117 | * lread.c (read1): Fix and relax read syntax. | |
2118 | Recognize "[", ";", "#", and "?" after a dotted-pair dot. | |
2119 | Only recognize "," after dotted-pair dot if inside backquote. | |
2120 | Never include "`" or "," (inside backquote) in a symbol. | |
2121 | Allow dotted-pair dot after a character constant. | |
2122 | Allow "`" and "," (inside backquote) after a character constant. | |
92a8ce63 | 2123 | |
f098b121 JD |
2124 | 2003-02-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2125 | ||
2126 | * gtkutil.c (xg_tool_bar_expose_callback): New function. | |
2127 | (xg_create_tool_bar): Force style of tool bar to be horizontal with | |
2128 | icons. Set name of tool bar to emacs-toolbar. | |
2129 | (update_frame_tool_bar): Connect expose event to | |
2130 | xg_tool_bar_expose_callback. | |
2131 | ||
63020c46 RS |
2132 | 2003-02-17 Richard M. Stallman <rms@gnu.org> |
2133 | ||
2134 | * keyboard.c (this_command_key_count_reset): New variable. | |
2135 | Initiatize to 0 where this_command_key_count is set. | |
2136 | (read_char): Save and restore this_command_key_count_reset | |
2137 | around input method code. | |
2138 | (read_char): If this_command_key_count_reset, echo reread commands. | |
2139 | (Freset_this_command_lengths): Set this_command_key_count_reset to 1. | |
2140 | ||
fb4452cc KH |
2141 | 2003-02-17 Kenichi Handa <handa@m17n.org> |
2142 | ||
2143 | * fns.c (string_to_multibyte): Always return a multibyte string. | |
2144 | ||
bd11cc09 JR |
2145 | 2003-02-16 Jason Rumney <jasonr@gnu.org> |
2146 | ||
e52bd6b7 SM |
2147 | * w32fns.c (w32_list_bdf_fonts, w32_list_fonts): |
2148 | Negative max_fonts parameter means list all. | |
bd11cc09 | 2149 | |
4cdf4bde DL |
2150 | 2003-02-14 Dave Love <fx@gnu.org> |
2151 | ||
2152 | * fns.c (Flanginfo): Doc fix. | |
2153 | ||
023b93f6 KS |
2154 | 2003-02-13 Kim F. Storm <storm@cua.dk> |
2155 | ||
37cd4238 KS |
2156 | * lread.c (read_escape): Interpret \s as a SPACE character, except |
2157 | for \s-X in a character constant which still is the super modifier. | |
2158 | (read1): Signal an `invalid read syntax' error if a character | |
2159 | constant is immediately followed by a digit or symbol character. | |
2160 | ||
140a6b7e KS |
2161 | * search.c (Fmatch_data): Doc fix. Explicitly state that |
2162 | match-data is undefined if last search failed. | |
2163 | ||
023b93f6 KS |
2164 | * keymap.c (Fcommand_remapping): Renamed from Fremap_command. |
2165 | All uses changed. | |
2166 | ||
7d5c86e5 JB |
2167 | 2003-02-12 Juanma Barranquero <lektu@terra.es> |
2168 | ||
2169 | * eval.c (Fdefmacro): Fix typo. | |
2170 | ||
295fff2c KS |
2171 | 2003-02-12 Kim F. Storm <storm@cua.dk> |
2172 | ||
2173 | * macros.c (Fstart_kbd_macro): If appending, and last keyboard | |
2174 | macro is a string, convert meta modifiers in string when copying | |
2175 | the string into a vector. | |
2176 | ||
60f3202d KS |
2177 | 2003-02-11 Kim F. Storm <storm@cua.dk> |
2178 | ||
2179 | * keymap.c (Fremap_command): Return nil if arg is not a symbol. | |
2180 | ||
61cb0b53 KH |
2181 | 2003-02-11 Kenichi Handa <handa@m17n.org> |
2182 | ||
2183 | * Makefile.in (lisp, shortlisp): Add malayalam.el and tamil.el. | |
2184 | ||
7392e23c KS |
2185 | 2003-02-10 Kim F. Storm <storm@cua.dk> |
2186 | ||
2187 | * process.c: Doc fixes. | |
2188 | (syms_of_process): Add `:' prefix to QCfilter_multibyte. | |
2189 | ||
ce4254bd KH |
2190 | 2003-02-10 Kenichi Handa <handa@m17n.org> |
2191 | ||
9c7a329a KH |
2192 | * fns.c (Fstring_to_multibyte): Fix typo in the docstring. |
2193 | ||
ce4254bd KH |
2194 | * process.c (QCfilter_multibyte): New variable. |
2195 | (setup_process_coding_systems): New function. | |
e52bd6b7 SM |
2196 | (Fset_process_buffer, Fset_process_filter): |
2197 | Call setup_process_coding_systems. | |
ce4254bd KH |
2198 | (Fstart_process): Initialize the member `filter_multibyte' of |
2199 | struct Lisp_Process. | |
2200 | (create_process): Call setup_process_coding_systems. | |
2201 | (Fmake_network_process): New keyward `:filter-multibyte'. | |
2202 | Initialize the member `filter_multibyte' of struct Lisp_Process. | |
2203 | Call setup_process_coding_systems. | |
2204 | (server_accept_connection): Call setup_process_coding_systems. | |
2205 | (read_process_output): If the process has a filter, decide the | |
2206 | multibyteness of a string to given to the filter by | |
2207 | `filter_multibyte' member of the process. If the process doesn't | |
2208 | have a filter and the result of conversion is unibyte, use | |
2209 | Fstring_to_multibyte (not Fstring_make_multibyte) to get the | |
2210 | multibyte form. | |
2211 | (Fset_process_coding_system): Call setup_process_coding_systems. | |
2212 | (Fset_process_filter_multibyte): New function. | |
2213 | (Fprocess_filter_multibyte_p): New function. | |
2214 | (syms_of_process): Intern and staticpro QCfilter_multibyte. | |
2215 | Defsubr Sset_process_filter_multibyte and | |
2216 | Sprocess_filter_multibyte_p. | |
2217 | ||
2218 | * process.h (struct Lisp_Process): New member filter_multibyte. | |
2219 | ||
2220 | * lisp.h (setup_process_coding_systems): Add prototype. | |
2221 | ||
2222 | * buffer.c (Fset_buffer_multibyte): If the current buffer has a | |
2223 | process, update coding systems for the process. | |
2224 | ||
b08d5f59 KH |
2225 | 2003-02-09 Kenichi Handa <handa@m17n.org> |
2226 | ||
2227 | * fns.c (string_to_multibyte): New function. | |
2228 | (Fstring_to_multibyte): New function. | |
2229 | (syms_of_fns): Defsubr it. | |
2230 | ||
0dfd93c0 AS |
2231 | 2003-02-08 Andreas Schwab <schwab@suse.de> |
2232 | ||
2233 | * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable | |
2234 | instead of the substitution. | |
2235 | ||
7b76ca1c JD |
2236 | 2003-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2237 | ||
2238 | * xterm.c (x_make_frame_visible): Call gtk_window_deiconify. | |
2239 | ||
2240 | * xmenu.c (menu_position_func): Adjust menu popup position so that | |
2241 | the menu is fully visible. | |
7b76ca1c | 2242 | |
2436a4e4 JD |
2243 | 2003-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2244 | ||
2245 | * xterm.c (x_text_icon, x_raise_frame, x_lower_frame) | |
e52bd6b7 SM |
2246 | (x_make_frame_invisible, x_wm_set_icon_position): |
2247 | Use FRAME_OUTER_WINDOW instead of ifdef X_TOOLKIT/else/endif. | |
2436a4e4 JD |
2248 | |
2249 | * xfns.c (x_set_name, x_set_title): Ditto. | |
2250 | ||
37d1e680 RS |
2251 | 2003-02-04 Richard M. Stallman <rms@gnu.org> |
2252 | ||
2253 | * keyboard.c (echo_now): Update before_command_echo_length. | |
2254 | (Freset_this_command_lengths): Reset this_command_key_count etc. | |
2255 | immediately rather than arranging to do it later. | |
2256 | (before_command_key_count_1, before_command_echo_length_1) | |
2257 | (before_command_restore_flag): Vars deleted. | |
2258 | (add_command_key): Don't handle before_command_restore_flag. | |
2259 | (read_char, record_menu_key): Don't update before_command_key_count or | |
2260 | before_command_echo_length. | |
2261 | (read_char): Don't handle before_command_restore_flag. | |
2262 | ||
2263 | * keyboard.c (command_loop_1): Don't call adjust_point_for_property | |
2264 | in direct-output clauses if it wouldn't be called in the ordinary case. | |
2265 | ||
578846a3 KS |
2266 | 2003-02-04 Kim F. Storm <storm@cua.dk> |
2267 | ||
2268 | * keyboard.c (syms_of_keyboard) <this-original-command>: Doc fix. | |
2269 | ||
49853a4d JD |
2270 | 2003-02-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2271 | ||
2272 | * gtkutil.c (remove_from_container): Copying list is not needed. | |
2273 | (xg_update_menubar, xg_update_menu_item, xg_update_submenu) | |
2274 | (xg_modify_menubar_widgets, update_frame_tool_bar): Call g_list_free | |
2275 | on list returned from gtk_container_get_children to avoid memory leak. | |
2276 | ||
8b53dc06 JR |
2277 | 2003-02-01 Jason Rumney <jasonr@gnu.org> |
2278 | ||
5d54d177 JR |
2279 | * w32fns.c (w32_create_pixmap_from_bitmap_data): Use alloca for |
2280 | local malloc. | |
2281 | [HAVE_XPM]: Avoid clashes with XColor, XImage and Pixel | |
2282 | definitions in xpm.h. | |
2283 | (init_xpm_functions): New function. | |
2284 | (xpm_load): Sync with xfns.c. Adapt for Windows version of libXpm. | |
2285 | (init_external_image_libraries): Try to load libXpm.dll. | |
2286 | ||
8b53dc06 JR |
2287 | * fileio.c (Fcopy_file) [WINDOWSNT]: Reverse logic for setting |
2288 | timestamp. | |
2289 | ||
b222e415 DL |
2290 | 2003-01-31 Dave Love <fx@gnu.org> |
2291 | ||
2292 | * syntax.c (Fskip_chars_forward) | |
2293 | (open-paren-in-column-0-is-defun-start): Doc fix. | |
2294 | ||
c60ee5e7 JB |
2295 | 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com> |
2296 | ||
2297 | * fileio.c: Support // at start of name for Cygwin (just added proper | |
2298 | preprocessor tests). | |
2299 | ||
2300 | * keyboard.c: Port to Cygwin (just added proper preprocessor tests). | |
2301 | ||
2302 | * Makefile.in: Use @EXEEXT@ for Cygwin. | |
2303 | ||
2304 | * mem-limits.h: Added ifdef to define BSD4_2 for Cygwin. | |
2305 | ||
2306 | * s/cygwin.h: Added for Cygwin port. | |
2307 | ||
53b37591 JB |
2308 | 2003-01-31 Juanma Barranquero <lektu@terra.es> |
2309 | ||
2310 | * w32fns.c (DrawText): Kludge to avoid a redefinition on Windows | |
2311 | when including gif_lib.h. | |
fe929957 JB |
2312 | (init_gif_functions, init_tiff_functions): New functions. |
2313 | (gif_load, tiff_load): Sync with xfns.c version. Adjust colors for | |
2314 | Windows. Disable color table lookups. Call library functions | |
53b37591 | 2315 | through pointers determined at runtime. |
fe929957 JB |
2316 | (init_external_image_libraries): Try to load libungif.dll and |
2317 | libtiff.dll. | |
53b37591 | 2318 | |
45415a8f KH |
2319 | 2003-01-31 Kenichi Handa <handa@m17n.org> |
2320 | ||
2321 | * xdisp.c (SKIP_GLYPHS): New macro. | |
e52bd6b7 | 2322 | (set_cursor_from_row): Skip all glyphs that comes from overlay string. |
45415a8f | 2323 | |
a97e4138 JD |
2324 | 2003-01-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2325 | ||
e52bd6b7 | 2326 | * gtkutil.c (free_frame_tool_bar): Remove debug printf. |
a97e4138 | 2327 | |
6eed9bed DL |
2328 | 2003-01-30 Dave Love <fx@gnu.org> |
2329 | ||
2330 | * alloc.c (Vgc_elapsed, gcs_done): New variables. | |
2331 | (Fgarbage_collect): Use them. | |
2332 | (init_alloc, syms_of_alloc): Set them up. | |
2333 | ||
100dcd40 JB |
2334 | 2003-01-30 Juanma Barranquero <lektu@terra.es> |
2335 | ||
2336 | * w32fns.c (init_external_image_libraries): Add missing operator. | |
2337 | ||
fbd852af JR |
2338 | 2003-01-29 Jason Rumney <jasonr@gnu.org> |
2339 | ||
2340 | * w32fns.c (init_external_image_libraries): Allow jpeg-62.dll as | |
2341 | an alternative name for jpeg.dll. | |
2342 | ||
8a2d8020 KH |
2343 | 2003-01-29 Kenichi Handa <handa@m17n.org> |
2344 | ||
2345 | * xdisp.c (set_cursor_from_row): Pay attention to string display | |
2346 | properties. | |
2347 | ||
058c18c7 AC |
2348 | 2003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> |
2349 | ||
2350 | * macterm.c (keycode_to_xkeysym_table): Add <tab>, <backspace>, | |
2351 | <escape>. | |
2352 | (keycode_to_xkeysym_table): Reformat and add more comments. | |
2353 | (XTread_socket): Drop special case for backspace. | |
2354 | ||
385f11cf AC |
2355 | 2003-01-28 Andrew Choi <akochoi@shaw.ca> |
2356 | ||
2357 | * macfns.c (x_to_mac_color): Correct the order for parsing the RGB | |
2358 | values in old-style RGB specs. | |
2359 | ||
c922a224 JB |
2360 | 2003-01-27 Juanma Barranquero <lektu@terra.es> |
2361 | ||
2362 | * w32fns.c (init_external_image_libraries): Try alternate names for the | |
2363 | jpeg dll. | |
2364 | ||
0a1d6de0 JD |
2365 | 2003-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2366 | ||
2367 | * gtkutil.c (create_dialog, xg_separator_p) | |
2368 | (xg_item_label_same_p, xg_update_menu_item): Check for NULL string | |
2369 | before calling strcmp or strlen. | |
2370 | ||
a97e4138 | 2371 | 2003-01-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1d1885fc JD |
2372 | |
2373 | * gtkutil.c (update_frame_tool_bar): Call prepare_image_for_display | |
2374 | and handle image load failure. | |
2375 | ||
28908312 JR |
2376 | 2003-01-26 Jason Rumney <jasonr@gnu.org> |
2377 | ||
2378 | * w32fns.c (init_jpeg_functions, jpeg_resync_to_restart_wrapper): | |
2379 | New functions. | |
2380 | (jpeg_load): Sync with xfns.c version. Adjust colors for Windows. | |
2381 | Disable color table lookups. Call jpeg library functions | |
2382 | through pointers determined at runtime. | |
2383 | (init_external_image_libraries): Try to load jpeg.dll. | |
2384 | ||
84e47416 RS |
2385 | 2003-01-25 Richard M. Stallman <rms@gnu.org> |
2386 | ||
2387 | * lisp.h: Declare format2 instead of format1. | |
2388 | ||
2389 | * fileio.c (barf_or_query_if_file_exists): | |
2390 | Call format2 instead of format1. | |
2391 | ||
2392 | * editfns.c (format2): New function, replaces format1 | |
2393 | but takes exactly two Lisp Objects as format args. | |
2394 | ||
2395 | * buffer.c (Fkill_buffer): Call format2 instead of format1. | |
2396 | ||
a97e4138 | 2397 | 2003-01-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1fcfb866 JD |
2398 | |
2399 | * xterm.h: Change to return value of x_dispatch_event to int. | |
2400 | ||
2401 | * xterm.c (x_filter_event): New function. | |
2402 | (event_handler_gdk, XTread_socket): Call x_filter_event. | |
2403 | (x_dispatch_event): Change to return value of finish. | |
2404 | (event_handler_gdk): Use return value from x_dispatch_event. | |
2405 | ||
2406 | * xfns.c (x_window): Call create_frame_xic for GTK version to | |
2407 | initialize input methods. | |
2408 | ||
2409 | * gtkutil.h: Add (void) prototypes. | |
2410 | ||
2411 | * gtkutil.c (create_menus): Remove code that puts the help menu to | |
2412 | the right. | |
2413 | ||
54eefef1 JR |
2414 | 2003-01-25 Jason Rumney <jasonr@gnu.org> |
2415 | ||
2416 | * w32fns.c (XPutPixel): Handle monochrome images; used for masks. | |
2417 | [HAVE_PNG]: Sync with xfns.c version. | |
2418 | (png_load): Adjust colors for Windows. Use Windows | |
2419 | bitmaps. Disable color table lookups. | |
c262430d JR |
2420 | (DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros. |
2421 | (init_png_functions): New function. | |
2422 | (png_read_from_memory, png_load): Call png library functions | |
2423 | through pointers determined at runtime. | |
2424 | (QCloader, QCbounding_box, QCpt_width, QCpt_height): Declare. | |
2425 | (init_external_image_libraries): New function. | |
2426 | (init_xfns): Call it. | |
54eefef1 | 2427 | |
1a9e275b AS |
2428 | 2003-01-24 Andreas Schwab <schwab@suse.de> |
2429 | ||
2430 | * minibuf.c (Fminibuffer_message): Verify type of parameter. | |
2431 | ||
a97e4138 | 2432 | 2003-01-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
81e302ef JD |
2433 | |
2434 | * gtkutil.c (xg_initialize): Initialize id_to_widget here instead | |
2435 | of static initializer. | |
2436 | ||
422eec7e DL |
2437 | 2003-01-24 Dave Love <fx@gnu.org> |
2438 | ||
2439 | * s/gnu-linux.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define for more | |
2440 | architectures. | |
2441 | ||
2442 | * alloc.c (mark_stack) [!GC_LISP_OBJECT_ALIGNMENT && __GNUC__]: | |
2443 | Use __alignof__. | |
2444 | ||
2a026b04 KH |
2445 | 2003-01-24 Kenichi Handa <handa@m17n.org> |
2446 | ||
2447 | * keyboard.c (adjust_point_for_property): New second arg MODIFIED. | |
e52bd6b7 | 2448 | It it is nonzero, don't pretend that an invisible area doesn't exist. |
2a026b04 KH |
2449 | (command_loop_1): Call adjust_point_for_property with proper |
2450 | second arg. | |
2451 | ||
a18bb28d JR |
2452 | 2003-01-22 Jason Rumney <jasonr@gnu.org> |
2453 | ||
2454 | Sync changes with xterm.c and xfns.c. | |
2455 | ||
2456 | * w32term.c (x_draw_glyph_string_foreground) | |
2457 | (x_draw_composite_glyph_string_foreground): Implement overstriking. | |
2458 | ||
2459 | * w32term.c (x_write_glyphs): Clear phys_cursor_on_p if current | |
2460 | phys_cursor's hpos is overwritten. This is still not completely | |
2461 | correct, as it doesn't really make sense to use hpos at all to | |
2462 | get the cursor glyph (as that is relative to the width of the | |
2463 | characters on the line, which may have changed during the update). | |
2464 | ||
2465 | * w32term.c (notice_overwritten_cursor): Handle the special case | |
2466 | of the cursor being in the first blank non-text line at the | |
2467 | end of a window. | |
2468 | ||
2469 | * w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor) | |
2470 | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. | |
2471 | Compute from the x position returned by x_draw_glyphs. | |
2472 | ||
2473 | (x_display_and_set_cursor): Don't set phys_cursor_width here, | |
2474 | except for NO_CURSOR and system caret, to make phys_cursor_width | |
2475 | contain what its name suggests. | |
2476 | (notice_overwritten_cursor): Consider the cursor image erased if | |
2477 | the output area intersects the cursor image in y-direction. | |
2478 | ||
6a097c0c SM |
2479 | * w32term.c (note_mode_line_or_margin_highlight): Rename from |
2480 | note_mode_line_highlight and extend. | |
a18bb28d JR |
2481 | |
2482 | * w32term.c (last_window): New variable. | |
2483 | (w32_read_socket) <WM_MOUSEMOVE>: Generate SELECT_WINDOW_EVENTs. | |
2484 | (note_mouse_movement): Remove reimplemented code in #if 0. | |
2485 | ||
2486 | * w32fns.c (x_set_cursor_type): Set cursor_type_changed, | |
2487 | not update_mode_lines, and always set it to 1. | |
2488 | ||
ac6e47ef JR |
2489 | 2003-01-21 Jason Rumney <jasonr@gnu.org> |
2490 | ||
2491 | * w32fns.c (IDC_HAND): Define it if system headers don't. | |
2492 | ||
2493 | 2003-01-21 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> | |
2494 | ||
2495 | * w32term.h (struct w32_output): New member hand_cursor. | |
2496 | (WM_EMACS_SETCURSOR): New message definition. | |
2497 | ||
2498 | * w32term.c (note_mode_line_highlight): Delete #if 0 to enable | |
2499 | function w32_define_cursor. | |
2500 | (note_mouse_highlight): Initialize, setup cursor accoding to mouse | |
2501 | position, change member name output_data.x to output_data.w32 and | |
2502 | add function w32_define_cursor. | |
2503 | (show_mouse_face): Delete #if 0 to enable function w32_define_cursor | |
2504 | and change member name output_data.x to output_data.w32. | |
e52bd6b7 SM |
2505 | (w32_initialize_display_info): |
2506 | Setup dpyinfo->vertical_scroll_bar_cursor. | |
ac6e47ef JR |
2507 | |
2508 | * w32fns.c (Vx_hand_shape): New variable. | |
2509 | (w32_wnd_proc): Add message entries for WM_SETCURSOR and | |
2510 | WM_EMACS_SETCURSOR. | |
2511 | (x-create-frame): Setup Cursor types. | |
2512 | ||
ceb39a17 JB |
2513 | 2003-01-21 David Ponce <david@dponce.com> |
2514 | ||
ac6e47ef JR |
2515 | * w32term.c (w32_encode_char): For DIM=1 charset, set |
2516 | ccl->reg[2] to -1 before calling ccl_driver. (Sync. with xterm.c | |
2517 | x_encode_char change by Kenichi Handa <handa@m17n.org> on | |
ceb39a17 | 2518 | 2002-09-30.) |
ac6e47ef JR |
2519 | (w32_draw_relief_rect): Declare all args. |
2520 | (w32_define_cursor): New. | |
2521 | ||
2522 | * w32fns.c (w32_load_cursor): New function. | |
2523 | (w32_init_class): Use it. | |
2524 | (x_put_x_image): Declare all args. | |
2525 | ||
46cf0bed JB |
2526 | 2003-01-21 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change) |
2527 | ||
2528 | * Makefile.in (ALL_CFLAGS): Include MYCPPFLAGS, not MYCPPFLAG. | |
2529 | ||
a97e4138 | 2530 | 2003-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
e8794476 JD |
2531 | |
2532 | * gtkutil.c: Must include stdio.h before termhooks.h | |
2533 | ||
83fc9c63 DL |
2534 | 2003-01-21 Dave Love <fx@gnu.org> |
2535 | ||
2536 | * alloc.c (Fgc_status): Print zombie list. | |
2537 | (mark_maybe_object) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: | |
2538 | Fix assignment of zombies. | |
2539 | (Fgarbage_collect) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: | |
2540 | Don't take car of non-cons. | |
2541 | ||
2542 | * s/sol2-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
2543 | ||
2544 | * s/sunos4-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
2545 | ||
fe04b8c8 JR |
2546 | 2003-01-20 David Ponce <david@dponce.com> |
2547 | ||
2548 | * w32menu.c (digest_single_submenu): Declare all args. | |
2549 | ||
2550 | Sync with 2002-12-23 Richard M. Stallman <rms@gnu.org> | |
2551 | changes in xmenu.c: | |
2552 | ||
2553 | (parse_single_submenu): Use individual keymap's prompt | |
2554 | string as pane name, if there is one. | |
2555 | (set_frame_menubar): Save menu_items_n_panes from each call to | |
2556 | parse_single_submenu and use it when calling digest_single_submenu. | |
2557 | ||
539e69a9 ST |
2558 | 2003-01-20 Steven Tamm <steventamm@mac.com> |
2559 | ||
2560 | * macterm.c (XTread_socket): Checks for valid, visible window | |
2561 | before sending a scroll-wheel event. | |
2562 | ||
675d000f RS |
2563 | 2003-01-20 Richard M. Stallman <rms@gnu.org> |
2564 | ||
2565 | * xdisp.c (redisplay_window): If mini window's buffer is not | |
2566 | a minibuffer, then redisplay it like other windows. | |
2567 | ||
a97e4138 | 2568 | 2003-01-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
22174d10 JD |
2569 | |
2570 | * gtkutil.c (xg_create_frame_widgets): Check if there is an | |
2571 | external tool bar before setting tool bar height. | |
2572 | ||
048addec JD |
2573 | 2003-01-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2574 | ||
2575 | * xterm.c (handle_one_xevent): Surround popup_activated | |
2576 | with #ifdef:s for non-toolkit version. | |
2577 | ||
2578 | * Makefile.in (XOBJ): Add gtkutil.o if USE_GTK | |
2579 | (gtkutil.o): New file. | |
2580 | (TOOLKIT_DEFINES): Set to -DUSE_GTK if HAVE_GTK. | |
2581 | (LIBW): Set to @GTK_LIBS@ if USE_GTK. | |
2582 | ||
2583 | * gtkutil.c: New file for GTK version. | |
2584 | ||
2585 | * gtkutil.h: New file for GTK version. | |
2586 | ||
2587 | * xterm.h: Add xt_or_gtk_widget. | |
2588 | Include gtk files for USE_GTK. | |
2589 | (struct x_output): Add toolbar_height. | |
2590 | (struct x_output): Add GTK widgets and Gdk size_hints. | |
2591 | (GTK_WIDGET_TO_X_WIN, FRAME_GTK_OUTER_WIDGET, FRAME_GTK_WIDGET) | |
2592 | (FRAME_OUTER_WINDOW): New macros for USE_GTK. | |
2593 | (FRAME_OUTER_TO_INNER_DIFF_Y): Add FRAME_TOOLBAR_HEIGHT to calculation. | |
2594 | ||
2595 | * xterm.c: Include gtkutil.h for USE_GTK. | |
2596 | Declare extern void free_frame_menubar for USE_GTK. | |
2597 | (note_mouse_highlight): Check popup_activated for USE_GTK. | |
2598 | (xt_action_hook): Don't compile if USE_GTK. | |
2599 | (x_scroll_bar_to_input_event): Use CurrentTime for USE_GTK. | |
2600 | (xg_scroll_callback): New function. | |
2601 | (x_create_toolkit_scroll_bar): Call xg_create_scroll_bar for USE_GTK. | |
2602 | (x_set_toolkit_scroll_bar_thumb): Call xg_set_toolkit_scroll_bar_thumb | |
2603 | for USE_GTK. | |
2604 | (x_scroll_bar_create): Call xg_update_scrollbar_pos and | |
2605 | xg_show_scroll_bar for USE_GTK. | |
2606 | (x_scroll_bar_remove): Call xg_remove_scroll_bar for USE_GTK. | |
2607 | (XTset_vertical_scroll_bar): Call xg_update_scrollbar_pos for USE_GTK. | |
2608 | (event_handler_gdk): New function for USE_GTK. | |
2609 | (handle_one_xevent): Call xg_resize_widgets for USE_GTK. | |
2610 | (handle_one_xevent): Make sure widget is mapped before | |
2611 | calling x_real_positions for USE_GTK. | |
2612 | (XTread_socket): Add GTK event loop for USE_GTK. | |
2613 | (x_set_window_size): Call xg_frame_set_char_size for USE_GTK. | |
2614 | (x_make_frame_visible): Call gtk_widget_show_all for USE_GTK. | |
2615 | (x_make_frame_invisible): Call gtk_widget_hide for USE_GTK. | |
2616 | (x_iconify_frame): Add code for USE_GTK. | |
2617 | (x_free_frame_resources): Call gtk_widget_destroy for USE_GTK. | |
2618 | (x_wm_set_size_hint): Only compile if not USE_GTK. GTK version | |
2619 | is in gtkutil.c. | |
2620 | (x_term_init): Add initialization for GTK. | |
2621 | (syms_of_xterm): Set Vx_toolkit_scroll_bars for USE_GTK. | |
2622 | ||
2623 | * xmenu.c: Include gtkutil.h for USE_GTK. | |
2624 | (Fx_popup_menu): Use current position if x and y is NIL. | |
6bdb309a SM |
2625 | (single_menu_item, single_menu_item, Fx_popup_dialog): |
2626 | Check for USE_GTK. | |
048addec JD |
2627 | (popup_widget_loop): New function for USE_GTK. |
2628 | (x_activate_menubar): Add code for USE_GTK. | |
2629 | (popup_activate_callback, popup_deactivate_callback) | |
6bdb309a SM |
2630 | (menu_highlight_callback, menubar_selection_callback): |
2631 | Add USE_GTK versions. | |
048addec JD |
2632 | (update_frame_menubar): Call xg_update_frame_menubar for USE_GTK. |
2633 | (set_frame_menubar): Call xg_modify_menubar_widgets for USE_GTK. | |
2634 | (free_frame_menubar): Only compile if not USE_GTK. GTK version | |
2635 | is in gtkutil.c. | |
2636 | (popup_selection_callback): New version for USE_GTK. | |
2637 | (create_and_show_popup_menu): New fuction, one USE_GTK version and | |
6bdb309a | 2638 | one USE_X_TOOLKIT version. |
048addec JD |
2639 | (xmenu_show): Call create_and_show_popup_menu. |
2640 | (dialog_selection_callback): New version for USE_GTK. | |
2641 | (create_and_show_dialog): New fuction, one USE_GTK version and | |
6bdb309a | 2642 | one USE_X_TOOLKIT version. |
048addec JD |
2643 | (xdialog_show): Call create_and_show_dialog. |
2644 | ||
2645 | * xfns.c: Include gtkutil for USE_GTK. | |
2646 | (x_window_to_frame, x_any_window_to_frame) | |
2647 | (x_non_menubar_window_to_frame, x_menubar_window_to_frame) | |
2648 | (x_top_window_to_frame): Add code for USE_GTK. | |
2649 | (x_set_background_color): Call xg_set_background_color for GTK. | |
2650 | (x_set_menu_bar_lines): Check for USE_GTK. | |
2651 | (x_set_tool_bar_lines): Call update_frame_tool_bar for USE_GTK. | |
2652 | (x_set_name, x_set_title): Call gtk_window_set_title for USE_GTK. | |
2653 | (x_window): Call xg_create_frame_widgets for USE_GTK. | |
2654 | (Fx_create_frame): Check for USE_GTK | |
2655 | (Fx_file_dialog): New implementation for USE_GTK. | |
2656 | ||
2657 | * xdisp.c: Add check for USE_GTK for extern void set_frame_menubar. | |
2658 | (update_menu_bar): Add check for USE_GTK. | |
2659 | (update_tool_bar): Add check for USE_GTK and external tool bar. | |
2660 | (redisplay_tool_bar): Add check for USE_GTK and external tool bar. | |
2661 | (redisplay_internal): Add check for USE_GTK and popup_activated. | |
2662 | (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_MENU_BAR. | |
2663 | (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_TOOL_BAR. | |
2664 | (display_menu_bar): Add check for USE_GTK | |
2665 | ||
2666 | * lisp.h: Declare Vx_resource_name extern. | |
2667 | ||
2668 | * keyboard.c (kbd_buffer_get_event): Check MENU_BAR_ACTIVATE_EVENT | |
2669 | for USE_GTK. | |
2670 | (make_lispy_event): Check MENU_BAR_EVENT for USE_GTK. | |
2671 | ||
2672 | * frame.h (struct frame): Add external_tool_bar. Check for USE_GTK. | |
2673 | (FRAME_EXTERNAL_TOOL_BAR): New macro. | |
2674 | (FRAME_EXTERNAL_MENU_BAR): Check for USE_GTK. | |
2675 | ||
2676 | * fileio.c (Fread_file_name): Add check for USE_GTK. | |
2677 | ||
6bdb309a SM |
2678 | * dispnew.c (adjust_frame_glyphs_for_window_redisplay): |
2679 | Add check for USE_GTK. | |
048addec JD |
2680 | |
2681 | * config.in: Added HAVE_GTK | |
2682 | ||
2683 | * alloc.c (Fgarbage_collect): Call xg_mark_data for GTK. | |
2684 | ||
2685 | 2003-01-18 Stefan Monnier <monnier@cs.yale.edu> | |
2686 | ||
2687 | * charset.h (Funibyte_char_to_multibyte): Export. | |
2688 | ||
2689 | 2003-01-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
2690 | ||
2691 | * xmenu.c (mouse_position_for_popup): New function. | |
2692 | (Fx_popup_menu): Call mouse_position_for_popup for X and | |
2693 | mouse_position_hook for others. | |
2694 | ||
2695 | 2003-01-17 Kim F. Storm <storm@cua.dk> | |
2696 | ||
2697 | * editfns.c (Finsert): Mention `string-make-multibyte' and | |
2698 | `string-as-multibyte' in doc string. | |
2699 | ||
2700 | 2003-01-17 Kenichi Handa <handa@m17n.org> | |
2701 | ||
2702 | * fontset.c (syms_of_fontset): Setup Vfont_encoding_alist here. | |
3c02a6f5 | 2703 | |
048addec JD |
2704 | * editfns.c (Fformat): Convert an unibyte char argument that is |
2705 | formatted by "%c" to multibyte if the total result must be a | |
2706 | multibyte string. | |
cd7df9c0 | 2707 | |
048addec | 2708 | 2003-01-16 Kim F. Storm <storm@cua.dk> |
cd7df9c0 | 2709 | |
048addec JD |
2710 | * process.c (set-process-filter): Document unibyte/multibyte-ness |
2711 | of string argument. | |
56210ecd | 2712 | |
048addec | 2713 | 2003-01-16 Kenichi Handa <handa@m17n.org> |
56210ecd | 2714 | |
048addec | 2715 | * charset.h (NEXT_CHAR_BOUNDARY, PREV_CHAR_BOUNDARY): New macros. |
56210ecd | 2716 | |
048addec JD |
2717 | * regex.c (GET_CHAR_BEFORE_2): Use PREV_CHAR_BOUNDARY. |
2718 | (re_search_2): Likewise. | |
6df8b9fe | 2719 | |
048addec | 2720 | 2003-01-15 Kenichi Handa <handa@m17n.org> |
6df8b9fe | 2721 | |
048addec JD |
2722 | * xdisp.c (message_dolog): Fix bug of the case that *Message* |
2723 | buffer is unibyte. | |
292ddc31 | 2724 | |
048addec | 2725 | 2003-01-15 Francesco Potort\e,Al\e(B <pot@gnu.org> |
292ddc31 | 2726 | |
048addec | 2727 | * fns.c (Fsubstring): Clarify doc string. |
292ddc31 | 2728 | |
048addec JD |
2729 | * textprop.c (Ftext_properties_at, Fnext_char_property_change) |
2730 | (Fprevious_char_property_change) | |
2731 | (Fnext_single_char_property_change) | |
2732 | (Fprevious_single_char_property_change, Fnext_property_change) | |
2733 | (Fnext_single_property_change, Fprevious_property_change) | |
2734 | (Fprevious_single_property_change, Fadd_text_properties) | |
2735 | (Fput_text_property, Fset_text_properties) | |
2736 | (Fremove_text_properties, Fremove_list_of_text_properties) | |
2737 | (Ftext_property_any, Ftext_property_not_all): Clarify doc strings. | |
63e4e4c6 | 2738 | |
048addec | 2739 | 2003-01-14 Kim F. Storm <storm@cua.dk> |
63e4e4c6 | 2740 | |
048addec JD |
2741 | * process.h (struct Lisp_Process): New member plist replaces old |
2742 | member private_vars. All uses changed. | |
63e4e4c6 | 2743 | |
048addec | 2744 | * process.c: Reworked 2003-01-12 change -- call a plist a plist! |
6bdb309a | 2745 | (QCplist): Rename from QCvars. Change all uses. |
048addec | 2746 | (Fprocess_plist): Replaces Fprocess_variable. Simplified. |
6bdb309a | 2747 | (Fset_process_plist): Replaces Fset_process_variable. Simplify. |
048addec | 2748 | (syms_of_process): Intern, staticpro, defsubr these. |
6bdb309a | 2749 | (Fmake_network_process): Describe :plist arg. Remove :vars arg. |
7ed16567 | 2750 | |
048addec | 2751 | 2003-01-14 Francesco Potort\e,Al\e(B <pot@gnu.org> |
7ed16567 | 2752 | |
6bdb309a | 2753 | * m/delta.h: Remove (obsolete). |
e833850f | 2754 | |
048addec | 2755 | 2003-01-13 Francesco Potort\e,Al\e(B <pot@gnu.org> |
e833850f | 2756 | |
048addec JD |
2757 | * fileio.c (Fdelete_directory, Fdelete_file): Document the |
2758 | behaviour in front of symlinks. | |
2759 | (Fdelete_file): Raise an error on directories. | |
817cb127 | 2760 | |
048addec | 2761 | 2003-01-13 Dave Love <fx@gnu.org> |
817cb127 | 2762 | |
048addec | 2763 | * fns.c (Freverse): Use QUIT. |
3e8cf2ea | 2764 | |
048addec | 2765 | 2003-01-13 Richard M. Stallman <rms@gnu.org> |
3e8cf2ea | 2766 | |
048addec JD |
2767 | * minibuf.c (minibuffer_completion_contents): |
2768 | Error if point is inside prompt. | |
3e8cf2ea | 2769 | |
048addec JD |
2770 | * keyboard.c (command_loop_1): Don't redisplay directly |
2771 | if there's a post-command-hook. | |
3e8cf2ea | 2772 | |
048addec JD |
2773 | * fileio.c (syms_of_fileio) <directory-sep-char>: Doc fix. |
2774 | (Fdo_auto_save): Add gcpros around Ffile_name_directory. | |
2c10f029 | 2775 | |
048addec | 2776 | 2003-01-12 Kim F. Storm <storm@cua.dk> |
94e8ffca | 2777 | |
048addec | 2778 | * process.h (struct Lisp_Process): New member private_vars. |
94e8ffca | 2779 | |
048addec JD |
2780 | * process.c (QCvars): New variable. |
2781 | (syms_of_process): Intern and staticpro it. | |
2782 | (Fset_process_contact): Removed function. | |
2783 | (Fprocess_variable, Fset_process_variable): New functions. | |
2784 | (syms_of_process): Defsubr them. | |
2785 | (Fstart_process): Initialize private_vars plist to nil. | |
2786 | (Fmake_network_process): New arg :vars to setup the private | |
2787 | variables for new network process. | |
2788 | (server_accept_connection): Copy server's private variables to | |
2789 | client process. | |
2c10f029 | 2790 | |
048addec JD |
2791 | * alloc.c (pure_alloc): Fixed 2003-01-10 changed (caused spurious |
2792 | crashes). Code rewritten and simplified. Now directly aligns the | |
2793 | pointer and recalculates pure_bytes_used, rather than aligning the | |
2794 | size and adjusting the pointer. | |
b8a76c6c | 2795 | |
048addec | 2796 | 2003-01-11 Kim F. Storm <storm@cua.dk> |
b8a76c6c | 2797 | |
048addec JD |
2798 | * process.c (Fset_process_contact): New function. |
2799 | (syms_of_process): defsubr it. | |
2800 | (make-network-process): Update doc. | |
3a8d0899 | 2801 | |
048addec | 2802 | 2003-01-10 Andreas Schwab <schwab@suse.de> |
3a8d0899 | 2803 | |
048addec JD |
2804 | * alloc.c (pure_alloc): Correct alignment for Lisp_Floats. |
2805 | Reported by Berthold Gunreben <b.gunreben@web.de>. | |
4abc7470 | 2806 | |
048addec | 2807 | 2003-01-10 Dave Love <fx@gnu.org> |
4abc7470 | 2808 | |
048addec | 2809 | * composite.c (syms_of_composite): Make composition_hash_table weak. |
b809d662 | 2810 | |
048addec | 2811 | 2003-01-09 Kim F. Storm <storm@cua.dk> |
b809d662 | 2812 | |
048addec JD |
2813 | * process.c (Fmake_network_process): Convert new port number |
2814 | to host byte order for `:service t' case. From Mario Lang. | |
bf338245 | 2815 | |
048addec | 2816 | 2003-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
bf338245 | 2817 | |
048addec JD |
2818 | * xfns.c (Fx_file_dialog): Call XtAppNextEvent and x_dispatch_event |
2819 | instead of XtAppProcessEvent. | |
bf338245 | 2820 | |
048addec JD |
2821 | * xterm.c (handle_one_xevent): New function. |
2822 | (x_dispatch_event): New function. | |
2823 | (XTread_socket): Call handle_one_xevent. | |
bf338245 | 2824 | |
048addec | 2825 | * xterm.h (FRAME_OUTER_TO_INNER_DIFF_X/Y): New. |
e833850f | 2826 | |
048addec JD |
2827 | * xmenu.c (Fx_popup_menu): If popping up at mouse position, |
2828 | call XQueryPointer to get coordinates. | |
2829 | (popup_get_selection): Do not set popup_activated_flag to zero, | |
2830 | let popup_deactivate_callback do that. Needed for Motif. | |
2831 | Call x_dispatch_event instead of XtDispatchEvent. | |
2832 | (xmenu_show): Calculate root coordinate from frame top/left position. | |
c4af2bce | 2833 | |
048addec | 2834 | 2003-01-08 Kim F. Storm <storm@cua.dk> |
c4af2bce | 2835 | |
6bdb309a | 2836 | * process.c (server_accept_connection): Fix recording of new |
048addec JD |
2837 | connection's local address in :local property of contact info. |
2838 | (Fmake_network_process): Record local network address for new | |
2839 | client processes in :local property of contact info. | |
6bdb309a | 2840 | (format-network-address): Add arg OMIT-PORT. Change callers. |
00e3ab56 | 2841 | |
048addec | 2842 | 2003-01-07 Dave Love <fx@gnu.org> |
00e3ab56 | 2843 | |
048addec | 2844 | * Makefile.in (fns.o): Depend on coding.h. |
f387e1fd | 2845 | |
048addec | 2846 | 2003-01-07 Markus Rost <rost@math.ohio-state.edu> |
f387e1fd | 2847 | |
048addec | 2848 | * minibuf.c (Fread_variable): Doc fix. |
f387e1fd | 2849 | |
048addec JD |
2850 | * eval.c (Fuser_variable_p): Doc change. For custom variables, |
2851 | use the same test as for custom-variable-p. | |
8c6d74c6 | 2852 | |
048addec | 2853 | 2003-01-05 Richard M. Stallman <rms@gnu.org> |
e833850f | 2854 | |
048addec JD |
2855 | * xdisp.c (try_scrolling): New arg LAST_LINE_MISFIT. |
2856 | Count LAST_LINE_MISFIT in scroll margin for end of window. | |
2857 | Move label too_near_end before setting SCROLL_MARGIN_POS. | |
2858 | Set LAST_LINE_MISFIT before jumping there. | |
8c6d74c6 | 2859 | |
048addec JD |
2860 | * xdisp.c (try_scrolling): Calculate amount_to_scroll better in |
2861 | scroll_conservatively case. If scrolling that much doesn't change | |
2862 | STARTP, move it down one line. | |
e833850f | 2863 | |
048addec JD |
2864 | * xdisp.c (redisplay_window): Pass last_line_misfit arg to |
2865 | try_scrolling. Make it 1 after make_cursor_line_fully_visible fails. | |
8c6d74c6 | 2866 | |
048addec JD |
2867 | * xdisp.c (setup_echo_area_for_printing): Kill Emacs if no |
2868 | selected frame. | |
8c6d74c6 | 2869 | |
048addec JD |
2870 | * keymap.c (apropos_predicate, apropos_accumulate): Make them static. |
2871 | (syms_of_keymap): staticpro them. | |
2872 | (Fapropos_internal): Initialize them and clear them out. | |
2873 | Don't GCPRO them. | |
8c6d74c6 | 2874 | |
048addec JD |
2875 | * buffer.c (syms_of_buffer) <scroll-up-aggressively, scroll-down-aggressively>: |
2876 | Doc fixes. | |
8c6d74c6 | 2877 | |
048addec JD |
2878 | * lisp.h: New misc type Lisp_Save_Value. |
2879 | (enum Lisp_Misc_Type): Add Lisp_Misc_Save_Value. | |
2880 | (XSAVE_VALUE): New macro. | |
2881 | (struct Lisp_Save_Value): New data type. | |
2882 | (union Lisp_Misc): Add u_save_value alternative. | |
2883 | (make_save_value): Declared. | |
8c6d74c6 | 2884 | |
048addec | 2885 | * alloc.c (make_save_value): New function. |
8c6d74c6 | 2886 | |
048addec JD |
2887 | * xterm.c (x_catch_errors): Save dpy using make_save_value. |
2888 | (x_catch_errors_unwind): Call XSync. | |
8c6d74c6 | 2889 | |
048addec | 2890 | 2003-01-01 Richard M. Stallman <rms@gnu.org> |
8c6d74c6 | 2891 | |
048addec | 2892 | * window.c (window_scroll_pixel_based): Partially undo last change. |
8c6d74c6 | 2893 | |
048addec JD |
2894 | * keyboard.c (command_loop_1): Call adjust_point_for_property |
2895 | in direct action cases for Qforward_char and Qbackward_char. | |
2896 | Set already_adjusted so it won't be done twice. | |
8c6d74c6 | 2897 | |
048addec | 2898 | 2002-12-30 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change) |
8c6d74c6 | 2899 | |
048addec JD |
2900 | * src/config.in (!HAVE_SIZE_T): Fix order of arguments in |
2901 | type definition of size_t. | |
8c609cff | 2902 | |
048addec | 2903 | 2003-01-02 Steven Tamm <steventamm@mac.com> |
8c609cff | 2904 | |
048addec JD |
2905 | * macterm.c (syms_of_macterm): Provide the feature "mac-carbon" to |
2906 | distinguish Carbon GUI builds from X11 builds on darwin. | |
b37113a1 | 2907 | |
048addec | 2908 | 2002-12-30 Steven Tamm <steventamm@mac.com> |
b37113a1 | 2909 | |
048addec JD |
2910 | * macterm.c (syms_of_macterm): Set mac-wheel-button-is-mouse-2 |
2911 | to default to t. | |
fa634a5e | 2912 | |
048addec | 2913 | 2002-12-29 Francesco Potort\e,Al\e(B <pot@gnu.org> |
fa634a5e | 2914 | |
048addec | 2915 | * data.c (Fstring_to_number, Fminus): Better English in doc strings. |
ce0669d4 | 2916 | |
048addec | 2917 | 2002-12-28 Steven Tamm <steventamm@mac.com> |
ce0669d4 | 2918 | |
048addec JD |
2919 | * Makefile.in (macosx-bundle): Fixes to Mac OS X/Carbon port to |
2920 | allow building in a different directory than source. Uses some | |
2921 | GNU Make extensions, but there is no other make on Mac OS X. | |
2308af15 | 2922 | |
048addec | 2923 | 2002-12-26 Francesco Potort\e,Al\e(B <pot@gnu.org> |
2308af15 | 2924 | |
048addec JD |
2925 | * data.c (Fmakunbound, Ffmakunbound, Fmake_variable_buffer_local) |
2926 | (Fsetq_default, Fmake_local_variable, Fkill_local_variable) | |
2927 | (Fmake_variable_frame_local, Faset, Fnumber_to_string, Fminus) | |
2928 | (Fstring_to_number): Mention the returned value in the doc strings. | |
2155ecf3 | 2929 | |
048addec | 2930 | 2002-12-23 Richard M. Stallman <rms@gnu.org> |
2155ecf3 | 2931 | |
048addec JD |
2932 | * buffer.c (syms_of_buffer) <scroll-up-aggressively> |
2933 | <scroll-down-aggressively>: Doc fix. | |
2155ecf3 | 2934 | |
048addec JD |
2935 | * xmenu.c (parse_single_submenu): Use individual keymap's prompt |
2936 | string as pane name, if there is one. | |
2937 | (set_frame_menubar): Save menu_items_n_panes from each call to | |
2938 | parse_single_submenu and use it when calling digest_single_submenu. | |
2155ecf3 | 2939 | |
048addec JD |
2940 | * window.c (window_scroll_pixel_based): Fix check for reaching BEGV. |
2941 | Don't try to make last line fully visible if it is past end of window. | |
61f1d295 | 2942 | |
048addec | 2943 | 2002-12-22 Steven Tamm <steventamm@mac.com> |
61f1d295 | 2944 | |
048addec JD |
2945 | * macmenu.c (MIN_POPUP_SUBMENU_ID): Add. |
2946 | (mac_menu_show): Add support for hierarchical popup menus. | |
2947 | (add_menu_item): Remove indentation support. | |
2948 | (fill_submenu, fill_menu): Create hierarchical menus | |
2949 | instead of using indentation. | |
0b17a217 | 2950 | |
048addec | 2951 | 2002-12-22 Richard M. Stallman <rms@gnu.org> |
0b17a217 | 2952 | |
048addec JD |
2953 | * xdisp.c (try_cursor_movement): Don't call try_window here. |
2954 | (redisplay_window): Never redisplay minibuffer when inactive. | |
0b17a217 | 2955 | |
048addec | 2956 | * window.c (select_window_1): Undo 9/21 change. |
402e4f8b | 2957 | |
048addec | 2958 | 2002-12-22 Steven Tamm <steventamm@mac.com> |
402e4f8b | 2959 | |
048addec JD |
2960 | * macterm.c (XTread_socket): Call KeyTranslate for control and |
2961 | meta to deal correctly shifted non-alpha characters, like C-S-5 | |
2962 | being treated like C-%. Does not look for shift key to deal | |
2963 | with masking off control-key with mac-reverse-ctrl-meta. | |
f02cac82 | 2964 | |
048addec | 2965 | 2002-12-21 Richard M. Stallman <rms@gnu.org> |
f02cac82 | 2966 | |
048addec JD |
2967 | * xmenu.c (popup_get_selection): Now static. New arg DO_TIMERS. |
2968 | If it is non-nil, run timers. Use an unwind-protect to requeue | |
2969 | the events that were read ahead. | |
2970 | (popup_get_selection_unwind): New subroutine. | |
2971 | (popup_get_selection_queue): File-scope variable now holds that queue. | |
2972 | (xmenu_show): Pass 0 for DO_TIMERS to popup_get_selection. | |
2973 | (xdialog_show): Pass 1 for DO_TIMERS to popup_get_selection. | |
2974 | Use an unwind-protect to pop down the dialog box. | |
2975 | (xdialog_show_unwind): New subroutine implements that. | |
f02cac82 | 2976 | |
048addec JD |
2977 | * xdisp.c (row_containing_pos): Change exit test using last_y. |
2978 | (try_window_id): Abort if row_containing_pos returns null. | |
f02cac82 | 2979 | |
048addec JD |
2980 | * lread.c (load_error_handler): New function. |
2981 | (Fload): Handle errors in Fsubstitute_in_file_name. | |
2982 | Don't expect Fsignal to return. | |
f02cac82 | 2983 | |
048addec JD |
2984 | * eval.c: Errors and throws work right with interrupt blocking. |
2985 | (struct catchtag): New elt interrupt_input_blocked. | |
2986 | (unwind_to_catch): Restore interrupt_input_blocked from saved value. | |
2987 | (internal_catch, Fcondition_case, internal_condition_case) | |
2988 | (internal_condition_case_1, internal_condition_case_2): Save it. | |
2989 | (Fsignal): Don't do TOTALLY_UNBLOCK_INPUT. | |
f02cac82 | 2990 | |
048addec | 2991 | * editfns.c (Fformat): Add parens. |
f02cac82 | 2992 | |
048addec JD |
2993 | * dired.c (file_name_completion): Fix that change. |
2994 | Delete special quit-handling code; just use QUIT. | |
f02cac82 | 2995 | |
048addec | 2996 | 2002-12-21 Tak Ota <Takaaki.Ota@am.sony.com> (tiny change) |
f02cac82 | 2997 | |
048addec JD |
2998 | * dired.c (file_name_completion): Close directory on error |
2999 | just as in directory_files_internal. | |
1a590729 | 3000 | |
048addec | 3001 | 2002-12-19 David Kastrup <David.Kastrup@t-online.de> |
1a590729 | 3002 | |
048addec JD |
3003 | * window.c (Fset_window_configuration): Set old_point to correct |
3004 | value when new_current_buffer == current_buffer. | |
f02cac82 | 3005 | |
048addec | 3006 | 2002-12-17 Ben Key <bkey1@tampabay.rr.com> |
2308af15 | 3007 | |
048addec JD |
3008 | Revisited my earlier fix for the following entry in etc/PROBLEMS: |
3009 | "Emacs built on Windows 9x/ME crashes at startup on Windows XP, | |
3010 | or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." | |
9785d95b | 3011 | |
048addec JD |
3012 | These changes were in part based upon suggestions made by Peter |
3013 | 'Luna' Runestig [peter@runestig.com]. | |
9785d95b | 3014 | |
048addec JD |
3015 | * w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token, |
3016 | g_b_init_get_token_information, g_b_init_lookup_account_sid, | |
6bdb309a | 3017 | g_b_init_get_sid_identifier_authority ): Add several static |
048addec | 3018 | global variables. |
9785d95b | 3019 | |
048addec JD |
3020 | * w32.c (globals_of_w32): New function. Used to initialize those |
3021 | global variables that must always be initialized on startup even | |
3022 | when the global variable initialized is non zero. Its primary | |
3023 | purpose at this time is to set the global variables | |
3024 | g_b_init_is_windows_9x, g_b_init_open_process_token, | |
3025 | g_b_init_get_token_information, g_b_init_lookup_account_sid, and | |
3026 | g_b_init_get_sid_identifier_authority to 0 on startup. | |
3027 | Called from main. | |
9785d95b | 3028 | |
048addec JD |
3029 | * w32.c (is_windows_9x): Perform initialization only if |
3030 | g_b_init_is_windows_9x is equal to 0. On initialization set | |
3031 | g_b_init_is_windows_9x equal to 1. | |
2308af15 | 3032 | |
048addec JD |
3033 | * w32.c (open_process_token): Perform initialization only if |
3034 | g_b_init_open_process_token is equal to 0. On initialization set | |
3035 | g_b_init_open_process_token equal to 1. | |
2308af15 | 3036 | |
048addec JD |
3037 | * w32.c (get_token_information): Perform initialization only if |
3038 | g_b_init_get_token_information is equal to 0. On initialization | |
3039 | set g_b_init_get_token_information equal to 1. | |
9785d95b | 3040 | |
048addec JD |
3041 | * w32.c (lookup_account_sid): Perform initialization only if |
3042 | g_b_init_lookup_account_sid is equal to 0. On initialization | |
3043 | set g_b_init_lookup_account_sid equal to 1. | |
9785d95b | 3044 | |
048addec JD |
3045 | * w32.c (get_sid_identifier_authority): Perform initialization |
3046 | only if g_b_init_get_sid_identifier_authority is equal to 0. | |
3047 | On initialization set g_b_init_get_sid_identifier_authority equal to 1. | |
9785d95b | 3048 | |
048addec JD |
3049 | * w32fns.c (globals_of_w32fns): New function. Used to initialize |
3050 | those global variables that must always be initialized on startup | |
3051 | even when the global variable initialized is non zero. | |
3052 | Its primary purpose at this time is to initialize the global variable | |
3053 | track_mouse_event_fn. | |
9785d95b | 3054 | |
048addec JD |
3055 | * w32fns.c (w32_wnd_proc): Remove initialization of |
3056 | track_mouse_event_fn from the handler for the WM_SETFOCUS message. | |
9785d95b | 3057 | |
048addec | 3058 | * w32fns.c (syms_of_w32fns): Call globals_of_w32fns. |
9785d95b | 3059 | |
048addec JD |
3060 | * w32menu.c (globals_of_w32menu): New function. Used to |
3061 | initialize those global variables that must always be initialized | |
3062 | on startup even when the global variable initialized is non zero. | |
3063 | Its primary purpose at this time is to initialize the global | |
3064 | variables get_menu_item_info and set_menu_item_info. | |
9785d95b | 3065 | |
048addec JD |
3066 | * w32menu.c (initialize_frame_menubar): Remove initialization of |
3067 | get_menu_item_info and set_menu_item_info. | |
9785d95b | 3068 | |
048addec | 3069 | * w32menu.c (syms_of_w32menu): Call globals_of_w32menu. |
9785d95b | 3070 | |
048addec JD |
3071 | * w32.h (globals_of_w32, globals_of_w32fns, globals_of_w32menu): |
3072 | Declare them. | |
9785d95b | 3073 | |
048addec JD |
3074 | * emacs.c (main): Call globals_of_w32 prior to calling |
3075 | init_environment if WINDOWSNT is defined. Call globals_of_w32fns | |
3076 | and globals_of_w32menu if initialized is non zero and HAVE_NTGUI | |
3077 | is defined. | |
9785d95b | 3078 | |
048addec JD |
3079 | * w32term.c (x_update_window_begin): Fix Windows API error |
3080 | detected by BoundsChecker. Test to determine if | |
3081 | w32_system_caret_hwnd is NULL prior to attempting to use | |
3082 | SendMessage to send the WM_EMACS_HIDE_CARET message to it. | |
2308af15 | 3083 | |
048addec JD |
3084 | * w32term.c (x_update_window_end): Fix Windows API error |
3085 | detected by BoundsChecker. Test to determine if | |
3086 | w32_system_caret_hwnd is NULL prior to attempting to use | |
3087 | SendMessage to send the WM_EMACS_SHOW_CARET message to it. | |
b6da19ef | 3088 | |
048addec | 3089 | 2002-12-17 Kenichi Handa <handa@m17n.org> |
b6da19ef | 3090 | |
048addec JD |
3091 | * coding.c (coding_system_require_warning): New variable. |
3092 | (syms_of_coding): DEFVAR it. | |
b6da19ef | 3093 | |
048addec | 3094 | * coding.h (coding_system_require_warning): Extern it. |
b6da19ef | 3095 | |
048addec JD |
3096 | * fileio.c (choose_write_coding_system): Even if |
3097 | Vcoding_system_for_write is non-nil, if | |
3098 | coding_system_require_warning is nonzero, call | |
3099 | Vselect_safe_coding_system_function. | |
bfcf6dbe | 3100 | |
048addec | 3101 | 2002-12-17 Markus Rost <rost@math.ohio-state.edu> |
bfcf6dbe | 3102 | |
048addec JD |
3103 | * Makefile.in (lisp, shortlisp): Add cus-face and timer. |
3104 | (lisp): Add font-core. | |
2c568af5 | 3105 | |
048addec | 3106 | 2002-12-13 Stefan Monnier <monnier@cs.yale.edu> |
2c568af5 | 3107 | |
048addec JD |
3108 | * textprop.c (text_read_only): New arg `propval'. |
3109 | (get_char_property_and_overlay): Remove unused var `next_overlay'. | |
3110 | (verify_interval_modification): Use text_read_only's new arg. | |
b8c6225c | 3111 | |
048addec | 3112 | 2002-12-13 Kenichi Handa <handa@m17n.org> |
b8c6225c | 3113 | |
048addec | 3114 | * coding.c (Funencodable_char_position): Set pend correctly. |
706ddb8f | 3115 | |
048addec | 3116 | 2002-12-12 Jason Rumney <jasonr@gnu.org> |
706ddb8f | 3117 | |
048addec JD |
3118 | * w32term.c (last_mousemove_x, last_mousemove_y): New variables. |
3119 | (w32_read_socket) <WM_MOUSEMOVE>: Use them to detect non-movement. | |
3120 | Be more careful about when help_events are generated. | |
96720f09 | 3121 | |
048addec | 3122 | 2002-12-12 Steven Tamm <steventamm@mac.com> |
96720f09 | 3123 | |
048addec JD |
3124 | * macterm.c (mac_check_for_quit_char): Correctly set the |
3125 | modifiers of the event to 0. | |
3126 | * mac.c (sys_select): Duplicate rfds before calling select to | |
3127 | ensure that rfds survive the while loop. | |
e5ae1c49 | 3128 | |
048addec | 3129 | 2002-12-11 Kim F. Storm <storm@cua.dk> |
e5ae1c49 | 3130 | |
048addec JD |
3131 | * xdisp.c (try_window_id): Don't call set_cursor_from_row if |
3132 | row_containing_pos returned NULL. | |
2eb46b2d | 3133 | |
048addec | 3134 | 2002-12-10 Steven Tamm <steventamm@mac.com> |
2eb46b2d | 3135 | |
6bdb309a | 3136 | * mac.c (sys_read): Fix sys_read to not call select if IO is |
048addec | 3137 | non-blocking. |
6bdb309a | 3138 | (sys_select): Fix sys_select to not use a timeout larger than |
048addec | 3139 | the one given. |
b11f1d8a | 3140 | |
048addec | 3141 | 2002-12-10 Juanma Barranquero <lektu@terra.es> |
b11f1d8a | 3142 | |
048addec | 3143 | * editfns.c (Fformat): Use alloca, not _alloca. |
d8528226 | 3144 | |
048addec | 3145 | 2002-12-09 Richard M. Stallman <rms@gnu.org> |
d8528226 | 3146 | |
048addec JD |
3147 | * buffer.c (Fget_buffer_create): Call Qucs_set_table_for_input |
3148 | as the last thing. | |
a4ac5b17 | 3149 | |
048addec | 3150 | 2002-12-09 Dave Love <fx@gnu.org> |
a4ac5b17 | 3151 | |
048addec | 3152 | * s/sol2-8.h: Removed. (Not necessary.) |
ac42d7b9 | 3153 | |
048addec | 3154 | 2002-12-09 Matthew Swift <swift@alum.mit.edu> |
ac42d7b9 | 3155 | |
048addec JD |
3156 | * editfns.c (Fformat): Handle precision in string conversion |
3157 | specifiers like libc functions do (ie, print at most that many | |
3158 | characters). | |
85cce843 | 3159 | |
048addec | 3160 | 2002-12-08 Richard M. Stallman <rms@gnu.org> |
85cce843 | 3161 | |
048addec JD |
3162 | * xdisp.c (row_containing_pos): Check more carefully |
3163 | whether charpos is really in the row before returning it. | |
0d4d26a7 | 3164 | |
048addec | 3165 | 2002-12-07 Steven Tamm <steventamm@mac.com> |
0d4d26a7 | 3166 | |
048addec | 3167 | * sysdep.c (emacs_read) [HAVE_CARBON]: Have emacs_read use sys_read. |
b11f1d8a | 3168 | |
048addec JD |
3169 | * eval.c (Feval) [HAVE_CARBON]: Calls mac_check_for_quit_char at |
3170 | each stack frame. This may change as it could be time consuming. | |
0d4d26a7 | 3171 | |
048addec JD |
3172 | * macterm.c (mac_check_for_quit_char, quit_char_comp) |
3173 | (init_quit_char_handler, mac_determine_quit_char_modifiers) | |
6bdb309a | 3174 | (mac_initialize): Add code to check for pressing of quit_char |
048addec | 3175 | in the OS event queue. |
b11f1d8a | 3176 | |
048addec JD |
3177 | * mac.c (sys_select): Call mac_check_for_quit_char every second |
3178 | while blocking on select. | |
0d4d26a7 | 3179 | |
048addec JD |
3180 | * mac.c (sys_read): Use sys_select to test for input first |
3181 | before calling read, to allow C-g to break. | |
9252f7bc | 3182 | |
048addec | 3183 | 2002-12-07 Richard M. Stallman <rms@gnu.org> |
9252f7bc | 3184 | |
048addec | 3185 | * minibuf.c (Fcompleting_read): Doc fix. |
9252f7bc | 3186 | |
048addec | 3187 | * lread.c (syms_of_lread) <load-history>: Doc fix. |
9252f7bc | 3188 | |
048addec | 3189 | * fileio.c (Fcopy_file): Set immediate_quit around emacs_open call. |
9252f7bc | 3190 | |
048addec JD |
3191 | * eval.c (Fdefun, Fdefmacro): Record in load-history redefining an |
3192 | autoload. | |
9252f7bc | 3193 | |
048addec | 3194 | * data.c (Fdefalias): Record in load-history redefining an autoload. |
9252f7bc | 3195 | |
048addec | 3196 | * alloca.c: Undo ifdef change accidentally made on 12-04. |
bfa261c0 | 3197 | |
048addec | 3198 | 2002-12-06 Francesco Potorti` <pot@gnu.org> |
bfa261c0 | 3199 | |
048addec | 3200 | * xfns.c (png_load): Avoid double gamma correction for PNG images. |
c5992177 | 3201 | |
048addec | 3202 | 2002-12-04 Richard M. Stallman <rms@gnu.org> |
c5992177 | 3203 | |
048addec | 3204 | * sysdep.c (fcntl.h): Test only HAVE_FCNTL_H. |
c5992177 | 3205 | |
048addec | 3206 | * fileio.c (fcntl.h): Test only HAVE_FCNTL_H. |
c5992177 | 3207 | |
048addec | 3208 | * alloca.c: Don't use #error. |
02d588e2 | 3209 | |
048addec | 3210 | 2002-12-03 Dave Love <fx@gnu.org> |
02d588e2 | 3211 | |
048addec JD |
3212 | * buffer.c (Qucs_set_table_for_input): New. |
3213 | (Fget_buffer_create): Use it. | |
3214 | (Qset_buffer_major_mode_hook): Deleted. | |
3215 | (Fset_buffer_major_mode): Revert previous change. | |
3216 | (init_buffer_once): Intern ucs-set-table-for-input. | |
3217 | (syms_of_buffer): Delete Qset_buffer_major_mode_hook. | |
3218 | Add &Qucs_set_table_for_input. | |
451e2697 | 3219 | |
048addec | 3220 | 2002-12-03 Andreas Schwab <schwab@suse.de> |
451e2697 | 3221 | |
048addec JD |
3222 | * callint.c (Fcall_interactively): Use next_event only if less |
3223 | than key_count. | |
72742a99 | 3224 | |
048addec | 3225 | 2002-12-02 Andrew Choi <akochoi@shaw.ca> |
72742a99 | 3226 | |
048addec JD |
3227 | * macmenu.c (add_menu_item, fill_menubar): Truncate menu item |
3228 | names to 255 characters. | |
72742a99 | 3229 | |
048addec JD |
3230 | * macterm.c (XTread_socket): If all frames have been collapsed, |
3231 | expand the first one before handling drag-and-drop events. | |
72742a99 | 3232 | |
048addec JD |
3233 | * s/darwin.h (GETPGRP_NO_ARG): Delete. Replaced by GETPGRP_VOID, |
3234 | which is detected by autoconf. | |
40e6ff95 | 3235 | |
048addec | 3236 | 2002-12-01 Steven Tamm <steventamm@mac.com> |
40e6ff95 | 3237 | |
048addec JD |
3238 | * unexmacosx.c (copy_twolevelhints, dump_it): Now corrects the |
3239 | offset in two hints table to allow prebinding to be redone and | |
3240 | allow the executable to be stripped. | |
c02138c6 | 3241 | |
048addec | 3242 | 2002-11-29 Dave Love <fx@gnu.org> |
c02138c6 | 3243 | |
048addec JD |
3244 | * fns.c (Frequire): Don't call LOADHIST_ATTACH if feature was |
3245 | already provided. | |
0e47bbf7 | 3246 | |
048addec | 3247 | 2002-11-29 Richard M. Stallman <rms@gnu.org> |
0e47bbf7 | 3248 | |
048addec JD |
3249 | * xdisp.c (start_display): Check more intelligently for |
3250 | whether the line is continued. | |
3251 | (move_it_vertically_backward): Clear it->continuation_lines_width. | |
44129dcb | 3252 | |
048addec | 3253 | 2002-11-28 Dave Love <fx@gnu.org> |
44129dcb | 3254 | |
048addec JD |
3255 | * s/amdahl.h, s/unipl5-0.h, m/sgi3000.h, s/3700.h, s/alliant-2800.h: |
3256 | * s/alliant.h, s/altos.h: Deleted. (Unused/empty.) | |
f707342d | 3257 | |
048addec | 3258 | 2002-11-27 Steven Tamm <steventamm@mac.com> |
f707342d | 3259 | |
048addec JD |
3260 | * fns.c (Frequire): Change nesting allowance from 2 to 3 to cause |
3261 | more descriptive error output from lread.c:Fload upon most require | |
3262 | cycles during boostrapping. | |
1637fd2c | 3263 | |
048addec | 3264 | 2002-11-27 Jason Rumney <jasonr@gnu.org> |
1637fd2c | 3265 | |
048addec JD |
3266 | * fileio.c (Finsert_file_contents): Give a more appropriate error |
3267 | for files bigger than 2Gb when off_t is 32 bit. | |
1637fd2c | 3268 | |
048addec JD |
3269 | * dired.c (Ffile_attributes): Don't return negative file sizes for |
3270 | files bigger than 2Gb when off_t is 32 bit. | |
540c2788 | 3271 | |
048addec | 3272 | 2002-11-27 Dave Love <fx@gnu.org> |
6b2fd6ea | 3273 | |
048addec | 3274 | * s/irix6-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. |
6b2fd6ea | 3275 | |
048addec JD |
3276 | * systty.h: Don't conditionally define GETPGRP_NO_ARG. |
3277 | Test GETPGRP_VOID instead. | |
3278 | [BSD_TERMIOS]: Remove definitions (never used). | |
6b2fd6ea | 3279 | |
048addec JD |
3280 | * s/osf5-0.h (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist): |
3281 | Don't define. | |
3282 | (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
540c2788 | 3283 | |
048addec | 3284 | * m/mips.h (WORDS_BIG_ENDIAN): Define conditionally. |
8cc03716 | 3285 | |
048addec | 3286 | 2002-11-25 Jason Rumney <jasonr@gnu.org> |
8cc03716 | 3287 | |
048addec JD |
3288 | * w32.c (sys_write): Avoid non-blocking mode, which is not fully |
3289 | supported. | |
4042a81a | 3290 | |
048addec | 3291 | 2002-11-25 Dave Love <fx@gnu.org> |
4042a81a | 3292 | |
048addec | 3293 | * unexalpha.c (update_dynamic_symbols): Cast arg of fatal_unexec. |
4042a81a | 3294 | |
048addec | 3295 | * Makefile.in (TEMACS_LDFLAGS): Update last change. |
be4ee72f | 3296 | |
048addec | 3297 | 2002-11-25 Andreas Schwab <schwab@suse.de> |
be4ee72f | 3298 | |
048addec | 3299 | * m/ia64.h: Restore `#ifndef NOT_C_CODE' deleted by last change. |
82122254 | 3300 | |
048addec | 3301 | 2002-11-24 Steven Tamm <steventamm@mac.com> |
82122254 | 3302 | |
048addec JD |
3303 | * unexmacosx.c (unexec_realloc): Use malloc_default_zone to |
3304 | determine the size of pointers alloced in unexed space instead | |
3305 | of using possibly invalid emacs_zone pointers. This fixes the | |
3306 | binary incompatibility problems caused by updates to libSystem.B. | |
c1ee53bc | 3307 | |
048addec | 3308 | 2002-11-24 Richard M. Stallman <rms@gnu.org> |
c1ee53bc | 3309 | |
048addec | 3310 | * search.c (Fstring_match): Doc fix. |
c1ee53bc | 3311 | |
048addec JD |
3312 | * callint.c (Fcall_interactively): If a command fails because |
3313 | `*' detects a read-only buffer, but RECORD_FLAG is set, | |
3314 | record it anyway if the args don't actually do tty input. | |
5598c32e | 3315 | |
048addec | 3316 | 2002-11-22 Dave Love <fx@gnu.org> |
5598c32e | 3317 | |
048addec | 3318 | * sysdep.c (stuff_char) [PROTOTYPES]: Provide ISO C arglist. |
5598c32e | 3319 | |
048addec JD |
3320 | * keyboard.c (interrupt_signal): Provide forward declaration. |
3321 | (kbd_buffer_store_event): Don't declare interrupt_signal. | |
5598c32e | 3322 | |
048addec | 3323 | * xdisp.c (store_frame_title_char) [PROTOTYPES]: Provide ISO C arglist. |
97b14e22 | 3324 | |
048addec | 3325 | 2002-11-21 Richard M. Stallman <rms@gnu.org> |
97b14e22 | 3326 | |
048addec JD |
3327 | * eval.c (interactive_p): Skip any number of bytecode |
3328 | and special form frames, in any order. | |
516eea8e | 3329 | |
048addec | 3330 | 2002-11-20 Jason Rumney <jasonr@gnu.org> |
516eea8e | 3331 | |
048addec JD |
3332 | * w32fns.c (convert_mono_to_color_image): New function. |
3333 | (xbm_load, xbm_load_image): Use it when foreground or background | |
3334 | is explicitly set. | |
04dbfa08 | 3335 | |
048addec | 3336 | 2002-11-19 Dave Love <fx@gnu.org> |
04dbfa08 | 3337 | |
048addec | 3338 | * s/usg5-4.h, sco4.h (bcopy, bzero, bcmp): Don't define. |
b4aebae3 | 3339 | |
048addec | 3340 | 2002-11-18 Jason Rumney <jasonr@gnu.org> |
b4aebae3 | 3341 | |
048addec JD |
3342 | * w32fns.c (x_build_heuristic_mask): Filter palette info from color. |
3343 | (XPutPixel): Swap blue and red. | |
3344 | (xpm_format, pbm_format, png_format, jpeg_format, tiff_format) | |
3345 | (gif_format, gs_format): Use IMAGE_ASCENT_VALUE. | |
3346 | (xpm_image_p, pbm_image_p, png_image_p, jpeg_image_p) | |
3347 | (tiff_image_p, gif_image_p, gs_image_p): Don't check ascent. | |
1998560a | 3348 | |
048addec | 3349 | 2002-11-18 Dave Love <fx@gnu.org> |
d824beee | 3350 | |
048addec | 3351 | * m/orion105.h (HAVE_ALLOCA): Don't define. |
d824beee | 3352 | |
048addec | 3353 | * m/m68k.h, m/arm.h, mtekxd88.h, m/tower32v3.h: Don't define alloca. |
d824beee | 3354 | |
048addec | 3355 | * m/intel386.h: Don't include alloca.h or define alloca. |
d824beee | 3356 | |
048addec JD |
3357 | * m/ia64.h: Don't include alloca.h, stdlib.h. Don't declare |
3358 | malloc, realloc, calloc. | |
d824beee | 3359 | |
048addec JD |
3360 | * m/hp800.h, m/sr2k.h, m/ns16000.h, m/wicat.h (bcopy, bzero) |
3361 | (bcmp): Don't define. | |
d824beee | 3362 | |
048addec | 3363 | * m/delta.h (bcopy, bzero, bcmp, alloca): Don't define. |
d824beee | 3364 | |
048addec | 3365 | * m/amdahl.h: Don't define LIB_STANDARD. |
d824beee | 3366 | |
048addec | 3367 | * m/alpha.h: Move OSF1 stuff from here to s/osf1.h. |
d824beee | 3368 | |
048addec | 3369 | * s/osf1.h: Move OSF1 stuff from m/alpha.h to here. |
d824beee | 3370 | |
048addec JD |
3371 | * s/irix4-0.h, s/irix5-0.h, m/powerpcle.h, m/sparc.h: |
3372 | Don't include alloca.h. | |
d824beee | 3373 | |
048addec | 3374 | * s/aix3-2.h (HAVE_FSYNC): Don't define. |
1998560a | 3375 | |
048addec | 3376 | * regex.c (_GNU_SOURCE): Don't define. |
1998560a | 3377 | |
048addec | 3378 | * process.c (_GNU_SOURCE): Don't define. |
1998560a | 3379 | |
048addec | 3380 | * fileio.c (_GNU_SOURCE, HAVE_FSYNC): Don't define. |
8704a6ab | 3381 | |
048addec | 3382 | 2002-11-18 Markus Rost <rost@math.ohio-state.edu> |
8704a6ab | 3383 | |
048addec | 3384 | * s/sol2-8.h: Include sol2-6.h. |
6ae2cd57 | 3385 | |
048addec | 3386 | 2002-11-18 Miles Bader <miles@gnu.org> |
6ae2cd57 | 3387 | |
048addec JD |
3388 | * dispextern.h (struct face): Add `overstrike' field. |
3389 | * xterm.c (x_draw_glyph_string_foreground) | |
3390 | (x_draw_composite_glyph_string_foreground): Implement overstriking. | |
3391 | * xfaces.c (load_face_font): Set `face->overstrike' based on | |
3392 | result from choose_face_font. | |
3393 | (best_matching_font, choose_face_font): Add `needs_overstrike' | |
3394 | argument, and use it to return whether overstriking is desirable | |
3395 | for this face/font combo. | |
3396 | (set_font_frame_param: Pass new argument to choose_face_font. | |
6ae2cd57 | 3397 | |
048addec | 3398 | 2002-11-17 Ben Key <BKey1@tampabay.rr.com> |
3582b6a3 | 3399 | |
048addec JD |
3400 | This change is my fix for the following entry in etc/PROBLEMS: |
3401 | "Emacs built on Windows 9x/ME crashes at startup on Windows XP, | |
3402 | or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." | |
f60ae425 | 3403 | |
048addec JD |
3404 | * w32.c: Added wrapper functions around the win32 API functions |
3405 | OpenProcessToken, GetTokenInformation, LookupAccountSid, and | |
3406 | GetSidIdentifierAuthority. These wrapper functions serve two | |
3407 | purposes: | |
3408 | 1. They ensure that the wrapped function can never be called | |
3409 | when Emacs is running on an operating system on which they are | |
3410 | not supported (Microsoft Windows 95 / 98 / ME). | |
3411 | 2. They call the wrapped functions via function pointers rather | |
3412 | than calling them directly. This avoids taking advantage of the | |
3413 | undocumented fact that although these functions are not supported | |
3414 | in the 9x branch of Microsoft Windows, the functions do exist in | |
3415 | the version of advapi32.dll that is found in the 9x branch of | |
3416 | Microsoft Windows. | |
f60ae425 | 3417 | |
6bdb309a | 3418 | * w32.c (init_user_info): Replace the calls to the win32 API |
048addec JD |
3419 | functions OpenProcessToken, GetTokenInformation, LookupAccountSid, |
3420 | and GetSidIdentifierAuthority with calls to the newly added | |
3421 | wrapper functions. | |
f60ae425 | 3422 | |
048addec JD |
3423 | * w32.h: Added extern declarations for the following functions: |
3424 | syms_of_w32term, syms_of_w32fns, syms_of_w32select, | |
3425 | syms_of_w32menu, and void syms_of_fontset. | |
f60ae425 | 3426 | |
6bdb309a | 3427 | * w32fns.c (w32_wnd_proc): Add code to reinitialize the |
048addec JD |
3428 | function pointer track_mouse_event_fn in the handler for the |
3429 | WM_SETFOCUS message. | |
3582b6a3 | 3430 | |
6bdb309a | 3431 | * w32menu.c (initialize_frame_menubar): Add code to |
048addec JD |
3432 | reinitialize the function pointers set_menu_item_info and |
3433 | get_menu_item_info. | |
f60ae425 | 3434 | |
048addec | 3435 | 2002-11-17 Ben Key <BKey1@tampabay.rr.com> |
f60ae425 | 3436 | |
048addec JD |
3437 | * sound.c: Added a partial implementation of play-sound-internal |
3438 | for Microsoft Windows. Added various #ifdef / #else / #endif | |
3439 | code blocks to separate the code that will compile under | |
3440 | Microsoft Windows from the code that is specific to Gnu/Linux. | |
3441 | Moved several blocks of code around to make this separation of code | |
3442 | into Windows compatible and Gnu/Linux compatible code blocks easier. | |
f60ae425 | 3443 | |
048addec | 3444 | * makefile.w32-in: Include sound.c and link with WinMM.lib. |
a0f0878d | 3445 | |
048addec JD |
3446 | * s/ms-w32.h: Defined the symbol HAVE_SOUND so that the newly |
3447 | added support for play-sound-internal under Windows would be | |
3448 | included in the build of Emacs. | |
517f42a0 | 3449 | |
048addec | 3450 | 2002-11-16 Jason Rumney <jasonr@gnu.org> |
517f42a0 | 3451 | |
048addec | 3452 | * w32fns.c (w32_load_system_font): Don't disable Cleartype. |
517f42a0 | 3453 | |
048addec | 3454 | * w32term.c (w32_get_glyph_string_clip_rect): Clip cursor tightly. |
a0f0878d | 3455 | |
048addec | 3456 | 2002-11-15 Stefan Monnier <monnier@cs.yale.edu> |
a0f0878d | 3457 | |
048addec JD |
3458 | * keyboard.c (command_loop_1): Fix int/Lisp_Object mixup. |
3459 | (adjust_point_for_property): Move out of display and invisible even if | |
3460 | we were already inside before (in case a property was added while | |
3461 | we weren't looking). Be more careful when handling invisible props. | |
3462 | Skip invisible text as if it really wasn't there at all. | |
aab83f91 | 3463 | |
048addec | 3464 | 2002-11-15 Jason Rumney <jasonr@gnu.org> |
aab83f91 | 3465 | |
048addec JD |
3466 | * w32term.c (x_draw_image_foreground) |
3467 | (w32_draw_image_foreground_1): Use standard copy and invert | |
3468 | operations to draw images. | |
aab83f91 | 3469 | |
048addec JD |
3470 | * w32fns.c (x_create_x_image_and_pixmap): Fill in palette for |
3471 | depth of 1. | |
3472 | (xbm_read_bitmap_data): Invert bits as xbm is read in. | |
3473 | (XPutPixel): Don't invert bits here. | |
a4478a76 | 3474 | |
048addec | 3475 | 2002-11-15 Jason Rumney <jasonr@gnu.org> |
a4478a76 | 3476 | |
048addec JD |
3477 | * w32term.c (x_draw_image_foreground, x_draw_image_glyph_string) |
3478 | (w32_draw_image_foreground_1): Handle image masks. | |
3479 | (x_draw_image_glyph_string): Don't BitBlt transparently. | |
a4478a76 | 3480 | |
048addec JD |
3481 | * w32fns.c (w32_defined_color): Adjust RGB values for Emacs. |
3482 | (x_from_xcolors): Adjust RGB values for W32. | |
3483 | (image_background, image_background_transparent) | |
3484 | (postprocess_image, x_to_xcolors, x_disable_image) | |
3485 | (x_build_heuristic_mask): Adapt for W32 and enable. | |
3486 | (x_create_x_image_and_pixmap): Mark images with palettes as such. | |
3487 | (xbm_load): Remove unused variable. | |
03670a65 | 3488 | |
048addec | 3489 | 2002-11-14 Richard M. Stallman <rms@gnu.org> |
03670a65 | 3490 | |
048addec | 3491 | * buffer.c (syms_of_buffer): Doc fix. |
59daa29a | 3492 | |
048addec | 3493 | 2002-11-14 Dave Love <fx@gnu.org> |
59daa29a | 3494 | |
048addec | 3495 | * alloc.c (SETJMP_WILL_NOT_WORK): Add note. |
59daa29a | 3496 | |
048addec JD |
3497 | * xterm.c (x_draw_relief_rect, x_draw_box_rect, x_update_cursor): |
3498 | * xmenu.c (unuse_menu_items, digest_single_submenu): | |
3499 | * xfns.c (x_put_x_image): | |
3500 | * xdisp.c (message2_nolog, set_message): | |
3501 | * undo.c (record_point): | |
3502 | * terminfo.c (tparam): | |
3503 | * syntax.c (scan_sexps_forward): | |
3504 | * scroll.c (calculate_scrolling, calculate_direct_scrolling): | |
3505 | * composite.c (update_compositions): | |
3506 | * cm.c (calccost, cmgoto): | |
3507 | * charset.c (c_string_width): Declare all args (per C99). | |
59daa29a | 3508 | |
048addec | 3509 | * frame.h (get_specified_cursor_type, get_window_cursor_type): Declare. |
59daa29a | 3510 | |
048addec JD |
3511 | * lisp.h (get_specified_cursor_type, get_window_cursor_type): |
3512 | Don't declare. | |
59daa29a | 3513 | |
048addec | 3514 | * emacs.c (main) [!VMS]: Avoid third arg. |
59daa29a | 3515 | |
048addec JD |
3516 | * fns.c (Fcopy_sequence): Doc fix. |
3517 | (Fmap_char_table): Cast `call2'. | |
3947677c | 3518 | |
048addec JD |
3519 | 2002-11-14 Francesco Potorti` <pot@gnu.org> |
3520 | ||
3521 | * s/sol2-8.h: New file. | |
3522 | ||
3523 | 2002-11-14 Kim F. Storm <storm@cua.dk> | |
3524 | ||
3525 | * buffer.c (syms_of_buffer) <mode-line-format>: Document symbol | |
3526 | dependency on `risky-local-variable' and the :propertize form. | |
3527 | ||
3528 | 2002-11-12 Stefan Monnier <monnier@cs.yale.edu> | |
3529 | ||
3530 | * fns.c (Fmap_char_table): Don't use map_char_table's function arg. | |
3531 | ||
3532 | * syntax.c (scan_sexps_forward): Undo last patch. | |
3533 | Use a more obvious fix: check eob before updating the syntax table. | |
3534 | ||
3535 | 2002-11-09 Stefan Monnier <monnier@cs.yale.edu> | |
3536 | ||
3537 | * syntax.c (scan_sexps_forward): Update syntax table before reading | |
3538 | a char rather than after so we don't update the table past eob. | |
3539 | ||
3540 | 2002-11-09 Dave Love <fx@gnu.org> | |
3541 | ||
3542 | * buffer.c (Fset_buffer_major_mode): Fix last change. | |
3543 | ||
3544 | * regex.c (regexec): Fix pmatch declaration. | |
3545 | ||
3546 | * cmds.c (Fself_insert_command): Apply Vtranslation_table_for_input. | |
3547 | ||
3548 | * keyboard.c (command_loop_1): Apply Vtranslation_table_for_input | |
3549 | to self-inserting characters. | |
3550 | (syms_of_keyboard) <keyboard-translate-table>: Doc fix. | |
3551 | ||
3552 | * coding.c (Vtranslation_table_for_input): New. | |
3553 | (syms_of_coding): DEFVAR it. | |
3554 | ||
3555 | 2002-11-08 Juanma Barranquero <lektu@terra.es> | |
3556 | ||
3557 | * w32term.c (w32_draw_fringe_bitmap): Remove unused local variable | |
3558 | window. | |
3559 | ||
3560 | 2002-11-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
3561 | ||
6bdb309a | 3562 | * process.c (Fformat_network_address): Remove unused locals p, |
048addec JD |
3563 | cp, and i. |
3564 | ||
3565 | 2002-11-06 Dave Love <fx@gnu.org> | |
3566 | ||
3567 | * buffer.c (Qset_buffer_major_mode_hook): New. | |
3568 | (Fset_buffer_major_mode): Use it. | |
3569 | ||
3570 | 2002-11-06 Richard M. Stallman <rms@gnu.org> | |
3571 | ||
3572 | * xterm.c (x_term_init): Use turn_on_atimers, not start_polling | |
3573 | and stop_polling. | |
3574 | ||
3575 | * process.c (wait_reading_process_input): | |
3576 | Test POLLING_PROBLEM_IN_SELECT, not hpux. | |
3577 | Avoid initialization for auto Lisp_Object var. | |
3578 | ||
3579 | * s/hpux11.h (POLLING_PROBLEM_IN_SELECT): Add #undef. | |
3580 | ||
3581 | * s/hpux10.h (POLLING_PROBLEM_IN_SELECT): Defined. | |
3582 | ||
3583 | 2002-11-05 Richard M. Stallman <rms@gnu.org> | |
3584 | ||
3585 | * s/sol2-5.h (BROKEN_SIGIO): Turn off the #undef. | |
3586 | ||
3587 | * callint.c (Fcall_interactively): New local filter_specs. | |
3588 | (Fcall_interactively): Check for progn as well as let. | |
3589 | Add a gcpro. | |
3590 | (Qprogn): New variable. | |
3591 | (syms_of_callint): Staticpro and init Qprogn. | |
3592 | ||
3593 | 2002-11-04 John Paul Wallington <jpw@shootybangbang.com> | |
3594 | ||
3595 | * lread.c (Feval_buffer): Doc fix. | |
3596 | ||
3597 | 2002-11-04 Dave Love <fx@gnu.org> | |
3598 | ||
3599 | * keyboard.c (read_char): Always translate iff | |
3600 | Vkeyboard_translate_table is a char table and c is valid. | |
3601 | ||
3602 | * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table | |
3603 | and fix C types. | |
3604 | ||
3605 | 2002-11-03 Stefan Monnier <monnier@cs.yale.edu> | |
3606 | ||
3607 | * xdisp.c (single_display_prop_intangible_p): Strings are intangible. | |
3608 | ||
3609 | * editfns.c (get_pos_property): Don't hardcode Qfield. | |
3610 | ||
3611 | * keyboard.c (adjust_point_for_property): Handle `display' prop on | |
3612 | overlays. Also handle `invisible' prop. | |
3613 | ||
3614 | 2002-11-02 Stefan Monnier <monnier@cs.yale.edu> | |
3615 | ||
3616 | * coding.c (decode_coding_emacs_mule, decode_coding_iso2022) | |
3617 | (decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL. | |
3618 | ||
3619 | 2002-11-01 Andreas Schwab <schwab@suse.de> | |
3620 | ||
3621 | * editfns.c (Fmessage): Revert last change to properly handle %%. | |
3622 | ||
3623 | 2002-11-01 Stefan Monnier <monnier@cs.yale.edu> | |
3624 | ||
3625 | * xmenu.c (unuse_menu_items): New fun. | |
3626 | (menu_items_inuse): New var. | |
3627 | (syms_of_xmenu): Initialize it. | |
3628 | (init_menu_items): Use it to detect re-entrance. | |
3629 | (Fx_popup_menu, Fx_popup_dialog, set_frame_menubar): Reset when done. | |
3630 | (Fx_popup_menu): Remove spurious XSETFRAME. | |
3631 | ||
3632 | * editfns.c (find_field): Make an exception for nil fields. | |
3633 | ||
3634 | 2002-11-01 Dave Love <fx@gnu.org> | |
3635 | ||
3636 | * m/gec63.h: Deleted. | |
3637 | ||
3638 | 2002-10-31 Dave Love <fx@gnu.org> | |
3639 | ||
3640 | * xterm.c (XTread_socket): Fix last change. | |
3641 | (xaw_scroll_callback): Cast call_data to long to avoid warning. | |
3642 | ||
3643 | 2002-10-31 Stefan Monnier <monnier@cs.yale.edu> | |
3644 | ||
3645 | * process.c (Fformat_network_address): Fix int/Lisp_Object mixup. | |
3646 | ||
3647 | 2002-10-30 Stefan Monnier <monnier@cs.yale.edu> | |
3648 | ||
3649 | * editfns.c (overlays_around, get_pos_property): New funs. | |
3650 | (find_field): Use them. | |
3651 | Also be careful not to modify POS before its last use. | |
3652 | (Fmessage): Don't Fformat if there's nothing to format. | |
3653 | ||
3654 | 2002-10-30 Dave Love <fx@gnu.org> | |
3655 | ||
3656 | * process.c [HAVE_SYS_WAIT]: Include sys/wait.h. | |
3657 | [HAVE_PTY_H]; Include pty.h. | |
3658 | ||
3659 | * lread.c (Fload) <!load_dangerous_libraries>: Close fd. | |
3660 | ||
3661 | * xterm.c (Qeql): Declare. | |
3662 | (Vx_keysym_table): New. | |
3663 | (syms_of_xterm): Initialize it. | |
3664 | (XTread_socket): Use it. Deal with ASCII keysyms. | |
3665 | (XSetIMValues) [HAVE_X11R6]: Prototype. | |
3666 | ||
3667 | * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extended. | |
3668 | (lispy_kana_keys): Comment out. | |
3669 | (make_lispy_event) [XK_kana_A]: Comment out. | |
3670 | (modify_event_symbol) <sizeof (long) == sizeof (EMACS_INT)>: | |
3671 | Fix sprintf call. | |
3672 | ||
3673 | * s/osf5-0.h (C_SWITCH_SYSTEM): Revert last change (fixed by | |
3674 | regexp.h change). | |
3675 | (TERMINFO, LIBS_TERMCAP): Define. | |
3676 | ||
3677 | * s/usg5-4.h (bcopy, bzero): Define conditional on HAVE_BCOPY. | |
3678 | (bcmp): Define conditional on HAVE_BCMP. | |
3679 | (NO_SIOCTL_H): Don't define. | |
3680 | (TIOCSIGSEND): Don't make conditional on IRIX6. | |
3681 | ||
3682 | * s/sol2-5.h: Don't include strings.h. | |
3683 | (bcopy, bzero, bcmp) [HAVE_BCOPY]: Don't undef. | |
3684 | ||
3685 | * s/irix6-0.h (IRIX6): Don't define. | |
3686 | (bcopy, bcmp, bzero): Don't undef. | |
3687 | ||
3688 | * s/irix6-5.h: Don't include strings.h. | |
3689 | (IRIX6): Don't define. | |
3690 | (bcopy, bcmp, bzero): Don't undef. | |
3691 | ||
3692 | * syntax.c (Fforward_comment): Doc fix. | |
3693 | ||
3694 | 2002-10-29 Kim F. Storm <storm@cua.dk> | |
3695 | ||
3696 | * process.c (Fsignal_process): Allow PROCESS to be specified by | |
3697 | name in addition to pid (as integer or string). | |
3698 | ||
3699 | 2002-10-28 Harald Maier <Harald.Maier.BW@t-online.de> (tiny change) | |
3700 | ||
3701 | * w32heap.c: Don't redefine _heap_init and _heap_term on MSVC 7 build | |
3702 | environments. | |
3703 | ||
3704 | 2002-10-27 Kim F. Storm <storm@cua.dk> | |
3705 | ||
3706 | * xterm.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
3707 | ||
3708 | * w32term.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
3709 | ||
3710 | * msdos.c (IT_note_mouse_highlight): Don't use mouse-face if hidden. | |
3711 | ||
3712 | * macterm.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
3713 | ||
3714 | 2002-10-26 Richard M. Stallman <rms@gnu.org> | |
3715 | ||
3716 | * editfns.c (Fformat): Detect invalid format letters for floats. | |
3717 | ||
3718 | 2002-10-25 Kenichi Handa <handa@m17n.org> | |
3719 | ||
3720 | * xfns.c (x_set_name): Encode by Qcompound_text unconditionally. | |
3721 | (x_set_title): Likewise. | |
3722 | ||
3723 | 2002-10-25 Juanma Barranquero <lektu@terra.es> | |
3724 | ||
3725 | * macgui.h: | |
3726 | * w32gui.h: Remove definition of XColor. | |
3727 | ||
3728 | * dispextern.h [!HAVE_X_WINDOWS]: Define XColor. | |
3729 | ||
3730 | 2002-10-24 Kim F. Storm <storm@cua.dk> | |
3731 | ||
3732 | * xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR. | |
3733 | Callers changed (supply dummy arg). | |
3734 | ||
3735 | * lisp.h (get_window_cursor_type): Update prototype. | |
3736 | ||
3737 | * w32term.c (x_display_and_set_cursor): Get active_cursor from | |
3738 | get_window_cursor_type to track system caret. | |
3739 | ||
3740 | 2002-10-24 Kim F. Storm <storm@cua.dk> | |
3741 | ||
3742 | * process.c (Fformat_network_address): New function. | |
3743 | (syms_of_process): Defsubr it. | |
3744 | (list_processes_1): Use it to format :local/:remote address if | |
3745 | service/host is not set; before emacs would crash in that case. | |
3746 | (Fmake_network_process): Don't use Ffind_operation_coding_system | |
3747 | to setup coding system if host or service is not set. | |
3748 | ||
3749 | 2002-10-23 Juanma Barranquero <lektu@terra.es> | |
3750 | ||
3751 | Patch suggested by Jay Finger <jay_finger@hotmail.com>. | |
3752 | ||
3753 | * w32term.c (w32_term_init): Pass XColor to w32_define_color, not | |
3754 | COLORREF. | |
3755 | ||
3756 | * macgui.h: | |
3757 | * w32gui.h: Add definition of XColor. | |
3758 | ||
3759 | * macfns.c: | |
3760 | * w32fns.c: | |
3761 | * xfaces.c: Remove definition of XColor. | |
3762 | ||
3763 | 2002-10-22 Stefan Monnier <monnier@cs.yale.edu> | |
3764 | ||
3765 | * xfns.c (x_set_name, x_set_title): `icon.value' has unsigned char. | |
3766 | ||
3767 | * window.c (window_loop): For GET_LRU_WINDOW and GET_LARGEST_WINDOW>, | |
3768 | Only ignore truly dedicated windows. For UNSHOW_BUFFER, delete the | |
3769 | window if it is dedicated. | |
3770 | (Fshrink_window): Add preserve_before as was done for enlarge_window. | |
3771 | (Vspecial_display_function): Update docstring. | |
3772 | ||
3773 | * buffer.c (assoc_ignore_text_properties, Fother_buffer, Fkill_buffer) | |
3774 | (call_overlay_mod_hooks): Use CONSP and XCAR/XCDR. | |
3775 | (Fget_buffer_create, advance_to_char_boundary): Use BEG and BEG_BYTE; | |
3776 | ||
3777 | 2002-10-21 Stefan Monnier <monnier@cs.yale.edu> | |
3778 | ||
3779 | * casefiddle.c (casify_region): Don't treat a prefix char as part | |
3780 | of a word when at the beginning. | |
3781 | ||
3782 | 2002-10-17 Juanma Barranquero <lektu@terra.es> | |
3783 | ||
3784 | * lread.c (syms_of_lread): Fix typos. | |
3785 | ||
3786 | 2002-10-17 Dave Love <fx@gnu.org> | |
3787 | ||
3788 | * Makefile.in (TEMACS_LDFLAGS): Add trailing comment. | |
3789 | ||
3790 | 2002-10-16 Richard M. Stallman <rms@gnu.org> | |
3791 | ||
3792 | * fileio.c (Fcopy_file): Fix backward test of KEEP_TIME. | |
3793 | ||
3794 | 2002-10-14 Juanma Barranquero <lektu@terra.es> | |
3795 | ||
3796 | * w16select.c (syms_of_win16select): Fix docstring for | |
3797 | `selection-coding-system'. | |
3798 | ||
3799 | * w32select.c (syms_of_w32select): Likewise. | |
3800 | ||
3801 | 2002-10-14 Stefan Monnier <monnier@cs.yale.edu> | |
3802 | ||
3803 | * syntax.c (scan_lists): Don't get fooled by a symbol ending with | |
3804 | a backslash-quoted char. | |
3805 | (scan_lists, scan_sexps_forward): Pacify the compiler. | |
3806 | ||
3807 | 2002-10-13 Richard M. Stallman <rms@gnu.org> | |
3808 | ||
3809 | * window.c (window_scroll): Set immediate_quit. | |
3810 | ||
3811 | * print.c (print): When backquote form is the car of a list, | |
3812 | output in old style. Use old_backquote_output to output all | |
3813 | comma forms inside it in old style too. | |
3814 | ||
3815 | * buffer.h (struct buffer): Move `undo_list' down below `name'. | |
3816 | ||
3817 | 2002-10-11 Markus Rost <rost@math.ohio-state.edu> | |
3818 | ||
3819 | * emacs.c (syms_of_emacs) <kill-emacs-hook>: Doc fix (not run in | |
3820 | batch mode). | |
3821 | ||
3822 | * lread.c (Fload): Doc fix (load-suffixes). | |
3823 | ||
3824 | 2002-10-10 Steven Tamm <steventamm@mac.com> | |
3825 | ||
3826 | * macterm.c (syms_of_macterm, mac_get_mouse_btn): | |
3827 | Reverse functionality of mac-wheel-button-is-mouse-2 to be correct. | |
3828 | Also switch the default to Qnil from Qt. | |
3829 | ||
3830 | 2002-10-08 Kenichi Handa <handa@m17n.org> | |
3831 | ||
3832 | * coding.c (code_convert_region): When we need more GAP for | |
3833 | conversion, pay attention to the case that coding->produced is not | |
3834 | greater than coding->consumed. | |
3835 | ||
3836 | 2002-10-07 Richard M. Stallman <rms@gnu.org> | |
3837 | ||
3838 | * unexelf.c (unexec): Redo 9/16 change, but only if IRIX6_5. | |
3839 | ||
3840 | 2002-10-06 Andrew Choi <akochoi@shaw.ca> | |
3841 | ||
3842 | * macmenu.c (mac_menu_show): Add j to count menu items; match | |
3843 | menu_item_selection to it to find selected item. | |
3844 | ||
3845 | 2002-10-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
3846 | ||
3847 | * xterm.c (XTread_socket): Fix from 2002-10-03 didn't cover all | |
3848 | cases. The correct fix is to pass ReparentNotify to Xt. | |
3849 | The shell widget interprets ConfigureNotify differently depending | |
3850 | on if it has been reparented or not. | |
3851 | ||
3852 | 2002-10-05 Markus Rost <rost@math.ohio-state.edu> | |
3853 | ||
3854 | * editfns.c (Fformat_time_string): Doc fix. | |
3855 | ||
3856 | 2002-10-05 John Paul Wallington <jpw@shootybangbang.com> | |
3857 | ||
3858 | * fns.c (Flength): Doc fix. | |
3859 | ||
3860 | 2002-10-04 Stefan Monnier <monnier@cs.yale.edu> | |
3861 | ||
3862 | * keyboard.c (keyremap): New struct. | |
3863 | (read_key_sequence): Use it: globally replace keytran_foo with | |
3864 | keytran.foo and fkey_foo with fkey.foo. Rename temp vars | |
3865 | keytran_next and fkey_next to just `next'. | |
3866 | ||
3867 | 2002-10-04 Steven Tamm <steventamm@mac.com> | |
3868 | ||
3869 | * macterm.c (keycode_to_xkeysym_table): Change return to be | |
3870 | treated like an X keysym. | |
3871 | ||
3872 | 2002-10-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
3873 | ||
3874 | * xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0, | |
3875 | and USE_MOTIF, call XTranslateCoordinates to get the real x and y. | |
3876 | This is to also handle x/y changes that occur because of a resize. | |
3877 | ||
3878 | 2002-10-02 John Paul Wallington <jpw@shootybangbang.com> | |
3879 | ||
3880 | * frame.c (Vdelete_frame_functions): New variable. | |
3881 | (syms_of_frame): Initialize and defvar it. | |
3882 | (Fdelete_frame): Use it instead of delete-frame-hook. Don't run | |
3883 | it when frame's `tooltip' parameter is non-nil. | |
3884 | ||
3885 | * xfns.c (x_create_tip_frame): Set `tooltip' frame parameter to t. | |
3886 | ||
3887 | * w32fns.c (x_create_tip_frame): Likewise. | |
3888 | ||
3889 | * macfns.c (x_create_tip_frame): Likewise. | |
3890 | ||
3891 | 2002-09-30 Kenichi Handa <handa@m17n.org> | |
3892 | ||
3893 | * xterm.c (x_encode_char): For DIM=1 charset, set ccl->reg[2] to | |
3894 | -1 before calling ccl_driver. | |
3895 | ||
3896 | * coding.c (decode_coding_emacs_mule): Check coding->cmp_data. | |
3897 | Only when it is non-nil, handle composition sequence. | |
3898 | (setup_coding_system) <0>: Don't force composition handling. | |
3899 | ||
3900 | * Makefile.in (lisp, shortlisp): Add utf-16.elc | |
3901 | ||
3902 | 2002-09-29 Richard M. Stallman <rms@gnu.org> | |
3903 | ||
3904 | * search.c (Freplace_match): Adjust match data for the substitution | |
3905 | just made in the buffer. | |
3906 | ||
3907 | * xdisp.c (STOP_POLLING, RESUME_POLLING): New macros. | |
3908 | (redisplay_internal): Use them. Do RESUME_POLLING at end of function. | |
3909 | ||
3910 | 2002-09-27 Richard M. Stallman <rms@gnu.org> | |
3911 | ||
3912 | * keyboard.c (STOP_POLLING, RESUME_POLLING): New macros. | |
3913 | (read_char): Use them. Do all exits thru the end of the function. | |
3914 | ||
3915 | 2002-09-27 Kenichi Handa <handa@etl.go.jp> | |
3916 | ||
3917 | * xfaces.c (try_font_list): Pay attention to the case that FAMILY | |
3918 | is nil. | |
3919 | ||
3920 | 2002-09-26 Richard M. Stallman <rms@gnu.org> | |
3921 | ||
3922 | * regex.h (__restrict_arr): Don't define if already defined. | |
3923 | ||
3924 | * coding.c (run_pre_post_conversion_on_str): | |
3925 | Save and restore Vdeactivate_mark. | |
3926 | ||
3927 | 2002-09-26 John Paul Wallington <jpw@shootybangbang.com> | |
3928 | ||
3929 | * minibuf.c (Fminibufferp): Add an optional `buffer' argument. | |
3930 | ||
3931 | 2002-09-26 Kenichi Handa <handa@etl.go.jp> | |
3932 | ||
3933 | * xfaces.c (try_font_list): New arg PREFER_FACE_FAMILY. If it is | |
3934 | nonzero, try face's family at first. Otherwise try FAMILY at first. | |
3935 | (choose_face_font): If C is a single byte char or latin-1, call | |
3936 | try_font_list with PREFER_FACE_FAMILY 1. | |
3937 | ||
3938 | 2002-09-21 Richard M. Stallman <rms@gnu.org> | |
3939 | ||
3940 | * window.c (select_window_1): Don't select frame. | |
3941 | Set frame's selected window only when frame itself is selected. | |
3942 | (Fselect_window): Doc fix. | |
3943 | ||
3944 | 2002-09-18 Kim F. Storm <storm@cua.dk> | |
3945 | ||
3946 | * process.c (make-network-process): Doc fix (there is no | |
3947 | network-server-log-function hook). | |
3948 | ||
3949 | 2002-09-18 Richard M. Stallman <rms@gnu.org> | |
3950 | ||
3951 | * print.c (print): Clear out the unused parts of Vprint_number_table. | |
3952 | (syms_of_print): Doc fix for `print-number-table'. | |
3953 | ||
3954 | * unexelf.c (unexec): Undo previous change. | |
3955 | ||
3956 | 2002-09-17 Andreas Schwab <schwab@suse.de> | |
3957 | ||
3958 | * m/alpha.h [LINUX]: Don't define DATA_START. | |
3959 | ||
3960 | 2002-09-16 Dave Love <fx@gnu.org> | |
3961 | ||
3962 | * unexelf.c (unexec): Deal with .got, reinstating change from | |
3963 | 25-08-1999. | |
3964 | ||
3965 | 2002-09-13 Richard M. Stallman <rms@gnu.org> | |
3966 | ||
3967 | * s/sol2-6.h (UNEXEC): Comment out definition. | |
3968 | ||
3969 | * unexsol.c (unexec): Don't downcase first letter of error msg. | |
3970 | ||
3971 | * xfaces.c (Fcolor_supported_p): Just one arg is required. | |
3972 | ||
3973 | 2002-09-12 Markus Rost <rost@math.ohio-state.edu> | |
3974 | ||
3975 | * unexsol.c: Include buffer.h, charset.h, coding.h. | |
3976 | ||
3977 | 2002-09-11 Richard M. Stallman <rms@gnu.org> | |
3978 | ||
3979 | * unexsol.c: Don't use report_file_error; do it by hand | |
3980 | using dlerror. | |
3981 | ||
3982 | * process.c (wait_reading_process_input, both versions): | |
3983 | Before calling turn_on_atimers, call stop_polling. | |
3984 | ||
3985 | * emacs.c (syms_of_emacs) <command-line-args>: Doc fix. | |
3986 | ||
3987 | * xdisp.c (try_scrolling): If after make_cursor_line_fully_visible | |
3988 | we go to too_near_end, call clear_glyph_matrix. | |
3989 | (redisplay_window): After make_cursor_line_fully_visible, | |
3990 | call clear_glyph_matrix and bypass `goto done'. | |
3991 | ||
3992 | * xfns.c (x_report_frame_params): If FRAME_SCROLL_BAR_PIXEL_WIDTH is 0 | |
3993 | and we have non-toolkit scroll bars, return nil for scroll-bar-width. | |
3994 | ||
3995 | 2002-09-10 Richard M. Stallman <rms@gnu.org> | |
3996 | ||
3997 | * fileio.c (Fdo_auto_save): Catch error making directory. | |
3998 | Only call push_message if we need to. | |
3999 | At the same time, make an unwind-protect to pop it. | |
4000 | Rename local message_p to old_message_p. | |
4001 | (do_auto_save_make_dir, do_auto_save_eh): New functions. | |
4002 | (do_auto_save_unwind): Don't call pop_message. | |
4003 | ||
4004 | * lisp.h (pop_message_unwind): Renamed from push_message_unwind. | |
4005 | ||
4006 | * keyboard.c (Fexecute_extended_command): Use pop_message_unwind. | |
4007 | ||
4008 | * alloc.c (Fgarbage_collect): Use pop_message_unwind. | |
4009 | ||
4010 | * xdisp.c (pop_message_unwind): Renamed from push_message_unwind. | |
4011 | ||
4012 | 2002-09-10 Stefan Monnier <monnier@cs.yale.edu> | |
4013 | ||
4014 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): Delete. | |
4015 | (CHECK_INFINITE_LOOP): Don't pop anything: just set `cycle' to 1. | |
4016 | (re_match_2_internal): Be more careful with infinite loops. | |
4017 | ||
4018 | 2002-09-10 Kim F. Storm <storm@cua.dk> | |
4019 | ||
4020 | * macros.c (end_kbd_macro): New function. | |
4021 | (Fend_kbd_macro): Use it. | |
4022 | ||
4023 | * macros.h (end_kbd_macro): Declare extern. | |
4024 | ||
4025 | * keyboard.c (Fdiscard_input): If defining keyboard macro, | |
4026 | end and save it instead of discarding it. | |
4027 | ||
4028 | 2002-09-09 Markus Rost <rost@math.ohio-state.edu> | |
4029 | ||
4030 | * s/sol2-6.h: Fix typo. Add comment. | |
4031 | ||
4032 | 2002-09-09 Richard M. Stallman <rms@gnu.org> | |
4033 | ||
4034 | * regex.c (regnum_t): Use signed int, not unsigned int. | |
4035 | ||
4036 | * s/sol2-6.h: New file. | |
4037 | ||
4038 | * s/sol2-5.h (UNEXEC): Definition deleted. | |
4039 | ||
4040 | 2002-09-08 Kim F. Storm <storm@cua.dk> | |
4041 | ||
4042 | * macros.c (executing_macro_index): Change type to EMACS_INT. | |
4043 | (syms_of_macros): DEFVAR_INT it (needed by kmacro). | |
4044 | ||
4045 | * macros.h (executing_macro_index): Change type to EMACS_INT. | |
4046 | ||
4047 | 2002-09-06 Richard M. Stallman <rms@gnu.org> | |
4048 | ||
4049 | * casetab.c (set_case_table): Make canon table point to eqv table. | |
4050 | ||
4051 | 2002-09-06 Juanma Barranquero <lektu@terra.es> | |
4052 | ||
4053 | * coding.c (syms_of_coding): Fix spacing. | |
4054 | ||
4055 | * composite.c (Fcompose_region_internal) | |
4056 | (Fcompose_string_internal): Likewise. | |
4057 | ||
4058 | * data.c (Flsh): Likewise. | |
4059 | ||
4060 | * fontset.c (Fset_fontset_font): Likewise. | |
4061 | ||
4062 | * macfns.c (Fx_server_max_request_size): Likewise. | |
4063 | ||
4064 | * w16select.c (syms_of_win16select): Likewise. | |
4065 | ||
4066 | * w32select.c (syms_of_w32select): Likewise. | |
4067 | ||
4068 | * xselect.c (syms_of_xselect): Likewise. | |
4069 | ||
4070 | 2002-09-05 Richard M. Stallman <rms@gnu.org> | |
4071 | ||
4072 | * regex.c (set_image_of_range_1): In no-TRANSLATE case, | |
4073 | call EXTEND_RANGE_TABLE and return a proper value. | |
4074 | (set_image_of_range): Don't call set_image_of_range_1 | |
4075 | if no TRANSLATE or if range includes all of Latin-1. | |
4076 | Only call it for the Latin-1 part of the range. | |
4077 | For other cases, make two separate ranges, | |
4078 | one for the original specified characters and one for | |
4079 | their case-conversions. | |
4080 | ||
4081 | 2002-09-04 Richard M. Stallman <rms@gnu.org> | |
4082 | ||
4083 | * s/sol2-5.h (UNEXEC): Use unexsol.o. | |
4084 | ||
4085 | * window.c (displayed_window_lines): Correct for one-off bug | |
4086 | in HEIGHT on non-window displays. | |
4087 | ||
4088 | * regex.c (set_image_of_range_1): New function. | |
4089 | (set_image_of_range): Use set_image_of_range_1 for Latin-1. | |
4090 | Return a value to indicate running out of memory. | |
4091 | (SET_RANGE_TABLE_WORK_AREA): Check value from set_image_of_range. | |
4092 | (extend_range_table_work_area): New subroutine. | |
4093 | (EXTEND_RANGE_TABLE): Replaces EXTEND_RANGE_TABLE_WORK_AREA. | |
4094 | Different calling conventions, and used from set_image_of_range{,_1}. | |
4095 | (IMMEDIATE_QUIT_CHECK): Definitions moved. | |
4096 | ||
4097 | 2002-09-04 Juanma Barranquero <lektu@terra.es> | |
4098 | ||
4099 | * makefile.w32-in: All dependencies updated. | |
4100 | ||
4101 | 2002-09-01 Richard M. Stallman <rms@gnu.org> | |
4102 | ||
4103 | * unexsol.c: New file. | |
4104 | ||
4105 | * xfns.c (Qbox): Declare external, don't define. | |
4106 | ||
4107 | * xdisp.c (redisplay_window) <force-start case>: | |
4108 | If point is on semi-visible last line, reposition | |
4109 | it at previous line. | |
4110 | ||
4111 | * alloc.c (display_malloc_warning): Use display-warning. | |
4112 | (malloc_warning_1): Function deleted. | |
4113 | ||
4114 | * alloc.c [ALLOC_DEBUG]: #undef INLINE. | |
4115 | ||
4116 | * lread.c (read1): Handle #! by skipping the line. | |
4117 | ||
4118 | 2002-08-31 Richard M. Stallman <rms@gnu.org> | |
4119 | ||
4120 | * Makefile.in (TEMACS_LDFLAGS): Renamed from ALL_LDFLAGS. | |
4121 | Don't include LDFLAGS. | |
4122 | (temacs): Pass LDFLAGS separately, and not via YMF_PASS_LDFLAGS. | |
4123 | ||
4124 | 2002-08-31 Eli Zaretskii <eliz@is.elta.co.il> | |
4125 | ||
4126 | * xdisp.c (get_window_cursor_type): Don't use x_highlight_frame | |
4127 | member of x_display_info unless we compile for some window system. | |
4128 | ||
4129 | 2002-08-31 Kim F. Storm <storm@cua.dk> | |
4130 | ||
4131 | * xdisp.c (Valternate_cursor_type, Qalternate_cursor_type): Removed. | |
4132 | (get_window_cursor_type): Don't use them. | |
4133 | (syms_of_xdisp): Remove intern, staticpro, and defvar for them. | |
4134 | ||
4135 | 2002-08-30 Kenichi Handa <handa@etl.go.jp> | |
4136 | ||
4137 | * xdisp.c (get_next_display_element): Fix previous change. | |
4138 | ||
4139 | 2002-08-30 Andrew Choi <akochoi@shaw.ca> | |
4140 | ||
4141 | * macterm.c (expose_overlaps): New function (merge code from xterm.c). | |
4142 | (expose_window): Use it to fix the display of overlapping | |
4143 | rows (merge code from xterm.c). | |
4144 | ||
4145 | * macfns.c (Qbox): Add extern declaration. | |
4146 | ||
4147 | 2002-08-30 Juanma Barranquero <lektu@terra.es> | |
4148 | ||
4149 | * w32fns.c (Qbox): Make extern. | |
4150 | (syms_of_w32fns): Remove initialization of Qbox. | |
4151 | ||
4152 | 2002-08-30 Rune Kleveland <runekl@viewpoint.no> (tiny change) | |
4153 | ||
4154 | * xfns.c (Fx_open_connection): Fix error message. | |
4155 | ||
4156 | 2002-08-30 Kim F. Storm <storm@cua.dk> | |
4157 | ||
4158 | The following changes consolidates the handling of the cursor | |
4159 | type in xdisp.c, moving duplicate code and functionality from | |
4160 | xfns.c, xterm.c, w32fns.c, w32term.c, macfns.c, and macterm.c. | |
4161 | ||
4162 | * frame.h (enum text_cursor_kinds): Consolidated here. | |
4163 | Added DEFAULT_CURSOR value. | |
4164 | (struct frame) <desired_cursor, cursor_width> | |
4165 | <blink_off_cursor, blink_off_cursor_width>: New fields. | |
4166 | Consolidated from output_x, output_w32 and output_mac structs. | |
4167 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
4168 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros consolidated here. | |
4169 | ||
4170 | * xdisp.c (Qbar, Qhbar, Qbox, Qhollow, Vblink_cursor_alist): | |
4171 | Variables consolidated here. | |
4172 | (Valternate_cursor_type, Qalternate_cursor_type): New variables. | |
4173 | (Vcursor_in_non_selected_windows): Renamed from | |
4174 | cursor_in_non_selected_windows and changed to Lisp_Object. | |
4175 | (syms_of_xdisp): Define and staticpro new and moved variables. | |
4176 | (get_specified_cursor_type): Renamed from x_specified_cursor_type; | |
4177 | consolidated here. Recognize Qhollow setting. | |
4178 | (set_frame_cursor_types): New function to set frame cursor types | |
4179 | based on the frame parameters. | |
4180 | (get_window_cursor_type): New function to calculate new cursor | |
4181 | type and width for the specified window. Based on duplicated | |
4182 | code consolidated here. | |
4183 | Enhancements: cursor-in-non-selected-windows may be a cursor type, | |
4184 | check buffer-local alternate-cursor-type and blink-cursor-alist | |
4185 | before using built-in blink off methods. | |
4186 | ||
4187 | * dispextern.h (cursor_in_non_selected_windows): Extern removed. | |
4188 | ||
4189 | * lisp.h (Qcursor_in_non_selected_windows): Extern removed. | |
4190 | (get_specified_cursor_type, get_window_cursor_type) | |
4191 | (set_frame_cursor_types): Added prototypes. | |
4192 | ||
4193 | * macfns.c (x_specified_cursor_type): Removed. | |
4194 | (x_set_cursor_type): Use set_frame_cursor_types. | |
4195 | (Qbar, Qbox): Removed. | |
4196 | (syms_of_macfns): Don't intern or staticpro them. | |
4197 | ||
4198 | * macterm.c (x_specified_cursor_type): Remove prototype. | |
4199 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
4200 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
4201 | Remove unused local variables cursor_non_selected, active_cursor. | |
4202 | Redraw cursor if hbar cursor width changes. | |
4203 | (make_mac_frame): Set FRAME_DESIRED_CURSOR. | |
4204 | ||
4205 | * macterm.h (enum text_cursor_kinds): Removed. | |
4206 | (struct output_mac) <current_cursor, desired_cursor, cursor_width> | |
4207 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
4208 | (FRAME_DESIRED_CURSOR): Macro removed. | |
4209 | ||
4210 | * w32fns.c (Vblink_cursor_alist): Removed. | |
4211 | (Qbar, Qhbar, Qbox, Qhollow): Removed. | |
4212 | (syms_of_w32fns): Don't intern, staticpro, or define them. | |
4213 | (x_specified_cursor_type): Removed. | |
4214 | (x_set_cursor_type): Use set_frame_cursor_types. | |
4215 | ||
4216 | * w32term.c (x_specified_cursor_type): Remove prototype. | |
4217 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
4218 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
4219 | Remove unused local variables cursor_off_state. | |
4220 | Redraw cursor if hbar cursor width changes. | |
4221 | Changed all occurrences of w32_highlight_frame to x_highlight_frame. | |
4222 | ||
4223 | * w32term.h (enum text_cursor_kinds): Removed. | |
4224 | (struct output_w32) <current_cursor, desired_cursor, cursor_width> | |
4225 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
4226 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
4227 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. | |
4228 | (struct w32_display_info) <x_highlight_frame>: Renamed member from | |
4229 | w32_highlight_frame. | |
4230 | ||
4231 | * xfns.c (Vblink_cursor_alist): Removed. | |
4232 | (Qbar, Qhbar, Qbox, Qhollow): Removed. | |
4233 | (syms_of_xfns): Don't intern, staticpro, or define them. | |
4234 | (x_specified_cursor_type): Removed. | |
4235 | (x_set_cursor_type): Use set_frame_cursor_types. | |
4236 | ||
4237 | * xterm.c (x_specified_cursor_type): Remove prototype. | |
4238 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
4239 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
4240 | Remove unused local variables cursor_off_state. | |
4241 | Redraw cursor if hbar cursor width changes. | |
4242 | ||
4243 | * xterm.h (enum text_cursor_kinds): Removed. | |
4244 | (struct output_x) <current_cursor, desired_cursor, cursor_width> | |
4245 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
4246 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
4247 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. | |
4248 | (x_specified_cursor_type): Remove prototype. | |
4249 | ||
4250 | 2002-08-28 Richard M. Stallman <rms@gnu.org> | |
4251 | ||
4252 | * w32fns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and | |
4253 | FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. | |
4254 | (Vblink_cursor_alist): New variable. | |
4255 | (syms_of_w32fns): Initialize and defvar it. | |
4256 | (x_specified_cursor_type): Recognize Qbox for filled box. | |
4257 | Exceptions are hollow boxes. | |
4258 | (Qbox, Qhollow): New variables. | |
4259 | (syms_of_w32fns): Initialize and staticpro them. | |
4260 | ||
4261 | * w32term.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): | |
4262 | New macros. | |
4263 | (struct w32_output): New fields blink_off_cursor, | |
4264 | blink_off_cursor_width. | |
4265 | (FRAME_CURSOR_WIDTH): New macro. | |
4266 | ||
4267 | * w32term.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR | |
4268 | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. | |
4269 | ||
4270 | * w32term.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH | |
4271 | for bar cursor. | |
4272 | ||
4273 | * w32term.c (expose_overlaps): New function. | |
4274 | (expose_window): Use it to fix the display of overlapping rows. | |
4275 | ||
4276 | 2002-08-28 Simon Josefsson <jas@extundo.com> | |
4277 | ||
4278 | * xfns.c (Fx_open_connection): Improve help when X connection | |
4279 | fails, xhost is insecure and xauth is better. | |
4280 | ||
4281 | 2002-08-28 Juanma Barranquero <lektu@terra.es> | |
4282 | ||
4283 | * makefile.w32-in: Add missing dependencies on w32term.h and | |
4284 | composite.h. | |
4285 | ||
4286 | * emacs.c (USAGE1): Add missing newline. | |
4287 | ||
4288 | 2002-08-27 Andrew Choi <akochoi@shaw.ca> | |
4289 | ||
4290 | * s/darwin.h [HAVE_LIBNCURSES]: Define HAVE_TERMINFO. | |
4291 | ||
4292 | 2002-08-27 Richard M. Stallman <rms@gnu.org> | |
4293 | ||
4294 | * xfns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and | |
4295 | FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. | |
4296 | (Vblink_cursor_alist): New variable. | |
4297 | (syms_of_xfns): Initialize and defvar it. | |
4298 | (x_specified_cursor_type): Recognize Qbox for filled box. | |
4299 | Exceptions are hollow boxes. | |
4300 | (Qbox, Qhollow): New variables. | |
4301 | (syms_of_xfns): Initialize and staticpro them. | |
4302 | ||
4303 | * xterm.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): | |
4304 | New macros. | |
4305 | (struct x_output): New fields blink_off_cursor, blink_off_cursor_width. | |
4306 | ||
4307 | * xterm.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR | |
4308 | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. | |
4309 | ||
4310 | * emacs.c (main): Handle --script. | |
4311 | (USAGE1): Mention --script. | |
4312 | (standard_args): Define sort order for --script. | |
4313 | ||
4314 | 2002-08-27 Gerd Moellmann <gerd.moellmann@t-online.de> | |
4315 | ||
4316 | * xdisp.c (redisplay_updating_p): Variable removed. | |
4317 | (inhibit_free_realized_faces, Qinhibit_free_realized_faces): | |
4318 | New variables. | |
4319 | (init_iterator): Don't free realized faces if | |
4320 | inhibit_free_realized_faces is set. | |
4321 | (redisplay_internal): Bind Qinhibit_free_realized_faces to nil. | |
4322 | (syms_of_xdisp): DEFVAR_BOOL inhibit-free-realized-faces, | |
4323 | initialize Qinhibit_free_realized_faces. | |
4324 | ||
4325 | * dispextern.h (PRODUCE_GLYPHS): Set inhibit_free_realized_faces | |
4326 | when iterator is adding glyphs to a glyph matrix. | |
4327 | ||
4328 | 2002-08-27 Kenichi Handa <handa@etl.go.jp> | |
4329 | ||
4330 | * xdisp.c (get_next_display_element): In unibyte case, don't use | |
4331 | octal form for such eight-bit characters that can be converted to | |
4332 | multibyte char. | |
4333 | ||
4334 | 2002-08-26 Kim F. Storm <storm@cua.dk> | |
4335 | ||
4336 | * frame.c (make_terminal_frame) [CANNOT_DUMP]: Initialize foreground | |
4337 | and background colors. From Joe Buehler (tiny change). | |
4338 | ||
4339 | 2002-08-26 Miles Bader <miles@gnu.org> | |
4340 | ||
4341 | * bytecode.c (Fbyte_code): Fsub1 can GC, so protect it. | |
4342 | ||
4343 | 2002-08-25 Andrew Choi <akochoi@shaw.ca> | |
4344 | ||
4345 | * emacs.c (main): Call init_mac_osx_environment if HAVE_CARBON is | |
4346 | defined instead of MAC_OSX. | |
4347 | ||
4348 | * s/darwin.h (select): Define select to sys_select only if | |
4349 | HAVE_CARBON is defined. | |
4350 | (HAVE_WORKING_VFORK): #undef it. Define vfork to fork. | |
4351 | (DONT_REOPEN_PTY): #def it. | |
4352 | ||
4353 | * macterm.c (XTread_socket): Remove code to call | |
4354 | SendEventToEventTarget for keys with command modifiers when | |
4355 | mac_command_key_is_meta is nil. | |
4356 | ||
4357 | 2002-08-24 Andreas Schwab <schwab@suse.de> | |
4358 | ||
4359 | * eval.c (Fdefvar): Fix last change. | |
4360 | ||
4361 | 2002-08-23 Richard M. Stallman <rms@gnu.org> | |
4362 | ||
4363 | * eval.c (Fdefvar, Fdefconst, Fdefvaralias): | |
4364 | Record variables in load history as (defvar . VAR). | |
4365 | (Fdefvar): Don't record in load history if no initial value. | |
4366 | (Qdefvar): New variable. | |
4367 | (syms_of_eval): Init and staticpro it. | |
4368 | ||
4369 | * lread.c (syms_of_lread): Doc fix. | |
4370 | (build_load_history): Use Fmember to see if a definition | |
4371 | is already in the Vload_history element. | |
4372 | ||
4373 | * process.c (Fstart_process): Remove /: from program name. | |
4374 | ||
4375 | * emacs.c (decode_env_path): Don't add /: if file name handler | |
4376 | has a `safe-magic' property. | |
4377 | ||
4378 | * callproc.c (Fcall_process): Remove /: from program name. | |
4379 | ||
4380 | 2002-08-23 Stefan Monnier <monnier@cs.yale.edu> | |
4381 | ||
4382 | * regex.c (PATFETCH): Remove the translating fetch. | |
4383 | (PATFETCH_RAW): Rename to PATFETCH. | |
4384 | (set_image_of_range): New fun. | |
4385 | (SET_RANGE_TABLE_WORK_AREA): Use it. | |
4386 | (regex_compile): Don't translate the pattern chars so eagerly. | |
4387 | Only do it when inserting an `exactn' bytecode or when handling | |
4388 | a char-range. | |
4389 | (mutually_exclusive_p): Avoid empty statement. | |
4390 | ||
4391 | 2002-08-22 Kim F. Storm <storm@cua.dk> | |
4392 | ||
4393 | * xdisp.c (redisplay_window): Do not `goto try_to_scroll' when we | |
4394 | end up on a partially visible line; this reverts a specific part | |
4395 | of the 2002-07-07 change by Richard M. Stallman to "fix" a nasty | |
4396 | display error which has been reported several times now. | |
4397 | However it introduces the problem that changes was supposed to fix. | |
4398 | See my comments in the source if you want to debug this further. | |
4399 | ||
4400 | 2002-08-20 Kenichi Handa <handa@etl.go.jp> | |
4401 | ||
4402 | * abbrev.c (Fexpand_abbrev): Fix for the multibyte case. | |
4403 | ||
4404 | 2002-08-19 Eli Zaretskii <eliz@is.elta.co.il> | |
4405 | ||
4406 | * msdos.c (croak): Add `void' to definition. | |
4407 | ||
4408 | * sysdep.c [MSDOS] (request_sigio, unrequest_sigio): | |
4409 | Don't define them, they are defined in msdos.c. | |
4410 | ||
4411 | * mem-limits.h [MSDOS]: Declare etext. | |
4412 | ||
4413 | * fileio.c (Ffile_name_directory) [DOS_NT]: Don't declare `beg' | |
4414 | `const' since CORRECT_DIR_SEPS modifies its target. | |
4415 | ||
4416 | 2002-08-19 Kim F. Storm <storm@cua.dk> | |
4417 | ||
4418 | * keyboard.c (Fclear_this_command_keys): Added optional arg | |
4419 | KEEP-RECORD to avoid clearing lossage when we just want to clear | |
4420 | the current key sequence (kmacro needs this). | |
4421 | ||
4422 | 2002-08-19 Kenichi Handa <handa@localhost> | |
4423 | ||
4424 | * composite.c (run_composition_function): Call FUNC if it is fboundp. | |
4425 | ||
4426 | * composite.h (COMPOSITION_MODIFICATION_FUNC): If PROP is not a | |
4427 | cons, return Qnil. | |
4428 | ||
4429 | 2002-08-17 Richard M. Stallman <rms@gnu.org> | |
4430 | ||
4431 | * s/sol2-5.h (BROKEN_SIGIO): Add #undef. | |
4432 | ||
4433 | * sysdep.c [!VMS]: Include sys/files.h. | |
4434 | ||
4435 | * editfns.c (save_restriction_restore): Defend from unchained marker. | |
4436 | ||
4437 | * buffer.c (overlays_at): Handle extending vec uniformly. | |
4438 | (overlays_in): Handle extending vec from length 0 as in overlays_at. | |
4439 | ||
4440 | 2002-08-15 Andrew Choi <akochoi@shaw.ca> | |
4441 | ||
4442 | * mac.c (init_mac_osx_environment): New function. | |
4443 | ||
4444 | * emacs.c (main) [MAC_OSX]: Call init_mac_osx_environment. | |
4445 | ||
4446 | 2002-08-14 Kim F. Storm <storm@cua.dk> | |
4447 | ||
4448 | * macros.c (Fstart_kbd_macro): Added NO-EXEC argument to inhibit | |
4449 | executing macro before appending to it (when used from Lisp). | |
4450 | (Fexecute_kbd_macro): Added LOOPFUNC argument to supply function | |
4451 | which is called prior to each iteration of macro (for kmacro.el). | |
4452 | (Fend_kbd_macro, Fcall_last_kbd_macro): Likewise. | |
4453 | ||
4454 | * lisp.h (Fexecute_kbd_macro): Update prototype. | |
4455 | ||
4456 | * keyboard.c (Fcommand_execute): Update call to Fexecute_kbd_macro. | |
4457 | ||
4458 | 2002-08-14 Kenichi Handa <handa@etl.go.jp> | |
4459 | ||
4460 | * xselect.c (QUTF8_STRING): New variable. | |
4461 | (symbol_to_x_atom): Pay attention to QUTF8_STRING. | |
4462 | (x_atom_to_symbol): Likewise. | |
4463 | (x_get_local_selection): New argument local_request. If it is | |
4464 | nonzero, call handler_fn with the second arg nil. | |
4465 | (x_handle_selection_request): Call x_get_local_selection with | |
4466 | local_request 0. | |
4467 | (lisp_data_to_selection_data): Don't encode the string here. | |
4468 | (Fx_get_selection_internal): Call x_get_local_selection with | |
4469 | local_request 1. | |
4470 | (syms_of_xselect): Intern and staticpro QUTF8_STRING. | |
4471 | ||
4472 | * xterm.c (x_term_init): Initialize dpyinfo->Xatom_UTF8_STRING. | |
4473 | ||
4474 | * xterm.h (struct x_display_info): New member Xatom_UTF8_STRING. | |
4475 | ||
4476 | 2002-08-13 Richard M. Stallman <rms@gnu.org> | |
4477 | ||
4478 | * minibuf.c (Fminibufferp): New function. | |
4479 | (syms_of_minibuf): Defsubr it. | |
4480 | (Fminibuffer_prompt_end): Handle non-minibuffers specially. | |
4481 | ||
4482 | 2002-08-13 Gerd Moellmann <gerd.moellmann@t-online.de> | |
4483 | ||
4484 | * coding.c (Funencodable_char_position): Lisp_Object/int mixup. | |
4485 | ||
4486 | 2002-08-12 Richard M. Stallman <rms@gnu.org> | |
4487 | ||
4488 | * syswait.h: Only the include of sys/wait.h tests HAVE_SYS_WAIT_H. | |
4489 | [!VMS] (WCOREDUMP, WEXITSTATUS, WIFEXITED, WIFSTOPPED, WIFSIGNALED) | |
4490 | (WSTOPSIG, WTERMSIG): Define each one independently if not defined | |
4491 | already. | |
4492 | ||
4493 | * buffer.c (syms_of_buffer) <fill-column>: Doc fix. | |
4494 | ||
4495 | 2002-08-11 Andrew Choi <akochoi@shaw.ca> | |
4496 | ||
4497 | * macterm.c (XTmouse_position): Check wp with is_emacs_window. | |
4498 | (Vmac_pass_command_to_system): New variable. | |
4499 | (Vmac_pass_control_to_system): New variable. | |
4500 | (do_mouse_moved): Check wp with is_emacs_window. | |
4501 | (XTread_socket): Check window_ptr with is_emacs_window. | |
4502 | Call FrontNonFloatingWindow instead of FrontWindow. Send keydown | |
4503 | events back to Mac Toolbox for processing, depending on values of | |
4504 | Vmac_pass_command_to_system and Vmac_pass_control_to_system. | |
4505 | (syms_of_macterm): DEFVAR_LISP Vmac_pass_command_to_system and | |
4506 | Vmac_pass_control_to_system. | |
4507 | ||
4508 | 2002-08-10 Kenichi Handa <handa@etl.go.jp> | |
4509 | ||
4510 | * coding.c (unencodable_char_position): New function. | |
4511 | (Funencodable_char_position): New function. | |
4512 | (syms_of_coding): Defsubr Funencodable_char_position. | |
4513 | ||
4514 | 2002-08-10 Andrew Choi <akochoi@shaw.ca> | |
4515 | ||
4516 | * mac.c (sys_select) [MAC_OSX]: New function. | |
4517 | ||
4518 | * macterm.c (MakeMeTheFrontProcess): New function. | |
4519 | (mac_initialize): Call MakeMeTheFrontProcess. | |
4520 | ||
4521 | * s/darwin.h: Define select to sys_select. | |
4522 | ||
4523 | 2002-08-09 Richard M. Stallman <rms@gnu.org> | |
4524 | ||
4525 | * keyboard.c (make_lispy_event): Test WINDOWSNT, not WINDOWS_NT. | |
4526 | ||
4527 | 2002-08-09 Gerd Moellmann <gerd.moellmann@t-online.de> | |
4528 | ||
4529 | * xdisp.c (forward_to_next_line_start): Return 0 when reaching the | |
4530 | end of the buffer. | |
4531 | ||
4532 | 2002-08-08 Ken Raeburn <raeburn@mit.edu> | |
4533 | ||
4534 | * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int mixup. | |
4535 | ||
4536 | * puresize.h (BASE_PURESIZE): Increase to 910000. | |
4537 | ||
4538 | 2002-08-08 Kenichi Handa <handa@etl.go.jp> | |
4539 | ||
4540 | * coding.c (Ffind_operation_coding_system): For write-region, if | |
4541 | VISIT is a filename, make it the target. | |
4542 | ||
4543 | 2002-08-07 Richard M. Stallman <rms@gnu.org> | |
4544 | ||
4545 | * alloc.c (mark_object): Detect long lists for debugging. | |
4546 | (mark_object_loop_halt): New variable. | |
4547 | ||
4548 | * s/hpux10.h (C_SWITCH_SYSTEM): #undef it. | |
4549 | ||
4550 | * data.c (Fmake_variable_frame_local): Doc fix. | |
4551 | ||
4552 | 2002-08-01 David Ponce <david@dponce.com> | |
4553 | ||
4554 | * w32menu.c (local_heap, local_alloc, local_free): New macros. | |
4555 | (malloc_widget_value, free_widget_value) | |
4556 | (w32_free_submenu_strings): Use them. | |
4557 | ||
4558 | (push_submenu_start, push_submenu_end, push_left_right_boundary) | |
4559 | (push_menu_pane, push_menu_item, single_keymap_panes) | |
4560 | (single_menu_item, Fx_popup_menu, menubar_selection_callback) | |
4561 | (single_submenu, set_frame_menubar) | |
4562 | (w32_menu_show, w32_dialog_show): Use AREF, ASET, ASIZE. | |
4563 | ||
4564 | (Fx_popup_menu): Don't show pop up menu until preceding one is | |
4565 | actually cleaned up. Moved UNGCPRO outside #ifdef HAVE_MENUS block. | |
4566 | ||
4567 | * w32menu.c: Changes adapted from xmenu.c | |
4568 | (set_frame_menubar): First parse all submenus, | |
4569 | then make widget_value trees from them. | |
4570 | Don't allocate any widget_value objects | |
4571 | until we are done with the parsing. | |
4572 | (parse_single_submenu): New function. | |
4573 | (digest_single_submenu): New function. | |
4574 | (single_submenu): Function deleted, replaced by those two. | |
4575 | ||
4576 | 2002-08-04 Andrew Choi <akochoi@shaw.ca> | |
4577 | ||
4578 | * macterm.c (XTread_socket): Check that FrontNonFloatingWindow | |
4579 | returns a valid window pointer before proceeding for keyDown and | |
4580 | autoKey events. | |
4581 | ||
4582 | 2002-08-03 Andrew Choi <akochoi@shaw.ca> | |
4583 | ||
4584 | * macterm.c (USE_CARBON_EVENTS): New macro. | |
4585 | (macCtrlKey, macShiftKey, macMetaKey, macAltKey): New macros. | |
4586 | (x_iconify_frame): Call CollapseWindow. | |
4587 | (Vmac_reverse_ctrl_meta): New variable. | |
4588 | (Vmac_wheel_button_is_mouse_2): New variable. | |
4589 | (init_mac_drag_n_drop): New function. | |
4590 | (mac_do_receive_drag): New function. | |
4591 | (mac_handle_service_event): New function. | |
4592 | (init_service_handler): New function. | |
4593 | (mac_to_emacs_modifiers): New function. | |
4594 | (mac_event_to_emacs_modifiers): New function. | |
4595 | (mac_get_mouse_btn): New function. | |
4596 | (mac_convert_event_ref): New function. | |
4597 | (XTread_socket) [USE_CARBON_EVENTS]: Call ReceiveNextEvent, | |
4598 | SendEventToEventTarget, mac_event_to_emacs_modifiers, and | |
4599 | mac_get_mouse_btn. | |
4600 | (mac_initialize): Call init_mac_drag_n_drop and init_service_handler. | |
4601 | ||
4602 | * keyboard.c: Define Qmouse_wheel, mouse_wheel_syms, and | |
4603 | lispy_mouse_wheel_names for MAC_OSX as well as for WINDOWS_NT. | |
4604 | (kbd_buffer_get_event): Set used_mouse_menu for MENU_BAR_EVENT and | |
4605 | TOOL_BAR_EVENT for MAC_OS as well. | |
4606 | (make_lispy_event): Handle MOUSE_WHEEL_EVENT for MAC_OSX as well | |
4607 | as for WINDOWS_NT. | |
4608 | (syms_of_keyboard): Initialize Qmouse_wheel for MAC_OSX. | |
4609 | ||
4610 | * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for MAC_OSX. | |
4611 | ||
4612 | 2002-08-03 Gerd Moellmann <gerd.moellmann@t-online.de> | |
4613 | ||
4614 | * xdisp.c (forward_to_next_line_start): Fix a condition that | |
4615 | lead to a newline being skipped. | |
4616 | ||
4617 | 2002-08-02 Andrew Choi <akochoi@shaw.ca> | |
4618 | ||
4619 | * mac.c (syms_of_mac): Defsubr Sx_selection_exists_p. | |
4620 | ||
4621 | 2002-08-01 Richard M. Stallman <rms@gnu.org> | |
4622 | ||
4623 | * Makefile.in (SOME_MACHINE_OBJECTS): Add fontset.o. | |
4624 | ||
4625 | 2002-07-31 Andrew Choi <akochoi@shaw.ca> | |
4626 | ||
4627 | * macfns.c: #undef init_process before #define-ing it. | |
4628 | ||
4629 | * s/darwin.h: Define MAC_OS, SYMS_SYSTEM, and OTHER_FILES only if | |
4630 | HAVE_CARBON is defined. | |
4631 | ||
4632 | 2002-07-31 Richard M. Stallman <rms@gnu.org> | |
4633 | ||
4634 | * xmenu.c (set_frame_menubar): First parse all submenus, | |
4635 | then make widget_value trees from them. | |
4636 | Don't allocate any widget_value objects | |
4637 | until we are done with the parsing. | |
4638 | (parse_single_submenu): New function. | |
4639 | (digest_single_submenu): New function. | |
4640 | (single_submenu): Function deleted, replaced by those two. | |
4641 | ||
4642 | 2002-07-30 Juanma Barranquero <lektu@terra.es> | |
4643 | ||
4644 | * w32proc.c (syms_of_ntproc): Fix docstring of | |
4645 | `w32-get-true-file-attributes'. | |
4646 | ||
4647 | 2002-07-28 Richard M. Stallman <rms@gnu.org> | |
4648 | ||
4649 | * s/hpux8.h (HPUX8): Define this before including hpux.h. | |
4650 | (HAVE_SYS_WAIT_H): #define deleted; we let Autoconf decide. | |
4651 | ||
4652 | * s/hpux.h (HAVE_SYS_WAIT_H): The #undef is conditional on HPUX8. | |
4653 | ||
4654 | * keyboard.c (make_lispy_event): | |
4655 | Use #ifdef to test USE_TOOLKIT_SCROLL_BARS. | |
4656 | Explicitly clear up_modifier in event->modifiers. | |
4657 | ||
4658 | 2002-07-27 Richard M. Stallman <rms@gnu.org> | |
4659 | ||
4660 | * xterm.h (FRAME_CURSOR_WIDTH): New macro. | |
4661 | ||
4662 | * xterm.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH | |
4663 | for bar cursor. | |
4664 | ||
4665 | 2002-07-26 Kenichi Handa <handa@etl.go.jp> | |
4666 | ||
4667 | * coding.c (detect_coding_iso2022): While checking a byte sequence | |
4668 | for CODING_CATEGORY_MASK_ISO_8_2, if we read one extra byte, check | |
4669 | it in the normal loop. | |
4670 | ||
4671 | 2002-07-24 Gerd Moellmann <gerd.moellmann@t-online.de> | |
4672 | ||
4673 | * xterm.c (expose_overlaps): New function. | |
4674 | (expose_window): Use it to fix the display of overlapping rows. | |
4675 | ||
4676 | * xdisp.c (unwind_redisplay): Clear redisplay_updating_p. | |
4677 | ||
4678 | 2002-07-23 Ken Raeburn <raeburn@gnu.org> | |
4679 | ||
4680 | * lisp.h (XPNTR): Use NO_UNION_TYPE version for union as well, | |
4681 | since it only depends on XUINT. | |
4682 | ||
4683 | * m/alpha.h (BITS_PER_LONG, BITS_PER_EMACS_INT, EMACS_INT, | |
4684 | EMACS_UINT, SPECIAL_EMACS_INT, DATA_SEG_BITS, | |
4685 | PNTR_COMPARISON_TYPE, VALBITS, MARKBIT, XINT, XUINT, XPNTR): | |
4686 | Macros deleted. | |
3947677c | 4687 | |
77d1daf2 AS |
4688 | * mem-limits.h (start_of_data): If DATA_START is defined, prefer |
4689 | its value over other approaches. | |
4690 | * sysdep.c (start_of_data): Don't define the function if a macro | |
4691 | form has been defined. | |
8a8e19a3 | 4692 | |
048addec JD |
4693 | 2002-07-23 Gerd Moellmann <gerd.moellmann@t-online.de> |
4694 | ||
4695 | * xdisp.c (redisplay_updating_p): New variable. | |
4696 | (init_iterator): Don't free realized faces when | |
4697 | redisplay_updating_p is set. | |
4698 | (redisplay_internal): Set redisplay_updating_p while updating | |
4699 | the display. | |
4700 | ||
4701 | 2002-07-23 Richard M. Stallman <rms@gnu.org> | |
4702 | ||
4703 | * editfns.c (Fmessage): Treat "" like nil. | |
4704 | ||
4705 | 2002-07-23 Kenichi Handa <handa@etl.go.jp> | |
4706 | ||
4707 | * xdisp.c (face_before_or_after_it_pos): | |
4708 | Call FETCH_MULTIBYTE_CHAR with byte postion, not char position. | |
4709 | ||
4710 | 2002-07-22 Juanma Barranquero <lektu@terra.es> | |
4711 | ||
4712 | * callproc.c (init_callproc) [DOS_NT]: | |
4713 | Initialize Vshared_game_score_directory to nil. | |
4714 | (syms_of_callproc) [DOS_NT]: Likewise. | |
4715 | ||
4716 | 2002-07-22 Gerd Moellmann <gerd.moellmann@t-online.de> | |
4717 | ||
4718 | * xdisp.c (display_line): Replace an abort with xassert. | |
4719 | ||
4720 | 2002-07-21 Richard M. Stallman <rms@gnu.org> | |
4721 | ||
4722 | * xdisp.c (redisplay_window): Don't test BEG_UNCHANGED | |
4723 | and END_UNCHANGED when setting buffer_unchanged_p. | |
4724 | Use current_matrix_up_to_date_p to decide whether to use | |
4725 | try_cursor_movement. | |
4726 | ||
4727 | * config.in (HAVE_SHARED_GAME_DIR): Undef deleted. | |
4728 | ||
4729 | * epaths.in (PATH_GAME): New macro, edited by ../Makefile.in. | |
4730 | ||
4731 | * callproc.c (init_callproc): Set up Vshared_game_score_directory. | |
4732 | Set to nil if dir does not exist. | |
4733 | (syms_of_callproc): Init unconditionally and simply. | |
4734 | ||
4735 | * buffer.c (Fbuffer_list): Doc fix. | |
4736 | ||
4737 | 2002-07-21 Ken Raeburn <raeburn@gnu.org> | |
4738 | ||
4739 | * sysdep.c (end_of_text, end_of_data): Unused functions deleted. | |
4740 | ||
4741 | * buffer.c (mmap_realloc): When shrinking, make sure number of | |
4742 | pages to unmap is rounded towards zero. | |
4743 | ||
4744 | * m/mips-siemens.h (XSETUINT, XSETPNTR): Unused macros deleted. | |
4745 | (XSETINT): Deleted. | |
4746 | ||
4747 | * m/att3b.h (XINT): Don't define. | |
4748 | (VALBITS, VALMASK, XTYPE): Deleted. | |
4749 | (DATA_SEG_BITS): Define. | |
4750 | * m/gec63.h (VALBITS, VALAMASK, XTYPE, XSETTYPE, XPNTR, XSET, | |
4751 | ARRAY_MARK_FLAG): Deleted. | |
4752 | (DATA_SEG_BITS): Define. | |
4753 | * m/pfa50.h (VALBITS, VALMASK, XTYPE): Deleted. | |
4754 | (DATA_SEG_BITS): Define. | |
4755 | ||
4756 | 2002-07-20 Richard M. Stallman <rms@gnu.org> | |
4757 | ||
4758 | * print.c (print_error_message): New args CONTEXT and CALLER. | |
4759 | Calls changed. | |
4760 | ||
4761 | * lisp.h (print_error_message): Declare new args. | |
4762 | ||
4763 | * keyboard.c (cmd_error_internal): Pass Vsignaling_function | |
4764 | and CONTEXT to print_error_message, don't print them here. | |
4765 | For a Quit, don't use Vsignaling_function. | |
4766 | Call message_log_maybe_newline. | |
4767 | ||
4768 | * Makefile.in (xsmfns.o): Don't depend on lisp.h. | |
4769 | ||
4770 | 2002-07-20 Kim F. Storm <storm@cua.dk> | |
4771 | ||
4772 | * xdisp.c (redisplay_window): Test MODIFF to set buffer_unchanged_p. | |
4773 | ||
4774 | 2002-07-19 Ken Raeburn <raeburn@gnu.org> | |
4775 | ||
4776 | * bytecode.c (struct byte_stack): Pointers into byte string now | |
4777 | point to const. | |
4778 | * callproc.c (Fcall_process): Make NEW_ARGV array hold pointer to | |
4779 | const. | |
4780 | * charset.h (BCOPY_SHORT): Source pointer now points to const. | |
4781 | * coding.c (encode_eol, detect_coding, detect_eol): | |
4782 | (decode_coding, encode_coding, detect_coding_system): | |
4783 | Source strings now treated as const. | |
4784 | (decode_coding_string, encode_coding_string): Use STRING_COPYIN to | |
4785 | modify Lisp string contents. | |
4786 | * coding.h (decode_coding, encode_coding, detect_coding, | |
4787 | detect_eol): Declarations updated. | |
4788 | * composite.c (compose_chars_in_text): Treat Lisp string contents | |
4789 | as const. | |
4790 | * dispnew.c (safe_bcopy): Source pointer now points to const. | |
4791 | * lisp.h (STRING_COPYIN): New macro. | |
4792 | (detect_coding_system, safe_bcopy, temp_output_buffer_setup): | |
4793 | (internal_with_output_to_temp_buffer): Declarations updated. | |
4794 | * print.c (temp_output_buffer_setup): | |
4795 | (internal_with_output_to_temp_buffer): Buffer name argument is now | |
4796 | pointer to const. | |
4797 | * sound.c (struct sound_device): Function pointer field "write" | |
4798 | buffer argument now points to const. | |
4799 | (vox_write): Buffer argument points to const. | |
4800 | * syntax.c (Fstring_to_syntax, skip_chars): Treat Lisp string | |
4801 | contents as const. | |
4802 | * sysdep.c (emacs_write): Buffer pointer now const. | |
4803 | * term.c (encode_terminal_code): Buffer pointer now const. | |
4804 | * xfaces.c (may_use_scalable_font_p): Argument now points to const. | |
4805 | (x_face_list_fonts, x_update_menu_appearance): | |
4806 | (hash_string_case_insensitive): Treat Lisp string contents as const. | |
4807 | ||
4808 | 2002-07-19 Juanma Barranquero <lektu@terra.es> | |
4809 | ||
4810 | * fileio.c (Ffile_name_as_directory): Fix argument name in docstring. | |
4811 | (file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP. | |
4812 | ||
4813 | * xdisp.c (syms_of_xdisp): Remove redundant deprecation info. | |
4814 | ||
4815 | * fileio.c (syms_of_fileio): Likewise. | |
4816 | ||
4817 | 2002-07-18 Richard M. Stallman <rms@gnu.org> | |
4818 | ||
4819 | * data.c (Fdefalias): Doc fix. | |
4820 | ||
4821 | 2002-07-17 Dave Love <fx@gnu.org> | |
4822 | ||
4823 | * intervals.h (text_property_stickiness): Use P_. | |
4824 | ||
4825 | * ccl.c: Remove `emacs' conditionals. | |
4826 | (ccl_backtrace_table): Fix size spec. | |
4827 | (ccl_driver): Fix type errors. | |
4828 | ||
4829 | 2002-07-16 Ken Raeburn <raeburn@gnu.org> | |
4830 | ||
4831 | * alloc.c (xstrdup, make_string, make_unibyte_string) | |
4832 | (make_multibyte_string, build_string): String pointer args now | |
4833 | point to const. | |
4834 | * charset.c (find_charset_in_text, c_string_width): | |
4835 | (chars_in_text, multibyte_chars_in_text, parse_str_as_multibyte): | |
4836 | * fileio.c (report_file_error): | |
4837 | * insdel.c (copy_text, count_size_as_multibyte, insert_1): | |
4838 | (count_combining_before, count_combining_after, insert_1_both): | |
4839 | (insert, insert_and_inherit, insert_string): | |
4840 | (insert_before_markers, insert_before_markers_and_inherit): | |
4841 | * lread.c (intern, oblookup, hash_string): | |
4842 | * minibuf.c (temp_echo_area_glyphs): | |
4843 | * search.c (fast_c_string_match_ignore_case): | |
4844 | * sysdep.c (emacs_open, set_file_times): | |
4845 | * xfaces.c (xstricmp): | |
4846 | * xdisp.c (store_frame_title, string_char_and_length): | |
4847 | (message_dolog, message2, message2_nolog, set_message): Likewise. | |
4848 | (set_message_1): Cast message string argument to const pointer. | |
4849 | * editfns.c (general_insert_function): Insertion function now | |
4850 | takes pointer to const for input data. | |
4851 | * charset.h (find_charset_in_text, c_string_width): | |
4852 | (parse_str_as_multibyte): Declarations updated. | |
4853 | * dispextern.h (xstricmp): Declaration updated. | |
4854 | * lisp.h (chars_in_text, multibyte_chars_in_text, copy_text): | |
4855 | (count_size_as_multibyte, count_combining_before): | |
4856 | (count_combining_after, insert_1, insert_1_both, message_dolog): | |
4857 | (insert, insert_and_inherit, insert_before_markers) | |
4858 | (insert_before_markers_and_inherit, set_message, message2): | |
4859 | (message2_dolog, build_string, make_string, make_unibyte_string): | |
4860 | (make_multibyte_string, intern, oblookup, report_file_error): | |
4861 | (fast_c_string_match_ignore_case, temp_echo_area_glyphs): | |
4862 | (emacs_open, xstrdup): Declarations updated. | |
4863 | * systime.h (set_file_times): Declaration updated. | |
4864 | ||
4865 | * charset.c (find_charset_in_text, lisp_string_width): Use const | |
4866 | for pointer to lisp string data. | |
4867 | * charset.h (FETCH_STRING_CHAR_ADVANCE): | |
4868 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): | |
4869 | * coding.c (Ffind_coding_systems_region_interval): | |
4870 | * fileio.c (Ffile_name_directory, Ffile_name_nondirectory): | |
4871 | (Fmake_directory_internal, Fdelete_directory): | |
4872 | (Ffile_name_absolute_p, Fwrite_region, double_dollars): | |
4873 | * fontset.c (font_family_registry, fs_query_fontset): | |
4874 | (list_fontsets): | |
4875 | * frame.c (Fframe_parameter): | |
4876 | * keyboard.c (cmd_error_internal): | |
4877 | * keymap.c (Fdescribe_buffer_bindings): | |
4878 | * lread.c (complete_filename_p, openp): | |
4879 | * minibuf.c (Fminibuffer_complete_word): | |
4880 | * xdisp.c (string_pos_nchars_ahead, init_from_display_pos): | |
4881 | (face_before_or_after_it_pos, next_element_from_string): | |
4882 | (get_overlay_arrow_glyph_row, display_mode_element): | |
4883 | (decode_mode_spec_coding): | |
4884 | * xterm.c (same_x_server): Likewise. | |
4885 | ||
4886 | * buffer.c (reset_buffer_local_variables): Delete "#if 0" | |
4887 | settings of non-existent fields. | |
4888 | ||
4889 | * editfns.c (Fstring_to_char): Don't use XSTRING/XSETSTRING to | |
4890 | copy a lisp value. | |
4891 | ||
4892 | * lread.c (Fintern_soft): Use string macros instead of | |
4893 | Lisp_String fields. | |
4894 | * keyboard.c (echo_char, parse_modifiers_uncached): | |
4895 | (parse_solitary_modifier, Fexecute_extended_command): Likewise. | |
4896 | * textprop.c (validate_interval_range, interval_of): Likewise. | |
4897 | ||
4898 | * fontset.c (Fset_fontset_font): Use SDATA instead of XSTRING()->data. | |
4899 | ||
4900 | * charset.h (FETCH_STRING_CHAR_ADVANCE) | |
4901 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SBYTES instead of | |
4902 | XSTRING()->size_byte. | |
4903 | ||
4904 | * lisp.h (SDATA, SREF): Produce rvalue. | |
4905 | (SSET): New macro. | |
4906 | * alloc.c (make_event_array): Use SSET for storing into a string. | |
4907 | * buffer.c (Fother_buffer): Use SREF when retrieving a byte from | |
4908 | a string. | |
4909 | * casefiddle.c (casify_object): Use SSET. | |
4910 | * charset.h (FETCH_STRING_CHAR_ADVANCE) | |
4911 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA when getting | |
4912 | address of string contents. | |
4913 | * data.c (Faref): Use SDATA. | |
4914 | (Faset): Use SDATA, SSET. | |
4915 | * dired.c (directory_files_internal): Use SSET. | |
4916 | * fileio.c (Fmake_symbolic_link, Fexpand_file_name): Use SSET. | |
4917 | (Fread_file_name): Use SREF, SSET. | |
4918 | * fns.c (concat): Use SSET. | |
4919 | (concat, Fdelete): Use SDATA. | |
4920 | * insdel.c (insert_from_string_1): Use SDATA. | |
4921 | * keyboard.c (Fevent_convert_list): Use SREF. | |
4922 | * lread.c (Fload): Use SDATA, SSET. | |
4923 | * macfns.c (validate_x_resource_name): Use SSET. | |
4924 | * process.c (status_message): Use SSET. | |
4925 | * search.c (wordify): Use SDATA. | |
4926 | (Freplace_match): Use SREF. | |
4927 | * w32fns.c (validate_x_resource_name): Use SSET. | |
4928 | * xfns.c (validate_x_resource_name): Use SSET. | |
4929 | * xterm.c (x_catch_errors, x_clear_errors): Use SSET. | |
4930 | ||
4931 | 2002-07-16 Richard M. Stallman <rms@gnu.org> | |
4932 | ||
4933 | * s/hpux11.h (USG_SUBTTY_WORKS): Defined. | |
4934 | ||
4935 | * xdisp.c (reconsider_clip_changes): | |
4936 | Don't test prevent_redisplay_optimizations_p. | |
4937 | (redisplay_internal): Test prevent_redisplay_optimizations_p | |
4938 | along with clip_changed in some cases. | |
4939 | (try_window_id): Likewise. | |
4940 | (redisplay_window): New local var buffer_unchanged_p. | |
4941 | ||
4942 | * keyboard.c (cmd_error) [HAVE_X_WINDOWS]: Maybe call cancel_houglass. | |
4943 | ||
4944 | * process.c (create_process): Test USG_SUBTTY_WORKS. | |
4945 | (process_send_signal): Clean up handling of GID. | |
4946 | Detect errors in ioctls meant to set GID. | |
4947 | ||
4948 | * window.c (temp_output_buffer_show): | |
4949 | Don't set prevent_redisplay_optimizations_p. | |
4950 | ||
4951 | 2002-07-15 Juanma Barranquero <lektu@terra.es> | |
4952 | ||
4953 | * eval.c (Fdefvaralias): Add docstring argument. | |
4954 | ||
4955 | 2002-07-15 Ken Raeburn <raeburn@gnu.org> | |
4956 | ||
4957 | * lisp.h (STRING_INTERVALS): Produce rvalue. | |
4958 | (STRING_SET_INTERVALS): New macro. | |
4959 | * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use it. | |
4960 | * fns.c (Fstring_as_multibyte): Likewise. | |
4961 | * intervals.c (balance_possible_root_interval, delete_interval) | |
4962 | (create_root_interval, copy_intervals_to_string): Likewise. | |
4963 | * textprop.c (set_text_properties): Likewise. Use NULL_INTERVAL | |
4964 | instead of 0. | |
4965 | ||
4966 | 2002-07-14 Ken Raeburn <raeburn@gnu.org> | |
4967 | ||
4968 | * lisp.h (STRING_SET_CHARS): New macro. | |
4969 | (SCHARS, SBYTES): Produce rvalues. | |
4970 | * dired.c (directory_files_internal): Use STRING_SET_CHARS. | |
4971 | * fns.c (concat): Likewise. | |
4972 | * lread.c (read_vector): Likewise. | |
4973 | ||
4974 | * lisp.h (SMBP): Deleted. All uses changed to STRING_MULTIBYTE. | |
4975 | (STRING_SET_UNIBYTE): New macro. | |
4976 | (SET_STRING_BYTES): Deleted. Callers (all of which supplied a | |
4977 | length of -1) changed to use STRING_SET_UNIBYTE. | |
4978 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, | |
4979 | casefiddle.c, category.c, ccl.c, charset.c, charset.h, coding.c, | |
4980 | composite.c, data.c, dired.c, dispnew.c, disptab.h, doc.c, | |
4981 | dosfns.c, editfns.c, emacs.c, eval.c, fileio.c, filelock.c, fn.c, | |
4982 | fontset.c, frame.c, indent.c, insdel.c, intervals.c, keyboard.c, | |
4983 | keymap.c, lread.c, mac.c, macfns.c, macmenu.c, macterm.c, | |
4984 | minibuf.c, msdos.c, print.c, process.c, search.c, sound.c, | |
4985 | sunfns.c, syntax.c, syntax.h, sysdep.c, textprop.c, undo.c, | |
4986 | w16select.c, w32.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, | |
4987 | w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c, | |
4988 | xselect.c, xsmfns.c, xterm.c: Most uses of XSTRING combined with | |
4989 | STRING_BYTES or indirection changed to SCHARS, SBYTES, | |
4990 | STRING_INTERVALS, SREF, SDATA; explicit size_byte references left | |
4991 | unchanged for now. | |
4992 | ||
4993 | 2002-07-13 Kim F. Storm <storm@cua.dk> | |
4994 | ||
4995 | * keyboard.c (command_loop_1): Invert check on Vmemory_full. | |
4996 | ||
4997 | 2002-07-12 Richard M. Stallman <rms@gnu.org> | |
4998 | ||
4999 | * fileio.c (Fwrite_region): Doc fix. | |
5000 | ||
5001 | * print.c (print_error_message): Don't handle Vsignaling_function here. | |
5002 | ||
5003 | * keyboard.c (cmd_error_internal): Handle Vsignaling_function here. | |
5004 | (command_loop_1): Avoid certain actions after memory-full error. | |
5005 | ||
5006 | * eval.c (Fsignal): Don't call cancel_hourglass. | |
5007 | For a memory-full error, don't call Vsignal_hook_function | |
5008 | and don't set Vsignaling_function. | |
5009 | ||
5010 | * process.c (process_send_signal): Add abort call. | |
5011 | ||
5012 | 2002-07-11 Markus Rost <rost@math.ohio-state.edu> | |
5013 | ||
5014 | * keymap.c (Fkey_binding): Fix typo. | |
5015 | ||
5016 | 2002-07-11 Richard M. Stallman <rms@gnu.org> | |
5017 | ||
5018 | * alloc.c (Vmemory_full): New variable. | |
5019 | (Vmemory_signal_data): Renamed from memory_signal_data. | |
5020 | Uses changed. | |
5021 | (syms_of_alloc): Defvar them. | |
5022 | (memory_full, buffer_memory_full): Set Vmemory_full. | |
5023 | ||
5024 | * lisp.h (Vmemory_full): Add declaration. | |
5025 | (current_column, indented_beyond_p): Change declaration. | |
5026 | ||
5027 | * indent.c (last_known_column): Declare as double, not float. | |
5028 | (current_column, current_column_1, string_display_width) | |
5029 | (position_indentation): Return `double'. | |
5030 | (indented_beyond_p): Arg `column' is `double'. Callers changed. | |
5031 | ||
5032 | * xdisp.c (message_dolog): Do nothing if Vmemory_full is non-nil. | |
5033 | (back_to_previous_visible_line_start) | |
5034 | (reseat_at_next_visible_line_start, next_element_from_buffer): | |
5035 | Use `double', not `float', when calling indented_beyond_p. | |
5036 | ||
5037 | * s/hpux11.h (BROKEN_SA_RESTART): Defined. | |
5038 | ||
5039 | * sysdep.c (sys_signal): Test BROKEN_SA_RESTART. | |
5040 | ||
5041 | 2002-07-11 Juanma Barranquero <lektu@terra.es> | |
5042 | ||
5043 | * alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, coding.c, | |
5044 | * composite.c, dired.c, dispnew.c, editfns.c, emacs.c, eval.c, | |
5045 | * fileio.c, fns.c, insdel.c, keyboard.c, keymap.c, lread.c, macfns.c, | |
5046 | * macmenu.c, macros.c, minibuf.c, print.c, process.c, sound.c, | |
5047 | * textprop.c, w32fns.c, w32menu.c, window.c, xfaces.c, xfns.c, | |
5048 | * xmenu.c, xselect.c, xterm.c: Use SPECPDL_INDEX wherever makes sense. | |
5049 | ||
5050 | 2002-07-10 Juanma Barranquero <lektu@terra.es> | |
5051 | ||
5052 | * lisp.h (SPECPDL_INDEX): Rename from BINDING_STACK_SIZE. All callers | |
5053 | changed. | |
5054 | ||
5055 | 2002-07-09 Stefan Monnier <monnier@cs.yale.edu> | |
5056 | ||
5057 | * data.c (Fdefalias): Add an optional `docstring' argument. | |
5058 | (set_internal, Fsetq_default): Use XCAR/XCDR. | |
5059 | ||
5060 | * composite.c (HASH_VALUE, HASH_KEY): | |
5061 | * ccl.c (HASH_VALUE): Remove (it's in lisp.h now). | |
5062 | ||
5063 | 2002-07-09 Kenichi Handa <handa@etl.go.jp> | |
5064 | ||
5065 | * callproc.c (Fcall_process): Fix previous change. | |
5066 | ||
5067 | 2002-07-07 Stefan Monnier <monnier@cs.yale.edu> | |
5068 | ||
5069 | * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): | |
5070 | Add support for hash-tables. | |
5071 | (Ftry_completion): Return t even if the string appears multiple times. | |
5072 | ||
5073 | * fns.c (Fnconc): Use XCDR. | |
5074 | (Fprovide): Use CONSP and XCDR. | |
5075 | (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) | |
5076 | (HASH_TABLE_SIZE): Delete: moved to lisp.h. | |
5077 | (Fmake_hash_table): Accept `:size nil'. | |
5078 | (Fmakehash): Delete: moved to subr.el. | |
5079 | (syms_of_fns): Don't defsubr makehash. | |
5080 | ||
5081 | * lisp.h (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) | |
5082 | (HASH_TABLE_SIZE): Move from fns.c. | |
5083 | ||
5084 | 2002-07-07 Richard M. Stallman <rms@gnu.org> | |
5085 | ||
5086 | * xdisp.c (make_cursor_line_fully_visible): Don't try short scrolls. | |
5087 | Instead just return 0 when there is something to be done. | |
5088 | (try_scrolling): If make_cursor_line_fully_visible returns 0, | |
5089 | retry scrolling as if cursor were off the bottom. | |
5090 | (try_cursor_movement): If make_cursor_line_fully_visible returns 0, | |
5091 | return CURSOR_MOVEMENT_MUST_SCROLL. | |
5092 | (redisplay_window): If make_cursor_line_fully_visible returns 0, | |
5093 | go to try_to_scroll. | |
5094 | ||
5095 | * buffer.c (Fbuffer_local_value): Store current value into its binding | |
5096 | so we get the up-to-date value for the binding that is loaded. | |
5097 | ||
5098 | * eval.c (Fdefmacro): Doc fix. | |
5099 | ||
5100 | 2002-07-05 Dave Love <fx@gnu.org> | |
5101 | ||
5102 | * keyboard.c (read_key_sequence): Set initial_idleness_start_time | |
5103 | correctly. | |
5104 | ||
5105 | * ccl.c (Vtranslation_hash_table_vector, GET_HASH_TABLE) | |
5106 | (HASH_VALUE, CCL_LookupIntConstTbl, CCL_LookupCharConstTbl): New. | |
5107 | (ccl_driver): Add cases for CCL_LookupIntConstTbl, | |
5108 | CCL_LookupCharConstTbl. | |
5109 | (syms_of_ccl): Defvar translation-hash-table-vector. | |
5110 | ||
5111 | 2002-07-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
5112 | ||
5113 | * xdisp.c: Remove unused variable `face'. | |
5114 | ||
5115 | 2002-07-04 Juanma Barranquero <lektu@terra.es> | |
5116 | ||
5117 | * keyboard.c (post_command_idle_hook): Remove redundant (and inexact) | |
5118 | obsolescence information. | |
5119 | ||
5120 | 2002-07-03 Andrew Choi <akochoi@shaw.ca> | |
5121 | ||
5122 | * macterm.c (x_list_fonts): Fix comment. Cache fonts matching | |
5123 | pattern. Search cache first. | |
5124 | (init_font_name_table): Also add entry for jisx0201.1976-0 coding | |
5125 | for Japanese font. | |
5126 | (XLoadQueryFont): Use it. | |
5127 | ||
5128 | 2002-07-02 Richard M. Stallman <rms@gnu.org> | |
5129 | ||
5130 | * keymap.c (Fdefine_key): Doc fix. | |
5131 | ||
5132 | * xterm.c (x_term_init): Turn off polling around XtOpenDisplay. | |
5133 | ||
5134 | 2002-07-02 Juanma Barranquero <lektu@terra.es> | |
5135 | ||
5136 | * keymap.c (syms_of_keymap): Fix typo. | |
5137 | ||
5138 | 2002-07-01 Andrew Choi <akochoi@shaw.ca> | |
5139 | ||
5140 | * s/darwin.h: Define POSIX_SIGNALS. | |
5141 | ||
5142 | * macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef | |
5143 | and FSRefMakePath to convert FSSpec returned with Apple Event to | |
5144 | Posix pathname. | |
5145 | (mac_initialize) [TARGET_API_MAC_CARBON]: | |
5146 | Call init_required_apple_events and disable the `Quit' menu item | |
5147 | provided automatically by the Carbon Toolbox. | |
5148 | ||
5149 | 2002-07-01 Dave Love <fx@gnu.org> | |
5150 | ||
5151 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl | |
5152 | for K&R. | |
5153 | ||
5154 | * xterm.c: Fix prototype for K&R. | |
5155 | ||
5156 | * term.c (costs_set): Declare static, non-initialized for pcc. | |
5157 | ||
5158 | 2002-07-01 Richard M. Stallman <rms@gnu.org> | |
5159 | ||
5160 | * keyboard.c (timer_last_idleness_start_time): New variable. | |
5161 | (timer_start_idle): Set that. | |
5162 | (read_key_sequence): Use that to reset timer_idleness_start_time | |
5163 | to previous value. | |
5164 | ||
5165 | * window.c (Frecenter): With arg, set optional_new_start. | |
5166 | ||
5167 | * xdisp.c (redisplay_internal): Make optional_new_start really work. | |
5168 | ||
5169 | * minibuf.c (Fminibuffer_complete_and_exit): Move to end of | |
5170 | buffer for completion. | |
5171 | ||
5172 | 2002-06-29 Ken Raeburn <raeburn@gnu.org> | |
5173 | ||
5174 | * xdisp.c (store_mode_line_string): Lisp_Object/int mixup. | |
5175 | ||
5176 | 2002-06-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
5177 | ||
5178 | * keyboard.c (readable_filtered_events): New function that filters | |
5179 | FOCUS_IN_EVENT depending on parameter. | |
5180 | (readable_events): Calls readable_filtered_events, not filtering | |
5181 | FOCUS_IN_EVENT. | |
5182 | (get_filtered_input_pending): New function, filtering parameter passed | |
5183 | to readable_filtered_events. | |
5184 | (get_input_pending): Calls get_filtered_input_pending, not filtering | |
5185 | FOCUS_IN_EVENT. | |
5186 | (Finput_pending_p): Calls get_filtered_input_pending, DO filter | |
5187 | FOCUS_IN_EVENT. | |
5188 | ||
5189 | * xterm.h (struct x_output): Add focus_state. | |
5190 | ||
5191 | * xterm.c (x_focus_changed): New function. | |
5192 | (x_detect_focus_change): New function. | |
5193 | (XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut | |
5194 | EnterNotify and LeaveNotify to track X focus changes. | |
5195 | ||
5196 | 2002-06-28 Andreas Schwab <schwab@suse.de> | |
5197 | ||
5198 | * lisp.h: Remove duplicate declaration of code_convert_string_norecord. | |
5199 | ||
5200 | 2002-06-27 Kim F. Storm <storm@cua.dk> | |
5201 | ||
5202 | * xdisp.c: (mode_line_string_list, mode_line_string_face) | |
5203 | (mode_line_string_face_prop): New variables. | |
5204 | (store_mode_line_string): New function. | |
5205 | (display_mode_element): Use store_mode_line_string to | |
5206 | add mode-line string elements to mode_line_string_list | |
5207 | when mode_line_string_list is non-nil. | |
5208 | (Fformat_mode_line): Now returns propertized string by | |
5209 | default. New arg NO-PROPS to ignore properties. | |
5210 | (decode_mode_spec): Only add two dashes for %- in propertized | |
5211 | mode-line string. | |
5212 | (syms_of_xdisp): Init and staticpro mode_line_string_list. | |
5213 | ||
5214 | 2002-06-27 Stefan Monnier <monnier@cs.yale.edu> | |
5215 | ||
5216 | * minibuf.c (minibuffer_completion_contents): Add return type. | |
5217 | ||
5218 | 2002-06-27 Juanma Barranquero <lektu@terra.es> | |
5219 | ||
5220 | * charset.c (Fchar_bytes): Remove obsolescence info from docstring. | |
5221 | ||
5222 | 2002-06-26 Juanma Barranquero <lektu@terra.es> | |
5223 | ||
5224 | * fileio.c (read_file_name_cleanup): Add missing return. | |
5225 | ||
5226 | 2002-06-26 Richard M. Stallman <rms@gnu.org> | |
5227 | ||
5228 | * window.c (Frecenter): Don't set force_start flag. | |
5229 | ||
5230 | * minibuf.c (do_completion, Fminibuffer_complete_word) | |
5231 | (Fminibuffer_completion_help): Complete just the text before point. | |
5232 | (minibuffer_completion_contents): New function. | |
5233 | ||
5234 | * buffer.c (Fbury_buffer): Use frames_discard_buffer. | |
5235 | ||
5236 | * frame.c (frames_bury_buffer): Function deleted. | |
5237 | ||
5238 | 2002-06-25 Miles Bader <miles@gnu.org> | |
5239 | ||
5240 | * callint.c (Fcall_interactively): When checking to see if doprnt hit | |
5241 | the end of callint_message, allow for a terminating '\0'. | |
5242 | ||
5243 | 2002-06-24 Juanma Barranquero <lektu@terra.es> | |
5244 | ||
5245 | * w32select.c: Include composite.h | |
5246 | ||
5247 | * w16select.c: Likewise. | |
5248 | ||
5249 | 2002-06-24 Kenichi Handa <handa@etl.go.jp> | |
5250 | ||
5251 | * callproc.c (Fcall_process): If code detection is necessary, | |
5252 | call detect_coding directly here. | |
5253 | ||
5254 | * coding.c (detect_eol): Preserve coding->cmp_data. | |
5255 | ||
5256 | * w16select.c (Fw16_get_clipboard_data): | |
5257 | * w32fns.c (w32_to_x_font): | |
5258 | * w32select.c (Fw32_get_clipboard_data): | |
5259 | * xselect.c (selection_data_to_lisp_data): | |
5260 | * xterm.c (XTread_socket): Disable composition handling. | |
5261 | ||
5262 | 2002-06-24 Stefan Monnier <monnier@cs.yale.edu> | |
5263 | ||
5264 | * print.c (temp_output_buffer_setup): Kill all local variables. | |
5265 | ||
5266 | 2002-06-22 Stefan Monnier <monnier@cs.yale.edu> | |
5267 | ||
5268 | * lread.c (Fread): Remove redundant and imprecise declaration. | |
5269 | ||
5270 | * xfns.c (check_x_display_info): Use check_x_frame. | |
5271 | ||
5272 | * .gdbinit (xprintsym): Use the new `xname' field. | |
5273 | (xsymbol): Use it. | |
5274 | ||
5275 | 2002-06-22 Jason Rumney <jasonr@gnu.org> | |
5276 | ||
5277 | * w32fns.c (file_dialog_callback): New function. | |
5278 | (Fx_file_dialog): Allow selecting directories as well as files. | |
5279 | ||
5280 | 2002-06-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
5281 | ||
5282 | * m/pmax.h (START_FILES): Define START_FILES for NetBSD and | |
5283 | OpenBSD. Add support for mipseb-*-netbsd* machines. | |
5284 | ||
5285 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> | |
5286 | ||
5287 | * macterm.c (mac_scroll_area): Set foreground and backcolor to | |
5288 | black and white before scrolling. Restore frame background and | |
5289 | foreground color after scrolling. | |
5290 | (do_window_update): Call XClearWindow before calling expose_frame. | |
5291 | (make_mac_frame): Don't set FRAME_BACKGROUND_PIXEL and | |
5292 | FRAME_FOREGROUND_PIXEL of frame. | |
5293 | ||
5294 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, | |
5295 | test Mac command key as <ALT> key. | |
5296 | ||
5297 | 2002-06-17 Stefan Monnier <monnier@cs.yale.edu> | |
5298 | ||
5299 | * window.c (Fset_window_configuration): Lisp_Object/int mixup. | |
5300 | ||
5301 | * keyboard.c (read_key_sequence): Be more careful with first_unbound. | |
5302 | Lookup keys in function-key-map immediately so that key-translation-map | |
5303 | can be applied earlier. | |
5304 | Remove function_key_possible and key_translation_possible, replaced | |
5305 | by checking `keytran_start < t'. | |
5306 | ||
5307 | * .gdbinit (xsymbol): Use the new `xname' field. | |
5308 | ||
5309 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> | |
5310 | ||
5311 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, | |
5312 | test Mac command key as <ALT> key. | |
5313 | ||
5314 | * mac.c (do_applescript): Call initialize_applescript if necessary | |
5315 | when first called. Dispose of result_desc only when there is no error. | |
5316 | (Fdo_applescript): Use %d format specifier instead of %ld. | |
5317 | ||
5318 | 2002-06-16 Andrew Choi <akochoi@shaw.ca> | |
5319 | ||
5320 | * macterm.c (XTread_socket): Call FrontNonFloatingWindow instead | |
5321 | of FrontWindow for cases keyDown and autoKey. | |
5322 | ||
5323 | * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of | |
5324 | Vdefault_fontset to Monaco with mac-roman coding. | |
5325 | ||
5326 | * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine | |
5327 | init_process before and after inclusion of Carbon/Carbon.h, resp. | |
5328 | ||
5329 | * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and | |
5330 | cursor_gc. | |
5331 | (add_font_name_table_entry): New function. | |
5332 | (init_font_name_table): Use add_font_name_table_entry; add italic, | |
5333 | bold, and bold-italic entries for truetype fonts. | |
5334 | ||
5335 | * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces | |
5336 | for Mac too. | |
5337 | (try_font_list) [MAC_OS]: If no font matches given registry, try | |
5338 | fonts with any registry matching face_family. | |
5339 | (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font here. | |
5340 | ||
5341 | * s/darwin.h: If autoconf detects the Ncurses library, define | |
5342 | LIBS_TERMCAP to -lncurses to use it. | |
5343 | ||
5344 | 2002-06-16 Eli Zaretskii <eliz@is.elta.co.il> | |
5345 | ||
5346 | * strftime.c [__hpux]: Include sys/_mbstate_t.h. | |
5347 | ||
5348 | 2002-06-15 Richard M. Stallman <rms@gnu.org> | |
5349 | ||
5350 | * window.c (Fset_window_configuration): Explicitly preserve | |
5351 | the point value that new_current_buffer had at the start. | |
5352 | ||
5353 | 2002-06-14 Juanma Barranquero <lektu@terra.es> | |
5354 | ||
5355 | * composite.c (Fcompose_region_internal, Fcompose_string_internal): | |
5356 | Fix typos. | |
5357 | ||
5358 | 2002-06-14 Kim F. Storm <storm@cua.dk> | |
5359 | ||
5360 | * insdel.c (insert_1_both, insert_from_string_1) | |
5361 | (insert_from_buffer_1): Recalculate END_UNCHANGED in case the | |
5362 | insert happened in the end_unchanged region. Otherwise, the | |
5363 | redisplay may be confused and duplicate the last line in the | |
5364 | buffer [seen after save-buffer when require-final-newline==t]. | |
5365 | ||
5366 | 2002-06-13 Jason Rumney <jasonr@gnu.org> | |
5367 | ||
5368 | * w32.c (init_environment): Remove EMACSLOCKDIR. | |
5369 | (stat): Swap _S_IFDIR and _S_IFREG. | |
5370 | ||
5371 | 2002-06-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
5372 | ||
5373 | * keyboard.c, macterm.c, macmenu.c, msdos.c, sysdep.c | |
5374 | * termhooks.h, xmenu.c, xsmfns.c, xterm.h, xterm.c, w32term.c, | |
5375 | * w32menu.c, w32inevt.c: Rename enum event_kind as follows: | |
5376 | ascii_keystroke to ASCII_KEYSTROKE_EVENT, multibyte_char_keystroke | |
5377 | to MULTIBYTE_CHAR_KEYSTROKE_EVENT, non_ascii_keystroke to | |
5378 | NON_ASCII_KEYSTROKE_EVENT, timer_event to TIMER_EVENT, mouse_click | |
5379 | to MOUSE_CLICK_EVENT, mouse_wheel to MOUSE_WHEEL_EVENT, | |
5380 | language_change_event to LANGUAGE_CHANGE_EVENT, scroll_bar_click | |
5381 | to SCROLL_BAR_CLICK_EVENT, w32_scroll_bar_click to | |
5382 | W32_SCROLL_BAR_CLICK_EVENT, selection_request_event to | |
5383 | SELECTION_REQUEST_EVENT, selection_clear_event to | |
5384 | SELECTION_CLEAR_EVENT, buffer_switch_event to BUFFER_SWITCH_EVENT, | |
5385 | delete_window_event to DELETE_WINDOW_EVENT, iconify_event to | |
5386 | ICONIFY_EVENT, deiconify_event to DEICONIFY_EVENT, | |
5387 | menu_bar_activate_event to MENU_BAR_ACTIVATE_EVENT, drag_n_drop to | |
5388 | DRAG_N_DROP_EVENT, save_session_event to SAVE_SESSION_EVENT and | |
5389 | no_event to NO_EVENT. | |
5390 | ||
5391 | 2002-06-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
5392 | ||
5393 | * macmenu.c: Remove declaration of Qmouse_click and Qevent_kind. | |
5394 | ||
5395 | 2002-06-12 Stefan Monnier <monnier@cs.yale.edu> | |
5396 | ||
5397 | * intervals.c (textget): Don't forget to `return'. | |
5398 | (lookup_char_property): Use XCAR/XCDR. | |
5399 | ||
5400 | 2002-06-12 Juanma Barranquero <lektu@terra.es> | |
5401 | ||
5402 | * xdisp.c (Fformat_mode_line): Fix typo. | |
5403 | ||
5404 | 2002-06-12 Kim F. Storm <storm@cua.dk> | |
5405 | ||
5406 | * xdisp.c (Fformat_mode_line): New function. | |
5407 | (frame_title_buf, frame_title_buf_end, frame_title_ptr) | |
5408 | (store_frame_title_char, store_frame_title): Use unconditionally. | |
5409 | (init_xdisp): Defsubr Fformat_mode_line. | |
5410 | Initialize frame_title_buf etc. unconditionally. | |
5411 | ||
5412 | 2002-06-11 Stefan Monnier <monnier@cs.yale.edu> | |
5413 | ||
5414 | * keyboard.c (read_key_sequence): | |
5415 | Remove prev_(fkey|keytran}_(map|start|end) since we don't want to pass | |
5416 | things through those maps after downcasing events. | |
5417 | Enforce that keytran_end <= fkey_start, i.e. that key-translation-map | |
5418 | applies after function-key-map. | |
5419 | Make sure that keytran can be done in the middle in the sequence. | |
5420 | Be careful not to throw away events past the one we downcase. | |
5421 | ||
5422 | * lread.c (read_integer): Remove unused var `tem'. | |
5423 | (read1): Fix int/Lisp_Object mixup. | |
5424 | ||
5425 | * xfaces.c (tty_lookup_color): Type bool/Lisp_Object mismatch fixed. | |
5426 | ||
5427 | 2002-06-11 Richard M. Stallman <rms@gnu.org> | |
5428 | ||
5429 | * keyboard.c (readable_events): Ignore any number of | |
5430 | FOCUS_IN_EVENT events and return 0 if nothing else in buffer. | |
5431 | ||
5432 | 2002-06-09 Miles Bader <miles@gnu.org> | |
5433 | ||
5434 | * xfaces.c (Ftty_supports_face_attributes_p): New function. | |
5435 | (parse_rgb_list, tty_lookup_color): New functions. | |
5436 | (tty_defined_color): Use `tty_lookup_color' to do all the work. | |
5437 | (color_distance, Fcolor_distance): New functions. | |
5438 | (TTY_SAME_COLOR_THRESHOLD): New macro. | |
5439 | (Qtty_color_standard_values): New variable. | |
5440 | (syms_of_xfaces): Initialize new vars & functions. | |
5441 | ||
5442 | 2002-06-08 Colin Walters <walters@verbum.org> | |
5443 | ||
5444 | * textprop.c (Vchar_property_alias_alist): New variable. | |
5445 | (syms_of_textprop) <Vchar_property_alias_alist>: DEFVAR_LISP. | |
5446 | ||
5447 | * intervals.c (lookup_char_property): New function for looking up | |
5448 | overlay and text properties, created from textget. | |
5449 | (textget): Use it. | |
5450 | ||
5451 | * intervals.h (lookup_char_property): Declare. | |
5452 | (Vchar_property_alias_alist): Declare. | |
5453 | ||
5454 | * buffer.c (Foverlay_get): Use lookup_char_property. | |
5455 | ||
5456 | 2002-06-07 Sam Steingold <sds@gnu.org> | |
5457 | ||
5458 | * xselect.c (lisp_data_to_selection_data): Fix last change: | |
5459 | *data_ret is not a Lisp string, while unibyte_string is. | |
5460 | ||
5461 | 2002-06-07 Eli Zaretskii <eliz@is.elta.co.il> | |
5462 | ||
5463 | * xselect.c (lisp_data_to_selection_data): Fix last change: | |
5464 | set size_ret. | |
5465 | ||
5466 | 2002-06-07 Andreas Schwab <schwab@suse.de> | |
5467 | ||
5468 | * m/amdx86-64.h: New file. | |
5469 | ||
5470 | 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il> | |
5471 | ||
5472 | * fns.c (Fstring_make_unibyte): Doc fix. | |
5473 | ||
5474 | * xselect.c (lisp_data_to_selection_data): If the requested type | |
5475 | is STRING, call string_make_unibyte to encode the selected text | |
5476 | as a string. | |
5477 | ||
5478 | * window.c (Fset_window_hscroll): Doc fix. | |
5479 | ||
5480 | 2002-06-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
5481 | ||
5482 | * fileio.c (choose_write_coding_system): | |
5483 | Call select-safe-coding-system properly. | |
5484 | ||
5485 | 2002-06-03 Richard M. Stallman <rms@gnu.org> | |
5486 | ||
5487 | * xdisp.c (message_with_string): Error if STRING is not a string. | |
5488 | ||
5489 | * fns.c (md5): Pass FILE arg to Vselect_safe_coding_system_function. | |
5490 | ||
5491 | * fileio.c (choose_write_coding_system): Pass FILE arg to | |
5492 | Vselect_safe_coding_system_function. | |
5493 | ||
5494 | 2002-06-03 Ken Raeburn <raeburn@gnu.org> | |
5495 | ||
5496 | * buffer.c (fix_overlays_before): Fix list-walking bug in 05-19 change. | |
5497 | ||
5498 | 2002-06-02 Thien-Thi Nguyen <ttn@gnu.org> | |
5499 | ||
5500 | * bytecode.c (Fbyte_code): Cast `current_column' return value to int. | |
5501 | * cmds.c (Fdelete_backward_char, internal_self_insert): Likewise. | |
5502 | * keymap.c (describe_command): Likewise. | |
5503 | * minibuf.c (read_minibuf): Likewise. | |
5504 | ||
5505 | * xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec): | |
5506 | Cast `current_column' return value to int. | |
5507 | (back_to_previous_visible_line_start) | |
5508 | (reseat_at_next_visible_line_start, next_element_from_buffer): | |
5509 | Cast `indented_beyond_p' 3rd arg to float. | |
5510 | ||
5511 | * indent.c (last_known_column): Now a float. | |
5512 | (current_column_1, position_indentation, current_column) | |
5513 | (string_display_width): Return float. | |
5514 | (Fcurrent_column): Cast `current_column' return value to int. | |
5515 | (Fcurrent_indentation): Cast `position_indentation' retval to int. | |
5516 | (indented_beyond_p): Third arg now a float. | |
5517 | (compute_motion, vmotion): Cast `indented_beyond_p' 3rd arg to float. | |
5518 | ||
5519 | * lisp.h (current_column): Now returns float. | |
5520 | (indented_beyond_p): 3rd arg now a float. | |
5521 | ||
5522 | 2002-05-31 Eli Zaretskii <eliz@is.elta.co.il> | |
5523 | ||
5524 | * xfns.c (x_encode_text): Return stringp non-NULL if coding_system | |
5525 | is Qcompound_text_with_extensions. | |
5526 | ||
5527 | * xselect.c (lisp_data_to_selection_data): Always set selection | |
5528 | type as string if x_encode_text returns streingp non-NULL. | |
5529 | ||
5530 | * s/netbsd.h: Include /usr/pkg in the run time shared library path. | |
5531 | ||
5532 | 2002-05-30 Richard M. Stallman <rms@gnu.org> | |
5533 | ||
5534 | * window.c (Fset_window_configuration): Correct the handling | |
5535 | of point in current buffer, to work with multiple windows. | |
5536 | ||
5537 | 2002-05-29 Colin Walters <walters@verbum.org> | |
5538 | ||
5539 | * lread.c (Fread_from_string): Don't depend on order of evaluation | |
5540 | for C function parameters. | |
5541 | ||
5542 | 2002-05-28 Richard M. Stallman <rms@gnu.org> | |
5543 | ||
5544 | * xterm.c (x_display_and_set_cursor): Change the cursor in the same | |
5545 | way for blinked-off state and for a nonselected window. | |
5546 | ||
5547 | * window.c (window_scroll_pixel_based): Don't call Fbolp; | |
5548 | instead, see if the new start pos is at beginning of line. | |
5549 | ||
5550 | * fileio.c (Fwrite_region): If START is a string, don't | |
5551 | make any annotations. | |
5552 | ||
5553 | * eval.c (syms_of_eval): Doc fix. | |
5554 | ||
5555 | 2002-05-28 Colin Walters <walters@debian.org> | |
5556 | ||
5557 | * emacs.c (USAGE1): Add --no-splash. | |
5558 | (standard_args): Ditto. | |
5559 | ||
5560 | 2002-05-28 Colin Walters <walters@gnu.org> | |
5561 | ||
5562 | * lread.c (readchar_count): New variable. | |
5563 | (readchar): Increment it. | |
5564 | (unreadchar): Decrement it. | |
5565 | (read_multibyte): Decrement it. | |
5566 | (Vread_with_symbol_positions): New variable. | |
5567 | (Vread_symbol_positions_list): New variable. | |
5568 | (read_internal_start): New function, created from Fread and | |
5569 | Fread_from_string. Handle Vread_symbol_positions_list and | |
5570 | Vread_with_symbol_positions. | |
5571 | (readevalloop, Fread, Fread_from_string): Use it. | |
5572 | (read1): Use readchar_count to add symbol positions to | |
5573 | Vread_symbol_positions_list if Vread_with_symbol_positions is non-nil. | |
5574 | (syms_of_lread): DEFVAR_LISP and initialize them. | |
5575 | ||
5576 | * lread.c (read0, read1, read_list, read_vector, read_multibyte) | |
5577 | (substitute_object_recurse, substitute_object_in_subtree) | |
5578 | (substitute_in_interval): Prototype. | |
5579 | (read_multibyte): Return c if it's less than zero. | |
5580 | ||
5581 | 2002-05-28 Kim F. Storm <storm@cua.dk> | |
5582 | ||
5583 | * fileio.c (Fread_file_name_internal): Added brute-force | |
5584 | speed up for using predicate file-directory-p. | |
5585 | ||
5586 | 2002-05-28 Kim F. Storm <storm@cua.dk> | |
5587 | ||
5588 | * fileio.c (Vread_file_name_function, Vread_file_name_predicate): | |
5589 | New variables. | |
5590 | (syms_of_fileio): DEFVAR_LISP them. | |
5591 | (read_file_name_cleanup): New unwind function. | |
5592 | (Fread_file_name_internal): Only return completions satifying | |
5593 | Vread_file_name_predicate. Temporarily unwind protect and rebind | |
5594 | default-directory while checking completions against the predicate. | |
5595 | (Fread_file_name): Added PREDICATE argument. Specbind it to | |
5596 | Vread_file_name_predicate during completion. | |
5597 | Call Vread_file_name_function to read the file name if non-nil. | |
5598 | ||
5599 | * lisp.h (Fread_file_name): Now has 6 args. | |
5600 | ||
5601 | * callint.c (Fcall_interactively) <"D">: Supply Qfile_directory_p | |
5602 | predicate for Fread_file_name when reading directory name. | |
5603 | Supply Qnil for predicate in other calls to Fread_file_name. | |
5604 | ||
5605 | 2002-05-26 Miles Bader <miles@gnu.org> | |
5606 | ||
5607 | * term.c (tty_capable_p): New function. | |
5608 | * dispextern.h (tty_capable_p): New function declaration. | |
5609 | (TTY_CAP_INVERSE, TTY_CAP_UNDERLINE, TTY_CAP_BOLD, TTY_CAP_DIM) | |
5610 | (TTY_CAP_BLINK, TTY_CAP_ALT_CHARSET): New macros. | |
5611 | ||
5612 | 2002-05-23 Stefan Monnier <monnier@cs.yale.edu> | |
5613 | ||
5614 | * fileio.c (read_non_regular, Finsert_file_contents): Use BEG_BYTE. | |
5615 | (Finsert_file_contents, build_annotations): Use XCAR, XCDR. | |
5616 | (Vwrite_region_annotate_functions): Docstring fix. | |
5617 | ||
5618 | 2002-05-23 Kim F. Storm <storm@cua.dk> | |
5619 | ||
5620 | * xterm.c (x_write_glyphs): Clear phys_cursor_on_p if current | |
5621 | phys_cursor's hpos is overwritten. This is still not completely | |
5622 | correct, as it doesn't really make sense to use hpos at all to | |
5623 | get the cursor glyph (as that is relative to the width of the | |
5624 | characters on the line, which may have changed during the update). | |
5625 | ||
5626 | 2002-05-22 Jason Rumney <jasonr@gnu.org> | |
5627 | ||
5628 | * w32fns.c (enumfont_t): Remove tail, make pattern a normal | |
5629 | Lisp_Object. | |
5630 | (enum_font_cb2, enum_font_maybe_add_to_list, w32_list_fonts): | |
5631 | Use modified enumfont_t struct. | |
5632 | ||
5633 | * w32term.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. | |
5634 | ||
5635 | * w32term.c (x_draw_bar_cursor): New argument KIND; callers changed. | |
5636 | Handle the `hbar' cursor type. | |
5637 | (x_display_and_set_cursor): Handle the HBAR_CURSOR case. | |
5638 | ||
5639 | * w32fns.c (Qhbar): New variable. | |
5640 | (x_specified_cursor_type): Use it. | |
5641 | ||
5642 | 2002-05-21 Ken Raeburn <raeburn@gnu.org> | |
5643 | ||
5644 | * w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE for | |
5645 | now, when the address is needed. | |
5646 | ||
5647 | 2002-05-21 Colin Walters <walters@gnu.org> | |
5648 | ||
5649 | * Makefile.in (shortlisp): Add font-core.el. | |
5650 | ||
5651 | 2002-05-20 Richard M. Stallman <rms@gnu.org> | |
5652 | ||
5653 | * buffer.c (syms_of_buffer) <cursor-type>: Doc fix. | |
5654 | ||
5655 | * keyboard.c (read_char_minibuf_menu_prompt): Don't list | |
5656 | equivalent key bindings here. | |
5657 | ||
5658 | 2002-05-20 Ken Raeburn <raeburn@gnu.org> | |
5659 | ||
5660 | Change symbol structure to contain a lisp object for the symbol | |
5661 | name: | |
5662 | * lisp.h (struct Lisp_Symbol): Replace field "name" with a lisp | |
5663 | object field named "xname". | |
5664 | (SYMBOL_NAME): New macro. | |
5665 | * abbrev.c (write_abbrev): Use SYMBOL_NAME instead of XSYMBOL and | |
5666 | name field. | |
5667 | * alloc.c (Fmake_symbol): Set symbol xname field instead of name. | |
5668 | (mark_object, gc_sweep): Use symbol xname field and XSTRING | |
5669 | instead of name field. | |
5670 | * buffer.c (buffer_slot_type_mismatch): Use XSTRING and | |
5671 | SYMBOL_NAME instead of XSYMBOL and name field. | |
5672 | * callint.c (Fcall_interactively): Use XSTRING and SYMBOL_NAME | |
5673 | instead of XSYMBOL and name field. | |
5674 | * charset.c (Fdefine_charset, Fdeclare_equiv_charset): Use XSTRING | |
5675 | and SYMBOL_NAME instead of XSYMBOL and name field. | |
5676 | * coding.c (Fread_coding_system, code_convert_region1) | |
5677 | (code_convert_string1, code_convert_string_norecord) | |
5678 | (Ffind_operation_coding_system): Use SYMBOL_NAME instead of | |
5679 | XSYMBOL and name field. | |
5680 | * data.c (Fkeywordp, Fsymbol_name, store_symval_forwarding) | |
5681 | (Fmake_variable_buffer_local, Fmake_local_variable) | |
5682 | (Fmake_variable_frame_local): Use SYMBOL_NAME and XSTRING instead | |
5683 | of XSYMBOL and name field. | |
5684 | * editfns.c (Fformat): Use SYMBOL_NAME and XSTRING instead of | |
5685 | XSYMBOL and name field. | |
5686 | * emacs.c (shut_down_emacs) [#if 0]: Use SYMBOL_NAME and XSTRING | |
5687 | instead of XSYMBOL and name field. | |
5688 | * eval.c (do_autoload): Use SYMBOL_NAME and XSTRING instead of | |
5689 | XSYMBOL and name field. | |
5690 | * fns.c (Fstring_equal, Fstring_lessp, Frequire, sxhash): | |
5691 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
5692 | * fontset.c (Fset_fontset_font): Use SYMBOL_NAME and XSTRING | |
5693 | instead of XSYMBOL and name field. | |
5694 | * keyboard.c (echo_char, record_char, parse_modifiers_uncached) | |
5695 | (parse_modifiers, apply_modifiers, Fevent_convert_list) | |
5696 | (parse_solitary_modifier, Fexecute_extended_command): | |
5697 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
5698 | * keymap.c (silly_event_symbol_error, Fsingle_key_description) | |
5699 | (Fdescribe_buffer_bindings): Use SYMBOL_NAME and XSTRING instead | |
5700 | of XSYMBOL and name field. | |
5701 | (describe_command, describe_translation): Use SYMBOL_NAME and | |
5702 | assignment instead of XSYMBOL and name field and XSETSTRING. | |
5703 | * lread.c (Fintern_soft, oblookup): Use SYMBOL_NAME and XSTRING | |
5704 | instead of XSYMBOL and name field. | |
5705 | (Funintern): Use SYMBOL_NAME and assignment instead of XSYMBOL and | |
5706 | name field and XSETSTRING. | |
5707 | * macfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead | |
5708 | of XSYMBOL and name field. | |
5709 | * minibuf.c (Fread_command, Fread_variable): Use SYMBOL_NAME and | |
5710 | assignment instead of XSYMBOL and name field and XSETSTRING. | |
5711 | * print.c (print_error_message, print_object): Use SYMBOL_NAME and | |
5712 | XSTRING instead of XSYMBOL and name field. | |
5713 | * process.c (set_socket_options, Fsignal_process): Use SYMBOL_NAME | |
5714 | and XSTRING instead of XSYMBOL and name field. | |
5715 | * w32fns.c (parse_image_spec, w32_parse_hot_key): Use SYMBOL_NAME | |
5716 | and XSTRING instead of XSYMBOL and name field. | |
5717 | * xfaces.c (merge_face_vector_with_property): Use SYMBOL_NAME and | |
5718 | XSTRING instead of XSYMBOL and name field. | |
5719 | * xfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead | |
5720 | of XSYMBOL and name field. | |
5721 | * xselect.c (symbol_to_x_atom, x_get_foreign_selection): | |
5722 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
5723 | ||
5724 | 2002-05-19 Ken Raeburn <raeburn@gnu.org> | |
5725 | ||
5726 | * lisp.h (LISP_MAKE_RVALUE): Delete disabled version, making XCAR | |
5727 | and XCDR real rvalues in most configurations. | |
5728 | ||
5729 | * buffer.c (fix_overlays_in_range, fix_overlays_before): | |
5730 | Don't take the address of the cdr part of a cons cell; instead, track | |
5731 | the parent cell and call XSETCDR, or set the variable for the head | |
5732 | of the list if we haven't started down the list yet. | |
5733 | ||
5734 | 2002-05-19 Richard M. Stallman <rms@gnu.org> | |
5735 | ||
5736 | * doc.c (reread_doc_file): Don't ask for confirmation. | |
5737 | ||
5738 | 2002-05-18 Jason Rumney <jasonr@gnu.org> | |
5739 | ||
5740 | * w32fns.c (w32_create_pixmap_from_bitmap_data): New function. | |
5741 | (xbm_load_image): Use it. | |
5742 | (xbm_load): Ditto. | |
5743 | (xbm_read_bitmap_data): Reverted to xfns.c version. | |
5744 | From David Ponce <david@dponce.com>. | |
5745 | ||
5746 | 2002-05-17 Eli Zaretskii <eliz@is.elta.co.il> | |
5747 | ||
5748 | * msdos.c (sig_suspender, sigprocmask): Don't define for DJGPP | |
5749 | 2.02 and later. | |
5750 | ||
5751 | 2002-05-16 Juanma Barranquero <lektu@terra.es> | |
5752 | ||
5753 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Fix typo. | |
5754 | ||
5755 | 2002-05-15 Stefan Monnier <monnier@cs.yale.edu> | |
5756 | ||
5757 | * keyboard.c (read_char_x_menu_prompt): Use an equivalent but more | |
5758 | meaningful test. | |
5759 | (read_char_minibuf_menu_prompt): Fix typo. | |
5760 | ||
5761 | 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il> | |
5762 | ||
5763 | * eval.c (Fcommandp): Doc fix. | |
5764 | ||
5765 | 2002-05-13 Stefan Monnier <monnier@cs.yale.edu> | |
5766 | ||
5767 | * keymap.c (keymap_parent): New fun, extracted from Fkeymap_parent. | |
5768 | (Fkeymap_parent, keymap_memberp, fix_submap_inheritance): Use it. | |
5769 | (Fset_keymap_parent): Gcpro a bit more. | |
5770 | (access_keymap): Gcpro around meta_map call and around the main loop. | |
5771 | (get_keyelt): Gcpro when following indirect references. | |
5772 | (copy_keymap_item): New fun, extracted from Fcopy_keymap. | |
5773 | (copy_keymap_1, Fcopy_keymap): Use it. Don't copy the parent map. | |
5774 | (Fdefine_key, Flookup_key): Gcpro before calling get_keymap. | |
5775 | Remove useless ad-hoc remap code. | |
5776 | ||
5777 | 2002-05-13 Richard M. Stallman <rms@gnu.org> | |
5778 | ||
5779 | * search.c (search_buffer): Give up boyer moore search if inverse | |
5780 | translation change charset_base. | |
5781 | ||
5782 | 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il> | |
5783 | ||
5784 | * coding.c (decode_coding) <coding_type_ccl>: If a lone CR | |
5785 | characters is carried over from the previous block of text, adjust | |
5786 | coding->produced to account for the extra character. | |
5787 | ||
5788 | 2002-05-11 Andreas Schwab <schwab@suse.de> | |
5789 | ||
5790 | * coding.c (intersection): Keep the elements of the returned list | |
5791 | in the same order as in the first list. | |
5792 | ||
5793 | 2002-05-11 Kim F. Storm <storm@cua.dk> | |
5794 | ||
5795 | * keymap.c (current_minor_maps): Fixed resizing of cmm_maps; | |
5796 | only update cmm_size if realloc actually succeeds. | |
5797 | Testing with initial size of 2 elements revealed that using | |
5798 | realloc on GNU/Linux would cause a random trap in xmalloc | |
5799 | later on, so I rewrote the code to use malloc/bcopy/free instead | |
5800 | of realloc. | |
5801 | ||
5802 | 2002-05-10 Jason Rumney <jasonr@gnu.org> | |
5803 | ||
5804 | * w32fns.c (enum_font_cb2): Avoid DBCS raster fonts. | |
5805 | ||
5806 | 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il> | |
5807 | ||
5808 | * coding.c (encode_coding_sjis_big5): Enclose bitwise AND in | |
5809 | parens, to ensure correct evaluation order. | |
5810 | ||
5811 | 2002-05-10 Kim F. Storm <storm@cua.dk> | |
5812 | ||
5813 | * keymap.c (Vemulation_mode_map_alists): New variable. | |
5814 | (syms_of_keymap): DEFVAR_LISP it. | |
5815 | (current_minor_maps): Process keymap alists in that list before | |
5816 | minor-mode-overriding-map-alist and minor-mode-map-alist. | |
5817 | ||
5818 | 2002-05-09 Richard M. Stallman <rms@gnu.org> | |
5819 | ||
5820 | * search.c (Freplace_match): Doc fix. | |
5821 | ||
5822 | 2002-05-09 Kim F. Storm <storm@cua.dk> | |
5823 | ||
5824 | * macterm.c (x_draw_image_foreground, x_draw_image_foreground_1): | |
5825 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
5826 | ||
5827 | * w32term.c (x_draw_image_foreground, w32_draw_image_foreground_1): | |
5828 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
5829 | ||
5830 | * xterm.c (x_draw_image_foreground, x_draw_image_foreground_1): | |
5831 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
5832 | ||
5833 | 2002-05-07 Eli Zaretskii <eliz@is.elta.co.il> | |
5834 | ||
5835 | * xselect.c (lisp_data_to_selection_data): Don't set selection | |
5836 | type if comes from the Lisp object's car. If the selection | |
5837 | contains a pure ASCII text, always return QSTRING as its type. | |
5838 | ||
5839 | 2002-05-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
5840 | ||
5841 | * mac.c (mac-cut-function): Doc fix. | |
5842 | ||
5843 | 2002-05-05 Richard M. Stallman <rms@gnu.org> | |
5844 | ||
5845 | * s/gnu.h [DOUG_LEA_MALLOC] (REL_ALLOC): Undefine it. | |
5846 | ||
5847 | 2002-05-04 Jason Rumney <jasonr@gnu.org> | |
5848 | ||
5849 | * keyboard.c (make_lispy_event) <mouse-wheel>: Set count to 1 | |
5850 | for event-click-count. | |
5851 | ||
5852 | * process.c (init_process): Only add server subfeature if we can | |
5853 | use non-blocking I/O. | |
5854 | ||
5855 | 2002-05-04 Andrew Choi <akochoi@shaw.ca> | |
5856 | ||
5857 | * macterm.c (XTread_socket): Call WaitNextEvent once instead of | |
5858 | repeatedly. | |
5859 | ||
5860 | 2002-05-03 Jason Rumney <jasonr@gnu.org> | |
5861 | ||
5862 | * process.c (Fmake_network_process): Only support server sockets | |
5863 | when we can make them non-blocking. | |
5864 | ||
5865 | * s/ms-w32.h (HAVE_SELECT): Define. | |
5866 | ||
5867 | * w32.h (FILE_NDELAY): New flag. | |
5868 | ||
5869 | * w32.c (sys_getpeername, fcntl): New functions. | |
5870 | (_sys_read_ahead): Temporarily block on non-blocking sockets. | |
5871 | ||
5872 | * w32proc.c: include sys/file.h. | |
5873 | ||
5874 | 2002-05-03 Colin Walters <walters@verbum.org> | |
5875 | ||
5876 | * callproc.c (Vgame_score_directory): Renamed to | |
5877 | Vshared_game_score_directory. | |
5878 | ||
5879 | 2002-04-30 Richard M. Stallman <rms@gnu.org> | |
5880 | ||
5881 | * s/gnu.h [emacs]: Include stdio.h. | |
5882 | (GNU_LIBRARY_PENDING_OUTPUT_COUNT): New definition, conditional. | |
5883 | ||
5884 | * eval.c (do_autoload): Error if called while preparing to dump. | |
5885 | ||
5886 | * fns.c (Frequire): Error if need to load while preparing to dump. | |
5887 | ||
5888 | 2002-04-28 Colin Walters <walters@verbum.org> | |
5889 | ||
5890 | * callproc.c (Vgame_score_directory) [!HAVE_SHARED_GAME_DIR]: | |
5891 | Default to "~/.emacs.d/games". | |
5892 | ||
5893 | 2002-04-29 Stefan Monnier <monnier@cs.yale.edu> | |
5894 | ||
5895 | * lread.c (openp): Change arg exec_only to predicate. | |
5896 | (build_load_history): Use XCAR/XCDR. | |
5897 | (Flocate_file_internal): New fun. | |
5898 | (syms_of_lread): Defsubr it. | |
5899 | (Fload): Update call to openp. | |
5900 | ||
5901 | * lisp.h (openp): Update prototype. | |
5902 | ||
5903 | * xfns.c (x_create_bitmap_from_file, x_find_image_file): | |
5904 | * w32proc.c (sys_spawnve): | |
5905 | * w32fns.c (x_create_bitmap_from_file, x_find_image_file): | |
5906 | * w32.c (check_windows_init_file): | |
5907 | * sound.c (Fplay_sound_internal): | |
5908 | * process.c (Fstart_process): | |
5909 | * macfns.c (x_create_bitmap_from_file, x_find_image_file): | |
5910 | * mac.c (run_mac_command): | |
5911 | * emacs.c (init_cmdargs): | |
5912 | * callproc.c (Fcall_process): Update call to openp. | |
5913 | ||
5914 | * textprop.c (remove_properties): Don't use XCAR without CONSP. | |
5915 | ||
5916 | * xterm.c (XTread_socket): Disable the Xutf8LookupString code. | |
5917 | ||
5918 | 2002-04-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
5919 | ||
5920 | * dispextern.h (DEFAULT_TOOL_BAR_BUTTON_MARGIN) | |
5921 | (DEFAULT_TOOL_BAR_BUTTON_RELIEF): Change default values. | |
5922 | ||
5923 | 2002-04-28 Richard M. Stallman <rms@gnu.org> | |
5924 | ||
5925 | * minibuf.c (Fall_completions, Ftry_completion): New arg to Fcommandp. | |
5926 | ||
5927 | * eval.c (Fcommandp): New arg for_call_interactively. | |
5928 | * lisp.h (Fcommandp): Declare new arg. | |
5929 | ||
5930 | 2002-04-28 Jason Rumney <jasonr@gnu.org> | |
5931 | ||
5932 | * w32proc.c (syms_of_w32proc): Get true file attributes by default. | |
5933 | ||
5934 | * w32.c (stat, fstat): Use file index information to generate | |
5935 | inodes for directories where available. | |
5936 | ||
5937 | 2002-04-26 Andrew Choi <akochoi@shaw.ca> | |
5938 | ||
5939 | * Makefile.in (C_SWITCH_SYSTEM_TEMACS): Add. | |
5940 | [HAVE_CARBON]: Include Mac object files. | |
5941 | ||
5942 | * alloc.c, callproc.c, dispextern.h, dispnew.c, emacs.c, | |
5943 | fontset.c, frame.c, frame.h, keyboard.c, sysdep.c, term.c, | |
5944 | termcap.c, window.c, xdisp.c, xfaces.c: Use macros MAC_OS8, | |
5945 | MAC_OSX, and MAC_OS instead of macintosh. | |
5946 | ||
5947 | * editfns.c [MAC_OS8]: Include stdio.h. | |
5948 | ||
5949 | * emacs.c [MAC_OS8]: Call mac_initialize instead of x_term_init. | |
5950 | ||
5951 | * fontset.c [MAC_OS]: Set Vdefault_fontset to ETL Fixed instead of | |
5952 | Apple Monaco. | |
5953 | ||
5954 | * process.c: Declare QCfamily and QCfilter as extern. | |
5955 | (wait_reading_process_input) [MAC_OSX]: Clear bit for stdin before | |
5956 | calling select. | |
5957 | ||
5958 | * termcap.c [MAC_OSX]: Don't define tgetnum, PC, tputs, and tgetent. | |
5959 | ||
5960 | * tparam.c [MAC_OSX]: Don't define BC and UP. | |
5961 | ||
5962 | * config.in [HAVE_CARBON]: Add. | |
5963 | ||
5964 | * mac.c, macgui.h, macfns.c, macmenu.c, macterm.c, macterm.h: | |
5965 | Move here from mac/src and mac/inc. | |
5966 | ||
5967 | * s/darwin.h, m/powermac.h, unexmacosx.c: New files. | |
5968 | ||
5969 | 2002-04-26 Gerd Moellmann <gerd@gnu.org> | |
5970 | ||
5971 | * xterm.c (x_draw_phys_cursor_glyph): Undo last change. | |
5972 | Compute phys_cursor_width from the x position returned | |
5973 | by x_draw_glyhs, which is cheaper. | |
5974 | (x_display_and_set_cursor): Compute the buffer-local value | |
5975 | of `cursor-in-non-selected-windows' only when needed. | |
5976 | ||
5977 | 2002-04-25 Gerd Moellmann <gerd@gnu.org> | |
5978 | ||
5979 | * xterm.c (x_draw_phys_cursor_glyph): Take into account that a box | |
5980 | cursor on a stretch glyph has a width that depends on | |
5981 | x_stretch_cursor_p. | |
5982 | ||
5983 | 2002-04-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
5984 | ||
5985 | * abbrev.c (abbrev-start-location): Doc fix. | |
5986 | ||
5987 | * indent.c (Fvertical_motion): Fix last change. | |
5988 | ||
5989 | 2002-04-25 Gerd Moellmann <gerd@gnu.org> | |
5990 | ||
5991 | * indent.c (Fvertical_motion): Move to the start of the line | |
5992 | containing PT before moving up or down. | |
5993 | ||
5994 | 2002-04-24 Gerd Moellmann <gerd@gnu.org> | |
5995 | ||
5996 | * dispnew.c (update_text_area): Set phys_cursor_on_p to 0 in the | |
5997 | case of writing a whole row, more or less analogous to the case of | |
5998 | writing only parts of a row. | |
5999 | ||
6000 | * xterm.c (x_display_and_set_cursor): Set phys_cursor_width to | |
6001 | 0 for NO_CURSOR. | |
6002 | ||
6003 | * xterm.c (notice_overwritten_cursor): Fix an off by 1 error. | |
6004 | ||
6005 | 2002-04-23 Colin Walters <walters@verbum.org> | |
6006 | ||
6007 | * buffer.c (syms_of_buffer): Doc fix. | |
6008 | ||
6009 | 2002-04-23 Gerd Moellmann <gerd@gnu.org> | |
6010 | ||
6011 | * xterm.c (notice_overwritten_cursor): Handle the special case | |
6012 | of the cursor being in the first blank non-text line at the | |
6013 | end of a window. | |
6014 | ||
6015 | * xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor) | |
6016 | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. | |
6017 | (x_display_and_set_cursor): Don't set phys_cursor_width here, for | |
6018 | bar cursors only, to make phys_cursor_width contain what its name | |
6019 | suggests. | |
6020 | (notice_overwritten_cursor): Consider the cursor image erased if | |
6021 | the output area intersects the cursor image in y-direction. | |
6022 | ||
6023 | 2002-04-23 Simon Marshall <simon@gnu.org> | |
6024 | ||
6025 | * xfns.c (x_set_mouse_color): Change default for cross_cursor | |
6026 | to XC_hand2. | |
6027 | ||
6028 | 2002-04-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
6029 | ||
6030 | * xdisp.c: Remove unused global variable `minibuf_prompt_pixel_width'. | |
6031 | ||
6032 | 2002-04-22 Kim F. Storm <storm@cua.dk> | |
6033 | ||
6034 | * textprop.c (remove_properties): Fixed trap for malformed plist. | |
6035 | ||
6036 | 2002-04-22 Richard M. Stallman <rms@gnu.org> | |
6037 | ||
6038 | * cmds.c (Fend_of_line): Handle intangible text in mid line. | |
6039 | ||
6040 | * window.c (make_window): Initialize height_fixed_p, | |
6041 | last_cursor_off_p, and p->cursor_off_p slots. | |
6042 | ||
6043 | 2002-04-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
6044 | ||
6045 | * fns.c (use-dialog-box): Doc fix. | |
6046 | ||
6047 | 2002-04-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
6048 | ||
6049 | * xterm.c (note_mode_line_or_margin_highlight): Remove unused | |
6050 | variables `row', `i' and `area'. | |
6051 | (XTread_socket) <KeyPress>: Pass KeyPress events when in menu to | |
6052 | toolkit library. | |
6053 | ||
6054 | 2002-04-19 Stefan Monnier <monnier@cs.yale.edu> | |
6055 | ||
6056 | * xfaces.c (clear_font_table): Don't free the default font of | |
6057 | a frame even if it's on another display. | |
6058 | (Finternal_set_lisp_face_attribute): Don't use XFRAME on something | |
6059 | that could be Qt. | |
6060 | ||
6061 | 2002-04-19 Juanma Barranquero <lektu@terra.es> | |
6062 | ||
6063 | * indent.c (Fmove_to_column): Remove unused local variable | |
6064 | `next_boundary_byte'. | |
6065 | (current_column_1): Likewise. | |
6066 | ||
6067 | 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il> | |
6068 | ||
6069 | * msdos.c (Qhbar): New variable. | |
6070 | (syms_of_msdos): Intern and staticpro it. | |
6071 | (IT_set_cursor_type, IT_set_frame_parameters): Handle the `hbar' | |
6072 | cursor type. | |
6073 | ||
6074 | 2002-04-19 Dave Lambert <dlambert@acm.org> | |
6075 | ||
6076 | Theses change implement an underscore-like (`hbar') cursor. | |
6077 | ||
6078 | * xterm.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. | |
6079 | ||
6080 | * xterm.c (x_draw_bar_cursor): New argument KIND; callers changed. | |
6081 | Handle the `hbar' cursor type. | |
6082 | (x_display_and_set_cursor): Handle the HBAR_CURSOR case. | |
6083 | ||
6084 | * xfns.c (Qhbar): New variable. | |
6085 | (syms_of_xfns): Intern and staticpro it. | |
6086 | (x_specified_cursor_type): Handle `hbar' cursor. | |
6087 | ||
6088 | * s/sol2-5.h (bcopy, bzero, bcmp): Define only if HAVE_BCOPY is | |
6089 | not defined. | |
6090 | ||
6091 | 2002-04-18 Richard M. Stallman <rms@gnu.org> | |
6092 | ||
6093 | * textprop.c (remove_properties): New arg LIST allows scanning | |
6094 | either a list or a plist. | |
6095 | (interval_has_some_properties_list): New function, like | |
6096 | interval_has_some_properties using list instead of plist. | |
6097 | All callers changed. | |
6098 | (Fremove_list_of_text_properties): New function. | |
6099 | (syms_of_textprop): Defsubr it. | |
6100 | ||
6101 | 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il> | |
6102 | ||
6103 | * s/sol2.h (HAVE_LIBKSTAT): Define only if not already defined. | |
6104 | ||
6105 | 2002-04-17 Juanma Barranquero <lektu@terra.es> | |
6106 | ||
6107 | * indent.c (Fmove_to_column): Remove unused local variable `end_byte'. | |
6108 | ||
6109 | 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il> | |
6110 | ||
6111 | * window.c (coordinates_in_window): Don't report on margin area | |
6112 | if its width is zero. | |
6113 | ||
6114 | 2002-04-16 Jason Rumney <jasonr@gnu.org> | |
6115 | ||
6116 | * w32fns.c (Fx_file_dialog): Decode file name before using. | |
6117 | ||
6118 | * w32term.c (construct_drag_n_drop): Likewise. | |
6119 | ||
6120 | 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il> | |
6121 | ||
6122 | * puresize.h (BASE_PURESIZE): Increase to 830000, since we now | |
6123 | store load-history in pure space. | |
6124 | ||
6125 | * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce to 50000. | |
6126 | ||
6127 | 2002-04-16 Stefan Monnier <monnier@cs.yale.edu> | |
6128 | ||
6129 | * xterm.c (Qlatin_1, Qutf_8): New vars. | |
6130 | (syms_of_xterm): Initialize them. | |
6131 | (XTread_socket): Eliminate incorrect optimization that tried to avoid | |
6132 | decoding the output of X*LookupString. | |
6133 | Always use latin-1 to decode the output of XLookupString. | |
6134 | Try Xutf8LookupString if XmbLookupString failed. | |
6135 | ||
6136 | * region-cache.c (new_region_cache): Use BEG. | |
6137 | ||
6138 | 2002-04-16 Gerd Moellmann <gerd@gnu.org> | |
6139 | ||
6140 | * buffer.c (MMAP_ALLOCATED_P): New macro to be set from system | |
6141 | configuration files. | |
6142 | (mmap_enlarge): Enlarge mapped regions only if MMAP_ALLOCATED_P | |
6143 | returns 0. | |
6144 | ||
6145 | 2002-04-15 Andreas Schwab <schwab@suse.de> | |
6146 | ||
6147 | * config.in: Regenerated using autoheader. | |
6148 | ||
6149 | * m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/alpha.h, | |
6150 | m/altos.h, m/amdahl.h, m/apollo.h, m/arm.h, m/att3b.h, m/aviion.h, | |
6151 | m/celerity.h, m/clipper.h, m/cnvrgnt.h, m/convex.h, m/cydra5.h, | |
6152 | m/delta.h, m/delta88k.h, m/dpx2.h, m/elxsi.h, m/gec63.h, | |
6153 | m/gould.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ia64.h, | |
6154 | m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h, | |
6155 | m/ibms390.h, m/intel386.h, m/iris4d.h, m/irist.h, m/isi-ov.h, | |
6156 | m/m68k.h, m/macppc.h, m/masscomp.h, m/mg1.h, m/mips-siemens.h, | |
6157 | m/mips.h, m/news-r6.h, m/news.h, m/next.h, m/nh3000.h, m/nh4000.h | |
6158 | m/ns32000.h, m/orion.h, m/pfa50.h, m/plexus.h, m/pmax.h, | |
6159 | m/powerpcle.h, m/pyrmips.h, m/sequent-ptx.h, m/sequent.h, | |
6160 | m/sparc.h, m/sr2k.h, m/symmetry.h, m/tad68k.h, m/tahoe.h, | |
6161 | m/targon31.h, m/tek4300.h, m/tekxd88.h, m/template.h, m/tower32.h, | |
6162 | m/tower32v3.h, m/ustation.h, m/vax.h, m/wicat.h, m/windowsnt.h, | |
6163 | m/xps100.h, s/aix3-2.h, s/aix4-2.h, s/irix4-0.h, s/irix5-0.h, | |
6164 | s/sco5.h, s/unixware.h: Don't set HAVE_ALLOCA, C_ALLOCA and | |
6165 | STACK_DIRECTION, now set by autoconf. | |
6166 | ||
6167 | 2002-04-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
6168 | ||
6169 | * dispnew.c (marginal_area_string): Sort arguments. | |
6170 | ||
6171 | * dispextern.h (marginal_area_string): Add prototype. | |
6172 | ||
6173 | 2002-04-13 Richard M. Stallman <rms@gnu.org> | |
6174 | ||
6175 | * fileio.c (Finsert_file_contents): | |
6176 | Don't call temp_output_buffer_setup--do just part, by hand. | |
6177 | ||
6178 | * coding.c (run_pre_post_conversion_on_str): | |
6179 | Don't call temp_output_buffer_setup--do just part, by hand. | |
6180 | ||
6181 | * keyboard.c (command_loop_1): Don't call start_hourglass | |
6182 | or cancel_hourglass when executing a macro. | |
6183 | ||
6184 | * marker.c (count_markers): New function. | |
6185 | ||
6186 | * xdisp.c (display_mode_element): Don't let mode_line_proptrans_alist | |
6187 | grow without limit. Move recently used elements to the front. | |
6188 | ||
6189 | 2002-04-13 Eli Zaretskii <eliz@is.elta.co.il> | |
6190 | ||
6191 | * unexelf.c (unexec) [__sgi]: Undo the change from 2002-01-20. | |
6192 | ||
6193 | 2002-04-12 Gerd Moellmann <gerd@gnu.org> | |
6194 | ||
6195 | * xdisp.c (sync_frame_with_window_matrix_rows): Don't give frame | |
6196 | rows marginal areas. | |
6197 | (Fdump_frame_glyph_matrix) [GLYPH_DEBUG]: New function. | |
6198 | (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it. | |
6199 | ||
6200 | * dispnew.c (marginal_area_string): Check that glyph row is enabled. | |
6201 | ||
6202 | 2002-04-12 Dave Love <fx@gnu.org> | |
6203 | ||
6204 | * dispnew.c (marginal_area_string): New. | |
6205 | ||
6206 | * window.c (window_part): Add ON_LEFT_MARGIN, ON_RIGHT_MARGIN. | |
6207 | (Qleft_margin, Qright_margin): Declare. | |
6208 | (coordinates_in_window, (Fcoordinates_in_window_p): Deal with margins. | |
6209 | ||
6210 | * xterm.c (note_mode_line_or_margin_highlight): Renamed from | |
6211 | note_mode_line_highlight and extended. | |
6212 | ||
6213 | * keyboard.c (Qleft_margin, Qright_margin): Declare. | |
6214 | (make_lispy_event): Deal with mouse events in margins. | |
6215 | ||
6216 | 2002-04-12 Stefan Monnier <monnier@cs.yale.edu> | |
6217 | ||
6218 | * msdos.c (dos_rawgetc): Use a single event for HELP_EVENT. | |
6219 | ||
6220 | * keyboard.c (command_loop_1): Turn off transient-mark-mode rather | |
6221 | than deactivating the mark if tmm is set to `lambda'. | |
6222 | (gen_help_event, kbd_buffer_store_help_event, kbd_buffer_get_event): | |
6223 | Use a single event for HELP_EVENT. | |
6224 | (Fexecute_extended_command): Save last_point_position. | |
6225 | ||
6226 | 2002-04-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
6227 | ||
6228 | * lisp.h (Fpropertize): Add prototype. | |
6229 | ||
6230 | * fns.c (Fy_or_n_p): Use `minibuffer-prompt' face for prompt. | |
6231 | ||
6232 | 2002-04-10 Colin Walters <walters@verbum.org> | |
6233 | ||
6234 | * config.in: Add HAVE_SHARED_GAME_DIR. | |
6235 | ||
6236 | * callproc.c: (Vgame_score_directory): New variable. | |
6237 | (syms_of_callproc) <Vgame_score_directory>: DEFVAR_LISP. | |
6238 | ||
6239 | 2002-04-10 Richard M. Stallman <rms@gnu.org> | |
6240 | ||
6241 | * puresize.h (BASE_PURESIZE): Reduce again to avoid big excess. | |
6242 | ||
6243 | 2002-04-09 Stefan Monnier <monnier@cs.yale.edu> | |
6244 | ||
6245 | * minibuf.c (read_minibuf): Use empty_string. | |
6246 | (Ftry_completion): Allow lambda forms and lists of strings for `alist'. | |
6247 | Short-circuit the search as soon as it "failed". | |
6248 | (Fall_completions): Allow lambda forms and lists of strings for alist. | |
6249 | (Fcompleting_read): Set Qminibuffer_completion_confirm to nil | |
6250 | when require_match is nil. | |
6251 | (Ftest_completion): Rename from `test_completion' and export to elisp. | |
6252 | Call the predicate also when alist is a list. | |
6253 | Obey Vcompletion_regexp_list. | |
6254 | (do_completion, Fminibuffer_complete_and_exit): Use it. | |
6255 | (Fassoc_string): Rename from `assoc_for_completion'. | |
6256 | Allow list of strings as well and export to elisp. | |
6257 | ||
6258 | 2002-04-08 Stefan Monnier <monnier@cs.yale.edu> | |
6259 | ||
6260 | * puresize.h (BASE_PURESIZE): Increase to 900KB. | |
6261 | ||
6262 | 2002-04-08 Juanma Barranquero <lektu@terra.es> | |
6263 | ||
6264 | * w32.c (sys_accept): Don't hide variable `s'. | |
6265 | ||
6266 | 2002-04-05 Gerd Moellmann <gerd@gnu.org> | |
6267 | ||
6268 | * callint.c (Fcall_interactively): Use INTEGERP instead of | |
6269 | NUMBERP for checking Vhistory_length. | |
6270 | ||
6271 | 2002-04-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
6272 | ||
6273 | * sound.c (Fplay_sound_internal): Renamed from Fplay_sound. | |
6274 | Doc fix to reflect it. | |
6275 | ||
6276 | 2002-04-04 Richard M. Stallman <rms@gnu.org> | |
6277 | ||
6278 | * xdisp.c (display_mode_element): New arg RISKY. | |
6279 | Disregard text props found or specified within a variable | |
6280 | that isn't marked risky-local-variable. | |
6281 | (Qrisky_local_variable): New variable. | |
6282 | (syms_of_xdisp): Init and staticpro it. | |
6283 | ||
6284 | 2002-04-04 Stefan Monnier <monnier@cs.yale.edu> | |
6285 | ||
6286 | * undo.c (record_point): New fun. | |
6287 | (record_delete, record_insert): Use it. | |
6288 | ||
6289 | 2002-04-03 Juanma Barranquero <lektu@terra.es> | |
6290 | ||
6291 | * doc.c (Fdocumentation): Add missing parentheses. | |
6292 | (Fdocumentation_property): Likewise. | |
6293 | ||
6294 | 2002-04-03 Stefan Monnier <monnier@cs.yale.edu> | |
6295 | ||
6296 | * doc.c (Fdocumentation, Fdocumentation_property): When the doc | |
6297 | data is 0, just return nil. | |
6298 | ||
6299 | 2002-04-03 Eli Zaretskii <eliz@is.elta.co.il> | |
6300 | ||
6301 | * msdos.c (syms_of_msdos): Fix last change with | |
6302 | mouse_autoselect_window. | |
6303 | ||
6304 | 2002-04-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
6305 | ||
6306 | * w32term.c, xterm.c, msdos.c: Rename autoselect_window_p to | |
6307 | mouse_autoselect_window. | |
6308 | ||
6309 | 2002-04-02 Stefan Monnier <monnier@cs.yale.edu> | |
6310 | ||
6311 | * keyboard.c (make_lispy_event): Handle unknown keysyms together | |
6312 | with system-specific keysyms. Use it also for unknown function keys. | |
6313 | ||
6314 | * doc.c (reread_doc_file): Return whether reload was attempted. | |
6315 | (Fdocumentation, Fdocumentation_property): Don't try to reload | |
6316 | if the doc is 0 and only ask once. | |
6317 | ||
6318 | * Makefile.in (lisp, shortlisp): Add ucs-tables.elc. | |
6319 | ||
6320 | 2002-04-02 Eli Zaretskii <eliz@is.elta.co.il> | |
6321 | ||
6322 | * keyboard.c (read_char): If the event was Qselect_window, | |
6323 | restore timer_idleness_start_time to its previous value. | |
6324 | ||
6325 | * msdos.c (dos_rawgetc): Generate SELECT_WINDOW_EVENTs when required. | |
6326 | ||
6327 | 2002-04-01 Stefan Monnier <monnier@cs.yale.edu> | |
6328 | ||
6329 | * region-cache.c (new_region_cache): Use BEG. | |
6330 | ||
6331 | * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): | |
6332 | Use BEG and BEG_BYTE. | |
6333 | ||
6334 | * doc.c (get_doc_string): Return nil if the location is wrong. | |
6335 | (reread_doc_file): New fun. | |
6336 | (Fdocumentation, Fdocumentation_property): | |
6337 | Call it if get_doc_string fails. | |
6338 | (Fsnarf_documentation): Make it work for a dumped Emacs. | |
6339 | ||
6340 | * charset.h (DEC_POS, BUF_DEC_POS): Use BEG_BYTE. | |
6341 | Bound the search with MAX_MULTIBYTE_LENGTH to avoid pathological case. | |
6342 | ||
6343 | * charset.c (Fstring): Allow 0 arguments. | |
6344 | ||
6345 | * xterm.c (XTread_socket): Fix int/Lisp_Object confusion. | |
6346 | ||
6347 | * process.c (DATAGRAM_CONN_P, list_processes_1) | |
6348 | (Fprocess_datagram_address, Fset_process_datagram_address) | |
6349 | (Fset_network_process_options, server_accept_connection): | |
6350 | Fix some int/Lisp_Object confusions (thank you union types). | |
6351 | ||
6352 | 2002-04-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
6353 | ||
6354 | * msdos.c: Rename x_autoselect_window_p to autoselect_window_p. | |
6355 | ||
6356 | * w32term.c: Likewise. | |
6357 | (note_mouse_movement): Put code for x_autoselect_window_p in #if 0. | |
6358 | ||
6359 | * keyboard.c (Qselect_window): New symbol. | |
6360 | (head_table): Use it. | |
6361 | (keys_of_keyboard): Bound select-window event to handle-select-window. | |
6362 | (kbd_buffer_get_event): Make a Lisp event from SELECT_WINDOW_EVENT. | |
6363 | ||
6364 | * xterm.c: Rename x_autoselect_window_p to autoselect_window_p. | |
6365 | (last_window): New variable. | |
6366 | (XTread_socket): Generate SELECT_WINDOW_EVENTs. | |
6367 | (note_mouse_movement): Remove reimplemented code in #if 0. | |
6368 | (XTread_socket): Generate SELECT_WINDOW_EVENTs only for | |
6369 | Emacs windows. | |
6370 | ||
6371 | * termhooks.h (enum event_kind): New event type `SELECT_WINDOW_EVENT'. | |
6372 | ||
6373 | 2002-03-31 Gerd Moellmann <gerd@gnu.org> | |
6374 | ||
6375 | * xterm.c (x_get_char_face_and_encoding): Add parameter DISPLAY_P. | |
6376 | Callers changed. | |
6377 | ||
6378 | 2002-03-30 Richard M. Stallman <rms@gnu.org> | |
6379 | ||
6380 | * window.c (window_scroll_pixel_based): Exit the move_it_by_lines | |
6381 | loop whenever it stops making progress. | |
6382 | ||
6383 | * widget.c (set_frame_size): Don't call change_frame_size. | |
6384 | ||
6385 | 2002-03-30 Gerd Moellmann <gerd@gnu.org> | |
6386 | ||
6387 | * dispnew.c (direct_output_for_insert): | |
6388 | Call mark_window_display_accurate. | |
6389 | ||
6390 | 2002-03-29 Jason Rumney <jasonr@gnu.org> | |
6391 | ||
6392 | * w32term.c (w32_draw_relief_rect): Fix calculations of line lengths. | |
6393 | ||
6394 | 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il> | |
6395 | ||
6396 | * Makefile.in (lread.o): Depend on coding.h. | |
6397 | ||
6398 | * lread.c (openp, Fload): Encode the file name before passing it | |
6399 | to `stat', `access', and `emacs_open'. | |
6400 | (openp): GCPRO the encoded file name. Don't recompute Lisp | |
6401 | strings unnecessarily. | |
6402 | ||
6403 | 2002-03-29 Kim F. Storm <storm@cua.dk> | |
6404 | ||
6405 | * fns.c (Flax_plist_put): Doc fix. | |
6406 | ||
6407 | 2002-03-28 Miles Bader <miles@gnu.org> | |
6408 | ||
6409 | * process.c (DATAGRAM_CONN_P): Make sure PROC is really a process. | |
6410 | ||
6411 | 2002-03-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
6412 | ||
6413 | * process.c (set-network-process-options): Add usage. | |
6414 | (make-network-process): Doc fix. | |
6415 | ||
6416 | 2002-03-26 Eli Zaretskii <eliz@is.elta.co.il> | |
6417 | ||
6418 | * emacs.c (Fdump_emacs): Fix a typo in "command-line-processed". | |
6419 | ||
6420 | 2002-03-26 Richard M. Stallman <rms@gnu.org> | |
6421 | ||
6422 | * fns.c (Fsubstring_no_properties): New function. | |
6423 | (Flax_plist_get, Flax_plist_put): New functions. | |
6424 | (syms_of_fns): defsubr them. | |
6425 | ||
6426 | * xdisp.c (update_menu_bar): Test only update_mode_lines; | |
6427 | don't test or alter w->update_mode_line. | |
6428 | ||
6429 | * window.c (Fdisplay_buffer): Doc fix. | |
6430 | ||
6431 | 2002-03-24 Richard M. Stallman <rms@gnu.org> | |
6432 | ||
6433 | * regex.c (GET_UNSIGNED_NUMBER): Give proper error for spaces. | |
6434 | ||
6435 | 2002-03-24 Gerd Moellmann <gerd@gnu.org> | |
6436 | ||
6437 | * eval.c (Qdeclare, Vmacro_declaration_function): New variables. | |
6438 | (Fdefmacro): Handle `(declare ...)'. | |
6439 | (syms_of_eval) <Qdeclare>: Initialize and staticpro. | |
6440 | (syms_of_eval) <Vmacro_declaration_function>: DEFVAR_LISP. | |
6441 | ||
6442 | 2002-03-24 Jason Rumney <jasonr@gnu.org> | |
6443 | ||
6444 | * w32fns.c (xbm_scan, xbm_load_image, xbm_read_bitmap_data) | |
6445 | (xbm_file_p): Add prototypes. | |
6446 | (xbm_format, xbm_image_p): Sync with xfns.c. | |
6447 | (reflect_byte): New function. | |
6448 | (xbm_read_bitmap_data): Sync with xfns.c, adapt for Windows. | |
6449 | (xbm_load_image): Create bitmaps with a depth of 1. | |
6450 | (init_xfns): Enable XBM images. | |
6451 | ||
6452 | 2002-03-23 Jason Rumney <jasonr@gnu.org> | |
6453 | ||
6454 | * w32term.c (w32_handle_tool_bar_click): Detect up and down events | |
6455 | correctly. Do not pass up_modifier to keyboard buffer. | |
6456 | ||
6457 | * w32fns.c [HAVE_IMAGES, HAVE_PBM]: Remove conditionals. | |
6458 | ||
6459 | 2002-03-22 Stefan Monnier <monnier@cs.yale.edu> | |
6460 | ||
6461 | * Makefile.in (bootstrapclean): New target. | |
6462 | (bootstrap-temacs, bootstrap-doc): Remove. | |
6463 | (bootstrap-emacs): Use a bog-standard `temacs'. | |
6464 | Don't bother to build a DOC file. | |
6465 | ||
6466 | * sysdep.c (wait_for_termination): Use sigsuspend rather than sigpause. | |
6467 | ||
6468 | * emacs.c (main): Handle --unibyte, --multibyte, and --no-loadup | |
6469 | in temacs even if !CANNOT_DUMP. | |
6470 | (standard_args): Keep --no-loadup even if !CANNOT_DUMP. | |
6471 | ||
6472 | * alloc.c (check_pure_size): Only output a warning. | |
6473 | ||
6474 | 2002-03-22 Jason Rumney <jasonr@gnu.org> | |
6475 | ||
6476 | * w32fns.c (Fx_create_frame): Enable tool-bar when images are | |
6477 | supported. | |
6478 | ||
6479 | * w32term.c (zv_bits): Declare as short, for word alignment. | |
6480 | (w32_read_socket) <WM_XBUTTONUP>: Fix last change. | |
6481 | (syms_of_w32term): Define x-use-underline-position-properties. | |
6482 | ||
6483 | * w32fns.c (x_set_cursor_color): Set cursor_gc as well. | |
6484 | (clear_image_cache): Block input, fix logic, clear matrices in | |
6485 | all frames that share this cache. | |
6486 | ||
6487 | 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il> | |
6488 | ||
6489 | * emacs.c (main): Update the Copyright year in the blurb printed | |
6490 | by "emacs --version". | |
6491 | ||
6492 | * xdisp.c (message_with_string): Fix syntax of a call to GCPRO2. | |
6493 | ||
6494 | * xterm.c (XTread_socket): If XK_ISO_Lock and | |
6495 | XK_ISO_Last_Group_Lock are defined, handle keysyms between | |
6496 | XK_ISO_Lock and XK_ISO_Last_Group_Lock similarly to Mode_switch. | |
6497 | ||
6498 | 2002-03-21 Kim F. Storm <storm@cua.dk> | |
6499 | ||
6500 | * keyboard.c (menu_bar_items): Mostly undo 2002-02-20 patch, so | |
6501 | menu-bar bindings in keymap and local-map properties _are_ used. | |
6502 | But try keymap property first in accordance with 2002-01-03 patch. | |
6503 | Added comment describing why this is not always reliable. | |
6504 | (tool_bar_items): Ditto for tool-bar. | |
6505 | ||
6506 | 2002-03-21 Jason Rumney <jasonr@gnu.org> | |
6507 | ||
6508 | * w32fns.c (x_clear_image_1): Disable color table code. | |
6509 | ||
6510 | 2002-03-21 Kim F. Storm <storm@cua.dk> | |
6511 | ||
6512 | * lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch | |
6513 | removed the wrong version of the DEFUN macro; fixed it. | |
6514 | ||
6515 | * fns.c (Ffeaturep): Allow subfeature to be a list (test using | |
6516 | Fmember rather than Fmemq). | |
6517 | (Fprovide): Check that subfeatures is a list. | |
6518 | ||
6519 | * process.c (QCfeature, QCdatagram): Removed variables. | |
6520 | (QCtype, Qdatagram): New variables. | |
6521 | (network_process_featurep): Removed function. | |
6522 | (Fmake_network_process): Removed :feature check. | |
6523 | Use :type 'datagram instead of :datagram t to create a datagram | |
6524 | socket. This allows us to add other connection types (e.g. raw | |
6525 | sockets) later in a consistent manner. | |
6526 | (init_process) [subprocess, HAVE_SOCKETS]: Provide list of | |
6527 | supported subfeatures for feature make-network-process. | |
6528 | (syms_of_process) [subprocess]: Remove QCfeature and QCdatagram. | |
6529 | Intern and staticpro QCtype and Qdatagram. | |
6530 | (syms_of_process) [!subprocess]: Intern and staticpro QCtype. | |
6531 | ||
6532 | * xfns.c: (QCtype): Remove duplicate declaration and | |
6533 | initialization (is now declared in process.c). | |
6534 | ||
6535 | * w32fns.c: (QCtype): Remove duplicate declaration and | |
6536 | initialization (is now declared in process.c). | |
6537 | ||
6538 | 2002-03-21 Richard M. Stallman <rms@gnu.org> | |
6539 | ||
6540 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): New macro. | |
6541 | (CHECK_INFINITE_LOOP): Use DISCARD_FAILURE_REG_OR_COUNT | |
6542 | when jumping to `fail' to avoid undoing reg changes in the | |
6543 | last iteration of the loop. | |
6544 | (GET_UNSIGNED_NUMBER): Skip spaces around the number. | |
6545 | ||
6546 | * Makefile.in (dispnew.o, sysdep.o, xdisp.o, xselect.o, alloc.o): | |
6547 | Depend on process.h. | |
6548 | ||
6549 | 2002-03-20 Jason Rumney <jasonr@gnu.org> | |
6550 | ||
6551 | Most of the following changes are still conditional on HAVE_IMAGES | |
6552 | which is not set by default on Windows. | |
6553 | ||
6554 | * emacs.c (main) [WINDOWSNT]: Call init_xfns. | |
6555 | ||
6556 | * w32fns.c (x_set_cursor_color): Set foreground of cursor, not frame. | |
6557 | (Fimage_size, Fimage_mask_p, XPutPixel): New functions. | |
6558 | (four_corners_best, x_clear_image_1, x_clear_image) | |
6559 | (x_alloc_image_color, postprocess_image) | |
6560 | (x_create_x_image_and_pixmap, x_destroy_x_image, xbm_load_image) | |
6561 | (x_from_x_colors, x_disable_image, pbm_load): Adapt for Windows. | |
6562 | (init_xfns, syms_of_w32fns): Initialize image functions and constants. | |
6563 | ||
6564 | * w32gui.h (struct XImage): Define. | |
6565 | ||
6566 | * w32term.c (w32_read_socket) <WM_XBUTTONUP>: Use XFASTINT to | |
6567 | extract mouse co-ordinates. | |
6568 | ||
6569 | 2002-03-20 Jason Rumney <jasonr@gnu.org> | |
6570 | ||
6571 | * w32.c (init_winsock): Dynamically load new server and UDP | |
6572 | socket functions. | |
6573 | (socket_to_fd): New function. | |
6574 | (sys_socket): Use it. | |
6575 | (sys_setsockopt, sys_listen, sys_getsockname, sys_accept) | |
6576 | (sys_recvfrom, sys_sendto): New wrapper functions. | |
6577 | ||
6578 | * process.c (QCfamily, QCfilter): Remove duplicate declaration | |
6579 | and initialization. | |
6580 | ||
6581 | * makefile.w32-in (LIBS): Remove $(WSOCK32). | |
6582 | ||
6583 | 2002-03-20 Eli Zaretskii <eliz@is.elta.co.il> | |
6584 | ||
6585 | * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr): | |
6586 | Don't use "sun" as a variable, it's a predefined constant on Sun | |
6587 | machines. | |
6588 | ||
6589 | 2002-03-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
6590 | ||
6591 | * bytecode.c (Fbyte_code): Revert last change. | |
6592 | ||
6593 | 2002-03-19 Kim F. Storm <storm@cua.dk> | |
6594 | ||
6595 | * makefile.w32-in (LIBS): Add $(WSOCK32). | |
6596 | From David Ponce <dponce@voila.fr>. | |
6597 | ||
6598 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
6599 | ||
6600 | * process.c (wait_reading_process_input): Move variables `pname' | |
6601 | and `pnamelen' down where they are used. | |
6602 | ||
6603 | * bytecode.c (Fbyte_code): Discard unused computed value to | |
6604 | prevent gcc warning. | |
6605 | ||
6606 | * lisp.h (Fplist_member): Add prototype. | |
6607 | ||
6608 | 2002-03-18 Kim F. Storm <storm@cua.dk> | |
6609 | ||
6610 | * config.in: Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT, | |
6611 | HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and HAVE_SYS_UN_H. | |
6612 | ||
6613 | * process.c: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H. | |
6614 | Remove explicit GNU_LINUX settings for datagram support. | |
6615 | ||
6616 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
6617 | ||
6618 | * process.c (Fmake_network_process): Remove unused variable `sa'. | |
6619 | Doc fix. Add usage:. | |
6620 | (set_socket_options): Remove unused variables `optnum' and `opttype'. | |
6621 | ||
6622 | 2002-03-17 Richard M. Stallman <rms@gnu.org> | |
6623 | ||
6624 | * xdisp.c (cursor_type_changed): New variable. | |
6625 | (redisplay_internal): Redisplay all windows if cursor_type_changed. | |
6626 | Clear it when clearing windows_or_buffers_changed. | |
6627 | (try_cursor_movement, redisplay_window, try_window_id) | |
6628 | (try_window_reusing_current_matrix): Test cursor_type_changed | |
6629 | along with windows_or_buffers_changed. | |
6630 | ||
6631 | * window.h (cursor_type_changed): New variable. | |
6632 | ||
6633 | * xfns.c (x_set_cursor_type): Set cursor_type_changed, | |
6634 | not update_mode_lines, and always set it to 1. | |
6635 | ||
6636 | * xdisp.c (clear_garbaged_frames): Don't set windows_or_buffers_changed | |
6637 | if no frames needed redrawing. | |
6638 | ||
6639 | 2002-03-17 Kim F. Storm <storm@cua.dk> | |
6640 | ||
6641 | The following changes add support for network server processes, | |
6642 | datagram connections, and local (unix) sockets. | |
6643 | ||
6644 | * process.h (struct Lisp_Process): New member log. | |
6645 | Doc fix: Member command used to indicate stopped network process. | |
6646 | Doc fix: Member childp contains plist for network process. | |
6647 | Doc fix: Member kill_without_query is inverse of query-on-exit flag. | |
6648 | ||
6649 | * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily) | |
6650 | (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery,QCstop) | |
6651 | (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature): | |
6652 | New variables. | |
6653 | (NETCONN1_P): New macro. | |
6654 | (DATAGRAM_SOCKETS): New conditional symbol. | |
6655 | (datagram_address): New array. | |
6656 | (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros. | |
6657 | (status_message): Use concat3. | |
6658 | (Fprocess_status): Add `listen' status to doc string. Return `stop' | |
6659 | for a stopped network process. | |
6660 | (Fset_process_buffer): Update contact plist for network process. | |
6661 | (Fset_process_filter): Ditto. Don't enable input for stopped | |
6662 | network processes. Server must listen, even if filter is t. | |
6663 | (Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag): | |
6664 | New functions. | |
6665 | (Fprocess_kill_without_query): Removed. Now defined in simple.el. | |
6666 | (Fprocess_contact): Added KEY argument. Handle datagrams. | |
6667 | (list_processes_1): Optionally show only processes with the query | |
6668 | on exit flag set. Dynamically adjust column widths. Omit tty | |
6669 | column if not needed. Report stopped network processes. | |
6670 | Identify server and datagram network processes. | |
6671 | (Flist_processes): New optional arg `query-only'. | |
6672 | (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size) | |
6673 | (conv_lisp_to_sockaddr, set_socket_options) | |
6674 | (network_process_featurep, unwind_request_sigio): New helper functions. | |
6675 | (Fprocess_datagram_address, Fset_process_datagram_address): | |
6676 | (Fset_network_process_options): New lisp functions. | |
6677 | (Fopen_network_stream): Removed. Now defined in simple.el. | |
6678 | (Fmake_network_process): New lisp function. Code is based on previous | |
6679 | Fopen_network_stream, but heavily reworked with new property list based | |
6680 | argument list, support for datagrams, server processes, and local | |
6681 | sockets in addition to old client-only functionality. | |
6682 | (server_accept_connection): New function. | |
6683 | (wait_reading_process_input): Use it to handle incoming connects. | |
6684 | Do not enable input on a new connection if process is stopped. | |
6685 | (read_process_output): Handle datagram sockets. Use 2k buffer for them. | |
6686 | (send_process): Handle datagram sockets. | |
6687 | (Fstop_process, Fcontinue_process): Apply to network processes. A stopped | |
6688 | network process is indicated by setting command field to t . | |
6689 | (Fprocess_send_eof): No-op if datagram connection. | |
6690 | (Fstatus_notify): Don't read input for a stream server socket or a | |
6691 | stopped network process. | |
6692 | (init_process): Initialize datagram_address array. | |
6693 | (syms_of_process): Intern and staticpro new variables, defsubr new | |
6694 | functions. | |
6695 | ||
6696 | 2002-03-16 Jason Rumney <jasonr@gnu.org> | |
6697 | ||
6698 | * w32fns.c (w32_to_all_x_charsets): Return correct type in | |
6699 | startup case. | |
6700 | ||
6701 | 2002-03-16 Richard M. Stallman <rms@gnu.org> | |
6702 | ||
6703 | * xdisp.c (redisplay_internal, redisplay_windows): | |
6704 | Use list_of_error to call internal_condition_case_1. | |
6705 | (safe_eval, safe_call): Pass Qt to internal_condition_case_{1,2} | |
6706 | so as to catch all errors with no possibility of debugger redisplay. | |
6707 | (list_of_error): New variable. | |
6708 | (syms_of_xdisp): Init and staticpro it. | |
6709 | ||
6710 | * print.c (print_object): Delete `\ ' from printed rep of frame. | |
6711 | ||
6712 | 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il> | |
6713 | ||
6714 | * msdos.c (dos_rawgetc): Disable the x-autoselect-window feature, | |
6715 | until its implementation is fixed. | |
6716 | ||
6717 | 2002-03-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
6718 | ||
6719 | * xfns.c (png_load): Remove unused variable `gamma_str'. | |
6720 | ||
6721 | 2002-03-14 Richard M. Stallman <rms@gnu.org> | |
6722 | ||
6723 | * xfns.c (x_real_positions): Handle failure in XQueryTree. | |
6724 | ||
6725 | 2002-03-14 Miles Bader <miles@gnu.org> | |
6726 | ||
6727 | * intervals.c (adjust_for_invis_intang): New function. | |
6728 | (set_point_both): Use `adjust_for_invis_intang' to do most of the | |
6729 | work for dealing with invisible+intangible regions. Do so before | |
6730 | and after both forward and backward movements, to handle both | |
6731 | front-sticky and rear-sticky cases. | |
6732 | * textprop.c (text_property_stickiness): Function moved here from | |
6733 | `editfns.c'. | |
6734 | * intervals.h (text_property_stickiness): New declaration. | |
6735 | * editfns.c (char_property_eq): Function removed. | |
6736 | (text_property_stickiness): Function moved to `textprop.c'. | |
6737 | ||
6738 | 2002-03-13 Jason Rumney <jasonr@gnu.org> | |
6739 | ||
6740 | * config.in: Add STRFTIME_NO_POSIX2. | |
6741 | ||
6742 | * strftime.c (my_strftime) [STRFTIME_NO_POSIX2]: Handle %h, %EX | |
6743 | and %OX when underlying strftime does not. | |
6744 | ||
6745 | 2002-03-13 Stefan Monnier <monnier@cs.yale.edu> | |
6746 | ||
6747 | * xterm.c (x_set_toolkit_scroll_bar_thumb) <USE_MOTIF>: | |
6748 | Use a fixed-size thumb (based on an ad-hoc estimate of 30 chars per | |
6749 | line) to avoid annoying flicker. | |
6750 | (xm_scroll_callback): Get rid of the now unnecessary kludge. | |
6751 | (XTread_socket): Mark it static. | |
6752 | ||
6753 | * xdisp.c (display_mode_element): Fix int/Lisp_Object mixup. | |
6754 | ||
6755 | 2002-03-13 Kim F. Storm <storm@cua.dk> | |
6756 | ||
6757 | * puresize.h (BASE_PURESIZE): Increase to 775000. | |
6758 | ||
6759 | 2002-03-12 Juanma Barranquero <lektu@terra.es> | |
6760 | ||
6761 | * editfns.c (syms_of_editfns): Fix typo. | |
6762 | ||
6763 | 2002-03-12 Gerd Moellmann <gerd@gnu.org> | |
6764 | ||
6765 | * xsmfns.c: Include stdio.h because termhooks.h needs it. | |
6766 | Include termopt.h for interrupt_input. | |
6767 | ||
6768 | 2002-03-11 Andreas Schwab <schwab@suse.de> | |
6769 | ||
6770 | * coding.c (syms_of_coding) <file-coding-system-alist>: Doc fix. | |
6771 | ||
6772 | 2002-03-11 Gerd Moellmann <gerd@gnu.org> | |
6773 | ||
6774 | * xterm.c (note_mouse_movement): Put code for | |
6775 | x_autoselect_window_p in #if 0. | |
6776 | ||
6777 | * lread.c (Fload): Don't assume that message_with_string uses the | |
6778 | string it is given like a C string. | |
6779 | ||
6780 | 2002-03-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
6781 | ||
6782 | * xterm.h (x_session_check_input, x_session_initialize): Declared. | |
6783 | ||
6784 | * xterm.c: (XTread_socket): Add call to x_session_check_input and | |
6785 | x_session_have_connection. | |
6786 | (x_initialize): Add call to x_session_initialize. | |
6787 | ||
6788 | * termhooks.h (enum event_kind): Add save_session_event. | |
6789 | ||
6790 | * keyboard.c: Add Emacs event save_session_event. | |
6791 | ||
6792 | * emacs.c (main): Add call to syms_of_xsmfns. | |
6793 | ||
6794 | * lisp.h: Declare syms_of_xsmfns as extern. | |
6795 | ||
6796 | * config.in: Add HAVE_X_SM. | |
6797 | ||
6798 | * Makefile.in (LIBXT): Add -lSM -lICE | |
6799 | if HAVE_X_SM and not USE_X_TOOLKIT. | |
6800 | (XOBJ): New file xsmfns.c added. | |
6801 | ||
6802 | * xsmfns.c: New file for X session management. | |
6803 | ||
6804 | 2002-03-09 Jason Rumney <jasonr@gnu.org> | |
6805 | ||
6806 | * fileio.c (Fcopy_file) [WINDOWS_NT]: Ensure file is not | |
6807 | read-only when setting modified time. | |
6808 | ||
6809 | 2002-03-08 Gerd Moellmann <gerd@gnu.org> | |
6810 | ||
6811 | * xdisp.c (move_it_vertically_backward): At the end of the function, | |
6812 | when moving forward by lines, treat terminal frames specially. | |
6813 | ||
6814 | * keyboard.c (echo_char): Make sure to add a separator between | |
6815 | keys even if echo_dash hasn't been called. | |
6816 | ||
6817 | * xdisp.c: Use new string macros. | |
6818 | (update_echo_area): Pass number of bytes to message3 instead of | |
6819 | number of chars. | |
6820 | (set_message_1): Don't access a string's size_byte directly. | |
6821 | (decode_mode_spec_coding): Use number of bytes of eoltype string | |
6822 | instead number of chars. | |
6823 | ||
6824 | * lisp.h (SREF, SDATA, SCHARS, SBYTES, SMBP): New macros. | |
6825 | ||
6826 | 2002-03-08 Juanma Barranquero <lektu@terra.es> | |
6827 | ||
6828 | * w32fns.c (Fx_display_color_cells): Force 24+ bit color depths to | |
6829 | 24-bit. | |
6830 | ||
6831 | 2002-03-06 Jason Rumney <jasonr@gnu.org> | |
6832 | ||
6833 | * w32term.c (x_draw_hollow_cursor): Draw same size as block cursor. | |
6834 | ||
6835 | 2002-03-06 Gerd Moellmann <gerd@gnu.org> | |
6836 | ||
6837 | * keyboard.c (echo_prompt, echo_char, echo_dash, echo_now) | |
6838 | (cancel_echoing, echo_length, echo_truncate): Changed to | |
6839 | work with new kboard definition. | |
6840 | (echo_now): Use message3_nolog instead of message2_nolog. | |
6841 | ||
6842 | * alloc.c (mark_kboards): Mark echo_string. | |
6843 | ||
6844 | * keyboard.h (ECHOBUFSIZE): Removed. | |
6845 | (struct kboard): Member echoptr removed, member echobuf renamed | |
6846 | to echo_string. | |
6847 | ||
6848 | * xdisp.c (message_with_string): Use Fformat instead of doprnt and | |
6849 | message3 instead of message2 to display the message using STRING's | |
6850 | text properties. | |
6851 | ||
6852 | 2002-03-05 Andreas Schwab <schwab@suse.de> | |
6853 | ||
6854 | * xdisp.c (hscroll_margin): Change to EMACS_INT. | |
6855 | ||
6856 | 2002-03-05 Per Abrahamsen <abraham@dina.kvl.dk> | |
6857 | ||
6858 | * frame.c (default-frame-alist): Explain that setting it doesn't | |
6859 | affect existing frames. | |
6860 | ||
6861 | 2002-03-05 Stefan Monnier <monnier@cs.yale.edu> | |
6862 | ||
6863 | * indent.c (skip_invisible): Fix my brain fart. | |
6864 | ||
6865 | * dispnew.c (sit_for): Don't wait if executing a kbd macro. | |
6866 | ||
6867 | 2002-03-04 Stefan Monnier <monnier@cs.yale.edu> | |
6868 | ||
6869 | * dosfns.c, dosfns.h, dispnew.c, dispextern.h, commands.h, charset.c, | |
6870 | * alloc.c, abbrev.c, emacs.c, eval.c, keyboard.c, keyboard.h, | |
6871 | * lisp.h, lread.c, sysdep.c, termcap.c, termchar.h, w32term.c, | |
6872 | * window.c, xdisp.c, xselect.c, xterm.c: Change defvar_int definition | |
6873 | and variables to use EMACS_INT instead of just int. | |
6874 | ||
6875 | * buffer.c (syms_of_buffer): Allow non-string `mode-name'. | |
6876 | ||
6877 | 2002-03-04 Eli Zaretskii <eliz@is.elta.co.il> | |
6878 | ||
6879 | * sysdep.c (sys_subshell) [MSDOS]: If PWD is set in the | |
6880 | environment, pass it down with corrected value. | |
6881 | ||
6882 | 2002-03-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
6883 | ||
6884 | * lread.c (read_filtered_event): Do not call start_hourglass | |
6885 | before returning. | |
6886 | ||
6887 | 2002-03-04 Juanma Barranquero <lektu@terra.es> | |
6888 | ||
6889 | * w32term.c (x_display_and_set_cursor): Fix typo. | |
6890 | ||
6891 | 2002-03-03 Richard M. Stallman <rms@gnu.org> | |
6892 | ||
6893 | * fileio.c (Fmake_temp_name): Doc fix. | |
6894 | ||
6895 | 2002-03-03 Gary Wong <gtw@gnu.org> | |
6896 | ||
6897 | * termcap.c [!emacs]: Replace ospeed for building standalone | |
6898 | libtermcap, for binary compatibility. | |
6899 | ||
6900 | * tparam.c [!emacs]: Move #define of bcopy to after string.h. | |
6901 | ||
6902 | 2002-03-03 Richard M. Stallman <rms@gnu.org> | |
6903 | ||
6904 | * xrdb.c (file_p): Rename arg `path' to `filename'. | |
6905 | ||
6906 | * abbrev.c (Fexpand_abbrev): Increment plist as use count | |
6907 | only if it is an integer. | |
6908 | ||
6909 | * xfns.c (png_load): Set screen_gamma based on f->gamma. | |
6910 | If png_get_sRGB gives an answer, call png_set_gamma | |
6911 | using the default image gamma value. | |
6912 | ||
6913 | * lread.c (read1): When reading from a file, default string to | |
6914 | multibyte only if it has some multibyte characters. | |
6915 | ||
6916 | * print.c (print_object): Output multibyte chars 128...255 | |
6917 | using \x even if ! print_escape_multibyte. | |
6918 | ||
6919 | * xdisp.c (display_mode_element): Move the places where | |
6920 | bytepos, charpos, this, and lisp_string are set. | |
6921 | Use lisp_string to set bytepos. | |
6922 | ||
6923 | * xdisp.c (redisplay_internal): | |
6924 | Call clear_image_cache only if HAVE_WINDOW_SYSTEM. | |
6925 | ||
6926 | * xdisp.c (display_mode_element): Merge properties specified with | |
6927 | :propertize onto those that come with the string. | |
6928 | ||
6929 | 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il> | |
6930 | ||
6931 | * xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Renamed from | |
6932 | automatic-hscrolling. Users changed. | |
6933 | <hscroll-margin>: Renamed from automatic-hscroll-margin. | |
6934 | Users changed. | |
6935 | <hscroll-step>: Renamed from automatic-hscroll-step. Users changed. | |
6936 | ||
6937 | 2002-03-02 Eli Zaretskii <eliz@is.elta.co.il> | |
6938 | ||
6939 | * buffer.c (syms_of_buffer) <buffer-file-coding-system>: Doc fix. | |
6940 | ||
6941 | 2002-03-02 Kim F. Storm <storm@cua.dk> | |
6942 | ||
6943 | * window.c (Fminibuffer_selected_window): New function. | |
6944 | (syms_of_window): Defsubr it. | |
6945 | ||
6946 | 2002-03-01 Kim F. Storm <storm@cua.dk> | |
6947 | ||
6948 | * window.h (struct window): New member phys_cursor_width. | |
6949 | ||
6950 | * window.c (make_window, replace_window): Init phys_cursor_width. | |
6951 | ||
6952 | * xterm.c (x_display_and_set_cursor): Blink box cursor using | |
6953 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | |
6954 | ||
6955 | * w32term.c (x_display_and_set_cursor): Blink box cursor using | |
6956 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | |
6957 | ||
6958 | * lisp.h (GCPRO6): New macro. | |
6959 | ||
6960 | * process.c (Fopen_network_stream): Use GCPRO6. | |
6961 | ||
6962 | 2002-03-01 Kim F. Storm <storm@cua.dk> | |
6963 | ||
6964 | * process.c (Qconnect, Qfailed): New variables. | |
6965 | (syms_of_process): Intern and staticpro them. | |
6966 | (Fprocess_status): Document connect and failed return values. | |
6967 | [NON_BLOCKING_CONNECT]: New conditional. | |
6968 | (connect_wait_mask, num_pending_connects): New variables. | |
6969 | (status_message): Convert Qfailed status. | |
6970 | (Fopen_network_stream): Added support for non-blocking connect. | |
6971 | New optional args: filter, sentinel, non_blocking. Doc updated. | |
6972 | [HAVE_GETADDRINFO, !HAVE_GETADDRINFO]: Merged common code. | |
6973 | (deactivate_process): Handle pending non-blocking connect. | |
6974 | (wait_reading_process_input): Poll for status of non-blocking | |
6975 | connects. Exec sentinel directly when connect succeeds. | |
6976 | (status_notify): Don't read process output if not yet connected. | |
6977 | ||
6978 | 2002-02-28 Kim F. Storm <storm@cua.dk> | |
6979 | ||
6980 | * window.c: (minibuf_selected_window): Renamed from | |
6981 | Vminibuf_selected_window. Users changed. | |
6982 | (syms_of_window): Staticpro it. | |
6983 | ||
6984 | 2002-02-26 Kim F. Storm <storm@cua.dk> | |
6985 | ||
6986 | The following changes add a new Vminibuf_selected_window variable | |
6987 | which is similar to Vminibuf_scroll_window, but which is only set | |
6988 | on entry to the minibuffer (from a non-minibuffer window): | |
6989 | ||
6990 | * window.c: (Vminibuf_selected_window): New variable. | |
6991 | (struct save_window_data): New member minibuf_selected_window. | |
6992 | (Fset_window_configuration): Restore Vminibuf_selected_window. | |
6993 | (Fcurrent_window_configuration): Save Vminibuf_selected_window. | |
6994 | Set minibuf_scroll_window member to nil if minibuf_level is 0. | |
6995 | (compare_window_configurations): Compare minibuf_selected_window. | |
6996 | ||
6997 | * window.h: (Vminibuf_selected_window): Declare extern. | |
6998 | ||
6999 | * minibuf.c (read_minibuf): Set Vminibuf_selected_window on first | |
7000 | entry to minibuffer or on entry from a non-minibuffer window. | |
7001 | ||
7002 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): Compare with | |
7003 | Vminibuf_selected_window instead of Vminibuf_scroll_window. | |
7004 | ||
7005 | * xdisp.c (init_iterator): Compare with Vminibuf_selected_window | |
7006 | instead of Vminibuf_scroll_window when deciding in which window | |
7007 | the region should be highlighted. Consequently, the region remains | |
7008 | highlighteded even when a completion buffer is also displayed. | |
7009 | ||
7010 | 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il> | |
7011 | ||
7012 | * fileio.c (Fsubstitute_in_file_name): Fix the change from 2002-02-08. | |
7013 | ||
7014 | * xselect.c (Qcompound_text_with_extensions): Renamed from | |
7015 | Qcompound_text_no_extensions. | |
7016 | (lisp_data_to_selection_data, syms_of_xselect): Use the new name. | |
7017 | ||
7018 | 2002-02-26 Juanma Barranquero <lektu@terra.es> | |
7019 | ||
7020 | * w32proc.c (syms_of_ntproc): Doc fix. | |
7021 | ||
7022 | 2002-02-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
7023 | ||
7024 | * intervals.h: Include "dispextern.h" unconditionally. | |
7025 | ||
7026 | 2002-02-24 Jason Rumney <jasonr@gnu.org> | |
7027 | ||
7028 | * Makefile.in (WINNT_SUPPORT) [WINDOWSNT]: Add w32-vars.elc | |
7029 | and disp-table.elc. | |
7030 | (lisp): Add emacs-lisp/backquote.elc. | |
7031 | ||
7032 | 2002-02-24 Kim F. Storm <storm@cua.dk> | |
7033 | ||
7034 | * keymap.c (Flookup_key): Fixed problem in 2001-12-28 patch: | |
7035 | The validation of the event type was too strict as it didn't | |
7036 | allow string events; buffer names are used in bindings for | |
7037 | menu-bar-select-buffer (see `menu-bar-update-buffers'). | |
7038 | ||
7039 | 2002-02-23 Kim F. Storm <storm@cua.dk> | |
7040 | ||
7041 | The following changes rework my patch of 2002-02-06 which | |
7042 | added command remapping by entering the commands directly into | |
7043 | the keymaps. Now, command remapping uses an explicit `remap' | |
7044 | prefix in the keymaps, i.e. [remap COMMAND]. | |
7045 | ||
7046 | * keymap.c (Qremap, remap_command_vector): New variables. | |
7047 | (is_command_symbol): Removed function. | |
7048 | (Fdefine_key): No longer accept a symbol for KEY. | |
7049 | Added validation of [remap COMMAND] argument for KEY. | |
7050 | The DEF is no longer required to be a symbol when remapping a command. | |
7051 | (Fremap_command): New function to remap command through keymaps. | |
7052 | (Flookup_key): Perform command remapping initiated by | |
7053 | Fremap_command directly for speed. | |
7054 | (Fkey_binding): Use Fremap_command for command remapping. | |
7055 | (where_is_internal): Handle new command remapping representation. | |
7056 | (syms_of_keymap): Intern Qremap, initialize remap_command_vector, | |
7057 | staticpro them. Defsubr Fremap_command. | |
7058 | ||
7059 | * keymap.h (Fremap_command): Declare extern. | |
7060 | (is_command_symbol): Remove extern. | |
7061 | ||
7062 | * keyboard.c (command_loop_1): Use Fremap_command for command | |
7063 | remapping; now try command remapping for all symbols. | |
7064 | ||
7065 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> | |
7066 | ||
7067 | * coding.h (run_pre_post_conversion_on_str): Add prototype. | |
7068 | ||
7069 | 2002-02-23 Jason Rumney <jasonr@gnu.org> | |
7070 | ||
7071 | * w32select.c (Fw32_set_clipboard_data): Run pre-write-conversion | |
7072 | on the string before encoding it. | |
7073 | (Fw32_get_clipboard_data): Run post-read-conversion on the string | |
7074 | after decoding it. | |
7075 | ||
7076 | * w32fns.c (w32_wnd_proc) <WM_TIMER>: Fix last change. | |
7077 | ||
7078 | 2002-02-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
7079 | ||
7080 | * w32term.c (enter_timestamp): Remove unused static variable to | |
7081 | prevent warning. | |
7082 | ||
7083 | * xterm.c (enter_timestamp): Put in #if 0 to prevent warning. | |
7084 | ||
7085 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> | |
7086 | ||
7087 | * w16select.c (Fw16_get_clipboard_data): Fix last change. | |
7088 | ||
7089 | * xselect.c (selection_data_to_lisp_data): Fix last change. | |
7090 | ||
7091 | 2002-02-22 Jason Rumney <jasonr@gnu.org> | |
7092 | ||
7093 | * w32term.h (struct w32_output): New member menu_command_in_progress. | |
7094 | ||
7095 | * w32menu.c (menubar_selection_callback): Free the menu and | |
7096 | clear the menu_command_in_progress flag. | |
7097 | ||
7098 | * w32fns.c (mouse_move_timer, mouse_button_timer): Initialize. | |
7099 | (menu_free_timer): New variable. | |
7100 | (MENU_FREE_ID, MENU_FREE_DELAY): New constants. | |
7101 | (w32_wnd_proc) <WM_TIMER>: Handle menu_free_timer. | |
7102 | <WM_EXITMENULOOP>: Delay before freeing menu. Do nothing if a | |
7103 | menu command is in progress. | |
7104 | <WM_COMMAND>: Set the menu_command_in_progress flag. | |
7105 | Kill any menu_free_timer that is running. | |
7106 | ||
7107 | * w32term.c (w32_text_out): Renamed from W32_TEXTOUT. | |
7108 | Call ExtTextOutA rather than ExtTextOut. | |
7109 | ||
7110 | 2002-02-22 Eli Zaretskii <eliz@gnu.org> | |
7111 | ||
7112 | * puresize.h (BASE_PURESIZE): Increase to 755000. | |
7113 | ||
7114 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> | |
7115 | ||
7116 | * w16select.c (Fw16_set_clipboard_data): Run pre-write-conversion | |
7117 | on the string before encoding it. | |
7118 | (Fw16_get_clipboard_data): Run post-read-conversion on the string | |
7119 | after decoding it. | |
7120 | ||
7121 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> | |
7122 | ||
7123 | Support for ICCCM Extended Segments in X selections: | |
7124 | ||
7125 | * xselect.c <Qcompound_text_no_extensions>: New variable. | |
7126 | (syms_of_xselect): Intern and staticpro it. | |
7127 | (selection_data_to_lisp_data): Run post-read-conversion on decoded | |
7128 | selection text. | |
7129 | (lisp_data_to_selection_data): If next-selection-coding-system is | |
7130 | compound-text-no-extensions, set the type of selection to be | |
7131 | compound-text. | |
7132 | ||
7133 | * xterm.h (x_encode_text): Update prototype. | |
7134 | ||
7135 | * xfns.c (x_encode_text): Accept additional arg SELECTIONP; all | |
7136 | callers changed. If SELECTIONP is non-zero, run the | |
7137 | pre-write-conversion function before encoding the selection text. | |
7138 | ||
7139 | 2002-02-21 Kim F. Storm <storm@cua.dk> | |
7140 | ||
7141 | * frame.c (syms_of_frame): Change mouse-highlight default to t. | |
7142 | ||
7143 | * keyboard.c (kbd_buffer_get_event) [WINDOWSNT]: | |
7144 | Correct composing of language-change event. | |
7145 | ||
7146 | 2002-02-20 Kim F. Storm <storm@cua.dk> | |
7147 | ||
7148 | * keyboard.c (menu_bar_items): Don't include keymap or local-map | |
7149 | bindings at PT when building menu (the menu is not updated often | |
7150 | enough for this to work reliable). | |
7151 | (tool_bar_items): Likewise. | |
7152 | (current_active_maps): Removed unused (and buggy) function. | |
7153 | ||
7154 | 2002-02-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
7155 | ||
7156 | * xfns.c (gif_load): Use correct width and height for GIF images. | |
7157 | ||
7158 | 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il> | |
7159 | ||
7160 | * floatfns.c (Fatan): Accept an optional second arg and call | |
7161 | atan2 if passed 2 args. | |
7162 | ||
7163 | 2002-02-18 Jason Rumney <jasonr@gnu.org> | |
7164 | ||
7165 | * w32term.c (glyph_rect): Determine the row and glyph more precisely. | |
7166 | ||
7167 | 2002-02-17 Jason Rumney <jasonr@gnu.org> | |
7168 | ||
7169 | * w32term.c (x_autoselect_window_p): New variable. | |
7170 | (syms_of_w32term): DEFVAR_BOOL and initialize it. | |
7171 | (note_mouse_movement): Use it. | |
7172 | ||
7173 | * w32fns.c (w32_load_system_font): Never set fonts_changed_p to zero. | |
7174 | ||
7175 | * w32bdf.c (w32_load_bdf_font): Maybe set fonts_changed_p. | |
7176 | ||
7177 | * w32fns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): | |
7178 | New variables. | |
7179 | (syms_of_w32fns): Intern and staticpro them. | |
7180 | (x_frame_parms) <"fullscreen">: New parameter. | |
7181 | (x_fullscreen_move, x_set_fullscreen): New functions. | |
7182 | (x_set_frame_parameters): Support Qfullscreen. | |
7183 | (x_real_positions): Save x/y_pixels_diff frame params. | |
7184 | (x_figure_window_size): Support full-screen frames. | |
7185 | (Fx_create_frame): Default the fullscreen parameter. | |
7186 | ||
7187 | * w32term.c (x_check_fullscreen, x_check_fullscreen_move) | |
7188 | (x_fullscreen_adjust): New functions. | |
7189 | (w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't resize to | |
7190 | fullscreen. Call x_check_fullscreen_move, and set the | |
7191 | want_fullscreen member of output_data.w32 | |
7192 | <WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen. | |
7193 | ||
7194 | * w32term.h: New enum for FULLSCREEN_* constants. | |
7195 | (struct w32_output): New members want_fullscreen, x_pixels_diff, | |
7196 | y_pixels_diff, x_pixels_outer_diff, and y_pixels_outer_diff. | |
7197 | (x-fullscreen-adjust): New prototype. | |
7198 | ||
7199 | 2002-02-17 Kim F. Storm <storm@cua.dk> | |
7200 | ||
7201 | * frame.c: (Vmouse_highlight): New variable. | |
7202 | (syms_of_frame): DEFVAR_LISP it. | |
7203 | ||
7204 | * frame.h: (Vmouse_highlight): Declare extern. | |
8a8e19a3 | 7205 | |
048addec | 7206 | * xterm.h (struct x_display_info): Add mouse_face_hidden. |
8a8e19a3 | 7207 | |
048addec JD |
7208 | * xterm.c (disable_mouse_highlight): Removed variable. |
7209 | (note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. | |
7210 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | |
7211 | (XTread_socket): Turn mouse_face_hidden off after mouse movement, | |
7212 | and on after keyboard input. | |
7213 | (x_term_init): Initialize mouse_face_hidden. | |
8a8e19a3 | 7214 | |
048addec | 7215 | * msdos.h (struct display_info): Add mouse_face_hidden. |
8a8e19a3 | 7216 | |
048addec JD |
7217 | * msdos.c (disable_mouse_highlight): Removed variable. |
7218 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | |
7219 | (IT_note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. | |
7220 | (internal_terminal_init): Initialize mouse_face_hidden. | |
7221 | (dos_rawgetc): Turn mouse_face_hidden off after mouse movement, | |
7222 | and on after keyboard input. | |
4f1b1854 | 7223 | |
048addec | 7224 | * w32term.h (struct w32_display_info): Add mouse_face_hidden. |
4f1b1854 | 7225 | |
048addec JD |
7226 | * w32term.c (disable_mouse_highlight): Removed variable. |
7227 | (note_mouse_highlight): Disable highlight if Vmouse_highlight is nil. | |
7228 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | |
7229 | (w32_read_socket): Turn mouse_face_hidden off after mouse movement, | |
7230 | and on after keyboard input. | |
7231 | (w32_initialize_display_info): Initialize mouse_face_hidden. | |
4f1b1854 | 7232 | |
048addec | 7233 | 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il> |
4f1b1854 | 7234 | |
048addec JD |
7235 | * msdos.c (last_mouse_window): New variable. |
7236 | (dos_rawgetc): Fix last change--if the mouse is in the same window | |
7237 | as recorded in last_mouse_window, don't select this window. | |
5cb6905d | 7238 | |
048addec | 7239 | * Makefile.in (lisp, shortlisp): Use cus-start.elc, not cus-start.el. |
5cb6905d | 7240 | |
048addec JD |
7241 | * msdos.c (x_autoselect_window_p): New variable. |
7242 | (syms_of_msdos): Defvar it. | |
7243 | (dos_rawgetc): If x_autoselect_window_p is set, select the window in | |
7244 | which the last mouse movement occured, unless it is already selected. | |
437dfb9f | 7245 | |
048addec JD |
7246 | * xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step): |
7247 | New variables. | |
7248 | (syms_of_xdisp): DEVFAR them. | |
7249 | (hscroll_window_tree): Use automatic_hscroll_margin and | |
7250 | Vautomatic_hscroll_step to compute the amount of window scrolling. | |
437dfb9f | 7251 | |
048addec | 7252 | 2002-02-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9f696a00 | 7253 | |
048addec JD |
7254 | * xterm.c (x-autoselect-window): New variable. |
7255 | (note_mouse_movement): Use it. | |
9f696a00 | 7256 | |
048addec | 7257 | * keyboard.c: Do not include "systime.h" twice. |
d57966d7 | 7258 | |
048addec | 7259 | 2002-02-15 Andreas Schwab <schwab@suse.de> |
d57966d7 | 7260 | |
048addec | 7261 | * puresize.h (BASE_PURESIZE): Increase to 9/5. |
d57966d7 | 7262 | |
048addec | 7263 | * alloc.c (NSTATICS): Increase to 1280. |
74779f52 | 7264 | |
048addec | 7265 | 2002-02-15 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> |
74779f52 | 7266 | |
048addec | 7267 | * alloc.c (NSTATICS): Bump to 1026. |
a474d59c | 7268 | |
048addec JD |
7269 | * xterm.c (Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym) |
7270 | (Vx_super_keysym): New variables. | |
7271 | (syms_of_xterm): DEFVAR_LISP them. | |
7272 | (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): Use the | |
7273 | variables to determine which keys to use for the various modifiers. | |
a474d59c | 7274 | |
048addec | 7275 | 2002-02-13 Kim F. Storm <storm@cua.dk> |
fbb70ad9 | 7276 | |
048addec JD |
7277 | * window.c: (Vmode_line_in_non_selected_windows): Removed. |
7278 | (mode_line_in_non_selected_windows): New variable. | |
7279 | (syms_of_window): DEFVAR_BOOL it. | |
fbb70ad9 | 7280 | |
048addec JD |
7281 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): |
7282 | Use mode_line_in_non_selected_windows. | |
7283 | (mode_line_in_non_selected_windows): Declare extern. | |
7284 | (Vmode_line_in_non_selected_windows): Removed extern. | |
2d10309f | 7285 | |
048addec | 7286 | 2002-02-13 Richard M. Stallman <rms@gnu.org> |
2d10309f | 7287 | |
048addec JD |
7288 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector) |
7289 | (Fthis_single_command_keys, Fthis_single_command_raw_keys) | |
7290 | (Fclear_this_command_keys): Doc fixes. | |
2d10309f | 7291 | |
048addec JD |
7292 | * xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face) |
7293 | (update_face_from_frame_parameter): Increment face_change_count | |
7294 | and windows_or_buffers_changed to force redisplay using changed faces. | |
7f2cddf3 | 7295 | |
048addec JD |
7296 | * xdisp.c (QCpropertize): New variable. |
7297 | (mode_line_proptrans_alist): New variable. | |
7298 | (display_mode_element): New arg PROPS; all calls changed. | |
7299 | Implement this, for strings. | |
7300 | Handle literal output of strings by sharing the | |
7301 | main-line code for strings, using local var `literal'. | |
7302 | Handle :propertize feature. | |
7303 | (syms_of_xdisp): Initialze and staticpro QCpropertize and | |
7304 | mode_line_proptrans_alist. | |
0b1e6b54 | 7305 | |
048addec | 7306 | 2002-02-11 Kim F. Storm <storm@cua.dk> |
7f2cddf3 | 7307 | |
048addec JD |
7308 | * window.c: (Vmode_line_in_non_selected_windows): New variable. |
7309 | (syms_of_window): DEFVAR_LISP it. | |
7f2cddf3 | 7310 | |
048addec JD |
7311 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): New macro. |
7312 | (CURRENT_MODE_LINE_FACE_ID): Use it. | |
7313 | (Vmode_line_in_non_selected_windows): Declare extern. | |
e17144de | 7314 | |
048addec JD |
7315 | * xdisp.c (display_mode_lines): Use CURRENT_MODE_LINE_FACE_ID_3 |
7316 | to get mode line face. | |
e17144de | 7317 | |
048addec | 7318 | 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il> |
6637c996 | 7319 | |
048addec JD |
7320 | * msdos.c (Vx_bitmap_file_path, x_stretch_cursor_p): Remove these |
7321 | variables; cus-start.el doesn't need them anymore. | |
44368f8f | 7322 | |
048addec | 7323 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
f884b6f4 | 7324 | |
048addec JD |
7325 | * insdel.c (make_gap_smaller): Preserve BEG_UNCHANGED during gap |
7326 | reduction. This fixes a display problem where stray newlines were | |
7327 | inserted in the window (corrected by C-l). Clarified code (IMHO). | |
6637c996 | 7328 | |
048addec | 7329 | 2002-02-09 Eli Zaretskii <eliz@is.elta.co.il> |
6637c996 | 7330 | |
048addec | 7331 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): Fix last change. |
6637c996 | 7332 | |
048addec | 7333 | * xdisp.c (display_mode_lines): Fix last change. |
453c5510 | 7334 | |
048addec | 7335 | 2002-02-09 Jason Rumney <jasonr@gnu.org> |
453c5510 | 7336 | |
048addec JD |
7337 | * w32fns.c (enum_font_cb2): Don't let charsets unknown to Windows |
7338 | match each other. | |
7339 | (w32_load_system_font): Prevent Cleartype fonts from loading. | |
7340 | (Fx_show_tip): Ensure tip frames are above other topmost windows. | |
d1d070e3 | 7341 | |
048addec | 7342 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
d1d070e3 | 7343 | |
048addec JD |
7344 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): New macro. |
7345 | (CURRENT_MODE_LINE_HEIGHT): Use it. | |
7346 | (enum face_id): Add MODE_LINE_INACTIVE_FACE_ID. | |
9ec1bdb6 | 7347 | |
048addec JD |
7348 | * xdisp.c (window_box_height): Use CURRENT_MODE_LINE_FACE_ID. |
7349 | (pos_visible_p, handle_face_prop): Likewise. | |
7350 | (display_mode_lines): Likewise, but for the real selected window. | |
7351 | (init_iterator) [row == NULL]: Handle MODE_LINE_INACTIVE_FACE_ID. | |
9ec1bdb6 | 7352 | |
048addec JD |
7353 | * xfaces.c (Qmode_line_inactive): New face variable for mode-line |
7354 | in non-selected windows. | |
7355 | (realize_basic_faces): Realize it. | |
7356 | (syms_of_term): Intern and staticpro it. | |
308dd672 | 7357 | |
048addec | 7358 | 2002-02-08 Kim F. Storm <storm@cua.dk> |
edde72f6 | 7359 | |
048addec JD |
7360 | * alloc.c (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): |
7361 | Changed mail addresses to emacs-devel@gnu.org. | |
308dd672 | 7362 | |
048addec | 7363 | 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il> |
3c1e6b46 | 7364 | |
048addec JD |
7365 | * fileio.c (Fsubstitute_in_file_name): If the file name includes |
7366 | ~user, and there's no such user, don't discard everything before ~user. | |
03950b5b | 7367 | |
048addec | 7368 | * floatfns.c (Fround): Doc fix. |
3c1e6b46 | 7369 | |
048addec | 7370 | 2002-02-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c1e11810 | 7371 | |
048addec | 7372 | * sysdep.c (init_system_name): Put unused variable `p' in #if 0. |
c1e11810 | 7373 | |
048addec | 7374 | 2002-02-07 Stefan Monnier <monnier@cs.yale.edu> |
1996baee | 7375 | |
048addec | 7376 | * lisp.h (Fx_file_dialog): Add extern decl (used in fileio.c). |
1996baee | 7377 | |
048addec | 7378 | 2002-02-07 Kim F. Storm <storm@cua.dk> |
0065bb74 | 7379 | |
048addec JD |
7380 | * keymap.c (where_is_internal): Only check whether definition is |
7381 | remapped if it fulfills is_command_symbol. | |
0065bb74 | 7382 | |
048addec | 7383 | 2002-02-07 Andreas Schwab <schwab@suse.de> |
0065bb74 | 7384 | |
048addec | 7385 | * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT): Define to 2 for m68k. |
b5cb6072 | 7386 | |
048addec | 7387 | * alloc.c (mark_stack): Don't assume sizeof (Lisp_Object) is 4. |
b5cb6072 | 7388 | |
048addec | 7389 | 2002-02-06 Kim F. Storm <storm@cua.dk> |
15fff01d | 7390 | |
048addec JD |
7391 | * keymap.c (Fdefine_key): Allow symbol as KEY argument for |
7392 | defining command remapping. Doc updated. | |
7393 | (Flookup_key): Remap command through keymap if KEY is a symbol. | |
7394 | (is_command_symbol): New function. | |
7395 | (Fkey_binding): Use it. New optional argument NO-REMAP. | |
7396 | Doc updated. Callers changed. Perform command remapping via | |
7397 | recursive call unless that arg is non-nil. | |
7398 | (where_is_internal): New argument no_remap. Callers changed. | |
7399 | Call recursively to find original key bindings for a remapped | |
7400 | comand unless that arg is non-nil. | |
7401 | (Fwhere_is_internal): New optional argument NO-REMAP. | |
7402 | Doc updated. Callers changed. Pass arg to where_is_internal. | |
0065bb74 | 7403 | |
048addec JD |
7404 | * keymap.h (Fkey_binding, Fwhere_is_internal): Update prototype. |
7405 | (is_command_symbol): Added prototype. | |
0d8466cc | 7406 | |
048addec JD |
7407 | * keyboard.c (Vthis_original_command): New variable. |
7408 | (syms_of_keyboard): DEFVAR_LISP it. | |
7409 | (command_loop_1): Set it, and perform command remapping. | |
15fff01d | 7410 | |
048addec | 7411 | 2002-02-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2fae9111 | 7412 | |
048addec | 7413 | * keyboard.c (recursive_edit_1): Call cancel_hourglass unconditionally. |
2d6c1fc0 | 7414 | |
048addec | 7415 | 2002-02-06 Jason Rumney <jasonr@gnu.org> |
07025a55 | 7416 | |
048addec | 7417 | * w32term.c (w32_native_per_char_metric): Disable 2002-01-20 change. |
07025a55 | 7418 | |
048addec | 7419 | 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il> |
07025a55 | 7420 | |
048addec | 7421 | * charset.c (get_charset_id): Use if-else instead of ?:. |
3a232704 | 7422 | |
048addec | 7423 | 2002-02-06 Richard M. Stallman <rms@gnu.org> |
539e92ad | 7424 | |
048addec | 7425 | * filelock.c (S_ISLNK): Define if not defined. |
3a232704 | 7426 | |
048addec | 7427 | 2002-02-03 Richard M. Stallman <rms@gnu.org> |
0cb8bb48 | 7428 | |
048addec | 7429 | * fileio.c (Fdo_auto_save): Improve "auto save disabled" msg. |
539e92ad | 7430 | |
048addec JD |
7431 | * lread.c (read1): Redesign strategy for force_multibyte and |
7432 | force_singlebyte. Now is_multibyte records whether read_buffer | |
7433 | is multibyte. Encountering any multibyte character makes it so. | |
4e02881b | 7434 | |
048addec | 7435 | 2002-02-02 Stefan Monnier <monnier@cs.yale.edu> |
4e02881b | 7436 | |
048addec JD |
7437 | * term.c (term_get_fkeys_1): If `k0' and `k;' are both specified and |
7438 | with the same sequence, map that sequence to f10 rather than f0. | |
1ab964d7 | 7439 | |
048addec | 7440 | 2002-02-03 Andreas Schwab <schwab@suse.de> |
1ab964d7 | 7441 | |
048addec JD |
7442 | * s/gnu-linux.h: Check for __mc68000__ instead of __m68k__, the |
7443 | latter never being defined on GNU/Linux. | |
749f499f | 7444 | |
048addec | 7445 | 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il> |
749f499f | 7446 | |
048addec JD |
7447 | * xfaces.c (realize_default_face): Don't set the weight and slant of |
7448 | the default face to Qnormal, unless these attributes are unspecified. | |
b5d9aaba | 7449 | |
048addec | 7450 | 2002-02-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
3a232704 | 7451 | |
048addec JD |
7452 | * keyboard.c (command_loop_1) [HAVE_X_WINDOWS]: |
7453 | Call cancel_hourglass unconditionally. | |
d0fd26dd | 7454 | |
048addec JD |
7455 | * eval.c (Fsignal): Remove duplicated declaration of |
7456 | the variable `display_hourglass_p'. | |
b4c45162 | 7457 | |
048addec | 7458 | 2002-01-31 Richard M. Stallman <rms@gnu.org> |
d0fd26dd | 7459 | |
048addec | 7460 | * editfns.c (region_limit): Nicer error message. |
c95eaa61 | 7461 | |
048addec JD |
7462 | * coding.c (decode_composition_emacs_mule): |
7463 | Give up if NCOMPONENT gets too large to index `component'. | |
c95eaa61 | 7464 | |
048addec JD |
7465 | * callint.c (check_mark): New arg to specify clearer error message. |
7466 | Callers changed. | |
c95eaa61 | 7467 | |
048addec | 7468 | 2002-01-27 Richard M. Stallman <rms@gnu.org> |
c95eaa61 | 7469 | |
048addec | 7470 | * minibuf.c (Fcompleting_read): Doc fix. |
c95eaa61 | 7471 | |
048addec | 7472 | 2002-01-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c95eaa61 | 7473 | |
048addec JD |
7474 | * minibuf.c (Fread_from_minibuffer, Fread_command, Fread_function) |
7475 | (Fread_variable, Fread_buffer, minibuffer-completion-confirm): | |
7476 | Fix doc-strings. | |
c95eaa61 | 7477 | |
048addec | 7478 | 2002-01-26 Richard M. Stallman <rms@gnu.org> |
c95eaa61 | 7479 | |
048addec | 7480 | * buffer.c (syms_of_buffer): Doc fixes for scroll-...-aggressively. |
c95eaa61 | 7481 | |
048addec JD |
7482 | * xdisp.c (try_scrolling): Exchange uses of scroll_down_aggressively |
7483 | and scroll_up_aggressively. | |
c95eaa61 | 7484 | |
048addec | 7485 | 2002-01-26 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
31877e0a | 7486 | |
048addec | 7487 | * keyboard.c (parse_tool_bar_item): Remove duplicated prototypes. |
31877e0a | 7488 | |
048addec | 7489 | 2002-01-25 Stefan Monnier <monnier@cs.yale.edu> |
e2c3786a | 7490 | |
048addec JD |
7491 | * textprop.c (Fnext_property_change, Fnext_single_property_change) |
7492 | (Fprevious_property_change, Fprevious_single_property_change): | |
7493 | Stay within the narrowed-buffer boundaries. | |
e2c3786a | 7494 | |
048addec | 7495 | 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il> |
c513fc03 | 7496 | |
048addec JD |
7497 | * term.c (Ftty_display_color_cells): New function. |
7498 | (syms_of_term): Defsubr it. | |
7499 | (Ftty_display_color_cells, Ftty_display_color_p): Change the | |
7500 | argument name to DISPLAY. Doc fix. | |
bf794306 | 7501 | |
048addec JD |
7502 | * dispextern.h: Add prototype for set_tty_color_mode and |
7503 | tty_setup_colors. | |
bf794306 | 7504 | |
048addec | 7505 | 2002-01-24 Jason Rumney <jasonr@gnu.org> |
bf794306 | 7506 | |
048addec JD |
7507 | * w32term.c (x_scroll_run): Use ScrollWindowEx in place of BitBlt. |
7508 | If region left to draw is not what was expected, mark the frame as | |
7509 | garbaged. | |
62582985 | 7510 | |
048addec JD |
7511 | * w32fns.c (w32_wnd_proc) <WM_PAINT>: Initialize update_rect. |
7512 | Combine the regions returned by BeginPaint and GetUpdateRect. | |
c513fc03 | 7513 | |
048addec | 7514 | 2002-01-23 Jason Rumney <jasonr@gnu.org> |
3509a04c | 7515 | |
048addec JD |
7516 | * w32term.c (x_update_window_begin): Only hide caret if |
7517 | w32_use_visible_system_caret is set. | |
7518 | (x_update_window_end): Only show caret if | |
7519 | w32_use_visible_system_caret is set. | |
7520 | (syms_of_w32term): Handle SystemParametersInfo call failing. | |
3509a04c | 7521 | |
048addec | 7522 | * w32fns.c (syms_of_w32fns): Initialize w32_visible_system_caret_hwnd. |
3509a04c | 7523 | |
048addec | 7524 | 2002-01-22 Richard M. Stallman <rms@gnu.org> |
3509a04c | 7525 | |
048addec JD |
7526 | * unexelf.c (unexec): Define n so as to cause compilation error |
7527 | for the code where people have often written n instead of nn. | |
1e9a6186 | 7528 | |
048addec | 7529 | * .gdbinit (hookpost-run): Defined. |
1e9a6186 | 7530 | |
048addec | 7531 | 2002-01-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
e4e34e31 | 7532 | |
048addec | 7533 | * xfns.c (x_set_frame_parameters): Typo in previous fix corrected. |
e4e34e31 | 7534 | |
048addec | 7535 | 2002-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4521d1fc | 7536 | |
048addec JD |
7537 | * xfns.c (x_set_frame_parameters): Just call x_fullscreen_adjust |
7538 | if fullscreen is being set. | |
7c75be36 | 7539 | |
048addec | 7540 | 2002-01-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4521d1fc | 7541 | |
048addec JD |
7542 | * minibuf.c (Fminibuffer_contents) |
7543 | (Fminibuffer_contents_no_properties, Fread_from_minibuffer) | |
7544 | (Fread_string, Fread_no_blanks_input, Fcompleting_read): Doc fixes. | |
4521d1fc | 7545 | |
048addec | 7546 | 2002-01-21 Richard M. Stallman <rms@gnu.org> |
4521d1fc | 7547 | |
048addec | 7548 | * window.c (check_frame_size): Fix minimum height calculation. |
93dec019 | 7549 | |
048addec | 7550 | 2002-01-20 Ken Raeburn <raeburn@gnu.org> |
93dec019 | 7551 | |
048addec JD |
7552 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window |
7553 | height before comparison. | |
7554 | (WINDOW_WANTS_HEADER_LINE_P): Likewise. | |
905cc05a | 7555 | |
048addec | 7556 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
2ed06289 | 7557 | |
048addec JD |
7558 | * w32term.c (w32_system_caret_width): Remove. |
7559 | (w32_use_visible_system_caret): New user flag. | |
7560 | (syms_of_w32term): DEFVAR_BOOL it. Initialize based on whether | |
7561 | Windows reports a screen reader running. | |
7562 | (x_update_window_begin): Hide the system caret. | |
7563 | (x_update_window_end): Show the system caret. | |
7564 | (x_display_and_set_cursor): Don't draw a cursor when | |
7565 | w32_use_visible_system_caret is set. Do not adjust width. | |
0e79d667 | 7566 | |
048addec JD |
7567 | * w32fns.c (w32_visible_system_caret_hwnd): New static variable. |
7568 | (w32_wnd_proc) <WM_KILL_FOCUS, WM_EMACS_DESTROY_CARET>: Set it. | |
7569 | <WM_EMACS_TRACK_CARET>: Arrange for system caret to be visible if | |
7570 | the user requests it. Use system default width when creating. | |
7571 | <WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages. | |
0e79d667 | 7572 | |
048addec JD |
7573 | * w32term.h (WM_EMACS_SHOW_CARET, WM_EMACS_HIDE_CARET): |
7574 | New window messages. | |
905cc05a | 7575 | |
048addec | 7576 | 2002-01-20 Richard M. Stallman <rms@gnu.org> |
82a7ab23 | 7577 | |
048addec | 7578 | * window.c (MIN_SAFE_WINDOW_HEIGHT): Value now 1. |
d75bec6a | 7579 | |
048addec | 7580 | 2002-01-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
52dcb476 | 7581 | |
048addec | 7582 | * doprnt.c (doprnt1): Fix typos in error call. |
82a7ab23 | 7583 | |
048addec | 7584 | 2002-01-20 Eli Zaretskii <eliz@is.elta.co.il> |
82a7ab23 | 7585 | |
048addec | 7586 | * unexelf.c (unexec) [__sgi]: Support the .got sections. |
82a7ab23 | 7587 | |
048addec | 7588 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
4d0fa4f3 | 7589 | |
048addec JD |
7590 | * w32term.c (w32_native_per_char_metric): Don't trust the metrics |
7591 | that Windows returns. If a double check fails, try to guess how | |
7592 | ExtTextOut is going to act. | |
4d0fa4f3 | 7593 | |
048addec JD |
7594 | * w32fns.c (w32_load_system_font, w32_to_x_charset): Use strnicmp |
7595 | in place of stricmp. | |
7596 | (w32_list_synthesized_fonts): Removed. | |
7597 | (w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions. | |
7598 | (struct enumfont_t): New element; list. | |
7599 | (enum_font_cb2): List all style and charset variations of a font. | |
7600 | (Fw32_select_font): New optional argument; include_proportional. | |
7601 | Exclude vertical fonts. Exclude proportional fonts unless | |
7602 | include_proportional is non-nil. | |
7603 | (w32_enable_synthesized_fonts): Change to a boolean. | |
7604 | (Fw32_send_sys_command): Doc fix. | |
493faf20 | 7605 | |
048addec | 7606 | 2002-01-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
493faf20 | 7607 | |
048addec JD |
7608 | * dispnew.c (update_frame): Move the variable `tem' to the block |
7609 | where it is used. | |
4971e491 | 7610 | |
048addec | 7611 | 2002-01-19 Jason Rumney <jasonr@gnu.org> |
4971e491 | 7612 | |
048addec JD |
7613 | * w32fns.c (Fx_create_frame): Bind redisplay-dont-pause around |
7614 | call to face-set-after-frame-default. | |
4971e491 | 7615 | |
048addec | 7616 | 2002-01-18 Richard M. Stallman <rms@gnu.org> |
d911a0fa | 7617 | |
048addec JD |
7618 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1. |
7619 | (WINDOW_WANTS_HEADER_LINE_P): Check window height provides room. | |
d911a0fa | 7620 | |
048addec | 7621 | 2002-01-17 Richard M. Stallman <rms@gnu.org> |
d911a0fa | 7622 | |
048addec JD |
7623 | * window.c (enlarge_window): When exceeding size of parent, |
7624 | directly delete all the siblings instead of trying to resize it. | |
201c831a | 7625 | |
048addec | 7626 | 2002-01-17 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
201c831a | 7627 | |
048addec | 7628 | * term.c (set_tty_color_mode): Remove unused variable `tem'. |
201c831a | 7629 | |
048addec | 7630 | 2002-01-16 Henrik Enberg <henrik@enberg.org> |
34e39c95 | 7631 | |
048addec | 7632 | * lread.c (init_lread): Move the installed-lisp dirs later in the path. |
34e39c95 | 7633 | |
048addec | 7634 | 2002-01-16 Kim F. Storm <storm@cua.dk> |
d77fbc16 | 7635 | |
048addec JD |
7636 | * xterm.c (x_erase_phys_cursor): Don't erase cursor if cursor row |
7637 | is invisible. This can happen if cursor is on top line of a | |
7638 | window, and we switch to a buffer with a header line. | |
d77fbc16 | 7639 | |
048addec | 7640 | * w32term.c (x_erase_phys_cursor): Ditto. |
61e3b944 | 7641 | |
048addec | 7642 | 2002-01-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
61e3b944 | 7643 | |
048addec JD |
7644 | * xterm.c (XTread_socket) [!USE_X_TOOLKIT]: Compute the value of |
7645 | `dont_resize' only when used. | |
61e3b944 | 7646 | |
048addec | 7647 | * xdisp.c: Remove forgotten extern declaration of `Qimage'. |
70da46c3 | 7648 | |
048addec | 7649 | 2002-01-15 Eli Zaretskii <eliz@is.elta.co.il> |
70da46c3 | 7650 | |
048addec JD |
7651 | * xdisp.c (display_mode_element): When computing charpos, depend |
7652 | on multibyteness of elt, not the text in field. | |
8af01033 | 7653 | |
048addec | 7654 | 2002-01-15 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
8af01033 | 7655 | |
048addec JD |
7656 | * buffer.c (Fkill_all_local_variables): |
7657 | Increment `update_mode_lines' only once. | |
7363986a | 7658 | |
048addec | 7659 | 2002-01-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
7363986a | 7660 | |
048addec JD |
7661 | * lisp.h (adjust_after_replace_noundo) |
7662 | (Fupdate_coding_systems_internal): Add prototypes. | |
d9e6c4b1 | 7663 | |
048addec | 7664 | * sound.c (Fplay_sound): Initialize header_size also for :data case. |
d20fc48a | 7665 | |
048addec | 7666 | 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il> |
d9e6c4b1 | 7667 | |
048addec JD |
7668 | Support for the --color command-line argument and tty-color-mode |
7669 | frame parameter: | |
f1a85b89 | 7670 | |
048addec JD |
7671 | * term.c (tty_default_color_capabilities, tty_setup_colors) |
7672 | (set_tty_color_mode): New functions. | |
7673 | (term_init): Call tty_default_color_capabilities. | |
7674 | (Qtty_color_mode_alist): New variable. | |
7675 | (syms_of_term): Intern and staticpro it. | |
f1a85b89 | 7676 | |
048addec JD |
7677 | * frame.c (store_frame_param): Call set_tty_color_mode for termcap |
7678 | frames. | |
7679 | (do_switch_frame): For termcap frames, switch the tty | |
7680 | color mode as specified by the frame's parameters. | |
7681 | (Qtty_color_mode): New variable. | |
7682 | (syms_of_frame): Intern and staticpro it. | |
3a62677f | 7683 | |
048addec JD |
7684 | * emacs.c (USAGE2): Add the --color option. |
7685 | (standard_args): Ditto. | |
72244db2 | 7686 | |
048addec JD |
7687 | 2002-01-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7688 | ||
7689 | * xterm.h (struct x_output): New members want_fullscreen, | |
7690 | x_pixels_diff, y_pixels_diff, x_pixels_outer_diff, and | |
7691 | y_pixels_outer_diff. | |
7692 | New enum for FULLSCREEN_* constants. | |
7693 | (FRAME_OUTER_WINDOW): Handle the case where output_data.x->widget | |
7694 | is NULL. | |
7695 | (x_fullscreen_adjust): Add prototype. | |
3a62677f | 7696 | |
048addec JD |
7697 | * emacs.c (USAGE2): Add the new full-screen arguments. |
7698 | (standard_args): Ditto. | |
3a62677f | 7699 | |
048addec JD |
7700 | * xfns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): |
7701 | New variables. | |
7702 | (syms_of_xfns): Intern and staticpro them. | |
7703 | (x_frame_parms) <"fullscreen">: New parameter. | |
7704 | (x_fullscreen_move, x_set_fullscreen): New functions. | |
7705 | (x_set_frame_parameters): Support for Qfullscreen. | |
7706 | (x_real_positions): More accurate computation of the frame position. | |
7707 | (x_figure_window_size): Support full-screen frames. | |
7708 | (Fx_create_frame): Default the fullscreen parameter. | |
3a62677f | 7709 | |
048addec JD |
7710 | * xterm.c (x_check_fullscreen, x_fullscreen_adjust): New functions. |
7711 | (XTread_socket) <Expose>: Call x_check_fullscreen. | |
7712 | <ConfigureNotify>: Don't resize to fullscreen. | |
7713 | Call x_check_fullscreen_move, and set the want_fullscreen member of | |
7714 | output_data.x. | |
3a62677f | 7715 | |
048addec | 7716 | 2002-01-13 Jason Rumney <jasonr@gnu.org> |
9d113d9d | 7717 | |
048addec JD |
7718 | * w32term.h (WM_XBUTTONDOWN, WM_XBUTTONUP): New window messages |
7719 | for mice with more than 3 buttons. | |
b8523839 | 7720 | |
048addec JD |
7721 | * w32term.c (parse_button): New parameter xbutton. Callers changed. |
7722 | (w32_read_socket): Handle new "XBUTTON" messages. | |
9464dea4 | 7723 | |
048addec JD |
7724 | * w32fns.c (w32_pass_extra_mouse_buttons_to_system): New user option. |
7725 | (syms_of_w32fns): DEFVAR_BOOL it. | |
7726 | (w32_wnd_proc): Handle new "XBUTTON" messages. | |
9d113d9d | 7727 | |
048addec | 7728 | 2002-01-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
70ec1377 | 7729 | |
048addec | 7730 | * keyboard.c (read_key_sequence): Remove unused variable `extra_maps'. |
70ec1377 | 7731 | |
048addec | 7732 | 2002-01-13 Andreas Schwab <schwab@suse.de> |
92f7dd37 | 7733 | |
048addec | 7734 | * xterm.c (x_load_font): Never set fonts_changed_p to zero. |
92f7dd37 | 7735 | |
048addec | 7736 | 2002-01-12 Andreas Schwab <schwab@suse.de> |
c93674bb | 7737 | |
048addec JD |
7738 | * .gdbinit (xbuffer): Remove address operator since data is now a |
7739 | pointer. | |
c93674bb | 7740 | |
048addec | 7741 | 2002-01-11 Richard M. Stallman <rms@gnu.org> |
59b59892 | 7742 | |
048addec | 7743 | * insdel.c (adjust_after_replace_noundo): New function. |
59b59892 | 7744 | |
048addec | 7745 | * coding.c (code_convert_region): Don't copy old text if undo disabled. |
c6ea2775 | 7746 | |
048addec | 7747 | 2002-01-09 Jason Rumney <jasonr@gnu.org> |
c6ea2775 | 7748 | |
048addec JD |
7749 | * xdisp.c (x_consider_frame_title): Don't count the tooltip frame |
7750 | when checking for multiple frames. | |
91175673 | 7751 | |
048addec | 7752 | 2002-01-08 Richard M. Stallman <rms@gnu.org> |
91175673 | 7753 | |
048addec JD |
7754 | * window.c (delete_window): Rewrite the code for changing the |
7755 | selected window to handle the case where WINDOW is not a leaf. | |
91175673 | 7756 | |
048addec | 7757 | 2002-01-07 Eli Zaretskii <eliz@is.elta.co.il> |
e0fead5d | 7758 | |
048addec JD |
7759 | * process.c (send_process): Set src_multibyte to 1 after the call |
7760 | top setup_coding_system, not before the call. | |
e0fead5d | 7761 | |
048addec | 7762 | 2002-01-07 Jason Rumney <jasonr@gnu.org> |
e0fead5d | 7763 | |
048addec JD |
7764 | * xmenu.c (set_frame_menubar, xmenu_show): |
7765 | (xdialog_show): Initialize wv->help to Qnil. | |
c186cdb3 | 7766 | |
048addec JD |
7767 | * w32menu.c (single_submenu, set_frame_menubar, w32_menu_show): |
7768 | (w32_dialog_show): Initialize wv->help to Qnil. | |
c186cdb3 | 7769 | |
048addec | 7770 | 2002-01-06 Jason Rumney <jasonr@gnu.org> |
c186cdb3 | 7771 | |
048addec | 7772 | * xmenu.c (single_submenu): Initialize wv->help to Qnil. |
c186cdb3 | 7773 | |
048addec | 7774 | * w32menu.c (w32_menu_display_help): Revert last change. |
58cfce98 | 7775 | |
048addec | 7776 | * xmenu.c (menu_highlight_callback): Revert last change. |
58cfce98 | 7777 | |
048addec | 7778 | 2002-01-06 Andreas Schwab <schwab@suse.de> |
62854fe2 | 7779 | |
048addec JD |
7780 | * insdel.c (make_gap_larger): Make sure buffer size does not |
7781 | overflow range of int. | |
62854fe2 | 7782 | |
048addec | 7783 | 2002-01-05 Jason Rumney <jasonr@gnu.org> |
656f46bb | 7784 | |
048addec JD |
7785 | * w32term.c (x_draw_glyphs): Don't call notice_overwritten_cursor if |
7786 | OVERLAPS_P. | |
656f46bb | 7787 | |
048addec | 7788 | * w32menu.c (w32_menu_display_help): Hide any tooltip window. |
656f46bb | 7789 | |
048addec JD |
7790 | * w32fns.c (compute_tip_xy): If tooltip won't fit on the screen |
7791 | to the left or to the right of the pointer, put it against | |
7792 | the left screen edge. | |
7793 | (x_frame_parms): Add missing braces around initializer. | |
036e218d | 7794 | |
048addec JD |
7795 | * w32term.c (x_setup_relief_colors): Don't compute an image's |
7796 | background color if it doesn't have a Pixmap. | |
7797 | (notice_overwritten_cursor): Don't depend on | |
7798 | output_cursor and updated_area. Compare pixel coordinates with | |
7799 | window's cursor pixel coordinates. | |
7800 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): | |
7801 | Call notice_overwritten_cursor with new arg list. | |
7802 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag | |
7803 | unconditionally. | |
7804 | (x_draw_image_relief): Use predefined macro instead of | |
7805 | constant when the value of `tool_bar_button_relief' is negative. | |
036e218d | 7806 | |
048addec | 7807 | * w32term.c (x_display_and_set_cursor): Fix PostMessage arg types. |
7ddb2c16 | 7808 | |
048addec | 7809 | 2002-01-04 Richard M. Stallman <rms@gnu.org> |
7ddb2c16 | 7810 | |
048addec | 7811 | * xmenu.c (menu_highlight_callback): Hide any tooltip window. |
ace9b298 | 7812 | |
048addec | 7813 | 2002-01-03 Richard M. Stallman <rms@gnu.org> |
90647b07 | 7814 | |
048addec JD |
7815 | * keymap.c (Fcurrent_active_maps): Put the `keymap' property map first. |
7816 | (Fkey_binding): Try the `keymap' property map first. | |
7817 | (Fdescribe_buffer_bindings): Show `keymap' property bindings before | |
7818 | minor mode bindings. | |
90647b07 | 7819 | |
048addec | 7820 | 2002-01-03 Kim F. Storm <storm@cua.dk> |
ace9b298 | 7821 | |
048addec | 7822 | * keyboard.c (read_key_sequence): Fixed cast of submaps arg to bcopy. |
ace9b298 | 7823 | |
048addec | 7824 | 2002-01-02 Richard M. Stallman <rms@gnu.org> |
ace9b298 | 7825 | |
048addec JD |
7826 | * keyboard.c (read_key_sequence): Handle the keymap property |
7827 | before minor mode maps. | |
9fbc32aa | 7828 | |
048addec JD |
7829 | * editfns.c (Fformat): Update thissize from field_width |
7830 | based on the actual width, in the string case. | |
036e218d | 7831 | |
048addec | 7832 | 2002-01-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9fbc32aa | 7833 | |
048addec JD |
7834 | * charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Parenthesize assignment |
7835 | when used as truth value to prevent gcc warnings. | |
9fbc32aa | 7836 | |
048addec JD |
7837 | * sysdep.c, unexapollo.c, w32.c, w32bdf.c, w32heap.c, w32inevt.c, |
7838 | * w32proc.c: Include <config.h>. | |
9fbc32aa | 7839 | |
048addec | 7840 | 2002-01-01 Andreas Schwab <schwab@suse.de> |
9fbc32aa | 7841 | |
048addec JD |
7842 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Define as int, |
7843 | not EMACS_INT, to make them compatible with DEFVAR_INT. | |
7844 | * lisp.h (max_specpdl_size): Adjust declaration. | |
9fbc32aa | 7845 | |
048addec | 7846 | 2002-01-01 Richard M. Stallman <rms@gnu.org> |
9fbc32aa | 7847 | |
048addec JD |
7848 | * print.c (print_object): Test print_escape_nonascii only for |
7849 | unibyte strings. | |
7850 | (PRINTPREPARE): Once again bind Qprint_escape_nonascii | |
7851 | when outputting to a multibyte buffer. | |
9fbc32aa | 7852 | |
048addec | 7853 | 2001-12-29 Richard M. Stallman <rms@gnu.org> |
9fbc32aa | 7854 | |
048addec JD |
7855 | * print.c (print_object): In multibyte string, use hex escapes. |
7856 | Use octal only for unibyte strings. | |
7857 | (PRINTPREPARE): Don't ever set Qprint_escape_nonascii. | |
0142178a | 7858 | |
048addec JD |
7859 | * lread.c (read_escape): New arg BYTEREP for reporting whether |
7860 | escape forces unibyte or multibyte. | |
7861 | (read1): When reading a string, take note of that info. | |
0142178a | 7862 | |
048addec | 7863 | 2001-12-29 Ken Raeburn <raeburn@gnu.org> |
d4824a5d | 7864 | |
048addec JD |
7865 | * abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zero |
7866 | comparison to test lisp value returned by Fget. | |
d4824a5d | 7867 | |
048addec | 7868 | 2001-12-29 Richard M. Stallman <rms@gnu.org> |
b1356234 | 7869 | |
048addec | 7870 | * lisp.h (max_specpdl_size): Add declaration. |
b1356234 | 7871 | |
048addec | 7872 | * fileio.c (Fdo_auto_save): If NO_MESSAGE, don't call push_message. |
3ce081f5 | 7873 | |
048addec JD |
7874 | * keymap.c (silly_event_symbol_error): New subrtn, from Fdefine_key. |
7875 | Handle modifier bits. Correct typo in error message. | |
99e380ee | 7876 | |
048addec | 7877 | 2001-12-28 Richard M. Stallman <rms@gnu.org> |
3ce081f5 | 7878 | |
048addec JD |
7879 | * abbrev.c: Use the plist of an abbrev for multiple params if nec. |
7880 | (Fdefine_abbrev): New arg SYSTEM-FLAG for a system abbrev. | |
7881 | (Fdefine_global_abbrev, Fdefine_mode_abbrev): | |
7882 | Update calls to Fdefine_abbrev. | |
7883 | (write_abbrev): Update for changed data format. | |
7884 | Don't list "system" abbrevs. | |
7885 | (Fexpand_abbrev): Update use count with new data format. | |
7886 | (describe_abbrev): Update for changed data format. | |
7887 | (Fdefine_abbrev_table): Handle the new SYSTEM-FLAG. | |
66458f32 | 7888 | |
048addec | 7889 | * config.in (HAVE_MBSINIT): Add #undef. |
66458f32 | 7890 | |
048addec | 7891 | * strftime.c (mbsinit): Define as no-op if not available. |
66458f32 | 7892 | |
048addec JD |
7893 | * s/sco5.h (LIBX11_SYSTEM) [MOTIF]: Add -lgen. |
7894 | (sigprocmask_set): Conditionalize decl on ! NOT_C_CODE. | |
59a86c99 | 7895 | |
048addec JD |
7896 | * keymap.c (Flookup_key): Error message if key has wrong data type. |
7897 | (Fdefine_key): Add error message for trying to bind [DEL], [RET], etc. | |
7898 | (exclude_key): New variable. | |
59a86c99 | 7899 | |
048addec | 7900 | 2001-12-28 Gerd Moellmann <gerd@gnu.org> |
eb77a5f4 | 7901 | |
048addec JD |
7902 | * xterm.c (x_setup_relief_colors): Don't compute an image's |
7903 | background color if it doesn't have a Pixmap. | |
eb77a5f4 | 7904 | |
048addec JD |
7905 | * xterm.c (notice_overwritten_cursor): Don't depend on |
7906 | output_cursor and updated_area. Compare pixel coordinates with | |
7907 | window's cursor pixel coordinates. | |
7908 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): | |
7909 | Call notice_overwritten_cursor with new arg list. | |
7910 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag | |
7911 | unconditionally. | |
eb77a5f4 | 7912 | |
048addec JD |
7913 | * xdisp.c (try_scrolling) <PT below scroll margin>: Add the |
7914 | height of the cursor line to the amount to scroll. | |
eb77a5f4 | 7915 | |
048addec | 7916 | 2001-12-27 Richard M. Stallman <rms@gnu.org> |
bb313871 | 7917 | |
048addec JD |
7918 | * intervals.c (set_point_both): The position after an invisible, |
7919 | intangible character is not an acceptable stopping point. | |
bb313871 | 7920 | |
048addec | 7921 | 2001-12-27 Ken Raeburn <raeburn@gnu.org> |
55b43a63 | 7922 | |
048addec JD |
7923 | * window.c (enlarge_window): In new preserve_before code, convert |
7924 | CURBEG from lisp object to integer before doing arithmetic. | |
6052529b | 7925 | |
048addec | 7926 | 2001-12-27 Richard M. Stallman <rms@gnu.org> |
3ce081f5 | 7927 | |
048addec | 7928 | * bytecode.c (Fbyte_code): Undo previous change. |
3ce081f5 | 7929 | |
048addec | 7930 | 2001-12-26 Kim F. Storm <storm@cua.dk> |
3ce081f5 | 7931 | |
048addec JD |
7932 | * keyboard.c (record_char): Ignore duplicate help-echo events only |
7933 | separated by mouse-movement. When tracking mouse, only record | |
7934 | first and last mouse-movement event in same window. | |
7935 | Don't record mouse-movement events in keyboard macros. | |
3ce081f5 | 7936 | |
048addec | 7937 | 2001-12-25 Richard M. Stallman <rms@gnu.org> |
55b43a63 | 7938 | |
048addec JD |
7939 | * window.c (enlarge_window): New arg PRESERVE_BEFORE. Callers changed. |
7940 | (Fenlarge_window): New arg PRESERVE_BEFORE. | |
111ed14e | 7941 | |
048addec JD |
7942 | * bytecode.c (Fbyte_code): Use Fstring_make_unibyte |
7943 | instead of Fstring_as_unibyte. | |
9fabb2f5 | 7944 | |
048addec | 7945 | 2001-12-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9fabb2f5 | 7946 | |
048addec | 7947 | The following changes remove mocklisp support: |
9fabb2f5 | 7948 | |
048addec | 7949 | * mocklisp.h, mocklisp.c: Files removed. |
111ed14e | 7950 | |
048addec JD |
7951 | * lisp.h: Remove declarations of variables `Vmocklisp_arguments', |
7952 | `Qmocklisp' and `Qmocklisp_arguments'. | |
7953 | Remove prototype of syms_of_mocklisp. | |
2fa0eedf | 7954 | |
048addec | 7955 | * makefile.nt, makefile.w32-in, Makefile.in: Remove mocklisp files. |
d1420435 | 7956 | |
048addec JD |
7957 | * callint.c: Do not include mocklisp.h. |
7958 | (Fcall_interactively): Do not test for mocklisp case. | |
2fa0eedf | 7959 | |
048addec JD |
7960 | * eval.c: Remove variables `Qmocklisp_arguments', |
7961 | `Vmocklisp_arguments' and `Qmocklisp'. Remove prototype of ml_apply. | |
7962 | (Fprogn, Fwhile, Fcommandp, Feval, Ffuncall, funcall_lambda): | |
7963 | Do not test for mocklisp case. | |
7964 | (Fwhile): Remove unused variable `tem'. | |
7965 | (syms_of_eval): Remove variable `moclisp-arguments'. | |
ebcbef4e | 7966 | |
048addec | 7967 | * data.c (wrong_type_argument): Remove mocklisp case. |
5c131048 | 7968 | |
048addec | 7969 | * doc.c (Fdocumentation): Remove mocklisp case. |
5c131048 | 7970 | |
048addec | 7971 | * emacs.c (main): Do not call syms_of_mocklisp. |
5c131048 | 7972 | |
048addec | 7973 | 2001-12-21 Richard M. Stallman <rms@gnu.org> |
96d276c3 | 7974 | |
048addec JD |
7975 | * xfns.c (compute_tip_xy): If tooltip won't fit on the screen |
7976 | to the left or to the right of the pointer, put it against | |
7977 | the left screen edge. | |
6108b49c | 7978 | |
048addec | 7979 | 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il> |
96d276c3 | 7980 | |
048addec JD |
7981 | * Makefile.in (distclean): Remove .gdbinit if we are building |
7982 | outside the source tree. | |
5eea19a4 | 7983 | |
048addec | 7984 | 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il> |
5eea19a4 | 7985 | |
048addec | 7986 | * w32.c (emacs_root_dir): New function. |
5eea19a4 | 7987 | |
048addec | 7988 | * msdos.c (emacs_root_dir): New function. |
5eea19a4 | 7989 | |
048addec JD |
7990 | * fileio.c (Fexpand_file_name) [DOS_NT]: Use the root directory |
7991 | of the current drive as the fallback for default_directory. | |
438e57dd | 7992 | |
048addec JD |
7993 | * dired.c (file_name_completion): Run the elements of |
7994 | completion-ignored-extensions through ENCODE_FILE. | |
438e57dd | 7995 | |
048addec JD |
7996 | * lisp.h (scmp): Remove prototype, since it's now a static |
7997 | function private to dired.c. | |
c88e5347 | 7998 | |
048addec | 7999 | 2001-12-18 Richard M. Stallman <rms@gnu.org> |
c88e5347 | 8000 | |
048addec JD |
8001 | * dired.c (scmp): Function moved from minibuf.c. |
8002 | Delete multibyte handling--used only on encoded strings. | |
59ce1461 | 8003 | |
048addec | 8004 | * minibuf.c (scmp): Function moved to dired.c. |
59ce1461 | 8005 | |
048addec | 8006 | * fns.c (merge): Add QUIT call. |
59ce1461 | 8007 | |
048addec | 8008 | 2001-12-18 Dave Love <fx@gnu.org> |
8727d588 | 8009 | |
048addec JD |
8010 | * Makefile.in (lisp, shortlisp): Add language/utf-8-lang.el, |
8011 | language/georgian.el. | |
8727d588 | 8012 | |
048addec | 8013 | 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il> |
cc63037e | 8014 | |
048addec JD |
8015 | * Makefile.in (lisp, shortlisp): Synchronize with changes to |
8016 | lisp/Makefile.in:DONTCOMPILE. | |
cc63037e | 8017 | |
048addec | 8018 | 2001-12-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
cc63037e | 8019 | |
048addec JD |
8020 | * xdisp.c (window_box_height): Do not return negative values. |
8021 | From Gerd Moellmann <gerd@gnu.org>. | |
cc63037e | 8022 | |
048addec | 8023 | * keyboard.c (head_table): Add missing braces around initializer. |
cc63037e | 8024 | |
048addec | 8025 | * term.c (keys): Likewise. |
deece6f5 | 8026 | |
048addec | 8027 | * xfns.c (x_frame_parms, visual_classes): Likewise. |
deece6f5 | 8028 | |
048addec | 8029 | 2001-12-17 Sam Steingold <sds@gnu.org> |
1b944d9c | 8030 | |
048addec JD |
8031 | * coding.c (DECODE_COMPOSITION_END): Fixed a typo in the last |
8032 | patch (COMPOSING_P, not COMPOSING). | |
28ff4293 | 8033 | |
048addec | 8034 | 2001-12-17 Richard M. Stallman <rms@gnu.org> |
a395ef6a | 8035 | |
048addec | 8036 | * editfns.c (Fcompare_buffer_substrings): Add QUIT to main loop. |
a395ef6a | 8037 | |
048addec JD |
8038 | * coding.c (code_convert_region): Update coding->cmp_data->char_offset |
8039 | before calling decode_coding. | |
9b46de40 | 8040 | |
048addec | 8041 | * charset.c (Fdefine_charset): Call Fupdate_coding_systems_internal. |
9b46de40 | 8042 | |
048addec JD |
8043 | * coding.c (DECODE_COMPOSITION_END): Check for ! COMPOSING_P (coding) |
8044 | instead of only for COMPOSITION_DISABLED. | |
9b46de40 | 8045 | |
048addec | 8046 | 2001-12-16 Richard M. Stallman <rms@gnu.org> |
aff37336 | 8047 | |
048addec | 8048 | * alloc.c (pure_alloc): After overflow, allocate just a small block. |
aff37336 | 8049 | |
048addec | 8050 | * Makefile.in (xmenu.o, xterm.o, fontset.o): Depend on buffer.h. |
b9937f07 | 8051 | |
048addec JD |
8052 | * buffer.h (struct buffer): New field `display_error_modiff'. |
8053 | * buffer.c (reset_buffer): Initialize `display_error_modiff'. | |
b9937f07 | 8054 | |
048addec | 8055 | * window.c (Frecenter): Clear display_error_modiff field. |
2cd23960 | 8056 | |
048addec JD |
8057 | * xdisp.c (redisplay_window_0, redisplay_window_1): New functions. |
8058 | Call redisplay_window, but not if display_error_modiff field says no. | |
8059 | (redisplay_window_error): New function. | |
8060 | (displayed_buffer): New variable. | |
8061 | (redisplay_internal, redisplay_windows): Call the new functions | |
8062 | instead of redisplay_window directly. | |
2cd23960 | 8063 | |
048addec | 8064 | 2001-12-15 Richard M. Stallman <rms@gnu.org> |
2cd23960 | 8065 | |
048addec | 8066 | * keyboard.c (syms_of_keyboard) <double-click-fuzz>: Doc fix. |
2cd23960 | 8067 | |
048addec | 8068 | 2001-12-14 Andrew Innes <andrewi@gnu.org> |
a4184c1c | 8069 | |
048addec JD |
8070 | * makefile.w32-in (EMACSLOADPATH): Define. |
8071 | ($(EMACS)): Run `list-load-path-shadows' after dumping emacs. | |
8072 | (bootstrap-temacs): Remove dependency on bootstrap-clean. | |
a4184c1c | 8073 | |
048addec | 8074 | 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il> |
f6fa0866 | 8075 | |
048addec JD |
8076 | * xfns.c (x_report_frame_params): Make the scroll-bar-width frame |
8077 | parameter have a numeric value all the time. | |
f6fa0866 | 8078 | |
048addec | 8079 | * w32fns.c (x_report_frame_params): Likewise. |
f4ca4b00 | 8080 | |
048addec | 8081 | 2001-12-12 Richard M. Stallman <rms@gnu.org> |
f4ca4b00 | 8082 | |
048addec | 8083 | * fileio.c (Fwrite_region): Doc fix. |
f4e25f94 | 8084 | |
048addec JD |
8085 | * xdisp.c (CLEAR_FACE_CACHE_COUNT): Redefine as 500. |
8086 | (redisplay_internal): Call clear_image_cache only for window terminals. | |
f4e25f94 | 8087 | |
048addec | 8088 | 2001-12-12 Gerd Moellmann <gerd@gnu.org> |
91c153e2 | 8089 | |
048addec JD |
8090 | * xdisp.c (move_it_vertically_backward): Change heuristic |
8091 | for the case that we didn't move far enough initially. | |
91c153e2 | 8092 | |
048addec JD |
8093 | * window.c (Frecenter): Simplify computation in the case of window |
8094 | system frames and ARG < 0; use window_box_height. | |
65b7d3e7 | 8095 | |
048addec | 8096 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
65b7d3e7 | 8097 | |
048addec JD |
8098 | * Makefile.in, mem-limits.h, dispnew.c, emacs.c, fileio.c: |
8099 | * process.c, sysdep.c, unexec.c: Test GNU_LINUX, not LINUX. | |
6b5f6311 | 8100 | |
048addec | 8101 | 2001-12-11 Andrew Innes <andrewi@gnu.org> |
6b5f6311 | 8102 | |
048addec JD |
8103 | * insdel.c (make_gap) [DOUG_LEA_MALLOC]: Call make_gap_smaller if |
8104 | arg is negative. | |
be676094 | 8105 | |
048addec | 8106 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
be676094 | 8107 | |
048addec JD |
8108 | * m/hp800.h: Split the __hpux conditional into the parts |
8109 | that are right for GNU/Linux too and the parts that are not. | |
8110 | Use the former if GNU_LINUX. | |
8111 | (HAVE_ALLOCA, LOAD_AVE_TYPE, LOAD_AVE_CVT): New defs for GNU/Linux. | |
032a857d | 8112 | |
048addec | 8113 | * s/gnu-linux.h (GNU_LINUX): Defined. |
032a857d | 8114 | |
048addec | 8115 | 2001-12-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
032a857d | 8116 | |
048addec JD |
8117 | * macros.c, msdos.c, w16select.c: Change doc-string comments to |
8118 | `new style' [w/`doc:' keyword]. | |
032a857d | 8119 | |
048addec | 8120 | 2001-12-10 Jason Rumney <jasonr@gnu.org> |
b6270150 | 8121 | |
048addec JD |
8122 | * w32menu.c (w32_free_submenu_strings): Clear menu item struct |
8123 | before using. | |
b6270150 | 8124 | |
048addec | 8125 | 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
792e5cbd | 8126 | |
048addec JD |
8127 | * dosfns.c: Change doc-string comments to `new style' [w/`doc:' |
8128 | keyword]. | |
98cbb9fa | 8129 | |
048addec | 8130 | 2001-12-09 Eli Zaretskii <eliz@is.elta.co.il> |
98cbb9fa | 8131 | |
048addec | 8132 | * dosfns.c (dos-display-scancodes, dos-decimal): Doc fix. |
98cbb9fa | 8133 | |
048addec | 8134 | * s/hpux10.h (srand48): Don't undefine. |
98cbb9fa | 8135 | |
048addec | 8136 | 2001-12-09 Jason Rumney <jasonr@gnu.org> |
792e5cbd | 8137 | |
048addec JD |
8138 | * w32menu.c (_widget_value): Make `help' field a Lisp_Object. |
8139 | Add comment to explain where the struct came from. | |
8140 | (single_submenu, w32_menu_show): Set `help' field as Lisp_Object. | |
8141 | (add_menu_item): Process pop-up menus first to avoid memory leak. | |
8142 | (add_menu_item, w32_menu_display_help): Use `help' field as | |
8143 | Lisp_Object. | |
8144 | (w32_free_submenu_strings): Only free owner-drawn strings. | |
fa336b91 | 8145 | |
048addec | 8146 | 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
fa336b91 | 8147 | |
048addec | 8148 | * COPYING: Moved back. |
fa336b91 | 8149 | |
048addec JD |
8150 | * charset.c (char_to_string_1, translate_char, Fdefine_charset): |
8151 | Add parentheses around && within ||. | |
077907d4 | 8152 | |
048addec | 8153 | * indent.c (compute_motion): Likewise. |
aa2af83a | 8154 | |
048addec | 8155 | * intervals.c (merge_properties_sticky): Likewise. |
60a653f1 | 8156 | |
048addec JD |
8157 | * coding.c (setup_coding_system, shrink_encoding_region) |
8158 | (Fdecode_sjis_char): Likewise. | |
60a653f1 | 8159 | |
048addec | 8160 | 2001-12-07 Andreas Schwab <schwab@suse.de> |
60a653f1 | 8161 | |
048addec JD |
8162 | * xdisp.c (display_mode_element): Don't read past end of string if |
8163 | it ends with '%'. | |
60a653f1 | 8164 | |
048addec JD |
8165 | * alloc.c (inhibit_garbage_collection): Don't exceed value an int |
8166 | can hold. | |
60a653f1 | 8167 | |
048addec JD |
8168 | * data.c (Vmost_positive_fixnum, Vmost_negative_fixnum): |
8169 | Rename from most_positive_fixnum and most_negative_fixnum, resp., and | |
8170 | type changed to Lisp_Object. | |
8171 | (syms_of_data): DEFVAR_LISP them. | |
60a653f1 | 8172 | |
048addec | 8173 | 2001-12-07 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 8174 | |
048addec JD |
8175 | * callproc.c (init_callproc): Set Vdata_directory based on the source |
8176 | location whenever Emacs was run uninstalled. | |
60a653f1 | 8177 | |
048addec | 8178 | 2001-12-06 Paul Eggert <eggert@twinsun.com> |
60a653f1 | 8179 | |
048addec JD |
8180 | * config.in (HAVE_WORKING_VFORK): New #undefs. |
8181 | * process.c (create_process): | |
8182 | Use HAVE_WORKING_VFORK, not HAVE_VFORK. | |
8183 | * m/cnvrgnt.h (HAVE_VFORK): Remove #define. | |
8184 | * m/ibm370aix.h (HAVE_VFORK): Remove #undef. | |
8185 | * m/ibmps2-aix.h (HAVE_VFORK): Remove #define. | |
8186 | * m/intel386.h (HAVE_VFORK): Likewise. | |
8187 | * m/mips-siemens.h (HAVE_VFORK): Likewise. | |
8188 | * m/mips.h (HAVE_VFORK): Likewise. | |
8189 | * s/freebsd.h (vfork): Remove #define. | |
8190 | * s/lynxos.h (HAVE_VFORK): Remove #undef. | |
8191 | * s/usg5-4-2.h: Fix comment about vfork. | |
60a653f1 | 8192 | |
048addec | 8193 | 2001-12-06 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 8194 | |
048addec JD |
8195 | * s/hpux10.h (random): Add undef. |
8196 | (HAVE_RANDOM): Define it just once. | |
60a653f1 | 8197 | |
048addec | 8198 | 2001-12-06 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 8199 | |
048addec | 8200 | * eval.c: Undo last change: the standard syntax is not wanted. |
60a653f1 | 8201 | |
048addec | 8202 | 2001-12-06 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 8203 | |
048addec JD |
8204 | * xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]: Remove all the |
8205 | scroll bars of the frame before deleting the frame itself. If the | |
8206 | frame has a widget, delete the frame with XtDestroyWidget, and do | |
8207 | not call XDestroyWindow before that. | |
60a653f1 | 8208 | |
048addec | 8209 | 2001-12-06 Kim F. Storm <storm@cua.dk> |
60a653f1 | 8210 | |
048addec | 8211 | * xfns.c (x_report_frame_params): Return actual fringe widths. |
60a653f1 | 8212 | |
048addec | 8213 | * w32fns.c (x_report_frame_params): Return actual fringe widths. |
60a653f1 | 8214 | |
048addec | 8215 | 2001-12-05 Andrew Innes <andrewi@gnu.org> |
60a653f1 | 8216 | |
048addec JD |
8217 | * alloc.c (Fgarbage_collect): Shrink buffer gaps that are |
8218 | excessively large. | |
60a653f1 | 8219 | |
048addec JD |
8220 | * insdel.c (make_gap_larger): New function. |
8221 | (make_gap_smaller): New function. | |
8222 | (make_gap) [USE_MMAP_FOR_BUFFERS || REL_ALLOC]: | |
8223 | Call make_gap_smaller if arg is negative. | |
60a653f1 | 8224 | |
048addec | 8225 | 2001-12-04 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 8226 | |
048addec JD |
8227 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal prototype. |
8228 | Pass a dummy argument when calling interrupt_signal. | |
8229 | (parse_menu_item): Mark disabled items before checking for empty def. | |
8230 | (read_char_minibuf_menu_prompt): Make safety more visible. | |
8231 | (read_key_sequence): Add a `first_unbound' variable. | |
8232 | Use it to detect C-c ESC ESC ESC ESC ... cases and drop the | |
8233 | unbound prefix as soon as we can detect it. | |
60a653f1 | 8234 | |
048addec JD |
8235 | * doc.c (Fsnarf_documentation): Add prototype. |
8236 | (get_doc_string): Handle negative arguments. | |
8237 | (Fdocumentation): Use AREF and ASIZE. | |
8238 | Move the calls to get_doc_string to a single place. | |
8239 | Don't confuse an interactive-spec for a docstring reference. | |
8240 | (Fdocumentation_property): Take advantage of the fact that | |
8241 | get_doc_string now ignores the sign of the docstring position. | |
60a653f1 | 8242 | |
048addec | 8243 | * eval.c: Use standard syntax for usage in docstrings. |
60a653f1 | 8244 | |
048addec | 8245 | 2001-12-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 8246 | |
048addec | 8247 | * xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief` an option. |
60a653f1 | 8248 | |
048addec | 8249 | 2001-12-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 8250 | |
048addec JD |
8251 | * xterm.c (x_draw_image_relief): Use predefined macro instead of |
8252 | constant when the value of `tool_bar_button_relief' is negative. | |
60a653f1 | 8253 | |
048addec | 8254 | 2001-12-02 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 8255 | |
048addec JD |
8256 | * xmenu.c (menu_highlight_callback): Use `help' field as Lisp_Object. |
8257 | (single_submenu, xmenu_show): Set `help' field as Lisp_Object. | |
60a653f1 | 8258 | |
048addec | 8259 | * fileio.c (read_non_regular): Delete Fsignal call. |
60a653f1 | 8260 | |
048addec | 8261 | 2001-12-01 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 8262 | |
048addec | 8263 | * lisp.h (run_hook_list_with_args): Undo last change. |
60a653f1 | 8264 | |
048addec | 8265 | 2001-12-01 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 8266 | |
048addec | 8267 | * xterm.c (x_draw_fringe_bitmap): Always undo clipping. |
60a653f1 | 8268 | |
048addec | 8269 | 2001-12-01 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 8270 | |
048addec | 8271 | * window.c (Qleft_fringe, Qright_fringe): Remove. Now in frame.c. |
60a653f1 | 8272 | |
048addec JD |
8273 | * w32term.h (WM_MOUSELEAVE, TME_LEAVE, TRACKMOUSEEVENT) |
8274 | [!WM_MOUSELEAVE]: Define. | |
60a653f1 | 8275 | |
048addec JD |
8276 | * w32menu.c (current_popup_menu, get_menu_item_info): |
8277 | (set_menu_item_info): New vars. | |
8278 | (set_frame_menubar): Doc fix clarifying GC interaction with menus. | |
8279 | (w32_menu_show): Set current_popup_menu. | |
8280 | (add_menu_item): Allocate new strings for owner-drawn menu items | |
8281 | and help strings. | |
8282 | Use owner-draw for disabled menu items again. | |
8283 | (w32_menu_display_help): Ignore owner-drawn items and popup menus. | |
8284 | (w32_free_submenu_strings, w32_free_menu_strings): New functions. | |
60a653f1 | 8285 | |
048addec JD |
8286 | * w32fns.c (trackmouse_window, track_mouse_event_fn): New vars. |
8287 | (w32_wnd_proc) <WM_MOUSEMOVE>: Notice when mouse enters frame. | |
8288 | <WM_EXITMENULOOP>: Free menu strings. | |
8289 | <WM_MOUSELEAVE>: Stop tracking mouse. | |
8290 | (x_create_tip_frame): Specify no minibuffer, modeline or fringes. | |
60a653f1 | 8291 | |
048addec JD |
8292 | * w32term.c (w32_read_socket) <WM_MOUSELEAVE>: Cancel help echo |
8293 | and mouse face. | |
60a653f1 | 8294 | |
048addec | 8295 | 2001-12-01 Kim F. Storm <storm@cua.dk> |
60a653f1 | 8296 | |
048addec JD |
8297 | The following changes add left-fringe and right-fringe |
8298 | frame parameters to adjust fringe widths, or remove one or | |
8299 | both fringes. | |
60a653f1 | 8300 | |
048addec JD |
8301 | * frame.h (struct frame): Remove trunc_area_pixel_width and |
8302 | trunc_area_cols fields. | |
8303 | (Qleft_fringe, Qright_fringe): Declare. | |
8304 | (FRAME_RIGHT_FRINGE_WIDTH): New macro. | |
60a653f1 | 8305 | |
048addec JD |
8306 | * frame.c (Qleft_fringe, Qright_fringe): New vars. |
8307 | (syms_of_frame): Initialize them. | |
60a653f1 | 8308 | |
048addec JD |
8309 | * window.c (coordinates_in_window): Handle separate left and right |
8310 | fringe widths. | |
60a653f1 | 8311 | |
048addec JD |
8312 | * xterm.h (struct x_output): Add left_fringe_width, right_fringe_width, |
8313 | and fringe_cols fields. | |
8314 | (FRAME_FRINGE_BITMAP_WIDTH, FRAME_FRINGE_BITMAP_HEIGHT): Remove macros. | |
8315 | (FRAME_X_FRINGE_COLS): Use fringe_cols field. | |
8316 | (FRAME_X_FRINGE_WIDTH): Use fringes_extra field. | |
8317 | (FRAME_X_LEFT_FRINGE_WIDTH): Use left_fringe_width field. | |
8318 | (FRAME_X_RIGHT_FRINGE_WIDTH): Use right_fringe_width field. | |
8319 | (x_compute_fringe_widths): Add prototype. | |
60a653f1 | 8320 | |
048addec JD |
8321 | * xterm.c (zv_height, zv_bits, zv_period): Changed zv bitmap to |
8322 | fill fringe evenly with small dashes. | |
8323 | (x_draw_fringe_bitmap): Clear background if necessary. Align and | |
8324 | clip the new ZV bitmap to avoid jitter between rows. | |
8325 | (x_draw_row_fringe_bitmaps): Rely on x_draw_fringe_bitmap to clear | |
8326 | background. Don't draw fringe bitmaps if fringe width is zero. | |
8327 | (x_compute_fringe_widths): New function. | |
8328 | (x_new_font, x_set_window_size_1): Use it. | |
60a653f1 | 8329 | |
048addec JD |
8330 | * xfns.c (x_frame_parms): Add `left-fringe' and `right-fringe' parms. |
8331 | (x_set_frame_parameters): Process `font' parameter before other | |
8332 | parameters as fringe widths depend on it. | |
8333 | (x_set_fringe_width): New function. | |
8334 | (x_figure_window_size): Use x_compute_fringe_widths. | |
8335 | (Fx_create_frame): Process `left-fringe' and `right-fringe' frame | |
8336 | parameters. | |
60a653f1 | 8337 | |
048addec JD |
8338 | * widget.c (set_frame_size): Use x_compute_fringe_widths. |
8339 | (EmacsFrameSetCharSize): Ditto. | |
60a653f1 | 8340 | |
048addec JD |
8341 | * w32term.h: Merged changes from xterm.h. |
8342 | * w32term.c: Merged changes from xterm.c. | |
8343 | * w32fns.c: Merged changes from xfns.c. | |
60a653f1 | 8344 | |
048addec | 8345 | 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 8346 | |
048addec | 8347 | * COPYING: Removed. |
60a653f1 | 8348 | |
048addec | 8349 | 2001-11-29 Dave Love <fx@gnu.org> |
60a653f1 | 8350 | |
048addec JD |
8351 | * coding.c (syms_of_coding) <Qchar_coding_system>: Give it an |
8352 | extra extra slot. | |
8353 | (detect_coding_mask): Fix call of detect_coding_iso2022. | |
60a653f1 | 8354 | |
048addec | 8355 | 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 8356 | |
048addec JD |
8357 | * fileio.c (file-name-coding-system) |
8358 | (default-file-name-coding-system): Doc fix (links to referenced | |
8359 | variables added). | |
60a653f1 | 8360 | |
048addec | 8361 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 8362 | |
048addec JD |
8363 | * lisp.h (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5): |
8364 | Add dummy uses of gcproN variables. | |
60a653f1 | 8365 | |
048addec JD |
8366 | * category.c (describe_category, describe_category_1) |
8367 | (Fdescribe_categories): Remove. (Moved to lisp/help-fns.el.) | |
8368 | (syms_of_category): Don't defsubr Sdescribe_categories. | |
60a653f1 | 8369 | |
048addec | 8370 | 2001-11-28 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 8371 | |
048addec | 8372 | * fileio.c (Ffind_file_name_handler): Avoid initializer for `result'. |
60a653f1 | 8373 | |
048addec JD |
8374 | * Makefile.in (lispdir): New variable, referring to build dir. |
8375 | (TAGS-LISP): Find Makefile in $(lispdir), not $(lispsource). | |
60a653f1 | 8376 | |
048addec | 8377 | 2001-11-28 Andrew Innes <andrewi@gnu.org> |
60a653f1 | 8378 | |
048addec JD |
8379 | * w32menu.c (w32_menu_display_help): Actually add the new argument |
8380 | OWNER. | |
60a653f1 | 8381 | |
048addec | 8382 | 2001-11-28 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 8383 | |
048addec JD |
8384 | * w32menu.c (add_menu_item): Do not use owner-draw for disabled |
8385 | menu items. From David Ponce <dponce@wanadoo.fr>. | |
8386 | (w32_dialog_show) [HAVE_DIALOGS]: Compile whole function | |
8387 | conditionally. | |
8388 | (w32_menu_display_help): New argument OWNER. Rewritten to store a | |
8389 | help event in the owner frame's keyboard buffer. | |
60a653f1 | 8390 | |
048addec JD |
8391 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Display help directly. |
8392 | (Fx_show_tip): Don't subtract last width from row width. | |
8393 | ||
8394 | * w32term.c (w32_read_socket) <WM_MENUSELECT>: Remove. | |
8395 | (w32_read_socket): Use EQ to compare frames. | |
60a653f1 | 8396 | |
048addec | 8397 | 2001-11-28 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 8398 | |
048addec JD |
8399 | * xterm.c (x_draw_glyphs): Don't call notice_overwritten_cursor if |
8400 | OVERLAPS_P. | |
60a653f1 | 8401 | |
048addec | 8402 | 2001-11-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 8403 | |
048addec JD |
8404 | * xdisp.c (message_dolog): Remove unused variables `gcpro2', |
8405 | `gcpro3' and `gcpro4'. | |
60a653f1 | 8406 | |
048addec | 8407 | * coding.c (decode_coding_string): Remove unused variable `gcpro1'. |
60a653f1 | 8408 | |
048addec | 8409 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 8410 | |
048addec | 8411 | * ccl.c: Use AREF and ASIZE. |
60a653f1 | 8412 | |
048addec | 8413 | 2001-11-27 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 8414 | |
048addec JD |
8415 | * lisp.h (run_hook_list_with_args): Remove. |
8416 | (LIST_END_P): Fix call to wrong_type_argument. | |
8417 | (make_fixnum_or_float): Use EMACS_INT rather than int. | |
60a653f1 | 8418 | |
048addec | 8419 | 2001-11-26 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 8420 | |
048addec JD |
8421 | * syntax.c (syms_of_syntax): Remove defsubr of Sdescribe_syntax. |
8422 | (describe_syntax, describe_syntax_1, Fdescribe_syntax): Remove. | |
60a653f1 | 8423 | |
048addec JD |
8424 | * eval.c: Use AREF and ASIZE. |
8425 | (Ffetch_bytecode): Add the file name to the error message. | |
60a653f1 | 8426 | |
048addec JD |
8427 | * fileio.c (Ffind_file_name_handler): Give precedence to handlers |
8428 | which match the end of the file-name. | |
8429 | (Fsubstitute_in_file_name): Don't signal an error if $ENVVAR | |
8430 | is not a valid env var, but leave it as is instead. | |
60a653f1 | 8431 | |
048addec JD |
8432 | * keymap.c (access_keymap): Handle t bindings like nil bindings. |
8433 | Make nil bindings in char-tables transparent. | |
8434 | (store_in_keymap): Turn a nil binding into a t binding for char-tables. | |
60a653f1 | 8435 | |
048addec | 8436 | 2001-11-26 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 8437 | |
048addec JD |
8438 | * textprop.c (set_text_properties_1): Allow START, END in either order. |
8439 | Do nothing if range is empty. | |
60a653f1 | 8440 | |
048addec | 8441 | * Makefile.in (mallocobj): Simplify logic using auxiliary vars. |
60a653f1 | 8442 | |
048addec JD |
8443 | * Makefile.in (mostlyclean): Delete bootstrap-emacs here. |
8444 | (clean): Not here. | |
60a653f1 | 8445 | |
048addec | 8446 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 8447 | |
048addec JD |
8448 | * textprop.c (set_text_properties_1): Clearly mark that the |
8449 | interval should not be empty. | |
60a653f1 | 8450 | |
048addec JD |
8451 | * intervals.c (graft_intervals_into_buffer): |
8452 | Don't call set_text_properties_1 on an empty interval. | |
60a653f1 | 8453 | |
048addec | 8454 | 2001-11-25 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 8455 | |
048addec | 8456 | * unexelf.c (unexec): Index by n, not nn, when checking for ".sbss". |
60a653f1 | 8457 | |
048addec JD |
8458 | * callproc.c (Fcall_process): When we make a bigger buffer for bufptr, |
8459 | don't lose the data in it. | |
60a653f1 | 8460 | |
048addec | 8461 | 2001-11-25 Juanma Barranquero <lektu@terra.es> |
60a653f1 | 8462 | |
048addec | 8463 | * abbrev.c (Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks. |
60a653f1 | 8464 | |
048addec | 8465 | * buffer.c (Fkill_buffer): Use Frun_hooks, not Vrun_hooks. |
60a653f1 | 8466 | |
048addec | 8467 | * print.c (temp_output_buffer_setup): Use Frun_hooks, not Vrun_hooks. |
60a653f1 | 8468 | |
048addec | 8469 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 8470 | |
048addec | 8471 | * xfaces.c (merge_face_heights): Coerce back to int explicitly. |
60a653f1 | 8472 | |
048addec | 8473 | 2001-11-25 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 8474 | |
048addec JD |
8475 | * window.c (Fset_window_vscroll): Doc fix. From Kalle Olavi |
8476 | Niemitalo <kon@iki.fi>. | |
60a653f1 | 8477 | |
048addec | 8478 | 2001-11-25 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 8479 | |
048addec | 8480 | * w32term.h (FRAME_X_FRINGE_COLS): No fringe on tip frames. |
60a653f1 | 8481 | |
048addec JD |
8482 | * w32fns.c (x_create_tip_frame): Set frame's fringes_extra to 0. |
8483 | (Fx_show_tip): Block input during frame creation. | |
8484 | (Fx_show_tip, Fx_hide_tip): Enable. | |
60a653f1 | 8485 | |
048addec | 8486 | 2001-11-24 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 8487 | |
048addec JD |
8488 | * lread.c (Fload): Detect recursive load error for more than 3 |
8489 | nestings of the same file. | |
8490 | (Vrecursive_load_depth_limit): Variable deleted. | |
8491 | (syms_of_lread) <recursive-load-depth-limit>: Variable deleted. | |
60a653f1 | 8492 | |
048addec | 8493 | 2001-11-24 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 8494 | |
048addec JD |
8495 | * xfns.c (compute_tip_xy): Initialize root_x and root_y from |
8496 | mouse position if either left or top is not specified. | |
60a653f1 | 8497 | |
048addec JD |
8498 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Revert last change. |
8499 | <WM_WINDOWPOSCHANGING>: Let tip frames resize without restriction. | |
8500 | (my_create_tip_window, Fx_show_tip): Adjust size for external border. | |
8501 | (my_create_tip_window): Assign tip_window. | |
8502 | (x_create_tip_frame): Use same defaults as X. | |
8503 | (compute_tip_xy): Remove unused variable. Use full screen width. | |
8504 | (Fx_show_tip): Do not double height. Call ShowWindow directly. | |
60a653f1 | 8505 | |
048addec JD |
8506 | * w32term.c (x_after_update_window_line): Doc fix. |
8507 | (w32_read_socket): Doc fix. Avoid SET_FRAME_GARBAGED for tip | |
8508 | frames. | |
8509 | <WM_SHOWWINDOW>: Redo mouse highlight when hiding tip frame. | |
60a653f1 | 8510 | |
048addec JD |
8511 | * xdisp.c (prepare_menu_bars) [HAVE_WINDOW_SYSTEM]: Use tip_frame |
8512 | for all Windowed systems. | |
60a653f1 | 8513 | |
048addec | 8514 | 2001-11-23 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 8515 | |
048addec JD |
8516 | * msdos.c (IT_clear_screen): If the frame's faces are not yet |
8517 | realized, use the initial screen colors to clear the screen. | |
60a653f1 | 8518 | |
048addec | 8519 | 2001-11-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 8520 | |
048addec JD |
8521 | * textprop.c (Fset_text_properties): Remove unused variables |
8522 | `unchanged', `prev_changed', `s' and `len'. | |
60a653f1 | 8523 | |
048addec JD |
8524 | * search.c (Freplace_match): Remove unused variable `inslen'. |
8525 | ||
8526 | * keymap.c (access_keymap): Remove unused variables `c1' and `c2'. | |
8527 | ||
8528 | 2001-11-22 Jason Rumney <jasonr@gnu.org> | |
8529 | ||
8530 | * w32fns.c (x_window_to_frame): Remove irrelevant TODO comment. | |
8531 | (w32_wnd_proc) <WM_MENUSELECT>: Show help echo directly. | |
8532 | (my_create_tip_window): New function. | |
8533 | (x_create_tip_frame, compute_tip_xy): Adapt for Windows. | |
8534 | (Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows. | |
8535 | ||
8536 | 2001-11-20 Jason Rumney <jasonr@gnu.org> | |
8537 | ||
8538 | * coding.h (Vw32_system_coding_system) [WINDOWSNT]: Remove. | |
8539 | (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: Use Vlocale_coding_system. | |
8540 | ||
8541 | * w32fns.c (Vw32_system_coding_system): Remove. | |
8542 | (w32_to_x_font, x_to_w32_font): Use Vlocale_coding_system. | |
8543 | ||
8544 | 2001-11-19 Stefan Monnier <monnier@cs.yale.edu> | |
8545 | ||
8546 | * fileio.c (Fwrite_region): Move choose_write_coding_system to | |
8547 | after build_annotations. | |
8548 | ||
8549 | * syntax.c (describe_syntax): Add dummy arg. | |
8550 | (describe_syntax_1): Update call to describe_vector. | |
8551 | ||
8552 | * category.c (describe_category): Add dummy arg. | |
8553 | (describe_category_1): Update call to describe_vector. | |
8554 | ||
8555 | * keymap.c (Fdescribe_vector): Add `describer' parameter. | |
8556 | (describe_command, describe_translation): Add dummy second param. | |
8557 | (describe_map): Call elt_describer with two arguments. | |
8558 | (describe_vector_princ): Add `fun' parameter. | |
8559 | Call it instead of the hardcoded `princ'. | |
8560 | (describe_vector): Add arg `args'. | |
8561 | Pass it as a new second argument to elt_describer. | |
60a653f1 | 8562 | |
048addec | 8563 | * keymap.h (describe_vector): Update prototype. |
60a653f1 | 8564 | |
048addec JD |
8565 | * frame.c: Don't include keymap.h any more. |
8566 | (keys_of_frame): Remove. | |
60a653f1 | 8567 | |
048addec | 8568 | * lisp.h (keys_of_frame): Remove declaration. |
60a653f1 | 8569 | |
048addec | 8570 | * emacs.c (main): Don't call `keys_of_frame' any more. |
60a653f1 | 8571 | |
048addec | 8572 | 2001-11-14 Andreas Schwab <schwab@suse.de> |
60a653f1 | 8573 | |
048addec JD |
8574 | * unexelf.c [!defined MAP_ANON]: Define MAP_ANON to MAP_ANONYMOUS |
8575 | if defined, 0 otherwise. | |
8576 | (MAP_FAILED): Define if not defined and use it to test mmap failure. | |
8577 | (unexec) [!MAP_ANON]: Use /dev/zero as file to map. | |
60a653f1 | 8578 | |
048addec | 8579 | 2001-11-19 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 8580 | |
048addec | 8581 | * indent.c (current_column_1): Fix handling of scan_bytes for mb chars. |
60a653f1 | 8582 | |
048addec | 8583 | 2001-11-18 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 8584 | |
048addec JD |
8585 | * w32term.c (note_mouse_highlight): Fix type of variable `ignore'. |
8586 | (x_draw_bar_cursor): If the background color of the glyph under | |
8587 | the cursor equals the frame's cursor color, use the glyph's | |
8588 | foreground color for drawing the bar cursor. | |
8589 | (x_after_update_window_line): Clear internal border in different | |
8590 | circumstances. | |
8591 | (w32_set_vertical_scroll_bar): Check for width and height > 0. | |
8592 | (w32_draw_relief_rect): Correct relief by 1 pixel. | |
8593 | (x_set_glyph_string_background_width): | |
8594 | Set extends_to_end_of_line_p if the row's fill_line_p is set and | |
8595 | drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}. | |
8596 | (x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR | |
8597 | if cursor_in_non_selected_windows is false. | |
8598 | (show_mouse_face): Clean up. Recognize overwritten cursor differently. | |
8599 | (x_draw_glyphs): Remove parameters REAL_START and REAL_END. | |
8600 | Notice if cursor gets overwritten. | |
8601 | (notice_overwritten_cursor): Renamed from | |
8602 | note_overwritten_text_cursor. Rewritten to take glyph widths | |
8603 | into account, and to take X positions as parameters. | |
8604 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | |
8605 | around call to x_draw_glyphs. | |
8606 | (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | |
8607 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | |
8608 | color to use for image glyph reliefs. | |
8609 | (x_draw_image_relief): Accept zero tool_bar_button_relief. | |
8610 | (glyph_rect): Remove unused variable `area'. | |
60a653f1 | 8611 | |
048addec JD |
8612 | * w32fns.c (x_set_frame_parameters): Avoid infinite recursion for |
8613 | some items. | |
8614 | (x_set_internal_border_width): Set frame garbaged when window | |
8615 | doesn't exist yet. | |
8616 | (Fx_create_frame): Accept zero tool_bar_button_relief. | |
8617 | (x_clear_image_1, four_corners_best, image_background) | |
8618 | (image_background_transparent): New functions. | |
8619 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) | |
8620 | (gs_format): Add `:background' entry. | |
8621 | (lookup_image): Set IMG's background color if specified. | |
8622 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | |
8623 | when appropriate. | |
8624 | (x_clear_image_1): Reset `background_valid' and | |
8625 | `background_transparent_valid' fields. | |
8626 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | |
8627 | calculating it here. Set IMG's background_transparent field. | |
8628 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | |
8629 | (enum png_keyword_index): Add PNG_BACKGROUND. | |
8630 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | |
8631 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | |
8632 | (enum gif_keyword_index): Add GIF_BACKGROUND. | |
8633 | (enum gs_keyword_index): Add GS_BACKGROUND. | |
8634 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): | |
8635 | Pre-calculate image background color where necessary. | |
8636 | (x_create_x_image_and_pixmap, xbm_load, gs_load): | |
8637 | Use display info's n_cbits entry for screen depth. | |
8638 | (Fx_show_tip): Remove unused variables `buffer', `top', | |
8639 | `left', `max_width' and `max_height'. | |
60a653f1 | 8640 | |
048addec | 8641 | * w32menu.c (w32_menu_show, push_menu_pane): Doc fixes. |
60a653f1 | 8642 | |
048addec | 8643 | 2001-11-18 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 8644 | |
048addec | 8645 | * puresize.h (BASE_PURESIZE): Increase to 750000. |
60a653f1 | 8646 | |
048addec | 8647 | 2001-11-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 8648 | |
048addec | 8649 | * frame.c (Fframe_live_p): Doc fix. |
60a653f1 | 8650 | |
048addec | 8651 | 2001-11-18 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 8652 | |
048addec JD |
8653 | * xdisp.c (message_dolog_marker1, message_dolog_marker2) |
8654 | (message_dolog_marker3): New static variables hold three markers. | |
8655 | (syms_of_xdisp): Initialize and staticpro them. | |
8656 | (message_dolog): Use message_dolog_marker1..3 instead of | |
8657 | allocating markers each time. Unchain them when done. | |
60a653f1 | 8658 | |
048addec | 8659 | 2001-11-17 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 8660 | |
048addec | 8661 | * doc.c (Fsnarf_documentation): Doc fix. |
60a653f1 | 8662 | |
048addec | 8663 | 2001-11-17 Andreas Schwab <schwab@suse.de> |
60a653f1 | 8664 | |
048addec | 8665 | * xterm.c (note_mouse_highlight): Fix type of variable `ignore'. |
60a653f1 | 8666 | |
048addec | 8667 | 2001-11-17 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 8668 | |
048addec | 8669 | * fileio.c (Fwrite_region): Avoid initializer for Lisp_Object. |
60a653f1 | 8670 | |
048addec | 8671 | 2001-11-17 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 8672 | |
048addec | 8673 | * xterm.c (notice_overwritten_cursor): Take care of end < 0 case. |
60a653f1 | 8674 | |
048addec | 8675 | 2001-11-17 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 8676 | |
048addec JD |
8677 | * xdisp.c (tool_bar_item_info): Avoid calling Fget_text_property |
8678 | with invalid position. | |
60a653f1 | 8679 | |
048addec | 8680 | 2001-11-16 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 8681 | |
048addec | 8682 | * syswait.h: Delete conditionals for HPUX7, ISC 4.1, and convex. |
60a653f1 | 8683 | |
048addec JD |
8684 | * s/isc4-1.h (HAVE_SYS_WAIT_H): Add #undef. |
8685 | * s/hpux.h (HAVE_SYS_WAIT_H): Add #undef. | |
8686 | * s/hpux8.h (HAVE_SYS_WAIT_H): Define it. | |
60a653f1 | 8687 | |
048addec | 8688 | * m/convex.h (HAVE_SYS_WAIT_H): Add #undef. |
60a653f1 | 8689 | |
048addec | 8690 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 8691 | |
048addec JD |
8692 | * fileio.c (build_annotations): Split off the tail. |
8693 | (build_annotations_2): New fun. Extracted from build_annotations. | |
8694 | (Fwrite_region): Split the call to build_annotations into two | |
8695 | calls to build_annotations and build_annotations_2. | |
077907d4 | 8696 | |
048addec | 8697 | 2001-11-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
1756e2fb | 8698 | |
048addec JD |
8699 | * sysdep.c (wait_for_kbd_input) [VMS]: Do not call |
8700 | clear_waiting_for_input with argument. | |
1756e2fb | 8701 | |
048addec | 8702 | * xterm.h (x_update_cursor): Remove duplicated prototype. |
06e8f738 | 8703 | |
048addec | 8704 | * keyboard.h (clear_waiting_for_input): Remove duplicated prototype. |
06e8f738 | 8705 | |
048addec | 8706 | * xterm.c (waiting_for_input): Remove unnecessary declaration. |
fa336b91 | 8707 | |
048addec | 8708 | * data.c (Ftimes, Fquo, Frem, Fmod): Doc fix. |
fa336b91 | 8709 | |
048addec | 8710 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> |
fa336b91 | 8711 | |
048addec JD |
8712 | * fileio.c (choose_write_coding_system): New fun, extracted |
8713 | from Fwrite_region. | |
8714 | (Fwrite_region): Use it. | |
fa336b91 | 8715 | |
048addec JD |
8716 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Use EMACS_INT. |
8717 | (funcall_lambda, run_hook_with_args): Make static and add prototype. | |
8718 | (ml_apply, find_handler_clause): Add prototype. | |
fa336b91 | 8719 | |
048addec | 8720 | 2001-11-16 Eli Zaretskii <eliz@gnu.org> |
fa336b91 | 8721 | |
048addec | 8722 | * config.in: Add #undef HAVE_COFF_H. |
fa336b91 | 8723 | |
048addec JD |
8724 | * unexec.c (coff.h): Don't include unless HAVE_COFF_H is defined. |
8725 | Required for ISC 4.1. | |
fa336b91 | 8726 | |
048addec | 8727 | 2001-11-16 Eli Zaretskii <eliz@is.elta.co.il> |
fa336b91 | 8728 | |
048addec JD |
8729 | * syswait.h: (HAVE_SYS_WAIT_H): Undef for ISC 4.1. Reported by |
8730 | Andrew Wiseman <a.wiseman@btclick.com>. | |
fa336b91 | 8731 | |
048addec | 8732 | 2001-11-16 Kim F. Storm <storm@cua.dk> |
fa336b91 | 8733 | |
048addec JD |
8734 | The following changes are made to clean up the various internal |
8735 | references to the fringes to actually use the term `fringe' for | |
8736 | them. Previously, they were called `flags areas', `bitmap areas', | |
8737 | `left/right side of windows', or implicitly as `flags' or | |
8738 | `bitmaps': | |
fa336b91 | 8739 | |
048addec JD |
8740 | * dispextern.h (FRINGE_FACE_ID): Renamed from BITMAP_AREA_FACE_ID. |
8741 | Comments fixed. Use renamed symbols. | |
06e8f738 | 8742 | |
048addec | 8743 | * dispnew.c: Comment fix. Use renamed symbols. |
06e8f738 | 8744 | |
048addec JD |
8745 | * frame.h (FRAME_FRINGE_COLS): Renamed from FRAME_FLAGS_AREA_COLS. |
8746 | (FRAME_FRINGE_WIDTH): Renamed from FRAME_FLAGS_AREA_WIDTH. | |
8747 | (FRAME_LEFT_FRINGE_WIDTH): Renamed from FRAME_LEFT_FLAGS_AREA_WIDTH. | |
9ce647f4 | 8748 | |
048addec | 8749 | * msdos.c: Comment fix. |
9ce647f4 | 8750 | |
048addec | 8751 | * w32fns.c: Use renamed symbols. |
9b784ab8 | 8752 | |
048addec JD |
8753 | * w32term.c: Comment fixes. Use renamed symbols. |
8754 | (fringe_bitmap_type): Renamed from bitmap_type. | |
8755 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | |
8756 | (w32_draw_fringe_bitmap): Renamed from w32_draw_bitmap. | |
8757 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | |
9f7e52b4 | 8758 | |
048addec JD |
8759 | * w32term.h: Comment fixes. Use renamed symbols. |
8760 | (fringes_extra): Renamed from flags_areas_extra. | |
8761 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | |
8762 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | |
8763 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | |
8764 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | |
8765 | (FRAME_X_LEFT_FRINGE_WIDTH): | |
8766 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | |
8767 | (FRAME_X_RIGHT_FRINGE_WIDTH): | |
8768 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | |
9f7e52b4 | 8769 | |
048addec | 8770 | * widget.c: Use renamed symbols. |
9f7e52b4 | 8771 | |
048addec JD |
8772 | * window.c: Comment fixes. Use renamed symbols. |
8773 | (coordinates-in-window-p): Doc fix. | |
fa336b91 | 8774 | |
048addec | 8775 | * xdisp.c: Comment fixes. Use renamed symbols. |
34e5d0af | 8776 | |
048addec | 8777 | * xfaces.c (realize_basic_faces): Use FRINGE_FACE_ID. |
9b784ab8 | 8778 | |
048addec | 8779 | * xfns.c: Use renamed symbols. |
89512fcd | 8780 | |
048addec JD |
8781 | * xterm.c: Comment fixes. Use renamed symbols. |
8782 | (fringe_bitmap_type): Renamed from bitmap_type. | |
8783 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | |
8784 | (x_draw_fringe_bitmap): Renamed from x_draw_bitmap. | |
8785 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | |
89512fcd | 8786 | |
048addec JD |
8787 | * xterm.h: Comment fixes. Use renamed symbols. |
8788 | (fringes_extra): Renamed from flags_areas_extra. | |
8789 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | |
8790 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | |
8791 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | |
8792 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | |
8793 | (FRAME_X_LEFT_FRINGE_WIDTH): | |
8794 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | |
8795 | (FRAME_X_RIGHT_FRINGE_WIDTH): | |
8796 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | |
8797 | ||
8798 | 2001-11-15 Jason Rumney <jasonr@gnu.org> | |
8799 | ||
8800 | * w32menu.c (add-menu-item): Make help_echo and radio buttons | |
8801 | work for most menu items. From David Ponce | |
8802 | <david.ponce@wanadoo.fr>. | |
8803 | ||
8804 | 2001-11-15 Gerd Moellmann <gerd@gnu.org> | |
8805 | ||
8806 | * xfns.c (x_set_frame_parameters): Revert change of 2001-11-07. | |
8807 | Some x_set_* function expect to be called even if old and new | |
8808 | value are equal. | |
8809 | ||
8810 | * xdisp.c (build_desired_tool_bar_string): Accept zero | |
8811 | tool_bar_button_relief. | |
8812 | ||
8813 | * xfns.c (Fx_create_frame): Accept zero tool_bar_button_relief. | |
8814 | ||
8815 | * xterm.c (x_draw_image_relief): Accept zero tool_bar_button_relief. | |
8816 | ||
8817 | * xterm.c (x_draw_bar_cursor): If the background color of the | |
8818 | glyph under the cursor equals the frame's cursor color, use | |
8819 | the glyph's foreground color for drawing the bar cursor. | |
8820 | ||
8821 | * dispnew.c (direct_output_forward_char): Fix character/byte | |
8822 | position comparison. | |
7d18891d | 8823 | |
048addec | 8824 | 2001-11-15 Miles Bader <miles@gnu.org> |
d2936d21 | 8825 | |
048addec JD |
8826 | * editfns.c (find_field): Add BEG_LIMIT and END_LIMIT parameters. |
8827 | (Fdelete_field, Ffield_string, Ffield_string_no_properties): | |
8828 | Update arguments to find_field. | |
8829 | (Ffield_beginning, Ffield_end): Add LIMIT param, pass to find_field. | |
8830 | (Fconstrain_to_field): Use LIMIT arg to shorten search time. | |
8831 | * lisp.h (Ffield_beginning, Ffield_end): Update EXFUN decl. | |
8832 | * minibuf.c (Fminibuffer_prompt_end): Update args to Ffield_end. | |
7d18891d | 8833 | |
048addec | 8834 | 2001-11-14 Richard M. Stallman <rms@gnu.org> |
7d18891d | 8835 | |
048addec | 8836 | * editfns.c (Fpropertize): Allow call with 1 arg. |
7d18891d | 8837 | |
048addec JD |
8838 | * dispextern.h (image_background, image_background_transparent): |
8839 | Conditionalize on HAVE_X_WINDOWS. | |
7d18891d | 8840 | |
048addec | 8841 | 2001-11-13 Richard M. Stallman <rms@gnu.org> |
7d18891d | 8842 | |
048addec | 8843 | * print.c (Fprin1_to_string): Doc fix. |
7d18891d | 8844 | |
048addec | 8845 | * sunfns.c (Fsun_change_cursor_icon): Doc fix. |
7d18891d | 8846 | |
048addec | 8847 | * floatfns.c (Fceiling, Ffloor): Doc fixes. |
7d18891d | 8848 | |
048addec | 8849 | * filelock.c (Funlock_buffer, Ffile_locked_p): Doc fixes. |
7d18891d | 8850 | |
048addec | 8851 | * fileio.c (Ffile_accessible_directory_p): Doc fix. |
7d18891d | 8852 | |
048addec | 8853 | * eval.c (syms_of_eval): Doc fix. |
7d18891d | 8854 | |
048addec | 8855 | * coding.c (syms_of_coding): Doc fix. |
7d18891d | 8856 | |
048addec | 8857 | * doc.c (Fsnarf_documentation): Doc fix. |
7d18891d | 8858 | |
048addec | 8859 | * dispnew.c (syms_of_display): Doc fix. |
9474c847 | 8860 | |
048addec | 8861 | * category.c (Fget_unused_category): Doc fix. |
9474c847 | 8862 | |
048addec | 8863 | * buffer.c (syms_of_buffer): Doc fixes. |
e3059a5d | 8864 | |
048addec | 8865 | 2001-11-14 Eli Zaretskii <eliz@is.elta.co.il> |
e3059a5d | 8866 | |
048addec | 8867 | * print.c (prin1, print): Doc fix. |
e3059a5d | 8868 | |
048addec | 8869 | 2001-11-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
b3700ae7 | 8870 | |
048addec JD |
8871 | * fontset.h: Remove declarations of variables |
8872 | `Vhighlight_wrong_size_font' and `Vclip_large_size_font'. | |
b3700ae7 | 8873 | |
048addec JD |
8874 | * fontset.c: Remove variables `Vhighlight_wrong_size_font' and |
8875 | `Vclip_large_size_font'. | |
eae936e2 | 8876 | |
048addec | 8877 | 2001-11-13 Jason Rumney <jasonr@gnu.org> |
4bb962be | 8878 | |
048addec | 8879 | * w32fns.c: Doc fix. |
ddb67bdc | 8880 | |
048addec | 8881 | 2001-11-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
3467c402 | 8882 | |
048addec | 8883 | * xfaces.c (Fface_attributes_as_vector): Doc fix. |
3467c402 | 8884 | |
048addec | 8885 | * fns.c: Doc fix. |
6e1b91d7 | 8886 | |
048addec | 8887 | * emacs.c: Doc fix. |
1c1d3d69 | 8888 | |
048addec | 8889 | * coding.c: Doc fix. |
1c1d3d69 | 8890 | |
048addec JD |
8891 | * cmds.c, composite.c, dired.c, doc.c, filelock.c, floatfns.c, |
8892 | * fontset.c, insdel.c, keymap.c: Change doc-string comments to | |
8893 | `new style' [w/`doc:' keyword]. | |
b6f4c7ba | 8894 | |
048addec | 8895 | 2001-11-12 Richard M. Stallman <rms@gnu.org> |
b6f4c7ba | 8896 | |
048addec JD |
8897 | * xterm.c (XTread_socket): Don't update focus for EnterNotify or |
8898 | LeaveNotify events. Only FocusIn and FocusOut do that now. | |
8899 | (x_display_and_set_cursor): Do display hollow cursors in active | |
8900 | minibuffer windows when they are not selected. | |
b6f4c7ba | 8901 | |
048addec | 8902 | 2001-11-12 Jason Rumney <jasonr@gnu.org> |
a89f435d | 8903 | |
048addec JD |
8904 | * w32console.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, |
8905 | * w32term.c: Change doc-string comments to `new style'. | |
8906 | [w/`doc:' keyword]. Doc fixes. | |
a89f435d | 8907 | |
048addec JD |
8908 | * w32fns.c: Don't define max. |
8909 | (Fx_open_connection): Only execute once. | |
a4cd0cd7 | 8910 | |
048addec | 8911 | 2001-11-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
eafb659a | 8912 | |
048addec JD |
8913 | * ccl.c: Change macros to use do-while block instead of if-else. |
8914 | Use braces to follow GNU Coding Standards. | |
eafb659a | 8915 | |
048addec | 8916 | 2001-11-11 Richard M. Stallman <rms@gnu.org> |
a4cd0cd7 | 8917 | |
048addec | 8918 | * sysdep.c (child_setup_tty): Don't clear ICRNL or INLCR. |
a4cd0cd7 | 8919 | |
048addec | 8920 | * lread.c (read_escape): Use end_of_file_error for reporting eof. |
a4cd0cd7 | 8921 | |
048addec JD |
8922 | * insdel.c (replace_range): Use adjust_markers_for_replace |
8923 | instead of adjust_markers_for_delete and adjust_markers_for_insert. | |
a4cd0cd7 | 8924 | |
048addec | 8925 | * intervals.h: Declare set_text_properties and set_text_properties_1. |
a4cd0cd7 | 8926 | |
048addec JD |
8927 | * textprop.c (set_text_properties_1): New subroutine |
8928 | broken out of set_text_properties. | |
8929 | (set_text_properties): Use set_text_properties_1. | |
91823618 | 8930 | |
048addec JD |
8931 | * intervals.c (graft_intervals_into_buffer): |
8932 | Use set_text_properties_1 to clear out properties. | |
91823618 | 8933 | |
048addec JD |
8934 | * search.c (Freplace_match): Use replace_range to insert |
8935 | and delete. Don't request property inheritance from | |
8936 | surrounding text. | |
86928dfb | 8937 | |
048addec | 8938 | 2001-11-10 Jason Rumney <jasonr@gnu.org> |
86928dfb | 8939 | |
048addec JD |
8940 | * w32fns.c (enum_font_cb2): Use leading @ on face name to detect |
8941 | vertical fonts. Allow them if face name is explicitly specified. | |
8942 | Do not give up if we find a font that cannot be converted to an xlfd. | |
40ef1eda | 8943 | |
048addec | 8944 | 2001-11-10 Gerd Moellmann <gerd@gnu.org> |
ab8469eb | 8945 | |
048addec JD |
8946 | * unexelf.c (unexec): Use mmap/munmap to allocate buffers |
8947 | instead of malloc/free. | |
a78e0303 | 8948 | |
048addec | 8949 | 2001-11-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
40ef1eda | 8950 | |
048addec JD |
8951 | * xfaces.c (merge_face_vectors): Use braces to follow GNU |
8952 | Coding Standards. | |
8953 | (Finternal_set_lisp_face_attribute): Likewise. | |
fabf4a91 | 8954 | |
048addec | 8955 | * buffer.c (Fbury_buffer): Likewise. |
0c99b139 | 8956 | |
048addec | 8957 | * indent.c (current_column_1): Remove unused variable `prev_col'. |
0c99b139 | 8958 | |
048addec JD |
8959 | * coding.c (encode_coding): Use precomputed value of `src'. |
8960 | (encode_coding): Remove unused variable `src_end'. | |
8961 | (code_convert_region): Remove unused variables `count'. | |
830ddd77 | 8962 | |
048addec | 8963 | 2001-11-07 Jason Rumney <jasonr@gnu.org> |
830ddd77 | 8964 | |
048addec JD |
8965 | * w32term.c (x_display_and_set_cursor): Do not move system caret |
8966 | if cursor_glyph is NULL. | |
55c6d645 | 8967 | |
048addec | 8968 | 2001-11-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
55c6d645 | 8969 | |
048addec | 8970 | * keymap.c (access_keymap): Fix compilation error. |
5de38842 | 8971 | |
048addec | 8972 | 2001-11-07 Miles Bader <miles@gnu.org> |
7a4564a4 | 8973 | |
048addec | 8974 | * xfns.c (x_set_frame_parameters): Avoid infinite recursion. |
5de38842 | 8975 | |
048addec | 8976 | 2001-11-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4fa23df5 | 8977 | |
048addec JD |
8978 | * intervals.c (graft_intervals_into_buffer): |
8979 | Remove #ifdef'd-out code. | |
8980 | (graft_intervals_into_buffer): Remove unused variable `middle'. | |
4fa23df5 | 8981 | |
048addec JD |
8982 | * lread.c (Feval_region): Remove obsolete #ifdef'd-out |
8983 | code (eval-current-buffer). | |
8984 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
7a6a97d7 | 8985 | |
048addec | 8986 | 2001-11-06 Richard M. Stallman <rms@gnu.org> |
c191d13c | 8987 | |
048addec | 8988 | * keymap.c (access_keymap): Don't use initializers on Lisp_Object. |
7a6a97d7 | 8989 | |
048addec | 8990 | 2001-11-06 Stefan Monnier <monnier@cs.yale.edu> |
44dc78e0 | 8991 | |
048addec | 8992 | * lread.c (read1): Fix behavior with nested backquoting. |
44dc78e0 | 8993 | |
048addec JD |
8994 | * keyboard.c (make_lispy_event): Check integerness and fix |
8995 | Lisp_Object/int mixup. | |
17893c65 | 8996 | |
048addec | 8997 | 2001-11-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4d994a79 | 8998 | |
048addec | 8999 | * fns.c (copy_hash_table): Remove unused variable `v'. |
d5360cc7 | 9000 | |
048addec JD |
9001 | * fontset.c (fontset_font_pattern): Remove unused variable |
9002 | `family_registry'. | |
d5360cc7 | 9003 | |
048addec | 9004 | * indent.c (current_column_1): Remove unused variable `prev_col'. |
d5360cc7 | 9005 | |
048addec | 9006 | 2001-11-05 Richard M. Stallman <rms@gnu.org> |
96238a5a | 9007 | |
048addec | 9008 | * m/news-risc.h (BROKEN_PROTOTYPES): Defined. |
96238a5a | 9009 | |
048addec JD |
9010 | * buffer.c (Fkill_buffer): Don't delete auto save file |
9011 | if buffer is modified. | |
d9d54213 | 9012 | |
048addec | 9013 | 2001-11-05 Andrew Innes <andrewi@gnu.org> |
d9d54213 | 9014 | |
048addec JD |
9015 | * w32proc.c (Fw32_set_keyboard_layout): Use CHECK_NUMBER_CAR and |
9016 | CHECK_NUMBER_CDR. | |
b116830b | 9017 | |
048addec | 9018 | 2001-11-05 Richard M. Stallman <rms@gnu.org> |
b116830b | 9019 | |
048addec | 9020 | * unexelf.c (unexec): Minor changes; clean up comments. |
3297e2a1 | 9021 | |
048addec | 9022 | 2001-11-05 Sam Steingold <sds@gnu.org> |
3297e2a1 | 9023 | |
048addec | 9024 | * w32term.c (x_display_and_set_cursor): Fix w32 compilation error. |
6fb8339c | 9025 | |
048addec | 9026 | 2001-11-05 Andreas Schwab <schwab@suse.de> |
6fb8339c | 9027 | |
048addec | 9028 | * sound.c (sound_perror): Save errno from being clobbered. |
7dd73b78 | 9029 | |
048addec | 9030 | 2001-11-05 Dale Hagglund <rdh@yottayotta.com> |
7dd73b78 | 9031 | |
048addec JD |
9032 | * unexelf.c (unexec): Don't use `mmap'. Instead, read and write |
9033 | the program image directly. | |
982f6c7e | 9034 | |
048addec | 9035 | 2001-11-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
d31053f9 | 9036 | |
048addec | 9037 | * buffer.h (Fbuffer_local_value): Add prototype. |
d31053f9 | 9038 | |
048addec | 9039 | 2001-11-04 Richard M. Stallman <rms@gnu.org> |
d31053f9 | 9040 | |
048addec JD |
9041 | * buffer.c (Fbuffer_local_value): Remove extra args from CHECK_SYMBOL |
9042 | and CHECK_BUFFER. | |
d31053f9 | 9043 | |
048addec JD |
9044 | * keyboard.c (read_char): Use Fcar and Fcdr, not Fnth. |
9045 | (record_char): Likewise. | |
d31053f9 | 9046 | |
048addec JD |
9047 | * keyboard.c (make_lispy_event): Don't insist a drag event must |
9048 | move to a different buffer position. Instead, check for moving at | |
9049 | least double_click_fuzz. | |
982f6c7e | 9050 | |
048addec | 9051 | * fns.c (Fmake_hash_table): Use XCAR and XCDR, not Fnth and Flength. |
830047fd | 9052 | |
048addec | 9053 | * keyboard.c (echo-area-clear-hook): Undo Oct 29 change. |
b116830b | 9054 | |
048addec JD |
9055 | * indent.c (current_column_1, Fmove_to_column): Separate the code |
9056 | for display-table glyphs from the code for buffer text, to fix | |
9057 | bugs in the former. | |
830047fd | 9058 | |
048addec | 9059 | 2001-11-04 Michael Welsh Duggan <md5i@cs.cmu.edu> |
b116830b | 9060 | |
048addec JD |
9061 | * buffer.c (Fbuffer_local_value): New function. |
9062 | (syms_of_buffer): Defsubr it. | |
2df5238c | 9063 | |
048addec JD |
9064 | * xterm.c, w32term.c (x_display_and_set_cursor): Use buffer-local |
9065 | value of `cursor-in-non-selected-windows'. | |
4e397688 | 9066 | |
048addec JD |
9067 | * lisp.h (Qcursor_in_non_selected_windows): New declaration. |
9068 | * xdisp.c (Qcursor_in_non_selected_windows): New variable. | |
9069 | (syms_of_xdisp): Initialize it. | |
48b0f3ae | 9070 | |
048addec | 9071 | 2001-11-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2df5238c | 9072 | |
048addec | 9073 | * xfns.c (Fx_create_frame): Doc fix. |
3ecaf7e5 | 9074 | |
048addec JD |
9075 | * coding.c: Change doc-string comments to `new style' [w/`doc:' |
9076 | keyword]. | |
3ecaf7e5 | 9077 | |
048addec JD |
9078 | * eval.c (top_level_value, top_level_set): Remove commented and |
9079 | #ifdef'd-out code. | |
9080 | (Fdefvar): Fix usage in doc-string. | |
3ecaf7e5 | 9081 | |
048addec | 9082 | 2001-11-03 Richard M. Stallman <rms@gnu.org> |
3ecaf7e5 | 9083 | |
048addec | 9084 | * xfns.c: Include unistd.h, if it exists. |
8db2e33b | 9085 | |
048addec | 9086 | * editfns.c: Move the include of ctype.h after unistd.h. |
8db2e33b | 9087 | |
048addec | 9088 | * gmalloc.c: Test BROKEN_PROTOTYPES. |
aed29b97 | 9089 | |
048addec | 9090 | 2001-11-03 Ken Raeburn <raeburn@gnu.org> |
aed29b97 | 9091 | |
048addec JD |
9092 | * lisp.h (CHECK_STRING_CAR): New macro. |
9093 | * lread.c (Fload): Use XSETCARFASTINT, XSETCDRFASTINT instead of | |
9094 | treating XCAR and XCDR as lvalues. | |
9095 | (openp): Use CHECK_STRING_CAR. | |
9096 | (read_list): Use XSETCDR instead of treating XCDR as lvalue. | |
aed29b97 | 9097 | |
048addec | 9098 | 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il> |
6cb16f95 | 9099 | |
048addec JD |
9100 | * s/sco5.h (sigprocmask_set): Declare as extern SIGMASKTYPE. |
9101 | (SIGMASKTYPE): Define. | |
1b1acc13 | 9102 | |
048addec | 9103 | * syssignal.h (sigunblock): Don't define if already defined. |
020f9b38 | 9104 | |
048addec | 9105 | 2001-11-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
020f9b38 | 9106 | |
048addec JD |
9107 | * eval.c (debugger_may_continue, Vdebug_ignored_errors) |
9108 | (call_debugger, Fcondition_case, skip_debugger, unbind_to): | |
9109 | Fix typos in comments. | |
6cb16f95 | 9110 | |
048addec JD |
9111 | * mocklisp.c (Fml_defun, Fml_while, Fml_substr): Remove commented |
9112 | and #ifdef'd-out code. | |
9113 | Fix and reindent comments. | |
6cb16f95 | 9114 | |
048addec | 9115 | * mocklisp.h: Remove comment which is a copy of comment in mocklisp.c. |
6cb16f95 | 9116 | |
048addec JD |
9117 | * category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET): Remove unused |
9118 | argument `i' in macros. | |
6cb16f95 | 9119 | |
048addec JD |
9120 | * frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Remove unused argument |
9121 | `i' in macros. | |
7e9d3c2f | 9122 | |
048addec JD |
9123 | * lisp.h (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST) |
9124 | (CHECK_STRING, CHECK_CONS, CHECK_SYMBOL, CHECK_CHAR_TABLE) | |
9125 | (CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE, CHECK_BUFFER) | |
9126 | (CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS, CHECK_NUMBER) | |
9127 | (CHECK_NATNUM, CHECK_MARKER, CHECK_NUMBER_COERCE_MARKER) | |
9128 | (CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT) | |
9129 | (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY) | |
9130 | (CHECK_NUMBER_CAR, CHECK_NUMBER_CDR): Remove unused argument `i' | |
9131 | in macros. | |
7e9d3c2f | 9132 | |
048addec JD |
9133 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, |
9134 | * casefiddle.c, category.c, ccl.c, charset.c, cmds.c, coding.c, | |
9135 | * composite.c, data.c, dired.c, dispnew.c, doc.c, dosfns.c, emacs.c, | |
9136 | * eval.c, fileio.c, filelock.c, fns.c, fontset.c, frame.c, frame.h, | |
9137 | * indent.c, keyboard.c, keymap.c, lread.c, macros.c, marker.c, | |
9138 | * minibuf.c, mocklisp.c, msdos.c, print.c, process.c, search.c, | |
9139 | * sunfns.c, syntax.c, textprop.c, undo.c, w16select.c, w32console.c, | |
9140 | * w32fns.c, w32menu.c, w32proc.c, w32select.c, window.c, xdisp.c, | |
9141 | * xfaces.c, xmenu.c, xselect.c: Update usage of CHECK_ macros | |
9142 | (remove unused second argument). | |
7e9d3c2f | 9143 | |
048addec | 9144 | 2001-11-02 Stefan Monnier <monnier@cs.yale.edu> |
e6bff182 | 9145 | |
048addec JD |
9146 | * syntax.c (describe_syntax): New wrapper. |
9147 | (Finternal_describe_syntax_value): Rename from describe_syntax. | |
9148 | Don't insert space at front and \n at the end. | |
9149 | (syms_of_syntax): Defsubr Sinternal_describe_syntax_value. | |
e6bff182 | 9150 | |
048addec JD |
9151 | * regex.c (re_wctype): Try to fix some warnings. |
9152 | (regcomp, regexec): Don't forget the __restrict. | |
9ba48103 | 9153 | |
048addec | 9154 | 2001-11-02 Richard M. Stallman <rms@gnu.org> |
9ba48103 | 9155 | |
048addec | 9156 | * textprop.c (Fget_char_property): Doc fix. |
9ba48103 | 9157 | |
048addec | 9158 | 2001-11-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9ba48103 | 9159 | |
048addec | 9160 | * process.c (Fstart_process): Add usage to doc-string. |
c22e59e1 | 9161 | |
048addec | 9162 | * data.c (Fsetq_default): Ditto. |
c22e59e1 | 9163 | |
048addec | 9164 | * callint.c (Finteractive): Ditto. |
9271ed2c | 9165 | |
048addec | 9166 | 2001-11-01 Stefan Monnier <monnier@cs.yale.edu> |
e6bff182 | 9167 | |
048addec JD |
9168 | * macros.c: Don't include keymap.h any more. |
9169 | ||
9170 | 2001-11-01 Richard M. Stallman <rms@gnu.org> | |
9171 | ||
9172 | * data.c (Fmake_local_variable): Doc fix. | |
9173 | ||
9174 | * eval.c (Frun_hooks, Frun_hook_with_args_until_failure): Doc fix. | |
9175 | (Frun_hook_with_args_until_success, Frun_hook_with_args): Doc fix. | |
e6bff182 | 9176 | |
048addec | 9177 | * keymap.c (Fdescribe_buffer_bindings): Print character property |
9271ed2c RS |
9178 | bindings along with or instead of the buffer local map. |
9179 | Make the overriding maps override what they should. | |
9180 | ||
f00691a3 | 9181 | 2001-11-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
8b8bd9c6 PJ |
9182 | |
9183 | * window.c (grow_mini_window): Fix typo in comment. | |
9184 | ||
27188d11 GM |
9185 | 2001-11-01 Gerd Moellmann <gerd@gnu.org> |
9186 | ||
7b49b9d2 GM |
9187 | * xterm.c (x_scroll_bar_create): Check for width and height > 0. |
9188 | (XTset_vertical_scroll_bar): Likewise. | |
9189 | ||
43f7c3ea GM |
9190 | * xfns.c (x_build_heuristic_mask): Use four_corners_best |
9191 | instead of IMAGE_BACKGROUND. | |
c22e59e1 | 9192 | |
b350c2e5 GM |
9193 | * xfns.c (four_corners_best): Reindent. |
9194 | ||
c22e59e1 | 9195 | * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): |
27188d11 GM |
9196 | Handle :box so that it is possible to specify sexprs. |
9197 | ||
bf00d461 EZ |
9198 | 2001-10-31 Eli Zaretskii <eliz@is.elta.co.il> |
9199 | ||
9200 | * s/hpux11.h: New file. | |
9201 | ||
f00691a3 | 9202 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4e10df59 | 9203 | |
2b209b97 PJ |
9204 | * emacs.c (USAGE1): Show command line option --no-window-system |
9205 | instead of --no-windows in usage. | |
9206 | (standard_args): Rename --no-windows to --no-window-system. | |
9207 | (bug_reporting_address): Follow Emacs coding conventions. | |
9208 | ||
9dbc9081 PJ |
9209 | * eval.c (Fcommandp): Doc fix. |
9210 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
9211 | ||
4e10df59 PJ |
9212 | * frame.c (Fframe_live_p): Doc fix. |
9213 | ||
9214 | * buffer.c (selective-display-ellipses): Doc fix. | |
9215 | ||
dd387b25 GM |
9216 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
9217 | ||
fe957e65 GM |
9218 | * lread.c (to_multibyte): Fix computation of new read_buffer_size. |
9219 | ||
dd387b25 GM |
9220 | * xfaces.c (realize_x_face): If C is not a single-byte character, |
9221 | set the face's colors_copied_bitwise_p instead of the defaulted_p | |
9222 | members which have a different meaning. | |
9223 | (free_face_colors): Do nothing for a face whose colors have been | |
9224 | copied bitwise. | |
9225 | ||
c22e59e1 | 9226 | * dispextern.h (struct face) <colors_copied_bitwise_p>: New member. |
dd387b25 | 9227 | |
f00691a3 | 9228 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2e1280f8 | 9229 | |
687784e8 PJ |
9230 | * marker.c, mocklisp.c: Change doc-string comments to `new style' |
9231 | [w/`doc:' keyword]. | |
2e1280f8 | 9232 | |
b9d9a9b9 GM |
9233 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
9234 | ||
9235 | * fns.c (require_unwind): Return Lisp_Object. | |
9236 | ||
f00691a3 | 9237 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
48400103 | 9238 | |
fa1361cb PJ |
9239 | * keyboard.c (lucid-menu-bar-dirty-flag): Doc fix. |
9240 | (last-input-char): Revert doc-string to be the same as the | |
9241 | doc-string of `last-input-event'. | |
9242 | ||
6c465a15 | 9243 | * xdisp.c: Fix typos in comments. |
48400103 | 9244 | |
eafa3196 GM |
9245 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
9246 | ||
9247 | * window.c (grow_mini_window): Handle case that the root | |
9248 | window is already smaller than the nominal mininum height. | |
9249 | ||
747d3f2a SM |
9250 | 2001-10-30 Stefan Monnier <monnier@cs.yale.edu> |
9251 | ||
bf9bb76f SM |
9252 | * emacs.c (main): Don't call keys_of_macros any more. |
9253 | ||
9254 | * lisp.h (keys_of_macros): Remove. | |
9255 | ||
9256 | * macros.c (keys_of_macros): Remove. | |
9257 | ||
747d3f2a SM |
9258 | * xfaces.c (Fface_attribute_relative_p): Declare args. |
9259 | ||
5e905a57 JR |
9260 | 2001-10-30 Jason Rumney <jasonr@gnu.org> |
9261 | ||
9262 | * w32fns.c (w32_to_x_charset): Increase size of XLFD charset buffer. | |
9263 | (enum_font_cb2): Ignore fonts with vertical orientation. | |
9264 | ||
3a426197 RS |
9265 | 2001-10-30 Richard M. Stallman <rms@gnu.org> |
9266 | ||
9267 | * keyboard.c (Finput_pending_p): Doc fix. | |
9268 | ||
a742d646 GM |
9269 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
9270 | ||
259cf6bc GM |
9271 | * xterm.c (x_after_update_window_line): Don't run the code |
9272 | clearing in borders for rows whose visible height is 0. | |
9273 | ||
3f99f948 GM |
9274 | * xdisp.c (clear_garbaged_frames): Redraw the frame only if its |
9275 | resized_p flag is set. If not set, use the much less flickering | |
9276 | method previously used. | |
9277 | ||
9278 | * dispnew.c (change_frame_size_1): Set frame's resized_p. | |
9279 | ||
9280 | * frame.h (struct frame) <resized_p>: New member. | |
9281 | ||
b4a3be43 GM |
9282 | * lread.c (to_multibyte): Ensure read_buffer is at least twice |
9283 | as large as the number of bytes to convert. | |
747d3f2a | 9284 | |
a742d646 GM |
9285 | * lread.c (to_multibyte): New function. |
9286 | (read1): Use it. | |
9287 | ||
cacbb9e9 EZ |
9288 | 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il> |
9289 | ||
9290 | * msdos.h (FRAME_LINE_HEIGHT): Define (it's used by xmenu.c). | |
9291 | ||
99cb6b2f GM |
9292 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
9293 | ||
327f42ee | 9294 | * xterm.c (x_draw_relief_rect): Correct bottom relief by 1 pixel. |
747d3f2a SM |
9295 | (x_set_glyph_string_background_width): Set extends_to_end_of_line_p |
9296 | if the row's fill_line_p is set and drawing the last glyph with | |
9297 | DRAW_IMAGE_{RAISED,SUNKEN}. | |
327f42ee | 9298 | |
99cb6b2f GM |
9299 | * xdisp.c (clear_garbaged_frames): Call Fredraw_frame. |
9300 | ||
8e8223e2 SM |
9301 | 2001-10-29 Stefan Monnier <monnier@cs.yale.edu> |
9302 | ||
9303 | * xmenu.c: Include coding.h and charset.h. | |
9304 | (Fx_popup_menu): Use FRAME_PTR and FRAME_FONT and FRAME_LINE_HEIGHT. | |
9305 | (Fx_popup_dialog): Use FRAME_PTR and enum scroll_bar_part. | |
9306 | (single_submenu, xmenu_show): Use ENCODE_SYSTEM. | |
9307 | Explicitly set wv->help. Use `TRUE' rather than `True'. | |
9308 | (menu_help_callback): Use empty_string. | |
9309 | ||
9310 | * w32menu.c (Fx_popup_menu): Explicitly init f, xpos, and ypos. | |
9311 | (Fx_popup_dialog): Explicitly init f. | |
9312 | (w32_menu_display_help): Use empty_string. | |
9313 | ||
4d083a8f RS |
9314 | 2001-10-29 Richard M. Stallman <rms@gnu.org> |
9315 | ||
b2304472 RS |
9316 | * fns.c (Frequire): Detect recursive try to require the same |
9317 | feature 3 or more levels deep, and get error. | |
9318 | (require_unwind): New subroutine. | |
9319 | (require_nesting_list): New variable. | |
9320 | (syms_of_fns): Init and staticpro it. | |
9321 | ||
4d083a8f RS |
9322 | * print.c (print_object): Clarify indication of insertion type. |
9323 | ||
2fe41216 EZ |
9324 | 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il> |
9325 | ||
90480000 EZ |
9326 | * coding.c (syms_of_coding): Document that locale-coding-system is |
9327 | used for decoding input on X. | |
9328 | ||
2fe41216 EZ |
9329 | * window.c (Fscroll_left, Fscroll_right): Doc fix. |
9330 | ||
f00691a3 | 9331 | 2001-10-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
74e79967 PJ |
9332 | |
9333 | * keyboard.c (Finput_pending_p): Fix typo in doc-string. | |
9334 | (echo-area-clear-hook): Properly DEFVAR_LISP and staticpro it. | |
9335 | ||
60ebcfe8 GM |
9336 | 2001-10-29 Gerd Moellmann <gerd@gnu.org> |
9337 | ||
9a7bdceb GM |
9338 | * xterm.c (x_display_and_set_cursor): If cursor_in_echo_area, |
9339 | use NO_CURSOR if cursor_in_non_selected_windows is false. | |
9340 | ||
3f08fcd2 GM |
9341 | * xfaces.c (Fface_font): Use UNSPECIFIEDP instead of NILP for |
9342 | the slant attribute if FRAME is t. | |
9343 | ||
0ccfdad2 GM |
9344 | * xfns.c (x_set_internal_border_width): Set frame garbaged |
9345 | when X window doesn't exist yet. | |
9346 | ||
ef253080 GM |
9347 | * xterm.c (x_after_update_window_line): Clear internal border |
9348 | in different circumstances. | |
b116830b | 9349 | |
60ebcfe8 GM |
9350 | * xterm.c (XTread_socket) <KeyPress>: Don't use |
9351 | STRING_CHAR_AND_LENGTH if nchars == nbytes. From Kenichi Handa | |
9352 | <handa@etl.go.jp>. | |
9353 | ||
73d25f9c EZ |
9354 | 2001-10-28 Eli Zaretskii <eliz@is.elta.co.il> |
9355 | ||
9356 | * m/ibms390.h: New file. From Adam Thornton | |
9357 | <athornton@sinenomine.net>. | |
9358 | ||
cac1daf0 GM |
9359 | 2001-10-28 Gerd Moellmann <gerd@gnu.org> |
9360 | ||
053b3256 | 9361 | * xfns.c (x_build_heuristic_mask): Use x_alloc_image_color. |
b116830b | 9362 | |
cac1daf0 GM |
9363 | * xfns.c (x_build_heuristic_mask): Fix a bug not incrementing |
9364 | a loop counter. | |
9365 | ||
f00691a3 | 9366 | 2001-10-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
13b1a09c | 9367 | |
186486eb PJ |
9368 | * emacs.c: Use argv[0] instead of emacs when -t was specified. |
9369 | ||
4707d2d0 PJ |
9370 | * keyboard.c: Change doc-string comments to `new style' [w/`doc:' |
9371 | keyword]. | |
9372 | Fix typos in comments. | |
b116830b | 9373 | |
d883731c PJ |
9374 | * emacs.c (bug_reporting_address): New function. |
9375 | Use it when displaying usage message. | |
9376 | ||
04012254 PJ |
9377 | * minibuf.c (read_minibuf): Remove unused external declaration of |
9378 | variable `Qread_only'. | |
9379 | ||
13b1a09c PJ |
9380 | * keymap.c (access_keymap): Remove unused variable `charset'. |
9381 | ||
5bbf4378 MB |
9382 | 2001-10-28 Miles Bader <miles@gnu.org> |
9383 | ||
9384 | * xfaces.c (merge_face_heights): Handle TO being relative as well. | |
9385 | Remove #ifdef'd-out code. | |
9386 | (Fface_attribute_relative_p, Fmerge_face_attribute): New functions. | |
9387 | (syms_of_xfaces): Initialize them. | |
9388 | ||
1ce1e4ee JR |
9389 | 2001-10-27 Jason Rumney <jasonr@gnu.org> |
9390 | ||
9391 | * w32fns.c (w32_wnd_proc) <WM_KILLFOCUS>: Destroy the system caret. | |
9392 | <WM_EMACS_DESTROY_CARET, WM_EMACS_TRACK_CARET>: Track cursor | |
9393 | position using the system caret. | |
9394 | ||
9395 | * w32term.c (w32_system_caret_hwnd, w32_system_caret_width) | |
9396 | (w32_system_caret_height, w32_system_caret_x) | |
9397 | (w32_system_caret_y): New variables for tracking system caret. | |
9398 | (w32_initialize): Initialize them. | |
c2d53558 | 9399 | (x_display_and_set_cursor): Make system caret follow the active cursor. |
1ce1e4ee | 9400 | |
c2d53558 SM |
9401 | * w32term.h (WM_EMACS_TRACK_CARET, WM_EMACS_DESTROY_CARET): |
9402 | New messages types. | |
1ce1e4ee JR |
9403 | |
9404 | * w32term.c (note_mouse_highlight): Clear old help_echo. | |
9405 | ||
f00691a3 | 9406 | 2001-10-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4e30ce42 | 9407 | |
bb4600a4 PJ |
9408 | * xterm.c: Fix typo in a comment. |
9409 | ||
7db35a48 PJ |
9410 | * emacs.c: Fix typos in comments. |
9411 | Remove unnecessary spaces. | |
9412 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
9413 | (USAGE2): Fix typos in usage string. | |
9414 | ||
a7248e4f PJ |
9415 | * xterm.c: Fix typo in a comment. |
9416 | ||
4e30ce42 PJ |
9417 | * lisp.h: (gdb_lisp_params): Remove code in #if 0 which is now in |
9418 | emacs.c. | |
9419 | ||
62725a92 GM |
9420 | 2001-10-27 Gerd Moellmann <gerd@gnu.org> |
9421 | ||
798dbe1f | 9422 | * xdisp.c (move_it_vertically_backward): Use 2/3 line_height |
c2d53558 | 9423 | instead of 1/2 line_height in the heuristic for skipping |
798dbe1f GM |
9424 | farther backward when target_y was not reached. |
9425 | ||
62725a92 GM |
9426 | * sound.c (sound_perror): Unblock SIGIO, turn on atimers. |
9427 | Display errno only if non-zero. | |
9428 | (sound_warning): New function. | |
9429 | (vox_configure): Don't treat failing to set sample rate as error. | |
9430 | (various places): Improve error messages. | |
9431 | ||
d4e34d24 EZ |
9432 | 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il> |
9433 | ||
944e6f60 EZ |
9434 | * fileio.c (Faccess_file): Run the argument filename through |
9435 | Fexpand_file_name, before using it. | |
9436 | ||
d4e34d24 EZ |
9437 | * dispnew.c (syms_of_display) <visible-bell>: Add a reference to |
9438 | ring-bell-function. Suggested by Alf-Ivar Holm <alfh@ifi.uio.no> | |
9439 | ||
38d2af0c GM |
9440 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
9441 | ||
da80a8d5 GM |
9442 | * insdel.c (insert_1_both): Do nothing if NCHARS == 0. |
9443 | ||
38d2af0c GM |
9444 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
9445 | Fix clearing in the case of scroll bars on the right. | |
c2d53558 | 9446 | |
45de4a6f | 9447 | 2001-10-26 Juanma Barranquero <lektu@terra.es> |
56f508dd EZ |
9448 | |
9449 | * w32gui.h (XImage): Add a dummy typedef. | |
9450 | ||
fbd5ceb2 GM |
9451 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
9452 | ||
c2d53558 | 9453 | * xfns.c (XScreenNumberOfScreen): Fix struct to pointer comparison. |
fbd5ceb2 | 9454 | |
b23236fb EZ |
9455 | 2001-10-25 Eli Zaretskii <eliz@is.elta.co.il> |
9456 | ||
9457 | * frame.c (Fframe_parameter): Fix last change. | |
9458 | ||
5d991fc4 EZ |
9459 | * fileio.c: Revert last change (which removed old commented-out |
9460 | version of expand-file-name). Add a comment that explains why | |
9461 | this old version should not be removed. | |
9462 | ||
879eadc3 GM |
9463 | 2001-10-25 Gerd Moellmann <gerd@gnu.org> |
9464 | ||
75700ff2 GM |
9465 | * frame.c (Fframe_parameter): Fix a bug whereby some |
9466 | ``artificial'' frame parameters, like `minibuffer' were not | |
9467 | obtained by calling Fframe_parameters. | |
9468 | ||
dfe92a6a GM |
9469 | * xterm.c (show_mouse_face): Clean up. Recognize overwritten |
9470 | cursor differently. | |
9471 | ||
879eadc3 GM |
9472 | * xdisp.c (move_it_vertically_backward): Compute line height |
9473 | differently. Add heuristic to try to be more compatible to 20.x. | |
9474 | ||
e1010ebe SM |
9475 | 2001-10-25 Stefan Monnier <monnier@cs.yale.edu> |
9476 | ||
d73a471b SM |
9477 | * lisp.h (make_fixnum_or_float): Coerce double to int explicitly. |
9478 | ||
d6da5a06 GM |
9479 | * editfns.c (text_property_stickiness): Fix Lisp_Object used as |
9480 | boolean. | |
e1010ebe | 9481 | |
f66bd220 MB |
9482 | 2001-10-25 Miles Bader <miles@gnu.org> |
9483 | ||
9484 | * xfns.c (png_load): Make sure SPECIFIED_BG is a string. | |
9485 | BG is a pointer to a structure, not a structure. | |
9486 | (gif_format, png_format): Add missing commas. | |
9487 | ||
d436d538 RS |
9488 | 2001-10-24 Richard M. Stallman <rms@gnu.org> |
9489 | ||
9490 | * xfaces.c (Fface_attributes_as_vector): New function. | |
c2d53558 | 9491 | (syms_of_xfaces): Defsubr it. |
d436d538 | 9492 | |
f00691a3 | 9493 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
075c507b PJ |
9494 | |
9495 | * dispnew.c (sync_window_with_frame_matrix_rows): Remove unused | |
9496 | variable `area'. | |
9497 | ||
f00691a3 | 9498 | 2001-10-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
d492b584 | 9499 | |
c2d53558 | 9500 | * search.c (scan_newline): Remove unused variable `selective_display'. |
d492b584 | 9501 | |
e2a57b34 MB |
9502 | 2001-10-25 Miles Bader <miles@gnu.org> |
9503 | ||
9504 | * dispextern.h (struct image): Add `background', | |
9505 | `background_valid', and `background_transparent' fields. | |
9506 | (image_background, image_background_transparent): New declarations. | |
9507 | (IMAGE_BACKGROUND, IMAGE_BACKGROUND_TRANSPARENT): New macros. | |
9508 | * xfns.c (image_background, image_background_transparent) | |
9509 | (four_corners_best): New functions. | |
c2d53558 | 9510 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) |
e2a57b34 MB |
9511 | (gs_format): Add `:background' entry. |
9512 | (lookup_image): Set IMG's background color if specified. | |
9513 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | |
9514 | when appropriate. | |
9515 | (x_clear_image_1): Reset `background_valid' and | |
9516 | `background_transparent_valid' fields. | |
9517 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | |
9518 | calculating it here. Set IMG's background_transparent field. | |
9519 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | |
9520 | (enum png_keyword_index): Add PNG_BACKGROUND. | |
9521 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | |
9522 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | |
9523 | (enum gif_keyword_index): Add GIF_BACKGROUND. | |
9524 | (enum gs_keyword_index): Add GS_BACKGROUND. | |
c2d53558 | 9525 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): |
e2a57b34 MB |
9526 | Pre-calculate image background color where necessary. |
9527 | * xterm.c (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | |
9528 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | |
9529 | color to use for image glyph reliefs. | |
9530 | ||
b547b6e8 GM |
9531 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
9532 | ||
d9e3b8c6 GM |
9533 | * xterm.c (x_draw_glyphs): Don't check for cursor overwriting |
9534 | in full-width rows. | |
c2d53558 | 9535 | |
b547b6e8 GM |
9536 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
9537 | Fix clearing of area not covered by scroll bar. | |
9538 | ||
f00691a3 | 9539 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2beb36f9 PJ |
9540 | |
9541 | * xterm.c: (x_insert_glyphs): Remove unused variables `real_end' | |
9542 | and `real_start'. | |
c2d53558 | 9543 | (x_draw_image_foreground): Remove unused variables `mask' and `xgcv'. |
2beb36f9 PJ |
9544 | (glyph_rect): Remove unused variable `area'. |
9545 | ||
76cb5e06 GM |
9546 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
9547 | ||
bdbdebff | 9548 | * xdisp.c: Change #ifdef GLYPH_DEBUG to #if. |
c2d53558 SM |
9549 | |
9550 | * xdisp.c (try_window_reusing_current_matrix): Use row_containing_pos. | |
9551 | (row_containing_pos): Take additional argument DY. | |
9552 | Treat rows ending in middle of char differently. | |
62e33982 GM |
9553 | (display_line): Handle tabs on window systems differently. |
9554 | ||
9555 | * xterm.c, w32term.c (fast_find_position): Call row_containing_pos | |
9556 | with additional argument. | |
9557 | ||
9558 | * dispextern.h (row_containing_pos): Adjust prototype. | |
9559 | ||
76cb5e06 GM |
9560 | * xdisp.c (inhibit_try_window_id, inhibit_try_window_reusing) |
9561 | (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables. | |
9562 | (try_window_id, try_window_reusing_current_matrix) | |
9563 | (try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited. | |
6c465a15 | 9564 | (syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables. |
76cb5e06 | 9565 | |
f00691a3 | 9566 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
996fee11 | 9567 | |
c9e60620 PJ |
9568 | * xmenu.c: Spell the name of Emacs properly (GNU Emacs instead of |
9569 | gnuemacs). | |
9570 | (HAVE_BOXES): Fix typo in comment. | |
9571 | (push_menu_pane): Fix typo in comment. | |
9572 | ||
3b552d56 PJ |
9573 | * xdisp.c: (display_prop_string_p): Remove unused local declaration |
9574 | of `Qwhen'. | |
9575 | (single_display_prop_string_p): Remove unused local declarations | |
9576 | of `Qwhen' and `Qmargin'. | |
9577 | (string_buffer_position): Remove unused variable `around'. | |
9578 | (store_frame_title): Remove unused variable `width'. | |
9579 | ||
15c565ac PJ |
9580 | * window.c: Don't define max. |
9581 | (coordinates_in_window): Remove unused variable `uy'. | |
9582 | ||
a8818eb9 PJ |
9583 | * widget.c: Don't define max. |
9584 | ||
996fee11 PJ |
9585 | * process.c: Don't define max. |
9586 | (create_process): Remove unused variable `buffer'. | |
9587 | ||
496e1a5b GM |
9588 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
9589 | ||
c2d53558 | 9590 | * xfaces.c (Finternal_set_lisp_face_attribute): Fix compilation error. |
496e1a5b | 9591 | |
5905ae8b EZ |
9592 | 2001-10-23 Eli Zaretskii <eliz@is.elta.co.il> |
9593 | ||
9594 | * xfaces.c (Finternal_set_lisp_face_attribute) | |
9595 | [HAVE_WINDOW_SYSTEM]: Don't do anything for QCfont unless the | |
9596 | frame is on a windowed display. | |
9597 | ||
24db49fb GM |
9598 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
9599 | ||
c2d53558 SM |
9600 | * dispnew.c (sync_window_with_frame_matrix_rows): |
9601 | Fix handling of windows which aren't full-width, fix handling | |
c51488cd GM |
9602 | of marginal areas. |
9603 | ||
c2d53558 | 9604 | * lread.c (syms_of_lread) <recursive-load-depth-limit>: Raise to 50. |
24db49fb | 9605 | |
f0487f05 EZ |
9606 | 2001-10-23 Andreas Schwab <schwab@suse.de> |
9607 | ||
9608 | * m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override | |
9609 | LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc". | |
9610 | ||
f0a48a01 GM |
9611 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
9612 | ||
c2d53558 | 9613 | * xterm.c (x_draw_glyphs): Remove parameters READ_START and |
f0a48a01 GM |
9614 | REAL_END. Notice if cursor gets overwritten. |
9615 | (notice_overwritten_cursor): Take X positions as parameters. | |
9616 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | |
9617 | around call to x_draw_glyphs. | |
9618 | ||
f00691a3 | 9619 | 2001-10-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
a50a10a0 | 9620 | |
fc11dff0 PJ |
9621 | * syntax.c (modify-syntax-entry): Fix argument names (use CHAR |
9622 | instead of C) and usage. | |
a50a10a0 | 9623 | |
fc11dff0 PJ |
9624 | * editfns.c (char-to-string): Fix argument names (use CHAR instead |
9625 | of C) and usage. | |
a50a10a0 PJ |
9626 | |
9627 | * xfns.c (Fx_show_tip): Remove unused variables `buffer', `top', | |
9628 | `left', `max_width' and `max_height'. | |
9629 | ||
8738febd GM |
9630 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
9631 | ||
9632 | * xdisp.c (display_line): For a tab continued to the next line, | |
9633 | set row's ends_in_middle_of_char_p. | |
9634 | ||
653c329b GM |
9635 | 2001-10-22 Gerd Moellmann <gerd@gnu.org> |
9636 | ||
9637 | * xdisp.c (display_line): Fix computation of continuation lines | |
9638 | width for TABs. | |
9639 | ||
f00691a3 | 9640 | 2001-10-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
f958c5ac | 9641 | |
7ba51063 PJ |
9642 | * xdisp.c (build_desired_tool_bar_string): Remove unused variable |
9643 | `Qlaplace'. | |
9644 | ||
f958c5ac PJ |
9645 | * fileio.c: Remove unused code. |
9646 | ||
eb360291 MB |
9647 | 2001-10-22 Miles Bader <miles@gnu.org> |
9648 | ||
9649 | * lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL) | |
9650 | (DEFVAR_INT, DEFVAR_PER_BUFFER, DEFVAR_KBOARD): | |
9651 | Remove `DOC_STRINGS_IN_COMMENTS' cases. | |
9652 | ||
98515cf0 JR |
9653 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
9654 | ||
9655 | * w32term.c (x_erase_phys_cursor): Remove inverse_p again. | |
9656 | ||
93026d88 EZ |
9657 | 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il> |
9658 | ||
9659 | * mocklisp.c (Fml_if, Fml_provide_prefix_argument) | |
9660 | (Finsert_string): Avoid the multi-line string literals warning. | |
9661 | ||
c9a95b79 MB |
9662 | 2001-10-22 Miles Bader <miles@gnu.org> |
9663 | ||
9664 | * doc.c (Vhelp_manyarg_func_alist): Variable removed. | |
9665 | (Fdocumentation): Don't use it. | |
9666 | (syms_of_doc): Don't initialize it. | |
9667 | ||
9668 | * keyboard.c (Ftrack_mouse): Add usage: string to doc string. | |
9669 | * print.c (Fwith_output_to_temp_buffer): Likewise. | |
9670 | * window.c (Fsave_window_excursion): Likewise. | |
c2d53558 | 9671 | * editfns.c (Fsave_excursion, Fsave_current_buffer) |
c9a95b79 | 9672 | (Fsave_restriction): Likewise. |
c2d53558 SM |
9673 | * eval.c (Frun_hooks, Frun_hook_with_args) |
9674 | (Frun_hook_with_args_until_failure) | |
9675 | (Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif) | |
9676 | (Fcond, Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun) | |
9677 | (Fdefmacro, Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch) | |
c9a95b79 MB |
9678 | (Funwind_protect, Fcondition_case): Likewise. |
9679 | * coding.c (Ffind_operation_coding_system): Likewise. | |
9680 | * keyboard.c (Ftrack_mouse): Likewise. | |
9681 | ||
a3b10252 MB |
9682 | 2001-10-21 Miles Bader <miles@gnu.org> |
9683 | ||
c2d53558 | 9684 | * fns.c (Fappend, Fconcat, Fvconcat, Fnconc, Fwidget_apply) |
a3b10252 MB |
9685 | (Fmake_hash_table): Add usage: string to doc string. |
9686 | * editfns.c (Finsert, Finsert_and_inherit, Finsert_before_markers) | |
c2d53558 | 9687 | (Fmessage, Fmessage_box, Fmessage_or_box, Fpropertize, Fformat) |
a3b10252 MB |
9688 | (Fencode_time, Finsert_and_inherit_before_markers): Likewise. |
9689 | * mocklisp.c (Finsert_string, Fml_if, Fml_provide_prefix_argument) | |
9690 | (Fml_prefix_argument_loop): Likewise. | |
9691 | ||
f00691a3 | 9692 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c6f73eec | 9693 | |
c2d53558 | 9694 | * fileio.c (Finsert_file_contents): Remove unused variable `gap_size'. |
888ebd13 | 9695 | |
c6f73eec PJ |
9696 | * sysdep.c (init_sys_modes): Change doc-string comments to `new |
9697 | style' [w/`doc:' keyword]. | |
9698 | ||
9699 | * data.c, fileio.c, indent.c, print.c, search.c, sound.c, | |
9700 | * sunfns.c, textprop.c, undo.c, xselect.c: Change doc-string | |
9701 | comments to `new style' [w/`doc:' keyword]. | |
9702 | ||
3cf3436e JR |
9703 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
9704 | ||
9705 | * w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName. | |
9706 | ||
c169b8f1 JR |
9707 | * w32term.c (remember_mouse_glyph): New function. |
9708 | (w32_mouse_position): Use it. | |
9709 | (note_mouse_movement): If the mouse moved off the glyph, remember | |
9710 | its new position. | |
c2d53558 | 9711 | |
4fdd691b JR |
9712 | * w32term.h (struct w32_output): Correct spelling of x_compatible. |
9713 | (w32_display_info): Add mouse_face_overlay. | |
9714 | ||
c169b8f1 JR |
9715 | * w32term.c (notice_overwritten_cursor): Renamed from |
9716 | note_overwritten_text_cursor. Rewritten to take glyph widths into | |
9717 | account. | |
9718 | (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P. | |
9719 | (fast_find_string_pos): New function. | |
9720 | (fast_find_position): Return the correct vpos. Add parameter | |
9721 | STOP. In the final row, stop before glyphs having STOP as object. | |
9722 | Don't consider glyphs that are not from a buffer. | |
9723 | (fast_find_position) [0]: Add a presumably more correct version | |
9724 | for after 21.1. | |
9725 | (expose_window_tree, expose_frame): Don't compute intersections here. | |
9726 | (expose_window): Do it here instead. | |
9727 | (expose_window_tree, expose_window, expose_line): Return 1 when | |
9728 | overwriting mouse-face. | |
9729 | (expose_window): If W is the window currently being updated, mark | |
9730 | the frame garbaged. | |
9731 | (expose_frame): If mouse-face was overwritten, redo it. | |
9732 | (x_use_underline_position_properties): New variable. | |
9733 | (syms_of_xterm): DEFVAR_BOOL it. | |
9734 | (x_draw_glyph_string): Add comment to use it in future. | |
9735 | (x_draw_glyph_string): Restore clipping after drawing box. | |
9736 | Fix a computation of the underline position. | |
9737 | (w32_get_glyph_string_clip_rect): Minor cleanup. | |
9738 | (x_fill_stretch_glyph_string): Remove an assertion. | |
9739 | (x_produce_glyphs): Don't convert multibyte characters | |
9740 | to unibyte characters in unibyte buffers. | |
9741 | (cursor_in_mouse_face_p): New function. | |
9742 | (x_draw_stretch_glyph_string): Use it to choose a different GC | |
9743 | when drawing a cursor within highlighted text. Don't draw | |
9744 | background again if it has already been drawn. | |
9745 | (x_draw_glyph_string_box): Don't draw a full-width | |
9746 | box just because the glyph row's full_width_p flag is set. | |
9747 | (x_draw_glyphs): Fix computation of rightmost x for | |
9748 | full-width rows. | |
9749 | (x_dump_glyph_string): Put in #if GLYPH_DEBUG. | |
9750 | (w32_draw_relief_rect): Extend left shadow to the bottom and left; | |
9751 | change bottom shadow accordingly. Some cleanup. | |
9752 | (x_update_window_end): Handle overwritten mouse face | |
9753 | also for tool bar windows. | |
9754 | (show_mouse_face): Set the glyph row's mouse_face_p flag also when | |
9755 | DRAW is DRAW_IMAGE_RAISED. | |
9756 | (clear_mouse_face): Return 1 if text with mouse face was | |
2c568af5 SM |
9757 | actually redrawn. Make the function static. |
9758 | Reset dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might | |
c169b8f1 JR |
9759 | optimize away highlighting if we pass over that same overlay again. |
9760 | (note_mouse_highlight): Call mouse_face_overlay_overlaps | |
9761 | to detect a case where we have to highlight a different region | |
9762 | despite not having left the currently highlighted region. | |
9763 | Set mouse_face_overlay in the x_display_info. Avoid changing the | |
9764 | mouse pointer shape when show_mouse_face has already done it, or | |
9765 | there is no need. Handle mouse-face and help-echo in strings. | |
9766 | (glyph_rect): New function. | |
9767 | (w32_mouse_position): Use it to raise the threshold for mouse | |
9768 | movement event generation. | |
9769 | (w32_initialize_display_info): Initialize the x_display_info's | |
9770 | mouse_face_overlay. | |
9771 | (w32_set_vertical_scroll_bar): Don't clear a zero height | |
9772 | or width area. | |
9773 | (w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure | |
9774 | a widget to zero height. | |
9775 | ||
3cf3436e | 9776 | * w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]: |
4fdd691b | 9777 | Protect unibyte strings created by replacing their multibyte |
3cf3436e JR |
9778 | equivalents in menu_items. |
9779 | (w32_menu_show): Don't overwrite an item's name with its key | |
9780 | description in case the description is a multibyte string. | |
9781 | (single_submenu): Some cleanup. | |
9782 | ||
9783 | * w32fns.c (x_laplace_read_row, x_laplace_write_row): Removed. | |
9784 | (postprocess_image): New function. | |
9785 | (lookup_image): Call it for all image types except PostScript. | |
9786 | (x_kill_gs_process): Call postprocess_image. | |
9787 | (tiff_error_handler, tiff_warning_handler): New functions. | |
9788 | (tiff_load): Install them as handlers. | |
9789 | (x_kill_gs_process): Recognize if someone has cleared the image | |
9790 | cache under us. | |
9791 | (valid_image_p): Protect better against invalid image | |
9792 | specifications. Previous code could signal an error. | |
9793 | (Fx_hide_tip, Fshow_tip): Doc fix. | |
9794 | (Fv_max_tooltip_size): New variable. | |
9795 | (syns_of_xfns): DEFVAR_LISP it. | |
9796 | (Fx_show_tip): Add parameter TEXT. Set the tip frame's root | |
9797 | window buffer to *tip* right after creating the frame. Set frame's | |
9798 | window_width. Use a maximum tooltip size specified by | |
9799 | Vx_max_tooltip_size, if that has valid contents. | |
9800 | (compute_tip_xy): Add parameters WIDTH and HEIGHT. | |
9801 | Make sure the tooltip is completely visible. | |
9802 | (x_create_tip_frame): Set tooltip buffer's truncate-lines to nil. | |
9803 | (Fx_create_frame): Adjust the frame's height for presence | |
9804 | of the tool bar before calling x_figure_window_size. | |
9805 | (x_set_tool_bar_lines): Clear the tool bar window's current matrix | |
9806 | when the window gets smaller. | |
9807 | (x_set_foreground_color): Set frame's cursor_pixel. | |
9808 | (x_set_foreground_color, x_set_background_color): Cleaned up. | |
9809 | (x_set_font): Handle case of x_new_fontset returning the same name | |
9810 | as before, although there was a change in fontsets. | |
9811 | ||
386ca361 MB |
9812 | 2001-10-21 Miles Bader <miles@gnu.org> |
9813 | ||
c2d53558 | 9814 | * data.c (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior) |
386ca361 MB |
9815 | (Flogxor): Add usage: string to doc string. |
9816 | * charset.c (Fstring): Likewise. | |
9817 | * callproc.c (Fcall_process_region, Fcall_process): Likewise. | |
9818 | * alloc.c (Fmake_byte_code, Fvector, Flist): Likewise. | |
9819 | ||
f00691a3 | 9820 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
14ff1ee0 | 9821 | |
03be2694 PJ |
9822 | * buffer.c: Reindent DEFUNs and DEFVARs with doc: keywords. |
9823 | ||
9824 | * alloc.c: Reindent DEFUNs with doc: keywords. | |
9825 | ||
9826 | * abbrev.c (Finsert_abbrev_table_description): Reindent. | |
9827 | ||
14ff1ee0 PJ |
9828 | * frame.c: Change doc-string comments to `new style' [w/`doc:' |
9829 | keyword]. | |
9830 | ||
2f147815 | 9831 | See ChangeLog.9 for earlier changes. |
6922b018 KH |
9832 | |
9833 | ;; Local Variables: | |
49b3bd82 | 9834 | ;; coding: iso-2022-7bit |
6922b018 | 9835 | ;; End: |
2a34a036 | 9836 | |
2f147815 | 9837 | Copyright (C) 2001, 2002 Free Software Foundation, Inc. |
2a34a036 GM |
9838 | Copying and distribution of this file, with or without modification, |
9839 | are permitted provided the copyright notice and this notice are preserved. |