1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 23:31:55 -08:00
Commit graph

99199 commits

Author SHA1 Message Date
Paul Eggert
a0977c4454 * process.c (serial_open, serial_configure): Move decls from here ...
* systty.h: ... to here, so that they can be checked.
2011-03-14 15:49:41 -07:00
Paul Eggert
a884fdcc41 * fns.c (get_random, seed_random): Move extern decls from here ...
* lisp.h: ... to here, so that they can be checked.
2011-03-14 15:42:10 -07:00
Paul Eggert
b8950c9480 * sysdep.c (wait_for_termination_signal): Remove; unused. 2011-03-14 15:37:08 -07:00
Paul Eggert
604efe86a9 * sysdep.c (reset_io): Now static. 2011-03-14 15:36:12 -07:00
Paul Eggert
c1141155ba * keymap.c: (get_keymap, access_keymap, Fdefine_key, Fwhere_is_internal):
(describe_map_tree):
Rename locals to avoid shadowing.
2011-03-14 08:53:19 -07:00
Paul Eggert
dbbb842771 * keymap.c (DENSE_TABLE_SIZE): Remove; unused. 2011-03-14 08:42:21 -07:00
Paul Eggert
1004a21a8f * keymap.c (Fwhere_is_internal): Don't test CONSP (sequences) unnecessarily. 2011-03-14 08:40:57 -07:00
Paul Eggert
38fc62d95a * keymap.c (keymap_parent, keymap_memberp, map_keymap_internal):
(copy_keymap_item, append_key, push_text_char_description):
Now static.
2011-03-14 08:32:56 -07:00
Paul Eggert
c8a06054fc * keyboard.c (read_char): Mark local as initialized. 2011-03-14 08:28:09 -07:00
Paul Eggert
3ac946723d * keyboard.c (Fexit_recursive_edit, Fabort_recursive_edit): Mark with NO_RETURN. 2011-03-14 08:25:21 -07:00
Paul Eggert
560a553af5 * keyboard.c (read_key_sequence): Mark locals as initialized. 2011-03-14 08:19:28 -07:00
Paul Eggert
69a058fab1 * keyboard.c: (read_char, kbd_buffer_get_event, make_lispy_position):
(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.
2011-03-14 08:15:30 -07:00
Paul Eggert
da2f2dd9c2 * keyboard.h (mark_kboards): Move decl here ...
* alloc.c (mark_kboards): ... from here.
2011-03-13 22:55:38 -07:00
Paul Eggert
2f2650daaa * keyboard.c: Declare functions static if they are not used elsewhere.
(echo_char, echo_dash, cmd_error, top_level_2):
(poll_for_input, handle_async_input): Now static.
2011-03-13 22:51:17 -07:00
Paul Eggert
a053e86cc5 * keyboard.h (make_ctrl_char): New decl. 2011-03-13 22:49:51 -07:00
Paul Eggert
4752793e22 * lisp.h (force_auto_save_soon): New decl. 2011-03-13 22:48:15 -07:00
Paul Eggert
c03cd23f45 * emacs.c (main): Add casts to avoid warnings
if GCC considers string literals to be constants.
2011-03-13 22:36:36 -07:00
Paul Eggert
244fc23d16 * emacs.c (DEFINE_DUMMY_FUNCTION): New macro.
(__do_global_ctors, __do_global_ctors_aux, __do_global_dtors, __main):
Use it.
2011-03-13 20:49:40 -07:00
Paul Eggert
74f10ca71b * emacs.c (init_cmdargs): Rename local to avoid shadowing. 2011-03-13 20:43:36 -07:00
Paul Eggert
603935076c Rewrite to avoid "/*" in comment. 2011-03-13 20:35:14 -07:00
Paul Eggert
022e70d41f * lisp.h (fatal_error_signal): Add decl, since it's exported. 2011-03-13 20:31:16 -07:00
Paul Eggert
49cebccaa7 * dbusbind.c (Fdbus_register_service, Fdbus_register_method): Remove unused vars. 2011-03-13 20:25:51 -07:00
Paul Eggert
78320123c1 * dbusbind.c (Fdbus_init_bus): Add cast to avoid warning
if GCC considers string literals to be constants.
2011-03-13 20:23:23 -07:00
Paul Eggert
59d6fe8344 * dbusbind.c: Pointer signedness fixes.
(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 *.
2011-03-13 20:21:32 -07:00
Chong Yidong
cffc6f3bd9 Fix BUF_* macros to handle indirect buffers properly (Bug#8219).
* 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.
2011-03-13 18:25:16 -04:00
Ted Zlatanov
eebc475df5 Add `auth-source-search' integration for LDAP searches.
* 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.
2011-03-13 17:17:17 -05:00
Teodor Zlatanov
67613d3160 auth-source.el (auth-source-netrc-create): Show the default in the prompt when prompting for token creation. 2011-03-13 20:50:07 +00:00
Eli Zaretskii
d251f04bea MS-Windows followup for 2011-03-13T06:43:00Z!eggert@cs.ucla.edu.
src/makefile.w32-in ($(BLD)/editfns.$(O)): Depend on
 $(EMACS_ROOT)/lib/intprops.h.
2011-03-13 19:49:38 +02:00
Paul Eggert
1ef6de0565 Update for gnulib, adding Solaris 9+10 fixes. 2011-03-13 10:39:04 -07:00
Paul Eggert
3eca462920 Merge from mainline. 2011-03-13 10:28:15 -07:00
Paul Eggert
01e0b5adf4 * gtkutil.c (gdk_window_get_screen): Make it clear that this macro is needed
only if USE_GTK_TOOLTIP.
2011-03-13 00:42:12 -08:00
Paul Eggert
65dc836c9e * gtkutil.c: (get_utf8_string, xg_get_file_with_chooser):
Rename locals to avoid shadowing.
(create_dialog): Move locals to avoid shadowing.
2011-03-13 00:39:13 -08:00
Paul Eggert
1e5524e7cf * gtkutil.c (int_gtk_range_get_value): New function, which avoids a diagnostic
from gcc -Wbad-function-cast.
(xg_set_toolkit_scroll_bar_thumb): Use it.
(xg_tool_bar_callback, xg_tool_item_stale_p): Rewrite to avoid
diagnostic from gcc -Wbad-function-cast.
2011-03-13 00:31:16 -08:00
Paul Eggert
b0afc268e8 * gtkutil.c (xg_free_frame_widgets): Make it clear that a local variable is
needed only if USE_GTK_TOOLTIP.
2011-03-13 00:15:55 -08:00
Paul Eggert
7c86ee9804 * gtkutil.c (xg_get_pixbuf_from_pixmap): Add cast from char *
to unsigned char * to avoid compiler diagnostic.
2011-03-13 00:14:30 -08:00
Paul Eggert
41729b81ac * xgselect.c (xg_select): Remove unused var. 2011-03-13 00:05:40 -08:00
Paul Eggert
ec6cf4c6ff * image.c (my_png_error, my_error_exit): Mark with NO_RETURN. 2011-03-13 00:04:44 -08:00
Paul Eggert
f0c77cd1b2 * image.c (four_corners_best): Mark locals as initialized.
(gif_load): Initialize transparent_p to zero (Bug#8238).
Mark another local as initialized.
2011-03-12 23:50:17 -08:00
Paul Eggert
d32df629a2 Improve quality of tests for time stamp overflow. 2011-03-12 22:43:00 -08:00
Paul Eggert
313c1e544a * editfns.c (lisp_time_argument): Check for time stamp overflow. 2011-03-12 22:27:18 -08:00
Teodor Zlatanov
4248cca2de Merge changes made in Gnus trunk.
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.
2011-03-13 04:07:38 +00:00
Chong Yidong
8d9101d850 admin/admin.el: Add some code for deploying web manuals. 2011-03-12 22:50:33 -05:00
Juanma Barranquero
9d05d1ba20 lisp/help.el (describe-mode): Link to the mode's definition.
Fixes: debbugs:8185
2011-03-13 02:57:40 +01:00
Paul Eggert
803110b536 * editfns.c (hi_time): Do not overparenthesize. 2011-03-12 14:52:25 -08:00
Glenn Morris
09d9db2c49 Merge from emacs-23; up to 2010-06-03T22:16:02Z!dann@ics.uci.edu 2011-03-12 11:19:47 -08:00
Glenn Morris
54ce11a161 Some more html rules for doc/misc/Makefile.in.
* doc/misc/Makefile.in (emacs-faq.html): Fix some more cross-refs.
(emacs-faq.text): New target.
(clean): Add emacs-faq.
2011-03-12 10:40:08 -08:00
Juanma Barranquero
219bd53686 Fix typos. 2011-03-12 16:38:34 +01:00
Juanma Barranquero
70620cbe32 lisp/vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170). 2011-03-12 16:26:33 +01:00
Michael Albinus
0c3b25f89b Sync with Tramp 2.2.1.
* trampver.texi: Update release number.
2011-03-12 16:22:10 +01:00
Michael Albinus
f3afd36bad Sync with Tramp 2.2.1.
* net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.

* net/trampver.el: Update release number.
2011-03-12 16:19:29 +01:00