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