1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00
Commit Graph

96411 Commits

Author SHA1 Message Date
Glenn Morris
b2fa3a0916 Minor NEWS fix. 2010-09-27 19:41:18 -07:00
Glenn Morris
0dc7dbea09 * configure.in (HAVE_GNUTLS): Add a description to make autoheader happy. 2010-09-27 19:22:37 -07:00
Katsumi Yamaoka
e0a185ae8f Fix message-* user options that differ from Gnus trunk.
message.el (message-from-style, message-interactive, message-signature): Remove comment.
message.el (message-cite-prefix-regexp): Default to mail-citation-prefix-regexp always.
message.el (message-sendmail-envelope-from): Comment fix.
message.el (message-yank-prefix): Default to mail-yank-prefix always.
message.el (message-indentation-spaces): Default to mail-indentation-spaces always.
message.el (message-signature-file): Default to mail-signature-file always.
sendmail.el (mail-citation-prefix-regexp): Remove "}" from citation prefix.
2010-09-28 02:13:41 +00:00
Juanma Barranquero
0597ab06f6 nt/*.c: Use const char*; remove unused code.
* addpm.c (entry, add_registry, main):
* addsection.c (file_data, open_input_file, open_output_file)
  (find_section, PTR_TO_OFFSET, copy_executable_and_add_section)
  (COPY_CHUNK):
* cmdproxy.c (vfprintf, fprintf, printf, fail, warn, skip_space)
  (skip_nonspace, get_next_token, search_dir, make_absolute)
  (spawn, main):
* preprep.c (file_data, open_input_file, open_output_file)
  (open_inout_file, find_section, PTR_TO_OFFSET, COPY_CHUNK, main):
  Use const char*.

* cmdproxy.c (stdin): Don't define, not used.
  (main): Don't assign remlen after last use.
2010-09-28 02:55:08 +02:00
Juanma Barranquero
95b6d681b1 Merge changes from emacs-23 branch. 2010-09-28 01:25:27 +02:00
Gnus developers
9f2d52e714 Merge changes made in Gnus trunk.
sieve-manage.el (sieve-manage-default-stream): Make default stream customizable.
nnimap.el (nnimap-request-accept-article): Send a "." at the end, which may or may not help.
nnimap.el (nnimap-open-connection): Have the `network' nnimap connection use STARTTLS opportunistically.
gnus-sum.el (gnus-summary-insert-new-articles): Copy the old-high watermark so that nothing alters it while scanning for new messages.
nnimap.el (nnimap-request-accept-article): Remove the "." at the end, since some servers don't like it.
nnimap.el (nnimap-open-connection): Forget credentials if the server says the password was wrong.
nnimap.el (nnimap-parse-line): Protect against invalid data.
gnus-art.el, gnus-sum.el, nnimap.el: Allow setting the partial fetch per server instead of globally.
message.el (message-cite-prefix-regexp): Revert last edit.
nnmairix.el: Make it work with latest changes in nnimap.
gnus-sum.el (gnus-summary-move-article): Don't alter gnus-newsgroup-active.
gnus-sum.el (gnus-summary-exit): Kill the article buffer later, so that you don't get flashes of other buffers.
nnimap.el: Fix up partial nnimap fetching.
gnus-sum.el: Rework the `/ N' based on the new gnus-newsgroup-highest variable.
2010-09-27 23:07:47 +00:00
Andreas Schwab
0cceab3d59 * Makefile.in (ELCFILES): Update. 2010-09-27 23:32:36 +02:00
Lars Magne Ingebrigtsen
8ea189f7bf Compile with imagemagick support by default. 2010-09-27 22:53:35 +02:00
Jan D
d8a4b27a84 * process.c (wait_reading_process_output): Add missing FD_CLR
for write_mask (must mirror connect_wait_mask).
2010-09-27 22:43:03 +02:00
Stefan Monnier
9936872579 * lisp/emacs-lisp/float-sup.el (e): Remove. 2010-09-27 22:11:33 +02:00
Andreas Schwab
c19f76a18b * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Avoid
infinite recursion on erroneous lambda form.  (Bug#7114)
2010-09-27 19:14:58 +02:00
Lars Magne Ingebrigtsen
8ed70bf316 Add gnutls logging and clean up various gnutls bits.
From: Teodor Zlatanov  <tzz@lifelogs.com>
2010-09-27 18:44:31 +02:00
Juanma Barranquero
bedf4aabcf src/w32.c: Remove unused code and make static many functions.
(g_b_init_get_sid_identifier_authority, GetSidIdentifierAuthority_Proc)
(get_sid_identifier_authority): Remove, not used.
(globals_of_w32): Don't set g_b_init_get_sid_identifier_authority.
(init_winsock): Remove useless assignment.
(open_process_token, get_token_information, lookup_account_sid)
(get_sid_sub_authority, get_sid_sub_authority_count, get_file_security)
(get_security_descriptor_owner, get_security_descriptor_group)
(is_valid_sid, equal_sid, get_length_sid, copy_sid)
(get_native_system_info, get_system_times, init_user_info, crlf_to_lf)
(is_unc_volume, GetCachedVolumeInformation, get_volume_info)
(is_fat_volume, open_unc_volume, read_unc_volume, close_unc_volume)
(unc_volume_file_attributes, convert_from_time_t)
(create_toolhelp32_snapshot, process32_first, process32_next)
(open_thread_token, impersonate_self, revert_to_self)
(get_process_memory_info, get_process_working_set_size)
(global_memory_status, global_memory_status_ex, socket_to_fd)
(shutdown_handler): Make static.
2010-09-27 18:27:37 +02:00
Michael Albinus
08609ffd4c * dbusbind.c (dbus_fd_cb, xd_get_dispatch_status)
(xd_pending_messages): Functions removed.
(xd_read_queued_messages): Add parameters fd, *data, for_read in
order to be compatible with add_read_fd.  Determine bus from data,
and call xd_read_message just for this bus.
(xd_add_watch): Use xd_read_queued_messages as callback function.
Add data.

* lisp.h (xd_pending_messages, xd_read_queued_messages): Remove.
2010-09-27 17:34:04 +02:00
Lars Magne Ingebrigtsen
ec9f09be7b (emacs_gnutls_read): Don't infloop while reading. 2010-09-27 17:03:58 +02:00
Juanma Barranquero
76e3243a56 Fix typos in ChangeLogs. 2010-09-27 16:56:27 +02:00
Lars Magne Ingebrigtsen
d2e9d0bbb2 Add debugging to the gnutls library, and finish handshaking when it's done. 2010-09-27 16:35:22 +02:00
Michael Albinus
789af3cd80 * dbusbind.c (syms_of_dbusbind): Set $DBUS_FATAL_WARNINGS to "0".
(Bug#7113)
2010-09-27 15:27:54 +02:00
Lars Magne Ingebrigtsen
14db1c4110 nnimap.el (utf7): Required. 2010-09-27 13:22:21 +00:00
Michael Albinus
11a5af7c3f * dbusbind.c (syms_of_dbusbind): Set $DBUS_FATAL_WARNINGS to "0".
(Bug#7113)
2010-09-27 14:44:26 +02:00
Gnus developers
062eae9968 gnus-html.el (gnus-html-wash-tags): Decode URL entities to avoid handing broken links to browse-url.
nnimap.el (nnimap-request-accept-article): Message the error on error.
2010-09-27 12:22:22 +00:00
Juanma Barranquero
1d77b63e65 Fix typos. 2010-09-27 13:53:44 +02:00
Juanma Barranquero
70e3143660 Fix typos in ChangeLogs. 2010-09-27 12:25:04 +02:00
Michael Albinus
e0720500f6 * dbusbind.c (syms_of_dbusbind): Unset $DBUS_FATAL_WARNINGS.
(Bug#7113)
2010-09-27 10:59:16 +02:00
Kenichi Handa
b3253cd4b4 merge trunk 2010-09-27 14:42:43 +09:00
Kenichi Handa
4be9765d4b Remove restriction on the number of glyphs in one composition. 2010-09-27 14:27:28 +09:00
Kenichi Handa
fd057fd25e tar-mode.el (tar-header-block-tokenize): Decode filenames in "ustar" format. 2010-09-27 14:00:46 +09:00
Kenichi Handa
368b354442 international/mule-diag.el (describe-character-set): Use princ with proper print-length and print-level instead of insert. 2010-09-27 13:52:56 +09:00
Katsumi Yamaoka
e5fa38990b gnus-art.el (gnus-mime-delete-part): Fix Lisp type of byte(s). 2010-09-27 03:16:55 +00:00
Katsumi Yamaoka
82bccbfa12 Update ChangeLogs. 2010-09-26 23:15:50 +00:00
Gnus developers
4478e07488 mail-source.el (mail-source-value): Revert previous patch.
gnus-picon.el: Inhibit showing picons for top level domains.
gnus-art.el (gnus-article-treat-body-boundary): Fix length computing.
gnus-news.texi: Mention nnimap-inbox.
nnimap.el (nnimap-request-expire-articles): Compress ranges before deletion.
nnimap.el (nnimap-retrieve-headers): Don't select the group, because that's already done by nnimap-possibly-change-group.
gnus-html.el (gnus-html-show-images): Fix gnus-html-display-image arguments.
gnus-html.el (gnus-html-wash-images): Fix spec computing to include start/end.
nnimap.el: Store the IMAP greeting, so that we can tell what kind of server we're talking to.
gnus.el (gnus): Give a final warning after startup.
gnus-ems.el (gnus-create-image): Ignore all image-creation errors.
nndraft.el (nndraft-request-expire-articles): Fetch the expiry target for the correct group.
nnmh.el (nnmh-request-expire-articles): Don't try to fetch the expiry target here, because we don't know the Gnus name of the group.
nnimap.el (nnimap-get-whole-article): Remove the data that may have arrived before the FETCH data.
gnus-agent.el (gnus-agent-retrieve-headers): Don't propagate `fetch-old'.
gnus-agent.el (gnus-agent-read-servers-validate): Change the level for the "Ignoring disappeared server" to something low.
nndoc.el (nndoc-request-list): Return success always.
2010-09-26 23:01:31 +00:00
Stefan Monnier
15413fb428 * lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let. 2010-09-27 00:42:53 +02:00
Jan D
82d6e50bf5 Donät give write_mask to select for W32.
process.c (wait_reading_process_output): Don't pass write_mask to select
 if SELECT_CANT_DO_WRITE_MASK is defined.
 (SELECT_CANT_DO_WRITE_MASK): Define if SELECT_CANT_DO_WRITE_MASK.
2010-09-26 22:48:13 +02:00
Jan D
bf05eed640 Reinstate ifdef subprocesses.
* process.c (add_keyboard_wait_descriptor) (delete_keyboard_wait_descriptor): Reinstate ifdef subprocesses.
2010-09-26 22:21:29 +02:00
Jan D
3fad2ad22e Add fd handling with callbacks to select, dbus needs it for async operation.
* src/dbusbind.c: Include process.h.
(dbus_fd_cb, xd_find_watch_fd, xd_toggle_watch)
(xd_read_message_1): New functions.
(xd_add_watch, xd_remove_watch): Call xd_find_watch_fd.  Handle
watch for both read and write.
(Fdbus_init_bus): Also register xd_toggle_watch.
(Fdbus_call_method_asynchronously, Fdbus_method_return_internal)
(Fdbus_method_error_internal, Fdbus_send_signal): Remove call
to dbus_connection_flush.
(xd_read_message):  Move most of the code to xd_read_message_1.
Call xd_read_message_1 until status is COMPLETE.

* src/keyboard.c (readable_events, gobble_input): Remove DBUS code.

* src/process.c (gpm_wait_mask, max_gpm_desc): Remove.
(write_mask): New variable.
(max_input_desc): Renamed from max_keyboard_desc.
(fd_callback_info): New variable.
(add_read_fd, delete_read_fd, add_write_fd, delete_write_fd): New
functions.
(Fmake_network_process): FD_SET write_mask.
(deactivate_process): FD_CLR write_mask.
(wait_reading_process_output): Connecting renamed to Writeok.
check_connect removed.  check_write is new.  Remove references to
gpm.  Use Writeok/check_write unconditionally (i.e. no #ifdef
NON_BLOCKING_CONNECT) instead of Connecting.
Loop over file descriptors and call callbacks in fd_callback_info
if file descriptor is ready for I/O.
(add_gpm_wait_descriptor): Just call add_keyboard_wait_descriptor.
(delete_gpm_wait_descriptor): Just call delete_keyboard_wait_descriptor.
(keyboard_bit_set): Use max_input_desc.
(add_keyboard_wait_descriptor, delete_keyboard_wait_descriptor): Remove
#ifdef subprocesses. Use max_input_desc.
(init_process): Initialize write_mask and fd_callback_info.

* src/process.h (add_read_fd, delete_read_fd, add_write_fd)
(delete_write_fd): Declare.
2010-09-26 18:20:01 +02:00
Jan D
42d3022b00 * xgselect.c (xg_select): Clear file descriptors not set from rfds and wfds. 2010-09-26 17:39:10 +02:00
Lars Magne Ingebrigtsen
6303aba122 (starttls-negotiate): Avoid the cl.el decf function. 2010-09-26 17:30:44 +02:00
Lars Magne Ingebrigtsen
036dc38d03 Don't break the build if we don't have the gnutls libraries. 2010-09-26 17:18:47 +02:00
Dan Nicolaescu
d6dcbe70e2 Use const for some pointer arguments.
* lwlib/lwlib.h (my_strcasecmp, safe_strcmp, name_to_widget)
(find_in_table, dialog_spec_p, lw_separator_p):
* lwlib/lwlib.c (my_strcasecmp, safe_strcmp, name_to_widget)
(find_in_table, dialog_spec_p, lw_separator_p): Use const.
2010-09-26 18:11:48 +03:00
Dan Nicolaescu
dce4c2ac89 Code simplification in term.c.
* src/term.c: Do not include sys/ioctl.h, not needed.
(init_tty): Reorder code to reduce the number of #ifdefs.  No code
changes.
2010-09-26 18:06:21 +03:00
Gnus developers
2696d88f19 Merge changes made in Gnus trunk.
gnus-picon.el (gnus-picon-create-glyph): Set the background XPM colour explicitly.
message.el (message-cite-prefix-regexp): Remove } from the cite prefix.
gnus-win.el (gnus-window-to-buffer-helper, gnus-all-windows-visible-p): Function needn't be a symbol.
mail-source.el (mail-source-value): Function needn't be a symbol.
tls.el (open-tls-stream): Don't query killing process.
gnus-win.el: Revert previous patch, since it made Gnus backtrace.
nnimap.el: Look up IMAP credentials based on both the virtual and physical server names.
mail-source.el (mail-source-value): Revert previous patch.
2010-09-26 14:35:50 +00:00
Lars Magne Ingebrigtsen
1821a7b491 auth-source.el (auth-source-create): Query the user for whether to store the credentials.
auth-source.el: Require netrc.
nnml.el (nnml-open-nov): Don't return dead buffers.
gnus-picon.el (gnus-picon-xbm): Removed obsolete face.
gnus-picon.el (gnus-picon-insert-glyph): Make the background white.
gnus-art.el (gnus-treatment-function-alist): Insert picons after doing the header highlightling.
2010-09-26 13:25:35 +00:00
Gnus developers
2d04f304a2 gnus-sum.el (gnus-auto-center-group): Transform into a defcustom.
gnus.el (gnus-group-fast-parameter): Return the last matching parameter instead of the first matching parameter.
auth-source.el (auth-source-user-or-password): Query for password, although there are no existing auth sources.
auth-source.el (auth-source-user-or-password): Use the existing auth sources, if any, for creation.
2010-09-26 12:47:09 +00:00
Ted Zlatanov
8af55556e6 Set up GnuTLS support.
* configure.in: Set up GnuTLS.

* lisp/net/gnutls.el: GnuTLS glue code to set up a connection.

* src/Makefile.in (LIBGNUTLS_LIBS, LIBGNUTLS_CFLAGS, ALL_CFLAGS)
(obj, LIBES): Set up GnuTLS support.

* src/config.in: Set up GnuTLS support.

* src/emacs.c: Set up GnuTLS support and call syms_of_gnutls.

* src/gnutls.c: The source code for GnuTLS support in Emacs.

* src/gnutls.h: The GnuTLS glue for Emacs, macros and enums.

* src/process.c (make_process, Fstart_process)
(read_process_output, send_process): Set up GnuTLS support for
process input/output file descriptors.

* src/process.h: Set up GnuTLS support.
2010-09-26 01:06:28 -05:00
Gnus developers
8ccbef23ea Merge changes made in Gnus trunk.
nnimap.el: Implement partial IMAP article fetch.
nnimap.el: Have nnimap not update the infos if it can't get info from the server.
Implement functions for showing the complete articles.
gnus-int.el (gnus-open-server): Don't query whether to go offline -- just do it.
gnus-art.el (gnus-mime-delete-part): Fix plural for "byte" when there isn't a single byte.
nndoc.el (nndoc-type-alist): Move mime-parts after mbox.  Suggested by Jay Berkenbilt.
mm-decode.el (mm-save-part): Allow saving to other directories the normal Emacs way.
gnus-html.el (gnus-html-rescale-image): Use our defalias gnus-window-inside-pixel-edges.
gnus-srvr.el (gnus-server-copy-server): Add documentation.
gnus.texi (Using IMAP): Document the new nnimap.
nnimap.el (nnimap-wait-for-response): Search further when we're not using streaming.
gnus-int.el (gnus-check-server): Say what the error was when opening failed.
nnheader.el (nnheader-get-report-string): New function.
gnus-int.el (gnus-check-server): Use report-string.
nnimap.el (nnimap-open-connection): Add more error reporting when nnimap fails early.
gnus-start.el (gnus-get-unread-articles): Don't try to open failed servers twice.
nnimap.el (nnimap-wait-for-response): Reversed logic in the nnimap-streaming test.
gnus-art.el: Removed CTAN button stuff, which I don't think is very relevant any more.
Remove NoCeM support, since nobody seems to use it any more.
Remove earcon and gnus-audio.
gnus.el (gnus): Silence gnus-load message.
gnus-group.el (gnus-read-ephemeral-bug-group): Add the bug email address to the To list for easier response.
gnus.texi (Connecting to an IMAP Server): Show how to use as primary method instead of secondary.
2010-09-26 04:03:19 +00:00
Juanma Barranquero
83e245c490 src/w32.c (get_emacs_configuration_options): Fix previous change. 2010-09-26 03:39:24 +02:00
Juanma Barranquero
fb5f3a23b5 lisp/window.el (walk-windows): Doc fix (bug#7105). 2010-09-26 02:37:50 +02:00
Julien Danjou
4234374700 * lisp/notifications.el: Call dbus-register-signal only if it is bound. 2010-09-25 14:57:02 -07:00
Glenn Morris
ec60da520e Cosmetic doc fixes for eshell.
* eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
* eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
* eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
* eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
* eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
* eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
* eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
* eshell/esh-util.el, eshell/esh-var.el:
Remove leading `*' from docs of faces and defcustoms.
2010-09-25 14:51:55 -07:00
Ulrich Mueller
4c96435152 Add more xz compression support.
* doc/man/etags.1: xz compression is now supported.
* doc/misc/woman.texi (Interface Options): xz compression is now supported.

* lib-src/etags.c (compressors, print_language_names): Support xz compression.

* lisp/eshell/em-ls.el (eshell-ls-archive-regexp):
* lisp/eshell/esh-util.el (eshell-tar-regexp):
* lisp/ibuffer.el (ibuffer-compressed-file-name-regexp):
* lisp/info.el (Info-suffix-list):
* lisp/international/mule.el (auto-coding-alist):
* lisp/woman.el (woman-file-regexp, woman-file-compression-regexp):
* lisp/progmodes/etags.el (tags-compression-info-list):
Support xz compression.
2010-09-25 14:42:48 -07:00