aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorMiles Bader2006-07-19 00:42:56 +0000
committerMiles Bader2006-07-19 00:42:56 +0000
commit63db3c1b3ffa669435b10aa362115ef664990ab2 (patch)
treea62f68b147d4265ce993136af897d4f348570594 /src/ChangeLog
parent2988d6b36d310ba98ea1fed570142f436804fc18 (diff)
parent83676aa2e399363120942ef5ea19f8af6b75e8e8 (diff)
downloademacs-63db3c1b3ffa669435b10aa362115ef664990ab2.tar.gz
emacs-63db3c1b3ffa669435b10aa362115ef664990ab2.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 343-356) - Update from CVS - Update for ERC 5.1.3. - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 113-115) - Merge from emacs--devo--0 - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-90
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog369
1 files changed, 369 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4b817c11eae..1ea2005e0c4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,372 @@
12006-07-18 Francis Litterio <franl@world.std.com>
2
3 * w32term.c (x_calc_absolute_position): Fix frame positioning
4 with negative X/Y coordinates.
5
62006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
7
8 * xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN.
9
10 * textprop.c (text_read_only): Likewise.
11
12 * lread.c (end_of_file_error): Likewise.
13
14 * lisp.h (circular_list_error, memory_full, buffer_memory_full):
15 Likewise.
16
17 * eval.c (unwind_to_catch): Likewise.
18
19 * buffer.h (buffer_slot_type_mismatch): Likewise.
20
212006-07-18 Kim F. Storm <storm@cua.dk>
22
23 Cleanup Fsignal calls that never returns; now only use it for Qquit.
24
25 * eval.c (xsignal): New func. Like Fsignal, but marked no-return.
26 (xsignal0, xsignal1, xsignal2, xsignal3): New no-return functions.
27 (signal_error): New no-return function (from xfaces.c).
28 (Fthrow): Use xsignal2 instead of Fsignal + abort.
29 (error): Use xsignal1 instead of Fsignal + abort.
30 (FletX, Flet, grow_specpdl): Use signal_error.
31 (Feval, Ffuncall, funcall_lambda): Use xsignal1, xsignal2.
32
33 * alloc.c (buffer_memory_full, memory_full): Use xsignal. Remove loop.
34 (list1): New function.
35
36 * lisp.h (list1): Add EXFUN.
37 (xsignal, xsignal0, xsignal1, xsignal2, xsignal3, signal_error):
38 Add prototypes. Mark them as no-return.
39
40 * buffer.c (Fbuffer_local_value, Fbarf_if_buffer_read_only):
41 Use xsignal1.
42
43 * callint.c (check_mark): Use xsignal0.
44
45 * casefiddle.c (casify_object): wrong_type_argument is no-return.
46
47 * cmds.c (Fforward_char, Fdelete_char): Use xsignal0.
48
49 * coding.c (Fcheck_coding_system): Use xsignal1. Remove loop.
50 (Fdefine_coding_system_internal): Use xsignal1.
51
52 * data.c (circular_list_error): Use xsignal.
53 (wrong_type_argument): Use xsignal2. Don't care about return value.
54 (args_out_of_range, args_out_of_range_3): Use xsignal2, xsignal3.
55 Remove loop around Fsignal.
56 (indirect_variable, Fsymbol_value, set_internal, Fdefault_value)
57 (indirect_function, Findirect_function, Fstring_to_number)
58 (Fmakunbound, Ffmakunbound, Fsymbol_function, Ffset): Use xsignal1.
59 (arith_driver, float_arith_driver, Frem, Fmod, arith_error):
60 Use xsignal0.
61
62 * doc.c (Fdocumentation): Use xsignal1.
63
64 * editfns.c (region_limit, Fget_internal_run_time): Use xsignal0.
65
66 * fileio.c (report_file_error): Use xsignal.
67 (barf_or_query_if_file_exists, Fcopy_file, Fdelete_file)
68 (Finsert_file_contents): Use xsignal2.
69 (syms_of_fileio): Use list2, list3.
70
71 * floatfns.c (arith_error, range_error, domain_error): Use xsignal2.
72 (range_error2, domain_error2): Use xsignal3.
73 (rounding_driver, fmod_float): Use xsignal0.
74 (float_error): Use xsignal1.
75 (matherr): Use xsignal.
76
77 * fns.c (Flength): wrong_type_argument is no-return.
78 (hashfn_user_defined, Fmake_hash_table): Use signal_error.
79 (Fmd5): Use xsignal1.
80
81 * frame.c (x_set_line_spacing, x_set_screen_gamma): Use signal_error.
82
83 * keyboard.c (recursive_edit_1): Use xsignal1.
84
85 * keymap.c (Fmap_keymap): Use xsignal1.
86
87 * lread.c (Fload): Use xsignal2, signal_error.
88 (end_of_file_error): Use xsignal0, xsignal1.
89 (read0): Use xsignal1.
90 (invalid_syntax): New error function marked no-return.
91 (read_integer, read1, read_list): Use it.
92
93 * macselect.c (x_get_local_selection): Use signal_error.
94
95 * msdos.c (Fmsdos_set_mouse_buttons): Use xsignal2.
96
97 * search.c (compile_pattern_1): Use xsignal1.
98 (signal_failure): Remove (was only called once).
99 (search_command): Use xsignal1 instead of signal_failure.
100
101 * syntax.c (scan_lists): Use xsignal3.
102
103 * textprop.c (text_read_only): Use xsignal0, xsignal1.
104
105 * unexsol.c (unexec): Use xsignal.
106
107 * window.c (window_scroll_pixel_based, window_scroll_line_based):
108 Use xsignal0.
109
110 * xfaces.c (signal_error): Move to eval.c.
111 (resolve_face_name): Use xsignal1.
112
113 * xfns.c (x_decode_color): Use signal_error.
114
115 * xselect.c (x_get_local_selection, copy_multiple_data)
116 (x_get_window_property_as_lisp_data)
117 (lisp_data_to_selection_data, CHECK_CUT_BUFFER)
118 (Fx_get_cut_buffer_internal): Use signal_error.
119
1202006-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
121
122 * macterm.c (XTread_socket): Undo previous change.
123
1242006-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
125
126 * macterm.c (keycode_to_xkeysym): Remove function. All uses now
127 directly lookup keycode_to_xkeysym_table.
128 [USE_MAC_TSM] (mac_handle_text_input_event): Don't construct
129 ASCII_KEYSTROKE_EVENT for non-zero keycode_to_xkeysym_table entries.
130 (XTread_socket): Use character codes to construct keypad key events.
131 (mac_initialize_display_info) [MAC_OSX]: Use CGDisplaySamplesPerPixel.
132 (x_delete_display): Apply 2006-07-04 change for xterm.c.
133
1342006-07-17 Kim F. Storm <storm@cua.dk>
135
136 * xdisp.c (handle_single_display_spec): Ensure the right value of
137 it->position is saved by push_it.
138 (pop_it): Restore it->object for GET_FROM_BUFFER and GET_FROM_STRING.
139 (reseat_1): Don't setup it->object twice.
140 (set_iterator_to_next): No need to set it->object after pop_it.
141 (move_it_to): Explicitly check to see if last move reached to_charpos.
142
1432006-07-17 Thien-Thi Nguyen <ttn@gnu.org>
144
145 * xdisp.c (display_mode_line): Preserve match data.
146
1472006-07-14 Kim F. Storm <storm@cua.dk>
148
149 * w32.c (pfn_WSACreateEvent, pfn_WSACloseEvent): New func ptrs.
150 (init_winsock): Load them. Use ws2_32.dll.
151 (sys_listen): Undo last change. Just set FILE_LISTEN flag.
152 (sys_accept): Undo last change. Instead, set child status to
153 STATUS_READ_ACKNOWLEDGED and reset char_avail event so next
154 sys_select will wakeup the reader thread.
155 (_sys_wait_accept): New function used by reader thread to wait for
156 an incoming connection on a server socket.
157
158 * w32.h (_sys_read_ahead, _sys_wait_accept): Add prototypes.
159
160 * w32proc.c (reader_thread): Use _sys_wait_accept to wait on a
161 server socket (FILE_LISTEN flag).
162
1632006-07-14 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
164
165 * sound.c (alsa_init): Call snd_pcm_close after successful snd_pcm_open.
166
1672006-07-14 Kim F. Storm <storm@cua.dk>
168
169 * w32.c: Fix high cpu load for server sockets.
170 (pfn_WSAEventSelect): New function ptr.
171 (init_winsock): Load it.
172 (sys_listen): Set FILE_LISTEN flag. Set event mask for socket's
173 char_avail event object to FD_ACCEPT.
174 (sys_accept): Check FILE_LISTEN flag. Set event mask on new
175 socket's char_avail event object to FD_READ|FD_CLOSE.
176
177 * w32.h (FILE_LISTEN): New filedesc flag value.
178
1792006-07-13 Kim F. Storm <storm@cua.dk>
180
181 * bytecode.c (Fbyte_code): Use CAR, CDR for Bcar, Bcdr.
182 Use CAR_SAFE, CDR_SAFE for Bcar_safe, Bcdr_safe.
183 Simplify loops and use CAR for Bnth and Belt.
184
185 * data.c (Findirect_function): Optimize for no indirection.
186
187 * eval.c (Fthrow): Remove loop around Fsignal.
188 (Feval, Fapply, Ffuncall): Optimize for no function indirection.
189 Use original function name in all signaled errors.
190 Simplify Fsignal calls (no return).
191 (funcall_lambda): Simplify Fsignal calls (no return).
192
1932006-07-13 Andreas Schwab <schwab@suse.de>
194
195 * syntax.c (scan_sexps_forward): Use EMACS_INT for out_bytepos and
196 out_charpos.
197
1982006-07-13 Kenichi Handa <handa@m17n.org>
199
200 * editfns.c (Fformat): Fix calculation of text property positions
201 of format string.
202
2032006-07-12 Kim F. Storm <storm@cua.dk>
204
205 * lisp.h (CHECK_TYPE): New macro for generic type checking.
206 (CAR_SAFE, CDR_SAFE): New macros.
207 (ARRAYP, CHECK_ARRAY): New macros.
208 (CHECK_VECTOR_OR_STRING, CHECK_SUBR): New macros.
209 (CHECK_WINDOW_CONFIGURATION): New macro.
210 (CHECK_LIST_CONS, CHECK_LIST_END): New checks for list traversal.
211 (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST)
212 (CHECK_STRING, CHECK_STRING_CAR, CHECK_CONS, CHECK_SYMBOL)
213 (CHECK_CHAR_TABLE, CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE)
214 (CHECK_BUFFER, CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS)
215 (CHECK_NUMBER, CHECK_NATNUM, CHECK_MARKER, CHECK_OVERLAY)
216 (CHECK_NUMBER_COERCE_MARKER, CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT)
217 (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER): Use CHECK_TYPE.
218
219 * category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET):
220 * frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Use CHECK_TYPE.
221
222 * callint.c (Fcall_interactively):
223 * casefiddle.c (casify_object):
224 * editfns.c (general_insert_function):
225 * fns.c (Flength, Felt, Ffillarray):
226 * data.c (Fcar, Fcdr): Remove loop around wrong_type_argument.
227
228 * data.c (wrong_type_argument): Remove loop around Fsignal.
229 (Farrayp, Fsequencep): Use ARRAYP.
230 (Fcar): Use CAR.
231 (Fcar_safe): Use CAR_SAFE.
232 (Fcdr): Use CDR.
233 (Fcdr_safe): Use CDR_SAFE.
234 (Fsetcar, Fsetcdr): Use CHECK_CONS.
235 (Fsubr_arity, Fsubr_name): Use CHECK_SUBR.
236 (Faset): Use CHECK_ARRAY.
237
238 * fns.c (Felt): Use CHECK_ARRAY.
239 (concat): Use CHECK_NUMBER.
240 (Fsubstring, substring_both): Use CHECK_VECTOR_OR_STRING.
241 (Fmemq): Use CHECK_LIST.
242 (Fassq, Fassoc, Frassq, Frassoc): Use CAR.
243 (assq_no_quit): Use CAR_SAFE.
244 (Fnthcdr, Fmember, Fdelq, Fdelete, Fnreverse, Fnconc):
245 Use CHECK_LIST_CONS.
246 (Freverse, Fplist_get, Flax_plist_get): Use CHECK_LIST_END.
247
248 * bytecode.c (Fbyte_code): Use CHECK_VECTOR.
249
250 * casetab.c (check_case_table):
251 * category.c (check_category_table):
252 * marker.c (Fcopy_marker):
253 * syntax.c (check_syntax_table):
254 * xfaces.c (load_pixmap): Use CHECK_TYPE.
255
256 * fns.c (Fcopy_sequence, concat):
257 * fringe.c (Fdefine_fringe_bitmap):
258 * lread.c (check_obarray): Cleanup wrong_type_argument use.
259
260 * keyboard.c (access_keymap_keyremap): Use ARRAYP.
261
262 * keymap.c (Fdefine_key, Flookup_key):
263 * macros.c (Fstart_kbd_macro): Use CHECK_VECTOR_OR_STRING.
264
265 * mac.c (Fmac_get_preference): Use CHECK_LIST_END.
266
267 * search.c (Fset_match_data): Use CHECK_LIST.
268
269 * sunfns.c (sun_item_create): Use CHECK_LIST_CONS.
270
271 * window.c (Fwindow_configuration_frame, Fset_window_configuration):
272 (compare_window_configurations): Use CHECK_WINDOW_CONFIGURATION.
273
2742006-07-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
275
276 * Makefile.in (dired.o, editfns.o, fileio.o): Depend on blockinput.h.
277
278 * dired.c: Include blockinput.h.
279 (Ffile_attributes): Add BLOCK_INPUT around getpwuid/getgrgid.
280
281 * editfns.c: Include blockinput.h.
282 (Fuser_login_name, Fuser_full_name): Add BLOCK_INPUT around
283 getpwuid/getpwnam.
284
285 * fileio.c: Include blockinput.h.
286 (Fexpand_file_name, search_embedded_absfilename): Add BLOCK_INPUT
287 around getpwnam.
288 (search_embedded_absfilename): Remove spurious xfree.
289
2902006-07-11 Kim F. Storm <storm@cua.dk>
291
292 * dispnew.c (sit_for): Reduce number of args from 5 to 3.
293 Now just one TIMEOUT arg that can be a Lisp float or Lisp int.
294 Combine args DISPLAY and INITIAL_DISPLAY into one arg DO_DISPLAY.
295 Signal error if TIMEOUT is not a number.
296 Undo 2006-06-14 change for non-preemptive display if TIMEOUT < 0.
297 The rework of sit_for args also fixes several incorrect Qt args
298 which should have been 1.
299 (Fredisplay): Pass 1 instead of Qt to swallow_events and
300 detect_input_pending_run_timers.
301
302 * lisp.h (sit_for): Update prototype.
303 (Fredisplay): Add EXFUN.
304
305 * dispextern.h (sit_for): Remove prototype.
306
307 * callint.c (Fcall_interactively):
308 * minibuf.c (temp_echo_area_glyphs):
309 * keyboard.c (command_loop_1, read_char, Fexecute_extended_command):
310 * fileio.c (Fdo_auto_save): Update/simplify sit_for calls.
311
3122006-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
313
314 * syntax.c (forw_comment): Also use EMACS_INT for buffer positions.
315
3162006-07-11 Kim F. Storm <storm@cua.dk>
317
318 * dispnew.c (Fredisplay): Add FORCE argument to force redisplay when
319 input is available. Fix test for redisplay_dont_pause non-nil.
320 Specbind redisplay-dont-pause to t if FORCE non-nil.
321
3222006-07-10 Chong Yidong <cyd@stupidchicken.com>
323
324 * puresize.h (BASE_PURESIZE): Increment to 1211000.
325
326 * dispnew.c (Fredisplay): New function, equivalent to (sit-for 0).
327 (Fsit_for): Function deleted.
328
329 * keyboard.c (command_loop_1, Fexecute_extended_command):
330 Call sit_for instead of Fsit_for.
331
332 * minibuf.c (temp_echo_area_glyphs): Likewise.
333
3342006-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
335
336 * syntax.c (Fforward_comment): Revert the reversion.
337 (back_comment, scan_lists): Also use EMACS_INT for buffer positions.
338
3392006-07-09 John Paul Wallington <jpw@pobox.com>
340
341 * syntax.c (Fforward_comment): Revert previous change.
342
3432006-07-09 Kim F. Storm <storm@cua.dk>
344
345 * window.c (Fforce_window_update): Doc fix.
346
3472006-07-08 Stephen Gildea <gildea@stop.mail-abuse.org>
348
349 * fileio.c (do_auto_save_make_dir): Make the auto-save-list-file
350 directory unreadable for better user privacy.
351
3522006-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
353
354 * syntax.c (Fforward_comment): Fix int-32 vs EMACS_INT-64 mixup.
355
356 * lread.c (read_filtered_event): Remove `register' qualifier because it
357 causes compilation problem with gcc-4.0.2-20051125 on amd64.
358 (readevalloop): Remove unused var `bpos'.
359 Yet another int/Lisp_Object mixup (YAILOM).
360
3612006-07-07 Eli Zaretskii <eliz@gnu.org>
362
363 * keyboard.c (Fexecute_extended_command): Mention the argument
364 PREFIXARG in the doc string.
365
3662006-07-07 Kim F. Storm <storm@cua.dk>
367
368 * fringe.c (Fdefine_fringe_bitmap): Doc fix.
369
12006-07-05 Chong Yidong <cyd@stupidchicken.com> 3702006-07-05 Chong Yidong <cyd@stupidchicken.com>
2 371
3 * insdel.c (prepare_to_modify_buffer): For an indirect buffer, do 372 * insdel.c (prepare_to_modify_buffer): For an indirect buffer, do