Mercurial > emacs
annotate src/ChangeLog @ 32946:930b48afeedf
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 27 Oct 2000 10:59:20 +0000 |
parents | 7a425cdcc3b2 |
children | c3d1f9ca38a9 |
rev | line source |
---|---|
32946 | 1 2000-10-27 Gerd Moellmann <gerd@gnu.org> |
2 | |
3 * xterm.c (x_draw_glyph_string): Treat XA_UNDERLINE_POSITION as a | |
4 signed value, and use a default value computed from the font's | |
5 maximum descent. | |
6 | |
32941 | 7 2000-10-27 Miles Bader <miles@lsi.nec.co.jp> |
8 | |
9 * xterm.c (x_draw_glyph_string): Add a workaround so that fonts | |
10 that specify a negative underline position can still use underlines. | |
11 | |
12 * window.c (Fpos_visible_in_window_p): Make POS default to | |
13 WINDOW's point, not the current buffer's point. | |
14 | |
32934 | 15 2000-10-26 Dave Love <fx@gnu.org> |
16 | |
17 * s/sol2-5.h: Don't define SYSTEM_MALLOC so that we can find out | |
18 when it's necessary. | |
19 | |
32908 | 20 2000-10-26 Gerd Moellmann <gerd@gnu.org> |
21 | |
32929 | 22 * window.c (size_window): Compute size difference from sum of old |
23 child window sizes instead of from parent's size. | |
24 | |
32913 | 25 * xdisp.c (pos_visible_p): Change current buffer if necessary. |
26 Handle obscured lines at the top of the window. | |
27 | |
28 * frame.c (Fdelete_frame): Doc fix. Move running the hook | |
29 down after the last error condition check. | |
30 | |
32908 | 31 * frame.c (Fdelete_frame): Run delete-frame-hook. |
32 | |
32895 | 33 2000-10-26 Kenichi Handa <handa@etl.go.jp> |
34 | |
35 * coding.c (decode_coding): Fix previous change (check also | |
36 CODING_MODE_LAST_BLOCK). | |
37 | |
32890
ba002124ad94
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32879
diff
changeset
|
38 2000-10-25 Stefan Monnier <monnier@cs.yale.edu> |
ba002124ad94
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32879
diff
changeset
|
39 |
32893
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
40 * regex.c: More `unsigned char' -> `re_char' changes. |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
41 Also change several `int' into `re_wchar_t'. |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
42 (PATTERN_STACK_EMPTY, PUSH_PATTERN_OP, POP_PATTERN_OP): Remove. |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
43 (PUSH_FAILURE_POINTER): Don't cast any more. |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
44 (POP_FAILURE_REG_OR_COUNT): Remove the cast that strips `const'. |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
45 We want GCC to complain, since this piece of code makes |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
46 re_match non-reentrant, which *should* be fixed. |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
47 (GET_BUFFER_SPACE): Use size_t rather than unsigned long. |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
48 (EXTEND_BUFFER): Use RETALLOC. |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
49 (SET_LIST_BIT): Don't cast. |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
50 (re_wchar_t): New type. |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
51 (re_iswctype, re_wctype_to_bit): Make it crystal clear to GCC |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
52 that those two functions will always properly return. |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
53 (IMMEDIATE_QUIT_CHECK): Cast to void. |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
54 (analyse_first): Use recursion rather than an explicit stack. |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
55 (re_compile_fastmap): Can't fail anymore. |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
56 (re_search_2): Don't check re_compile_fastmap for failure. |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
57 (PUSH_NUMBER): Renamed from PUSH_FAILURE_COUNT. |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
58 Now also sets the new value (passed in a new argument). |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
59 (re_match_2_internal): Use it. |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
60 Also, use a new var `reg' of type size_t when looping through regs |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
61 rather than reuse the inappropriate `mcnt'. |
7306d81dd8bc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32890
diff
changeset
|
62 |
32890
ba002124ad94
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32879
diff
changeset
|
63 * keymap.c (where_is_cache, where_is_cache_keymaps): New vars. |
ba002124ad94
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32879
diff
changeset
|
64 (Fset_keymap_parent, store_in_keymap): Flush the where-is cache. |
ba002124ad94
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32879
diff
changeset
|
65 (where_is_internal): Renamed from Fwhere_is_internal. |
ba002124ad94
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32879
diff
changeset
|
66 Don't DEFUN any more. Arg `xkeymap' replaced by `keymaps'. |
ba002124ad94
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32879
diff
changeset
|
67 (Fwhere_is_internal): New function wrapping where_is_internal. |
ba002124ad94
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32879
diff
changeset
|
68 (where_is_internal_1): Handle the case where we're filling the cache. |
ba002124ad94
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32879
diff
changeset
|
69 (syms_of_keymap): Init and gcpro the where_is_cache(|_keymaps). |
ba002124ad94
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32879
diff
changeset
|
70 |
32879 | 71 2000-10-25 Miles Bader <miles@gnu.org> |
72 | |
73 * xdisp.c (pos_visible_p): Don't add `it.current_y' twice. | |
74 | |
32877 | 75 2000-10-25 Gerd Moellmann <gerd@gnu.org> |
76 | |
77 * window.c (pos_fully_visible_p): Removed. | |
78 (Fpos_visible_in_window_p): Use pos_visible_p to determine | |
79 if position is visible and/or fully visible. | |
80 | |
81 * lisp.h (pos_visible_p): Add prototype. | |
82 | |
83 * xdisp.c (pos_visible_p): New function. | |
84 | |
32863 | 85 2000-10-25 Kenichi Handa <handa@etl.go.jp> |
86 | |
87 * process.c (send_process): If OBJECT is t, it means that the data | |
88 is from C string, but we should encode it. Before calling | |
89 setup_raw_text_coding_system, be sure to flush out data by the | |
90 previous coding system. | |
91 | |
32851 | 92 2000-10-25 Miles Bader <miles@lsi.nec.co.jp> |
93 | |
32858 | 94 * buffer.c (overlays_at): Only let CHANGE_REQ inhibit an |
95 assignment of startpos to prev when startpos == pos. | |
96 | |
32851 | 97 * editfns.c (find_field): Set the field stickiness correctly from |
98 overlay fields. Use renamed `text_property_stickiness'. | |
99 (text_property_stickiness): Renamed from `char_property_stickiness'. | |
32854 | 100 Only check text properties, not overlays. |
32851 | 101 * textprop.c (get_char_property_and_overlay): New function. |
102 (Fget_char_property): Use it. | |
103 * intervals.h (get_char_property_and_overlay): Add declaration. | |
104 | |
32847
0e2ea6e876c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32845
diff
changeset
|
105 2000-10-25 Stefan Monnier <monnier@cs.yale.edu> |
0e2ea6e876c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32845
diff
changeset
|
106 |
0e2ea6e876c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32845
diff
changeset
|
107 * keymap.c: Use AREF, ASET and ASIZE macros. |
0e2ea6e876c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32845
diff
changeset
|
108 (Fmake_sparse_keymap): Docstring fix. |
0e2ea6e876c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32845
diff
changeset
|
109 (synkey): Remove. |
0e2ea6e876c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32845
diff
changeset
|
110 (shadow_lookup): Move up. |
0e2ea6e876c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32845
diff
changeset
|
111 Handle the case where lookup-key returns an integer. |
0e2ea6e876c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32845
diff
changeset
|
112 (where_is_internal_1): Drop arg `keymap'. Don't check shadowing. |
0e2ea6e876c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32845
diff
changeset
|
113 (where_is_internal_2): Adapt to fewer args for where_is_internal_1. |
0e2ea6e876c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32845
diff
changeset
|
114 (Fwhere_is_internal): Allow `xkeymap' to be a list of keymaps. |
0e2ea6e876c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32845
diff
changeset
|
115 Simplify/rewrite the keymap-finding code. |
0e2ea6e876c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32845
diff
changeset
|
116 Add check for command shadowing, using shadow_lookup. |
0e2ea6e876c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32845
diff
changeset
|
117 |
32845
e92097fd9144
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32838
diff
changeset
|
118 2000-10-24 Stefan Monnier <monnier@cs.yale.edu> |
e92097fd9144
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32838
diff
changeset
|
119 |
e92097fd9144
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32838
diff
changeset
|
120 * keymap.c (fix_submap_inheritance): Use get_keymap_1 on parent_entry |
e92097fd9144
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32838
diff
changeset
|
121 rather than KEYMAPP, to allow EQ to work correctly if parent_entry is |
e92097fd9144
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32838
diff
changeset
|
122 a symbol. |
e92097fd9144
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32838
diff
changeset
|
123 |
32827 | 124 2000-10-24 Andrew Innes <andrewi@gnu.org> |
125 | |
126 * dired.c (directory_files_internal_unwind): New function. | |
127 (directory_files_internal): Use it to ensure closedir is called | |
128 even if expand-file-name or file-attributes throw, eg. because of | |
129 a user interrupt. Also enable immediate_quit while calling | |
130 re_search, so that matching can be interrupted as well. | |
131 | |
32911
67ee3f53d728
Copy across changelog entries for regex.c.
Andrew Innes <andrewi@gnu.org>
parents:
32908
diff
changeset
|
132 2000-10-24 Andrew Innes <andrewi@gnu.org> |
67ee3f53d728
Copy across changelog entries for regex.c.
Andrew Innes <andrewi@gnu.org>
parents:
32908
diff
changeset
|
133 |
67ee3f53d728
Copy across changelog entries for regex.c.
Andrew Innes <andrewi@gnu.org>
parents:
32908
diff
changeset
|
134 * regex.c (IMMEDIATE_QUIT_CHECK): New macro, which does QUIT on |
67ee3f53d728
Copy across changelog entries for regex.c.
Andrew Innes <andrewi@gnu.org>
parents:
32908
diff
changeset
|
135 NT-Emacs only. |
67ee3f53d728
Copy across changelog entries for regex.c.
Andrew Innes <andrewi@gnu.org>
parents:
32908
diff
changeset
|
136 (re_match_2_internal): Use IMMEDIATE_QUIT_CHECK instead of QUIT, |
67ee3f53d728
Copy across changelog entries for regex.c.
Andrew Innes <andrewi@gnu.org>
parents:
32908
diff
changeset
|
137 so that re_search functions only quit when callers expect them to. |
67ee3f53d728
Copy across changelog entries for regex.c.
Andrew Innes <andrewi@gnu.org>
parents:
32908
diff
changeset
|
138 |
67ee3f53d728
Copy across changelog entries for regex.c.
Andrew Innes <andrewi@gnu.org>
parents:
32908
diff
changeset
|
139 2000-10-24 Kenichi Handa <handa@etl.go.jp> |
67ee3f53d728
Copy across changelog entries for regex.c.
Andrew Innes <andrewi@gnu.org>
parents:
32908
diff
changeset
|
140 |
67ee3f53d728
Copy across changelog entries for regex.c.
Andrew Innes <andrewi@gnu.org>
parents:
32908
diff
changeset
|
141 * regex.c (regex_compile): Change the way of handling a range from |
67ee3f53d728
Copy across changelog entries for regex.c.
Andrew Innes <andrewi@gnu.org>
parents:
32908
diff
changeset
|
142 a char less than 256 to a char not less than 256. |
67ee3f53d728
Copy across changelog entries for regex.c.
Andrew Innes <andrewi@gnu.org>
parents:
32908
diff
changeset
|
143 |
32815 | 144 2000-10-24 Gerd Moellmann <gerd@gnu.org> |
145 | |
32825 | 146 * window.c (size_window): Prevent setting window's width or |
147 height to a negative value (esp. with XSETFASTINT). | |
148 | |
32822 | 149 * gmalloc.c (state_protected_p, last_state_size, last_heapinfo) |
150 [GC_MALLOC_CHECK && GC_PROTECT_MALLOC_STATE]: New variables. | |
151 (protect_malloc_state) [GC_MALLOC_CHECK && | |
152 GC_PROTECT_MALLOC_STATE]: New function. | |
153 (PROTECT_MALLOC_STATE): New macro. | |
154 (__malloc_initialize, morecore, _malloc_internal) | |
155 (_free_internal) _realloc_internal): Use it to make _heapinfo | |
156 read-only outside of gmalloc. | |
157 | |
32819 | 158 * keymap.c: Update copyright. |
159 | |
32815 | 160 * .gdbinit (xbacktrace): Handle case that $bt->function isn't |
161 a symbol. | |
162 | |
32834 | 163 2000-10-24 Colin Walters <walters@cis.ohio-state.edu> |
164 | |
165 * filelock.c (unlock_all_files): Use unlock_file to expand each | |
166 buffer's file_truename before trying remove its lock file. | |
167 | |
32808 | 168 2000-10-24 Eli Zaretskii <eliz@is.elta.co.il> |
169 | |
170 * coding.c (decode_coding_emacs_mule): If coding->eol_type is CR | |
171 or CRLF, decode EOLs. | |
172 | |
32799 | 173 2000-10-24 Kenichi Handa <handa@etl.go.jp> |
174 | |
175 * window.c (Fdisplay_buffer): Fix doc. | |
176 | |
32793 | 177 2000-10-23 Jason Rumney <jasonr@gnu.org> |
178 | |
179 * fontset.c (syms_of_fontset) [WINDOWSNT]: Special case for | |
180 ASCII font of default fontset on Windows. | |
181 | |
182 * w32term.c (VCENTER_BASELINE_OFFSET): Bias division (see | |
183 xterm.c comment below). | |
184 | |
185 * w32fns.c (x_to_w32_font): Initialize dpi from dpyinfo->resy. | |
186 | |
32777 | 187 2000-10-23 Gerd Moellmann <gerd@gnu.org> |
188 | |
189 * xterm.c (x_connection_closed): Reset handling_signal. | |
190 | |
191 * alloc.c (emacs_blocked_free) [GC_MALLOC_CHECK]: Handle freeing | |
192 null. | |
193 | |
32774 | 194 2000-10-23 Miles Bader <miles@gnu.org> |
195 | |
196 * window.c (window_scroll_pixel_based, window_scroll_line_based): | |
197 Pass nil for FULLY argument to Fpos_visible_in_window_p to | |
198 maintain old behavior. | |
199 * minibuf.c (Fminibuffer_complete): Likewise. | |
200 | |
32755 | 201 2000-10-23 Miles Bader <miles@lsi.nec.co.jp> |
202 | |
203 * xterm.c (VCENTER_BASELINE_OFFSET): Bias the division by two, so | |
204 that when a font can't be exactly centered, it errs up rather than | |
205 down. | |
206 | |
32808 | 207 2000-10-23 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
|
208 |
401f661f11d4
2000-10-22 15:07:47 ShengHuo ZHU <zsh@cs.rochester.edu>
ShengHuo ZHU <zsh@cs.rochester.edu>
parents:
32752
diff
changeset
|
209 * 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
|
210 unibyte. |
401f661f11d4
2000-10-22 15:07:47 ShengHuo ZHU <zsh@cs.rochester.edu>
ShengHuo ZHU <zsh@cs.rochester.edu>
parents:
32752
diff
changeset
|
211 |
32752
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
212 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
|
213 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
214 * 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
|
215 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
216 * dispnew.c [macintosh]: Include macterm.h. |
32777 | 217 (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
|
218 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
219 * 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
|
220 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
|
221 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
|
222 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
|
223 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
224 * 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
|
225 default fontset to Monaco. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
226 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
227 * 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
|
228 NewMacWindow and DisposeMacWindow. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
229 (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
|
230 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
|
231 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
|
232 (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
|
233 (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
|
234 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
|
235 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
236 * 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
|
237 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
|
238 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
239 * 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
|
240 (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
|
241 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
|
242 (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
|
243 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
|
244 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
245 * 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
|
246 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
|
247 (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
|
248 (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
|
249 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
|
250 Vx_bitmap_file_path. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
251 (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
|
252 read_socket_hook. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
253 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
|
254 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
255 * 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
|
256 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
257 * 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
|
258 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
259 * 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
|
260 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
|
261 (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
|
262 is the selected frame. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
263 (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
|
264 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
|
265 (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
|
266 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
|
267 (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
|
268 |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
269 * 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
|
270 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
|
271 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
|
272 (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
|
273 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
|
274 (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
|
275 display_x_get_resource. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
276 (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
|
277 (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
|
278 ATTRS. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
279 (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
|
280 to Qt. |
923b8d6d8277
Initial check-in: changes for building Emacs under Mac OS.
Andrew Choi <akochoi@shaw.ca>
parents:
32740
diff
changeset
|
281 |
32740
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
282 2000-10-22 Stefan Monnier <monnier@cs.yale.edu> |
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
283 |
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
284 * 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
|
285 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
|
286 setting nil to nil. |
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
287 (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
|
288 doesn't obey autoload. |
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
289 |
32731 | 290 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il> |
291 | |
32740
fd9781e17343
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32731
diff
changeset
|
292 * msdos.c (dos_set_window_size): Update screen dimension variables. |
32731 | 293 |
32726 | 294 2000-10-21 Jason Rumney <jasonr@gnu.org> |
295 | |
296 * w32term.c (w32_cache_char_metrics): Double check that font is | |
297 really fixed pitch before trusting tmPitchAndFamily. | |
298 | |
32725 | 299 2000-10-21 Andrew Innes <andrewi@gnu.org> |
300 | |
301 * w32gui.h (w32_char_font_type): Move enum from w32term.c | |
302 | |
303 * w32term.h: Extern decl for w32_cache_char_metrics. | |
304 | |
305 * w32bdf.c (w32_load_bdf_font): Call w32_cache_char_metrics. | |
306 | |
307 * w32fns.c (w32_load_system_font): Call w32_cache_char_metrics. | |
308 (w32_unload_font): Free per_char array if present. | |
309 | |
310 * w32term.c (w32_per_char_metric): Remove HDC argument. Use | |
311 cached information in emulated XFontStruct to handle common cases | |
312 quickly. Do not allocate XCharStruct for return. | |
313 (w32_native_per_char_metric): New function. | |
314 (w32_bdf_per_char_metric): Fill in supplied XCharStruct instead of | |
315 allocating one. | |
316 (x_produce_glyphs): Don't get an HDC. Change calls to | |
317 w32_per_char_metric to match arg change above. Remove calls to | |
318 free results. | |
319 (w32_get_glyph_overhangs): Ditto. | |
320 (w32_cache_char_metrics): New function. | |
321 | |
322 * makefile.w32-in: Change .obj to .$(O) in all dependencies. | |
323 ($(BLD)/casefiddle.$(O)): Remove compile command. | |
324 ($(BLD)/gmalloc.$(O)): Remove compile command. | |
325 ($(BLD)/dispnew.obj): | |
326 ($(BLD)/keyboard.obj): | |
327 ($(BLD)/w32inevt.obj): | |
328 ($(BLD)/w32bdf.obj): | |
329 ($(BLD)/alloc.obj): | |
330 ($(BLD)/buffer.obj): | |
331 ($(BLD)/editfns.obj): | |
332 ($(BLD)/emacs.obj): | |
333 ($(BLD)/fileio.obj): | |
334 ($(BLD)/fns.obj): | |
335 ($(BLD)/indent.obj): | |
336 ($(BLD)/insdel.obj): | |
337 ($(BLD)/intervals.obj): | |
338 ($(BLD)/minibuf.obj): | |
339 ($(BLD)/print.obj): | |
340 ($(BLD)/scroll.obj): | |
341 ($(BLD)/sysdep.obj): | |
342 ($(BLD)/textprop.obj): | |
343 ($(BLD)/widget.obj): | |
344 ($(BLD)/xdisp.obj): Add dependency on w32gui.h. | |
345 ($(BLD)/term.obj): Add dependency on dispextern.h. | |
346 | |
347 * makefile.nt ($(BLD)\dispnew.obj): | |
348 ($(BLD)\keyboard.obj): | |
349 ($(BLD)\w32inevt.obj): | |
350 ($(BLD)\w32bdf.obj): | |
351 ($(BLD)\alloc.obj): | |
352 ($(BLD)\buffer.obj): | |
353 ($(BLD)\editfns.obj): | |
354 ($(BLD)\emacs.obj): | |
355 ($(BLD)\fileio.obj): | |
356 ($(BLD)\fns.obj): | |
357 ($(BLD)\indent.obj): | |
358 ($(BLD)\insdel.obj): | |
359 ($(BLD)\intervals.obj): | |
360 ($(BLD)\minibuf.obj): | |
361 ($(BLD)\print.obj): | |
362 ($(BLD)\scroll.obj): | |
363 ($(BLD)\sysdep.obj): | |
364 ($(BLD)\textprop.obj): | |
365 ($(BLD)\widget.obj): | |
366 ($(BLD)\xdisp.obj): Add dependency on w32gui.h. | |
367 ($(BLD)\term.obj): Add dependency on dispextern.h | |
368 | |
32715 | 369 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il> |
370 | |
371 * minibuf.c (Fminibuffer_complete): Call Fpos_visible_in_window_p | |
372 with an additional argument of Qt. | |
373 | |
32712 | 374 2000-10-21 Miles Bader <miles@gnu.org> |
375 | |
376 * window.c (pos_fully_visible_in_window_p): New function. | |
377 (Fpos_visible_in_window_p): Add FULLY argument. | |
378 Use pos_fully_visible_in_window_p. | |
379 (window_scroll_pixel_based, window_scroll_line_based): Update | |
380 calls to Fpos_visible_in_window_p. | |
381 * lisp.h (Fpos_visible_in_window_p): Update prototype | |
382 | |
32701 | 383 2000-10-20 Gerd Moellmann <gerd@gnu.org> |
384 | |
385 * alloc.c (toplevel): Conditionalize compilation of mem_* | |
386 functions differently. | |
387 | |
32698 | 388 2000-10-20 Jason Rumney <jasonr@gnu.org> |
389 | |
390 * alloc.c (toplevel): Move #ifdef GC_MARK_STACK back to above | |
391 mem_init where it used to be. mem_z etc not defined otherwise. | |
392 | |
32694 | 393 2000-10-20 Gerd Moellmann <gerd@gnu.org> |
394 | |
395 * alloc.c (toplevel) [SYSTEM_MALLOC || DOUG_LEA_MALLOC]: Undef | |
396 GC_MALLOC_CHECK. | |
397 (toplevel) [GC_MARK_STACK || GC_MALLOC_CHECK]: Move mem_node | |
398 structure definition and related variabled to the top of the file. | |
399 Include this code when GC_MALLOC_CHECK is defined. | |
400 (lisp_malloc, lisp_free) [GC_MALLOC_CHECK]: Don't | |
401 register/unregister allocated region. | |
402 (emacs_blocked_free) [GC_MALLOC_CHECK]: Check if freeing something | |
403 which isn't allocated. | |
404 (emacs_blocked_malloc) [GC_MALLOC_CHECK]: Check if returning | |
405 something which is already in use. | |
406 (emacs_blocked_realloc) [GC_MALLOC_CHECK]: Likewise. | |
407 (mem_insert) [GC_MALLOC_CHECK]: Use _malloc_internal. | |
408 (mem_delete) [GC_MALLOC_CHECK]: Use _free_internal. | |
409 (init_alloc_once) [GC_MALLOC_CHECK]: Call mem_init. | |
410 | |
411 * gmalloc.c (_malloc_internal) [GC_MALLOC_CHECK]: Use | |
412 _malloc_internal instead of malloc. | |
413 (_free_internal) [GC_MALLOC_CHECK]: Use _free_internal instead | |
414 of free. | |
415 | |
32688 | 416 2000-10-20 Andrew Innes <andrewi@gnu.org> |
417 | |
418 * strftime.c [!WINDOWSNT]: Don't apply Solaris 2.5 work-around on | |
419 Windows. | |
420 (my_strftime) <macro>: Don't use macro arg list when redefining as | |
421 _strftime_copytm. | |
422 (my_strftime) <function>: Supply 0 as ut argument. | |
423 | |
32673 | 424 2000-10-19 Jason Rumney <jasonr@altavista.net> |
425 | |
426 * w32console.c: Do not undef HAVE_WINDOW_SYSTEM before | |
427 including dispextern.h, as it stops faces from working. | |
428 | |
429 * w32fns.c (Fx_create_frame): Don't bother calling | |
430 face-set-after-frame-default since the caller does it for us | |
431 anyway. Clean up calls to x_get_arg to be consistent with X. | |
432 | |
433 * w32term.c (x_produce_glyphs): Handle | |
434 unibyte_display_via_language_environment correctly. | |
435 (w32_draw_box_rect): Fix the calculation of width and height. | |
436 | |
437 * w32menu.c (add_menu_item): Do not use MF_OWNERDRAW for titles, | |
438 as it has stopped working. | |
439 (Fx_popup_menu, Fx_popup_dialog): Check for tool-bar position like | |
440 menu-bar. | |
441 | |
32658 | 442 2000-10-19 Gerd Moellmann <gerd@gnu.org> |
443 | |
444 * eval.c (skip_debugger): Prevent a compiler warning. | |
445 (Fcondition_case): Likewise. | |
446 (Fbacktrace_frame): Use a null interactive spec. | |
447 | |
32644 | 448 2000-10-19 Kenichi Handa <handa@etl.go.jp> |
449 | |
450 * xterm.c (x_find_ccl_program): Check also fontp->full_name. | |
451 | |
32610 | 452 2000-10-18 Gerd Moellmann <gerd@gnu.org> |
453 | |
32630 | 454 * strftime.c: Sync with glibc, file version 1.78. |
455 (my_strftime) [HAVE_TZNAME]: Use `UTC' instead of `GMT' which | |
456 should no longer be used according to ISO 8601. | |
457 | |
32625 | 458 * keymap.c (access_keymap): If IDX has a meta prefix, and there's |
459 no map for meta_prefix_char, don't try to use it as a keymap. | |
460 Instead, if T_OK is non-zero, look up a default binding, if any, | |
461 otherwise, if T_OK is zero, return nil. | |
462 | |
32610 | 463 * xfns.c (x_to_xcolors, x_set_mouse_color, lookup_pixel_color) |
464 (x_to_xcolors, png_load): Use x_query_color. | |
465 | |
466 * xterm.c (x_color_cells, x_query_colors, x_query_color): New | |
467 functions. | |
468 (x_alloc_nearest_color): Use it to reduce calls to XQueryColors | |
469 which can be slow. | |
470 (x_copy_color, x_alloc_lighter_color): Likewise. | |
471 | |
472 * xterm.h (struct x_display_info): Add color_cells and ncolor_cells. | |
473 (x_query_color, x_query_colors): Add prototype. | |
474 | |
475 * alloc.c (allocate_string) [GC_CHECK_STRING_BYTES]: Call | |
476 check_string_bytes only if not noninteractive, increase count to 50. | |
477 | |
32602 | 478 2000-10-18 Miles Bader <miles@lsi.nec.co.jp> |
479 | |
480 * insdel.c (adjust_markers_for_delete): Handle before-insertion | |
481 markers correctly. | |
482 | |
32586 | 483 2000-10-17 Gerd Moellmann <gerd@gnu.org> |
484 | |
32595 | 485 * alloc.c (pure_bytes_used): Renamed from pureptr. |
486 (ALIGN): New macro. | |
487 (pure_alloc): New function. | |
488 (make_pure_string, pure_cons, make_pure_float, make_pure_vector): | |
489 Use it. | |
490 (Fpurecopy): Use PURE_POINTER_P. | |
491 | |
32593 | 492 * xdisp.c (try_cursor_movement): Use cursor_row_p also when |
493 PT has moved backward. | |
494 | |
32591 | 495 * xdisp.c (cursor_row_p): Take continued lines into account. |
496 | |
32587
b3918817f15f
(mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
Gerd Moellmann <gerd@gnu.org>
parents:
32586
diff
changeset
|
497 * 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
|
498 string's size_byte. |
b3918817f15f
(mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
Gerd Moellmann <gerd@gnu.org>
parents:
32586
diff
changeset
|
499 (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
|
500 (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
|
501 (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
|
502 string allocated. |
b3918817f15f
(mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
Gerd Moellmann <gerd@gnu.org>
parents:
32586
diff
changeset
|
503 |
32586 | 504 * xdisp.c (forward_to_next_line_start): Switch iterator's handling |
505 of selective display off while searching for the next line start. | |
506 | |
32561 | 507 2000-10-17 Kenichi Handa <handa@etl.go.jp> |
508 | |
509 * Makefile.in (term.o): Depend on dispextern.h. | |
510 | |
32560
aaa33e5bc33b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32556
diff
changeset
|
511 2000-10-16 Stefan Monnier <monnier@cs.yale.edu> |
aaa33e5bc33b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32556
diff
changeset
|
512 |
aaa33e5bc33b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32556
diff
changeset
|
513 * 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
|
514 |
32550 | 515 2000-10-16 Gerd Moellmann <gerd@gnu.org> |
516 | |
32555 | 517 * xdisp.c (set_iterator_to_next): Reset box start and end flags of |
518 the iterator at the beginning, so that they can be set later on, | |
32556 | 519 for instance in reseat_at_next_visible_line_start, without being |
32554 | 520 overwritten. |
521 | |
32550 | 522 * xfns.c (pbm_format): Add :foreground and :background keywords. |
523 (PBM_FOREGROUND, PBM_BACKGROUND): New enumerators. | |
32555 | 524 (xbm_load): Recognize foreground and background color |
32550 | 525 specifications. |
526 | |
32548 | 527 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il> |
528 | |
529 * dispextern.h (unspecified_fg, unspecified_bg): Declare. | |
530 | |
531 * dosfns.c (unspecified_fg, unspecified_bg): Remove extern | |
532 declaration. | |
533 | |
534 * msdos.c (IT_set_face): Compare highlighted face with the default | |
535 face, and invert colors if these faces' colors are identical. | |
536 (Fmsdos_remember_default_colors): Don't swap foreground and | |
537 background colors in initial_colors[]. | |
538 (IT_set_frame_parameters): Don't swap frame's foreground and | |
539 background pixels. If ALIST includes "(reverse . t)", swap | |
540 foreground-color and background-color properties in frame's | |
541 param_alist. If the original frame's param_alist doesn't specify | |
542 the colors, store unspecified-fg and unspecified-bg, reversed if | |
543 required. | |
544 | |
545 * frame.c (Fframe_parameters): If a tty's frame's param_alist says | |
546 the colors are unspecified and reversed, reverse fore- and back- | |
547 ground in the returned value. | |
548 (Fframe_parameter): Ditto. | |
549 | |
32535 | 550 2000-10-16 Gerd Moellmann <gerd@gnu.org> |
551 | |
32541 | 552 * xdisp.c (find_last_unchanged_at_beg_row): Renamed from |
553 get_last_unchanged_at_beg_row. | |
554 (find_first_unchanged_at_end_row): Renamed from | |
555 get_first_unchanged_at_end_row. | |
556 (find_first_unchanged_at_end_row): Convert assertions to | |
557 unconditional tests which abort. When looking for a row in | |
558 unchanged text, don't go further back than first_text_row. | |
559 | |
32535 | 560 * xdisp.c (try_scrolling) <cursor in scroll margin at the bottom>: |
561 Don't add in the last line's height when deciding if the new | |
562 position is below the scroll margin. | |
563 | |
32525 | 564 2000-10-16 Miles Bader <miles@gnu.org> |
32518 | 565 |
566 * editfns.c (Fconstrain_to_field): Check carefully for field | |
567 boundaries if either OLD_POS or NEW_POS has a non-nil field | |
568 property, even if they're the same. | |
569 | |
32512 | 570 2000-10-16 Kenichi Handa <handa@etl.go.jp> |
571 | |
572 * xterm.c (x_draw_box_rect): Fix the calculation of width and | |
573 height for XFillRectangle. | |
574 | |
32510
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
575 2000-10-15 Stefan Monnier <monnier@cs.yale.edu> |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
576 |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
577 * syntax.c (Fstring_to_syntax): New function extracted from |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
578 Fmodify_syntax_entry. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
579 (Fmodify_syntax_entry): Use it and document the ! and | fences. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
580 (skip_chars, Fforward_comment): Remove unused variables. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
581 (syms_of_syntax): Add defsubr for string-to-syntax. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
582 (describe_syntax): Add code for comment and string fences. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
583 |
32477
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
584 2000-10-14 Stefan Monnier <monnier@cs.yale.edu> |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
585 |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
586 * keymap.c (access_keymap): Add AUTOLOAD parameter. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
587 Do the meta->esc mapping. Call get_keyelt before returning. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
588 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
|
589 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
|
590 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
|
591 (Fkeymap_parent): Also handle the `inherit from symbol' case. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
592 (fix_submap_inheritance, Fdefine_key): Update call to access_keymap. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
593 (get_keyelt, Flookup_key): Update call to access_keymap. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
594 Remove the meta->esc mappings. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
595 (define_as_prefix): Delete old disabled code. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
596 (menu_item_p): New function. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
597 (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
|
598 * lisp.h (access_keymap): Update prototype. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
599 * keyboard.c (read_char, menu_bar_items, tool_bar_items): |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
600 Update call to access_keymap. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
601 (follow_key, read_key_sequence): Update calls to access_keymap. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
602 Remove the meta->esc mappings. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
603 |
32461 | 604 2000-10-13 Gerd Moellmann <gerd@gnu.org> |
605 | |
32469 | 606 * dispnew.c (direct_output_for_insert): Call set_iterator_to_next |
607 with additional argument. | |
608 | |
32461 | 609 * xdisp.c (cursor_row_p): New function. |
610 (try_cursor_movement, display_line): Use it. | |
611 | |
612 * xdisp.c (append_space): Also save/restore iterator's current | |
613 character and its length. | |
614 | |
615 * xdisp.c (init_from_display_pos): Add an assertion. | |
616 (handle_stop): Don't set iterator's add_overlay_start. | |
617 (handle_invisible_prop): Likewise. | |
618 (load_overlay_strings): If text under an overlay is invisible, | |
619 take both before- and after-strings into account when the iterator | |
620 is positioned either at the start or at the end of the overlay. | |
621 (forward_to_next_line_start): Rewritten. | |
622 (reseat_at_next_visible_line_start): Rewritten. | |
623 (set_iterator_to_next): Add parameter RESEAT_P. | |
624 | |
625 * dispextern.h (struct it): Remove member add_overlay_start. | |
626 (set_iterator_to_next): Change prototype. | |
627 | |
32442 | 628 2000-10-13 Kenichi Handa <handa@etl.go.jp> |
629 | |
630 * coding.c (code_convert_region): Be sure to initialize | |
631 coding->category_idx. | |
32444 | 632 (decode_coding_string): Set coding->src_multibyte and |
633 coding->dst_multibyte before using CODING_REQUIRE_DECODING. | |
634 (encode_coding_string): Set coding->src_multibyte and | |
635 coding->dst_multibyte before using CODING_REQUIRE_ENCODING. | |
32442 | 636 |
32434
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
637 2000-10-12 Stefan Monnier <monnier@cs.yale.edu> |
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
638 |
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
639 * xfns.c (Fx_create_frame): Don't bother calling |
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
640 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
|
641 |
32427 | 642 2000-10-12 Eli Zaretskii <eliz@is.elta.co.il> |
643 | |
644 * window.c (coordinates_in_window): Fix detection of vertical line | |
645 on character terminals. | |
646 | |
32421 | 647 2000-10-12 Gerd Moellmann <gerd@gnu.org> |
648 | |
649 * editfns.c (save_excursion_save): Additionally record the | |
650 selected window. | |
651 (save_excursion_restore): If buffer was visible in a window, and a | |
652 different window was selected, and the old selected window is | |
653 still live, restore point in that window. | |
654 | |
32397 | 655 2000-10-12 Kenichi Handa <handa@etl.go.jp> |
656 | |
32400 | 657 * xterm.c (x_produce_glyphs): Handle |
658 unibyte_display_via_language_environment correctly. | |
659 | |
32398 | 660 * regex.c (regex_compile): Change the way of handling a range from |
661 unibyte char to multibyte char. | |
662 | |
663 * syntax.c (skip_chars): Change the way of handling a range from | |
664 unibyte char to multibyte char. | |
665 | |
32397 | 666 * process.c (read_process_output): Cancel previous change. |
667 | |
32381 | 668 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il> |
669 | |
32388 | 670 * search.c (Fsearch_backward, Fsearch_forward): Doc fix. |
671 | |
32381 | 672 * charset.c (Ffind_charset_string): Doc fix. |
673 (Ffind_charset_region): Doc fix. | |
674 | |
32369 | 675 2000-10-11 Kenichi Handa <handa@mule.m17n.org> |
676 | |
32370 | 677 * process.c (read_process_output): Fix previous change. Adjust |
678 multibyteness of text to insert in a buffer by | |
32372 | 679 string_make_unibyte/multibyte instead of |
32370 | 680 Fstring_as_unibyte/multibyte. |
32369 | 681 |
32361 | 682 2000-10-10 Andreas Schwab <schwab@suse.de> |
683 | |
684 * alloc.c (mark_object): Remove all workarounds installed on | |
685 1993-08-08. | |
686 | |
32352 | 687 2000-10-10 Kenichi Handa <handa@etl.go.jp> |
688 | |
689 * fns.c (READ_QUADRUPLET_BYTE): Set *NCHARS_RETURN before | |
690 returning. | |
691 (base64_encode_1): Make it work for a text of multibyte form. | |
692 (Fbase64_decode_region): Allocate sufficient memory for multibyte | |
693 case. Don't call str_to_multibyte because base64_decode_1 | |
694 produces correct multibyte form for eight-bit codes. | |
695 (Fbase64_decode_string): Adjusted for the change of | |
696 base64_decode_1. | |
697 (base64_decode_1): New args MULTIBYTE and NCHARS_RETURN. If | |
698 MULTIBYTE is nonzero, produce correct multibyte form for eight-bit | |
699 codes. | |
700 | |
701 * charset.h (CHAR_STRING): Optimized for single byte characters. | |
702 | |
32342 | 703 2000-10-09 Andreas Schwab <schwab@suse.de> |
704 | |
705 * process.c (Fopen_network_stream) [HAVE_GETADDRINFO]: Reset S to | |
706 -1 after socket is closed, to fall through to error processing. | |
707 | |
32336 | 708 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il> |
709 | |
710 * msdos.c (IT_set_frame_parameters): Don't initialize Lisp_Object | |
32381 | 711 variables. If ALIST includes foreground-color or |
32336 | 712 background-color, change also the colors of the default face for |
713 this frame. | |
714 | |
32273 | 715 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il> |
716 | |
717 * msdos.c (top-level) <Qbackground_color, Qforeground_color>: Make | |
718 them extern (they are defined on xfaces.c). | |
719 (syms_of_msdos): Don't intern and don't staticpro | |
720 Qbackground_color and Qforeground_color. | |
721 | |
32255 | 722 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il> |
723 | |
724 * frame.c (Fframe_parameter): For non-windowed frames, if | |
725 f->param_alist says foreground or background color is unspecified, | |
726 call tty_color_name to return the color name computed from the | |
727 frame's current colors. | |
728 | |
32238 | 729 2000-10-06 Dave Love <fx@gnu.org> |
730 | |
731 * terminfo.c (ospeed): Don't declare. | |
732 | |
733 * sysdep.c: Don't include string.h. | |
734 (h_errno): Declare conditional also on TRY_AGAIN. | |
735 | |
736 * charset.c (Ffind_charset_string): Doc fix. | |
737 | |
738 * fns.c (Fbase64_encode_region, Fbase64_encode_string) | |
739 (Fbase64_decode_region, Fbase64_decode_string): More explicit | |
740 error messages. | |
741 | |
32180 | 742 2000-10-05 Dave Love <fx@gnu.org> |
743 | |
744 * xmenu.c (Fx_popup_menu, Fx_popup_dialog): Check for tool-bar | |
745 position like menu-bar. | |
746 | |
32177 | 747 2000-10-05 Gerd Moellmann <gerd@gnu.org> |
748 | |
749 * keyboard.c (Frecursive_edit): Make sure redisplay can happen. | |
750 | |
751 * xdisp.c (handle_single_display_prop): Use safe_call1. | |
752 (safe_call): Renamed from call_function. | |
753 (safe_call1): New function. | |
754 (handle_fontified_prop): Use safe_call1 instead of call1. | |
755 (safe_eval): Renamed from eval_form. | |
756 (safe_eval_handler): Renamed from eval_handler. | |
757 (handle_single_display_prop, display_mode_element): Use safe_eval | |
758 instead of eval_form. | |
759 | |
760 * xfaces.c (merge_face_heights): Use safe_call instead of | |
761 call_function. | |
762 | |
763 * keyboard.c (show_help_echo): Use safe_call instead of | |
764 call_function; use safe_eval instead of eval_form. | |
765 | |
766 * lisp.h (safe_call): Renamed from call_function. | |
767 (safe_eval): Renamed from eval_form. | |
768 (safe_call1): Add prototype. | |
769 | |
32165 | 770 2000-10-05 Miles Bader <miles@lsi.nec.co.jp> |
771 | |
772 * xfns.c (image_ascent): Rearrange ascent calculation for the | |
773 has-a-font case. | |
774 | |
32146
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
775 2000-10-04 Stefan Monnier <monnier@cs.yale.edu> |
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
776 |
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
777 * 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
|
778 (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
|
779 |
32142 | 780 2000-10-04 Gerd Moellmann <gerd@gnu.org> |
781 | |
782 * keyboard.c (update_menu_bindings): New variable. | |
783 (parse_menu_item): Use AREF. If update_menu_bindings | |
784 is 0, don't update menu bindings. | |
785 (syms_of_keyboard): New Lisp variable `update-menu-bindings'. | |
786 | |
32100 | 787 2000-10-03 Eli Zaretskii <eliz@is.elta.co.il> |
788 | |
789 * alloc.c (Fgarbage_collect): Prevent compiler warning for a call | |
790 to `mark_object'. | |
791 | |
32088
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
792 2000-10-02 Stefan Monnier <monnier@cs.yale.edu> |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
793 |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
794 * syntax.c (forw_comment): Match nestedness of ender/starter. |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
795 (Fforward_comment): Treat an unmatched \n comment-ender as whitespace. |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
796 (prev_char_comstart_first): Remove. |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
797 (back_comment): Check two-char comment markers more carefully |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
798 to better handle overlapping cases like *//* or /* */* */ ... |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
799 Match nestedness of ender/starter. |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
800 |
32075 | 801 2000-10-02 Dave Love <fx@gnu.org> |
802 | |
803 * config.in (HAVE_GAI_STRERROR): Add undef. | |
804 | |
805 * process.c (Fopen_network_stream): Use it. | |
806 | |
807 * m/alpha.h (NO_REMAP): Don't define. | |
808 | |
32068 | 809 2000-10-02 Gerd Moellmann <gerd@gnu.org> |
810 | |
811 * lisp.h (wrong_type_argument): Remove NO_RETURN, the function can | |
812 return with a string converted to an integer or vice versa when | |
813 Vmocklisp_arguments is t. | |
814 (Fsignal): Likewise. The function can return for `quit'. | |
815 (struct gcpro): Declare member `var' to point to a volatile | |
816 Lisp_Object. | |
817 | |
818 * eval.c (error): Prevent compiler warning. | |
819 | |
32039
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
820 2000-09-30 Stefan Monnier <monnier@cs.yale.edu> |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
821 |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
822 * keymap.c (keymap_memberp): New function. |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
823 (Fset_keymap_parent): Use it. |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
824 (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
|
825 Use keymap_memberp to avoid creating cycles. |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
826 (access_keymap): Use KEYMAPP. |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
827 |
32034 | 828 2000-09-30 Gerd Moellmann <gerd@gnu.org> |
829 | |
830 * process.c (Fopen_network_stream) [HAVE_GETADDRINFO]: Use | |
32068 | 831 gai_strerror. Make sure xerrno is set if connect fails. Improve |
832 error recovery. | |
32034 | 833 |
32021 | 834 2000-09-29 Jason Rumney <jasonr@gnu.org> |
835 | |
836 * w32term.c (w32_char_font_type, w32_encode_char) | |
837 (x_produce_glyphs): Distinguish single and multibyte BDF fonts. | |
838 (w32_bdf_per_char_metric): New function. | |
839 (w32_per_char_metric): Use it. | |
840 (x_draw_glyph_string_background): Always draw background for BDF | |
841 glyphs. | |
842 | |
843 * w32bdf.h (glyph_struct, cache_bitmap): Cache bitmap data, not | |
844 GDI object which is a scarce resource. | |
845 | |
846 * w32bdf.c (search_file_line): Fix skipping of whitespace. | |
847 (get_quoted_string): Fix limit on memchr search. | |
848 (set_bdf_font_info): Use unsigned chars. Negate yoffset. | |
849 (w32_init_bdf_font): Initialize codepoint and bitmap heaps. | |
850 (w32_free_bdf_font): Free bitmaps and codepoints on heaps. | |
851 (get_cached_font_char, cache_char_offset): Use macro | |
852 BDF_CODEPOINT_RANGE_COVER_P. | |
853 (cache_char_offset): Use HeapAlloc to allocate codepoints on own heap. | |
854 (clear_cached_bitmap_slots): New function. | |
855 (GET_HEX_VALUE): G-Z, g-z are not hex. | |
856 (w32_get_bdf_glyph): Convert to DIB format. Return bytes read. | |
857 (get_bitmap_with_cache): Use new cache implementation. | |
858 (create_offscreen_bitmap): New function. | |
859 (w32_BDF_TextOut): Use it. Draw glyphs as DIBs. | |
860 | |
861 * w32term.c (x_produce_glyphs): If the distance from the current | |
862 position to the next tab stop is less than a canonical character | |
863 width, use the tab stop after that. | |
864 (x_draw_glyphs): Handle case START and END are out of bounds more | |
865 carefully. | |
866 (x_clear_mouse_face): Block/unblock input. | |
867 (x_display_and_set_cursor): Don't show a hollow box cursor for | |
868 buffers whose cursor_type is nil. | |
869 | |
32001 | 870 2000-09-29 Gerd Moellmann <gerd@gnu.org> |
871 | |
872 * xfns.c (x_set_tool_bar_lines): Clear frame when tool bar | |
873 disappears. | |
874 | |
875 * dispextern.h (updating_frame): Declare extern. | |
876 | |
31998 | 877 2000-09-29 Andreas Schwab <schwab@suse.de> |
878 | |
879 * m/ia64.h: Remove hack of not prototyping bcopy, etc. | |
880 | |
31992 | 881 2000-09-29 Gerd Moellmann <gerd@gnu.org> |
882 | |
31996 | 883 * keyboard.c (menu_bar_one_keymap): If KEYMAP is a symbol, |
884 use its function definition. | |
885 (tool_bar_items): Likewise. | |
886 | |
31992 | 887 * lisp.h (fatal): Declare NO_RETURN. |
888 | |
31988 | 889 2000-09-29 Kenichi Handa <handa@etl.go.jp> |
890 | |
891 * keymap.c: Remove the line "#undef NULL". | |
892 | |
31953 | 893 2000-09-28 Gerd Moellmann <gerd@gnu.org> |
894 | |
895 * xterm.c (x_make_frame_visible): Try harder to make the frame | |
896 visible. | |
897 | |
31946 | 898 2000-09-28 Dave Love <fx@gnu.org> |
899 | |
31959 | 900 * s/osf5-0.h: Define USE_MMAP_FOR_BUFFERS, not REL_ALLOC_MMAP. |
901 | |
32002 | 902 * s/sunos413.h (USE_MMAP_FOR_BUFFERS): Define. |
903 | |
904 * .gdbinit (xreload): Note its need on GNU/Linux. | |
905 | |
31946 | 906 * m/alpha.h (XUINT) [REL_ALLOC && _MALLOC_INTERNAL]: Don't declare |
907 r_alloc, r_alloc_free. | |
908 | |
31943 | 909 2000-09-28 Kenichi Handa <handa@etl.go.jp> |
910 | |
911 * syntax.c (skip_chars): Handle negation correctly. | |
912 | |
31936 | 913 2000-09-27 Gerd Moellmann <gerd@gnu.org> |
914 | |
31941 | 915 * xfaces.c (realize_default_face): Call set_lface_from_font_name |
916 with non-zero FORCE_P argument. | |
917 | |
31936 | 918 * dispnew.c (adjust_glyph_matrix, enable_glyph_matrix_rows): |
919 Add assertions. | |
920 | |
921 * xdisp.c (window_box_height): Add an assertion. | |
922 | |
923 * xfns.c (x_set_tool_bar_lines): Don't use more lines for the | |
924 tool-bar than is available. | |
925 (x_change_window_heights): Renamed from x_set_menu_bar_lines_1. | |
926 | |
31926 | 927 2000-09-27 Dave Love <fx@gnu.org> |
928 | |
31946 | 929 * s/irix6-5.h: Now works 64-bit. Tidied. |
31926 | 930 |
31898 | 931 2000-09-26 Gerd Moellmann <gerd@gnu.org> |
932 | |
31908 | 933 * lisp.h (XINT) [EXPLICIT_SIGN_EXTEND]: Use BITS_PER_EMACS_INT |
934 instead of BITS_PER_INT. | |
935 (XINT, XUINT) [NO_UNION_TYPE]: Cast result to EMACS_INT and | |
936 EMACS_UINT, respectively. | |
937 (NO_UNION_TYPE) [USE_LISP_UNION_TYPE]: Undefine. | |
938 | |
939 * m/sparc.h (BITS_PER_EMACS_INT) [__arch64__]: Don't define. | |
940 | |
941 * unexelf.c (ELFSIZE) [__NetBSD__ && __sparc_v9__]: Define to 64. | |
942 | |
31904 | 943 * window.c (freeze_window_starts): Construct last argument for |
944 foreach_window differently. | |
945 | |
946 * xfns.c (x_decode_color): Don't return a Lisp_Object. | |
947 | |
948 * lisp.h (union Lisp_Object) [!NO_UNION_TYPE]: Use EMACS_INT and | |
949 EMACS_UINT instead of `int' and `unsigned int'. | |
950 (XSET) [EXPLICIT_SIGN_EXTEND]: Use EMACS_INT instead of `int'. | |
951 | |
952 * frame.h (struct frame): Make the `nothing' member of union | |
953 output_data an EMACS_INT. | |
954 | |
31898 | 955 * alloc.c (GC_CHECK_STRING_BYTES): Temporarily define, for bug |
956 hunting. | |
957 (struct sdata) [GC_CHECK_STRING_BYTES]: Always record the string's | |
958 size in the sdata structure. | |
959 (SDATA_NBYTES, SDATA_DATA): New macros. | |
960 (SDATA_OF_STRING, SDATA_SIZE) [GC_CHECK_STRING_BYTES]: Define | |
961 differently for the different layout of the sdata structure. | |
962 (allocate_string_data) [GC_CHECK_STRING_BYTES]: Record string size | |
963 in sdata. | |
964 (sweep_strings, compact_small_strings) [GC_CHECK_STRING_BYTES]: | |
965 Check that size recorded in the string size and size recorded in | |
966 the sdata structure agree. | |
967 | |
31893 | 968 2000-09-25 Dave Love <fx@gnu.org> |
969 | |
970 * buffer.c: Include stdio.h. | |
971 | |
972 Partly suggested by Eduardo Horvath <eeh@netbsd.org>. | |
973 | |
974 * ralloc.c (__malloc_extra_blocks): Declare as __malloc_size_t. | |
975 | |
976 * alloc.c (__malloc_size_t) [DOUG_LEA_MALLOC]: Don't redefine it. | |
977 (__malloc_size_t) [!DOUG_LEA_MALLOC]: Define unconditionally as | |
978 size_t. | |
979 (__malloc_extra_blocks): Declare as __malloc_size_t. | |
980 | |
31867 | 981 2000-09-25 Gerd Moellmann <gerd@gnu.org> |
982 | |
31890 | 983 * alloc.c (mark_image): Use GC_NILP instead of NILP. |
984 | |
31881 | 985 * keyboard.c (show_help_echo): Set help_echo_showing_p. |
986 (read_char): If help-echo is showing, preserve the echo area | |
987 when redisplaying. | |
988 | |
989 * xdisp.c (help_echo_showing_p): New variable. | |
990 (set_message): Reset it to 0. | |
991 (init_xdisp): Initialize help_echo_showing_p. | |
992 | |
993 * dispextern.h (help_echo_showing_p): Declare extern. | |
994 | |
995 * config.in: Fix typo in __GNUC_MINOR__. | |
996 | |
997 * keyboard.h (quit_throw_to_read_char): Declare NO_RETURN. | |
998 | |
31872 | 999 * s/freebsd.h (POSIX_SIGNALS): Define. |
1000 | |
31867 | 1001 * xterm.c (x_clear_mouse_face): Block/unblock input. |
1002 | |
31866 | 1003 2000-09-24 Dave Love <fx@gnu.org> |
1004 | |
1005 * fns.c (base64_encode_1): Fix last change. | |
1006 | |
31851 | 1007 2000-09-22 Gerd Moellmann <gerd@gnu.org> |
1008 | |
1009 * dispnew.c (enable_glyph_matrix_rows): Remove xasserts. | |
1010 | |
1011 * xdisp.c (try_window_reusing_current_matrix): More fixes | |
1012 for the case window has a header-line. | |
1013 | |
31843 | 1014 2000-09-22 Dave Love <fx@gnu.org> |
1015 | |
31848 | 1016 * xdisp.c (syms_of_xdisp): Defvar Vmenu_bar_update_hook to provide |
1017 a doc string. | |
1018 | |
1019 * xterm.c [SOLARIS2]: Remove redundant include of string.h. | |
1020 | |
31843 | 1021 * fns.c (Fstring_as_unibyte, Fstring_as_multibyte): Doc fix. |
1022 | |
31805 | 1023 2000-09-21 Gerd Moellmann <gerd@gnu.org> |
1024 | |
31848 | 1025 * config.in (NO_RETURN): Define as `__attribute__((__noreturn__))' |
31834 | 1026 for GCC >= 2.5. |
1027 | |
1028 * lisp.h (wrong_type_argument, Fthrow, Fsignal, error): Declare | |
1029 NO_RETURN. | |
1030 | |
31831 | 1031 * window.c, term.c, xmenu.c, xrdb.c, emacs.c, macros.c, |
1032 * keymap.c, insdel.c, marker.c, minibuf.c, fileio.c, dired.c, | |
1033 * indent.c, search.c, alloc.c, data.c: Avoid some more compiler | |
1034 warnings. | |
1035 | |
1036 * marker.c (byte_char_debug_check): Return void. | |
1037 | |
31827 | 1038 * xfns.c (Fx_create_frame): Set default frame parameter value |
1039 for tool-bar-lines to 1. | |
1040 | |
1041 * dispnew.c (scrolling_window): Compare y-positions of rows | |
1042 equal at the start. Some simplification. | |
1043 | |
1044 * xdisp.c (try_window_reusing_current_matrix): Fix computation of | |
1045 reused rows' y-position in the case window has a header-line, and | |
1046 new window start is greater than old window start. | |
1047 | |
31807 | 1048 * process.c (process_sent_to): New variable. |
1049 (send_process): Workaround for a crash on sparc-sun-solaris-2.6 | |
1050 with GCC 2.95.2 caused by a parameter being clobbered by longjmp. | |
1051 Declare more parameters volatile. | |
1052 | |
31805 | 1053 * lread.c (Vrecursive_load_depth_limit): New variable. |
1054 (Fload): Check recursive loads whose recursion depth exceeds | |
1055 Vrecursive_load_depth_limit. | |
1056 (syms_of_lread): DERFAR_LISP recursive-load-depth-limit. | |
1057 | |
31763 | 1058 2000-09-20 Gerd Moellmann <gerd@gnu.org> |
1059 | |
31776 | 1060 * fileio.c (Fread_file_name): Doc fix. |
1061 | |
1062 * editfns.c (Fmessage_or_box): Doc fix. | |
1063 | |
1064 * fns.c (Fy_or_n_p, Fyes_or_no_p): Doc fix. | |
1065 | |
31770 | 1066 * xfns.c (xbm_scan): Allow C-style comments. |
1067 | |
31763 | 1068 * xfns.c (xpm_init_color_cache) [ALLOC_XPM_COLORS]: If color |
1069 symbols are specified, add color translations to the cache. | |
1070 (xpm_color_bucket, xpm_cache_color) [ALLOC_XPM_COLORS]: New | |
1071 functions. | |
1072 (xpm_lookup_color) [ALLOC_XPM_COLORS]: Use xpm_color_bucket and | |
1073 xpm_cache_color. | |
1074 (xpm_load) [ALLOC_XPM_COLORS]: Pass frame and XPM attributes | |
1075 structures to xpm_init_color_cache. | |
1076 | |
31733 | 1077 2000-09-19 Gerd Moellmann <gerd@gnu.org> |
1078 | |
1079 * dispnew.c (update_window_line): Make sure to always draw | |
1080 mode-lines. | |
1081 | |
31713 | 1082 2000-09-19 Andrew Innes <andrewi@gnu.org> |
1083 | |
1084 * makefile.nt (bootstrap-emacs): Don't change directory. | |
1085 | |
31701 | 1086 2000-09-19 Kenichi Handa <handa@etl.go.jp> |
1087 | |
31704 | 1088 * charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Fix previous change. |
1089 | |
31701 | 1090 * ccl.c (Fccl_execute_on_string): Make multibyte string correctly. |
1091 If output buffer is too small, signal an appropriated error. | |
1092 | |
31698 | 1093 2000-09-18 Dave Love <fx@gnu.org> |
1094 | |
1095 * keyboard.c (menu_bar_items, tool_bar_items) | |
1096 (current_active_maps): Remove redundant get_local_map call. | |
1097 | |
31687 | 1098 2000-09-18 Gerd Moellmann <gerd@gnu.org> |
1099 | |
31700 | 1100 * xterm.c (x_display_and_set_cursor): Don't show a hollow box |
1101 cursor for buffers whose cursor_type is nil. | |
1102 | |
31696 | 1103 * xterm.c (x_draw_image_glyph_string): Remove a comment describing |
1104 a feature to implement that is already implemented. | |
1105 (note_mouse_highlight, x_find_ccl_program): Avoid some compiler | |
1106 warnings. | |
1107 | |
1108 * xfns.c (x_clear_image_1): New function. | |
1109 (x_clear_image): Use it. | |
1110 (x_from_xcolors): Use x_clear_image_1; don't free the image's | |
1111 mask. | |
1112 | |
31692 | 1113 * dispnew.c (update_window): Move test for invisible lines |
1114 at the top to update_window_line. | |
1115 (update_window_line): Handle invisible lines here. | |
1116 | |
31689 | 1117 * xfns.c (clear_image_cache): Clear current matrices of all |
1118 frames sharing an image cache. Block input while freeing | |
1119 images. Fix timestamp comparison. | |
1120 (x_clear_image): Also free the mask. | |
1121 | |
31687 | 1122 * xfns.c (lookup_image): Block input while loading the image so |
1123 that we won't get interrupted in a state where the image isn't yet | |
1124 set up completely. | |
1125 (xbm_load_image, xbm_load, xpm_load, xpm_load, lookup_rgb_color) | |
1126 (lookup_pixel_color, x_to_xcolors, x_from_xcolors) | |
1127 (x_disable_image, x_build_heuristic_mask, pbm_load, png_load) | |
1128 (jpeg_load, tiff_load, gif_load, gs_load): Don't block/unblock | |
1129 input. | |
1130 | |
31654 | 1131 2000-09-16 Gerd Moellmann <gerd@gnu.org> |
1132 | |
1133 * dispnew.c (update_window): Make sure to make desired rows | |
1134 current even if they are completely invisible at the top | |
1135 of a window. | |
1136 | |
31636 | 1137 2000-09-15 Gerd Moellmann <gerd@gnu.org> |
1138 | |
31652 | 1139 * xfns.c (lookup_image): Build mask before applying an algorithm. |
1140 Recognize algorithm `disabled'. | |
1141 (cross_disabled_images): New variable. | |
1142 (COLOR_INTENSITY): New macro. | |
1143 (x_detect_edges): Use COLOR_INTENSITY. | |
1144 (x_disable_image): New function. | |
1145 (syms_of_xfns): DEFVAR_BOOL cross_disabled_images. | |
1146 | |
1147 * xdisp.c (build_desired_tool_bar_string): For a toolbar item in | |
1148 disabled state, don't apply an image transformation algorithm if | |
1149 the user specified an image for the disabled state. Use | |
31687 | 1150 `:algorithm disabled' for creating a disabled item's image if the |
31652 | 1151 user hasn't specified an image. |
1152 | |
31639 | 1153 * xfns.c (ALLOC_XPM_COLORS): Define if we can use Emacs' color |
1154 allocation functions with the XPM lib. | |
1155 (struct xpm_cached_color) [ALLOC_XPM_COLORS]: New structure. | |
1156 (XPM_COLOR_CACHE_BUCKETS) [ALLOC_XPM_COLORS]: New macro. | |
1157 (xpm_color_cache) [ALLOC_XPM_COLORS]: New variable. | |
1158 (xpm_init_color_cache, xpm_free_color_cache, xpm_lookup_color) | |
1159 (xpm_alloc_color, xpm_free_colors) [ALLOC_XPM_COLORS]: New | |
1160 functions. | |
1161 (xpm_load) [ALLOC_XPM_COLORS]: Use Emacs' own color allocation | |
1162 functions, if possible, because these handle color allocation | |
1163 failure more gracefully. | |
1164 (Fimage_mask_p): New function. | |
1165 | |
31636 | 1166 * xfns.c (QCmatrix, QCcolor_adjustment, QCmask, Qemboss) |
1167 (Qedge_detection, Qheuristic): New symbols. | |
1168 (syms_of_xfns): Initialize new symbols. | |
1169 (lookup_image): Handle `:mask X', `:algorithm emboss', and | |
1170 `algorithm (edge-detection ...)'. | |
1171 (xbm_format, xpm_format, pbm_format, png_format, jpeg_format): | |
1172 (tiff_format, gif_format, gs_format): Add `:mask'. | |
1173 (XBM_MASK, XPM_MASK, PBM_MASK, PNG_MASK, JPEG_MASK, TIFF_MASK) | |
1174 (GIF_MASK, GS_MASK): New enumerators. | |
1175 (x_laplace_read_row, x_laplace_write_row): Functions removed. | |
1176 (emboss_matrix, laplace_matrix): New variables. | |
1177 (x_to_xcolors, x_from_xcolors, x_detect_edges, x_emboss) | |
1178 (x_edge_detection): New functions. | |
1179 (x_laplace): Rewritten in terms of x_detect_edges. | |
1180 (x_build_heuristic_mask): If image has a mask, free it. | |
1181 | |
31632 | 1182 2000-09-14 Andrew Innes <andrewi@gnu.org> |
1183 | |
1184 * makefile.w32-in: Revert to Unix line endings. | |
1185 | |
31630 | 1186 2000-09-14 Andrew Innes <andrewi@gnu.org> |
1187 | |
1188 * makefile.w32-in: Standardize indentation somewhat. | |
1189 (bootstrap-temacs): Use $(ARGQUOTE) instead of literal quotes, to | |
1190 cater for differences between shells. | |
1191 | |
1192 * w32term.c (w32_per_char_metric): Handle non-TrueType fonts. | |
1193 | |
31615 | 1194 2000-09-14 Gerd Moellmann <gerd@gnu.org> |
1195 | |
1196 * xterm.c (x_produce_glyphs): If the distance from the current | |
1197 position to the next tab stop is less than a canonical character | |
1198 width, use the tab stop after that. | |
1199 | |
31613 | 1200 2000-09-14 Dave Love <fx@gnu.org> |
1201 | |
1202 * buffer.c (alloc_buffer_text): Fix xmalloc call. | |
1203 | |
31607 | 1204 2000-09-14 Gerd Moellmann <gerd@gnu.org> |
1205 | |
31611 | 1206 * xdisp.c (handle_fontified_prop): While running fontification |
1207 functions, bind `fontification-functions' and | |
1208 `after-change-functions' to nil. | |
1209 | |
31607 | 1210 * s/freebsd.h, s/irix-5.0.h, s/sol2.h, s/template.h |
1211 (USE_MMAP_FOR_BUFFERS): Define instead of REL_ALLOC_MMAP. | |
1212 | |
1213 * Makefile.in (mallocobj) [SYSTEM_MALLOC]: Don't add ralloc.o. | |
1214 | |
1215 * emacs.c: Change conditional compilation on REL_ALLOC_MMAP to | |
1216 USE_MMAP_FOR_BUFFERS. | |
1217 | |
1218 * insdel.c (make_gap): Use enlarge_buffer_text. | |
1219 | |
1220 * buffer.c: Move allocation with mmap here, from ralloc.c. Change | |
1221 conditional compilation on REL_ALLOC_MMAP to USE_MMAP_FOR_BUFFERS. | |
1222 (mmap_alloc, mmap_free, mmap_realloc) [REL_ALLOC_MMAP]: Renamed | |
1223 from former r_alloc_* functions in ralloc.c. | |
1224 (mmap_page_size, mmap_initialized_p) [REL_ALLOC_MMAP]: New | |
1225 variables. | |
1226 (MEM_ALIGN) [REL_ALLOC_MMAP]: New macro. | |
1227 (mmap_init) [REL_ALLOC_MMAP]: New function. | |
1228 (alloc_buffer_text, enlarge_buffer_text, free_buffer_text): New | |
1229 functions replacing macros BUFFER_ALLOC, BUFFER_REALLOC, and | |
1230 BUFFER_FREE. | |
1231 | |
1232 * buffer.h (BUFFER_ALLOC, BUFFER_REALLOC, BUFFER_FREE): Removed. | |
1233 (enlarge_buffer_text): Add prototype. | |
1234 | |
1235 * ralloc.c: Remove everything having to do with the use of mmap. | |
1236 | |
31577 | 1237 2000-09-13 Gerd Moellmann <gerd@gnu.org> |
1238 | |
31588 | 1239 * sound.c (Fplay_sound): Doc fix. |
1240 | |
31580 | 1241 * keyboard.c: Avoid some more compiler warnings. |
1242 (parse_tool_bar_item): Ignore cached key bindings. | |
1243 | |
31577 | 1244 * alloc.c: Add some comments about DOUG_LEA_MALLOC's use of mmap |
1245 and allocation of Lisp data. | |
1246 | |
31555 | 1247 2000-09-12 Gerd Moellmann <gerd@gnu.org> |
1248 | |
31571 | 1249 * xfaces.c: Remove conditional compilation on SCALABLE_FONTS. |
1250 (Finternal_set_lisp_face_attribute): If frame is 0, set new frame | |
1251 defaults first. | |
1252 | |
31555 | 1253 * lread.c (Fload): Put code checking for recursive loads in #if 0. |
1254 | |
31550 | 1255 2000-09-12 Miyashita Hisashi <himi@meadowy.org> |
1256 | |
1257 * ccl.c: Comment fixed. | |
1258 (MAX_MAP_SET_LEVEL): Increased to 30. | |
1259 (PUSH_MAPPING_STACK): Enclose with do-while block. | |
1260 (POP_MAPPING_STACK): Likewise. | |
1261 (stack_idx_of_map_multiple): New variable. | |
1262 (CCL_CALL_FOR_MAP_INSTRUCTION): New macro. | |
1263 (ccl_driver) <CCL_IterateMultipleMap>: If the content is a symbol, | |
1264 call the corresponding CCL program by | |
1265 CCL_CALL_FOR_MAP_INSTRUCTION. | |
1266 (ccl_driver) <CCL_MapSingle>: Likewise. | |
1267 (ccl_driver) <CCL_MapMultiple>: Rewritten to fix many bugs, deal | |
1268 with the case where looking up process reaches to the end of | |
1269 map-set, and call CCL programs as the above change. | |
1270 | |
31535 | 1271 2000-09-11 Gerd Moellmann <gerd@gnu.org> |
1272 | |
31544 | 1273 * xfns.c (png_load, jpeg_load): Declare some variables volatile |
1274 that might be clobbered by longjmp. | |
1275 (check_x_display_info, x_decode_color, create_frame_xic) | |
1276 (Fx_display_backing_store, Fx_display_visual_class) | |
1277 (x_build_heuristic_mask, pbm_scan_number): Avoid compiler | |
1278 warnings. | |
1279 | |
31537 | 1280 * lread.c (init_lread): Set Vloads_in_progress to nil. |
1281 (Fload): Show list of recursively loaded files, when signaling an | |
1282 error. | |
1283 | |
31535 | 1284 * lread.c (Vloads_in_progress): New variable. |
1285 (record_load_unwind): New function. | |
1286 (Fload): Check for recursive loads. | |
1287 (syms_of_lread): Initialize Vloads_in_progress. | |
1288 (read_integer, read1): Avoid some compiler warnings. | |
1289 | |
1290 * fns.c (concat, Fsubstring, internal_equal, Fnconc): Avoid some | |
1291 compiler warnings. | |
1292 | |
31532 | 1293 2000-09-11 Miles Bader <miles@gnu.org> |
1294 | |
1295 * editfns.c (Fbuffer_string): Doc fix. | |
1296 | |
31526 | 1297 2000-09-10 Gerd Moellmann <gerd@gnu.org> |
1298 | |
1299 * ralloc.c (mmap_enlarge): Don't return 0 if successful. | |
1300 | |
31524
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31523
diff
changeset
|
1301 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
|
1302 |
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31523
diff
changeset
|
1303 * 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
|
1304 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
|
1305 |
31523 | 1306 2000-09-09 Gerd Moellmann <gerd@gnu.org> |
1307 | |
1308 * xfaces.c (CYCLE_CHECK): Don't use the Lisp_Object returned | |
31527 | 1309 by Fmemq as a boolean. |
31523 | 1310 |
31521
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
1311 2000-09-08 Stefan Monnier <monnier@cs.yale.edu> |
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
1312 |
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
1313 * xfaces.c (Finternal_set_lisp_face_attribute): Minor thinko. |
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
1314 |
31490 | 1315 2000-09-08 Gerd Moellmann <gerd@gnu.org> |
1316 | |
31516 | 1317 * ralloc.c (mmap_fd): Remove initializer which can make it |
1318 read-only in a dumped Emacs. | |
1319 (mmap_fd_1): New variable. | |
1320 (mmap_set_vars): Remove local `fd'. Save mmap_fd in mmap_fd_1, | |
1321 restore it from there. | |
1322 (r_alloc, r_re_alloc, r_alloc_free): Call r_alloc_init | |
1323 unconditionally so that mmap_fd can be initialized there. | |
1324 (r_alloc_init_fd): Open-coded in r_alloc_init; function removed. | |
1325 (r_alloc_init) [REL_ALLOC_MMAP && !MAP_ANON]: Open /dev/zero. | |
1326 (r_alloc_init) [REL_ALLOC_MMAP && MAP_ANON]: Set mmap_fd to -1. | |
1327 | |
31508 | 1328 * xfaces.c (Finternal_merge_in_global_face): Return a Lisp object. |
1329 | |
1330 * xdisp.c (dump_glyph_row): Fix printf format string. | |
1331 (display_line, move_it_in_display_line_to): Avoid compiler | |
1332 warnings. | |
1333 | |
31502 | 1334 * s/freebsd.h (GC_MARK_STACK, REL_ALLOC_MMAP): Define. |
1335 | |
31497 | 1336 * keymap.c (Fset_keymap_parent): Check for cycles in keymap |
1337 inheritance. | |
1338 | |
31494 | 1339 * xdisp.c (try_window_id): When trying to locate cursor in |
1340 unchanged rows at the top, handle the case that we can't find it. | |
1341 | |
31490 | 1342 * xterm.c (x_draw_glyphs): Handle case START and END are out |
1343 of bounds more carefully. | |
1344 | |
31488 | 1345 2000-09-08 Dave Love <fx@gnu.org> |
1346 | |
31505 | 1347 * s/sol2.h (REL_ALLOC_MMAP): Define. |
1348 * s/irix5-0.h (REL_ALLOC_MMAP): Likewise. | |
1349 | |
1350 * ralloc.c: Don't include string.h (redundant). | |
1351 (MAP_ANON) [REL_ALLOC_MMAP]: Ensure it's defined. | |
1352 [!MAP_ANON]: Include fcntl.h. | |
1353 (mmap_fd) [REL_ALLOC_MMAP]: New variable. | |
1354 (r_alloc, r_re_alloc, r_alloc_free) | |
1355 (mmap_enlarge, mmap_set_vars): Use it. | |
1356 (r_alloc_init_fd): New function. | |
1357 (__morecore) [SYSTEM_MALLOC]: Don't declare. | |
1358 (r_alloc_init): Call r_alloc_init_fd. Conditionalize stuff on | |
1359 malloc type. | |
1360 | |
1361 * Makefile.in (allocaobj) [!SYSTEM_MALLOC && REL_ALLOC_MMAP]: | |
1362 Remove vm-limit.o. | |
1363 | |
31488 | 1364 * unexelf.c (SHT_MIPS_DEBUG, HDRR) [__mips__]: Really confine last |
1365 change to __NetBSD__. | |
1366 | |
31485 | 1367 2000-09-08 Kenichi Handa <handa@etl.go.jp> |
1368 | |
1369 * search.c (compile_pattern): Check the multibyteness of cached | |
1370 string and PATTERN. | |
1371 | |
31484 | 1372 2000-09-08 Miles Bader <miles@gnu.org> |
1373 | |
1374 * xfaces.c (default_face_vector): Function removed. | |
1375 (Finternal_merge_in_global_face): Restore old global/local | |
1376 attribute override order. Use inline loop instead of calling | |
1377 default_face_vector. | |
1378 | |
31474 | 1379 2000-09-07 Gerd Moellmann <gerd@gnu.org> |
1380 | |
1381 * ralloc.c (obtain, relinquish, relinquish, r_alloc_size_in_use) | |
1382 (get_bloc, relocate_blocs, update_heap_bloc_correspondence) | |
1383 (resize_bloc, r_alloc_sbrk, r_alloc_init): Add casts to `char *' | |
1384 where necessary, in case POINTER_TYPE is `void'. | |
1385 | |
31472 | 1386 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il> |
1387 | |
1388 * frame.c (make_terminal_frame): Initialize frame foreground and | |
1389 background colors to unspecified, for the initial instance of an | |
1390 MSDOS frame. | |
1391 | |
31467 | 1392 2000-09-07 Gerd Moellmann <gerd@gnu.org> |
1393 | |
31469 | 1394 * ralloc.c (mmap_find): Fix overlap computation. |
1395 (mmap_enlarge): Compute nbytes before trying to find an | |
1396 overlapping region. | |
1397 | |
31467 | 1398 * xfaces.c (smaller_face): Compare font heights with `<' and `>' |
1399 instead of `!='. | |
1400 | |
1401 * lread.c (syms_of_lread): Change value of regexp | |
1402 Vbytecomp_version_regexp to not match some XEmacs-compiled files. | |
1403 | |
1404 * xmenu.c (xdialog_show): When looking up the selection in | |
1405 menu_items, take `quote' boundaries into account; this corresponds | |
1406 to a nil ITEM in x-popup-dialog. | |
1407 | |
31454 | 1408 2000-09-07 Kenichi Handa <handa@etl.go.jp> |
1409 | |
31459 | 1410 * charset.h (MIN_CHARSET_OFFICIAL_DIMENSION1): Define it as 0x80, |
1411 not 0x81. | |
1412 (MIN_CHAR_OFFICIAL_DIMENSION1): Define it as ((0x81 - 0x70) << 7). | |
1413 | |
31454 | 1414 * coding.c (encode_coding_sjis_big5): Use translation table for |
31456 | 1415 encoding, not decoding. Fix the handling of latin-jisx0201. |
1416 Check for the charset katakana-jisx0201 too. | |
31454 | 1417 (ONE_MORE_CHAR): Call translate_char with CHARSET arg -1. |
31467 | 1418 (detect_coding_sjis): Check the byte sequence more rigidly. |
31454 | 1419 |
31441 | 1420 2000-09-07 Gerd Moellmann <gerd@gnu.org> |
1421 | |
31452 | 1422 * xfaces.c (Vparam_value_alist): New variable. |
1423 (syms_of_xfaces): Initialize it. | |
1424 (Finternal_set_lisp_face_attribute): Avoid more consing. | |
1425 | |
1426 * frame.c (Fframe_parameter): Handle `name' and `background-mode' | |
1427 specially. | |
1428 (Fframe_parameter) [HAVE_X_WINDOWS]: Handle `display' specially. | |
1429 (Qbackground_mode): New variable. | |
1430 (syms_of_frame_1): Initialize Qbackground_mode. | |
1431 | |
1432 * lisp.h (Qdisplay): Declare extern. | |
31444 | 1433 |
31441 | 1434 * xfaces.c (Finternal_set_lisp_face_attribute): If FRAME is 0, |
1435 change face on all frames, and change the default for new frames. | |
1436 | |
31438 | 1437 2000-09-07 Dave Love <fx@gnu.org> |
1438 | |
1439 * Makefile.in [!SYSTEM_MALLOC && REL_ALLOC_MMAP]: Set mallocobj. | |
1440 | |
31418 | 1441 2000-09-07 Kenichi Handa <handa@etl.go.jp> |
1442 | |
31433 | 1443 * charset.h (MAKE_CHAR): Be sure to set MSB of C1 to 0. |
1444 | |
31432 | 1445 * charset.c: Include composite.h |
1446 (lisp_string_width): New function. | |
1447 (Fstring_width): Call lisp_string_width instead of strwidth. | |
1448 | |
1449 * Makefile.in (charset.o): Depends on composite.h. | |
1450 | |
31418 | 1451 * process.c (read_process_output): Before inserting the decoded |
1452 text in the buffer, adjust the multibyteness. | |
1453 | |
31409 | 1454 2000-09-06 Gerd Moellmann <gerd@gnu.org> |
1455 | |
31417 | 1456 * buffer.c (set_buffer_internal_1) [REL_ALLOC_MMAP]: If |
1457 buffer's text buffer is null, map new memory. | |
1458 | |
31415 | 1459 * ralloc.c (POINTER, SIZE) [emacs]: Define in terms of |
1460 POINTER_TYPE and size_t. | |
1461 (struct mmap_region) [REL_ALLOC_MMAP]: New structure. | |
1462 (mmap_regions, mmap_regions_1) [REL_ALLOC_MMAP]: New variables. | |
1463 (ROUND, MMAP_REGION_STRUCT_SIZE, MMAP_REGION, MMAP_USER_AREA) | |
1464 [REL_ALLOC_MMAP]: New macros. | |
1465 (mmap_find, mmap_free, mmap_enlarge, mmap_set_vars) | |
1466 (mmap_mapped_bytes, r_alloc, r_re_alloc, r_alloc_free) | |
1467 [REL_ALLOC_MMAP]: New functions. | |
1468 | |
1469 * emacs.c (Fdump_emacs) [REL_ALLOC_MMAP]: Call mmap_set_vars | |
1470 before and after unexec. | |
1471 | |
1472 * buffer.c (init_buffer) [REL_ALLOC_MMAP]: Map new buffer | |
1473 text buffers if necessary. | |
1474 | |
1475 * buffer.h (R_ALLOC_DECLARE): Removed because unused. | |
1476 (r_alloc, r_re_alloc, r_alloc_free): Use POINTER_TYPE and size_t | |
1477 in prototypes. | |
1478 | |
31409 | 1479 * config.in (HAVE_MMAP): Add #undef. |
1480 | |
31394 | 1481 2000-09-05 Gerd Moellmann <gerd@gnu.org> |
1482 | |
31402 | 1483 * frame.c (Qdisplay_type): New variable. |
1484 (syms_of_frame_1): Initialize it. | |
1485 (Fframe_parameter): New function that avoids consing. | |
1486 (syms_of_frame): Defsubr it. | |
1487 | |
31396 | 1488 * buffer.c (Fother_buffer): Consider buffers as invisible when |
1489 they are displayed in a window on an invisible frame. | |
1490 | |
31394 | 1491 * window.c (window_loop) <GET_LARGEST_WINDOW>: Fix bug making |
1492 get-largest-window always return nil. | |
1493 | |
31368 | 1494 2000-09-04 Gerd Moellmann <gerd@gnu.org> |
1495 | |
1496 * lread.c (syms_of_lread): Make Vbytecomp_version_regexp a Lisp | |
1497 variable; recognize Emacs 19 elc files. | |
1498 | |
31366 | 1499 2000-09-04 Miles Bader <miles@gnu.org> |
1500 | |
1501 * xmenu.c (xmenu_show): Call x_set_menu_resources_from_menu_face | |
1502 before initially popping up the menu, so the menu doesn't flash | |
1503 when the face settings are significantly different from the | |
1504 defaults. | |
1505 | |
31360
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1506 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
|
1507 |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1508 * regex.c (WIDE_CHAR_SUPPORT): New macro. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1509 (btowc, iswctype, wctype) [_LIBC]: Redefine to __<fun>. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1510 (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
|
1511 (BIT_UNIBYTE): Remove. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1512 (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
|
1513 BIT_MULTIBYTE case to not bother checking ISUNIBYTE. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1514 (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
|
1515 (re_wctype_t): New type. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1516 (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
|
1517 (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
|
1518 |
31352 | 1519 2000-09-03 Andrew Innes <andrewi@gnu.org> |
1520 | |
31359 | 1521 * makefile.w32-in: Change to DOS line endings. |
1522 | |
31352 | 1523 * s/ms-w32.h (ORDINARY_LINK): New define. |
1524 | |
1525 * w32.c (_ANONYMOUS_UNION) [__GNUC__]: New define | |
1526 (_ANONYMOUS_STRUCT) [__GNUC__]: New define. | |
1527 | |
1528 * makefile.w32-in (clean): Don't delete config.h and epaths.h. | |
1529 (distclean): Delete them here instead. | |
1530 | |
31355 | 1531 * w32proc.c (compare_env): Convert to uppercase for comparison, |
1532 not lowercase, to match how the native Windows shell works. | |
1533 | |
31346 | 1534 2000-09-03 Jason Rumney <jasonr@gnu.org> |
1535 | |
1536 * ChangeLog: Remove -unix from coding. Let Emacs autodetect, as | |
1537 CVS changes the line-ends when checking in/out on DOS/Windows. | |
1538 | |
1539 * makefile.nt (emacs): Do not change directory to run temacs, as | |
1540 the load-path is set relative to current directory. | |
1541 | |
31342 | 1542 2000-09-03 Miles Bader <miles@gnu.org> |
1543 | |
1544 * xterm.c (x_alloc_lighter_color_for_widget): New function. | |
1545 | |
31333 | 1546 2000-09-02 Gerd Moellmann <gerd@gnu.org> |
1547 | |
31339 | 1548 * xdisp.c (redisplay_mode_lines): New function. |
1549 (display_mode_lines): Return number of mode lines displayed. | |
1550 (echo_area_display): Use redisplay_mode_lines to draw garbaged | |
1551 mode lines. Don't temporarily bind redisplay-dont-pause to t. | |
1552 | |
31337 | 1553 * emacs.c, callint.c, doc.c, editfns.c: Remove includes of |
1554 string.h and strings.h. | |
1555 (index) [HAVE_INDEX]: Add prototype. | |
1556 | |
31333 | 1557 * unexelf.c (SHT_PROGBITS) [__NetBSD__ && !PT_LOAD]: Don't define. |
1558 (SHT_MIPS_DEBUG, HDRR) [__NetBSD__ && __mips__]: Define. | |
1559 | |
1560 * s/netbsd.h [!NO_C_SOURCE]: Include <signal.h>. | |
1561 (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
1562 | |
31316 | 1563 2000-09-01 Gerd Moellmann <gerd@gnu.org> |
1564 | |
1565 * lread.c (read1): Accept `?' as symbol constituent, for | |
1566 compatiblity with XEmacs. | |
1567 | |
31312
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1568 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
|
1569 |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1570 * 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
|
1571 (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
|
1572 * 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
|
1573 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
|
1574 (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
|
1575 (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
|
1576 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
|
1577 (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
|
1578 (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
|
1579 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
|
1580 (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
|
1581 |
31308 | 1582 2000-08-31 Gerd Moellmann <gerd@gnu.org> |
1583 | |
1584 * lread.c (openp): GCPRO local variable `filename'. | |
1585 | |
31300
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1586 2000-08-30 Stefan Monnier <monnier@cs.yale.edu> |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1587 |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1588 * 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
|
1589 |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1590 * regex.c: Merge some changes from GNU libc. Add prototypes. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1591 (bcopy, bcmp, REGEX_REALLOCATE, re_match_2_internal): |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1592 Use memcmp and memcpy instead of bcopy and bcmp. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1593 (init_syntax_once): Use ISALNUM. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1594 (PUSH_FAILURE_POINT, re_match_2_internal): Remove failure_id. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1595 (REG_UNSET_VALUE): Remove. Use NULL instead. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1596 (REG_UNSET, re_match_2_internal): Use NULL. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1597 (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
|
1598 New macros. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1599 (EXTEND_BUFFER): Use them (to work with BOUNDED_POINTERS). |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1600 (GET_UNSIGNED_NUMBER): Don't use ISDIGIT. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1601 (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
|
1602 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
|
1603 Obey the RE_NO_GNU_OPS syntax bit. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1604 (TOLOWER): New macro. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1605 (regcomp): Use it. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1606 (regexec): Allocate regs.start and regs.end as one block. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1607 |
31293 | 1608 2000-08-30 Gerd Moellmann <gerd@gnu.org> |
1609 | |
31296 | 1610 * xdisp.c (echo_area_display): Check display_completed instead |
1611 of calling detect_input_pending. | |
1612 | |
31297 | 1613 * dispnew.c (update_frame): Only set display_completed here; move |
31296 | 1614 the update_begin and update_end calls here from update_frame_1. |
1615 (update_frame_1): Don't set display_completed here, don't call | |
1616 update_begin/update_end. | |
1617 | |
31293 | 1618 * xfaces.c (set_font_frame_param): Use Fmodify_frame_parameters |
1619 instead of store_frame_param. | |
1620 | |
31272 | 1621 2000-08-29 Gerd Moellmann <gerd@gnu.org> |
1622 | |
1623 * dispnew.c (build_frame_matrix_from_leaf_window): If a row of a | |
1624 desired window matrix hasn't been displayed, use the current row | |
1625 instead. Make sure that only those frame rows are updated for | |
1626 which there exists a corresponding enabled desired row. | |
1627 | |
31263 | 1628 2000-08-29 Miles Bader <miles@gnu.org> |
1629 | |
1630 * xfaces.c (default_face_vector): New function. | |
1631 (Finternal_merge_in_global_face): Use it instead of merge_face_vectors. | |
1632 | |
31256 | 1633 2000-08-29 Gerd Moellmann <gerd@gnu.org> |
1634 | |
1635 * lread.c (openp): Prevent temporary string passed to | |
1636 Ffile_readable_p from being garbage collected. | |
1637 | |
31234 | 1638 2000-08-28 Dave Love <fx@gnu.org> |
1639 | |
1640 * keymap.c (store_in_keymap): Add `static' to declaration. | |
1641 | |
31229 | 1642 2000-08-28 Gerd Moellmann <gerd@gnu.org> |
1643 | |
1644 * emacs.c, callint.c, doc.c, editfns.c | |
1645 (toplevel) [HAVE_STRING_H]: Include string.h. | |
1646 (toplevel) [HAVE_STRINGS_H]: Include strings.h. | |
1647 (index): Remove prototypes which might conflict with non-standard | |
1648 definitions of index/strchr. | |
1649 | |
1650 * s/usg5-3.h (index): Define only if not HAVE_INDEX. | |
1651 (rindex): Define only if !HAVE_RINDEX. | |
1652 | |
1653 * s/sco5.h (bcopy, bzero, bcmp): Don't define. | |
1654 | |
1655 * config.in (HAVE_INDEX, HAVE_RINDEX, HAVE_STRINGS_H): Add undefs. | |
1656 | |
31222 | 1657 2000-08-28 Miles Bader <miles@gnu.org> |
1658 | |
1659 * xfaces.c (merge_face_vectors): Clear TO's :font attribute if | |
1660 made inconsistent by a font-related attribute in FROM. | |
1661 (merge_face_inheritance): Add function comment. | |
1662 | |
31216 | 1663 2000-08-28 Kenichi Handa <handa@etl.go.jp> |
1664 | |
1665 * keyboard.c (read_char_minibuf_menu_prompt): Call read_char with | |
1666 the 4th arg (PREV_EVENT) Qt to suppress input method. | |
1667 | |
31210
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1668 2000-08-27 Stefan Monnier <monnier@cs.yale.edu> |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1669 |
31214
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1670 * regex.c: Indent cpp directives and remove parens after `defined'. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1671 (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
|
1672 (ISDIGIT, ISCNTRL, ISXDIGIT) [!emacs]: Remove duplicate definition. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1673 (regex_compile): Use RE_FRUGAL instead of RE_ALL_GREEDY. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1674 (re_compile_pattern): Use size_t for length. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1675 (init_syntax_once): Move to a better place. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1676 * regex.h: Merge changes from GNU libc. Indent cpp directives. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1677 (RE_FRUGAL): Replaces RE_ALL_GREEDY (inverted meaning). |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1678 |
31210
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1679 * 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
|
1680 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
|
1681 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
|
1682 |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1683 * keymap.c (store_in_keymap, fix_submap_inheritance): New prototypes. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1684 (KEYMAPP): New macro. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1685 (Fkeymap_parent, Fset_keymap_parent): Use it. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1686 (fix_submap_inheritance): Mark it static. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1687 (define_as_prefix, describe_buffer_bindings, describe_command) |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1688 (describe_translation, describe_map): Complete prototypes. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1689 |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1690 * lisp.h (store_in_keymap, fix_submap_inheritance): Remove. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1691 |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1692 * 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
|
1693 to better match the key-lookup behavior. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1694 |
31203 | 1695 2000-08-27 Gerd Moellmann <gerd@gnu.org> |
1696 | |
1697 * xfaces.c (lface_fully_specified_p): Handle :inherit. | |
1698 (Finternal_set_lisp_face_attribute): Fix typo in error message. | |
1699 | |
31200 | 1700 2000-08-27 Eli Zaretskii <eliz@is.elta.co.il> |
1701 | |
1702 * Makefile.in (dispnew.o, indent.o, fontset.o, minibuf.o) | |
1703 (process.o, scroll.o, sysdep.o): Depend on keyboard.h. | |
1704 (xterm.o): Depend on coding.h | |
1705 | |
31181 | 1706 2000-08-26 Kenichi Handa <handa@etl.go.jp> |
1707 | |
1708 * cmds.c (internal_self_insert): Delete '#ifdef HAVE_FACES' and | |
1709 the corresponding '#endif'. | |
1710 | |
31180 | 1711 2000-08-26 Miles Bader <miles@gnu.org> |
1712 | |
1713 * dispextern.h (enum lface_attribute_index): Add LFACE_INHERIT_INDEX. | |
1714 * xfaces.c (QCinherit): New variable. | |
1715 (syms_of_xfaces): Initialize it. | |
1716 (LFACE_INHERIT): New macro. | |
1717 (Finternal_get_lisp_face_attribute) | |
1718 (merge_face_vector_with_property) | |
1719 (Finternal_set_lisp_face_attribute): Deal with :inherit attribute. | |
1720 (check_lface_attrs): Allow new types of face height. Check | |
1721 inherit attribute. | |
1722 (CYCLE_CHECK): New macro. | |
1723 (merge_face_inheritance): New function. | |
1724 (merge_face_vectors): Merge inherited faces too. Add F and | |
1725 CYCLE_CHECK arguments. | |
1726 (merge_face_vector_with_property, Finternal_merge_in_global_face) | |
1727 (lookup_named_face, lookup_derived_face, realize_named_face) | |
1728 (face_at_string_position, face_at_buffer_position): Supply | |
1729 new F and CYCLE_CHECK arguments to merge_face_vectors. | |
1730 (merge_face_heights): New function. | |
1731 (merge_face_vectors, merge_face_vector_with_property) | |
1732 (Finternal_set_lisp_face_attribute): Call merge_face_heights to | |
1733 handle relative face heights. | |
1734 (lface_same_font_attributes_p): Compare heights using EQ. | |
1735 | |
31176 | 1736 2000-08-26 Kenichi Handa <handa@etl.go.jp> |
1737 | |
1738 * charset.c (char_to_string): Check the character validity. | |
1739 (char_valid_p): If C is not less than MAX_CHAR, be sure to return | |
1740 0. | |
1741 | |
31172
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1742 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
|
1743 |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1744 * regex.c (PUSH_FAILURE_COUNT): New macro. |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1745 (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
|
1746 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
|
1747 (POP_FAILURE_POINT): Use the new name. |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1748 (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
|
1749 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
|
1750 |
31171 | 1751 2000-08-25 Gerd Moellmann <gerd@gnu.org> |
1752 | |
1753 * xdisp.c (redisplay_internal): If considering all windows on all | |
1754 frames, update the display for each frame as soon as possible, | |
1755 instead of first building all desired matrices for all frames, and | |
1756 then updating them all. | |
1757 (try_cursor_movement): Handle case that last_cursor.vpos is -1. | |
1758 | |
31148 | 1759 2000-08-24 Gerd Moellmann <gerd@gnu.org> |
1760 | |
31153 | 1761 * bytecode.c (mark_byte_stack): Add a comment. |
1762 | |
31148 | 1763 * frame.h (FRAME_FLAGS_AREA_COLS, FRAME_FLAGS_AREA_WIDTH) |
1764 (FRAME_LEFT_FLAGS_AREA_WIDTH): Return 0 unless frame is | |
1765 a graphical frame. | |
1766 | |
31137 | 1767 2000-08-24 Kenichi Handa <handa@etl.go.jp> |
1768 | |
31139 | 1769 * minibuf.c (do_completion): Always use compare-string, not |
1770 string-equal because the latter doesn't pay attention to | |
1771 multibyteness of strings. | |
1772 | |
31137 | 1773 * process.c (create_process): Don't setup raw-text coding here. |
1774 (Fopen_network_stream): Don't set coding->src_multibyte and | |
1775 coding->dst_multibyte here. | |
1776 (read_process_output): For process filter, return unibyte string | |
1777 if default-enable-multibyte-characters is nil. | |
1778 (send_process): If OBJECT is multibyte text, be sure to encoded it | |
1779 by the specified coding system for the process. Otherwise, setup | |
1780 raw-text coding. | |
1781 (init_process): Don't initialize default-process-coding-system | |
1782 here. | |
1783 | |
31129 | 1784 2000-08-23 Eli Zaretskii <eliz@is.elta.co.il> |
1785 | |
1786 * buffer.c (syms_of_buffer) <scroll-up-aggressively>: Doc fix. | |
1787 <scroll-down-aggressively>: Likewise. | |
1788 | |
31121 | 1789 2000-08-23 Kenichi Handa <handa@etl.go.jp> |
1790 | |
31122 | 1791 * coding.c (encode_eol): Fix bug for the case of dst_bytes being |
1792 zero. Set coding->produced_char correctly. | |
31121 | 1793 |
31120 | 1794 2000-08-22 Andrew Innes <andrewi@gnu.org> |
1795 | |
1796 * makefile.w32-in: New file. | |
1797 | |
1798 * unexw32.c (unexec): Ignore old_name, and use the actual location | |
1799 of the current executable instead. Base new_name on this. | |
1800 | |
1801 * w32proc.c (create_child): Remove reference to security | |
1802 descriptor, which isn't needed and doesn't compile with mingw32. | |
1803 | |
1804 * w32term.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1805 up dllimport attributes. | |
1806 (x_update_window_end): Update prototype. | |
1807 | |
1808 * unexec.c (write_segment) [USE_CRT_DLL]: Remove unnecessary | |
1809 extern, which screws up dllimport attributes. | |
1810 | |
1811 * sysdep.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1812 up dllimport attributes. | |
1813 | |
1814 * strftime.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
1815 screws up dllimport attributes. | |
1816 | |
1817 * process.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1818 up dllimport attributes. | |
1819 (create_process) [USE_CRT_DLL]: Remove unnecessary extern, which | |
1820 screws up dllimport attributes. | |
1821 | |
1822 * lread.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1823 up dllimport attributes. | |
1824 | |
1825 * keyboard.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
1826 screws up dllimport attributes. | |
1827 | |
1828 * floatfns.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
1829 screws up dllimport attributes. | |
1830 | |
1831 * fileio.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1832 up dllimport attributes. | |
1833 | |
1834 * emacs.c (malloc_initialize_hook) [USE_CRT_DLL]: Remove | |
1835 unnecessary extern, which screws up dllimport attributes. | |
1836 (main): Ditto. | |
1837 | |
1838 * editfns.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1839 up dllimport attributes. | |
1840 | |
1841 * dispnew.c (window_change_signal) [USE_CRT_DLL]: Remove | |
1842 unnecessary extern, which screws up dllimport attributes. | |
1843 | |
1844 * callproc.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
1845 screws up dllimport attributes. | |
1846 | |
1847 * buffer.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1848 up dllimport attributes. | |
1849 | |
1850 * w32proc.c (IsValidLocale): Extern missing from mingw32 headers. | |
1851 | |
1852 * w32bdf.c (search_file_line): | |
1853 (set_bdf_font_info): | |
1854 (seek_char): | |
1855 (w32_get_bdf_glyph): | |
1856 (w32_BDF_to_x_font): Fix compile warnings. | |
1857 | |
1858 * w32menu.c: Include keyboard.h before frame.h. Fix compile | |
1859 warnings. | |
1860 | |
1861 * w32select.c: Include keyboard.h before frame.h. | |
1862 | |
1863 * w32fns.c (max): Define macro. | |
1864 (JOHAB_CHARSET): Define if not known. | |
1865 (MOD_ALT, MOD_CONTROL, MOD_SHIFT, MOD_WIN): Define if not known. | |
1866 (Fx_show_tip): Synch with X version. | |
1867 | |
1868 * w32xfns.c: Include keyboard.h before frame.h. | |
1869 | |
1870 * w32fns.c: Include keyboard.h before frame.h. | |
1871 | |
1872 * w32term.c: Include keyboard.h before frame.h. | |
1873 | |
1874 * fontset.c: Include keyboard.h before frame.h. | |
1875 | |
1876 * w32inevt.c: Include keyboard.h before frame.h. | |
1877 (MOUSE_MOVED): Define if not known. | |
1878 | |
1879 * minibuf.c: Include keyboard.h before frame.h. | |
1880 | |
1881 * keyboard.c: Include keyboard.h before frame.h. | |
1882 | |
1883 * indent.c: Include keyboard.h before frame.h. | |
1884 | |
1885 * dispnew.c: Include keyboard.h before frame.h. | |
1886 | |
1887 * buffer.c: Include keyboard.h before frame.h. | |
1888 | |
1889 * alloc.c: Include keyboard.h before frame.h. | |
1890 | |
1891 * print.c: Include keyboard.h before frame.h. | |
1892 | |
1893 * process.c: Include keyboard.h before frame.h. | |
1894 | |
1895 * scroll.c: Include keyboard.h before frame.h. | |
1896 | |
1897 * sysdep.c: Include keyboard.h before frame.h. | |
1898 | |
1899 * term.c: Include keyboard.h before frame.h. | |
1900 | |
1901 * window.c: Include keyboard.h before frame.h. | |
1902 | |
1903 * xdisp.c: Include keyboard.h before frame.h. | |
1904 Separate GLYPH_DEBUG and DEBUG_TRACE_MOVE. | |
1905 | |
1906 * frame.c: Include keyboard.h before frame.h. | |
1907 | |
1908 * w32heap.h: Undefine min, max. | |
1909 | |
1910 * w32gui.h: Undefine min, max. | |
1911 | |
1912 * unexw32.c: Change PUCHAR to PCHAR. | |
1913 (PTR_TO_OFFSET): Cast ptr to unsigned char *. | |
1914 (relocate_offset): | |
1915 (get_section_info): | |
1916 (copy_executable_and_dump_data): Remove unnecessary static defs. | |
1917 (copy_executable_and_dump_data): Fix compile warnings. | |
1918 | |
1919 * sysdep.c (NULL) [WINDOWSNT]: Define NULL if not defined. | |
1920 | |
1921 * w32console.c (min): Define macro. | |
1922 (clear_frame, write_glyphs): Fix compile warning. | |
1923 | |
1924 * w32proc.c (compare_env): | |
1925 (find_child_console): Fix compile warning. | |
1926 | |
1927 * w32.c (sys_strerror): Use sys_nerr instead of _sys_nerr. Use | |
1928 sys_errlist instead of _sys_errlist. | |
1929 (get_emacs_configuration_options): New function. | |
1930 | |
1931 * s/ms-w32.h (sys_nerr): Provide default definition. | |
1932 (strdup, strupr, strnicmp, stricmp, tzset, tzname): Map to same | |
1933 name with _ prepended. | |
1934 (NSIG): Define if not known. | |
1935 (get_emacs_configuration): Provide extern declaration. | |
1936 (get_emacs_configuration_options): Provide extern declaration. | |
1937 (EMACS_CONFIG_OPTIONS): Call get_emacs_configuration_options. | |
1938 | |
1939 * w32.c (gettimeofday): Use struct timeb, not struct _timeb. | |
1940 (map_w32_filename): | |
1941 (read_unc_volume): Fix compile warning. | |
1942 | |
1943 * s/ms-w32.h (_WINSOCK_H): Define to prevent normal winsock | |
1944 definitions from being used. | |
1945 | |
1946 * lisp.h [WINDOWSNT]: Don't declare externs for getenv, ctime and getwd. | |
1947 | |
1948 * w32.c (unc_volume_file_attributes): | |
1949 (open_unc_volume): Make arg const. | |
1950 | |
1951 * sysdep.c [WINDOWSNT]: Remove extern decl of errno. | |
1952 (read_input_waiting): Remove excess parameter. | |
1953 | |
1954 * w32.c (init_environment): Call _access. | |
1955 (check_windows_init_file): Call _close. | |
1956 (init_user_info): Call _putenv. | |
1957 (init_environment): Call _putenv and _strdup. | |
1958 (init_ntproc): Reset volume info cache on startup. | |
1959 | |
1960 * s/ms-w32.h (malloc, free, realloc, calloc): Rename if | |
1961 USE_CRT_DLL is defined, so Emacs can use GNU malloc even though it | |
1962 cannot override the CRT malloc. | |
1963 | |
1964 * makefile.nt (LOCAL_FLAGS): Define USE_CRT_DLL if requested. | |
1965 (LINK_FLAGS): Append to original value of LINK_FLAGS. | |
1966 | |
1967 * w32heap.c [!USE_CRT_DLL]: Don't define _heap_init and _heap_term | |
1968 unless we are linking with a static CRT. | |
1969 (RVA_TO_PTR): Cast result to unsigned char*. | |
1970 | |
1971 * w32.c (GetCachedVolumeInformation): Use xmalloc, xfree and xstrdup. | |
1972 (add_volume_info): Use xstrdup. | |
1973 | |
31107
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1974 2000-08-22 Stefan Monnier <monnier@cs.yale.edu> |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1975 |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1976 * minibuf.c (Vcompletion_auto_help): Renamed from `auto_help'. |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1977 (do_completion, Fminibuffer_complete_word): Use it. |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1978 (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
|
1979 var so it can take non-boolean values. |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1980 |
31004 | 1981 2000-08-21 Gerd Moellmann <gerd@gnu.org> |
1982 | |
31017 | 1983 * editfns.c (find_field): Formatting changes. |
1984 (toplevel): Some old-style function forward declarations | |
1985 changed to prototypes, some new protypes added, some functions | |
1986 made static. | |
1987 | |
1988 * lisp.h (set_time_zone_rule): Add prototype. | |
1989 (use_dialog_box): External declaration. | |
1990 | |
31014 | 1991 * keyboard.c (gen_help_event): Add parameter SIZE. |
1992 (kbd_buffer_events_waiting): Slightly rewritten. | |
1993 (clear_event): New function. | |
1994 (kbd_buffer_get_event): Use it, and clear the input_events of | |
1995 HELP_EVENTs. | |
1996 (init_keyboard): Remove duplicate creation of kbd_buffer_gcpro and | |
1997 don't fill the newly created array with nils. | |
1998 (toplevel): Convert some old-style function forward declarations | |
1999 to prototypes. | |
2000 | |
2001 * keyboard.h (gen_help_event): Change prototype. | |
2002 | |
2003 * xterm.c (XTread_socket): Change calls to gen_help_event. | |
2004 | |
2005 * w32term.c (w32_read_socket): Change calls to gen_help_event. | |
2006 | |
31004 | 2007 * eval.c (Fmacroexpand): Doc fix. |
2008 | |
30990 | 2009 2000-08-20 Jason Rumney <jasonr@gnu.org> |
2010 | |
2011 * w32term.h (x_display_info_for_display): Remove as this function | |
2012 does not exist on W32. | |
2013 | |
2014 * w32term.c (help_echo_window): New variable. | |
2015 (syms_of_w32term): staticpro it. | |
2016 (note_mode_line_highlight): Set it. | |
2017 (XTextExtents16): Removed as there is no equivalent on W32. | |
2018 (x_compute_glyph_string_overhangs): Incomplete body removed, as | |
2019 the X way of doing this will not work for W32. | |
2020 (w32_intersect_rectangles): Removed. Use IntersectRect API call. | |
2021 (x_draw_image_foreground): Avoid drawing outside of the clip area | |
2022 when image doesn't have a mask. | |
2023 (note_mouse_highlight): Process overlays in the right order of | |
2024 priority. Set help_echo_window. | |
2025 (x_draw_bar_cursor): If cursor is on an image, draw a box cursor | |
2026 because that's more visible for large images. | |
2027 | |
2028 * w32menu.c (keymap_panes): Pass the keymap's prompt as the pane | |
2029 name to single_keymap_panes. | |
2030 (w32_menu_show): Set wv->title when dealing with titles. | |
2031 (w32_menu_display_help): Call show_help_echo with OBJECT and POS. | |
2032 | |
30977 | 2033 2000-08-21 Miles Bader <miles@gnu.org> |
2034 | |
2035 * minibuf.c (do_completion): Try again if we rewrite the input | |
2036 string, but no completion was done, so that any completion message | |
2037 will be correct. | |
2038 | |
30975 | 2039 2000-08-20 Gerd Moellmann <gerd@gnu.org> |
2040 | |
2041 * xfaces.c (lface_equal_p): Compare strings differently. | |
2042 (Qtty_color_alist, Vtty_defined_color_alist): New variables. | |
2043 (realize_tty_face): Use them. | |
2044 (syms_of_xfaces): Initialize new variables. | |
2045 (map_tty_color): New function, extracted from realize_tty_face. | |
2046 (map_tty_color) [MSDOS || WINDOWSNT]: If using the frame's default | |
2047 foreground or background color, store the new color name in the | |
2048 realized face; previous code trying to do this had no effect. | |
2049 (realize_tty_face): Use map_tty_color. | |
2050 (Fclear_face_cache): Set face_change_count and ensure thorough | |
2051 redisplay. | |
2052 | |
30963 | 2053 2000-08-19 Gerd Moellmann <gerd@gnu.org> |
2054 | |
30975 | 2055 * undo.c (record_first_change, record_marker_adjustment): Don't |
2056 use XBUFFER on last_undo_buffer which might not be a buffer. | |
30963 | 2057 |
30949 | 2058 2000-08-18 Kenichi Handa <handa@etl.go.jp> |
2059 | |
2060 * coding.c (decode_coding_string): Set members consumed, | |
2061 consumed_char, produced, produced_char of *coding correctly. If | |
2062 decode_coding doesn't consume any byte, don't try anymore. | |
2063 (encode_coding_string): Likewise. | |
2064 | |
30944 | 2065 2000-08-18 Gerd Moellmann <gerd@gnu.org> |
2066 | |
30975 | 2067 * lisp.h (CHECK) [ENABLE_CHECKING]: Make both sides of the |
2068 conditional have void type, for Standard C compilers. | |
30944 | 2069 |
2070 * xdisp.c (redisplay_internal): Compare windows for equality with | |
2071 EQ, instead of applying XWINDOW to something that might not | |
2072 be a window. | |
2073 | |
30940 | 2074 2000-08-18 Kenichi Handa <handa@etl.go.jp> |
2075 | |
2076 * fontset.c (Finternal_char_font): Search only the selected frame | |
2077 for a window of the current buffer. | |
2078 | |
30937 | 2079 2000-08-18 Gerd Moellmann <gerd@gnu.org> |
2080 | |
30975 | 2081 * minibuf.c (do_completion): Use EQ instead of `!=' to compare |
30939 | 2082 Lisp_Objects. |
2083 | |
30937 | 2084 * keyboard.c (kbd_buffer_get_event): Handle the case that the |
2085 second half of a HELP_EVENT is found at the start of kbd_buffer. | |
2086 | |
30932 | 2087 2000-08-18 Miles Bader <miles@gnu.org> |
2088 | |
30935 | 2089 * lisp.h (Lisp_String): Replace DECLARE_INTERVALS with real decl. |
2090 | |
30932 | 2091 * editfns.c (save_restriction_save): Rewrite to use markers. |
2092 (save_restriction_restore): Rewrite to understand new form of data | |
2093 saved by save_restriction_save. | |
2094 (Fsave_restriction): Remove cautionary note in doc-string. | |
2095 | |
30928 | 2096 2000-08-17 Gerd Moellmann <gerd@gnu.org> |
2097 | |
2098 * fileio.c (build_annotations): Add a comment explaining the | |
2099 return value of format-annotate-function. Replace a spurious call | |
2100 to Flength with a CONSP test. Call format-annotate-function with | |
2101 a fifth arg specifying how many times the function is been called | |
2102 in a row, to let it choose temporary buffers appropriately. | |
2103 | |
30919 | 2104 2000-08-17 Dave Love <fx@gnu.org> |
2105 | |
2106 * lisp.h: Remove DECLARE_INTERVALS, INITIALIZE_INTERVAL. Don't | |
2107 declare make_temp_name twice. | |
2108 | |
2109 * lread.c: Prototype readevalloop, load_unwind, | |
2110 load_descriptor_unwind. | |
2111 (unreadpure): Give it an arg. | |
2112 | |
2113 * unexalpha.c: Prototype fatal_unexec, mark_x, | |
2114 update_dynamic_symbols. Declare unexec as void. | |
2115 | |
2116 * cm.c [HAVE_TERMCAP_H]: Include <termcap.h>. | |
2117 [!HAVE_TERMCAP_H]: Prototype tputs, tgoto. | |
2118 | |
2119 * alloc.c (lisp_malloc): Declare with POINTER_TYPE. | |
2120 [SYSTEM_MALLOC]: Make decls in malloc.h conditional on | |
2121 DOUG_LEA_MALLOC. | |
2122 | |
2123 * alloca.c: Use #error. | |
2124 [POINTER_TYPE]: Use it. | |
2125 | |
2126 * eval.c (Fdefvar): Doc fix. | |
2127 | |
2128 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Avoid | |
2129 INITIALIZE_INTERVAL. | |
2130 | |
2131 * buffer.h: Avoid DECLARE_INTERVALS. | |
2132 | |
2133 * config.in: Add size_t. | |
2134 | |
30901 | 2135 2000-08-17 Eli Zaretskii <eliz@is.elta.co.il> |
2136 | |
2137 * w16select.c (set_clipboard_data): If there's not enough memory | |
2138 to put text into clipboard, return 1, as Fw16_set_clipboard_data | |
2139 expects. In case of other failures, return 3. | |
2140 (system_error_msg): New error message. | |
2141 (Fw16_set_clipboard_data): If set_clipboard_data returns 3, print | |
2142 system_error_msg. | |
2143 | |
30849 | 2144 2000-08-16 Gerd Moellmann <gerd@gnu.org> |
2145 | |
2146 * term.c (write_glyphs): Also turn off inverse video after turning | |
2147 off other appearances in case TS_exit_attribute_mode is not equal | |
2148 to TS_end_standout_mode. | |
2149 (insert_glyphs): Turn inverse video on/off for each run of glyphs | |
2150 with the same face. | |
2151 (turn_off_face): Reset standout_mode only if | |
2152 TS_exit_attribute_mode has been output and TS_exit_attribute_mode | |
2153 is equal to TS_end_standout_mode. | |
2154 | |
30843 | 2155 2000-08-16 Kenichi Handa <handa@etl.go.jp> |
2156 | |
30846 | 2157 * coding.c (encode_coding): Fix the bug of not flushing ISO escape |
2158 sequence at the end of the source block. | |
2159 | |
30843 | 2160 * ccl.c (Fccl_program_p): Docstring modified. |
2161 (Fccl_execute): Likewise. | |
2162 (Fccl_execute_on_string): Likewise. | |
2163 | |
30841 | 2164 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il> |
2165 | |
2166 * msdos.c (IT_write_glyphs): Convert cbp to unsigned char *. | |
2167 | |
30830 | 2168 2000-08-16 Kenichi Handa <handa@etl.go.jp> |
2169 | |
2170 The following changes are mainly to fix bugs of | |
2171 encode/decode-coding-string failing if encoding/decoding return | |
2172 CODING_FINISH_INSUFFICIENT_DST. In addition, delete the global | |
2173 variable conversion_buffer. | |
2174 | |
2175 * ccl.c (CCL_WRITE_CHAR): If CH is eight-bit-control char, | |
2176 decrement dst_end to avoid buffer overflow in the later call of | |
2177 string_as_multibyte | |
2178 | |
2179 * coding.h (conversion_buffer_size, conversion_buffer) | |
2180 (get_conversion_buffer): Extern deleted. | |
2181 | |
2182 * coding.c (MINIMUM_CONVERSION_BUFFER_SIZE): Macro deleted. | |
2183 (conversion_buffer, conversion_buffer_size): Variables deleted. | |
2184 (get_conversion_buffer): Function deleted. | |
2185 (struct conversion_buffer): New structure. | |
2186 (MAX_ALLOCA): New macro. | |
2187 (allocate_conversion_buffer): New macro. | |
2188 (extend_conversion_buffer, free_conversion_buffer): New functions. | |
2189 (ccl_coding_driver): Set coding->result. | |
2190 (decode_coding): Set coding->result to CODING_FINISH_NORMAL if | |
2191 this is the last block of source. | |
2192 (encode_coding): Likewise. Handle the source block as the last | |
2193 one only when the whole source text is consumed. | |
2194 (decode_coding_string): Handle the case that the output buffer is | |
2195 too small to decode the whole source text. Use | |
2196 allocate_conversion_buffer, extend_conversion_buffer and | |
2197 free_conversion_buffer, not get_conversion_buffer. | |
2198 (encode_coding_string): Likewise. | |
2199 (init_coding): Function deleted. | |
2200 (init_coding_once): Delete code to initialize | |
2201 conversion_buffer_size. | |
2202 | |
2203 * emacs.c (main): Don't call init_coding. | |
2204 | |
2205 * msdos.c (IT_write_glyphs): Use a locally declared | |
2206 conversion_buffer. | |
2207 | |
2208 * term.c (write_glyphs): Use a locally declared conversion_buffer. | |
2209 (insert_glyphs): Likewise. | |
2210 | |
2211 * w32console.c (write_glyphs): Use a locally declared | |
2212 conversion_buffer. | |
2213 | |
30827 | 2214 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il> |
2215 | |
2216 * msdos.c (IT_update_begin): Don't crash if mouse_face_mouse_frame | |
2217 member of display_info is NULL. | |
2218 | |
30822 | 2219 2000-08-15 Gerd Moellmann <gerd@gnu.org> |
2220 | |
30825 | 2221 * alloc.c (compact_small_strings): Use safe_bcopy, add an |
2222 assertion. | |
2223 | |
30822 | 2224 * term.c (turn_off_face): Reset standout_mode when resetting |
30825 | 2225 appearances with capability `me'. |
30822 | 2226 (write_glyphs): Switch on inverse video before each face change. |
2227 | |
30785 | 2228 2000-08-14 Dave Love <fx@gnu.org> |
2229 | |
2230 * alloc.c [HAVE_UNISTD_H]: Include unistd.h; don't declare sbrk. | |
2231 [!HAVE_UNISTD_H]: Use POINTER_TYPE to declare sbrk. | |
2232 (lisp_free): Declare and make static. | |
2233 | |
2234 * window.c: Fix embedded comment. | |
2235 (syms_of_window): Fix doc string. | |
2236 | |
30781 | 2237 2000-08-14 Gerd Moellmann <gerd@gnu.org> |
2238 | |
2239 * keymap.c (push_key_description): If C without modifiers is < 32, | |
2240 make sure to print `C-' before `M-', like in the manual. | |
2241 | |
30762 | 2242 2000-08-11 Gerd Moellmann <gerd@gnu.org> |
2243 | |
2244 * fns.c (hashfn_eq, hashfn_eql): Don't handle strings specially | |
2245 since they aren't relocated anymore. | |
2246 (sxhash_string): Make sure returned hash code fits in a Lisp | |
2247 integer. | |
2248 | |
2249 * xdisp.c (try_cursor_movement): Fix handling of cursor in | |
2250 partially visible line which is smaller than the window's | |
2251 height. | |
2252 | |
30753 | 2253 2000-08-11 Kenichi Handa <handa@etl.go.jp> |
2254 | |
2255 * ccl.c (CCL_READ_CHAR): If source is multibyte, pay attention to | |
2256 the multibyte form of eight-bit-control characters. | |
2257 (Fccl_execute_on_string): Initialize ccl->multibyte. | |
2258 | |
2259 * ccl.h (struct ccl_program): New member multibyte. | |
2260 | |
2261 * coding.c (ccl_coding_driver): Initialize ccl->multibyte. | |
2262 | |
30751 | 2263 2000-08-11 Kenichi Handa <handa@etl.go.jp> |
2264 | |
2265 * regex.c (regex_compile) <normal_char>: Pay attention to | |
2266 multibyteness. | |
2267 (analyse_first) <exactn>: Setup fastmap correctly for | |
2268 eight-bit-control characters. | |
2269 | |
2270 2000-08-11 Kenichi Handa <handa@etl.go.jp> | |
2271 | |
2272 * termhooks.h (enum event_kind): New member | |
2273 multibyte_char_keystroke. | |
2274 | |
2275 * keyboard.c (make_lispy_event): Handle the new event type | |
2276 multibyte_char_keystroke. | |
2277 | |
2278 * xterm.c: Include coding.h. | |
2279 (XTread_socket): Work around a bug of XmbLookupString. If the | |
2280 input is from XIM, decode it according to the current locale. In | |
2281 that case, generate multibyte_char_keystroke events. | |
2282 | |
30746 | 2283 2000-08-11 Kenichi Handa <handa@etl.go.jp> |
2284 | |
2285 * xdisp.c (TRACE_MOVE) [GLYPH_DEBUG]: Delete the last semicolon. | |
2286 (TRACE_MOVE) [not GLYPH_DEBUG]: Define dummy. | |
2287 | |
30745 | 2288 2000-08-10 Gerd Moellmann <gerd@gnu.org> |
2289 | |
2290 * xdisp.c (trace_move) [GLYPH_DEBUG]: New variable. | |
2291 (TRACE_MOVE) [GLYPH_DEBUG]: New macro. | |
2292 (move_it_in_display_line_to): Record iterator's ascent and descent | |
2293 before producing glyphs, and restore them when we know the glyph | |
2294 doesn't fit on the line. | |
2295 (move_it_to): Restructured so that it's easier to debug. If | |
2296 moving to a vpos, and not moving to an x or character position, | |
2297 stop as soon as the specified vpos is reached; don't move further | |
2298 into that line because that might change the computed line height. | |
2299 (try_cursor_movement): New function, extracted from the cursor | |
2300 movement branch of redisplay_window. If ending on a partially | |
2301 visible line, don't try to scroll if the cursor line is taller | |
2302 than the window. | |
2303 (redisplay_window): Use try_cursor_movement. | |
2304 | |
2305 * window.c (Fwindow_end): Rewritten to not use Fvertical_motion, | |
2306 because that function doesn't cope with variable-height lines. | |
2307 | |
2308 * xterm.c (x_draw_bar_cursor): If cursor is on an image, draw a | |
2309 box cursor because that's better visible for large images. | |
2310 | |
30737 | 2311 2000-08-10 Miles Bader <miles@gnu.org> |
2312 | |
2313 * w32term.c (note_mouse_highlight): Update calls to overlays_at. | |
2314 | |
30729 | 2315 2000-08-10 Gerd Moellmann <gerd@gnu.org> |
2316 | |
2317 * xdisp.c (Vmessages_buffer_name): New variable. | |
2318 (message_dolog): Use it. | |
2319 (syms_of_xdisp): Initialize it. | |
2320 | |
30726 | 2321 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il> |
2322 | |
2323 * msdos.c (IT_note_mouse_highlight): Update the calls to | |
2324 overlays_at. | |
2325 (toplevel) <kbd_buffer_store_event>: Remove prototype, it's | |
2326 redundant now that keyboard.h is included. | |
2327 | |
30715 | 2328 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il> |
2329 | |
2330 * keyboard.c (kbd_buffer_events_waiting): New function. | |
2331 | |
2332 * keyboard.h (kbd_buffer_events_waiting): Add prototype. | |
2333 | |
2334 * msdos.c: Include keyboard.h. | |
2335 (XMenuActivate): Empty no_event events from the event buffer. If | |
2336 no events are left after that, call clear_input_pending. | |
2337 (mouse_clear_clicks): New function, code moved from mouse_init. | |
2338 (mouse_init, XMenuActivate): Call mouse_clear_clicks to force the | |
2339 mouse driver to ``forget'' any past clicks. | |
2340 | |
2341 * Makefile.in (msdos.o): Depend on keyboard.h. | |
2342 | |
30708 | 2343 2000-08-09 Gerd Moellmann <gerd@gnu.org> |
2344 | |
30724 | 2345 * lisp.h (input_pending): External declaration. |
2346 | |
2347 * dispextern.h (Qredisplay_dont_pause): Declare extern. | |
2348 | |
2349 * xdisp.c (echo_area_display): Display thoroughly if input is | |
2350 pending. Bind redisplay-dont-pause to t during the redisplay. | |
2351 in case input is pending. | |
2352 | |
2353 * dispnew.c (Qredisplay_dont_pause): New variable. | |
2354 (syms_of_display): Initialize and staticpro it. | |
2355 (update_frame_1): Don't interrupt the display for pending input if | |
2356 redisplay_dont_pause is set. | |
2357 | |
30714 | 2358 * dispnew.c (mode_line_string): Declare parameter MODE_LINE_P. |
2359 | |
30708 | 2360 * xfaces.c (Ftty_suppress_bold_inverse_default_colors): Doc fix. |
2361 | |
30702 | 2362 2000-08-09 Miles Bader <miles@lsi.nec.co.jp> |
2363 | |
2364 * callproc.c (Fcall_process): Terminate the unwind-protect around | |
2365 the post-read-conversion of coding system. | |
2366 | |
30701 | 2367 * buffer.c (overlays_at): Add CHANGE_REQ parameter. |
2368 (Foverlays_at, Fnext_overlay_change, Fprevious_overlay_change): Use it. | |
2369 * buffer.h (overlays_at): Update prototype. | |
2370 * xdisp.c (next_overlay_change): Update call to overlays_at. | |
2371 * xfaces.c (face_at_buffer_position): Likewise. | |
2372 * textprop.c (Fget_char_property): Likewise. | |
2373 * xterm.c (note_mouse_highlight): Likewise. | |
2374 | |
30685 | 2375 * minibuf.c (do_completion): Don't consider a simple change of |
2376 case as `completion'. | |
2377 | |
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
|
2378 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
|
2379 |
30683
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2380 * keyboard.c (syms_of_keyboard): Initialize |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2381 last_point_position_buffer. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2382 * undo.c (record_delete): Make sure last_point_position_buffer is |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2383 a buffer before comparing pointers. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2384 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2385 * coding.h (decode_coding_string): Declare. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2386 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2387 * intervals.h (Fprevious_single_char_property_change): Declare. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2388 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2389 * textprop.c (Fprevious_single_char_property_change): Don't do |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2390 arithmetic directly on lisp objects. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2391 |
30693 | 2392 * editfns.c (find_field): Use EQ, not ==, to compare Lisp |
30683
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2393 objects. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2394 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2395 * keyboard.h (menu_item_eval_property): Declare. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2396 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2397 * xdisp.c (message_dolog): Save and protect string "*Messages*" to |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2398 reuse as buffer name, instead of recreating (and discarding) every |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2399 time a message is logged. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2400 (with_echo_area_buffer): Make callback arg A2 a lisp object. |
30693 | 2401 (current_message_1, truncate_message_1, set_message_1) |
2402 (display_echo_area_1, resize_mini_window_1): Signatures changed. | |
2403 (current_message, truncate_echo_area, display_echo_area) | |
2404 (resize_echo_area_axactly): Changed calls. | |
30683
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
2405 |
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
|
2406 * coding.c (find_safe_codings): CHAR_TABLE_SET index must be a |
30693 | 2407 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
|
2408 (Ffind_coding_systems_region_internal): First argument to Fappend |
30693 | 2409 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
|
2410 |
30672 | 2411 2000-08-08 Kenichi Handa <handa@etl.go.jp> |
2412 | |
2413 * charset.c (Fchar_width): Doc fix. | |
2414 | |
30671 | 2415 2000-08-08 Gerd Moellmann <gerd@gnu.org> |
2416 | |
2417 * charset.c (Fstring_width): Doc fix. | |
2418 | |
30632 | 2419 2000-08-07 Gerd Moellmann <gerd@gnu.org> |
2420 | |
30708 | 2421 * xdisp.c (start_display): When starting display on a continuation |
30654 | 2422 line, clear ascent and descent members of the iterator structure; |
2423 the height of the continued line does not affect the height of the | |
2424 continuation line. | |
2425 (make_cursor_line_fully_visible): Do nothing if cursor is on a | |
2426 line taller than the window. | |
2427 (redisplay_window) <forced window start>: Handle case that the | |
2428 middle of the window is not found in any row. | |
2429 (dump_glyph_row): Show more information. | |
2430 (compute_line_metrics): Use MATRIX_FIRST_TEXT_ROW to determine the | |
2431 first text line in a glyph matrix. | |
2432 | |
2433 * xterm.c (x_draw_image_foreground): Avoid drawing outside | |
2434 of the clip area when image doesn't have a mask. | |
2435 | |
30639 | 2436 * fns.c (sweep_weak_table): Fix survival conditions for |
2437 key-or-value and key-and-value weakness. | |
2438 | |
2439 * .gdbinit (xhashtable): New command. | |
2440 | |
30635 | 2441 * fns.c (sweep_weak_hash_tables): Fix the code taking unmarked |
2442 tables out of the list of all weak hash tables. | |
2443 | |
30632 | 2444 * xdisp.c (ensure_echo_area_buffers): If a buffer was killed, and |
30633 | 2445 a new buffer is created, make sure echo_area_buffer[] references |
2446 the new buffer. | |
30632 | 2447 |
30629 | 2448 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il> |
2449 | |
2450 * msdos.c (Fmsdos_set_mouse_buttons): Add missing backslashes in | |
2451 the doc string. | |
2452 | |
30625 | 2453 2000-08-07 Kenichi Handa <handa@etl.go.jp> |
2454 | |
2455 * syntax.c (skip_chars): Fix previous change. Make the handling | |
2456 of unibyte string consistent with that of regex search. | |
2457 | |
30603 | 2458 2000-08-05 Gerd Moellmann <gerd@gnu.org> |
2459 | |
30614 | 2460 * xmenu.c (popup_get_selection): Use xfree instead of free. |
2461 | |
2462 * fileio.c (Finsert_file_contents): Use xfree instead of free. | |
2463 | |
2464 * editfns.c (Ftranspose_regions): Use xfree instead of free. | |
2465 | |
2466 * callproc.c (child_setup): Use xfree instead of free. | |
2467 | |
2468 * sysdep.c (opendir, GetTempDirName, run_mac_command): Use xmalloc | |
2469 instead of malloc. | |
2470 (run_mac_command, closedir): Use `xfree' instead of `free'. | |
2471 | |
2472 * keymap.c (current_minor_maps): Use xmalloc instead of malloc. | |
2473 | |
2474 * eval.c (error): Use xfree instead of free. | |
2475 | |
30603 | 2476 * xfaces.c, xfns.c, w32fns.c: Replace `illegal' with `invalid'. |
2477 | |
2478 * fns.c: Replace `illegal' with `invalid'. | |
30614 | 2479 (Fmake_hash_table, make_hash_table): Allow table size of 0. |
30603 | 2480 |
30596
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
2481 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
|
2482 |
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
2483 * 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
|
2484 conversion. |
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
2485 |
30598
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
2486 2000-08-04 Noah Friedman <friedman@splode.com> |
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
2487 |
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
2488 * 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
|
2489 docstring. |
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
2490 |
30595 | 2491 2000-08-04 Gerd Moellmann <gerd@gnu.org> |
2492 | |
2493 * syntax.c (skip_chars): Fix typo in error message. | |
2494 | |
30588
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
2495 2000-08-04 Andreas Schwab <schwab@suse.de> |
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
2496 |
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
2497 * m/ia64.h: Moved from s/ia64.h. |
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
2498 |
30577 | 2499 2000-08-04 Kenichi Handa <handa@etl.go.jp> |
2500 | |
30582 | 2501 * process.c (read_process_output): Big simplification. Handle |
2502 composition and post-read-conversion of coding system correctly. | |
2503 (send_process): Handle composition correctly. | |
2504 | |
2505 * callproc.c (Fcall_process): Handle post-read-conversion of | |
2506 coding system if any. | |
2507 | |
30577 | 2508 * coding.c (decode_coding_iso2022): More strict check for handling |
2509 single shifting. | |
30582 | 2510 (coding_restore_composition): Pay attention to the case that |
2511 cmp_data is not set properly (because of invalid code in the | |
2512 source text). | |
2513 (run_pre_post_conversion_on_str): Include text properties in the | |
2514 resulting string. | |
2515 (decode_coding_string): Set members of coding correctly. | |
30577 | 2516 |
30576 | 2517 2000-08-03 Gerd Moellmann <gerd@gnu.org> |
2518 | |
2519 * s/ia64.h: New file. | |
2520 | |
2521 * widget.c (set_frame_size, update_wm_hints, EmacsFrameSetValues): | |
2522 Use NULL instead of 0 at the end of variable argument list of | |
2523 XtVaGetValues and XtVaSetValues, because 0 fails on systems where | |
2524 sizeof (int) < sizeof (void *). | |
2525 | |
2526 * xmenu.c (update_frame_menubar): Use NULL instead of 0 at the end | |
2527 of variable argument lists of XtVaGetValues and XtVaSetValues. | |
2528 | |
2529 * xfns.c (Fx_file_dialog): Use NULL instead of 0 at the end of | |
2530 variable argument lists of XtVaGetValues and XtVaSetValues. | |
2531 | |
30564 | 2532 2000-08-02 Gerd Moellmann <gerd@gnu.org> |
2533 | |
2534 * alloc.c (lisp_malloc, lisp_free): Use size_t and POINTER_TYPE. | |
2535 (xrealloc, xmalloc): Use size_t. Some callers adjusted. | |
2536 | |
2537 * lisp.h (Fsingle_key_description, xmalloc, xrealloc): Change | |
2538 prototype. | |
2539 | |
2540 * keyboard.c (read_char_minibuf_menu_prompt): Add new parameter | |
2541 in call to Fsingle_key_description. | |
2542 | |
2543 * keymap.c (Fsingle_key_description): Add parameter NO_ANGLES. | |
2544 Callers changed. | |
2545 | |
2546 2000-08-02 Colin Walters <walters@cis.ohio-state.edu> | |
2547 | |
2548 * window.c (display_buffer_reuse_frames): New variable. | |
2549 (Fdisplay_buffer): If display_buffer_reuse_frames is set, reuse | |
2550 frames displaying BUFFER. | |
2551 (syms_of_window): Define Lisp variable | |
2552 display-buffer-reuse-frames. | |
2553 | |
30551 | 2554 2000-08-01 Miles Bader <miles@gnu.org> |
2555 | |
2556 * editfns.c (Fconstrain_to_field): Fix the conditions for deciding | |
2557 when to constrain NEW_POS (they were pretty screwed up before). | |
2558 | |
30531 | 2559 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il> |
2560 | |
2561 * msdos.c (run_msdos_command): Save and restore the master | |
2562 environment, for the case that child_setup signals an error. | |
2563 When mirroring slashes in DOS shell commands, don't fail when | |
2564 argv[2] has embedded blanks. | |
30533 | 2565 (Fmsdos_set_mouse_buttons, mouse_setup_buttons): New functions. |
2566 (syms_of_msdos): Defsubr Fmsdos_set_mouse_buttons. | |
2567 (dos_ttraw): Call mouse_setup_buttons. | |
30531 | 2568 |
2569 * callproc.c (child_setup) [MSDOS]: malloc pwd_var instead of | |
2570 using alloca; free it after run_msdos_command returns. | |
2571 | |
30507 | 2572 2000-07-27 Dave Love <fx@gnu.org> |
2573 | |
2574 * s/irix6-5.h (IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't | |
2575 define. | |
2576 [_MIPS_SZLONG == 64]: Set up for 64-bit mode -- not currently | |
2577 working. | |
2578 | |
2579 * m/iris4d.h (XUINT, XSET, XUNMARK) [_LP64]: Don't define. | |
2580 | |
30504 | 2581 2000-07-27 Eli Zaretskii <eliz@is.elta.co.il> |
2582 | |
2583 * editfns.c (lisp_time_argument): Fix last change. | |
2584 | |
30502 | 2585 2000-07-27 Gerd Moellmann <gerd@gnu.org> |
2586 | |
30511 | 2587 * fns.c (Fdelete): Make it work on vectors and strings in addition |
2588 to lists. | |
2589 | |
30502 | 2590 * fns.c (Qkey_or_value, Qkey_and_value): New variables. |
2591 (syms_of_fns): Initialize new variables. | |
2592 (sweep_weak_table): Handle weakness `key-or-value' and | |
2593 `key-and-value'. | |
2594 (Fmake_hash_table): Recognize `key-and-value' and `key-or-value' | |
2595 weakness, with t meaning the same as `key-and-value'. | |
2596 | |
30490 | 2597 2000-07-27 Kenichi Handa <handa@etl.go.jp> |
2598 | |
2599 * coding.h (struct coding_system): Member safe_charset deleted. | |
2600 | |
2601 * coding.c (Qsafe_charsets): This variable deleted. | |
2602 (Qsafe_chars, Vchar_coding_system_table, Qchar_coding_system): New | |
2603 variables. | |
2604 (coding_safe_chars): New function. | |
2605 (CODING_SAFE_CHAR_P): New macro. | |
2606 (CHARSET_OK): New arg C. Call CODING_SAFE_CHAR_P instead of | |
2607 checking safe_charsets member of the coding system. Caller | |
2608 changed. | |
2609 (detect_coding_iso2022): New local variable safe_chars. | |
2610 (DECODE_DESIGNATION): Call CODING_SAFE_CHAR_P instead of checking | |
2611 safe_charsets member of the coding system. | |
2612 (decode_coding_iso2022): New local variable safe_chars. | |
2613 (ENCODE_ISO_CHARACTER_DIMENSION1): Don't check unsafe chars here. | |
2614 (ENCODE_ISO_CHARACTER_DIMENSION2): Likewise. | |
2615 (ENCODE_ISO_CHARACTER): Arguments changed. Caller changed. | |
2616 (ENCODE_UNSAFE_CHARACTER): New macro. | |
2617 (encode_coding_iso2022): New local variable safe_chars. Check | |
2618 unsafe chars. | |
2619 (setup_coding_system): Delete the code to initialize | |
2620 coding->safe_charses | |
2621 (intersection, find_safe_codings): New functions. | |
2622 (Ffind_coding_systems_region_internal): New function. | |
2623 (syms_of_coding): Defsubr it. Initialize Qsafe_chars, | |
2624 Qsafe_cding_system. Make Vchar_coding_system_table a Lisp | |
2625 variable and initialize it. | |
2626 | |
2627 * fns.c (char_table_ref_and_index): New function. | |
2628 | |
2629 * lisp.h (char_table_ref_and_index): Add prototype. | |
2630 | |
30480 | 2631 2000-07-26 Sam Steingold <sds@gnu.org> |
2632 | |
2633 * editfns.c (lisp_time_argument): Added third argument `usec'. | |
30511 | 2634 (Ffloat_time): New built-in Lisp function. |
30480 | 2635 |
30473 | 2636 2000-07-26 Gerd Moellmann <gerd@gnu.org> |
2637 | |
30477 | 2638 * dispextern.h (GLYPH_FROM_CHAR_GLYPH): Use CHARACTERBITS bits |
2639 for the character code. | |
2640 | |
2641 * config.in (HAVE_SOUND): Define only for FreeBSD, NetBSD and | |
2642 GNU/Linux. | |
2643 | |
30473 | 2644 * xmenu.c (menu_highlight_callback): Call show_help_echo directly |
2645 if called for a popup menu. | |
2646 (xmenu_show): Store help string in widget values. | |
2647 | |
30466 | 2648 2000-07-26 Dave Love <fx@gnu.org> |
2649 | |
2650 * syswait.h: Move some definitions. | |
2651 (HAVE_SYS_WAIT_H): Undef for HPUX7, Convex. | |
2652 [!HAVE_SYS_WAIT_H]: Define things unconditionally. More | |
2653 perspicuous definitions. | |
2654 (WTERMSIG): Fix bit pattern used. | |
2655 | |
30460 | 2656 2000-07-26 Kenichi Handa <handa@etl.go.jp> |
2657 | |
2658 * print.c (print_object): If vector printing is truncated, print | |
2659 "..." to indicate it as well as the case of list printing. | |
2660 | |
30444 | 2661 2000-07-25 Gerd Moellmann <gerd@gnu.org> |
2662 | |
30449 | 2663 * xdisp.c (next_element_from_display_vector): Improve comments. |
2664 | |
2665 * lisp.h (GLYPH_MASK_CHAR, GLYPH_MASK_FACE): Use 19 bits | |
2666 for the character code, and the rest for the face id as in 20.x. | |
2667 (FAST_GLYPH_FACE, FAST_MAKE_GLYPH): Changed accordingly. | |
2668 | |
2669 * window.c (window_display_table): Cleaned up. | |
2670 | |
30444 | 2671 * syntax.c (Fforward_word): Add last arg nil in call of |
2672 Fconstrain_to_field. | |
2673 | |
30442 | 2674 2000-07-25 Eli Zaretskii <eliz@is.elta.co.il> |
2675 | |
30449 | 2676 * fileio.c (Frename_file) [DOS_NT]: If the file names are |
30442 | 2677 identical but for the letter-case, don't call |
2678 barf_or_query_if_file_exists. | |
2679 | |
30438 | 2680 2000-07-25 Miles Bader <miles@gnu.org> |
2681 | |
2682 * editfns.c (find_field): Honor special `boundary' fields. | |
2683 (Qboundary): New variables. | |
2684 (syms_of_editfns): Initialize Qboundary. | |
2685 (Fconstrain_to_field): Add the INHIBIT-CAPTURE-PROPERTY argument. | |
2686 Use scan_buffer instead of find_before_next_newline, because it | |
2687 allows us to detect the boundary case where there's a newline at | |
2688 the search limit. | |
2689 * lisp.h (Fconstrain_to_field): Update external declaration. | |
2690 | |
30433 | 2691 2000-07-24 Gerd Moellmann <gerd@gnu.org> |
2692 | |
2693 * print.c (temp_output_buffer_setup): Don't call1 Vrun_hooks | |
2694 if that is nil. | |
30438 | 2695 |
30431 | 2696 2000-07-24 Dave Love <fx@gnu.org> |
2697 | |
2698 * s/sunos4-0.h, s/sol2.h: | |
2699 (LIBS_TERMCAP): Move from m/sparc.h. | |
2700 | |
2701 * m/sparc.h (TERMINFO): Moved to system files (probably only | |
2702 relevant for sunos4 judging by its vintage). | |
2703 (BITS_PER_LONG, BITS_PER_EMACS_INT, _LP64): Define conditional on | |
2704 __arch64__. | |
2705 | |
30424 | 2706 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il> |
2707 | |
2708 * xmenu.c (keymap_panes): Pass the keymap's prompt as the pane | |
2709 name to single_keymap_panes. | |
2710 | |
30418 | 2711 2000-07-24 Andreas Schwab <schwab@suse.de> |
2712 | |
2713 * fns.c (Fmakehash): Pass Qeql to Fmake_hash_table if TEST is nil. | |
2714 | |
30415 | 2715 2000-07-24 Gerd Moellmann <gerd@gnu.org> |
2716 | |
2717 * xdisp.c (with_echo_area_buffer): Take additional EMACS_INT | |
2718 parameters instead of using int parameters. Expect FN to accept | |
2719 EMACS_INT parameters. | |
2720 (display_echo_area, resize_echo_area_axactly, current_message) | |
2721 (truncate_echo_area, set_message_1): Call with_echo_area_buffer | |
2722 with new argument list. | |
2723 (resize_mini_window_1): New callback function. | |
2724 (current_message_1, truncate_message_1, set_message_1): Change | |
2725 parameter lists to the new format expected by | |
2726 with_echo_area_buffer. | |
2727 | |
30397 | 2728 2000-07-24 Kenichi Handa <handa@etl.go.jp> |
2729 | |
2730 * fontset.c (fontset_ref): Remove INLINE declaration. | |
2731 (fontset_ref_via_base): Likewise. | |
2732 (Fset_fontset_font): Convert FAMILY and REGISTRY specifications | |
2733 to downcase. | |
2734 | |
30382 | 2735 2000-07-23 Eli Zaretskii <eliz@is.elta.co.il> |
2736 | |
2737 * msdos.c (IT_note_mouse_highlight): Process overlays in the | |
2738 correct order of priority. If help echo was found in an overlay, | |
2739 use that overlay as the object in which the help echo was found. | |
2740 | |
30378 | 2741 2000-07-22 Miles Bader <miles@gnu.org> |
2742 | |
2743 * textprop.c (Fprevious_single_char_property_change): The initial | |
2744 property value should be from the position preceding POSITION, not | |
2745 following it. | |
2746 | |
30377 | 2747 2000-07-22 Eli Zaretskii <eliz@is.elta.co.il> |
2748 | |
2749 * coding.c (syms_of_coding): Doc fix for | |
2750 inhibit-iso-escape-detection. | |
2751 | |
30364 | 2752 2000-07-21 Gerd Moellmann <gerd@gnu.org> |
2753 | |
30372 | 2754 * xterm.c (note_mouse_highlight): Process overlays in the right |
2755 order of priority. | |
30480 | 2756 |
30370 | 2757 * keyboard.c (show_help_echo, gen_help_event): Extend comments. |
2758 | |
2759 * xterm.c (note_mouse_highlight): If help-echo was found in an | |
2760 overlay, use that overlay as the object in which the help was | |
2761 found. | |
2762 | |
30367 | 2763 * window.c (foreach_window_1): Fix typo reversing an if-condition. |
30480 | 2764 |
30364 | 2765 * window.c (foreach_window): Instead of a fake variable argument |
2766 list, take one USER_DATA argument. | |
2767 (foreach_window_1): Likewise, and call callback functions with two | |
2768 args, the window and USER_DATA. | |
2769 (struct check_window_data): New struct. | |
2770 (check_window_containing): Use it. | |
2771 (window_from_coordinates): Set up a struct check_window_data for | |
2772 foreach_window. | |
2773 (add_window_to_list, freeze_window_start): Change parameters | |
2774 according to new calling convention. | |
2775 | |
2776 * window.h (foreach_window): Change prototype. | |
2777 | |
2778 * buffer.c (Fprevious_overlay_change): Avoid memory leak. | |
2779 | |
2780 2000-07-21 Eli Zaretskii <eliz@is.elta.co.il> | |
2781 | |
2782 * xmenu.c (menu_help_callback): Call show_help_echo with | |
2783 additional arguments OBJECT and POS. | |
2784 | |
30355 | 2785 2000-07-21 Kenichi Handa <handa@etl.go.jp> |
2786 | |
30357 | 2787 * data.c (Faset): Allow storing any multibyte character in a |
2788 string. Convert unibyte string to multibyte if necessary. | |
2789 | |
30355 | 2790 * xfns.c (x_encode_text): New function. |
2791 (x_set_name): Use x_encode_text. | |
2792 (x_set_title): Likewise. | |
2793 | |
2794 * xselect.c (lisp_data_to_selection_data): Use x_encode_text. | |
2795 | |
2796 * xterm.h (x_encode_text): Add prototype. | |
2797 | |
30346 | 2798 2000-07-20 Dave Love <fx@gnu.org> |
2799 | |
2800 * ccl.c (Fccl_execute_on_string): Don't check xmalloc return. Use | |
2801 xfree, not free. | |
2802 | |
30342 | 2803 2000-07-20 Eli Zaretskii <eliz@is.elta.co.il> |
2804 | |
2805 * msdos.c (help_echo_window): New variable. | |
2806 (syms_of_msdos): Initialize and staticpro it. | |
2807 (IT_note_mode_line_highlight): Set help_echo_window. | |
2808 (IT_note_mouse_highlight): Ditto. | |
2809 (dos_rawgetc): Store help_echo_window in the second event produced | |
2810 for HELP_EVENTs. | |
2811 | |
2812 * msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight): | |
2813 Record the object that generated the help echo and the position of | |
2814 that object in help_echo_object and help_echo_pos. Record that | |
2815 some glyphs in a row are displayed in mouse-face. | |
2816 (IT_update_begin): Don't clear mouse highlight unless one of the | |
2817 enabled glyph rows is marked as being displayed in mouse-face. | |
2818 (dos_rawgetc): Generate 2 events for HELP_EVENT. Pass the object | |
2819 and position recorded in help_echo_object and help_echo_pos to the | |
2820 event queue. | |
2821 (IT_menu_display): Accept a new argument PN: the pane number of | |
2822 the current menu pane. Record the pane number and the item | |
2823 number of the item which has associated help string. | |
2824 (XMenuActivate): Update the prototype for help_callback in | |
2825 function declaration. Call IT_menu_display with the current menu | |
2826 pane number as an additional argument. Call help_callback with | |
2827 two additional arguments: the pane number and the item number of | |
2828 the menu item associated with the help text. | |
2829 (help_echo_object, help_echo_pos): New variables. | |
2830 (syms_of_msdos): Initialize them and staticpro help_echo_object. | |
2831 | |
2832 * msdos.h (XMenuActivate): Update prototype. | |
2833 | |
30318 | 2834 2000-07-19 Gerd Moellmann <gerd@gnu.org> |
2835 | |
30329 | 2836 * xdisp.c (with_echo_area_buffer): Call FN with more arguments. |
2837 Add some more prototypes. | |
2838 | |
2839 * xterm.c, xterm.h: Add some more prototypes. | |
2840 | |
2841 * lisp.h (Fnext_single_char_property_change): Add prototype. | |
2842 | |
2843 * dispnew.c (direct_output_for_insert): Remove confusing | |
2844 outer local variable mouse_face_overwritten_p. | |
2845 (glyph_row_slice_p): Put in #ifdef GLYPH_DEBUG. | |
2846 | |
30318 | 2847 * alloc.c (allocate_string_data): Don't copy old string contents. |
2848 | |
30314 | 2849 2000-07-19 Kenichi Handa <handa@etl.go.jp> |
2850 | |
2851 * coding.c (code_convert_region): Delete text properties before | |
2852 shrinking the conversion region. | |
2853 | |
30303 | 2854 2000-07-18 Gerd Moellmann <gerd@gnu.org> |
2855 | |
30308 | 2856 * dispnew.c (update_text_area): Write the whole row if it |
2857 has mouse-face in it. | |
2858 | |
30305 | 2859 * xfaces.c (face-alternative-font-family-alist): Remove |
2860 DEFVAR_LISP; staticpro instead. | |
2861 | |
30480 | 2862 * xmenu.c (menu_help_callback): Call show_help_echo with |
30303 | 2863 new arguments. |
2864 | |
2865 * keyboard.c (show_help_echo): Add parameter WINDOW. | |
2866 (read_char): Call show_help_echo with window extracted from Lisp | |
2867 help event. | |
2868 (gen_help_event): Add parameter WINDOW. | |
2869 | |
2870 * keyboard.h (show_help_echo, gen_help_event): Change prototypes. | |
2871 | |
2872 * xterm.c (help_echo_window): New variable. | |
2873 (note_mouse_highlight, note_tool_bar_highlight): Set | |
2874 help_echo_window. | |
2875 (XTread_socket): Pass help_echo_window to gen_help_event. | |
2876 (syms_of_xterm): Initialize and staticpro help_echo_window. | |
2877 | |
30298 | 2878 2000-07-18 Dave Love <fx@gnu.org> |
2879 | |
2880 * Makefile.in: Fix dependencies of blockinput.h on atimer.h, | |
2881 systime.h. | |
2882 | |
30290 | 2883 2000-07-18 Gerd Moellmann <gerd@gnu.org> |
2884 | |
30296 | 2885 * alloc.c (allocate_string_data): If string had already data |
2886 assigned, copy old contents to new string data. | |
2887 | |
2888 * coding.c (syms_of_coding): Fix typo in spelling of variable | |
2889 `inhibit-iso-escape-detection'. | |
2890 | |
30290 | 2891 * alloca.c (free) [emacs && EMACS_FREE]: Define as EMACS_FREE. |
2892 | |
2893 * Makefile.in: Add dependencies on dispextern.h. | |
2894 (alloca.o): Don't define malloc and define EMACS_FREE instead of | |
2895 `free'; both can conflict with system header files. | |
2896 | |
30281 | 2897 2000-07-18 Kenichi Handa <handa@etl.go.jp> |
2898 | |
2899 * charset.h (MAKE_CHAR): Return reasonable code even if CHARSET is | |
2900 undefined. | |
2901 | |
30266 | 2902 2000-07-18 Dave Love <fx@gnu.org> |
2903 | |
2904 * window.c (Fwindow_list): Declare arg `window'. | |
2905 | |
30262 | 2906 2000-07-18 Kenichi Handa <handa@etl.go.jp> |
2907 | |
2908 * coding.c (setup_coding_system): Don't override the explicitly | |
2909 specified designations. | |
2910 | |
30245 | 2911 2000-07-15 Miles Bader <miles@gnu.org> |
2912 | |
2913 * editfns.c (char_property_eq, char_property_stickiness): Renamed | |
2914 from `text_property_eq' and `text_property_stickiness', respectively. | |
2915 (find_field, Fconstrain_to_field, char_property_eq) | |
2916 (char_property_stickiness): Changed to call char-property functions | |
2917 instead of text-property-only ones. | |
2918 | |
2919 * textprop.c (Fnext_single_char_property_change): Made a subr (was | |
2920 `next_single_char_property_change'). Do more error checking, and | |
2921 cleanup limit behavior. | |
2922 (Fprevious_single_char_property_change): New function. | |
2923 (syms_of_textprop): Initialize new subrs. | |
2924 | |
2925 * xdisp.c (display_prop_end, invisible_text_between_p): | |
2926 Call Fnext_single_char_property_change instead of | |
2927 next_single_char_property_change. | |
2928 | |
30241 | 2929 2000-07-15 Jason Rumney <jasonr@gnu.org> |
2930 | |
2931 * w32menu.c (w32_menu_show): Call free_menubar_widget_value_tree | |
2932 after menu is finished with. | |
2933 (add_menu_item): Only consider wv->title as a menu title. | |
2934 (w32_menu_display_help): Add OBJECT and POS to show_help_echo. | |
2935 | |
2936 * w32fns.c (w32_wnd_proc) [WM_DRAW_ITEM]: Do not try to draw a | |
2937 null title. | |
2938 (FONT_REGEXP): Remove unused macro, and its sub-components. | |
2939 (syms_of_w32fns): Replace underscore in w32-enable-synthesized-fonts. | |
2940 | |
2941 * w32term.c (help_echo_object, help_echo_pos): New variables. | |
2942 (note_mode_line_highlight): Store additional information about the | |
2943 help-echo in help_echo_object and help_echo_pos. Check both | |
2944 `local-map' and `keymap' properties for changing the cursor | |
2945 (note_mouse_highlight): Store additional information about the | |
2946 help-echo in help_echo_object and help_echo_pos. | |
2947 (note_tool_bar_highlight): Set help_echo_object to nil and | |
2948 help_echo_pos to -1. | |
2949 (w32_read_socket): Use gen_help_event instead of filling | |
2950 input_events manually. | |
2951 (syms_of_w32term): Staticpro help_echo_object. | |
2952 (x_update_window_end): Add parameter MOUSE_FACE_OVERWRITTEN_P. If | |
2953 set, arrange for a mouse-highlight redisplay in | |
2954 XTframe_up_to_date. | |
2955 (x_clear_mouse_face): New function. | |
2956 (w32_redisplay_interface): Add pointer to x_clear_mouse_face. | |
2957 (x_update_window_begin): No need to turn off the mouse | |
2958 highlight here. | |
2959 (show_mouse_face): Set the mouse_face_p flag of glyph rows | |
2960 depending on whether they contain glyphs highlighted in | |
2961 mouse-face. | |
2962 (x_fill_stretch_glyph_string): Consume runs of stretch | |
2963 glyphs instead of a single one. | |
2964 (BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string | |
2965 with new argument list. | |
2966 (x_set_glyph_string_gc): Make sure the face's GC is valid. | |
2967 (x_append_glyph, x_append_composite_glyph) | |
2968 (x_produce_image_glyph, x_append_stretch_glyph): Accomodate to | |
2969 changes in struct glyph starting 1999-12-27. See comments for | |
2970 xterm.c on 2000-07-05. | |
2971 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2972 2000-07-14 Sam Steingold <sds@gnu.org> |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2973 |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2974 * xfaces.c (realize_x_face): Fix the last patch: |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2975 check `default_face' before dereferencing. |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2976 |
30229 | 2977 2000-07-14 Dave Love <fx@gnu.org> |
2978 | |
30266 | 2979 * syntax.c (back_comment): Add null default in switch (for pcc). |
30229 | 2980 |
30206 | 2981 2000-07-14 Kenichi Handa <handa@etl.go.jp> |
2982 | |
30210 | 2983 * 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
|
2984 default_face's fontset, not using the default fontset. |
30210 | 2985 |
30206 | 2986 * coding.c (inhibit_iso_escape_detection): New variable. |
2987 (syms_of_coding): Make it a Lisp variable. | |
2988 (detect_coding_iso2022): If inhibit_iso_escape_detection is | |
2989 nonzero, ignore ISO2022's escape sequence. | |
2990 | |
30203 | 2991 2000-07-14 Gerd Moellmann <gerd@gnu.org> |
2992 | |
30234 | 2993 * alloca.c (malloc) [emacs]: Define as xmalloc. |
2994 | |
30226 | 2995 * xfns.c (Fx_show_tip): If frame parameters contain a position, |
2996 use that instead of the mouse position. Add parameters DX and DY. | |
2997 | |
2998 * dispextern.h (Fx_show_tip): Adjust number of parameters | |
2999 in prototype. | |
3000 | |
30219 | 3001 * keyboard.c (show_help_echo): Add parameters OBJECT and POS. |
3002 if HELP is a function, call it with OBJECT and POS as parameters | |
3003 to get the help to display. | |
3004 (gen_help_event, kbd_buffer_store_help_event): New functions. | |
3005 (kbd_buffer_get_event): Construct the Lisp help-event differently. | |
3006 (read_char): Call show_help_echo with new parameters. | |
3007 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3008 * keyboard.h (gen_help_event, kbd_buffer_store_help_event): |
30219 | 3009 Add prototypes. |
3010 | |
3011 * xterm.c (help_echo_object, help_echo_pos): New variables. | |
3012 (note_mode_line_highlight): Store additional information about the | |
3013 help-echo in help_echo_object and help_echo_pos. Check both | |
3014 `local-map' and `keymap' properties for changing the cursor | |
3015 (note_mouse_highlight): Store additional information about the | |
3016 help-echo in help_echo_object and help_echo_pos. | |
3017 (note_tool_bar_highlight): Set help_echo_object to nil and | |
3018 help_echo_pos to -1. | |
3019 (XTread_socket): Use gen_help_event instead of filling | |
3020 input_events manually. | |
3021 (syms_of_xterm): Staticpro help_echo_object. | |
3022 | |
3023 * xmenu.c (menu_highlight_callback): Use | |
3024 kbd_buffer_store_help_event instead of setting up and input_event | |
3025 structure manually. | |
3026 | |
3027 * xdisp.c (eval_form): GCPRO argument sexpr. | |
3028 (call_function): New function. | |
3029 (handle_single_display_prop): Use call_function and FUNCTIONP | |
3030 instead of checking whether if font_height is a symbol and | |
3031 using eval_form. | |
3032 | |
3033 * eval.c (internal_condition_case_2): New function. | |
3034 | |
3035 * lisp.h (FUNCTIONP): New macro. | |
3036 (internal_condition_case_2, call_function): Add prototypes. | |
3037 | |
30203 | 3038 * xterm.c (construct_mouse_click, x_scroll_bar_to_input_event) |
3039 (x_scroll_bar_handle_click, SET_SAVED_MENU_EVENT, XTread_socket): | |
3040 Always set `arg' member of input_events. | |
3041 (construct_menu_click): Unused function removed. | |
3042 | |
3043 * msdos.c (dos_rawgetc): Always set `arg' member of input_events. | |
3044 | |
3045 * w32term.c (construct_mouse_click, construct_mouse_wheel) | |
3046 (construct_drag_n_drop, x_scroll_bar_handle_click) | |
3047 (w32_read_socket): Always set `arg' member of input_events. | |
3048 | |
3049 * keyboard.c (show_help_echo): Use eval_form. Add comment. | |
3050 | |
3051 * lisp.h (eval_form): Add prototype. | |
3052 | |
3053 * xdisp.c (eval_form): Make it externally visible. | |
3054 | |
30183 | 3055 2000-07-13 Gerd Moellmann <gerd@gnu.org> |
3056 | |
3057 * xterm.c (x_handle_tool_bar_click): Store the frame in the | |
3058 frame_or_window slot of TOOL_BAR_EVENT input events instead of | |
3059 consing. For prefix events, store the frame in the `arg' slot of | |
3060 the event, otherwise store the key there. | |
3061 (XTread_socket): Instead of consing, use the frame_or_window slot | |
3062 of HELP_EVENTs for the frame, and the `arg' slot for the help | |
3063 string. | |
3064 | |
3065 * xmenu.c (menu_highlight_callback): Store help string in the | |
3066 `arg' member of the input event; don't cons. | |
3067 (menubar_selection_callback): Use the `arg' slot of input events | |
3068 to queue additional information, instead of consing. | |
3069 | |
3070 * msdos.c (dos_rawgetc): Adapt to change of HELP_EVENTs. | |
3071 | |
3072 * w32term.c (w32_handle_tool_bar_click): Adapt to changes in | |
3073 TOOL_BAR_EVENTs. | |
3074 (w32_read_socket): Adapt to changes in HELP_EVENTs. | |
3075 | |
3076 * w32menu.c (menubar_selection_callback): Use the `arg' slot of | |
3077 input events to queue additional information, instead of consing. | |
3078 | |
3079 * keyboard.c (kbd_buffer_gcpro): Renamed from | |
3080 kbd_buffer_frame_or_window. Now used for all Lisp objects | |
3081 referenced from the input queue. | |
3082 (kbd_buffer_store_event): Always use structure assignment for | |
3083 copying input events. Record all Lisp objects referenced from | |
3084 events in kbd_buffer_gcpro. | |
3085 (kbd_buffer_get_event): Construct Lisp `help-echo' events | |
3086 differently from input events. Test for prefix menu_bar_events | |
3087 and TOOL_BAR_EVENTs differently. Reset all slots used by an input | |
3088 event in kbd_buffer_gcpro to nil. | |
3089 (make_lispy_event) <TOOL_BAR_EVENT>: Treat an input event whose | |
3090 frame_or_window is equal to its arg member as prefix events. | |
3091 (stuff_buffered_input): Reset all slots in kbd_buffer_gcpro | |
3092 used by an input event to nil. | |
3093 (init_keyboard): Use two times the size of the input queue | |
3094 for kbd_buffer_gcpro. | |
3095 (syms_of_keyboard): Likewise. | |
3096 | |
3097 * emacs.c (handle_USR2_signal, handle_USR1_signal): Use | |
3098 USER_SIGNAL_EVENT. | |
3099 | |
3100 * termhooks.h (struct input_event): Add member `arg'. | |
3101 (MENU_BAR_EVENT): Renamed from menu_bar_event. | |
3102 (USER_SIGNAL_EVENT): Renamed from user_signal. | |
3103 | |
3104 * xfaces.c (ASET): Remove definition. | |
3105 | |
3106 * lisp.h (AREF, ASET, ASIZE): New macros. | |
3107 | |
3108 * fontset.c (AREF, ASIZE): Remove definitions. | |
3109 | |
3110 * fns.c (AREF): Remove definition. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3111 |
30183 | 3112 * composite.c (AREF): Remove definition. |
3113 | |
30163 | 3114 2000-07-12 Gerd Moellmann <gerd@gnu.org> |
3115 | |
30166 | 3116 * dispnew.c (redraw_overlapped_rows): Add missing local. |
3117 (scrolling_window): Remove debug code. | |
3118 | |
30163 | 3119 * xdisp.c (try_window_reusing_current_matrix, try_window_id): |
3120 Before scrolling, turn off a mouse-highlight in the window | |
3121 being scrolled. | |
3122 | |
3123 * xterm.c (x_update_window_end): Add parameter | |
3124 MOUSE_FACE_OVERWRITTEN_P. If set, arrange for a mouse-highlight | |
3125 redisplay in XTframe_up_to_date. | |
3126 (x_clear_mouse_face): New function. | |
3127 (x_redisplay_interface): Add pointer to x_clear_mouse_face. | |
3128 | |
3129 * dispnew.c (make_current): Preserve the mouse_face_p flag of the | |
3130 current glyph row. | |
3131 (update_window_line): Add parameter MOUSE_FACE_OVERWRITTEN_P. Set | |
3132 it when any row is written to that contains glyphs highlighted in | |
3133 mouse-face. | |
3134 (update_window): Call the window update end hook with new | |
3135 parameter MOUSE_FACE_OVERWRITTEN_P. | |
3136 (direct_output_for_insert): Give up if row contains mouse-face. | |
3137 | |
3138 * dispextern.h (struct redisplay_interface): Add parameter | |
3139 MOUSE_FACE_OVERWRITTEN_P to update_window_end_hook function. | |
3140 (clear_mouse_face): New function pointer member. | |
3141 | |
30157
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
3142 2000-07-11 Stefan Monnier <monnier@cs.yale.edu> |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
3143 |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
3144 * 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
|
3145 Obey open_paren_in_column_0_is_defun_start. |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
3146 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
|
3147 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
|
3148 does indeed match the comment-ender. |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
3149 (scan_sexps_forward, scan_sexps_forward): |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
3150 Ignore excessive opening parenthesis rather than throwing an error. |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
3151 |
30155 | 3152 2000-07-11 Gerd Moellmann <gerd@gnu.org> |
3153 | |
3154 * doc.c (Fsubstitute_command_keys): Handle case that a GC | |
3155 in Fwhere_is_internal or get_keymap_1 relocates string contents. | |
3156 | |
3157 * dispnew.c (direct_output_forward_char): Give up if currently | |
3158 displaying a message instead of the minibuffer contents. | |
3159 | |
3160 * xterm.c (x_update_window_begin): No need to turn off the mouse | |
3161 highlight here. | |
3162 (show_mouse_face): Set the mouse_face_p flag of glyph rows | |
3163 depending on whether they contain glyphs highlighted in | |
3164 mouse-face. | |
3165 | |
3166 * dispnew.c (row_equal_p): Add parameter MOUSE_FACE_P. If set, | |
3167 compare the mouse_face_p flags of both rows. | |
3168 | |
3169 * dispextern.h (struct glyph_row): Add flag mouse_face_p. | |
3170 | |
30146 | 3171 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il> |
3172 | |
3173 * keyboard.c (show_help_echo): Accept additional parameter | |
3174 ok_to_overwrite_keystroke_echo. | |
3175 (read_char): Call show_help_echo with a zero | |
3176 ok_to_overwrite_keystroke_echo argument. | |
3177 * keyboard.h (show_help_echo): Update prototype of | |
3178 show_help_echo. | |
3179 * xmenu.c (menu_help_callback): Call show_help_echo with non-zero | |
3180 ok_to_overwrite_keystroke_echo argument. | |
3181 * w32menu.c (w32_menu_display_help): Call show_help_echo with | |
3182 non-zero ok_to_overwrite_keystroke_echo argument. | |
3183 | |
30135 | 3184 2000-07-10 Gerd Moellmann <gerd@gnu.org> |
3185 | |
30140 | 3186 * xdisp.c (try_window_id): If changes are all below what is |
3187 displayed in the window, and point is in the window, we still | |
3188 might have to find point on the display. | |
3189 | |
3190 * xterm.c (x_fill_stretch_glyph_string): Consume runs of stretch | |
3191 glyphs instead of a single one. | |
3192 (BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string | |
3193 with new argument list. | |
3194 (x_set_glyph_string_gc): Make sure the face's GC is valid. | |
3195 | |
30135 | 3196 * keymap.c (get_keymap_1): Add comment that this function can GC. |
3197 (where_is_internal_2, where_is_internal_1): Add GCPROs, add | |
3198 comment that functions can GC. | |
3199 (Fset_keymap_parent): GCPRO arg KEYMAP. | |
3200 | |
30133 | 3201 2000-07-10 Eli Zaretskii <eliz@is.elta.co.il> |
3202 | |
3203 * msdos.c (XMenuActivate): After exiting the menu, restore the | |
3204 echo area message and erase it. | |
3205 | |
30125 | 3206 2000-07-10 Kenichi Handa <handa@etl.go.jp> |
3207 | |
3208 * fontset.c (Ffontset_info): Make the return value more compatible | |
3209 with that of Emacs 20. | |
3210 | |
30107 | 3211 2000-07-07 Gerd Moellmann <gerd@gnu.org> |
3212 | |
3213 * eval.c (Fsignal): Handle case that backtrace_list is null. | |
3214 | |
30104 | 3215 2000-07-07 Kenichi Handa <handa@etl.go.jp> |
3216 | |
3217 * ccl.c (Fccl_execute): Typo fixed. | |
3218 | |
30096 | 3219 2000-07-06 Gerd Moellmann <gerd@gnu.org> |
3220 | |
30103 | 3221 * 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
|
3222 |
30096 | 3223 * window.c (Fwindow_list): Reverse list at the end. |
3224 (candidate_window_p): Add parameter OWINDOW. ALL_FRAMES nil | |
3225 means allow windows on OWINDOW's frame, only. | |
3226 (window_loop): Simplified; use Fwindow_list. | |
3227 | |
3228 * Makefile.in (TAGS-LISP): Don't pass `$(lispsource)' to make. | |
3229 | |
30085 | 3230 2000-07-05 Gerd Moellmann <gerd@gnu.org> |
3231 | |
3232 * xterm.c (XTread_socket): Increment handling_signal at the start, | |
3233 decrement it at the end. | |
3234 | |
3235 * eval.c (handling_signal): New variable. | |
3236 (Fsignal): Abort if handling_signal is non-zero. | |
3237 | |
3238 * lisp.h (handling_signal): External declaration. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3239 |
30085 | 3240 * s/freebsd.h (WAITTYPE, WRETCODE): Put in #if 0. |
3241 | |
30079
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3242 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
|
3243 |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3244 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
|
3245 * config.in (HAVE_SOUNDCARD_H): Undef. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3246 (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
|
3247 * Makefile.in (LIBSOUND): New variable. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3248 (LIBES): Include it. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3249 * 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
|
3250 <soundcard.h>. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3251 (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
|
3252 elsewhere. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3253 (vox_open): Use DEFAULT_SOUND_DEVICE. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
3254 * 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
|
3255 |
30076 | 3256 2000-07-05 Gerd Moellmann <gerd@gnu.org> |
3257 | |
3258 * print.c (print_error_message): If Vsignaling_function is set, | |
3259 show it in *Messages*. | |
3260 | |
3261 * lisp.h (Vsignaling_function): External declaration. | |
3262 | |
3263 * eval.c (Vsignaling_function): New variable. | |
3264 (Fsignal): Compute it. | |
3265 (syms_of_eval): Staticpro it. | |
3266 | |
30069 | 3267 2000-07-05 Dave Love <fx@gnu.org> |
3268 | |
3269 * syswait.h: Use the autoconf recommended approach. Old code | |
3270 #if'd out in case we need to revert. | |
3271 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3272 * config.in (HAVE_SYS_WAIT_H): Added. |
30069 | 3273 |
30067 | 3274 2000-07-05 Andrew Innes <andrewi@gnu.org> |
3275 | |
3276 * vm-limit.c (check_memory_limits) [REL_ALLOC]: Use real_morecore | |
3277 when non-NULL instead of __morecore, to take account of buffer | |
3278 memory. This also solves a problem with spurious memory warnings | |
3279 on Windows. | |
3280 | |
3281 * ralloc.c: Make real_morecore non-static. | |
3282 | |
3283 * eval.c (internal_condition_case): Comment out abort if | |
3284 interrupt_input_blocked is not zero. | |
3285 | |
3286 * makefile.nt: Add support for `bootstrap' and related targets. | |
3287 Include minimal debug info in emacs.exe in release build. | |
3288 Remove all dependencies on lisp.h, and fixup some others. | |
3289 | |
3290 * w32.c (init_environment): Install code from 20.7 for providing | |
3291 default values for environment variables, based on the | |
3292 executable's own location. | |
3293 (map_w32_filename): Handle filenames that are longer than | |
3294 MAX_PATH. | |
3295 (sys_socket): Install socket inheritance bug fix from 20.7. | |
3296 | |
3297 * alloca.c [emacs]: Include lisp.h (needed by atimer.h included | |
3298 here via blockinput.h). | |
3299 | |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3300 2000-07-05 Stefan Monnier <monnier@cs.yale.edu> |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3301 |
30098
54ef6ace438d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30096
diff
changeset
|
3302 * w32menu.c (w32_menu_display_help): |
54ef6ace438d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30096
diff
changeset
|
3303 * xmenu.c (menu_help_callback): Use show_help_echo. |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3304 |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3305 * keyboard.h (show_help_echo): Declare. |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3306 |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3307 * 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
|
3308 Feval its `msg' argument if it's a cons cell. |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3309 (read_char): Use it. |
30118
67bba9343314
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30107
diff
changeset
|
3310 (follow_key): Pass `autoload' to get_keyelt. |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3311 |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3312 * xterm.c (note_mode_line_highlight, note_mouse_highlight) |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3313 (note_tool_bar_highlight, XTread_socket): |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3314 * 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
|
3315 (dos_rawgetc): |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3316 * w32term.c (note_mode_line_highlight, note_mouse_highlight) |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3317 (note_tool_bar_highlight, w32_read_socket): |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3318 Do not gratuitously ignore non-string `help-echo' properties. |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
3319 |
30043 | 3320 2000-07-05 Gerd Moellmann <gerd@gnu.org> |
3321 | |
30049 | 3322 * eval.c (Feval): Put check for interrupt_input_block in #if 0. |
3323 | |
30046 | 3324 * window.c (delete_all_subwindows): Reset Vwindow_list. |
3325 | |
30043 | 3326 * xterm.c (x_append_glyph, x_append_composite_glyph) |
3327 (x_produce_image_glyph, x_append_stretch_glyph): Accomodate to | |
3328 changes in struct glyph starting 1999-12-27. Some bit-fields of | |
3329 struct glyph were not set, which made glyphs unequal when compared | |
3330 with GLYPH_EQUAL_P. Redisplay outputs such glyphs, and flickering | |
3331 effects were the result. This also depended on the contents of | |
3332 memory returned by xmalloc. If flickering happens again, activate | |
3333 the code in clear_glyph_row that's in #if 0. If the flickering is | |
3334 gone with that, chances are that it is caused by something | |
3335 similar. | |
3336 | |
3337 * 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
|
3338 |
30043 | 3339 * dispextern.h: Add some comments. |
3340 | |
3341 * window.c (add_window_to_list): Add parameter LIST. | |
3342 (window_list): Order list so that, for each frame, windows are | |
3343 in canonical order, and so that frames appear in the list in | |
3344 the order given by Vframe_list. | |
3345 (next_window): Reverse the handling of NEXT_P. | |
3346 | |
30031 | 3347 2000-07-04 Gerd Moellmann <gerd@gnu.org> |
3348 | |
30038 | 3349 * window.c (Vwindow_list): New variable. |
3350 (make_window, delete_window): Set Vwindow_list to nil. | |
3351 (check_window_containing): New function. | |
3352 (window_from_coordinates): Rewritten. | |
3353 (add_window_to_list, window_list, candidate_window_p) | |
3354 (decode_next_window_args, next_window): New functions. | |
3355 (Fnext_window, Fprevious_window): Rewritten in terms of | |
3356 next_window. | |
3357 (Fwindow_list): New function. | |
3358 (Fother_window): Cleaned up. | |
3359 (foreach_window): Add a longer "variable argument list". Let | |
3360 callback function return 0 to indicate that cycling over windows | |
3361 should stop. | |
3362 (foreach_window_1): Likewise. | |
3363 (freeze_window_start): Return int. | |
3364 (init_window): New function. | |
3365 (syms_of_window): Staticpro Vwindow_list and defsubr Swindow_list. | |
3366 | |
3367 * emacs.c (handle_USR1_signal, handle_USR2_signal) Clear | |
3368 input_event with bzero. | |
3369 (main): Call init_window. | |
3370 | |
30031 | 3371 * keymap.c (get_keyelt): Temporarily inhibit GC while evaluating |
3372 a menu filter. | |
3373 | |
30026 | 3374 2000-07-04 Kenichi Handa <handa@etl.go.jp> |
3375 | |
3376 * composite.h (make_composition_value_copy): Extern it. | |
3377 | |
3378 * composite.c (make_composition_value_copy): New function. | |
3379 | |
3380 * editfns.c (Fformat): While copying text properties, make each | |
3381 composition property value a copy. | |
3382 | |
3383 * fns.c (concat): While copying text properties, make each | |
3384 composition property value a copy. | |
3385 | |
29996 | 3386 2000-07-03 Gerd Moellmann <gerd@gnu.org> |
3387 | |
30012 | 3388 * m/macppc.h (LINKER, LD_SWITCH_MACHINE) [LINUX]: Define. |
3389 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3390 * fns.c (sweep_weak_table): Mark only objects that are not |
30008 | 3391 marked already. |
3392 | |
29996 | 3393 * frame.c (next_frame, prev_frame): If MINIBUF is a window, |
3394 include those frames as candidates which have their focus | |
3395 redirected to the minibuffer frame. | |
3396 | |
29992
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
3397 2000-07-03 Stefan Monnier <monnier@cs.yale.edu> |
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
3398 |
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
3399 * fns.c (Fputhash): Return `value' rather than nil. |
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
3400 |
29988 | 3401 2000-06-30 Gerd Moellmann <gerd@gnu.org> |
3402 | |
29989 | 3403 * frame.c (next_frame): Don't check focus redirection in case |
3404 MINIBUF is a window. Doing so excludes frames using MINIBUF | |
29988 | 3405 unless their focus is redirected, which contradicts the |
3406 specification of next-frame, and leads to infinite loops in | |
3407 certain situations when cycling through windows with next-window. | |
3408 | |
29983 | 3409 2000-06-30 Kenichi Handa <handa@etl.go.jp> |
3410 | |
29984 | 3411 * coding.c (code_convert_region): Even if the length of text is |
29983 | 3412 zero, try to convert it if coding->type is coding_type_ccl. |
29984 | 3413 (decode_coding_string, encode_coding_string): Likewise. |
29983 | 3414 |
29972 | 3415 2000-06-28 Gerd Moellmann <gerd@gnu.org> |
3416 | |
29982 | 3417 * xdisp.c (try_window_reusing_current_matrix): Don't try to reuse |
29989 | 3418 the display if windows_or_buffers_changed. |
29982 | 3419 |
3420 * dispnew.c (struct row_entry): New structure. | |
3421 (row_entry_pool, row_entry_pool_size, row_entry_idx, row_table) | |
3422 (row_table_size, old_lines, new_lines, old_lines_size) | |
3423 (new_lines_size, run_pool, runs_size, runs): New variables. | |
3424 (add_row_entry): New function. | |
3425 (scrolling_window): Use data structures allocated with xmalloc and | |
29989 | 3426 held in global variables, instead of allocating them with alloca and |
29982 | 3427 holding them in local variables. Use a larger hash table whose |
3428 size depends on glyph matrix sizes. Don't use bzero to clear the | |
3429 hash table; instead, clear used slots only. | |
3430 | |
3431 * fns.c (next_almost_prime): Make it externally visible. | |
3432 | |
3433 * lisp.h (next_almost_prime): Add prototype. | |
3434 | |
29972 | 3435 * s/isc4-0.h (sigunblock): Define. |
3436 | |
3437 * s/sco5.h (sigunblock): Define. | |
3438 | |
29965 | 3439 2000-06-27 Dave Love <fx@gnu.org> |
3440 | |
3441 * s/osf1.h (C_SWITCH_SYSTEM, LIBS_SYSTEM): Revert last change | |
3442 (moved to osf5-0.h). | |
3443 [!NOT_C_CODE]: Protect string.h stuff. | |
3444 | |
3445 * s/osf5-0.h (C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED) | |
3446 (sys_siglist, NSIG): Definitions moved here from osf1.h. | |
3447 | |
29961 | 3448 2000-06-27 Gerd Moellmann <gerd@gnu.org> |
3449 | |
29989 | 3450 * xdisp.c (resize_mini_window): Subtract the extra line spacing |
29961 | 3451 below the last line from the needed window height. |
3452 | |
29955
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
3453 2000-06-26 Stefan Monnier <monnier@cs.yale.edu> |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
3454 |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
3455 * fns.c (Fplist_member): Renamed from Fwidget_plist_member. |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
3456 (Fwidget_get): Use it. |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
3457 (syms_of_fns): Defsubr it. |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
3458 |
29939 | 3459 2000-06-26 Gerd Moellmann <gerd@gnu.org> |
3460 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3461 * xterm.c (xim_initialize) [!USE_XIM]: Don't set up the |
29949 | 3462 display info for XIM. |
3463 (xim_open_dpy): Likewise. | |
3464 (xim_close_dpy): Don't free the display info's XIM. | |
3465 | |
3466 * xfns.c (x_window) [!USE_XIM]: Don't call create_frame_ic. | |
3467 | |
3468 * config.in (USE_XIM): New define. | |
3469 | |
29942 | 3470 * keymap.c (get_keyelt): For menu-items containing a `:filter |
3471 FILTER', apply FILTER to the menu-item's definition to get the | |
3472 real definition to use. | |
3473 | |
3474 * lisp.h (QCfilter): External declaration. | |
3475 | |
29939 | 3476 * xfns.c (Fimage_size): New function. |
3477 (syms_of_xfns): Defsubr it. | |
3478 | |
29933 | 3479 2000-06-26 Andreas Schwab <schwab@suse.de> |
3480 | |
3481 * coding.c (decode_coding_string): Re-fetch STRING_BYTES after | |
3482 Fstring_as_unibyte. | |
3483 | |
29930 | 3484 2000-06-25 Dave Love <fx@gnu.org> |
3485 | |
3486 * term.c [!HAVE_TERMCAP_H]: Declare tputs, tgetent, tgetflag, | |
3487 tgetnum. | |
3488 | |
3489 * Makefile.in (blockinput.h): Depend on atimer.h. | |
3490 (atimer.h): Depend on systime.h. | |
3491 | |
3492 * blockinput.h: Protect against multiple inclusion. Include | |
3493 atimer.h. | |
3494 | |
3495 * atimer.h: Protect against multiple inclusion. Include | |
3496 systime.h. | |
3497 | |
3498 * lisp.h (swap_in_global_binding): Declare. | |
3499 | |
29921
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
3500 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
|
3501 |
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
3502 * 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
|
3503 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
|
3504 |
29916 | 3505 2000-06-23 Dave Love <fx@gnu.org> |
3506 | |
29918 | 3507 * ralloc.c: Maybe include unistd.h |
3508 | |
29916 | 3509 * emacs.c (setgrp): Undefine before defining. |
3510 (malloc_warning, set_time_zone_rule, index): Prototype. | |
3511 | |
3512 * systime.h (EMACS_GET_TIME) [!GETTIMEOFDAY_ONE_ARGUMENT]: Use | |
3513 HAVE_STRUCT_TIMEZONE. | |
3514 | |
3515 * s/osf1.h: Move string.h hack here from alpha.h and make it | |
3516 conditional. | |
3517 (C_SWITCH_SYSTEM): Use _OSF_SOURCE, not -BSD, which clashes with | |
3518 _XOPEN_SOURCE. | |
3519 (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist, NSIG): Define. | |
3520 (SOCKLEN_TYPE): Don't define. | |
3521 | |
3522 * m/alpha.h: Remove string.h hack. | |
3523 | |
3524 * s/osf5-0.h: New file. | |
3525 | |
3526 * filelock.c: Use feature tests for fcntl.h, string.h. Don't | |
3527 include time.h, done by systime.h. | |
3528 [__FreeBSD__]: Remove redundant includes. | |
3529 | |
29942 | 3530 * callproc.c (setpgrp): Undefine before defining. |
29916 | 3531 (delete_temp_file): Return Qnil to avoid warning. |
3532 | |
3533 * config.in (HAVE_TERM_H, HAVE_STRUCT_TIMEZONE): Add. | |
3534 | |
3535 * xfaces.c: Include fontset.h dependent on HAVE_WINDOW_SYSTEM, not | |
3536 HAVE_X_WINDOWS. | |
3537 | |
3538 * fontset.h (free_face_fontset): Renamed from fs_free_face_fontset. | |
3539 | |
3540 * composite.h (compose_text): Declare. | |
3541 | |
3542 * xterm.c: Don't include sys/types.h unconditionally. Don't | |
3543 protect its inclusion with !USG (following xmenu.c). | |
3544 | |
29888 | 3545 2000-06-23 Gerd Moellmann <gerd@gnu.org> |
3546 | |
3547 * xfns.c (x_create_tip_frame): Initialize frame's colors like | |
3548 in x_create_frame. | |
3549 | |
29878 | 3550 2000-06-23 Eli Zaretskii <eliz@is.elta.co.il> |
3551 | |
3552 * coding.c (decode_eol_post_ccl): Special handling for undecided | |
3553 and inconsistent EOL types. | |
3554 | |
29860 | 3555 2000-06-22 Gerd Moellmann <gerd@gnu.org> |
3556 | |
29868 | 3557 * xrdb.c (x_load_resources): Add default resource for scroll bar's |
3558 trough color and main window's background color. | |
3559 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3560 * xfns.c (Fx_file_dialog) [HAVE_MOTIF_2_1]: Handle events |
29868 | 3561 differently. |
3562 | |
3563 * xterm.h (Xt_app_con): External declaration. | |
3564 | |
3565 * widget.c (EmacsFrameRealize): Fix typo. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3566 |
29862 | 3567 * widget.c (EmacsFrameRealize): Remove SubstructureRedirectMask. |
3568 | |
29860 | 3569 * xdisp.c (handle_stop): Initialize it->add_overlay_start to zero. |
3570 (handle_invisible_prop): Record the start of invisible text in | |
3571 it->add_overlay_start. | |
3572 (struct overlay_entry): Add member `overlay'. | |
3573 (handle_overlay_change): Simplify. | |
3574 (next_overlay_string): After having processed overlay strings at the | |
3575 end of the buffer, record that fact in | |
3576 it->overlay_strings_at_end_processed_p. | |
3577 (compare_overlay_entries): If before- and after-strings come | |
3578 from the same overlay, let before-strings come first. | |
3579 (RECORD_OVERLAY_STRING): Record the overlay that strings come from. | |
3580 (load_overlay_strings): Take it->add_overlay_start into account | |
3581 when adding overlay strings. | |
3582 | |
3583 * dispextern.h (struct it): Add member add_overlay_start. | |
3584 | |
29852 | 3585 2000-06-22 Dave Love <fx@gnu.org> |
3586 | |
3587 * s/isc3-0.h (C_SWITCH_SYSTEM): Define _XOPEN_SOURCE=500. | |
3588 | |
3589 * s/gnu-linux.h (C_SWITCH_SYSTEM): Don't define _XOPEN_SOURCE here. | |
3590 | |
29846 | 3591 2000-06-22 Kenichi Handa <handa@etl.go.jp> |
3592 | |
3593 * ccl.c (ccl_driver) <CCL_End>: Decrement stack_idx only when it | |
3594 is greater than 0. | |
3595 | |
29843 | 3596 2000-06-21 Dave Love <fx@gnu.org> |
3597 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3598 * Makefile.in (GETLOADAVG_OBJ): Removed -- LIBOBJS does it. |
29843 | 3599 |
29836
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3600 2000-06-21 Stefan Monnier <monnier@cs.yale.edu> |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3601 |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3602 * syntax.c (back_comment): Simplify string-parity counting (with |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3603 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
|
3604 they are not intertwined). |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3605 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
|
3606 a "string_lossage" position. Fixes the case: " /* " /* " */. |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3607 |
29834 | 3608 2000-06-21 Dave Love <fx@gnu.org> |
3609 | |
3610 * Makefile.in: Use GETLOADAVG_LIBS. | |
3611 | |
3612 * config.in: Add HAVE_FCNTL_H, _FILE_OFFSET_BITS, | |
3613 _LARGEFILE_SOURCE, _LARGE_FILES, _XOPEN_SOURCE. | |
3614 | |
29822
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3615 2000-06-20 Stefan Monnier <monnier@cs.yale.edu> |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3616 |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3617 * syntax.c (describe_syntax): Recognize the `n'estable bit. |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3618 (Fforward_comment, scan_lists): |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3619 Check the comstyle of single-char comment-starters. |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3620 (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
|
3621 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
|
3622 Check the comstyle of single-char comment-starters. |
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3623 Clarify control-flow around the Scomment case. |
29822
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3624 |
29815 | 3625 2000-06-20 Dave Love <fx@gnu.org> |
3626 | |
29824
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3627 * fns.c (make_hash_table, maybe_resize_hash_table): |
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3628 Cast arg of next_almost_prime. |
29815 | 3629 |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3630 * tparam.c [emacs]: Include lisp.h. |
29815 | 3631 |
3632 * termcap.c [emacs]: Test HAVE_FCNTL_H, not USG5. Include lisp.h | |
3633 and unistd.h. | |
3634 | |
29814 | 3635 2000-06-20 Gerd Moellmann <gerd@gnu.org> |
3636 | |
29820 | 3637 * keyboard.c (adjust_point_for_property): Check if display |
3638 property should be treated as intangible by looking at its | |
3639 value. | |
3640 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3641 * xdisp.c (single_display_prop_intangible_p) |
29820 | 3642 (display_prop_intangible_p): New functions. |
3643 | |
3644 * dispextern.h (display_prop_intangible_p): Add prototype. | |
3645 | |
3646 * 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
|
3647 |
29814 | 3648 * s/isc4-0.h (sigblock): Redefined to pass a pointer as second |
3649 argument to sigprocmask. | |
3650 | |
3651 * s/sco5.h (sigblock): Redefined to pass a pointer as second | |
3652 argument to sigprocmask. | |
3653 | |
3654 * syssignal.h (sigblock, sigunblock) [USG5_4]: Set | |
3655 sigprocmask_set, and pass a pointer to it to sigprocmask. | |
3656 | |
3657 * sysdep.c (sigprocmask_set): New variable. | |
3658 | |
3659 * fileio.c (make_temp_name): Don't use `%s' in string passed to | |
3660 report_file_error. | |
3661 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3662 2000-06-20 Sam Steingold <sds@gnu.org> |
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3663 |
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3664 * xrdb.c: Don't declare xmalloc, xrealloc. |
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3665 |
29802
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3666 2000-06-20 Stefan Monnier <monnier@cs.yale.edu> |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3667 |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3668 * 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
|
3669 (re_comp): Cast gettext return value to avoid complaints when |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3670 !HAVE_LIBINTL. |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3671 |
29786 | 3672 2000-06-20 Dave Love <fx@gnu.org> |
3673 | |
29796 | 3674 * m/stride.h, m/mips.h: Don't define HAVE_GETWD, |
3675 HAVE_GETTIMEOFDAY. | |
3676 | |
29815 | 3677 * m/ibmrt-aix.h: Don't declare HAVE_GETTIMEOFDAY, HAVE_VFORK. |
29796 | 3678 |
29824
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3679 * m/ibmrs6000.h, m/ibmps2-aix.h, m/dpx2.h: Don't declare HAVE_GETWD. |
29796 | 3680 |
3681 * m/alpha.h: Don't declare xmalloc, xrealloc. | |
3682 | |
29790 | 3683 * s/ux4800.h: Don't declare GETTIMEOFDAY_ONE_ARGUMENT. |
3684 | |
3685 * s/usg5-4-2.h: Don't declare HAVE_GETWD, VFORK_RETURN_TYPE. | |
3686 | |
3687 * s/umips.h: Don't declare HAVE_GETWD, HAVE_GETTIMEOFDAY. | |
3688 | |
3689 * s/cxux.h, s/gnu-linux.h, s/iris3-6.h, s/irix3-3.h: Don't declare | |
3690 HAVE_GETWD. | |
3691 | |
29786 | 3692 * keyboard.h (poll_for_input_1): Declare. |
3693 | |
3694 * getloadavg.c: Don't define NLIST_STRUCT (handled by configure). | |
3695 | |
3696 * alloc.c (xmalloc, xrealloc, xfree): Define using POINTER_TYPE. | |
3697 | |
3698 * doprnt.c: Don't declare xmalloc, xrealloc. | |
3699 | |
3700 * lisp.h (x_set_tool_bar_lines, free_frame_xic, compose_text) | |
3701 (getenv, ctime, getwd): Removed. | |
3702 (xmalloc, xrealloc, xfree): Declare using POINTER_TYPE. | |
3703 | |
3704 * xterm.h: Remove duplicate prototypes. Declare free_frame_xic, | |
3705 x_set_tool_bar_lines. | |
3706 | |
3707 * config.in: Add HAVE_GETWD. Move some definitions above | |
3708 machine/system includes. | |
3709 | |
29766 | 3710 2000-06-20 Kenichi Handa <handa@etl.go.jp> |
3711 | |
29770 | 3712 * s/bsd386.h (HAVE_GETLOADAVG): Define it as 1. |
3713 | |
29766 | 3714 * xfaces.c (font_list): Handle the case that REGISTRY doesn't |
3715 contain information about ENCODING. | |
3716 | |
3717 * fontset.c (FONTSET_ASCII): Use the first element of char table | |
3718 for an ASCII font, not defalt slot. | |
3719 (fontset_ref_via_base): If FONTSET doesn't contain information for | |
3720 C, try the default fontset. | |
3721 (make_fontset): Don't copy the default fontset. | |
3722 (fontset_font_pattern): Likewise. | |
3723 (accumulate_font_info): If ELT is nil, use the corresponding | |
3724 element in the default fontset. | |
3725 | |
29752 | 3726 2000-06-19 Dave Love <fx@gnu.org> |
3727 | |
29758 | 3728 * syntax.c (Fparse_partial_sexp): Doc fix. |
3729 | |
3730 * regex.h: Test PROTOTYPES as well as __STDC__. | |
3731 | |
29752 | 3732 * unexalpha.c: Include errno.h, string.h, unistd.h. Don't declare |
3733 errno, strerror. Put text after #endif in comment. | |
3734 | |
3735 * xdisp.c (dump_glyph_matrix): Add `static' to declaration (for | |
3736 pcc). | |
3737 | |
3738 * xterm.c (x_frame_of_widget): Likewise. | |
3739 | |
29747 | 3740 2000-06-19 Gerd Moellmann <gerd@gnu.org> |
3741 | |
3742 * abbrev.c (syms_of_abbrev): Set buffer_default's abbrev table | |
3743 to Vfundamental_mode_abbrev_table. | |
3744 | |
3745 * alloc.c (mark_object) [GC_CHECK_MARKED_OBJECTS]: Check that no | |
3746 bogus objects are marked. This slows down GC by ~80 percent, but | |
3747 it might be worth trying when debugging GC-related problems. | |
3748 This feature requires conservative stack marking to be enabled. | |
3749 | |
3750 * xterm.c (XTread_socket) <KeyPress>: In case XmbLookupString | |
3751 returns XLookupChars, reset `modifiers' to zero. | |
3752 | |
29738 | 3753 2000-06-19 Dave Love <fx@gnu.org> |
3754 | |
3755 * mktime.c: Unprotoized. | |
3756 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
3757 2000-06-19 Richard Stallman <rms@gnu.org> |
29736 | 3758 |
3759 * data.c (set_internal): If variable is frame-local, | |
3760 store the new value immediately into the frame parameter alist. | |
3761 | |
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
|
3762 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
|
3763 |
29728
f0f1e1365670
fix jpeg error-handling setup
Ken Raeburn <raeburn@raeburn.org>
parents:
29727
diff
changeset
|
3764 * 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
|
3765 in the custom handler pointer. |
f0f1e1365670
fix jpeg error-handling setup
Ken Raeburn <raeburn@raeburn.org>
parents:
29727
diff
changeset
|
3766 |
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
|
3767 * 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
|
3768 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
|
3769 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
|
3770 * 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
|
3771 |
29720 | 3772 2000-06-19 Kenichi Handa <handa@etl.go.jp> |
3773 | |
3774 * ccl.h (struct ccl_program): New member eol_type. | |
3775 (struct ccl_spec): New member cr_carryover. | |
3776 | |
3777 * ccl.c (CCL_WRITE_CHAR): Convert NL according to ccl->eol_type. | |
3778 (setup_ccl_program): Initialize ccl->eol_type to CODING_EOL_LF. | |
3779 | |
3780 * coding.c (setup_coding_system) <4>: Reset member `cr_carryover'. | |
3781 (ccl_coding_driver): On encoding, initialize ccl->eol_type. | |
3782 (decode_eol_post_ccl): New function. | |
3783 (decode_coding): Don't detect EOL format here for CCL based coding | |
3784 systems. | |
3785 (decode_coding) <coding_type_ccl>: Handle carryovered CR. Call | |
3786 decode_eol_post_ccl after running the CCL program. | |
3787 (code_convert_region): Don't detect EOL format here for CCL based | |
3788 coding systems. | |
3789 (decode_coding_string): Likewise. | |
3790 | |
29717
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3791 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
|
3792 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3793 * 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
|
3794 when treating it as an integer. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3795 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3796 * coding.h (encode_coding_string): Declare. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3797 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3798 * 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
|
3799 it as an integer. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3800 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3801 * 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
|
3802 "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
|
3803 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
|
3804 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3805 * 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
|
3806 Frun_hook_with_args count argument. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3807 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3808 * 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
|
3809 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
|
3810 objects are represented with unions. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3811 (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
|
3812 |
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
|
3813 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
|
3814 |
f24d81dfa064
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string.
Ken Raeburn <raeburn@raeburn.org>
parents:
29696
diff
changeset
|
3815 * 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
|
3816 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
|
3817 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
|
3818 |
29688 | 3819 2000-06-16 Gerd Moellmann <gerd@gnu.org> |
3820 | |
29712 | 3821 * xfaces.c (syms_of_xfaces) [DEBUG_X_COLORS]: Defsubr dump_colors |
3822 only if HAVE_X_WINDOWS. | |
3823 | |
29696 | 3824 * keymap.c (describe_buffer_bindings): Add `\f\n' in front |
3825 of titles. | |
3826 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3827 * dispnew.c (update_frame_1): Handle case that cursor vpos is |
29688 | 3828 out of bounds. |
3829 | |
29670 | 3830 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il> |
3831 | |
3832 * unexec.c (toplevel): Fix last change, so as not to deprive MSDOS | |
3833 of its headers. | |
3834 | |
29662 | 3835 2000-06-15 Kenichi Handa <handa@etl.go.jp> |
3836 | |
3837 * coding.c (decode_coding_emacs_mule): Always set src_base at the | |
3838 start of the while loop. | |
3839 | |
29661 | 3840 2000-06-15 Gerd Moellmann <gerd@gnu.org> |
3841 | |
29673 | 3842 * atimer.c (alarm_signal_handler): Add forward declaration. |
3843 | |
29661 | 3844 * data.c (set_internal): Remove debug code. |
3845 | |
29637 | 3846 2000-06-14 Gerd Moellmann <gerd@gnu.org> |
3847 | |
29657 | 3848 * Makefile.in (bootstrap-temacs): Add `-I../src'. |
3849 | |
29654 | 3850 * unexec.c (toplevel) [COFF]: Include coff.h. |
3851 | |
3852 * s/lynxos.h: New file. | |
3853 | |
3854 * keymap.c (Fsingle_key_description): Enclose function key and | |
3855 event symbol names in angle brackets. | |
3856 | |
29644 | 3857 * xdisp.c (setup_echo_area_for_printing): Call |
3858 message_log_maybe_newline if message_buf_print is not set. | |
3859 | |
3860 * 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
|
3861 before calling setup_echo_area_for_printing because that |
29644 | 3862 function does something useful even when message_buf_print is |
3863 already set. | |
3864 | |
29637 | 3865 * xdisp.c (message_truncate_lines, Qmessage_truncate_lines): New |
3866 variables. | |
3867 (ensure_echo_area_buffers): Initialize echo buffer's | |
3868 truncate lines setting to nil. | |
3869 (with_echo_area_buffer): Don't set the echo buffer's truncate | |
3870 lines setting here. | |
29644 | 3871 (set_message_1): Set it here instead, based on the value |
29637 | 3872 of message_truncate_lines. |
3873 (resize_mini_window): Handle case that lines are truncated. | |
3874 (syms_of_xdisp): Initialize Qmessage_truncate_lines. DEFVAR_BOOL | |
3875 message-truncate-lines. | |
3876 | |
3877 * keyboard.c (read_char): Bind message-truncate-lines to t | |
3878 while displaying a help-echo. | |
3879 | |
3880 * lisp.h (Qmessage_truncate_lines): External declaration. | |
3881 | |
29620 | 3882 2000-06-13 Gerd Moellmann <gerd@gnu.org> |
3883 | |
29633 | 3884 * xdisp.c (Vline_number_display_limit): Renamed from |
3885 line_number_display_limit. | |
3886 (syms_of_xdisp): Use DEFVAR_LISP for line-number-display-limit. | |
3887 Extend documentation string. Initialize | |
3888 Vline_number_display_limit to nil meaning no limit. | |
3889 (decode_mode_spec): Use Vline_number_display_limit with its new | |
3890 meaning. | |
3891 | |
29620 | 3892 * xterm.c (x_check_font) [GLYPH_DEBUG]: Add prototype. |
3893 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
3894 2000-06-13 Richard Stallman <rms@gnu.org> |
29620 | 3895 |
3896 * frame.c (Fmodify_frame_parameters): Doc fix. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3897 |
29620 | 3898 * xfns.c (x_set_frame_parameters): Comment fix. |
3899 | |
3900 * frame.c (store_frame_param): Call swap_in_global_binding if the | |
3901 variable's current binding was chosen based on this frame. | |
3902 | |
3903 * data.c (swap_in_global_binding): New function. | |
3904 | |
29615 | 3905 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il> |
3906 | |
3907 * msdos.c (IT_write_glyphs): Don't use CODING_REQUIRE_ENCODING | |
3908 macro, instead AND with CODING_REQUIRE_ENCODING_MASK. | |
3909 | |
29612 | 3910 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il> |
3911 | |
3912 * msdos.h (EMACS_MSDOS_H): Renamed from MSDOS_H_. | |
3913 | |
29606 | 3914 2000-06-12 Jason Rumney <jasonr@gnu.org> |
3915 | |
3916 * w32bdf.h (EMACS_W32BDF_H): Renamed from __W32BDF_H__ | |
3917 | |
3918 * w32.h (EMACS_W32_H): Renamed from _NT_H_ | |
3919 | |
3920 * w32gui.h (EMACS_W32GUI_H): Renamed from __W32GUI_H__ | |
3921 | |
3922 * w32inevt.h (EMACS_W32INEVT_H): Renamed from __NTINEVT_H__ | |
3923 | |
29603 | 3924 2000-06-12 Gerd Moellmann <gerd@gnu.org> |
3925 | |
3926 * xfaces.c (Fdump_colors) [DEBUG_X_COLORS]: New function. | |
3927 (syms_of_xfaces): Defsubr Sdump_colors. | |
3928 (x_free_colors): Don't treat b&w specially on default visual. | |
3929 (x_free_dpy_colors): New function. | |
3930 (free_face_colors): Don't check visual class; it's done | |
3931 in x_free_colors. | |
3932 | |
3933 * xterm.c (x_frame_of_widget): New function. | |
3934 (x_alloc_nearest_color_for_widget): Use it. | |
3935 (x_copy_dpy_color): New function. | |
3936 (x_destroy_window): Free various colors. | |
3937 | |
29574 | 3938 2000-06-12 Kenichi Handa <handa@etl.go.jp> |
3939 | |
3940 * ccl.h (EMACS_CCL_H): Renamed from _CCL_H. | |
3941 | |
3942 * charset.h (EMACS_CHARSET_H): Renamed from _CHARSET_H. | |
3943 | |
3944 * coding.h (EMASC_CODING_H): Renamed from _CODING_H. | |
3945 | |
3946 * composite.h (EMACS_COMPOSITE_H): Renamed from _COMPOSITE_H. | |
3947 | |
3948 * fontset.h (EMACS_FONTSET_H): Renamed from _FONTSET_H. | |
3949 | |
29560 | 3950 2000-06-11 Dave Love <fx@gnu.org> |
3951 | |
3952 * systime.h (EMACS_SYSTIME_H): Renamed from _SYSTIME_H. | |
3953 | |
29558 | 3954 2000-06-11 Eli Zaretskii <eliz@is.elta.co.il> |
3955 | |
3956 * msdos.h: Don't use _MSDOS_H_ as a symbol, use MSDOS_H_ instead. | |
3957 | |
29556 | 3958 2000-06-11 Gerd Moellmann <gerd@gnu.org> |
3959 | |
29603 | 3960 * xmenu.c (xmenu_show): Cast second parameter of lw_popup_menu |
29556 | 3961 to `XEvent *'. |
3962 | |
29537 | 3963 2000-06-10 Kenichi Handa <handa@etl.go.jp> |
3964 | |
29545 | 3965 * regex.c (MAKE_CHAR) [!emacs]: Dummy macro for non-Emacs env. |
3966 (regex_compile): Fix the code for handling the case of single byte | |
3967 char and multibyte char being mixed in a range within [...]. | |
3968 | |
29541 | 3969 * fileio.c (Finsert_file_contents): Be sure to setup src_multibyte |
3970 and dst_multibyte members of coding. | |
3971 | |
29537 | 3972 * charset.c (update_charset_table): Update the table |
3973 bytes_by_char_head. | |
3974 (init_charset_once): Initialize elements of bytes_by_char_head to | |
3975 1 except for leading codes for private charases. | |
3976 | |
3977 * charset.h (CHARSET_8_BIT_GRAPHIC): Define as 0x80. | |
3978 (UNIBYTE_STR_AS_MULTIBYTE_P): Fix for an invalid multibyte | |
3979 sequence. | |
3980 | |
29536
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
3981 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
|
3982 |
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
3983 * 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
|
3984 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
|
3985 |
29517 | 3986 2000-06-08 Gerd Moellmann <gerd@gnu.org> |
3987 | |
3988 * xterm.c (XTread_socket) <FocusIn>: Queue a FOCUS_IN_EVENT which | |
29556 | 3989 will be translated to a switch-frame event when reading the |
29517 | 3990 event queue. This is necessary because Emacs otherwise won't |
3991 perform a switch-frame to a new frame until some other event, for | |
3992 example a keystroke event, forces it to do so. This has various | |
3993 effects, one visible being that the cursor of a frame created with | |
3994 C-x 5 2 or switched to with a window manager key binding like | |
3995 A-TAB stays hollow because selected_window isn't on the newly | |
3996 focused frame until the switch-frame is performed. | |
3997 | |
3998 * keyboard.c (kbd_buffer_get_event): Handle FOCUS_IN_EVENT by | |
3999 generating a switch-frame event if necessary. | |
4000 | |
4001 * termhooks.h (enum event_kind): Add FOCUS_IN_EVENT. | |
4002 | |
4003 * xdisp.c (handle_fontified_prop): Don't GCPRO local var `pos'; | |
4004 it's an integer. | |
4005 | |
29502 | 4006 2000-06-08 Kenichi Handa <handa@etl.go.jp> |
4007 | |
4008 * fontset.c (Fset_fontset_font): The arg CHARACTER may be a | |
4009 charset. | |
4010 | |
29482 | 4011 2000-06-07 Gerd Moellmann <gerd@gnu.org> |
4012 | |
29489 | 4013 * window.c (displayed_window_lines): Take empty lines at |
4014 the bottom of a window into account. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4015 |
29487 | 4016 * window.c (displayed_window_lines): New function. |
4017 (Fmove_to_window_line): Use displayed_window_lines to determine | |
4018 the number of lines to move, instead of using the window's height. | |
4019 | |
4020 * lread.c (readevalloop): If READCHARFUN sets point to ZV, arrange | |
4021 to stop reading, even if the form read sets point to a different | |
4022 value when evaluated. | |
4023 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4024 * xdisp.c (display_line): Fix code deciding in which line to |
29482 | 4025 put the cursor. |
4026 | |
29479 | 4027 2000-06-07 Kenichi Handa <handa@etl.go.jp> |
4028 | |
4029 * fileio.c (e_write): Free composition data if stored in | |
4030 coding->cmp_data. | |
4031 | |
29460 | 4032 2000-06-06 Gerd Moellmann <gerd@gnu.org> |
4033 | |
29475 | 4034 * xdisp.c (display_line): Set row's and iterator's |
4035 starts_in_middle_of_char_p and ends_in_middle_of_char_p flags. | |
4036 Set cursor even if row ends in the middle of a character. | |
4037 (dump_glyph_row): Print values of new flags. | |
4038 (redisplay_window) <cursor movement in unchanged window>: When | |
4039 point has been moved forward, and PT is at the end of the cursor | |
4040 row, don't place the cursor in the next row if the cursor row ends | |
4041 in the middle of a character or at ZV. | |
4042 | |
4043 * dispextern.h (struct it): Add starts_in_middle_of_char_p. | |
4044 (struct glyph_row): Add starts_in_middle_of_char_p and | |
4045 ends_in_middle_of_char_p. | |
4046 (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P): Test row's | |
4047 ends_in_middle_of_char_p flag. | |
4048 (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Likewise. | |
4049 | |
29463 | 4050 * term.c (append_glyph): Revert change of 2000-06-06. |
4051 | |
4052 * xdisp.c (display_line): Revert change of 2000-06-06. Treat | |
4053 padding glyph not fitting on line as whole character not | |
4054 fitting on line. | |
4055 | |
29460 | 4056 * xterm.c (x_produce_glyphs): Don't xassert `it->descent > 0'; |
4057 this isn't true for images with `:ascent 100'. | |
4058 | |
29450 | 4059 2000-06-06 Kenichi Handa <handa@etl.go.jp> |
4060 | |
29457 | 4061 * buffer.c (Fset_buffer_multibyte): Don't make the current buffer |
4062 as modified if it is originally unmodified. | |
4063 | |
29450 | 4064 * term.c (encode_terminal_code): Change the way to check if |
4065 terminal coding does any conversion. | |
4066 (append_glyph): Set glyph->pixel_width correctly. | |
4067 | |
29451 | 4068 * xdisp.c (display_line): While checking line continuation, pay |
4069 attention to a padding glyph. | |
4070 | |
29447 | 4071 2000-06-05 Gerd Moellmann <gerd@gnu.org> |
4072 | |
4073 * xdisp.c (redisplay_window): Always use set_buffer_internal_1. | |
4074 | |
29431 | 4075 2000-06-05 Dave Love <fx@gnu.org> |
4076 | |
29444 | 4077 * xdisp.c: Include fontset.h. |
4078 | |
4079 * xfns.c (x_real_positions): Declare tmp_nchildren as unsigned. | |
4080 | |
4081 * xterm.c (x_calc_absolute_position): Declare nchildren unsigned. | |
4082 | |
4083 * dispnew.c: Conditionally include term.h. | |
4084 | |
4085 * coding.h: Declare code_convert_string_norecord. | |
4086 | |
4087 * frame.h (struct frame): Use volatile unconditionally. | |
4088 | |
4089 * buffer.h: Remove Vbefore_change_function, Vafter_change_function. | |
4090 | |
4091 * xmenu.c (menu_item_selection): Declare volatile unconditionally. | |
4092 | |
4093 * systime.h: Protect against multiple inclusion. | |
4094 (timezone) [USG5_4]: Define as time_t. | |
4095 | |
4096 * lisp.h (DEFUN, EXFUN): Test PROTOTYPES. | |
4097 (Foptimize_char_table, make_temp_name): Declare. | |
4098 | |
4099 * Makefile.in (xdisp.o): Depend on fontset.h. | |
4100 | |
4101 * xterm.c (x_calc_absolute_position): Declare nchildren unsigned. | |
4102 | |
4103 * lisp.h (DEFUN, EXFUN): Test PROTOTYPES. | |
4104 (Foptimize_char_table, make_temp_name): Declare. | |
4105 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4106 * s/irix4-0.h: |
29431 | 4107 * s/irix5-0.h: |
4108 * s/netbsd.h: Don't define autoconfiscated MATHERR. | |
4109 | |
29397 | 4110 2000-06-02 Dave Love <fx@gnu.org> |
4111 | |
4112 * lread.c (_XOPEN_SOURCE, __EXTENSIONS__): Don't define. | |
4113 | |
29395 | 4114 2000-06-02 Gerd Moellmann <gerd@gnu.org> |
4115 | |
4116 * xfaces.c (realize_x_face): When copying BASE_FACE bitwise to the | |
29447 | 4117 result face, set flags in that face indicating that colors may not |
29395 | 4118 be freed. |
4119 | |
4120 * xterm.c (x_set_mouse_face_gc): If first glyph isn't a character | |
4121 glyph, use the ASCII NUL character to determine the face. | |
4122 | |
29388 | 4123 2000-06-02 Dave Love <fx@gnu.org> |
4124 | |
4125 * sysdep.c: Conditionally include stdlib.h, unistd.h. | |
4126 (VFORK_RETURN_TYPE): Remove. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4127 |
29388 | 4128 * config.in: Add NO_MATHERR. |
4129 | |
29368 | 4130 2000-06-01 Dave Love <fx@gnu.org> |
4131 | |
29383 | 4132 * cmds.c (internal_self_insert): Don't check |
4133 Vbefore_change_function, Vafter_change_function. | |
4134 | |
4135 * insdel.c (signal_before_change, signal_after_change): Likewise. | |
4136 | |
4137 * buffer.c (Vbefore_change_function, Vafter_change_function): | |
4138 Variables and their initializations deleted. | |
4139 | |
29372 | 4140 * callint.c (Fcall_interactively): Doc fix. |
4141 | |
29368 | 4142 * terminfo.c (ospeed) [HAVE_SPEED_T]: Don't declare extern. |
4143 | |
29343 | 4144 2000-05-31 Dave Love <fx@gnu.org> |
4145 | |
4146 * textprop.c: Revert last change -- duplicated. | |
4147 | |
29338 | 4148 2000-05-31 Gerd Moellmann <gerd@gnu.org> |
4149 | |
4150 * dispnew.c (find_glyph_row_slice, swap_glyphs_in_rows): Put | |
4151 in #if 0. | |
4152 | |
4153 * lisp.h (eassert) [!ENABLE_CHECKING]: Define as `(void) 0'. | |
4154 | |
29331 | 4155 2000-05-31 Jason Rumney <jasonr@gnu.org> |
4156 | |
29334 | 4157 * search.c (Fre_search_forward, Fre_search_backward) |
4158 (Fposix_search_backward, Fposix_search_forward): Fix newlines in docs. | |
4159 | |
29331 | 4160 * w32select.c (Fw32_set_clipboard_data): Change QNil to Qnil. |
4161 | |
29308 | 4162 2000-05-30 Jason Rumney <jasonr@gnu.org> |
4163 | |
4164 * coding.h (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: New macros. | |
4165 [WINDOWSNT]: Add extern for Vw32_system_coding_system. | |
4166 | |
4167 * dispextern.h (struct glyph) [WINDOWSNT]: Add w32_font_type | |
4168 member. | |
4169 | |
4170 * fileio.c (Fread_file_name) [HAVE_NTGUI]: Use file dialog. | |
4171 (Fread_file_name) [HAVE_NTGUI, USE_MOTIF]: Do not attempt to | |
4172 expand a nil default_filename. | |
4173 | |
4174 * keyboard.c (make_lispy_event) [WINDOWS_NT]: Pass a window | |
4175 pointer to glyph_to_pixel_coords, not a frame. | |
4176 | |
4177 * makefile.nt (w32fns.obj, w32menu.obj): Add charset.h and | |
4178 coding.h to dependencies. | |
4179 | |
4180 * w32bdf.c (w32_load_bdf_font): Initialize font->double_byte_p. | |
4181 | |
4182 * w32console.c (glyph_to_pixel_coords): Change first parameter to | |
4183 window pointer to be consistent with w32term.c and xterm.c. | |
4184 | |
4185 * w32fns.c: Format and doc changes to bring closer to xfns.c. | |
4186 (VIETNAMESE_CHARSET): Define if not defined in system headers. | |
4187 (Qline_spacing, Qcenter): New variables. | |
4188 (Qw32_charset_*, w32_codepage_for_font): Moved from w32term.c. | |
4189 (x_set_line_spacing): New function. | |
4190 (x_set_frame_parameters): Use FRAME_NEW_WIDTH, FRAME_NEW_HEIGHT | |
4191 macros. | |
4192 (x_specified_cursor_type): New function. | |
4193 (x_set_cursor_type): Use it. | |
4194 (x_set_name, x_set_title): Use ENCODE_SYSTEM to encode titlebar | |
4195 and icon strings. | |
4196 (validate_x_resource_name, x_get_resource_string): Measure lengths | |
4197 of external strings in bytes. | |
4198 (w32_wnd_proc) [WM_MEASURE_ITEM]: Avoid calling | |
4199 GetTextExtentPoint32 with NULL title. | |
4200 (Fx_create_frame): Initialize Qline_spacing. | |
4201 (w32_load_system_font): Initialize font->double_byte_p. | |
4202 (x_to_w32_charset): Use Vw32_charset_info_alist. | |
4203 (Image, busy cursor, tooltip functions): Merged changes from | |
4204 xfns.c. Not yet functional on Windows. | |
4205 | |
4206 * w32gui.h (W32FontStruct): Add double_byte_p member. | |
4207 | |
4208 * w32inevt.c (NUM_TRANSLATED_MOUSE_BUTTONS): New constant. | |
4209 (emacs_button_translation): Use it. | |
4210 (do_mouse_event): Allow up to 32 mouse buttons by allowing any bit | |
4211 in `mask' to be set. | |
4212 | |
4213 * w32menu.c (single_submenu, w32_menu_show): Call ENCODE_SYSTEM on | |
4214 menu strings. | |
4215 | |
4216 * w32term.c: Format and doc changes to bring closer to xterm.c. | |
4217 (w32_char_font_type): New enum. | |
4218 (Qw32_charset_*, w32_codepage_for_font): Moved to w32fns.c. | |
4219 (w32_per_char_metric): Use w32_char_font_type instead of unicode_p. | |
4220 (w32_encode_char): New function. | |
4221 (x_encode_char): Removed. | |
4222 (x_get_glyph_and_face_encoding): Use w32_encode_char in place of | |
4223 x_encode_char and w32_font_is_double_byte. | |
4224 (x_produce_image_glyph): Use image_ascent. | |
4225 (x_produce_glyphs): Use new version of w32_per_char_metric and | |
4226 handle NULL return value. Allow extra line spacing. | |
4227 (W32_TEXTOUT): Distinguish between Unicode and DBCS text. | |
4228 (w32_get_glyph_overhangs): Remove unicode_p param. Use | |
4229 w32_font_type member of glyph instead. | |
4230 (x_draw_glyph_string): Draw underline and strike-out for BDF fonts. | |
4231 (fast_find_position): Make sure not to consider rows not visible | |
4232 in the window. | |
4233 (w32_read_socket) [WM_MENUSELECT]: Cannot call | |
4234 w32_menu_display_help with input blocked, as it can abort. | |
4235 (x_display_and_set_cursor): Choose cursor depending | |
4236 on buffer-local value of cursor_type. | |
4237 (x_draw_bar_cursor): Add parameter WIDTH. | |
4238 | |
4239 * w32term.h (CP_DEFAULT): Define. | |
4240 (Fx_display_color_p, Fx_display_grayscale_p, image_ascent): Declare. | |
4241 | |
29302 | 4242 2000-05-30 Gerd Moellmann <gerd@gnu.org> |
4243 | |
4244 * search.c (Fre_search_forward, Fre_search_backward) | |
4245 (Fposix_search_backward, Fposix_search_forward): Doc fix. | |
4246 | |
29298 | 4247 2000-05-30 Kenichi Handa <handa@etl.go.jp> |
4248 | |
4249 * coding.c (detect_coding_iso2022): Fix code for checking | |
4250 CODING_CATEGORY_MASK_ISO_8_2. | |
4251 | |
29297
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
4252 2000-05-29 Stefan Monnier <monnier@cs.yale.edu> |
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
4253 |
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
4254 * regex.c (PREFETCH_NOLIMIT): New function. |
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
4255 (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
|
4256 |
29285 | 4257 2000-05-29 Gerd Moellmann <gerd@gnu.org> |
4258 | |
29295 | 4259 * syntax.c (find_defun_start): Move test for |
4260 open_paren_in_column_0_is_defun_start outside of the loop. | |
4261 | |
29292 | 4262 * xdisp.c (redisplay_window): Really switch buffers when |
4263 displaying mode lines, and temporarily set selected_frame to the | |
4264 frame of the window that's redisplayed. | |
4265 | |
29285 | 4266 * xfaces.c (free_realized_faces): Block/unblock input. |
4267 (free_realized_multibyte_face): Ditto. | |
4268 | |
29283 | 4269 2000-05-29 Dave Love <fx@gnu.org> |
4270 | |
4271 * textprop.c (Qkeymap): New variable. | |
4272 (syms_of_textprop): Intern it. | |
4273 | |
4274 * keymap.c: Include intervals.h. | |
4275 (Fkey_binding, Fwhere_is_internal): Deal with `keymap' property. | |
4276 | |
4277 * Makefile.in (keymap.o): Depend on intervals.h. | |
4278 | |
4279 * keyboard.c (menu_bar_items, tool_bar_items) | |
4280 (Fexecute_extended_command): Deal with `keymap' property. | |
4281 (read_key_sequence): Track map from `keymap' property as well as | |
4282 `local_map'. | |
4283 | |
4284 * intervals.c (get_local_map): Extra arg to allow looking for | |
4285 `keymap' too. | |
4286 | |
4287 * intervals.h (map_property): New enum. | |
4288 (get_local_map): Extra arg using it. | |
4289 (Qkeymap): Declare. | |
4290 | |
29285 | 4291 * lisp.h (get_local_map): Don't declare here. |
29283 | 4292 |
29271 | 4293 2000-05-29 Kenichi Handa <handa@etl.go.jp> |
4294 | |
4295 * Makefile.in (callproc.o): Depend on composite.h. | |
4296 | |
4297 * callproc.c: Include composite.h. | |
4298 (Fcall_process): Handle composition correctly. | |
4299 | |
4300 * coding.h (coding_allocate_composition_data): Extern it. | |
4301 (coding_restore_composition): Likewise. | |
4302 | |
4303 * coding.c (DECODE_COMPOSITION_START): If coding->cmp_data is not | |
4304 yet allocated, finish decoding with result | |
4305 CODING_FINISH_INSUFFICIENT_CMP. | |
4306 (coding_allocate_composition_data): Make it non-static. | |
4307 (coding_restore_composition): Likewise. | |
4308 | |
29270 | 4309 2000-05-29 Eli Zaretskii <eliz@is.elta.co.il> |
4310 | |
4311 * charset.c (syms_of_charset): Revert last change. | |
4312 | |
29264 | 4313 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il> |
4314 | |
4315 * 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
|
4316 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
|
4317 Handa. |
29264 | 4318 |
29261 | 4319 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il> |
4320 | |
4321 * charset.c (syms_of_charset): Set width of character sets | |
4322 eight-bit-control and eight-bit-graphic to 1 column. | |
4323 | |
29254 | 4324 2000-05-26 Gerd Moellmann <gerd@gnu.org> |
4325 | |
4326 * config.in (HAVE_SPEED_T): New define. | |
4327 | |
4328 * sysdep.c, terminfo.c (ospeed) [HAVE_SPEED_T]: Declare as | |
4329 `extern speed_t'. | |
4330 | |
29248 | 4331 2000-05-26 Dave Love <fx@gnu.org> |
4332 | |
4333 * coding.c (shrink_decoding_region): Initialize eol_conversion. | |
4334 | |
4335 * data.c (Qsubrp, Qmany, Qunevalled): New variables. | |
4336 (Fsubr_arity): New function. | |
4337 (syms_of_data): Install them. | |
4338 | |
29226 | 4339 2000-05-26 Kenichi Handa <handa@etl.go.jp> |
4340 | |
29235 | 4341 * charset.c (init_charset_once): Set the table bytes_by_char_head |
4342 correctly. | |
4343 | |
29230 | 4344 * fontset.c (syms_of_fontset): Adjust the font name for ascii of |
4345 the default fontset to what Emacs uses by default. | |
29235 | 4346 (check_registry_encoding): This function deleted. |
4347 (Fset_fontset_font): Remove the adhoc condition for the default | |
4348 fontset. Allow cons in FONTNAME. | |
4349 | |
4350 * fns.c (map_char_table): Ignore char-table entries for | |
4351 charsets eight-bit-control and eight-bit-graphic. | |
29226 | 4352 |
29198
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
4353 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
|
4354 |
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
4355 * 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
|
4356 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
|
4357 |
29195
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
4358 2000-05-25 Stefan Monnier <monnier@cs.yale.edu> |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
4359 |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
4360 * regex.c (at_begline_loc_p): Also recognize the \\(?:^ case |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
4361 of an anchor at the beginning of a shy-group. |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
4362 |
29193 | 4363 2000-05-25 Gerd Moellmann <gerd@gnu.org> |
4364 | |
4365 * xdisp.c (handle_invisible_prop): Don't try to skip over | |
4366 invisible text if end of text is already reached. | |
4367 | |
29183 | 4368 2000-05-25 Dave Love <fx@gnu.org> |
4369 | |
29186 | 4370 * xdisp.c (Fdump_glyph_matrix): Declare the arg. |
4371 | |
29183 | 4372 * coding.c (encode_eol): Add null statement after label. |
4373 | |
29181 | 4374 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il> |
4375 | |
4376 * w16select.c (Fw16_set_clipboard_data): Fix the change from | |
4377 2000-05-20. | |
4378 | |
29173 | 4379 2000-05-25 Kenichi Handa <handa@etl.go.jp> |
4380 | |
29174 | 4381 * ccl.c (ccl_driver): Fix previous change. |
29173 | 4382 |
29169 | 4383 2000-05-25 Kenichi Handa <handa@etl.go.jp> |
4384 | |
29171 | 4385 * coding.c (run_pre_post_conversion_on_str): Set point to the |
4386 beginning of buffer before calling coding->post_read_conversion. | |
4387 (decode_coding_string): Give correct args to | |
4388 run_pre_post_conversion_on_str. | |
4389 (encode_coding_string): Likewise. | |
4390 | |
29169 | 4391 * ccl.c (ccl_driver) <CCL_ReadMultibyteChar2> |
4392 <CCL_WriteMultibyteChar2>: Handle charsets eight-bit-control and | |
4393 eight-bit-graphic correctly. | |
4394 | |
29153 | 4395 2000-05-24 Kenichi HANDA <handa@etl.go.jp> |
4396 | |
4397 * fileio.c (Finsert_file_contents): Even if a file is not found, | |
4398 execute codes for setting up coding system. Call | |
4399 after-insert-file-functions unconditionally. | |
4400 | |
29151 | 4401 2000-05-24 Gerd Moellmann <gerd@gnu.org> |
4402 | |
4403 * callproc.c, emacs.c, sysdep.c (setpgrp): Don't define if USG and | |
4404 BSD_PGRPS are not defined. | |
4405 | |
29142 | 4406 2000-05-24 Kenichi Handa <handa@etl.go.jp> |
4407 | |
4408 * charset.c (update_charset_table): Accept nil in LONG_NAME and | |
4409 DESCRIPTION. | |
4410 (syms_of_charset): Avoid building same strings. | |
4411 | |
29127 | 4412 2000-05-23 Gerd Moellmann <gerd@gnu.org> |
4413 | |
4414 * lread.c (Fload): Add a comment about the meaning of | |
4415 Vuser_init_file being t. | |
4416 | |
4417 * puresize.h (BASE_PURESIZE): Increase to 675000. | |
4418 | |
4419 * s/gnu-linux.h (setpgrp): Don't define it here because this | |
4420 prevents compilation on GNU/Linux systems with glib 2.2. | |
4421 | |
4422 * callproc.c, emacs.c, sysdep.c (setpgrp) [HAVE_SETPGID]: Define | |
4423 as setpgid. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4424 |
29104 | 4425 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il> |
4426 | |
4427 * Makefile.in (SOME_MACHINE_LISP): Add disp-table.elc, | |
4428 dos-vars.elc, ccl.elc, and codepage.elc, all loaded by the MS-DOS | |
4429 version. | |
4430 (MSDOS_SUPPORT): Add dos-vars.elc, ccl.elc, and codepage.elc. | |
4431 | |
29092 | 4432 2000-05-23 Kenichi Handa <handa@etl.go.jp> |
4433 | |
29100
a941c97dc65b
(skip_chars): FETCH_STRING_CHAR_ADVANCE unconditionally.
Kenichi Handa <handa@m17n.org>
parents:
29096
diff
changeset
|
4434 * 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
|
4435 unconditionally. |
a941c97dc65b
(skip_chars): FETCH_STRING_CHAR_ADVANCE unconditionally.
Kenichi Handa <handa@m17n.org>
parents:
29096
diff
changeset
|
4436 |
29096 | 4437 * msdos.c (IT_write_glyphs): Set coding->src_multibyte to 1. |
4438 | |
4439 * term.c (encode_terminal_code): Set coding->src_multibyte | |
4440 properly. | |
4441 | |
29092 | 4442 * coding.c (encode_eol): Fix a bug of DOS style EOL encoding. |
4443 | |
29064 | 4444 2000-05-22 Kenichi Handa <handa@etl.go.jp> |
4445 | |
29068
61a23dd336ab
(read_char): Allow character codes 128..255 to be
Kenichi Handa <handa@m17n.org>
parents:
29064
diff
changeset
|
4446 * 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
|
4447 handled by input-method-function. |
61a23dd336ab
(read_char): Allow character codes 128..255 to be
Kenichi Handa <handa@m17n.org>
parents:
29064
diff
changeset
|
4448 |
29064 | 4449 * insdel.c (adjust_markers_for_replace): Fix previous change. |
4450 (adjust_after_replace): If PREV_TEXT is nil, call | |
4451 adjust_markers_for_insert, not adjust_markers_for_replace. | |
4452 | |
29036 | 4453 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
|
4454 |
29036 | 4455 * s/gnu-linux.h (UNIX98_PTYS) [HAVE_GRANDPT]: Define. |
4456 (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF) | |
4457 [HAVE_GRANDPT]: Define. | |
4458 (C_SWITCH_SYSTEM): Add -D_XOPEN_SOURCE. | |
4459 | |
4460 * sysdep.c (setup_pty): Treat case that UNIX98_PTYS is defined | |
4461 like SYSV_PTYS. | |
4462 | |
4463 * config.in (HAVE_GRANDPT, HAVE_GETPT): New defines. | |
4464 | |
4465 * process.c (toplevel) [UNIX98_PTYS]: Include stdlib.h. | |
4466 | |
29028 | 4467 2000-05-20 Kenichi Handa <handa@etl.go.jp> |
4468 | |
4469 The following changes are to handle 8-bit characters in a | |
4470 multibyte buffer/string without facing with byte combining | |
4471 problem. Two new charsets eight-bit-control (for 0x80..0x9F) and | |
4472 eight-bit-graphic (for 0xA0..0xFF) are introduced. | |
4473 | |
4474 * Makefile.in (fns.o): Depend on charset.h. | |
4475 | |
4476 * alloc.c (Fmake_byte_code): If BYTECODE-STRING is multibyte, | |
4477 convert it to unibyte. | |
4478 (make_string): Use parse_str_as_multibyte, not chars_in_text. | |
4479 | |
4480 * buffer.c (advance_to_char_boundary): Don't use DEC_POS to find a | |
4481 apparent char boundary. | |
4482 (Fset_buffer_multibyte): Convert 8-bit characters in the range | |
4483 0x80..0x9F to/from multibyte form. | |
4484 | |
4485 * bytecode.c (Fbyte_code): If arg BYTESTR is multibyte, convert it | |
4486 to unibyte. | |
4487 | |
4488 * callproc.c (Fcall_process): Always encode an argument string if | |
4489 it is multibyte. Setup src_multibyte and dst_multibyte members of | |
4490 process_coding properly. | |
29102 | 4491 |
29028 | 4492 * category.c (Fmodify_category_entry): Use SPLIT_CHAR, not |
4493 SPLIT_NON_ASCII_CHAR. | |
4494 | |
4495 * ccl.c (CCL_WRITE_CHAR): Be sure to write single byte characters | |
4496 as is. | |
4497 (CCL_MAKE_CHAR): Use MAKE_CHAR, not MAKE_NON_ASCII_CHAR. | |
4498 | |
4499 * charset.c (Qeight_bit_control, Qeight_bit_graphic): New | |
4500 variables. | |
4501 (SPLIT_CHARACTER_SEQ): This macro deleted. | |
4502 (SPLIT_MULTIBYTE_SEQ): Assume that multibyte sequence at STR is | |
4503 valid. | |
4504 (CHAR_COMPONENTS_VALID_P): Handle new charsets; eight-bit-control | |
4505 and eight-bit-graphic. | |
4506 (char_to_string): Likewise. Signal an error for too large | |
4507 character code. | |
4508 (char_printable_p): Return 0 for 8-bit characters. | |
4509 (update_charset_table): Update iso_charset_table only when a final | |
4510 character is non-negative. | |
4511 (find_charset_in_text): Renamed from find_charset_in_str. | |
4512 Arguments and return value changed. Callers changed. | |
4513 (Fdefine_charset): Args ISO-FINAL-CHAR and ISO-GRAPHIC-PLANE can | |
4514 be -1 if CHARSET is used only internally. | |
4515 (Fmake_char_internal): Handle new charsets; eight-bit-control and | |
4516 eight-bit-graphic. | |
4517 (Fcharset_after): Simplified. | |
4518 (char_valid_p): Use SPLIT_CHAR, not SPLIT_NON_ASCII_CHAR. | |
4519 (char_bytes): Return 2 for chars of the range 0xA0..0xFF. | |
4520 (multibyte_chars_in_text): Simplified by assuming there's no | |
4521 invalid multibyte sequence. | |
4522 (parse_str_as_multibyte, str_as_multibyte, str_to_multibyte, | |
4523 str_as_unibyte): New functions. | |
4524 (Fstring): Simpified by assuming that byte combining never | |
4525 happens. | |
4526 (init_charset_once): Initialization for | |
4527 LEADING_CODE_8_BIT_CONTROL. | |
4528 (syms_of_charset): Intern and staticpro Qeight_bit_control and | |
4529 Qeight_bit_graphic. Include them in Vcharset_list. Make charsets | |
4530 eight-bit-control and eight-bit-graphic. | |
4531 | |
4532 * charset.h (LEADING_CODE_8_BIT_CONTROL, CHARSET_8_BIT_CONTROL, | |
4533 CHARSET_8_BIT_GRAPHIC): New macros. | |
4534 (SINGLE_BYTE_CHAR_P): Make it faster by using casting. | |
4535 (CHARSET_ISO_GRAPHIC_PLANE): Use XINT instead of XFASTINT. | |
4536 (CHARSET_REVERSE_CHARSET): Likewise. | |
4537 (CHARSET_VALID_P): Handle new charsets; eight-bit-control and | |
4538 eight-bit-graphic. | |
4539 (BYTES_BY_CHAR_HEAD, WIDTH_BY_CHAR_HEAD): Optimize for ASCII. | |
4540 (CHAR_CHARSET, MAKE_CHAR, SPLIT_CHAR, CHAR_BYTES): Likewise. | |
4541 (PARSE_MULTIBYTE_SEQ) [BYTE_COMBINING_DEBUG]: Abort if we | |
4542 encounter an invalid multibyte sequence. | |
4543 (PARSE_MULTIBYTE_SEQ) [not BYTE_COMBINING_DEBUG]: Assume multibyte | |
4544 sequence is always valid. | |
4545 (MAKE_NON_ASCII_CHAR, SPLIT_NON_ASCII_CHAR): These macros Deleted. | |
4546 (UNIBYTE_STR_AS_MULTIBYTE_P, MULTIBYTE_STR_AS_UNIBYTE_P): New | |
4547 macros. | |
4548 (CHAR_STRING): For 8-bit characters, call char_to_string. | |
4549 (INC_POS) [not BYTE_COMBINING_DEBUG]: Faster version. Assume | |
4550 multibyte sequence is always valid. | |
4551 (BUF_INC_POS) [not BYTE_COMBINING_DEBUG]: Likewise. | |
4552 (parse_str_as_multibyte, str_as_multibyte, str_to_multibyte, | |
4553 str_as_unibyte): Extern them. | |
4554 (BCOPY_SHORT): Fix a bug. | |
4555 (CHAR_LEN): This macro deleted. Callers changed to use | |
4556 CHAR_BYTES. | |
4557 (FETCH_STRING_CHAR_ADVANCE): Check multibyteness of STRING. | |
4558 (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): New macro. | |
4559 (FETCH_CHAR_ADVANCE): Check multibyteness of the current buffer. | |
4560 | |
29161 | 4561 * coding.c (ONE_MORE_BYTE, TWO_MORE_BYTES): Set coding->result to |
29028 | 4562 CODING_FINISH_INSUFFICIENT_SRC if there's not enough source. |
4563 (ONE_MORE_CHAR, EMIT_CHAR, EMIT_ONE_BYTE, EMIT_TWO_BYTE, | |
4564 EMIT_BYTES): New macros. | |
4565 (THREE_MORE_BYTES, DECODE_CHARACTER_ASCII, | |
4566 DECODE_CHARACTER_DIMENSION1, DECODE_CHARACTER_DIMENSION2): These | |
4567 macros deleted. | |
4568 (CHECK_CODE_RANGE_A0_FF): This macro deleted. | |
4569 (detect_coding_emacs_mule): Use UNIBYTE_STR_AS_MULTIBYTE_P to | |
4570 check the validity of multibyte sequence. | |
4571 (decode_coding_emacs_mule): New function. | |
4572 (encode_coding_emacs_mule): New macro. | |
4573 (detect_coding_iso2022): Use ONE_MORE_BYTE to fetch a byte from | |
4574 the source. | |
4575 (DECODE_ISO_CHARACTER): Just return a character code. | |
4576 (DECODE_COMPOSITION_START): Set coding->result instead of result. | |
4577 (decode_coding_iso2022, decode_coding_sjis_big5, decode_eol): Use | |
4578 EMIT_CHAR to produced decoded characters. Exit the loop only by | |
4579 macros ONE_MORE_BYTE or EMIT_CHAR. Don't handle the case of last | |
4580 block here. | |
4581 (ENCODE_ISO_CHARACTER): Don't translate character here. Produce | |
4582 only position codes for an invalid character. | |
4583 (encode_designation_at_bol): Return new destination pointer. 5th | |
4584 arg DSTP is changed to DST. | |
4585 (encode_coding_iso2022, decode_coding_sjis_big5): Get a character | |
4586 from the source by ONE_MORE_CHAR. Don't handle the case of last | |
4587 block here. | |
4588 (DECODE_SJIS_BIG5_CHARACTER, ENCODE_SJIS_BIG5_CHARACTER): These | |
4589 macros deleted. | |
4590 (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8, | |
4591 detect_coding_utf_16, detect_coding_ccl): Use ONE_MORE_BYTE and | |
4592 TWO_MORE_BYTES to fetch a byte from the source. | |
4593 (encode_eol): Pay attention to coding->src_multibyte. | |
4594 (detect_coding, detect_eol): Preserve members src_multibyte and | |
4595 dst_multibyte. | |
4596 (DECODING_BUFFER_MAG): Return 2 even for coding_type_raw_text. | |
4597 (encoding_buffer_size): Set magnification to 3 for all coding | |
4598 systems that require encoding. | |
4599 (ccl_coding_driver): For decoding, be sure that the result is | |
4600 valid multibyte sequence. | |
4601 (decode_coding): Initialize coding->errors and coding->result. | |
4602 For emacs-mule, call decode_coding_emacs_mule. For no-conversion | |
4603 and raw-text, always call decode_eol. Handle the case of last | |
4604 block here. If not coding->dst_multibyte, convert the resulting | |
4605 sequence to unibyte. | |
4606 (encode_coding): Initialize coding->errors and coding->result. | |
4607 For emacs-mule, call encode_coding_emacs_mule. For no-conversion | |
4608 and raw-text, always call encode_eol. Handle the case of last | |
4609 block here. | |
4610 (shrink_decoding_region, shrink_encoding_region): Detect cases | |
4611 that we can't skip data more rigidly. | |
4612 (code_convert_region): Setup src_multibyte and dst_multibyte | |
4613 members of coding. For decoding, if the buffer is multibyte, | |
4614 convert the source sequence to unibyte in advance. For encoding, | |
4615 if the buffer is multibyte, convert the resulting sequence to | |
4616 multibyte afterward. | |
4617 (run_pre_post_conversion_on_str): New function. | |
4618 (code_convert_string): Deleted and divided into the following two. | |
4619 (decode_coding_string, encode_coding_string): New functions. | |
4620 (code_convert_string1, code_convert_string_norecord): Call one of | |
4621 above. | |
4622 (Fdecode_sjis_char, Fdecode_big5_char): Use MAKE_CHAR instead of | |
4623 MAKE_NON_ASCII_CHAR. | |
4624 (Fset_terminal_coding_system_internal, | |
4625 Fset_safe_terminal_coding_system_internal): Setup src_multibyte | |
4626 and dst_multibyte members. | |
4627 (init_coding_once): Initialize iso_code_class with new enum | |
4628 ISO_control_0 and ISO_control_1. | |
4629 | |
4630 * coding.h (enum iso_code_class_type): Member ISO_control_code is | |
4631 devided into ISO_control_0 and ISO_control_1. | |
4632 (struct coding_system): New members src_multibyte, dst_multibyte, | |
4633 errors, and result. Delete member fake_multibyte. | |
4634 (CODING_REQUIRE_DECODING): Return 1 if coding->dst_multibyte is | |
4635 nonzero. | |
4636 (CODING_REQUIRE_ENCODING): Return 1 if coding->src_multibyte is | |
4637 nonzero. | |
4638 | |
4639 * data.c (Faref): Use SPLIT_CHAR instead of SPLIT_NON_ASCII_CHAR. | |
4640 (Faset): Likewise. | |
4641 | |
4642 * editfns.c (Fformat): Be sure to convert 8-bit characters to | |
4643 multibyte form. | |
4644 (Ftranspose_region) [BYTE_COMBINING_DEBUG]: Abort if byte | |
4645 combining occurs. | |
4646 (Ftranspose_region): Delete codes for handling byte combining. | |
4647 | |
4648 * fileio.c (Finsert_file_contents): Setup src_multibyte and | |
4649 dst_multibyte members of coding. On handling REPLACE on unibyte | |
4650 buffer, convert the result of decode_coding to unibyte. On | |
4651 inserting into a mutibyte buffer, always call code_convert_region. | |
29161 | 4652 (e_write): Setup coding->src_multibyte according to the |
29028 | 4653 multibyteness of the source (buffer or string). |
4654 | |
4655 * fns.c (concat): Handle 8-bit characters correctly. | |
4656 (Fstring_as_unibyte): Be sure to make all 8-bit characters in | |
4657 unibyte in the result. | |
4658 (Fstring_as_multibyte): Be sure to make all 8-bit characters in | |
4659 valid multibyte form in the result. | |
4660 (map_char_table): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR. | |
4661 (Fbase64_encode_region, Fbase64_encode_string): If base64_encode_1 | |
4662 return -1, signal an error. | |
4663 (base64_encode_1): New arg MULTIBYTE. Get each character by | |
4664 CHAR_STRING_AND_LENGTH if MULTIBYTE is nonzero. If a multibyte | |
4665 character is found, return -1. | |
4666 (Fbase64_decode_region): Delete codes for handling byte-combining. | |
4667 Treat each decoded byte as a unibyte character. | |
4668 (Fbase64_decode_string): Return unibyte string. | |
4669 (Fcompare_strings, concat, string_byte_to_char): Use | |
4670 FETCH_STRING_CHAR_ADVANCE_NO_CHECK instead off | |
4671 FETCH_STRING_CHAR_ADVANCE. | |
4672 (Fstring_lessp): Use FETCH_STRING_CHAR_ADVANCE unconditionally. | |
4673 (mapcar1): If SEQ is string, always use FETCH_STRING_CHAR_ADVANCE. | |
4674 | |
4675 * fontset.c (fontset_ref): Use SPLIT_CHAR instead of | |
4676 SPLIT_NON_ASCII_CHAR. | |
4677 (fontset_ref_via_base, fontset_set): Likewise | |
4678 | |
4679 * insdel.c (adjust_markers_for_record_delete): Deleted. | |
4680 (adjust_markers_for_insert): Argument changed. Caller changed. | |
4681 (adjust_markers_for_replace): Likewise. | |
4682 (ADJUST_CHAR_POS, combine_bytes, byte_combining_error, | |
4683 CHECK_BYTE_COMBINING_FOR_INSERT): Deleted. | |
4684 (copy_text): Delete unused local varialbe c_save. For converting | |
4685 to multibyte, be sure to make all 8-bit characters in valid | |
4686 multibyte form. | |
4687 (count_size_as_multibyte): Handle 8-bit characters correctly. | |
4688 (insert_1_both, insert_from_string_1, insert_from_buffer_1, | |
4689 adjust_after_replace, replace_range, del_range_2) | |
4690 [BYTE_COMBINING_DEBUG]: Abort if byte combining occurs. | |
4691 (insert_1_both, insert_from_string_1, insert_from_buffer_1, | |
4692 adjust_after_replace, replace_range, del_range_2) Delete codes for | |
4693 handling byte combining. | |
4694 (adjust_before_replace): Deleted. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4695 |
29028 | 4696 * keymap.c (Fsingle_key_description): Use SPLIT_CHAR instead of |
4697 SPLIT_NON_ASCII_CHAR. | |
4698 (describe_vector): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR. | |
4699 (Faccessible_keymaps): Use FETCH_STRING_CHAR_ADVANCE | |
4700 unconditionally. | |
4701 (Fkey_description): Likewise. | |
4702 | |
4703 * lread.c (read1): On reading multibyte string, be sure to make | |
4704 all 8-bit chararacters in valid multibyte form. | |
4705 (readchar): Use FETCH_STRING_CHAR_ADVANCE unconditionally. | |
4706 | |
4707 * print.c (print_object): Use FETCH_STRING_CHAR_ADVANCE | |
4708 unconditionally. | |
4709 | |
4710 * process.c (Fstart_process): GCPRO current_dir before calling | |
4711 Ffind_operation_coding_system. Encode arguments here. | |
4712 (create_process): Don't encode arguments here. Setup | |
4713 src_multibyte and dst_multibyte members of struct coding. | |
4714 (read_process_output): Setup src_multibyte and dst_multibyte | |
4715 members of struct coding. If the output is to multibyte buffer, | |
4716 always decode the output of the process. Adjust the | |
4717 representation of 8-bit characters to the multibyteness of the | |
4718 output. | |
4719 (send_process): Setup coding->src_multibyte according to the | |
4720 multibyteness of the source. | |
4721 | |
4722 * search.c (wordify): Use FETCH_STRING_CHAR_ADVANCE | |
4723 unconditionally. | |
4724 (Freplace_match): Use FETCH_STRING_CHAR_ADVANCE and | |
4725 FETCH_STRING_CHAR_ADVANCE_NO_CHECK appropriately. | |
4726 | |
4727 * term.c (produce_special_glyphs): Use CHAR_BYTES instead of | |
4728 CHAR_LEN. | |
4729 | |
4730 * w16select.c (Fw16_set_clipboard_data): Setup members | |
4731 src_multibyte and dst_multibyte of coding. Adjusted for the | |
4732 change for find_charset_in_str. | |
4733 (Fw16_get_clipboard_data): Likewise. | |
4734 | |
4735 * w32fns.c (w32_to_x_font): Setup members src_multibyte and | |
4736 dst_multibyte of coding. | |
4737 (x_to_w32_font): Likewise. | |
4738 | |
4739 * w32select.c (Fw32_set_clipboard_data): Setup members | |
4740 src_multibyte and dst_multibyte of coding. Adjusted for the | |
4741 change for find_charset_in_str. | |
4742 (Fw32_get_clipboard_data): Likewise. | |
4743 | |
4744 * xdisp.c (get_next_display_element): Handle 8-bit characters | |
4745 correctly. | |
4746 (next_element_from_display_vector): Use CHAR_BYTES instead of | |
4747 CHAR_LEN. | |
4748 (disp_char_vector): Use SPLIT_CHAR instead of | |
4749 SPLIT_NON_ASCII_CHAR. | |
4750 | |
4751 * xselect.c (selection_data_to_lisp_data): Setup members | |
4752 src_multibyte and dst_multibyte of coding. Adjusted for the | |
4753 change for find_charset_in_str. | |
4754 (lisp_data_to_selection_data): Likewise. | |
4755 | |
28988 | 4756 2000-05-19 Gerd Moellmann <gerd@gnu.org> |
4757 | |
28993 | 4758 * buffer.c (Fbury_buffer): Avoid trouble from burying a killed |
4759 buffer. | |
4760 | |
28988 | 4761 * dispextern.h (Vimage_types): Add extern declaration. |
4762 | |
4763 * xdisp.c (Vimage_types): Moved here from xfns.c. | |
4764 (syms_of_xdisp): Move `image-types' variable here from xfns.c. | |
4765 | |
4766 * xfns.c (Vimages_types): Moved to xdisp.c. | |
4767 (syms_of_xfns): Move `image-types' to xdisp.c. | |
4768 | |
4769 * w32fns.c (Vimage_types): Removed. | |
4770 (syms_of_w32fns): Remove `image-types'. | |
4771 | |
28965 | 4772 2000-05-18 Kenichi Handa <handa@etl.go.jp> |
4773 | |
4774 * fns.c (map_char_table): Pay attention to character number of | |
4775 charset. Check the validity of charset at the first level. For | |
4776 leaf nodes that has nil value, call C_FUNCTION or FUNCTION with | |
4777 the default value. | |
4778 | |
4779 * fontset.c: Include "buffer.h". | |
4780 (fs_load_font): If the face has fontset, record the face ID in | |
4781 that fontset. | |
4782 (Finternal_char_font): New function. | |
4783 (accumulate_font_info): New function. | |
4784 (Ffontset_info): Rewritten for the new fontset implementation. | |
4785 (syms_of_fontset): Register Vdefault_fontset in the first element | |
4786 of Vfontset_table. Include Vdefault_fontset in | |
4787 Vfontset_alias_alist. Declare `internal-char-font' as a Lisp | |
4788 function. | |
4789 | |
28945 | 4790 2000-05-16 Dave Love <fx@gnu.org> |
4791 | |
4792 * m/iris5d.h: Deleted -- unused. | |
4793 | |
28929 | 4794 2000-05-16 Gerd Moellmann <gerd@gnu.org> |
4795 | |
28939 | 4796 * xdisp.c, w32.c, print.c, msdos.c, emacs.c: Use the term |
4797 `invalid' instead of `illegal'. | |
4798 | |
4799 * indent.c (Fmove_to_column): When ending within a tab, insert | |
4800 spaces first so that markers at the end of the tab get adjusted. | |
4801 | |
28931 | 4802 * frame.c (frames_bury_buffer): Don't add a buffer to the frame's |
4803 buffer list that wasn't selected in that frame. | |
4804 | |
28929 | 4805 * filelock.c (get_boot_time): To obtain an 8 char file name, which |
4806 is needed on mescaline, use a 2 char prefix, and call | |
4807 make_temp_name with second arg non-zero. | |
4808 | |
4809 * fileio.c (make_temp_name): New function, extracted from | |
4810 Fmake_temp_name. | |
4811 (Fmake_temp_name): Use it. | |
4812 | |
28921 | 4813 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il> |
4814 | |
4815 * window.c (coordinates_in_window): Subtract 1 when computing | |
4816 right_x. | |
4817 | |
28919 | 4818 2000-05-15 Gerd Moellmann <gerd@gnu.org> |
4819 | |
4820 * Makefile.in (lisp): Add env.elc. | |
4821 | |
4822 * callproc.c (Fgetenv_internal): Renamed from Fgetenv. | |
4823 | |
28887 | 4824 2000-05-12 Gerd Moellmann <gerd@gnu.org> |
4825 | |
4826 * search.c (Freplace_match): Handle case of `\N' in the | |
4827 replacement when there's no group N. | |
4828 | |
28870 | 4829 2000-05-11 Gerd Moellmann <gerd@gnu.org> |
4830 | |
28877 | 4831 * xdisp.c (add_to_log): Don't pass the terminating NUL byte |
4832 of the message to message_dolog. | |
4833 | |
28872 | 4834 * keyboard.c (read_char): Don't clear current message for help |
4835 events; let the code handling help events handle this. Change | |
4836 code detecting help events that should be ignored. | |
4837 | |
28870 | 4838 * xdisp.c (handle_single_display_prop): Don't try to set PT if |
4839 we're interating over a string. | |
4840 | |
28848 | 4841 2000-05-09 Dave Love <fx@gnu.org> |
4842 | |
4843 * fileio.c (Fwrite_region): If APPEND arg is an integer, seek to | |
4844 that offset before writing. Move gcpro region past call of | |
4845 Ffile_regular_p. | |
4846 | |
28820 | 4847 2000-05-04 Dave Love <fx@gnu.org> |
4848 | |
4849 * buffer.c (syms_of_buffer) [auto-fill-function]: Doc fix. | |
4850 | |
28817 | 4851 2000-05-04 Gerd Moellmann <gerd@gnu.org> |
4852 | |
4853 * insdel.c (insert_from_buffer_1): Adjust FROM position by number | |
4854 of inserted characters when BUF equals the current buffer, and PT | |
4855 is in front of or equal to FROM. | |
4856 | |
28795 | 4857 2000-05-03 Gerd Moellmann <gerd@gnu.org> |
4858 | |
28805 | 4859 * xdisp.c (handle_single_display_prop): If display property value |
4860 is invalid, or something not supported on the frame, restore | |
4861 iterator's position to what it was initially. Make sure to return | |
4862 0 for invalid and unsupported property values. | |
4863 | |
28795 | 4864 * xterm.c (x_produce_glyphs) <composite chars>: Handle case |
4865 that x_per_char_metric returns null. | |
4866 | |
28782 | 4867 2000-05-02 Gerd Moellmann <gerd@gnu.org> |
4868 | |
28789 | 4869 * xterm.h (struct face): Add forward declaration. |
4870 (struct image): Ditto. | |
4871 (image_ascent): Add prototype. | |
4872 | |
4873 * xterm.c (x_produce_image_glyph, x_draw_image_foreground) | |
4874 (x_draw_image_relief, x_draw_image_foreground_1): Call function | |
4875 image_ascent instead of using IMAGE_ASCENT. | |
4876 | |
4877 * dispextern.h (DEFAULT_IMAGE_HEIGHT): New macro. | |
4878 (IMAGE_ASCENT): Removed. | |
4879 | |
4880 * xfns.c (Qcenter): New variable. | |
4881 (enum image_value_type): Add IMAGE_ASCENT_VALUE. | |
4882 (parse_image_spec): Handle IMAGE_ASCENT_VALUE. | |
4883 (image_ascent): New function. | |
4884 (lookup_image): Recognize `:ascent center'. | |
4885 (xbm_format, xpm_format, pbm_format, png_format, jpeg_format) | |
4886 (tiff_format, gif_format, gs_format): Use IMAGE_ASCENT_VALUE. | |
4887 (xbm_load): Don't set image's ascent here. | |
4888 (xbm_image_p, xpm_image_p, pbm_image_p, png_image_p) | |
4889 (jpeg_image_p, tiff_image_p, gif_image_p, gs_image_p): Don't | |
4890 check ascent values here. | |
4891 (Fimagep, Flookup_image [GLYPH_DEBUG]: Removed. | |
4892 (syms_of_xfns) [GLYPH_DEBUG]: Don't defsubr removed functions. | |
4893 (syms_of_xfns): Initialize Qcenter. | |
4894 | |
28782 | 4895 * eval.c (Fsignal): If lisp_eval_depth or spepdl_size are near |
4896 to the limits, increase the limits. | |
4897 | |
28765 | 4898 2000-05-01 Kenichi Handa <handa@etl.go.jp> |
4899 | |
4900 * fontset.c (fs_load_font): By default, use 0x00..0x7f for ASCII. | |
4901 Check Vfont_encoding_alist against the full name of the opened | |
4902 font. | |
4903 | |
28755 | 4904 2000-04-28 Gerd Moellmann <gerd@gnu.org> |
4905 | |
4906 * xdisp.c (make_cursor_line_fully_visible): Handle case of rows | |
4907 taller than the window. | |
4908 | |
28752 | 4909 2000-04-28 Kenichi Handa <handa@etl.go.jp> |
4910 | |
4911 * xfaces.c (realize_x_face): Fix the argument of the second | |
4912 xassert. BASE_FACE may not be a face for ASCII. | |
4913 | |
28734 | 4914 2000-04-27 Gerd Moellmann <gerd@gnu.org> |
4915 | |
28748 | 4916 * print.c (print_object): Treat print-length < 0 as nil. |
4917 | |
4918 * Makefile.in (termcapobj): Don't use TERMCAP_OBJ. | |
4919 | |
4920 * s/freebsd.h (TERMCAP_OBJ): Removed. | |
4921 (LIBS_TERMCAP): Don't define for __FreeBSD_version >= 400000. | |
4922 | |
4923 * lread.c (read1): Don't treat period followed by certain | |
4924 characters as symbol start. | |
4925 | |
4926 * xfns.c (slurp_file): New function. | |
4927 (xbm_image_p): Handle case of in-memory XBM files. | |
4928 (xbm_scan): Rewritten to work on memory buffers instead of files. | |
4929 (xbm_read_bitmap_data): Renamed from xbm_read_bitmap_file_data. | |
4930 Work on memory buffers instead of files. If DATA is null test | |
4931 if buffer looks like an in-memory XBM file. | |
4932 (xbm_load_image): Renamed from xbm_load_image_file. Work on | |
4933 memory buffers instead of files. | |
4934 (xbm_file_p): New function. | |
4935 (xbm_load): Accept :data DATA where DATA is an in-memory XBM file. | |
4936 | |
28734 | 4937 * lread.c (end_of_file_error): New function. |
4938 (read1): Call it instead of signaling `end-of-file' directly. | |
4939 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4940 * print.c (print_error_message): Print data of `end-of-file' |
28734 | 4941 with Fprinc instead of Fprin1. |
4942 | |
28727
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4943 2000-04-26 Ken Raeburn <raeburn@gnu.org> |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4944 |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4945 * window.c (freeze_window_start): Check that minibuffer scroll |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4946 window isn't nil before extracting the window structure pointer |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4947 from it. |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4948 |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4949 * 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
|
4950 picking elements apart. |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4951 |
28724 | 4952 2000-04-26 Gerd Moellmann <gerd@gnu.org> |
4953 | |
4954 * xdisp.c (display_line): If lines are continued, restore | |
4955 iterator's ascent/descent information to the values before the | |
4956 first glyph not fitting on the line. | |
4957 | |
28710 | 4958 2000-04-25 Gerd Moellmann <gerd@gnu.org> |
4959 | |
4960 * xdisp.c (try_window_id) <all changes above window start>: Adjust | |
4961 positions in glyph matrix. Don't compute new window end | |
4962 positions. | |
4963 | |
4964 * dispnew.c (increment_matrix_positions): Renamed from | |
4965 increment_glyph_matrix_buffer_positions. | |
4966 (increment_row_positions): Renamed from | |
4967 increment_glyph_row_buffer_positions. | |
4968 | |
4969 * dispextern.h: Change names of renamed functions from dispnew.c | |
4970 in prototypes. | |
4971 | |
28695 | 4972 2000-04-24 Gerd Moellmann <gerd@gnu.org> |
4973 | |
28699 | 4974 * fileio.c (Fdo_auto_save): Create directories for auto-save |
4975 list file if necessary. | |
4976 | |
28695 | 4977 * xdisp.c (init_iterator): Set iterator's extra_line_spacing |
4978 from buffer or frame. | |
4979 (automatic_hscrolling_p): New variable. | |
4980 (hscroll_windows): Scroll windows horizontally only if automatic | |
4981 hscrolling is allowed. | |
4982 (syms_of_xdisp): New variable `automatic-hscrolling'. | |
4983 | |
4984 * frame.h (struct frame): Add member extra_line_spacing. | |
4985 | |
4986 * xfns.c (x_set_line_spacing): New function. | |
4987 (Fx_create_frame): Set line spacing from resources. | |
4988 (Qline_spacing): New variable. | |
4989 (syms_of_xfns): Initialize Qline_spacing. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4990 |
28695 | 4991 * emacs.c (USAGE2): Add `--line-spacing' and `-lsp'. |
4992 | |
4993 * buffer.c (init_buffer_once): Handle extra_line_spacing. | |
4994 (syms_of_buffer): Add `default-line-spacing' and `line-spacing'. | |
28699 | 4995 (reset_buffer): Don't initialize extra2 and extra3. Initialize |
28695 | 4996 extra_line_spacing from default value. |
4997 (init_buffer_once): Initialize default value of extra_line_spacing. | |
4998 | |
4999 * buffer.h (struct buffer): Add extra_line_spacing, remove extra2 | |
5000 and extra3. | |
5001 | |
5002 * xterm.c (x_produce_glyphs): Remove reference to struct it's | |
5003 prompt_width. Add extra line spacing. | |
5004 | |
5005 * term.c (produce_glyphs): Remove reference to struct it's | |
5006 prompt_width. | |
5007 | |
5008 * dispextern.h (struct it): Remove member prompt_width, add | |
5009 extra_line_spacing. | |
5010 | |
28683 | 5011 2000-04-22 Gerd Moellmann <gerd@gnu.org> |
5012 | |
5013 * dispnew.c (update_frame_line): When writing a whole line, make | |
5014 sure cursor is in the right row afterwards, otherwise a use of | |
5015 capability `ch' in cmgoto might leave the cursor in the row below. | |
5016 | |
28680 | 5017 2000-04-21 Gerd Moellmann <gerd@gnu.org> |
5018 | |
5019 * lisp.h (struct Lisp_Buffer_Cons): Remove. | |
5020 | |
5021 * keyboard.c (timer_check): Fix typo in comment. | |
5022 | |
28675 | 5023 2000-04-21 Kenichi Handa <handa@etl.go.jp> |
5024 | |
5025 * fontset.c (Fset_fontset_font): Fix docstring. Local variable | |
5026 name change: ch -> character. | |
5027 | |
28674 | 5028 2000-04-20 Gerd Moellmann <gerd@gnu.org> |
5029 | |
5030 * keyboard.c (echo_message_buffer): New variable. | |
5031 (echo_now): Set echo_message_buffer to the echo area buffer used | |
5032 to display the echo. | |
5033 (cancel_echoing): Reset echo_message_buffer to nil. | |
5034 (read_char): Code rewritten that handles canceling an echo or | |
5035 echoing a dash, respectively. | |
5036 | |
5037 * fileio.c (Ffile_writable_p) [WINDOWSNT]: Return nil if parent | |
5038 directory doesn't exist. | |
5039 | |
28668 | 5040 2000-04-19 Dave Love <fx@gnu.org> |
5041 | |
5042 * fns.c (syms_of_fns): Defsubr mapc. | |
28756 | 5043 (concat): Don't allow numeric args. |
5044 (Fconcat): Doc change. | |
28668 | 5045 |
28665
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
5046 2000-04-19 Stefan Monnier <monnier@cs.yale.edu> |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
5047 |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
5048 * 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
|
5049 instead define end_match(1|2) more carefully. |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
5050 Use GET_CHAR_BEFORE_2 for `begline'. |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
5051 |
28648 | 5052 2000-04-19 Gerd Moellmann <gerd@gnu.org> |
5053 | |
28653 | 5054 * frame.h (SELECTED_FRAME): Change definition to compile cleanly |
5055 on 64-bit systems where NULL is defined as `0'. | |
5056 | |
5057 * xdisp.c (with_echo_area_buffer): Add more `int' parameters for | |
5058 the `variable argument list' to make it work on Alpha. | |
5059 | |
28648 | 5060 * m/alpha.h (_LP64) [!_LP64]: Define. |
5061 (ORDINARY_LINK): Define for NetBSD. | |
5062 | |
5063 * m/macppc.h (ORDINARY_LINK): Define for NetBSD. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5064 |
28637 | 5065 2000-04-19 Dave Love <fx@gnu.org> |
5066 | |
28644 | 5067 * s/bsd386.h, s/freebsd.h, s/gnu.h, s/netbsd.h: Revert 2000-04-14 |
5068 change. | |
5069 | |
5070 * Makefile.in (LIBS): Don't use. | |
5071 (GETLOADAVG_OBJ): Define again. | |
5072 (otherobj): Add GETLOADAVG_OBJ. | |
5073 | |
28637 | 5074 * buffer.c (Fmake_indirect_buffer): Escape newline in doc. |
5075 | |
28630 | 5076 2000-04-18 Gerd Moellmann <gerd@gnu.org> |
5077 | |
28634 | 5078 * lread.c (read_filtered_event): Cancel and start busy cursor. |
5079 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5080 * xterm.c (x_produce_glyphs) <ASCII chars>: Take into account |
28630 | 5081 that the per-character metrics may be null. |
5082 | |
28621 | 5083 2000-04-17 Gerd Moellmann <gerd@gnu.org> |
5084 | |
28626 | 5085 * buffer.c (clone_per_buffer_values): New function. |
5086 (Fmake_indirect_buffer): Add optional argument CLONE. Call | |
5087 clone_per_buffer_values if CLONE is not nil. | |
5088 | |
28621 | 5089 * xfaces.c (Ftty_suppress_bold_inverse_default_colors): Doc fix. |
5090 | |
28610 | 5091 2000-04-16 Dave Love <fx@gnu.org> |
5092 | |
5093 * Makefile.in: Remove obsolete localcpp stuff. | |
5094 (GETLOADAVG_OBJ): Don't define. | |
5095 (obj): Move LIBOBJS... | |
5096 (otherobj): ... to here. | |
5097 (MSDOS_OBJ): Convert to make variable -- preprocessing zapped | |
5098 whitespace-only lines after the continuation (Irix). | |
5099 | |
28598 | 5100 2000-04-14 Gerd Moellmann <gerd@gnu.org> |
5101 | |
5102 * xfns.c (xpm_load) [DEBUG_X_COLORS]: Register colors. | |
5103 | |
5104 * s/freebsd.h (LD_SWITCH_SYSTEM): Add `-L /usr/local/lib'. | |
5105 | |
28595 | 5106 2000-04-14 Dave Love <fx@gnu.org> |
5107 | |
5108 * s/aix3-1.h, s/bsd4-2.h, s/bsd4-3.h, s/cxux.h, s/dgux.h, s/gnu.h: | |
5109 * s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/irix3-3.h, s/rtu.h: | |
5110 * s/unipl5-0.h, s/unipl5-2.h, s/usg5-0.h, s/usg5-2-2.h, s/usg5-2.h: | |
5111 * s/usg5-3.h, s/xenix.h, s/umax.h: Don't define autoconfiscated | |
5112 NLIST_STRUCT. | |
5113 | |
5114 * s/bsd386.h, s/freebsd.h, s/gnu.h, s/netbsd.h: Don't define | |
5115 autoconfiscated HAVE_GETLOADAVG. | |
5116 | |
5117 * s/nextstep.h, s/sco4.h, s/sco5.h: Don't define autoconfiscated | |
5118 BROKEN_MKTIME. | |
5119 | |
28591 | 5120 2000-04-14 Gerd Moellmann <gerd@gnu.org> |
5121 | |
5122 * filelock.c (MAKE_LOCK_NAME): Allocate 2 more bytes. | |
5123 (fill_in_lock_file_name): Avoid existing files that aren't | |
5124 links. | |
5125 | |
28588 | 5126 2000-04-14 Dave Love <fx@gnu.org> |
5127 | |
28598 | 5128 * Makefile.in (LIBS, LIBOBJS): New variable. |
28588 | 5129 (INTERVAL_SRC): Convert to make variable. |
5130 (INTERVAL_OBJ, MKTIME_OBJ, FLOAT_SUPPORT, FACE_SUPPORT) | |
5131 (HAVE_X_WINDOWS, OBJECTS_SYSTEM): Remove. | |
5132 (obj): Substitute INTERVAL_OBJ, add MKTIME_OBJ, GETLOADAVG_OBJ and | |
5133 add LIBOBJS. | |
5134 (SOME_MACHINE_OBJECTS): Remove interval stuff. | |
5135 (lisp): Substitute FACE_SUPPORT, FLOAT_SUP. | |
5136 (shortlisp): Add facemenu, float-sup, frame. | |
5137 (SOME_MACHINE_LISP): Remove them from here. | |
5138 (LIBES): Change unused LDLIBS to autoconf LIBS. | |
5139 | |
5140 * config.in: Add BROKEN_MKTIME, NLIST_STRUCT, NLIST_NAME_UNION. | |
5141 | |
28579 | 5142 2000-04-14 Kenichi Handa <handa@etl.go.jp> |
5143 | |
28580 | 5144 * composite.c (update_compositions): If FROM and TO are not in a |
28579 | 5145 valid range, do nothing. |
5146 | |
28577 | 5147 2000-04-13 Gerd Moellmann <gerd@gnu.org> |
5148 | |
5149 * tparam.c (tparam1): Abort when encountering an unknown | |
5150 `%'-specifier. | |
5151 | |
5152 * s/freebsd.h (TERMCAP_OBJ) [__FreeBSD__ >= 4]: Define as | |
5153 terminfo.o. | |
5154 | |
5155 * Makefile.in (termcapobj) [LIBS_TERMCAP && TERMCAP_OBJ]: Define | |
5156 as TERMCAP_OBJ. | |
5157 | |
28562 | 5158 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il> |
5159 | |
5160 * fileio.c (a_write): Remove redundant semi-colons. | |
5161 (e_write): Return -1 if failed to write all the data. | |
5162 This fixes the changes made at 1999-12-15. | |
5163 | |
28555
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
5164 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
|
5165 |
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
5166 * 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
|
5167 (Fmapc): New function. |
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
5168 |
28554 | 5169 2000-04-12 Eli Zaretskii <eliz@is.elta.co.il> |
5170 | |
5171 * msdos.c (NUM_MOUSE_BUTTONS): Define. | |
5172 (IT_frame_up_to_date): Support the buffer local value of | |
5173 cursor-type, if defined. | |
5174 | |
28547 | 5175 2000-04-10 Dave Love <fx@gnu.org> |
5176 | |
5177 * editfns.c (preceding-char, following-char): Doc fix. | |
5178 | |
28546
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
5179 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
|
5180 |
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
5181 * 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
|
5182 |
28543 | 5183 2000-04-10 Jason Rumney <jasonr@gnu.org> |
5184 | |
5185 * xfaces.c (realize_face): Change FRAME_X_P to FRAME_WINDOW_P. | |
5186 | |
28538 | 5187 2000-04-10 Gerd Moellmann <gerd@gnu.org> |
5188 | |
28542 | 5189 * xdisp.c (setup_echo_area_for_printing): Choose an echo |
5190 area buffer, if it's not set up yet. | |
5191 | |
28538 | 5192 * indent.c (compute_motion): Set immediate_quit. |
5193 | |
28523 | 5194 2000-04-09 Gerd Moellmann <gerd@gnu.org> |
5195 | |
28530 | 5196 * xfaces.c (tty_suppress_bold_inverse_default_colors_p): New |
5197 variable. | |
5198 (realize_tty_face): Suppress boldness if colors are the inverse of | |
5199 the default colors, and tty_suppress_bold_inverse_default_colors_p | |
5200 is set. | |
5201 (Ftty_suppress_bold_inverse_default_colors): New function. | |
5202 (syms_of_xfaces): Defsubr it. | |
5203 | |
28523 | 5204 * buffer.c (Frestore_buffer_modified_p): New function. |
5205 (syms_of_buffer): Defsubr it. | |
5206 | |
28514
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5207 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
|
5208 |
28515
75bd73426842
* charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a
Ken Raeburn <raeburn@raeburn.org>
parents:
28514
diff
changeset
|
5209 * 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
|
5210 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
|
5211 |
28514
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5212 * 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
|
5213 * 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
|
5214 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
|
5215 |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5216 * 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
|
5217 value. |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
5218 (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
|
5219 |
28507
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5220 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
|
5221 |
28509
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
5222 * 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
|
5223 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
|
5224 (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
|
5225 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
|
5226 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
|
5227 (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
|
5228 |
28507
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5229 * 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
|
5230 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
|
5231 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
|
5232 * 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
|
5233 * 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
|
5234 * 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
|
5235 * 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
|
5236 Fminibuffer_completion_help): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5237 * 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
|
5238 |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5239 * 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
|
5240 * 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
|
5241 |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
5242 * 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
|
5243 |
28508
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
5244 * 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
|
5245 __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
|
5246 lisp-object unions. |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
5247 (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
|
5248 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
|
5249 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
|
5250 |
28499 | 5251 2000-04-04 Gerd Moellmann <gerd@gnu.org> |
5252 | |
28506 | 5253 * window.c (compare_window_configurations): Signal an error |
5254 if parameters C1 or C2 aren't window configurations. | |
5255 | |
28499 | 5256 * bytecode.c (Fbyte_code): Add a bunch of BEFORE_POTENTIAL_GC/ |
5257 AFTER_POTENTIAL_GC calls around calls to functions that can | |
5258 signal an error and thus invoke the debugger. | |
5259 | |
28483 | 5260 2000-04-03 Gerd Moellmann <gerd@gnu.org> |
5261 | |
28496 | 5262 * fns.c (Fbase64_decode_region, Fbase64_decode_string): Signal |
5263 an error if decoding fails. | |
5264 | |
28483 | 5265 * keyboard.c (lispy_mouse_names): Variable removed. |
5266 (Vlispy_mouse_stem): New variable. | |
5267 (syms_of_keyboard): Initialize Vlispy_mouse_stem. | |
5268 (make_lispy_event) <mouse_click, scroll_bar_click>: Don't abort | |
5269 for any mouse button number. Increase size of mouse_syms and | |
5270 button_down_location as needed. Call modify_event_symbol with | |
5271 different arguments. | |
5272 (make_lispy_event) <scroll_bar_click> [USE_TOOLKIT_SCROLL_BARS]: | |
5273 Call modify_event_symbol with different arguments. | |
5274 (make_lispy_event) <w32_scroll_bar_click> [WINDOWSNT]: Don't abort | |
5275 for any button number. Call modify_event_symbol with different | |
5276 arguments. | |
5277 (modify_event_symbol): Rename NAME_ALIST to NAME_ALIST_OR_STEM. | |
5278 Accept a string for NAME_ALIST_OR_STEM. | |
5279 | |
5280 * lisp.h (larger_vector): Add prototype. | |
5281 | |
5282 * fns.c (larger_vector): Make externally visible. | |
5283 | |
5284 * termhooks.h (NUM_MOUSE_BUTTONS): Removed. | |
5285 | |
28473
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5286 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
|
5287 |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5288 * 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
|
5289 (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
|
5290 (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
|
5291 we are between str1 and str2. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5292 (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
|
5293 (PATFETCH): Use `TRANSLATE'. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5294 (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
|
5295 (PATUNFETCH): Remove. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5296 (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
|
5297 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
|
5298 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
|
5299 (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
|
5300 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
|
5301 (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
|
5302 buffer. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5303 |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5304 * 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
|
5305 conditional on `emacs'. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5306 |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
5307 * 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
|
5308 |
28469
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5309 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
|
5310 |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5311 * 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
|
5312 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
|
5313 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
|
5314 defined. |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5315 (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
|
5316 macro. |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
5317 |
28472
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
5318 * 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
|
5319 nil. |
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
5320 (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
|
5321 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
|
5322 |
28471
f3d784d3eb5d
fix error in last log message
Ken Raeburn <raeburn@raeburn.org>
parents:
28470
diff
changeset
|
5323 * 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
|
5324 Lisp_Object boolean value. |
f3d784d3eb5d
fix error in last log message
Ken Raeburn <raeburn@raeburn.org>
parents:
28470
diff
changeset
|
5325 (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
|
5326 (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
|
5327 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
|
5328 XSETSTRING call. |
93996c44b23a
* editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test
Ken Raeburn <raeburn@raeburn.org>
parents:
28469
diff
changeset
|
5329 |
28466 | 5330 2000-04-01 Gerd Moellmann <gerd@gnu.org> |
5331 | |
5332 * term.c (TN_no_color_video): New variable. | |
5333 (term_init): Intitialize TN_no_color_video. | |
5334 (enum no_color_bit): New enumeration. | |
5335 (MAY_USE_WITH_COLORS_P): New macro. | |
5336 (turn_on_face): Use it to determine if attributes may be used | |
5337 combined with colors. | |
5338 | |
28463
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5339 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
|
5340 |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5341 * 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
|
5342 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
|
5343 lvalues. |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5344 (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
|
5345 proper accessor macros. |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
5346 (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
|
5347 (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
|
5348 |
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
|
5349 * 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
|
5350 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
|
5351 (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
|
5352 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
|
5353 Fformat. |
28483 | 5354 (back_to_previous_visible_line_start) |
5355 (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
|
5356 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
|
5357 (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
|
5358 objects, or passing them as int arguments. |
28483 | 5359 (mark_window_display_accurate, insert_left_trunc_glyphs) |
5360 (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
|
5361 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
|
5362 (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
|
5363 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
|
5364 (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
|
5365 |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5366 * 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
|
5367 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
|
5368 (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
|
5369 (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
|
5370 |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
5371 * 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
|
5372 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
|
5373 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
|
5374 |
28455 | 5375 2000-04-01 Gerd Moellmann <gerd@gnu.org> |
5376 | |
28462 | 5377 * xfaces.c (realize_basic_faces): Block input while realizing |
5378 the faces. | |
5379 | |
28455 | 5380 * keyboard.c (lispy_mouse_names): Add additional mouse names. |
5381 | |
5382 * termhooks.h (NUM_MOUSE_BUTTONS): Increase to 15. | |
5383 | |
28444 | 5384 2000-03-31 Gerd Moellmann <gerd@gnu.org> |
5385 | |
5386 * xterm.c (x_produce_glyphs): When displaying unibyte text | |
28462 | 5387 or ASCII, handle case that per-char metric is null. |
28444 | 5388 |
28417
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5389 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
|
5390 |
28430
f805ef5a2a03
* lisp.h (NO_UNION_TYPE) [ENABLE_CHECKING]: Undef.
Ken Raeburn <raeburn@raeburn.org>
parents:
28417
diff
changeset
|
5391 * 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
|
5392 |
28417
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5393 * 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
|
5394 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
|
5395 pointer, using eassert. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5396 * frame.h (XFRAME): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5397 |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5398 * 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
|
5399 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
|
5400 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
|
5401 type. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
5402 * 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
|
5403 * 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
|
5404 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
|
5405 * 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
|
5406 * 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
|
5407 * 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
|
5408 * 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
|
5409 * 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
|
5410 * 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
|
5411 * 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
|
5412 |
28415 | 5413 2000-03-30 Gerd Moellmann <gerd@gnu.org> |
5414 | |
5415 * xfns.c (free_image_cache): Free the cache structure itself | |
5416 last, after all its members have been freed. | |
5417 | |
5418 * lisp.h (xstrdup): Add prototype. | |
5419 | |
5420 * alloc.c (xstrdup): Moved here from xfaces.c. | |
5421 (allocating_for_lisp): Variable removed. | |
5422 (lisp_malloc): Block input around the calls to malloc and | |
5423 mem_insert. | |
5424 | |
5425 * xfaces.c (realize_tty_face): Use find_symbol_value instead | |
5426 of Fsymbol_value. | |
5427 (xstrdup): Moved to alloc.c. | |
5428 | |
28406
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5429 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
|
5430 |
28407
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
5431 * scroll.c (CHECK_BOUNDS): Renamed from CHECK. |
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
5432 |
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
5433 * 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
|
5434 |
28406
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5435 * 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
|
5436 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5437 * 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
|
5438 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
|
5439 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
|
5440 (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
|
5441 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
|
5442 abort. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5443 (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
|
5444 facility. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5445 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5446 * 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
|
5447 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
|
5448 (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
|
5449 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
|
5450 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
|
5451 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5452 * 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
|
5453 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
|
5454 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
|
5455 (die): New function. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5456 (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
|
5457 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5458 * 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
|
5459 parent object. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
5460 |
28390 | 5461 2000-03-29 Gerd Moellmann <gerd@gnu.org> |
5462 | |
5463 * lread.c (read1): Accept `.' (period) as symbol start like in CL | |
5464 and earlier Emacs versions. | |
5465 | |
5466 * keyboard.c (Ftop_level): Cancel busy-cursor. | |
5467 | |
5468 * eval.c (call_debugger): Cancel busy-cursor. | |
5469 | |
28385 | 5470 2000-03-29 Kenichi Handa <handa@etl.go.jp> |
5471 | |
5472 * search.c (Freplace_match): Adjust multibyteness of the current | |
28386 | 5473 buffer and NEWTEXT. Free allocated memory before signaling an |
5474 error. | |
28385 | 5475 |
28381
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5476 2000-03-28 Stefan Monnier <monnier@cs.yale.edu> |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5477 |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5478 * 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
|
5479 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
|
5480 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
|
5481 string or not. |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5482 (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
|
5483 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
|
5484 for non-greedy repetition). |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5485 (re_compile_fastmap): Delegate the actual work to `analyse_first'. |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
5486 |
28375 | 5487 2000-03-28 Dave Love <fx@gnu.org> |
5488 | |
28379 | 5489 * s/gnu-linux.h (GC_SETJMP_WORKS): Define for i386, sparc, m68k, |
5490 alpha. | |
5491 | |
28375 | 5492 * alloc.c: Include stdio.h. Test STDC_HEADERS, not __STDC__. |
5493 | |
28373
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5494 2000-03-27 Stefan Monnier <monnier@cs.yale.edu> |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5495 |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5496 * 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
|
5497 an expression. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5498 (enum re_opcode_t): Update description of succeed_n. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5499 (PATFETCH): Always define. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5500 (regex_compile): Use lookahead rather than PATUNFETCH (for repetition |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5501 operators, char classes, shy-groups and intervals). |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5502 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
|
5503 jump_n when really needed. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5504 (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
|
5505 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
|
5506 Simplify on_failure_jump handling as well. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5507 |
28371 | 5508 2000-03-28 Jason Rumney <jasonr@gnu.org> |
5509 | |
5510 * lread.c (Fload): Move safe_p definition to above #ifdef DOS_NT. | |
5511 | |
28348 | 5512 2000-03-27 Gerd Moellmann <gerd@gnu.org> |
5513 | |
28366 | 5514 * s/freebsd.h (GC_SETJMP_WORKS): Define. |
5515 | |
5516 * s/msdos.h (GC_SETJMP_WORKS): Define. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5517 |
28366 | 5518 * alloc.c (mark_maybe_object): New function. |
5519 (mark_memory): Use it. | |
5520 (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): New macros. | |
5521 (setjmp_tested_p, longjmp_done): New variables. | |
5522 (test_setjmp): New function. | |
5523 (mark_stack) [!GC_SETJMP_WORKS]: Call test_setjmp. | |
5524 (init_alloc): Initialize setjmp_tested_p and longjmp_done. | |
5525 | |
28363 | 5526 * xdisp.c (face_before_or_after_it_pos): Pass multibyteness |
5527 to DEC_TEXT_POS and INC_TEXT_POS. | |
5528 | |
5529 * dispnew.c (direct_output_for_insert): Use DEC_TEXT_POS | |
5530 with parameter MULTIBYTE_P. | |
5531 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5532 * dispextern.h (INC_TEXT_POS, DEC_TEXT_POS): Add parameter |
28363 | 5533 MULTIBYTE_P. |
5534 | |
28359 | 5535 * editfns.c (Fsubst_char_in_region): Don't use INC_POS in unibyte |
28366 | 5536 buffers because it looks for multibyte character byte sequences |
5537 which don't exist in unibyte text. | |
28359 | 5538 |
28357 | 5539 * xterm.h (x_specified_cursor_type, x_copy_color): Add prototypes. |
5540 | |
28368 | 5541 * xfaces.c (register_color, unregister_color, unregister_colors) |
28357 | 5542 [DEBUG_X_COLORS]: New functions. |
5543 (x_free_colors) [DEBUG_X_COLORS]: Unregister colors. | |
5544 | |
5545 * xfns.c (x_set_cursor_color): Get color reference counts right. | |
5546 | |
5547 * xterm.c (x_copy_color): New function. | |
5548 (x_alloc_nearest_color) [DEBUG_X_COLORS]: Call register_color. | |
5549 | |
5550 * buffer.h (MAX_PER_BUFFER_VARS): Renamed from MAX_BUFFER_LOCAL_VARS. | |
5551 (PER_BUFFER_VAR_OFFSET): Renamed from BUFFER_LOCAL_VAR_OFFSET. | |
5552 (PER_BUFFER_VAR_IDX): Renamed from BUFFER_LOCAL_VAR_IDX. | |
5553 (PER_BUFFER_VALUE_P): Renamed from BUFFER_HAS_LOCAL_VALUE_P. | |
5554 (SET_PER_BUFFER_VALUE_P): Renamed from SET_BUFFER_HAS_LOCAL_VALUE_P. | |
5555 (PER_BUFFER_IDX): Renamed from BUFFER_LOCAL_IDX. | |
5556 (PER_BUFFER_DEFAULT): Renamed from BUFFER_LOCAL_DEFAULT_VALUE. | |
5557 (PER_BUFFER_VALUE): Renamed from BUFFER_LOCAL_VALUE. | |
5558 (PER_BUFFER_SYMBOL): Renamed from BUFFER_LOCAL_SYMBOL. | |
5559 (PER_BUFFER_TYPE): Renamed from BUFFER_LOCAL_TYPE. | |
5560 | |
28368 | 5561 * category.c, data.c, syntax.c, print.c, lread.c: Use new macro |
5562 names for handling per-buffer variables. | |
28357 | 5563 |
5564 * buffer.c (buffer_permanent_local_flags): Use MAX_PER_BUFFER_VARS | |
5565 instead of MAX_BUFFER_LOCAL_VARS. | |
5566 (last_per_buffer_idx): Renamed from max_buffer_local_idx. | |
5567 | |
5568 * xfaces.c (lookup_face): Don't assert FACE_SUITABLE_FOR_CHAR_P. | |
5569 | |
28348 | 5570 * xfns.c (x_specified_cursor_type): New function. |
5571 (x_set_cursor_type): Use it. | |
5572 | |
5573 * buffer.h (struct buffer): Add cursor_type. | |
5574 | |
28346
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5575 2000-03-26 Stefan Monnier <monnier@cs.yale.edu> |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5576 |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5577 * 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
|
5578 (print_partial_compiled_pattern, re_compile_fastmap): Handle new |
28348 | 5579 opcode. |
28346
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5580 (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
|
5581 (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
|
5582 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
|
5583 loops in non-greedy repetition operators. |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5584 |
28320 | 5585 2000-03-26 Gerd Moellmann <gerd@gnu.org> |
5586 | |
28335 | 5587 * doc.c (Qfunction_documentation): New variable. |
5588 (syms_of_doc): Initialize Qfunction_documentation. | |
5589 (Fdocumentation): If FUNCTION is a symbol with non-nil | |
5590 `function-documentation' property, return a documentation derived | |
5591 from that. | |
5592 | |
28333 | 5593 * buffer.c (syms_of_buffer): Add default-cursor-type. |
5594 (init_buffer_once): Don't let cursor_type have a local value | |
5595 in every buffer. | |
5596 | |
28323 | 5597 * xterm.c (x_display_and_set_cursor): Choose cursor depending |
5598 on buffer-local value of cursor_type. | |
5599 (x_draw_bar_cursor): Add parameter WIDTH. | |
5600 | |
5601 * buffer.c (reset_buffer): Initialize buffer's cursor_type. | |
5602 (init_buffer_once): Set default cursor_type value to t. | |
5603 Mark cursor_type as local everywhere. | |
5604 (syms_of_buffer): New per-buffer variable cursor-type. | |
5605 | |
28320 | 5606 * buffer.h (struct buffer): Remove member local_var_flags, |
5607 add local_flags. | |
5608 (MAX_BUFFER_LOCAL_VARS): New macro. | |
5609 (BUFFER_LOCAL_VAR_OFFSET, BUFFER_LOCAL_VAR_IDX) | |
5610 (BUFFER_HAS_LOCAL_VALUE_P, SET_BUFFER_HAS_LOCAL_VALUE_P) | |
5611 (BUFFER_LOCAL_IDX, BUFFER_LOCAL_DEFAULT_VALUE, BUFFER_LOCAL_VALUE) | |
5612 (BUFFER_LOCAL_SYMBOL, BUFFER_LOCAL_TYPE): New macros. | |
5613 | |
5614 * print.c (print_object): Use new macros for per-buffer | |
5615 variables. | |
5616 | |
5617 * category.c (Fset_category_table): Use new macros for per-buffer | |
5618 variables. | |
5619 | |
5620 * buffer.c (buffer_permanent_local_flags): Make a char array. | |
5621 (max_buffer_local_idx): New variable. | |
5622 (reset_buffer_local_variables, Fbuffer_local_variables): Rewritten | |
5623 for new handling of per-buffer variables. | |
5624 (buffer_slot_type_mismatch): Use new macros for per-buffer vars. | |
5625 (init_buffer_once): Initialize per-buffer vars differently. | |
5626 Set max_buffer_local_idx. | |
5627 | |
5628 * syntax.c (Fset_syntax_table): Use new macros for per-buffer | |
5629 variables. | |
5630 | |
5631 * lread.c (defvar_per_buffer): Use new macros for per-buffer | |
5632 variables. | |
5633 | |
5634 * data.c (do_symval_forwarding, store_symval_forwarding) | |
5635 (find_symbol_value, set_internal, default_value, Fset_default) | |
5636 (Fkill_local_variable, Flocal_variable_p): Use new macros for | |
5637 per-buffer variables. | |
5638 | |
5639 * Makefile.in (bootstrap-emacs): Use `mv -f' instead of `mv'. | |
5640 | |
28303 | 5641 2000-03-24 Gerd Moellmann <gerd@gnu.org> |
5642 | |
28308 | 5643 * xterm.c (x_term_init): Unblock input around call1 of |
5644 Qvendor_specific_keysyms. | |
5645 | |
28303 | 5646 * syntax.c (open_paren_in_column_0_is_defun_start): New variable. |
5647 (find_defun_start): Consider an open parenthesis in column 0 | |
5648 a defun start only if open_paren_in_column_0_is_defun_start is set. | |
5649 (syms_of_syntax): New variable open-paren-in-column-0-is-defun-start. | |
5650 | |
28298
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5651 2000-03-24 Stefan Monnier <monnier@cs.yale.edu> |
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5652 |
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5653 * 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
|
5654 * lread.c (load-history): Update docstring. |
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5655 |
28294 | 5656 2000-03-24 Gerd Moellmann <gerd@gnu.org> |
5657 | |
5658 * indent.c (Fvertical_motion): Always use the current buffer. | |
5659 Temporarily change the window's buffer, if necessary. | |
5660 | |
28283 | 5661 2000-03-23 Gerd Moellmann <gerd@gnu.org> |
5662 | |
5663 * xterm.c (fast_find_position): Make sure not to consider rows | |
5664 not visible in the window. | |
5665 | |
28280
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5666 2000-03-22 Stefan Monnier <monnier@cs.yale.edu> |
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5667 |
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5668 * regex.c (enum syntaxcode): Provide default for non-Emacs. |
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5669 (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
|
5670 |
28276 | 5671 2000-03-22 Jason Rumney <jasonr@gnu.org> |
5672 | |
5673 * w32menu.c (single_submenu): Set help string to NULL if none. | |
5674 (w32_menu_show): Set help string correctly. | |
5675 (add-menu-item): Set help string in MIIM_DATA for menu item. | |
5676 Load SetMenuItemInfoA explicitly. | |
5677 (w32_menu_display_help): New function. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5678 |
28276 | 5679 * w32fns.c (w32_wnd_proc): Handle WM_MENUSELECT message. |
5680 (QCdata): Moved to xdisp.c. | |
5681 | |
5682 * w32term.c (w32_read_socket): Handle WM_MENUSELECT message. | |
5683 (Vw32_charset_to_codepage_alist): Removed. | |
5684 (Vw32_charset_info_alist): New variable. | |
5685 (Qw32_charset_[ansi, default, symbol, shiftjis, hangul, gb2312, | |
5686 chinesebig5, oem, easteurope, turkish, baltic, russian, arabic, | |
5687 greek, hebrew, thai, johab, mac, unicode]): New symbols. | |
5688 (x_produce_glyphs): Remove out of date #ifdef 0'd section. Replace | |
5689 with TODO comment. | |
5690 (w32_codepage_for_font): Use Vw32_charset_info_alist. | |
5691 (syms_of_w32term): Remove Vw32_charset_to_codepage_alist. | |
5692 Define Vw32_charset_info_alist and w32_charset symbols. | |
5693 | |
5694 2000-03-22 Jason Rumney <jasonr@gnu.org> | |
5695 | |
5696 * makefile.nt (w32bdf.obj): Update dependencies. | |
5697 | |
5698 * w32bdf.c: Include frame.h and dispextern.h before fontset.h. | |
5699 | |
5700 * w32fns.c: Include fontset.h after dispextern.h. | |
5701 (Fx_create_frame): Do not create fontset. | |
5702 (w32_load_system_font): Doc fix. | |
5703 (Fx_close_connection): Free full_name if it is not shared. | |
5704 | |
5705 * w32term.c: Include fontset.h after dispextern.h. | |
5706 (x_get_glyph_face_and_encoding): New parameter two_byte_p. Callers | |
5707 updated. | |
5708 (w32_per_char_metric): If PCM is invalid, delete and return NULL. | |
5709 (x_get_char_and_face_encoding): Use FACE_FOR_CHAR to get face_id. | |
5710 (w32_font_is_double_byte): New function, needs body. | |
5711 (x_append_glyph): Set glyph->glyph_not_available_p. | |
5712 (x_produce_glyphs): Set it->glyph_not_available_p. Don't set | |
5713 it->charset. If it->multibyte_p is zero and it->c is a multibyte | |
5714 character, convert it to a unibyte character. | |
5715 (struct glyph_string): Delete member `charset'. | |
5716 (W32_TEXTOUT): Temporarily remove charset_dim until another way of | |
5717 calculating it is found. | |
5718 (x_set_mouse_face_gc): Call FACE_FOR_CHAR to get face_id. Handle | |
5719 the case that per char metric is not available correctly. | |
5720 (x_fill_glyph_string): Handle the case that the specific glyph is | |
5721 not available correctly. | |
5722 (BUILD_CHAR_GLYPH_STRINGS): Don't set s->charset. | |
5723 (BUILD_COMPOSITE_GLYPH_STRING): Likewise. | |
5724 (x_new_font): Call FS_LOAD_FONT, not fs_load_font. | |
5725 (x_new_fontset): Call fontset_ascii to get ASCII font name of the | |
5726 fontset. Don't call FS_LOAD_FONT. | |
5727 | |
28269
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5728 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
|
5729 |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5730 * 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
|
5731 (INT_LISPLIKE): New macro. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5732 (NULL_INTERVAL_P): Use it. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5733 (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
|
5734 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
|
5735 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
|
5736 |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5737 * 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
|
5738 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
|
5739 associated unclean type conversions. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5740 * 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
|
5741 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
|
5742 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
|
5743 next_interval, previous_interval, update_interval, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5744 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
|
5745 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
|
5746 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
|
5747 copy_intervals_to_string): Likewise. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5748 * 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
|
5749 Likewise. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5750 * syntax.c (update_syntax_table): Likewise. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5751 |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5752 * 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
|
5753 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
|
5754 with prototype. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5755 (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
|
5756 (reproduce_tree): Declare with prototype. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5757 (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
|
5758 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
|
5759 |
28267 | 5760 2000-03-22 Gerd Moellmann <gerd@gnu.org> |
5761 | |
5762 * xfaces.c (lface_same_font_attributes_p): Compare font attributes | |
5763 as strings only if both are known to be strings. | |
5764 | |
5765 * s/openbsd.h (LIBS_TERMCAP): Undef. | |
5766 | |
28262
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5767 2000-03-21 Stefan Monnier <monnier@cs.yale.edu> |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5768 |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5769 * regex.c (CHAR_CHARSET, CHARSET_LEADING_CODE_BASE): Add default |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5770 definitions for non-Emacs compilation. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5771 (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
|
5772 outside of `#ifdef emacs'. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5773 (print_partial_compiled_pattern): Update. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5774 (regex_compile): Use (not)syntaxspec(Sword) instead of (not)wordchar. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5775 (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
|
5776 emacs and non-emacs compilation as well). |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5777 Similarly for (not)categoryspec and (not)syntaxspec. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5778 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
|
5779 complexity is not justified. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5780 (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
|
5781 and (not)syntaxspec. Merge (not)categoryspec. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5782 |
28253 | 5783 2000-03-22 Kenichi Handa <handa@etl.go.jp> |
5784 | |
28255 | 5785 * dispextern.h [!HAVE_WINDOW_SYSTEM] (FACE_SUITABLE_FOR_CHAR_P, |
5786 FACE_FOR_CHAR): Define them differently for the configuration of | |
5787 --without-x. | |
28253 | 5788 |
28242 | 5789 2000-03-21 Dave Love <fx@gnu.org> |
5790 | |
5791 * fontset.c (Fset_fontset_font, Ffontset_font): Fix newlines in | |
5792 doc string. | |
5793 | |
28238 | 5794 2000-03-21 Gerd Moellmann <gerd@gnu.org> |
5795 | |
5796 * xfaces.c (check_lface_attrs) [GLYPH_DEBUG]: Fix syntax error. | |
5797 (lface_fully_specified_p): Don't check contents of | |
5798 LFACE_FONT_INDEX because that attribute is optional. | |
5799 (realize_x_face): Remove now unwarranted xassert. | |
5800 | |
28218 | 5801 2000-03-21 Kenichi HANDA <handa@etl.go.jp> |
5802 | |
28219 | 5803 The following changes are to make font selection based on |
5804 characters, not charset. In addition, they recover fontset | |
5805 facilities while utilizing the new font selection mechanism. | |
28218 | 5806 |
28233 | 5807 * Makefile.in (fontset.o): Depend on dispextern.h. |
5808 | |
5809 * alloc.c (mark_face_cache): Don't mark face->registry. | |
5810 | |
28218 | 5811 * dispextern.h (struct glyph): New member glyph_not_available_p. |
5812 Use 22 bits for face_id. | |
5813 (enum lface_attribute_index): Add LFACE_FONT_INDEX. | |
5814 (struct face): Delete member registry, new member ascii_face. | |
5815 (FACE_SUITABLE_FOR_CHAR_P): Renamed from | |
5816 FACE_SUITABLE_FOR_CHARSET_P. Caller changed. | |
5817 (FACE_FOR_CHAR): Renamed from FACE_FOR_CHARSET. Caller changed. | |
5818 (struct it): Delete member charset, new member | |
5819 glyph_not_available_p. | |
5820 | |
5821 * fontset.h (FONT_NOT_OPENED, FONT_NOT_FOUND): Macros removed. | |
5822 (struct fontset_info, struct fontset_data): Structs removed. | |
5823 (allloc_fontset_data, free_fontset_data, fs_regiser_fontset, | |
5824 Vglobale_fontset_alist, font_idx_temp): Externs removed. | |
5825 (fs_load_font, fs_query_fontset): Adjusted for new argument. | |
5826 (fs_free_face_fontset, fontset_font_pattern, | |
5827 face_suitable_for_char_p, face_for_char, | |
5828 make_fontset_for_ascii_face): Extern them. | |
5829 (FS_LOAD_FONT): Adjusted for the change of fontset implementation. | |
5830 (FS_LOAD_FACE_FONT): New macro. | |
5831 | |
5832 * fontset.c: All codes rewritten or adjusted for the change of | |
5833 fontset implementation. Now fontset is represented by char table. | |
5834 (Vglobal_fontset_alist, font_idx_temp, my_strcasetbl): Variables | |
5835 removed. | |
5836 (my_strcasecmp): Function removed. | |
5837 (Vfontset_table, next_fontset_id, Vdefault_fontset): New | |
5838 variables. | |
5839 (AREF, ASIZE): New macros. | |
5840 (FONTSET_FROM_ID, FONTSET_ID, FONTSET_NAME, FONTSET_FRAME, | |
5841 FONTSET_ASCII, FONTSET_BASE, BASE_FONTSET_P, FONTSET_REF, | |
5842 FONTSET_REF_VIA_BASE, FONTSET_SET): New macros. | |
5843 (fontset_ref, fontset_ref_via_base, fontset_set, make_fontset, | |
5844 fontset_id_valid_p, font_family_registry, fontset_name, | |
5845 fontset_ascii, free_face_fontset, face_suitable_for_char_p, | |
5846 face_for_char, make_fontset_for_ascii_face, fontset_font_pattern): | |
5847 New functions. | |
5848 (fs_load_font): New arg FACE. Caller changed. | |
5849 (fs_query_fontset): Argument changed. Caller changed. | |
5850 (Fquery_fontset): call fs_query_fontset. | |
5851 (fs_register_fontset, alloc_fontset_data, free_fontset_data): | |
5852 Functions removed. | |
5853 (clear_fontset_elements, check_registry_encoding, | |
5854 check_fontset_name): New functions. | |
5855 (syms_of_fontset): Set char-table-extra-slots property of fontset | |
5856 to 3. Staticpro and initialize Vfontset_table and | |
5857 Vdefault_fontset. Defsubr fontset_font and fontset_list. | |
5858 | |
5859 * frame.h (struct frame): Member `fontset_data' removed. | |
5860 (FRAME_FONTSET_DATA): Macro removed. | |
5861 | |
5862 * frame.c (make_frame): Don't allocate f->fontset_data. | |
5863 (Fdelete_frame): Don't free f->fontset_data. | |
5864 | |
28233 | 5865 * msdos.c (XMenuActivate): Args to lookup_derived_face changed. |
5866 | |
28218 | 5867 * xdisp.c (charset_at_position): Function removed. |
5868 (init_iterator): Don't set member charset of struct `it'. | |
5869 (handle_face_prop, reseat_to_string, set_iterator_to_next, | |
5870 next_element_from_display_vector, insert_left_trunc_glyphs): | |
5871 Likewise. | |
5872 (face_before_or_after_it_pos): Call FACE_FOR_CHAR, not | |
5873 FACE_FOR_CHARSET. | |
5874 (get_next_display_element, append_space, | |
5875 extend_face_to_end_of_line): Likewise. | |
5876 | |
5877 * xfaces.c (Qx_charset_registry, Vface_default_registry): | |
5878 Variables removed. | |
5879 (clear_font_table, frame_update_line_height, load_face_font): | |
5880 Adjusted for the change of fontset implementation. | |
5881 (load_face_fontset_font): Function removed. | |
5882 (pixel_point_size): New function. | |
5883 (font_list): Argument type changed. Caller changed. | |
5884 (LFACE_FONT): New macro. | |
5885 (check_lface_attrs): Check attr[LFACE_FONT_INDEX]. | |
5886 (set_lface_from_font_name): Type of arg FONTNAME is changed to | |
5887 Lisp_Object. Determine the font name by actually loading a font | |
5888 by the specified pattern. Set LFACE_FONT (lface) to the specified | |
5889 pattern. Even if a font is not found, don't try alternatives. | |
5890 (Finternal_set_lisp_face_attribute): Handle `font' slot in lface. | |
5891 (set_font_frame_param): If `font' is specified in lface, use it. | |
5892 (Finternal_get_lisp_face_attribute): Handle `font' slot in lface. | |
5893 (lface_same_font_attributes_p): Likewise. | |
5894 (make_realized_face): Arguent changed. Caller changed. Set | |
5895 face->ascii_face to face itself. | |
5896 (free_realized_face): Free face->fontset if face is for ASCII. | |
5897 (face_suitable_for_iso8859_1_p, face_suitable_for_charset_p, | |
5898 deduce_unibyte_registry, x_charset_registry): Functions removed. | |
5899 (free_realized_multibyte_face): New function. | |
5900 (lookup_face, lookup_named_face, lookup_derived_face): Argument | |
5901 changed. Caller changed. | |
5902 (try_font_list): Argument type changed. | |
5903 (face_fontset): Check `font' slot of ATTRS, not `family' slot. | |
5904 (choose_face_font): Argument changed. Handle fontset properly. | |
5905 (choose_face_fontset_font): Function removed. | |
5906 (realize_default_face, realize_named_face): Don't remove the | |
5907 former face here. | |
5908 (realize_face): Argument changed. Caller changed. Remove face | |
5909 with the arg former_face_id in advance. Load font for the new | |
5910 face. | |
5911 (realize_x_face): Argument changed. Caller changed. For a | |
5912 multibyte character, share fontset with base_face. For a single | |
5913 byte character, make a new realized fontset. Don't load a font | |
5914 here. | |
5915 (realize_tty_face): Argument changed. Caller changed. | |
5916 (compute_char_face): Call FACE_FOR_CHAR, not FACE_FOR_CHARSET. | |
5917 (face_at_buffer_position): Don't check multibyte_p for returning | |
5918 DEFAULT_FACE_ID. | |
5919 (face_at_string_position): Call FACE_SUITABLE_FOR_CHAR_P, not | |
5920 FACE_SUITABLE_FOR_CHARSET_P. | |
5921 (syms_of_xfaces): Remove code for Qx_charset_registry and | |
5922 Vface_default_registry. | |
5923 | |
28233 | 5924 * xterm.c: Include fontset.h after dispextern.h. Undo the changes |
5925 related to PER_CHAR_METRIC done by Gerd on 2000-03-03. | |
28218 | 5926 (x_per_char_metric): Don't try FONT->default_char. Even if |
5927 pcm->width is zero, glyph bits may exist. | |
5928 (x_encode_char): Always initialize char2b->byte1. | |
5929 (x_get_char_face_and_encoding): Call FACE_FOR_CHAR to get face_id. | |
5930 (x_get_glyph_face_and_encoding): New arg two_byte_p. Caller | |
5931 changed. | |
5932 (x_append_glyph): Set glyph->glyph_not_available_p. | |
5933 (x_produce_glyphs): Set it->glyph_not_available_p. Don't set | |
5934 it->charset. Handle the case that per char metric is not | |
5935 available. If it->multibyte_p is zero and it->c is a multibyte | |
5936 character, convert it to a unibyte character. | |
5937 (struct glyph_string): Delete member `charset'. | |
5938 (x_set_mouse_face_gc): Call FACE_FOR_CHAR to get face_id. Handle | |
5939 the case that per char metric is not available correctly. | |
5940 (x_fill_glyph_string): Handle the case that the specific glyph is | |
5941 not available correctly. | |
5942 (BUILD_CHAR_GLYPH_STRINGS): Don't set s->charset. | |
5943 (BUILD_COMPOSITE_GLYPH_STRING): Likewise. | |
5944 (x_new_font): Call FS_LOAD_FONT, not fs_load_font. | |
5945 (x_new_fontset): Call fontset_ascii to get ASCII font name of the | |
5946 fontset. Don't call FS_LOAD_FONT. | |
5947 | |
5948 * xfns.c (Fx_create_frame): Don't cal fs_register_fontset. | |
5949 (x_create_tip_frame): Likewise. | |
5950 (Fx_close_connection): Free full_name of font_info. | |
5951 | |
5952 * fns.c (optimize_sub_char_table): New function. | |
5953 (Foptimize_char_table): New function. | |
5954 (syms_of_fns): Defsubr Soptimize_char_table. | |
5955 | |
28209 | 5956 2000-03-20 Gerd Moellmann <gerd@gnu.org> |
5957 | |
5958 * buffer.c (Fset_buffer_modified_p): Set update_mode_lines | |
5959 only if buffer is displayed in some window. | |
5960 | |
5961 * xdisp.c (handle_single_display_prop): Initialize local `value'. | |
5962 (try_window_reusing_current_matrix): Don't call scroll run | |
5963 function if run's current and desired position are the same; | |
5964 this prevents cursor flickering. | |
5965 | |
28204
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5966 2000-03-19 Stefan Monnier <monnier@cs.yale.edu> |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5967 |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5968 * 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
|
5969 |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5970 * regex.c (RE_STRING_CHAR): New macro. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5971 (GET_CHAR_AFER_2): Remove. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5972 (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
|
5973 (enum re_opcode_t): Remove on_failure_jump_exclusive. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5974 (print_partial_compiled_pattern, re_compile_fastmap) |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5975 (re_match_2_internal): Remove on_failure_jump_exclusive. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5976 (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
|
5977 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
|
5978 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
|
5979 optimization. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5980 (re_search_2): Don't bother with `room'. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5981 (skip_one_char): New function. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5982 (skip_noops): Simplify since `memory' is not needed any more. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5983 (mutually_exclusive_p): Restructure slightly to use `switch' and |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5984 add handling for "all" remaining cases. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5985 (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
|
5986 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
|
5987 rather than on_failure_jump_exclusive. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5988 |
28201 | 5989 2000-03-19 Gerd Moellmann <gerd@gnu.org> |
5990 | |
5991 * xfns.c (select_visual): Don't set dpyinfo->n_planes to the | |
5992 number of bits per RGB because it's everywhere used as the depth | |
5993 of the visual. | |
5994 | |
5995 * term.c (calculate_costs): Remove code dealing with X frames. | |
5996 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
5997 2000-03-19 Richard M. Stallman <rms@gnu.org> |
28197
aaa6448240eb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28194
diff
changeset
|
5998 |
aaa6448240eb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28194
diff
changeset
|
5999 * 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
|
6000 |
28194 | 6001 2000-03-18 Gerd Moellmann <gerd@gnu.org> |
6002 | |
6003 * lread.c (read_integer): Unread the last char not consumed. | |
6004 | |
28184 | 6005 2000-03-17 Gerd Moellmann <gerd@gnu.org> |
6006 | |
6007 * xterm.c (x_update_window_cursor): Don't update in frames | |
28194 | 6008 which are in the process of being deleted. |
28184 | 6009 |
28166 | 6010 2000-03-16 Gerd Moellmann <gerd@gnu.org> |
6011 | |
28176 | 6012 * Makefile.in (mostlyclean): Add `*.core'. |
6013 (clean): Add `bootstrap-emacs'. | |
6014 | |
28166 | 6015 * lread.c (read_integer): New function. |
6016 (read1): Support read syntax #o, #x, #b, #r. | |
6017 | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
6018 2000-03-15 Stefan Monnier <monnier@cs.yale.edu> |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
6019 |
28166 | 6020 * regex.c (re_match_2): Fix string shortening (to fit `stop') to |
6021 make sure POINTER_TO_OFFSET gives the same value before and after | |
6022 PREFETCH. Use `dfail' to guarantee "atomic" matching. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
6023 (PTR_TO_OFFSET): Use POINTER_TO_OFFSET. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
6024 (debug): Now only active if > 0 rather than if != 0. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
6025 (DEBUG_*): Update for the new meaning of `debug'. |
28166 | 6026 (print_partial_compiled_pattern): Add missing `succeed' case. Use |
6027 CHARSET_* macros in the charset(_not) branch. Fix off-by-two bugs | |
6028 in `succeed_n', `jump_n' and `set_number_at'. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
6029 (store_op1, store_op2, insert_op1, insert_op2) |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
6030 (at_begline_loc_p, at_endline_loc_p): Add prototype. |
28166 | 6031 (group_in_compile_stack): Move to after its arg's types are |
6032 declared and add a prototype. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
6033 (PATFETCH): Define in terms of PATFETCH_RAW. |
28166 | 6034 (GET_UNSIGNED_NUMBER): Add the usual `do { ... } while(0)' |
6035 wrapper. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
6036 (QUIT): Redefine as a nop except for NTemacs. |
28166 | 6037 (regex_compile): Handle intervals {,M} as if it was {0,M}. Fix |
6038 indentation of the greedy-op and shy-group code. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
6039 (at_(beg|end)line_loc_p): Fix argument's types. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
6040 (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
|
6041 (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
|
6042 (MATCHING_IN_FIRST_STRING): Remove. |
28166 | 6043 (re_match_2): Use POS_AS_IN_BUFFER. Ifdef out failure_stack_ptr |
6044 to shut up gcc. Use FIRST_STRING_P and POINTER_TO_OFFSET. Use | |
6045 QUIT unconditionally. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
6046 |
28159 | 6047 2000-03-15 Gerd Moellmann <gerd@gnu.org> |
6048 | |
6049 * minibuf.c (Fminibuffer_complete): Set point to ZV if finding | |
6050 a sole completion. | |
6051 | |
6052 * process.c (send_process): Add a hint that the function | |
6053 can call Lisp code to its comment. | |
6054 | |
6055 * lread.c (load_dangerous_libraries): New variable. | |
6056 (Vbytecomp_version_regexp): New variable. | |
6057 (safe_to_load_p): New function. | |
6058 (Fload): Handle files not compiled with Emacs specially. | |
6059 (syms_of_lread): New Lisp variable load-dangerous-libraries. | |
6060 | |
28139 | 6061 2000-03-14 Gerd Moellmann <gerd@gnu.org> |
6062 | |
28147 | 6063 * lisp.h (free_frame_xic) [HAVE_X_I18N]: Add missing semicolon. |
6064 | |
6065 * xterm.c (xim_close_dpy, xim_initialize): Use X11R6-style XIM | |
6066 support functions only if HAVE_X11R6_XIM is defined. | |
6067 (xim_instantiate_callback): Define only if HAVE_X11R6_XIM. | |
6068 | |
6069 * s/sol2.h (INHIBIT_X11R6_XIM): Define. | |
6070 | |
6071 * xfns.c (X_I18N_INHIBITED): Don't define. | |
6072 (create_frame_xic): Remove conditional compilation on | |
6073 X_I18N_INHIBITED. | |
6074 (x_kill_gs_process, x_window): Use FRAME_X_VISUAL. | |
6075 | |
6076 * config.in (HAVE_X_I18N): Moved here from xterm.h. | |
6077 (HAVE_X11R6_XIM): Define. | |
6078 | |
6079 * xterm.h (HAVE_X_I18N) [HAVE_X11R6]: Moved to config.in. | |
6080 | |
28139 | 6081 * xterm.c (x_term_init): Add support for X resource `synchronous'. |
6082 If set, call XSynchronize. | |
6083 | |
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
|
6084 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
|
6085 |
28139 | 6086 * regex.c: Declare a new type `re_char' used throughout the code |
6087 for the string char type. It's `const unsigned char' to match the | |
6088 rest of Emacs. Consistently make sure all pointers to strings use | |
6089 it and make sure all pointers into the pattern use `unsigned | |
6090 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
|
6091 (re_match_2_internal): Use `PREFETCH+STRING_CHAR' instead of |
28139 | 6092 GET_CHAR_AFTER_2. Also merge wordbound and notwordbound to reduce |
6093 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
|
6094 |
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
|
6095 * 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
|
6096 (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
|
6097 |
28133
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
6098 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
|
6099 |
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
6100 * 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
|
6101 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
|
6102 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
|
6103 |
28122 | 6104 2000-03-12 Dave Love <fx@gnu.org> |
6105 | |
6106 * unexelf.c: Restore changes of 1999-10-19. | |
6107 (unexec): Don't adjust bss for sbss type SHT_PROGBITS; otherwise | |
6108 fix its type and alignment; copy it from current process. | |
6109 | |
28098 | 6110 2000-03-12 Gerd Moellmann <gerd@gnu.org> |
6111 | |
28120 | 6112 * atimer.c (cancel_atimer): Break out of the loop as soon as timer |
6113 has been found. Fix bug not computing timer's predecessor. | |
6114 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6115 * fileio.c (Fread_file_name): Handle case that DIR contains a |
28118 | 6116 file name. |
6117 | |
28109 | 6118 * window.c (Fsave_window_excursion): Doc fix. |
6119 | |
28098 | 6120 * xfns.c (x_defined_color): Rewritten to use |
6121 x_allocate_nearest_color. | |
6122 | |
28095 | 6123 2000-03-12 Eli Zaretskii <eliz@is.elta.co.il> |
6124 | |
6125 * msdos.c (vga_installed): New function, code moved from | |
6126 dos_set_window_size. | |
6127 (Qbar, Qcursor_type, outside_cursor): New variables. | |
6128 (syms_of_msdos): Intern and staticpro them. | |
6129 (dos_ttraw) [__DJGPP__ >= 2, !HAVE_X_WINDOWS]: Save the cursor | |
6130 shape used outside Emacs when called for the first time. | |
6131 (dos_ttcooked) [__DJGPP__ >= 2, !HAVE_X_WINDOWS]: Restore the | |
6132 cursor shape used outside Emacs. | |
6133 (msdos_set_cursor_shape, IT_set_cursor_type): New functions. | |
6134 (IT_frame_up_to_date): Call IT_set_cursor_type, in case the cursor | |
6135 type has changed. | |
6136 (IT_set_frame_parameters): Call IT_set_cursor_type if the frame | |
6137 parameters specify the cursor. Make qreverse a global | |
6138 variable (renamed to Qreverse). | |
6139 | |
28073 | 6140 2000-03-09 Gerd Moellmann <gerd@gnu.org> |
6141 | |
6142 * fns.c (Fy_or_n_p): Cancel busy-cursor. | |
6143 | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6144 2000-03-08 Stefan Monnier <monnier@cs.yale.edu> |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6145 |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6146 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
|
6147 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
|
6148 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
|
6149 shy and the code is a little simpler. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6150 |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6151 * regex.h: Update the copyright. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6152 (RE_SHY_GROUPS): New value. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6153 (RE_UNMATCHED_RIGHT_PAREN_ORD): Renumber. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6154 (RE_SYNTAX_EMACS): Add RE_SHY_GROUPS. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6155 |
28073 | 6156 * regex.c (enum re_opcode_t): Remove jump_past_alt, |
6157 maybe_pop_jump, push_dummy_failure and dumy_failure_jump. Add | |
6158 on_failure_jump_(exclusive, loop and smart). Also fix the comment | |
6159 for (start|stop)_memory since they now only take one argument (the | |
6160 second has becomes unnecessary). | |
6161 (print_partial_compiled_pattern): Adjust for changes in | |
6162 re_opcode_t. | |
6163 (print_compiled_pattern): Use %ld to printf long ints and flush to | |
6164 make debugging a little easier. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6165 (union fail_stack_elt): Make the integer unsigned. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6166 (struct fail_stack_type): Add a `frame' element. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6167 (INIT_FAIL_STACK): Init `frame' as well. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6168 (POP_PATTERN_OP): New macro for re_compile_fastmap. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6169 (DEBUG_PUSH, DEBUG_POP): Remove. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6170 (NUM_REG_ITEMS): Remove. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6171 (NUM_NONREG_ITEMS): Adjust. |
28073 | 6172 (FAILURE_PAT, FAILURE_STR, NEXT_FAILURE_HANDLE) |
6173 (TOP_FAILURE_HANDLE): New macros for the cycle detection. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6174 (ENSURE_FAIL_STACK): New macro for PUSH_FAILURE_(REG|POINT). |
28073 | 6175 (PUSH_FAILURE_REG, POP_FAILURE_REG, CHECK_INFINITE_LOOP): New |
6176 macros. | |
6177 (PUSH_FAILURE_POINT): Don't push registers any more. The pattern | |
6178 address pushed is not the destination of the jump but the source | |
6179 of it instead. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6180 (NUM_FAILURE_ITEMS): Remove. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6181 (POP_FAILURE_POINT): Adapt to the new stack structure (i.e. pop |
28073 | 6182 registers before the actual failure point). Don't hardcode any |
6183 meaning for str==NULL anymore. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6184 (union register_info_type, REG_MATCH_NULL_STRING_P, IS_ACTIVE) |
28073 | 6185 (MATCHED_SOMETHING, EVER_MATCHED_SOMETHING, SET_REGS_MATCHED): |
6186 Remove. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6187 (REG_UNSET_VALUE): Use NULL (why not?). |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6188 (compile_range): Remove declaration since it doesn't exist. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6189 (struct compile_stack_elt_t): Remove inner_group_offset. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6190 (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
|
6191 (regex_grow_registers): Remove dead code. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6192 (FIXUP_ALT_JUMP): New macro. |
28073 | 6193 (regex_compile): Add shy-groups Change loops to use |
6194 on_failure_jump_smart&jump instead of | |
6195 on_failure_jump&maybe_pop_jump. Change + loops to eliminate the | |
6196 initial (dummy_failure_)jump. Remove c1_base (looks like unused | |
6197 variable to me). Use `jump' instead of `jump_past_alt' and don't | |
6198 bother with push_dummy_failure in alternatives since it is now | |
6199 unnecessary. Use FIXUP_ALT_JUMP. Eliminate a useless `#ifdef | |
6200 emacs' for (re)allocating the stack. | |
6201 (re_compile_fastmap): Remove dead variables i and num_regs. Exit | |
6202 from loop when bufp->can_be_null rather than jumping to `done'. | |
6203 Avoid jumping backwards so as to ensure termination. Use | |
6204 PATTERN_STACK_EMPTY and POP_PATTERN_OP. Improved handling of | |
6205 backreferences. Remove dead code in handling of `anychar'. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6206 (skip_noops, mutually_exclusive_p): New functions taken from the |
28073 | 6207 handling of `maybe_pop_jump' in re_match_2_internal. Slightly |
6208 improve mutually_exclusive_p to handle ".+\n". | |
6209 (lowest_active_reg, highest_active_reg, | |
6210 NO_(LOWEST|HIGHEST)_ACTIVE_REG) Remove. | |
6211 (re_match_2_internal): Use %p instead of 0x%x when printf'ing | |
6212 ptrs. Don't SET_REGS_MATCHED anymore. Remove many dead | |
6213 variables. Push register (in `start_memory') on the stack rather | |
6214 than storing it in old_reg(start|end). Remove the cycle detection | |
6215 from `stop_memory', replaced by the use of on_failure_jump_loop | |
6216 for greedy loops. Add code for the new on_failure_jump_<foo>. | |
6217 Remove ad-hoc code in `on_failure_jump' to push more registers in | |
6218 the case of a loop. Take out code from `maybe_pop_jump' into | |
6219 separate functions and adapt it to the semantics of | |
6220 `on_failure_jump_smart'. Remove jump_past_alt, dummy_failure_jump | |
6221 and push_dummy_failure. Remove dummy_failure handling and | |
6222 handling of `failures to jump to on_failure_jump' (this last one | |
6223 was already dead code, it seems). | |
6224 (group_match_null_string_p, alt_match_null_string_p) | |
6225 (common_op_match_null_string_p): Remove. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
6226 |
28059 | 6227 2000-03-08 Dave Love <fx@gnu.org> |
6228 | |
28060 | 6229 * config.in: Don't depend on __STDC__ for volatile. |
6230 Add POINTER_TYPE, PTR, PROTOTYPES. | |
6231 | |
28059 | 6232 * hftctl.c, strftime.c: Use PROTOTYPES. |
6233 * eval.c (find_handler_clause): Likewise. | |
6234 | |
6235 * mem-limits.h: Use POINTER_TYPE. | |
6236 | |
6237 * lisp.h (P_): Define based on PROTOTYPES, not __STDC__. | |
6238 (memory_warnings): Declare using POINTER_TYPE. | |
6239 | |
28046 | 6240 2000-03-08 Gerd Moellmann <gerd@gnu.org> |
6241 | |
28051 | 6242 * xfns.c (x_set_cursor_type): If ARG is nil, give frame no cursor. |
6243 | |
28048 | 6244 * xdisp.c (display_echo_area): Temporarily inhibit garbage |
6245 collection. | |
6246 | |
28046 | 6247 * xfns.c: Remove obsolete code in #if 0. |
6248 (Fx_focus_frame): New function. | |
6249 | |
28137 | 6250 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp> |
6251 | |
6252 * coding.c (coding_category_name): Add coding-category-utf-8, | |
6253 coding-category-utf-16-be, coding-category-utf-16-le. | |
6254 (UTF_8_1_OCTET_P, UTF_8_EXTRA_OCTET_P, UTF_8_2_OCTET_LEADING_P, | |
6255 UTF_8_3_OCTET_LEADING_P, UTF_8_4_OCTET_LEADING_P, | |
6256 UTF_8_5_OCTET_LEADING_P, UTF_8_6_OCTET_LEADING_P): New macros. | |
6257 (detect_coding_utf_8): New function. | |
6258 (UTF_16_INVALID_P, UTF_16_HIGH_SURROGATE_P | |
6259 UTF_16_LOW_SURROGATE_P): New macros. | |
6260 (detect_coding_utf_16): New function | |
6261 (detect_coding_mask): When priorities are specified, skip any | |
6262 categories that have `nil' coding-system. Fix bug of returning | |
6263 wrong mask when PRIORITIES is specified and detect_coding_XXX() | |
6264 returns a mask not set in PRIORITIES. | |
6265 (detect_eol_type_in_2_octet_form): New function. | |
6266 (detect_eol): selects detect_eol_type_XXX to call according to | |
6267 cooding->category_idx. | |
6268 (detect_coding_system): Remove `nil' coding-system in the result. | |
6269 (Fupdate_coding_systems_internal): Update all coding-categories. | |
6270 | |
6271 * coding.h (CODING_CATEGORY_IDX_UTF_8, | |
6272 CODING_CATEGORY_IDX_UTF_16_BE, CODING_CATEGORY_IDX_UTF_16_LE): New | |
6273 macros. | |
6274 (CODING_CATEGORY_IDX_RAW_TEXT, CODING_CATEGORY_IDX_BINARY, | |
6275 CODING_CATEGORY_IDX_MAX): Adjusted for the above macros. | |
6276 CODING_CATEGORY_IDX_UTF_16_LE. | |
6277 (CODING_CATEGORY_MASK_UTF_8, CODING_CATEGORY_MASK_UTF_16_BE, | |
6278 CODING_CATEGORY_MASK_UTF_16_LE): New macros. | |
6279 (CODING_CATEGORY_MASK_ANY): Include the above macros. | |
6280 (CODING_CATEGORY_MASK_UTF_16_BE_LE): New macro. | |
6281 | |
28026 | 6282 2000-03-07 Gerd Moellmann <gerd@gnu.org> |
6283 | |
28037 | 6284 * doc.c (Fdocumentation_property): If value is not a string, |
6285 and doesn't refer to etc/DOC, evaluate it to obtain a string. | |
6286 | |
28035 | 6287 * xterm.c (x_connection_closed) [USE_X_TOOLKIT]: Don't try to |
6288 close the display with XtCloseDisplay. This caused a bus error | |
6289 on OpenWindows. | |
6290 | |
28027 | 6291 * minibuf.c (Fminibuffer_complete): Move point to ZV when input is |
6292 complete but not unique. | |
28026 | 6293 |
28011 | 6294 2000-03-06 Gerd Moellmann <gerd@gnu.org> |
6295 | |
28014 | 6296 * process.c (send_process): Remove local variable `procname' that |
6297 might become invalid when a GC happens. Instead, access the | |
6298 process name slot directly. | |
6299 | |
28011 | 6300 * xfns.c (x_set_menu_bar_lines_1): Adjust window's orig_top and |
6301 orig_height if set. | |
6302 | |
6303 * frame.c (set_menu_bar_lines_1): Adjust window's orig_top and | |
6304 orig_height if set. | |
6305 | |
28009 | 6306 2000-03-06 Eli Zaretskii <eliz@is.elta.co.il> |
6307 | |
6308 * msdos.c (IT_note_mouse_highlight): Return immediately if frame's | |
6309 glyph matrices have been freed. | |
6310 | |
27995 | 6311 2000-03-05 Gerd Moellmann <gerd@gnu.org> |
6312 | |
28005 | 6313 * Makefile.in (tags): Include ../lwlib/TAGS in TAGS. |
28007 | 6314 (bootstrap-temacs): Set LC_ALL to C like for temacs. |
28005 | 6315 |
6316 * xfns.c (QCdata): Moved to xdisp.c. | |
6317 | |
6318 * xdisp.c (QCdata): Moved here from xfns.c. | |
6319 (syms_of_xdisp): Initialize QCdata. | |
6320 | |
6321 * frame.h (FRAME_INTERNAL_BORDER_WIDTH) [!HAVE_X_WINDOWS]: Define. | |
6322 | |
6323 * window.c (coordinates_in_window): Use | |
6324 FRAME_INTERNAL_BORDER_WIDTH_SAFE instead of | |
6325 FRAME_INTERNAL_BORDER_WIDTH. | |
6326 | |
27995 | 6327 * xdisp.c (try_window_id): Recompute unchanged information if |
28011 | 6328 it is obviously invalid. |
27995 | 6329 |
6330 * xterm.c (x_term_init): Create a colormap if not using the | |
6331 default visual. | |
6332 | |
6333 * xterm.h (select_visual): Change prototype. | |
6334 | |
6335 * xfns.c (select_visual): Rewritten. Recognize user-specified | |
6336 visual classes. | |
6337 (visual_classes): New variable. | |
6338 | |
27989 | 6339 2000-03-04 Gerd Moellmann <gerd@gnu.org> |
6340 | |
6341 * xfns.c (x_defined_color, x_set_mouse_color, lookup_rgb_color) | |
6342 (lookup_pixel_color, x_laplace, x_build_heuristic_mask) | |
6343 (png_load): Access colormap of frame using FRAME_X_COLORMAP. | |
6344 (x_decode_color): Don't handle allocation of white and black | |
6345 specially. | |
6346 (x_window) [USE_X_TOOLKIT]: Set XtNvisual, XtNdepth, and | |
6347 XtNcolormap resources. | |
6348 (x_window) [!USE_X_TOOLKIT]: Pass colormap to XCreateWindow. | |
6349 (Fx_create_frame): Initialize color members of x_output structure. | |
6350 (xpm_load): Pass colormap to XPM lib. | |
6351 | |
6352 * xfaces.c (x_free_colors): Access colormap of frame using | |
6353 FRAME_X_COLORMAP. Be paranoid about freeing black and white | |
6354 when default colormap is used. | |
6355 | |
6356 * xterm.c (x_term_init): Set Colormap member of x_display_info | |
6357 structure. Copy colormap if resource `privateColormap' is | |
6358 specified (PseudoColor only). | |
6359 (x_setup_relief_color): Access colormap of frame using | |
6360 FRAME_X_COLORMAP. | |
6361 | |
6362 * xterm.h (struct x_display_info): Add Colormap member `cmap'. | |
6363 (FRAME_X_COLORMAP, FRAME_X_VISUAL): New macros. | |
6364 | |
27983 | 6365 2000-03-04 Jason Rumney <jasonr@gnu.org> |
6366 | |
6367 * xfaces.c Change many FRAME_X... macros to FRAME_WINDOW... or | |
6368 other non-platform-specific equivalents. | |
27989 | 6369 [WINDOWSNT]: Include w32term.h, fontset.h and define X |
27983 | 6370 specific functions and macros as their w32 equivalents where |
6371 non-platform-specifics are not available. | |
6372 [HAVE_X_WINDOWS]: Change most of these to HAVE_WINDOW_SYSTEM. | |
6373 (x_create_gc, x_free_gc) [WINDOWSNT]: Add W32 versions. | |
6374 (clear_font_table) [WINDOWSNT]: Call w32_unload_font. | |
6375 (frame_update_line_height): Use macros to access f->output_data. | |
6376 (defined_color): Remove FIXME comments; fixed. | |
6377 (x_face_list_fonts, prepare_face_for_display): Put X specifics | |
6378 into #ifdef blocks. Add WINDOWSNT blocks. | |
6379 (Fx_list_fonts): Use macros for accessing font data. | |
6380 (set_lface_from_font_name): Different default fonts for X and | |
6381 WINDOWSNT. | |
6382 (font_scalable_p) [WINDOWSNT]: Treat wildcard XLFD_AVGWIDTH as | |
6383 scalable for backward compatibility. | |
27989 | 6384 (realize_tty_face) [MSDOS]: Do the same for WINDOWSNT. |
27983 | 6385 (syms_of_xfaces) [WINDOWSNT]: Allow scalable fonts by default. |
6386 | |
27989 | 6387 * emacs.c (main) [HAVE_NTGUI]: Call syms_of_xfaces instead of |
27983 | 6388 syms_of_w32faces. |
6389 | |
6390 * makefile.nt (w32faces.obj): Remove. | |
6391 (xfaces.obj): Add. | |
6392 | |
27978 | 6393 2000-03-03 Jason Rumney <jasonr@gnu.org> |
6394 | |
6395 * keyboard.c (make_lispy_event): Call buffer_posn_from_coords with | |
6396 correct parameters. | |
6397 | |
27977
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
6398 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
|
6399 |
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
6400 * 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
|
6401 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
|
6402 |
27976 | 6403 2000-03-03 Gerd Moellmann <gerd@gnu.org> |
6404 | |
6405 * xterm.c (PER_CHAR_METRIC): Removed. | |
6406 (x_per_char_metric_1, x_default_char): New functions. | |
6407 (x_per_char_metric): If font's default char is invalid, return | |
6408 metrics of a suitably chosen usable default char. | |
6409 (x_draw_glyph_string_foreground): If font has an invalid default | |
27989 | 6410 char, replace occurrences of unprintable chars with a suitably |
6411 chosen usable default char. | |
27976 | 6412 |
27965 | 6413 2000-03-02 Gerd Moellmann <gerd@gnu.org> |
6414 | |
27969 | 6415 * xterm.c (note_mouse_highlight): Return quickly if frame's |
6416 glyph matrices have been freed. | |
6417 | |
6418 * dispnew.c (free_glyphs): Block input while freeing matrices. | |
6419 | |
27965 | 6420 * xfns.c (x_clear_image, x_kill_gs_process): Use x_free_colors. |
6421 | |
6422 * xterm.c (x_alloc_lighter_color, x_setup_relief_color): Use | |
6423 x_free_colors. | |
6424 | |
6425 * dispextern.h (x_free_colors): Add prototype. | |
6426 | |
6427 * xfaces.c (x_free_colors): New function. | |
6428 (unload_color, free_face_colors): Use it. | |
6429 | |
27958 | 6430 2000-03-02 Eli Zaretskii <eliz@is.elta.co.il> |
6431 | |
6432 * msdos.h (FRAME_INTERNAL_BORDER_WIDTH): Define to zero. | |
6433 | |
6434 * window.c [MSDOS]: Include msdos.h. | |
6435 | |
27954 | 6436 2000-03-02 Dave Love <fx@gnu.org> |
6437 | |
6438 * m/powerpcle.h, m/sparc.h: Don't set C_OPTIMIZE_SWITCH. | |
6439 | |
6440 * m/mips-siemens.h, m/news-r6.h, m/news-risc.h, m/tekxd88.h: Don't | |
6441 set C_OPTIMIZE_SWITCH for gcc. | |
6442 | |
27942 | 6443 2000-03-02 Kenichi Handa <handa@etl.go.jp> |
6444 | |
6445 * coding.c (coding_save_composition): Be sure to allocate | |
6446 composition data area in coding even if there's no composition in | |
6447 the current run. | |
6448 | |
27938 | 6449 2000-03-01 Jason Rumney <jasonr@gnu.org> |
6450 | |
6451 * w32term.c: Equivalent changes to those made to xterm.c on | |
6452 2000-02-25 and 2000-02-24. | |
6453 | |
6454 * w32fns.c: Equivalent changes to those made to xfns.c on | |
6455 2000-02-25 and 2000-02-21. | |
6456 | |
6457 * sysdep.c: [WINDOWSNT]: Use sys_read and sys_write to ensure | |
6458 correct line-end convention is followed. | |
6459 | |
6460 * w32menu.c [HAVE_BOXES]: Remove #undef. | |
6461 (single_keymap_panes): Remove code for simulating checkmarks. | |
6462 (single_menu_item): Remove notbuttons_ptr argument. Callers changed. | |
6463 Remove code for drawing simulated checkmarks. | |
6464 (w32_menu_show): make unibyte help string correctly. | |
6465 (add_menu_item): draw standard Windows checkmarks. Draw radio | |
6466 buttons as radio buttons if possible. | |
6467 | |
27919 | 6468 2000-03-01 Gerd Moellmann <gerd@gnu.org> |
6469 | |
27927 | 6470 * sysdep.c (start_of_text): Don't define this function for NetBSD |
6471 with ELF. | |
6472 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6473 * m/pmax.h (START_FILES, CANNOT_DUMP) [__NetBSD__ || __OpenBSD__]: |
27927 | 6474 Don't define. |
6475 (UNEXEC) [__NetBSD__ || __OpenBSD__]: Define to unexelf.o. | |
6476 (LINKER): Don't undef if __NetBSD__ is defined. | |
6477 | |
6478 * m/mips.h (LINKER) [__NetBSD__ || __OpenBSD__]: Don't define. | |
6479 | |
6480 * fileio.c [__NetBSD__]: Define `unix'. | |
6481 | |
27919 | 6482 * xfns.c (start_busy_cursor): Allow floats for busy-cursor-delay. |
6483 | |
27910 | 6484 2000-02-29 Gerd Moellmann <gerd@gnu.org> |
6485 | |
27914 | 6486 * atimer.c (start_atimer): Don't abort when timers are stopped. |
6487 (append_atimer_lists): New function. | |
6488 (cancel_atimer, stop_other_atimers, run_all_atimers): Handle | |
6489 arbitrary lists of stopped and running atimers. | |
6490 | |
27910 | 6491 * atimer.c (cancel_atimer): Handle canceling an atimer when |
6492 some timers are stopped. | |
6493 | |
6494 * xfns.c (cancel_busy_cursor): Set busy_cursor_atimer to null | |
6495 after canceling it. | |
6496 | |
6497 * fns.c (maybe_resize_hash_table): Handle case of new size | |
6498 coming out as being the same as old size. | |
6499 | |
27898 | 6500 2000-02-27 Jason Rumney <jasonr@gnu.org> |
6501 | |
6502 * makefile.nt: Add atimer.h to dependencies. | |
6503 * w32.c (init_environment): Set Vw32_num_mouse_buttons here. | |
6504 * w32console.c: Only disable window system features for dispextern.h | |
6505 (initialize_w32_display): Build a display info for the console. | |
6506 * w32faces.c (tty_defined_color): Apply xfaces.c change from 02-17. | |
6507 * w32fns.c (w32_wnd_proc) [WM_LBUTTON_DOWN, WM_RBUTTON_DOWN, | |
6508 WM_LBUTTON_UP, WM_RBUTTON_UP]: Do not treat 4 or more button mice | |
6509 as 2 button mice. | |
6510 * w32gui.h (struct W32FontStruct): Revert last change after change | |
6511 to xdisp.c. | |
6512 * w32menu.c (single_submenu): Set up help string. | |
6513 [!HAVE_MULTILINGUAL_MENU]: Don't overwrite item_name with descrip. | |
6514 (w32_dialog_show): Set up help string. | |
6515 * w32term.c (w32_display_info_for_display): Remove unused function. | |
6516 (w32_draw_bitmap): Use pre-built bitmaps. | |
6517 (w32_initialize_display_info): New function to initialize parts of | |
6518 display info that are common to both GUI and console frames. | |
6519 (w32_term_init): Use w32_initialize_display_info. Do not set | |
6520 Vw32_num_mouse_buttons here, as it is not called for console | |
6521 frames. Build bitmaps for indicating truncated lines etc. | |
6522 (x_delete_display): Destroy pre-built bitmaps. | |
6523 * xdisp.c (handle_single_display_prop): Use FONT_HEIGHT macro. | |
6524 (echo_area_display): Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM. | |
6525 | |
27886 | 6526 2000-02-27 Dave Love <fx@gnu.org> |
6527 | |
6528 * lisp.h: Add a bunch of prototypes. | |
6529 | |
27878 | 6530 2000-02-26 Kenichi Handa <handa@etl.go.jp> |
6531 | |
27879 | 6532 * keyboard.c (read_char): Set `usec' correctly. |
27878 | 6533 |
27876 | 6534 2000-02-25 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp> |
6535 | |
6536 * ccl.c (ccl_driver) [CCL_MapMultiple]: When the mapped value is | |
6537 `lambda', set reg[RRR] to the map index. | |
6538 (ccl_driver) [CCL_MapSingle]: When the mapped value is found, set | |
6539 reg[RRR] to 0. Otherwise, set it to -1. | |
6540 | |
27875 | 6541 2000-02-25 Gerd Moellmann <gerd@gnu.org> |
6542 | |
27927 | 6543 * emacs.c (main): Remove code snippet commented out with `//'. |
27875 | 6544 |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
6545 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
|
6546 |
27873 | 6547 * fileio.c (Ffile_symlink_p): If result starts with a `/' |
6548 and contains a `:', prepend `/:'. | |
6549 | |
6550 * window.c (select_window_1): If selected_window is nil, | |
6551 don't "swap out" the buffer's point. | |
6552 (Fset_window_configuration): Set selected_window to nil | |
6553 before calling Fselect_window. | |
6554 (unshow_buffer): Don't set point in buffer from window's point | |
6555 if another more recently selected window also shows the buffer. | |
6556 | |
27849 | 6557 2000-02-25 Gerd Moellmann <gerd@gnu.org> |
6558 | |
27868 | 6559 * keyboard.c (recursive_edit_1): Cancel busy-cursor. |
6560 | |
27866 | 6561 * xfns.c (inhibit_busy_cursor, busy_count): Removed. |
6562 (Fx_show_busy_cursor, Fx_hide_busy_cursor): Removed. | |
6563 (busy_cursor_atimer, busy_cursor_shown_p, Vbusy_cursor_delay): New | |
6564 variables. | |
6565 (DEFAULT_BUSY_CURSOR_DELAY): New define. | |
6566 (start_busy_cursor, cancel_busy_cursor, show_busy_cursor) | |
6567 (hide_busy_cursor): New functions. | |
6568 (syms_of_xfns): DEFVAR_LISP Vbusy_cursor_delay. | |
6569 | |
6570 * minibuf.c (read_minibuf): Cancel busy-cursor. | |
6571 | |
6572 * keyboard.c (command_loop_1): Call start_busy_cursor before | |
6573 Fcommand_execute and cancel_busy_cursor after it. | |
6574 (timer_check): Remove busy-cursor code. | |
6575 (Fread_key_sequence, Fread_key_sequence_vector): Start/cancel busy | |
6576 cursor timer. | |
6577 | |
6578 * process.c (wait_reading_process_input): Remove busy-cursor code. | |
6579 | |
6580 * eval.c (Fsignal): Call cancel_busy_cursor instead of | |
6581 Fx_hide_busy_cursor. | |
6582 | |
6583 * dispextern.h (Fx_show_busy_cursor, Fx_hide_busy_cursor): | |
6584 Remove prototyoes. | |
6585 (start_busy_cursor, cancel_busy_cursor): Add prototypes. | |
6586 | |
6587 * lisp.h (Fx_hide_busy_cursor): Remove prototype. | |
6588 | |
6589 * xterm.c (XTread_socket): Remove busy-cursor code. | |
6590 | |
27856 | 6591 * dispnew.c (flush_stdout) [GLYPH_DEBUG]: New function. |
6592 (build_frame_matrix_from_leaf_window): Put code handling | |
6593 glyph row's not being a slice of a frame row in #if 0. | |
6594 (sync_window_with_frame_matrix_rows): New function. | |
6595 (frame_row_to_window): New function. | |
6596 (mirror_line_dance): Handle copies between windows. | |
6597 | |
27853 | 6598 * lread.c (Fload): Use `xfree' instead of `free'. |
6599 (init_obarray): Use `xmalloc' instead of `malloc'. | |
6600 | |
27849 | 6601 * window.c (Fset_window_buffer): Set WINDOW to the window |
6602 after decoding. | |
27851 | 6603 (coordinates_in_window): Take frame's internal border width |
6604 into account. | |
27849 | 6605 |
27847 | 6606 2000-02-24 Gerd Moellmann <gerd@gnu.org> |
6607 | |
6608 * xterm.c (x_display_and_set_cursor): Display cursor of | |
6609 non-selected windows depending on the setting of | |
6610 cursor_in_non_selected_windows. | |
6611 | |
6612 * xdisp.c (cursor_in_non_selected_windows): New variable. | |
6613 (syms_of_xdisp): DEFVAR_BOOL it. | |
6614 | |
27820 | 6615 2000-02-23 Gerd Moellmann <gerd@gnu.org> |
6616 | |
27827 | 6617 * data.c (Fstring_to_number): If number is greater than what |
6618 fits into an integer, return a float. | |
6619 | |
27820 | 6620 * eval.c (specbind): Remove references to |
6621 keyword_symbols_constant_flag. | |
6622 | |
6623 * data.c (keyword_symbols_constant_flag): Removed. | |
6624 (Fmakunbound, set_internal, syms_of_data): Remove references to | |
6625 keyword_symbols_constant_flag. | |
6626 | |
6627 * bytecode.c (Fbyte_code): Remove keyword_symbols_constant_flag. | |
6628 | |
27813 | 6629 2000-02-23 Kenichi Handa <handa@etl.go.jp> |
6630 | |
6631 * syntax.c (multibyte_syntax_as_symbol): New variable. | |
6632 (syms_of_syntax): Declare it as a Lisp variable. | |
6633 (SYNTAX_WITH_MULTIBYTE_CHECK): New macro. | |
6634 (scan_lists): If both sexpflag and multibyte_syntax_as_symbol are | |
6635 nonzero, treat all multibyte characters as symbol. | |
27847 | 6636 (init_syntax_once): Give syntax `word' to all multibyte |
27813 | 6637 characters. |
6638 | |
27801 | 6639 2000-02-22 Eli Zaretskii <eliz@is.elta.co.il> |
6640 | |
27853 | 6641 * 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
|
6642 a deleted frame. |
27801 | 6643 |
27799 | 6644 2000-02-21 Gerd Moellmann <gerd@gnu.org> |
6645 | |
6646 * frame.c (Fmouse_position): GCPRO retval instead of x and y. | |
6647 | |
6648 * xfns.c (x_window_to_frame, x_any_window_to_frame) | |
6649 (x_non_menubar_window_to_frame): Check the busy-cursor window. | |
6650 | |
27796 | 6651 2000-02-21 Dave Love <fx@gnu.org> |
6652 | |
6653 * frame.c (Vmouse_position_function): New variable. | |
6654 (Fmouse_position): Use it. | |
6655 (syms_of_frame): Install it. | |
6656 | |
6657 * charset.c (find_charset_in_str): Fix use of `c' instead of `c1'. | |
6658 | |
27790 | 6659 2000-02-20 Gerd Moellmann <gerd@gnu.org> |
6660 | |
6661 * fileio.c (Finsert_file_contents): Unbind the binding of | |
6662 standard-output done by temp_output_buffer_setup. | |
27785 | 6663 |
6664 * eval.c (funcall_lambda): Don't bind Qmocklisp_arguments unless | |
6665 Vmocklisp_arguments is nil. Inline Fcar and Fcdr. | |
6666 (specbind, unbind_to): Handle most common case of non-constant | |
6667 symbol with trivial value specially. | |
6668 | |
6669 * bytecode.c (Fbyte_code) <Bvarset>: Inline most common case. | |
6670 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
6671 2000-02-20 Richard M. Stallman <rms@gnu.org> |
27780
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6672 |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6673 * data.c (Fmake_variable_buffer_local): Doc fix. |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6674 Init found_for_buffer to 0. |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6675 (Fmake_variable_frame_local): If the variable has already |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6676 been buffer-local, set the check_frame field. |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6677 |
27776 | 6678 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il> |
6679 | |
6680 * msdos.c (IT_write_glyphs): Allocate a larger screen_buf as data | |
6681 produced for CODING_MODE_LAST_BLOCK requires. | |
6682 | |
27767 | 6683 2000-02-18 Dave Love <fx@gnu.org> |
6684 | |
6685 * keyboard.c (echo_keystrokes): Remove declaration. | |
6686 (Vecho_keystrokes) New variable. | |
6687 (read_char, record_menu_key, read_key_sequence): Use it to allow | |
6688 use of float value. | |
6689 (syms_of_keyboard): Change Vecho_keystrokes declaration. | |
6690 | |
6691 * lread.c: Undef feature selection macros before defining. | |
6692 | |
27759 | 6693 2000-02-18 Gerd Moellmann <gerd@gnu.org> |
6694 | |
6695 * data.c (let_shadows_buffer_binding_p): Ignore specbindings | |
6696 for symbols other than the symbol in question. | |
6697 | |
27751 | 6698 2000-02-17 Dave Love <fx@gnu.org> |
6699 | |
6700 * s/sol2.h (C_DEBUG_SWITCH): Define to allow optimization. | |
6701 | |
27747 | 6702 2000-02-17 Gerd Moellmann <gerd@gnu.org> |
6703 | |
27749 | 6704 * emacs.c (main): Use #if GC_MARK_STACK instead of #ifdef. |
6705 | |
27747 | 6706 * alloc.c (enum mem_type): Compile unconditionally. |
6707 | |
27744 | 6708 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il> |
6709 | |
6710 * xfaces.c (tty_defined_color): Don't return faulire indication | |
6711 for unspecified-fg and unspecified-bg pseudo-colors. | |
6712 | |
27726 | 6713 2000-02-17 Gerd Moellmann <gerd@gnu.org> |
6714 | |
27742 | 6715 * alloc.c (mark_object): Don't mark symbol names in pure space. |
6716 (gc_sweep): Don't unmark symbol names in pure space. | |
6717 | |
6718 * lisp.h (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS) | |
6719 (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES) | |
6720 [GC_MARK_STACK]: New defines. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6721 (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, UNGCPRO) |
27742 | 6722 [GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS]: Define as no-ops. |
6723 | |
6724 * emacs.c (main) [GC_MARK_STACK]: Initialize stack_base. | |
6725 | |
6726 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use | |
6727 allocate_buffer instead of xmalloc. | |
6728 | |
6729 * alloc.c (toplevel): Include setjmp.h. | |
6730 (PURE_POINTER_P): New define. | |
6731 (enum mem_type) [GC_MARK_STACK]: New enumeration. | |
6732 (Vdead) [GC_MARK_STACK]: New variable. | |
6733 (lisp_malloc): Add parameter TYPE, call mem_insert if | |
6734 GC_MARK_STACK is defined. | |
6735 (allocate_buffer): New function. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6736 (lisp_free) [GC_MARK_STACK]: Call mem_delete. |
27742 | 6737 (free_float) [GC_MARK_STACK]: Set type to Vdead. |
6738 (free_cons) [GC_MARK_STACK]: Set car to Vdead. | |
6739 (stack_base, mem_root, mem_z) [GC_MARK_STACK]: New variables. | |
6740 (MEM_NIL) [GC_MARK_STACK]: New define. | |
6741 (struct mem_node) [GC_MARK_STACK]: New structure. | |
6742 (mem_init, mem_find, mem_insert, mem_delete, mem_insert_fixup) | |
6743 (mem_delete_fixup, mem_rotate_left, mem_rotate_right) | |
6744 (live_string_p, live_cons_p, live_symbol_p, live_float_p) | |
6745 (live_misc_p, live_vector_p, live_buffer_p, mark_memory) | |
6746 (mark_stack) [GC_MARK_STACK]: New functions. | |
6747 (Fgarbage_collect) [GC_MARK_STACK]: Call mark_stack. | |
6748 (clear_marks): Removed. | |
6749 (gc_sweep): Set free conses' car, free floats' type, free | |
6750 symbols' function to Vdead. Use lisp_free to free buffers. | |
6751 (init_alloc_once): Initialize Vdead. | |
6752 (survives_gc_p): Return non-zero for pure objects. | |
6753 | |
6754 * alloc.c: Add comments throughout the file. | |
6755 | |
27735 | 6756 * atimer.c (stop_other_atimers): Don't call cancel_atimer because |
6757 that unblocks alarms. | |
6758 | |
27729 | 6759 * alloc.c, bytecode.c, data.c, dispnew.c, ecrt0.c, editfns.c, |
6760 emacs.c, floatfns.c, fns.c, lread.c, print.c, config.in, lisp.h, | |
6761 Makefile.in: Remove `LISP_FLOAT_TYPE' and `standalone'. | |
6762 | |
27726 | 6763 * 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
|
6764 |
27720 | 6765 2000-02-17 Kenichi Handa <handa@etl.go.jp> |
6766 | |
27722 | 6767 * xdisp.c (decode_mode_spec_coding): Delete superfluous code to |
27723 | 6768 avoid infinite error signaling. Allocate sufficient memory for |
27722 | 6769 eol_str in the case that eoltype is Lisp_Int. |
27720 | 6770 |
27719
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
6771 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
|
6772 |
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
6773 * 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
|
6774 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
|
6775 |
27710 | 6776 2000-02-16 Gerd Moellmann <gerd@gnu.org> |
6777 | |
6778 * sysdep.c (vfork) [!HAVE_VFORK]: Removed. | |
6779 | |
27707 | 6780 2000-02-15 Gerd Moellmann <gerd@gnu.org> |
6781 | |
6782 * s/freebsd.h (BROKEN_PTY_READ_AFTER_EAGAIN): Define. | |
6783 | |
6784 * process.c (send_process) [BROKEN_PTY_READ_AFTER_EAGAIN]: | |
27710 | 6785 Workaround for FreeBSD bug. Clear output queue after EAGAIN in |
27707 | 6786 write(2). |
6787 | |
27702
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6788 2000-02-15 Richard M. Stallman <rms@gnu.org> |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6789 |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6790 * data.c (set_internal): Don't make variable buffer-local |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6791 if within a let-binding for the same buffer. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6792 (let_shadows_buffer_binding_p): New function. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6793 |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6794 * eval.c (specbind): For buffer-local value, |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6795 record the current buffer also. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6796 (unbind_to): Cope with that change. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6797 |
27700 | 6798 2000-02-15 Gerd Moellmann <gerd@gnu.org> |
6799 | |
6800 * window.c (Fsave_window_excursion): Doc fix. | |
6801 | |
27698
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6802 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
|
6803 |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6804 * 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
|
6805 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
|
6806 beginning of the comment. |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6807 (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
|
6808 after the comment-end. |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6809 (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
|
6810 |
27697
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
6811 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
|
6812 |
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
6813 * 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
|
6814 `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
|
6815 |
27696 | 6816 2000-02-14 Dave Love <fx@gnu.org> |
6817 | |
6818 * xfaces.c (tty_defined_color): Declare color_idx unsigned long. | |
6819 | |
27692
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6820 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
|
6821 |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6822 * 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
|
6823 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
|
6824 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
|
6825 * 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
|
6826 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
|
6827 |
27689 | 6828 2000-02-12 Dave Love <fx@gnu.org> |
6829 | |
6830 * frame.h (SELECTED_FRAME): Use NULL, not 0 to avoid warnings on | |
6831 Alpha. | |
6832 | |
27687 | 6833 2000-02-12 Gerd Moellmann <gerd@gnu.org> |
6834 | |
6835 * xdisp.c (syms_of_xdisp): Doc fix for scroll-conservatively. | |
6836 | |
27680 | 6837 2000-02-12 Dave Love <fx@gnu.org> |
6838 | |
6839 * s/aix3-2.h, s/osf-1.h: Define C_DEBUG_SWITCH for non-gcc. | |
6840 | |
6841 * s/ux4800.h, s/umips.h, s/umax.h, s/sol2.h, s/sco5.h, s/rtu.h: | |
27687 | 6842 * s/ptx4.h, s/umax.h, s/dgux.h, s/bsd4-2.h, s/bsd4-3.h: |
6843 * s/hpux.h: Don't define HAVE_VFORK. | |
27680 | 6844 |
6845 * s/gnu-linux.h: Don't define HAVE_VFORK or HAVE_SYS_SIGLIST. | |
6846 | |
6847 * s/nextstep.h: Don't define HAVE_ALLOCA. | |
6848 | |
6849 * config.in: Add vfork bits. | |
6850 | |
27672 | 6851 2000-02-12 Gerd Moellmann <gerd@gnu.org> |
6852 | |
6853 * process.c (Fopen_network_stream) [POLL_FOR_INPUT]: Register | |
6854 unwind function to undo the effect of stopping atimers. | |
6855 | |
6856 * keyboard.c (bind_polling_period): Stop all timers except | |
6857 poll_timer. | |
6858 | |
6859 * atimer.c (stopped_atimers): New variable. | |
6860 (stop_other_atimers, run_all_atimers, unwind_stop_other_atimers): | |
6861 New functions. | |
6862 | |
6863 * atimer.h (stop_other_atimers, run_all_atimers) | |
6864 (unwind_stop_other_atimers): Add function prototypes. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6865 |
27672 | 6866 * s/hpux10.h (HAVE_XRMSETDATABASE): Define if not already defined. |
6867 | |
27665
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6868 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
|
6869 |
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6870 * 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
|
6871 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
|
6872 (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
|
6873 |
27663 | 6874 2000-02-11 Kenichi Handa <handa@etl.go.jp> |
6875 | |
6876 * insdel.c (del_range_1): Call update_compositions. | |
6877 (del_range_both): Call update_compositions just once.. | |
6878 | |
27660 | 6879 2000-02-10 Dave Love <fx@gnu.org> |
6880 | |
6881 * xfns.c (create_frame_xic): Fix initialization of automatic | |
6882 aggregates for pcc. | |
6883 | |
27648 | 6884 2000-02-09 Kenichi Handa <handa@etl.go.jp> |
6885 | |
6886 * ccl.c (CCL_MAKE_CHAR): New macro. | |
6887 (ccl_driver) <CCL_TranslateCharacter>: Check the validity of | |
6888 registers by CCL_MAKE_CHAR before calling translate_char. | |
6889 <CCL_TranslateCharacterConstTbl> Likewise. | |
6890 | |
27646 | 6891 2000-02-08 Dave Love <fx@gnu.org> |
6892 | |
6893 * lread.c (__EXTENSIONS__): Define. | |
6894 | |
27644 | 6895 2000-02-08 Gerd Moellmann <gerd@gnu.org> |
6896 | |
6897 * puresize.h (BASE_PURESIZE): Increase to 650000. | |
6898 | |
27641 | 6899 2000-02-07 Eli Zaretskii <eliz@is.elta.co.il> |
6900 | |
6901 * msdos.c (XMenuActivate): Turn off the cursor after displaying | |
6902 the help message. | |
6903 | |
27639 | 6904 2000-02-07 Eli Zaretskii <eliz@is.elta.co.il> |
6905 | |
6906 * s/msdos.h (INTERNAL_TERMINAL): Add capabilities se, so, us, ue, | |
6907 md, mh, mb, mr, and me to the fake termcap entry. | |
6908 | |
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
|
6909 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
|
6910 |
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6911 * 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
|
6912 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
|
6913 |
27634
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6914 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
|
6915 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6916 * 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
|
6917 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
|
6918 (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
|
6919 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6920 * 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
|
6921 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
|
6922 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6923 * 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
|
6924 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6925 * 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
|
6926 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6927 * 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
|
6928 (OBJ1): Include atimer.obj. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6929 ($(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
|
6930 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6931 * 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
|
6932 (sigunblock): Ditto. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6933 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6934 * 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
|
6935 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6936 * 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
|
6937 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6938 * 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
|
6939 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6940 * 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
|
6941 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
|
6942 (main): Ditto. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6943 |
27620 | 6944 2000-02-05 INOUE Seiichiro <inoue@ainet.or.jp> |
6945 | |
6946 * xterm.c (x_display_and_set_cursor) [HAVE_X_I18N]: Set pre-edit | |
6947 area. | |
6948 (x_display_cursor) [HAVE_X_I18N]: Don't set it here. | |
6949 (XTread_socket) [HAVE_X_I18N]: <KeyPress, KeyRelease>: Don't | |
6950 dispatch the event. | |
6951 | |
27614 | 6952 2000-02-04 Dave Love <fx@gnu.org> |
6953 | |
6954 * fileio.c: Remove some unused vars. | |
6955 (_GNU_SOURCE): Define (for euidaccess). | |
6956 | |
6957 * lread.c (_XOPEN_SOURCE): Declare (for ftello). | |
6958 | |
6959 * minibuf.c (read_minibuf_noninteractive): Remove undeclared | |
6960 gcpro1, gcpro2. | |
6961 (read_minibuf): Deal with allow_props correctly. | |
6962 | |
27594 | 6963 2000-02-03 Eli Zaretskii <eliz@is.elta.co.il> |
6964 | |
6965 * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Enlarge to 60000. | |
6966 | |
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
|
6967 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
|
6968 |
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
|
6969 * 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
|
6970 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
|
6971 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
|
6972 |
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
|
6973 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
|
6974 |
459744c91b53
* puresize.h (BASE_PURESIZE): Increase to 610000.
Ken Raeburn <raeburn@raeburn.org>
parents:
27587
diff
changeset
|
6975 * puresize.h (BASE_PURESIZE): Increase to 610000. |
459744c91b53
* puresize.h (BASE_PURESIZE): Increase to 610000.
Ken Raeburn <raeburn@raeburn.org>
parents:
27587
diff
changeset
|
6976 |
27587 | 6977 2000-02-02 Gerd Moellmann <gerd@gnu.org> |
6978 | |
6979 * frame.c (Fframe_parameters): Add GCPRO because tty_color_name | |
6980 can GC. | |
6981 | |
27565 | 6982 2000-02-02 Kenichi Handa <handa@etl.go.jp> |
6983 | |
27567 | 6984 * ccl.c (ccl_driver) <CCL_WriteExprRegister>: Set jump_address |
6985 instead of incrementing ic directly. | |
6986 <CCL_WriteExprConst> Likewise. | |
6987 <ccl_set_expr>: Set ic to jump_address. | |
6988 | |
27565 | 6989 * fileio.c (e_write): Fix the handling of |
6990 CODING_FINISH_INSUFFICIENT_SRC. | |
6991 | |
27561 | 6992 2000-02-01 Dave Love <fx@gnu.org> |
6993 | |
6994 * editfns.c (Fpropertize): Doc fix. | |
6995 | |
6996 * process.c (Fstart_process): Doc fix. | |
6997 | |
6998 * eval.c: Fix various doc strings not to duplicate information | |
6999 from help-manyarg-func-alist. | |
7000 | |
7001 * window.c (Fset_window_margins): Don't make interactive. Doc | |
7002 fix. | |
7003 | |
7004 * doc.c (Vhelp_manyarg_func_alist): New variable. | |
7005 (Fdocumentation): Use it. | |
7006 (syms_of_doc): Define it. | |
7007 | |
27531 | 7008 2000-01-31 Gerd Moellmann <gerd@gnu.org> |
7009 | |
27545 | 7010 * xterm.c (xim_open_dpy): Remove unused local variable. |
7011 | |
27541 | 7012 * emacs.c (USAGE): Use term `display options' instead of `X |
7013 options'. | |
7014 | |
7015 * xdisp.c (Ftrace_to_stderr) [GLYPH_DEBUG]: New function. | |
7016 (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it. | |
7017 | |
27531 | 7018 * fns.c (sweep_weak_table): New function. |
7019 (sweep_weak_hash_tables): Use it. Keep on marking until there | |
7020 is no more change. | |
7021 | |
27527 | 7022 2000-01-30 Gerd Moellmann <gerd@gnu.org> |
7023 | |
7024 * xterm.c (x_delete_display): Update next_noop_dpyinfo to ensure | |
7025 that XTread_socket does not crash by trying to call XNoOp on a | |
7026 closed display. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7027 |
27523 | 7028 2000-01-30 Jason Rumney <jasonr@gnu.org> |
7029 | |
7030 * w32inevt.c (get_frame, w32_console_mouse_position, mouse_moved_to): | |
7031 Change selected_frame to SELECTED_FRAME (). | |
7032 (w32_console_mouse_position): Remove #ifndef MULE from around | |
7033 `insist' parameter. | |
7034 | |
7035 * makefile.nt: Remove dosfns.obj. | |
7036 | |
7037 * term.c (term_init) [WINDOWSNT]: Initialize TN_max_colors. | |
7038 | |
7039 * w32fns.c (w32_defined_color): Check for valid frame before | |
7040 applying gamma correction. Eliminate dependency on frame elsewhere. | |
7041 (w32_load_system_font): Switch FIXED_PITCH and VARIABLE_PITCH. | |
7042 (w32_to_x_font): Use resx and resy not height_in and width_in. | |
7043 (x_to_w32_font): Doc fix. | |
7044 (xlfd_strip_height): New function to strip and return font height. | |
7045 (w32_font_match): Compare height separately from rest of xlfd | |
7046 spec, using xlfd_strip_height. | |
7047 | |
7048 * w32term.c (w32_term_init): Swap resx and height_in, resy and | |
7049 width_in. Use w32_defined_color in place of defined_color. | |
7050 | |
7051 * w32faces.c: Merge more of DOS and X specifics in preparation for | |
7052 merge with xfaces.c. | |
7053 (defined_color): Remove FIXME comment. | |
7054 (tty_color_name): Provide w32-specific function. | |
7055 (realize_tty_face): Handle FACE_TTY_DEFAULT*_COLOR specially. | |
7056 | |
7057 * w32console.c (turn_on_face, turn_off_face): Removed. | |
7058 (w32_face_attributes): New function. | |
7059 (Global_variables): Reduce scope where possible. | |
7060 (clear_frame, ins_del_lines, scroll_line): Use char_attr_normal as | |
7061 fill attribute. | |
7062 (hl_mode): Don't modify text attributes. | |
7063 (write_glyphs): Don't do anything if len <= 0. Use | |
7064 w32_face_attributes to get attributes for drawing. Write | |
7065 terminating codes using char_attr_normal. | |
7066 (reset_terminal_modes, set_terminal_modes): Turn off highlight. | |
7067 (update_begin, update_end): Likewise. | |
7068 (vga_stdcolor_name): New function. | |
7069 (initialize_w32_display): Remove char_attr_reverse and char_attr. | |
7070 (Fset_screen_color): Remove char_attr_reverse. | |
7071 | |
27506 | 7072 2000-01-29 Gerd Moellmann <gerd@gnu.org> |
7073 | |
7074 * xfns.c (xic_set_preeditarea): Take window parameter and | |
7075 window-relative pixel-positions. | |
7076 | |
7077 * xterm.c (x_display_cursor): Set XIC pre-edit area only if window | |
7078 is its frame's selected window. | |
7079 (xim_instantiate_callback): Likewise. | |
7080 | |
7081 * xfns.c (x_create_im): Removed. | |
7082 (DEFAULT_STYLE, DEFAULT_FONT): Removed. | |
7083 (supported_xim_styles): Renamed from supported_styles. | |
7084 (best_xim_style): Renamed from best_style. | |
7085 (create_frame_xic): Renamed from xic_create_frame. | |
7086 (free_frame_xic): Renamed from xic_destroy_frame. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7087 |
27506 | 7088 2000-01-29 INOUE Seiichiro <inoue@ainet.or.jp> |
7089 | |
7090 * xterm.c (XTread_socket) [HAVE_X_I18N]: If event is for none of | |
7091 our frames, call XFilterEvent with 2nd parameter `None'. | |
7092 (XTread_socket) <KeyPress> [HAVE_X_I18N]: Handle XmbLookupString | |
7093 returning XBufferOverflow. | |
7094 (XTread_socket) <ConfigureNotify> [HAVE_X_I18N]: Set XIC status | |
7095 area. | |
7096 (x_display_cursor) [HAVE_X_I18N]: Set XIC pre-edit area. | |
7097 (x_new_fontset) [HAVE_X_I18N]: Create XIC status area fontset. | |
7098 (xim_destroy_callback, xim_open_dpy, xim_instantiate_callback) | |
7099 (xim_initialize, xim_close) | |
7100 [HAVE_X_I18N && HAVE_X11R6]: New functions. | |
7101 (x_destroy_window) [HAVE_X_I18N]: Call xic_destroy_frame. | |
7102 (x_term_init) [HAVE_X_I18N]: Call xim_initialize. | |
7103 (x_delete_display) [HAVE_X_I18N]: Call xim_close. | |
7104 | |
7105 * xterm.h (struct x_display_info) [HAVE_X_I18N]: Add members `xim' | |
7106 and `xim_styles'. | |
7107 (struct x_output) [HAVE_X_I18N]: Remove member `xim', add | |
7108 `xic_style' and `xic_xfs'. | |
7109 (FRAME_MENUBAR_HEIGHT, FRAME_X_XIM, FRAME_X_XIM_STYLES) | |
7110 (FRAME_XIC_STYLE, FRAME_XIC_FONTSET): New macros. | |
7111 (FRAME_XIM): Removed. | |
7112 | |
7113 * xfns.c (supported_styles): New variable. | |
7114 (DEFAULT_STYLE, DEFAULT_FONT): New macros | |
7115 (xic_create_xfontset, best_style, xic_create_frame) | |
7116 (xic_destroy_frame, xic_set_preeditarea, xic_set_statusarea) | |
7117 (xic_set_xfontset): New functions. | |
7118 | |
27491 | 7119 2000-01-28 Dave Love <fx@gnu.org> |
7120 | |
7121 * s/irix6-5.h: Revert last change after change to irix5-0.h. | |
7122 | |
7123 * m/iris4d.h (C_SWITCH_MACHINE): Don't use -G0. | |
7124 | |
27473 | 7125 2000-01-28 Gerd Moellmann <gerd@gnu.org> |
7126 | |
27481 | 7127 * buffer.c (Fother_buffer): Don't call Fset_buffer_major_mode |
7128 for *scratch* if it already existed. | |
7129 | |
27473 | 7130 * emacs.c (USAGE): New macro. |
7131 (main): Use it to display usage information. | |
7132 | |
27464 | 7133 2000-01-27 Eli Zaretskii <eliz@is.elta.co.il> |
7134 | |
7135 Support for the menu-help feature: | |
7136 | |
7137 * msdos.h: Change prototypes of XMenuAddSelection and | |
7138 XMenuActivate. | |
7139 | |
7140 * msdos.c (IT_clear_end_of_line): Print the extent of the cleared | |
7141 part of the line to the termscript file. | |
7142 (IT_clear_to_end): Clear the entire line, not just its beginning. | |
7143 (menu_help_message, prev_menu_help_message): New variables. | |
7144 (IT_menu_make_room): Make room for the help_text member. | |
7145 (IT_menu_display): New argument disp_help; all callers changed. | |
7146 If disp_help is non-zero, store the help text of the active menu | |
7147 item in menu_help_message. | |
7148 (XMenuAddPane): Initialize the help_text member to NULL. | |
7149 (XMenuAddSelection): New argument help_text. Store it in the | |
7150 XMenu structure. | |
7151 (XMenuActivate): New argument help_callback. If the value of | |
7152 menu_help_message has changed since the last time, display the | |
7153 menu help message text while waiting for the mouse to move. Clear | |
7154 the echo area before exiting. | |
7155 (XMenuDestroy): Free the help_text member. | |
7156 | |
27459 | 7157 2000-01-27 Gerd Moellmann <gerd@gnu.org> |
7158 | |
7159 * xmenu.c (xmenu_show) [!USE_X_TOOLKIT]: Pass help to | |
7160 XMenuAddSelection. Pass help callback to XMenuActivate. | |
7161 (menu_help_callback) [!USE_X_TOOLKIT]: New function. | |
7162 | |
27453 | 7163 2000-01-27 Eli Zaretskii <eliz@is.elta.co.il> |
7164 | |
7165 * atimer.c (start_atimer) [!HAVE_SETITIMER]: Use EMACS_SET_SECS | |
7166 and EMACS_SET_USECS. | |
7167 | |
27443 | 7168 2000-01-26 Dave Love <fx@gnu.org> |
7169 | |
27446 | 7170 * editfns.c (Fchar_after, Fchar_before): Doc fix. |
7171 | |
27443 | 7172 * bytecode.c (Fbyte_code): Use {BEFORE,AFTER}_POTENTIAL_GC where |
7173 an error may be signalled. | |
7174 | |
27439 | 7175 2000-01-26 Gerd Moellmann <gerd@gnu.org> |
7176 | |
27441 | 7177 * s/irix6-5.h [__GNUC__ && __GNUC_MINOR__ >= 95]: Undef |
7178 LD_SWITCH_SYSTEM inherited from irix5-0.h. | |
7179 | |
27439 | 7180 * bytecode.c (Fbyte_code) [BYTE_CODE_SAFE]: Fix typo. |
7181 | |
27435 | 7182 2000-01-25 Gerd Moellmann <gerd@gnu.org> |
7183 | |
7184 * charset.c (Fstring): If there is a multibyte char among | |
7185 the args, always return a multibyte string. | |
7186 | |
27433 | 7187 2000-01-25 Gerd Moellmann <gerd@gnu.org> |
7188 | |
7189 * sysdep.c (sys_select): Turn atimers off and on instead of | |
7190 recording and restoring old alarm handler | |
7191 | |
7192 * process.c (toplevel): Include atimer.h. | |
7193 (create_process_1): Rewritten. | |
7194 (create_process): Use atimers instead of alarm. | |
7195 (wait_reading_process_input) [hpux]: Turn atimers off instead | |
7196 of turning off SIGALRM. | |
7197 (wait_reading_process_input): Turn off atimers instead off | |
7198 calling stop_polling. | |
7199 | |
7200 * emacs.c (main): Call init_atimer. | |
7201 | |
7202 * keyboard.c (toplevel): Include systime.h and atimer.h. | |
7203 (polling_for_input): Removed because unused. | |
7204 (input_poll_signal) [POLL_FOR_INPUT]: Removed. | |
7205 (poll_timer): New variable. | |
7206 (poll_for_input, poll_for_input_1): New functions. | |
7207 (start_polling, stop_polling): Rewritten. | |
7208 | |
7209 * keyboard.h (polling_for_input): Removed. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7210 |
27433 | 7211 * atimer.h, atimer.c: New files. |
7212 | |
7213 * Makefile.in (obj): Add atimer.o. | |
7214 (atimer.o): New target. | |
7215 | |
7216 * blockinput.h (pending_atimers): Add extern declaration. | |
7217 (UNBLOCK_INPUT): Rewritten. Handle pending atimers. | |
7218 | |
7219 * lisp.h (popup_activated_flag): Add extern declaration. | |
7220 | |
7221 * xmenu.c (popup_activated_flag): Make externally visible. | |
7222 (popup_activate_callback) [USE_MOTIF]: Increment | |
7223 popup_activated_flag. | |
7224 (popup_deactivate_callback) [USE_MOTIF]: Decrement it. | |
7225 | |
7226 * xterm.c (toplevel): Include atimer.h. | |
7227 (toolkit_scroll_bar_interaction): New variable. | |
7228 (Fxt_process_timeouts): Removed. | |
7229 (x_process_timeouts): New function. | |
7230 (xt_action_hook): Clear toolkit_scroll_bar_interaction. | |
7231 (x_send_scroll_bar_event): Set toolkit_scroll_bar_interaction. | |
7232 (x_make_frame_visible): Call poll_for_input_1 instead of | |
7233 input_poll_signal. Don't call alarm. | |
7234 (x_initialize): Install timer calling x_process_timeouts. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7235 |
27413 | 7236 2000-01-24 Dave Love <fx@gnu.org> |
7237 | |
27446 | 7238 * s/irix5-0.h: Don't set LD_SWITCH_SYSTEM -- we use unexelf now. |
27413 | 7239 Don't use -cckr -- apparently not now necessary. |
7240 | |
27410 | 7241 2000-01-24 Eli Zaretskii <eliz@is.elta.co.il> |
7242 | |
7243 * msdos.c (IT_menu_display): Truncate long menu lines at the right | |
7244 screen boundary. | |
7245 | |
27408 | 7246 2000-01-23 Jason Rumney <jasonr@gnu.org> |
7247 | |
7248 * w32fns.c (w32_defined_color): Apply gamma correction before | |
7249 trying to map to the palette. | |
7250 (w32_wnd_proc) [WM_ERASE_BACKGROUND]: Pass device context of frame | |
7251 to w32_clear_rect. | |
7252 | |
7253 * w32term.c (w32_fill_rect): Do not try to deal with NULL hdc | |
7254 here. Callers changed to always pass real device context. | |
7255 (w32_draw_bitmap): Likewise. | |
7256 (w32_get_glyph_overhangs): Likewise. | |
7257 (w32_draw_box_rect): Make use of s->hdc rather than getting a new | |
7258 one. | |
7259 (w32_set_vertical_scroll_bar): Pass correct HWND parameters to | |
7260 pfnSetScrollInfo and SetScrollRange. | |
7261 (x_get_char_face_and_encoding): Don't turn iso8859-1 characters | |
7262 back into MULE characters after decoding them. | |
7263 (x_get_glyph_face_and_encoding): Likewise. | |
7264 (w32_per_char_metric): Use GetCharExtentPoint32W as fallback when | |
7265 GetCharABCWidthsW fails, since this is defined on Windows 9x. | |
7266 (x_produce_glyphs): Calculate per char metrics for a character | |
7267 that we know exists in default font when font_not_found_p is true. | |
7268 | |
27393 | 7269 2000-01-22 Jason Rumney <jasonr@gnu.org> |
7270 | |
7271 * makefile.nt (intervals.obj, composite.obj): New modules. | |
7272 (composite.h): Added as dependency where appropriate. | |
7273 | |
7274 * w32gui.h (XGCValue): New struct for emulating X GCs. | |
7275 | |
7276 * w32term.h (XCharStruct): New struct for emulating X. | |
7277 | |
7278 * w32console.c (turn_on_face, turn_off_face): New functions. | |
7279 (change_line_highlight): New prototype for new redisplay. | |
7280 (write_glyphs): Support multibyte text. Support faces. | |
7281 | |
7282 * w32faces.c: Complete rewrite for new redisplay based on new | |
7283 xfaces.c. | |
7284 | |
7285 * w32fns.c: Use SELECTED_FRAME macro in place of selected_frame | |
7286 throughout. struct frame * in place of FRAME_PTR. | |
7287 Skeleton support for images, toolbars, tooltips from xfns.c. | |
7288 (Fx_create_frame): Use system default for default scroll bar | |
7289 width. | |
7290 (w32_get_arg): Renamed from x_get_arg. | |
7291 (Fx_file_dialog): New function. | |
7292 (w32_list_fonts): Check cache before asking system. | |
7293 (Vw32_enable_synthesized_fonts): New variable. | |
7294 (Vw32_enable_italics): Obsolete, removed. | |
7295 | |
7296 * w32inevt.c (get_frame, w32_console_mouse_position, mouse_moved_to): | |
7297 Use SELECTED_FRAME macro. | |
7298 | |
7299 * w32menu.c: Add skeleton support for help strings on menus. | |
7300 (add_menu_item): Native checkbox and radio support added, but not | |
7301 yet enabled due to bugs. | |
7302 (push_menu_item): Add parameters type, selection and help. | |
7303 Callers updated. | |
7304 Formatting changes to reduce unnecessary diffs with xmenu.c. | |
7305 | |
7306 * w32select.c (Fw32_set_clipboard_data): Update call to | |
7307 find_charset_in_str. | |
7308 | |
7309 * w32term.c: Complete rewrite for new redisplay based on new | |
7310 xterm.c with necessary sections merged back in from old w32term.c. | |
7311 | |
27702
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
7312 2000-01-21 Richard M. Stallman <rms@gnu.org> |
27390
10e53615a9d2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27372
diff
changeset
|
7313 |
10e53615a9d2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27372
diff
changeset
|
7314 * data.c (set_internal): Further fix in same criterion. |
10e53615a9d2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27372
diff
changeset
|
7315 |
27702
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
7316 2000-01-20 Richard M. Stallman <rms@gnu.org> |
27372
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
7317 |
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
7318 * data.c (set_internal): Fix the criteria for whether |
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
7319 to swap out the old cached binding. |
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
7320 |
27366 | 7321 2000-01-19 Dave Love <fx@gnu.org> |
7322 | |
7323 * lread.c: (syms_of_lread) [user-init-file]: Doc change. | |
7324 | |
27354 | 7325 2000-01-18 Kenichi Handa <handa@etl.go.jp> |
7326 | |
7327 * regex.c (re_compile_fastmap): While checking a range table for | |
7328 `charset', skip flag bits for a character class correctly. | |
7329 | |
27344 | 7330 2000-01-17 Gerd Moellmann <gerd@gnu.org> |
7331 | |
27347 | 7332 * m/news-risc.h (LD_SWITCH_MACHINE): Define differently for GCC. |
7333 | |
27344 | 7334 * xfns.c (x_window): Call lw_create_widget with new parameter |
7335 list. | |
7336 | |
7337 * widget.c (EmacsFrameSetCharSize): Change size of children first | |
7338 because of problems with main window geometry management under | |
7339 Lesstif. | |
7340 | |
7341 * xmenu.c (enum menu_item_idx): New enumeration replacing defines | |
7342 MENU_ITEMS_ITEM_.*. | |
7343 (MENU_ITEMS_ITEM_HELP): New enumerator. | |
7344 (push_menu_item): Add parameter HELP. Record help in menu_items. | |
7345 (single_menu_item, single_submenu, list_of_items): Call | |
7346 push_menu_item with new parameter. | |
7347 (single_submenu): Set help string in widget value. | |
7348 (menu_highlight_callback): New function. | |
7349 (set_frame_menubar): Call lw_create_widget with new | |
7350 parameter list. | |
7351 (xmenu_show, xdialog_show): Ditto. | |
7352 | |
27316 | 7353 2000-01-13 Gerd Moellmann <gerd@gnu.org> |
7354 | |
7355 * sound.c (Fplay_sound): Improve doc string. | |
7356 | |
27300
baffb2de5ce9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27299
diff
changeset
|
7357 2000-01-11 Richard M. Stallman <rms@gnu.org> |
27299
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7358 |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7359 * lisp.h (set_internal): Enter the new arg. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7360 |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7361 * eval.c (specbind): Record buffer-local variables specially, |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7362 indicating which buffer's binding was saved. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7363 (unbind_to): Restore buffer-local variables specially |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7364 in the proper buffer. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7365 |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7366 * data.c (set_internal): New arg BUF. |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7367 |
27299
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7368 * 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
|
7369 * data.c (Fset): Pass new arg to set_internal. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
7370 * 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
|
7371 |
27291 | 7372 2000-01-11 Gerd Moellmann <gerd@gnu.org> |
7373 | |
7374 * .gdbinit: Adapt to new strings. Add xbacktrace, xreload, | |
7375 xprintsym. | |
7376 | |
27300
baffb2de5ce9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27299
diff
changeset
|
7377 2000-01-11 Richard M. Stallman <rms@gnu.org> |
27283
f3eca57846e3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27276
diff
changeset
|
7378 |
f3eca57846e3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27276
diff
changeset
|
7379 * minibuf.c (Ftry_completion): Doc fix. |
f3eca57846e3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27276
diff
changeset
|
7380 |
27276 | 7381 2000-01-11 Gerd Moellmann <gerd@gnu.org> |
7382 | |
7383 * keyboard.c (Fclear_this_command_keys): Clear recent_keys | |
7384 vector, too. | |
7385 | |
27273 | 7386 2000-01-11 Andreas Schwab <schwab@suse.de> |
7387 | |
7388 * coding.c (code_convert_region): Initialize total_skip. | |
7389 | |
27244 | 7390 2000-01-08 Dave Love <fx@gnu.org> |
7391 | |
7392 * eval.c (Fuser_variable_p): Check customizability too. | |
7393 | |
27237 | 7394 2000-01-07 Gerd Moellmann <gerd@gnu.org> |
7395 | |
7396 * minibuf.c (Fcompleting_read): Doc fix. | |
7397 | |
27158 | 7398 2000-01-05 Gerd Moellmann <gerd@gnu.org> |
7399 | |
27171 | 7400 * s/freebsd.h (C_SWITCH_SYSTEM): Add -I /usr/local/include and |
7401 -L /usr/local/lib. | |
7402 | |
27158 | 7403 * xfns.c (x_create_im): New function to set IM and IC of a frame. |
7404 Check that input style is supported before trying to create an | |
7405 IC for it. | |
7406 (x_window): Call x_create_im. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7407 |
27143 | 7408 2000-01-04 Gerd Moellmann <gerd@gnu.org> |
7409 | |
27155 | 7410 * xfns.c (current_gif_memory_src): New variable. |
7411 (gif_load): Record the address of the current memory source | |
7412 in current_gif_memory_src. | |
7413 (gif_read_from_memory): Use current_gif_memory_src. | |
7414 | |
27150 | 7415 * systime.h (EMACS_GET_TIME, EMACS_ADD_TIME, EMACS_SUB_TIME): Give |
7416 macros statement form. | |
7417 | |
27147 | 7418 * sound.c (struct sound): Renamed from struct sound_file. |
7419 (struct sound): Add members `data' and `header_size'. | |
7420 (enum sound_attr): Add SOUND_DATA. | |
7421 (current_sound, current_sound_device): Variables renamed from | |
7422 sound_file and sound_device. | |
7423 (parse_sound): Parse :data. | |
7424 (parse_sound): Handle sound data in strings. | |
7425 (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
|
7426 (wav_init, au_init): Fail if sound's header_size is smaller than |
27147 | 7427 needed header size. |
7428 (wav_play, au_play): Play sounds from string data. | |
7429 | |
27143 | 7430 * puresize.h (BASE_PURE_SIZE): Increase to 600000. |
7431 | |
7432 * lisp.h: Add prototype for allocate_string_data. | |
7433 | |
7434 * alloc.c (Fgarbage_collect): Return number of live and free | |
7435 strings. | |
7436 | |
7437 * alloc.c (mark_buffer): Remove code in #if 0. | |
7438 (gc_sweep): Ditto. | |
7439 (UNMARK_BALANCE_INTERVALS): Give the macro statement form. | |
7440 (strings_consed): New variable. | |
7441 (allocate_string): Set it. | |
7442 (syms_of_alloc): Add DEFVAR_INT for strings_consed. | |
7443 (Fmemory_use_counts): Return strings_consed. Use Flist. | |
7444 | |
7445 * alloc.c: General cleanup in comments etc. Remove conditional | |
7446 compilation for `standalone'. | |
7447 | |
7448 * lisp.h (struct Lisp_String): Make DATA member `unsigned char *'. | |
7449 | |
7450 * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): | |
7451 (GC_STRING_BYTES, GC_STRING_CHARS): New macros. | |
7452 (DONT_COPY_FLAG): Removed. | |
7453 (SBLOCK_SIZE, LARGE_STRING_BYTES): New macros. | |
7454 (struct sdata, struct sblock): New | |
7455 (struct string_block): Rewritten. | |
7456 (STRINGS_IN_STRING_BLOCK): New macro. | |
7457 (oldest_sblock, current_sblock, total_strings, total_free_strings) | |
7458 (large_sblocks, string_blocks, string_free_list): New variables. | |
7459 (NEXT_FREE_LISP_STRING, SDATA_OF_STRING, SDATA_SIZE): New macros. | |
7460 (init_strings): Rewritten. | |
7461 (allocate_string, allocate_string_data, compact_small_strings) | |
7462 (free_large_strings, sweep_strings): New functions. | |
7463 (STRING_BLOCK_SIZE, STRING_BLOCK_OUTSIZE) | |
7464 (struct string_block_head, current_string_block) | |
7465 (first_string_block, large_string_blocks, STRING_FULLSIZE) | |
7466 (STRING_PAD): Removed. | |
7467 (make_uninit_multibyte_string, make_pure_string): Rewritten. | |
7468 (Fgarbage_collect): Don't set mark bit in large strings. | |
7469 (mark_object): Mark strings differently. Mark symbol names | |
7470 differently. | |
7471 (survives_gc_p): Test marked strings differently. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
7472 (gc_sweep): Sweep strings differently, unmark strings in |
27143 | 7473 symbol names. |
7474 (compact_strings): Removed. | |
7475 | |
27138 | 7476 2000-01-04 Eli Zaretskii <eliz@is.elta.co.il> |
7477 | |
7478 * xfaces.c (syms_of_xfaces): defsubr Scolor_gray_p and | |
7479 Scolor_supported_p even if HAVE_X_WINDOWS is not defined. | |
7480 | |
27127 | 7481 2000-01-04 Kenichi Handa <handa@etl.go.jp> |
7482 | |
27133 | 7483 * 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
|
7484 in a non-empty buffer. |
27133 | 7485 |
27130 | 7486 * term.c (encode_terminal_code): Fix the previous change. |
27127 | 7487 |
27122 | 7488 2000-01-03 Gerd Moellmann <gerd@gnu.org> |
7489 | |
7490 * xfaces.c (syms_of_xfaces): Change Sface_color_gray_p to | |
7491 Scolor_gray_p, Sface_color_supported_p to Scolor_supported_p. | |
7492 | |
7493 * s/hpux9.h (NO_EDITRES): Define even if HAVE_LIBXMU. | |
7494 | |
27119 | 7495 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il> |
7496 | |
7497 * xdisp.c (handle_single_display_prop) [HAVE_WINDOW_SYSTEM]: No | |
7498 need to test for MSDOS frames. | |
7499 | |
27116 | 7500 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il> |
7501 | |
7502 * dosfns.c (unspecified_colors): Remove. | |
7503 (msdos_stdcolor_idx): Use global variables unspecified_fg and | |
7504 unspecified_bg. | |
7505 (msdos_stdcolor_name): Return strings for unspecified fore- and | |
7506 back-ground colors. | |
7507 | |
7508 * xfaces.c (Qunspecified_fg, Qunspecified_bg): Remove. | |
27680 | 7509 (syms_of_xfaces): Remove their staticpro's. |
27116 | 7510 (tty_color_name): Return Lisp strings for unspecified fore- and |
7511 back-ground colors. | |
7512 (Finternal_set_lisp_face_attribute): Remove the special treatment | |
7513 for Qunspecified_{f,b}g. | |
7514 (realize_default_face): Replace Qunspecified_{f,b}g with a Lisp | |
7515 string. | |
7516 | |
27112 | 7517 2000-01-03 Gerd Moellmann <gerd@gnu.org> |
7518 | |
7519 * xdisp.c (reseat_at_next_visible_line_start): Position before | |
7520 newline only if ending up on a newline. | |
7521 (next_element_from_ellipsis): Return success. Handle case of | |
7522 displaying no ellipsis. Fix case of ellipsis defined in display | |
7523 table. | |
7524 (next_element_from_buffer): Return 0 if next_element_from_ellipsis | |
7525 returns 0. | |
7526 | |
27102 | 7527 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il> |
7528 | |
7529 * xfaces.c (Fcolor_gray_p): Renamed from face-color-gray-p. | |
7530 (Fcolor_supported_p): Renamed from face-color-supported-p. | |
7531 | |
27091 | 7532 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il> |
7533 | |
7534 * xfaces.c (tty_defined_color): Pass frame to tty-color-desc. The | |
7535 list of colors renamed to tty-defined-color-alist. | |
7536 (tty_color_name): Pass the frame to tty-color-by-index. | |
7537 (realize_tty_face): tty-color-alist is now a function which | |
7538 accepts the frame as argument. | |
7539 | |
7540 * term.c (Ftty_display_color_p): Accept an optional argument | |
7541 FRAME. | |
7542 | |
27086 | 7543 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il> |
7544 | |
7545 * term.c (insert_glyphs): Pass glyph, not &glyph, to | |
7546 encode_terminal_code. | |
7547 | |
27084 | 7548 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il> |
7549 | |
7550 * dispnew.c (mode_line_string): Support termcap frames as well. | |
7551 | |
27067 | 7552 2000-01-01 Gerd Moellmann <gerd@gnu.org> |
7553 | |
27082 | 7554 * syntax.c (Fforward_word): Undo previous change. |
7555 | |
7556 * editfns.c (Fconstrain_to_field): Don't constrain if | |
7557 inhibit-field-text-motion is non-nil. | |
7558 (Fline_beginning_position): Undo previous change. | |
7559 (Fline_end_position): Ditto. | |
7560 | |
7561 * syntax.c (Fforward_word): Notice field boundaries only if | |
7562 inhibit-field-text-motion is nil. | |
7563 | |
7564 * lisp.h: Add extern declaration for Vinhibit_field_text_motion. | |
7565 | |
7566 * editfns.c (Vinhibit_field_text_motion): New variable. | |
7567 (inhibit-field-text-motion): New DEFVAR_LISP. | |
7568 (Fline_beginning_position, Fline_end_position): Notice field | |
7569 boundaries only if inhibit-field-text-motion is nil. | |
7570 | |
27072 | 7571 * xfns.c (x_create_x_image_and_pixmap): Remove parameter FILE. |
7572 All calls adjusted. | |
7573 (x_build_heuristic_mask): Likewise. | |
7574 (xbm_load_image_from_file): Change error output. | |
7575 (xbm_load, xpm_load, pbm_load, png_load, jpeg_load, tiff_load) | |
7576 (gif_load, gs_load, x_kill_gs_process): Ditto. | |
7577 | |
27067 | 7578 * xfns.c (gif_load): Avoid sign extension and thus out of bounds |
7579 color indices when accessing raster pixels. | |
27070 | 7580 (gif_image_p, png_image_p, jpeg_image_p, tiff_image_p): Allow only |
7581 one of :file or :data. | |
7582 (enum pbm_keyword_index): Add PBM_DATA. | |
7583 (pbm_format): Add :data. | |
7584 (pbm_image_p): Allow either :file or :data. | |
7585 (pbm_read_file): New function. | |
7586 (pbm_scan_number): Rewritten to read from string. | |
7587 (pbm_load): Support :data. | |
27067 | 7588 |
30727 | 7589 See ChangeLog.8 for earlier changes. |
30994 | 7590 |
7591 ;; Local Variables: | |
31346 | 7592 ;; coding: iso-2022-7bit |
30994 | 7593 ;; End: |