ChangeLog 129 KB
Newer Older
Michael Olson's avatar
Michael Olson committed
1 2 3 4
2008-01-13  Tom Tromey  <tromey@redhat.com>

	* lisp.h: Fix typo.

5 6
2008-01-13  Dan Nicolaescu  <dann@ics.uci.edu>

7 8 9 10 11 12
	* 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
13
	* callproc.c (Fcall_process): Fix previous change.
14

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

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

Juanma Barranquero's avatar
Juanma Barranquero committed
19 20
	* src/m/mips.h:
	* src/m/intel386.h:
Dan Nicolaescu's avatar
Dan Nicolaescu committed
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
	* 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.

40 41 42 43
2008-01-11  Kenichi Handa  <handa@ni.aist.go.jp>

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

44 45 46 47 48
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
49 50 51 52 53 54 55 56 57 58
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
59
2008-01-08  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
Glenn Morris's avatar
Glenn Morris committed
60

Miles Bader's avatar
Miles Bader committed
61 62
	* frame.c (Fmake_terminal_frame): Use #ifdef MAC_OS8 instead of
	#ifdef MAC_OS.
63

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

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

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

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

73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187
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.

188 189 190
2008-01-05  Dan Nicolaescu  <dann@ics.uci.edu>

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

193 194 195 196 197 198
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.

199 200 201 202
2008-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>

	* keyboard.c (read_key_sequence): Fix typo.

203 204 205 206 207 208 209 210 211
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.

212 213 214 215
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).
216
	(Fdbus_call_method): Handle the case of no returned arguments.
217

Juanma Barranquero's avatar
Juanma Barranquero committed
218
2007-12-31  Tom Tromey  <tromey@redhat.com>  (tiny change)
219 220 221

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

222 223 224 225
2007-12-31  Magnus Henoch  <mange@freemail.hu>

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

226 227
2007-12-30  Michael Albinus  <michael.albinus@gmx.de>

228 229
	* dbusbind.c: Fix several errors and compiler warnings.
	Reported by Tom Tromey <tromey@redhat.com>
230 231 232 233 234 235 236 237 238 239 240 241 242 243
	(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
244
	the object is not well formed.
245

246 247 248 249 250
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.

251 252 253 254 255
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.

256 257 258 259
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.

260 261
2007-12-22  Eli Zaretskii  <eliz@gnu.org>

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

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

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

270 271 272 273 274 275 276 277 278
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.

279 280 281 282
2007-12-21  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (XD_BASIC_DBUS_TYPE, XD_DBUS_TYPE_P, XD_NEXT_VALUE):
	New macros.
283
	(XD_SYMBOL_TO_DBUS_TYPE): Rename from XD_LISP_SYMBOL_TO_DBUS_TYPE.
Juanma Barranquero's avatar
Juanma Barranquero committed
284 285
	(XD_OBJECT_TO_DBUS_TYPE): Rename from XD_LISP_OBJECT_TO_DBUS_TYPE.
	Simplify.
286 287 288
	(xd_signature): New function.
	(xd_append_arg): Compute also signatures.  Major rewrite.
	(xd_retrieve_arg): Make debug messages friendly.
289 290
	(Fdbus_call_method, Fdbus_send_signal): Extend docstring.
	Check for signatures of arguments.
291

292 293 294 295 296 297 298
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)
299
	(QCdbus_type_struct, QCdbus_type_dict_entry): New D-Bus type symbols.
300 301
	(XD_LISP_SYMBOL_TO_DBUS_TYPE): New macro.
	(XD_LISP_OBJECT_TO_DBUS_TYPE): Add compound types.
302
	(xd_retrieve_value): Remove.  Functionality included in ...
303 304 305
	(xd_append_arg): New function.
	(Fdbus_call_method, Fdbus_send_signal): Apply it.

306 307 308 309 310
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.
311 312
	(Fdbus_register_signal): Rename unique_name to uname.
	Check handler for FUNCTIONP instead of CHECK_SYMBOL.  Handle case of
313 314 315 316 317 318 319
	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.

320 321 322 323 324
2007-12-16  Andreas Schwab  <schwab@suse.de>

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

325 326 327 328 329
2007-12-14  Jason Rumney  <jasonr@gnu.org>

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

330 331 332 333 334 335
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.

336 337 338
2007-12-14  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (xd_retrieve_value, xd_retrieve_arg)
339 340
	(Fdbus_call_method, Fdbus_send_signal, xd_read_message):
	Use `unsigned int' instead of `uint'.
341 342 343 344
	(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
345 346 347 348
2007-12-14  Eli Zaretskii  <eliz@gnu.org>

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

349 350 351 352 353 354
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.

355 356 357 358 359 360 361 362 363 364 365 366 367
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.

368 369 370 371 372
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.

373 374 375 376 377 378 379 380 381
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.

382 383 384 385 386 387 388
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
389
	(xd_read_message, Fdbus_register_signal): Reorder and extend event
390 391 392 393
	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
394
2007-12-05  Magnus Henoch  <mange@freemail.hu>
395 396 397

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

Miles Bader's avatar
Miles Bader committed
398
2007-12-05  Jason Rumney  <jasonr@gnu.org>
399 400 401 402

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

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

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

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

Miles Bader's avatar
Miles Bader committed
409 410 411 412 413
	* 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.
414

Miles Bader's avatar
Miles Bader committed
415 416
	* sysdep.c (emacs_close) [MAC_OSX && HAVE_CARBON]:
	Use mac_try_close_socket.
417

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

Miles Bader's avatar
Miles Bader committed
420 421 422 423 424 425
	* 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.
426

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

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

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

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

437 438 439 440 441 442 443 444
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.

445 446
2007-12-04  Michael Albinus  <michael.albinus@gmx.de>

447
	* dbusbind.c (QCdbus_system_bus, QCdbus_session_bus): Rename from
448
	Qdbus_system_bus and Qdbus_session_bus, respectively.
449
	(Vdbus_intern_symbols): Remove.
450
	(Vdbus_registered_functions_table): New hash table.
451
	(XD_SYMBOL_INTERN_SYMBOL): Remove.
452
	(xd_read_message, Fdbus_register_signal, Fdbus_unregister_signal):
453
	Rewrite in order to manage registered functions by hash table
454 455
	Vdbus_registered_functions_table.

456 457 458 459
2007-12-03  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>

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

460 461 462 463
2007-12-02  Michael Albinus  <michael.albinus@gmx.de>

	* config.in (HAVE_DBUS): Add.

Juanma Barranquero's avatar
Juanma Barranquero committed
464
	* Makefile.in (HAVE_DBUS): Add D-Bus definitions if defined.
465 466 467 468 469 470 471 472 473 474
	(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
475
	(Qdbus_event): New Lisp symbol.
476
	(kbd_buffer_get_event, make_lispy_event): Handle DBUS_EVENT.
477
	(gobble_input): Call xd_read_queued_messages, reading D-Bus messages.
478 479 480 481
	(keys_of_keyboard ): Define dbus-event.

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

482 483 484 485
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
486 487 488 489
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
490 491
	(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
492 493 494 495 496 497

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

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

498 499 500 501 502 503 504
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
505 506 507 508
2007-11-29  Andreas Schwab  <schwab@suse.de>

	* keyboard.c (apply_modifiers): Fix typo.

509 510 511 512
2007-11-29  Richard Stallman  <rms@gnu.org>

	* keymap.c (Fcurrent_local_map): Doc fix.

513 514 515 516
2007-11-28  Petr Salinger  <Petr.Salinger@seznam.cz>  (tiny change)

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

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

519 520 521
	* buffer.c (Fget_buffer_create, Fmake_indirect_buffer):
	Don't cast redundantly.

Stefan Monnier's avatar
Stefan Monnier committed
522 523 524 525 526 527
	* 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.

528 529 530 531 532
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
533 534 535 536 537
2007-11-26  Andreas Schwab  <schwab@suse.de>

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

538 539 540 541 542
2007-11-23  Andreas Schwab  <schwab@suse.de>

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

543 544 545 546 547
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

548 549
2007-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>

550 551 552
	* data.c (do_symval_forwarding): Use same code as in find_symbol_value.
	(find_symbol_value): Use do_symval_forwarding.

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

556 557 558 559 560 561 562
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.

563 564 565 566 567
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
568 569 570
2007-11-22  Dan Nicolaescu  <dann@ics.uci.edu>

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

574 575 576 577 578 579 580 581 582 583 584
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
585
2007-11-21  Jason Rumney  <jasonr@gnu.org>
586

587 588
	* w32bdf.c (w32_init_bdf_font, w32_BDF_to_x_font):
	CreateFileMapping returns NULL on failure.
589

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

Miles Bader's avatar
Miles Bader committed
592 593
	* search.c (Fset_match_data): Remove the `evaporate' feature.
	(unwind_set_match_data): Don't use the `evaporate' feature.
594

595 596 597 598 599 600
2007-11-21  Jason Rumney  <jasonr@gnu.org>

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

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

601 602
2007-11-20  Dan Nicolaescu  <dann@ics.uci.edu>

603 604
	* macterm.c (mac_term_init): Call add_keyboard_wait_descriptor.

605 606 607 608 609
	* 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.

610 611
2007-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>

612 613 614 615 616
	* 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.

617 618 619
	* data.c (store_symval_forwarding, set_internal):
	* eval.c (specbind): Remove dead code.

620 621 622 623
	* 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.

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

626 627
	* sysdep.c (init_system_name): Use getaddrinfo if available.

628 629 630 631
	* 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.

632 633 634 635
2007-11-17  Dan Nicolaescu  <dann@ics.uci.edu>

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

636 637
2007-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>

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

641 642 643
	* alloc.c (allocate_other_vector):
	* lisp.h (allocate_other_vector): Remove.

644 645 646 647 648 649 650
	* 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.

651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670
	* 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.

671 672
	* alloc.c (ALLOCATE_PSEUDOVECTOR): Move to lisp.h.
	(allocate_pseudovector): Make non-static.
673

674 675 676 677
	* lisp.h (enum pvec_type): New tag PVEC_OTHER.
	(allocate_pseudovector): Declare.
	(ALLOCATE_PSEUDOVECTOR): Move from alloc.c

678 679
2007-11-15  Andreas Schwab  <schwab@suse.de>

680 681
	* editfns.c (Fformat): Correctly format EMACS_INT values.
	Also take precision into account when formatting an integer.
682

683 684
	* keyboard.c (Fevent_symbol_parse_modifiers): Fix declaration.

685 686
2007-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>

687 688 689
	* keyboard.c (Fevent_symbol_parse_modifiers): New function.
	(syms_of_keyboard): Defsubr it.

690 691 692 693
	* 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.

694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713
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.

714 715 716 717 718 719 720 721 722 723 724
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.
725
	(Fw32_define_rgb_color, Fw32_load_color_file)
726
	(syms_of_w32fns) <w32-pass-multimedia-buttons-to-system>:
727 728 729
	Fix typos in docstrings.
	(Fx_server_version): Reflow docstring.
	(Fw32_shell_execute): Doc fixes.
730

731 732 733 734 735
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
736
2007-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
Kim F. Storm's avatar
Kim F. Storm committed
737

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

740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766
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
767
2007-11-09  Chong Yidong  <cyd@stupidchicken.com>
768 769 770 771 772 773

	* 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
774
2007-11-09  Richard Stallman  <rms@gnu.org>
775

Miles Bader's avatar
Miles Bader committed
776 777 778 779 780 781 782 783
	* 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.
784

Miles Bader's avatar
Miles Bader committed
785 786
	* xfaces.c (face_for_overlay_string): Function renamed from
	face_at_buffer_position_no_overlays, and add arg OVERLAY.
787

Miles Bader's avatar
Miles Bader committed
788 789 790 791 792
	* 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.
793

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

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

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

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

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

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

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

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

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

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

Miles Bader's avatar
Miles Bader committed
816 817 818
	* 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.
819

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

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

Jason Rumney's avatar
Jason Rumney committed
824 825 826 827
2007-11-07  Jason Rumney  <jasonr@gnu.org>

	* s/windows95.h: Remove.

828 829 830 831 832
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
833 834 835 836 837
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.

838 839 840 841
2007-11-01  Dan Nicolaescu  <dann@ics.uci.edu>

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

842 843 844
2007-11-01  Johan Bockg,Ae(Brd  <bojohan@gnu.org>

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

848 849 850 851 852 853 854 855
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.

856 857 858 859 860 861 862
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
863 864 865 866 867 868 869 870 871 872 873
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.

874 875 876 877 878
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
879 880 881 882 883 884 885 886 887 888 889
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.

890 891 892 893
2007-10-26  Martin Rudalics  <rudalics@gmx.at>

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

894 895 896
2007-10-26  Dan Nicolaescu  <dann@ics.uci.edu>

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

900 901
2007-10-26  Juanma Barranquero  <lekktu@gmail.com>

902 903
	* minibuf.c (Fread_minibuffer, Feval_minibuffer): Reflow docstrings.

904 905 906 907 908 909 910 911 912
	* 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.

913 914 915
	* frame.c (syms_of_frame) <delete-frame-functions>:
	Fix typo in docstring.

916 917 918
2007-10-25  Juanma Barranquero  <lekktu@gmail.com>

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

921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947
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
948
2007-10-24  Richard Stallman  <rms@gnu.org>
Pavel Janík's avatar
Pavel Janík committed
949

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

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

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

957 958
2007-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>

959 960
	* process.c (unwind_request_sigio): Only define if __ultrix__.

961 962
	* callproc.c (child_setup): Remove spurious *.

963 964 965 966 967 968
	* 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.

969 970 971 972
	* 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.

973 974
2007-10-22  Jason Rumney  <jasonr@gnu.org>

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

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

981 982
	* m/windowsnt.h: Remove.

983 984 985 986 987 988
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.

989 990 991 992
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.
993
	(string_to_object)
Juanma Barranquero's avatar
Juanma Barranquero committed
994
	(read_minibuf_noninteractive): If defalt is cons, set val to its car.
995 996 997 998 999
	(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.

1000 1001 1002 1003
2007-10-21  Michael Albinus  <michael.albinus@gmx.de>

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

1004 1005 1006 1007
2007-10-20  Juanma Barranquero  <lekktu@gmail.com>

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

1008 1009 1010 1011
2007-10-19  Chong Yidong  <cyd@stupidchicken.com>

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

1012 1013 1014 1015
2007-10-19  Richard Stallman  <rms@gnu.org>

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

1016 1017 1018 1019
2007-10-19  Juanma Barranquero  <lekktu@gmail.com>

	* process.c (Fset_process_filter): Doc fix.

1020 1021 1022 1023 1024 1025
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).

1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041
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.

1042 1043 1044 1045 1046 1047
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
1048 1049
2007-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>

1050 1051
	* lread.c (read1): Set pvectype for char_tables.

1052 1053 1054 1055 1056
	* 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
1057 1058 1059
	* alloc.c (free_misc): Use XMISCTYPE.
	(live_misc_p, gc_sweep): Use Lisp_Misc_Any.

1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071
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.

1072 1073 1074 1075 1076 1077 1078
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.

1079 1080
2007-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>

1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091
	* 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.

1092 1093
	* alloc.c (Fpurecopy): Set the pvec tag on pseudo vectors.

1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117
	* lisp.h (enum Lisp_Misc_Type): Del Lisp_Misc_Some_Buffer_Local_Value.
	(XMISCANY): New macro.
	(XMISCTYPE): Use it.
	(struct Lisp_Misc_Any): New type.
	(union Lisp_Misc): Use it.
	(struct Lisp_Buffer_Local_Value): Add `local_if_set' bit.
	* data.c (Fboundp, store_symval_forwarding, swap_in_global_binding)
	(find_symbol_value, set_internal, default_value, Fset_default)
	(Fmake_variable_buffer_local, Fmake_local_variable)
	(Fkill_local_variable, Fmake_variable_frame_local, Flocal_variable_p)
	(Flocal_variable_if_set_p, Fvariable_binding_locus):
	The SOME_BUFFER_LOCAL_VALUEP distinction is replaced by local_if_set.
	* alloc.c (allocate_buffer): Set the size and tag.
	(allocate_misc, mark_maybe_object, mark_object, survives_gc_p):
	Use XMISCANY.
	(die): Follow the GNU convention for error messages.
	* print.c (print_object): SOME_BUFFER_LOCAL_VALUEP -> local_if_set.
	* buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Don't set the
	tag any more.
	(set_buffer_internal_1):
	* frame.c (store_frame_param):
	* eval.c (specbind):
	* xdisp.c (select_frame_for_redisplay): Drop SOME_BUFFER_LOCAL_VALUEP.

1118 1119
	* doc.c (Fsnarf_documentation): Simplify.

1120 1121 1122 1123 1124
2007-10-14  Juanma Barranquero  <lekktu@gmail.com>

	* w32term.c (w32_font_is_double_byte, my_create_scrollbar): Make static.
	(syms_of_w32term) <w32-enable-unicode-output>: Fix typo in docstring.

1125 1126 1127 1128
2007-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>

	* buffer.c (Fmake_indirect_buffer): Set the buffer's tag.

Juanma Barranquero's avatar
Juanma Barranquero committed
1129 1130 1131 1132 1133 1134
2007-10-14  Juanma Barranquero  <lekktu@gmail.com>

	* eval.c (do_autoload): Don't save autoloads.

	* data.c (Ffset): Save autoload of the function being set.

1135 1136 1137 1138 1139
2007-10-07  John Paul Wallington  <jpw@pobox.com>

	* xfns.c (x_create_tip_frame): Set the `display-type' frame
	parameter before setting up faces.

Eli Zaretskii's avatar
Eli Zaretskii committed
1140 1141
2007-10-13  Eli Zaretskii  <eliz@gnu.org>

1142
	* ccl.c (Fregister_code_conversion_map):
1143 1144
	* keyboard.c (append_tool_bar_item): Reformat last change.

Eli Zaretskii's avatar
Eli Zaretskii committed
1145 1146
	* lisp.h (eabs): Rename from `abs'.  All callers changed.

Juanma Barranquero's avatar
Juanma Barranquero committed
1147
2007-10-05  Dmitry Antipov  <dmantipov@yandex.ru>
1148 1149 1150 1151 1152 1153 1154

	* buffer.c (add_overlay_mod_hooklist):
	* ccl.c (Fregister_ccl_program, Fregister_code_conversion_map):
	* fontset.c (make_fontset):
	* keyboard.c (GROW_RAW_KEYBUF, menu_bar_items, menu_bar_item)
	(append_tool_bar_item):
	* macmenu.c (grow_menu_items):
1155
	* w32menu.c (grow_menu_items):
1156
	* xmenu.c (grow_menu_items): Use larger_vector.
1157

1158 1159 1160 1161 1162
2007-10-13  Eli Zaretskii  <eliz@gnu.org>

	* msdos.c (dos_rawgetc): Undo last change (there's no ``leaving
	selected frame'' on MSDOS).

Martin Rudalics's avatar
Martin Rudalics committed
1163 1164 1165 1166 1167 1168
2007-10-12  Martin Rudalics  <rudalics@gmx.at>

	* frame.c (Qexplicit_name): New variable.
	(x_report_frame_params): Report it in parameter alist.
	(syms_of_frame): Intern and staticpro it.

Juanma Barranquero's avatar
Juanma Barranquero committed
1169
2007-10-10  Patrick Mahan  <mahan@mahan.org>  (tiny change)
1170 1171 1172

	* macfns.c (x_create_tip_frame): Set terminal for frame.

1173 1174
2007-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>

1175 1176 1177 1178 1179 1180
	* frame.c (Qenvironment): Remove.
	(syms_of_frame) <Qenvironment>: Don't initialize.
	(Fdelete_frame): Don't treat the `environment' param specially.
	* frame.h (Qenvironment): Don't declare.
	* callproc.c (set_initial_environment): Don't set unused frame param.

1181 1182
	* frame.c (Fframe_with_environment): Remove.
	(syms_of_frame) <Sframe_with_environment>: Don't declare.
1183

1184 1185
	* lisp.h (Fframe_with_environment): Don't declare.

1186 1187 1188 1189 1190 1191
2007-10-10  Juanma Barranquero  <lekktu@gmail.com>

	* indent.c (indent_tabs_mode, last_known_column)
	(last_known_column_modified): Make static.
	(syms_of_indent) <indent-tabs-mode>: Remove redundant info in docstring.

1192 1193 1194 1195
2007-10-10  Katsumi Yamaoka  <yamaoka@jpl.org>

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

Martin Rudalics's avatar
Martin Rudalics committed
1196 1197 1198 1199 1200
2007-10-09  Jason Rumney  <jasonr@gnu.org>

	* w32term.c (x_set_window_size): Disable code that attempts to tell
	Lisp code about a size change before it actually happens.

Miles Bader's avatar
Miles Bader committed
1201
2007-10-09  Richard Stallman  <rms@gnu.org>
Kim F. Storm's avatar
Kim F. Storm committed
1202

Miles Bader's avatar
Miles Bader committed
1203 1204
	* xdisp.c (handle_invisible_prop): After setting up an ellipsis,
	return HANDLED_RETURN.
Kim F. Storm's avatar
Kim F. Storm committed
1205

Miles Bader's avatar
Miles Bader committed
1206
2007-10-08  Martin Rudalics  <rudalics@gmx.at>
Jason Rumney's avatar
Jason Rumney committed
1207

Miles Bader's avatar
Miles Bader committed
1208 1209
	* keyboard.c (kbd_buffer_get_event): Break loop waiting for input
	when there's an unread command event.
1210

1211
	* frame.c (focus_follows_mouse): Move here from frame.el to allow
Miles Bader's avatar
Miles Bader committed
1212 1213 1214 1215
	window autoselection act appropriately when leaving selected frame.
	(syms_of_frame): Initialize focus_follows_mouse.
	* frame.h (focus_follows_mouse): Extern it.
	* macterm.c (XTread_socket): When focus_follows_mouse is nil
1216
	make SELECT_WINDOW_EVENT only if we don't leave the selected frame.
Miles Bader's avatar
Miles Bader committed
1217 1218 1219 1220 1221
	* msdos.c (dos_rawgetc): Likewise.
	* w32term.c (w32_read_socket): Likewise.
	* xterm.c (handle_one_xevent): Likewise.
	* xdisp.c (syms_of_xdisp): In doc-string of
	mouse-autoselect-window mention focus-follows-mouse.
1222

Miles Bader's avatar
Miles Bader committed
1223
2007-10-08  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
1224

Miles Bader's avatar
Miles Bader committed
1225 1226 1227
	* macterm.c (mac_load_query_font): Fix missing return value.
	[USE_CG_DRAWING] (mac_define_fringe_bitmap, mac_destroy_fringe_bitmap):
	Add BLOCK_INPUT.
Stefan Monnier's avatar
Stefan Monnier committed
1228

Miles Bader's avatar
Miles Bader committed
1229
2007-10-08  Richard Stallman  <rms@gnu.org>
Stefan Monnier's avatar
Stefan Monnier committed
1230

Miles Bader's avatar
Miles Bader committed
1231 1232
	* xdisp.c (get_window_cursor_type): Implement documented behavior
	for cursor-in-non-selected-windows = t.
Stefan Monnier's avatar
Stefan Monnier committed
1233

Miles Bader's avatar
Miles Bader committed
1234
2007-10-08  Jason Rumney  <jasonr@gnu.org>
Stefan Monnier's avatar
Stefan Monnier committed
1235

Miles Bader's avatar
Miles Bader committed
1236
	* w32.c (w32_get_resource): Always close registry keys.
Pavel Janík's avatar
Pavel Janík committed
1237

Miles Bader's avatar
Miles Bader committed
1238
2007-10-08  Jason Rumney  <jasonr@gnu.org>
Pavel Janík's avatar
Pavel Janík committed
1239

Miles Bader's avatar
Miles Bader committed
1240
	* makefile.w32-in (LIBS): Add COMCTL32.