ChangeLog 134 KB
Newer Older
1 2 3 4
2008-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* xfaces.c (face_at_buffer_position): Remove unused vars.

5 6 7 8 9
2008-02-01  Kenichi Handa  <handa@ni.aist.go.jp>

	* ccl.c (CCL_WRITE_CHAR): Fix overflow checking.
	(CCL_WRITE_MULTIBYTE_CHAR): Likewise.

10 11 12 13 14
2008-01-31  Kenichi Handa  <handa@ni.aist.go.jp>

	* keyboard.c (make_ctrl_char): If C is a multibyte character, just
	return it ORed with ctrl_modifier.

15 16 17 18
2008-01-29  Miles Bader  <miles@gnu.org>

	* macterm.c (XTset_vertical_scroll_bar): Fix merge mistake.

Jason Rumney's avatar
Jason Rumney committed
19 20 21 22
2008-01-28  Jason Rumney  <jasonr@gnu.org>

	* w32.c (stat): Don't double check for networked drive.

23 24
2008-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>

25 26 27 28 29 30
	* window.c (run_window_configuration_change_hook): New function.
	Code extracted from set_window_buffer.  Set the selected frame.
	(set_window_buffer): Use it.
	* window.h (run_window_configuration_change_hook): Declare.
	* dispnew.c (change_frame_size_1): Use it instead of set-window-buffer.

31 32
	* keyboard.c (read_char): Yet another int/Lisp_Object mixup (YAILOM).

33 34 35 36
2008-01-27  Dan Nicolaescu  <dann@ics.uci.edu>

	* Makefile.in: Remove references to unused macros.

37 38 39 40 41 42
2008-01-26  Eli Zaretskii  <eliz@gnu.org>

	* w32.c (g_b_init_get_sid_sub_authority)
	(g_b_init_get_sid_sub_authority_count): New static variables.
	(GetSidSubAuthority_Proc, GetSidSubAuthorityCount_Proc): New typedefs.
	(get_sid_sub_authority, get_sid_sub_authority_count): New functions.
43 44
	(init_user_info): Use them to retrieve uid and gid.
	Use 500/513, the Windows defaults, as Administrator's uid/gid.
45 46
	(fstat): Use pw_uid and pw_gid from the_passwd structure for
	st_uid and st_gid of the file.
47

48 49 50 51 52
2008-01-26  Jason Rumney  <jasonr@gnu.org>

	* w32.c (logon_network_drive): New function.
	(stat): Use it.

53 54 55 56 57
2008-01-26  Chong Yidong  <cyd@stupidchicken.com>

	* xdisp.c (pos_visible_p): Handle the case where charpos falls on
	invisible text covered with an ellipsis.

58 59 60 61 62 63 64 65 66 67
2008-01-25  Richard Stallman  <rms@gnu.org>

	* xdisp.c (redisplay_window): Run Qwindow_text_change_functions and
	jump back to beginning.  Move some other initializations after that.
	(Qwindow_text_change_functions, Vwindow_text_change_functions):
	New variables.
	(syms_of_xdisp): Init them.

	* keyboard.c (read_char): Restore echo_message_buffer after redisplay.

68 69
	* buffer.c (reset_buffer_local_variables):
	Implement `permanent-local-hook'.
70
	(Qpermanent_local_hook): New variable.
71
	(syms_of_buffer): Init and staticpro it.
72

Michael Albinus's avatar
Michael Albinus committed
73 74 75 76
2008-01-25  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (xd_retrieve_arg): Pacify GCC on x86_64 GNU/Linux.

Thien-Thi Nguyen's avatar
Thien-Thi Nguyen committed
77 78 79 80
2008-01-25  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* fns.c (Fclrhash): Return TABLE.

81
2008-01-23  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
82 83 84 85 86 87 88 89

	* macterm.c (x_scroll_bar_create): Initialize bar->redraw_needed_p.
	(XTset_vertical_scroll_bar): Redraw scroll bar if bar->redraw_needed_p
	is set even without positional changes.
	(x_scroll_bar_clear): Set bar->redraw_needed_p.

	* macterm.h (struct scroll_bar): New member `redraw_needed_p'.

90
2008-01-23  Jason Rumney  <jasonr@gnu.org>
91

92 93
	* xterm.c (handle_one_xevent): Revert to counting chars not bytes.

94 95
	* w32term.c (w32_read_socket) <WM_CHAR>: Decode characters outside
	the unicode range available in MULE by locale-coding-system.
Juanma Barranquero's avatar
Juanma Barranquero committed
96
	Improve dbcs lead byte detection.  Set event timestamp and modifiers
97 98
	earlier.

99
2008-01-23  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
100 101 102 103 104 105

	* mac.c (mac_emacs_pid) [MAC_OSX]: New variable.
	[MAC_OSX] (init_mac_osx_environment): Initialize it.
	[MAC_OSX] (mac_try_close_socket) [SELECT_USE_CFSOCKET]:	Return 0
	when used on child processes.

106 107
2008-01-21  Michael Albinus  <michael.albinus@gmx.de>

Glenn Morris's avatar
Glenn Morris committed
108
	* dbusbind.c (Fdbus_method_return_internal): Rename from
109
	Fdbus_method_return.
Glenn Morris's avatar
Glenn Morris committed
110
	(Fdbus_unregister_object): Move to dbus.el.
111
	(Fdbus_call_method, Fdbus_method_return_internal)
Glenn Morris's avatar
Glenn Morris committed
112
	(Fdbus_send_signal): Improve debug messages.
113

114 115 116 117 118 119 120
2008-01-20  Martin Rudalics  <rudalics@gmx.at>

	* undo.c (undo_inhibit_record_point): New variable.
	(syms_of_undo): Initialize it.
	(record_point): Don't record point when undo_inhibit_record_point
	is set.

121 122
2008-01-19  Stefan Monnier  <monnier@iro.umontreal.ca>

123 124
	* process.c (list_processes_1): Don't use SCHARS on a nil buffer name.

125 126 127 128 129 130
	* xdisp.c (Qauto_hscroll_mode): New var.
	(syms_of_xdisp): Initialize it.
	(hscroll_window_tree): Use it to lookup `auto-hscroll-mode' in each
	window's buffer.
	(hscroll_windows): Don't check automatic_hscrolling_p here.

131 132 133
	* window.c (set_window_buffer): Don't unnecessarily reset hscroll and
	vscroll if we're setting window-buffer to the value it already has.

134 135 136 137
2008-01-18  Dan Nicolaescu  <dann@ics.uci.edu>

	* m/intel386.h: Remove references to XENIX.

Andreas Schwab's avatar
Andreas Schwab committed
138 139 140 141 142 143
2008-01-17  Andreas Schwab  <schwab@suse.de>

	* m/amdx86-64.h (START_FILES, LIB_STANDARD): Use HAVE_LIB64_DIR
	instead of HAVE_X86_64_LIB64_DIR.
	* m/ibms390x.h (START_FILES, LIB_STANDARD): Likewise.

144 145 146 147 148
2008-01-17  Glenn Morris  <rgm@gnu.org>

	* m/ibms390x.h (START_FILES, LIB_STANDARD): Adjust value according
	to HAVE_X86_64_LIB64_DIR.

149 150 151 152 153 154 155 156 157 158 159 160
2008-01-16  Dan Nicolaescu  <dann@ics.uci.edu>

	* s/irix3-3.h:
	* s/irix4-0.h:
	* s/386-ix.h:
	* s/domain.h:
	* s/hpux9-x11r4.h:
	* s/hpux9shxr4.h: Remove files for systems no longer supported.

	* sysdep.c: Remove code containing references to symbols defined
	by unsupported systems.

161 162 163 164
2008-01-16  Glenn Morris  <rgm@gnu.org>

	* coding.c (select-safe-coding-system-function): Doc fix.

165 166 167 168
2008-01-15  Glenn Morris  <rgm@gnu.org>

	* config.in: Revert 2008-01-13 change: this is a generated file.

Michael Olson's avatar
Michael Olson committed
169 170 171 172
2008-01-13  Tom Tromey  <tromey@redhat.com>

	* lisp.h: Fix typo.

173 174
2008-01-13  Dan Nicolaescu  <dann@ics.uci.edu>

175 176 177 178 179 180
	* m/sequent-ptx.h:
	* m/sequent.h:
	* s/ptx.h:
	* s/ptx4-2.h:
	* s/ptx4.h: Remove files for systems no longer supported.

Juanma Barranquero's avatar
Juanma Barranquero committed
181
	* callproc.c (Fcall_process): Fix previous change.
182

Dan Nicolaescu's avatar
Dan Nicolaescu committed
183 184
2008-01-13  Dan Nicolaescu  <dann@ics.uci.edu>

Juanma Barranquero's avatar
Juanma Barranquero committed
185
	* unexsunos4.c: Remove file, system not supported anymore.
Dan Nicolaescu's avatar
Dan Nicolaescu committed
186

Juanma Barranquero's avatar
Juanma Barranquero committed
187 188
	* src/m/mips.h:
	* src/m/intel386.h:
Dan Nicolaescu's avatar
Dan Nicolaescu committed
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207
	* callproc.c:
	* config.in:
	* ecrt0.c:
	* emacs.c:
	* fileio.c:
	* frame.c:
	* getpagesize.h:
	* keyboard.c:
	* lread.c:
	* process.c:
	* puresize.h:
	* sysdep.c:
	* systty.h:
	* syswait.h:
	* unexec.c:
	* xdisp.c:
	* alloc.c: Remove code containing references to symbols defined by
	unsupported systems.

208 209 210 211
2008-01-11  Kenichi Handa  <handa@ni.aist.go.jp>

	* coding.c (detect_coding_mask): Fix previous change.

212 213 214 215 216
2008-01-10  Chong Yidong  <cyd@stupidchicken.com>

	* process.c (wait_reading_process_output): Check for window
	changes caused by timers.

Kenichi Handa's avatar
Kenichi Handa committed
217 218 219 220 221 222 223 224 225 226
2008-01-09  Kenichi Handa  <handa@ni.aist.go.jp>

	* coding.c (detect_coding_iso2022): New arg
	latin_extra_code_state.  Allow Latin extra codes only
	when *latin_extra_code_state is nonzero.
	(detect_coding_mask): If there is a NULL byte, detect the encoding
	as UTF-16 or binary.  If Latin extra codes exist, detect the
	encoding as ISO-2022 only when there's no other proper encoding is
	found.

Miles Bader's avatar
Miles Bader committed
227
2008-01-08  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
Glenn Morris's avatar
Glenn Morris committed
228

Miles Bader's avatar
Miles Bader committed
229 230
	* frame.c (Fmake_terminal_frame): Use #ifdef MAC_OS8 instead of
	#ifdef MAC_OS.
231

Miles Bader's avatar
Miles Bader committed
232
2008-01-08  Richard Stallman  <rms@gnu.org>
233

Miles Bader's avatar
Miles Bader committed
234
	* fileio.c (Ffile_name_directory, Fexpand_file_name): Doc fixes.
235

Nick Roberts's avatar
Nick Roberts committed
236 237
2008-01-06  Nick Roberts  <nickrob@snap.net.nz>

Juanma Barranquero's avatar
Juanma Barranquero committed
238
	* keyboard.c (parse_menu_item): Don't enclose key bindings on
Nick Roberts's avatar
Nick Roberts committed
239 240
	menu bar in parentheses.

241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 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 355
2008-01-06  Dan Nicolaescu  <dann@ics.uci.edu>

	* m/7300.h:
	* m/acorn.h:
	* m/alliant-2800.h:
	* m/alliant.h:
	* m/alliant1.h:
	* m/alliant4.h:
	* m/altos.h:
	* m/amdahl.h:
	* m/apollo.h:
	* m/att3b.h:
	* m/aviion-intel.h:
	* m/aviion.h:
	* m/celerity.h:
	* m/clipper.h:
	* m/cnvrgnt.h:
	* m/convex.h:
	* m/cydra5.h:
	* m/delta88k.h:
	* m/dpx2.h:
	* m/dual.h:
	* m/elxsi.h:
	* m/f301.h:
	* m/gould-np1.h:
	* m/gould.h:
	* m/i860.h:
	* m/ibmps2-aix.h:
	* m/ibmrt-aix.h:
	* m/ibmrt.h:
	* m/irist.h:
	* m/is386.h:
	* m/isi-ov.h:
	* m/mega68.h:
	* m/mg1.h:
	* m/news-r6.h:
	* m/news-risc.h:
	* m/news.h:
	* m/nh3000.h:
	* m/nh4000.h:
	* m/ns16000.h:
	* m/ns32000.h:
	* m/nu.h:
	* m/orion.h:
	* m/orion105.h:
	* m/paragon.h:
	* m/pfa50.h:
	* m/plexus.h:
	* m/pyramid.h:
	* m/pyrmips.h:
	* m/sh3el.h:
	* m/sps7.h:
	* m/sr2k.h:
	* m/stride.h:
	* m/sun1.h:
	* m/sun2.h:
	* m/sun3-68881.h:
	* m/sun3-fpa.h:
	* m/sun3-soft.h:
	* m/sun3.h:
	* m/sun386.h:
	* m/symmetry.h:
	* m/tad68k.h:
	* m/tahoe.h:
	* m/targon31.h:
	* m/tek4300.h:
	* m/tekxd88.h:
	* m/tower32.h:
	* m/tower32v3.h:
	* m/ustation.h:
	* m/wicat.h:
	* m/xps100.h:
	* s/cxux.h:
	* s/cxux7.h:
	* s/dgux.h:
	* s/dgux4.h:
	* s/dgux5-4-3.h:
	* s/dgux5-4r2.h:
	* s/esix.h:
	* s/esix5r4.h:
	* s/hiuxmpp.h:
	* s/hiuxwe2.h:
	* s/iris3-5.h:
	* s/iris3-6.h:
	* s/isc2-2.h:
	* s/isc3-0.h:
	* s/isc4-0.h:
	* s/isc4-1.h:
	* s/newsos5.h:
	* s/newsos6.h:
	* s/osf1.h:
	* s/osf5-0.h:
	* s/riscix1-1.h:
	* s/riscix12.h:
	* s/sco4.h:
	* s/sco5.h:
	* s/sunos4-0.h:
	* s/sunos4-1.h:
	* s/sunos413.h:
	* s/sunos4shr.h:
	* s/umax.h:
	* s/unipl5-2.h:
	* s/xenix.h:
	* cxux-crt0.s:
	* unexapollo.c:
	* unexconvex.c:
	* unexenix.c:
	* unexsni.c: Remove files for systems no longer supported.

	* m/intel386.h: Remove references to unsupported systems.

	* w32.c (get_emacs_configuration): Remove reference to i860.

	* sysdep.c: Remove dead code.

356 357 358
2008-01-05  Dan Nicolaescu  <dann@ics.uci.edu>

	* s/rtu.h:
Juanma Barranquero's avatar
Juanma Barranquero committed
359
	* m/masscomp.h: Remove files.  Platform is obsolete.
360

361 362 363 364 365 366
2008-01-04  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (Fdbus_method_return): New function.
	(xd_read_message): Add the serial number to the event.
	(Fdbus_register_method): Activate the function.

367 368 369 370
2008-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* keyboard.c (read_key_sequence): Fix typo.

371 372 373 374 375 376 377 378 379
2008-01-03  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (all): Replace XCAR by CAR_SAFE and XCDR by CDR_SAFE.
	(xd_signature, xd_append_arg): Handle element type detection for
	empty arrays.
	(Fdbus_call_method, Fdbus_send_signal): Undo type casting for
	SDATA () calls; this must be solved more general.
	(Fdbus_register_signal): Use SBYTES instead of strlen.

380 381 382 383
2008-01-03  Magnus Henoch  <magnus@zemdatav>

	* dbusbind.c (xd_append_arg): Use unsigned char instead of
	unsigned int for byte values (necessary for big-endian platform).
384
	(Fdbus_call_method): Handle the case of no returned arguments.
385

Juanma Barranquero's avatar
Juanma Barranquero committed
386
2007-12-31  Tom Tromey  <tromey@redhat.com>  (tiny change)
387 388 389

	* dbusbind.c (xd_read_message): Use non-static input_event struct.

390 391 392 393
2007-12-31  Magnus Henoch  <mange@freemail.hu>

	* dbusbind.c (xd_signature): Signature of variant is just "v".

394 395
2007-12-30  Michael Albinus  <michael.albinus@gmx.de>

396 397
	* dbusbind.c: Fix several errors and compiler warnings.
	Reported by Tom Tromey <tromey@redhat.com>
398 399 400 401 402 403 404 405 406 407 408 409 410 411
	(XD_ERROR, XD_DEBUG_MESSAGE)
	(XD_DEBUG_VALID_LISP_OBJECT_P): Wrap code with "do ... while (0)".
	(xd_append_arg): Part for basic D-Bus types rewitten.
	(xd_retrieve_arg): Split implementation of DBUS_TYPE_BYTE and
	DBUS_TYPE_(U)INT16.  Don't call XD_DEBUG_MESSAGE with "%f" if not
	appropriate.
	(xd_read_message): Return Qnil.  Don't signal an error; it is not
	useful during event reading.
	(Fdbus_register_signal): Signal an error if the check for
	FUNCTIONP fails.
	(Fdbus_register_method): New function.  The implementation is not
	complete, the call of the function signals an error therefore.
	(Fdbus_unregister_object): New function, renamed from
	Fdbus_unregister_signal.  The initial check signals an error, if
412
	the object is not well formed.
413

414 415 416 417 418
2007-12-30  Richard Stallman  <rms@gnu.org>

	* textprop.c (get_char_property_and_overlay):
	Signal error if POSITION is out of range in a buffer.

419 420 421 422 423
2007-12-29  Martin Rudalics  <rudalics@gmx.at>

	* w32fns.c (Fx_create_frame): Make copy of frame parameters
	because the original parameters are in pure storage now.

424 425 426 427
2007-12-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* xdisp.c (phys_cursor_in_rect_p): Check if cursor is in fringe area.

428 429
2007-12-22  Eli Zaretskii  <eliz@gnu.org>

Miles Bader's avatar
Miles Bader committed
430 431
	* callint.c (syms_of_callint) <command-history>: Add reference to
	history-length in the doc string.
432

Miles Bader's avatar
Miles Bader committed
433
2007-12-17  Jason Rumney  <jasonr@gnu.org>
434

Miles Bader's avatar
Miles Bader committed
435 436
	* w32fns.c (w32_wnd_proc) <WM_KEYDOWN>: Cast char to unsigned
	before passing as wParam.
437

438 439 440 441 442 443 444 445 446
2007-12-22  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (xd_retrieve_arg): Handle DBUS_TYPE_BYTE,
	DBUS_TYPE_INT16, DBUS_TYPE_UINT16, DBUS_TYPE_INT64,
	DBUS_TYPE_UINT64, DBUS_TYPE_DOUBLE and DBUS_TYPE_SIGNATURE.
	Return float when DBUS_TYPE_INT32 or DBUS_TYPE_UINT32 do not fit
	as number.
	(Fdbus_call_method): Fix docstring.

447 448 449 450
2007-12-21  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (XD_BASIC_DBUS_TYPE, XD_DBUS_TYPE_P, XD_NEXT_VALUE):
	New macros.
451
	(XD_SYMBOL_TO_DBUS_TYPE): Rename from XD_LISP_SYMBOL_TO_DBUS_TYPE.
Juanma Barranquero's avatar
Juanma Barranquero committed
452 453
	(XD_OBJECT_TO_DBUS_TYPE): Rename from XD_LISP_OBJECT_TO_DBUS_TYPE.
	Simplify.
454 455 456
	(xd_signature): New function.
	(xd_append_arg): Compute also signatures.  Major rewrite.
	(xd_retrieve_arg): Make debug messages friendly.
457 458
	(Fdbus_call_method, Fdbus_send_signal): Extend docstring.
	Check for signatures of arguments.
459

460 461 462 463 464 465 466
2007-12-19  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (QCdbus_type_byte, QCdbus_type_boolean)
	(QCdbus_type_int16, QCdbus_type_uint16, QCdbus_type_int32)
	(QCdbus_type_uint32, QCdbus_type_int64, QCdbus_type_uint64)
	(QCdbus_type_double, QCdbus_type_string, QCdbus_type_object_path)
	(QCdbus_type_signature, QCdbus_type_array, QCdbus_type_variant)
467
	(QCdbus_type_struct, QCdbus_type_dict_entry): New D-Bus type symbols.
468 469
	(XD_LISP_SYMBOL_TO_DBUS_TYPE): New macro.
	(XD_LISP_OBJECT_TO_DBUS_TYPE): Add compound types.
470
	(xd_retrieve_value): Remove.  Functionality included in ...
471 472 473
	(xd_append_arg): New function.
	(Fdbus_call_method, Fdbus_send_signal): Apply it.

474 475 476 477 478
2007-12-16  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (top): Include <stdio.h>.
	(Fdbus_call_method, Fdbus_send_signal): Apply type cast in
	dbus_message_new_method_call and dbus_message_new_signal.
479 480
	(Fdbus_register_signal): Rename unique_name to uname.
	Check handler for FUNCTIONP instead of CHECK_SYMBOL.  Handle case of
481 482 483 484 485 486 487
	non-existing unique name.  Fix typos in matching rule.  Return an
	object which is useful in Fdbus_unregister_signal.
	(Fdbus_unregister_signal): Reimplementation, in order to remove
	only the corresponding entry.
	(Vdbus_registered_functions_table): Change the order of entries.
	Apply these changes in xd_read_message and Fdbus_register_signal.

488 489 490 491 492
2007-12-16  Andreas Schwab  <schwab@suse.de>

	* fileio.c (Finsert_file_contents): Fix overflow check to not
	depend on undefined integer overflow.

493 494 495 496 497
2007-12-14  Jason Rumney  <jasonr@gnu.org>

	* w32term.c (w32_read_socket): Use MULTIBYTE_CHAR_KEYSTROKE_EVENT
	for characters above 127.

498 499 500 501 502 503
2007-12-13  Jason Rumney  <jasonr@gnu.org>

	* w32fns.c (w32_wnd_proc, Fw32_reconstruct_hot_key): Range check
	before dereferencing array.
	(lookup_vk_code): Remove zero comparison.

504 505 506
2007-12-14  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (xd_retrieve_value, xd_retrieve_arg)
507 508
	(Fdbus_call_method, Fdbus_send_signal, xd_read_message):
	Use `unsigned int' instead of `uint'.
509 510 511 512
	(xd_read_message, Fdbus_register_signal): Split expressions into
	multiple lines before operators "&&" and "||", according to the
	GNU Coding Standards.

Eli Zaretskii's avatar
Eli Zaretskii committed
513 514 515 516
2007-12-14  Eli Zaretskii  <eliz@gnu.org>

	* dispextern.h (WINDOWS_NT): Fix incorrect spelling of WINDOWSNT.

517 518 519 520 521 522
2007-12-12  Juri Linkov  <juri@jurta.org>

	* buffer.c (Frename_buffer): In interactive spec replace
	`read-buffer' with `read-string' that uses `buffer-name-history'
	as history, and the current buffer's name as default.

523 524 525 526 527 528 529 530 531 532 533 534 535
2007-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>

	* keyboard.c (Fcommand_execute): Call Qcall_interactively instead of
	manipulating the backtrace manually.
	(make_lispy_event): Merge the ASCII and MULTIBYTE cases.
	(struct backtrace, backtrace_list): Remove.
	(command_loop_1): Remove dead var `no_direct'.

	* buffer.c (reset_buffer_local_variables): If permanent_too is 0, also
	preserve non-built-in buffer-local variables.
	(Fkill_all_local_variables): Don't re-create&re-set permanent
	buffer-local variables.

536 537 538 539 540
2007-12-09  Juri Linkov  <juri@jurta.org>

	* buffer.c (Frename_buffer): Change interactive spec from "s" to
	Lisp code that uses `read-buffer' with current buffer as default.

541 542 543 544 545 546 547 548 549
2007-12-08  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (xd_read_message): Generate an event for every
	registered handler.  There might be several handlers registered
	for the same signal.
	(Fdbus_register_signal): Don't overwrite a registration for the
	same signal.  Add a new registration if handlers are different.
	(Vdbus_registered_functions_table): Rework doc string.

550 551 552 553 554 555 556
2007-12-07  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (Fdbus_get_unique_name, xd_read_message)
	(Fdbus_register_signal): Use DBUS_MAXIMUM_NAME_LENGTH and
	DBUS_MAXIMUM_MATCH_RULE_LENGTH for string lengths.
	(Fdbus_call_method, Fdbus_send_signal, Fdbus_register_signal):
	Unify argument lists.
Juanma Barranquero's avatar
Juanma Barranquero committed
557
	(xd_read_message, Fdbus_register_signal): Reorder and extend event
558 559 560 561
	arguments and hash table keys.  Use unique name for service.
	(Fdbus_unregister_signal): Remove checks.
	(Vdbus_registered_functions_table): Fix doc string.

Miles Bader's avatar
Miles Bader committed
562
2007-12-05  Magnus Henoch  <mange@freemail.hu>
563 564 565

	* process.c (make_process): Initialize pty_flag to 0.

Miles Bader's avatar
Miles Bader committed
566
2007-12-05  Jason Rumney  <jasonr@gnu.org>
567 568 569 570

	* image.c (xbm_load) [WINDOWSNT]: Shuffle the bits of directly
	specified XBMs.

Miles Bader's avatar
Miles Bader committed
571
2007-12-05  Richard Stallman  <rms@gnu.org>
572

Miles Bader's avatar
Miles Bader committed
573
	* xdisp.c (syms_of_xdisp) <scroll-conservatively>: Doc fix.
574

Miles Bader's avatar
Miles Bader committed
575
2007-12-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
576

Miles Bader's avatar
Miles Bader committed
577 578 579 580 581
	* mac.c (cfsockets_for_select) [MAC_OSX && SELECT_USE_CFSOCKET]:
	New variable.
	(mac_try_close_socket) [MAC_OSX]: New function.
	[MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]:
	Update cfsockets_for_select.  Replace invalid CFRunLoop source.
582

Miles Bader's avatar
Miles Bader committed
583 584
	* sysdep.c (emacs_close) [MAC_OSX && HAVE_CARBON]:
	Use mac_try_close_socket.
585

Miles Bader's avatar
Miles Bader committed
586
2007-12-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
587

Miles Bader's avatar
Miles Bader committed
588 589 590 591 592 593
	* unexmacosx.c (unrelocate): New argument BASE.  Use it instead of
	reloc_base.
	(copy_dysymtab): Compute relocation base here.
	(rebase_reloc_address) [__ppc64__]: New function.
	(copy_dysymtab) [__ppc64__]: Use it if relocation base needs to be
	changed.
594

Miles Bader's avatar
Miles Bader committed
595
2007-12-05  Jason Rumney  <jasonr@gnu.org>
596

Miles Bader's avatar
Miles Bader committed
597
	* w32proc.c (sys_spawnve): Quote args with wildcards.
598

Miles Bader's avatar
Miles Bader committed
599
2007-12-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
600

Miles Bader's avatar
Miles Bader committed
601 602 603
	* unexmacosx.c (copy_data_segment): Also copy __gcc_except_tab and
	__objc_* sections.
	(unrelocate) [_LP64]: Set relocation base to address of data segment.
604

605 606 607 608 609 610 611 612
2007-12-05  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (xd_read_message): Return value is a Lisp_Object.
	Move check for Vdbus_registered_functions_table to
	xd_read_queued_messages.
	(xd_read_queued_messages): Protect xd_read_message calls by
	internal_condition_case_1.

613 614
2007-12-04  Michael Albinus  <michael.albinus@gmx.de>

615
	* dbusbind.c (QCdbus_system_bus, QCdbus_session_bus): Rename from
616
	Qdbus_system_bus and Qdbus_session_bus, respectively.
617
	(Vdbus_intern_symbols): Remove.
618
	(Vdbus_registered_functions_table): New hash table.
619
	(XD_SYMBOL_INTERN_SYMBOL): Remove.
620
	(xd_read_message, Fdbus_register_signal, Fdbus_unregister_signal):
621
	Rewrite in order to manage registered functions by hash table
622 623
	Vdbus_registered_functions_table.

624 625 626 627
2007-12-03  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.c: Update URL to Window Manager Specification in comment.

628 629 630 631
2007-12-02  Michael Albinus  <michael.albinus@gmx.de>

	* config.in (HAVE_DBUS): Add.

Juanma Barranquero's avatar
Juanma Barranquero committed
632
	* Makefile.in (HAVE_DBUS): Add D-Bus definitions if defined.
633 634 635 636 637 638 639 640 641 642
	(ALL_CFLAGS): Add ${DBUS_CFLAGS}.
	(obj): Add $(DBUS_OBJ).
	(LIBES): Add $(DBUS_LIBS).
	(dbusbind.o): New target.

	* dbusbind.c: New file.

	* emacs.c (main): Call syms_of_dbusbind when HAVE_DBUS is defined.

	* keyboard.c: All D-Bus related code is wrapped by "#ifdef HAVE_DBUS".
Juanma Barranquero's avatar
Juanma Barranquero committed
643
	(Qdbus_event): New Lisp symbol.
644
	(kbd_buffer_get_event, make_lispy_event): Handle DBUS_EVENT.
645
	(gobble_input): Call xd_read_queued_messages, reading D-Bus messages.
646 647 648 649
	(keys_of_keyboard ): Define dbus-event.

	* termhooks.h (event_kind): Add DBUS_EVENT when HAVE_DBUS is defined.

650 651 652 653
2007-12-01  Richard Stallman  <rms@gnu.org>

	* search.c (syms_of_search) <inhibit-changing-match-data>: Doc fix.

Jason Rumney's avatar
Jason Rumney committed
654 655 656 657
2007-11-30  Jason Rumney  <jasonr@gnu.org>

	* w32console.c (w32con_ins_del_lines, scroll_line): Clip to window.
	(w32con_reset_terminal_modes): Clear screen buffer.
Jason Rumney's avatar
Jason Rumney committed
658 659
	(w32_face_attributes): Don't use color indexes that are out of range.
	Only reverse the default colors.
Jason Rumney's avatar
Jason Rumney committed
660 661 662 663 664 665

	* xfaces.c (map_tty_color, tty_color_name): Remove special case for
	WINDOWSNT.

	* w32console.c, w32term.h (vga_stdcolor_name): Remove.

666 667 668 669 670 671 672
2007-11-29  Jason Rumney  <jasonr@gnu.org>

	* w32console.c: Leave HAVE_WINDOW_SYSTEM defined.
	(w32_face_attributes): Use Vtty_defined_color_alist to determine
	if the terminal colors are initialized.
	(unspecified_fg, unspecified_bg): Remove unused declarations.

Andreas Schwab's avatar
Andreas Schwab committed
673 674 675 676
2007-11-29  Andreas Schwab  <schwab@suse.de>

	* keyboard.c (apply_modifiers): Fix typo.

677 678 679 680
2007-11-29  Richard Stallman  <rms@gnu.org>

	* keymap.c (Fcurrent_local_map): Doc fix.

681 682 683 684
2007-11-28  Petr Salinger  <Petr.Salinger@seznam.cz>  (tiny change)

	* s/gnu-kfreebsd.h: New file.

Stefan Monnier's avatar
Stefan Monnier committed
685 686
2007-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>

687 688 689
	* buffer.c (Fget_buffer_create, Fmake_indirect_buffer):
	Don't cast redundantly.

Stefan Monnier's avatar
Stefan Monnier committed
690 691 692 693 694 695
	* keyboard.c (KEY_TO_CHAR): New macro.
	(parse_modifiers, apply_modifiers): Accept integer arguments.
	(read_key_sequence): Use them to unify the "shift->unshift" mapping
	for chars and symbol keys.
	After doing such remapping, apply function-key-map again.

696 697 698 699 700
2007-11-27  Dan Nicolaescu  <dann@ics.uci.edu>

	* Makefile.in (SOME_MACHINE_LISP): Remove VMS files, they are not
	compiled anymore.

Andreas Schwab's avatar
Andreas Schwab committed
701 702 703 704 705
2007-11-26  Andreas Schwab  <schwab@suse.de>

	* process.c (list_processes_1): Fix indentation level of the
	command column.

706 707 708 709 710
2007-11-23  Andreas Schwab  <schwab@suse.de>

	* editfns.c (Fformat): Handle %c specially since it requires the
	argument to be of type int.

711 712 713 714 715
2007-11-23  Markus Triska  <markus.triska@gmx.at>

	* emacs.c (main): Call init_editfns before init_process, since
	init_process sets Vprocess_connection_type depending on OS release

716 717
2007-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>

718 719 720
	* data.c (do_symval_forwarding): Use same code as in find_symbol_value.
	(find_symbol_value): Use do_symval_forwarding.

721 722 723
	* data.c (set_internal): Set the value in the `cons-cell' (for
	Buffer_Local_values) not only for frame-local variables.

724 725 726 727 728 729 730
2007-11-22  Andreas Schwab  <schwab@suse.de>

	* data.c (Fnumber_to_string): Add cast when passing EMACS_INT
	values to sprintf.
	* keymap.c (Fsingle_key_description): Likewise.
	* print.c (print_object): Likewise.

731 732 733 734 735
2007-11-22  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gtkutil.c (update_frame_tool_bar): Don't call x-gtk-map-stock if
	file for image is nil.

Dan Nicolaescu's avatar
Dan Nicolaescu committed
736 737 738
2007-11-22  Dan Nicolaescu  <dann@ics.uci.edu>

	* term.c: Include stdarg.h.
739
	(fatal): Implement using varargs.
Juanma Barranquero's avatar
Juanma Barranquero committed
740
	* lisp.h (fatal): Add argument types.  (Restore 2005-09-30 change).
Dan Nicolaescu's avatar
Dan Nicolaescu committed
741

742 743 744 745 746 747 748 749 750 751 752
2007-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp.h (struct Lisp_Buffer_Objfwd): Add a `slottype' field.
	* data.c (store_symval_forwarding): Get type from buffer_objfwd.
	Update call to buffer_slot_type_mismatch.
	* buffer.h (buffer_local_types, PER_BUFFER_TYPE): Remove.
	(buffer_slot_type_mismatch): Update.
	* buffer.c (buffer_local_types): Remove.
	(buffer_slot_type_mismatch): Get the symbol and type as arguments.
	(defvar_per_buffer): Set the type in the buffer_objfwd.

Miles Bader's avatar
Miles Bader committed
753
2007-11-21  Jason Rumney  <jasonr@gnu.org>
754

755 756
	* w32bdf.c (w32_init_bdf_font, w32_BDF_to_x_font):
	CreateFileMapping returns NULL on failure.
757

Miles Bader's avatar
Miles Bader committed
758
2007-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
759

Miles Bader's avatar
Miles Bader committed
760 761
	* search.c (Fset_match_data): Remove the `evaporate' feature.
	(unwind_set_match_data): Don't use the `evaporate' feature.
762

763 764 765 766 767 768
2007-11-21  Jason Rumney  <jasonr@gnu.org>

	* dispnew.c (init_display) [WINDOWSNT]: Hardcode terminal_type.

	* w32console.c (w32con_write_glyphs): Remove unused variables.

769 770
2007-11-20  Dan Nicolaescu  <dann@ics.uci.edu>

771 772
	* macterm.c (mac_term_init): Call add_keyboard_wait_descriptor.

773 774 775 776 777
	* s/darwin.h (MULTI_KBOARD): Remove.

	* macfns.c (x_create_tip_frame, Fx_create_frame)
	(x_create_tip_frame): Don't deal with MULTI_KBOARD.

778 779
2007-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>

780 781 782 783 784
	* buffer.c (Fbuffer_local_value): Remove redundant test.
	(swap_out_buffer_local_variables): Swap out binding in `buffer' rather
	than in `current-buffer' to match the comment.
	Do the swap using swap_in_global_binding.

785 786 787
	* data.c (store_symval_forwarding, set_internal):
	* eval.c (specbind): Remove dead code.

788 789 790 791
	* coding.c (detect_coding, Fupdate_coding_systems_internal):
	* fns.c (Fmd5): Use find_symbol_value rather than SYMBOL_VALUE
	Since we do not want to see internal Lisp_*fwd objects here.

792 793
2007-11-18  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

794 795
	* sysdep.c (init_system_name): Use getaddrinfo if available.

796 797 798 799
	* xterm.c (x_scroll_bar_set_handle, x_scroll_bar_handle_click)
	(x_scroll_bar_note_movement): start, end, with, height in struct
	scroll_bar are integers and not Lisp_Object, so remove XINT for them.

800 801 802 803
2007-11-17  Dan Nicolaescu  <dann@ics.uci.edu>

	* puresize.h (BASE_PURESIZE): Increase to 1190000.

804 805
2007-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>

806 807 808
	* buffer.h (struct buffer): Move `undo_list' back to before `name'.
	This undoes Richard's change of 14-Oct-2002.

809 810 811
	* alloc.c (allocate_other_vector):
	* lisp.h (allocate_other_vector): Remove.

812 813 814 815 816 817 818
	* window.c (struct save_window_data): Move non-lisp data to the end
	and make it `int' rather than Lisp_Object.
	(Fcurrent_window_configuration): Use ALLOCATE_PSEUDOVECTOR.
	Done wrap/unwrap integer values.
	(Fset_window_configuration, compare_window_configurations):
	Update use of fields to their new types.

819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838
	* xterm.h (struct scroll_bar): Only use Lisp_Object for lisp data.
	Turn integer fields into `int'.  Merge x_window_low and x_window_high.
	(SCROLL_BAR_PACK, SCROLL_BAR_UNPACK, SCROLL_BAR_X_WINDOW)
	(SET_SCROLL_BAR_X_WINDOW): Remove.
	(SCROLL_BAR_X_WIDGET, SET_SCROLL_BAR_X_WIDGET):
	Access the new x_window field directly.
	* xterm.c (x_scroll_bar_create): Use a pseudovector.
	Don't wrap/unwrap integers into Lisp_Objects.
	(XTset_vertical_scroll_bar, x_scroll_bar_handle_click)
	(x_scroll_bar_report_motion):
	Don't wrap/unwrap integers into Lisp_Objects.
	(x_term_init): Use SDATA.
	(x_window_to_scroll_bar, x_create_toolkit_scroll_bar)
	(x_scroll_bar_set_handle, x_scroll_bar_remove)
	(XTset_vertical_scroll_bar, x_scroll_bar_expose)
	(x_scroll_bar_report_motion, x_scroll_bar_clear):
	* xfns.c (x_set_background_color):
	* gtkutil.c (xg_create_scroll_bar, xg_set_toolkit_scroll_bar_thumb):
	Access the new x_window field directly.

839 840
	* alloc.c (ALLOCATE_PSEUDOVECTOR): Move to lisp.h.
	(allocate_pseudovector): Make non-static.
841

842 843 844 845
	* lisp.h (enum pvec_type): New tag PVEC_OTHER.
	(allocate_pseudovector): Declare.
	(ALLOCATE_PSEUDOVECTOR): Move from alloc.c

846 847
2007-11-15  Andreas Schwab  <schwab@suse.de>

848 849
	* editfns.c (Fformat): Correctly format EMACS_INT values.
	Also take precision into account when formatting an integer.
850

851 852
	* keyboard.c (Fevent_symbol_parse_modifiers): Fix declaration.

853 854
2007-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>

855 856 857
	* keyboard.c (Fevent_symbol_parse_modifiers): New function.
	(syms_of_keyboard): Defsubr it.

858 859 860 861
	* data.c (swap_in_global_binding): Fix longstanding bug where
	store_symval_forwarding was not called with the right second argument,
	thus causing objfwd-ing from being dropped.

862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881
2007-11-14  Juanma Barranquero  <lekktu@gmail.com>

	* macfns.c (Fx_create_frame, Fx_display_pixel_width)
	(Fx_display_pixel_height, Fx_display_planes)
	(Fx_display_color_cells, Fx_server_max_request_size)
	(Fx_server_vendor, Fx_server_version, Fx_display_backing_store)
	(Fx_display_visual_class, Fx_display_save_under):
	* w32fns.c (Fx_create_frame, Fx_display_pixel_width)
	(Fx_display_pixel_height, Fx_display_planes)
	(Fx_display_color_cells, Fx_server_max_request_size)
	(Fx_server_vendor, Fx_server_version, Fx_display_screens)
	(Fx_display_mm_height, Fx_display_mm_width)
	(Fx_display_backing_store, Fx_display_visual_class)
	(Fw32_select_font, Fx_display_save_under):
	* xfns.c (Fx_create_frame, Fx_display_pixel_width)
	(Fx_display_pixel_height, Fx_display_planes)
	(Fx_display_color_cells, Fx_server_max_request_size)
	(Fx_server_vendor, Fx_server_version, Fx_display_backing_store)
	(Fx_display_save_under): Fix typos in docstrings.

882 883 884 885 886 887 888 889 890 891 892
2007-11-14  Juanma Barranquero  <lekktu@gmail.com>

	* w32fns.c (Fw32_registered_hot_keys): Don't return the nil values
	corresponding to deleted entries; they are an implementation detail.
	(gray_bitmap_width, gray_bitmap_height, gray_bitmap_bits):
	Remove variables.
	(w32_pass_extra_mouse_buttons_to_system, w32_strict_fontnames)
	(w32_pass_multimedia_buttons_to_system, w32_strict_painting)
	(Vw32_charset_info_alist, w32_to_x_color, w32_init_class)
	(w32_createscrollbar, w32_createwindow, my_post_msg, w32_get_modifiers)
	(w32_grabbed_keys, cancel_all_deferred_msgs): Make static.
893
	(Fw32_define_rgb_color, Fw32_load_color_file)
894
	(syms_of_w32fns) <w32-pass-multimedia-buttons-to-system>:
895 896 897
	Fix typos in docstrings.
	(Fx_server_version): Reflow docstring.
	(Fw32_shell_execute): Doc fixes.
898

899 900 901 902 903
2007-11-13  Juanma Barranquero  <lekktu@gmail.com>

	* w32fns.c (Fw32_register_hot_key): Don't try to register hot key
	if w32_parse_hot_key returned nil.

Miles Bader's avatar
Miles Bader committed
904
2007-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
Kim F. Storm's avatar
Kim F. Storm committed
905

Miles Bader's avatar
Miles Bader committed
906
	* xdisp.c (load_overlay_strings): Fix copy&paste typo.
Kim F. Storm's avatar
Kim F. Storm committed
907

908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934
2007-11-09  Jason Rumney  <jasonr@gnu.org>

	* s/ms-w32.c (USE_TOOLKIT_SCROLL_BARS): Define.

	* w32term.c (w32_scroll_bar_handle_click): Use SCROLL_BAR_CLICK_EVENT.

	* keyboard.c (discard_mouse_events, make_lispy_event) [WINDOWSNT]:
	Remove W32_SCROLL_BAR_CLICK_EVENT.

	* termhooks.h (enum event_kind) [WINDOWSNT]: Likewise.
	Add MULTIMEDIA_KEY_EVENT.

	* keyboard.c (lispy_function_keys) [WINDOWSNT]: Add more keys.
	(lispy_multimedia_keys) [WINDOWSNT]: New array.
	(make_lispy_event) [WINDOWSNT]: Use it to translate
	MULTIMEDIA_KEY_EVENT.

	* w32term.h (WM_APPCOMMAND): Define if not already.
	(GET_APPCOMMAND_LPARAM): Likewise.

	* w32term.c (w32_read_socket): Generate MULTIMEDIA_KEY_EVENT from
	WM_APPCOMMAND.

	* w32fns.c (w32_pass_multimedia_buttons_to_system): New user option.
	(syms_of_w32fns): Export and initialize it.
	(w32_wnd_proc): Pass WM_APPCOMMAND on to w32_read_socket.

Miles Bader's avatar
Miles Bader committed
935
2007-11-09  Chong Yidong  <cyd@stupidchicken.com>
936 937 938 939 940 941

	* dispextern.h (struct it): Don't define OVERLAY_STRING_CHUNK_SIZE
	twice.

	* xdisp.c (handle_face_prop): Fix last change.

Miles Bader's avatar
Miles Bader committed
942
2007-11-09  Richard Stallman  <rms@gnu.org>
943

Miles Bader's avatar
Miles Bader committed
944 945 946 947 948 949 950 951
	* xdisp.c (handle_face_prop): Test for strings that came from overlays,
	not just for after-strings and before-strings.
	Call face_for_overlay_string and pass the overlay to it.
	(handle_display_prop): Determine whether property came from an overlay.
	Pass OVERLAY arg to handle_single_display_spec.
	(handle_single_display_spec): New arg OVERLAY sets it->from_overlay.
	(load_overlay_strings): Fill in it->string_overlays.
	(get_overlay_strings_1, push_it, pop_it): Handle it->from_overlays.
952

Miles Bader's avatar
Miles Bader committed
953 954
	* xfaces.c (face_for_overlay_string): Function renamed from
	face_at_buffer_position_no_overlays, and add arg OVERLAY.
955

Miles Bader's avatar
Miles Bader committed
956 957 958 959 960
	* dispextern.h (struct it): New elt string_overlays.
	New elt from_overlay, also in stack.
	Rearrange a few elements.
	(face_for_overlay_string): Decl renamed from
	face_at_buffer_position_no_overlays, and add argument.
961

Miles Bader's avatar
Miles Bader committed
962
2007-11-09  Richard Stallman  <rms@gnu.org>
963

Miles Bader's avatar
Miles Bader committed
964 965
	* xdisp.c (handle_face_prop): Use face_at_buffer_position_no_overlays
	to get the base face for an overlay string.
966

Miles Bader's avatar
Miles Bader committed
967
	* dispextern.h (face_at_buffer_position_no_overlays): Add decl.
968

Miles Bader's avatar
Miles Bader committed
969
	* xfaces.c (face_at_buffer_position_no_overlays): New function.
970

Miles Bader's avatar
Miles Bader committed
971
	* xdisp.c (handle_stop): Move some code out of loop.
972

Miles Bader's avatar
Miles Bader committed
973
2007-11-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
974

Miles Bader's avatar
Miles Bader committed
975 976
	* macfns.c [USE_ATSUI] (Fmac_atsu_font_face_attributes):
	Fix conversion from Lisp object to ATSUFontID.
977

Miles Bader's avatar
Miles Bader committed
978
2007-11-09  Jason Rumney  <jasonr@gnu.org>
979

Miles Bader's avatar
Miles Bader committed
980
	* xdisp.c (Fformat_mode_line): Do nothing when noninteractive.
981

Miles Bader's avatar
Miles Bader committed
982
2007-11-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
983

Miles Bader's avatar
Miles Bader committed
984 985 986
	* unexmacosx.c (unexec_regions_recorder, unexec_regions_merge):
	Don't assume regions are aligned to page boundary.
	(print_load_command_name): Add LC_UUID if defined.
987

Miles Bader's avatar
Miles Bader committed
988
2007-11-09  Richard Stallman  <rms@gnu.org>
989

Miles Bader's avatar
Miles Bader committed
990
	* emacs.c (syms_of_emacs) <installation-directory>: Reflow docstring.
991

Jason Rumney's avatar
Jason Rumney committed
992 993 994 995
2007-11-07  Jason Rumney  <jasonr@gnu.org>

	* s/windows95.h: Remove.

996 997 998 999 1000
2007-11-06  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* gtkutil.c (xg_tool_bar_menu_proxy): Handle GTK_IMAGE_ICON_NAME and
	abort with a message on unhandled store_type values.

Jan Djärv's avatar
Jan Djärv committed
1001 1002 1003 1004 1005
2007-11-01  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

	* xterm.c, xfns.c, xselect.c, xterm.h, s/msdos.h, s/sco4.h, s/sco5.h:
	Remove HAVE_X11R5 and HAVE_X11R4.

1006 1007 1008 1009
2007-11-01  Dan Nicolaescu  <dann@ics.uci.edu>

	* Makefile.in: Remove references to sunfns.c and sunfns.o.

1010 1011 1012
2007-11-01  Johan Bockg,Ae(Brd  <bojohan@gnu.org>

	* macterm.c, w32term.c, xterm.c (x_draw_stretch_glyph_string):
1013
	Don't set s->stippled_p here, since it has already been set by
1014 1015
	x_set_glyph_string_gc from x_draw_glyph_string.

1016 1017 1018 1019 1020 1021 1022 1023
2007-11-01  Dan Nicolaescu  <dann@ics.uci.edu>

	* sunfns.c: Remove file

	* m/sun386.h:
	* m/sun2.h:
	* m/sparc.h: Remove Sun windows code.

1024 1025 1026 1027 1028 1029 1030
2007-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>

	* keyboard.c (syms_of_keyboard): Initialize the initial_kboard.
	(init_keyboard): Set current_kboard's window-system to nil.
	(tty_read_avail_input): Typo.
	* frame.c (make_initial_frame): Don't initialize the initial_kboard.

Dan Nicolaescu's avatar
Dan Nicolaescu committed
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041
2007-10-31  Dan Nicolaescu  <dann@ics.uci.edu>

	* s/usg5-4.h:
	* s/usg5-3.h:
	* s/ptx.h:
	* m/is386.h:
	* m/ibmps2-aix.h:
	* Makefile.in: Remove all mentions of X10

	* dispnew.c (syms_of_display): Don't mention version 10.

1042 1043 1044 1045 1046
2007-10-28  Juanma Barranquero  <lekktu@gmail.com>

	* makefile.w32-in (OBJ1): Remove abbrev.$(O).
	($(BLD)/abbrev.$(O)): Remove.

Stefan Monnier's avatar
Stefan Monnier committed
1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057
2007-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	Rewrite abbrev.c in Elisp.
	* image.c (Qcount): Don't declare as extern.
	(syms_of_image): Initialize and staticpro `Qcount'.
	* puresize.h (BASE_PURESIZE): Increase for the new abbrev.el functions.
	* emacs.c (main): Don't call syms_of_abbrev.
	* Makefile.in (obj): Remove abbrev.o.
	(abbrev.o): Remove.
	* abbrev.c: Remove.

1058 1059 1060 1061
2007-10-26  Martin Rudalics  <rudalics@gmx.at>

	* window.c (window_min_size_2): Don't count header-line.

1062 1063 1064
2007-10-26  Dan Nicolaescu  <dann@ics.uci.edu>

	* frame.h (struct frame): Move all bit fields after the first bit
1065
	field to take advantage of the available space.  Group all the
1066 1067
	chars together to reduce wasted space due to padding.

1068 1069
2007-10-26  Juanma Barranquero  <lekktu@gmail.com>

1070 1071
	* minibuf.c (Fread_minibuffer, Feval_minibuffer): Reflow docstrings.

1072 1073 1074 1075 1076 1077 1078 1079 1080
	* alloc.c (spare_memory, stack_copy, stack_copy_size, ignore_warnings)
	(Vdead, dont_register_blocks, staticvec, staticidx, interval_block)
	(n_interval_blocks, init_strings, check_string_bytes, check_sblock)
	(init_float, free_float, n_cons_blocks, init_cons, all_vectors)
	(n_vectors, symbol_block, symbol_block_index, symbol_free_list)
	(n_symbol_blocks, init_symbol, marker_block, marker_free_list)
	(n_marker_blocks, init_marker, valid_pointer_p, make_pure_float)
	(last_marked, mark_object_loop_halt): Make static.

1081 1082 1083
	* frame.c (syms_of_frame) <delete-frame-functions>:
	Fix typo in docstring.

1084 1085 1086
2007-10-25  Juanma Barranquero  <lekktu@gmail.com>

	* w32.c (init_environment): Fix tiny memory leak.
1087
	(w32_get_resource): Remove unused variable `ok'.
1088

1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115
2007-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	Make `window-system' into a keyboard-local variable (rather than
	frame-local as done originally by multi-tty).

	* keyboard.h (struct kboard): Add Vwindow_system.
	* keyboard.c (init_kboard): Set a default for Vwindow_system.
	(mark_kboards): Mark Vwindow_system.

	* dispnew.c (syms_of_display) <window-system>: Declare terminal-local.
	(init_display): Don't set the obsolete `window-system' frame-param.

	* xterm.c (x_term_init):
	* w32term.c (w32_create_terminal):
	* term.c (init_tty): Set Vwindow_system.
	* macterm.c (mac_create_terminal): Set a keyboard (missing piece of the
	multi-tty merge maybe?), copied from w32term.c.  Set Vwindow_system.

	* xfns.c (Fx_create_frame, x_create_tip_frame):
	* w32fns.c (Fx_create_frame, x_create_tip_frame):
	* macfns.c (Fx_create_frame):
	Don't set the obsolete `window-system' frame-param.

	* frame.h (Qwindow_system): Remove.
	* frame.c (Qwindow_system): Remove.  In `syms_of_frame' as well.
	(Fmake_terminal_frame): Don't set obsolete `window-system' frame-param.

Miles Bader's avatar
Miles Bader committed
1116
2007-10-24  Richard Stallman  <rms@gnu.org>
Pavel Janík's avatar
Pavel Janík committed
1117

Miles Bader's avatar
Miles Bader committed
1118 1119
	* frame.c (x_figure_window_size): For fullscreen case,
	set USPosition | PPosition without clobbering rest of window_prompting.
1120

Miles Bader's avatar
Miles Bader committed
1121
	* keyboard.c (Fcurrent_idle_time): Doc fix.
Pavel Janík's avatar
Pavel Janík committed
1122

Miles Bader's avatar
Miles Bader committed
1123
	* print.c (Fwith_output_to_temp_buffer): Doc fix.
Pavel Janík's avatar
Pavel Janík committed
1124

1125 1126
2007-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>

1127 1128
	* process.c (unwind_request_sigio): Only define if __ultrix__.

1129 1130
	* callproc.c (child_setup): Remove spurious *.

1131 1132 1133 1134 1135 1136
	* lisp.h (Fget_text_property): Declare.
	(have_menus_p): Declare it here rather than in sys-dep header files.
	* macterm.h (have_menus_p):
	* msdos.h (have_menus_p):
	* xterm.h (have_menus_p): Remove.

1137 1138 1139 1140
	* data.c (Fmake_variable_buffer_local, Fmake_local_variable)
	(Fmake_variable_frame_local): Just check the variable's const-ness
	rather than checking nil or t.

1141 1142
2007-10-22  Jason Rumney  <jasonr@gnu.org>

Jason Rumney's avatar
Jason Rumney committed
1143 1144
	* w32fns.c: Include math.h.
	(w32_abort): Declaration moved to nt/config.nt.
Juanma Barranquero's avatar
Juanma Barranquero committed
1145

Jason Rumney's avatar
Jason Rumney committed
1146 1147 1148
	* s/ms-w32.h (HAVE_STDLIB_H): Define.
	(abort): Redefinition moved to nt/config.nt.

1149 1150
	* m/windowsnt.h: Remove.

1151 1152 1153 1154 1155 1156
2007-10-22  Juanma Barranquero  <lekktu@gmail.com>

	* emacs.c (Fdump_emacs): Fix typo in message.
	(syms_of_emacs) <kill-emacs-hook>: Fix typo in docstring.
	<installation-directory>: Reflow docstring.

1157 1158 1159 1160
2007-10-22  Juri Linkov  <juri@jurta.org>

	* minibuf.c: Allow minibuffer default to be a list of default values.
	With empty input use the first element of this list as returned default.
1161
	(string_to_object)
Juanma Barranquero's avatar
Juanma Barranquero committed
1162
	(read_minibuf_noninteractive): If defalt is cons, set val to its car.
1163 1164 1165 1166 1167
	(read_minibuf): If defalt is cons, set histstring to its car.
	(Fread_string): If default_value is cons, set val to its car.
	(Fread_buffer): If def is cons, use its car.
	(Fcompleting_read): If defalt is cons, set val to its car.

1168 1169 1170 1171
2007-10-21  Michael Albinus  <michael.albinus@gmx.de>

	* fileio.c (Fcopy_file): Call file name handler with preserve_uid_gid.

1172 1173 1174 1175
2007-10-20  Juanma Barranquero  <lekktu@gmail.com>

	* doc.c (Fdocumentation): Check for advice in all cases.

1176 1177 1178 1179
2007-10-19  Chong Yidong  <cyd@stupidchicken.com>

	* Makefile.in [HAVE_LIBRESOLV]: Add -lresolv to linker flags.

1180 1181 1182 1183
2007-10-19  Richard Stallman  <rms@gnu.org>

	* doc.c (Fdocumentation): Check for and handle an advised function.

1184 1185 1186 1187
2007-10-19  Juanma Barranquero  <lekktu@gmail.com>

	* process.c (Fset_process_filter): Doc fix.

1188 1189 1190 1191 1192 1193
2007-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* keyboard.c (read_key_sequence): Undo a change introduced by multi-tty
	which caused key-translation-map to applied repeatedly (thus breaking
	double-mode).

1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209
2007-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* xselect.c (x_own_selection, x_handle_selection_clear)
	(x_clear_frame_selections):
	* w32menu.c (list_of_panes, list_of_items):
	* w32fns.c (w32_color_map_lookup, Fx_create_frame, Fx_display_list):
	* textprop.c (validate_plist, interval_has_all_properties)
	(interval_has_some_properties, interval_has_some_properties_list)
	(add_properties, text_property_list):
	* process.c (Fget_buffer_process, list_processes_1, status_notify):
	* minibuf.c (Fassoc_string):
	* macselect.c (x_own_selection, x_clear_frame_selections)
	(Fx_disown_selection_internal):
	* keymap.c (Fcommand_remapping, where_is_internal, describe_map_tree):
	Use CONSP rather than !NILP and XC[AD]R rather than Fc[ad]r.

1210 1211 1212 1213 1214 1215
2007-10-17  Chong Yidong  <cyd@stupidchicken.com>

	* process.c: Link to libs for calling res_init() if available.
	(Fmake_network_process): Call res_init() before getaddrinfo or
	gethostbyname, if possible.

Stefan Monnier's avatar
Stefan Monnier committed
1216 1217
2007-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>

1218 1219
	* lread.c (read1): Set pvectype for char_tables.

1220 1221 1222 1223 1224
	* lisp.h (XMISCANY, XMARKER, XINTFWD, XBOOLFWD, XOBJFWD, XOVERLAY)
	(XBUFFER_OBJFWD, XBUFFER_LOCAL_VALUE, XKBOARD_OBJFWD, XSAVE_VALUE):
	Add type checks.
	(SOME_BUFFER_LOCAL_VALUEP, GC_SOME_BUFFER_LOCAL_VALUEP): Remove.

Stefan Monnier's avatar
Stefan Monnier committed
1225 1226 1227
	* alloc.c (free_misc): Use XMISCTYPE.
	(live_misc_p, gc_sweep): Use Lisp_Misc_Any.

1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239
2007-10-17  Glenn Morris  <rgm@gnu.org>

	* minibuf.c (Qcompletion_ignore_case): New Lisp_Object.
	(syms_of_minibuf): Add Qcompletion_ignore_case.
	* dired.c (Qcompletion_ignore_case): Change to external.
	(syms_of_dired) [VMS]: Remove Qcompletion_ignore_case.
	* fileio.c (Qcompletion_ignore_case): New external Lisp_Object.
	(Fread_file_name): Use it rather than intern'ing.

	* coding.c (Qcompletion_ignore_case): New external Lisp_Object.
	(Fread_coding_system): Ignore case of user input.

1240 1241 1242 1243 1244 1245 1246
2007-10-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* xdisp.c (handle_display_prop): Ignore display specs after
	replacing one when string text is being replaced.
	(handle_single_display_spec): Pretend as if characters with display
	property haven't been consumed only when buffer text is being replaced.

1247 1248
2007-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>

1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259
	* xfns.c (Fx_create_frame, Fx_display_list):
	* window.c (window_fixed_size_p, enlarge_window)
	(shrink_window_lowest_first):
	* macterm.c (init_font_name_table):
	* macfns.c (Fx_create_frame, Fx_display_list):
	* lread.c (close_load_descs):
	* keyboard.c (read_char_x_menu_prompt):
	* fns.c (Fmember, Fmemql, Fdelete, Fset_char_table_parent):
	* coding.c (code_convert_region_unwind): Test the type of an object
	rather than just !NILP before extracting data from it.

1260 1261
	* allo