aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Modernize and clean up gmalloc.c to assume C89 (Bug#9119).Paul Eggert2012-04-222-375/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * gmalloc.c: (_MALLOC_INTERNAL, _MALLOC_H, _PP, __ptr_t) (__malloc_size_t, __malloc_ptrdiff_t): Remove. All uses removed, replaced by the definiens if needed, since we can assume C89 or better now. Include <stdint.h>, for PTRDIFF_MAX, uintptr_t. (protect_malloc_state, align, get_contiguous_space) (malloc_atfork_handler_prepare, malloc_atfork_handler_parent) (malloc_atfork_handler_child, malloc_enable_thread) (malloc_initialize_1, __malloc_initialize, morecore_nolock) (_malloc_internal_nolock, _malloc_internal, malloc, _malloc) (_free, _realloc, _free_internal_nolock, _free_internal, free, cfree) (special_realloc, _realloc_internal_nolock, _realloc_internal) (realloc, calloc, __default_morecore, memalign, valloc, checkhdr) (freehook, mallochook, reallochook, mabort, mcheck, mprobe): Define using prototypes, not old style. (align, _malloc_internal_nolock, _free_internal_nolock, memalign): Don't assume ptrdiff_t and uintptr_t are no wider than unsigned long. (align): Don't assume that signed integer overflow wraps around. Omit unused local var. (malloc_initialize_1, morecore_nolock, _malloc_internal_nolock) (_free_internal_nolock, memalign, mallochook, reallochook): Omit no-longer-needed casts. (valloc): Use getpagesize, not __getpagesize. (MAGICWORD, MAGICFREE): Now randomish size_t values, not 32-bit. (struct hdr): The 'magic' member is now size_t, not unsigned long.
* * faces.el (face-spec-set): Stop supporting deprecated form of third arg.Chong Yidong2012-04-233-29/+29
|
* Make the "reset-saved" Custom operation reset to default if there is no ↵Chong Yidong2012-04-232-45/+53
| | | | | | | | | | | | saved value. * lisp/cus-edit.el (custom-variable-menu) (custom-variable-reset-saved, custom-face-menu) (custom-face-reset-saved): If there is no saved value, make the "reset-saved" operation bring back the default. (custom-face-state): Properly detect themed faces. Fixes: debbugs:9509
* * dbusbind.c (XD_DBUS_VALIDATE_OBJECT): Define only if needed.Paul Eggert2012-04-222-1/+8
|
* Move functions from C to Lisp. Make non-blocking method callsMichael Albinus2012-04-229-1454/+1797
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the default. Implement further D-Bus standard interfaces. * configure.in (dbus_validate_bus_name, dbus_validate_path) (dbus_validate_interface, dbus_validate_member): Check also for these library functions * dbusbind.c (DBUS_NUM_MESSAGE_TYPES): Declare. (QCdbus_request_name_allow_replacement) (QCdbus_request_name_replace_existing) (QCdbus_request_name_do_not_queue) (QCdbus_request_name_reply_primary_owner) (QCdbus_request_name_reply_in_queue) (QCdbus_request_name_reply_exists) (QCdbus_request_name_reply_already_owner): Move to dbus.el. (QCdbus_registered_serial, QCdbus_registered_method) (QCdbus_registered_signal): New Lisp objects. (XD_DEBUG_MESSAGE): Use sizeof. (XD_MESSAGE_TYPE_TO_STRING, XD_OBJECT_TO_STRING) (XD_DBUS_VALIDATE_BUS_ADDRESS, XD_DBUS_VALIDATE_OBJECT) (XD_DBUS_VALIDATE_BUS_NAME, XD_DBUS_VALIDATE_PATH) (XD_DBUS_VALIDATE_INTERFACE, XD_DBUS_VALIDATE_MEMBER): New macros. (XD_CHECK_DBUS_SERIAL): Rename from CHECK_DBUS_SERIAL_GET_SERIAL. (xd_signature, xd_append_arg): Allow float for integer types. (xd_get_connection_references): New function. (xd_get_connection_address): Rename from xd_initialize. Return cached address. (xd_remove_watch): Do not unset $DBUS_SESSION_BUS_ADDRESS. (xd_close_bus): Rename from Fdbus_close_bus. Not needed on Lisp level. (Fdbus_init_bus): New optional arg PRIVATE. Cache address. Return number of recounts. (Fdbus_get_unique_name): Make stronger parameter check. (Fdbus_message_internal): New defun. (Fdbus_call_method, Fdbus_call_method_asynchronously) (Fdbus_method_return_internal, Fdbus_method_error_internal) (Fdbus_send_signal, Fdbus_register_service) (Fdbus_register_signal, Fdbus_register_method): Move to dbus.el. (xd_read_message_1): Obey new structure of Vdbus_registered_objects. (xd_read_queued_messages): Obey new structure of Vdbus_registered_buses. (Vdbus_compiled_version, Vdbus_runtime_version) (Vdbus_message_type_invalid, Vdbus_message_type_method_call) (Vdbus_message_type_method_return, Vdbus_message_type_error) (Vdbus_message_type_signal): New defvars. (Vdbus_registered_buses, Vdbus_registered_objects_table): Adapt docstring. * net/dbus.el (dbus-message-internal): Declare function. Remove unneeded function declarations. (defvar dbus-message-type-invalid, dbus-message-type-method-call) (dbus-message-type-method-return, dbus-message-type-error) (dbus-message-type-signal): Declare variables. Remove local definitions. (dbus-interface-dbus, dbus-interface-peer) (dbus-interface-introspectable, dbus-interface-properties) (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table): Adapt docstring. (dbus-interface-objectmanager): New defconst. (dbus-call-method, dbus-call-method-asynchronously) (dbus-send-signal, dbus-method-return-internal) (dbus-method-error-internal, dbus-register-service) (dbus-register-signal, dbus-register-method): New defuns, moved from dbusbind.c (dbus-call-method-handler, dbus-setenv) (dbus-get-all-managed-objects, dbus-managed-objects-handler): New defuns. (dbus-call-method-non-blocking): Make it an obsolete function. (dbus-unregister-object, dbus-unregister-service) (dbus-handle-event, dbus-register-property) (dbus-property-handler): Obey the new structure of `bus-registered-objects'. (dbus-introspect): Use `dbus-call-method'. Use a timeout. (dbus-get-property, dbus-set-property, dbus-get-all-properties): Use `dbus-call-method'. * dbus.texi (Version): New node. (Properties and Annotations): Mention the object manager interface. Describe dbus-get-all-managed-objects. (Type Conversion): Floating point numbers are allowed, if an anteger does not fit Emacs's integer range. (Synchronous Methods): Remove obsolete dbus-call-method-non-blocking. (Asynchronous Methods): Fix description of dbus-call-method-asynchronously. (Receiving Method Calls): Fix some minor errors. Add dbus-interface-emacs. (Signals): Describe unicast signals and the new match rules. (Alternative Buses): Add the PRIVATE optional argument to dbus-init-bus. Describe its new return value. Add dbus-setenv.
* Tweaks to Customize interface. Set custom-reset-button-menu to t.Chong Yidong2012-04-2224-111/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cus-edit.el (custom-commands, custom-reset-menu) (Custom-reset-standard): Tweak labels. (custom-reset-button-menu): Change default to t. (custom-buffer-create-internal): For the custom-reset-button-menu case, put the revert button first. (custom-group-subtitle): New face. (custom-group-value-create): Align docstring to a specific column. * wid-edit.el (widget-documentation-link-add): Don't handle indentation in this function. (widget-documentation-string-indent-to): New function. (widget-documentation-string-value-create): Use it. * autorevert.el (auto-revert): * epg-config.el (epg): * ibuffer.el (ibuffer): * mpc.el (mpc): * ses.el (ses): * eshell/eshell.el (eshell): * net/ange-ftp.el (ange-ftp): * progmodes/ebnf2ps.el (postscript): * progmodes/flymake.el (flymake): * progmodes/prolog.el (prolog): * progmodes/verilog-mode.el (verilog-mode): * progmodes/which-func.el (which-func): * textmodes/picture.el (picture): * textmodes/tildify.el (tildify): * vc/ediff.el (ediff): Tweak defgroups to improve presentation in customization buffers.
* CC Mode. Adding a ) can hide the resulting (..) from searches. Fix it.Alan Mackenzie2012-04-222-9/+41
|
* Auto-commit of generated files.Glenn Morris2012-04-222-30/+18
|
* Fix GC_MALLOC_CHECK debugging output on 64-bit hosts.Paul Eggert2012-04-222-1/+5
| | | | | * alloc.c (emacs_blocked_malloc) [GC_MALLOC_CHECK]: Do not assume ptrdiff_t is the same width as 'int'.
* * alloc.c: Handle unusual debugging option combinations.Paul Eggert2012-04-222-10/+22
| | | | | | | | | | (GC_CHECK_MARKED_OBJECTS): Undef if ! GC_MARK_STACK, since the two debugging options are incompatible. (GC_MALLOC_CHECK): Similarly, undef if GC_CHECK_MARKED_OBJECTS is defined. (mem_init, mem_insert, mem_insert_fixup): Define if GC_MARK_STACK || GC_MALLOC_CHECK. (NEED_MEM_INSERT): Remove; no longer needed.
* * configure.in (doug_lea_malloc): Check for __malloc_initialize_hook.Paul Eggert2012-04-212-11/+25
| | | | | | | | | | With glibc 2.14 or later, when compiled with GCC 4.7.0's -Werror=deprecated-declarations flag, use of hooks like __malloc_initialize_hook causes compilation to fail because these hooks are deprecated. Modify 'configure' to check for these hooks too. Simplify the 'configure' code to test for all the hooks at once. (emacs_cv_var___after_morecore_hook): Remove, replacing with ... (emacs_cv_var_doug_lea_malloc): ... this new var.
* * src/sysdep.c (list_system_processes): Support Darwin.Leo Liu2012-04-222-2/+20
| | | | Fixes: debbugs:5725
* * sysdep.c [__FreeBSD__]: Minor cleanups.Paul Eggert2012-04-212-46/+56
| | | | | | (list_system_processes, system_process_attributes) [__FreeBSD__]: Use Emacs indenting style more consistently. Avoid some casts. Use 'double' consistently rather than mixing 'float' and 'double'.
* Sync from gnulib version 4f11d6bebc3098c64ffde27079ab0d0cecfd0cdcPaul Eggert2012-04-214-4/+14
| | | | | | | | dated 2011-10-07. Regenerating from current gnulib would be a pervasive change, and currently the trunk isn't open to such changes. * configure.in (WARN_CFLAGS): Remove; no longer needed now that gnulib does it. * lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
* Don't add modes to which-func-modes if already set to t.Juanma Barranquero2012-04-214-4/+14
| | | | | | | | | * lisp/progmodes/verilog-mode.el (verilog-mode): Check whether which-func-modes is t before adding verilog-mode. Reported by Andy Moreton <[email protected]>. * lisp/mh-e/mh-folder.el (top): Check whether which-func-modes is t before adding mh-folder-mode.
* * lisp/net/rcirc.el (rcirc): Avoid error when process-contact returnsLeo Liu2012-04-212-5/+12
| | | | t.
* Add system processes support for FreeBSD.Eduard Wiebe2012-04-212-0/+216
| | | | | | | * src/sysdep.c (list_system_processes, system_process_attributes): Add implementation for FreeBSD. Fixes: debbugs:5243
* Fix the build after leim-related changes.Eli Zaretskii2012-04-213-4/+29
| | | | | | | | | | | msdos/sedleim.inp (RUN_EMACS): Replace BUILT_EMACS with EMACS. Remove stale editing of "else make quail". (.PHONY, compile-targets): Remove targets. (compile-main): Edit into something that can be done without requiring a Unixy shell. (bootstrap-clean): Likewise: edit to not require $(setwins). msdos/sed1v2.inp: Edit "cd $(leimdir) && $(MAKE) ..." into the equivalent "$(MAKE) $(MFLAGS) -C $(leimdir) ..." command.
* * lisp.mk (lisp): Update.Andreas Schwab2012-04-212-0/+5
|
* Fixes: debbugs:11285Andreas Schwab2012-04-212-1/+7
| | | | * m4/gl-comp.m4: Update.
* Improve tbl support in woman.el.Michael Vehrs2012-04-212-24/+90
| | | | | | | | | | | | | | | | | * lisp/woman.el (woman-find-next-control-line): New arg, specifying an additional regexp component for the control line. (woman2-roff-buffer): Use it. (woman-break-table): New function. (woman2-TS): Use it. And some cleanups: * lisp/woman.el (woman-set-buffer-display-table, woman-decode-region) (woman-horizontal-escapes, woman-negative-vertical-space) (woman-tab-to-tab-stop, woman2-fc, woman2-TS) (WoMan-warn-ignored): Use ?\s instead of ?\ . Fixes: debbugs:5635
* * keyboard.c (process_pending_signals): Define only if SYNC_INPUT.Paul Eggert2012-04-202-0/+7
| | | | It is never used otherwise.
* * lisp/minibuffer.el (completion-file-name-table): Complete user names.Stefan Monnier2012-04-202-0/+10
|
* Fix up merged ChangeLog entriesGlenn Morris2012-04-203-27/+4
|
* * src/print.c (print_preprocess): Only check print_depth if print-circleStefan Monnier2012-04-202-50/+56
| | | | | | is nil. (print_object): Check for cycles even when print-circle is nil and print-gensym is t, but only check print_depth if print-circle is nil.
* * lisp/font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-letLeo Liu2012-04-202-4/+9
| | | | and pcase-let*.
* Fix emacsclient/server behavior under --without-x.Chong Yidong2012-04-204-7/+12
| | | | | | | | | * lib-src/emacsclient.c (main): Send -tty to Emacs under more circumstanced (Bug#8314). * lisp/server.el (server-process-filter): Only try to open a window system frame if compiled with graphical support (Bug#8314). Fixes: debbugs:11102
* * lisp/server.el (server-execute): Respect initial-buffer-choiceChong Yidong2012-04-203-11/+20
| | | | | | | | if it is a string and there are no files to open. (server-create-window-system-frame, server-create-tty-frame): Don't switch buffers here. Fixes: debbugs:2825
* Merge from emacs-24 branchChong Yidong2012-04-2035-735/+1136
|\
| * * etc/CONTRIBUTE: Expand a bit on copyright assignments.Glenn Morris2012-04-202-7/+20
| |
| * * MORE.STUFF: General update.Glenn Morris2012-04-202-92/+50
| | | | | | | | | | Mention list-packages. Remove many old/outdated URLs.
| * Fix sysfs battery display.Dan Nicolaescu2012-04-202-2/+8
| | | | | | | | | | | | * battery.el (battery-echo-area-format): Display remaining time for sysfs backend too (Bug#11269). (battery-linux-sysfs): Fix conditional for the charge.
| * Fix last change.Chong Yidong2012-04-201-6/+10
| | | | | | | | | | * lisp/progmodes/gdb-mi.el (gdb-inferior-io-sentinel): Don't do anything if gdb process is killed.
| * Fixes for pty handling in gdb-mi.el and process.c.Chong Yidong2012-04-206-34/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/gdb-mi.el (gdb): Revert 2012-04-19 change. (gdb-inferior-io--init-proc): New function. (gdb-init-1): Use it. (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty, responsible for allocating a new pty and hooking it to gdb when the old pty gets an EIO due to process exit. (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers. (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area. (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset. * src/process.c (wait_reading_process_output): If EIO occurs on a pty, set the status to "failed" and ensure that sentinel is run. * doc/lispref/processes.texi (Asynchronous Processes): Mention nil argument to start-process.
| * ChangeLog updates for last commit.Eli Zaretskii2012-04-201-1/+1
| |
| * Doc fixes in window.el functions.Eli Zaretskii2012-04-202-63/+85
| | | | | | | | | | | | | | | | | | | | | | lisp/window.el (window-min-size, window-sizable, window-min-delta) (window-max-delta, window--resizable, window-resizable) (window-total-size, window-full-height-p, window-full-width-p) (window-in-direction, window--resize-mini-window, window-resize) (window--resize-child-windows-normal) (window--resize-child-windows, window--resize-siblings) (window--resize-this-window, adjust-window-trailing-edge) (enlarge-window, shrink-window): Doc fixes.
| * FOR-RELEASE small editsGlenn Morris2012-04-191-1/+6
| |
| * Some rough FAQ additions for Emacs 24Glenn Morris2012-04-192-4/+89
| | | | | | | | | | * doc/misc/faq.texi (New in Emacs 24): New section. (Packages that do not come with Emacs): Mention M-x list-packages.
| * More small edits for doc/lispref/minibuf.texiGlenn Morris2012-04-195-115/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/elisp.texi, doc/lispref/vol1.texi, doc/lispref/vol2.texi: * doc/lispref/minibuf.texi (Completion): Update "High-Level Completion" description. * doc/lispref/minibuf.texi (Basic Completion): No need to describe obarrays here. Don't mention obsolete `nospace' argument of all-completions. (Minibuffer Completion, Completion Commands, Reading File Names) (Completion Variables): Copyedits. (Completion Commands): Mention parent keymaps. Remove obsolete minibuffer-local-filename-must-match-map. (High-Level Completion): Remove read-variable's almost word-for-word duplication of read-command.
| * Delete the gdb-inferior pty when the gdb process exits.Chong Yidong2012-04-193-34/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New function to call delete-process on the gdb-inferior buffer's pty. (gdb-reset): Use it, instead of relying on kill-buffer to kill the pty process. (gdb-update): New arg to suppress talking to the gdb process. (gdb-done-or-error): Use it. (gdb-stopped-functions): Rename from gdb-stopped-hooks. (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for sentinel not being called. * lisp/comint.el (make-comint-in-buffer, comint-exec): Doc fix. Fixes: debbugs:11273
| * ChangeLog fixGlenn Morris2012-04-181-9/+8
| |
| * More small edits for doc/lispref/minibuf.texiGlenn Morris2012-04-186-39/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/minibuf.texi (Object from Minibuffer): Remove overly pedantic paragraph. (Minibuffer History): Copyedits. Add face-name-history. (Initial Input, Yes-or-No Queries, Multiple Queries) (Minibuffer Windows, Minibuffer Misc): Copyedits. (Yes-or-No Queries): Tweak example. (Minibuffer Commands): Add next-complete-history-element. (Minibuffer Misc): Mention minibuffer-message-timeout, and minibuffer-inactive-mode. * doc/lispref/minibuf.texi (Minibuffers): * doc/lispref/elisp.texi, doc/lispref/vol1.texi, doc/lispref/vol2.texi: Fix minibuffer subsection order. * lisp/subr.el: Comment.
| * Shameful typoGlenn Morris2012-04-181-1/+1
| |
| * Small edits for doc/lispref/minibuf.texiGlenn Morris2012-04-182-38/+67
| | | | | | | | | | | | | | | | | | | | * doc/lispref/minibuf.texi: Standardize metasyntactic variables ("history", etc). Use Texinfo-recommended form of quote+punctuation. (Intro to Minibuffers): First minibuffer is #1, not #0. Mention minibuffer-inactive-mode. (Text from Minibuffer): Copyedits. (Minibuffer History, Programmed Completion): Fix @var usage.
| * Auto-commit of generated files.Glenn Morris2012-04-181-1/+1
| |
| * More small doc and lispref edits related to processesGlenn Morris2012-04-185-63/+79
| | | | | | | | | | | | | | | | | | | | | | * doc/lispref/processes.texi (Serial Ports, Byte Packing, Bindat Spec) (Bindat Functions): Copyedits. * src/process.c (Fset_process_inherit_coding_system_flag) (Fset_process_query_on_exit_flag): Doc fix (mention return value). (Fmake_network_process, Fmake_serial_process): Doc fix. * admin/FOR-RELEASE: Related markup.
| * Docfix for require-final-newline in Lisp manual.Christopher Schmidt2012-04-182-5/+12
| | | | | | | | | | * doc/lispref/files.texi (Saving Buffers): Document `visit and `visit-save' values of require-final-newline.
| * * lisp/progmodes/grep.el (grep, rgrep): Doc fix.Chong Yidong2012-04-182-6/+11
| | | | | | | | Fixes: debbugs:11268
| * More process-related doc and manual small editsGlenn Morris2012-04-176-98/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/processes.texi (Output from Processes, Filter Functions): Mention waiting-for-user-input-p. (Sentinels, Query Before Exit, System Processes, Transaction Queues): (Network Servers, Datagrams, Network Processes, Network Options) (Network Feature Testing, Serial Ports): Copyedits. (Network): Add encrypted network overview paragraph. Cross-reference the Emacs-GnuTLS manual. Use @acronym. * lisp/net/network-stream.el (open-network-stream): Doc fix. * src/process.c (Fset_process_inherit_coding_system_flag) (Fset_process_query_on_exit_flag): Doc fix (mention return value). (Fmake_network_process): Doc fix.
| * * configure.in: Don't use the -R option (Bug#11251).Ludovic Courtès2012-04-182-1/+5
| |