aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/net/eww.el (eww-mode) <eww-current-title>: Make local.Glenn Morris2014-06-261-0/+1
| | | | Fixes: debbugs:17860
* * net/tramp-adb.el (tramp-adb-handle-process-file):Michael Albinus2014-06-223-6/+6
| | | | | | | | * net/tramp-sh.el (tramp-sh-handle-process-file): * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise the output buffer when DISPLAY is non-nil. Fixes: debbugs:17815
* Fix a regression bug in D-Bus event handling.Michael Albinus2014-06-151-4/+6
| | | | | * net/dbus.el (dbus-call-method): Push only non D-Bus events into `unread-command-events'.
* Fix Bug#17653.Michael Albinus2014-06-031-4/+5
| | | | * net/tramp.el (tramp-ssh-controlmaster-options): Improve search regexp.
* * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"Michael Albinus2014-05-171-1/+1
| | | | for a temporary file name.
* * net/dbus.el (dbus-init-bus, dbus-call-method)Michael Albinus2014-05-161-0/+12
| | | | | | | | (dbus-call-method-asynchronously, dbus-send-signal) (dbus-method-return-internal, dbus-method-error-internal) Check, whether Emacs has been compiled with D-Bus support. Fixes: debbugs:17508
* * net/browse-url.el (browse-url):Michael Albinus2014-05-131-4/+4
| | | | | | | Use `unhandled-file-name-directory' when setting `default-directory', in order to circumvent stalled remote connections. Fixes: debbugs:17425
* * browse-url.el (browse-url-mosaic): Create /tmp/Mosaic.PID as a private file.Glenn Morris2014-05-101-4/+10
|
* * browse-url.el (browse-url-mosaic): Be careful when writing /tmp/Mosaic.PID.Glenn Morris2014-05-081-20/+15
| | | | | | This is CVE-2014-3423. Fixes: debbugs:17428
* Fix Bug#17415.Michael Albinus2014-05-061-9/+26
| | | | | | | * net/tramp-sh.el (tramp-uudecode): Replace the hard-coded temporary file name by a format specifier. (tramp-remote-coding-commands): Enhance docstring. (tramp-find-inline-encoding): Replace "%t" by a temporary file name.
* Fix Bug#17295.Michael Albinus2014-05-061-11/+6
| | | | | | | | | | * net/tramp-sh.el (tramp-remote-process-environment): Remove HISTFILE and HISTSIZE; it's too late to set them here. Add :version entry. (tramp-open-shell): Do not let-bind `tramp-end-of-output'. Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send extra "PSx=..." commands. (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
* browse-url.el commentGlenn Morris2014-05-051-0/+3
|
* * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):Michael Albinus2014-04-221-12/+1
| | | | | | Remove test messages. (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source' and `target' twice.
* * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions): SetMichael Albinus2014-04-211-7/+11
| | | | | | "IFS=" when using read builtin, in order to preserve spaces in the file name. Add test messages for hunting a bug on hydra. (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
* * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if possible.Michael Albinus2014-04-201-0/+6
|
* Avoid recursive load of tramp.elMichael Albinus2014-04-183-30/+45
| | | | | | | | | | | | | | | | | * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler): Do not autoload. (tramp-file-name-handler, tramp-completion-file-name-handler): Revert patch from 2014-04-10, it isn't necessary anymore. (tramp-autoload-file-name-handler) (tramp-register-autoload-file-name-handlers): New defuns. (top): Autoload call of `tramp-register-autoload-file-name-handlers'. (tramp-register-file-name-handlers): Remove also `tramp-autoload-file-name-handler' from `file-name-handler-list'. Do not autoload its invocation, but eval it after loading of 'tramp. * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'. * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
* Fix relative links to parent directories in shrJoão Távora2014-04-141-1/+1
| | | | | | | * lisp/net/shr.el (shr-expand-url): Use `expand-file-name' for relative links. . Fixes: debbugs:17217
* * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previousMichael Albinus2014-04-131-8/+8
| | | | | patch, there are new problems with file names containing spaces. Get rid of backticks. (Bug#17238)
* * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the fileMichael Albinus2014-04-111-1/+3
| | | | name twice due to backticks. (Bug#17238)
* * net/tramp.el (tramp-file-name-handler)Michael Albinus2014-04-102-5/+18
| | | | | | | (tramp-completion-file-name-handler): Avoid recursive loading. * net/tramp-sh.el (tramp-make-copy-program-file-name): Quote result also locally.
* * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly): In theMichael Albinus2014-03-251-0/+6
| | | | `rename' case, check whether source directory has set the sticky bit.
* * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.Michael Albinus2014-03-252-52/+62
| | | | | | | | * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change from 2014-03-07, it decreases performance unnecessarily. Let-bind `remote-file-name-inhibit-cache' to nil in the second pass. (tramp-find-executable): Do not call "which" on SunOS. (tramp-send-command-and-check): Fix docstring.
* * net/tramp.el (tramp-read-passwd): Suspend the timers while readingThierry Volpiatto2014-03-231-34/+42
| | | | the password.
* * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'Michael Albinus2014-03-212-0/+29
| | | | | | | and `tramp-copy-env'. * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'. (tramp-maybe-open-connection): Handle `tramp-login-env'.
* * net/tramp.el (tramp-action-out-of-band): Read pending output.Michael Albinus2014-03-172-5/+10
| | | | | | | (tramp-call-process): Trace also DESTINATION. * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Quote file names when they are local. Remove superfluous trace.
* lisp/net/*.el, lisp/progmodes/*.el: Fix docstring typos.Juanma Barranquero2014-03-142-5/+4
| | | | | | | | | | | | | | | | | | | | | | * net/socks.el (socks, socks-override-functions) (socks-find-services-entry): FT * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma) (hif-find-ifdef-block): * progmodes/modula2.el (m2-indent): Fix docstring typos. * net/tls.el (tls-program): Reflow docstring. * progmodes/opascal.el (opascal-compound-block-indent) (opascal-case-label-indent): Fix docstring typos. (opascal-mode): Fix typos; let defined-derived-mode document mode hook. * progmodes/pascal.el (pascal-mode-abbrev-table) (pascal-imenu-generic-expression, pascal-auto-endcomments) (pascal-mark-defun, pascal-comment-area, pascal-indent-level) (pascal-outline-mode): Fix docstring typos. (pascal-mode): Let define-derived-mode document mode hook. (pascal-uncomment-area): Reflow. (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
* * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):Michael Albinus2014-03-101-1/+8
| | | | | | Do not add `nil' to the environment, when there's no remote `locale'. (tramp-find-inline-encoding): Check, that the remote host has installed perl, before sending scripts.
* * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first passMichael Albinus2014-03-071-51/+53
| | | | | only when `remote-file-name-inhibit-cache' is nil. (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
* * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.Michael Albinus2014-03-062-13/+21
| | | | | | | | (tramp-action-password): Clear password cache if needed. (tramp-read-passwd): Do not clear password cache. * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password cache unless it is the first password request.
* (eww-textarea-map): [tab] doesn't work on tty.Lars Ingebrigtsen2014-03-052-6/+6
| | | | | | Reported by Mario Lang. * net/shr.el (shr-map): Ditto.
* * net/eww.el (eww-mode-map): [tab] doesn't work on tty.Lars Ingebrigtsen2014-03-051-9/+9
| | | | | * net/eww.el (eww-mode-map): [tab] doesn't work on tty. (eww-setup-buffer): Clear next/prev/etc more reliably.
* * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not callMichael Albinus2014-03-041-1/+0
| | | | `tramp-send-command-and-check'.
* Tweak earlier shr.el changeGlenn Morris2014-02-281-1/+1
|
* * net/shr.el (shr-put-image): add custom variableIvan Kanis2014-02-281-5/+12
| | | | | `shr-image-animate' to turn off image animation. It is so slow it will render emacs unusable.
* * net/tramp-adb.el (tramp-adb-parse-device-names):Michael Albinus2014-02-282-88/+98
| | | | | | | | | | | | Use `accept-process-output'. (tramp-adb-handle-file-truename): Cache the localname only. (tramp-adb-handle-make-directory) (tramp-adb-handle-delete-directory): Flush file properties correctly. (tramp-adb-handle-set-file-modes): Do not raise an error when file modes cannot be changed. * net/tramp-cache.el (tramp-flush-directory-property): Remove also file properties of symlinks.
* * net/dbus.el (dbus--init-bus): Declare function.Michael Albinus2014-02-271-17/+31
| | | | | | | (dbus-path-local, dbus-interface-local): New defconst. (dbus-init-bus): Use them. (dbus-return-values-table): Extend doc. (dbus-handle-bus-disconnect): Extend error message.
* Tramp adb fixes, found during test campaign.Michael Albinus2014-02-272-104/+102
| | | | | | | | | | | | | | | | | | | | | | | | * net/tramp.el (tramp-call-process): Improve trace message. (tramp-handle-insert-file-contents): Trace error case. * net/tramp-adb.el (tramp-adb-file-name-handler-alist) <insert-directory>: Use `tramp-handle-insert-directory'. (tramp-adb-handle-insert-directory): Remove function. (tramp-adb-send-command-and-check): New defun, replacing `tramp-adb-command-exit-status'. Change all callees. (tramp-adb-handle-file-attributes) (tramp-adb-handle-directory-files-and-attributes): Use it. (tramp-adb-ls-output-name-less-p): Use `directory-listing-before-filename-regexp'. (tramp-adb-handle-delete-directory): Flush also file properties of the truename of directory. (tramp-adb-handle-file-name-all-completions): Add "./" and "../". (tramp-adb-handle-file-local-copy): Make the local copy readable. (tramp-adb-handle-write-region): Implement APPEND. (tramp-adb-handle-rename-file): Make it more robust. Flush file properties correctly. (tramp-adb-maybe-open-connection): Set `tramp-current-*' variables. Check for connected devices only when needed.
* Fix tramp bug with empty explicit pathDaniel Colascione2014-02-261-2/+2
|
* * lisp/net/newst-backend.el (newsticker-url-list): Doc whitespace triviaGlenn Morris2014-02-251-1/+1
|
* * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.Michael Albinus2014-02-241-4/+9
|
* * net/tramp-sh.el (tramp-sh-handle-file-truename): Preserve trailing "/".Michael Albinus2014-02-231-1/+2
| | | | Fixes: debbugs:16851
* Spelling fixes.Paul Eggert2014-02-221-1/+1
|
* Additional type checking in secrets APIDaniel Colascione2014-02-211-0/+4
|
* * net/tramp.el (tramp-check-cached-permissions):Michael Albinus2014-02-211-1/+1
| | | | Call `file-attributes' with `suffix' being a symbol but a string.
* Improve dbus error handling; detect bus failureDaniel Colascione2014-02-201-24/+99
|
* * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.Michael Albinus2014-02-203-19/+37
| | | | | | | | | | | (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el. * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist) [insert-directory]: Use `tramp-handle-insert-directory. (tramp-gvfs-handle-insert-directory): Remove function. * net/tramp-sh.el (tramp-sh-handle-insert-directory): Call `tramp-handle-insert-directory'.
* Some Tramp minor fixes, found during test campaign.Michael Albinus2014-02-196-99/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | * net/tramp-adb.el (tramp-adb-file-name-handler-alist) [make-symbolic-link]: Use `tramp-handle-make-symbolic-link'. * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist) [make-symbolic-link]: Use `tramp-handle-make-symbolic-link'. (tramp-gvfs-maybe-open-connection): Set always connection properties, even if target is mounted already. * net/tramp-sh.el (tramp-color-escape-sequence-regexp): Set tramp-autoload cookie. (tramp-get-remote-touch): New defun. (tramp-sh-handle-set-file-times): Use it. (tramp-sh-handle-directory-files-and-attributes): Use `tramp-handle-directory-files-and-attributes' if neither stat nor perl are available on the remote host. * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing "/". Write long listing only when "l" belongs to the switches. * net/tramp.el (tramp-handle-make-symbolic-link): New defun. (tramp-check-cached-permissions): Call `file-attributes' if the cache is empty. * net/trampver.el: Update release number.
* Fix last dbus changeDaniel Colascione2014-02-171-1/+3
|
* Improve dbus performance on synchronous callsDaniel Colascione2014-02-171-5/+14
|
* Sync with Tramp 2.2.9.Michael Albinus2014-02-161-2/+2
| | | | | | | | | | * doc/misc/trampver.texi: Update release number. * lisp/net/trampver.el: Update release number. * test/automated/tramp-tests.el (password-cache-expiry): Set to nil. (tramp-test28-shell-command): Make a while loop when waiting for process exit.