Commit graph

28210 commits

Author SHA1 Message Date
Nick Roberts
42371deb98 *** empty log message *** 2009-08-30 05:00:59 +00:00
Nick Roberts
a70d537146 (wait_reading_process_output): Keep the descriptor
when pty is used by a non-child process, e.g., in I/O buffer of
GDB this allows inferior to be restarted.
2009-08-30 04:54:34 +00:00
Nick Roberts
548fe2f3ed *** empty log message *** 2009-08-30 04:50:49 +00:00
Eli Zaretskii
e0840eefe1 (redisplay_internal): Remove redundant test and collapse both branches
into one.
2009-08-29 17:36:30 +00:00
Stefan Monnier
82e98df4df * NEWS: Declare unibyte sessions obsolete.
* emacs.c (USAGE1): Remove --(no-)multibyte, --(no-)unibyte.
(main): Use enable-multibyte-characters rather than
default-enable-multibyte-characters.  Output a warning message when
running a unibyte session.
* mule.texi (Enabling Multibyte):
* cmdargs.texi (General Variables): Remove EMACS_UNIBYTE.
(Initial Options): Remove --(no-)multibyte, --(no-)unibyte.
2009-08-29 02:25:29 +00:00
YAMAMOTO Mitsuharu
890617cbfd [temacs] Undef HAVE_POSIX_MEMALIGN. 2009-08-28 22:50:11 +00:00
YAMAMOTO Mitsuharu
6bcd6333a4 (print_load_command_name) [LC_DYLD_INFO]: Add cases
LC_DYLD_INFO and LC_DYLD_INFO_ONLY.
(copy_data_segment): Also copy __program_vars section.
(copy_dyld_info) [LC_DYLD_INFO]: New function.
(dump_it) [LC_DYLD_INFO]: Use it.
2009-08-28 22:49:46 +00:00
Eli Zaretskii
e7adeadcd3 (clean): Add buildobj.h. 2009-08-28 14:01:04 +00:00
Eli Zaretskii
249b95643b (buildobj.h): Renamed from $(SRC)/buildobj.h.
(make-buildobj-CMD, make-buildobj-SH): Create buildobj.h, not
$(SRC)/buildobj.h.
($(BLD)/doc.$(O)): Depend on buildobj.h, not on $(SRC)/buildobj.h.
2009-08-28 13:58:52 +00:00
Teodor Zlatanov
3ed8bbdc5f (print_object): Set escapeflag to 1 when printing
hashtable keys and values.
2009-08-28 10:16:03 +00:00
Eli Zaretskii
8a0b709a07 Mention bug numbers in last cmds.c log entry. 2009-08-28 08:55:23 +00:00
Juanma Barranquero
9414bda7a5 * .cvsignore, .gitignore: Ignore buildobj.h. 2009-08-28 02:40:13 +00:00
Stefan Monnier
155a6764a3 (read_integer): Use doubles (and potentially return a float
number) as we do in string-to-number.
(read1): Use strtol to read integers, signal errors on strtol's
overflow and use floats if strtol's output is too large for
Elisp integers.
2009-08-27 21:10:17 +00:00
Juanma Barranquero
31fd7c5c44 Fix typos. 2009-08-27 20:04:25 +00:00
Eli Zaretskii
877610de12 (SRC): Move to before where it's first used.
($(SRC)/buildobj.h, make-buildobj-CMD, make-buildobj-SH): Fix last change.
2009-08-27 18:33:44 +00:00
Kenichi Handa
550c8289fd (send_process): Use encode_coding_object instead of
encode_coding_string to perform eol-conversion even if the string
is unibyte.
2009-08-27 11:13:33 +00:00
Kenichi Handa
60afa08d41 (encode_coding_utf_16): Fix checking of an Unicode character. 2009-08-27 07:30:51 +00:00
Kenichi Handa
ef73e7be7b (Fself_insert_command): Avoid unnecessay unibyte->multibyte
conversion.
2009-08-27 06:02:17 +00:00
Dan Nicolaescu
5654bf6320 (Fcall_process): Remove always true #if. 2009-08-26 20:22:17 +00:00
Dan Nicolaescu
7b3a82d7e3 * lisp.h: Replace #if 0 code for checking with text pointing to
the --enable-checking configure flag.

* emacs.c (main): Mention the --enable-profiling configure flag
instead of using CFLAGS.
2009-08-26 19:57:44 +00:00
Ken Raeburn
878bde4927 * Makefile.in (buildobj.h): New target.
(doc.o): Depend on it.
(temacs${EXEEXT}): Don't generate buildobj.lst.
(mostlyclean): Delete buildobj.h, not buildobj.lst.
* makefile.w32-in ($(SRC)/buildobj.h): New target.
($(BLD)/doc.$(O)): Depend on it.
(make-buildobj-CMD, make-buildobj-SH): New targets.  (Syntax help
provided by Eli Zaretskii.)
($(TEMACS)): Don't generate buildobj.lst.
* doc.c: Include buildobj.h.
(buildobj): New static variable.
(Fsnarf_documentation): Use it, instead of opening and reading
buildobj.lst.
2009-08-26 08:28:23 +00:00
Michael Albinus
1574224c89 * dbusbind.c (Fdbus_call_method)
(Fdbus_call_method_asynchronously): Use English numeric format for
timeout values in doc string.
2009-08-25 10:31:38 +00:00
Kenichi Handa
5802634797 (mark_char_table): New function.
(mark_object): Use mark_char_table for a char-table.
2009-08-25 06:03:09 +00:00
Glenn Morris
5afa3a81e3 joakim at verona.se
Replace some C99 comments.
2009-08-25 03:05:50 +00:00
Kenichi Handa
d9da2f452d (CHAR_TABLE_REF_ASCII): New macor.
(CHAR_TABLE_REF): Use it.
2009-08-25 00:48:59 +00:00
Ken Raeburn
c8edcc0113 * Makefile.in (emacs${EXEEXT}) [CANNOT_DUMP]: Set EMACSLOADPATH
before invoking the newly build emacs to check for load-path
shadowing.
2009-08-23 04:43:12 +00:00
Glenn Morris
7763401bac (bootstrap_exe): New variable.
(.el.elc, ${lispsource}loaddefs.el, bootstrap-emacs${EXEEXT}):
Use ${bootstrap_exe}.
2009-08-22 22:16:58 +00:00
Eli Zaretskii
729eaddaca (encode_coding_string): Don't encode unibyte strings. (Bug#4047) 2009-08-22 10:26:14 +00:00
Michael Albinus
eb4c6ace23 * dbusbind.c (XD_WITH_DBUS_WATCH_GET_UNIX_FD): Remove. It was
intended as hotfix only.
(xd_add_watch, xd_remove_watch): Use HAVE_DBUS_WATCH_GET_UNIX_FD.
2009-08-22 08:57:34 +00:00
Michael Albinus
244f96fcc4 * config.in (HAVE_DBUS_WATCH_GET_UNIX_FD): Add. 2009-08-22 08:54:08 +00:00
Adrian Robert
51b4b3fb38 (ns_get_color): fix typo in last change 2009-08-21 19:36:50 +00:00
Adrian Robert
36e34d1b5d * nsterm.m (ns_get_color): Update documentation properly for last
change, and clean up loose ends in the code left by it.  Fix
	longstanding bug with 16-bit hex parsing, and add support for
	yet another X11 format (rgb:r/g/b) for compatibility.
	* nsfns.m (EmacsDialogPanel-runDialogAt): Add declaration of
	timer_check() to avoid crash on Leopard/PPC.  Bug #2154.
2009-08-21 19:33:56 +00:00
Adrian Robert
3625e9685c * nsterm.m (ns_get_color): Update documentation properly for last
change, and clean up loose ends in the code left by it.  Fix
	longstanding bug with 16-bit hex parsing, and add support for
	yet another X11 format (rgb:r/g/b) for compatibility.
2009-08-21 19:31:48 +00:00
Adrian Robert
641d87f548 nsfns.m (EmacsDialogPanel-runDialogAt): Add declaration of
timer_check() to avoid crash on Leopard/PPC.  Bug #2154.
2009-08-21 19:29:31 +00:00
Stefan Monnier
f983eb8aaa (init_eval_once): Bump max_lisp_eval_depth to 500 for js.el. 2009-08-21 14:53:02 +00:00
Michael Albinus
3f56d3c665 * dbusbind.c (XD_WITH_DBUS_WATCH_GET_UNIX_FD): New macro.
(xd_add_watch, xd_remove_watch): Use it.  Print debug messages.
(xd_initialize, xd_pending_messages): Check, whether
$DBUS_SESSION_BUS_ADDRESS is set.
2009-08-20 12:54:57 +00:00
YAMAMOTO Mitsuharu
fb641d684f (ns_get_color): Remove incompatible color formats again. 2009-08-20 09:44:25 +00:00
YAMAMOTO Mitsuharu
fb67c21b69 (Fxw_color_values): Return 3-element list. Doc fix. 2009-08-20 09:44:06 +00:00
Glenn Morris
cf59a3740d (system-type): Doc fix. 2009-08-20 06:41:43 +00:00
Stefan Monnier
1373f3bebc (syms_of_keyboard): Default to 5 buttons, which should be
enough for the most common situations.  Avoid SET_SYMBOL_VALUE.
2009-08-19 14:39:35 +00:00
Michael Albinus
058ed8610c * dbusbind.c (xd_add_watch, xd_remove_watch, Fdbus_init_bus): New
functions.
(xd_initialize): Revert change from 2009-08-16.
2009-08-18 15:17:02 +00:00
Kenichi Handa
563a866ec7 (Ffontset_font): Fix previous change. 2009-08-18 00:37:11 +00:00
Kenichi Handa
5fc05db07b *** empty log message *** 2009-08-18 00:22:28 +00:00
Chong Yidong
e42bdf0159 * process.c (status_notify): Don't perform redisplay.
(Fdelete_process, list_processes_1, process_send_signal):
Expliticly perform redisplay.
(wait_reading_process_output): Always check process status, but
don't perform redisplay unless DO_DISPLAY is non-zero (Bug#2930).
2009-08-17 21:04:05 +00:00
Ken Raeburn
f601cdf35d * lisp.h (XFLOAT_DATA): Produce an rvalue by adding 0 to the value.
(XFLOAT_INIT): New macro for storing a float value.
* alloc.c (make_float, make_pure_float): Use XFLOAT_INIT.
* fns.c (sxhash): Copy out the value of a float in order to examine its bytes.
* dbusbind.c (xd_append_arg): Likewise.
2009-08-17 01:25:54 +00:00
Ken Raeburn
4230ab74b7 (main): Don't call syms_of_data twice. 2009-08-17 00:48:14 +00:00
Michael Albinus
ca4f31ea15 * dbusbind.c (Fdbus_call_method_asynchronously): Allow nil HANDLER. 2009-08-16 17:35:44 +00:00
Michael Albinus
a0645cddf0 * dbusbind.c (xd_initialize): Add connection file descriptor to
input_wait_mask, in order to let select() detect, whether a new
message has been arrived.
2009-08-16 12:23:23 +00:00
Chong Yidong
84b17ab096 * eval.c (Fcalled_interactively_p, Finteractive_p): Doc
fix (Bug#3936).
2009-08-15 21:51:33 +00:00
Michael Albinus
485db0ba86 * keyboard.c (readable_events): Call xd_pending_messages. 2009-08-15 18:31:49 +00:00