1. 01 Jan, 2016 1 commit
  2. 30 Dec, 2015 7 commits
    • Vincent Belaïche's avatar
      Correct ses-rename-cell cursor-intangible text prop updating. · 0c9abf36
      Vincent Belaïche authored
      There were two problems:
      
      - First ses-rename-cell has to work when called non interactively
        (with non-nil CELL argument), so in this case the start pos of
        put-text-property cannot be plainly (point), you need a
        ses-goto-print call before
      
      - Second, the range itself was computed erronously, only the first
        char was affected instead of the full cell width. This was not
        noticeable prior to changes (Deprecate `intangible' and
        `point-entered' properties) made by Stefan on 2015-04-13T19:51:15Z
      
      * lisp/ses.el (ses-rename-cell): Correct computation of position range
      to which the 'cursor-intangible text property has to be set to cell
      new name.
      0c9abf36
    • Vincent Belaïche's avatar
      Don't fake empty cells value by "" when printing with a lambda. · 209e30ba
      Vincent Belaïche authored
      When using a lambda expression printer function the user should be
      free to format differently a really empty cell, ie. containing nil,
      from a cell containing an empty string "".
      
      * ses.el (ses-call-printer): Replace `(or value "")' by just `value'
      in the case of a lambda expression printer function.
      
      * ses.texi (Printer functions): Add example and description about
      lambda expression printer function handling all the possible values,
      including unexpected ones.
      209e30ba
    • Vincent Belaïche's avatar
      Quick temporary hack to fix curcell refreshing. · e8702794
      Vincent Belaïche authored
      The problem was caused by change: 2015-04-13 Deprecate `intangible'
      and `point-entered' properties. The problem is that this change has
      removed the (setq ses--curcell t) setting in the ses-command-hook
      function.
      
      * ses.el (ses-check-curcell): replace `(eq ses--curcell t)' by just `t' as
      a condition to call function `ses-set-curcell'. Comment this as a quick
      temporary hack to make it work, as I don't know yet whether a definite
      correction would be to make the ses-set-curcell at every ses-check-curcell,
      or to revert to the previous approach, ie marking ses--curcell as out-of-date
      at every potentially cursor motion command.
      e8702794
    • Lars Magne Ingebrigtsen's avatar
      Restrictive URL checking tweaks · 36a0feb2
      Lars Magne Ingebrigtsen authored
      * lisp/net/eww.el (eww): Check whether the domain is
      restrictive instead of the string
      (http://македонија.icom.museum is restrictive even if each
      part is from a different script).
      36a0feb2
    • Lars Magne Ingebrigtsen's avatar
      New function `puny-highly-restrictive-domain-p' · 7c343eea
      Lars Magne Ingebrigtsen authored
      * lisp/net/puny.el (puny-highly-restrictive-string-p): Rename.
      (puny-highly-restrictive-domain-p): New function.
      7c343eea
    • Lars Magne Ingebrigtsen's avatar
      eww build fix (require puny) · d7f24b86
      Lars Magne Ingebrigtsen authored
      d7f24b86
    • Lars Magne Ingebrigtsen's avatar
      Transform non-restrictive domains to punycode for display · 40621e70
      Lars Magne Ingebrigtsen authored
      * lisp/net/eww.el (eww): Check whether the domain is Highly
      Restrictive in the Unicode IDNA sense.
      40621e70
  3. 29 Dec, 2015 2 commits
  4. 28 Dec, 2015 15 commits
  5. 27 Dec, 2015 10 commits
  6. 26 Dec, 2015 2 commits
  7. 25 Dec, 2015 3 commits
    • Alain Schneble's avatar
      Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044) · b792ecea
      Alain Schneble authored
      * test/lisp/url/url-parse-tests.el: Add tests covering url-generic-parse-url.
      * test/lisp/url/url-expand-tests.el: Add tests covering url-expand-file-name.
      * lisp/url/url-parse.el (url-generic-parse-url): Keep empty fragment
      information in URL-struct.
      * lisp/url/url-parse.el (url-path-and-query): Do not artificially turn empty
      path and query into nil path and query, respectively.
      * lisp/url/url-expand.el (url-expander-remove-relative-links): Do not turn
      empty path into an absolute ("/") path.
      * lisp/url/url-expand.el (url-expand-file-name): Properly resolve
      fragment-only URIs. Do not just return them unchanged.
      * lisp/url/url-expand.el (url-default-expander): An empty path in the relative
      reference URI should not drop the last segment.
      b792ecea
    • Alain Schneble's avatar
      Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044) · 1dee11d8
      Alain Schneble authored
      * test/lisp/url/url-parse-tests.el: Add tests covering url-generic-parse-url.
      * test/lisp/url/url-expand-tests.el: Add tests covering url-expand-file-name.
      * lisp/url/url-parse.el (url-generic-parse-url): Keep empty fragment
      information in URL-struct.
      * lisp/url/url-parse.el (url-path-and-query): Do not artificially turn empty
      path and query into nil path and query, respectively.
      * lisp/url/url-expand.el (url-expander-remove-relative-links): Do not turn
      empty path into an absolute ("/") path.
      * lisp/url/url-expand.el (url-expand-file-name): Properly resolve
      fragment-only URIs. Do not just return them unchanged.
      * lisp/url/url-expand.el (url-default-expander): An empty path in the relative
      reference URI should not drop the last segment.
      1dee11d8
    • Lars Ingebrigtsen's avatar
      Let url use default file modes when copying files · 0697719d
      Lars Ingebrigtsen authored
      * lisp/url/url-handlers.el (url-copy-file): Use default file
      modes when copying files (bug#11400).
      0697719d