[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/xml-rpc d8d2883b52 06/64: (xml-rpc-value-structp, xml-rpc-
From: |
Stefan Kangas |
Subject: |
[nongnu] elpa/xml-rpc d8d2883b52 06/64: (xml-rpc-value-structp, xml-rpc-value-to-xml-list): Apply patch from Vitaly Mayatskikh <address@hidden> to add support for more complex struct types. Add xml-rpc patch from trac-wiki-mode (http://www.meadowy.org/~gotoh/projects/trac-wiki/) |
Date: |
Fri, 31 Dec 2021 20:10:55 -0500 (EST) |
branch: elpa/xml-rpc
commit d8d2883b521185e4986ad1b07b5f6f190bfcd2fe
Author: Mark A. Hershberger <mah@everybody.org>
Commit: Mark A. Hershberger <mah@everybody.org>
(xml-rpc-value-structp, xml-rpc-value-to-xml-list): Apply patch from Vitaly
Mayatskikh <vmayatsk@redhat.com> to add support for more complex struct types.
Add xml-rpc patch from trac-wiki-mode
(http://www.meadowy.org/~gotoh/projects/trac-wiki/)
---
xml-rpc.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/xml-rpc.el b/xml-rpc.el
index 3c52a3a042..b93fb9a333 100644
--- a/xml-rpc.el
+++ b/xml-rpc.el
@@ -2,7 +2,7 @@
;; Copyright (C) 2001 CodeFactory AB.
;; Copyright (C) 2001 Daniel Lundin.
-;; Parts Copyright (C) 2002-2003 Mark A. Hershberger
+;; Parts Copyright (C) 2002-2005 Mark A. Hershberger
;; Author: Daniel Lundin <daniel@codefactory.se>
;; Maintainer: Mark A. Hershberger <mah@everybody.org>
@@ -144,7 +144,7 @@
;;; Code:
(defun xml-rpc-clean-string (s)
- (if (string-match "\\`[ \t\n]*\\'" s)
+ (if (string-match "\\`[ \t\n\r]*\\'" s)
;"^[ \t\n]*$" s)
nil
s))
@@ -341,7 +341,7 @@ functions in xml.el."
"An 'xml-rpc-method-call' result value is always a list, where the first \
element in RESPONSE is either nil or if an error occured, a cons pair \
according to (errnum . \"Error string\"),"
- (eq 'fault (car (caddar response))))
+ (eq 'fault (car-safe (caddar response))))
(defsubst xml-rpc-response-error-code (response)
"Return the error code from RESPONSE."
@@ -506,7 +506,7 @@ or nil if called with ASYNC-CALLBACK-FUNCTION."
(when (fboundp 'url-uncompress)
(url-uncompress))
(goto-char (point-min))
- (search-forward-regexp "<\\?xml")
+ (search-forward-regexp "<\\?xml" nil t)
(move-to-column 0)
;; Gather the results
(let* ((status url-http-response-status)
- [nongnu] branch elpa/xml-rpc created (now 8020ccd176), Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 6bb1682468 01/64: Initial commit, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc fa2aee2be9 05/64: (xml-rpc-request-process-buffer): Make regex less picky to avoid some problems with CVS Emacs. (xml-rpc-xml-list-to-value): Take away dependency on rfc2047.el. (xml-rpc-base64-decode-unicode): New variable., Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc ba97dad421 08/64: (xml-rpc-allow-unicode-string): New setting to toggle UTF-8-ability before shipping to server. (unless): Use Emacs23's xml-print if we're running in Emacs22., Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 595b04054b 03/64: reorg & capability update, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc d8d2883b52 06/64: (xml-rpc-value-structp, xml-rpc-value-to-xml-list): Apply patch from Vitaly Mayatskikh <address@hidden> to add support for more complex struct types. Add xml-rpc patch from trac-wiki-mode (http://www.meadowy.org/~gotoh/projects/trac-wiki/),
Stefan Kangas <=
- [nongnu] elpa/xml-rpc ed942fd4f8 20/64: fix new warnings that pop up courtesy of Leo, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc aa0953b2d4 32/64: Improve detection of structs with a patch from Jos'h Fuller, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 8ee416cb76 43/64: Return a unibyte string so that url.el doesn't think it's the, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 435c8a6205 45/64: Add .gitignore, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 402d613cd8 46/64: Bump version number to match tag, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 3346027583 13/64: update timestamps, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 3e329a3657 19/64: Update copyright to GPL 3, add installation instructions., Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 750fd4fb15 17/64: On functions that are conditionally defined, (xml-debug-print, timezone-parse-date), take them out of the eval-when-compile block so that they're compiled into .elc files. (url): Make sure url-http is loaded to avoid warnings later about let-bound variables. (xml-rpc-value-arrayp): Also verify that it is not a dateTime value., Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc c8b5e022cd 23/64: Apply Leo's patches, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 0bdeb7d339 26/64: fix problem with debugging & another extra var xemacs found, Stefan Kangas, 2021/12/31