ChangeLog 984 KB
Newer Older
1 2 3 4
2007-05-31  Richard Stallman  <rms@gnu.org>

	* buffer.c (syms_of_buffer): Doc fix.

5 6 7 8 9
2007-05-28  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t
	around current_column call.

10 11 12 13 14 15
2007-05-24  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (redisplay_window): If first window line is a
	continuation line, recompute the new window start instead of
	recentering.

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
16 17 18 19 20
2007-05-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c [USE_CARBON_EVENTS] (mac_handle_window_event):
	Call mac_wakeup_from_rne on window size change.

21 22 23 24
2007-05-22  Richard Stallman  <rms@gnu.org>

	* xterm.c (x_connection_closed): Remove NO_RETURN.

25 26 27 28 29
2007-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* syntax.c (skip_chars): Update syntax-table only after we checked that
	the new location is valid.

30 31 32 33 34
2007-05-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c (x_calc_absolute_position): Add BLOCK_INPUT around
	mac_get_window_bounds.

35 36 37 38
2007-05-17  Glenn Morris  <rgm@gnu.org>

	* m/macppc.h (ORDINARY_LINK): No longer define on OpenBSD.

39 40 41 42 43
2007-05-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Also convert
	dead key repeat and up events.

44 45 46 47
2007-05-13  Chong Yidong  <cyd@stupidchicken.com>

	* xterm.c (XTread_socket): Revert last change.

48 49
2007-05-12  Chong Yidong  <cyd@stupidchicken.com>

50 51
	* image.c (pbm_load): Correctly check image size for greyscale pbm.

52 53
	* xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC).

54 55 56 57
2007-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* editfns.c (Ftranspose_regions): Yet another int/Lisp_Object mixup (YAILOM)

58 59 60 61
2007-05-06  Richard Stallman  <rms@gnu.org>

	* process.c: Undo May 3 change.

62
2007-05-03  Per Cederqvist  <ceder@lysator.liu.se>  (tiny change)
63 64 65 66

	* process.c (Faccept_process_output): Revert 2006-03-22 change so
	that the third argument once again is in microseconds (not
	milliseconds).  This makes it compatible with Emacs 21 and
67
	earlier.  Problem found by Henrik Rindl,Av(Bw.
68

69 70 71 72 73
2007-05-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macmenu.c (mac_dialog_show): Apply 2007-04-27 change for xmenu.c.
	(Fx_popup_dialog) [MAC_OSX]: Likewise.

74 75 76 77
2007-04-29  Richard Stallman  <rms@gnu.org>

	* insdel.c (replace_range): For undo, record insertion first.

78 79 80 81 82
2007-04-29  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* xdisp.c (try_window_reusing_current_matrix): Fix number of
	disabled lines.

83 84 85 86 87 88 89
2007-04-27  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xmenu.c (xdialog_show): Call Fredisplay before showing the dialog.

	* gtkutil.c (xg_update_menubar, create_menus): Create empty
	submenu for menu bar items.

90 91 92 93 94
2007-04-24  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (redisplay_window): Use BEG_UNCHANGED and END_UNCHANGED
	values of the actual window.

95 96 97 98
2007-04-23  Richard Stallman  <rms@gnu.org>

	* process.c (Fstart_process): Doc fix.

Eli Zaretskii's avatar
Eli Zaretskii committed
99 100 101 102
2007-04-23  Eli Zaretskii  <eliz@gnu.org>

	* process.c (Fstart_process): Doc fix.

103 104 105 106 107 108
2007-04-22  Richard Stallman  <rms@gnu.org>

	* abbrev.c (Fdefine_abbrev): Doc fix.

	* keymap.c (Fdefine_key): Minor doc fix.

Glenn Morris's avatar
Glenn Morris committed
109 110 111 112
2007-04-21  Glenn Morris  <rgm@gnu.org>

	* keymap.c (Fdefine_key): Fix info ref in doc string.

113 114 115 116
2007-04-20  Glenn Morris  <rgm@gnu.org>

	* sysdep.c (init_system_name): Don't accept localhost.localdomain.

117 118 119 120 121 122
2007-04-19  Juanma Barranquero  <lekktu@gmail.com>

	* minibuf.c (Fminibuffer_contents, Fminibuffer_contents_no_properties)
	(Fminibuffer_completion_contents, Fdelete_minibuffer_contents):
	Doc fixes.

123 124
2007-04-16  Chong Yidong  <cyd@stupidchicken.com>

125 126
	* dispnew.c (adjust_frame_glyphs_for_frame_redisplay):
	Set garbaged flag in presence of window margins.
127 128
	(showing_window_margins_p): New function.

129 130 131
	* xdisp.c (cursor_row_p): Only end row on newline if it's a
	display string.  Suggested by Lennart Borgman.

132 133 134 135 136
2007-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* alloc.c (mem_insert): Set min_heap_address and max_heap_address
	if they are not yet initialized.

137 138 139 140 141 142
2007-04-15  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (redisplay_window): When deciding whether or not to
	recenter, don't use the reset values of BEG_UNCHANGED and
	END_UNCHANGED.

Kim F. Storm's avatar
Kim F. Storm committed
143 144 145 146 147
2007-04-13  Kim F. Storm  <storm@cua.dk>

	* buffer.c (Fkill_buffer): gcpro BUF during kill_buffer_processes
	and check that buffer is still alive upon return.

148 149 150 151 152 153 154 155 156 157 158
2007-04-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c [!TARGET_API_MAC_CARBON]: Include Displays.h.
	(mac_screen_config_changed): New variable.
	(mac_handle_dm_notification, init_dm_notification_handler)
	(mac_get_screen_info): New functions.
	[MAC_OS8] (main): Call init_dm_notification_handler.
	(mac_initialize) [MAC_OSX]: Likewise.
	(XTread_socket): Call mac_get_screen_info if screen config changed.
	(mac_initialized): Make static.
	(mac_initialize_display_info): Remove function.
Kim F. Storm's avatar
Kim F. Storm committed
159
	(mac_term_init): Call mac_get_screen_info.  Add partial contents of
160 161
	mac_initialize_display_info.

162 163 164 165 166 167 168 169 170 171 172
2007-04-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* mac.c (xrm_get_preference_database, Fmac_get_preference)
	[TARGET_API_MAC_CARBON]: Use CFPreferencesAppSynchronize.

	* macterm.c [TARGET_API_MAC_CARBON] (mac_post_mouse_moved_event):
	Use GetGlobalMouse instead of GetMouse and LocalToGlobal.
	(mac_initialize_display_info) [MAC_OSX]: Use CGRectZero.
	(mac_initialize_display_info) [!MAC_OSX]: dpyinfo->height and
	dpyinfo->width are those of whole screen.

173 174 175 176 177
2007-04-10  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (note_mode_line_or_margin_highlight): Don't decrement
	glyph pointer before start of glyph row.

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
178 179 180 181 182
2007-04-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* s/darwin.h (__restrict, struct kboard): Remove outdated workarounds.
	(C_SWITCH_SYSTEM): Remove `-I../mac/src'.

183 184 185 186
2007-04-09  Martin Rudalics  <rudalics@gmx.at>

	* indent.c (Fmove_to_column): Set next_boundary with correct start pt.

187 188 189 190
2007-04-08  Richard Stallman  <rms@gnu.org>

	* xdisp.c (syms_of_xdisp) <message-log-max>: Default 100.

191 192 193 194 195
2007-04-07  Chong Yidong  <cyd@stupidchicken.com>

	* editfns.c (Ftranspose_regions): Validate interval before setting
	text properties.

Eli Zaretskii's avatar
Eli Zaretskii committed
196 197 198 199
2007-04-03  Eli Zaretskii  <eliz@gnu.org>

	* emacs.c (main): Fix instructions for building Emacs for profiling.

200 201 202 203 204
2007-04-03  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gtkutil.c (xg_update_menubar): Call g_list_next after moving
	menu bar item.

205 206 207 208
2007-04-02  Juanma Barranquero  <lekktu@gmail.com>

	* print.c (Fprin1_to_string): Use macro SPECPDL_INDEX.

209 210
2007-04-01  Chong Yidong  <cyd@stupidchicken.com>

211 212 213 214 215
	* keymap.c (Fcommand_remapping): New optional argument.
	(where_is_internal): Use new keymaps argument.
	(Fkey_binding): Caller changed.

	* keyboard.c (command_loop_1): Caller changed.
216

Eli Zaretskii's avatar
Eli Zaretskii committed
217 218 219 220
2007-03-31  Eli Zaretskii  <eliz@gnu.org>

	* window.c (Fget_lru_window): Doc fix.

221 222 223 224 225
2007-03-30  Chong Yidong  <cyd@stupidchicken.com>

	* undo.c (Fprimitive_undo): Give clearer error message when trying
	to change text properties outside accessible part of buffer.

Kim F. Storm's avatar
Kim F. Storm committed
226 227 228 229 230 231 232
2007-03-29  Kim F. Storm  <storm@cua.dk>

	* process.c (wait_reading_process_output) [HAVE_PTYS]:
	When EIO happens, clear channel from descriptor masks before raising
	SIGCHLD signal to avoid busy loop between read and sigchld_handler.
	(sigchld_handler): Remove sleep (2007-03-11 & 2007-03-26 changes).

233 234
2007-03-29  Juanma Barranquero  <lekktu@gmail.com>

235 236
	* buffer.c (Fset_buffer_major_mode): Check that BUFFER is valid.

237 238 239
	* process.c (Fformat_network_address): Return nil when the
	argument vector contains invalid values.

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
240 241 242 243 244 245 246 247 248 249 250 251
2007-03-28  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* gmalloc.c [HAVE_GTK_AND_PTHREAD]: Define USE_PTHREAD.
	[USE_PTHREAD]: Include pthread.h.
	(malloc_init_once_control, _malloc_mutex) [USE_PTHREAD]: New variables.
	(malloc_initialize_1): New function created from __malloc_initialize.
	(__malloc_initialize): Use it.
	(LOCK, UNLOCK): New macros to make malloc etc. thread safe.
	(_malloc_internal, _free_internal, _realloc_internal): Use them.

	* lread.c (readchar): Extend BLOCK_INPUT block to ferror/clearerr.

Juanma Barranquero's avatar
Juanma Barranquero committed
252 253 254 255 256
2007-03-27  Juanma Barranquero  <lekktu@gmail.com>

	* process.c (Fformat_network_address): Make args array big enough
	to format IPv6 addresses.

Glenn Morris's avatar
Glenn Morris committed
257 258 259 260
2007-03-27  Glenn Morris  <rgm@gnu.org>

	* m/hp800.h: Restore HP-UX support (removed 2007-01-29).

261 262
2007-03-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

Juanma Barranquero's avatar
Juanma Barranquero committed
263 264
	* macfns.c (Fx_display_mm_height, Fx_display_mm_width): Scale whole
	screen size in pixels by millimeters per pixel of main display.
265

Juanma Barranquero's avatar
Juanma Barranquero committed
266 267
	* macselect.c (get_scrap_target_type_list, x_own_selection):
	Move assignments outside predicate macros.
268 269 270 271 272 273 274
	(Vselection_converter_alist): Doc fix.

	* macterm.c (create_text_encoding_info_alist): Move assignments
	outside predicate macros.
	(mac_initialize_display_info) [MAC_OSX]: dpyinfo->height and
	dpyinfo->width are those of whole screen.

275 276 277 278 279
2007-03-26  Sam Steingold  <sds@gnu.org>

	* process.c (sigchld_handler): Delay by 1ms instead of 1s to
	alleviate sluggishness (the original problem is still fixed).

Kim F. Storm's avatar
Kim F. Storm committed
280 281 282 283 284 285 286
2007-03-25  Kim F. Storm  <storm@cua.dk>

	* intervals.c (merge_properties): Use explicit loop instead of
	Fplist_member to avoid QUIT.  Don't use Fcdr.
	(intervals_equal): Likewise.  Rewrite loop to perform length check
	on the fly rather than calling Flength.  Don't use Fcar.

Eli Zaretskii's avatar
Eli Zaretskii committed
287 288 289 290 291 292
2007-03-24  Eli Zaretskii  <eliz@gnu.org>

	* editfns.c (Fgoto_char): Doc fix.

	* indent.c (Findent_to): Doc fix.

293 294 295 296 297
2007-03-24  Chong Yidong  <cyd@stupidchicken.com>

	* editfns.c (Ftranspose_regions): Use set_text_properties_1
	instead of Fset_text_properties to avoid GC.  Signal after change.

Eli Zaretskii's avatar
Eli Zaretskii committed
298 299 300 301 302 303 304 305
2007-03-24  Eli Zaretskii  <eliz@gnu.org>

	* xfns.c (Fx_show_tip): Doc fix.

	* macfns.c (Fx_show_tip): Doc fix.

	* w32fns.c (Fx_show_tip): Doc fix.

Kim F. Storm's avatar
Kim F. Storm committed
306 307 308 309 310
2007-03-23  Kim F. Storm  <storm@cua.dk>

	* intervals.c (merge_properties, intervals_equal):
	Use Fplist_member instead of Fmemq to find properties.

Glenn Morris's avatar
Glenn Morris committed
311 312 313 314 315
2007-03-23  Glenn Morris  <rgm@gnu.org>

	* unexhp9k800.c: Restore file with clarified legal status.
	* m/sr2k.h: Restore since dependency unexhp9k800.c is restored.

316 317 318 319
2007-03-22  Chong Yidong  <cyd@stupidchicken.com>

	* widget.c (EmacsFrameSetCharSize): Catch X errors.

Kenichi Handa's avatar
Kenichi Handa committed
320 321 322 323 324 325 326 327
2007-03-22  Kenichi Handa  <handa@m17n.org>

	* fileio.c (Fcopy_file): Call barf_or_query_if_file_exists with
	non-encoded file name.
	(Frename_file): Likewise.
	(Fadd_name_to_file): Likewise.
	(Fmake_symbolic_link): Likewise.

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354
2007-03-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* Makefile.in (alloca.o, gtkutil.o): Depend on systime.h.
	(dired.o, editfns.o, fileio.o, msdos.o): Depend on atimer.h.
	(dosfns.o, window.o, fns.o, macselect.o): Depend on atimer.h and
	systime.h.
	(term.o, print.o, lread.o): Depend on blockinput.h, atimer.h, and
	systime.h.
	(macfns.o): Remove duplicate dependency on systime.h.

	* dispnew.c (Fopen_termscript): Add BLOCK_INPUT around fclose.
	(Fsend_string_to_terminal): Add BLOCK_INPUT around fwrite.

	* fileio.c (do_auto_save_unwind): Add BLOCK_INPUT around fclose.
	(Fdo_auto_save): Add BLOCK_INPUT around fwrite.

	* keyboard.c (record_char): Add BLOCK_INPUT around fwrite.
	(Fopen_dribble_file): Add BLOCK_INPUT around fclose.

	* lread.c: Include blockinput.h.
	(readchar, Fget_file_char): Add BLOCK_INPUT around getc.
	(unreadchar): Add BLOCK_INPUT around ungetc.
	(load_unwind): Add BLOCK_INPUT around fclose.

	* print.c: Include blockinput.h.
	(Fredirect_debugging_output): Add BLOCK_INPUT around fclose.

Juanma Barranquero's avatar
Juanma Barranquero committed
355 356 357
	* process.c (Fmake_network_process) [HAVE_GETADDRINFO]:
	Clear immediate_quit before calling freeaddrinfo.
	Add BLOCK_INPUT around freeaddrinfo.
YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
358 359 360 361

	* term.c: Include blockinput.h.
	(write_glyphs, insert_glyphs): Add BLOCK_INPUT around fwrite.

362 363 364 365 366 367
2007-03-19  Richard Stallman  <rms@gnu.org>

	* keyboard.c (NUM_RECENT_KEYS): Bump up to 300.

	* buffer.c (syms_of_buffer): Doc fix.

368 369 370 371
2007-03-18  Chong Yidong  <cyd@stupidchicken.com>

	* image.c (pbm_load): Signal error for invalid image size.

372 373 374 375 376 377 378 379 380
2007-03-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c (note_mouse_movement): Don't return immediately for
	LeaveNotify case.

	* macmenu.c (popup_activated_flag): New variable.
	(x_activate_menubar, mac_menu_show): Set it during menu tracking.
	(popup_activated): New function.

Juanma Barranquero's avatar
Juanma Barranquero committed
381 382
	* xdisp.c (redisplay_internal, note_mouse_highlight):
	Check popup_activated for MAC_OS.
383

384
2007-03-17  Juanma Barranquero  <lekktu@gmail.com>
Kim F. Storm's avatar
Kim F. Storm committed
385

386 387
	* buffer.c (syms_of_buffer) <buffer-display-table>: Doc fix.
	Reported by Nikolaj Schumacher <n_schumacher@web.de>.
388

389 390
2007-03-17  Richard Stallman  <rms@gnu.org>

391
	* dired.c (file_name_completion): gcpro NAME.
392

Kim F. Storm's avatar
Kim F. Storm committed
393 394 395 396 397
2007-03-17  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (try_window_id): Increment matrix positions if the
	buffer's byte count has increased, but not the character count.

398 399 400 401 402 403 404 405
2007-03-12  Andreas Schwab  <schwab@suse.de>

	* lisp.h: Declare check_obarray.

	* process.c (Fdelete_process): Properly handle deletion of first
	element of deleted_pid_list.
	(create_process): Declare pid as pid_t.

406 407 408 409 410 411 412 413 414 415
2007-03-12  Kim F. Storm  <storm@cua.dk>

	* process.c (sigchld_handler): Change type of pid to pid_t.
	Scan deleted_pid_list explicitly to avoid using Fmember which don't
	know about mark bits and make_fixnum_or_float which may malloc.
	Reported by Andreas Schwab.

	* keyboard.c (read_key_sequence): Store original event into keybuf
	when replaying sequence with local keymap(s) from string.

Glenn Morris's avatar
Glenn Morris committed
416 417 418 419 420
2007-03-12  Glenn Morris  <rgm@gnu.org>

	* editfns.c (Fdecode_time, Fencode_time): Doc fix ("daylight
	savings" to "daylight saving").

421 422 423 424
2007-03-11  Sam Steingold  <sds@gnu.org>

	* process.c (sigchld_handler): Sleep before wait3 to avoid a busyloop.

425 426 427 428
2007-03-11  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macfns.c (Fx_server_vendor): Change vendor string to "Apple Inc.".

429 430
2007-03-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

431 432
	* macterm.c [USE_CARBON_EVENTS] (mac_handle_mouse_event):
	Ignore mouse wheel movement on title bar or tool bar.
433

434 435 436 437 438 439 440
2007-03-10  Chong Yidong  <cyd@stupidchicken.com>

	* keyboard.c (help_form_saved_window_configs): New var.
	(read_char_help_form_unwind): New function.
	(read_char): Don't restore window configuration if a mouse click
	arrives while the help form is being displayed.

Kim F. Storm's avatar
Kim F. Storm committed
441 442 443 444 445
2007-03-10  Kim F. Storm  <storm@cua.dk>

	* xdisp.c (redisplay_window): Don't automatically select a new window
	start for a contination line during mouse-click.

446 447 448 449
2007-03-09  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.c (handle_one_xevent): Ignore buttons > 3 for the tool bar.

Juanma Barranquero's avatar
Juanma Barranquero committed
450 451 452 453
2007-03-09  Juanma Barranquero  <lekktu@gmail.com>

	* keymap.c (Fdescribe_buffer_bindings): Check that BUFFER is valid.

454 455 456 457
2007-03-08  Richard Stallman  <rms@gnu.org>

	* keyboard.c (syms_of_keyboard): Doc fix.

458 459 460 461 462
2007-03-08  Chong Yidong  <cyd@stupidchicken.com>

	* minibuf.c (Ftry_completion): Don't short circuit if
	completion-ignore-case is non-nil.

463 464 465 466 467 468 469 470
2007-03-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macfns.c (mac_set_scroll_bar_width, mac_frame_parm_handlers):
	Undo 2006-03-06 changes.

	* macterm.c (XTset_vertical_scroll_bar) [MAC_OSX]: Don't show scroll
	bar if its width is smaller than that of Aqua small scroll bar.

471 472 473 474 475
2007-03-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuf.c (read_minibuf): Bind inhibit-read-only a bit longer so as
	to handle correctly prompts with read-only property.

476 477 478 479 480 481 482
2007-03-06  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* sound.c (wav_play): Check header->data_length to see how much we
	shall read.
	(alsa_period_size): Convert ALSA period size in frames to bytes.
	(alsa_write): Return if frames is zero.

Kenichi Handa's avatar
Kenichi Handa committed
483 484 485 486
2007-03-06  Kenichi Handa  <handa@m17n.org>

	* xselect.c (Vselection_coding_system): Documentation improved.

487 488 489 490 491 492 493 494 495
2007-03-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c (x_scroll_bar_create, XTread_socket): Replace #if
	USE_TOOLKIT_SCROLL_BARS with #ifdef USE_TOOLKIT_SCROLL_BARS.
	(x_set_window_size): Call SET_FRAME_GARBAGED.  Clear window if
	internal border width has changed.

	* macterm.h (struct mac_output): New member `internal_border_width'.

496 497 498 499
2007-03-04  Richard Stallman  <rms@gnu.org>

	* window.c (Fdisplay_buffer): Doc fix.

500 501 502 503 504
2007-03-03  Glenn Morris  <rgm@gnu.org>

	* Makefile.in: Don't clear out LIB_X11_LIB, since XFT_LIBS does
	not include -lX11 on Solaris.

Juanma Barranquero's avatar
Juanma Barranquero committed
505
2007-03-02  Stuart D. Herring  <herring@lanl.gov>
David Kastrup's avatar
David Kastrup committed
506

507
	* keymap.c (Fkey_binding): Don't consider one-element lists as events.
David Kastrup's avatar
David Kastrup committed
508

509 510 511 512 513
2007-03-01  Kenichi Handa  <handa@m17n.org>

	* process.c (send_process_object): Check the process status and
	signal an error if something is wrong.

514 515 516 517 518
2007-02-28  Chong Yidong  <cyd@stupidchicken.com>

	* insdel.c (Fcombine_after_change_execute): Return nil if
	combine_after_change_buffer has been invalidated.

Dan Nicolaescu's avatar
Dan Nicolaescu committed
519 520 521 522
2007-02-25  Dan Nicolaescu  <dann@ics.uci.edu>

	* m/xtensa.h: New file.

523 524 525 526 527
2007-02-24  Nick Roberts  <nickrob@snap.net.nz>

	* .gdbinit (xprintstr): Ensure GDB (> 6.6) prints symbol name
	as strings and not character arrays.

528 529 530 531 532 533 534 535
2007-02-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag)
	(x_set_toolkit_scroll_bar_thumb): Add bar->min_handle as margin to
	scroll bar handle size in order to avoid `scroll backward' problem.
	(x_scroll_bar_create, XTset_vertical_scroll_bar)
	[USE_TOOLKIT_SCROLL_BARS]: Initialize bar->min_handle.

536 537
	* macterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]:
	New member `min_handle'.
538

Kim F. Storm's avatar
Kim F. Storm committed
539 540 541 542 543
2007-02-23  Kim F. Storm  <storm@cua.dk>

	* print.c (print): Reset print_number_index if Vprint_number_table
	is nil.

Eli Zaretskii's avatar
Eli Zaretskii committed
544 545 546 547 548
2007-02-23  Eli Zaretskii  <eliz@gnu.org>

	* w32.c (stat, get_long_basename, is_unc_volume): Use _mbspbrk
	instead of strpbrk.

549 550 551 552 553 554 555 556 557 558 559
2007-02-23  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macmenu.c (mac_menu_show): Call unbind_to early.  Use variable
	`menu_item_selection' as in W32 version.
	[TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Add explicit
	braces to avoid ambiguous `else'.

	* macterm.c (mac_display_info_for_display): Remove function.
	(mac_flush_display_optional) [USE_CG_DRAWING]: New function.
	(x_redisplay_interface) [USE_CG_DRAWING]: Set it as handler for
	flush_display_optional.
560 561
	[USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_press):
	New argument MOUSE_POS.  All uses changed.  Set bar->dragging to
562
	negative integer if scroll bar handle is pressed.
563 564
	[USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_release):
	Negative bar->dragging means scroll bar handle is not dragged.
565 566 567 568 569 570 571 572 573 574
	[USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag): Get initial
	offset of scroll bar handle from negative bar->dragging.
	(XTread_socket) [USE_TOOLKIT_SCROLL_BARS]: Modifiers for scroll
	bar click is compared against mapped one.  Set down/up_modifier
	for scroll bar click event with control key.

	* macterm.h (x_display_info_for_display): Remove extern.
	(SCROLL_BAR_UNPACK, SET_SCROLL_BAR_CONTROL_HANDLE): Don't limit
	value to be unpacked to 32-bit on LP64 model.

575 576 577 578 579 580 581
2007-02-23  Kenichi Handa  <handa@m17n.org>

	* process.c (send_process_object_unwind): New function.
	(send_process_object): New function.
	(Fprocess_send_region): Call send_process_object.
	(Fprocess_send_string): Likewise.

582 583
2007-02-22  Jason Rumney  <jasonr@gnu.org>

Jason Rumney's avatar
Jason Rumney committed
584 585 586
	* w32menu.c (w32_menu_show): Mark the frame's menu as inactive
	when popup menu finishes.

587
	* w32fns.c (menubar_in_use): New flag.
Jason Rumney's avatar
Jason Rumney committed
588 589 590
	(w32_wnd_proc) [WM_INITMENU, WM_EXITMENULOOP, WM_TIMER, WM_COMMAND]:
	Use it.

Jason Rumney's avatar
Jason Rumney committed
591 592 593
	* w32menu.c (Fx_popup_menu): Don't free menu strings here.
	(w32_menu_show): Do it here instead.

594 595
	* w32fns.c (w32_wnd_proc) [WM_INITMENU]: Set menubar_active frame
	parameter.
596

597 598
	* w32menu.c (current_popup_menu): Make available globally.
	(menubar_selection_callback): Free menu strings before pushing the
599
	menu event into the keyboard buffer.  Remove menu_command_in_progress.
600 601

	* w32fns.c (current_popup_menu): Use from w32menu.c.
602 603 604
	(w32_wnd_proc) [WM_EXITMENULOOP, WM_TIMER]: Use menubar_active
	and current_popup_menu to determine whether a menubar menu has
	been cancelled.
605 606 607

	* w32term.h (w32_output): Remove menu_command_in_progress.

Kim F. Storm's avatar
Kim F. Storm committed
608 609 610 611 612
2007-02-22  Kim F. Storm  <storm@cua.dk>

	* dispnew.c (update_frame, update_single_window): Set force_p here if
	redisplay_dont_pause is set or Vredisplay_preemption_period is nil...
	(update_window, update_frame_1): ... instead of here.
Kim F. Storm's avatar
Kim F. Storm committed
613
	(update_text_area): Clear mouse face on header lines.
Kim F. Storm's avatar
Kim F. Storm committed
614

Kim F. Storm's avatar
Kim F. Storm committed
615 616 617 618
2007-02-21  Kim F. Storm  <storm@cua.dk>

	* minibuf.c (Fassoc_string): Doc fix.  Allow symbol for KEY too.

619 620 621 622 623 624 625 626
2007-02-21  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macterm.c (WINDOW_RESOURCE, TERM_WINDOW_RESOURCE): Remove macros.
	[USE_MAC_TSM] (mac_handle_text_input_event): Remove unused variable
	`mapped_modifiers'.
	(XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1020]: Use Keyboard
	Layout Services routines to get current Unicode keyboard layout.

627 628
2007-02-20  Chong Yidong  <cyd@stupidchicken.com>

629 630
	* frame.c (x_set_screen_gamma): Apply gamma value to the frame's
	bgcolor.
631

Kim F. Storm's avatar
Kim F. Storm committed
632 633
2007-02-19  Kim F. Storm  <storm@cua.dk>

Kim F. Storm's avatar
Kim F. Storm committed
634 635
	* minibuf.c (Fassoc_string): Allow symbols as keys.

Kim F. Storm's avatar
Kim F. Storm committed
636 637 638 639 640
	* w32term.c (w32_set_scroll_bar_thumb): Don't resize scroll-bar
	handle while dragging, except when we get close to eob.
	Fix position and size calculations so we don't scroll backwards
	just by clicking on the handle.

641 642 643 644 645 646
2007-02-17  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* Makefile.in (${emacsapp}Contents/Resources/Emacs.rsrc)
	[HAVE_CARBON]: Remove target.
	(macosx-app) [HAVE_CARBON]: Don't depend on it.

647 648 649 650 651 652 653 654
2007-02-17  Juanma Barranquero  <lekktu@gmail.com>

	* callproc.c (syms_of_callproc) <doc-directory>:
	<configure-info-directory>:
	(Fgetenv_internal): Fix typos in docstrings.

	* doc.c (Fsubstitute_command_keys): Fix typo in docstring.

Andreas Schwab's avatar
Andreas Schwab committed
655 656
2007-02-16  Andreas Schwab  <schwab@suse.de>

657 658
	* frame.c (Fmodify_frame_parameters): Return a value.

Andreas Schwab's avatar
Andreas Schwab committed
659 660 661
	* editfns.c (Fformat): Add support for '+' flag.
	* doprnt.c (doprnt1): Likewise.  Fix overflow checking.

662 663 664 665
2007-02-14  Chong Yidong  <cyd@stupidchicken.com>

	* s/umips.h: Unused file removed.

Juanma Barranquero's avatar
Juanma Barranquero committed
666 667 668 669 670
2007-02-14  Juanma Barranquero  <lekktu@gmail.com>

	* xfaces.c (Fcolor_distance): Don't continue checking a color for
	errors after it has been correctly parsed as an RGB list.

671 672 673 674
2007-02-14  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.c (do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN.

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
675 676 677 678 679 680 681 682 683 684 685 686 687 688
2007-02-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macfns.c (Fx_focus_frame): Move current process to foreground if
	it is not.
	[TARGET_API_MAC_CARBON] (Fx_file_dialog): Replace #if MAC_OSX with
	#ifdef MAC_OSX.
	(Fmac_set_font_panel_visible_p) [USE_MAC_FONT_PANEL]: Rename from
	Fmac_set_font_panel_visibility.  All uses changed.  Rename argument
	VISIBLE to FLAG.

	* macterm.c (MakeMeTheFrontProcess) [MAC_OSX]: Remove function.
	(mac_initialize) [MAC_OSX]: Call SetFrontProcess instead of
	MakeMeTheFrontProcess.

689 690 691 692
2007-02-12  Chong Yidong  <cyd@stupidchicken.com>

	* frame.c (x_set_screen_gamma): Clear face cache.

Juanma Barranquero's avatar
Juanma Barranquero committed
693 694 695 696 697
2007-02-11  Juanma Barranquero  <lekktu@gmail.com>

	* buffer.c (Fgenerate_new_buffer_name, Fbuffer_modified_tick):
	Reflow docstrings.

Eli Zaretskii's avatar
Eli Zaretskii committed
698 699 700 701 702 703 704
2007-02-10  Eli Zaretskii  <eliz@gnu.org>

	* window.c (Fwindow_height, Fwindow_hscroll)
	(Fwindow_redisplay_end_trigger, Fwindow_point, Fwindow_start)
	(Fwindow_end, Fwindow_display_table, Fwindow_text_height):
	Document the effect of WINDOW arg being nil.

Kim F. Storm's avatar
Kim F. Storm committed
705 706 707
2007-02-08  Kim F. Storm  <storm@cua.dk>

	* minibuf.c (read_minibuf): Fix 2007-01-30 change.
Juanma Barranquero's avatar
Juanma Barranquero committed
708
	Use Qlambda as interim value of Vminibuffer_completing_file_name.
Kim F. Storm's avatar
Kim F. Storm committed
709
	(Fcompleting_read): Use non-filename maps if value is Qlambda (or Qnil).
Kim F. Storm's avatar
Kim F. Storm committed
710 711
	(syms_of_minibuf) <minibuffer-completing-file-name>: Document lambda.

712 713 714 715 716
2007-02-07  Juanma Barranquero  <lekktu@gmail.com>

	* makefile.w32-in ($(TRES)): Use literal "../nt/emacs.rc" instead
	of $(ALL_DEPS).

717 718 719 720 721
2007-02-07  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in ($(TRES)): Depend on stamp_BLD, since $(TRES) is
	put into $(BLD).

722 723 724 725 726 727
2007-02-06  Chong Yidong  <cyd@stupidchicken.com>

	* frame.c (Fmodify_frame_parameters): Don't bind
	Qinhibit_default_face_x_resources, which has no effect.
	(Qinhibit_default_face_x_resources): Symbol deleted.

Eli Zaretskii's avatar
Eli Zaretskii committed
728 729 730 731 732
2007-02-03  Eli Zaretskii  <eliz@gnu.org>

	* indent.c (Fmove_to_column): Document that the argument COLUMN is
	taken from prefix numeric argument.

733 734 735 736
2007-02-03  Juanma Barranquero  <lekktu@gmail.com>

	* lread.c (syms_of_lread) <load-history>: Doc fix.

Juanma Barranquero's avatar
Juanma Barranquero committed
737 738 739 740 741
2007-01-29  Andreas Seltenreich  <uwi7@rz.uni-karlsruhe.de>  (tiny change)

	* xterm.c [!USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_expose):
	Use the foreground color of the scroll-bar face when drawing
	the scroll-bar's border.
742

743 744 745 746 747
2007-02-02  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.c (do_ewmh_fullscreen): Check that what != NULL before
	calling wm_supports.

748 749 750 751 752
2007-02-01  Juanma Barranquero  <lekktu@gmail.com>

	* lread.c (syms_of_lread) <user-init-file>: Doc fix.
	Wording by Eli Zaretskii.

Jan Djärv's avatar
Jan Djärv committed
753 754 755 756
2007-01-31  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gtkutil.c (update_frame_tool_bar): Initialize h/vmargin to 0.

757 758 759 760 761 762 763 764 765 766
2007-01-30  Richard Stallman  <rms@gnu.org>

	* minibuf.c (read_minibuf):
	Save and clear Vminibuffer_completing_file_name.
	(read_minibuf_unwind): Restore it.
	(Vminibuffer_completion_table, Qminibuffer_completion_table)
	(Vminibuffer_completion_predicate, Qminibuffer_completion_predicate)
	(Vminibuffer_completion_confirm, Qminibuffer_completion_confirm)
	(Vminibuffer_completing_file_name): Definitions moved up.

767 768 769 770
2007-01-29  Chong Yidong  <cyd@stupidchicken.com>

	* m/hp800.h: Restore, removing HP-UX support.

Jan Djärv's avatar
Jan Djärv committed
771 772 773 774
2007-01-29  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* Makefile.in: Use a variable, XFT_LIBS, instead #define LIB_X11_LIB.

775 776 777 778 779 780
2007-01-28  Richard Stallman  <rms@gnu.org>

	* minibuf.c (Ftry_completion, Fall_completions)
	(Fcompleting_read, Ftest_completion):
	Rename arg ALIST or TABLE to COLLECTION.

781 782 783 784 785 786
2007-01-27  Chong Yidong  <cyd@stupidchicken.com>

	* unexhp9k800.c: Remove due to lack of legal papers.

	* m/sr2k.h, m/hp800.h: Remove due to dependence on above.

Eli Zaretskii's avatar
Eli Zaretskii committed
787 788
2007-01-27  Eli Zaretskii  <eliz@gnu.org>

789 790
	* keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Doc fix.

Eli Zaretskii's avatar
Eli Zaretskii committed
791 792
	* minibuf.c (Fcompleting_read): Doc fix.

Jan Djärv's avatar
Jan Djärv committed
793 794
2007-01-26  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

Jan Djärv's avatar
Jan Djärv committed
795 796
	* gtkutil.c (xg_initialize): Call XftInit if HAVE_XFT.

Jan Djärv's avatar
Jan Djärv committed
797 798
	* Makefile.in: Use XFT_LIBS if defined.

799 800
2007-01-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

801 802
	* alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use
	BLOCK_INPUT/UNBLOCK_INPUT.
803 804 805 806 807 808 809

	* blockinput.h (interrupt_input_blocked): Declare volatile.

	* keyboard.c (interrupt_input_blocked): Declare volatile.

	* syssignal.h (SIGNAL_THREAD_CHECK): Use pthread_equal.

Kim F. Storm's avatar
Kim F. Storm committed
810 811 812 813
2007-01-24  Kim F. Storm  <storm@cua.dk>

	* keymap.c (describe_map): Don't consider prefix keys to be shadowed.

Juanma Barranquero's avatar
Juanma Barranquero committed
814 815 816 817 818
2007-01-23  Juanma Barranquero  <lekktu@gmail.com>

	* editfns.c (Finsert_char): Doc fix.
	(Fget_internal_run_time, Fdecode_time): Fix typos in docstrings.

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
819 820
2007-01-22  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

Juanma Barranquero's avatar
Juanma Barranquero committed
821 822 823
	* macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag):
	Don't pass keyboard modifiers to mac_store_drag_event, but put
	them as kEventParamKeyModifiers Apple event parameter.
YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
824

825 826 827 828 829 830 831
2007-01-21  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (try_window): Revert previous change.

	* dispnew.c (update_text_area): Revert 2006-09-17 change.
	Always redraw non-mode-line rows with mouse-face.

832 833 834 835 836 837
2007-01-20  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (try_window): Clear mouse-face highlights first.

	* window.c (set_window_buffer): Revert 2006-11-22 change.

Eli Zaretskii's avatar
Eli Zaretskii committed
838 839 840 841 842
2007-01-20  Eli Zaretskii  <eliz@gnu.org>

	* .gdbinit (ppt, xtype, xmisctype, xint, xptr, xmarker, xframe)
	(xbuffer, xcons, xcar, xcdr): Fix doc strings.

843 844 845 846 847
2007-01-20  Chong Yidong  <cyd@stupidchicken.com>

	* keyboard.c (read_key_sequence): Extract local map only if the
	given position is in an accessible buffer region.

Nick Roberts's avatar
Nick Roberts committed
848 849 850 851 852
2007-01-19  Nick Roberts  <nickrob@snap.net.nz>

	* .gdbinit: Reformat documentation so that first sentence
	displays properly with "help user-defined" (like apropos).

Juanma Barranquero's avatar
Juanma Barranquero committed
853
2007-01-18  Bruno Haible  <bruno@clisp.org>  (tiny change)
854 855 856

	* epaths.in: Move PATH_DOC from local/info to local/share/info.

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
857 858
2007-01-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

Eli Zaretskii's avatar
Eli Zaretskii committed
859
	* macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]:
YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
860
	Create movable modal window instead of movable alert window.
Eli Zaretskii's avatar
Eli Zaretskii committed
861 862
	(create_and_show_dialog) [!MAC_OSX]: Use DeactivateControl instead
	of DisableControl.
YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
863 864 865 866

	* macselect.c (Fmac_resume_apple_event): Set error number when
	descriptor type of reply is non-null.

867 868
2007-01-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

869 870
	* macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]:
	Use DisableControl for disabled items.  Set default button to first
871 872
	enabled one.  Use icon of application in execution.

873 874
2007-01-13  Eli Zaretskii  <eliz@gnu.org>

Juanma Barranquero's avatar
Juanma Barranquero committed
875 876
	* process.c (Fdelete_process, Fprocess_id, sigchld_handler):
	Copy PID into EMACS_INT to avoid GCC warnings.
877

878 879 880 881 882 883 884 885
	* fns.c (maybe_resize_hash_table): Copy new size of hash table
	into EMACS_INT to avoid GCC warnings.

	* editfns.c (Fuser_uid, Fuser_real_uid): Copy values returned by
	geteuid and getuid into EMACS_INT to avoid GCC warnings.

	* dired.c (Ffile_attributes): Fix last change.

886 887 888 889 890 891
2007-01-12  Eli Zaretskii  <eliz@gnu.org>

	* dired.c (Ffile_attributes): Copy some members of `struct stat'
	into int's to avoid GCC warnings about limited range of short in
	arguments to FIXNUM_OVERFLOW_P.

892 893 894 895 896 897 898 899 900 901 902 903 904 905 906
2007-01-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* macmenu.c (HAVE_DIALOGS): Define if TARGET_API_MAC_CARBON.
	(mac_handle_dialog_event, install_dialog_event_handler)
	(create_and_show_dialog) [TARGET_API_MAC_CARBON]: New functions.
	(DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN)
	(DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH)
	(DIALOG_MAX_INNER_WIDTH, DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE)
	(DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH)
	(DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE)
	(DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN)
	(DIALOG_ICON_TOP_MARGIN) [TARGET_API_MAC_CARBON]: New macros.
	(mac_dialog) [TARGET_API_MAC_CARBON]: Remove function.
	(mac_dialog_show) [TARGET_API_MAC_CARBON]: Use create_and_show_dialog.

Juanma Barranquero's avatar
Juanma Barranquero committed
907 908
	* macterm.c (x_free_frame_resources) [USE_CG_DRAWING]:
	Call mac_prepare_for_quickdraw.
909 910 911 912 913 914 915 916 917
	(quit_char, make_ctrl_char) [TARGET_API_MAC_CARBON]: Move externs
	outside #ifdef MAC_OSX.
	(mac_quit_char_key_p) [TARGET_API_MAC_CARBON]: Move function
	outside #ifdef MAC_OSX.
	(mac_check_bundle) [MAC_OSX]: Remove unused function.

	* macterm.h (mac_quit_char_key_p): Move extern outside #ifdef MAC_OSX.
	(HOURGLASS_WIDTH, HOURGLASS_HEIGHT): Parenthesize definitions.

918 919 920 921 922
2007-01-11  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use pthread_equal,
	block/unblock SIGIO.

923 924
2007-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>

925 926 927
	* editfns.c (Fformat): Allow integer-format to work with floats of size
	larger than most-positive-fixnum (but still smaller than MAXINT).

928 929
	* dired.c (Ffile_attributes): Use floats for large uids/gids.

930 931 932 933
2007-01-09  Eli Zaretskii  <eliz@gnu.org>

	* emacs.c (syms_of_emacs) <path-separator>: Doc fix.

934 935 936 937 938 939 940 941 942 943 944 945 946 947 948
2007-01-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* callproc.c (Fcall_process_region) [HAVE_MKSTEMP]: Add BLOCK_INPUT
	around mkstemp.

	* image.c (XDrawLine) [MAC_OS]: Remove macro.
	(XCreateGC_pixmap) [!HAVE_NTGUI]: Likewise.
	(x_disable_image) [!HAVE_NTGUI]: Use XCreateGC instead of
	XCreateGC_pixmap.

	* macgui.h (Display): Typedef to opaque type.

	* macmenu.c (mac_dialog_modal_filter) [MAC_OSX]: New function.
	(Fx_popup_dialog) [MAC_OSX]: Use standard alert if called from
	Fmessage_box, Fyes_or_no_p, or Fy_or_n_p.
949 950
	[MAC_OS_X_VERSION_MAX_ALLOWED >= 1030] (menu_quit_handler):
	Use mac_quit_char_key_p.
951 952 953 954 955 956 957 958 959 960 961

	* macterm.c (XDrawLine): Rename from mac_draw_line_to_pixmap.
	(XCreateGC): Change type of 2nd argument to void *.
	(XFreeGC) [USE_CG_DRAWING && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
	Fix last change.
	(mac_to_emacs_modifiers): Change return type to int.
	[USE_CARBON_EVENTS] (mac_event_to_emacs_modifiers): Likewise.
	(mac_mapped_modifiers): New function.
	(XTread_socket): Use it.
	[USE_TSM] (mac_handle_text_input_event): Likewise.
	(do_window_update) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw.
962 963
	(mac_quit_char_modifiers, mac_quit_char_keycode) [MAC_OSX]:
	Remove variables.
964 965 966 967 968 969 970 971 972 973 974
	(mac_determine_quit_char_modifiers, init_quit_char_handler)
	[MAC_OSX]: Remove functions.
	(make_ctrl_char) [MAC_OSX]: Add extern.
	(mac_quit_char_key_p) [MAC_OSX]: New function.
	(mac_initialize) [MAC_OSX]: Don't call init_quit_char_handler.

	* macterm.h (FONT_MAX_WIDTH): Remove unused macro.
	(XCreateGC): Change type in extern.
	(XDrawLine): Rename from mac_draw_line_to_pixmap.
	(mac_quit_char_key_p) [MAC_OSX]: Add extern.

975 976
2007-01-08  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

977 978 979
	* keyboard.c (init_keyboard): Initialize interrupt_input_blocked and
	interrupt_input_pending.

980 981 982
	* xterm.h (x_display_info): New: net_supported_atoms,
	nr_net_supported_atoms and net_supported_window.

Juanma Barranquero's avatar
Juanma Barranquero committed
983
	* xterm.c (last_user_time): New variable.
984 985 986 987 988 989 990
	(handle_one_xevent): Set last_user_time from events that have Time.
	Set net_supported_window to 0 when reparented.
	(wm_supports): New function.
	(do_ewmh_fullscreen): Use wm_supports to check for _NET_WM_STATE.
	(x_term_init): Initialize net_supported_atoms, nr_net_supported_atoms
	and net_supported_window.

Kim F. Storm's avatar
Kim F. Storm committed
991 992 993 994 995
2007-01-05  Kim F. Storm  <storm@cua.dk>

	* indent.c (Fvertical_motion): Fix it overshoot check for overlay
	strings without embedded newlines immediately followed by newline.

996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033
2007-01-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* editfns.c (Fformat_time_string, Fdecode_time, Fencode_time)
	(Fcurrent_time_string, Fcurrent_time_zone): Add BLOCK_INPUT around
	gmtime/localtime/emacs_memftimeu/mktime.

	* mac.c (Fmac_set_file_creator): Use MAC_EMACS_CREATOR_CODE
	instead of 'EMAx'.
	[!MAC_OSX] (sys_open, sys_creat, sys_fopen): Likewise.

	* macgui.h (struct _XGC) [USE_CG_DRAWING
	&& MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New members cg_fore_color
	and cg_back_color.

	* macmenu.c (Vshow_help_function) [TARGET_API_MAC_CARBON]: Add extern.
	(restore_show_help_function, menu_target_item_handler)
	[TARGET_API_MAC_CARBON]: New functions.
	(install_menu_target_item_handler): New function.
	(add_menu_item) [TARGET_API_MAC_CARBON]: Set help string as menu
	item property.

	* macterm.c (CG_SET_FILL_COLOR_MAYBE_WITH_CGCOLOR)
	(CG_SET_FILL_COLOR_WITH_GC_FOREGROUND)
	(CG_SET_FILL_COLOR_WITH_GC_BACKGROUND)
	(CG_SET_STROKE_COLOR_MAYBE_WITH_CGCOLOR)
	(CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND): New macros.
	(mac_cg_color_space_rgb) [USE_CG_DRAWING]: New variable.
	(mac_cg_color_black) [USE_CG_DRAWING
	&& MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New variable.
	(init_cg_color) [USE_CG_DRAWING]: New function.
	(mac_draw_line, mac_draw_rectangle) [USE_CG_DRAWING]: Use
	CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND instead of CG_SET_STROKE_COLOR.
	(mac_erase_rectangle, mac_clear_window, mac_draw_cg_image)
	(mac_fill_rectangle, mac_draw_image_string_cg) [USE_CG_DRAWING]:
	Use CG_SET_FILL_COLOR_WITH_GC_FOREGROUND or
	CG_SET_FILL_COLOR_WITH_GC_BACKGROUND instead of CG_SET_FILL_COLOR.
	(mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Likewise.
	(XCreateGC, XFreeGC, XSetForeground, XSetBackground) [USE_CG_DRAWING
Juanma Barranquero's avatar
Juanma Barranquero committed
1034
	&& MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Use gc->cg_fore_color and/or
1035 1036 1037 1038 1039
	gc->cg_back_color.
	(install_drag_handler, remove_drag_handler): Make extern.
	(install_menu_target_item_handler): Add extern.
	(install_window_handler): Call install_menu_target_item_handler.
	[MAC_OS8] (main): Use MAC_EMACS_CREATOR_CODE instead of 'EMAx'.
Kim F. Storm's avatar
Kim F. Storm committed
1040
	(mac_initialize) [USE_CG_DRAWING]: Call init_cg_color.
1041 1042 1043

	* macterm.h (MAC_EMACS_CREATOR_CODE): New enumerator.

1044 1045 1046 1047
2007-01-04  Juanma Barranquero  <lekktu@gmail.com>

	* window.c (Fwindow_end): Fix use of >= operator.

1048 1049 1050 1051
2007-01-03  Richard Stallman  <rms@gnu.org>

	* window.c (Fwindow_end): Check BUF_OVERLAY_MODIFF like BUF_MODIFF.

Jan Djärv's avatar
Jan Djärv committed
1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063
2007-01-02  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gtkutil.h (xg_menu_item_cb_data_): Remove highlight_id and
	unhighlight_id.

	* gtkutil.c (menuitem_highlight_callback): Invoked widget is the
	parent of the menu item.  Get menu item widget from event.
	(xg_create_one_menuitem, xg_update_menu_item): highlight_id and
	unhighlight_id has been removed.
	(create_menus): Connect enter/leave-notify-event to the menu instead
	of individual items.

1064 1065 1066 1067 1068 1069 1070
2006-12-31  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gtkutil.c (update_frame_tool_bar): Connect create-menu-proxy with
	xg_tool_bar_menu_proxy.
	(xg_tool_bar_menu_proxy): New function.
	(xg_tool_bar_proxy_callback): New function.

1071 1072 1073 1074 1075 1076 1077
2006-12-30  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gtkutil.c (xg_tool_bar_button_cb): Save last modifier on widget.
	(xg_tool_bar_callback): Remove check for button.
	(update_frame_tool_bar): Put an event box in the tool bar and a button
	in the event box.  Attach enter/leave-notify-event to the event box.

1078 1079 1080 1081
2006-12-30  Richard Stallman  <rms@gnu.org>

	* keymap.c (Fdefine_key): Doc fix.

Kim F. Storm's avatar
Kim F. Storm committed
1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099
2006-12-29  Kim F. Storm  <storm@cua.dk>

	* frame.h (struct frame): New member minimize_tool_bar_window_p.

	* xdisp.c (auto_resize_tool_bars_p): Replace with ...
	(Vauto_resize_tool_bars): ... this.
	(syms_of_xdisp): DEFVAR_LISP and initialize it.  Update doc string
	to describe new value `grow-only', and use of C-l.
	(display_tool_bar_line): Only use default face for border below
	toolbar if not grow-only (to get acceptable visual appearence).
	Explicitly set visible_height for empty toolbar lines.
	(redisplay_tool_bar): Handle `grow-only' setting.  Check and clear
	minimize_tool_bar_window_p flag.

	* window.c (Frecenter): Set minimize_tool_bar_window_p flag
	when called without arg to redraw with minimum toolbar height.
	Update doc string.

1100 1101 1102
2006-12-29  Jason Rumney  <jasonr@gnu.org>

	* s/ms-w32.h (tzname): Do not define in msvc8.
Eli Zaretskii's avatar
Eli Zaretskii committed
1103
	(utime): Do not define in msvc8.
1104 1105 1106

	* regex.c (regerror): Change parameter name err_code.

1107 1108
2006-12-26  Richard Stallman  <rms@gnu.org>

1109 1110
	* search.c (Fsearch_forward): Doc fix.

1111 1112
	* callint.c (Finteractive): Doc fix.

Kim F. Storm's avatar
Kim F. Storm committed
1113 1114 1115 1116
2006-12-25  Kim F. Storm  <storm@cua.dk>

	* s/ms-w32.h (BROKEN_DATAGRAM_SOCKETS): Define it.

Eli Zaretskii's avatar
Eli Zaretskii committed
1117 1118 1119 1120
2006-12-23  Eli Zaretskii  <eliz@gnu.org>

	* keyboard.c (some_mouse_moved): Fix last change.

Eli Zaretskii's avatar
Eli Zaretskii committed
1121 1122 1123 1124
2006-12-22  Eli Zaretskii  <eliz@gnu.org>

	* callproc.c (syms_of_callproc) <shell-file-name>: Doc fix.

Eli Zaretskii's avatar
Eli Zaretskii committed
1125 1126 1127 1128 1129
2006-12-22  Mark Davies  <mark@mcs.vuw.ac.nz>

	* m/amdx86-64.h, m/hp800.h: Add support for NetBSD.
	* m/sh3el.h: New file.

Eli Zaretskii's avatar
Eli Zaretskii committed
1130 1131
2006-12-22  Eli Zaretskii  <eliz@gnu.org>

1132 1133
	* makefile.w32-in (emacs, temacs): Depend on stamp_BLD instead of
	$(BLD).
Eli Zaretskii's avatar
Eli Zaretskii committed
1134 1135
	($(OBJ0) $(OBJ1) $(WIN32OBJ)): New dependency on stamp_BLD.
	(bootstrap-temacs): Pass $(XMFLAGS) to sub-make.
Eli Zaretskii's avatar
Eli Zaretskii committed
1136
	($(OBJ0) $(OBJ1) $(WIN32OBJ)): Add lastfile.$(O) and firstfile.$(O).
Eli Zaretskii's avatar
Eli Zaretskii committed
1137
	(clean): Delete stamp_BLD.
Eli Zaretskii's avatar
Eli Zaretskii committed
1138

1139 1140
2006-12-22  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

1141 1142
	* macfns.c (mac_update_title_bar) [TARGET_API_MAC_CARBON]:
	Call mac_update_proxy_icon also when buffer modification flag changed.
1143 1144 1145
	[TARGET_API_MAC_CARBON] (mac_update_proxy_icon): Don't update alias,
	but compare FSRef/FSSpec of resolved alias.

Kim F. Storm's avatar
Kim F. Storm committed
1146 1147 1148 1149
2006-12-21  Kim F. Storm  <storm@cua.dk>

	* w32.c (_sys_wait_accept): Fix handle leak.

Jan Djärv's avatar
Jan Djärv committed
1150 1151
2006-12-20  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

1152 1153
	* sound.c: Include <alsa/asoundlib.h> if ALSA_SUBDIR_INCLUDE is
	defined.
Jan Djärv's avatar
Jan Djärv committed
1154

Kim F. Storm's avatar
Kim F. Storm committed
1155 1156 1157 1158
2006-12-20  Kim F. Storm  <storm@cua.dk>

	* s/ms-w32.h (BROKEN_NON_BLOCKING_CONNECT): Define it.

Juanma Barranquero's avatar
Juanma Barranquero committed
1159 1160 1161 1162 1163 1164
2006-12-19  Juanma Barranquero  <lekktu@gmail.com>

	* keyboard.c (syms_of_keyboard) <double-click-time>:
	* mac.c (Fmac_code_convert_string):
	* search.c (Fsearch_forward): Doc fixes.

Kim F. Storm's avatar
Kim F. Storm committed
1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184
2006-12-19  Kim F. Storm  <storm@cua.dk>

	Rework 2006-12-04 change.  A SIGUSR1 (SIGUSR2) signal now generates
	a sigusr1 event instead of [signal usr1] sequence, and signal events
	are now supposed to be handled via special-event-map.

	* keyboard.c (kbd_buffer_store_event_hold): Undo 2006-12-04 change.
	(make_lispy_event): Don't generate Qsignal prefix for code 0.
	Abort if signal code is unknown.
	(store_user_signal_events): Don't make Qsignal prefix (code 0).
	(Qsignal): Move declaration back to process.c.
	(syms_of_keyboard): Don't intern or staticpro it here.

	* process.c (Qsignal): Declare here.
	(syms_of_process): Intern or staticpro it.

	* emacs.c (main): Rename user signals to sigusr1 and sigusr2.

	* .gdbinit: Pass on SIGUSR1 and SIGUSR2 to Emacs.

Juanma Barranquero's avatar
Juanma Barranquero committed
1185 1186
2006-12-19  Juanma Barranquero  <lekktu@gmail.com>

1187
	* buffer.c (syms_of_buffer) <buffer-display-table>:
Juanma Barranquero's avatar
Juanma Barranquero committed
1188 1189
	<scroll-up-aggressively, scroll-down-aggressively>: Doc fixes.

1190 1191 1192 1193 1194 1195
2006-12-17  Richard Stallman  <rms@gnu.org>

	* fileio.c (Fread_file_name_internal): Pass Vread_file_name_predicate
	to Ffile_name_completion.

	* dired.c (file_name_completion): New arg PREDICATE.  Some cleanup.
Juanma Barranquero's avatar
Juanma Barranquero committed
1196
	(Ffile_name_completion): New arg PREDICATE.
1197

Juanma Barranquero's avatar
Juanma Barranquero committed
1198 1199 1200 1201 1202
2006-12-17  Juanma Barranquero  <lekktu@gmail.com>

	* buffer.c (Fkill_buffer): Doc fix.
	(syms_of_buffer) <kill-buffer-query-functions>: Doc fix.

Juanma Barranquero's avatar
Juanma Barranquero committed
1203 1204 1205 1206
2006-12-16  Juanma Barranquero  <lekktu@gmail.com>

	* minibuf.c (Ftry_completion): Check that obarray buckets are symbols.

Eli Zaretskii's avatar
Eli Zaretskii committed
1207 1208
2006-12-16  Eli Zaretskii  <eliz@gnu.org>

Eli Zaretskii's avatar
Eli Zaretskii committed
1209 1210 1211
	* w32fns.c (w32-window-exists-p): New function.
	(syms_of_w32fns): Defsubr it.

Eli Zaretskii's avatar
Eli Zaretskii committed
1212 1213
	* prefix-args.c [STDC_HEADERS]: Include stdlib.h.

1214 1215 1216 1217
2006-12-16  Juanma Barranquero  <lekktu@gmail.com>

	* minibuf.c (Ftry_completion): Use `check_obarray' if ALIST is a vector.

Eli Zaretskii's avatar
Eli Zaretskii committed
1218 1219 1220 1221
2006-12-15  Eli Zaretskii  <eliz@gnu.org>

	* emacs.c (USAGE3): Clarify documentation of --color.

YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
1222 1223
2006-12-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

1224 1225
	* mac.c (wakeup_from_rne_enabled_p) [TARGET_API_MAC_CARBON]:
	New variable.
YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
1226 1227 1228 1229 1230 1231 1232 1233 1234
	(ENABLE_WAKEUP_FROM_RNE, DISABLE_WAKEUP_FROM_RNE): New macros.
	[!MAC_OSX] (select): Use them.
	[MAC_OSX] (select_and_poll_event, sys_select): Likewise.
	(mac_wakeup_from_rne) [TARGET_API_MAC_CARBON]: New function.

	* macfns.c (mac_atsu_font_face_attributes) [USE_ATSUI]: Add extern.
	(Fmac_atsu_font_face_attributes) [USE_ATSUI]: New function.
	(syms_of_macfns) [USE_ATSUI]: Defsubr it.

1235 1236
	* macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag):
	Use mac_wakeup_from_rne instead of mac_post_mouse_moved_event.
YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
1237 1238 1239

	* macterm.c (mac_query_char_extents) [USE_ATSUI]: Don't call
	ATSUGetGlyphBounds if not necessary.
1240
	(Vmac_atsu_font_table) [USE_ATSUI]: Remove variable.
YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
1241 1242 1243 1244 1245 1246 1247 1248
	(syms_of_macterm) [USE_ATSUI]: Don't defvar it.
	(fm_get_style_from_font, atsu_find_font_from_family_name)
	(atsu_find_font_family_name, mac_atsu_font_face_attributes)
	[USE_ATSUI]: New functions.
	(init_font_name_table) [USE_ATSUI]: Use atsu_find_font_family_name.
	(mac_load_query_font) [USE_ATSUI]: Use atsu_find_font_from_family_name.
	Don't get metrics for Latin-1 right half characters.
	(mac_load_query_font): Don't load font if space width is not positive.
1249 1250
	[TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event):
	Use mac_wakeup_from_rne instead of mac_post_mouse_moved_event.
YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
1251 1252 1253 1254
	(XTread_socket): Call SelectWindow when unfocused frame is clicked.

	* macterm.h (mac_wakeup_from_rne) [TARGET_API_MAC_CARBON]: Add extern.

Kim F. Storm's avatar
Kim F. Storm committed
1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265
2006-12-15  Kim F. Storm  <storm@cua.dk>

	* keyboard.c (ignore_mouse_drag_p): New global var.
	(some_mouse_moved): Return 0 if it is non-zero.
	(make_lispy_event): Generate click event on mouse up if
	ignore_mouse_drag_p is non-zero, even if mouse moved.
	Clear ignore_mouse_drag_p on mouse down/up.

	* xdisp.c (redisplay_window): Set ignore_mouse_drag_p if tool-bar
	is resized to avoid generating a mouse drag event.

1266 1267 1268 1269 1270
2006-12-14  Juanma Barranquero  <lekktu@gmail.com>

	* w32fns.c (w32_wnd_proc): Force non-tooltip frames to respect the
	minimum tracking size.  Remove non-working old hack to do the same.

1271 1272 1273 1274 1275 1276 1277 1278 1279
2006-12-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* emacs.c (handle_user_signal): Move function to keyboard.c.
	(main): Use add_user_signal for SIGUSR1 and SIGUSR2.

	* keyboard.c (make_lispy_event): Use find_user_signal_name.
	(read_avail_input): Store pending user signal events.
	(struct user_signal_info): New struct.
	(user_signals): New variable.
YAMAMOTO Mitsuharu's avatar
YAMAMOTO Mitsuharu committed
1280 1281
	(add_user_signal, store_user_signal_events)
	(find_user_signal_name): New functions.
1282 1283 1284 1285 1286
	(handle_user_signal): Move function from emacs.c.  Don't store
	USER_SIGNAL_EVENT here, but increment number of pending signals.

	* keyboard.h (add_user_signals): Add extern.

1287 1288 1289 1290 1291 1292
2006-12-11  Juanma Barranquero  <lekktu@gmail.com>

	* buffer.c (syms_of_buffer) <cursor-in-non-selected-windows>:
	<default-scroll-up-aggressively, default-scroll-down-aggressively>:
	<line-spacing, left-margin>: Doc fixes.

Juanma Barranquero's avatar
Juanma Barranquero committed
1293 1294
	* xdisp.c (syms_of_xdisp) <mode-line-inverse-video>: Doc fix.

Kim F. Storm's avatar
Kim F. Storm committed
1295 1296 1297 1298
2006-12-10  Kim F. Storm  <storm@cua.dk>

	* xdisp.c (show_mouse_face): Never use text cursor in tool-bar.

Juanma Barranquero's avatar
Juanma Barranquero committed
1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315
2006-12-10  Juanma Barranquero  <lekktu@gmail.com>

	* abbrev.c (syms_of_abbrev) <last-abbrev-text>:
	* buffer.c (syms_of_buffer) <default-major-mode>:
	* keymap.c (Flookup_key):
	* lread.c (Feval_buffer, Feval_region):
	* macterm.c (syms_of_macterm) <x-use-underline-position-properties>:
	<x-underline-at-descent-line, mac-emulate-three-button-mouse>:
	* marker.c (Fmarker_insertion_type):
	* minibuf.c (syms_of_minibuf) <minibuffer-completion-table>:
	* msdos.c (syms_of_msdos) <delete-exited-processes>:
	* w32term.c (syms_of_w32term) <x-use-underline-position-properties>:
	<x-underline-at-descent-line>:
	* xdisp.c (format-mode-line):
	* xterm.c (syms_of_xterm) <x-use-underline-position-properties>:
	<x-underline-at-descent-line>: Doc fixes.

Andreas Schwab's avatar
Andreas Schwab committed
1316 1317 1318 1319 1320
2006-12-10  Andreas Schwab  <schwab@suse.de>

	* systime.h (EMACS_GET_TIME): Remove check for
	HAVE_STRUCT_TIMEZONE which is never defined.

1321 1322 1323 1324 1325
2006-12-10  Alan Mackenzie  <acm@muc.de>

	* syntax.c (Fpartial_parse_sexp): Correct Docco: Elt 8 of the
	result is now neither the last elt nor optional for OLDSTATE.

Eli Zaretskii's avatar
Eli Zaretskii committed
1326 1327 1328 1329 1330
2006-12-09  Eli Zaretskii  <eliz@gnu.org>

	* process.c (Fsignal_process): Doc fix.  Use XFLOAT_DATA to
	extract the process ID from a Lisp float.

1331 1332
2006-12-09  Chong Yidong  <cyd@stupidchicken.com>

Juanma Barranquero's avatar
Juanma Barranquero committed
1333
	* xterm.c (XTframe_raise_lower): Comment out _NET_ACTIVE_WINDOW code.
1334

Eli Zaretskii's avatar
Eli Zaretskii committed
1335 1336 1337 1338 1339 1340 1341
2006-12-08  Eli Zaretskii  <eliz@gnu.org>

	* frame.h (PIX_TYPE): Redefine as `unsigned long', for 64-bit
	platforms where long is 64-bit.

	* msdos.h (PIX_TYPE): Redefine as `unsigned long'.

Juanma Barranquero's avatar
Juanma Barranquero committed
1342
2006-12-08  NAKAJI Hiroyuki  <nakaji@jp.freebsd.org>  (tiny change)
1343 1344 1345

	* m/amdx86-64.h: Add support for Solaris 10 on x86-64.

Kenichi Handa's avatar
Kenichi Handa committed
1346 1347 1348 1349
2006-12-08  Kenichi Handa  <handa@m17n.org>

	* xterm.c (x_query_font): Use xstricmp instead off strcasecmp.

Juanma Barranquero's avatar
Juanma Barranquero committed
1350 1351 1352 1353
2006-12-08  Juanma Barranquero  <lekktu@gmail.com>

	* emacs.c (syms_of_emacs) <system-type>: Doc fix.

Kim F. Storm's avatar
Kim F. Storm committed
1354 1355 1356 1357 1358
2006-12-07  Kim F. Storm  <storm@cua.dk>

	* process.c (parse_signal): Use xstricmp instead of strcasecmp.
	(Fsignal_process): Don't use strncasecmp.

Glenn Morris's avatar
Glenn Morris committed
1359 1360 1361 1362 1363 1364 1365
2006-12-05  Glenn Morris  <rgm@gnu.org>

	* abbrev.c (Qforce): New Lisp_Object.
	(Fdefine_abbrev): Do not overwrite non-system abbrevs with system
	abbrevs, unless 'force is applied.
	(syms_of_abbrev): Add Qforce.

Kim F. Storm's avatar
Kim F. Storm committed
1366 1367
2006-12-04  Kim F. Storm  <storm@cua.dk>

Kim F. Storm's avatar
Kim F. Storm committed
1368 1369 1370 1371
	* process.c (parse_signal): Rename macro from handle_signal.
	(Fsignal_process): Also accept lower-case variants of signal
	names (to align with signal names generated by Emacs itself).

Kim F. Storm's avatar
Kim F. Storm committed
1372 1373 1374 1375 1376 1377 1378 1379 1380
	* emacs.c (handle_USR1_signal, handle_USR2_signal): Replace by...
	(handle_user_signal): ... this, which generates two USER_SIGNAL_EVENTs
	first with code == 0 [signal] and one with code == sig number.
	(main): Use it as handler for SIGUR1 and SIGUSR2.

	* keyboard.c (kbd_buffer_store_event_hold): Don't throw-on-input
	if first event in [signal xxx] sequence.
	(lispy_user_signals, Qusr1_signal, Qusr2_signal): Remove.
	(syms_of_keyboard): Don't intern and staticpro them.