1. 12 May, 2012 11 commits
  2. 11 May, 2012 10 commits
  3. 10 May, 2012 13 commits
  4. 09 May, 2012 6 commits
    • Michael Albinus's avatar
      * dbusbind.c (xd_registered_buses): New internal Lisp object. · 5cb67954
      Michael Albinus authored
      Rename all occurences of Vdbus_registered_buses to xd_registered_buses.
      (syms_of_dbusbind): Remove declaration of Vdbus_registered_buses.
      Initialize xd_registered_buses.
      5cb67954
    • Paul Eggert's avatar
      Untag more efficiently if USE_LSB_TAG. · b263a6b0
      Paul Eggert authored
      This is based on a proposal by YAMAMOTO Mitsuharu in
      <http://lists.gnu.org/archive/html/emacs-devel/2008-01/msg01876.html>.
      For an admittedly artificial (nth 8000 longlist) benchmark on
      Fedora 15 x86-64, this yields a 25% CPU speedup.  Also, it shrinks
      Emacs's overall text size by 1%.
      * lisp.h (XUNTAG): New macro.
      (XCONS, XVECTOR, XSTRING, XSYMBOL, XFLOAT, XMISC, XPROCESS, XWINDOW)
      (XTERMINAL, XSUBR, XBUFFER, XCHAR_TABLE, XSUB_CHAR_TABLE, XBOOL_VECTOR)
      (XSETTYPED_PSEUDOVECTOR, XHASH_TABLE, TYPED_PSEUDOVECTORP): Use it.
      * eval.c (Fautoload):
      * font.h (XFONT_SPEC, XFONT_ENTITY, XFONT_OBJECT):
      * frame.h (XFRAME): Use XUNTAG.
      b263a6b0
    • Paul Eggert's avatar
      Port recent dbusbind.c changes to 32-bit --with-wide-int. · 3478ec45
      Paul Eggert authored
      * dbusbind.c (xd_append_arg, xd_retrieve_arg, Fdbus_message_internal):
      Remove unportable assumptions about print widths of types like
      dbus_uint32_t.
      (xd_get_connection_address, Fdbus_init_bus): Cast Emacs integer to
      intptr_t when converting between pointer and integer, to avoid GCC
      warnings about wrong width.
      3478ec45
    • Chong Yidong's avatar
      Encoding fix for browse-url-encode-url. · 00fd78ed
      Chong Yidong authored
      * lisp/net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
      (browse-url-encode-url): Encode spaces and quotes.
      
      Fixes: debbugs:6300
      00fd78ed
    • Chong Yidong's avatar
    • Chong Yidong's avatar
      Improve RFC 3986 conformance of url package. · ce7b18ec
      Chong Yidong authored
      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
      ce7b18ec