Mercurial > emacs
annotate src/ChangeLog @ 32799:8c6128d7324f
*** empty log message ***
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 24 Oct 2000 04:38:25 +0000 |
parents | ec1b8e12011d |
children | a82fae321afc |
rev | line source |
---|---|
32799 | 1 2000-10-24 Kenichi Handa <handa@etl.go.jp> |
2 | |
3 * window.c (Fdisplay_buffer): Fix doc. | |
4 | |
32793 | 5 2000-10-23 Jason Rumney <jasonr@gnu.org> |
6 | |
7 * fontset.c (syms_of_fontset) [WINDOWSNT]: Special case for | |
8 ASCII font of default fontset on Windows. | |
9 | |
10 * w32term.c (VCENTER_BASELINE_OFFSET): Bias division (see | |
11 xterm.c comment below). | |
12 | |
13 * w32fns.c (x_to_w32_font): Initialize dpi from dpyinfo->resy. | |
14 | |
32777 | 15 2000-10-23 Gerd Moellmann <gerd@gnu.org> |
16 | |
17 * xterm.c (x_connection_closed): Reset handling_signal. | |
18 | |
19 * alloc.c (emacs_blocked_free) [GC_MALLOC_CHECK]: Handle freeing | |
20 null. | |
21 | |
32774 | 22 2000-10-23 Miles Bader <miles@gnu.org> |
23 | |
24 * window.c (window_scroll_pixel_based, window_scroll_line_based): | |
25 Pass nil for FULLY argument to Fpos_visible_in_window_p to | |
26 maintain old behavior. | |
27 * minibuf.c (Fminibuffer_complete): Likewise. | |
28 | |
32755 | 29 2000-10-23 Miles Bader <miles@lsi.nec.co.jp> |
30 | |
31 * xterm.c (VCENTER_BASELINE_OFFSET): Bias the division by two, so | |
32 that when a font can't be exactly centered, it errs up rather than | |
33 down. | |
34 | |
32777 | 35 2000-10-22 ShengHuo ZHU <zsh@cs.rochester.edu> |
32753
401f661f11d4
2000-10-22 15:07:47 ShengHuo ZHU <zsh@cs.rochester.edu>
ShengHuo ZHU <zsh@cs.rochester.edu>
parents:
32752
diff
changeset
|
36 |
401f661f11d4
2000-10-22 15:07:47 ShengHuo ZHU <zsh@cs.rochester.edu>
ShengHuo ZHU <zsh@cs.rochester.edu>
parents:
32752
diff
changeset
|
37 * fns.c (Fbase64_decode_string): The decoded result should be |
401f661f11d4
2000-10-22 15:07:47 ShengHuo ZHU <zsh@cs.rochester.edu>
ShengHuo ZHU <zsh@cs.rochester.edu>
parents:
32752
diff
changeset
|
38 unibyte. |
401f661f11d4
2000-10-22 15:07:47 ShengHuo ZHU <zsh@cs.rochester.edu>
ShengHuo ZHU <zsh@cs.rochester.edu>
parents:
32752
diff
changeset
|
39 |
32752
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
40 2000-10-23 Andrew Choi <akochoi@i-cable.com> |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
41 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
42 * dispextern.h [macintosh]: Include macgui.h instead of macterm.h. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
43 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
44 * dispnew.c [macintosh]: Include macterm.h. |
32777 | 45 (init_display) [macintosh]: Initialization for window system. |
32752
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
46 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
47 * emacs.c (main) [macintosh]: Call syms_of_textprop, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
48 syms_of_macfns, syms_of_ccl, syms_of_fontset, syms_of_xterm, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
49 syms_of_search, x_term_init, and init_keyboard before calling |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
50 init_window_once. Also, call syms_of_xmenu. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
51 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
52 * fontset.c (syms_of_fontset) [macintosh]: Set ASCII font of |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
53 default fontset to Monaco. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
54 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
55 * frame.c [macintosh]: Include macterm.h. Remove declarations of |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
56 NewMacWindow and DisposeMacWindow. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
57 (make_terminal_frame) [macintosh]: Call make_mac_terminal_frame |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
58 instead of calling NewMacWindow and setting fields of |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
59 f->output_data.mac directly. Call init_frame_faces. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
60 (Fdelete_frame) [macintosh]: Remove unused code. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
61 (Fmodify_frame_parameters) [macintosh]: Call |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
62 x_set_frame_parameters instead of mac_set_frame_parameters. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
63 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
64 * frame.h [macintosh]: Define menu_bar_lines field in struct |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
65 frame. Define FRAME_EXTERNAL_MENU_BAR macro. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
66 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
67 * keyboard.c [macintosh]: Include macterm.h. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
68 (kbd_buffer_get_event) [macintosh]: Generate delete_window_event |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
69 and menu_bar_activate_event type events as for X and NT. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
70 (make_lispy_event) [macintosh]: Construct lisp events of type |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
71 MENU_BAR_EVENT as for X and NT. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
72 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
73 * sysdep.c [macintosh]: Remove declaration for sys_signal. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
74 Include stdlib.h. Remove definition of Vx_bitmap_file_path. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
75 (sys_subshell) [macintosh]: Remove definition entirely. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
76 (init_sys_modes) [macintosh]: Do not initialize Vwindow_system and |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
77 Vwindow_system_version here. Remove initialization of |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
78 Vx_bitmap_file_path. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
79 (read_input_waiting): Correct the number of parameters passed to |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
80 read_socket_hook. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
81 Move all Macintosh functions to mac/mac.c. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
82 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
83 * term.c [macintosh]: Include macterm.h. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
84 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
85 * window.c [macintosh]: Include macterm.h. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
86 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
87 * xdisp.c [macintosh]: Include macterm.h. Declare |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
88 set_frame_menubar and pending_menu_activation. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
89 (echo_area_display) [macintosh]: Do not return if terminal frame |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
90 is the selected frame. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
91 (update_menu_bar) [macintosh]: Check FRAME_EXTERNAL_MENU_BAR (f). |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
92 Allow only the selected frame to set menu bar. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
93 (redisplay_window) [macintosh]: Obtain menu bar to redisplay by |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
94 calling FRAME_EXTERNAL_MENU_BAR (f). |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
95 (display_menu_bar) [macintosh]: Check FRAME_MAC_P (f). |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
96 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
97 * xfaces.c [macintosh]: Include macterm.h. Define x_display_info |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
98 and check_x. Declare XCreateGC. Define x_create_gc and |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
99 x_free_gc. Initialize font_sort_order. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
100 (x_face_list_fonts) [macintosh]: Use the same code as WINDOWSNT, |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
101 but call x_list_fonts instead of w32_list_fonts. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
102 (Finternal_face_x_get_resource) [macintosh]: Do not call |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
103 display_x_get_resource. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
104 (prepare_face_for_display) [macintosh]: Set xgcv.font. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
105 (realize_x_face) [macintosh]: Load the font if it is specified in |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
106 ATTRS. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
107 (syms_of_xfaces) [macintosh]: Initialize Vscalable_fonts_allowed |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
108 to Qt. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
109 |
32740
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
110 2000-10-22 Stefan Monnier <monnier@cs.yale.edu> |
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
111 |
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
112 * keymap.c (fix_submap_inheritance): Don't do anything if parent_entry |
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
113 is nil: since we go to the end of submap anyway, we'd end up |
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
114 setting nil to nil. |
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
115 (access_keymap): Don't use KEYMAPP on meta_map since KEYMAPP |
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
116 doesn't obey autoload. |
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
117 |
32731 | 118 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il> |
119 | |
32740
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
120 * msdos.c (dos_set_window_size): Update screen dimension variables. |
32731 | 121 |
32726 | 122 2000-10-21 Jason Rumney <jasonr@gnu.org> |
123 | |
124 * w32term.c (w32_cache_char_metrics): Double check that font is | |
125 really fixed pitch before trusting tmPitchAndFamily. | |
126 | |
32725 | 127 2000-10-21 Andrew Innes <andrewi@gnu.org> |
128 | |
129 * w32gui.h (w32_char_font_type): Move enum from w32term.c | |
130 | |
131 * w32term.h: Extern decl for w32_cache_char_metrics. | |
132 | |
133 * w32bdf.c (w32_load_bdf_font): Call w32_cache_char_metrics. | |
134 | |
135 * w32fns.c (w32_load_system_font): Call w32_cache_char_metrics. | |
136 (w32_unload_font): Free per_char array if present. | |
137 | |
138 * w32term.c (w32_per_char_metric): Remove HDC argument. Use | |
139 cached information in emulated XFontStruct to handle common cases | |
140 quickly. Do not allocate XCharStruct for return. | |
141 (w32_native_per_char_metric): New function. | |
142 (w32_bdf_per_char_metric): Fill in supplied XCharStruct instead of | |
143 allocating one. | |
144 (x_produce_glyphs): Don't get an HDC. Change calls to | |
145 w32_per_char_metric to match arg change above. Remove calls to | |
146 free results. | |
147 (w32_get_glyph_overhangs): Ditto. | |
148 (w32_cache_char_metrics): New function. | |
149 | |
150 * makefile.w32-in: Change .obj to .$(O) in all dependencies. | |
151 ($(BLD)/casefiddle.$(O)): Remove compile command. | |
152 ($(BLD)/gmalloc.$(O)): Remove compile command. | |
153 ($(BLD)/dispnew.obj): | |
154 ($(BLD)/keyboard.obj): | |
155 ($(BLD)/w32inevt.obj): | |
156 ($(BLD)/w32bdf.obj): | |
157 ($(BLD)/alloc.obj): | |
158 ($(BLD)/buffer.obj): | |
159 ($(BLD)/editfns.obj): | |
160 ($(BLD)/emacs.obj): | |
161 ($(BLD)/fileio.obj): | |
162 ($(BLD)/fns.obj): | |
163 ($(BLD)/indent.obj): | |
164 ($(BLD)/insdel.obj): | |
165 ($(BLD)/intervals.obj): | |
166 ($(BLD)/minibuf.obj): | |
167 ($(BLD)/print.obj): | |
168 ($(BLD)/scroll.obj): | |
169 ($(BLD)/sysdep.obj): | |
170 ($(BLD)/textprop.obj): | |
171 ($(BLD)/widget.obj): | |
172 ($(BLD)/xdisp.obj): Add dependency on w32gui.h. | |
173 ($(BLD)/term.obj): Add dependency on dispextern.h. | |
174 | |
175 * makefile.nt ($(BLD)\dispnew.obj): | |
176 ($(BLD)\keyboard.obj): | |
177 ($(BLD)\w32inevt.obj): | |
178 ($(BLD)\w32bdf.obj): | |
179 ($(BLD)\alloc.obj): | |
180 ($(BLD)\buffer.obj): | |
181 ($(BLD)\editfns.obj): | |
182 ($(BLD)\emacs.obj): | |
183 ($(BLD)\fileio.obj): | |
184 ($(BLD)\fns.obj): | |
185 ($(BLD)\indent.obj): | |
186 ($(BLD)\insdel.obj): | |
187 ($(BLD)\intervals.obj): | |
188 ($(BLD)\minibuf.obj): | |
189 ($(BLD)\print.obj): | |
190 ($(BLD)\scroll.obj): | |
191 ($(BLD)\sysdep.obj): | |
192 ($(BLD)\textprop.obj): | |
193 ($(BLD)\widget.obj): | |
194 ($(BLD)\xdisp.obj): Add dependency on w32gui.h. | |
195 ($(BLD)\term.obj): Add dependency on dispextern.h | |
196 | |
32715 | 197 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il> |
198 | |
199 * minibuf.c (Fminibuffer_complete): Call Fpos_visible_in_window_p | |
200 with an additional argument of Qt. | |
201 | |
32712 | 202 2000-10-21 Miles Bader <miles@gnu.org> |
203 | |
204 * window.c (pos_fully_visible_in_window_p): New function. | |
205 (Fpos_visible_in_window_p): Add FULLY argument. | |
206 Use pos_fully_visible_in_window_p. | |
207 (window_scroll_pixel_based, window_scroll_line_based): Update | |
208 calls to Fpos_visible_in_window_p. | |
209 * lisp.h (Fpos_visible_in_window_p): Update prototype | |
210 | |
32701 | 211 2000-10-20 Gerd Moellmann <gerd@gnu.org> |
212 | |
213 * alloc.c (toplevel): Conditionalize compilation of mem_* | |
214 functions differently. | |
215 | |
32698 | 216 2000-10-20 Jason Rumney <jasonr@gnu.org> |
217 | |
218 * alloc.c (toplevel): Move #ifdef GC_MARK_STACK back to above | |
219 mem_init where it used to be. mem_z etc not defined otherwise. | |
220 | |
32694 | 221 2000-10-20 Gerd Moellmann <gerd@gnu.org> |
222 | |
223 * alloc.c (toplevel) [SYSTEM_MALLOC || DOUG_LEA_MALLOC]: Undef | |
224 GC_MALLOC_CHECK. | |
225 (toplevel) [GC_MARK_STACK || GC_MALLOC_CHECK]: Move mem_node | |
226 structure definition and related variabled to the top of the file. | |
227 Include this code when GC_MALLOC_CHECK is defined. | |
228 (lisp_malloc, lisp_free) [GC_MALLOC_CHECK]: Don't | |
229 register/unregister allocated region. | |
230 (emacs_blocked_free) [GC_MALLOC_CHECK]: Check if freeing something | |
231 which isn't allocated. | |
232 (emacs_blocked_malloc) [GC_MALLOC_CHECK]: Check if returning | |
233 something which is already in use. | |
234 (emacs_blocked_realloc) [GC_MALLOC_CHECK]: Likewise. | |
235 (mem_insert) [GC_MALLOC_CHECK]: Use _malloc_internal. | |
236 (mem_delete) [GC_MALLOC_CHECK]: Use _free_internal. | |
237 (init_alloc_once) [GC_MALLOC_CHECK]: Call mem_init. | |
238 | |
239 * gmalloc.c (_malloc_internal) [GC_MALLOC_CHECK]: Use | |
240 _malloc_internal instead of malloc. | |
241 (_free_internal) [GC_MALLOC_CHECK]: Use _free_internal instead | |
242 of free. | |
243 | |
32688 | 244 2000-10-20 Andrew Innes <andrewi@gnu.org> |
245 | |
246 * strftime.c [!WINDOWSNT]: Don't apply Solaris 2.5 work-around on | |
247 Windows. | |
248 (my_strftime) <macro>: Don't use macro arg list when redefining as | |
249 _strftime_copytm. | |
250 (my_strftime) <function>: Supply 0 as ut argument. | |
251 | |
32673 | 252 2000-10-19 Jason Rumney <jasonr@altavista.net> |
253 | |
254 * w32console.c: Do not undef HAVE_WINDOW_SYSTEM before | |
255 including dispextern.h, as it stops faces from working. | |
256 | |
257 * w32fns.c (Fx_create_frame): Don't bother calling | |
258 face-set-after-frame-default since the caller does it for us | |
259 anyway. Clean up calls to x_get_arg to be consistent with X. | |
260 | |
261 * w32term.c (x_produce_glyphs): Handle | |
262 unibyte_display_via_language_environment correctly. | |
263 (w32_draw_box_rect): Fix the calculation of width and height. | |
264 | |
265 * w32menu.c (add_menu_item): Do not use MF_OWNERDRAW for titles, | |
266 as it has stopped working. | |
267 (Fx_popup_menu, Fx_popup_dialog): Check for tool-bar position like | |
268 menu-bar. | |
269 | |
32658 | 270 2000-10-19 Gerd Moellmann <gerd@gnu.org> |
271 | |
272 * eval.c (skip_debugger): Prevent a compiler warning. | |
273 (Fcondition_case): Likewise. | |
274 (Fbacktrace_frame): Use a null interactive spec. | |
275 | |
32644 | 276 2000-10-19 Kenichi Handa <handa@etl.go.jp> |
277 | |
278 * xterm.c (x_find_ccl_program): Check also fontp->full_name. | |
279 | |
32610 | 280 2000-10-18 Gerd Moellmann <gerd@gnu.org> |
281 | |
32630 | 282 * strftime.c: Sync with glibc, file version 1.78. |
283 (my_strftime) [HAVE_TZNAME]: Use `UTC' instead of `GMT' which | |
284 should no longer be used according to ISO 8601. | |
285 | |
32625 | 286 * keymap.c (access_keymap): If IDX has a meta prefix, and there's |
287 no map for meta_prefix_char, don't try to use it as a keymap. | |
288 Instead, if T_OK is non-zero, look up a default binding, if any, | |
289 otherwise, if T_OK is zero, return nil. | |
290 | |
32610 | 291 * xfns.c (x_to_xcolors, x_set_mouse_color, lookup_pixel_color) |
292 (x_to_xcolors, png_load): Use x_query_color. | |
293 | |
294 * xterm.c (x_color_cells, x_query_colors, x_query_color): New | |
295 functions. | |
296 (x_alloc_nearest_color): Use it to reduce calls to XQueryColors | |
297 which can be slow. | |
298 (x_copy_color, x_alloc_lighter_color): Likewise. | |
299 | |
300 * xterm.h (struct x_display_info): Add color_cells and ncolor_cells. | |
301 (x_query_color, x_query_colors): Add prototype. | |
302 | |
303 * alloc.c (allocate_string) [GC_CHECK_STRING_BYTES]: Call | |
304 check_string_bytes only if not noninteractive, increase count to 50. | |
305 | |
32602 | 306 2000-10-18 Miles Bader <miles@lsi.nec.co.jp> |
307 | |
308 * insdel.c (adjust_markers_for_delete): Handle before-insertion | |
309 markers correctly. | |
310 | |
32586 | 311 2000-10-17 Gerd Moellmann <gerd@gnu.org> |
312 | |
32595 | 313 * alloc.c (pure_bytes_used): Renamed from pureptr. |
314 (ALIGN): New macro. | |
315 (pure_alloc): New function. | |
316 (make_pure_string, pure_cons, make_pure_float, make_pure_vector): | |
317 Use it. | |
318 (Fpurecopy): Use PURE_POINTER_P. | |
319 | |
32593 | 320 * xdisp.c (try_cursor_movement): Use cursor_row_p also when |
321 PT has moved backward. | |
322 | |
32591 | 323 * xdisp.c (cursor_row_p): Take continued lines into account. |
324 | |
32587
b3918817f15f
(mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
Gerd Moellmann <gerd@gnu.org>
parents:
32586
diff
changeset
|
325 * alloc.c (mark_object) [GC_CHECK_STRING_BYTES]: Check validity of |
b3918817f15f
(mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
Gerd Moellmann <gerd@gnu.org>
parents:
32586
diff
changeset
|
326 string's size_byte. |
b3918817f15f
(mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
Gerd Moellmann <gerd@gnu.org>
parents:
32586
diff
changeset
|
327 (check_string_bytes) [GC_CHECK_STRING_BYTES]: New function. |
b3918817f15f
(mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
Gerd Moellmann <gerd@gnu.org>
parents:
32586
diff
changeset
|
328 (check_string_bytes_count) [GC_CHECK_STRING_BYTES]: New variable. |
b3918817f15f
(mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
Gerd Moellmann <gerd@gnu.org>
parents:
32586
diff
changeset
|
329 (allocate_string) [GC_CHECK_STRING_BYTES]: Call it for every 10th |
b3918817f15f
(mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
Gerd Moellmann <gerd@gnu.org>
parents:
32586
diff
changeset
|
330 string allocated. |
b3918817f15f
(mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
Gerd Moellmann <gerd@gnu.org>
parents:
32586
diff
changeset
|
331 |
32586 | 332 * xdisp.c (forward_to_next_line_start): Switch iterator's handling |
333 of selective display off while searching for the next line start. | |
334 | |
32561 | 335 2000-10-17 Kenichi Handa <handa@etl.go.jp> |
336 | |
337 * Makefile.in (term.o): Depend on dispextern.h. | |
338 | |
32560
aaa33e5bc33b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32556
diff
changeset
|
339 2000-10-16 Stefan Monnier <monnier@cs.yale.edu> |
aaa33e5bc33b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32556
diff
changeset
|
340 |
aaa33e5bc33b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32556
diff
changeset
|
341 * keymap.c (keymap_memberp): Ensure that nil is not a member. |
aaa33e5bc33b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32556
diff
changeset
|
342 |
32550 | 343 2000-10-16 Gerd Moellmann <gerd@gnu.org> |
344 | |
32555 | 345 * xdisp.c (set_iterator_to_next): Reset box start and end flags of |
346 the iterator at the beginning, so that they can be set later on, | |
32556 | 347 for instance in reseat_at_next_visible_line_start, without being |
32554 | 348 overwritten. |
349 | |
32550 | 350 * xfns.c (pbm_format): Add :foreground and :background keywords. |
351 (PBM_FOREGROUND, PBM_BACKGROUND): New enumerators. | |
32555 | 352 (xbm_load): Recognize foreground and background color |
32550 | 353 specifications. |
354 | |
32548 | 355 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il> |
356 | |
357 * dispextern.h (unspecified_fg, unspecified_bg): Declare. | |
358 | |
359 * dosfns.c (unspecified_fg, unspecified_bg): Remove extern | |
360 declaration. | |
361 | |
362 * msdos.c (IT_set_face): Compare highlighted face with the default | |
363 face, and invert colors if these faces' colors are identical. | |
364 (Fmsdos_remember_default_colors): Don't swap foreground and | |
365 background colors in initial_colors[]. | |
366 (IT_set_frame_parameters): Don't swap frame's foreground and | |
367 background pixels. If ALIST includes "(reverse . t)", swap | |
368 foreground-color and background-color properties in frame's | |
369 param_alist. If the original frame's param_alist doesn't specify | |
370 the colors, store unspecified-fg and unspecified-bg, reversed if | |
371 required. | |
372 | |
373 * frame.c (Fframe_parameters): If a tty's frame's param_alist says | |
374 the colors are unspecified and reversed, reverse fore- and back- | |
375 ground in the returned value. | |
376 (Fframe_parameter): Ditto. | |
377 | |
32535 | 378 2000-10-16 Gerd Moellmann <gerd@gnu.org> |
379 | |
32541 | 380 * xdisp.c (find_last_unchanged_at_beg_row): Renamed from |
381 get_last_unchanged_at_beg_row. | |
382 (find_first_unchanged_at_end_row): Renamed from | |
383 get_first_unchanged_at_end_row. | |
384 (find_first_unchanged_at_end_row): Convert assertions to | |
385 unconditional tests which abort. When looking for a row in | |
386 unchanged text, don't go further back than first_text_row. | |
387 | |
32535 | 388 * xdisp.c (try_scrolling) <cursor in scroll margin at the bottom>: |
389 Don't add in the last line's height when deciding if the new | |
390 position is below the scroll margin. | |
391 | |
32525 | 392 2000-10-16 Miles Bader <miles@gnu.org> |
32518 | 393 |
394 * editfns.c (Fconstrain_to_field): Check carefully for field | |
395 boundaries if either OLD_POS or NEW_POS has a non-nil field | |
396 property, even if they're the same. | |
397 | |
32512 | 398 2000-10-16 Kenichi Handa <handa@etl.go.jp> |
399 | |
400 * xterm.c (x_draw_box_rect): Fix the calculation of width and | |
401 height for XFillRectangle. | |
402 | |
32510
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
403 2000-10-15 Stefan Monnier <monnier@cs.yale.edu> |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
404 |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
405 * syntax.c (Fstring_to_syntax): New function extracted from |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
406 Fmodify_syntax_entry. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
407 (Fmodify_syntax_entry): Use it and document the ! and | fences. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
408 (skip_chars, Fforward_comment): Remove unused variables. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
409 (syms_of_syntax): Add defsubr for string-to-syntax. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
410 (describe_syntax): Add code for comment and string fences. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
411 |
32477
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
412 2000-10-14 Stefan Monnier <monnier@cs.yale.edu> |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
413 |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
414 * keymap.c (access_keymap): Add AUTOLOAD parameter. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
415 Do the meta->esc mapping. Call get_keyelt before returning. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
416 Start scanning from the second element (the first is always `keymap') |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
417 to make it easier to detect when we reach a parent map. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
418 Handle the case of inheriting from a symbol whose function is a map. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
419 (Fkeymap_parent): Also handle the `inherit from symbol' case. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
420 (fix_submap_inheritance, Fdefine_key): Update call to access_keymap. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
421 (get_keyelt, Flookup_key): Update call to access_keymap. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
422 Remove the meta->esc mappings. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
423 (define_as_prefix): Delete old disabled code. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
424 (menu_item_p): New function. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
425 (where_is_internal_1): Skip over the few remaining menu items. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
426 * lisp.h (access_keymap): Update prototype. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
427 * keyboard.c (read_char, menu_bar_items, tool_bar_items): |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
428 Update call to access_keymap. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
429 (follow_key, read_key_sequence): Update calls to access_keymap. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
430 Remove the meta->esc mappings. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
431 |
32461 | 432 2000-10-13 Gerd Moellmann <gerd@gnu.org> |
433 | |
32469 | 434 * dispnew.c (direct_output_for_insert): Call set_iterator_to_next |
435 with additional argument. | |
436 | |
32461 | 437 * xdisp.c (cursor_row_p): New function. |
438 (try_cursor_movement, display_line): Use it. | |
439 | |
440 * xdisp.c (append_space): Also save/restore iterator's current | |
441 character and its length. | |
442 | |
443 * xdisp.c (init_from_display_pos): Add an assertion. | |
444 (handle_stop): Don't set iterator's add_overlay_start. | |
445 (handle_invisible_prop): Likewise. | |
446 (load_overlay_strings): If text under an overlay is invisible, | |
447 take both before- and after-strings into account when the iterator | |
448 is positioned either at the start or at the end of the overlay. | |
449 (forward_to_next_line_start): Rewritten. | |
450 (reseat_at_next_visible_line_start): Rewritten. | |
451 (set_iterator_to_next): Add parameter RESEAT_P. | |
452 | |
453 * dispextern.h (struct it): Remove member add_overlay_start. | |
454 (set_iterator_to_next): Change prototype. | |
455 | |
32442 | 456 2000-10-13 Kenichi Handa <handa@etl.go.jp> |
457 | |
458 * coding.c (code_convert_region): Be sure to initialize | |
459 coding->category_idx. | |
32444 | 460 (decode_coding_string): Set coding->src_multibyte and |
461 coding->dst_multibyte before using CODING_REQUIRE_DECODING. | |
462 (encode_coding_string): Set coding->src_multibyte and | |
463 coding->dst_multibyte before using CODING_REQUIRE_ENCODING. | |
32442 | 464 |
32434
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
465 2000-10-12 Stefan Monnier <monnier@cs.yale.edu> |
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
466 |
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
467 * xfns.c (Fx_create_frame): Don't bother calling |
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
468 face-set-after-frame-default since the caller does it for us anyway. |
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
469 |
32427 | 470 2000-10-12 Eli Zaretskii <eliz@is.elta.co.il> |
471 | |
472 * window.c (coordinates_in_window): Fix detection of vertical line | |
473 on character terminals. | |
474 | |
32421 | 475 2000-10-12 Gerd Moellmann <gerd@gnu.org> |
476 | |
477 * editfns.c (save_excursion_save): Additionally record the | |
478 selected window. | |
479 (save_excursion_restore): If buffer was visible in a window, and a | |
480 different window was selected, and the old selected window is | |
481 still live, restore point in that window. | |
482 | |
32397 | 483 2000-10-12 Kenichi Handa <handa@etl.go.jp> |
484 | |
32400 | 485 * xterm.c (x_produce_glyphs): Handle |
486 unibyte_display_via_language_environment correctly. | |
487 | |
32398 | 488 * regex.c (regex_compile): Change the way of handling a range from |
489 unibyte char to multibyte char. | |
490 | |
491 * syntax.c (skip_chars): Change the way of handling a range from | |
492 unibyte char to multibyte char. | |
493 | |
32397 | 494 * process.c (read_process_output): Cancel previous change. |
495 | |
32381 | 496 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il> |
497 | |
32388 | 498 * search.c (Fsearch_backward, Fsearch_forward): Doc fix. |
499 | |
32381 | 500 * charset.c (Ffind_charset_string): Doc fix. |
501 (Ffind_charset_region): Doc fix. | |
502 | |
32369 | 503 2000-10-11 Kenichi Handa <handa@mule.m17n.org> |
504 | |
32370 | 505 * process.c (read_process_output): Fix previous change. Adjust |
506 multibyteness of text to insert in a buffer by | |
32372 | 507 string_make_unibyte/multibyte instead of |
32370 | 508 Fstring_as_unibyte/multibyte. |
32369 | 509 |
32361 | 510 2000-10-10 Andreas Schwab <schwab@suse.de> |
511 | |
512 * alloc.c (mark_object): Remove all workarounds installed on | |
513 1993-08-08. | |
514 | |
32352 | 515 2000-10-10 Kenichi Handa <handa@etl.go.jp> |
516 | |
517 * fns.c (READ_QUADRUPLET_BYTE): Set *NCHARS_RETURN before | |
518 returning. | |
519 (base64_encode_1): Make it work for a text of multibyte form. | |
520 (Fbase64_decode_region): Allocate sufficient memory for multibyte | |
521 case. Don't call str_to_multibyte because base64_decode_1 | |
522 produces correct multibyte form for eight-bit codes. | |
523 (Fbase64_decode_string): Adjusted for the change of | |
524 base64_decode_1. | |
525 (base64_decode_1): New args MULTIBYTE and NCHARS_RETURN. If | |
526 MULTIBYTE is nonzero, produce correct multibyte form for eight-bit | |
527 codes. | |
528 | |
529 * charset.h (CHAR_STRING): Optimized for single byte characters. | |
530 | |
32342 | 531 2000-10-09 Andreas Schwab <schwab@suse.de> |
532 | |
533 * process.c (Fopen_network_stream) [HAVE_GETADDRINFO]: Reset S to | |
534 -1 after socket is closed, to fall through to error processing. | |
535 | |
32336 | 536 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il> |
537 | |
538 * msdos.c (IT_set_frame_parameters): Don't initialize Lisp_Object | |
32381 | 539 variables. If ALIST includes foreground-color or |
32336 | 540 background-color, change also the colors of the default face for |
541 this frame. | |
542 | |
32273 | 543 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il> |
544 | |
545 * msdos.c (top-level) <Qbackground_color, Qforeground_color>: Make | |
546 them extern (they are defined on xfaces.c). | |
547 (syms_of_msdos): Don't intern and don't staticpro | |
548 Qbackground_color and Qforeground_color. | |
549 | |
32255 | 550 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il> |
551 | |
552 * frame.c (Fframe_parameter): For non-windowed frames, if | |
553 f->param_alist says foreground or background color is unspecified, | |
554 call tty_color_name to return the color name computed from the | |
555 frame's current colors. | |
556 | |
32238 | 557 2000-10-06 Dave Love <fx@gnu.org> |
558 | |
559 * terminfo.c (ospeed): Don't declare. | |
560 | |
561 * sysdep.c: Don't include string.h. | |
562 (h_errno): Declare conditional also on TRY_AGAIN. | |
563 | |
564 * charset.c (Ffind_charset_string): Doc fix. | |
565 | |
566 * fns.c (Fbase64_encode_region, Fbase64_encode_string) | |
567 (Fbase64_decode_region, Fbase64_decode_string): More explicit | |
568 error messages. | |
569 | |
32180 | 570 2000-10-05 Dave Love <fx@gnu.org> |
571 | |
572 * xmenu.c (Fx_popup_menu, Fx_popup_dialog): Check for tool-bar | |
573 position like menu-bar. | |
574 | |
32177 | 575 2000-10-05 Gerd Moellmann <gerd@gnu.org> |
576 | |
577 * keyboard.c (Frecursive_edit): Make sure redisplay can happen. | |
578 | |
579 * xdisp.c (handle_single_display_prop): Use safe_call1. | |
580 (safe_call): Renamed from call_function. | |
581 (safe_call1): New function. | |
582 (handle_fontified_prop): Use safe_call1 instead of call1. | |
583 (safe_eval): Renamed from eval_form. | |
584 (safe_eval_handler): Renamed from eval_handler. | |
585 (handle_single_display_prop, display_mode_element): Use safe_eval | |
586 instead of eval_form. | |
587 | |
588 * xfaces.c (merge_face_heights): Use safe_call instead of | |
589 call_function. | |
590 | |
591 * keyboard.c (show_help_echo): Use safe_call instead of | |
592 call_function; use safe_eval instead of eval_form. | |
593 | |
594 * lisp.h (safe_call): Renamed from call_function. | |
595 (safe_eval): Renamed from eval_form. | |
596 (safe_call1): Add prototype. | |
597 | |
32165 | 598 2000-10-05 Miles Bader <miles@lsi.nec.co.jp> |
599 | |
600 * xfns.c (image_ascent): Rearrange ascent calculation for the | |
601 has-a-font case. | |
602 | |
32146
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
603 2000-10-04 Stefan Monnier <monnier@cs.yale.edu> |
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
604 |
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
605 * keymap.c (Fwhere_is_internal): Ignore `menu-bar' and `tool-bar'. |
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
606 (where_is_internal_1): Don't bother ignoring menu-items any more. |
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
607 |
32142 | 608 2000-10-04 Gerd Moellmann <gerd@gnu.org> |
609 | |
610 * keyboard.c (update_menu_bindings): New variable. | |
611 (parse_menu_item): Use AREF. If update_menu_bindings | |
612 is 0, don't update menu bindings. | |
613 (syms_of_keyboard): New Lisp variable `update-menu-bindings'. | |
614 | |
32100 | 615 2000-10-03 Eli Zaretskii <eliz@is.elta.co.il> |
616 | |
617 * alloc.c (Fgarbage_collect): Prevent compiler warning for a call | |
618 to `mark_object'. | |
619 | |
32088
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
620 2000-10-02 Stefan Monnier <monnier@cs.yale.edu> |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
621 |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
622 * syntax.c (forw_comment): Match nestedness of ender/starter. |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
623 (Fforward_comment): Treat an unmatched \n comment-ender as whitespace. |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
624 (prev_char_comstart_first): Remove. |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
625 (back_comment): Check two-char comment markers more carefully |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
626 to better handle overlapping cases like *//* or /* */* */ ... |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
627 Match nestedness of ender/starter. |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
628 |
32075 | 629 2000-10-02 Dave Love <fx@gnu.org> |
630 | |
631 * config.in (HAVE_GAI_STRERROR): Add undef. | |
632 | |
633 * process.c (Fopen_network_stream): Use it. | |
634 | |
635 * m/alpha.h (NO_REMAP): Don't define. | |
636 | |
32068 | 637 2000-10-02 Gerd Moellmann <gerd@gnu.org> |
638 | |
639 * lisp.h (wrong_type_argument): Remove NO_RETURN, the function can | |
640 return with a string converted to an integer or vice versa when | |
641 Vmocklisp_arguments is t. | |
642 (Fsignal): Likewise. The function can return for `quit'. | |
643 (struct gcpro): Declare member `var' to point to a volatile | |
644 Lisp_Object. | |
645 | |
646 * eval.c (error): Prevent compiler warning. | |
647 | |
32039
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
648 2000-09-30 Stefan Monnier <monnier@cs.yale.edu> |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
649 |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
650 * keymap.c (keymap_memberp): New function. |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
651 (Fset_keymap_parent): Use it. |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
652 (fix_submap_inheritance): Use get_keyelt, get_keymap_1 and KEYMAPP. |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
653 Use keymap_memberp to avoid creating cycles. |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
654 (access_keymap): Use KEYMAPP. |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
655 |
32034 | 656 2000-09-30 Gerd Moellmann <gerd@gnu.org> |
657 | |
658 * process.c (Fopen_network_stream) [HAVE_GETADDRINFO]: Use | |
32068 | 659 gai_strerror. Make sure xerrno is set if connect fails. Improve |
660 error recovery. | |
32034 | 661 |
32021 | 662 2000-09-29 Jason Rumney <jasonr@gnu.org> |
663 | |
664 * w32term.c (w32_char_font_type, w32_encode_char) | |
665 (x_produce_glyphs): Distinguish single and multibyte BDF fonts. | |
666 (w32_bdf_per_char_metric): New function. | |
667 (w32_per_char_metric): Use it. | |
668 (x_draw_glyph_string_background): Always draw background for BDF | |
669 glyphs. | |
670 | |
671 * w32bdf.h (glyph_struct, cache_bitmap): Cache bitmap data, not | |
672 GDI object which is a scarce resource. | |
673 | |
674 * w32bdf.c (search_file_line): Fix skipping of whitespace. | |
675 (get_quoted_string): Fix limit on memchr search. | |
676 (set_bdf_font_info): Use unsigned chars. Negate yoffset. | |
677 (w32_init_bdf_font): Initialize codepoint and bitmap heaps. | |
678 (w32_free_bdf_font): Free bitmaps and codepoints on heaps. | |
679 (get_cached_font_char, cache_char_offset): Use macro | |
680 BDF_CODEPOINT_RANGE_COVER_P. | |
681 (cache_char_offset): Use HeapAlloc to allocate codepoints on own heap. | |
682 (clear_cached_bitmap_slots): New function. | |
683 (GET_HEX_VALUE): G-Z, g-z are not hex. | |
684 (w32_get_bdf_glyph): Convert to DIB format. Return bytes read. | |
685 (get_bitmap_with_cache): Use new cache implementation. | |
686 (create_offscreen_bitmap): New function. | |
687 (w32_BDF_TextOut): Use it. Draw glyphs as DIBs. | |
688 | |
689 * w32term.c (x_produce_glyphs): If the distance from the current | |
690 position to the next tab stop is less than a canonical character | |
691 width, use the tab stop after that. | |
692 (x_draw_glyphs): Handle case START and END are out of bounds more | |
693 carefully. | |
694 (x_clear_mouse_face): Block/unblock input. | |
695 (x_display_and_set_cursor): Don't show a hollow box cursor for | |
696 buffers whose cursor_type is nil. | |
697 | |
32001 | 698 2000-09-29 Gerd Moellmann <gerd@gnu.org> |
699 | |
700 * xfns.c (x_set_tool_bar_lines): Clear frame when tool bar | |
701 disappears. | |
702 | |
703 * dispextern.h (updating_frame): Declare extern. | |
704 | |
31998 | 705 2000-09-29 Andreas Schwab <schwab@suse.de> |
706 | |
707 * m/ia64.h: Remove hack of not prototyping bcopy, etc. | |
708 | |
31992 | 709 2000-09-29 Gerd Moellmann <gerd@gnu.org> |
710 | |
31996 | 711 * keyboard.c (menu_bar_one_keymap): If KEYMAP is a symbol, |
712 use its function definition. | |
713 (tool_bar_items): Likewise. | |
714 | |
31992 | 715 * lisp.h (fatal): Declare NO_RETURN. |
716 | |
31988 | 717 2000-09-29 Kenichi Handa <handa@etl.go.jp> |
718 | |
719 * keymap.c: Remove the line "#undef NULL". | |
720 | |
31953 | 721 2000-09-28 Gerd Moellmann <gerd@gnu.org> |
722 | |
723 * xterm.c (x_make_frame_visible): Try harder to make the frame | |
724 visible. | |
725 | |
31946 | 726 2000-09-28 Dave Love <fx@gnu.org> |
727 | |
31959 | 728 * s/osf5-0.h: Define USE_MMAP_FOR_BUFFERS, not REL_ALLOC_MMAP. |
729 | |
32002 | 730 * s/sunos413.h (USE_MMAP_FOR_BUFFERS): Define. |
731 | |
732 * .gdbinit (xreload): Note its need on GNU/Linux. | |
733 | |
31946 | 734 * m/alpha.h (XUINT) [REL_ALLOC && _MALLOC_INTERNAL]: Don't declare |
735 r_alloc, r_alloc_free. | |
736 | |
31943 | 737 2000-09-28 Kenichi Handa <handa@etl.go.jp> |
738 | |
739 * syntax.c (skip_chars): Handle negation correctly. | |
740 | |
31936 | 741 2000-09-27 Gerd Moellmann <gerd@gnu.org> |
742 | |
31941 | 743 * xfaces.c (realize_default_face): Call set_lface_from_font_name |
744 with non-zero FORCE_P argument. | |
745 | |
31936 | 746 * dispnew.c (adjust_glyph_matrix, enable_glyph_matrix_rows): |
747 Add assertions. | |
748 | |
749 * xdisp.c (window_box_height): Add an assertion. | |
750 | |
751 * xfns.c (x_set_tool_bar_lines): Don't use more lines for the | |
752 tool-bar than is available. | |
753 (x_change_window_heights): Renamed from x_set_menu_bar_lines_1. | |
754 | |
31926 | 755 2000-09-27 Dave Love <fx@gnu.org> |
756 | |
31946 | 757 * s/irix6-5.h: Now works 64-bit. Tidied. |
31926 | 758 |
31898 | 759 2000-09-26 Gerd Moellmann <gerd@gnu.org> |
760 | |
31908 | 761 * lisp.h (XINT) [EXPLICIT_SIGN_EXTEND]: Use BITS_PER_EMACS_INT |
762 instead of BITS_PER_INT. | |
763 (XINT, XUINT) [NO_UNION_TYPE]: Cast result to EMACS_INT and | |
764 EMACS_UINT, respectively. | |
765 (NO_UNION_TYPE) [USE_LISP_UNION_TYPE]: Undefine. | |
766 | |
767 * m/sparc.h (BITS_PER_EMACS_INT) [__arch64__]: Don't define. | |
768 | |
769 * unexelf.c (ELFSIZE) [__NetBSD__ && __sparc_v9__]: Define to 64. | |
770 | |
31904 | 771 * window.c (freeze_window_starts): Construct last argument for |
772 foreach_window differently. | |
773 | |
774 * xfns.c (x_decode_color): Don't return a Lisp_Object. | |
775 | |
776 * lisp.h (union Lisp_Object) [!NO_UNION_TYPE]: Use EMACS_INT and | |
777 EMACS_UINT instead of `int' and `unsigned int'. | |
778 (XSET) [EXPLICIT_SIGN_EXTEND]: Use EMACS_INT instead of `int'. | |
779 | |
780 * frame.h (struct frame): Make the `nothing' member of union | |
781 output_data an EMACS_INT. | |
782 | |
31898 | 783 * alloc.c (GC_CHECK_STRING_BYTES): Temporarily define, for bug |
784 hunting. | |
785 (struct sdata) [GC_CHECK_STRING_BYTES]: Always record the string's | |
786 size in the sdata structure. | |
787 (SDATA_NBYTES, SDATA_DATA): New macros. | |
788 (SDATA_OF_STRING, SDATA_SIZE) [GC_CHECK_STRING_BYTES]: Define | |
789 differently for the different layout of the sdata structure. | |
790 (allocate_string_data) [GC_CHECK_STRING_BYTES]: Record string size | |
791 in sdata. | |
792 (sweep_strings, compact_small_strings) [GC_CHECK_STRING_BYTES]: | |
793 Check that size recorded in the string size and size recorded in | |
794 the sdata structure agree. | |
795 | |
31893 | 796 2000-09-25 Dave Love <fx@gnu.org> |
797 | |
798 * buffer.c: Include stdio.h. | |
799 | |
800 Partly suggested by Eduardo Horvath <eeh@netbsd.org>. | |
801 | |
802 * ralloc.c (__malloc_extra_blocks): Declare as __malloc_size_t. | |
803 | |
804 * alloc.c (__malloc_size_t) [DOUG_LEA_MALLOC]: Don't redefine it. | |
805 (__malloc_size_t) [!DOUG_LEA_MALLOC]: Define unconditionally as | |
806 size_t. | |
807 (__malloc_extra_blocks): Declare as __malloc_size_t. | |
808 | |
31867 | 809 2000-09-25 Gerd Moellmann <gerd@gnu.org> |
810 | |
31890 | 811 * alloc.c (mark_image): Use GC_NILP instead of NILP. |
812 | |
31881 | 813 * keyboard.c (show_help_echo): Set help_echo_showing_p. |
814 (read_char): If help-echo is showing, preserve the echo area | |
815 when redisplaying. | |
816 | |
817 * xdisp.c (help_echo_showing_p): New variable. | |
818 (set_message): Reset it to 0. | |
819 (init_xdisp): Initialize help_echo_showing_p. | |
820 | |
821 * dispextern.h (help_echo_showing_p): Declare extern. | |
822 | |
823 * config.in: Fix typo in __GNUC_MINOR__. | |
824 | |
825 * keyboard.h (quit_throw_to_read_char): Declare NO_RETURN. | |
826 | |
31872 | 827 * s/freebsd.h (POSIX_SIGNALS): Define. |
828 | |
31867 | 829 * xterm.c (x_clear_mouse_face): Block/unblock input. |
830 | |
31866 | 831 2000-09-24 Dave Love <fx@gnu.org> |
832 | |
833 * fns.c (base64_encode_1): Fix last change. | |
834 | |
31851 | 835 2000-09-22 Gerd Moellmann <gerd@gnu.org> |
836 | |
837 * dispnew.c (enable_glyph_matrix_rows): Remove xasserts. | |
838 | |
839 * xdisp.c (try_window_reusing_current_matrix): More fixes | |
840 for the case window has a header-line. | |
841 | |
31843 | 842 2000-09-22 Dave Love <fx@gnu.org> |
843 | |
31848 | 844 * xdisp.c (syms_of_xdisp): Defvar Vmenu_bar_update_hook to provide |
845 a doc string. | |
846 | |
847 * xterm.c [SOLARIS2]: Remove redundant include of string.h. | |
848 | |
31843 | 849 * fns.c (Fstring_as_unibyte, Fstring_as_multibyte): Doc fix. |
850 | |
31805 | 851 2000-09-21 Gerd Moellmann <gerd@gnu.org> |
852 | |
31848 | 853 * config.in (NO_RETURN): Define as `__attribute__((__noreturn__))' |
31834 | 854 for GCC >= 2.5. |
855 | |
856 * lisp.h (wrong_type_argument, Fthrow, Fsignal, error): Declare | |
857 NO_RETURN. | |
858 | |
31831 | 859 * window.c, term.c, xmenu.c, xrdb.c, emacs.c, macros.c, |
860 * keymap.c, insdel.c, marker.c, minibuf.c, fileio.c, dired.c, | |
861 * indent.c, search.c, alloc.c, data.c: Avoid some more compiler | |
862 warnings. | |
863 | |
864 * marker.c (byte_char_debug_check): Return void. | |
865 | |
31827 | 866 * xfns.c (Fx_create_frame): Set default frame parameter value |
867 for tool-bar-lines to 1. | |
868 | |
869 * dispnew.c (scrolling_window): Compare y-positions of rows | |
870 equal at the start. Some simplification. | |
871 | |
872 * xdisp.c (try_window_reusing_current_matrix): Fix computation of | |
873 reused rows' y-position in the case window has a header-line, and | |
874 new window start is greater than old window start. | |
875 | |
31807 | 876 * process.c (process_sent_to): New variable. |
877 (send_process): Workaround for a crash on sparc-sun-solaris-2.6 | |
878 with GCC 2.95.2 caused by a parameter being clobbered by longjmp. | |
879 Declare more parameters volatile. | |
880 | |
31805 | 881 * lread.c (Vrecursive_load_depth_limit): New variable. |
882 (Fload): Check recursive loads whose recursion depth exceeds | |
883 Vrecursive_load_depth_limit. | |
884 (syms_of_lread): DERFAR_LISP recursive-load-depth-limit. | |
885 | |
31763 | 886 2000-09-20 Gerd Moellmann <gerd@gnu.org> |
887 | |
31776 | 888 * fileio.c (Fread_file_name): Doc fix. |
889 | |
890 * editfns.c (Fmessage_or_box): Doc fix. | |
891 | |
892 * fns.c (Fy_or_n_p, Fyes_or_no_p): Doc fix. | |
893 | |
31770 | 894 * xfns.c (xbm_scan): Allow C-style comments. |
895 | |
31763 | 896 * xfns.c (xpm_init_color_cache) [ALLOC_XPM_COLORS]: If color |
897 symbols are specified, add color translations to the cache. | |
898 (xpm_color_bucket, xpm_cache_color) [ALLOC_XPM_COLORS]: New | |
899 functions. | |
900 (xpm_lookup_color) [ALLOC_XPM_COLORS]: Use xpm_color_bucket and | |
901 xpm_cache_color. | |
902 (xpm_load) [ALLOC_XPM_COLORS]: Pass frame and XPM attributes | |
903 structures to xpm_init_color_cache. | |
904 | |
31733 | 905 2000-09-19 Gerd Moellmann <gerd@gnu.org> |
906 | |
907 * dispnew.c (update_window_line): Make sure to always draw | |
908 mode-lines. | |
909 | |
31713 | 910 2000-09-19 Andrew Innes <andrewi@gnu.org> |
911 | |
912 * makefile.nt (bootstrap-emacs): Don't change directory. | |
913 | |
31701 | 914 2000-09-19 Kenichi Handa <handa@etl.go.jp> |
915 | |
31704 | 916 * charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Fix previous change. |
917 | |
31701 | 918 * ccl.c (Fccl_execute_on_string): Make multibyte string correctly. |
919 If output buffer is too small, signal an appropriated error. | |
920 | |
31698 | 921 2000-09-18 Dave Love <fx@gnu.org> |
922 | |
923 * keyboard.c (menu_bar_items, tool_bar_items) | |
924 (current_active_maps): Remove redundant get_local_map call. | |
925 | |
31687 | 926 2000-09-18 Gerd Moellmann <gerd@gnu.org> |
927 | |
31700 | 928 * xterm.c (x_display_and_set_cursor): Don't show a hollow box |
929 cursor for buffers whose cursor_type is nil. | |
930 | |
31696 | 931 * xterm.c (x_draw_image_glyph_string): Remove a comment describing |
932 a feature to implement that is already implemented. | |
933 (note_mouse_highlight, x_find_ccl_program): Avoid some compiler | |
934 warnings. | |
935 | |
936 * xfns.c (x_clear_image_1): New function. | |
937 (x_clear_image): Use it. | |
938 (x_from_xcolors): Use x_clear_image_1; don't free the image's | |
939 mask. | |
940 | |
31692 | 941 * dispnew.c (update_window): Move test for invisible lines |
942 at the top to update_window_line. | |
943 (update_window_line): Handle invisible lines here. | |
944 | |
31689 | 945 * xfns.c (clear_image_cache): Clear current matrices of all |
946 frames sharing an image cache. Block input while freeing | |
947 images. Fix timestamp comparison. | |
948 (x_clear_image): Also free the mask. | |
949 | |
31687 | 950 * xfns.c (lookup_image): Block input while loading the image so |
951 that we won't get interrupted in a state where the image isn't yet | |
952 set up completely. | |
953 (xbm_load_image, xbm_load, xpm_load, xpm_load, lookup_rgb_color) | |
954 (lookup_pixel_color, x_to_xcolors, x_from_xcolors) | |
955 (x_disable_image, x_build_heuristic_mask, pbm_load, png_load) | |
956 (jpeg_load, tiff_load, gif_load, gs_load): Don't block/unblock | |
957 input. | |
958 | |
31654 | 959 2000-09-16 Gerd Moellmann <gerd@gnu.org> |
960 | |
961 * dispnew.c (update_window): Make sure to make desired rows | |
962 current even if they are completely invisible at the top | |
963 of a window. | |
964 | |
31636 | 965 2000-09-15 Gerd Moellmann <gerd@gnu.org> |
966 | |
31652 | 967 * xfns.c (lookup_image): Build mask before applying an algorithm. |
968 Recognize algorithm `disabled'. | |
969 (cross_disabled_images): New variable. | |
970 (COLOR_INTENSITY): New macro. | |
971 (x_detect_edges): Use COLOR_INTENSITY. | |
972 (x_disable_image): New function. | |
973 (syms_of_xfns): DEFVAR_BOOL cross_disabled_images. | |
974 | |
975 * xdisp.c (build_desired_tool_bar_string): For a toolbar item in | |
976 disabled state, don't apply an image transformation algorithm if | |
977 the user specified an image for the disabled state. Use | |
31687 | 978 `:algorithm disabled' for creating a disabled item's image if the |
31652 | 979 user hasn't specified an image. |
980 | |
31639 | 981 * xfns.c (ALLOC_XPM_COLORS): Define if we can use Emacs' color |
982 allocation functions with the XPM lib. | |
983 (struct xpm_cached_color) [ALLOC_XPM_COLORS]: New structure. | |
984 (XPM_COLOR_CACHE_BUCKETS) [ALLOC_XPM_COLORS]: New macro. | |
985 (xpm_color_cache) [ALLOC_XPM_COLORS]: New variable. | |
986 (xpm_init_color_cache, xpm_free_color_cache, xpm_lookup_color) | |
987 (xpm_alloc_color, xpm_free_colors) [ALLOC_XPM_COLORS]: New | |
988 functions. | |
989 (xpm_load) [ALLOC_XPM_COLORS]: Use Emacs' own color allocation | |
990 functions, if possible, because these handle color allocation | |
991 failure more gracefully. | |
992 (Fimage_mask_p): New function. | |
993 | |
31636 | 994 * xfns.c (QCmatrix, QCcolor_adjustment, QCmask, Qemboss) |
995 (Qedge_detection, Qheuristic): New symbols. | |
996 (syms_of_xfns): Initialize new symbols. | |
997 (lookup_image): Handle `:mask X', `:algorithm emboss', and | |
998 `algorithm (edge-detection ...)'. | |
999 (xbm_format, xpm_format, pbm_format, png_format, jpeg_format): | |
1000 (tiff_format, gif_format, gs_format): Add `:mask'. | |
1001 (XBM_MASK, XPM_MASK, PBM_MASK, PNG_MASK, JPEG_MASK, TIFF_MASK) | |
1002 (GIF_MASK, GS_MASK): New enumerators. | |
1003 (x_laplace_read_row, x_laplace_write_row): Functions removed. | |
1004 (emboss_matrix, laplace_matrix): New variables. | |
1005 (x_to_xcolors, x_from_xcolors, x_detect_edges, x_emboss) | |
1006 (x_edge_detection): New functions. | |
1007 (x_laplace): Rewritten in terms of x_detect_edges. | |
1008 (x_build_heuristic_mask): If image has a mask, free it. | |
1009 | |
31632 | 1010 2000-09-14 Andrew Innes <andrewi@gnu.org> |
1011 | |
1012 * makefile.w32-in: Revert to Unix line endings. | |
1013 | |
31630 | 1014 2000-09-14 Andrew Innes <andrewi@gnu.org> |
1015 | |
1016 * makefile.w32-in: Standardize indentation somewhat. | |
1017 (bootstrap-temacs): Use $(ARGQUOTE) instead of literal quotes, to | |
1018 cater for differences between shells. | |
1019 | |
1020 * w32term.c (w32_per_char_metric): Handle non-TrueType fonts. | |
1021 | |
31615 | 1022 2000-09-14 Gerd Moellmann <gerd@gnu.org> |
1023 | |
1024 * xterm.c (x_produce_glyphs): If the distance from the current | |
1025 position to the next tab stop is less than a canonical character | |
1026 width, use the tab stop after that. | |
1027 | |
31613 | 1028 2000-09-14 Dave Love <fx@gnu.org> |
1029 | |
1030 * buffer.c (alloc_buffer_text): Fix xmalloc call. | |
1031 | |
31607 | 1032 2000-09-14 Gerd Moellmann <gerd@gnu.org> |
1033 | |
31611 | 1034 * xdisp.c (handle_fontified_prop): While running fontification |
1035 functions, bind `fontification-functions' and | |
1036 `after-change-functions' to nil. | |
1037 | |
31607 | 1038 * s/freebsd.h, s/irix-5.0.h, s/sol2.h, s/template.h |
1039 (USE_MMAP_FOR_BUFFERS): Define instead of REL_ALLOC_MMAP. | |
1040 | |
1041 * Makefile.in (mallocobj) [SYSTEM_MALLOC]: Don't add ralloc.o. | |
1042 | |
1043 * emacs.c: Change conditional compilation on REL_ALLOC_MMAP to | |
1044 USE_MMAP_FOR_BUFFERS. | |
1045 | |
1046 * insdel.c (make_gap): Use enlarge_buffer_text. | |
1047 | |
1048 * buffer.c: Move allocation with mmap here, from ralloc.c. Change | |
1049 conditional compilation on REL_ALLOC_MMAP to USE_MMAP_FOR_BUFFERS. | |
1050 (mmap_alloc, mmap_free, mmap_realloc) [REL_ALLOC_MMAP]: Renamed | |
1051 from former r_alloc_* functions in ralloc.c. | |
1052 (mmap_page_size, mmap_initialized_p) [REL_ALLOC_MMAP]: New | |
1053 variables. | |
1054 (MEM_ALIGN) [REL_ALLOC_MMAP]: New macro. | |
1055 (mmap_init) [REL_ALLOC_MMAP]: New function. | |
1056 (alloc_buffer_text, enlarge_buffer_text, free_buffer_text): New | |
1057 functions replacing macros BUFFER_ALLOC, BUFFER_REALLOC, and | |
1058 BUFFER_FREE. | |
1059 | |
1060 * buffer.h (BUFFER_ALLOC, BUFFER_REALLOC, BUFFER_FREE): Removed. | |
1061 (enlarge_buffer_text): Add prototype. | |
1062 | |
1063 * ralloc.c: Remove everything having to do with the use of mmap. | |
1064 | |
31577 | 1065 2000-09-13 Gerd Moellmann <gerd@gnu.org> |
1066 | |
31588 | 1067 * sound.c (Fplay_sound): Doc fix. |
1068 | |
31580 | 1069 * keyboard.c: Avoid some more compiler warnings. |
1070 (parse_tool_bar_item): Ignore cached key bindings. | |
1071 | |
31577 | 1072 * alloc.c: Add some comments about DOUG_LEA_MALLOC's use of mmap |
1073 and allocation of Lisp data. | |
1074 | |
31555 | 1075 2000-09-12 Gerd Moellmann <gerd@gnu.org> |
1076 | |
31571 | 1077 * xfaces.c: Remove conditional compilation on SCALABLE_FONTS. |
1078 (Finternal_set_lisp_face_attribute): If frame is 0, set new frame | |
1079 defaults first. | |
1080 | |
31555 | 1081 * lread.c (Fload): Put code checking for recursive loads in #if 0. |
1082 | |
31550 | 1083 2000-09-12 Miyashita Hisashi <himi@meadowy.org> |
1084 | |
1085 * ccl.c: Comment fixed. | |
1086 (MAX_MAP_SET_LEVEL): Increased to 30. | |
1087 (PUSH_MAPPING_STACK): Enclose with do-while block. | |
1088 (POP_MAPPING_STACK): Likewise. | |
1089 (stack_idx_of_map_multiple): New variable. | |
1090 (CCL_CALL_FOR_MAP_INSTRUCTION): New macro. | |
1091 (ccl_driver) <CCL_IterateMultipleMap>: If the content is a symbol, | |
1092 call the corresponding CCL program by | |
1093 CCL_CALL_FOR_MAP_INSTRUCTION. | |
1094 (ccl_driver) <CCL_MapSingle>: Likewise. | |
1095 (ccl_driver) <CCL_MapMultiple>: Rewritten to fix many bugs, deal | |
1096 with the case where looking up process reaches to the end of | |
1097 map-set, and call CCL programs as the above change. | |
1098 | |
31535 | 1099 2000-09-11 Gerd Moellmann <gerd@gnu.org> |
1100 | |
31544 | 1101 * xfns.c (png_load, jpeg_load): Declare some variables volatile |
1102 that might be clobbered by longjmp. | |
1103 (check_x_display_info, x_decode_color, create_frame_xic) | |
1104 (Fx_display_backing_store, Fx_display_visual_class) | |
1105 (x_build_heuristic_mask, pbm_scan_number): Avoid compiler | |
1106 warnings. | |
1107 | |
31537 | 1108 * lread.c (init_lread): Set Vloads_in_progress to nil. |
1109 (Fload): Show list of recursively loaded files, when signaling an | |
1110 error. | |
1111 | |
31535 | 1112 * lread.c (Vloads_in_progress): New variable. |
1113 (record_load_unwind): New function. | |
1114 (Fload): Check for recursive loads. | |
1115 (syms_of_lread): Initialize Vloads_in_progress. | |
1116 (read_integer, read1): Avoid some compiler warnings. | |
1117 | |
1118 * fns.c (concat, Fsubstring, internal_equal, Fnconc): Avoid some | |
1119 compiler warnings. | |
1120 | |
31532 | 1121 2000-09-11 Miles Bader <miles@gnu.org> |
1122 | |
1123 * editfns.c (Fbuffer_string): Doc fix. | |
1124 | |
31526 | 1125 2000-09-10 Gerd Moellmann <gerd@gnu.org> |
1126 | |
1127 * ralloc.c (mmap_enlarge): Don't return 0 if successful. | |
1128 | |
31524
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31523
diff
changeset
|
1129 2000-09-09 Ken Raeburn <raeburn@gnu.org> |
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31523
diff
changeset
|
1130 |
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31523
diff
changeset
|
1131 * s/netbsd.h: Use NOT_C_CODE, not NO_C_SOURCE, when deciding |
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31523
diff
changeset
|
1132 whether to include other header files. |
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31523
diff
changeset
|
1133 |
31523 | 1134 2000-09-09 Gerd Moellmann <gerd@gnu.org> |
1135 | |
1136 * xfaces.c (CYCLE_CHECK): Don't use the Lisp_Object returned | |
31527 | 1137 by Fmemq as a boolean. |
31523 | 1138 |
31521
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
1139 2000-09-08 Stefan Monnier <monnier@cs.yale.edu> |
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
1140 |
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
1141 * xfaces.c (Finternal_set_lisp_face_attribute): Minor thinko. |
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
1142 |
31490 | 1143 2000-09-08 Gerd Moellmann <gerd@gnu.org> |
1144 | |
31516 | 1145 * ralloc.c (mmap_fd): Remove initializer which can make it |
1146 read-only in a dumped Emacs. | |
1147 (mmap_fd_1): New variable. | |
1148 (mmap_set_vars): Remove local `fd'. Save mmap_fd in mmap_fd_1, | |
1149 restore it from there. | |
1150 (r_alloc, r_re_alloc, r_alloc_free): Call r_alloc_init | |
1151 unconditionally so that mmap_fd can be initialized there. | |
1152 (r_alloc_init_fd): Open-coded in r_alloc_init; function removed. | |
1153 (r_alloc_init) [REL_ALLOC_MMAP && !MAP_ANON]: Open /dev/zero. | |
1154 (r_alloc_init) [REL_ALLOC_MMAP && MAP_ANON]: Set mmap_fd to -1. | |
1155 | |
31508 | 1156 * xfaces.c (Finternal_merge_in_global_face): Return a Lisp object. |
1157 | |
1158 * xdisp.c (dump_glyph_row): Fix printf format string. | |
1159 (display_line, move_it_in_display_line_to): Avoid compiler | |
1160 warnings. | |
1161 | |
31502 | 1162 * s/freebsd.h (GC_MARK_STACK, REL_ALLOC_MMAP): Define. |
1163 | |
31497 | 1164 * keymap.c (Fset_keymap_parent): Check for cycles in keymap |
1165 inheritance. | |
1166 | |
31494 | 1167 * xdisp.c (try_window_id): When trying to locate cursor in |
1168 unchanged rows at the top, handle the case that we can't find it. | |
1169 | |
31490 | 1170 * xterm.c (x_draw_glyphs): Handle case START and END are out |
1171 of bounds more carefully. | |
1172 | |
31488 | 1173 2000-09-08 Dave Love <fx@gnu.org> |
1174 | |
31505 | 1175 * s/sol2.h (REL_ALLOC_MMAP): Define. |
1176 * s/irix5-0.h (REL_ALLOC_MMAP): Likewise. | |
1177 | |
1178 * ralloc.c: Don't include string.h (redundant). | |
1179 (MAP_ANON) [REL_ALLOC_MMAP]: Ensure it's defined. | |
1180 [!MAP_ANON]: Include fcntl.h. | |
1181 (mmap_fd) [REL_ALLOC_MMAP]: New variable. | |
1182 (r_alloc, r_re_alloc, r_alloc_free) | |
1183 (mmap_enlarge, mmap_set_vars): Use it. | |
1184 (r_alloc_init_fd): New function. | |
1185 (__morecore) [SYSTEM_MALLOC]: Don't declare. | |
1186 (r_alloc_init): Call r_alloc_init_fd. Conditionalize stuff on | |
1187 malloc type. | |
1188 | |
1189 * Makefile.in (allocaobj) [!SYSTEM_MALLOC && REL_ALLOC_MMAP]: | |
1190 Remove vm-limit.o. | |
1191 | |
31488 | 1192 * unexelf.c (SHT_MIPS_DEBUG, HDRR) [__mips__]: Really confine last |
1193 change to __NetBSD__. | |
1194 | |
31485 | 1195 2000-09-08 Kenichi Handa <handa@etl.go.jp> |
1196 | |
1197 * search.c (compile_pattern): Check the multibyteness of cached | |
1198 string and PATTERN. | |
1199 | |
31484 | 1200 2000-09-08 Miles Bader <miles@gnu.org> |
1201 | |
1202 * xfaces.c (default_face_vector): Function removed. | |
1203 (Finternal_merge_in_global_face): Restore old global/local | |
1204 attribute override order. Use inline loop instead of calling | |
1205 default_face_vector. | |
1206 | |
31474 | 1207 2000-09-07 Gerd Moellmann <gerd@gnu.org> |
1208 | |
1209 * ralloc.c (obtain, relinquish, relinquish, r_alloc_size_in_use) | |
1210 (get_bloc, relocate_blocs, update_heap_bloc_correspondence) | |
1211 (resize_bloc, r_alloc_sbrk, r_alloc_init): Add casts to `char *' | |
1212 where necessary, in case POINTER_TYPE is `void'. | |
1213 | |
31472 | 1214 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il> |
1215 | |
1216 * frame.c (make_terminal_frame): Initialize frame foreground and | |
1217 background colors to unspecified, for the initial instance of an | |
1218 MSDOS frame. | |
1219 | |
31467 | 1220 2000-09-07 Gerd Moellmann <gerd@gnu.org> |
1221 | |
31469 | 1222 * ralloc.c (mmap_find): Fix overlap computation. |
1223 (mmap_enlarge): Compute nbytes before trying to find an | |
1224 overlapping region. | |
1225 | |
31467 | 1226 * xfaces.c (smaller_face): Compare font heights with `<' and `>' |
1227 instead of `!='. | |
1228 | |
1229 * lread.c (syms_of_lread): Change value of regexp | |
1230 Vbytecomp_version_regexp to not match some XEmacs-compiled files. | |
1231 | |
1232 * xmenu.c (xdialog_show): When looking up the selection in | |
1233 menu_items, take `quote' boundaries into account; this corresponds | |
1234 to a nil ITEM in x-popup-dialog. | |
1235 | |
31454 | 1236 2000-09-07 Kenichi Handa <handa@etl.go.jp> |
1237 | |
31459 | 1238 * charset.h (MIN_CHARSET_OFFICIAL_DIMENSION1): Define it as 0x80, |
1239 not 0x81. | |
1240 (MIN_CHAR_OFFICIAL_DIMENSION1): Define it as ((0x81 - 0x70) << 7). | |
1241 | |
31454 | 1242 * coding.c (encode_coding_sjis_big5): Use translation table for |
31456 | 1243 encoding, not decoding. Fix the handling of latin-jisx0201. |
1244 Check for the charset katakana-jisx0201 too. | |
31454 | 1245 (ONE_MORE_CHAR): Call translate_char with CHARSET arg -1. |
31467 | 1246 (detect_coding_sjis): Check the byte sequence more rigidly. |
31454 | 1247 |
31441 | 1248 2000-09-07 Gerd Moellmann <gerd@gnu.org> |
1249 | |
31452 | 1250 * xfaces.c (Vparam_value_alist): New variable. |
1251 (syms_of_xfaces): Initialize it. | |
1252 (Finternal_set_lisp_face_attribute): Avoid more consing. | |
1253 | |
1254 * frame.c (Fframe_parameter): Handle `name' and `background-mode' | |
1255 specially. | |
1256 (Fframe_parameter) [HAVE_X_WINDOWS]: Handle `display' specially. | |
1257 (Qbackground_mode): New variable. | |
1258 (syms_of_frame_1): Initialize Qbackground_mode. | |
1259 | |
1260 * lisp.h (Qdisplay): Declare extern. | |
31444 | 1261 |
31441 | 1262 * xfaces.c (Finternal_set_lisp_face_attribute): If FRAME is 0, |
1263 change face on all frames, and change the default for new frames. | |
1264 | |
31438 | 1265 2000-09-07 Dave Love <fx@gnu.org> |
1266 | |
1267 * Makefile.in [!SYSTEM_MALLOC && REL_ALLOC_MMAP]: Set mallocobj. | |
1268 | |
31418 | 1269 2000-09-07 Kenichi Handa <handa@etl.go.jp> |
1270 | |
31433 | 1271 * charset.h (MAKE_CHAR): Be sure to set MSB of C1 to 0. |
1272 | |
31432 | 1273 * charset.c: Include composite.h |
1274 (lisp_string_width): New function. | |
1275 (Fstring_width): Call lisp_string_width instead of strwidth. | |
1276 | |
1277 * Makefile.in (charset.o): Depends on composite.h. | |
1278 | |
31418 | 1279 * process.c (read_process_output): Before inserting the decoded |
1280 text in the buffer, adjust the multibyteness. | |
1281 | |
31409 | 1282 2000-09-06 Gerd Moellmann <gerd@gnu.org> |
1283 | |
31417 | 1284 * buffer.c (set_buffer_internal_1) [REL_ALLOC_MMAP]: If |
1285 buffer's text buffer is null, map new memory. | |
1286 | |
31415 | 1287 * ralloc.c (POINTER, SIZE) [emacs]: Define in terms of |
1288 POINTER_TYPE and size_t. | |
1289 (struct mmap_region) [REL_ALLOC_MMAP]: New structure. | |
1290 (mmap_regions, mmap_regions_1) [REL_ALLOC_MMAP]: New variables. | |
1291 (ROUND, MMAP_REGION_STRUCT_SIZE, MMAP_REGION, MMAP_USER_AREA) | |
1292 [REL_ALLOC_MMAP]: New macros. | |
1293 (mmap_find, mmap_free, mmap_enlarge, mmap_set_vars) | |
1294 (mmap_mapped_bytes, r_alloc, r_re_alloc, r_alloc_free) | |
1295 [REL_ALLOC_MMAP]: New functions. | |
1296 | |
1297 * emacs.c (Fdump_emacs) [REL_ALLOC_MMAP]: Call mmap_set_vars | |
1298 before and after unexec. | |
1299 | |
1300 * buffer.c (init_buffer) [REL_ALLOC_MMAP]: Map new buffer | |
1301 text buffers if necessary. | |
1302 | |
1303 * buffer.h (R_ALLOC_DECLARE): Removed because unused. | |
1304 (r_alloc, r_re_alloc, r_alloc_free): Use POINTER_TYPE and size_t | |
1305 in prototypes. | |
1306 | |
31409 | 1307 * config.in (HAVE_MMAP): Add #undef. |
1308 | |
31394 | 1309 2000-09-05 Gerd Moellmann <gerd@gnu.org> |
1310 | |
31402 | 1311 * frame.c (Qdisplay_type): New variable. |
1312 (syms_of_frame_1): Initialize it. | |
1313 (Fframe_parameter): New function that avoids consing. | |
1314 (syms_of_frame): Defsubr it. | |
1315 | |
31396 | 1316 * buffer.c (Fother_buffer): Consider buffers as invisible when |
1317 they are displayed in a window on an invisible frame. | |
1318 | |
31394 | 1319 * window.c (window_loop) <GET_LARGEST_WINDOW>: Fix bug making |
1320 get-largest-window always return nil. | |
1321 | |
31368 | 1322 2000-09-04 Gerd Moellmann <gerd@gnu.org> |
1323 | |
1324 * lread.c (syms_of_lread): Make Vbytecomp_version_regexp a Lisp | |
1325 variable; recognize Emacs 19 elc files. | |
1326 | |
31366 | 1327 2000-09-04 Miles Bader <miles@gnu.org> |
1328 | |
1329 * xmenu.c (xmenu_show): Call x_set_menu_resources_from_menu_face | |
1330 before initially popping up the menu, so the menu doesn't flash | |
1331 when the face settings are significantly different from the | |
1332 defaults. | |
1333 | |
31360
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1334 2000-09-04 Stefan Monnier <monnier@cs.yale.edu> |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1335 |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1336 * regex.c (WIDE_CHAR_SUPPORT): New macro. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1337 (btowc, iswctype, wctype) [_LIBC]: Redefine to __<fun>. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1338 (BIT_ALPHA, BIT_ALNUM, BIT_ASCII, BIT_NONASCII, BIT_GRAPH, BIT_PRINT) |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1339 (BIT_UNIBYTE): Remove. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1340 (re_match_2_internal): Delete corresponding code and streamline the |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1341 BIT_MULTIBYTE case to not bother checking ISUNIBYTE. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1342 (CHAR_CLASS_MAX_LENGTH) [!WIDE_CHAR_SUPPORT]: Set to 9 rather than 6. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1343 (re_wctype_t): New type. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1344 (re_wctype, re_iswctype, re_wctype_to_bit): New functions. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1345 (regex_compile): Use them and fix handling of overly long char classes. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1346 |
31352 | 1347 2000-09-03 Andrew Innes <andrewi@gnu.org> |
1348 | |
31359 | 1349 * makefile.w32-in: Change to DOS line endings. |
1350 | |
31352 | 1351 * s/ms-w32.h (ORDINARY_LINK): New define. |
1352 | |
1353 * w32.c (_ANONYMOUS_UNION) [__GNUC__]: New define | |
1354 (_ANONYMOUS_STRUCT) [__GNUC__]: New define. | |
1355 | |
1356 * makefile.w32-in (clean): Don't delete config.h and epaths.h. | |
1357 (distclean): Delete them here instead. | |
1358 | |
31355 | 1359 * w32proc.c (compare_env): Convert to uppercase for comparison, |
1360 not lowercase, to match how the native Windows shell works. | |
1361 | |
31346 | 1362 2000-09-03 Jason Rumney <jasonr@gnu.org> |
1363 | |
1364 * ChangeLog: Remove -unix from coding. Let Emacs autodetect, as | |
1365 CVS changes the line-ends when checking in/out on DOS/Windows. | |
1366 | |
1367 * makefile.nt (emacs): Do not change directory to run temacs, as | |
1368 the load-path is set relative to current directory. | |
1369 | |
31342 | 1370 2000-09-03 Miles Bader <miles@gnu.org> |
1371 | |
1372 * xterm.c (x_alloc_lighter_color_for_widget): New function. | |
1373 | |
31333 | 1374 2000-09-02 Gerd Moellmann <gerd@gnu.org> |
1375 | |
31339 | 1376 * xdisp.c (redisplay_mode_lines): New function. |
1377 (display_mode_lines): Return number of mode lines displayed. | |
1378 (echo_area_display): Use redisplay_mode_lines to draw garbaged | |
1379 mode lines. Don't temporarily bind redisplay-dont-pause to t. | |
1380 | |
31337 | 1381 * emacs.c, callint.c, doc.c, editfns.c: Remove includes of |
1382 string.h and strings.h. | |
1383 (index) [HAVE_INDEX]: Add prototype. | |
1384 | |
31333 | 1385 * unexelf.c (SHT_PROGBITS) [__NetBSD__ && !PT_LOAD]: Don't define. |
1386 (SHT_MIPS_DEBUG, HDRR) [__NetBSD__ && __mips__]: Define. | |
1387 | |
1388 * s/netbsd.h [!NO_C_SOURCE]: Include <signal.h>. | |
1389 (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
1390 | |
31316 | 1391 2000-09-01 Gerd Moellmann <gerd@gnu.org> |
1392 | |
1393 * lread.c (read1): Accept `?' as symbol constituent, for | |
1394 compatiblity with XEmacs. | |
1395 | |
31312
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1396 2000-08-31 Stefan Monnier <monnier@cs.yale.edu> |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1397 |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1398 * regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1399 (struct re_pattern_buffer): Remove newline_anchor. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1400 * regex.c: Keep namespace clean for GNU libc by renaming <fun> |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1401 to __<fun> and using `weak_alias (__<fun>, <fun>)'. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1402 (re_max_failures, fail_stack): Use size_t rather than unsigned. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1403 (regex_compile): For ^ and $, choose between buffer and line (beg|end) |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1404 depending on the new RE_NO_NEWLINE_ANCHOR syntax flag. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1405 (print_compiled_pattern, re_search_2, mutually_exclusive_p) |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1406 (re_match_2_internal, re_compile_pattern, re_comp, regcomp): |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1407 Get rid of references to newline_anchor. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1408 (regcomp): Allocate and precompute a fastmap. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1409 |
31308 | 1410 2000-08-31 Gerd Moellmann <gerd@gnu.org> |
1411 | |
1412 * lread.c (openp): GCPRO local variable `filename'. | |
1413 | |
31300
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1414 2000-08-30 Stefan Monnier <monnier@cs.yale.edu> |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1415 |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1416 * regex.h (struct re_pattern_buffer): Use size_t for used/allocated. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1417 |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1418 * regex.c: Merge some changes from GNU libc. Add prototypes. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1419 (bcopy, bcmp, REGEX_REALLOCATE, re_match_2_internal): |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1420 Use memcmp and memcpy instead of bcopy and bcmp. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1421 (init_syntax_once): Use ISALNUM. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1422 (PUSH_FAILURE_POINT, re_match_2_internal): Remove failure_id. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1423 (REG_UNSET_VALUE): Remove. Use NULL instead. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1424 (REG_UNSET, re_match_2_internal): Use NULL. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1425 (SET_HIGH_BOUND, MOVE_BUFFER_POINTER, ELSE_EXTEND_BUFFER_HIGH_BOUND): |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1426 New macros. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1427 (EXTEND_BUFFER): Use them (to work with BOUNDED_POINTERS). |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1428 (GET_UNSIGNED_NUMBER): Don't use ISDIGIT. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1429 (regex_compile): In handle_interval, return an error rather than try to |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1430 unfetch the interval if we can't find the closing brace. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1431 Obey the RE_NO_GNU_OPS syntax bit. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1432 (TOLOWER): New macro. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1433 (regcomp): Use it. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1434 (regexec): Allocate regs.start and regs.end as one block. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1435 |
31293 | 1436 2000-08-30 Gerd Moellmann <gerd@gnu.org> |
1437 | |
31296 | 1438 * xdisp.c (echo_area_display): Check display_completed instead |
1439 of calling detect_input_pending. | |
1440 | |
31297 | 1441 * dispnew.c (update_frame): Only set display_completed here; move |
31296 | 1442 the update_begin and update_end calls here from update_frame_1. |
1443 (update_frame_1): Don't set display_completed here, don't call | |
1444 update_begin/update_end. | |
1445 | |
31293 | 1446 * xfaces.c (set_font_frame_param): Use Fmodify_frame_parameters |
1447 instead of store_frame_param. | |
1448 | |
31272 | 1449 2000-08-29 Gerd Moellmann <gerd@gnu.org> |
1450 | |
1451 * dispnew.c (build_frame_matrix_from_leaf_window): If a row of a | |
1452 desired window matrix hasn't been displayed, use the current row | |
1453 instead. Make sure that only those frame rows are updated for | |
1454 which there exists a corresponding enabled desired row. | |
1455 | |
31263 | 1456 2000-08-29 Miles Bader <miles@gnu.org> |
1457 | |
1458 * xfaces.c (default_face_vector): New function. | |
1459 (Finternal_merge_in_global_face): Use it instead of merge_face_vectors. | |
1460 | |
31256 | 1461 2000-08-29 Gerd Moellmann <gerd@gnu.org> |
1462 | |
1463 * lread.c (openp): Prevent temporary string passed to | |
1464 Ffile_readable_p from being garbage collected. | |
1465 | |
31234 | 1466 2000-08-28 Dave Love <fx@gnu.org> |
1467 | |
1468 * keymap.c (store_in_keymap): Add `static' to declaration. | |
1469 | |
31229 | 1470 2000-08-28 Gerd Moellmann <gerd@gnu.org> |
1471 | |
1472 * emacs.c, callint.c, doc.c, editfns.c | |
1473 (toplevel) [HAVE_STRING_H]: Include string.h. | |
1474 (toplevel) [HAVE_STRINGS_H]: Include strings.h. | |
1475 (index): Remove prototypes which might conflict with non-standard | |
1476 definitions of index/strchr. | |
1477 | |
1478 * s/usg5-3.h (index): Define only if not HAVE_INDEX. | |
1479 (rindex): Define only if !HAVE_RINDEX. | |
1480 | |
1481 * s/sco5.h (bcopy, bzero, bcmp): Don't define. | |
1482 | |
1483 * config.in (HAVE_INDEX, HAVE_RINDEX, HAVE_STRINGS_H): Add undefs. | |
1484 | |
31222 | 1485 2000-08-28 Miles Bader <miles@gnu.org> |
1486 | |
1487 * xfaces.c (merge_face_vectors): Clear TO's :font attribute if | |
1488 made inconsistent by a font-related attribute in FROM. | |
1489 (merge_face_inheritance): Add function comment. | |
1490 | |
31216 | 1491 2000-08-28 Kenichi Handa <handa@etl.go.jp> |
1492 | |
1493 * keyboard.c (read_char_minibuf_menu_prompt): Call read_char with | |
1494 the 4th arg (PREV_EVENT) Qt to suppress input method. | |
1495 | |
31210
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1496 2000-08-27 Stefan Monnier <monnier@cs.yale.edu> |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1497 |
31214
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1498 * regex.c: Indent cpp directives and remove parens after `defined'. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1499 (PTR_TO_OFFSET, POS_AS_IN_BUFFER): Move to a better place. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1500 (ISDIGIT, ISCNTRL, ISXDIGIT) [!emacs]: Remove duplicate definition. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1501 (regex_compile): Use RE_FRUGAL instead of RE_ALL_GREEDY. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1502 (re_compile_pattern): Use size_t for length. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1503 (init_syntax_once): Move to a better place. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1504 * regex.h: Merge changes from GNU libc. Indent cpp directives. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1505 (RE_FRUGAL): Replaces RE_ALL_GREEDY (inverted meaning). |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1506 |
31210
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1507 * syntax.c (back_comment): Detect cases where a comment-starter is |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1508 actually inside another comment as in: /* a // b */ c // d \n. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1509 Make it clear that `comstart_pos' is unused for nested comments. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1510 |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1511 * keymap.c (store_in_keymap, fix_submap_inheritance): New prototypes. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1512 (KEYMAPP): New macro. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1513 (Fkeymap_parent, Fset_keymap_parent): Use it. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1514 (fix_submap_inheritance): Mark it static. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1515 (define_as_prefix, describe_buffer_bindings, describe_command) |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1516 (describe_translation, describe_map): Complete prototypes. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1517 |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1518 * lisp.h (store_in_keymap, fix_submap_inheritance): Remove. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1519 |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1520 * keyboard.c (menu_bar_item): Detect duplicate entries for all items |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1521 to better match the key-lookup behavior. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1522 |
31203 | 1523 2000-08-27 Gerd Moellmann <gerd@gnu.org> |
1524 | |
1525 * xfaces.c (lface_fully_specified_p): Handle :inherit. | |
1526 (Finternal_set_lisp_face_attribute): Fix typo in error message. | |
1527 | |
31200 | 1528 2000-08-27 Eli Zaretskii <eliz@is.elta.co.il> |
1529 | |
1530 * Makefile.in (dispnew.o, indent.o, fontset.o, minibuf.o) | |
1531 (process.o, scroll.o, sysdep.o): Depend on keyboard.h. | |
1532 (xterm.o): Depend on coding.h | |
1533 | |
31181 | 1534 2000-08-26 Kenichi Handa <handa@etl.go.jp> |
1535 | |
1536 * cmds.c (internal_self_insert): Delete '#ifdef HAVE_FACES' and | |
1537 the corresponding '#endif'. | |
1538 | |
31180 | 1539 2000-08-26 Miles Bader <miles@gnu.org> |
1540 | |
1541 * dispextern.h (enum lface_attribute_index): Add LFACE_INHERIT_INDEX. | |
1542 * xfaces.c (QCinherit): New variable. | |
1543 (syms_of_xfaces): Initialize it. | |
1544 (LFACE_INHERIT): New macro. | |
1545 (Finternal_get_lisp_face_attribute) | |
1546 (merge_face_vector_with_property) | |
1547 (Finternal_set_lisp_face_attribute): Deal with :inherit attribute. | |
1548 (check_lface_attrs): Allow new types of face height. Check | |
1549 inherit attribute. | |
1550 (CYCLE_CHECK): New macro. | |
1551 (merge_face_inheritance): New function. | |
1552 (merge_face_vectors): Merge inherited faces too. Add F and | |
1553 CYCLE_CHECK arguments. | |
1554 (merge_face_vector_with_property, Finternal_merge_in_global_face) | |
1555 (lookup_named_face, lookup_derived_face, realize_named_face) | |
1556 (face_at_string_position, face_at_buffer_position): Supply | |
1557 new F and CYCLE_CHECK arguments to merge_face_vectors. | |
1558 (merge_face_heights): New function. | |
1559 (merge_face_vectors, merge_face_vector_with_property) | |
1560 (Finternal_set_lisp_face_attribute): Call merge_face_heights to | |
1561 handle relative face heights. | |
1562 (lface_same_font_attributes_p): Compare heights using EQ. | |
1563 | |
31176 | 1564 2000-08-26 Kenichi Handa <handa@etl.go.jp> |
1565 | |
1566 * charset.c (char_to_string): Check the character validity. | |
1567 (char_valid_p): If C is not less than MAX_CHAR, be sure to return | |
1568 0. | |
1569 | |
31172
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1570 2000-08-25 Stefan Monnier <monnier@cs.yale.edu> |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1571 |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1572 * regex.c (PUSH_FAILURE_COUNT): New macro. |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1573 (POP_FAILURE_REG_OR_COUNT): Renamed from POP_FAILURE_REG. |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1574 Handle popping of a register's or a counter's data. |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1575 (POP_FAILURE_POINT): Use the new name. |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1576 (re_match_2_internal): Push counter data on the stack for succeed_n, |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1577 jump_n and set_number_at and remove misleading dead code in succeed_n. |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1578 |
31171 | 1579 2000-08-25 Gerd Moellmann <gerd@gnu.org> |
1580 | |
1581 * xdisp.c (redisplay_internal): If considering all windows on all | |
1582 frames, update the display for each frame as soon as possible, | |
1583 instead of first building all desired matrices for all frames, and | |
1584 then updating them all. | |
1585 (try_cursor_movement): Handle case that last_cursor.vpos is -1. | |
1586 | |
31148 | 1587 2000-08-24 Gerd Moellmann <gerd@gnu.org> |
1588 | |
31153 | 1589 * bytecode.c (mark_byte_stack): Add a comment. |
1590 | |
31148 | 1591 * frame.h (FRAME_FLAGS_AREA_COLS, FRAME_FLAGS_AREA_WIDTH) |
1592 (FRAME_LEFT_FLAGS_AREA_WIDTH): Return 0 unless frame is | |
1593 a graphical frame. | |
1594 | |
31137 | 1595 2000-08-24 Kenichi Handa <handa@etl.go.jp> |
1596 | |
31139 | 1597 * minibuf.c (do_completion): Always use compare-string, not |
1598 string-equal because the latter doesn't pay attention to | |
1599 multibyteness of strings. | |
1600 | |
31137 | 1601 * process.c (create_process): Don't setup raw-text coding here. |
1602 (Fopen_network_stream): Don't set coding->src_multibyte and | |
1603 coding->dst_multibyte here. | |
1604 (read_process_output): For process filter, return unibyte string | |
1605 if default-enable-multibyte-characters is nil. | |
1606 (send_process): If OBJECT is multibyte text, be sure to encoded it | |
1607 by the specified coding system for the process. Otherwise, setup | |
1608 raw-text coding. | |
1609 (init_process): Don't initialize default-process-coding-system | |
1610 here. | |
1611 | |
31129 | 1612 2000-08-23 Eli Zaretskii <eliz@is.elta.co.il> |
1613 | |
1614 * buffer.c (syms_of_buffer) <scroll-up-aggressively>: Doc fix. | |
1615 <scroll-down-aggressively>: Likewise. | |
1616 | |
31121 | 1617 2000-08-23 Kenichi Handa <handa@etl.go.jp> |
1618 | |
31122 | 1619 * coding.c (encode_eol): Fix bug for the case of dst_bytes being |
1620 zero. Set coding->produced_char correctly. | |
31121 | 1621 |
31120 | 1622 2000-08-22 Andrew Innes <andrewi@gnu.org> |
1623 | |
1624 * makefile.w32-in: New file. | |
1625 | |
1626 * unexw32.c (unexec): Ignore old_name, and use the actual location | |
1627 of the current executable instead. Base new_name on this. | |
1628 | |
1629 * w32proc.c (create_child): Remove reference to security | |
1630 descriptor, which isn't needed and doesn't compile with mingw32. | |
1631 | |
1632 * w32term.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1633 up dllimport attributes. | |
1634 (x_update_window_end): Update prototype. | |
1635 | |
1636 * unexec.c (write_segment) [USE_CRT_DLL]: Remove unnecessary | |
1637 extern, which screws up dllimport attributes. | |
1638 | |
1639 * sysdep.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1640 up dllimport attributes. | |
1641 | |
1642 * strftime.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
1643 screws up dllimport attributes. | |
1644 | |
1645 * process.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1646 up dllimport attributes. | |
1647 (create_process) [USE_CRT_DLL]: Remove unnecessary extern, which | |
1648 screws up dllimport attributes. | |
1649 | |
1650 * lread.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1651 up dllimport attributes. | |
1652 | |
1653 * keyboard.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
1654 screws up dllimport attributes. | |
1655 | |
1656 * floatfns.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
1657 screws up dllimport attributes. | |
1658 | |
1659 * fileio.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1660 up dllimport attributes. | |
1661 | |
1662 * emacs.c (malloc_initialize_hook) [USE_CRT_DLL]: Remove | |
1663 unnecessary extern, which screws up dllimport attributes. | |
1664 (main): Ditto. | |
1665 | |
1666 * editfns.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1667 up dllimport attributes. | |
1668 | |
1669 * dispnew.c (window_change_signal) [USE_CRT_DLL]: Remove | |
1670 unnecessary extern, which screws up dllimport attributes. | |
1671 | |
1672 * callproc.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
1673 screws up dllimport attributes. | |
1674 | |
1675 * buffer.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1676 up dllimport attributes. | |
1677 | |
1678 * w32proc.c (IsValidLocale): Extern missing from mingw32 headers. | |
1679 | |
1680 * w32bdf.c (search_file_line): | |
1681 (set_bdf_font_info): | |
1682 (seek_char): | |
1683 (w32_get_bdf_glyph): | |
1684 (w32_BDF_to_x_font): Fix compile warnings. | |
1685 | |
1686 * w32menu.c: Include keyboard.h before frame.h. Fix compile | |
1687 warnings. | |
1688 | |
1689 * w32select.c: Include keyboard.h before frame.h. | |
1690 | |
1691 * w32fns.c (max): Define macro. | |
1692 (JOHAB_CHARSET): Define if not known. | |
1693 (MOD_ALT, MOD_CONTROL, MOD_SHIFT, MOD_WIN): Define if not known. | |
1694 (Fx_show_tip): Synch with X version. | |
1695 | |
1696 * w32xfns.c: Include keyboard.h before frame.h. | |
1697 | |
1698 * w32fns.c: Include keyboard.h before frame.h. | |
1699 | |
1700 * w32term.c: Include keyboard.h before frame.h. | |
1701 | |
1702 * fontset.c: Include keyboard.h before frame.h. | |
1703 | |
1704 * w32inevt.c: Include keyboard.h before frame.h. | |
1705 (MOUSE_MOVED): Define if not known. | |
1706 | |
1707 * minibuf.c: Include keyboard.h before frame.h. | |
1708 | |
1709 * keyboard.c: Include keyboard.h before frame.h. | |
1710 | |
1711 * indent.c: Include keyboard.h before frame.h. | |
1712 | |
1713 * dispnew.c: Include keyboard.h before frame.h. | |
1714 | |
1715 * buffer.c: Include keyboard.h before frame.h. | |
1716 | |
1717 * alloc.c: Include keyboard.h before frame.h. | |
1718 | |
1719 * print.c: Include keyboard.h before frame.h. | |
1720 | |
1721 * process.c: Include keyboard.h before frame.h. | |
1722 | |
1723 * scroll.c: Include keyboard.h before frame.h. | |
1724 | |
1725 * sysdep.c: Include keyboard.h before frame.h. | |
1726 | |
1727 * term.c: Include keyboard.h before frame.h. | |
1728 | |
1729 * window.c: Include keyboard.h before frame.h. | |
1730 | |
1731 * xdisp.c: Include keyboard.h before frame.h. | |
1732 Separate GLYPH_DEBUG and DEBUG_TRACE_MOVE. | |
1733 | |
1734 * frame.c: Include keyboard.h before frame.h. | |
1735 | |
1736 * w32heap.h: Undefine min, max. | |
1737 | |
1738 * w32gui.h: Undefine min, max. | |
1739 | |
1740 * unexw32.c: Change PUCHAR to PCHAR. | |
1741 (PTR_TO_OFFSET): Cast ptr to unsigned char *. | |
1742 (relocate_offset): | |
1743 (get_section_info): | |
1744 (copy_executable_and_dump_data): Remove unnecessary static defs. | |
1745 (copy_executable_and_dump_data): Fix compile warnings. | |
1746 | |
1747 * sysdep.c (NULL) [WINDOWSNT]: Define NULL if not defined. | |
1748 | |
1749 * w32console.c (min): Define macro. | |
1750 (clear_frame, write_glyphs): Fix compile warning. | |
1751 | |
1752 * w32proc.c (compare_env): | |
1753 (find_child_console): Fix compile warning. | |
1754 | |
1755 * w32.c (sys_strerror): Use sys_nerr instead of _sys_nerr. Use | |
1756 sys_errlist instead of _sys_errlist. | |
1757 (get_emacs_configuration_options): New function. | |
1758 | |
1759 * s/ms-w32.h (sys_nerr): Provide default definition. | |
1760 (strdup, strupr, strnicmp, stricmp, tzset, tzname): Map to same | |
1761 name with _ prepended. | |
1762 (NSIG): Define if not known. | |
1763 (get_emacs_configuration): Provide extern declaration. | |
1764 (get_emacs_configuration_options): Provide extern declaration. | |
1765 (EMACS_CONFIG_OPTIONS): Call get_emacs_configuration_options. | |
1766 | |
1767 * w32.c (gettimeofday): Use struct timeb, not struct _timeb. | |
1768 (map_w32_filename): | |
1769 (read_unc_volume): Fix compile warning. | |
1770 | |
1771 * s/ms-w32.h (_WINSOCK_H): Define to prevent normal winsock | |
1772 definitions from being used. | |
1773 | |
1774 * lisp.h [WINDOWSNT]: Don't declare externs for getenv, ctime and getwd. | |
1775 | |
1776 * w32.c (unc_volume_file_attributes): | |
1777 (open_unc_volume): Make arg const. | |
1778 | |
1779 * sysdep.c [WINDOWSNT]: Remove extern decl of errno. | |
1780 (read_input_waiting): Remove excess parameter. | |
1781 | |
1782 * w32.c (init_environment): Call _access. | |
1783 (check_windows_init_file): Call _close. | |
1784 (init_user_info): Call _putenv. | |
1785 (init_environment): Call _putenv and _strdup. | |
1786 (init_ntproc): Reset volume info cache on startup. | |
1787 | |
1788 * s/ms-w32.h (malloc, free, realloc, calloc): Rename if | |
1789 USE_CRT_DLL is defined, so Emacs can use GNU malloc even though it | |
1790 cannot override the CRT malloc. | |
1791 | |
1792 * makefile.nt (LOCAL_FLAGS): Define USE_CRT_DLL if requested. | |
1793 (LINK_FLAGS): Append to original value of LINK_FLAGS. | |
1794 | |
1795 * w32heap.c [!USE_CRT_DLL]: Don't define _heap_init and _heap_term | |
1796 unless we are linking with a static CRT. | |
1797 (RVA_TO_PTR): Cast result to unsigned char*. | |
1798 | |
1799 * w32.c (GetCachedVolumeInformation): Use xmalloc, xfree and xstrdup. | |
1800 (add_volume_info): Use xstrdup. | |
1801 | |
31107
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1802 2000-08-22 Stefan Monnier <monnier@cs.yale.edu> |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1803 |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1804 * minibuf.c (Vcompletion_auto_help): Renamed from `auto_help'. |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1805 (do_completion, Fminibuffer_complete_word): Use it. |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1806 (syms_of_minibuf): Turn completion-auto-help into a proper Lisp |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1807 var so it can take non-boolean values. |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1808 |
31004 | 1809 2000-08-21 Gerd Moellmann <gerd@gnu.org> |
1810 | |
31017 | 1811 * editfns.c (find_field): Formatting changes. |
1812 (toplevel): Some old-style function forward declarations | |
1813 changed to prototypes, some new protypes added, some functions | |
1814 made static. | |
1815 | |
1816 * lisp.h (set_time_zone_rule): Add prototype. | |
1817 (use_dialog_box): External declaration. | |
1818 | |
31014 | 1819 * keyboard.c (gen_help_event): Add parameter SIZE. |
1820 (kbd_buffer_events_waiting): Slightly rewritten. | |
1821 (clear_event): New function. | |
1822 (kbd_buffer_get_event): Use it, and clear the input_events of | |
1823 HELP_EVENTs. | |
1824 (init_keyboard): Remove duplicate creation of kbd_buffer_gcpro and | |
1825 don't fill the newly created array with nils. | |
1826 (toplevel): Convert some old-style function forward declarations | |
1827 to prototypes. | |
1828 | |
1829 * keyboard.h (gen_help_event): Change prototype. | |
1830 | |
1831 * xterm.c (XTread_socket): Change calls to gen_help_event. | |
1832 | |
1833 * w32term.c (w32_read_socket): Change calls to gen_help_event. | |
1834 | |
31004 | 1835 * eval.c (Fmacroexpand): Doc fix. |
1836 | |
30990 | 1837 2000-08-20 Jason Rumney <jasonr@gnu.org> |
1838 | |
1839 * w32term.h (x_display_info_for_display): Remove as this function | |
1840 does not exist on W32. | |
1841 | |
1842 * w32term.c (help_echo_window): New variable. | |
1843 (syms_of_w32term): staticpro it. | |
1844 (note_mode_line_highlight): Set it. | |
1845 (XTextExtents16): Removed as there is no equivalent on W32. | |
1846 (x_compute_glyph_string_overhangs): Incomplete body removed, as | |
1847 the X way of doing this will not work for W32. | |
1848 (w32_intersect_rectangles): Removed. Use IntersectRect API call. | |
1849 (x_draw_image_foreground): Avoid drawing outside of the clip area | |
1850 when image doesn't have a mask. | |
1851 (note_mouse_highlight): Process overlays in the right order of | |
1852 priority. Set help_echo_window. | |
1853 (x_draw_bar_cursor): If cursor is on an image, draw a box cursor | |
1854 because that's more visible for large images. | |
1855 | |
1856 * w32menu.c (keymap_panes): Pass the keymap's prompt as the pane | |
1857 name to single_keymap_panes. | |
1858 (w32_menu_show): Set wv->title when dealing with titles. | |
1859 (w32_menu_display_help): Call show_help_echo with OBJECT and POS. | |
1860 | |
30977 | 1861 2000-08-21 Miles Bader <miles@gnu.org> |
1862 | |
1863 * minibuf.c (do_completion): Try again if we rewrite the input | |
1864 string, but no completion was done, so that any completion message | |
1865 will be correct. | |
1866 | |
30975 | 1867 2000-08-20 Gerd Moellmann <gerd@gnu.org> |
1868 | |
1869 * xfaces.c (lface_equal_p): Compare strings differently. | |
1870 (Qtty_color_alist, Vtty_defined_color_alist): New variables. | |
1871 (realize_tty_face): Use them. | |
1872 (syms_of_xfaces): Initialize new variables. | |
1873 (map_tty_color): New function, extracted from realize_tty_face. | |
1874 (map_tty_color) [MSDOS || WINDOWSNT]: If using the frame's default | |
1875 foreground or background color, store the new color name in the | |
1876 realized face; previous code trying to do this had no effect. | |
1877 (realize_tty_face): Use map_tty_color. | |
1878 (Fclear_face_cache): Set face_change_count and ensure thorough | |
1879 redisplay. | |
1880 | |
30963 | 1881 2000-08-19 Gerd Moellmann <gerd@gnu.org> |
1882 | |
30975 | 1883 * undo.c (record_first_change, record_marker_adjustment): Don't |
1884 use XBUFFER on last_undo_buffer which might not be a buffer. | |
30963 | 1885 |
30949 | 1886 2000-08-18 Kenichi Handa <handa@etl.go.jp> |
1887 | |
1888 * coding.c (decode_coding_string): Set members consumed, | |
1889 consumed_char, produced, produced_char of *coding correctly. If | |
1890 decode_coding doesn't consume any byte, don't try anymore. | |
1891 (encode_coding_string): Likewise. | |
1892 | |
30944 | 1893 2000-08-18 Gerd Moellmann <gerd@gnu.org> |
1894 | |
30975 | 1895 * lisp.h (CHECK) [ENABLE_CHECKING]: Make both sides of the |
1896 conditional have void type, for Standard C compilers. | |
30944 | 1897 |
1898 * xdisp.c (redisplay_internal): Compare windows for equality with | |
1899 EQ, instead of applying XWINDOW to something that might not | |
1900 be a window. | |
1901 | |
30940 | 1902 2000-08-18 Kenichi Handa <handa@etl.go.jp> |
1903 | |
1904 * fontset.c (Finternal_char_font): Search only the selected frame | |
1905 for a window of the current buffer. | |
1906 | |
30937 | 1907 2000-08-18 Gerd Moellmann <gerd@gnu.org> |
1908 | |
30975 | 1909 * minibuf.c (do_completion): Use EQ instead of `!=' to compare |
30939 | 1910 Lisp_Objects. |
1911 | |
30937 | 1912 * keyboard.c (kbd_buffer_get_event): Handle the case that the |
1913 second half of a HELP_EVENT is found at the start of kbd_buffer. | |
1914 | |
30932 | 1915 2000-08-18 Miles Bader <miles@gnu.org> |
1916 | |
30935 | 1917 * lisp.h (Lisp_String): Replace DECLARE_INTERVALS with real decl. |
1918 | |
30932 | 1919 * editfns.c (save_restriction_save): Rewrite to use markers. |
1920 (save_restriction_restore): Rewrite to understand new form of data | |
1921 saved by save_restriction_save. | |
1922 (Fsave_restriction): Remove cautionary note in doc-string. | |
1923 | |
30928 | 1924 2000-08-17 Gerd Moellmann <gerd@gnu.org> |
1925 | |
1926 * fileio.c (build_annotations): Add a comment explaining the | |
1927 return value of format-annotate-function. Replace a spurious call | |
1928 to Flength with a CONSP test. Call format-annotate-function with | |
1929 a fifth arg specifying how many times the function is been called | |
1930 in a row, to let it choose temporary buffers appropriately. | |
1931 | |
30919 | 1932 2000-08-17 Dave Love <fx@gnu.org> |
1933 | |
1934 * lisp.h: Remove DECLARE_INTERVALS, INITIALIZE_INTERVAL. Don't | |
1935 declare make_temp_name twice. | |
1936 | |
1937 * lread.c: Prototype readevalloop, load_unwind, | |
1938 load_descriptor_unwind. | |
1939 (unreadpure): Give it an arg. | |
1940 | |
1941 * unexalpha.c: Prototype fatal_unexec, mark_x, | |
1942 update_dynamic_symbols. Declare unexec as void. | |
1943 | |
1944 * cm.c [HAVE_TERMCAP_H]: Include <termcap.h>. | |
1945 [!HAVE_TERMCAP_H]: Prototype tputs, tgoto. | |
1946 | |
1947 * alloc.c (lisp_malloc): Declare with POINTER_TYPE. | |
1948 [SYSTEM_MALLOC]: Make decls in malloc.h conditional on | |
1949 DOUG_LEA_MALLOC. | |
1950 | |
1951 * alloca.c: Use #error. | |
1952 [POINTER_TYPE]: Use it. | |
1953 | |
1954 * eval.c (Fdefvar): Doc fix. | |
1955 | |
1956 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Avoid | |
1957 INITIALIZE_INTERVAL. | |
1958 | |
1959 * buffer.h: Avoid DECLARE_INTERVALS. | |
1960 | |
1961 * config.in: Add size_t. | |
1962 | |
30901 | 1963 2000-08-17 Eli Zaretskii <eliz@is.elta.co.il> |
1964 | |
1965 * w16select.c (set_clipboard_data): If there's not enough memory | |
1966 to put text into clipboard, return 1, as Fw16_set_clipboard_data | |
1967 expects. In case of other failures, return 3. | |
1968 (system_error_msg): New error message. | |
1969 (Fw16_set_clipboard_data): If set_clipboard_data returns 3, print | |
1970 system_error_msg. | |
1971 | |
30849 | 1972 2000-08-16 Gerd Moellmann <gerd@gnu.org> |
1973 | |
1974 * term.c (write_glyphs): Also turn off inverse video after turning | |
1975 off other appearances in case TS_exit_attribute_mode is not equal | |
1976 to TS_end_standout_mode. | |
1977 (insert_glyphs): Turn inverse video on/off for each run of glyphs | |
1978 with the same face. | |
1979 (turn_off_face): Reset standout_mode only if | |
1980 TS_exit_attribute_mode has been output and TS_exit_attribute_mode | |
1981 is equal to TS_end_standout_mode. | |
1982 | |
30843 | 1983 2000-08-16 Kenichi Handa <handa@etl.go.jp> |
1984 | |
30846 | 1985 * coding.c (encode_coding): Fix the bug of not flushing ISO escape |
1986 sequence at the end of the source block. | |
1987 | |
30843 | 1988 * ccl.c (Fccl_program_p): Docstring modified. |
1989 (Fccl_execute): Likewise. | |
1990 (Fccl_execute_on_string): Likewise. | |
1991 | |
30841 | 1992 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il> |
1993 | |
1994 * msdos.c (IT_write_glyphs): Convert cbp to unsigned char *. | |
1995 | |
30830 | 1996 2000-08-16 Kenichi Handa <handa@etl.go.jp> |
1997 | |
1998 The following changes are mainly to fix bugs of | |
1999 encode/decode-coding-string failing if encoding/decoding return | |
2000 CODING_FINISH_INSUFFICIENT_DST. In addition, delete the global | |
2001 variable conversion_buffer. | |
2002 | |
2003 * ccl.c (CCL_WRITE_CHAR): If CH is eight-bit-control char, | |
2004 decrement dst_end to avoid buffer overflow in the later call of | |
2005 string_as_multibyte | |
2006 | |
2007 * coding.h (conversion_buffer_size, conversion_buffer) | |
2008 (get_conversion_buffer): Extern deleted. | |
2009 | |
2010 * coding.c (MINIMUM_CONVERSION_BUFFER_SIZE): Macro deleted. | |
2011 (conversion_buffer, conversion_buffer_size): Variables deleted. | |
2012 (get_conversion_buffer): Function deleted. | |
2013 (struct conversion_buffer): New structure. | |
2014 (MAX_ALLOCA): New macro. | |
2015 (allocate_conversion_buffer): New macro. | |
2016 (extend_conversion_buffer, free_conversion_buffer): New functions. | |
2017 (ccl_coding_driver): Set coding->result. | |
2018 (decode_coding): Set coding->result to CODING_FINISH_NORMAL if | |
2019 this is the last block of source. | |
2020 (encode_coding): Likewise. Handle the source block as the last | |
2021 one only when the whole source text is consumed. | |
2022 (decode_coding_string): Handle the case that the output buffer is | |
2023 too small to decode the whole source text. Use | |
2024 allocate_conversion_buffer, extend_conversion_buffer and | |
2025 free_conversion_buffer, not get_conversion_buffer. | |
2026 (encode_coding_string): Likewise. | |
2027 (init_coding): Function deleted. | |
2028 (init_coding_once): Delete code to initialize | |
2029 conversion_buffer_size. | |
2030 | |
2031 * emacs.c (main): Don't call init_coding. | |
2032 | |
2033 * msdos.c (IT_write_glyphs): Use a locally declared | |
2034 conversion_buffer. | |
2035 | |
2036 * term.c (write_glyphs): Use a locally declared conversion_buffer. | |
2037 (insert_glyphs): Likewise. | |
2038 | |
2039 * w32console.c (write_glyphs): Use a locally declared | |
2040 conversion_buffer. | |
2041 | |
30827 | 2042 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il> |
2043 | |
2044 * msdos.c (IT_update_begin): Don't crash if mouse_face_mouse_frame | |
2045 member of display_info is NULL. | |
2046 | |
30822 | 2047 2000-08-15 Gerd Moellmann <gerd@gnu.org> |
2048 | |
30825 | 2049 * alloc.c (compact_small_strings): Use safe_bcopy, add an |
2050 assertion. | |
2051 | |
30822 | 2052 * term.c (turn_off_face): Reset standout_mode when resetting |
30825 | 2053 appearances with capability `me'. |
30822 | 2054 (write_glyphs): Switch on inverse video before each face change. |
2055 | |
30785 | 2056 2000-08-14 Dave Love <fx@gnu.org> |
2057 | |
2058 * alloc.c [HAVE_UNISTD_H]: Include unistd.h; don't declare sbrk. | |
2059 [!HAVE_UNISTD_H]: Use POINTER_TYPE to declare sbrk. | |
2060 (lisp_free): Declare and make static. | |
2061 | |
2062 * window.c: Fix embedded comment. | |
2063 (syms_of_window): Fix doc string. | |
2064 | |
30781 | 2065 2000-08-14 Gerd Moellmann <gerd@gnu.org> |
2066 | |
2067 * keymap.c (push_key_description): If C without modifiers is < 32, | |
2068 make sure to print `C-' before `M-', like in the manual. | |
2069 | |
30762 | 2070 2000-08-11 Gerd Moellmann <gerd@gnu.org> |
2071 | |
2072 * fns.c (hashfn_eq, hashfn_eql): Don't handle strings specially | |
2073 since they aren't relocated anymore. | |
2074 (sxhash_string): Make sure returned hash code fits in a Lisp | |
2075 integer. | |
2076 | |
2077 * xdisp.c (try_cursor_movement): Fix handling of cursor in | |
2078 partially visible line which is smaller than the window's | |
2079 height. | |
2080 | |
30753 | 2081 2000-08-11 Kenichi Handa <handa@etl.go.jp> |
2082 | |
2083 * ccl.c (CCL_READ_CHAR): If source is multibyte, pay attention to | |
2084 the multibyte form of eight-bit-control characters. | |
2085 (Fccl_execute_on_string): Initialize ccl->multibyte. | |
2086 | |
2087 * ccl.h (struct ccl_program): New member multibyte. | |
2088 | |
2089 * coding.c (ccl_coding_driver): Initialize ccl->multibyte. | |
2090 | |
30751 | 2091 2000-08-11 Kenichi Handa <handa@etl.go.jp> |
2092 | |
2093 * regex.c (regex_compile) <normal_char>: Pay attention to | |
2094 multibyteness. | |
2095 (analyse_first) <exactn>: Setup fastmap correctly for | |
2096 eight-bit-control characters. | |
2097 | |
2098 2000-08-11 Kenichi Handa <handa@etl.go.jp> | |
2099 | |
2100 * termhooks.h (enum event_kind): New member | |
2101 multibyte_char_keystroke. | |
2102 | |
2103 * keyboard.c (make_lispy_event): Handle the new event type | |
2104 multibyte_char_keystroke. | |
2105 | |
2106 * xterm.c: Include coding.h. | |
2107 (XTread_socket): Work around a bug of XmbLookupString. If the | |
2108 input is from XIM, decode it according to the current locale. In | |
2109 that case, generate multibyte_char_keystroke events. | |
2110 | |
30746 | 2111 2000-08-11 Kenichi Handa <handa@etl.go.jp> |
2112 | |
2113 * xdisp.c (TRACE_MOVE) [GLYPH_DEBUG]: Delete the last semicolon. | |
2114 (TRACE_MOVE) [not GLYPH_DEBUG]: Define dummy. | |
2115 | |
30745 | 2116 2000-08-10 Gerd Moellmann <gerd@gnu.org> |
2117 | |
2118 * xdisp.c (trace_move) [GLYPH_DEBUG]: New variable. | |
2119 (TRACE_MOVE) [GLYPH_DEBUG]: New macro. | |
2120 (move_it_in_display_line_to): Record iterator's ascent and descent | |
2121 before producing glyphs, and restore them when we know the glyph | |
2122 doesn't fit on the line. | |
2123 (move_it_to): Restructured so that it's easier to debug. If | |
2124 moving to a vpos, and not moving to an x or character position, | |
2125 stop as soon as the specified vpos is reached; don't move further | |
2126 into that line because that might change the computed line height. | |
2127 (try_cursor_movement): New function, extracted from the cursor | |
2128 movement branch of redisplay_window. If ending on a partially | |
2129 visible line, don't try to scroll if the cursor line is taller | |
2130 than the window. | |
2131 (redisplay_window): Use try_cursor_movement. | |
2132 | |
2133 * window.c (Fwindow_end): Rewritten to not use Fvertical_motion, | |
2134 because that function doesn't cope with variable-height lines. | |
2135 | |
2136 * xterm.c (x_draw_bar_cursor): If cursor is on an image, draw a | |
2137 box cursor because that's better visible for large images. | |
2138 | |
30737 | 2139 2000-08-10 Miles Bader <miles@gnu.org> |
2140 | |
2141 * w32term.c (note_mouse_highlight): Update calls to overlays_at. | |
2142 | |
30729 | 2143 2000-08-10 Gerd Moellmann <gerd@gnu.org> |
2144 | |
2145 * xdisp.c (Vmessages_buffer_name): New variable. | |
2146 (message_dolog): Use it. | |
2147 (syms_of_xdisp): Initialize it. | |
2148 | |
30726 | 2149 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il> |
2150 | |
2151 * msdos.c (IT_note_mouse_highlight): Update the calls to | |
2152 overlays_at. | |
2153 (toplevel) <kbd_buffer_store_event>: Remove prototype, it's | |
2154 redundant now that keyboard.h is included. | |
2155 | |
30715 | 2156 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il> |
2157 | |
2158 * keyboard.c (kbd_buffer_events_waiting): New function. | |
2159 | |
2160 * keyboard.h (kbd_buffer_events_waiting): Add prototype. | |
2161 | |
2162 * msdos.c: Include keyboard.h. | |
2163 (XMenuActivate): Empty no_event events from the event buffer. If | |
2164 no events are left after that, call clear_input_pending. | |
2165 (mouse_clear_clicks): New function, code moved from mouse_init. | |
2166 (mouse_init, XMenuActivate): Call mouse_clear_clicks to force the | |
2167 mouse driver to ``forget'' any past clicks. | |
2168 | |
2169 * Makefile.in (msdos.o): Depend on keyboard.h. | |
2170 | |
30708 | 2171 2000-08-09 Gerd Moellmann <gerd@gnu.org> |
2172 | |
30724 | 2173 * lisp.h (input_pending): External declaration. |
2174 | |
2175 * dispextern.h (Qredisplay_dont_pause): Declare extern. | |
2176 | |
2177 * xdisp.c (echo_area_display): Display thoroughly if input is | |
2178 pending. Bind redisplay-dont-pause to t during the redisplay. | |
2179 in case input is pending. | |
2180 | |
2181 * dispnew.c (Qredisplay_dont_pause): New variable. | |
2182 (syms_of_display): Initialize and staticpro it. | |
2183 (update_frame_1): Don't interrupt the display for pending input if | |
2184 redisplay_dont_pause is set. | |
2185 | |
30714 | 2186 * dispnew.c (mode_line_string): Declare parameter MODE_LINE_P. |
2187 | |
30708 | 2188 * xfaces.c (Ftty_suppress_bold_inverse_default_colors): Doc fix. |
2189 | |
30702 | 2190 2000-08-09 Miles Bader <miles@lsi.nec.co.jp> |
2191 | |
2192 * callproc.c (Fcall_process): Terminate the unwind-protect around | |
2193 the post-read-conversion of coding system. | |
2194 | |
30701 | 2195 * buffer.c (overlays_at): Add CHANGE_REQ parameter. |
2196 (Foverlays_at, Fnext_overlay_change, Fprevious_overlay_change): Use it. | |
2197 * buffer.h (overlays_at): Update prototype. | |
2198 * xdisp.c (next_overlay_change): Update call to overlays_at. | |
2199 * xfaces.c (face_at_buffer_position): Likewise. | |
2200 * textprop.c (Fget_char_property): Likewise. | |
2201 * xterm.c (note_mouse_highlight): Likewise. | |
2202 | |
30685 | 2203 * minibuf.c (do_completion): Don't consider a simple change of |
2204 case as `completion'. | |
2205 | |
30674
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
2206 2000-08-08 Ken Raeburn <raeburn@gnu.org> |
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
2207 |
30683
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2208 * keyboard.c (syms_of_keyboard): Initialize |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2209 last_point_position_buffer. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2210 * undo.c (record_delete): Make sure last_point_position_buffer is |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2211 a buffer before comparing pointers. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2212 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2213 * coding.h (decode_coding_string): Declare. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2214 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2215 * intervals.h (Fprevious_single_char_property_change): Declare. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2216 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2217 * textprop.c (Fprevious_single_char_property_change): Don't do |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2218 arithmetic directly on lisp objects. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2219 |
30693 | 2220 * editfns.c (find_field): Use EQ, not ==, to compare Lisp |
30683
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2221 objects. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2222 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2223 * keyboard.h (menu_item_eval_property): Declare. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2224 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2225 * xdisp.c (message_dolog): Save and protect string "*Messages*" to |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2226 reuse as buffer name, instead of recreating (and discarding) every |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2227 time a message is logged. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2228 (with_echo_area_buffer): Make callback arg A2 a lisp object. |
30693 | 2229 (current_message_1, truncate_message_1, set_message_1) |
2230 (display_echo_area_1, resize_mini_window_1): Signatures changed. | |
2231 (current_message, truncate_echo_area, display_echo_area) | |
2232 (resize_echo_area_axactly): Changed calls. | |
30683
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2233 |
30674
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
2234 * coding.c (find_safe_codings): CHAR_TABLE_SET index must be a |
30693 | 2235 Lisp object. |
30674
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
2236 (Ffind_coding_systems_region_internal): First argument to Fappend |
30693 | 2237 must be an integer, not a Lisp object. |
30674
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
2238 |
30672 | 2239 2000-08-08 Kenichi Handa <handa@etl.go.jp> |
2240 | |
2241 * charset.c (Fchar_width): Doc fix. | |
2242 | |
30671 | 2243 2000-08-08 Gerd Moellmann <gerd@gnu.org> |
2244 | |
2245 * charset.c (Fstring_width): Doc fix. | |
2246 | |
30632 | 2247 2000-08-07 Gerd Moellmann <gerd@gnu.org> |
2248 | |
30708 | 2249 * xdisp.c (start_display): When starting display on a continuation |
30654 | 2250 line, clear ascent and descent members of the iterator structure; |
2251 the height of the continued line does not affect the height of the | |
2252 continuation line. | |
2253 (make_cursor_line_fully_visible): Do nothing if cursor is on a | |
2254 line taller than the window. | |
2255 (redisplay_window) <forced window start>: Handle case that the | |
2256 middle of the window is not found in any row. | |
2257 (dump_glyph_row): Show more information. | |
2258 (compute_line_metrics): Use MATRIX_FIRST_TEXT_ROW to determine the | |
2259 first text line in a glyph matrix. | |
2260 | |
2261 * xterm.c (x_draw_image_foreground): Avoid drawing outside | |
2262 of the clip area when image doesn't have a mask. | |
2263 | |
30639 | 2264 * fns.c (sweep_weak_table): Fix survival conditions for |
2265 key-or-value and key-and-value weakness. | |
2266 | |
2267 * .gdbinit (xhashtable): New command. | |
2268 | |
30635 | 2269 * fns.c (sweep_weak_hash_tables): Fix the code taking unmarked |
2270 tables out of the list of all weak hash tables. | |
2271 | |
30632 | 2272 * xdisp.c (ensure_echo_area_buffers): If a buffer was killed, and |
30633 | 2273 a new buffer is created, make sure echo_area_buffer[] references |
2274 the new buffer. | |
30632 | 2275 |
30629 | 2276 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il> |
2277 | |
2278 * msdos.c (Fmsdos_set_mouse_buttons): Add missing backslashes in | |
2279 the doc string. | |
2280 | |
30625 | 2281 2000-08-07 Kenichi Handa <handa@etl.go.jp> |
2282 | |
2283 * syntax.c (skip_chars): Fix previous change. Make the handling | |
2284 of unibyte string consistent with that of regex search. | |
2285 | |
30603 | 2286 2000-08-05 Gerd Moellmann <gerd@gnu.org> |
2287 | |
30614 | 2288 * xmenu.c (popup_get_selection): Use xfree instead of free. |
2289 | |
2290 * fileio.c (Finsert_file_contents): Use xfree instead of free. | |
2291 | |
2292 * editfns.c (Ftranspose_regions): Use xfree instead of free. | |
2293 | |
2294 * callproc.c (child_setup): Use xfree instead of free. | |
2295 | |
2296 * sysdep.c (opendir, GetTempDirName, run_mac_command): Use xmalloc | |
2297 instead of malloc. | |
2298 (run_mac_command, closedir): Use `xfree' instead of `free'. | |
2299 | |
2300 * keymap.c (current_minor_maps): Use xmalloc instead of malloc. | |
2301 | |
2302 * eval.c (error): Use xfree instead of free. | |
2303 | |
30603 | 2304 * xfaces.c, xfns.c, w32fns.c: Replace `illegal' with `invalid'. |
2305 | |
2306 * fns.c: Replace `illegal' with `invalid'. | |
30614 | 2307 (Fmake_hash_table, make_hash_table): Allow table size of 0. |
30603 | 2308 |
30596
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
2309 2000-08-05 Kenichi Handa <handa@etl.go.jp> |
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
2310 |
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
2311 * syntax.c (skip_chars): Fix handling of multibyte<->unibyte |
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
2312 conversion. |
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
2313 |
30598
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
2314 2000-08-04 Noah Friedman <friedman@splode.com> |
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
2315 |
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
2316 * fns.c (Fmake_hash_table): Add missing `\n\' to end of line in |
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
2317 docstring. |
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
2318 |
30595 | 2319 2000-08-04 Gerd Moellmann <gerd@gnu.org> |
2320 | |
2321 * syntax.c (skip_chars): Fix typo in error message. | |
2322 | |
30588
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
2323 2000-08-04 Andreas Schwab <schwab@suse.de> |
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
2324 |
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
2325 * m/ia64.h: Moved from s/ia64.h. |
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
2326 |
30577 | 2327 2000-08-04 Kenichi Handa <handa@etl.go.jp> |
2328 | |
30582 | 2329 * process.c (read_process_output): Big simplification. Handle |
2330 composition and post-read-conversion of coding system correctly. | |
2331 (send_process): Handle composition correctly. | |
2332 | |
2333 * callproc.c (Fcall_process): Handle post-read-conversion of | |
2334 coding system if any. | |
2335 | |
30577 | 2336 * coding.c (decode_coding_iso2022): More strict check for handling |
2337 single shifting. | |
30582 | 2338 (coding_restore_composition): Pay attention to the case that |
2339 cmp_data is not set properly (because of invalid code in the | |
2340 source text). | |
2341 (run_pre_post_conversion_on_str): Include text properties in the | |
2342 resulting string. | |
2343 (decode_coding_string): Set members of coding correctly. | |
30577 | 2344 |
30576 | 2345 2000-08-03 Gerd Moellmann <gerd@gnu.org> |
2346 | |
2347 * s/ia64.h: New file. | |
2348 | |
2349 * widget.c (set_frame_size, update_wm_hints, EmacsFrameSetValues): | |
2350 Use NULL instead of 0 at the end of variable argument list of | |
2351 XtVaGetValues and XtVaSetValues, because 0 fails on systems where | |
2352 sizeof (int) < sizeof (void *). | |
2353 | |
2354 * xmenu.c (update_frame_menubar): Use NULL instead of 0 at the end | |
2355 of variable argument lists of XtVaGetValues and XtVaSetValues. | |
2356 | |
2357 * xfns.c (Fx_file_dialog): Use NULL instead of 0 at the end of | |
2358 variable argument lists of XtVaGetValues and XtVaSetValues. | |
2359 | |
30564 | 2360 2000-08-02 Gerd Moellmann <gerd@gnu.org> |
2361 | |
2362 * alloc.c (lisp_malloc, lisp_free): Use size_t and POINTER_TYPE. | |
2363 (xrealloc, xmalloc): Use size_t. Some callers adjusted. | |
2364 | |
2365 * lisp.h (Fsingle_key_description, xmalloc, xrealloc): Change | |
2366 prototype. | |
2367 | |
2368 * keyboard.c (read_char_minibuf_menu_prompt): Add new parameter | |
2369 in call to Fsingle_key_description. | |
2370 | |
2371 * keymap.c (Fsingle_key_description): Add parameter NO_ANGLES. | |
2372 Callers changed. | |
2373 | |
2374 2000-08-02 Colin Walters <walters@cis.ohio-state.edu> | |
2375 | |
2376 * window.c (display_buffer_reuse_frames): New variable. | |
2377 (Fdisplay_buffer): If display_buffer_reuse_frames is set, reuse | |
2378 frames displaying BUFFER. | |
2379 (syms_of_window): Define Lisp variable | |
2380 display-buffer-reuse-frames. | |
2381 | |
30551 | 2382 2000-08-01 Miles Bader <miles@gnu.org> |
2383 | |
2384 * editfns.c (Fconstrain_to_field): Fix the conditions for deciding | |
2385 when to constrain NEW_POS (they were pretty screwed up before). | |
2386 | |
30531 | 2387 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il> |
2388 | |
2389 * msdos.c (run_msdos_command): Save and restore the master | |
2390 environment, for the case that child_setup signals an error. | |
2391 When mirroring slashes in DOS shell commands, don't fail when | |
2392 argv[2] has embedded blanks. | |
30533 | 2393 (Fmsdos_set_mouse_buttons, mouse_setup_buttons): New functions. |
2394 (syms_of_msdos): Defsubr Fmsdos_set_mouse_buttons. | |
2395 (dos_ttraw): Call mouse_setup_buttons. | |
30531 | 2396 |
2397 * callproc.c (child_setup) [MSDOS]: malloc pwd_var instead of | |
2398 using alloca; free it after run_msdos_command returns. | |
2399 | |
30507 | 2400 2000-07-27 Dave Love <fx@gnu.org> |
2401 | |
2402 * s/irix6-5.h (IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't | |
2403 define. | |
2404 [_MIPS_SZLONG == 64]: Set up for 64-bit mode -- not currently | |
2405 working. | |
2406 | |
2407 * m/iris4d.h (XUINT, XSET, XUNMARK) [_LP64]: Don't define. | |
2408 | |
30504 | 2409 2000-07-27 Eli Zaretskii <eliz@is.elta.co.il> |
2410 | |
2411 * editfns.c (lisp_time_argument): Fix last change. | |
2412 | |
30502 | 2413 2000-07-27 Gerd Moellmann <gerd@gnu.org> |
2414 | |
30511 | 2415 * fns.c (Fdelete): Make it work on vectors and strings in addition |
2416 to lists. | |
2417 | |
30502 | 2418 * fns.c (Qkey_or_value, Qkey_and_value): New variables. |
2419 (syms_of_fns): Initialize new variables. | |
2420 (sweep_weak_table): Handle weakness `key-or-value' and | |
2421 `key-and-value'. | |
2422 (Fmake_hash_table): Recognize `key-and-value' and `key-or-value' | |
2423 weakness, with t meaning the same as `key-and-value'. | |
2424 | |
30490 | 2425 2000-07-27 Kenichi Handa <handa@etl.go.jp> |
2426 | |
2427 * coding.h (struct coding_system): Member safe_charset deleted. | |
2428 | |
2429 * coding.c (Qsafe_charsets): This variable deleted. | |
2430 (Qsafe_chars, Vchar_coding_system_table, Qchar_coding_system): New | |
2431 variables. | |
2432 (coding_safe_chars): New function. | |
2433 (CODING_SAFE_CHAR_P): New macro. | |
2434 (CHARSET_OK): New arg C. Call CODING_SAFE_CHAR_P instead of | |
2435 checking safe_charsets member of the coding system. Caller | |
2436 changed. | |
2437 (detect_coding_iso2022): New local variable safe_chars. | |
2438 (DECODE_DESIGNATION): Call CODING_SAFE_CHAR_P instead of checking | |
2439 safe_charsets member of the coding system. | |
2440 (decode_coding_iso2022): New local variable safe_chars. | |
2441 (ENCODE_ISO_CHARACTER_DIMENSION1): Don't check unsafe chars here. | |
2442 (ENCODE_ISO_CHARACTER_DIMENSION2): Likewise. | |
2443 (ENCODE_ISO_CHARACTER): Arguments changed. Caller changed. | |
2444 (ENCODE_UNSAFE_CHARACTER): New macro. | |
2445 (encode_coding_iso2022): New local variable safe_chars. Check | |
2446 unsafe chars. | |
2447 (setup_coding_system): Delete the code to initialize | |
2448 coding->safe_charses | |
2449 (intersection, find_safe_codings): New functions. | |
2450 (Ffind_coding_systems_region_internal): New function. | |
2451 (syms_of_coding): Defsubr it. Initialize Qsafe_chars, | |
2452 Qsafe_cding_system. Make Vchar_coding_system_table a Lisp | |
2453 variable and initialize it. | |
2454 | |
2455 * fns.c (char_table_ref_and_index): New function. | |
2456 | |
2457 * lisp.h (char_table_ref_and_index): Add prototype. | |
2458 | |
30480 | 2459 2000-07-26 Sam Steingold <sds@gnu.org> |
2460 | |
2461 * editfns.c (lisp_time_argument): Added third argument `usec'. | |
30511 | 2462 (Ffloat_time): New built-in Lisp function. |
30480 | 2463 |
30473 | 2464 2000-07-26 Gerd Moellmann <gerd@gnu.org> |
2465 | |
30477 | 2466 * dispextern.h (GLYPH_FROM_CHAR_GLYPH): Use CHARACTERBITS bits |
2467 for the character code. | |
2468 | |
2469 * config.in (HAVE_SOUND): Define only for FreeBSD, NetBSD and | |
2470 GNU/Linux. | |
2471 | |
30473 | 2472 * xmenu.c (menu_highlight_callback): Call show_help_echo directly |
2473 if called for a popup menu. | |
2474 (xmenu_show): Store help string in widget values. | |
2475 | |
30466 | 2476 2000-07-26 Dave Love <fx@gnu.org> |
2477 | |
2478 * syswait.h: Move some definitions. | |
2479 (HAVE_SYS_WAIT_H): Undef for HPUX7, Convex. | |
2480 [!HAVE_SYS_WAIT_H]: Define things unconditionally. More | |
2481 perspicuous definitions. | |
2482 (WTERMSIG): Fix bit pattern used. | |
2483 | |
30460 | 2484 2000-07-26 Kenichi Handa <handa@etl.go.jp> |
2485 | |
2486 * print.c (print_object): If vector printing is truncated, print | |
2487 "..." to indicate it as well as the case of list printing. | |
2488 | |
30444 | 2489 2000-07-25 Gerd Moellmann <gerd@gnu.org> |
2490 | |
30449 | 2491 * xdisp.c (next_element_from_display_vector): Improve comments. |
2492 | |
2493 * lisp.h (GLYPH_MASK_CHAR, GLYPH_MASK_FACE): Use 19 bits | |
2494 for the character code, and the rest for the face id as in 20.x. | |
2495 (FAST_GLYPH_FACE, FAST_MAKE_GLYPH): Changed accordingly. | |
2496 | |
2497 * window.c (window_display_table): Cleaned up. | |
2498 | |
30444 | 2499 * syntax.c (Fforward_word): Add last arg nil in call of |
2500 Fconstrain_to_field. | |
2501 | |
30442 | 2502 2000-07-25 Eli Zaretskii <eliz@is.elta.co.il> |
2503 | |
30449 | 2504 * fileio.c (Frename_file) [DOS_NT]: If the file names are |
30442 | 2505 identical but for the letter-case, don't call |
2506 barf_or_query_if_file_exists. | |
2507 | |
30438 | 2508 2000-07-25 Miles Bader <miles@gnu.org> |
2509 | |
2510 * editfns.c (find_field): Honor special `boundary' fields. | |
2511 (Qboundary): New variables. | |
2512 (syms_of_editfns): Initialize Qboundary. | |
2513 (Fconstrain_to_field): Add the INHIBIT-CAPTURE-PROPERTY argument. | |
2514 Use scan_buffer instead of find_before_next_newline, because it | |
2515 allows us to detect the boundary case where there's a newline at | |
2516 the search limit. | |
2517 * lisp.h (Fconstrain_to_field): Update external declaration. | |
2518 | |
30433 | 2519 2000-07-24 Gerd Moellmann <gerd@gnu.org> |
2520 | |
2521 * print.c (temp_output_buffer_setup): Don't call1 Vrun_hooks | |
2522 if that is nil. | |
30438 | 2523 |
30431 | 2524 2000-07-24 Dave Love <fx@gnu.org> |
2525 | |
2526 * s/sunos4-0.h, s/sol2.h: | |
2527 (LIBS_TERMCAP): Move from m/sparc.h. | |
2528 | |
2529 * m/sparc.h (TERMINFO): Moved to system files (probably only | |
2530 relevant for sunos4 judging by its vintage). | |
2531 (BITS_PER_LONG, BITS_PER_EMACS_INT, _LP64): Define conditional on | |
2532 __arch64__. | |
2533 | |
30424 | 2534 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il> |
2535 | |
2536 * xmenu.c (keymap_panes): Pass the keymap's prompt as the pane | |
2537 name to single_keymap_panes. | |
2538 | |
30418 | 2539 2000-07-24 Andreas Schwab <schwab@suse.de> |
2540 | |
2541 * fns.c (Fmakehash): Pass Qeql to Fmake_hash_table if TEST is nil. | |
2542 | |
30415 | 2543 2000-07-24 Gerd Moellmann <gerd@gnu.org> |
2544 | |
2545 * xdisp.c (with_echo_area_buffer): Take additional EMACS_INT | |
2546 parameters instead of using int parameters. Expect FN to accept | |
2547 EMACS_INT parameters. | |
2548 (display_echo_area, resize_echo_area_axactly, current_message) | |
2549 (truncate_echo_area, set_message_1): Call with_echo_area_buffer | |
2550 with new argument list. | |
2551 (resize_mini_window_1): New callback function. | |
2552 (current_message_1, truncate_message_1, set_message_1): Change | |
2553 parameter lists to the new format expected by | |
2554 with_echo_area_buffer. | |
2555 | |
30397 | 2556 2000-07-24 Kenichi Handa <handa@etl.go.jp> |
2557 | |
2558 * fontset.c (fontset_ref): Remove INLINE declaration. | |
2559 (fontset_ref_via_base): Likewise. | |
2560 (Fset_fontset_font): Convert FAMILY and REGISTRY specifications | |
2561 to downcase. | |
2562 | |
30382 | 2563 2000-07-23 Eli Zaretskii <eliz@is.elta.co.il> |
2564 | |
2565 * msdos.c (IT_note_mouse_highlight): Process overlays in the | |
2566 correct order of priority. If help echo was found in an overlay, | |
2567 use that overlay as the object in which the help echo was found. | |
2568 | |
30378 | 2569 2000-07-22 Miles Bader <miles@gnu.org> |
2570 | |
2571 * textprop.c (Fprevious_single_char_property_change): The initial | |
2572 property value should be from the position preceding POSITION, not | |
2573 following it. | |
2574 | |
30377 | 2575 2000-07-22 Eli Zaretskii <eliz@is.elta.co.il> |
2576 | |
2577 * coding.c (syms_of_coding): Doc fix for | |
2578 inhibit-iso-escape-detection. | |
2579 | |
30364 | 2580 2000-07-21 Gerd Moellmann <gerd@gnu.org> |
2581 | |
30372 | 2582 * xterm.c (note_mouse_highlight): Process overlays in the right |
2583 order of priority. | |
30480 | 2584 |
30370 | 2585 * keyboard.c (show_help_echo, gen_help_event): Extend comments. |
2586 | |
2587 * xterm.c (note_mouse_highlight): If help-echo was found in an | |
2588 overlay, use that overlay as the object in which the help was | |
2589 found. | |
2590 | |
30367 | 2591 * window.c (foreach_window_1): Fix typo reversing an if-condition. |
30480 | 2592 |
30364 | 2593 * window.c (foreach_window): Instead of a fake variable argument |
2594 list, take one USER_DATA argument. | |
2595 (foreach_window_1): Likewise, and call callback functions with two | |
2596 args, the window and USER_DATA. | |
2597 (struct check_window_data): New struct. | |
2598 (check_window_containing): Use it. | |
2599 (window_from_coordinates): Set up a struct check_window_data for | |
2600 foreach_window. | |
2601 (add_window_to_list, freeze_window_start): Change parameters | |
2602 according to new calling convention. | |
2603 | |
2604 * window.h (foreach_window): Change prototype. | |
2605 | |
2606 * buffer.c (Fprevious_overlay_change): Avoid memory leak. | |
2607 | |
2608 2000-07-21 Eli Zaretskii <eliz@is.elta.co.il> | |
2609 | |
2610 * xmenu.c (menu_help_callback): Call show_help_echo with | |
2611 additional arguments OBJECT and POS. | |
2612 | |
30355 | 2613 2000-07-21 Kenichi Handa <handa@etl.go.jp> |
2614 | |
30357 | 2615 * data.c (Faset): Allow storing any multibyte character in a |
2616 string. Convert unibyte string to multibyte if necessary. | |
2617 | |
30355 | 2618 * xfns.c (x_encode_text): New function. |
2619 (x_set_name): Use x_encode_text. | |
2620 (x_set_title): Likewise. | |
2621 | |
2622 * xselect.c (lisp_data_to_selection_data): Use x_encode_text. | |
2623 | |
2624 * xterm.h (x_encode_text): Add prototype. | |
2625 | |
30346 | 2626 2000-07-20 Dave Love <fx@gnu.org> |
2627 | |
2628 * ccl.c (Fccl_execute_on_string): Don't check xmalloc return. Use | |
2629 xfree, not free. | |
2630 | |
30342 | 2631 2000-07-20 Eli Zaretskii <eliz@is.elta.co.il> |
2632 | |
2633 * msdos.c (help_echo_window): New variable. | |
2634 (syms_of_msdos): Initialize and staticpro it. | |
2635 (IT_note_mode_line_highlight): Set help_echo_window. | |
2636 (IT_note_mouse_highlight): Ditto. | |
2637 (dos_rawgetc): Store help_echo_window in the second event produced | |
2638 for HELP_EVENTs. | |
2639 | |
2640 * msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight): | |
2641 Record the object that generated the help echo and the position of | |
2642 that object in help_echo_object and help_echo_pos. Record that | |
2643 some glyphs in a row are displayed in mouse-face. | |
2644 (IT_update_begin): Don't clear mouse highlight unless one of the | |
2645 enabled glyph rows is marked as being displayed in mouse-face. | |
2646 (dos_rawgetc): Generate 2 events for HELP_EVENT. Pass the object | |
2647 and position recorded in help_echo_object and help_echo_pos to the | |
2648 event queue. | |
2649 (IT_menu_display): Accept a new argument PN: the pane number of | |
2650 the current menu pane. Record the pane number and the item | |
2651 number of the item which has associated help string. | |
2652 (XMenuActivate): Update the prototype for help_callback in | |
2653 function declaration. Call IT_menu_display with the current menu | |
2654 pane number as an additional argument. Call help_callback with | |
2655 two additional arguments: the pane number and the item number of | |
2656 the menu item associated with the help text. | |
2657 (help_echo_object, help_echo_pos): New variables. | |
2658 (syms_of_msdos): Initialize them and staticpro help_echo_object. | |
2659 | |
2660 * msdos.h (XMenuActivate): Update prototype. | |
2661 | |
30318 | 2662 2000-07-19 Gerd Moellmann <gerd@gnu.org> |
2663 | |
30329 | 2664 * xdisp.c (with_echo_area_buffer): Call FN with more arguments. |
2665 Add some more prototypes. | |
2666 | |
2667 * xterm.c, xterm.h: Add some more prototypes. | |
2668 | |
2669 * lisp.h (Fnext_single_char_property_change): Add prototype. | |
2670 | |
2671 * dispnew.c (direct_output_for_insert): Remove confusing | |
2672 outer local variable mouse_face_overwritten_p. | |
2673 (glyph_row_slice_p): Put in #ifdef GLYPH_DEBUG. | |
2674 | |
30318 | 2675 * alloc.c (allocate_string_data): Don't copy old string contents. |
2676 | |
30314 | 2677 2000-07-19 Kenichi Handa <handa@etl.go.jp> |
2678 | |
2679 * coding.c (code_convert_region): Delete text properties before | |
2680 shrinking the conversion region. | |
2681 | |
30303 | 2682 2000-07-18 Gerd Moellmann <gerd@gnu.org> |
2683 | |
30308 | 2684 * dispnew.c (update_text_area): Write the whole row if it |
2685 has mouse-face in it. | |
2686 | |
30305 | 2687 * xfaces.c (face-alternative-font-family-alist): Remove |
2688 DEFVAR_LISP; staticpro instead. | |
2689 | |
30480 | 2690 * xmenu.c (menu_help_callback): Call show_help_echo with |
30303 | 2691 new arguments. |
2692 | |
2693 * keyboard.c (show_help_echo): Add parameter WINDOW. | |
2694 (read_char): Call show_help_echo with window extracted from Lisp | |
2695 help event. | |
2696 (gen_help_event): Add parameter WINDOW. | |
2697 | |
2698 * keyboard.h (show_help_echo, gen_help_event): Change prototypes. | |
2699 | |
2700 * xterm.c (help_echo_window): New variable. | |
2701 (note_mouse_highlight, note_tool_bar_highlight): Set | |
2702 help_echo_window. | |
2703 (XTread_socket): Pass help_echo_window to gen_help_event. | |
2704 (syms_of_xterm): Initialize and staticpro help_echo_window. | |
2705 | |
30298 | 2706 2000-07-18 Dave Love <fx@gnu.org> |
2707 | |
2708 * Makefile.in: Fix dependencies of blockinput.h on atimer.h, | |
2709 systime.h. | |
2710 | |
30290 | 2711 2000-07-18 Gerd Moellmann <gerd@gnu.org> |
2712 | |
30296 | 2713 * alloc.c (allocate_string_data): If string had already data |
2714 assigned, copy old contents to new string data. | |
2715 | |
2716 * coding.c (syms_of_coding): Fix typo in spelling of variable | |
2717 `inhibit-iso-escape-detection'. | |
2718 | |
30290 | 2719 * alloca.c (free) [emacs && EMACS_FREE]: Define as EMACS_FREE. |
2720 | |
2721 * Makefile.in: Add dependencies on dispextern.h. | |
2722 (alloca.o): Don't define malloc and define EMACS_FREE instead of | |
2723 `free'; both can conflict with system header files. | |
2724 | |
30281 | 2725 2000-07-18 Kenichi Handa <handa@etl.go.jp> |
2726 | |
2727 * charset.h (MAKE_CHAR): Return reasonable code even if CHARSET is | |
2728 undefined. | |
2729 | |
30266 | 2730 2000-07-18 Dave Love <fx@gnu.org> |
2731 | |
2732 * window.c (Fwindow_list): Declare arg `window'. | |
2733 | |
30262 | 2734 2000-07-18 Kenichi Handa <handa@etl.go.jp> |
2735 | |
2736 * coding.c (setup_coding_system): Don't override the explicitly | |
2737 specified designations. | |
2738 | |
30245 | 2739 2000-07-15 Miles Bader <miles@gnu.org> |
2740 | |
2741 * editfns.c (char_property_eq, char_property_stickiness): Renamed | |
2742 from `text_property_eq' and `text_property_stickiness', respectively. | |
2743 (find_field, Fconstrain_to_field, char_property_eq) | |
2744 (char_property_stickiness): Changed to call char-property functions | |
2745 instead of text-property-only ones. | |
2746 | |
2747 * textprop.c (Fnext_single_char_property_change): Made a subr (was | |
2748 `next_single_char_property_change'). Do more error checking, and | |
2749 cleanup limit behavior. | |
2750 (Fprevious_single_char_property_change): New function. | |
2751 (syms_of_textprop): Initialize new subrs. | |
2752 | |
2753 * xdisp.c (display_prop_end, invisible_text_between_p): | |
2754 Call Fnext_single_char_property_change instead of | |
2755 next_single_char_property_change. | |
2756 | |
30241 | 2757 2000-07-15 Jason Rumney <jasonr@gnu.org> |
2758 | |
2759 * w32menu.c (w32_menu_show): Call free_menubar_widget_value_tree | |
2760 after menu is finished with. | |
2761 (add_menu_item): Only consider wv->title as a menu title. | |
2762 (w32_menu_display_help): Add OBJECT and POS to show_help_echo. | |
2763 | |
2764 * w32fns.c (w32_wnd_proc) [WM_DRAW_ITEM]: Do not try to draw a | |
2765 null title. | |
2766 (FONT_REGEXP): Remove unused macro, and its sub-components. | |
2767 (syms_of_w32fns): Replace underscore in w32-enable-synthesized-fonts. | |
2768 | |
2769 * w32term.c (help_echo_object, help_echo_pos): New variables. | |
2770 (note_mode_line_highlight): Store additional information about the | |
2771 help-echo in help_echo_object and help_echo_pos. Check both | |
2772 `local-map' and `keymap' properties for changing the cursor | |
2773 (note_mouse_highlight): Store additional information about the | |
2774 help-echo in help_echo_object and help_echo_pos. | |
2775 (note_tool_bar_highlight): Set help_echo_object to nil and | |
2776 help_echo_pos to -1. | |
2777 (w32_read_socket): Use gen_help_event instead of filling | |
2778 input_events manually. | |
2779 (syms_of_w32term): Staticpro help_echo_object. | |
2780 (x_update_window_end): Add parameter MOUSE_FACE_OVERWRITTEN_P. If | |
2781 set, arrange for a mouse-highlight redisplay in | |
2782 XTframe_up_to_date. | |
2783 (x_clear_mouse_face): New function. | |
2784 (w32_redisplay_interface): Add pointer to x_clear_mouse_face. | |
2785 (x_update_window_begin): No need to turn off the mouse | |
2786 highlight here. | |
2787 (show_mouse_face): Set the mouse_face_p flag of glyph rows | |
2788 depending on whether they contain glyphs highlighted in | |
2789 mouse-face. | |
2790 (x_fill_stretch_glyph_string): Consume runs of stretch | |
2791 glyphs instead of a single one. | |
2792 (BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string | |
2793 with new argument list. | |
2794 (x_set_glyph_string_gc): Make sure the face's GC is valid. | |
2795 (x_append_glyph, x_append_composite_glyph) | |
2796 (x_produce_image_glyph, x_append_stretch_glyph): Accomodate to | |
2797 changes in struct glyph starting 1999-12-27. See comments for | |
2798 xterm.c on 2000-07-05. | |
2799 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2800 2000-07-14 Sam Steingold <sds@gnu.org> |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2801 |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2802 * xfaces.c (realize_x_face): Fix the last patch: |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2803 check `default_face' before dereferencing. |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2804 |
30229 | 2805 2000-07-14 Dave Love <fx@gnu.org> |
2806 | |
30266 | 2807 * syntax.c (back_comment): Add null default in switch (for pcc). |
30229 | 2808 |
30206 | 2809 2000-07-14 Kenichi Handa <handa@etl.go.jp> |
2810 | |
30210 | 2811 * xfaces.c (realize_x_face): Make fontset using the base of the |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2812 default_face's fontset, not using the default fontset. |
30210 | 2813 |
30206 | 2814 * coding.c (inhibit_iso_escape_detection): New variable. |
2815 (syms_of_coding): Make it a Lisp variable. | |
2816 (detect_coding_iso2022): If inhibit_iso_escape_detection is | |
2817 nonzero, ignore ISO2022's escape sequence. | |
2818 | |
30203 | 2819 2000-07-14 Gerd Moellmann <gerd@gnu.org> |
2820 | |
30234 | 2821 * alloca.c (malloc) [emacs]: Define as xmalloc. |
2822 | |
30226 | 2823 * xfns.c (Fx_show_tip): If frame parameters contain a position, |
2824 use that instead of the mouse position. Add parameters DX and DY. | |
2825 | |
2826 * dispextern.h (Fx_show_tip): Adjust number of parameters | |
2827 in prototype. | |
2828 | |
30219 | 2829 * keyboard.c (show_help_echo): Add parameters OBJECT and POS. |
2830 if HELP is a function, call it with OBJECT and POS as parameters | |
2831 to get the help to display. | |
2832 (gen_help_event, kbd_buffer_store_help_event): New functions. | |
2833 (kbd_buffer_get_event): Construct the Lisp help-event differently. | |
2834 (read_char): Call show_help_echo with new parameters. | |
2835 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2836 * keyboard.h (gen_help_event, kbd_buffer_store_help_event): |
30219 | 2837 Add prototypes. |
2838 | |
2839 * xterm.c (help_echo_object, help_echo_pos): New variables. | |
2840 (note_mode_line_highlight): Store additional information about the | |
2841 help-echo in help_echo_object and help_echo_pos. Check both | |
2842 `local-map' and `keymap' properties for changing the cursor | |
2843 (note_mouse_highlight): Store additional information about the | |
2844 help-echo in help_echo_object and help_echo_pos. | |
2845 (note_tool_bar_highlight): Set help_echo_object to nil and | |
2846 help_echo_pos to -1. | |
2847 (XTread_socket): Use gen_help_event instead of filling | |
2848 input_events manually. | |
2849 (syms_of_xterm): Staticpro help_echo_object. | |
2850 | |
2851 * xmenu.c (menu_highlight_callback): Use | |
2852 kbd_buffer_store_help_event instead of setting up and input_event | |
2853 structure manually. | |
2854 | |
2855 * xdisp.c (eval_form): GCPRO argument sexpr. | |
2856 (call_function): New function. | |
2857 (handle_single_display_prop): Use call_function and FUNCTIONP | |
2858 instead of checking whether if font_height is a symbol and | |
2859 using eval_form. | |
2860 | |
2861 * eval.c (internal_condition_case_2): New function. | |
2862 | |
2863 * lisp.h (FUNCTIONP): New macro. | |
2864 (internal_condition_case_2, call_function): Add prototypes. | |
2865 | |
30203 | 2866 * xterm.c (construct_mouse_click, x_scroll_bar_to_input_event) |
2867 (x_scroll_bar_handle_click, SET_SAVED_MENU_EVENT, XTread_socket): | |
2868 Always set `arg' member of input_events. | |
2869 (construct_menu_click): Unused function removed. | |
2870 | |
2871 * msdos.c (dos_rawgetc): Always set `arg' member of input_events. | |
2872 | |
2873 * w32term.c (construct_mouse_click, construct_mouse_wheel) | |
2874 (construct_drag_n_drop, x_scroll_bar_handle_click) | |
2875 (w32_read_socket): Always set `arg' member of input_events. | |
2876 | |
2877 * keyboard.c (show_help_echo): Use eval_form. Add comment. | |
2878 | |
2879 * lisp.h (eval_form): Add prototype. | |
2880 | |
2881 * xdisp.c (eval_form): Make it externally visible. | |
2882 | |
30183 | 2883 2000-07-13 Gerd Moellmann <gerd@gnu.org> |
2884 | |
2885 * xterm.c (x_handle_tool_bar_click): Store the frame in the | |
2886 frame_or_window slot of TOOL_BAR_EVENT input events instead of | |
2887 consing. For prefix events, store the frame in the `arg' slot of | |
2888 the event, otherwise store the key there. | |
2889 (XTread_socket): Instead of consing, use the frame_or_window slot | |
2890 of HELP_EVENTs for the frame, and the `arg' slot for the help | |
2891 string. | |
2892 | |
2893 * xmenu.c (menu_highlight_callback): Store help string in the | |
2894 `arg' member of the input event; don't cons. | |
2895 (menubar_selection_callback): Use the `arg' slot of input events | |
2896 to queue additional information, instead of consing. | |
2897 | |
2898 * msdos.c (dos_rawgetc): Adapt to change of HELP_EVENTs. | |
2899 | |
2900 * w32term.c (w32_handle_tool_bar_click): Adapt to changes in | |
2901 TOOL_BAR_EVENTs. | |
2902 (w32_read_socket): Adapt to changes in HELP_EVENTs. | |
2903 | |
2904 * w32menu.c (menubar_selection_callback): Use the `arg' slot of | |
2905 input events to queue additional information, instead of consing. | |
2906 | |
2907 * keyboard.c (kbd_buffer_gcpro): Renamed from | |
2908 kbd_buffer_frame_or_window. Now used for all Lisp objects | |
2909 referenced from the input queue. | |
2910 (kbd_buffer_store_event): Always use structure assignment for | |
2911 copying input events. Record all Lisp objects referenced from | |
2912 events in kbd_buffer_gcpro. | |
2913 (kbd_buffer_get_event): Construct Lisp `help-echo' events | |
2914 differently from input events. Test for prefix menu_bar_events | |
2915 and TOOL_BAR_EVENTs differently. Reset all slots used by an input | |
2916 event in kbd_buffer_gcpro to nil. | |
2917 (make_lispy_event) <TOOL_BAR_EVENT>: Treat an input event whose | |
2918 frame_or_window is equal to its arg member as prefix events. | |
2919 (stuff_buffered_input): Reset all slots in kbd_buffer_gcpro | |
2920 used by an input event to nil. | |
2921 (init_keyboard): Use two times the size of the input queue | |
2922 for kbd_buffer_gcpro. | |
2923 (syms_of_keyboard): Likewise. | |
2924 | |
2925 * emacs.c (handle_USR2_signal, handle_USR1_signal): Use | |
2926 USER_SIGNAL_EVENT. | |
2927 | |
2928 * termhooks.h (struct input_event): Add member `arg'. | |
2929 (MENU_BAR_EVENT): Renamed from menu_bar_event. | |
2930 (USER_SIGNAL_EVENT): Renamed from user_signal. | |
2931 | |
2932 * xfaces.c (ASET): Remove definition. | |
2933 | |
2934 * lisp.h (AREF, ASET, ASIZE): New macros. | |
2935 | |
2936 * fontset.c (AREF, ASIZE): Remove definitions. | |
2937 | |
2938 * fns.c (AREF): Remove definition. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2939 |
30183 | 2940 * composite.c (AREF): Remove definition. |
2941 | |
30163 | 2942 2000-07-12 Gerd Moellmann <gerd@gnu.org> |
2943 | |
30166 | 2944 * dispnew.c (redraw_overlapped_rows): Add missing local. |
2945 (scrolling_window): Remove debug code. | |
2946 | |
30163 | 2947 * xdisp.c (try_window_reusing_current_matrix, try_window_id): |
2948 Before scrolling, turn off a mouse-highlight in the window | |
2949 being scrolled. | |
2950 | |
2951 * xterm.c (x_update_window_end): Add parameter | |
2952 MOUSE_FACE_OVERWRITTEN_P. If set, arrange for a mouse-highlight | |
2953 redisplay in XTframe_up_to_date. | |
2954 (x_clear_mouse_face): New function. | |
2955 (x_redisplay_interface): Add pointer to x_clear_mouse_face. | |
2956 | |
2957 * dispnew.c (make_current): Preserve the mouse_face_p flag of the | |
2958 current glyph row. | |
2959 (update_window_line): Add parameter MOUSE_FACE_OVERWRITTEN_P. Set | |
2960 it when any row is written to that contains glyphs highlighted in | |
2961 mouse-face. | |
2962 (update_window): Call the window update end hook with new | |
2963 parameter MOUSE_FACE_OVERWRITTEN_P. | |
2964 (direct_output_for_insert): Give up if row contains mouse-face. | |
2965 | |
2966 * dispextern.h (struct redisplay_interface): Add parameter | |
2967 MOUSE_FACE_OVERWRITTEN_P to update_window_end_hook function. | |
2968 (clear_mouse_face): New function pointer member. | |
2969 | |
30157
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2970 2000-07-11 Stefan Monnier <monnier@cs.yale.edu> |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2971 |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2972 * syntax.c (back_comment): Use one switch rather than a few `if's. |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2973 Obey open_paren_in_column_0_is_defun_start. |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2974 When reverting to the `slow' method, try to nicely handle the case |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2975 of nested comments by checking that the comment-starter we found |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2976 does indeed match the comment-ender. |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2977 (scan_sexps_forward, scan_sexps_forward): |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2978 Ignore excessive opening parenthesis rather than throwing an error. |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2979 |
30155 | 2980 2000-07-11 Gerd Moellmann <gerd@gnu.org> |
2981 | |
2982 * doc.c (Fsubstitute_command_keys): Handle case that a GC | |
2983 in Fwhere_is_internal or get_keymap_1 relocates string contents. | |
2984 | |
2985 * dispnew.c (direct_output_forward_char): Give up if currently | |
2986 displaying a message instead of the minibuffer contents. | |
2987 | |
2988 * xterm.c (x_update_window_begin): No need to turn off the mouse | |
2989 highlight here. | |
2990 (show_mouse_face): Set the mouse_face_p flag of glyph rows | |
2991 depending on whether they contain glyphs highlighted in | |
2992 mouse-face. | |
2993 | |
2994 * dispnew.c (row_equal_p): Add parameter MOUSE_FACE_P. If set, | |
2995 compare the mouse_face_p flags of both rows. | |
2996 | |
2997 * dispextern.h (struct glyph_row): Add flag mouse_face_p. | |
2998 | |
30146 | 2999 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il> |
3000 | |
3001 * keyboard.c (show_help_echo): Accept additional parameter | |
3002 ok_to_overwrite_keystroke_echo. | |
3003 (read_char): Call show_help_echo with a zero | |
3004 ok_to_overwrite_keystroke_echo argument. | |
3005 * keyboard.h (show_help_echo): Update prototype of | |
3006 show_help_echo. | |
3007 * xmenu.c (menu_help_callback): Call show_help_echo with non-zero | |
3008 ok_to_overwrite_keystroke_echo argument. | |
3009 * w32menu.c (w32_menu_display_help): Call show_help_echo with | |
3010 non-zero ok_to_overwrite_keystroke_echo argument. | |
3011 | |
30135 | 3012 2000-07-10 Gerd Moellmann <gerd@gnu.org> |
3013 | |
30140 | 3014 * xdisp.c (try_window_id): If changes are all below what is |
3015 displayed in the window, and point is in the window, we still | |
3016 might have to find point on the display. | |
3017 | |
3018 * xterm.c (x_fill_stretch_glyph_string): Consume runs of stretch | |
3019 glyphs instead of a single one. | |
3020 (BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string | |
3021 with new argument list. | |
3022 (x_set_glyph_string_gc): Make sure the face's GC is valid. | |
3023 | |
30135 | 3024 * keymap.c (get_keymap_1): Add comment that this function can GC. |
3025 (where_is_internal_2, where_is_internal_1): Add GCPROs, add | |
3026 comment that functions can GC. | |
3027 (Fset_keymap_parent): GCPRO arg KEYMAP. | |
3028 | |
30133 | 3029 2000-07-10 Eli Zaretskii <eliz@is.elta.co.il> |
3030 | |
3031 * msdos.c (XMenuActivate): After exiting the menu, restore the | |
3032 echo area message and erase it. | |
3033 | |
30125 | 3034 2000-07-10 Kenichi Handa <handa@etl.go.jp> |
3035 | |
3036 * fontset.c (Ffontset_info): Make the return value more compatible | |
3037 with that of Emacs 20. | |
3038 | |
30107 | 3039 2000-07-07 Gerd Moellmann <gerd@gnu.org> |
3040 | |
3041 * eval.c (Fsignal): Handle case that backtrace_list is null. | |
3042 | |
30104 | 3043 2000-07-07 Kenichi Handa <handa@etl.go.jp> |
3044 | |
3045 * ccl.c (Fccl_execute): Typo fixed. | |
3046 | |
30096 | 3047 2000-07-06 Gerd Moellmann <gerd@gnu.org> |
3048 | |
30103 | 3049 * window.c (window_loop): Add missing gcpro1 local variable. |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3050 |
30096 | 3051 * window.c (Fwindow_list): Reverse list at the end. |
3052 (candidate_window_p): Add parameter OWINDOW. ALL_FRAMES nil | |
3053 means allow windows on OWINDOW's frame, only. | |
3054 (window_loop): Simplified; use Fwindow_list. | |
3055 | |
3056 * Makefile.in (TAGS-LISP): Don't pass `$(lispsource)' to make. | |
3057 | |
30085 | 3058 2000-07-05 Gerd Moellmann <gerd@gnu.org> |
3059 | |
3060 * xterm.c (XTread_socket): Increment handling_signal at the start, | |
3061 decrement it at the end. | |
3062 | |
3063 * eval.c (handling_signal): New variable. | |
3064 (Fsignal): Abort if handling_signal is non-zero. | |
3065 | |
3066 * lisp.h (handling_signal): External declaration. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3067 |
30085 | 3068 * s/freebsd.h (WAITTYPE, WRETCODE): Put in #if 0. |
3069 | |
30079
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3070 2000-07-05 Ken Raeburn <raeburn@gnu.org> |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3071 |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3072 Sound support for NetBSD through "Linux emulation" support: |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3073 * config.in (HAVE_SOUNDCARD_H): Undef. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3074 (HAVE_SOUND): Define if HAVE_SOUNDCARD_H. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3075 * Makefile.in (LIBSOUND): New variable. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3076 (LIBES): Include it. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3077 * sound.c [HAVE_SOUNDCARD_H]: Include <sys/ioctl.h> and |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3078 <soundcard.h>. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3079 (DEFAULT_SOUND_DEVICE): Define to "/dev/dsp" if not defined |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3080 elsewhere. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3081 (vox_open): Use DEFAULT_SOUND_DEVICE. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3082 * s/netbsd.h (DEFAULT_SOUND_DEVICE): Define to /dev/audio. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3083 |
30076 | 3084 2000-07-05 Gerd Moellmann <gerd@gnu.org> |
3085 | |
3086 * print.c (print_error_message): If Vsignaling_function is set, | |
3087 show it in *Messages*. | |
3088 | |
3089 * lisp.h (Vsignaling_function): External declaration. | |
3090 | |
3091 * eval.c (Vsignaling_function): New variable. | |
3092 (Fsignal): Compute it. | |
3093 (syms_of_eval): Staticpro it. | |
3094 | |
30069 | 3095 2000-07-05 Dave Love <fx@gnu.org> |
3096 | |
3097 * syswait.h: Use the autoconf recommended approach. Old code | |
3098 #if'd out in case we need to revert. | |
3099 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3100 * config.in (HAVE_SYS_WAIT_H): Added. |
30069 | 3101 |
30067 | 3102 2000-07-05 Andrew Innes <andrewi@gnu.org> |
3103 | |
3104 * vm-limit.c (check_memory_limits) [REL_ALLOC]: Use real_morecore | |
3105 when non-NULL instead of __morecore, to take account of buffer | |
3106 memory. This also solves a problem with spurious memory warnings | |
3107 on Windows. | |
3108 | |
3109 * ralloc.c: Make real_morecore non-static. | |
3110 | |
3111 * eval.c (internal_condition_case): Comment out abort if | |
3112 interrupt_input_blocked is not zero. | |
3113 | |
3114 * makefile.nt: Add support for `bootstrap' and related targets. | |
3115 Include minimal debug info in emacs.exe in release build. | |
3116 Remove all dependencies on lisp.h, and fixup some others. | |
3117 | |
3118 * w32.c (init_environment): Install code from 20.7 for providing | |
3119 default values for environment variables, based on the | |
3120 executable's own location. | |
3121 (map_w32_filename): Handle filenames that are longer than | |
3122 MAX_PATH. | |
3123 (sys_socket): Install socket inheritance bug fix from 20.7. | |
3124 | |
3125 * alloca.c [emacs]: Include lisp.h (needed by atimer.h included | |
3126 here via blockinput.h). | |
3127 | |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3128 2000-07-05 Stefan Monnier <monnier@cs.yale.edu> |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3129 |
30098
54ef6ace438d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30096
diff
changeset
|
3130 * w32menu.c (w32_menu_display_help): |
54ef6ace438d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30096
diff
changeset
|
3131 * xmenu.c (menu_help_callback): Use show_help_echo. |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3132 |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3133 * keyboard.h (show_help_echo): Declare. |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3134 |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3135 * keyboard.c (show_help_echo): New function, extracted from read_char. |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3136 Feval its `msg' argument if it's a cons cell. |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3137 (read_char): Use it. |
30118
67bba9343314
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30107
diff
changeset
|
3138 (follow_key): Pass `autoload' to get_keyelt. |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3139 |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3140 * xterm.c (note_mode_line_highlight, note_mouse_highlight) |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3141 (note_tool_bar_highlight, XTread_socket): |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3142 * msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight) |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3143 (dos_rawgetc): |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3144 * w32term.c (note_mode_line_highlight, note_mouse_highlight) |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3145 (note_tool_bar_highlight, w32_read_socket): |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3146 Do not gratuitously ignore non-string `help-echo' properties. |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3147 |
30043 | 3148 2000-07-05 Gerd Moellmann <gerd@gnu.org> |
3149 | |
30049 | 3150 * eval.c (Feval): Put check for interrupt_input_block in #if 0. |
3151 | |
30046 | 3152 * window.c (delete_all_subwindows): Reset Vwindow_list. |
3153 | |
30043 | 3154 * xterm.c (x_append_glyph, x_append_composite_glyph) |
3155 (x_produce_image_glyph, x_append_stretch_glyph): Accomodate to | |
3156 changes in struct glyph starting 1999-12-27. Some bit-fields of | |
3157 struct glyph were not set, which made glyphs unequal when compared | |
3158 with GLYPH_EQUAL_P. Redisplay outputs such glyphs, and flickering | |
3159 effects were the result. This also depended on the contents of | |
3160 memory returned by xmalloc. If flickering happens again, activate | |
3161 the code in clear_glyph_row that's in #if 0. If the flickering is | |
3162 gone with that, chances are that it is caused by something | |
3163 similar. | |
3164 | |
3165 * dispnew.c (clear_glyph_row): Add debug code in #if 0. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3166 |
30043 | 3167 * dispextern.h: Add some comments. |
3168 | |
3169 * window.c (add_window_to_list): Add parameter LIST. | |
3170 (window_list): Order list so that, for each frame, windows are | |
3171 in canonical order, and so that frames appear in the list in | |
3172 the order given by Vframe_list. | |
3173 (next_window): Reverse the handling of NEXT_P. | |
3174 | |
30031 | 3175 2000-07-04 Gerd Moellmann <gerd@gnu.org> |
3176 | |
30038 | 3177 * window.c (Vwindow_list): New variable. |
3178 (make_window, delete_window): Set Vwindow_list to nil. | |
3179 (check_window_containing): New function. | |
3180 (window_from_coordinates): Rewritten. | |
3181 (add_window_to_list, window_list, candidate_window_p) | |
3182 (decode_next_window_args, next_window): New functions. | |
3183 (Fnext_window, Fprevious_window): Rewritten in terms of | |
3184 next_window. | |
3185 (Fwindow_list): New function. | |
3186 (Fother_window): Cleaned up. | |
3187 (foreach_window): Add a longer "variable argument list". Let | |
3188 callback function return 0 to indicate that cycling over windows | |
3189 should stop. | |
3190 (foreach_window_1): Likewise. | |
3191 (freeze_window_start): Return int. | |
3192 (init_window): New function. | |
3193 (syms_of_window): Staticpro Vwindow_list and defsubr Swindow_list. | |
3194 | |
3195 * emacs.c (handle_USR1_signal, handle_USR2_signal) Clear | |
3196 input_event with bzero. | |
3197 (main): Call init_window. | |
3198 | |
30031 | 3199 * keymap.c (get_keyelt): Temporarily inhibit GC while evaluating |
3200 a menu filter. | |
3201 | |
30026 | 3202 2000-07-04 Kenichi Handa <handa@etl.go.jp> |
3203 | |
3204 * composite.h (make_composition_value_copy): Extern it. | |
3205 | |
3206 * composite.c (make_composition_value_copy): New function. | |
3207 | |
3208 * editfns.c (Fformat): While copying text properties, make each | |
3209 composition property value a copy. | |
3210 | |
3211 * fns.c (concat): While copying text properties, make each | |
3212 composition property value a copy. | |
3213 | |
29996 | 3214 2000-07-03 Gerd Moellmann <gerd@gnu.org> |
3215 | |
30012 | 3216 * m/macppc.h (LINKER, LD_SWITCH_MACHINE) [LINUX]: Define. |
3217 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3218 * fns.c (sweep_weak_table): Mark only objects that are not |
30008 | 3219 marked already. |
3220 | |
29996 | 3221 * frame.c (next_frame, prev_frame): If MINIBUF is a window, |
3222 include those frames as candidates which have their focus | |
3223 redirected to the minibuffer frame. | |
3224 | |
29992
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
3225 2000-07-03 Stefan Monnier <monnier@cs.yale.edu> |
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
3226 |
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
3227 * fns.c (Fputhash): Return `value' rather than nil. |
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
3228 |
29988 | 3229 2000-06-30 Gerd Moellmann <gerd@gnu.org> |
3230 | |
29989 | 3231 * frame.c (next_frame): Don't check focus redirection in case |
3232 MINIBUF is a window. Doing so excludes frames using MINIBUF | |
29988 | 3233 unless their focus is redirected, which contradicts the |
3234 specification of next-frame, and leads to infinite loops in | |
3235 certain situations when cycling through windows with next-window. | |
3236 | |
29983 | 3237 2000-06-30 Kenichi Handa <handa@etl.go.jp> |
3238 | |
29984 | 3239 * coding.c (code_convert_region): Even if the length of text is |
29983 | 3240 zero, try to convert it if coding->type is coding_type_ccl. |
29984 | 3241 (decode_coding_string, encode_coding_string): Likewise. |
29983 | 3242 |
29972 | 3243 2000-06-28 Gerd Moellmann <gerd@gnu.org> |
3244 | |
29982 | 3245 * xdisp.c (try_window_reusing_current_matrix): Don't try to reuse |
29989 | 3246 the display if windows_or_buffers_changed. |
29982 | 3247 |
3248 * dispnew.c (struct row_entry): New structure. | |
3249 (row_entry_pool, row_entry_pool_size, row_entry_idx, row_table) | |
3250 (row_table_size, old_lines, new_lines, old_lines_size) | |
3251 (new_lines_size, run_pool, runs_size, runs): New variables. | |
3252 (add_row_entry): New function. | |
3253 (scrolling_window): Use data structures allocated with xmalloc and | |
29989 | 3254 held in global variables, instead of allocating them with alloca and |
29982 | 3255 holding them in local variables. Use a larger hash table whose |
3256 size depends on glyph matrix sizes. Don't use bzero to clear the | |
3257 hash table; instead, clear used slots only. | |
3258 | |
3259 * fns.c (next_almost_prime): Make it externally visible. | |
3260 | |
3261 * lisp.h (next_almost_prime): Add prototype. | |
3262 | |
29972 | 3263 * s/isc4-0.h (sigunblock): Define. |
3264 | |
3265 * s/sco5.h (sigunblock): Define. | |
3266 | |
29965 | 3267 2000-06-27 Dave Love <fx@gnu.org> |
3268 | |
3269 * s/osf1.h (C_SWITCH_SYSTEM, LIBS_SYSTEM): Revert last change | |
3270 (moved to osf5-0.h). | |
3271 [!NOT_C_CODE]: Protect string.h stuff. | |
3272 | |
3273 * s/osf5-0.h (C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED) | |
3274 (sys_siglist, NSIG): Definitions moved here from osf1.h. | |
3275 | |
29961 | 3276 2000-06-27 Gerd Moellmann <gerd@gnu.org> |
3277 | |
29989 | 3278 * xdisp.c (resize_mini_window): Subtract the extra line spacing |
29961 | 3279 below the last line from the needed window height. |
3280 | |
29955
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
3281 2000-06-26 Stefan Monnier <monnier@cs.yale.edu> |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
3282 |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
3283 * fns.c (Fplist_member): Renamed from Fwidget_plist_member. |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
3284 (Fwidget_get): Use it. |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
3285 (syms_of_fns): Defsubr it. |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
3286 |
29939 | 3287 2000-06-26 Gerd Moellmann <gerd@gnu.org> |
3288 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3289 * xterm.c (xim_initialize) [!USE_XIM]: Don't set up the |
29949 | 3290 display info for XIM. |
3291 (xim_open_dpy): Likewise. | |
3292 (xim_close_dpy): Don't free the display info's XIM. | |
3293 | |
3294 * xfns.c (x_window) [!USE_XIM]: Don't call create_frame_ic. | |
3295 | |
3296 * config.in (USE_XIM): New define. | |
3297 | |
29942 | 3298 * keymap.c (get_keyelt): For menu-items containing a `:filter |
3299 FILTER', apply FILTER to the menu-item's definition to get the | |
3300 real definition to use. | |
3301 | |
3302 * lisp.h (QCfilter): External declaration. | |
3303 | |
29939 | 3304 * xfns.c (Fimage_size): New function. |
3305 (syms_of_xfns): Defsubr it. | |
3306 | |
29933 | 3307 2000-06-26 Andreas Schwab <schwab@suse.de> |
3308 | |
3309 * coding.c (decode_coding_string): Re-fetch STRING_BYTES after | |
3310 Fstring_as_unibyte. | |
3311 | |
29930 | 3312 2000-06-25 Dave Love <fx@gnu.org> |
3313 | |
3314 * term.c [!HAVE_TERMCAP_H]: Declare tputs, tgetent, tgetflag, | |
3315 tgetnum. | |
3316 | |
3317 * Makefile.in (blockinput.h): Depend on atimer.h. | |
3318 (atimer.h): Depend on systime.h. | |
3319 | |
3320 * blockinput.h: Protect against multiple inclusion. Include | |
3321 atimer.h. | |
3322 | |
3323 * atimer.h: Protect against multiple inclusion. Include | |
3324 systime.h. | |
3325 | |
3326 * lisp.h (swap_in_global_binding): Declare. | |
3327 | |
29921
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
3328 2000-06-24 Ken Raeburn <raeburn@gnu.org> |
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
3329 |
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
3330 * process.c (Fopen_network_stream): Turn off atimers for duration |
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
3331 of call to connect. (Patch from Gerd.) |
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
3332 |
29916 | 3333 2000-06-23 Dave Love <fx@gnu.org> |
3334 | |
29918 | 3335 * ralloc.c: Maybe include unistd.h |
3336 | |
29916 | 3337 * emacs.c (setgrp): Undefine before defining. |
3338 (malloc_warning, set_time_zone_rule, index): Prototype. | |
3339 | |
3340 * systime.h (EMACS_GET_TIME) [!GETTIMEOFDAY_ONE_ARGUMENT]: Use | |
3341 HAVE_STRUCT_TIMEZONE. | |
3342 | |
3343 * s/osf1.h: Move string.h hack here from alpha.h and make it | |
3344 conditional. | |
3345 (C_SWITCH_SYSTEM): Use _OSF_SOURCE, not -BSD, which clashes with | |
3346 _XOPEN_SOURCE. | |
3347 (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist, NSIG): Define. | |
3348 (SOCKLEN_TYPE): Don't define. | |
3349 | |
3350 * m/alpha.h: Remove string.h hack. | |
3351 | |
3352 * s/osf5-0.h: New file. | |
3353 | |
3354 * filelock.c: Use feature tests for fcntl.h, string.h. Don't | |
3355 include time.h, done by systime.h. | |
3356 [__FreeBSD__]: Remove redundant includes. | |
3357 | |
29942 | 3358 * callproc.c (setpgrp): Undefine before defining. |
29916 | 3359 (delete_temp_file): Return Qnil to avoid warning. |
3360 | |
3361 * config.in (HAVE_TERM_H, HAVE_STRUCT_TIMEZONE): Add. | |
3362 | |
3363 * xfaces.c: Include fontset.h dependent on HAVE_WINDOW_SYSTEM, not | |
3364 HAVE_X_WINDOWS. | |
3365 | |
3366 * fontset.h (free_face_fontset): Renamed from fs_free_face_fontset. | |
3367 | |
3368 * composite.h (compose_text): Declare. | |
3369 | |
3370 * xterm.c: Don't include sys/types.h unconditionally. Don't | |
3371 protect its inclusion with !USG (following xmenu.c). | |
3372 | |
29888 | 3373 2000-06-23 Gerd Moellmann <gerd@gnu.org> |
3374 | |
3375 * xfns.c (x_create_tip_frame): Initialize frame's colors like | |
3376 in x_create_frame. | |
3377 | |
29878 | 3378 2000-06-23 Eli Zaretskii <eliz@is.elta.co.il> |
3379 | |
3380 * coding.c (decode_eol_post_ccl): Special handling for undecided | |
3381 and inconsistent EOL types. | |
3382 | |
29860 | 3383 2000-06-22 Gerd Moellmann <gerd@gnu.org> |
3384 | |
29868 | 3385 * xrdb.c (x_load_resources): Add default resource for scroll bar's |
3386 trough color and main window's background color. | |
3387 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3388 * xfns.c (Fx_file_dialog) [HAVE_MOTIF_2_1]: Handle events |
29868 | 3389 differently. |
3390 | |
3391 * xterm.h (Xt_app_con): External declaration. | |
3392 | |
3393 * widget.c (EmacsFrameRealize): Fix typo. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3394 |
29862 | 3395 * widget.c (EmacsFrameRealize): Remove SubstructureRedirectMask. |
3396 | |
29860 | 3397 * xdisp.c (handle_stop): Initialize it->add_overlay_start to zero. |
3398 (handle_invisible_prop): Record the start of invisible text in | |
3399 it->add_overlay_start. | |
3400 (struct overlay_entry): Add member `overlay'. | |
3401 (handle_overlay_change): Simplify. | |
3402 (next_overlay_string): After having processed overlay strings at the | |
3403 end of the buffer, record that fact in | |
3404 it->overlay_strings_at_end_processed_p. | |
3405 (compare_overlay_entries): If before- and after-strings come | |
3406 from the same overlay, let before-strings come first. | |
3407 (RECORD_OVERLAY_STRING): Record the overlay that strings come from. | |
3408 (load_overlay_strings): Take it->add_overlay_start into account | |
3409 when adding overlay strings. | |
3410 | |
3411 * dispextern.h (struct it): Add member add_overlay_start. | |
3412 | |
29852 | 3413 2000-06-22 Dave Love <fx@gnu.org> |
3414 | |
3415 * s/isc3-0.h (C_SWITCH_SYSTEM): Define _XOPEN_SOURCE=500. | |
3416 | |
3417 * s/gnu-linux.h (C_SWITCH_SYSTEM): Don't define _XOPEN_SOURCE here. | |
3418 | |
29846 | 3419 2000-06-22 Kenichi Handa <handa@etl.go.jp> |
3420 | |
3421 * ccl.c (ccl_driver) <CCL_End>: Decrement stack_idx only when it | |
3422 is greater than 0. | |
3423 | |
29843 | 3424 2000-06-21 Dave Love <fx@gnu.org> |
3425 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3426 * Makefile.in (GETLOADAVG_OBJ): Removed -- LIBOBJS does it. |
29843 | 3427 |
29836
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3428 2000-06-21 Stefan Monnier <monnier@cs.yale.edu> |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3429 |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3430 * syntax.c (back_comment): Simplify string-parity counting (with |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3431 the added benefit of handling multiple string-styles as long as |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3432 they are not intertwined). |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3433 Jump to the slow code as soon as a comment starter is found in |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3434 a "string_lossage" position. Fixes the case: " /* " /* " */. |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3435 |
29834 | 3436 2000-06-21 Dave Love <fx@gnu.org> |
3437 | |
3438 * Makefile.in: Use GETLOADAVG_LIBS. | |
3439 | |
3440 * config.in: Add HAVE_FCNTL_H, _FILE_OFFSET_BITS, | |
3441 _LARGEFILE_SOURCE, _LARGE_FILES, _XOPEN_SOURCE. | |
3442 | |
29822
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3443 2000-06-20 Stefan Monnier <monnier@cs.yale.edu> |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3444 |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3445 * syntax.c (describe_syntax): Recognize the `n'estable bit. |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3446 (Fforward_comment, scan_lists): |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3447 Check the comstyle of single-char comment-starters. |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3448 (scan_sexps_forward): Don't try to recognize `half comment-enders' if |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3449 we're just at the beginning of the comment (f.ex with (*) ... (*)). |
29824
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3450 Check the comstyle of single-char comment-starters. |
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3451 Clarify control-flow around the Scomment case. |
29822
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3452 |
29815 | 3453 2000-06-20 Dave Love <fx@gnu.org> |
3454 | |
29824
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3455 * fns.c (make_hash_table, maybe_resize_hash_table): |
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3456 Cast arg of next_almost_prime. |
29815 | 3457 |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3458 * tparam.c [emacs]: Include lisp.h. |
29815 | 3459 |
3460 * termcap.c [emacs]: Test HAVE_FCNTL_H, not USG5. Include lisp.h | |
3461 and unistd.h. | |
3462 | |
29814 | 3463 2000-06-20 Gerd Moellmann <gerd@gnu.org> |
3464 | |
29820 | 3465 * keyboard.c (adjust_point_for_property): Check if display |
3466 property should be treated as intangible by looking at its | |
3467 value. | |
3468 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3469 * xdisp.c (single_display_prop_intangible_p) |
29820 | 3470 (display_prop_intangible_p): New functions. |
3471 | |
3472 * dispextern.h (display_prop_intangible_p): Add prototype. | |
3473 | |
3474 * xdisp.c (dump_glyph_row): Show type of glyph->object. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3475 |
29814 | 3476 * s/isc4-0.h (sigblock): Redefined to pass a pointer as second |
3477 argument to sigprocmask. | |
3478 | |
3479 * s/sco5.h (sigblock): Redefined to pass a pointer as second | |
3480 argument to sigprocmask. | |
3481 | |
3482 * syssignal.h (sigblock, sigunblock) [USG5_4]: Set | |
3483 sigprocmask_set, and pass a pointer to it to sigprocmask. | |
3484 | |
3485 * sysdep.c (sigprocmask_set): New variable. | |
3486 | |
3487 * fileio.c (make_temp_name): Don't use `%s' in string passed to | |
3488 report_file_error. | |
3489 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3490 2000-06-20 Sam Steingold <sds@gnu.org> |
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3491 |
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3492 * xrdb.c: Don't declare xmalloc, xrealloc. |
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3493 |
29802
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3494 2000-06-20 Stefan Monnier <monnier@cs.yale.edu> |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3495 |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3496 * regex.c (re_match, re_match_2): Protect calls to alloca (0). |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3497 (re_comp): Cast gettext return value to avoid complaints when |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3498 !HAVE_LIBINTL. |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3499 |
29786 | 3500 2000-06-20 Dave Love <fx@gnu.org> |
3501 | |
29796 | 3502 * m/stride.h, m/mips.h: Don't define HAVE_GETWD, |
3503 HAVE_GETTIMEOFDAY. | |
3504 | |
29815 | 3505 * m/ibmrt-aix.h: Don't declare HAVE_GETTIMEOFDAY, HAVE_VFORK. |
29796 | 3506 |
29824
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3507 * m/ibmrs6000.h, m/ibmps2-aix.h, m/dpx2.h: Don't declare HAVE_GETWD. |
29796 | 3508 |
3509 * m/alpha.h: Don't declare xmalloc, xrealloc. | |
3510 | |
29790 | 3511 * s/ux4800.h: Don't declare GETTIMEOFDAY_ONE_ARGUMENT. |
3512 | |
3513 * s/usg5-4-2.h: Don't declare HAVE_GETWD, VFORK_RETURN_TYPE. | |
3514 | |
3515 * s/umips.h: Don't declare HAVE_GETWD, HAVE_GETTIMEOFDAY. | |
3516 | |
3517 * s/cxux.h, s/gnu-linux.h, s/iris3-6.h, s/irix3-3.h: Don't declare | |
3518 HAVE_GETWD. | |
3519 | |
29786 | 3520 * keyboard.h (poll_for_input_1): Declare. |
3521 | |
3522 * getloadavg.c: Don't define NLIST_STRUCT (handled by configure). | |
3523 | |
3524 * alloc.c (xmalloc, xrealloc, xfree): Define using POINTER_TYPE. | |
3525 | |
3526 * doprnt.c: Don't declare xmalloc, xrealloc. | |
3527 | |
3528 * lisp.h (x_set_tool_bar_lines, free_frame_xic, compose_text) | |
3529 (getenv, ctime, getwd): Removed. | |
3530 (xmalloc, xrealloc, xfree): Declare using POINTER_TYPE. | |
3531 | |
3532 * xterm.h: Remove duplicate prototypes. Declare free_frame_xic, | |
3533 x_set_tool_bar_lines. | |
3534 | |
3535 * config.in: Add HAVE_GETWD. Move some definitions above | |
3536 machine/system includes. | |
3537 | |
29766 | 3538 2000-06-20 Kenichi Handa <handa@etl.go.jp> |
3539 | |
29770 | 3540 * s/bsd386.h (HAVE_GETLOADAVG): Define it as 1. |
3541 | |
29766 | 3542 * xfaces.c (font_list): Handle the case that REGISTRY doesn't |
3543 contain information about ENCODING. | |
3544 | |
3545 * fontset.c (FONTSET_ASCII): Use the first element of char table | |
3546 for an ASCII font, not defalt slot. | |
3547 (fontset_ref_via_base): If FONTSET doesn't contain information for | |
3548 C, try the default fontset. | |
3549 (make_fontset): Don't copy the default fontset. | |
3550 (fontset_font_pattern): Likewise. | |
3551 (accumulate_font_info): If ELT is nil, use the corresponding | |
3552 element in the default fontset. | |
3553 | |
29752 | 3554 2000-06-19 Dave Love <fx@gnu.org> |
3555 | |
29758 | 3556 * syntax.c (Fparse_partial_sexp): Doc fix. |
3557 | |
3558 * regex.h: Test PROTOTYPES as well as __STDC__. | |
3559 | |
29752 | 3560 * unexalpha.c: Include errno.h, string.h, unistd.h. Don't declare |
3561 errno, strerror. Put text after #endif in comment. | |
3562 | |
3563 * xdisp.c (dump_glyph_matrix): Add `static' to declaration (for | |
3564 pcc). | |
3565 | |
3566 * xterm.c (x_frame_of_widget): Likewise. | |
3567 | |
29747 | 3568 2000-06-19 Gerd Moellmann <gerd@gnu.org> |
3569 | |
3570 * abbrev.c (syms_of_abbrev): Set buffer_default's abbrev table | |
3571 to Vfundamental_mode_abbrev_table. | |
3572 | |
3573 * alloc.c (mark_object) [GC_CHECK_MARKED_OBJECTS]: Check that no | |
3574 bogus objects are marked. This slows down GC by ~80 percent, but | |
3575 it might be worth trying when debugging GC-related problems. | |
3576 This feature requires conservative stack marking to be enabled. | |
3577 | |
3578 * xterm.c (XTread_socket) <KeyPress>: In case XmbLookupString | |
3579 returns XLookupChars, reset `modifiers' to zero. | |
3580 | |
29738 | 3581 2000-06-19 Dave Love <fx@gnu.org> |
3582 | |
3583 * mktime.c: Unprotoized. | |
3584 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
3585 2000-06-19 Richard Stallman <rms@gnu.org> |
29736 | 3586 |
3587 * data.c (set_internal): If variable is frame-local, | |
3588 store the new value immediately into the frame parameter alist. | |
3589 | |
29726
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
3590 2000-06-19 Ken Raeburn <raeburn@gnu.org> |
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
3591 |
29728
f0f1e1365670
fix jpeg error-handling setup
Ken Raeburn <raeburn@raeburn.org>
parents:
29727
diff
changeset
|
3592 * xfns.c (jpeg_load): Fetch error-handling data first, then fill |
f0f1e1365670
fix jpeg error-handling setup
Ken Raeburn <raeburn@raeburn.org>
parents:
29727
diff
changeset
|
3593 in the custom handler pointer. |
f0f1e1365670
fix jpeg error-handling setup
Ken Raeburn <raeburn@raeburn.org>
parents:
29727
diff
changeset
|
3594 |
29726
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
3595 * keyboard.c (follow_key, read_key_sequence): Use XUINT on key |
29727
a1a4b7597a40
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
29726
diff
changeset
|
3596 value, or checks for CHAR_META can fail when Lisp_Object is a |
a1a4b7597a40
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
29726
diff
changeset
|
3597 union type. |
29726
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
3598 * keymap.c (get_keyelt): Likewise. |
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
3599 |
29720 | 3600 2000-06-19 Kenichi Handa <handa@etl.go.jp> |
3601 | |
3602 * ccl.h (struct ccl_program): New member eol_type. | |
3603 (struct ccl_spec): New member cr_carryover. | |
3604 | |
3605 * ccl.c (CCL_WRITE_CHAR): Convert NL according to ccl->eol_type. | |
3606 (setup_ccl_program): Initialize ccl->eol_type to CODING_EOL_LF. | |
3607 | |
3608 * coding.c (setup_coding_system) <4>: Reset member `cr_carryover'. | |
3609 (ccl_coding_driver): On encoding, initialize ccl->eol_type. | |
3610 (decode_eol_post_ccl): New function. | |
3611 (decode_coding): Don't detect EOL format here for CCL based coding | |
3612 systems. | |
3613 (decode_coding) <coding_type_ccl>: Handle carryovered CR. Call | |
3614 decode_eol_post_ccl after running the CCL program. | |
3615 (code_convert_region): Don't detect EOL format here for CCL based | |
3616 coding systems. | |
3617 (decode_coding_string): Likewise. | |
3618 | |
29717
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3619 2000-06-18 Ken Raeburn <raeburn@gnu.org> |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3620 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3621 * charset.c (update_charset_table): Use XINT on "iso_final_char" |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3622 when treating it as an integer. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3623 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3624 * coding.h (encode_coding_string): Declare. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3625 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3626 * keyboard.c (read_key_sequence): Use XINT on "pos" when treating |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3627 it as an integer. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3628 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3629 * keymap.c (Fwhere_is_internal): Rename argument "keymap" to |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3630 "xkeymap" to avoid shadowing the "enum map_type" value that needs |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3631 to be passed to get_local_map. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3632 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3633 * sound.c (Fplay_sound): Don't call make_number on |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3634 Frun_hook_with_args count argument. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3635 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3636 * xterm.c (x_send_scroll_bar_event): Fudge lisp object/integer |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3637 for lisp objects in X event structure data field, when lisp |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3638 objects are represented with unions. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3639 (x_scroll_bar_to_input_event): Ditto. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3640 |
29697
f24d81dfa064
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string.
Ken Raeburn <raeburn@raeburn.org>
parents:
29696
diff
changeset
|
3641 2000-06-16 Ken Raeburn <raeburn@gnu.org> |
f24d81dfa064
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string.
Ken Raeburn <raeburn@raeburn.org>
parents:
29696
diff
changeset
|
3642 |
f24d81dfa064
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string.
Ken Raeburn <raeburn@raeburn.org>
parents:
29696
diff
changeset
|
3643 * xdisp.c (decode_mode_spec): In "no_value" case, do NUL |
29698
9ad6e18de5f7
* xdisp.c (decode_mode_spec): Fix sense of test whether Vline_number_display_limit is an integer.
Ken Raeburn <raeburn@raeburn.org>
parents:
29697
diff
changeset
|
3644 termination of string. Fix sense of test whether |
9ad6e18de5f7
* xdisp.c (decode_mode_spec): Fix sense of test whether Vline_number_display_limit is an integer.
Ken Raeburn <raeburn@raeburn.org>
parents:
29697
diff
changeset
|
3645 Vline_number_display_limit is an integer. |
29697
f24d81dfa064
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string.
Ken Raeburn <raeburn@raeburn.org>
parents:
29696
diff
changeset
|
3646 |
29688 | 3647 2000-06-16 Gerd Moellmann <gerd@gnu.org> |
3648 | |
29712 | 3649 * xfaces.c (syms_of_xfaces) [DEBUG_X_COLORS]: Defsubr dump_colors |
3650 only if HAVE_X_WINDOWS. | |
3651 | |
29696 | 3652 * keymap.c (describe_buffer_bindings): Add `\f\n' in front |
3653 of titles. | |
3654 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3655 * dispnew.c (update_frame_1): Handle case that cursor vpos is |
29688 | 3656 out of bounds. |
3657 | |
29670 | 3658 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il> |
3659 | |
3660 * unexec.c (toplevel): Fix last change, so as not to deprive MSDOS | |
3661 of its headers. | |
3662 | |
29662 | 3663 2000-06-15 Kenichi Handa <handa@etl.go.jp> |
3664 | |
3665 * coding.c (decode_coding_emacs_mule): Always set src_base at the | |
3666 start of the while loop. | |
3667 | |
29661 | 3668 2000-06-15 Gerd Moellmann <gerd@gnu.org> |
3669 | |
29673 | 3670 * atimer.c (alarm_signal_handler): Add forward declaration. |
3671 | |
29661 | 3672 * data.c (set_internal): Remove debug code. |
3673 | |
29637 | 3674 2000-06-14 Gerd Moellmann <gerd@gnu.org> |
3675 | |
29657 | 3676 * Makefile.in (bootstrap-temacs): Add `-I../src'. |
3677 | |
29654 | 3678 * unexec.c (toplevel) [COFF]: Include coff.h. |
3679 | |
3680 * s/lynxos.h: New file. | |
3681 | |
3682 * keymap.c (Fsingle_key_description): Enclose function key and | |
3683 event symbol names in angle brackets. | |
3684 | |
29644 | 3685 * xdisp.c (setup_echo_area_for_printing): Call |
3686 message_log_maybe_newline if message_buf_print is not set. | |
3687 | |
3688 * print.c (printchar, strout): Don't check message_buf_print | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3689 before calling setup_echo_area_for_printing because that |
29644 | 3690 function does something useful even when message_buf_print is |
3691 already set. | |
3692 | |
29637 | 3693 * xdisp.c (message_truncate_lines, Qmessage_truncate_lines): New |
3694 variables. | |
3695 (ensure_echo_area_buffers): Initialize echo buffer's | |
3696 truncate lines setting to nil. | |
3697 (with_echo_area_buffer): Don't set the echo buffer's truncate | |
3698 lines setting here. | |
29644 | 3699 (set_message_1): Set it here instead, based on the value |
29637 | 3700 of message_truncate_lines. |
3701 (resize_mini_window): Handle case that lines are truncated. | |
3702 (syms_of_xdisp): Initialize Qmessage_truncate_lines. DEFVAR_BOOL | |
3703 message-truncate-lines. | |
3704 | |
3705 * keyboard.c (read_char): Bind message-truncate-lines to t | |
3706 while displaying a help-echo. | |
3707 | |
3708 * lisp.h (Qmessage_truncate_lines): External declaration. | |
3709 | |
29620 | 3710 2000-06-13 Gerd Moellmann <gerd@gnu.org> |
3711 | |
29633 | 3712 * xdisp.c (Vline_number_display_limit): Renamed from |
3713 line_number_display_limit. | |
3714 (syms_of_xdisp): Use DEFVAR_LISP for line-number-display-limit. | |
3715 Extend documentation string. Initialize | |
3716 Vline_number_display_limit to nil meaning no limit. | |
3717 (decode_mode_spec): Use Vline_number_display_limit with its new | |
3718 meaning. | |
3719 | |
29620 | 3720 * xterm.c (x_check_font) [GLYPH_DEBUG]: Add prototype. |
3721 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
3722 2000-06-13 Richard Stallman <rms@gnu.org> |
29620 | 3723 |
3724 * frame.c (Fmodify_frame_parameters): Doc fix. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3725 |
29620 | 3726 * xfns.c (x_set_frame_parameters): Comment fix. |
3727 | |
3728 * frame.c (store_frame_param): Call swap_in_global_binding if the | |
3729 variable's current binding was chosen based on this frame. | |
3730 | |
3731 * data.c (swap_in_global_binding): New function. | |
3732 | |
29615 | 3733 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il> |
3734 | |
3735 * msdos.c (IT_write_glyphs): Don't use CODING_REQUIRE_ENCODING | |
3736 macro, instead AND with CODING_REQUIRE_ENCODING_MASK. | |
3737 | |
29612 | 3738 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il> |
3739 | |
3740 * msdos.h (EMACS_MSDOS_H): Renamed from MSDOS_H_. | |
3741 | |
29606 | 3742 2000-06-12 Jason Rumney <jasonr@gnu.org> |
3743 | |
3744 * w32bdf.h (EMACS_W32BDF_H): Renamed from __W32BDF_H__ | |
3745 | |
3746 * w32.h (EMACS_W32_H): Renamed from _NT_H_ | |
3747 | |
3748 * w32gui.h (EMACS_W32GUI_H): Renamed from __W32GUI_H__ | |
3749 | |
3750 * w32inevt.h (EMACS_W32INEVT_H): Renamed from __NTINEVT_H__ | |
3751 | |
29603 | 3752 2000-06-12 Gerd Moellmann <gerd@gnu.org> |
3753 | |
3754 * xfaces.c (Fdump_colors) [DEBUG_X_COLORS]: New function. | |
3755 (syms_of_xfaces): Defsubr Sdump_colors. | |
3756 (x_free_colors): Don't treat b&w specially on default visual. | |
3757 (x_free_dpy_colors): New function. | |
3758 (free_face_colors): Don't check visual class; it's done | |
3759 in x_free_colors. | |
3760 | |
3761 * xterm.c (x_frame_of_widget): New function. | |
3762 (x_alloc_nearest_color_for_widget): Use it. | |
3763 (x_copy_dpy_color): New function. | |
3764 (x_destroy_window): Free various colors. | |
3765 | |
29574 | 3766 2000-06-12 Kenichi Handa <handa@etl.go.jp> |
3767 | |
3768 * ccl.h (EMACS_CCL_H): Renamed from _CCL_H. | |
3769 | |
3770 * charset.h (EMACS_CHARSET_H): Renamed from _CHARSET_H. | |
3771 | |
3772 * coding.h (EMASC_CODING_H): Renamed from _CODING_H. | |
3773 | |
3774 * composite.h (EMACS_COMPOSITE_H): Renamed from _COMPOSITE_H. | |
3775 | |
3776 * fontset.h (EMACS_FONTSET_H): Renamed from _FONTSET_H. | |
3777 | |
29560 | 3778 2000-06-11 Dave Love <fx@gnu.org> |
3779 | |
3780 * systime.h (EMACS_SYSTIME_H): Renamed from _SYSTIME_H. | |
3781 | |
29558 | 3782 2000-06-11 Eli Zaretskii <eliz@is.elta.co.il> |
3783 | |
3784 * msdos.h: Don't use _MSDOS_H_ as a symbol, use MSDOS_H_ instead. | |
3785 | |
29556 | 3786 2000-06-11 Gerd Moellmann <gerd@gnu.org> |
3787 | |
29603 | 3788 * xmenu.c (xmenu_show): Cast second parameter of lw_popup_menu |
29556 | 3789 to `XEvent *'. |
3790 | |
29537 | 3791 2000-06-10 Kenichi Handa <handa@etl.go.jp> |
3792 | |
29545 | 3793 * regex.c (MAKE_CHAR) [!emacs]: Dummy macro for non-Emacs env. |
3794 (regex_compile): Fix the code for handling the case of single byte | |
3795 char and multibyte char being mixed in a range within [...]. | |
3796 | |
29541 | 3797 * fileio.c (Finsert_file_contents): Be sure to setup src_multibyte |
3798 and dst_multibyte members of coding. | |
3799 | |
29537 | 3800 * charset.c (update_charset_table): Update the table |
3801 bytes_by_char_head. | |
3802 (init_charset_once): Initialize elements of bytes_by_char_head to | |
3803 1 except for leading codes for private charases. | |
3804 | |
3805 * charset.h (CHARSET_8_BIT_GRAPHIC): Define as 0x80. | |
3806 (UNIBYTE_STR_AS_MULTIBYTE_P): Fix for an invalid multibyte | |
3807 sequence. | |
3808 | |
29536
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
3809 2000-06-09 Ken Raeburn <raeburn@gnu.org> |
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
3810 |
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
3811 * xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to |
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
3812 access the data it doesn't point to. |
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
3813 |
29517 | 3814 2000-06-08 Gerd Moellmann <gerd@gnu.org> |
3815 | |
3816 * xterm.c (XTread_socket) <FocusIn>: Queue a FOCUS_IN_EVENT which | |
29556 | 3817 will be translated to a switch-frame event when reading the |
29517 | 3818 event queue. This is necessary because Emacs otherwise won't |
3819 perform a switch-frame to a new frame until some other event, for | |
3820 example a keystroke event, forces it to do so. This has various | |
3821 effects, one visible being that the cursor of a frame created with | |
3822 C-x 5 2 or switched to with a window manager key binding like | |
3823 A-TAB stays hollow because selected_window isn't on the newly | |
3824 focused frame until the switch-frame is performed. | |
3825 | |
3826 * keyboard.c (kbd_buffer_get_event): Handle FOCUS_IN_EVENT by | |
3827 generating a switch-frame event if necessary. | |
3828 | |
3829 * termhooks.h (enum event_kind): Add FOCUS_IN_EVENT. | |
3830 | |
3831 * xdisp.c (handle_fontified_prop): Don't GCPRO local var `pos'; | |
3832 it's an integer. | |
3833 | |
29502 | 3834 2000-06-08 Kenichi Handa <handa@etl.go.jp> |
3835 | |
3836 * fontset.c (Fset_fontset_font): The arg CHARACTER may be a | |
3837 charset. | |
3838 | |
29482 | 3839 2000-06-07 Gerd Moellmann <gerd@gnu.org> |
3840 | |
29489 | 3841 * window.c (displayed_window_lines): Take empty lines at |
3842 the bottom of a window into account. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3843 |
29487 | 3844 * window.c (displayed_window_lines): New function. |
3845 (Fmove_to_window_line): Use displayed_window_lines to determine | |
3846 the number of lines to move, instead of using the window's height. | |
3847 | |
3848 * lread.c (readevalloop): If READCHARFUN sets point to ZV, arrange | |
3849 to stop reading, even if the form read sets point to a different | |
3850 value when evaluated. | |
3851 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3852 * xdisp.c (display_line): Fix code deciding in which line to |
29482 | 3853 put the cursor. |
3854 | |
29479 | 3855 2000-06-07 Kenichi Handa <handa@etl.go.jp> |
3856 | |
3857 * fileio.c (e_write): Free composition data if stored in | |
3858 coding->cmp_data. | |
3859 | |
29460 | 3860 2000-06-06 Gerd Moellmann <gerd@gnu.org> |
3861 | |
29475 | 3862 * xdisp.c (display_line): Set row's and iterator's |
3863 starts_in_middle_of_char_p and ends_in_middle_of_char_p flags. | |
3864 Set cursor even if row ends in the middle of a character. | |
3865 (dump_glyph_row): Print values of new flags. | |
3866 (redisplay_window) <cursor movement in unchanged window>: When | |
3867 point has been moved forward, and PT is at the end of the cursor | |
3868 row, don't place the cursor in the next row if the cursor row ends | |
3869 in the middle of a character or at ZV. | |
3870 | |
3871 * dispextern.h (struct it): Add starts_in_middle_of_char_p. | |
3872 (struct glyph_row): Add starts_in_middle_of_char_p and | |
3873 ends_in_middle_of_char_p. | |
3874 (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P): Test row's | |
3875 ends_in_middle_of_char_p flag. | |
3876 (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Likewise. | |
3877 | |
29463 | 3878 * term.c (append_glyph): Revert change of 2000-06-06. |
3879 | |
3880 * xdisp.c (display_line): Revert change of 2000-06-06. Treat | |
3881 padding glyph not fitting on line as whole character not | |
3882 fitting on line. | |
3883 | |
29460 | 3884 * xterm.c (x_produce_glyphs): Don't xassert `it->descent > 0'; |
3885 this isn't true for images with `:ascent 100'. | |
3886 | |
29450 | 3887 2000-06-06 Kenichi Handa <handa@etl.go.jp> |
3888 | |
29457 | 3889 * buffer.c (Fset_buffer_multibyte): Don't make the current buffer |
3890 as modified if it is originally unmodified. | |
3891 | |
29450 | 3892 * term.c (encode_terminal_code): Change the way to check if |
3893 terminal coding does any conversion. | |
3894 (append_glyph): Set glyph->pixel_width correctly. | |
3895 | |
29451 | 3896 * xdisp.c (display_line): While checking line continuation, pay |
3897 attention to a padding glyph. | |
3898 | |
29447 | 3899 2000-06-05 Gerd Moellmann <gerd@gnu.org> |
3900 | |
3901 * xdisp.c (redisplay_window): Always use set_buffer_internal_1. | |
3902 | |
29431 | 3903 2000-06-05 Dave Love <fx@gnu.org> |
3904 | |
29444 | 3905 * xdisp.c: Include fontset.h. |
3906 | |
3907 * xfns.c (x_real_positions): Declare tmp_nchildren as unsigned. | |
3908 | |
3909 * xterm.c (x_calc_absolute_position): Declare nchildren unsigned. | |
3910 | |
3911 * dispnew.c: Conditionally include term.h. | |
3912 | |
3913 * coding.h: Declare code_convert_string_norecord. | |
3914 | |
3915 * frame.h (struct frame): Use volatile unconditionally. | |
3916 | |
3917 * buffer.h: Remove Vbefore_change_function, Vafter_change_function. | |
3918 | |
3919 * xmenu.c (menu_item_selection): Declare volatile unconditionally. | |
3920 | |
3921 * systime.h: Protect against multiple inclusion. | |
3922 (timezone) [USG5_4]: Define as time_t. | |
3923 | |
3924 * lisp.h (DEFUN, EXFUN): Test PROTOTYPES. | |
3925 (Foptimize_char_table, make_temp_name): Declare. | |
3926 | |
3927 * Makefile.in (xdisp.o): Depend on fontset.h. | |
3928 | |
3929 * xterm.c (x_calc_absolute_position): Declare nchildren unsigned. | |
3930 | |
3931 * lisp.h (DEFUN, EXFUN): Test PROTOTYPES. | |
3932 (Foptimize_char_table, make_temp_name): Declare. | |
3933 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3934 * s/irix4-0.h: |
29431 | 3935 * s/irix5-0.h: |
3936 * s/netbsd.h: Don't define autoconfiscated MATHERR. | |
3937 | |
29397 | 3938 2000-06-02 Dave Love <fx@gnu.org> |
3939 | |
3940 * lread.c (_XOPEN_SOURCE, __EXTENSIONS__): Don't define. | |
3941 | |
29395 | 3942 2000-06-02 Gerd Moellmann <gerd@gnu.org> |
3943 | |
3944 * xfaces.c (realize_x_face): When copying BASE_FACE bitwise to the | |
29447 | 3945 result face, set flags in that face indicating that colors may not |
29395 | 3946 be freed. |
3947 | |
3948 * xterm.c (x_set_mouse_face_gc): If first glyph isn't a character | |
3949 glyph, use the ASCII NUL character to determine the face. | |
3950 | |
29388 | 3951 2000-06-02 Dave Love <fx@gnu.org> |
3952 | |
3953 * sysdep.c: Conditionally include stdlib.h, unistd.h. | |
3954 (VFORK_RETURN_TYPE): Remove. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3955 |
29388 | 3956 * config.in: Add NO_MATHERR. |
3957 | |
29368 | 3958 2000-06-01 Dave Love <fx@gnu.org> |
3959 | |
29383 | 3960 * cmds.c (internal_self_insert): Don't check |
3961 Vbefore_change_function, Vafter_change_function. | |
3962 | |
3963 * insdel.c (signal_before_change, signal_after_change): Likewise. | |
3964 | |
3965 * buffer.c (Vbefore_change_function, Vafter_change_function): | |
3966 Variables and their initializations deleted. | |
3967 | |
29372 | 3968 * callint.c (Fcall_interactively): Doc fix. |
3969 | |
29368 | 3970 * terminfo.c (ospeed) [HAVE_SPEED_T]: Don't declare extern. |
3971 | |
29343 | 3972 2000-05-31 Dave Love <fx@gnu.org> |
3973 | |
3974 * textprop.c: Revert last change -- duplicated. | |
3975 | |
29338 | 3976 2000-05-31 Gerd Moellmann <gerd@gnu.org> |
3977 | |
3978 * dispnew.c (find_glyph_row_slice, swap_glyphs_in_rows): Put | |
3979 in #if 0. | |
3980 | |
3981 * lisp.h (eassert) [!ENABLE_CHECKING]: Define as `(void) 0'. | |
3982 | |
29331 | 3983 2000-05-31 Jason Rumney <jasonr@gnu.org> |
3984 | |
29334 | 3985 * search.c (Fre_search_forward, Fre_search_backward) |
3986 (Fposix_search_backward, Fposix_search_forward): Fix newlines in docs. | |
3987 | |
29331 | 3988 * w32select.c (Fw32_set_clipboard_data): Change QNil to Qnil. |
3989 | |
29308 | 3990 2000-05-30 Jason Rumney <jasonr@gnu.org> |
3991 | |
3992 * coding.h (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: New macros. | |
3993 [WINDOWSNT]: Add extern for Vw32_system_coding_system. | |
3994 | |
3995 * dispextern.h (struct glyph) [WINDOWSNT]: Add w32_font_type | |
3996 member. | |
3997 | |
3998 * fileio.c (Fread_file_name) [HAVE_NTGUI]: Use file dialog. | |
3999 (Fread_file_name) [HAVE_NTGUI, USE_MOTIF]: Do not attempt to | |
4000 expand a nil default_filename. | |
4001 | |
4002 * keyboard.c (make_lispy_event) [WINDOWS_NT]: Pass a window | |
4003 pointer to glyph_to_pixel_coords, not a frame. | |
4004 | |
4005 * makefile.nt (w32fns.obj, w32menu.obj): Add charset.h and | |
4006 coding.h to dependencies. | |
4007 | |
4008 * w32bdf.c (w32_load_bdf_font): Initialize font->double_byte_p. | |
4009 | |
4010 * w32console.c (glyph_to_pixel_coords): Change first parameter to | |
4011 window pointer to be consistent with w32term.c and xterm.c. | |
4012 | |
4013 * w32fns.c: Format and doc changes to bring closer to xfns.c. | |
4014 (VIETNAMESE_CHARSET): Define if not defined in system headers. | |
4015 (Qline_spacing, Qcenter): New variables. | |
4016 (Qw32_charset_*, w32_codepage_for_font): Moved from w32term.c. | |
4017 (x_set_line_spacing): New function. | |
4018 (x_set_frame_parameters): Use FRAME_NEW_WIDTH, FRAME_NEW_HEIGHT | |
4019 macros. | |
4020 (x_specified_cursor_type): New function. | |
4021 (x_set_cursor_type): Use it. | |
4022 (x_set_name, x_set_title): Use ENCODE_SYSTEM to encode titlebar | |
4023 and icon strings. | |
4024 (validate_x_resource_name, x_get_resource_string): Measure lengths | |
4025 of external strings in bytes. | |
4026 (w32_wnd_proc) [WM_MEASURE_ITEM]: Avoid calling | |
4027 GetTextExtentPoint32 with NULL title. | |
4028 (Fx_create_frame): Initialize Qline_spacing. | |
4029 (w32_load_system_font): Initialize font->double_byte_p. | |
4030 (x_to_w32_charset): Use Vw32_charset_info_alist. | |
4031 (Image, busy cursor, tooltip functions): Merged changes from | |
4032 xfns.c. Not yet functional on Windows. | |
4033 | |
4034 * w32gui.h (W32FontStruct): Add double_byte_p member. | |
4035 | |
4036 * w32inevt.c (NUM_TRANSLATED_MOUSE_BUTTONS): New constant. | |
4037 (emacs_button_translation): Use it. | |
4038 (do_mouse_event): Allow up to 32 mouse buttons by allowing any bit | |
4039 in `mask' to be set. | |
4040 | |
4041 * w32menu.c (single_submenu, w32_menu_show): Call ENCODE_SYSTEM on | |
4042 menu strings. | |
4043 | |
4044 * w32term.c: Format and doc changes to bring closer to xterm.c. | |
4045 (w32_char_font_type): New enum. | |
4046 (Qw32_charset_*, w32_codepage_for_font): Moved to w32fns.c. | |
4047 (w32_per_char_metric): Use w32_char_font_type instead of unicode_p. | |
4048 (w32_encode_char): New function. | |
4049 (x_encode_char): Removed. | |
4050 (x_get_glyph_and_face_encoding): Use w32_encode_char in place of | |
4051 x_encode_char and w32_font_is_double_byte. | |
4052 (x_produce_image_glyph): Use image_ascent. | |
4053 (x_produce_glyphs): Use new version of w32_per_char_metric and | |
4054 handle NULL return value. Allow extra line spacing. | |
4055 (W32_TEXTOUT): Distinguish between Unicode and DBCS text. | |
4056 (w32_get_glyph_overhangs): Remove unicode_p param. Use | |
4057 w32_font_type member of glyph instead. | |
4058 (x_draw_glyph_string): Draw underline and strike-out for BDF fonts. | |
4059 (fast_find_position): Make sure not to consider rows not visible | |
4060 in the window. | |
4061 (w32_read_socket) [WM_MENUSELECT]: Cannot call | |
4062 w32_menu_display_help with input blocked, as it can abort. | |
4063 (x_display_and_set_cursor): Choose cursor depending | |
4064 on buffer-local value of cursor_type. | |
4065 (x_draw_bar_cursor): Add parameter WIDTH. | |
4066 | |
4067 * w32term.h (CP_DEFAULT): Define. | |
4068 (Fx_display_color_p, Fx_display_grayscale_p, image_ascent): Declare. | |
4069 | |
29302 | 4070 2000-05-30 Gerd Moellmann <gerd@gnu.org> |
4071 | |
4072 * search.c (Fre_search_forward, Fre_search_backward) | |
4073 (Fposix_search_backward, Fposix_search_forward): Doc fix. | |
4074 | |
29298 | 4075 2000-05-30 Kenichi Handa <handa@etl.go.jp> |
4076 | |
4077 * coding.c (detect_coding_iso2022): Fix code for checking | |
4078 CODING_CATEGORY_MASK_ISO_8_2. | |
4079 | |
29297
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
4080 2000-05-29 Stefan Monnier <monnier@cs.yale.edu> |
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
4081 |
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
4082 * regex.c (PREFETCH_NOLIMIT): New function. |
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
4083 (re_match_2_internal): Use it and adjust the end_match_2 logic. |
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
4084 |
29285 | 4085 2000-05-29 Gerd Moellmann <gerd@gnu.org> |
4086 | |
29295 | 4087 * syntax.c (find_defun_start): Move test for |
4088 open_paren_in_column_0_is_defun_start outside of the loop. | |
4089 | |
29292 | 4090 * xdisp.c (redisplay_window): Really switch buffers when |
4091 displaying mode lines, and temporarily set selected_frame to the | |
4092 frame of the window that's redisplayed. | |
4093 | |
29285 | 4094 * xfaces.c (free_realized_faces): Block/unblock input. |
4095 (free_realized_multibyte_face): Ditto. | |
4096 | |
29283 | 4097 2000-05-29 Dave Love <fx@gnu.org> |
4098 | |
4099 * textprop.c (Qkeymap): New variable. | |
4100 (syms_of_textprop): Intern it. | |
4101 | |
4102 * keymap.c: Include intervals.h. | |
4103 (Fkey_binding, Fwhere_is_internal): Deal with `keymap' property. | |
4104 | |
4105 * Makefile.in (keymap.o): Depend on intervals.h. | |
4106 | |
4107 * keyboard.c (menu_bar_items, tool_bar_items) | |
4108 (Fexecute_extended_command): Deal with `keymap' property. | |
4109 (read_key_sequence): Track map from `keymap' property as well as | |
4110 `local_map'. | |
4111 | |
4112 * intervals.c (get_local_map): Extra arg to allow looking for | |
4113 `keymap' too. | |
4114 | |
4115 * intervals.h (map_property): New enum. | |
4116 (get_local_map): Extra arg using it. | |
4117 (Qkeymap): Declare. | |
4118 | |
29285 | 4119 * lisp.h (get_local_map): Don't declare here. |
29283 | 4120 |
29271 | 4121 2000-05-29 Kenichi Handa <handa@etl.go.jp> |
4122 | |
4123 * Makefile.in (callproc.o): Depend on composite.h. | |
4124 | |
4125 * callproc.c: Include composite.h. | |
4126 (Fcall_process): Handle composition correctly. | |
4127 | |
4128 * coding.h (coding_allocate_composition_data): Extern it. | |
4129 (coding_restore_composition): Likewise. | |
4130 | |
4131 * coding.c (DECODE_COMPOSITION_START): If coding->cmp_data is not | |
4132 yet allocated, finish decoding with result | |
4133 CODING_FINISH_INSUFFICIENT_CMP. | |
4134 (coding_allocate_composition_data): Make it non-static. | |
4135 (coding_restore_composition): Likewise. | |
4136 | |
29270 | 4137 2000-05-29 Eli Zaretskii <eliz@is.elta.co.il> |
4138 | |
4139 * charset.c (syms_of_charset): Revert last change. | |
4140 | |
29264 | 4141 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il> |
4142 | |
4143 * term.c (produce_glyphs): Treat characters from the eight-bit-* | |
30196
52c1b7a2e7a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30183
diff
changeset
|
4144 charsets as unibyte, with 1-column screen width. Sent by Kenichi |
52c1b7a2e7a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30183
diff
changeset
|
4145 Handa. |
29264 | 4146 |
29261 | 4147 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il> |
4148 | |
4149 * charset.c (syms_of_charset): Set width of character sets | |
4150 eight-bit-control and eight-bit-graphic to 1 column. | |
4151 | |
29254 | 4152 2000-05-26 Gerd Moellmann <gerd@gnu.org> |
4153 | |
4154 * config.in (HAVE_SPEED_T): New define. | |
4155 | |
4156 * sysdep.c, terminfo.c (ospeed) [HAVE_SPEED_T]: Declare as | |
4157 `extern speed_t'. | |
4158 | |
29248 | 4159 2000-05-26 Dave Love <fx@gnu.org> |
4160 | |
4161 * coding.c (shrink_decoding_region): Initialize eol_conversion. | |
4162 | |
4163 * data.c (Qsubrp, Qmany, Qunevalled): New variables. | |
4164 (Fsubr_arity): New function. | |
4165 (syms_of_data): Install them. | |
4166 | |
29226 | 4167 2000-05-26 Kenichi Handa <handa@etl.go.jp> |
4168 | |
29235 | 4169 * charset.c (init_charset_once): Set the table bytes_by_char_head |
4170 correctly. | |
4171 | |
29230 | 4172 * fontset.c (syms_of_fontset): Adjust the font name for ascii of |
4173 the default fontset to what Emacs uses by default. | |
29235 | 4174 (check_registry_encoding): This function deleted. |
4175 (Fset_fontset_font): Remove the adhoc condition for the default | |
4176 fontset. Allow cons in FONTNAME. | |
4177 | |
4178 * fns.c (map_char_table): Ignore char-table entries for | |
4179 charsets eight-bit-control and eight-bit-graphic. | |
29226 | 4180 |
29198
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
4181 2000-05-25 Ken Raeburn <raeburn@gnu.org> |
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
4182 |
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
4183 * emacs.c (main): Initialize keyboard syms before initializing |
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
4184 window code, so face names are available. |
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
4185 |
29195
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
4186 2000-05-25 Stefan Monnier <monnier@cs.yale.edu> |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
4187 |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
4188 * regex.c (at_begline_loc_p): Also recognize the \\(?:^ case |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
4189 of an anchor at the beginning of a shy-group. |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
4190 |
29193 | 4191 2000-05-25 Gerd Moellmann <gerd@gnu.org> |
4192 | |
4193 * xdisp.c (handle_invisible_prop): Don't try to skip over | |
4194 invisible text if end of text is already reached. | |
4195 | |
29183 | 4196 2000-05-25 Dave Love <fx@gnu.org> |
4197 | |
29186 | 4198 * xdisp.c (Fdump_glyph_matrix): Declare the arg. |
4199 | |
29183 | 4200 * coding.c (encode_eol): Add null statement after label. |
4201 | |
29181 | 4202 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il> |
4203 | |
4204 * w16select.c (Fw16_set_clipboard_data): Fix the change from | |
4205 2000-05-20. | |
4206 | |
29173 | 4207 2000-05-25 Kenichi Handa <handa@etl.go.jp> |
4208 | |
29174 | 4209 * ccl.c (ccl_driver): Fix previous change. |
29173 | 4210 |
29169 | 4211 2000-05-25 Kenichi Handa <handa@etl.go.jp> |
4212 | |
29171 | 4213 * coding.c (run_pre_post_conversion_on_str): Set point to the |
4214 beginning of buffer before calling coding->post_read_conversion. | |
4215 (decode_coding_string): Give correct args to | |
4216 run_pre_post_conversion_on_str. | |
4217 (encode_coding_string): Likewise. | |
4218 | |
29169 | 4219 * ccl.c (ccl_driver) <CCL_ReadMultibyteChar2> |
4220 <CCL_WriteMultibyteChar2>: Handle charsets eight-bit-control and | |
4221 eight-bit-graphic correctly. | |
4222 | |
29153 | 4223 2000-05-24 Kenichi HANDA <handa@etl.go.jp> |
4224 | |
4225 * fileio.c (Finsert_file_contents): Even if a file is not found, | |
4226 execute codes for setting up coding system. Call | |
4227 after-insert-file-functions unconditionally. | |
4228 | |
29151 | 4229 2000-05-24 Gerd Moellmann <gerd@gnu.org> |
4230 | |
4231 * callproc.c, emacs.c, sysdep.c (setpgrp): Don't define if USG and | |
4232 BSD_PGRPS are not defined. | |
4233 | |
29142 | 4234 2000-05-24 Kenichi Handa <handa@etl.go.jp> |
4235 | |
4236 * charset.c (update_charset_table): Accept nil in LONG_NAME and | |
4237 DESCRIPTION. | |
4238 (syms_of_charset): Avoid building same strings. | |
4239 | |
29127 | 4240 2000-05-23 Gerd Moellmann <gerd@gnu.org> |
4241 | |
4242 * lread.c (Fload): Add a comment about the meaning of | |
4243 Vuser_init_file being t. | |
4244 | |
4245 * puresize.h (BASE_PURESIZE): Increase to 675000. | |
4246 | |
4247 * s/gnu-linux.h (setpgrp): Don't define it here because this | |
4248 prevents compilation on GNU/Linux systems with glib 2.2. | |
4249 | |
4250 * callproc.c, emacs.c, sysdep.c (setpgrp) [HAVE_SETPGID]: Define | |
4251 as setpgid. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4252 |
29104 | 4253 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il> |
4254 | |
4255 * Makefile.in (SOME_MACHINE_LISP): Add disp-table.elc, | |
4256 dos-vars.elc, ccl.elc, and codepage.elc, all loaded by the MS-DOS | |
4257 version. | |
4258 (MSDOS_SUPPORT): Add dos-vars.elc, ccl.elc, and codepage.elc. | |
4259 | |
29092 | 4260 2000-05-23 Kenichi Handa <handa@etl.go.jp> |
4261 | |
29100
a941c97dc65b
(skip_chars): FETCH_STRING_CHAR_ADVANCE unconditionally.
Kenichi Handa <handa@m17n.org>
parents:
29096
diff
changeset
|
4262 * syntax.c (skip_chars): Use FETCH_STRING_CHAR_ADVANCE |
a941c97dc65b
(skip_chars): FETCH_STRING_CHAR_ADVANCE unconditionally.
Kenichi Handa <handa@m17n.org>
parents:
29096
diff
changeset
|
4263 unconditionally. |
a941c97dc65b
(skip_chars): FETCH_STRING_CHAR_ADVANCE unconditionally.
Kenichi Handa <handa@m17n.org>
parents:
29096
diff
changeset
|
4264 |
29096 | 4265 * msdos.c (IT_write_glyphs): Set coding->src_multibyte to 1. |
4266 | |
4267 * term.c (encode_terminal_code): Set coding->src_multibyte | |
4268 properly. | |
4269 | |
29092 | 4270 * coding.c (encode_eol): Fix a bug of DOS style EOL encoding. |
4271 | |
29064 | 4272 2000-05-22 Kenichi Handa <handa@etl.go.jp> |
4273 | |
29068
61a23dd336ab
(read_char): Allow character codes 128..255 to be
Kenichi Handa <handa@m17n.org>
parents:
29064
diff
changeset
|
4274 * keyboard.c (read_char): Allow character codes 128..255 to be |
61a23dd336ab
(read_char): Allow character codes 128..255 to be
Kenichi Handa <handa@m17n.org>
parents:
29064
diff
changeset
|
4275 handled by input-method-function. |
61a23dd336ab
(read_char): Allow character codes 128..255 to be
Kenichi Handa <handa@m17n.org>
parents:
29064
diff
changeset
|
4276 |
29064 | 4277 * insdel.c (adjust_markers_for_replace): Fix previous change. |
4278 (adjust_after_replace): If PREV_TEXT is nil, call | |
4279 adjust_markers_for_insert, not adjust_markers_for_replace. | |
4280 | |
29036 | 4281 2000-05-20 NIIBE Yutaka <gniibe@mri.co.jp> |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4282 |
29036 | 4283 * s/gnu-linux.h (UNIX98_PTYS) [HAVE_GRANDPT]: Define. |
4284 (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF) | |
4285 [HAVE_GRANDPT]: Define. | |
4286 (C_SWITCH_SYSTEM): Add -D_XOPEN_SOURCE. | |
4287 | |
4288 * sysdep.c (setup_pty): Treat case that UNIX98_PTYS is defined | |
4289 like SYSV_PTYS. | |
4290 | |
4291 * config.in (HAVE_GRANDPT, HAVE_GETPT): New defines. | |
4292 | |
4293 * process.c (toplevel) [UNIX98_PTYS]: Include stdlib.h. | |
4294 | |
29028 | 4295 2000-05-20 Kenichi Handa <handa@etl.go.jp> |
4296 | |
4297 The following changes are to handle 8-bit characters in a | |
4298 multibyte buffer/string without facing with byte combining | |
4299 problem. Two new charsets eight-bit-control (for 0x80..0x9F) and | |
4300 eight-bit-graphic (for 0xA0..0xFF) are introduced. | |
4301 | |
4302 * Makefile.in (fns.o): Depend on charset.h. | |
4303 | |
4304 * alloc.c (Fmake_byte_code): If BYTECODE-STRING is multibyte, | |
4305 convert it to unibyte. | |
4306 (make_string): Use parse_str_as_multibyte, not chars_in_text. | |
4307 | |
4308 * buffer.c (advance_to_char_boundary): Don't use DEC_POS to find a | |
4309 apparent char boundary. | |
4310 (Fset_buffer_multibyte): Convert 8-bit characters in the range | |
4311 0x80..0x9F to/from multibyte form. | |
4312 | |
4313 * bytecode.c (Fbyte_code): If arg BYTESTR is multibyte, convert it | |
4314 to unibyte. | |
4315 | |
4316 * callproc.c (Fcall_process): Always encode an argument string if | |
4317 it is multibyte. Setup src_multibyte and dst_multibyte members of | |
4318 process_coding properly. | |
29102 | 4319 |
29028 | 4320 * category.c (Fmodify_category_entry): Use SPLIT_CHAR, not |
4321 SPLIT_NON_ASCII_CHAR. | |
4322 | |
4323 * ccl.c (CCL_WRITE_CHAR): Be sure to write single byte characters | |
4324 as is. | |
4325 (CCL_MAKE_CHAR): Use MAKE_CHAR, not MAKE_NON_ASCII_CHAR. | |
4326 | |
4327 * charset.c (Qeight_bit_control, Qeight_bit_graphic): New | |
4328 variables. | |
4329 (SPLIT_CHARACTER_SEQ): This macro deleted. | |
4330 (SPLIT_MULTIBYTE_SEQ): Assume that multibyte sequence at STR is | |
4331 valid. | |
4332 (CHAR_COMPONENTS_VALID_P): Handle new charsets; eight-bit-control | |
4333 and eight-bit-graphic. | |
4334 (char_to_string): Likewise. Signal an error for too large | |
4335 character code. | |
4336 (char_printable_p): Return 0 for 8-bit characters. | |
4337 (update_charset_table): Update iso_charset_table only when a final | |
4338 character is non-negative. | |
4339 (find_charset_in_text): Renamed from find_charset_in_str. | |
4340 Arguments and return value changed. Callers changed. | |
4341 (Fdefine_charset): Args ISO-FINAL-CHAR and ISO-GRAPHIC-PLANE can | |
4342 be -1 if CHARSET is used only internally. | |
4343 (Fmake_char_internal): Handle new charsets; eight-bit-control and | |
4344 eight-bit-graphic. | |
4345 (Fcharset_after): Simplified. | |
4346 (char_valid_p): Use SPLIT_CHAR, not SPLIT_NON_ASCII_CHAR. | |
4347 (char_bytes): Return 2 for chars of the range 0xA0..0xFF. | |
4348 (multibyte_chars_in_text): Simplified by assuming there's no | |
4349 invalid multibyte sequence. | |
4350 (parse_str_as_multibyte, str_as_multibyte, str_to_multibyte, | |
4351 str_as_unibyte): New functions. | |
4352 (Fstring): Simpified by assuming that byte combining never | |
4353 happens. | |
4354 (init_charset_once): Initialization for | |
4355 LEADING_CODE_8_BIT_CONTROL. | |
4356 (syms_of_charset): Intern and staticpro Qeight_bit_control and | |
4357 Qeight_bit_graphic. Include them in Vcharset_list. Make charsets | |
4358 eight-bit-control and eight-bit-graphic. | |
4359 | |
4360 * charset.h (LEADING_CODE_8_BIT_CONTROL, CHARSET_8_BIT_CONTROL, | |
4361 CHARSET_8_BIT_GRAPHIC): New macros. | |
4362 (SINGLE_BYTE_CHAR_P): Make it faster by using casting. | |
4363 (CHARSET_ISO_GRAPHIC_PLANE): Use XINT instead of XFASTINT. | |
4364 (CHARSET_REVERSE_CHARSET): Likewise. | |
4365 (CHARSET_VALID_P): Handle new charsets; eight-bit-control and | |
4366 eight-bit-graphic. | |
4367 (BYTES_BY_CHAR_HEAD, WIDTH_BY_CHAR_HEAD): Optimize for ASCII. | |
4368 (CHAR_CHARSET, MAKE_CHAR, SPLIT_CHAR, CHAR_BYTES): Likewise. | |
4369 (PARSE_MULTIBYTE_SEQ) [BYTE_COMBINING_DEBUG]: Abort if we | |
4370 encounter an invalid multibyte sequence. | |
4371 (PARSE_MULTIBYTE_SEQ) [not BYTE_COMBINING_DEBUG]: Assume multibyte | |
4372 sequence is always valid. | |
4373 (MAKE_NON_ASCII_CHAR, SPLIT_NON_ASCII_CHAR): These macros Deleted. | |
4374 (UNIBYTE_STR_AS_MULTIBYTE_P, MULTIBYTE_STR_AS_UNIBYTE_P): New | |
4375 macros. | |
4376 (CHAR_STRING): For 8-bit characters, call char_to_string. | |
4377 (INC_POS) [not BYTE_COMBINING_DEBUG]: Faster version. Assume | |
4378 multibyte sequence is always valid. | |
4379 (BUF_INC_POS) [not BYTE_COMBINING_DEBUG]: Likewise. | |
4380 (parse_str_as_multibyte, str_as_multibyte, str_to_multibyte, | |
4381 str_as_unibyte): Extern them. | |
4382 (BCOPY_SHORT): Fix a bug. | |
4383 (CHAR_LEN): This macro deleted. Callers changed to use | |
4384 CHAR_BYTES. | |
4385 (FETCH_STRING_CHAR_ADVANCE): Check multibyteness of STRING. | |
4386 (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): New macro. | |
4387 (FETCH_CHAR_ADVANCE): Check multibyteness of the current buffer. | |
4388 | |
29161 | 4389 * coding.c (ONE_MORE_BYTE, TWO_MORE_BYTES): Set coding->result to |
29028 | 4390 CODING_FINISH_INSUFFICIENT_SRC if there's not enough source. |
4391 (ONE_MORE_CHAR, EMIT_CHAR, EMIT_ONE_BYTE, EMIT_TWO_BYTE, | |
4392 EMIT_BYTES): New macros. | |
4393 (THREE_MORE_BYTES, DECODE_CHARACTER_ASCII, | |
4394 DECODE_CHARACTER_DIMENSION1, DECODE_CHARACTER_DIMENSION2): These | |
4395 macros deleted. | |
4396 (CHECK_CODE_RANGE_A0_FF): This macro deleted. | |
4397 (detect_coding_emacs_mule): Use UNIBYTE_STR_AS_MULTIBYTE_P to | |
4398 check the validity of multibyte sequence. | |
4399 (decode_coding_emacs_mule): New function. | |
4400 (encode_coding_emacs_mule): New macro. | |
4401 (detect_coding_iso2022): Use ONE_MORE_BYTE to fetch a byte from | |
4402 the source. | |
4403 (DECODE_ISO_CHARACTER): Just return a character code. | |
4404 (DECODE_COMPOSITION_START): Set coding->result instead of result. | |
4405 (decode_coding_iso2022, decode_coding_sjis_big5, decode_eol): Use | |
4406 EMIT_CHAR to produced decoded characters. Exit the loop only by | |
4407 macros ONE_MORE_BYTE or EMIT_CHAR. Don't handle the case of last | |
4408 block here. | |
4409 (ENCODE_ISO_CHARACTER): Don't translate character here. Produce | |
4410 only position codes for an invalid character. | |
4411 (encode_designation_at_bol): Return new destination pointer. 5th | |
4412 arg DSTP is changed to DST. | |
4413 (encode_coding_iso2022, decode_coding_sjis_big5): Get a character | |
4414 from the source by ONE_MORE_CHAR. Don't handle the case of last | |
4415 block here. | |
4416 (DECODE_SJIS_BIG5_CHARACTER, ENCODE_SJIS_BIG5_CHARACTER): These | |
4417 macros deleted. | |
4418 (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8, | |
4419 detect_coding_utf_16, detect_coding_ccl): Use ONE_MORE_BYTE and | |
4420 TWO_MORE_BYTES to fetch a byte from the source. | |
4421 (encode_eol): Pay attention to coding->src_multibyte. | |
4422 (detect_coding, detect_eol): Preserve members src_multibyte and | |
4423 dst_multibyte. | |
4424 (DECODING_BUFFER_MAG): Return 2 even for coding_type_raw_text. | |
4425 (encoding_buffer_size): Set magnification to 3 for all coding | |
4426 systems that require encoding. | |
4427 (ccl_coding_driver): For decoding, be sure that the result is | |
4428 valid multibyte sequence. | |
4429 (decode_coding): Initialize coding->errors and coding->result. | |
4430 For emacs-mule, call decode_coding_emacs_mule. For no-conversion | |
4431 and raw-text, always call decode_eol. Handle the case of last | |
4432 block here. If not coding->dst_multibyte, convert the resulting | |
4433 sequence to unibyte. | |
4434 (encode_coding): Initialize coding->errors and coding->result. | |
4435 For emacs-mule, call encode_coding_emacs_mule. For no-conversion | |
4436 and raw-text, always call encode_eol. Handle the case of last | |
4437 block here. | |
4438 (shrink_decoding_region, shrink_encoding_region): Detect cases | |
4439 that we can't skip data more rigidly. | |
4440 (code_convert_region): Setup src_multibyte and dst_multibyte | |
4441 members of coding. For decoding, if the buffer is multibyte, | |
4442 convert the source sequence to unibyte in advance. For encoding, | |
4443 if the buffer is multibyte, convert the resulting sequence to | |
4444 multibyte afterward. | |
4445 (run_pre_post_conversion_on_str): New function. | |
4446 (code_convert_string): Deleted and divided into the following two. | |
4447 (decode_coding_string, encode_coding_string): New functions. | |
4448 (code_convert_string1, code_convert_string_norecord): Call one of | |
4449 above. | |
4450 (Fdecode_sjis_char, Fdecode_big5_char): Use MAKE_CHAR instead of | |
4451 MAKE_NON_ASCII_CHAR. | |
4452 (Fset_terminal_coding_system_internal, | |
4453 Fset_safe_terminal_coding_system_internal): Setup src_multibyte | |
4454 and dst_multibyte members. | |
4455 (init_coding_once): Initialize iso_code_class with new enum | |
4456 ISO_control_0 and ISO_control_1. | |
4457 | |
4458 * coding.h (enum iso_code_class_type): Member ISO_control_code is | |
4459 devided into ISO_control_0 and ISO_control_1. | |
4460 (struct coding_system): New members src_multibyte, dst_multibyte, | |
4461 errors, and result. Delete member fake_multibyte. | |
4462 (CODING_REQUIRE_DECODING): Return 1 if coding->dst_multibyte is | |
4463 nonzero. | |
4464 (CODING_REQUIRE_ENCODING): Return 1 if coding->src_multibyte is | |
4465 nonzero. | |
4466 | |
4467 * data.c (Faref): Use SPLIT_CHAR instead of SPLIT_NON_ASCII_CHAR. | |
4468 (Faset): Likewise. | |
4469 | |
4470 * editfns.c (Fformat): Be sure to convert 8-bit characters to | |
4471 multibyte form. | |
4472 (Ftranspose_region) [BYTE_COMBINING_DEBUG]: Abort if byte | |
4473 combining occurs. | |
4474 (Ftranspose_region): Delete codes for handling byte combining. | |
4475 | |
4476 * fileio.c (Finsert_file_contents): Setup src_multibyte and | |
4477 dst_multibyte members of coding. On handling REPLACE on unibyte | |
4478 buffer, convert the result of decode_coding to unibyte. On | |
4479 inserting into a mutibyte buffer, always call code_convert_region. | |
29161 | 4480 (e_write): Setup coding->src_multibyte according to the |
29028 | 4481 multibyteness of the source (buffer or string). |
4482 | |
4483 * fns.c (concat): Handle 8-bit characters correctly. | |
4484 (Fstring_as_unibyte): Be sure to make all 8-bit characters in | |
4485 unibyte in the result. | |
4486 (Fstring_as_multibyte): Be sure to make all 8-bit characters in | |
4487 valid multibyte form in the result. | |
4488 (map_char_table): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR. | |
4489 (Fbase64_encode_region, Fbase64_encode_string): If base64_encode_1 | |
4490 return -1, signal an error. | |
4491 (base64_encode_1): New arg MULTIBYTE. Get each character by | |
4492 CHAR_STRING_AND_LENGTH if MULTIBYTE is nonzero. If a multibyte | |
4493 character is found, return -1. | |
4494 (Fbase64_decode_region): Delete codes for handling byte-combining. | |
4495 Treat each decoded byte as a unibyte character. | |
4496 (Fbase64_decode_string): Return unibyte string. | |
4497 (Fcompare_strings, concat, string_byte_to_char): Use | |
4498 FETCH_STRING_CHAR_ADVANCE_NO_CHECK instead off | |
4499 FETCH_STRING_CHAR_ADVANCE. | |
4500 (Fstring_lessp): Use FETCH_STRING_CHAR_ADVANCE unconditionally. | |
4501 (mapcar1): If SEQ is string, always use FETCH_STRING_CHAR_ADVANCE. | |
4502 | |
4503 * fontset.c (fontset_ref): Use SPLIT_CHAR instead of | |
4504 SPLIT_NON_ASCII_CHAR. | |
4505 (fontset_ref_via_base, fontset_set): Likewise | |
4506 | |
4507 * insdel.c (adjust_markers_for_record_delete): Deleted. | |
4508 (adjust_markers_for_insert): Argument changed. Caller changed. | |
4509 (adjust_markers_for_replace): Likewise. | |
4510 (ADJUST_CHAR_POS, combine_bytes, byte_combining_error, | |
4511 CHECK_BYTE_COMBINING_FOR_INSERT): Deleted. | |
4512 (copy_text): Delete unused local varialbe c_save. For converting | |
4513 to multibyte, be sure to make all 8-bit characters in valid | |
4514 multibyte form. | |
4515 (count_size_as_multibyte): Handle 8-bit characters correctly. | |
4516 (insert_1_both, insert_from_string_1, insert_from_buffer_1, | |
4517 adjust_after_replace, replace_range, del_range_2) | |
4518 [BYTE_COMBINING_DEBUG]: Abort if byte combining occurs. | |
4519 (insert_1_both, insert_from_string_1, insert_from_buffer_1, | |
4520 adjust_after_replace, replace_range, del_range_2) Delete codes for | |
4521 handling byte combining. | |
4522 (adjust_before_replace): Deleted. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4523 |
29028 | 4524 * keymap.c (Fsingle_key_description): Use SPLIT_CHAR instead of |
4525 SPLIT_NON_ASCII_CHAR. | |
4526 (describe_vector): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR. | |
4527 (Faccessible_keymaps): Use FETCH_STRING_CHAR_ADVANCE | |
4528 unconditionally. | |
4529 (Fkey_description): Likewise. | |
4530 | |
4531 * lread.c (read1): On reading multibyte string, be sure to make | |
4532 all 8-bit chararacters in valid multibyte form. | |
4533 (readchar): Use FETCH_STRING_CHAR_ADVANCE unconditionally. | |
4534 | |
4535 * print.c (print_object): Use FETCH_STRING_CHAR_ADVANCE | |
4536 unconditionally. | |
4537 | |
4538 * process.c (Fstart_process): GCPRO current_dir before calling | |
4539 Ffind_operation_coding_system. Encode arguments here. | |
4540 (create_process): Don't encode arguments here. Setup | |
4541 src_multibyte and dst_multibyte members of struct coding. | |
4542 (read_process_output): Setup src_multibyte and dst_multibyte | |
4543 members of struct coding. If the output is to multibyte buffer, | |
4544 always decode the output of the process. Adjust the | |
4545 representation of 8-bit characters to the multibyteness of the | |
4546 output. | |
4547 (send_process): Setup coding->src_multibyte according to the | |
4548 multibyteness of the source. | |
4549 | |
4550 * search.c (wordify): Use FETCH_STRING_CHAR_ADVANCE | |
4551 unconditionally. | |
4552 (Freplace_match): Use FETCH_STRING_CHAR_ADVANCE and | |
4553 FETCH_STRING_CHAR_ADVANCE_NO_CHECK appropriately. | |
4554 | |
4555 * term.c (produce_special_glyphs): Use CHAR_BYTES instead of | |
4556 CHAR_LEN. | |
4557 | |
4558 * w16select.c (Fw16_set_clipboard_data): Setup members | |
4559 src_multibyte and dst_multibyte of coding. Adjusted for the | |
4560 change for find_charset_in_str. | |
4561 (Fw16_get_clipboard_data): Likewise. | |
4562 | |
4563 * w32fns.c (w32_to_x_font): Setup members src_multibyte and | |
4564 dst_multibyte of coding. | |
4565 (x_to_w32_font): Likewise. | |
4566 | |
4567 * w32select.c (Fw32_set_clipboard_data): Setup members | |
4568 src_multibyte and dst_multibyte of coding. Adjusted for the | |
4569 change for find_charset_in_str. | |
4570 (Fw32_get_clipboard_data): Likewise. | |
4571 | |
4572 * xdisp.c (get_next_display_element): Handle 8-bit characters | |
4573 correctly. | |
4574 (next_element_from_display_vector): Use CHAR_BYTES instead of | |
4575 CHAR_LEN. | |
4576 (disp_char_vector): Use SPLIT_CHAR instead of | |
4577 SPLIT_NON_ASCII_CHAR. | |
4578 | |
4579 * xselect.c (selection_data_to_lisp_data): Setup members | |
4580 src_multibyte and dst_multibyte of coding. Adjusted for the | |
4581 change for find_charset_in_str. | |
4582 (lisp_data_to_selection_data): Likewise. | |
4583 | |
28988 | 4584 2000-05-19 Gerd Moellmann <gerd@gnu.org> |
4585 | |
28993 | 4586 * buffer.c (Fbury_buffer): Avoid trouble from burying a killed |
4587 buffer. | |
4588 | |
28988 | 4589 * dispextern.h (Vimage_types): Add extern declaration. |
4590 | |
4591 * xdisp.c (Vimage_types): Moved here from xfns.c. | |
4592 (syms_of_xdisp): Move `image-types' variable here from xfns.c. | |
4593 | |
4594 * xfns.c (Vimages_types): Moved to xdisp.c. | |
4595 (syms_of_xfns): Move `image-types' to xdisp.c. | |
4596 | |
4597 * w32fns.c (Vimage_types): Removed. | |
4598 (syms_of_w32fns): Remove `image-types'. | |
4599 | |
28965 | 4600 2000-05-18 Kenichi Handa <handa@etl.go.jp> |
4601 | |
4602 * fns.c (map_char_table): Pay attention to character number of | |
4603 charset. Check the validity of charset at the first level. For | |
4604 leaf nodes that has nil value, call C_FUNCTION or FUNCTION with | |
4605 the default value. | |
4606 | |
4607 * fontset.c: Include "buffer.h". | |
4608 (fs_load_font): If the face has fontset, record the face ID in | |
4609 that fontset. | |
4610 (Finternal_char_font): New function. | |
4611 (accumulate_font_info): New function. | |
4612 (Ffontset_info): Rewritten for the new fontset implementation. | |
4613 (syms_of_fontset): Register Vdefault_fontset in the first element | |
4614 of Vfontset_table. Include Vdefault_fontset in | |
4615 Vfontset_alias_alist. Declare `internal-char-font' as a Lisp | |
4616 function. | |
4617 | |
28945 | 4618 2000-05-16 Dave Love <fx@gnu.org> |
4619 | |
4620 * m/iris5d.h: Deleted -- unused. | |
4621 | |
28929 | 4622 2000-05-16 Gerd Moellmann <gerd@gnu.org> |
4623 | |
28939 | 4624 * xdisp.c, w32.c, print.c, msdos.c, emacs.c: Use the term |
4625 `invalid' instead of `illegal'. | |
4626 | |
4627 * indent.c (Fmove_to_column): When ending within a tab, insert | |
4628 spaces first so that markers at the end of the tab get adjusted. | |
4629 | |
28931 | 4630 * frame.c (frames_bury_buffer): Don't add a buffer to the frame's |
4631 buffer list that wasn't selected in that frame. | |
4632 | |
28929 | 4633 * filelock.c (get_boot_time): To obtain an 8 char file name, which |
4634 is needed on mescaline, use a 2 char prefix, and call | |
4635 make_temp_name with second arg non-zero. | |
4636 | |
4637 * fileio.c (make_temp_name): New function, extracted from | |
4638 Fmake_temp_name. | |
4639 (Fmake_temp_name): Use it. | |
4640 | |
28921 | 4641 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il> |
4642 | |
4643 * window.c (coordinates_in_window): Subtract 1 when computing | |
4644 right_x. | |
4645 | |
28919 | 4646 2000-05-15 Gerd Moellmann <gerd@gnu.org> |
4647 | |
4648 * Makefile.in (lisp): Add env.elc. | |
4649 | |
4650 * callproc.c (Fgetenv_internal): Renamed from Fgetenv. | |
4651 | |
28887 | 4652 2000-05-12 Gerd Moellmann <gerd@gnu.org> |
4653 | |
4654 * search.c (Freplace_match): Handle case of `\N' in the | |
4655 replacement when there's no group N. | |
4656 | |
28870 | 4657 2000-05-11 Gerd Moellmann <gerd@gnu.org> |
4658 | |
28877 | 4659 * xdisp.c (add_to_log): Don't pass the terminating NUL byte |
4660 of the message to message_dolog. | |
4661 | |
28872 | 4662 * keyboard.c (read_char): Don't clear current message for help |
4663 events; let the code handling help events handle this. Change | |
4664 code detecting help events that should be ignored. | |
4665 | |
28870 | 4666 * xdisp.c (handle_single_display_prop): Don't try to set PT if |
4667 we're interating over a string. | |
4668 | |
28848 | 4669 2000-05-09 Dave Love <fx@gnu.org> |
4670 | |
4671 * fileio.c (Fwrite_region): If APPEND arg is an integer, seek to | |
4672 that offset before writing. Move gcpro region past call of | |
4673 Ffile_regular_p. | |
4674 | |
28820 | 4675 2000-05-04 Dave Love <fx@gnu.org> |
4676 | |
4677 * buffer.c (syms_of_buffer) [auto-fill-function]: Doc fix. | |
4678 | |
28817 | 4679 2000-05-04 Gerd Moellmann <gerd@gnu.org> |
4680 | |
4681 * insdel.c (insert_from_buffer_1): Adjust FROM position by number | |
4682 of inserted characters when BUF equals the current buffer, and PT | |
4683 is in front of or equal to FROM. | |
4684 | |
28795 | 4685 2000-05-03 Gerd Moellmann <gerd@gnu.org> |
4686 | |
28805 | 4687 * xdisp.c (handle_single_display_prop): If display property value |
4688 is invalid, or something not supported on the frame, restore | |
4689 iterator's position to what it was initially. Make sure to return | |
4690 0 for invalid and unsupported property values. | |
4691 | |
28795 | 4692 * xterm.c (x_produce_glyphs) <composite chars>: Handle case |
4693 that x_per_char_metric returns null. | |
4694 | |
28782 | 4695 2000-05-02 Gerd Moellmann <gerd@gnu.org> |
4696 | |
28789 | 4697 * xterm.h (struct face): Add forward declaration. |
4698 (struct image): Ditto. | |
4699 (image_ascent): Add prototype. | |
4700 | |
4701 * xterm.c (x_produce_image_glyph, x_draw_image_foreground) | |
4702 (x_draw_image_relief, x_draw_image_foreground_1): Call function | |
4703 image_ascent instead of using IMAGE_ASCENT. | |
4704 | |
4705 * dispextern.h (DEFAULT_IMAGE_HEIGHT): New macro. | |
4706 (IMAGE_ASCENT): Removed. | |
4707 | |
4708 * xfns.c (Qcenter): New variable. | |
4709 (enum image_value_type): Add IMAGE_ASCENT_VALUE. | |
4710 (parse_image_spec): Handle IMAGE_ASCENT_VALUE. | |
4711 (image_ascent): New function. | |
4712 (lookup_image): Recognize `:ascent center'. | |
4713 (xbm_format, xpm_format, pbm_format, png_format, jpeg_format) | |
4714 (tiff_format, gif_format, gs_format): Use IMAGE_ASCENT_VALUE. | |
4715 (xbm_load): Don't set image's ascent here. | |
4716 (xbm_image_p, xpm_image_p, pbm_image_p, png_image_p) | |
4717 (jpeg_image_p, tiff_image_p, gif_image_p, gs_image_p): Don't | |
4718 check ascent values here. | |
4719 (Fimagep, Flookup_image [GLYPH_DEBUG]: Removed. | |
4720 (syms_of_xfns) [GLYPH_DEBUG]: Don't defsubr removed functions. | |
4721 (syms_of_xfns): Initialize Qcenter. | |
4722 | |
28782 | 4723 * eval.c (Fsignal): If lisp_eval_depth or spepdl_size are near |
4724 to the limits, increase the limits. | |
4725 | |
28765 | 4726 2000-05-01 Kenichi Handa <handa@etl.go.jp> |
4727 | |
4728 * fontset.c (fs_load_font): By default, use 0x00..0x7f for ASCII. | |
4729 Check Vfont_encoding_alist against the full name of the opened | |
4730 font. | |
4731 | |
28755 | 4732 2000-04-28 Gerd Moellmann <gerd@gnu.org> |
4733 | |
4734 * xdisp.c (make_cursor_line_fully_visible): Handle case of rows | |
4735 taller than the window. | |
4736 | |
28752 | 4737 2000-04-28 Kenichi Handa <handa@etl.go.jp> |
4738 | |
4739 * xfaces.c (realize_x_face): Fix the argument of the second | |
4740 xassert. BASE_FACE may not be a face for ASCII. | |
4741 | |
28734 | 4742 2000-04-27 Gerd Moellmann <gerd@gnu.org> |
4743 | |
28748 | 4744 * print.c (print_object): Treat print-length < 0 as nil. |
4745 | |
4746 * Makefile.in (termcapobj): Don't use TERMCAP_OBJ. | |
4747 | |
4748 * s/freebsd.h (TERMCAP_OBJ): Removed. | |
4749 (LIBS_TERMCAP): Don't define for __FreeBSD_version >= 400000. | |
4750 | |
4751 * lread.c (read1): Don't treat period followed by certain | |
4752 characters as symbol start. | |
4753 | |
4754 * xfns.c (slurp_file): New function. | |
4755 (xbm_image_p): Handle case of in-memory XBM files. | |
4756 (xbm_scan): Rewritten to work on memory buffers instead of files. | |
4757 (xbm_read_bitmap_data): Renamed from xbm_read_bitmap_file_data. | |
4758 Work on memory buffers instead of files. If DATA is null test | |
4759 if buffer looks like an in-memory XBM file. | |
4760 (xbm_load_image): Renamed from xbm_load_image_file. Work on | |
4761 memory buffers instead of files. | |
4762 (xbm_file_p): New function. | |
4763 (xbm_load): Accept :data DATA where DATA is an in-memory XBM file. | |
4764 | |
28734 | 4765 * lread.c (end_of_file_error): New function. |
4766 (read1): Call it instead of signaling `end-of-file' directly. | |
4767 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4768 * print.c (print_error_message): Print data of `end-of-file' |
28734 | 4769 with Fprinc instead of Fprin1. |
4770 | |
28727
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4771 2000-04-26 Ken Raeburn <raeburn@gnu.org> |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4772 |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4773 * window.c (freeze_window_start): Check that minibuffer scroll |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4774 window isn't nil before extracting the window structure pointer |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4775 from it. |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4776 |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4777 * undo.c (record_delete): If we hit the end of the undo list, stop |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4778 picking elements apart. |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4779 |
28724 | 4780 2000-04-26 Gerd Moellmann <gerd@gnu.org> |
4781 | |
4782 * xdisp.c (display_line): If lines are continued, restore | |
4783 iterator's ascent/descent information to the values before the | |
4784 first glyph not fitting on the line. | |
4785 | |
28710 | 4786 2000-04-25 Gerd Moellmann <gerd@gnu.org> |
4787 | |
4788 * xdisp.c (try_window_id) <all changes above window start>: Adjust | |
4789 positions in glyph matrix. Don't compute new window end | |
4790 positions. | |
4791 | |
4792 * dispnew.c (increment_matrix_positions): Renamed from | |
4793 increment_glyph_matrix_buffer_positions. | |
4794 (increment_row_positions): Renamed from | |
4795 increment_glyph_row_buffer_positions. | |
4796 | |
4797 * dispextern.h: Change names of renamed functions from dispnew.c | |
4798 in prototypes. | |
4799 | |
28695 | 4800 2000-04-24 Gerd Moellmann <gerd@gnu.org> |
4801 | |
28699 | 4802 * fileio.c (Fdo_auto_save): Create directories for auto-save |
4803 list file if necessary. | |
4804 | |
28695 | 4805 * xdisp.c (init_iterator): Set iterator's extra_line_spacing |
4806 from buffer or frame. | |
4807 (automatic_hscrolling_p): New variable. | |
4808 (hscroll_windows): Scroll windows horizontally only if automatic | |
4809 hscrolling is allowed. | |
4810 (syms_of_xdisp): New variable `automatic-hscrolling'. | |
4811 | |
4812 * frame.h (struct frame): Add member extra_line_spacing. | |
4813 | |
4814 * xfns.c (x_set_line_spacing): New function. | |
4815 (Fx_create_frame): Set line spacing from resources. | |
4816 (Qline_spacing): New variable. | |
4817 (syms_of_xfns): Initialize Qline_spacing. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4818 |
28695 | 4819 * emacs.c (USAGE2): Add `--line-spacing' and `-lsp'. |
4820 | |
4821 * buffer.c (init_buffer_once): Handle extra_line_spacing. | |
4822 (syms_of_buffer): Add `default-line-spacing' and `line-spacing'. | |
28699 | 4823 (reset_buffer): Don't initialize extra2 and extra3. Initialize |
28695 | 4824 extra_line_spacing from default value. |
4825 (init_buffer_once): Initialize default value of extra_line_spacing. | |
4826 | |
4827 * buffer.h (struct buffer): Add extra_line_spacing, remove extra2 | |
4828 and extra3. | |
4829 | |
4830 * xterm.c (x_produce_glyphs): Remove reference to struct it's | |
4831 prompt_width. Add extra line spacing. | |
4832 | |
4833 * term.c (produce_glyphs): Remove reference to struct it's | |
4834 prompt_width. | |
4835 | |
4836 * dispextern.h (struct it): Remove member prompt_width, add | |
4837 extra_line_spacing. | |
4838 | |
28683 | 4839 2000-04-22 Gerd Moellmann <gerd@gnu.org> |
4840 | |
4841 * dispnew.c (update_frame_line): When writing a whole line, make | |
4842 sure cursor is in the right row afterwards, otherwise a use of | |
4843 capability `ch' in cmgoto might leave the cursor in the row below. | |
4844 | |
28680 | 4845 2000-04-21 Gerd Moellmann <gerd@gnu.org> |
4846 | |
4847 * lisp.h (struct Lisp_Buffer_Cons): Remove. | |
4848 | |
4849 * keyboard.c (timer_check): Fix typo in comment. | |
4850 | |
28675 | 4851 2000-04-21 Kenichi Handa <handa@etl.go.jp> |
4852 | |
4853 * fontset.c (Fset_fontset_font): Fix docstring. Local variable | |
4854 name change: ch -> character. | |
4855 | |
28674 | 4856 2000-04-20 Gerd Moellmann <gerd@gnu.org> |
4857 | |
4858 * keyboard.c (echo_message_buffer): New variable. | |
4859 (echo_now): Set echo_message_buffer to the echo area buffer used | |
4860 to display the echo. | |
4861 (cancel_echoing): Reset echo_message_buffer to nil. | |
4862 (read_char): Code rewritten that handles canceling an echo or | |
4863 echoing a dash, respectively. | |
4864 | |
4865 * fileio.c (Ffile_writable_p) [WINDOWSNT]: Return nil if parent | |
4866 directory doesn't exist. | |
4867 | |
28668 | 4868 2000-04-19 Dave Love <fx@gnu.org> |
4869 | |
4870 * fns.c (syms_of_fns): Defsubr mapc. | |
28756 | 4871 (concat): Don't allow numeric args. |
4872 (Fconcat): Doc change. | |
28668 | 4873 |
28665
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4874 2000-04-19 Stefan Monnier <monnier@cs.yale.edu> |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4875 |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4876 * regex.c (re_match_2_internal): Don't shorten the strings anymore, |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4877 instead define end_match(1|2) more carefully. |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4878 Use GET_CHAR_BEFORE_2 for `begline'. |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4879 |
28648 | 4880 2000-04-19 Gerd Moellmann <gerd@gnu.org> |
4881 | |
28653 | 4882 * frame.h (SELECTED_FRAME): Change definition to compile cleanly |
4883 on 64-bit systems where NULL is defined as `0'. | |
4884 | |
4885 * xdisp.c (with_echo_area_buffer): Add more `int' parameters for | |
4886 the `variable argument list' to make it work on Alpha. | |
4887 | |
28648 | 4888 * m/alpha.h (_LP64) [!_LP64]: Define. |
4889 (ORDINARY_LINK): Define for NetBSD. | |
4890 | |
4891 * m/macppc.h (ORDINARY_LINK): Define for NetBSD. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4892 |
28637 | 4893 2000-04-19 Dave Love <fx@gnu.org> |
4894 | |
28644 | 4895 * s/bsd386.h, s/freebsd.h, s/gnu.h, s/netbsd.h: Revert 2000-04-14 |
4896 change. | |
4897 | |
4898 * Makefile.in (LIBS): Don't use. | |
4899 (GETLOADAVG_OBJ): Define again. | |
4900 (otherobj): Add GETLOADAVG_OBJ. | |
4901 | |
28637 | 4902 * buffer.c (Fmake_indirect_buffer): Escape newline in doc. |
4903 | |
28630 | 4904 2000-04-18 Gerd Moellmann <gerd@gnu.org> |
4905 | |
28634 | 4906 * lread.c (read_filtered_event): Cancel and start busy cursor. |
4907 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4908 * xterm.c (x_produce_glyphs) <ASCII chars>: Take into account |
28630 | 4909 that the per-character metrics may be null. |
4910 | |
28621 | 4911 2000-04-17 Gerd Moellmann <gerd@gnu.org> |
4912 | |
28626 | 4913 * buffer.c (clone_per_buffer_values): New function. |
4914 (Fmake_indirect_buffer): Add optional argument CLONE. Call | |
4915 clone_per_buffer_values if CLONE is not nil. | |
4916 | |
28621 | 4917 * xfaces.c (Ftty_suppress_bold_inverse_default_colors): Doc fix. |
4918 | |
28610 | 4919 2000-04-16 Dave Love <fx@gnu.org> |
4920 | |
4921 * Makefile.in: Remove obsolete localcpp stuff. | |
4922 (GETLOADAVG_OBJ): Don't define. | |
4923 (obj): Move LIBOBJS... | |
4924 (otherobj): ... to here. | |
4925 (MSDOS_OBJ): Convert to make variable -- preprocessing zapped | |
4926 whitespace-only lines after the continuation (Irix). | |
4927 | |
28598 | 4928 2000-04-14 Gerd Moellmann <gerd@gnu.org> |
4929 | |
4930 * xfns.c (xpm_load) [DEBUG_X_COLORS]: Register colors. | |
4931 | |
4932 * s/freebsd.h (LD_SWITCH_SYSTEM): Add `-L /usr/local/lib'. | |
4933 | |
28595 | 4934 2000-04-14 Dave Love <fx@gnu.org> |
4935 | |
4936 * s/aix3-1.h, s/bsd4-2.h, s/bsd4-3.h, s/cxux.h, s/dgux.h, s/gnu.h: | |
4937 * s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/irix3-3.h, s/rtu.h: | |
4938 * s/unipl5-0.h, s/unipl5-2.h, s/usg5-0.h, s/usg5-2-2.h, s/usg5-2.h: | |
4939 * s/usg5-3.h, s/xenix.h, s/umax.h: Don't define autoconfiscated | |
4940 NLIST_STRUCT. | |
4941 | |
4942 * s/bsd386.h, s/freebsd.h, s/gnu.h, s/netbsd.h: Don't define | |
4943 autoconfiscated HAVE_GETLOADAVG. | |
4944 | |
4945 * s/nextstep.h, s/sco4.h, s/sco5.h: Don't define autoconfiscated | |
4946 BROKEN_MKTIME. | |
4947 | |
28591 | 4948 2000-04-14 Gerd Moellmann <gerd@gnu.org> |
4949 | |
4950 * filelock.c (MAKE_LOCK_NAME): Allocate 2 more bytes. | |
4951 (fill_in_lock_file_name): Avoid existing files that aren't | |
4952 links. | |
4953 | |
28588 | 4954 2000-04-14 Dave Love <fx@gnu.org> |
4955 | |
28598 | 4956 * Makefile.in (LIBS, LIBOBJS): New variable. |
28588 | 4957 (INTERVAL_SRC): Convert to make variable. |
4958 (INTERVAL_OBJ, MKTIME_OBJ, FLOAT_SUPPORT, FACE_SUPPORT) | |
4959 (HAVE_X_WINDOWS, OBJECTS_SYSTEM): Remove. | |
4960 (obj): Substitute INTERVAL_OBJ, add MKTIME_OBJ, GETLOADAVG_OBJ and | |
4961 add LIBOBJS. | |
4962 (SOME_MACHINE_OBJECTS): Remove interval stuff. | |
4963 (lisp): Substitute FACE_SUPPORT, FLOAT_SUP. | |
4964 (shortlisp): Add facemenu, float-sup, frame. | |
4965 (SOME_MACHINE_LISP): Remove them from here. | |
4966 (LIBES): Change unused LDLIBS to autoconf LIBS. | |
4967 | |
4968 * config.in: Add BROKEN_MKTIME, NLIST_STRUCT, NLIST_NAME_UNION. | |
4969 | |
28579 | 4970 2000-04-14 Kenichi Handa <handa@etl.go.jp> |
4971 | |
28580 | 4972 * composite.c (update_compositions): If FROM and TO are not in a |
28579 | 4973 valid range, do nothing. |
4974 | |
28577 | 4975 2000-04-13 Gerd Moellmann <gerd@gnu.org> |
4976 | |
4977 * tparam.c (tparam1): Abort when encountering an unknown | |
4978 `%'-specifier. | |
4979 | |
4980 * s/freebsd.h (TERMCAP_OBJ) [__FreeBSD__ >= 4]: Define as | |
4981 terminfo.o. | |
4982 | |
4983 * Makefile.in (termcapobj) [LIBS_TERMCAP && TERMCAP_OBJ]: Define | |
4984 as TERMCAP_OBJ. | |
4985 | |
28562 | 4986 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il> |
4987 | |
4988 * fileio.c (a_write): Remove redundant semi-colons. | |
4989 (e_write): Return -1 if failed to write all the data. | |
4990 This fixes the changes made at 1999-12-15. | |
4991 | |
28555
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
4992 2000-04-12 Dave Love <fx@gnu.org> |
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
4993 |
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
4994 * fns.c (mapcar1): Test for null vals to support mapc. |
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
4995 (Fmapc): New function. |
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
4996 |
28554 | 4997 2000-04-12 Eli Zaretskii <eliz@is.elta.co.il> |
4998 | |
4999 * msdos.c (NUM_MOUSE_BUTTONS): Define. | |
5000 (IT_frame_up_to_date): Support the buffer local value of | |
5001 cursor-type, if defined. | |
5002 | |
28547 | 5003 2000-04-10 Dave Love <fx@gnu.org> |
5004 | |
5005 * editfns.c (preceding-char, following-char): Doc fix. | |
5006 | |
28546
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
5007 2000-04-10 Ken Raeburn <raeburn@gnu.org> |
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
5008 |
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
5009 * Makefile.in (temacs): Revert 2000-03-12 change. |
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
5010 |
28543 | 5011 2000-04-10 Jason Rumney <jasonr@gnu.org> |
5012 | |
5013 * xfaces.c (realize_face): Change FRAME_X_P to FRAME_WINDOW_P. | |
5014 | |
28538 | 5015 2000-04-10 Gerd Moellmann <gerd@gnu.org> |
5016 | |
28542 | 5017 * xdisp.c (setup_echo_area_for_printing): Choose an echo |
5018 area buffer, if it's not set up yet. | |
5019 | |
28538 | 5020 * indent.c (compute_motion): Set immediate_quit. |
5021 | |
28523 | 5022 2000-04-09 Gerd Moellmann <gerd@gnu.org> |
5023 | |
28530 | 5024 * xfaces.c (tty_suppress_bold_inverse_default_colors_p): New |
5025 variable. | |
5026 (realize_tty_face): Suppress boldness if colors are the inverse of | |
5027 the default colors, and tty_suppress_bold_inverse_default_colors_p | |
5028 is set. | |
5029 (Ftty_suppress_bold_inverse_default_colors): New function. | |
5030 (syms_of_xfaces): Defsubr it. | |
5031 | |
28523 | 5032 * buffer.c (Frestore_buffer_modified_p): New function. |
5033 (syms_of_buffer): Defsubr it. | |
5034 | |
28514
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5035 2000-04-08 Ken Raeburn <raeburn@gnu.org> |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5036 |
28515
75bd73426842
* charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a
Ken Raeburn <raeburn@raeburn.org>
parents:
28514
diff
changeset
|
5037 * charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a |
75bd73426842
* charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a
Ken Raeburn <raeburn@raeburn.org>
parents:
28514
diff
changeset
|
5038 charset id (int) argument, not a charset (Lisp_Object). |
75bd73426842
* charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a
Ken Raeburn <raeburn@raeburn.org>
parents:
28514
diff
changeset
|
5039 |
28514
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5040 * coding.h (code_convert_string): Declare. |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5041 * coding.c (code_convert_string_norecord): Pass an int, not a lisp |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5042 object, as the fourth argument to code_convert_string. |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5043 |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5044 * fontset.c (make_fontset_for_ascii_face): Use XINT on return |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5045 value. |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5046 (Fset_fontset_font): Use EQ to compare lisp objects. |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5047 |
28507
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5048 2000-04-05 Ken Raeburn <raeburn@gnu.org> |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5049 |
28509
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
5050 * intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for |
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
5051 a pointer that looks like a lisp object. |
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
5052 (SET_INTERVAL_OBJECT): Don't explicitly compare the object with |
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
5053 zero, instead see whether it's an integer object, since they can't |
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
5054 have intervals. |
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
5055 (GET_INTERVAL_OBJECT): Simply assign to the destination. |
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
5056 |
28507
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5057 * dispnew.c (allocate_matrices_for_frame_redisplay, |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5058 direct_output_forward_char): Use X(U)INT and make_number as needed |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5059 to convert between (unsigned) int values and lisp integers. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5060 * keyboard.c (read_key_sequence): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5061 * lread.c (substitute_object_recurse): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5062 * fns.c (concat, hash_lookup, hash_remove): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5063 * minibuf.c (do_completion, Fminibuffer_complete_word, |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5064 Fminibuffer_completion_help): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5065 * term.c (produce_special_glyphs): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5066 |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5067 * fileio.c (Fwrite_region): Use EQ when comparing lisp objects. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5068 * print.c (print_preprocess, print_object): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5069 |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5070 * search.c (compile_pattern): Use NILP when checking for nil. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5071 |
28508
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
5072 * lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
5073 __OPTIMIZE__]: Provide a GNU C macro version that handles |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
5074 lisp-object unions. |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
5075 (XSET) [!NO_UNION_TYPE]: Set the value field first, then the type |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
5076 field, to better cope with ENABLE_CHECKING and calls that modify a |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
5077 Lisp_Object using its old value. |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
5078 |
28499 | 5079 2000-04-04 Gerd Moellmann <gerd@gnu.org> |
5080 | |
28506 | 5081 * window.c (compare_window_configurations): Signal an error |
5082 if parameters C1 or C2 aren't window configurations. | |
5083 | |
28499 | 5084 * bytecode.c (Fbyte_code): Add a bunch of BEFORE_POTENTIAL_GC/ |
5085 AFTER_POTENTIAL_GC calls around calls to functions that can | |
5086 signal an error and thus invoke the debugger. | |
5087 | |
28483 | 5088 2000-04-03 Gerd Moellmann <gerd@gnu.org> |
5089 | |
28496 | 5090 * fns.c (Fbase64_decode_region, Fbase64_decode_string): Signal |
5091 an error if decoding fails. | |
5092 | |
28483 | 5093 * keyboard.c (lispy_mouse_names): Variable removed. |
5094 (Vlispy_mouse_stem): New variable. | |
5095 (syms_of_keyboard): Initialize Vlispy_mouse_stem. | |
5096 (make_lispy_event) <mouse_click, scroll_bar_click>: Don't abort | |
5097 for any mouse button number. Increase size of mouse_syms and | |
5098 button_down_location as needed. Call modify_event_symbol with | |
5099 different arguments. | |
5100 (make_lispy_event) <scroll_bar_click> [USE_TOOLKIT_SCROLL_BARS]: | |
5101 Call modify_event_symbol with different arguments. | |
5102 (make_lispy_event) <w32_scroll_bar_click> [WINDOWSNT]: Don't abort | |
5103 for any button number. Call modify_event_symbol with different | |
5104 arguments. | |
5105 (modify_event_symbol): Rename NAME_ALIST to NAME_ALIST_OR_STEM. | |
5106 Accept a string for NAME_ALIST_OR_STEM. | |
5107 | |
5108 * lisp.h (larger_vector): Add prototype. | |
5109 | |
5110 * fns.c (larger_vector): Make externally visible. | |
5111 | |
5112 * termhooks.h (NUM_MOUSE_BUTTONS): Removed. | |
5113 | |
28473
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5114 2000-04-02 Stefan Monnier <monnier@cs.yale.edu> |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5115 |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5116 * regex.c (PTR_TO_OFFSET) [!emacs]: Remove. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5117 (RE_MULTIBYTE_P, RE_STRING_CHAR_AND_LENGTH): New macros. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5118 (GET_CHAR_BEFORE_2): Moved from charset.h plus fixed minor bug when |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5119 we are between str1 and str2. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5120 (MAX_MULTIBYTE_LENGTH, CHAR_STRING) [!emacs]: Provide trivial default. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5121 (PATFETCH): Use `TRANSLATE'. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5122 (PATFETCH_RAW): Fetch multibyte char if applicable. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5123 (PATUNFETCH): Remove. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5124 (regex_compile): Rely on PATFETCH to do most of the multibyte magic. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5125 When writing a char, write it directly into the pattern buffer rather |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5126 than going needlessly through a temp char-array. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5127 (re_match_2_internal): Similarly, rely on RE_STRING_CHAR to do the |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5128 multibyte magic and remove the useless `#ifdef emacs'. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5129 (bcmp_translate): Don't compare as multibyte chars when in a unibyte |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5130 buffer. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5131 |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5132 * regex.h (struct re_pattern_buffer): Make field `multibyte' |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5133 conditional on `emacs'. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5134 |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5135 * charset.h (GET_CHAR_BEFORE_2): Moved to regex.c. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5136 |
28469
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5137 2000-04-01 Ken Raeburn <raeburn@gnu.org> |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5138 |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5139 * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5140 non-union-type versions of XMARK and friends here, because XMARK |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5141 and friends won't work on an integer field if NO_UNION_TYPE is not |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5142 defined. |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5143 (make_number): Define as a function if it's not defined as a |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5144 macro. |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5145 |
28472
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
5146 * composite.c (run_composite_function): Use NILP when checking for |
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
5147 nil. |
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
5148 (syms_of_composite): Delete local var NARGS, pass an int as first |
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
5149 argument to Fmake_hash_table. |
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
5150 |
28471
f3d784d3eb5d
fix error in last log message
Ken Raeburn <raeburn@raeburn.org>
parents:
28470
diff
changeset
|
5151 * editfns.c (text_property_stickiness): Use NILP to test |
f3d784d3eb5d
fix error in last log message
Ken Raeburn <raeburn@raeburn.org>
parents:
28470
diff
changeset
|
5152 Lisp_Object boolean value. |
f3d784d3eb5d
fix error in last log message
Ken Raeburn <raeburn@raeburn.org>
parents:
28470
diff
changeset
|
5153 (Fmessage_or_box): Don't use NILP to test int variable. |
28470
93996c44b23a
* editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test
Ken Raeburn <raeburn@raeburn.org>
parents:
28469
diff
changeset
|
5154 (Fformat): Use a temporary variable to avoid ENABLE_CHECKING |
93996c44b23a
* editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test
Ken Raeburn <raeburn@raeburn.org>
parents:
28469
diff
changeset
|
5155 problems reading from and changing the same lisp value in an |
93996c44b23a
* editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test
Ken Raeburn <raeburn@raeburn.org>
parents:
28469
diff
changeset
|
5156 XSETSTRING call. |
93996c44b23a
* editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test
Ken Raeburn <raeburn@raeburn.org>
parents:
28469
diff
changeset
|
5157 |
28466 | 5158 2000-04-01 Gerd Moellmann <gerd@gnu.org> |
5159 | |
5160 * term.c (TN_no_color_video): New variable. | |
5161 (term_init): Intitialize TN_no_color_video. | |
5162 (enum no_color_bit): New enumeration. | |
5163 (MAY_USE_WITH_COLORS_P): New macro. | |
5164 (turn_on_face): Use it to determine if attributes may be used | |
5165 combined with colors. | |
5166 | |
28463
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5167 2000-04-01 Ken Raeburn <raeburn@gnu.org> |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5168 |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5169 * window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5170 with int lvalues via casts; instead, just yield lisp object |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5171 lvalues. |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5172 (enlarge_window): Variable sizep now points to Lisp_Object. Use |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5173 proper accessor macros. |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5174 (shrink_window_lowest_first): w->top is Lisp_Object; use XINT. |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5175 (grow_mini_window): Fix typo getting int value of root->height. |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5176 |
28464
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5177 * xdisp.c (compute_string_pos): Fix order of arguments to |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5178 string_pos_nchars_ahead. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5179 (handle_fontified_prop, add_to_log): Pass int, not Lisp_Object, as |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5180 count arg to variable-arg routines like Frun_hook_with_args and |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5181 Fformat. |
28483 | 5182 (back_to_previous_visible_line_start) |
5183 (build_desired_tool_bar_string): Pass Lisp_Object, not int, to | |
28464
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5184 fixed-arg routines like Fget_char_property and Fmake_string. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5185 (reconsider_clip_changes): Use XINT when comparing integer lisp |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5186 objects, or passing them as int arguments. |
28483 | 5187 (mark_window_display_accurate, insert_left_trunc_glyphs) |
5188 (append_space, extend_face_to_end_of_line): Use make_number when | |
28464
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5189 storing or passing integer values as lisp objects. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5190 (set_cursor_from_row, highlight_trailing_whitespace): Use |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5191 INTEGERP, not implicit test against zero, for glyph object. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5192 (try_window_id): Don't use make_number when we want an int value. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5193 |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5194 * xfaces.c (xlfd_symbolic_value): Make last argument a |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5195 Lisp_Object, to be consistent with callers. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5196 (Fbitmap_spec_p): Use XINT to get numeric value of height. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5197 (lface_hash): Apply XFASTINT to lisp values before folding in. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5198 |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5199 * xfns.c (Fx_show_tip): Use make_number to get lisp objects to |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5200 fill in window width and height. Pass an int, not a lisp object, |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5201 as first arg to Finsert. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5202 |
28455 | 5203 2000-04-01 Gerd Moellmann <gerd@gnu.org> |
5204 | |
28462 | 5205 * xfaces.c (realize_basic_faces): Block input while realizing |
5206 the faces. | |
5207 | |
28455 | 5208 * keyboard.c (lispy_mouse_names): Add additional mouse names. |
5209 | |
5210 * termhooks.h (NUM_MOUSE_BUTTONS): Increase to 15. | |
5211 | |
28444 | 5212 2000-03-31 Gerd Moellmann <gerd@gnu.org> |
5213 | |
5214 * xterm.c (x_produce_glyphs): When displaying unibyte text | |
28462 | 5215 or ASCII, handle case that per-char metric is null. |
28444 | 5216 |
28417
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5217 2000-03-30 Ken Raeburn <raeburn@gnu.org> |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5218 |
28430
f805ef5a2a03
* lisp.h (NO_UNION_TYPE) [ENABLE_CHECKING]: Undef.
Ken Raeburn <raeburn@raeburn.org>
parents:
28417
diff
changeset
|
5219 * lisp.h (NO_UNION_TYPE) [ENABLE_CHECKING]: Undef. |
f805ef5a2a03
* lisp.h (NO_UNION_TYPE) [ENABLE_CHECKING]: Undef.
Ken Raeburn <raeburn@raeburn.org>
parents:
28417
diff
changeset
|
5220 |
28417
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5221 * lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5222 XSUBR, XBUFFER): Verify correct object type before returning |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5223 pointer, using eassert. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5224 * frame.h (XFRAME): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5225 |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5226 * buffer.c (Frename_buffer, Fset_buffer_multibyte, |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5227 swap_out_buffer_local_variables, Fmove_overlay): Don't apply |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5228 XSYMBOL, XBUFFER, etc, to values that may be nil or of the wrong |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5229 type. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5230 * data.c (set_internal): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5231 * dispextern.h (WINDOW_WANTS_MODELINE_P, |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5232 WINDOW_WANTS_HEADER_LINE_P): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5233 * fileio.c (auto_save_1): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5234 * insdel.c (check_markers): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5235 * marker.c (buf_charpos_to_bytepos, unchain_marker): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5236 * undo.c (record_insert): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5237 * vmsproc.c (child_sig): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5238 * window.c (unshow_buffer, window_loop): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5239 * xterm.c (x_erase_phys_cursor): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5240 |
28415 | 5241 2000-03-30 Gerd Moellmann <gerd@gnu.org> |
5242 | |
5243 * xfns.c (free_image_cache): Free the cache structure itself | |
5244 last, after all its members have been freed. | |
5245 | |
5246 * lisp.h (xstrdup): Add prototype. | |
5247 | |
5248 * alloc.c (xstrdup): Moved here from xfaces.c. | |
5249 (allocating_for_lisp): Variable removed. | |
5250 (lisp_malloc): Block input around the calls to malloc and | |
5251 mem_insert. | |
5252 | |
5253 * xfaces.c (realize_tty_face): Use find_symbol_value instead | |
5254 of Fsymbol_value. | |
5255 (xstrdup): Moved to alloc.c. | |
5256 | |
28406
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5257 2000-03-29 Ken Raeburn <raeburn@gnu.org> |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5258 |
28407
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
5259 * scroll.c (CHECK_BOUNDS): Renamed from CHECK. |
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
5260 |
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
5261 * emacs.c (main): Fix sense of no-loadup test. |
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
5262 |
28406
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5263 * config.in (ENABLE_CHECKING): Undef. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5264 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5265 * lisp.h (struct interval): Replace "parent" field with a union of |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5266 interval pointer and Lisp_Object; add new bitfield to use as |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5267 discriminant. Change other flag fields to bitfields. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5268 (CHECK): New macro for consistency checking. If ENABLE_CHECKING |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5269 is defined and the supplied test fails, print a message and |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5270 abort. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5271 (eassert): New macro. Use CHECK to provide an assert-like |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5272 facility. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5273 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5274 * intervals.h (NULL_INTERVAL_P): Now applies only to real interval |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5275 pointers; abort if the value looks like a lisp object. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5276 (NULL_INTERVAL_P, NULL_PARENT, HAS_PARENT, HAS_OBJECT, SET_PARENT, |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5277 SET_OBJECT, INTERVAL_PARENT, GET_INTERVAL_OBJECT, COPY_PARENT): |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5278 Modify for new interval parent definition. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5279 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5280 * alloc.c (mark_interval_tree, MARK_INTERVAL_TREE, |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5281 UNMARK_BALANCE_INTERVALS): Update references that need an |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5282 addressable lisp object in the interval structure. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5283 (die): New function. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5284 (suppress_checking): New variable. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5285 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5286 * intervals.c (interval_start_pos): Just return 0 if there's no |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5287 parent object. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5288 |
28390 | 5289 2000-03-29 Gerd Moellmann <gerd@gnu.org> |
5290 | |
5291 * lread.c (read1): Accept `.' (period) as symbol start like in CL | |
5292 and earlier Emacs versions. | |
5293 | |
5294 * keyboard.c (Ftop_level): Cancel busy-cursor. | |
5295 | |
5296 * eval.c (call_debugger): Cancel busy-cursor. | |
5297 | |
28385 | 5298 2000-03-29 Kenichi Handa <handa@etl.go.jp> |
5299 | |
5300 * search.c (Freplace_match): Adjust multibyteness of the current | |
28386 | 5301 buffer and NEWTEXT. Free allocated memory before signaling an |
5302 error. | |
28385 | 5303 |
28381
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5304 2000-03-28 Stefan Monnier <monnier@cs.yale.edu> |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5305 |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5306 * regex.c (analyse_first): New function obtained by ripping out most |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5307 of re_compile_fastmap and generalizing it a little bit so that it |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5308 can also just return whether a given (sub)pattern can match the empty |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5309 string or not. |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5310 (regex_compile): Use `analyse_first' to decide whether the loop-check |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5311 needs to be done or not for *, +, *? and +? (the loop check is costly |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5312 for non-greedy repetition). |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5313 (re_compile_fastmap): Delegate the actual work to `analyse_first'. |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5314 |
28375 | 5315 2000-03-28 Dave Love <fx@gnu.org> |
5316 | |
28379 | 5317 * s/gnu-linux.h (GC_SETJMP_WORKS): Define for i386, sparc, m68k, |
5318 alpha. | |
5319 | |
28375 | 5320 * alloc.c: Include stdio.h. Test STDC_HEADERS, not __STDC__. |
5321 | |
28373
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5322 2000-03-27 Stefan Monnier <monnier@cs.yale.edu> |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5323 |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5324 * regex.c (REGEX_FREE_STACK, RESET_FAIL_STACK): Make them usable as |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5325 an expression. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5326 (enum re_opcode_t): Update description of succeed_n. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5327 (PATFETCH): Always define. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5328 (regex_compile): Use lookahead rather than PATUNFETCH (for repetition |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5329 operators, char classes, shy-groups and intervals). |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5330 Optimize special cases of intervals so as to only use succeed_n and |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5331 jump_n when really needed. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5332 (re_compile_fastmap): Simplify handling of jump_n and succeed_n now |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5333 that we don't have to handle the special cases any more. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5334 Simplify on_failure_jump handling as well. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5335 |
28371 | 5336 2000-03-28 Jason Rumney <jasonr@gnu.org> |
5337 | |
5338 * lread.c (Fload): Move safe_p definition to above #ifdef DOS_NT. | |
5339 | |
28348 | 5340 2000-03-27 Gerd Moellmann <gerd@gnu.org> |
5341 | |
28366 | 5342 * s/freebsd.h (GC_SETJMP_WORKS): Define. |
5343 | |
5344 * s/msdos.h (GC_SETJMP_WORKS): Define. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5345 |
28366 | 5346 * alloc.c (mark_maybe_object): New function. |
5347 (mark_memory): Use it. | |
5348 (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): New macros. | |
5349 (setjmp_tested_p, longjmp_done): New variables. | |
5350 (test_setjmp): New function. | |
5351 (mark_stack) [!GC_SETJMP_WORKS]: Call test_setjmp. | |
5352 (init_alloc): Initialize setjmp_tested_p and longjmp_done. | |
5353 | |
28363 | 5354 * xdisp.c (face_before_or_after_it_pos): Pass multibyteness |
5355 to DEC_TEXT_POS and INC_TEXT_POS. | |
5356 | |
5357 * dispnew.c (direct_output_for_insert): Use DEC_TEXT_POS | |
5358 with parameter MULTIBYTE_P. | |
5359 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5360 * dispextern.h (INC_TEXT_POS, DEC_TEXT_POS): Add parameter |
28363 | 5361 MULTIBYTE_P. |
5362 | |
28359 | 5363 * editfns.c (Fsubst_char_in_region): Don't use INC_POS in unibyte |
28366 | 5364 buffers because it looks for multibyte character byte sequences |
5365 which don't exist in unibyte text. | |
28359 | 5366 |
28357 | 5367 * xterm.h (x_specified_cursor_type, x_copy_color): Add prototypes. |
5368 | |
28368 | 5369 * xfaces.c (register_color, unregister_color, unregister_colors) |
28357 | 5370 [DEBUG_X_COLORS]: New functions. |
5371 (x_free_colors) [DEBUG_X_COLORS]: Unregister colors. | |
5372 | |
5373 * xfns.c (x_set_cursor_color): Get color reference counts right. | |
5374 | |
5375 * xterm.c (x_copy_color): New function. | |
5376 (x_alloc_nearest_color) [DEBUG_X_COLORS]: Call register_color. | |
5377 | |
5378 * buffer.h (MAX_PER_BUFFER_VARS): Renamed from MAX_BUFFER_LOCAL_VARS. | |
5379 (PER_BUFFER_VAR_OFFSET): Renamed from BUFFER_LOCAL_VAR_OFFSET. | |
5380 (PER_BUFFER_VAR_IDX): Renamed from BUFFER_LOCAL_VAR_IDX. | |
5381 (PER_BUFFER_VALUE_P): Renamed from BUFFER_HAS_LOCAL_VALUE_P. | |
5382 (SET_PER_BUFFER_VALUE_P): Renamed from SET_BUFFER_HAS_LOCAL_VALUE_P. | |
5383 (PER_BUFFER_IDX): Renamed from BUFFER_LOCAL_IDX. | |
5384 (PER_BUFFER_DEFAULT): Renamed from BUFFER_LOCAL_DEFAULT_VALUE. | |
5385 (PER_BUFFER_VALUE): Renamed from BUFFER_LOCAL_VALUE. | |
5386 (PER_BUFFER_SYMBOL): Renamed from BUFFER_LOCAL_SYMBOL. | |
5387 (PER_BUFFER_TYPE): Renamed from BUFFER_LOCAL_TYPE. | |
5388 | |
28368 | 5389 * category.c, data.c, syntax.c, print.c, lread.c: Use new macro |
5390 names for handling per-buffer variables. | |
28357 | 5391 |
5392 * buffer.c (buffer_permanent_local_flags): Use MAX_PER_BUFFER_VARS | |
5393 instead of MAX_BUFFER_LOCAL_VARS. | |
5394 (last_per_buffer_idx): Renamed from max_buffer_local_idx. | |
5395 | |
5396 * xfaces.c (lookup_face): Don't assert FACE_SUITABLE_FOR_CHAR_P. | |
5397 | |
28348 | 5398 * xfns.c (x_specified_cursor_type): New function. |
5399 (x_set_cursor_type): Use it. | |
5400 | |
5401 * buffer.h (struct buffer): Add cursor_type. | |
5402 | |
28346
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5403 2000-03-26 Stefan Monnier <monnier@cs.yale.edu> |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5404 |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5405 * regex.c (enum re_opcode_t): New opcode on_failure_jump_nastyloop. |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5406 (print_partial_compiled_pattern, re_compile_fastmap): Handle new |
28348 | 5407 opcode. |
28346
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5408 (regex_compile): Use on_failure_jump_nastyloop for non-greedy loops. |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5409 (re_match_2_internal): Add code for on_failure_jump_nastyloop when |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5410 executing it as well as when popping it off the stack to find infinite |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5411 loops in non-greedy repetition operators. |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5412 |
28320 | 5413 2000-03-26 Gerd Moellmann <gerd@gnu.org> |
5414 | |
28335 | 5415 * doc.c (Qfunction_documentation): New variable. |
5416 (syms_of_doc): Initialize Qfunction_documentation. | |
5417 (Fdocumentation): If FUNCTION is a symbol with non-nil | |
5418 `function-documentation' property, return a documentation derived | |
5419 from that. | |
5420 | |
28333 | 5421 * buffer.c (syms_of_buffer): Add default-cursor-type. |
5422 (init_buffer_once): Don't let cursor_type have a local value | |
5423 in every buffer. | |
5424 | |
28323 | 5425 * xterm.c (x_display_and_set_cursor): Choose cursor depending |
5426 on buffer-local value of cursor_type. | |
5427 (x_draw_bar_cursor): Add parameter WIDTH. | |
5428 | |
5429 * buffer.c (reset_buffer): Initialize buffer's cursor_type. | |
5430 (init_buffer_once): Set default cursor_type value to t. | |
5431 Mark cursor_type as local everywhere. | |
5432 (syms_of_buffer): New per-buffer variable cursor-type. | |
5433 | |
28320 | 5434 * buffer.h (struct buffer): Remove member local_var_flags, |
5435 add local_flags. | |
5436 (MAX_BUFFER_LOCAL_VARS): New macro. | |
5437 (BUFFER_LOCAL_VAR_OFFSET, BUFFER_LOCAL_VAR_IDX) | |
5438 (BUFFER_HAS_LOCAL_VALUE_P, SET_BUFFER_HAS_LOCAL_VALUE_P) | |
5439 (BUFFER_LOCAL_IDX, BUFFER_LOCAL_DEFAULT_VALUE, BUFFER_LOCAL_VALUE) | |
5440 (BUFFER_LOCAL_SYMBOL, BUFFER_LOCAL_TYPE): New macros. | |
5441 | |
5442 * print.c (print_object): Use new macros for per-buffer | |
5443 variables. | |
5444 | |
5445 * category.c (Fset_category_table): Use new macros for per-buffer | |
5446 variables. | |
5447 | |
5448 * buffer.c (buffer_permanent_local_flags): Make a char array. | |
5449 (max_buffer_local_idx): New variable. | |
5450 (reset_buffer_local_variables, Fbuffer_local_variables): Rewritten | |
5451 for new handling of per-buffer variables. | |
5452 (buffer_slot_type_mismatch): Use new macros for per-buffer vars. | |
5453 (init_buffer_once): Initialize per-buffer vars differently. | |
5454 Set max_buffer_local_idx. | |
5455 | |
5456 * syntax.c (Fset_syntax_table): Use new macros for per-buffer | |
5457 variables. | |
5458 | |
5459 * lread.c (defvar_per_buffer): Use new macros for per-buffer | |
5460 variables. | |
5461 | |
5462 * data.c (do_symval_forwarding, store_symval_forwarding) | |
5463 (find_symbol_value, set_internal, default_value, Fset_default) | |
5464 (Fkill_local_variable, Flocal_variable_p): Use new macros for | |
5465 per-buffer variables. | |
5466 | |
5467 * Makefile.in (bootstrap-emacs): Use `mv -f' instead of `mv'. | |
5468 | |
28303 | 5469 2000-03-24 Gerd Moellmann <gerd@gnu.org> |
5470 | |
28308 | 5471 * xterm.c (x_term_init): Unblock input around call1 of |
5472 Qvendor_specific_keysyms. | |
5473 | |
28303 | 5474 * syntax.c (open_paren_in_column_0_is_defun_start): New variable. |
5475 (find_defun_start): Consider an open parenthesis in column 0 | |
5476 a defun start only if open_paren_in_column_0_is_defun_start is set. | |
5477 (syms_of_syntax): New variable open-paren-in-column-0-is-defun-start. | |
5478 | |
28298
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5479 2000-03-24 Stefan Monnier <monnier@cs.yale.edu> |
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5480 |
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5481 * eval.c (Fautoload): Add entry in load-history (if after dump). |
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5482 * lread.c (load-history): Update docstring. |
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5483 |
28294 | 5484 2000-03-24 Gerd Moellmann <gerd@gnu.org> |
5485 | |
5486 * indent.c (Fvertical_motion): Always use the current buffer. | |
5487 Temporarily change the window's buffer, if necessary. | |
5488 | |
28283 | 5489 2000-03-23 Gerd Moellmann <gerd@gnu.org> |
5490 | |
5491 * xterm.c (fast_find_position): Make sure not to consider rows | |
5492 not visible in the window. | |
5493 | |
28280
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5494 2000-03-22 Stefan Monnier <monnier@cs.yale.edu> |
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5495 |
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5496 * regex.c (enum syntaxcode): Provide default for non-Emacs. |
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5497 (re_compile_fastmap, re_match_2_internal): Undo Dave's previous fix. |
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5498 |
28276 | 5499 2000-03-22 Jason Rumney <jasonr@gnu.org> |
5500 | |
5501 * w32menu.c (single_submenu): Set help string to NULL if none. | |
5502 (w32_menu_show): Set help string correctly. | |
5503 (add-menu-item): Set help string in MIIM_DATA for menu item. | |
5504 Load SetMenuItemInfoA explicitly. | |
5505 (w32_menu_display_help): New function. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5506 |
28276 | 5507 * w32fns.c (w32_wnd_proc): Handle WM_MENUSELECT message. |
5508 (QCdata): Moved to xdisp.c. | |
5509 | |
5510 * w32term.c (w32_read_socket): Handle WM_MENUSELECT message. | |
5511 (Vw32_charset_to_codepage_alist): Removed. | |
5512 (Vw32_charset_info_alist): New variable. | |
5513 (Qw32_charset_[ansi, default, symbol, shiftjis, hangul, gb2312, | |
5514 chinesebig5, oem, easteurope, turkish, baltic, russian, arabic, | |
5515 greek, hebrew, thai, johab, mac, unicode]): New symbols. | |
5516 (x_produce_glyphs): Remove out of date #ifdef 0'd section. Replace | |
5517 with TODO comment. | |
5518 (w32_codepage_for_font): Use Vw32_charset_info_alist. | |
5519 (syms_of_w32term): Remove Vw32_charset_to_codepage_alist. | |
5520 Define Vw32_charset_info_alist and w32_charset symbols. | |
5521 | |
5522 2000-03-22 Jason Rumney <jasonr@gnu.org> | |
5523 | |
5524 * makefile.nt (w32bdf.obj): Update dependencies. | |
5525 | |
5526 * w32bdf.c: Include frame.h and dispextern.h before fontset.h. | |
5527 | |
5528 * w32fns.c: Include fontset.h after dispextern.h. | |
5529 (Fx_create_frame): Do not create fontset. | |
5530 (w32_load_system_font): Doc fix. | |
5531 (Fx_close_connection): Free full_name if it is not shared. | |
5532 | |
5533 * w32term.c: Include fontset.h after dispextern.h. | |
5534 (x_get_glyph_face_and_encoding): New parameter two_byte_p. Callers | |
5535 updated. | |
5536 (w32_per_char_metric): If PCM is invalid, delete and return NULL. | |
5537 (x_get_char_and_face_encoding): Use FACE_FOR_CHAR to get face_id. | |
5538 (w32_font_is_double_byte): New function, needs body. | |
5539 (x_append_glyph): Set glyph->glyph_not_available_p. | |
5540 (x_produce_glyphs): Set it->glyph_not_available_p. Don't set | |
5541 it->charset. If it->multibyte_p is zero and it->c is a multibyte | |
5542 character, convert it to a unibyte character. | |
5543 (struct glyph_string): Delete member `charset'. | |
5544 (W32_TEXTOUT): Temporarily remove charset_dim until another way of | |
5545 calculating it is found. | |
5546 (x_set_mouse_face_gc): Call FACE_FOR_CHAR to get face_id. Handle | |
5547 the case that per char metric is not available correctly. | |
5548 (x_fill_glyph_string): Handle the case that the specific glyph is | |
5549 not available correctly. | |
5550 (BUILD_CHAR_GLYPH_STRINGS): Don't set s->charset. | |
5551 (BUILD_COMPOSITE_GLYPH_STRING): Likewise. | |
5552 (x_new_font): Call FS_LOAD_FONT, not fs_load_font. | |
5553 (x_new_fontset): Call fontset_ascii to get ASCII font name of the | |
5554 fontset. Don't call FS_LOAD_FONT. | |
5555 | |
28269
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5556 2000-03-22 Ken Raeburn <raeburn@gnu.org> |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5557 |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5558 * intervals.h (NULL_INTERVAL): Cast to INTERVAL type. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5559 (INT_LISPLIKE): New macro. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5560 (NULL_INTERVAL_P): Use it. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5561 (INTERVAL_HAS_PARENT, INTERVAL_HAS_OBJECT, SET_INTERVAL_PARENT, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5562 SET_INTERVAL_OBJECT, INTERVAL_PARENT, COPY_INTERVAL_PARENT, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5563 GET_INTERVAL_OBJECT, INTERVAL_PARENT_OR_NULL): New macros. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5564 |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5565 * alloc.c (make_interval, gc_sweep): Use new macros; eliminate all |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5566 explicit references to "parent" field of struct interval and |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5567 associated unclean type conversions. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5568 * intervals.c (create_root_interval, root_interval, rotate_right, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5569 rotate_left, balance_possible_root_interval, split_interval_right, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5570 split_interval_left, interval_start_pos, find_interval, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5571 next_interval, previous_interval, update_interval, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5572 adjust_intervals_for_insertion, delete_node, delete_interval, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5573 adjust_intervals_for_deletion, merge_interval_right, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5574 merge_interval_left, reproduce_tree, graft_intervals_into_buffer, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5575 copy_intervals_to_string): Likewise. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5576 * intervals.h (AM_LEFT_CHILD, AM_RIGHT_CHILD, RESET_INTERVAL): |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5577 Likewise. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5578 * syntax.c (update_syntax_table): Likewise. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5579 |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5580 * intervals.c (reproduce_tree_obj): New function, like |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5581 reproduce_tree but takes a Lisp_Object for the parent. Declare |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5582 with prototype. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5583 (graft_intervals_into_buffer): Use it when appropriate. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5584 (reproduce_tree): Declare with prototype. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5585 (balance_possible_root_interval): Check that the parent is a lisp |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5586 object before trying to examine its type. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5587 |
28267 | 5588 2000-03-22 Gerd Moellmann <gerd@gnu.org> |
5589 | |
5590 * xfaces.c (lface_same_font_attributes_p): Compare font attributes | |
5591 as strings only if both are known to be strings. | |
5592 | |
5593 * s/openbsd.h (LIBS_TERMCAP): Undef. | |
5594 | |
28262
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5595 2000-03-21 Stefan Monnier <monnier@cs.yale.edu> |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5596 |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5597 * regex.c (CHAR_CHARSET, CHARSET_LEADING_CODE_BASE): Add default |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5598 definitions for non-Emacs compilation. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5599 (enum re_opcode_t): Remove (not)wordchar and move (not)syntaxspec |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5600 outside of `#ifdef emacs'. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5601 (print_partial_compiled_pattern): Update. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5602 (regex_compile): Use (not)syntaxspec(Sword) instead of (not)wordchar. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5603 (re_compile_fastmap): Merge handling of charset and charset_not (for |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5604 emacs and non-emacs compilation as well). |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5605 Similarly for (not)categoryspec and (not)syntaxspec. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5606 Don't use the fastmap when reaching `anychar' since the added |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5607 complexity is not justified. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5608 (re_match_2_internal): Merge (not)wordchar (emacs and non-emacs) |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5609 and (not)syntaxspec. Merge (not)categoryspec. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5610 |
28253 | 5611 2000-03-22 Kenichi Handa <handa@etl.go.jp> |
5612 | |
28255 | 5613 * dispextern.h [!HAVE_WINDOW_SYSTEM] (FACE_SUITABLE_FOR_CHAR_P, |
5614 FACE_FOR_CHAR): Define them differently for the configuration of | |
5615 --without-x. | |
28253 | 5616 |
28242 | 5617 2000-03-21 Dave Love <fx@gnu.org> |
5618 | |
5619 * fontset.c (Fset_fontset_font, Ffontset_font): Fix newlines in | |
5620 doc string. | |
5621 | |
28238 | 5622 2000-03-21 Gerd Moellmann <gerd@gnu.org> |
5623 | |
5624 * xfaces.c (check_lface_attrs) [GLYPH_DEBUG]: Fix syntax error. | |
5625 (lface_fully_specified_p): Don't check contents of | |
5626 LFACE_FONT_INDEX because that attribute is optional. | |
5627 (realize_x_face): Remove now unwarranted xassert. | |
5628 | |
28218 | 5629 2000-03-21 Kenichi HANDA <handa@etl.go.jp> |
5630 | |
28219 | 5631 The following changes are to make font selection based on |
5632 characters, not charset. In addition, they recover fontset | |
5633 facilities while utilizing the new font selection mechanism. | |
28218 | 5634 |
28233 | 5635 * Makefile.in (fontset.o): Depend on dispextern.h. |
5636 | |
5637 * alloc.c (mark_face_cache): Don't mark face->registry. | |
5638 | |
28218 | 5639 * dispextern.h (struct glyph): New member glyph_not_available_p. |
5640 Use 22 bits for face_id. | |
5641 (enum lface_attribute_index): Add LFACE_FONT_INDEX. | |
5642 (struct face): Delete member registry, new member ascii_face. | |
5643 (FACE_SUITABLE_FOR_CHAR_P): Renamed from | |
5644 FACE_SUITABLE_FOR_CHARSET_P. Caller changed. | |
5645 (FACE_FOR_CHAR): Renamed from FACE_FOR_CHARSET. Caller changed. | |
5646 (struct it): Delete member charset, new member | |
5647 glyph_not_available_p. | |
5648 | |
5649 * fontset.h (FONT_NOT_OPENED, FONT_NOT_FOUND): Macros removed. | |
5650 (struct fontset_info, struct fontset_data): Structs removed. | |
5651 (allloc_fontset_data, free_fontset_data, fs_regiser_fontset, | |
5652 Vglobale_fontset_alist, font_idx_temp): Externs removed. | |
5653 (fs_load_font, fs_query_fontset): Adjusted for new argument. | |
5654 (fs_free_face_fontset, fontset_font_pattern, | |
5655 face_suitable_for_char_p, face_for_char, | |
5656 make_fontset_for_ascii_face): Extern them. | |
5657 (FS_LOAD_FONT): Adjusted for the change of fontset implementation. | |
5658 (FS_LOAD_FACE_FONT): New macro. | |
5659 | |
5660 * fontset.c: All codes rewritten or adjusted for the change of | |
5661 fontset implementation. Now fontset is represented by char table. | |
5662 (Vglobal_fontset_alist, font_idx_temp, my_strcasetbl): Variables | |
5663 removed. | |
5664 (my_strcasecmp): Function removed. | |
5665 (Vfontset_table, next_fontset_id, Vdefault_fontset): New | |
5666 variables. | |
5667 (AREF, ASIZE): New macros. | |
5668 (FONTSET_FROM_ID, FONTSET_ID, FONTSET_NAME, FONTSET_FRAME, | |
5669 FONTSET_ASCII, FONTSET_BASE, BASE_FONTSET_P, FONTSET_REF, | |
5670 FONTSET_REF_VIA_BASE, FONTSET_SET): New macros. | |
5671 (fontset_ref, fontset_ref_via_base, fontset_set, make_fontset, | |
5672 fontset_id_valid_p, font_family_registry, fontset_name, | |
5673 fontset_ascii, free_face_fontset, face_suitable_for_char_p, | |
5674 face_for_char, make_fontset_for_ascii_face, fontset_font_pattern): | |
5675 New functions. | |
5676 (fs_load_font): New arg FACE. Caller changed. | |
5677 (fs_query_fontset): Argument changed. Caller changed. | |
5678 (Fquery_fontset): call fs_query_fontset. | |
5679 (fs_register_fontset, alloc_fontset_data, free_fontset_data): | |
5680 Functions removed. | |
5681 (clear_fontset_elements, check_registry_encoding, | |
5682 check_fontset_name): New functions. | |
5683 (syms_of_fontset): Set char-table-extra-slots property of fontset | |
5684 to 3. Staticpro and initialize Vfontset_table and | |
5685 Vdefault_fontset. Defsubr fontset_font and fontset_list. | |
5686 | |
5687 * frame.h (struct frame): Member `fontset_data' removed. | |
5688 (FRAME_FONTSET_DATA): Macro removed. | |
5689 | |
5690 * frame.c (make_frame): Don't allocate f->fontset_data. | |
5691 (Fdelete_frame): Don't free f->fontset_data. | |
5692 | |
28233 | 5693 * msdos.c (XMenuActivate): Args to lookup_derived_face changed. |
5694 | |
28218 | 5695 * xdisp.c (charset_at_position): Function removed. |
5696 (init_iterator): Don't set member charset of struct `it'. | |
5697 (handle_face_prop, reseat_to_string, set_iterator_to_next, | |
5698 next_element_from_display_vector, insert_left_trunc_glyphs): | |
5699 Likewise. | |
5700 (face_before_or_after_it_pos): Call FACE_FOR_CHAR, not | |
5701 FACE_FOR_CHARSET. | |
5702 (get_next_display_element, append_space, | |
5703 extend_face_to_end_of_line): Likewise. | |
5704 | |
5705 * xfaces.c (Qx_charset_registry, Vface_default_registry): | |
5706 Variables removed. | |
5707 (clear_font_table, frame_update_line_height, load_face_font): | |
5708 Adjusted for the change of fontset implementation. | |
5709 (load_face_fontset_font): Function removed. | |
5710 (pixel_point_size): New function. | |
5711 (font_list): Argument type changed. Caller changed. | |
5712 (LFACE_FONT): New macro. | |
5713 (check_lface_attrs): Check attr[LFACE_FONT_INDEX]. | |
5714 (set_lface_from_font_name): Type of arg FONTNAME is changed to | |
5715 Lisp_Object. Determine the font name by actually loading a font | |
5716 by the specified pattern. Set LFACE_FONT (lface) to the specified | |
5717 pattern. Even if a font is not found, don't try alternatives. | |
5718 (Finternal_set_lisp_face_attribute): Handle `font' slot in lface. | |
5719 (set_font_frame_param): If `font' is specified in lface, use it. | |
5720 (Finternal_get_lisp_face_attribute): Handle `font' slot in lface. | |
5721 (lface_same_font_attributes_p): Likewise. | |
5722 (make_realized_face): Arguent changed. Caller changed. Set | |
5723 face->ascii_face to face itself. | |
5724 (free_realized_face): Free face->fontset if face is for ASCII. | |
5725 (face_suitable_for_iso8859_1_p, face_suitable_for_charset_p, | |
5726 deduce_unibyte_registry, x_charset_registry): Functions removed. | |
5727 (free_realized_multibyte_face): New function. | |
5728 (lookup_face, lookup_named_face, lookup_derived_face): Argument | |
5729 changed. Caller changed. | |
5730 (try_font_list): Argument type changed. | |
5731 (face_fontset): Check `font' slot of ATTRS, not `family' slot. | |
5732 (choose_face_font): Argument changed. Handle fontset properly. | |
5733 (choose_face_fontset_font): Function removed. | |
5734 (realize_default_face, realize_named_face): Don't remove the | |
5735 former face here. | |
5736 (realize_face): Argument changed. Caller changed. Remove face | |
5737 with the arg former_face_id in advance. Load font for the new | |
5738 face. | |
5739 (realize_x_face): Argument changed. Caller changed. For a | |
5740 multibyte character, share fontset with base_face. For a single | |
5741 byte character, make a new realized fontset. Don't load a font | |
5742 here. | |
5743 (realize_tty_face): Argument changed. Caller changed. | |
5744 (compute_char_face): Call FACE_FOR_CHAR, not FACE_FOR_CHARSET. | |
5745 (face_at_buffer_position): Don't check multibyte_p for returning | |
5746 DEFAULT_FACE_ID. | |
5747 (face_at_string_position): Call FACE_SUITABLE_FOR_CHAR_P, not | |
5748 FACE_SUITABLE_FOR_CHARSET_P. | |
5749 (syms_of_xfaces): Remove code for Qx_charset_registry and | |
5750 Vface_default_registry. | |
5751 | |
28233 | 5752 * xterm.c: Include fontset.h after dispextern.h. Undo the changes |
5753 related to PER_CHAR_METRIC done by Gerd on 2000-03-03. | |
28218 | 5754 (x_per_char_metric): Don't try FONT->default_char. Even if |
5755 pcm->width is zero, glyph bits may exist. | |
5756 (x_encode_char): Always initialize char2b->byte1. | |
5757 (x_get_char_face_and_encoding): Call FACE_FOR_CHAR to get face_id. | |
5758 (x_get_glyph_face_and_encoding): New arg two_byte_p. Caller | |
5759 changed. | |
5760 (x_append_glyph): Set glyph->glyph_not_available_p. | |
5761 (x_produce_glyphs): Set it->glyph_not_available_p. Don't set | |
5762 it->charset. Handle the case that per char metric is not | |
5763 available. If it->multibyte_p is zero and it->c is a multibyte | |
5764 character, convert it to a unibyte character. | |
5765 (struct glyph_string): Delete member `charset'. | |
5766 (x_set_mouse_face_gc): Call FACE_FOR_CHAR to get face_id. Handle | |
5767 the case that per char metric is not available correctly. | |
5768 (x_fill_glyph_string): Handle the case that the specific glyph is | |
5769 not available correctly. | |
5770 (BUILD_CHAR_GLYPH_STRINGS): Don't set s->charset. | |
5771 (BUILD_COMPOSITE_GLYPH_STRING): Likewise. | |
5772 (x_new_font): Call FS_LOAD_FONT, not fs_load_font. | |
5773 (x_new_fontset): Call fontset_ascii to get ASCII font name of the | |
5774 fontset. Don't call FS_LOAD_FONT. | |
5775 | |
5776 * xfns.c (Fx_create_frame): Don't cal fs_register_fontset. | |
5777 (x_create_tip_frame): Likewise. | |
5778 (Fx_close_connection): Free full_name of font_info. | |
5779 | |
5780 * fns.c (optimize_sub_char_table): New function. | |
5781 (Foptimize_char_table): New function. | |
5782 (syms_of_fns): Defsubr Soptimize_char_table. | |
5783 | |
28209 | 5784 2000-03-20 Gerd Moellmann <gerd@gnu.org> |
5785 | |
5786 * buffer.c (Fset_buffer_modified_p): Set update_mode_lines | |
5787 only if buffer is displayed in some window. | |
5788 | |
5789 * xdisp.c (handle_single_display_prop): Initialize local `value'. | |
5790 (try_window_reusing_current_matrix): Don't call scroll run | |
5791 function if run's current and desired position are the same; | |
5792 this prevents cursor flickering. | |
5793 | |
28204
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5794 2000-03-19 Stefan Monnier <monnier@cs.yale.edu> |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5795 |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5796 * regex.h (RE_TRANSLATE. RE_TRANSLATE_P): Moved to regex.c. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5797 |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5798 * regex.c (RE_STRING_CHAR): New macro. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5799 (GET_CHAR_AFER_2): Remove. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5800 (RE_TRANSLATE, RE_TRANSLATE_P): New macros moved from regex.h. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5801 (enum re_opcode_t): Remove on_failure_jump_exclusive. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5802 (print_partial_compiled_pattern, re_compile_fastmap) |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5803 (re_match_2_internal): Remove on_failure_jump_exclusive. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5804 (regex_compile): Turn optimizable P+ loops into PP*, so that the |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5805 optimization only need to work for * (ie. can use of_keep_string_jump). |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5806 Remove the special case for .*\n since it is now covered by the general |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5807 optimization. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5808 (re_search_2): Don't bother with `room'. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5809 (skip_one_char): New function. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5810 (skip_noops): Simplify since `memory' is not needed any more. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5811 (mutually_exclusive_p): Restructure slightly to use `switch' and |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5812 add handling for "all" remaining cases. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5813 (re_match_2_internal): Change on_failure_jump_smart to use |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5814 on_failure_keep_string_jump (and redirect the end-of-loop jump) |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5815 rather than on_failure_jump_exclusive. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5816 |
28201 | 5817 2000-03-19 Gerd Moellmann <gerd@gnu.org> |
5818 | |
5819 * xfns.c (select_visual): Don't set dpyinfo->n_planes to the | |
5820 number of bits per RGB because it's everywhere used as the depth | |
5821 of the visual. | |
5822 | |
5823 * term.c (calculate_costs): Remove code dealing with X frames. | |
5824 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
5825 2000-03-19 Richard M. Stallman <rms@gnu.org> |
28197
aaa6448240eb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28194
diff
changeset
|
5826 |
aaa6448240eb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28194
diff
changeset
|
5827 * lread.c (syms_of_lread): Doc fix for load-convert-to-unibyte. |
aaa6448240eb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28194
diff
changeset
|
5828 |
28194 | 5829 2000-03-18 Gerd Moellmann <gerd@gnu.org> |
5830 | |
5831 * lread.c (read_integer): Unread the last char not consumed. | |
5832 | |
28184 | 5833 2000-03-17 Gerd Moellmann <gerd@gnu.org> |
5834 | |
5835 * xterm.c (x_update_window_cursor): Don't update in frames | |
28194 | 5836 which are in the process of being deleted. |
28184 | 5837 |
28166 | 5838 2000-03-16 Gerd Moellmann <gerd@gnu.org> |
5839 | |
28176 | 5840 * Makefile.in (mostlyclean): Add `*.core'. |
5841 (clean): Add `bootstrap-emacs'. | |
5842 | |
28166 | 5843 * lread.c (read_integer): New function. |
5844 (read1): Support read syntax #o, #x, #b, #r. | |
5845 | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5846 2000-03-15 Stefan Monnier <monnier@cs.yale.edu> |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5847 |
28166 | 5848 * regex.c (re_match_2): Fix string shortening (to fit `stop') to |
5849 make sure POINTER_TO_OFFSET gives the same value before and after | |
5850 PREFETCH. Use `dfail' to guarantee "atomic" matching. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5851 (PTR_TO_OFFSET): Use POINTER_TO_OFFSET. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5852 (debug): Now only active if > 0 rather than if != 0. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5853 (DEBUG_*): Update for the new meaning of `debug'. |
28166 | 5854 (print_partial_compiled_pattern): Add missing `succeed' case. Use |
5855 CHARSET_* macros in the charset(_not) branch. Fix off-by-two bugs | |
5856 in `succeed_n', `jump_n' and `set_number_at'. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5857 (store_op1, store_op2, insert_op1, insert_op2) |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5858 (at_begline_loc_p, at_endline_loc_p): Add prototype. |
28166 | 5859 (group_in_compile_stack): Move to after its arg's types are |
5860 declared and add a prototype. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5861 (PATFETCH): Define in terms of PATFETCH_RAW. |
28166 | 5862 (GET_UNSIGNED_NUMBER): Add the usual `do { ... } while(0)' |
5863 wrapper. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5864 (QUIT): Redefine as a nop except for NTemacs. |
28166 | 5865 (regex_compile): Handle intervals {,M} as if it was {0,M}. Fix |
5866 indentation of the greedy-op and shy-group code. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5867 (at_(beg|end)line_loc_p): Fix argument's types. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5868 (re_compile_fastmap): Ifdef out failure_stack_ptr to shut up gcc. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5869 (re_search_2): Use POS_AS_IN_BUFFER. Simplify `room' computation. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5870 (MATCHING_IN_FIRST_STRING): Remove. |
28166 | 5871 (re_match_2): Use POS_AS_IN_BUFFER. Ifdef out failure_stack_ptr |
5872 to shut up gcc. Use FIRST_STRING_P and POINTER_TO_OFFSET. Use | |
5873 QUIT unconditionally. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5874 |
28159 | 5875 2000-03-15 Gerd Moellmann <gerd@gnu.org> |
5876 | |
5877 * minibuf.c (Fminibuffer_complete): Set point to ZV if finding | |
5878 a sole completion. | |
5879 | |
5880 * process.c (send_process): Add a hint that the function | |
5881 can call Lisp code to its comment. | |
5882 | |
5883 * lread.c (load_dangerous_libraries): New variable. | |
5884 (Vbytecomp_version_regexp): New variable. | |
5885 (safe_to_load_p): New function. | |
5886 (Fload): Handle files not compiled with Emacs specially. | |
5887 (syms_of_lread): New Lisp variable load-dangerous-libraries. | |
5888 | |
28139 | 5889 2000-03-14 Gerd Moellmann <gerd@gnu.org> |
5890 | |
28147 | 5891 * lisp.h (free_frame_xic) [HAVE_X_I18N]: Add missing semicolon. |
5892 | |
5893 * xterm.c (xim_close_dpy, xim_initialize): Use X11R6-style XIM | |
5894 support functions only if HAVE_X11R6_XIM is defined. | |
5895 (xim_instantiate_callback): Define only if HAVE_X11R6_XIM. | |
5896 | |
5897 * s/sol2.h (INHIBIT_X11R6_XIM): Define. | |
5898 | |
5899 * xfns.c (X_I18N_INHIBITED): Don't define. | |
5900 (create_frame_xic): Remove conditional compilation on | |
5901 X_I18N_INHIBITED. | |
5902 (x_kill_gs_process, x_window): Use FRAME_X_VISUAL. | |
5903 | |
5904 * config.in (HAVE_X_I18N): Moved here from xterm.h. | |
5905 (HAVE_X11R6_XIM): Define. | |
5906 | |
5907 * xterm.h (HAVE_X_I18N) [HAVE_X11R6]: Moved to config.in. | |
5908 | |
28139 | 5909 * xterm.c (x_term_init): Add support for X resource `synchronous'. |
5910 If set, call XSynchronize. | |
5911 | |
28138
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5912 2000-03-13 Stefan Monnier <monnier@cs.yale.edu> |
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5913 |
28139 | 5914 * regex.c: Declare a new type `re_char' used throughout the code |
5915 for the string char type. It's `const unsigned char' to match the | |
5916 rest of Emacs. Consistently make sure all pointers to strings use | |
5917 it and make sure all pointers into the pattern use `unsigned | |
5918 char'. | |
28138
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5919 (re_match_2_internal): Use `PREFETCH+STRING_CHAR' instead of |
28139 | 5920 GET_CHAR_AFTER_2. Also merge wordbound and notwordbound to reduce |
5921 code duplication. | |
28138
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5922 |
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5923 * charset.h (GET_CHAR_AFTER_2): Remove. |
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5924 (GET_CHAR_BEFORE_2): Use unsigned chars, like everywhere else. |
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5925 |
28133
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5926 2000-03-12 Ken Raeburn <raeburn@gnu.org> |
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5927 |
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5928 * Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary |
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5929 variable before the invocation of YMF_PASS_LDFLAGS, in case both |
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5930 of them try to use backquotes. |
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5931 |
28122 | 5932 2000-03-12 Dave Love <fx@gnu.org> |
5933 | |
5934 * unexelf.c: Restore changes of 1999-10-19. | |
5935 (unexec): Don't adjust bss for sbss type SHT_PROGBITS; otherwise | |
5936 fix its type and alignment; copy it from current process. | |
5937 | |
28098 | 5938 2000-03-12 Gerd Moellmann <gerd@gnu.org> |
5939 | |
28120 | 5940 * atimer.c (cancel_atimer): Break out of the loop as soon as timer |
5941 has been found. Fix bug not computing timer's predecessor. | |
5942 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5943 * fileio.c (Fread_file_name): Handle case that DIR contains a |
28118 | 5944 file name. |
5945 | |
28109 | 5946 * window.c (Fsave_window_excursion): Doc fix. |
5947 | |
28098 | 5948 * xfns.c (x_defined_color): Rewritten to use |
5949 x_allocate_nearest_color. | |
5950 | |
28095 | 5951 2000-03-12 Eli Zaretskii <eliz@is.elta.co.il> |
5952 | |
5953 * msdos.c (vga_installed): New function, code moved from | |
5954 dos_set_window_size. | |
5955 (Qbar, Qcursor_type, outside_cursor): New variables. | |
5956 (syms_of_msdos): Intern and staticpro them. | |
5957 (dos_ttraw) [__DJGPP__ >= 2, !HAVE_X_WINDOWS]: Save the cursor | |
5958 shape used outside Emacs when called for the first time. | |
5959 (dos_ttcooked) [__DJGPP__ >= 2, !HAVE_X_WINDOWS]: Restore the | |
5960 cursor shape used outside Emacs. | |
5961 (msdos_set_cursor_shape, IT_set_cursor_type): New functions. | |
5962 (IT_frame_up_to_date): Call IT_set_cursor_type, in case the cursor | |
5963 type has changed. | |
5964 (IT_set_frame_parameters): Call IT_set_cursor_type if the frame | |
5965 parameters specify the cursor. Make qreverse a global | |
5966 variable (renamed to Qreverse). | |
5967 | |
28073 | 5968 2000-03-09 Gerd Moellmann <gerd@gnu.org> |
5969 | |
5970 * fns.c (Fy_or_n_p): Cancel busy-cursor. | |
5971 | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5972 2000-03-08 Stefan Monnier <monnier@cs.yale.edu> |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5973 |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5974 This is a big redesign of failure-stack and register handling, prompted |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5975 by bugs revealed when trying to add shy-groups. Overall, what happened |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5976 is that loops are now structured a little differently, groups can be |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5977 shy and the code is a little simpler. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5978 |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5979 * regex.h: Update the copyright. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5980 (RE_SHY_GROUPS): New value. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5981 (RE_UNMATCHED_RIGHT_PAREN_ORD): Renumber. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5982 (RE_SYNTAX_EMACS): Add RE_SHY_GROUPS. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5983 |
28073 | 5984 * regex.c (enum re_opcode_t): Remove jump_past_alt, |
5985 maybe_pop_jump, push_dummy_failure and dumy_failure_jump. Add | |
5986 on_failure_jump_(exclusive, loop and smart). Also fix the comment | |
5987 for (start|stop)_memory since they now only take one argument (the | |
5988 second has becomes unnecessary). | |
5989 (print_partial_compiled_pattern): Adjust for changes in | |
5990 re_opcode_t. | |
5991 (print_compiled_pattern): Use %ld to printf long ints and flush to | |
5992 make debugging a little easier. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5993 (union fail_stack_elt): Make the integer unsigned. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5994 (struct fail_stack_type): Add a `frame' element. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5995 (INIT_FAIL_STACK): Init `frame' as well. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5996 (POP_PATTERN_OP): New macro for re_compile_fastmap. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5997 (DEBUG_PUSH, DEBUG_POP): Remove. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5998 (NUM_REG_ITEMS): Remove. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5999 (NUM_NONREG_ITEMS): Adjust. |
28073 | 6000 (FAILURE_PAT, FAILURE_STR, NEXT_FAILURE_HANDLE) |
6001 (TOP_FAILURE_HANDLE): New macros for the cycle detection. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6002 (ENSURE_FAIL_STACK): New macro for PUSH_FAILURE_(REG|POINT). |
28073 | 6003 (PUSH_FAILURE_REG, POP_FAILURE_REG, CHECK_INFINITE_LOOP): New |
6004 macros. | |
6005 (PUSH_FAILURE_POINT): Don't push registers any more. The pattern | |
6006 address pushed is not the destination of the jump but the source | |
6007 of it instead. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6008 (NUM_FAILURE_ITEMS): Remove. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6009 (POP_FAILURE_POINT): Adapt to the new stack structure (i.e. pop |
28073 | 6010 registers before the actual failure point). Don't hardcode any |
6011 meaning for str==NULL anymore. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6012 (union register_info_type, REG_MATCH_NULL_STRING_P, IS_ACTIVE) |
28073 | 6013 (MATCHED_SOMETHING, EVER_MATCHED_SOMETHING, SET_REGS_MATCHED): |
6014 Remove. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6015 (REG_UNSET_VALUE): Use NULL (why not?). |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6016 (compile_range): Remove declaration since it doesn't exist. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6017 (struct compile_stack_elt_t): Remove inner_group_offset. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6018 (old_reg(start|end), reg_info, reg_dummy, reg_info_dummy): Remove. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6019 (regex_grow_registers): Remove dead code. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6020 (FIXUP_ALT_JUMP): New macro. |
28073 | 6021 (regex_compile): Add shy-groups Change loops to use |
6022 on_failure_jump_smart&jump instead of | |
6023 on_failure_jump&maybe_pop_jump. Change + loops to eliminate the | |
6024 initial (dummy_failure_)jump. Remove c1_base (looks like unused | |
6025 variable to me). Use `jump' instead of `jump_past_alt' and don't | |
6026 bother with push_dummy_failure in alternatives since it is now | |
6027 unnecessary. Use FIXUP_ALT_JUMP. Eliminate a useless `#ifdef | |
6028 emacs' for (re)allocating the stack. | |
6029 (re_compile_fastmap): Remove dead variables i and num_regs. Exit | |
6030 from loop when bufp->can_be_null rather than jumping to `done'. | |
6031 Avoid jumping backwards so as to ensure termination. Use | |
6032 PATTERN_STACK_EMPTY and POP_PATTERN_OP. Improved handling of | |
6033 backreferences. Remove dead code in handling of `anychar'. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6034 (skip_noops, mutually_exclusive_p): New functions taken from the |
28073 | 6035 handling of `maybe_pop_jump' in re_match_2_internal. Slightly |
6036 improve mutually_exclusive_p to handle ".+\n". | |
6037 (lowest_active_reg, highest_active_reg, | |
6038 NO_(LOWEST|HIGHEST)_ACTIVE_REG) Remove. | |
6039 (re_match_2_internal): Use %p instead of 0x%x when printf'ing | |
6040 ptrs. Don't SET_REGS_MATCHED anymore. Remove many dead | |
6041 variables. Push register (in `start_memory') on the stack rather | |
6042 than storing it in old_reg(start|end). Remove the cycle detection | |
6043 from `stop_memory', replaced by the use of on_failure_jump_loop | |
6044 for greedy loops. Add code for the new on_failure_jump_<foo>. | |
6045 Remove ad-hoc code in `on_failure_jump' to push more registers in | |
6046 the case of a loop. Take out code from `maybe_pop_jump' into | |
6047 separate functions and adapt it to the semantics of | |
6048 `on_failure_jump_smart'. Remove jump_past_alt, dummy_failure_jump | |
6049 and push_dummy_failure. Remove dummy_failure handling and | |
6050 handling of `failures to jump to on_failure_jump' (this last one | |
6051 was already dead code, it seems). | |
6052 (group_match_null_string_p, alt_match_null_string_p) | |
6053 (common_op_match_null_string_p): Remove. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6054 |
28059 | 6055 2000-03-08 Dave Love <fx@gnu.org> |
6056 | |
28060 | 6057 * config.in: Don't depend on __STDC__ for volatile. |
6058 Add POINTER_TYPE, PTR, PROTOTYPES. | |
6059 | |
28059 | 6060 * hftctl.c, strftime.c: Use PROTOTYPES. |
6061 * eval.c (find_handler_clause): Likewise. | |
6062 | |
6063 * mem-limits.h: Use POINTER_TYPE. | |
6064 | |
6065 * lisp.h (P_): Define based on PROTOTYPES, not __STDC__. | |
6066 (memory_warnings): Declare using POINTER_TYPE. | |
6067 | |
28046 | 6068 2000-03-08 Gerd Moellmann <gerd@gnu.org> |
6069 | |
28051 | 6070 * xfns.c (x_set_cursor_type): If ARG is nil, give frame no cursor. |
6071 | |
28048 | 6072 * xdisp.c (display_echo_area): Temporarily inhibit garbage |
6073 collection. | |
6074 | |
28046 | 6075 * xfns.c: Remove obsolete code in #if 0. |
6076 (Fx_focus_frame): New function. | |
6077 | |
28137 | 6078 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp> |
6079 | |
6080 * coding.c (coding_category_name): Add coding-category-utf-8, | |
6081 coding-category-utf-16-be, coding-category-utf-16-le. | |
6082 (UTF_8_1_OCTET_P, UTF_8_EXTRA_OCTET_P, UTF_8_2_OCTET_LEADING_P, | |
6083 UTF_8_3_OCTET_LEADING_P, UTF_8_4_OCTET_LEADING_P, | |
6084 UTF_8_5_OCTET_LEADING_P, UTF_8_6_OCTET_LEADING_P): New macros. | |
6085 (detect_coding_utf_8): New function. | |
6086 (UTF_16_INVALID_P, UTF_16_HIGH_SURROGATE_P | |
6087 UTF_16_LOW_SURROGATE_P): New macros. | |
6088 (detect_coding_utf_16): New function | |
6089 (detect_coding_mask): When priorities are specified, skip any | |
6090 categories that have `nil' coding-system. Fix bug of returning | |
6091 wrong mask when PRIORITIES is specified and detect_coding_XXX() | |
6092 returns a mask not set in PRIORITIES. | |
6093 (detect_eol_type_in_2_octet_form): New function. | |
6094 (detect_eol): selects detect_eol_type_XXX to call according to | |
6095 cooding->category_idx. | |
6096 (detect_coding_system): Remove `nil' coding-system in the result. | |
6097 (Fupdate_coding_systems_internal): Update all coding-categories. | |
6098 | |
6099 * coding.h (CODING_CATEGORY_IDX_UTF_8, | |
6100 CODING_CATEGORY_IDX_UTF_16_BE, CODING_CATEGORY_IDX_UTF_16_LE): New | |
6101 macros. | |
6102 (CODING_CATEGORY_IDX_RAW_TEXT, CODING_CATEGORY_IDX_BINARY, | |
6103 CODING_CATEGORY_IDX_MAX): Adjusted for the above macros. | |
6104 CODING_CATEGORY_IDX_UTF_16_LE. | |
6105 (CODING_CATEGORY_MASK_UTF_8, CODING_CATEGORY_MASK_UTF_16_BE, | |
6106 CODING_CATEGORY_MASK_UTF_16_LE): New macros. | |
6107 (CODING_CATEGORY_MASK_ANY): Include the above macros. | |
6108 (CODING_CATEGORY_MASK_UTF_16_BE_LE): New macro. | |
6109 | |
28026 | 6110 2000-03-07 Gerd Moellmann <gerd@gnu.org> |
6111 | |
28037 | 6112 * doc.c (Fdocumentation_property): If value is not a string, |
6113 and doesn't refer to etc/DOC, evaluate it to obtain a string. | |
6114 | |
28035 | 6115 * xterm.c (x_connection_closed) [USE_X_TOOLKIT]: Don't try to |
6116 close the display with XtCloseDisplay. This caused a bus error | |
6117 on OpenWindows. | |
6118 | |
28027 | 6119 * minibuf.c (Fminibuffer_complete): Move point to ZV when input is |
6120 complete but not unique. | |
28026 | 6121 |
28011 | 6122 2000-03-06 Gerd Moellmann <gerd@gnu.org> |
6123 | |
28014 | 6124 * process.c (send_process): Remove local variable `procname' that |
6125 might become invalid when a GC happens. Instead, access the | |
6126 process name slot directly. | |
6127 | |
28011 | 6128 * xfns.c (x_set_menu_bar_lines_1): Adjust window's orig_top and |
6129 orig_height if set. | |
6130 | |
6131 * frame.c (set_menu_bar_lines_1): Adjust window's orig_top and | |
6132 orig_height if set. | |
6133 | |
28009 | 6134 2000-03-06 Eli Zaretskii <eliz@is.elta.co.il> |
6135 | |
6136 * msdos.c (IT_note_mouse_highlight): Return immediately if frame's | |
6137 glyph matrices have been freed. | |
6138 | |
27995 | 6139 2000-03-05 Gerd Moellmann <gerd@gnu.org> |
6140 | |
28005 | 6141 * Makefile.in (tags): Include ../lwlib/TAGS in TAGS. |
28007 | 6142 (bootstrap-temacs): Set LC_ALL to C like for temacs. |
28005 | 6143 |
6144 * xfns.c (QCdata): Moved to xdisp.c. | |
6145 | |
6146 * xdisp.c (QCdata): Moved here from xfns.c. | |
6147 (syms_of_xdisp): Initialize QCdata. | |
6148 | |
6149 * frame.h (FRAME_INTERNAL_BORDER_WIDTH) [!HAVE_X_WINDOWS]: Define. | |
6150 | |
6151 * window.c (coordinates_in_window): Use | |
6152 FRAME_INTERNAL_BORDER_WIDTH_SAFE instead of | |
6153 FRAME_INTERNAL_BORDER_WIDTH. | |
6154 | |
27995 | 6155 * xdisp.c (try_window_id): Recompute unchanged information if |
28011 | 6156 it is obviously invalid. |
27995 | 6157 |
6158 * xterm.c (x_term_init): Create a colormap if not using the | |
6159 default visual. | |
6160 | |
6161 * xterm.h (select_visual): Change prototype. | |
6162 | |
6163 * xfns.c (select_visual): Rewritten. Recognize user-specified | |
6164 visual classes. | |
6165 (visual_classes): New variable. | |
6166 | |
27989 | 6167 2000-03-04 Gerd Moellmann <gerd@gnu.org> |
6168 | |
6169 * xfns.c (x_defined_color, x_set_mouse_color, lookup_rgb_color) | |
6170 (lookup_pixel_color, x_laplace, x_build_heuristic_mask) | |
6171 (png_load): Access colormap of frame using FRAME_X_COLORMAP. | |
6172 (x_decode_color): Don't handle allocation of white and black | |
6173 specially. | |
6174 (x_window) [USE_X_TOOLKIT]: Set XtNvisual, XtNdepth, and | |
6175 XtNcolormap resources. | |
6176 (x_window) [!USE_X_TOOLKIT]: Pass colormap to XCreateWindow. | |
6177 (Fx_create_frame): Initialize color members of x_output structure. | |
6178 (xpm_load): Pass colormap to XPM lib. | |
6179 | |
6180 * xfaces.c (x_free_colors): Access colormap of frame using | |
6181 FRAME_X_COLORMAP. Be paranoid about freeing black and white | |
6182 when default colormap is used. | |
6183 | |
6184 * xterm.c (x_term_init): Set Colormap member of x_display_info | |
6185 structure. Copy colormap if resource `privateColormap' is | |
6186 specified (PseudoColor only). | |
6187 (x_setup_relief_color): Access colormap of frame using | |
6188 FRAME_X_COLORMAP. | |
6189 | |
6190 * xterm.h (struct x_display_info): Add Colormap member `cmap'. | |
6191 (FRAME_X_COLORMAP, FRAME_X_VISUAL): New macros. | |
6192 | |
27983 | 6193 2000-03-04 Jason Rumney <jasonr@gnu.org> |
6194 | |
6195 * xfaces.c Change many FRAME_X... macros to FRAME_WINDOW... or | |
6196 other non-platform-specific equivalents. | |
27989 | 6197 [WINDOWSNT]: Include w32term.h, fontset.h and define X |
27983 | 6198 specific functions and macros as their w32 equivalents where |
6199 non-platform-specifics are not available. | |
6200 [HAVE_X_WINDOWS]: Change most of these to HAVE_WINDOW_SYSTEM. | |
6201 (x_create_gc, x_free_gc) [WINDOWSNT]: Add W32 versions. | |
6202 (clear_font_table) [WINDOWSNT]: Call w32_unload_font. | |
6203 (frame_update_line_height): Use macros to access f->output_data. | |
6204 (defined_color): Remove FIXME comments; fixed. | |
6205 (x_face_list_fonts, prepare_face_for_display): Put X specifics | |
6206 into #ifdef blocks. Add WINDOWSNT blocks. | |
6207 (Fx_list_fonts): Use macros for accessing font data. | |
6208 (set_lface_from_font_name): Different default fonts for X and | |
6209 WINDOWSNT. | |
6210 (font_scalable_p) [WINDOWSNT]: Treat wildcard XLFD_AVGWIDTH as | |
6211 scalable for backward compatibility. | |
27989 | 6212 (realize_tty_face) [MSDOS]: Do the same for WINDOWSNT. |
27983 | 6213 (syms_of_xfaces) [WINDOWSNT]: Allow scalable fonts by default. |
6214 | |
27989 | 6215 * emacs.c (main) [HAVE_NTGUI]: Call syms_of_xfaces instead of |
27983 | 6216 syms_of_w32faces. |
6217 | |
6218 * makefile.nt (w32faces.obj): Remove. | |
6219 (xfaces.obj): Add. | |
6220 | |
27978 | 6221 2000-03-03 Jason Rumney <jasonr@gnu.org> |
6222 | |
6223 * keyboard.c (make_lispy_event): Call buffer_posn_from_coords with | |
6224 correct parameters. | |
6225 | |
27977
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
6226 2000-03-03 Ken Raeburn <raeburn@gnu.org> |
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
6227 |
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
6228 * unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide |
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
6229 standard ELF definitions here if the system header does not. |
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
6230 |
27976 | 6231 2000-03-03 Gerd Moellmann <gerd@gnu.org> |
6232 | |
6233 * xterm.c (PER_CHAR_METRIC): Removed. | |
6234 (x_per_char_metric_1, x_default_char): New functions. | |
6235 (x_per_char_metric): If font's default char is invalid, return | |
6236 metrics of a suitably chosen usable default char. | |
6237 (x_draw_glyph_string_foreground): If font has an invalid default | |
27989 | 6238 char, replace occurrences of unprintable chars with a suitably |
6239 chosen usable default char. | |
27976 | 6240 |
27965 | 6241 2000-03-02 Gerd Moellmann <gerd@gnu.org> |
6242 | |
27969 | 6243 * xterm.c (note_mouse_highlight): Return quickly if frame's |
6244 glyph matrices have been freed. | |
6245 | |
6246 * dispnew.c (free_glyphs): Block input while freeing matrices. | |
6247 | |
27965 | 6248 * xfns.c (x_clear_image, x_kill_gs_process): Use x_free_colors. |
6249 | |
6250 * xterm.c (x_alloc_lighter_color, x_setup_relief_color): Use | |
6251 x_free_colors. | |
6252 | |
6253 * dispextern.h (x_free_colors): Add prototype. | |
6254 | |
6255 * xfaces.c (x_free_colors): New function. | |
6256 (unload_color, free_face_colors): Use it. | |
6257 | |
27958 | 6258 2000-03-02 Eli Zaretskii <eliz@is.elta.co.il> |
6259 | |
6260 * msdos.h (FRAME_INTERNAL_BORDER_WIDTH): Define to zero. | |
6261 | |
6262 * window.c [MSDOS]: Include msdos.h. | |
6263 | |
27954 | 6264 2000-03-02 Dave Love <fx@gnu.org> |
6265 | |
6266 * m/powerpcle.h, m/sparc.h: Don't set C_OPTIMIZE_SWITCH. | |
6267 | |
6268 * m/mips-siemens.h, m/news-r6.h, m/news-risc.h, m/tekxd88.h: Don't | |
6269 set C_OPTIMIZE_SWITCH for gcc. | |
6270 | |
27942 | 6271 2000-03-02 Kenichi Handa <handa@etl.go.jp> |
6272 | |
6273 * coding.c (coding_save_composition): Be sure to allocate | |
6274 composition data area in coding even if there's no composition in | |
6275 the current run. | |
6276 | |
27938 | 6277 2000-03-01 Jason Rumney <jasonr@gnu.org> |
6278 | |
6279 * w32term.c: Equivalent changes to those made to xterm.c on | |
6280 2000-02-25 and 2000-02-24. | |
6281 | |
6282 * w32fns.c: Equivalent changes to those made to xfns.c on | |
6283 2000-02-25 and 2000-02-21. | |
6284 | |
6285 * sysdep.c: [WINDOWSNT]: Use sys_read and sys_write to ensure | |
6286 correct line-end convention is followed. | |
6287 | |
6288 * w32menu.c [HAVE_BOXES]: Remove #undef. | |
6289 (single_keymap_panes): Remove code for simulating checkmarks. | |
6290 (single_menu_item): Remove notbuttons_ptr argument. Callers changed. | |
6291 Remove code for drawing simulated checkmarks. | |
6292 (w32_menu_show): make unibyte help string correctly. | |
6293 (add_menu_item): draw standard Windows checkmarks. Draw radio | |
6294 buttons as radio buttons if possible. | |
6295 | |
27919 | 6296 2000-03-01 Gerd Moellmann <gerd@gnu.org> |
6297 | |
27927 | 6298 * sysdep.c (start_of_text): Don't define this function for NetBSD |
6299 with ELF. | |
6300 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6301 * m/pmax.h (START_FILES, CANNOT_DUMP) [__NetBSD__ || __OpenBSD__]: |
27927 | 6302 Don't define. |
6303 (UNEXEC) [__NetBSD__ || __OpenBSD__]: Define to unexelf.o. | |
6304 (LINKER): Don't undef if __NetBSD__ is defined. | |
6305 | |
6306 * m/mips.h (LINKER) [__NetBSD__ || __OpenBSD__]: Don't define. | |
6307 | |
6308 * fileio.c [__NetBSD__]: Define `unix'. | |
6309 | |
27919 | 6310 * xfns.c (start_busy_cursor): Allow floats for busy-cursor-delay. |
6311 | |
27910 | 6312 2000-02-29 Gerd Moellmann <gerd@gnu.org> |
6313 | |
27914 | 6314 * atimer.c (start_atimer): Don't abort when timers are stopped. |
6315 (append_atimer_lists): New function. | |
6316 (cancel_atimer, stop_other_atimers, run_all_atimers): Handle | |
6317 arbitrary lists of stopped and running atimers. | |
6318 | |
27910 | 6319 * atimer.c (cancel_atimer): Handle canceling an atimer when |
6320 some timers are stopped. | |
6321 | |
6322 * xfns.c (cancel_busy_cursor): Set busy_cursor_atimer to null | |
6323 after canceling it. | |
6324 | |
6325 * fns.c (maybe_resize_hash_table): Handle case of new size | |
6326 coming out as being the same as old size. | |
6327 | |
27898 | 6328 2000-02-27 Jason Rumney <jasonr@gnu.org> |
6329 | |
6330 * makefile.nt: Add atimer.h to dependencies. | |
6331 * w32.c (init_environment): Set Vw32_num_mouse_buttons here. | |
6332 * w32console.c: Only disable window system features for dispextern.h | |
6333 (initialize_w32_display): Build a display info for the console. | |
6334 * w32faces.c (tty_defined_color): Apply xfaces.c change from 02-17. | |
6335 * w32fns.c (w32_wnd_proc) [WM_LBUTTON_DOWN, WM_RBUTTON_DOWN, | |
6336 WM_LBUTTON_UP, WM_RBUTTON_UP]: Do not treat 4 or more button mice | |
6337 as 2 button mice. | |
6338 * w32gui.h (struct W32FontStruct): Revert last change after change | |
6339 to xdisp.c. | |
6340 * w32menu.c (single_submenu): Set up help string. | |
6341 [!HAVE_MULTILINGUAL_MENU]: Don't overwrite item_name with descrip. | |
6342 (w32_dialog_show): Set up help string. | |
6343 * w32term.c (w32_display_info_for_display): Remove unused function. | |
6344 (w32_draw_bitmap): Use pre-built bitmaps. | |
6345 (w32_initialize_display_info): New function to initialize parts of | |
6346 display info that are common to both GUI and console frames. | |
6347 (w32_term_init): Use w32_initialize_display_info. Do not set | |
6348 Vw32_num_mouse_buttons here, as it is not called for console | |
6349 frames. Build bitmaps for indicating truncated lines etc. | |
6350 (x_delete_display): Destroy pre-built bitmaps. | |
6351 * xdisp.c (handle_single_display_prop): Use FONT_HEIGHT macro. | |
6352 (echo_area_display): Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM. | |
6353 | |
27886 | 6354 2000-02-27 Dave Love <fx@gnu.org> |
6355 | |
6356 * lisp.h: Add a bunch of prototypes. | |
6357 | |
27878 | 6358 2000-02-26 Kenichi Handa <handa@etl.go.jp> |
6359 | |
27879 | 6360 * keyboard.c (read_char): Set `usec' correctly. |
27878 | 6361 |
27876 | 6362 2000-02-25 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp> |
6363 | |
6364 * ccl.c (ccl_driver) [CCL_MapMultiple]: When the mapped value is | |
6365 `lambda', set reg[RRR] to the map index. | |
6366 (ccl_driver) [CCL_MapSingle]: When the mapped value is found, set | |
6367 reg[RRR] to 0. Otherwise, set it to -1. | |
6368 | |
27875 | 6369 2000-02-25 Gerd Moellmann <gerd@gnu.org> |
6370 | |
27927 | 6371 * emacs.c (main): Remove code snippet commented out with `//'. |
27875 | 6372 |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
6373 2000-02-25 Richard M. Stallman <rms@gnu.org> |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6374 |
27873 | 6375 * fileio.c (Ffile_symlink_p): If result starts with a `/' |
6376 and contains a `:', prepend `/:'. | |
6377 | |
6378 * window.c (select_window_1): If selected_window is nil, | |
6379 don't "swap out" the buffer's point. | |
6380 (Fset_window_configuration): Set selected_window to nil | |
6381 before calling Fselect_window. | |
6382 (unshow_buffer): Don't set point in buffer from window's point | |
6383 if another more recently selected window also shows the buffer. | |
6384 | |
27849 | 6385 2000-02-25 Gerd Moellmann <gerd@gnu.org> |
6386 | |
27868 | 6387 * keyboard.c (recursive_edit_1): Cancel busy-cursor. |
6388 | |
27866 | 6389 * xfns.c (inhibit_busy_cursor, busy_count): Removed. |
6390 (Fx_show_busy_cursor, Fx_hide_busy_cursor): Removed. | |
6391 (busy_cursor_atimer, busy_cursor_shown_p, Vbusy_cursor_delay): New | |
6392 variables. | |
6393 (DEFAULT_BUSY_CURSOR_DELAY): New define. | |
6394 (start_busy_cursor, cancel_busy_cursor, show_busy_cursor) | |
6395 (hide_busy_cursor): New functions. | |
6396 (syms_of_xfns): DEFVAR_LISP Vbusy_cursor_delay. | |
6397 | |
6398 * minibuf.c (read_minibuf): Cancel busy-cursor. | |
6399 | |
6400 * keyboard.c (command_loop_1): Call start_busy_cursor before | |
6401 Fcommand_execute and cancel_busy_cursor after it. | |
6402 (timer_check): Remove busy-cursor code. | |
6403 (Fread_key_sequence, Fread_key_sequence_vector): Start/cancel busy | |
6404 cursor timer. | |
6405 | |
6406 * process.c (wait_reading_process_input): Remove busy-cursor code. | |
6407 | |
6408 * eval.c (Fsignal): Call cancel_busy_cursor instead of | |
6409 Fx_hide_busy_cursor. | |
6410 | |
6411 * dispextern.h (Fx_show_busy_cursor, Fx_hide_busy_cursor): | |
6412 Remove prototyoes. | |
6413 (start_busy_cursor, cancel_busy_cursor): Add prototypes. | |
6414 | |
6415 * lisp.h (Fx_hide_busy_cursor): Remove prototype. | |
6416 | |
6417 * xterm.c (XTread_socket): Remove busy-cursor code. | |
6418 | |
27856 | 6419 * dispnew.c (flush_stdout) [GLYPH_DEBUG]: New function. |
6420 (build_frame_matrix_from_leaf_window): Put code handling | |
6421 glyph row's not being a slice of a frame row in #if 0. | |
6422 (sync_window_with_frame_matrix_rows): New function. | |
6423 (frame_row_to_window): New function. | |
6424 (mirror_line_dance): Handle copies between windows. | |
6425 | |
27853 | 6426 * lread.c (Fload): Use `xfree' instead of `free'. |
6427 (init_obarray): Use `xmalloc' instead of `malloc'. | |
6428 | |
27849 | 6429 * window.c (Fset_window_buffer): Set WINDOW to the window |
6430 after decoding. | |
27851 | 6431 (coordinates_in_window): Take frame's internal border width |
6432 into account. | |
27849 | 6433 |
27847 | 6434 2000-02-24 Gerd Moellmann <gerd@gnu.org> |
6435 | |
6436 * xterm.c (x_display_and_set_cursor): Display cursor of | |
6437 non-selected windows depending on the setting of | |
6438 cursor_in_non_selected_windows. | |
6439 | |
6440 * xdisp.c (cursor_in_non_selected_windows): New variable. | |
6441 (syms_of_xdisp): DEFVAR_BOOL it. | |
6442 | |
27820 | 6443 2000-02-23 Gerd Moellmann <gerd@gnu.org> |
6444 | |
27827 | 6445 * data.c (Fstring_to_number): If number is greater than what |
6446 fits into an integer, return a float. | |
6447 | |
27820 | 6448 * eval.c (specbind): Remove references to |
6449 keyword_symbols_constant_flag. | |
6450 | |
6451 * data.c (keyword_symbols_constant_flag): Removed. | |
6452 (Fmakunbound, set_internal, syms_of_data): Remove references to | |
6453 keyword_symbols_constant_flag. | |
6454 | |
6455 * bytecode.c (Fbyte_code): Remove keyword_symbols_constant_flag. | |
6456 | |
27813 | 6457 2000-02-23 Kenichi Handa <handa@etl.go.jp> |
6458 | |
6459 * syntax.c (multibyte_syntax_as_symbol): New variable. | |
6460 (syms_of_syntax): Declare it as a Lisp variable. | |
6461 (SYNTAX_WITH_MULTIBYTE_CHECK): New macro. | |
6462 (scan_lists): If both sexpflag and multibyte_syntax_as_symbol are | |
6463 nonzero, treat all multibyte characters as symbol. | |
27847 | 6464 (init_syntax_once): Give syntax `word' to all multibyte |
27813 | 6465 characters. |
6466 | |
27801 | 6467 2000-02-22 Eli Zaretskii <eliz@is.elta.co.il> |
6468 | |
27853 | 6469 * frame.c (Fdelete_frame): Don't let echo_area_window remain on |
30196
52c1b7a2e7a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30183
diff
changeset
|
6470 a deleted frame. |
27801 | 6471 |
27799 | 6472 2000-02-21 Gerd Moellmann <gerd@gnu.org> |
6473 | |
6474 * frame.c (Fmouse_position): GCPRO retval instead of x and y. | |
6475 | |
6476 * xfns.c (x_window_to_frame, x_any_window_to_frame) | |
6477 (x_non_menubar_window_to_frame): Check the busy-cursor window. | |
6478 | |
27796 | 6479 2000-02-21 Dave Love <fx@gnu.org> |
6480 | |
6481 * frame.c (Vmouse_position_function): New variable. | |
6482 (Fmouse_position): Use it. | |
6483 (syms_of_frame): Install it. | |
6484 | |
6485 * charset.c (find_charset_in_str): Fix use of `c' instead of `c1'. | |
6486 | |
27790 | 6487 2000-02-20 Gerd Moellmann <gerd@gnu.org> |
6488 | |
6489 * fileio.c (Finsert_file_contents): Unbind the binding of | |
6490 standard-output done by temp_output_buffer_setup. | |
27785 | 6491 |
6492 * eval.c (funcall_lambda): Don't bind Qmocklisp_arguments unless | |
6493 Vmocklisp_arguments is nil. Inline Fcar and Fcdr. | |
6494 (specbind, unbind_to): Handle most common case of non-constant | |
6495 symbol with trivial value specially. | |
6496 | |
6497 * bytecode.c (Fbyte_code) <Bvarset>: Inline most common case. | |
6498 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
6499 2000-02-20 Richard M. Stallman <rms@gnu.org> |
27780
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6500 |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6501 * data.c (Fmake_variable_buffer_local): Doc fix. |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6502 Init found_for_buffer to 0. |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6503 (Fmake_variable_frame_local): If the variable has already |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6504 been buffer-local, set the check_frame field. |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6505 |
27776 | 6506 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il> |
6507 | |
6508 * msdos.c (IT_write_glyphs): Allocate a larger screen_buf as data | |
6509 produced for CODING_MODE_LAST_BLOCK requires. | |
6510 | |
27767 | 6511 2000-02-18 Dave Love <fx@gnu.org> |
6512 | |
6513 * keyboard.c (echo_keystrokes): Remove declaration. | |
6514 (Vecho_keystrokes) New variable. | |
6515 (read_char, record_menu_key, read_key_sequence): Use it to allow | |
6516 use of float value. | |
6517 (syms_of_keyboard): Change Vecho_keystrokes declaration. | |
6518 | |
6519 * lread.c: Undef feature selection macros before defining. | |
6520 | |
27759 | 6521 2000-02-18 Gerd Moellmann <gerd@gnu.org> |
6522 | |
6523 * data.c (let_shadows_buffer_binding_p): Ignore specbindings | |
6524 for symbols other than the symbol in question. | |
6525 | |
27751 | 6526 2000-02-17 Dave Love <fx@gnu.org> |
6527 | |
6528 * s/sol2.h (C_DEBUG_SWITCH): Define to allow optimization. | |
6529 | |
27747 | 6530 2000-02-17 Gerd Moellmann <gerd@gnu.org> |
6531 | |
27749 | 6532 * emacs.c (main): Use #if GC_MARK_STACK instead of #ifdef. |
6533 | |
27747 | 6534 * alloc.c (enum mem_type): Compile unconditionally. |
6535 | |
27744 | 6536 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il> |
6537 | |
6538 * xfaces.c (tty_defined_color): Don't return faulire indication | |
6539 for unspecified-fg and unspecified-bg pseudo-colors. | |
6540 | |
27726 | 6541 2000-02-17 Gerd Moellmann <gerd@gnu.org> |
6542 | |
27742 | 6543 * alloc.c (mark_object): Don't mark symbol names in pure space. |
6544 (gc_sweep): Don't unmark symbol names in pure space. | |
6545 | |
6546 * lisp.h (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS) | |
6547 (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES) | |
6548 [GC_MARK_STACK]: New defines. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6549 (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, UNGCPRO) |
27742 | 6550 [GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS]: Define as no-ops. |
6551 | |
6552 * emacs.c (main) [GC_MARK_STACK]: Initialize stack_base. | |
6553 | |
6554 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use | |
6555 allocate_buffer instead of xmalloc. | |
6556 | |
6557 * alloc.c (toplevel): Include setjmp.h. | |
6558 (PURE_POINTER_P): New define. | |
6559 (enum mem_type) [GC_MARK_STACK]: New enumeration. | |
6560 (Vdead) [GC_MARK_STACK]: New variable. | |
6561 (lisp_malloc): Add parameter TYPE, call mem_insert if | |
6562 GC_MARK_STACK is defined. | |
6563 (allocate_buffer): New function. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6564 (lisp_free) [GC_MARK_STACK]: Call mem_delete. |
27742 | 6565 (free_float) [GC_MARK_STACK]: Set type to Vdead. |
6566 (free_cons) [GC_MARK_STACK]: Set car to Vdead. | |
6567 (stack_base, mem_root, mem_z) [GC_MARK_STACK]: New variables. | |
6568 (MEM_NIL) [GC_MARK_STACK]: New define. | |
6569 (struct mem_node) [GC_MARK_STACK]: New structure. | |
6570 (mem_init, mem_find, mem_insert, mem_delete, mem_insert_fixup) | |
6571 (mem_delete_fixup, mem_rotate_left, mem_rotate_right) | |
6572 (live_string_p, live_cons_p, live_symbol_p, live_float_p) | |
6573 (live_misc_p, live_vector_p, live_buffer_p, mark_memory) | |
6574 (mark_stack) [GC_MARK_STACK]: New functions. | |
6575 (Fgarbage_collect) [GC_MARK_STACK]: Call mark_stack. | |
6576 (clear_marks): Removed. | |
6577 (gc_sweep): Set free conses' car, free floats' type, free | |
6578 symbols' function to Vdead. Use lisp_free to free buffers. | |
6579 (init_alloc_once): Initialize Vdead. | |
6580 (survives_gc_p): Return non-zero for pure objects. | |
6581 | |
6582 * alloc.c: Add comments throughout the file. | |
6583 | |
27735 | 6584 * atimer.c (stop_other_atimers): Don't call cancel_atimer because |
6585 that unblocks alarms. | |
6586 | |
27729 | 6587 * alloc.c, bytecode.c, data.c, dispnew.c, ecrt0.c, editfns.c, |
6588 emacs.c, floatfns.c, fns.c, lread.c, print.c, config.in, lisp.h, | |
6589 Makefile.in: Remove `LISP_FLOAT_TYPE' and `standalone'. | |
6590 | |
27726 | 6591 * frame.c (make_frame): Set frame initiallly to `garbaged'. |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6592 |
27720 | 6593 2000-02-17 Kenichi Handa <handa@etl.go.jp> |
6594 | |
27722 | 6595 * xdisp.c (decode_mode_spec_coding): Delete superfluous code to |
27723 | 6596 avoid infinite error signaling. Allocate sufficient memory for |
27722 | 6597 eol_str in the case that eoltype is Lisp_Int. |
27720 | 6598 |
27719
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
6599 2000-02-17 Stefan Monnier <monnier@cs.yale.edu> |
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
6600 |
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
6601 * syntax.c (Fforward_comment): Undo the previous change, since cc-mode |
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
6602 depends on the previous behavior. |
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
6603 |
27710 | 6604 2000-02-16 Gerd Moellmann <gerd@gnu.org> |
6605 | |
6606 * sysdep.c (vfork) [!HAVE_VFORK]: Removed. | |
6607 | |
27707 | 6608 2000-02-15 Gerd Moellmann <gerd@gnu.org> |
6609 | |
6610 * s/freebsd.h (BROKEN_PTY_READ_AFTER_EAGAIN): Define. | |
6611 | |
6612 * process.c (send_process) [BROKEN_PTY_READ_AFTER_EAGAIN]: | |
27710 | 6613 Workaround for FreeBSD bug. Clear output queue after EAGAIN in |
27707 | 6614 write(2). |
6615 | |
27702
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6616 2000-02-15 Richard M. Stallman <rms@gnu.org> |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6617 |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6618 * data.c (set_internal): Don't make variable buffer-local |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6619 if within a let-binding for the same buffer. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6620 (let_shadows_buffer_binding_p): New function. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6621 |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6622 * eval.c (specbind): For buffer-local value, |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6623 record the current buffer also. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6624 (unbind_to): Cope with that change. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6625 |
27700 | 6626 2000-02-15 Gerd Moellmann <gerd@gnu.org> |
6627 | |
6628 * window.c (Fsave_window_excursion): Doc fix. | |
6629 | |
27698
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6630 2000-02-15 Stefan Monnier <monnier@cs.yale.edu> |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6631 |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6632 * syntax.c (back_comment): Make sure we only consider comment-starters |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6633 of the relevant style and return -1 in case of a failure to find the |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6634 beginning of the comment. |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6635 (Fforward_comment): If back_comment fails, go back to the position just |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6636 after the comment-end. |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6637 (scan_lists): Add comment describing a very minor bug. |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6638 |
27697
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
6639 2000-02-14 Stefan Monnier <monnier@cs.yale.edu> |
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
6640 |
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
6641 * minibuf.c (Ftry_completion, Fall_completions): Add a reference to |
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
6642 `completion-regexp-list' in the docstring. |
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
6643 |
27696 | 6644 2000-02-14 Dave Love <fx@gnu.org> |
6645 | |
6646 * xfaces.c (tty_defined_color): Declare color_idx unsigned long. | |
6647 | |
27692
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6648 2000-02-14 Stefan Monnier <monnier@cs.yale.edu> |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6649 |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6650 * regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6651 to Emacs' syntax. Also fix the comment about set/not-set meanings |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6652 since Emacs syntax is not the value 0 any more. |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6653 * search.c (compile_pattern_1): Remove RE_CHAR_CLASSES from the syntax |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6654 since it's now part of RE_SYNTAX_EMACS. |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6655 |
27689 | 6656 2000-02-12 Dave Love <fx@gnu.org> |
6657 | |
6658 * frame.h (SELECTED_FRAME): Use NULL, not 0 to avoid warnings on | |
6659 Alpha. | |
6660 | |
27687 | 6661 2000-02-12 Gerd Moellmann <gerd@gnu.org> |
6662 | |
6663 * xdisp.c (syms_of_xdisp): Doc fix for scroll-conservatively. | |
6664 | |
27680 | 6665 2000-02-12 Dave Love <fx@gnu.org> |
6666 | |
6667 * s/aix3-2.h, s/osf-1.h: Define C_DEBUG_SWITCH for non-gcc. | |
6668 | |
6669 * s/ux4800.h, s/umips.h, s/umax.h, s/sol2.h, s/sco5.h, s/rtu.h: | |
27687 | 6670 * s/ptx4.h, s/umax.h, s/dgux.h, s/bsd4-2.h, s/bsd4-3.h: |
6671 * s/hpux.h: Don't define HAVE_VFORK. | |
27680 | 6672 |
6673 * s/gnu-linux.h: Don't define HAVE_VFORK or HAVE_SYS_SIGLIST. | |
6674 | |
6675 * s/nextstep.h: Don't define HAVE_ALLOCA. | |
6676 | |
6677 * config.in: Add vfork bits. | |
6678 | |
27672 | 6679 2000-02-12 Gerd Moellmann <gerd@gnu.org> |
6680 | |
6681 * process.c (Fopen_network_stream) [POLL_FOR_INPUT]: Register | |
6682 unwind function to undo the effect of stopping atimers. | |
6683 | |
6684 * keyboard.c (bind_polling_period): Stop all timers except | |
6685 poll_timer. | |
6686 | |
6687 * atimer.c (stopped_atimers): New variable. | |
6688 (stop_other_atimers, run_all_atimers, unwind_stop_other_atimers): | |
6689 New functions. | |
6690 | |
6691 * atimer.h (stop_other_atimers, run_all_atimers) | |
6692 (unwind_stop_other_atimers): Add function prototypes. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6693 |
27672 | 6694 * s/hpux10.h (HAVE_XRMSETDATABASE): Define if not already defined. |
6695 | |
27665
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6696 2000-02-11 Ken Raeburn <raeburn@gnu.org> |
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6697 |
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6698 * Makefile.in (LIBX): Link in tiff library before jpeg, since tiff |
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6699 library may depend on jpeg. |
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6700 (atimer.o): Depends on atimer.c. |
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6701 |
27663 | 6702 2000-02-11 Kenichi Handa <handa@etl.go.jp> |
6703 | |
6704 * insdel.c (del_range_1): Call update_compositions. | |
6705 (del_range_both): Call update_compositions just once.. | |
6706 | |
27660 | 6707 2000-02-10 Dave Love <fx@gnu.org> |
6708 | |
6709 * xfns.c (create_frame_xic): Fix initialization of automatic | |
6710 aggregates for pcc. | |
6711 | |
27648 | 6712 2000-02-09 Kenichi Handa <handa@etl.go.jp> |
6713 | |
6714 * ccl.c (CCL_MAKE_CHAR): New macro. | |
6715 (ccl_driver) <CCL_TranslateCharacter>: Check the validity of | |
6716 registers by CCL_MAKE_CHAR before calling translate_char. | |
6717 <CCL_TranslateCharacterConstTbl> Likewise. | |
6718 | |
27646 | 6719 2000-02-08 Dave Love <fx@gnu.org> |
6720 | |
6721 * lread.c (__EXTENSIONS__): Define. | |
6722 | |
27644 | 6723 2000-02-08 Gerd Moellmann <gerd@gnu.org> |
6724 | |
6725 * puresize.h (BASE_PURESIZE): Increase to 650000. | |
6726 | |
27641 | 6727 2000-02-07 Eli Zaretskii <eliz@is.elta.co.il> |
6728 | |
6729 * msdos.c (XMenuActivate): Turn off the cursor after displaying | |
6730 the help message. | |
6731 | |
27639 | 6732 2000-02-07 Eli Zaretskii <eliz@is.elta.co.il> |
6733 | |
6734 * s/msdos.h (INTERNAL_TERMINAL): Add capabilities se, so, us, ue, | |
6735 md, mh, mb, mr, and me to the fake termcap entry. | |
6736 | |
27635
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6737 2000-02-06 Ken Raeburn <raeburn@gnu.org> |
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6738 |
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6739 * sound.c (sound_cleanup): Don't call device close routine if the |
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6740 function pointer is null. |
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6741 |
27634
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6742 2000-02-06 Andrew Innes <andrewi@gnu.org> |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6743 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6744 * dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM, |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6745 around image definitions and prototypes. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6746 (gamma_correct) [WINDOWSNT]: New prototype. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6747 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6748 * w32term.c (x_make_frame_visible): Replace call to |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6749 input_poll_signal with poll_for_input. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6750 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6751 * window.c [WINDOWSNT]: Include w32term.h. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6752 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6753 * xdisp.c [WINDOWSNT]: Include w32term.h. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6754 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6755 * makefile.nt: Add dependencies on w32gui.h. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6756 (OBJ1): Include atimer.obj. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6757 ($(BLD)\atimer.obj): New dependency rule. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6758 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6759 * w32.c (sigmask): New function (does nothing). |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6760 (sigunblock): Ditto. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6761 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6762 * frame.c [WINDOWSNT]: Include w32term.h. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6763 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6764 * w32gui.h (struct W32FontStruct): Add ascent and descent slots. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6765 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6766 * lread.c (syms_of_lread): Fix literal newlines. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6767 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6768 * emacs.c (USAGE): Split into USAGE1 and USAGE2, to work-around |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6769 the string constant limit (2048 bytes) in MSVC. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6770 (main): Ditto. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6771 |
27620 | 6772 2000-02-05 INOUE Seiichiro <inoue@ainet.or.jp> |
6773 | |
6774 * xterm.c (x_display_and_set_cursor) [HAVE_X_I18N]: Set pre-edit | |
6775 area. | |
6776 (x_display_cursor) [HAVE_X_I18N]: Don't set it here. | |
6777 (XTread_socket) [HAVE_X_I18N]: <KeyPress, KeyRelease>: Don't | |
6778 dispatch the event. | |
6779 | |
27614 | 6780 2000-02-04 Dave Love <fx@gnu.org> |
6781 | |
6782 * fileio.c: Remove some unused vars. | |
6783 (_GNU_SOURCE): Define (for euidaccess). | |
6784 | |
6785 * lread.c (_XOPEN_SOURCE): Declare (for ftello). | |
6786 | |
6787 * minibuf.c (read_minibuf_noninteractive): Remove undeclared | |
6788 gcpro1, gcpro2. | |
6789 (read_minibuf): Deal with allow_props correctly. | |
6790 | |
27594 | 6791 2000-02-03 Eli Zaretskii <eliz@is.elta.co.il> |
6792 | |
6793 * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Enlarge to 60000. | |
6794 | |
27635
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6795 2000-02-03 Ken Raeburn <raeburn@gnu.org> |
27592
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
6796 |
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
6797 * search.c (compile_pattern): If a cache entry has a nil regexp, |
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
6798 fill in that entry instead of clobbering a previously cached |
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
6799 string regexp. |
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
6800 |
27635
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6801 2000-02-02 Ken Raeburn <raeburn@gnu.org> |
27591
459744c91b53
* puresize.h (BASE_PURESIZE): Increase to 610000.
Ken Raeburn <raeburn@raeburn.org>
parents:
27587
diff
changeset
|
6802 |
459744c91b53
* puresize.h (BASE_PURESIZE): Increase to 610000.
Ken Raeburn <raeburn@raeburn.org>
parents:
27587
diff
changeset
|
6803 * puresize.h (BASE_PURESIZE): Increase to 610000. |
459744c91b53
* puresize.h (BASE_PURESIZE): Increase to 610000.
Ken Raeburn <raeburn@raeburn.org>
parents:
27587
diff
changeset
|
6804 |
27587 | 6805 2000-02-02 Gerd Moellmann <gerd@gnu.org> |
6806 | |
6807 * frame.c (Fframe_parameters): Add GCPRO because tty_color_name | |
6808 can GC. | |
6809 | |
27565 | 6810 2000-02-02 Kenichi Handa <handa@etl.go.jp> |
6811 | |
27567 | 6812 * ccl.c (ccl_driver) <CCL_WriteExprRegister>: Set jump_address |
6813 instead of incrementing ic directly. | |
6814 <CCL_WriteExprConst> Likewise. | |
6815 <ccl_set_expr>: Set ic to jump_address. | |
6816 | |
27565 | 6817 * fileio.c (e_write): Fix the handling of |
6818 CODING_FINISH_INSUFFICIENT_SRC. | |
6819 | |
27561 | 6820 2000-02-01 Dave Love <fx@gnu.org> |
6821 | |
6822 * editfns.c (Fpropertize): Doc fix. | |
6823 | |
6824 * process.c (Fstart_process): Doc fix. | |
6825 | |
6826 * eval.c: Fix various doc strings not to duplicate information | |
6827 from help-manyarg-func-alist. | |
6828 | |
6829 * window.c (Fset_window_margins): Don't make interactive. Doc | |
6830 fix. | |
6831 | |
6832 * doc.c (Vhelp_manyarg_func_alist): New variable. | |
6833 (Fdocumentation): Use it. | |
6834 (syms_of_doc): Define it. | |
6835 | |
27531 | 6836 2000-01-31 Gerd Moellmann <gerd@gnu.org> |
6837 | |
27545 | 6838 * xterm.c (xim_open_dpy): Remove unused local variable. |
6839 | |
27541 | 6840 * emacs.c (USAGE): Use term `display options' instead of `X |
6841 options'. | |
6842 | |
6843 * xdisp.c (Ftrace_to_stderr) [GLYPH_DEBUG]: New function. | |
6844 (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it. | |
6845 | |
27531 | 6846 * fns.c (sweep_weak_table): New function. |
6847 (sweep_weak_hash_tables): Use it. Keep on marking until there | |
6848 is no more change. | |
6849 | |
27527 | 6850 2000-01-30 Gerd Moellmann <gerd@gnu.org> |
6851 | |
6852 * xterm.c (x_delete_display): Update next_noop_dpyinfo to ensure | |
6853 that XTread_socket does not crash by trying to call XNoOp on a | |
6854 closed display. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6855 |
27523 | 6856 2000-01-30 Jason Rumney <jasonr@gnu.org> |
6857 | |
6858 * w32inevt.c (get_frame, w32_console_mouse_position, mouse_moved_to): | |
6859 Change selected_frame to SELECTED_FRAME (). | |
6860 (w32_console_mouse_position): Remove #ifndef MULE from around | |
6861 `insist' parameter. | |
6862 | |
6863 * makefile.nt: Remove dosfns.obj. | |
6864 | |
6865 * term.c (term_init) [WINDOWSNT]: Initialize TN_max_colors. | |
6866 | |
6867 * w32fns.c (w32_defined_color): Check for valid frame before | |
6868 applying gamma correction. Eliminate dependency on frame elsewhere. | |
6869 (w32_load_system_font): Switch FIXED_PITCH and VARIABLE_PITCH. | |
6870 (w32_to_x_font): Use resx and resy not height_in and width_in. | |
6871 (x_to_w32_font): Doc fix. | |
6872 (xlfd_strip_height): New function to strip and return font height. | |
6873 (w32_font_match): Compare height separately from rest of xlfd | |
6874 spec, using xlfd_strip_height. | |
6875 | |
6876 * w32term.c (w32_term_init): Swap resx and height_in, resy and | |
6877 width_in. Use w32_defined_color in place of defined_color. | |
6878 | |
6879 * w32faces.c: Merge more of DOS and X specifics in preparation for | |
6880 merge with xfaces.c. | |
6881 (defined_color): Remove FIXME comment. | |
6882 (tty_color_name): Provide w32-specific function. | |
6883 (realize_tty_face): Handle FACE_TTY_DEFAULT*_COLOR specially. | |
6884 | |
6885 * w32console.c (turn_on_face, turn_off_face): Removed. | |
6886 (w32_face_attributes): New function. | |
6887 (Global_variables): Reduce scope where possible. | |
6888 (clear_frame, ins_del_lines, scroll_line): Use char_attr_normal as | |
6889 fill attribute. | |
6890 (hl_mode): Don't modify text attributes. | |
6891 (write_glyphs): Don't do anything if len <= 0. Use | |
6892 w32_face_attributes to get attributes for drawing. Write | |
6893 terminating codes using char_attr_normal. | |
6894 (reset_terminal_modes, set_terminal_modes): Turn off highlight. | |
6895 (update_begin, update_end): Likewise. | |
6896 (vga_stdcolor_name): New function. | |
6897 (initialize_w32_display): Remove char_attr_reverse and char_attr. | |
6898 (Fset_screen_color): Remove char_attr_reverse. | |
6899 | |
27506 | 6900 2000-01-29 Gerd Moellmann <gerd@gnu.org> |
6901 | |
6902 * xfns.c (xic_set_preeditarea): Take window parameter and | |
6903 window-relative pixel-positions. | |
6904 | |
6905 * xterm.c (x_display_cursor): Set XIC pre-edit area only if window | |
6906 is its frame's selected window. | |
6907 (xim_instantiate_callback): Likewise. | |
6908 | |
6909 * xfns.c (x_create_im): Removed. | |
6910 (DEFAULT_STYLE, DEFAULT_FONT): Removed. | |
6911 (supported_xim_styles): Renamed from supported_styles. | |
6912 (best_xim_style): Renamed from best_style. | |
6913 (create_frame_xic): Renamed from xic_create_frame. | |
6914 (free_frame_xic): Renamed from xic_destroy_frame. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6915 |
27506 | 6916 2000-01-29 INOUE Seiichiro <inoue@ainet.or.jp> |
6917 | |
6918 * xterm.c (XTread_socket) [HAVE_X_I18N]: If event is for none of | |
6919 our frames, call XFilterEvent with 2nd parameter `None'. | |
6920 (XTread_socket) <KeyPress> [HAVE_X_I18N]: Handle XmbLookupString | |
6921 returning XBufferOverflow. | |
6922 (XTread_socket) <ConfigureNotify> [HAVE_X_I18N]: Set XIC status | |
6923 area. | |
6924 (x_display_cursor) [HAVE_X_I18N]: Set XIC pre-edit area. | |
6925 (x_new_fontset) [HAVE_X_I18N]: Create XIC status area fontset. | |
6926 (xim_destroy_callback, xim_open_dpy, xim_instantiate_callback) | |
6927 (xim_initialize, xim_close) | |
6928 [HAVE_X_I18N && HAVE_X11R6]: New functions. | |
6929 (x_destroy_window) [HAVE_X_I18N]: Call xic_destroy_frame. | |
6930 (x_term_init) [HAVE_X_I18N]: Call xim_initialize. | |
6931 (x_delete_display) [HAVE_X_I18N]: Call xim_close. | |
6932 | |
6933 * xterm.h (struct x_display_info) [HAVE_X_I18N]: Add members `xim' | |
6934 and `xim_styles'. | |
6935 (struct x_output) [HAVE_X_I18N]: Remove member `xim', add | |
6936 `xic_style' and `xic_xfs'. | |
6937 (FRAME_MENUBAR_HEIGHT, FRAME_X_XIM, FRAME_X_XIM_STYLES) | |
6938 (FRAME_XIC_STYLE, FRAME_XIC_FONTSET): New macros. | |
6939 (FRAME_XIM): Removed. | |
6940 | |
6941 * xfns.c (supported_styles): New variable. | |
6942 (DEFAULT_STYLE, DEFAULT_FONT): New macros | |
6943 (xic_create_xfontset, best_style, xic_create_frame) | |
6944 (xic_destroy_frame, xic_set_preeditarea, xic_set_statusarea) | |
6945 (xic_set_xfontset): New functions. | |
6946 | |
27491 | 6947 2000-01-28 Dave Love <fx@gnu.org> |
6948 | |
6949 * s/irix6-5.h: Revert last change after change to irix5-0.h. | |
6950 | |
6951 * m/iris4d.h (C_SWITCH_MACHINE): Don't use -G0. | |
6952 | |
27473 | 6953 2000-01-28 Gerd Moellmann <gerd@gnu.org> |
6954 | |
27481 | 6955 * buffer.c (Fother_buffer): Don't call Fset_buffer_major_mode |
6956 for *scratch* if it already existed. | |
6957 | |
27473 | 6958 * emacs.c (USAGE): New macro. |
6959 (main): Use it to display usage information. | |
6960 | |
27464 | 6961 2000-01-27 Eli Zaretskii <eliz@is.elta.co.il> |
6962 | |
6963 Support for the menu-help feature: | |
6964 | |
6965 * msdos.h: Change prototypes of XMenuAddSelection and | |
6966 XMenuActivate. | |
6967 | |
6968 * msdos.c (IT_clear_end_of_line): Print the extent of the cleared | |
6969 part of the line to the termscript file. | |
6970 (IT_clear_to_end): Clear the entire line, not just its beginning. | |
6971 (menu_help_message, prev_menu_help_message): New variables. | |
6972 (IT_menu_make_room): Make room for the help_text member. | |
6973 (IT_menu_display): New argument disp_help; all callers changed. | |
6974 If disp_help is non-zero, store the help text of the active menu | |
6975 item in menu_help_message. | |
6976 (XMenuAddPane): Initialize the help_text member to NULL. | |
6977 (XMenuAddSelection): New argument help_text. Store it in the | |
6978 XMenu structure. | |
6979 (XMenuActivate): New argument help_callback. If the value of | |
6980 menu_help_message has changed since the last time, display the | |
6981 menu help message text while waiting for the mouse to move. Clear | |
6982 the echo area before exiting. | |
6983 (XMenuDestroy): Free the help_text member. | |
6984 | |
27459 | 6985 2000-01-27 Gerd Moellmann <gerd@gnu.org> |
6986 | |
6987 * xmenu.c (xmenu_show) [!USE_X_TOOLKIT]: Pass help to | |
6988 XMenuAddSelection. Pass help callback to XMenuActivate. | |
6989 (menu_help_callback) [!USE_X_TOOLKIT]: New function. | |
6990 | |
27453 | 6991 2000-01-27 Eli Zaretskii <eliz@is.elta.co.il> |
6992 | |
6993 * atimer.c (start_atimer) [!HAVE_SETITIMER]: Use EMACS_SET_SECS | |
6994 and EMACS_SET_USECS. | |
6995 | |
27443 | 6996 2000-01-26 Dave Love <fx@gnu.org> |
6997 | |
27446 | 6998 * editfns.c (Fchar_after, Fchar_before): Doc fix. |
6999 | |
27443 | 7000 * bytecode.c (Fbyte_code): Use {BEFORE,AFTER}_POTENTIAL_GC where |
7001 an error may be signalled. | |
7002 | |
27439 | 7003 2000-01-26 Gerd Moellmann <gerd@gnu.org> |
7004 | |
27441 | 7005 * s/irix6-5.h [__GNUC__ && __GNUC_MINOR__ >= 95]: Undef |
7006 LD_SWITCH_SYSTEM inherited from irix5-0.h. | |
7007 | |
27439 | 7008 * bytecode.c (Fbyte_code) [BYTE_CODE_SAFE]: Fix typo. |
7009 | |
27435 | 7010 2000-01-25 Gerd Moellmann <gerd@gnu.org> |
7011 | |
7012 * charset.c (Fstring): If there is a multibyte char among | |
7013 the args, always return a multibyte string. | |
7014 | |
27433 | 7015 2000-01-25 Gerd Moellmann <gerd@gnu.org> |
7016 | |
7017 * sysdep.c (sys_select): Turn atimers off and on instead of | |
7018 recording and restoring old alarm handler | |
7019 | |
7020 * process.c (toplevel): Include atimer.h. | |
7021 (create_process_1): Rewritten. | |
7022 (create_process): Use atimers instead of alarm. | |
7023 (wait_reading_process_input) [hpux]: Turn atimers off instead | |
7024 of turning off SIGALRM. | |
7025 (wait_reading_process_input): Turn off atimers instead off | |
7026 calling stop_polling. | |
7027 | |
7028 * emacs.c (main): Call init_atimer. | |
7029 | |
7030 * keyboard.c (toplevel): Include systime.h and atimer.h. | |
7031 (polling_for_input): Removed because unused. | |
7032 (input_poll_signal) [POLL_FOR_INPUT]: Removed. | |
7033 (poll_timer): New variable. | |
7034 (poll_for_input, poll_for_input_1): New functions. | |
7035 (start_polling, stop_polling): Rewritten. | |
7036 | |
7037 * keyboard.h (polling_for_input): Removed. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7038 |
27433 | 7039 * atimer.h, atimer.c: New files. |
7040 | |
7041 * Makefile.in (obj): Add atimer.o. | |
7042 (atimer.o): New target. | |
7043 | |
7044 * blockinput.h (pending_atimers): Add extern declaration. | |
7045 (UNBLOCK_INPUT): Rewritten. Handle pending atimers. | |
7046 | |
7047 * lisp.h (popup_activated_flag): Add extern declaration. | |
7048 | |
7049 * xmenu.c (popup_activated_flag): Make externally visible. | |
7050 (popup_activate_callback) [USE_MOTIF]: Increment | |
7051 popup_activated_flag. | |
7052 (popup_deactivate_callback) [USE_MOTIF]: Decrement it. | |
7053 | |
7054 * xterm.c (toplevel): Include atimer.h. | |
7055 (toolkit_scroll_bar_interaction): New variable. | |
7056 (Fxt_process_timeouts): Removed. | |
7057 (x_process_timeouts): New function. | |
7058 (xt_action_hook): Clear toolkit_scroll_bar_interaction. | |
7059 (x_send_scroll_bar_event): Set toolkit_scroll_bar_interaction. | |
7060 (x_make_frame_visible): Call poll_for_input_1 instead of | |
7061 input_poll_signal. Don't call alarm. | |
7062 (x_initialize): Install timer calling x_process_timeouts. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7063 |
27413 | 7064 2000-01-24 Dave Love <fx@gnu.org> |
7065 | |
27446 | 7066 * s/irix5-0.h: Don't set LD_SWITCH_SYSTEM -- we use unexelf now. |
27413 | 7067 Don't use -cckr -- apparently not now necessary. |
7068 | |
27410 | 7069 2000-01-24 Eli Zaretskii <eliz@is.elta.co.il> |
7070 | |
7071 * msdos.c (IT_menu_display): Truncate long menu lines at the right | |
7072 screen boundary. | |
7073 | |
27408 | 7074 2000-01-23 Jason Rumney <jasonr@gnu.org> |
7075 | |
7076 * w32fns.c (w32_defined_color): Apply gamma correction before | |
7077 trying to map to the palette. | |
7078 (w32_wnd_proc) [WM_ERASE_BACKGROUND]: Pass device context of frame | |
7079 to w32_clear_rect. | |
7080 | |
7081 * w32term.c (w32_fill_rect): Do not try to deal with NULL hdc | |
7082 here. Callers changed to always pass real device context. | |
7083 (w32_draw_bitmap): Likewise. | |
7084 (w32_get_glyph_overhangs): Likewise. | |
7085 (w32_draw_box_rect): Make use of s->hdc rather than getting a new | |
7086 one. | |
7087 (w32_set_vertical_scroll_bar): Pass correct HWND parameters to | |
7088 pfnSetScrollInfo and SetScrollRange. | |
7089 (x_get_char_face_and_encoding): Don't turn iso8859-1 characters | |
7090 back into MULE characters after decoding them. | |
7091 (x_get_glyph_face_and_encoding): Likewise. | |
7092 (w32_per_char_metric): Use GetCharExtentPoint32W as fallback when | |
7093 GetCharABCWidthsW fails, since this is defined on Windows 9x. | |
7094 (x_produce_glyphs): Calculate per char metrics for a character | |
7095 that we know exists in default font when font_not_found_p is true. | |
7096 | |
27393 | 7097 2000-01-22 Jason Rumney <jasonr@gnu.org> |
7098 | |
7099 * makefile.nt (intervals.obj, composite.obj): New modules. | |
7100 (composite.h): Added as dependency where appropriate. | |
7101 | |
7102 * w32gui.h (XGCValue): New struct for emulating X GCs. | |
7103 | |
7104 * w32term.h (XCharStruct): New struct for emulating X. | |
7105 | |
7106 * w32console.c (turn_on_face, turn_off_face): New functions. | |
7107 (change_line_highlight): New prototype for new redisplay. | |
7108 (write_glyphs): Support multibyte text. Support faces. | |
7109 | |
7110 * w32faces.c: Complete rewrite for new redisplay based on new | |
7111 xfaces.c. | |
7112 | |
7113 * w32fns.c: Use SELECTED_FRAME macro in place of selected_frame | |
7114 throughout. struct frame * in place of FRAME_PTR. | |
7115 Skeleton support for images, toolbars, tooltips from xfns.c. | |
7116 (Fx_create_frame): Use system default for default scroll bar | |
7117 width. | |
7118 (w32_get_arg): Renamed from x_get_arg. | |
7119 (Fx_file_dialog): New function. | |
7120 (w32_list_fonts): Check cache before asking system. | |
7121 (Vw32_enable_synthesized_fonts): New variable. | |
7122 (Vw32_enable_italics): Obsolete, removed. | |
7123 | |
7124 * w32inevt.c (get_frame, w32_console_mouse_position, mouse_moved_to): | |
7125 Use SELECTED_FRAME macro. | |
7126 | |
7127 * w32menu.c: Add skeleton support for help strings on menus. | |
7128 (add_menu_item): Native checkbox and radio support added, but not | |
7129 yet enabled due to bugs. | |
7130 (push_menu_item): Add parameters type, selection and help. | |
7131 Callers updated. | |
7132 Formatting changes to reduce unnecessary diffs with xmenu.c. | |
7133 | |
7134 * w32select.c (Fw32_set_clipboard_data): Update call to | |
7135 find_charset_in_str. | |
7136 | |
7137 * w32term.c: Complete rewrite for new redisplay based on new | |
7138 xterm.c with necessary sections merged back in from old w32term.c. | |
7139 | |
27702
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
7140 2000-01-21 Richard M. Stallman <rms@gnu.org> |
27390
10e53615a9d2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27372
diff
changeset
|
7141 |
10e53615a9d2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27372
diff
changeset
|
7142 * data.c (set_internal): Further fix in same criterion. |
10e53615a9d2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27372
diff
changeset
|
7143 |
27702
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
7144 2000-01-20 Richard M. Stallman <rms@gnu.org> |
27372
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
7145 |
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
7146 * data.c (set_internal): Fix the criteria for whether |
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
7147 to swap out the old cached binding. |
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
7148 |
27366 | 7149 2000-01-19 Dave Love <fx@gnu.org> |
7150 | |
7151 * lread.c: (syms_of_lread) [user-init-file]: Doc change. | |
7152 | |
27354 | 7153 2000-01-18 Kenichi Handa <handa@etl.go.jp> |
7154 | |
7155 * regex.c (re_compile_fastmap): While checking a range table for | |
7156 `charset', skip flag bits for a character class correctly. | |
7157 | |
27344 | 7158 2000-01-17 Gerd Moellmann <gerd@gnu.org> |
7159 | |
27347 | 7160 * m/news-risc.h (LD_SWITCH_MACHINE): Define differently for GCC. |
7161 | |
27344 | 7162 * xfns.c (x_window): Call lw_create_widget with new parameter |
7163 list. | |
7164 | |
7165 * widget.c (EmacsFrameSetCharSize): Change size of children first | |
7166 because of problems with main window geometry management under | |
7167 Lesstif. | |
7168 | |
7169 * xmenu.c (enum menu_item_idx): New enumeration replacing defines | |
7170 MENU_ITEMS_ITEM_.*. | |
7171 (MENU_ITEMS_ITEM_HELP): New enumerator. | |
7172 (push_menu_item): Add parameter HELP. Record help in menu_items. | |
7173 (single_menu_item, single_submenu, list_of_items): Call | |
7174 push_menu_item with new parameter. | |
7175 (single_submenu): Set help string in widget value. | |
7176 (menu_highlight_callback): New function. | |
7177 (set_frame_menubar): Call lw_create_widget with new | |
7178 parameter list. | |
7179 (xmenu_show, xdialog_show): Ditto. | |
7180 | |
27316 | 7181 2000-01-13 Gerd Moellmann <gerd@gnu.org> |
7182 | |
7183 * sound.c (Fplay_sound): Improve doc string. | |
7184 | |
27300
baffb2de5ce9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27299
diff
changeset
|
7185 2000-01-11 Richard M. Stallman <rms@gnu.org> |
27299
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7186 |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7187 * lisp.h (set_internal): Enter the new arg. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7188 |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7189 * eval.c (specbind): Record buffer-local variables specially, |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7190 indicating which buffer's binding was saved. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7191 (unbind_to): Restore buffer-local variables specially |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7192 in the proper buffer. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7193 |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7194 * data.c (set_internal): New arg BUF. |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7195 |
27299
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7196 * eval.c (specbind, unbind_to): Pass new arg to set_internal. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7197 * data.c (Fset): Pass new arg to set_internal. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7198 * bytecode.c (Fbyte_code): Pass new arg to set_internal. |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7199 |
27291 | 7200 2000-01-11 Gerd Moellmann <gerd@gnu.org> |
7201 | |
7202 * .gdbinit: Adapt to new strings. Add xbacktrace, xreload, | |
7203 xprintsym. | |
7204 | |
27300
baffb2de5ce9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27299
diff
changeset
|
7205 2000-01-11 Richard M. Stallman <rms@gnu.org> |
27283
f3eca57846e3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27276
diff
changeset
|
7206 |
f3eca57846e3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27276
diff
changeset
|
7207 * minibuf.c (Ftry_completion): Doc fix. |
f3eca57846e3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27276
diff
changeset
|
7208 |
27276 | 7209 2000-01-11 Gerd Moellmann <gerd@gnu.org> |
7210 | |
7211 * keyboard.c (Fclear_this_command_keys): Clear recent_keys | |
7212 vector, too. | |
7213 | |
27273 | 7214 2000-01-11 Andreas Schwab <schwab@suse.de> |
7215 | |
7216 * coding.c (code_convert_region): Initialize total_skip. | |
7217 | |
27244 | 7218 2000-01-08 Dave Love <fx@gnu.org> |
7219 | |
7220 * eval.c (Fuser_variable_p): Check customizability too. | |
7221 | |
27237 | 7222 2000-01-07 Gerd Moellmann <gerd@gnu.org> |
7223 | |
7224 * minibuf.c (Fcompleting_read): Doc fix. | |
7225 | |
27158 | 7226 2000-01-05 Gerd Moellmann <gerd@gnu.org> |
7227 | |
27171 | 7228 * s/freebsd.h (C_SWITCH_SYSTEM): Add -I /usr/local/include and |
7229 -L /usr/local/lib. | |
7230 | |
27158 | 7231 * xfns.c (x_create_im): New function to set IM and IC of a frame. |
7232 Check that input style is supported before trying to create an | |
7233 IC for it. | |
7234 (x_window): Call x_create_im. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7235 |
27143 | 7236 2000-01-04 Gerd Moellmann <gerd@gnu.org> |
7237 | |
27155 | 7238 * xfns.c (current_gif_memory_src): New variable. |
7239 (gif_load): Record the address of the current memory source | |
7240 in current_gif_memory_src. | |
7241 (gif_read_from_memory): Use current_gif_memory_src. | |
7242 | |
27150 | 7243 * systime.h (EMACS_GET_TIME, EMACS_ADD_TIME, EMACS_SUB_TIME): Give |
7244 macros statement form. | |
7245 | |
27147 | 7246 * sound.c (struct sound): Renamed from struct sound_file. |
7247 (struct sound): Add members `data' and `header_size'. | |
7248 (enum sound_attr): Add SOUND_DATA. | |
7249 (current_sound, current_sound_device): Variables renamed from | |
7250 sound_file and sound_device. | |
7251 (parse_sound): Parse :data. | |
7252 (parse_sound): Handle sound data in strings. | |
7253 (find_sound_type): Function renamed from find_sound_file_type. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7254 (wav_init, au_init): Fail if sound's header_size is smaller than |
27147 | 7255 needed header size. |
7256 (wav_play, au_play): Play sounds from string data. | |
7257 | |
27143 | 7258 * puresize.h (BASE_PURE_SIZE): Increase to 600000. |
7259 | |
7260 * lisp.h: Add prototype for allocate_string_data. | |
7261 | |
7262 * alloc.c (Fgarbage_collect): Return number of live and free | |
7263 strings. | |
7264 | |
7265 * alloc.c (mark_buffer): Remove code in #if 0. | |
7266 (gc_sweep): Ditto. | |
7267 (UNMARK_BALANCE_INTERVALS): Give the macro statement form. | |
7268 (strings_consed): New variable. | |
7269 (allocate_string): Set it. | |
7270 (syms_of_alloc): Add DEFVAR_INT for strings_consed. | |
7271 (Fmemory_use_counts): Return strings_consed. Use Flist. | |
7272 | |
7273 * alloc.c: General cleanup in comments etc. Remove conditional | |
7274 compilation for `standalone'. | |
7275 | |
7276 * lisp.h (struct Lisp_String): Make DATA member `unsigned char *'. | |
7277 | |
7278 * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): | |
7279 (GC_STRING_BYTES, GC_STRING_CHARS): New macros. | |
7280 (DONT_COPY_FLAG): Removed. | |
7281 (SBLOCK_SIZE, LARGE_STRING_BYTES): New macros. | |
7282 (struct sdata, struct sblock): New | |
7283 (struct string_block): Rewritten. | |
7284 (STRINGS_IN_STRING_BLOCK): New macro. | |
7285 (oldest_sblock, current_sblock, total_strings, total_free_strings) | |
7286 (large_sblocks, string_blocks, string_free_list): New variables. | |
7287 (NEXT_FREE_LISP_STRING, SDATA_OF_STRING, SDATA_SIZE): New macros. | |
7288 (init_strings): Rewritten. | |
7289 (allocate_string, allocate_string_data, compact_small_strings) | |
7290 (free_large_strings, sweep_strings): New functions. | |
7291 (STRING_BLOCK_SIZE, STRING_BLOCK_OUTSIZE) | |
7292 (struct string_block_head, current_string_block) | |
7293 (first_string_block, large_string_blocks, STRING_FULLSIZE) | |
7294 (STRING_PAD): Removed. | |
7295 (make_uninit_multibyte_string, make_pure_string): Rewritten. | |
7296 (Fgarbage_collect): Don't set mark bit in large strings. | |
7297 (mark_object): Mark strings differently. Mark symbol names | |
7298 differently. | |
7299 (survives_gc_p): Test marked strings differently. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7300 (gc_sweep): Sweep strings differently, unmark strings in |
27143 | 7301 symbol names. |
7302 (compact_strings): Removed. | |
7303 | |
27138 | 7304 2000-01-04 Eli Zaretskii <eliz@is.elta.co.il> |
7305 | |
7306 * xfaces.c (syms_of_xfaces): defsubr Scolor_gray_p and | |
7307 Scolor_supported_p even if HAVE_X_WINDOWS is not defined. | |
7308 | |
27127 | 7309 2000-01-04 Kenichi Handa <handa@etl.go.jp> |
7310 | |
27133 | 7311 * fileio.c (Finsert_file_contents): Signal error if visiting file |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7312 in a non-empty buffer. |
27133 | 7313 |
27130 | 7314 * term.c (encode_terminal_code): Fix the previous change. |
27127 | 7315 |
27122 | 7316 2000-01-03 Gerd Moellmann <gerd@gnu.org> |
7317 | |
7318 * xfaces.c (syms_of_xfaces): Change Sface_color_gray_p to | |
7319 Scolor_gray_p, Sface_color_supported_p to Scolor_supported_p. | |
7320 | |
7321 * s/hpux9.h (NO_EDITRES): Define even if HAVE_LIBXMU. | |
7322 | |
27119 | 7323 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il> |
7324 | |
7325 * xdisp.c (handle_single_display_prop) [HAVE_WINDOW_SYSTEM]: No | |
7326 need to test for MSDOS frames. | |
7327 | |
27116 | 7328 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il> |
7329 | |
7330 * dosfns.c (unspecified_colors): Remove. | |
7331 (msdos_stdcolor_idx): Use global variables unspecified_fg and | |
7332 unspecified_bg. | |
7333 (msdos_stdcolor_name): Return strings for unspecified fore- and | |
7334 back-ground colors. | |
7335 | |
7336 * xfaces.c (Qunspecified_fg, Qunspecified_bg): Remove. | |
27680 | 7337 (syms_of_xfaces): Remove their staticpro's. |
27116 | 7338 (tty_color_name): Return Lisp strings for unspecified fore- and |
7339 back-ground colors. | |
7340 (Finternal_set_lisp_face_attribute): Remove the special treatment | |
7341 for Qunspecified_{f,b}g. | |
7342 (realize_default_face): Replace Qunspecified_{f,b}g with a Lisp | |
7343 string. | |
7344 | |
27112 | 7345 2000-01-03 Gerd Moellmann <gerd@gnu.org> |
7346 | |
7347 * xdisp.c (reseat_at_next_visible_line_start): Position before | |
7348 newline only if ending up on a newline. | |
7349 (next_element_from_ellipsis): Return success. Handle case of | |
7350 displaying no ellipsis. Fix case of ellipsis defined in display | |
7351 table. | |
7352 (next_element_from_buffer): Return 0 if next_element_from_ellipsis | |
7353 returns 0. | |
7354 | |
27102 | 7355 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il> |
7356 | |
7357 * xfaces.c (Fcolor_gray_p): Renamed from face-color-gray-p. | |
7358 (Fcolor_supported_p): Renamed from face-color-supported-p. | |
7359 | |
27091 | 7360 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il> |
7361 | |
7362 * xfaces.c (tty_defined_color): Pass frame to tty-color-desc. The | |
7363 list of colors renamed to tty-defined-color-alist. | |
7364 (tty_color_name): Pass the frame to tty-color-by-index. | |
7365 (realize_tty_face): tty-color-alist is now a function which | |
7366 accepts the frame as argument. | |
7367 | |
7368 * term.c (Ftty_display_color_p): Accept an optional argument | |
7369 FRAME. | |
7370 | |
27086 | 7371 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il> |
7372 | |
7373 * term.c (insert_glyphs): Pass glyph, not &glyph, to | |
7374 encode_terminal_code. | |
7375 | |
27084 | 7376 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il> |
7377 | |
7378 * dispnew.c (mode_line_string): Support termcap frames as well. | |
7379 | |
27067 | 7380 2000-01-01 Gerd Moellmann <gerd@gnu.org> |
7381 | |
27082 | 7382 * syntax.c (Fforward_word): Undo previous change. |
7383 | |
7384 * editfns.c (Fconstrain_to_field): Don't constrain if | |
7385 inhibit-field-text-motion is non-nil. | |
7386 (Fline_beginning_position): Undo previous change. | |
7387 (Fline_end_position): Ditto. | |
7388 | |
7389 * syntax.c (Fforward_word): Notice field boundaries only if | |
7390 inhibit-field-text-motion is nil. | |
7391 | |
7392 * lisp.h: Add extern declaration for Vinhibit_field_text_motion. | |
7393 | |
7394 * editfns.c (Vinhibit_field_text_motion): New variable. | |
7395 (inhibit-field-text-motion): New DEFVAR_LISP. | |
7396 (Fline_beginning_position, Fline_end_position): Notice field | |
7397 boundaries only if inhibit-field-text-motion is nil. | |
7398 | |
27072 | 7399 * xfns.c (x_create_x_image_and_pixmap): Remove parameter FILE. |
7400 All calls adjusted. | |
7401 (x_build_heuristic_mask): Likewise. | |
7402 (xbm_load_image_from_file): Change error output. | |
7403 (xbm_load, xpm_load, pbm_load, png_load, jpeg_load, tiff_load) | |
7404 (gif_load, gs_load, x_kill_gs_process): Ditto. | |
7405 | |
27067 | 7406 * xfns.c (gif_load): Avoid sign extension and thus out of bounds |
7407 color indices when accessing raster pixels. | |
27070 | 7408 (gif_image_p, png_image_p, jpeg_image_p, tiff_image_p): Allow only |
7409 one of :file or :data. | |
7410 (enum pbm_keyword_index): Add PBM_DATA. | |
7411 (pbm_format): Add :data. | |
7412 (pbm_image_p): Allow either :file or :data. | |
7413 (pbm_read_file): New function. | |
7414 (pbm_scan_number): Rewritten to read from string. | |
7415 (pbm_load): Support :data. | |
27067 | 7416 |
30727 | 7417 See ChangeLog.8 for earlier changes. |
30994 | 7418 |
7419 ;; Local Variables: | |
31346 | 7420 ;; coding: iso-2022-7bit |
30994 | 7421 ;; End: |