summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * insdel.c (check_markers, make_gap_larger, make_gap_smaller):Paul Eggert2011-03-142-5/+8
| | | | (reset_var_on_error, Fcombine_after_change_execute_1): Now static.
* * filelock.c (lock_file_1): Rename local to avoid shadowing.Paul Eggert2011-03-142-4/+5
|
* * filelock.c (within_one_second): Now static.Paul Eggert2011-03-142-1/+3
|
* * buffer.c (fix_overlays_before): Mark locals as initialized.Paul Eggert2011-03-142-2/+10
| | | | | | (fix_start_end_in_overlays): Likewise. This function should be simplified by using pointers-to-pointers, but that's a different matter.
* * buffer.c: (Fkill_buffer, record_buffer, Fbury_buffer, Fset_buffer_multibyte):Paul Eggert2011-03-142-43/+45
| | | | (report_overlay_modification): Rename locals to avoid shadowing.
* * buffer.c (switch_to_buffer_1): Now static.Paul Eggert2011-03-142-1/+3
|
* * sysdep.c (MAXPATHLEN): Define only if needed.Paul Eggert2011-03-142-2/+3
|
* * sysdep.c (sys_subshell): Mark local as volatile if checking for lint,Paul Eggert2011-03-142-1/+3
| | | | to suppress a gcc -Wclobbered warning that does not seem to be right.
* * sysdep.c: Fix pointer signedness issue.Paul Eggert2011-03-142-1/+4
|
* * sysdep.c (system_process_attributes): Rename vars to avoid shadowing.Paul Eggert2011-03-142-9/+12
|
* * process.c (serial_open, serial_configure): Move decls from here ...Paul Eggert2011-03-143-4/+6
| | | | * systty.h: ... to here, so that they can be checked.
* * fns.c (get_random, seed_random): Move extern decls from here ...Paul Eggert2011-03-143-3/+5
| | | | * lisp.h: ... to here, so that they can be checked.
* * sysdep.c (wait_for_termination_signal): Remove; unused.Paul Eggert2011-03-142-4/+1
|
* * sysdep.c (reset_io): Now static.Paul Eggert2011-03-142-2/+4
|
* * keymap.c: (get_keymap, access_keymap, Fdefine_key, Fwhere_is_internal):Paul Eggert2011-03-142-28/+32
| | | | | (describe_map_tree): Rename locals to avoid shadowing.
* * keymap.c (DENSE_TABLE_SIZE): Remove; unused.Paul Eggert2011-03-142-3/+1
|
* * keymap.c (Fwhere_is_internal): Don't test CONSP (sequences) unnecessarily.Paul Eggert2011-03-142-2/+3
|
* * keymap.c (keymap_parent, keymap_memberp, map_keymap_internal):Paul Eggert2011-03-142-6/+10
| | | | | (copy_keymap_item, append_key, push_text_char_description): Now static.
* * keyboard.c (read_char): Mark local as initialized.Paul Eggert2011-03-142-2/+2
|
* * keyboard.c (Fexit_recursive_edit, Fabort_recursive_edit): Mark with NO_RETURN.Paul Eggert2011-03-142-0/+3
|
* * keyboard.c (read_key_sequence): Mark locals as initialized.Paul Eggert2011-03-142-3/+5
|
* * keyboard.c: (read_char, kbd_buffer_get_event, make_lispy_position):Paul Eggert2011-03-142-106/+112
| | | | | | | (make_lispy_event, make_lispy_movement, apply_modifiers): (decode_keyboard_code, tty_read_avail_input, menu_bar_items): (parse_tool_bar_item, read_key_sequence, Fread_key_sequence): (Fread_key_sequence_vector): Rename locals to avoid shadowing.
* * keyboard.h (mark_kboards): Move decl here ...Paul Eggert2011-03-133-1/+3
| | | | * alloc.c (mark_kboards): ... from here.
* * keyboard.c: Declare functions static if they are not used elsewhere.Paul Eggert2011-03-132-6/+10
| | | | | (echo_char, echo_dash, cmd_error, top_level_2): (poll_for_input, handle_async_input): Now static.
* * keyboard.h (make_ctrl_char): New decl.Paul Eggert2011-03-132-4/+6
|
* * lisp.h (force_auto_save_soon): New decl.Paul Eggert2011-03-132-0/+3
|
* * emacs.c (main): Add casts to avoid warningsPaul Eggert2011-03-132-3/+5
| | | | if GCC considers string literals to be constants.
* * emacs.c (DEFINE_DUMMY_FUNCTION): New macro.Paul Eggert2011-03-132-8/+12
| | | | | (__do_global_ctors, __do_global_ctors_aux, __do_global_dtors, __main): Use it.
* * emacs.c (init_cmdargs): Rename local to avoid shadowing.Paul Eggert2011-03-132-5/+7
|
* Rewrite to avoid "/*" in comment.Paul Eggert2011-03-131-1/+1
|
* * lisp.h (fatal_error_signal): Add decl, since it's exported.Paul Eggert2011-03-132-0/+3
|
* * dbusbind.c (Fdbus_register_service, Fdbus_register_method): Remove unused ↵Paul Eggert2011-03-132-2/+1
| | | | vars.
* * dbusbind.c (Fdbus_init_bus): Add cast to avoid warningPaul Eggert2011-03-132-1/+4
| | | | if GCC considers string literals to be constants.
* * dbusbind.c: Pointer signedness fixes.Paul Eggert2011-03-132-23/+31
| | | | | | | | (xd_signature, xd_append_arg, xd_initialize): (Fdbus_call_method, Fdbus_call_method_asynchronously): (Fdbus_method_return_internal, Fdbus_method_error_internal): (Fdbus_send_signal, xd_read_message_1, Fdbus_register_service): (Fdbus_register_signal): Use SSDATA when the context wants char *.
* Fix BUF_* macros to handle indirect buffers properly (Bug#8219).Chong Yidong2011-03-137-136/+146
| | | | | | | | | | | | | | | | | | | | | | * buffer.h (BUF_BEGV, BUF_BEGV_BYTE, BUF_ZV, BUF_ZV_BYTE, BUF_PT) (BUF_PT_BYTE): Rewrite to handle indirect buffers (Bug#8219). These macros can no longer be used for assignment. * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Assign struct members directly, instead of using BUF_BEGV etc. (record_buffer_markers, fetch_buffer_markers): New functions for recording and fetching special buffer markers. (set_buffer_internal_1, set_buffer_temp): Use them. * lread.c (unreadchar): Use SET_BUF_PT_BOTH. * insdel.c (adjust_point): Use SET_BUF_PT_BOTH. * intervals.c (temp_set_point_both): Use SET_BUF_PT_BOTH. (get_local_map): Use SET_BUF_BEGV_BOTH and SET_BUF_ZV_BOTH. * xdisp.c (hscroll_window_tree): (reconsider_clip_changes): Use PT instead of BUF_PT.
* Add `auth-source-search' integration for LDAP searches.Ted Zlatanov2011-03-132-5/+46
| | | | | | | | * net/ldap.el (ldap-search-internal): Add `auth-source-search' integration for LDAP parameters. The host, base, user or binddn, and secret tokens can be specified in a netrc file, for instance. This is optional because an `auth-source' parameter must be specified in the search attributes.
* auth-source.el (auth-source-netrc-create): Show the default in the prompt ↵Teodor Zlatanov2011-03-132-0/+9
| | | | when prompting for token creation.
* MS-Windows followup for 2011-03-13T06:43:00Z!eggert@cs.ucla.edu.Eli Zaretskii2011-03-132-0/+6
| | | | | src/makefile.w32-in ($(BLD)/editfns.$(O)): Depend on $(EMACS_ROOT)/lib/intprops.h.
* Update for gnulib, adding Solaris 9+10 fixes.Paul Eggert2011-03-137-580/+652
|
* Merge from mainline.Paul Eggert2011-03-1337-274/+839
|\
| * Improve quality of tests for time stamp overflow.Paul Eggert2011-03-125-37/+143
| |\
| | * * editfns.c (lisp_time_argument): Check for time stamp overflow.Paul Eggert2011-03-122-7/+30
| | |
| | * * editfns.c (hi_time): Do not overparenthesize.Paul Eggert2011-03-121-5/+5
| | |
| | * Improve quality of tests for time stamp overflow. For example,Paul Eggert2011-03-113-29/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | without this patch (encode-time 0 0 0 1 1 1152921504606846976) returns the obviously-bogus value (-948597 62170) on my RHEL 5.5 x86-64 host. With it, it reports time overflow. * deps.mk (editfns.o): Depend on ../lib/intprops.h. * editfns.c: Include limits.h and intprops.h. (TIME_T_MIN, TIME_T_MAX): New macros. (time_overflow): Move earlier, to before first use. (hi_time, lo_time): New functions, for an accurate test for out-of-range times. (Fcurrent_time, Fget_internal_run_time, make_time): Use them. (Fget_internal_run_time): Don't assume time_t fits in int. (make_time): Use list2 instead of Fcons twice. (Fdecode_time): More accurate test for out-of-range times. (check_tm_member): New function. (Fencode_time): Use it, to test for out-of-range times.
| | * * editfns.c (time_overflow): New function, refactoring common code.Paul Eggert2011-03-112-4/+16
| | | | | | | | | | | | | | | (Fformat_time_string, Fdecode_time, Fencode_time): (Fcurrent_time_string): Use it.
| | * Move 'make_time' to be next to its inverse 'lisp_time_argument'.Paul Eggert2011-03-114-11/+21
| | | | | | | | | | | | | | | | | | * dired.c (make_time): Move to ... * editfns.c (make_time): ... here. * systime.h: Note the move.
| * | Merge changes made in Gnus trunk.Teodor Zlatanov2011-03-134-65/+103
| | | | | | | | | | | | | | | | | | | | | auth.texi (Help for developers): Update docs to explain that the :save-function will only run the first time. auth-source.el (auth-source-format-prompt): Always convert the value to a string to avoid evaluating non-string arguments. (auth-source-netrc-create): Offer default properly, not as initial content in `read-string'. (auth-source-netrc-saver): Use a cache keyed by file name and MD5 hash of line to determine if we've been run before. If so, don't run again, but print a trivial message to indicate the cache was hit instead.
| * | admin/admin.el: Add some code for deploying web manuals.Chong Yidong2011-03-121-0/+230
| | |
| * | lisp/help.el (describe-mode): Link to the mode's definition.Juanma Barranquero2011-03-132-1/+15
| | | | | | | | | | | | Fixes: debbugs:8185
| * | Merge from emacs-23; up to 2010-06-03T22:16:02Z!dann@ics.uci.eduGlenn Morris2011-03-129-83/+127
| |\ \