Chong Yidong
bdac2d37fa
* url-util.el (url--allowed-chars): Use upper-case for percent-encoding.
2012-05-09 20:20:26 +08:00
Chong Yidong
ce7b18ec41
Improve RFC 3986 conformance of url package.
...
Fix 2012-04-10 change to url.el.
* url-http.el (url-http-create-request): Ignore obsolete
attributes slot of url-object.
* url-parse.el: Improve RFC 3986 conformance.
(url-generic-parse-url): Do not populate the ATTRIBUTES slot,
since this is not reliable for general RFC 3986 URIs. Keep the
whole path and query inside the FILENAME slot. Improve docstring.
(url-recreate-url-attributes): Mark as obsolete.
(url-recreate-url): Handle missing scheme and userinfo.
* url-util.el (url-encode-url): New function for URL quoting.
(url-encoding-table, url-host-allowed-chars)
(url-path-allowed-chars): New constants.
(url--allowed-chars): New helper function.
(url-hexify-string): Use them.
* url-vars.el (url-nonrelative-link): Make the regexp stricter.
* url.el (url-retrieve-internal): Use url-encode-url.
Fixes: debbugs:7017
2012-05-09 16:33:48 +08:00
Lars Magne Ingebrigtsen
d3f7611b03
Tiny url-util.el code clean-up.
2012-04-10 19:03:34 +02:00
Lars Magne Ingebrigtsen
8d8d31f91e
Revert previous url-util patch.
...
The caller can as easily do the decoding themselves.
2012-04-10 19:02:04 +02:00
Lars Magne Ingebrigtsen
4bbc3323df
(url-unhex-string): Add an optional CODING-SYSTEM parameter.
...
Fixes: debbugs:6252
2012-04-10 04:14:13 +02:00
Glenn Morris
acaf905b11
Add 2012 to FSF copyright years for Emacs files
2012-01-05 01:46:05 -08:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0
Nuke arch-tags.
2011-01-15 15:16:57 -08:00
Stefan Monnier
77ab81d054
Merge from emacs-23
2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Glenn Morris
5589b70e57
Cosmetic changes for some lisp/url files.
...
* lisp/url/url-util.el (url-get-url-filename-chars): Don't eval-and-compile.
(url-get-url-at-point): Don't use eval-when-compile.
* lisp/url/url-cache.el (url-cache-create-filename-human-readable)
(url-cache-create-filename-using-md5):
* lisp/url/url-util.el (url-file-directory, url-file-nondirectory):
Don't use eval-when-compile and regexp-quote.
2010-10-03 14:37:41 -07:00
Lars Magne Ingebrigtsen
573a83b802
(url-lazy-message): Remove leftover debugging code.
2010-10-02 14:34:02 +02:00
Lars Magne Ingebrigtsen
08b8ba9fae
Modify url-retrieve and related functions and structures to respect a
...
`silent' flag to signal that the operation should be silent.
2010-10-02 04:04:20 +02:00
Glenn Morris
a5cda60e9a
lisp/url tiny fixes.
...
* url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
* url-vars.el: Remove leading `*' from defcustom docs.
2010-09-10 18:58:42 -07:00
Stefan Monnier
c3bb441dd0
* url-util.el (url-unhex-string): Don't accidentally decode as latin-1.
...
* editfns.c (Fbyte_to_string): New function.
* NEWS: Add sections for Emacs-23.3.
2010-05-19 11:23:53 -04:00
Chong Yidong
e17d428f7a
* url-util.el: Require url-vars (Bug#5459).
2010-01-23 17:50:13 -05:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Stefan Monnier
937e6a5612
* url-util.el (url-insert-entities-in-string):
...
* url-nfs.el (url-nfs-unescape):
* url-ldap.el (url-ldap):
* url-imap.el (url-imap):
* url-cid.el (url-cid-gnus, url-cid): Use with-current-buffer.
* erc.el (erc-display-line-1, erc-process-away):
* erc-truncate.el (erc-truncate-buffer-to-size):
Use with-current-buffer.
* term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
* play/mpuz.el (mpuz-create-buffer):
* play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
(lm-print-y,s,noise, lm-print-w0, lm-init):
* play/gomoku.el (gomoku-prompt-for-move):
* play/fortune.el (fortune-in-buffer):
* play/dissociate.el (dissociated-press):
* play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
(decipher-analyze-buffer, decipher-stats-buffer,decipher-stats-buffer):
* mail/supercite.el (sc-eref-show):
* mail/smtpmail.el (smtpmail-send-it):
* mail/rmailsum.el (rmail-summary-next-labeled-message)
(rmail-summary-previous-labeled-message, rmail-summary-wipe)
(rmail-summary-undelete-many, rmail-summary-rmail-update)
(rmail-summary-goto-msg, rmail-summary-expunge)
(rmail-summary-get-new-mail, rmail-summary-search-backward)
(rmail-summary-add-label, rmail-summary-output-menu)
(rmail-summary-output-body):
* mail/rfc822.el (rfc822-addresses):
* mail/reporter.el (reporter-dump-variable, reporter-dump-state):
* mail/mailpost.el (post-mail-send-it):
* mail/hashcash.el (hashcash-generate-payment):
* mail/feedmail.el (feedmail-run-the-queue)
(feedmail-queue-send-edit-prompt-help-first)
(feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
(feedmail-deduce-address-list):
* eshell/esh-ext.el (eshell-remote-command):
* eshell/em-unix.el (eshell-occur-mode-mouse-goto):
* emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
(viper-wildcard-to-regexp, viper-glob-mswindows-files)
(viper-save-string-in-file, viper-valid-marker):
* emulation/viper-keym.el (viper-toggle-key):
* emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
(ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
(ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
* emulation/viper-cmd.el (viper-exec-form-in-vi)
(viper-exec-form-in-emacs, viper-brac-function):
* emulation/viper.el (viper-delocalize-var):
* emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
(vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
(vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
(ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
* emulation/vi.el (vi-switch-mode, vi-ex-cmd):
* emulation/edt.el (edt-electric-helpify):
* emulation/cua-rect.el (cua--rectangle-aux-replace):
* emulation/cua-gmrk.el (cua--insert-at-global-mark)
(cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
(cua-indent-to-global-mark-column):
* calendar/diary-lib.el (calendar-mark-1):
* calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
Use with-current-buffer.
* emulation/viper.el (viper-delocalize-var): Use dolist.
2009-11-03 02:04:29 +00:00
Glenn Morris
f0cfa8f0c2
(url-generate-unique-filename): Silence compiler.
2009-02-10 03:27:29 +00:00
Chong Yidong
5d3c5503d7
(url-generate-unique-filename): Mark as obsolete.
2009-02-07 21:22:34 +00:00
Juanma Barranquero
d9e52e92aa
* url-util.el (url-truncate-url-for-viewing): Doc fix.
2009-01-13 01:53:45 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Chong Yidong
08299ea7e3
(url-basepath): Add url-basepath as an alias for url-file-directory.
2008-11-04 17:11:58 +00:00
Glenn Morris
4968291f3f
Comment.
2008-09-25 07:41:32 +00:00
Juanma Barranquero
d1ce47b068
Typo and docstring fixes.
...
* url.el (url-do-setup):
* url-dired.el (url-dired-minor-mode):
* url-file.el (url-file-find-possibly-compressed-file):
* url-gw.el (url-gateway-broken-resolution):
* url-handlers.el (url-handler-regexp):
* url-imap.el (url-imap-default-port):
* url-methods.el (url-scheme-get-property): Fix typos in docstrings.
* url-auth.el (url-basic-auth-storage, url-digest-auth):
Fix typos in docstrings.
(url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
* url-cache.el (url-cache-prepare): Doc fix.
(url-cache-create-filename-human-readable, url-cache-extract):
Fix typos in docstrings.
* url-dav.el (url-intersection, url-dav-iso8601-regexp)
(url-dav-delete-something): Fix typos in docstrings.
(url-dav-http-success-p, url-dav-file-name-all-completions)
(url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
* url-http.el (url-http-idle-sentinel): Doc fix.
* url-irc.el (url-irc-default-port): Fix typo in docstring.
(url-irc-function): Doc fix.
* url-util.el (url-get-url-filename-chars, url-unhex-string):
Fix typos in docstrings.
(url-file-extension): Doc fix.
* url-vars.el (url-current-object, url-current-mime-headers)
(url-privacy-level, url-mail-command, url-mime-language-string):
Fix typos in docstrings.
(url-honor-refresh-requests): Reflow docstring.
(url-using-proxy): Doc fix.
2008-07-02 11:14:38 +00:00
Glenn Morris
4936186e9c
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 04:29:13 +00:00
Andreas Schwab
26d72be862
Require cl when compiling.
2008-03-02 17:24:18 +00:00
Teodor Zlatanov
d626f888d2
(url-get-normalized-date): Simplify
...
to use `format-time-string'. Always generate date in UTC, but
call it GMT for full compatibility with the RFCs.
2008-02-28 17:41:40 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
12dc447f2a
Add 2008 to copyright years.
2008-01-07 02:23:04 +00:00
Glenn Morris
812498713a
(url-make-private-file): New function.
2007-12-11 05:50:37 +00:00
Glenn Morris
8703ea5358
(url-make-private-file): New function.
2007-12-11 05:48:40 +00:00
Miles Bader
b2529d56b5
Merge from emacs--rel--22
...
Patches applied:
* emacs--rel--22 (patch 116-121)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-889
2007-10-15 02:07:53 +00:00
Richard M. Stallman
76fb5862cd
(url-basepath): Function deleted.
...
(url-file-directory, url-file-nondirectory): New functions
replacing url-basepath. Callers changed.
2007-10-13 14:02:50 +00:00
Glenn Morris
965d1f0e25
Diane Murray <disumu at x3y2z1.net>
...
(url-get-normalized-date): Pass full timezone information to
timezone-make-date-arpa-standard, since zone name may be unknown.
2007-09-21 02:59:20 +00:00
Glenn Morris
fbc09406ca
Diane Murray <disumu at x3y2z1.net>
...
(url-get-normalized-date): Pass full timezone information to
timezone-make-date-arpa-standard, since zone name may be unknown.
2007-09-21 02:53:08 +00:00
Stefan Monnier
d18ec89f1c
* url-parse.el (url): Use defstruct rather than macros. Update all callers.
2007-08-31 16:40:05 +00:00
Glenn Morris
8c0ee52a6f
Switch license to GPLv3 or later.
2007-07-25 04:18:23 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Magnus Henoch
48d2bac451
(url-display-percentage): Only show a message if `url-show-status' is non-nil.
2006-11-23 08:42:06 +00:00
Stefan Monnier
07e9b3f01c
(url-hexify-string): Only utf-8 encode if it's a multibyte string.
...
(url-normalize-url): Remove unused var `grok'.
(url-truncate-url-for-viewing): Remove unused var `tail'.
2006-07-31 21:36:43 +00:00
Thien-Thi Nguyen
ecfbb4888a
(url-hexify-string): Rewrite.
2006-07-30 20:21:14 +00:00
Thien-Thi Nguyen
5b0d63bc36
Update years in copyright notice; nfc.
2006-02-05 23:44:47 +00:00
Chong Yidong
6fd388f37c
*** empty log message ***
2005-09-01 16:38:39 +00:00
Thien-Thi Nguyen
71ddfde5a5
Update years in copyright notice; nfc.
2005-08-06 15:55:38 +00:00
Lute Kamstra
4fc5845fe8
Update FSF's address.
2005-07-04 16:49:24 +00:00
Juanma Barranquero
216d380630
Replace string-to-int' by
string-to-number'.
2005-05-16 10:07:59 +00:00
Richard M. Stallman
f5d4d25939
(url-get-normalized-date): Use url-weekday-alist and url-monthabbrev-alist.
2004-10-16 14:59:45 +00:00
Lars Hansen
df41da5eda
Fix copyright notice.
2004-10-10 20:40:21 +00:00
Stefan Monnier
a2fd14621d
(url-debug): Use with-current-buffer.
2004-04-16 22:05:32 +00:00