1. 01 Jan, 2019 1 commit
  2. 01 Jan, 2018 1 commit
  3. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  4. 01 Jan, 2017 1 commit
  5. 26 Oct, 2016 15 commits
    • Ricardo Wurmus's avatar
      xwidget: Map "previous-line" and "next-line" to scroll · ca479f9e
      Ricardo Wurmus authored
      * lisp/xwidget.el: Map "previous-line" and "next-line" to scrolling
      procedures.
      ca479f9e
    • Ricardo Wurmus's avatar
      xwidget: Bind "beginning-of-buffer" and "end-of-buffer" · 01c2fba6
      Ricardo Wurmus authored
      * lisp/xwidget.el: Rebind "beginning-of-buffer" and "end-of-buffer" to
      "xwidget-webkit-scroll-top" and "xwidget-webkit-scroll-bottom",
      respectively.
      (xwidget-webkit-scroll-top,
      xwidget-webkit-scroll-bottom): New procedures.
      01c2fba6
    • Ricardo Wurmus's avatar
      Implement zoom for WebKit widget. · e443eab6
      Ricardo Wurmus authored
      * src/xwidget.c (xwidget-webkit-zoom): New procedure.
      * lisp/xwidget.el: Bind "+" and "-" to zoom in and out, respectively.
      (xwidget-webkit-zoom): Declare procedure.
      (xwidget-webkit-zoom-in, xwidget-webkit-zoom-out): New procedures.
      e443eab6
    • Ricardo Wurmus's avatar
      Dynamically resize WebKit widget. · a9785bd5
      Ricardo Wurmus authored
      * lisp/xwidget.el (xwidget-webkit-auto-adjust-size,
      xwidget-webkit-adjust-size-in-frame): New procedures.
      (xwidget-webkit-new-session): Remove hint to resize widget with `a'.
      (xwidget-webkit-adjust-size-dispatch): Resize current webkit widget.
      (xwidget-webkit-adjust-size-to-window): Make non-interactive,
      add widget and window as arguments.
      (xwidget-webkit-callback): Use xwidget-webkit-adjust-size-to-window.
      a9785bd5
    • Ricardo Wurmus's avatar
      Let initial WebKit view fill window · c483fa6e
      Ricardo Wurmus authored
      * lisp/xwidget.el (xwidget-webkit-new-session): Change default size of
      WebKit widget to window size.
      c483fa6e
    • Ricardo Wurmus's avatar
      xwidget: Remove title hack. · 67e03311
      Ricardo Wurmus authored
      * src/xwidget.c (xwidget-webkit-get-title): Remove procedure.
      * lisp/xwidget.el (xwidget-webkit-get-title,
      xwidget-webkit-execute-script-rv): Remove procedures.
      67e03311
    • Ricardo Wurmus's avatar
      xwidget: Get URL asynchronously. · 88090020
      Ricardo Wurmus authored
      * lisp/xwidget.el (xwidget-webkit-current-url): Kill URL in callback.
      88090020
    • Ricardo Wurmus's avatar
      xwidget: Get selection with asynchronous JavaScript · 4aa7c4b4
      Ricardo Wurmus authored
      * lisp/xwidget.el (xwidget-webkit-get-selection): Add PROC argument to
      process selection.
      (xwidget-webkit-copy-selection-as-kill): Kill selection in callback.
      4aa7c4b4
    • Ricardo Wurmus's avatar
      xwidget: Add function to find element by CSS selector · efa269d1
      Ricardo Wurmus authored
      * lisp/xwidget.el (xwidget-webkit-show-element): New procedure.
      efa269d1
    • Ricardo Wurmus's avatar
      xwidget: Simplify functions to scroll to elements · 74576447
      Ricardo Wurmus authored
      * lisp/xwidget.el (xwidget-webkit-show-named-element,
      xwidget-webkit-show-id-element,
      xwidget-webkit-show-id-or-named-element): Simplify functions by
      scrolling exclusively with JavaScript.
      74576447
    • Ricardo Wurmus's avatar
      xwidget: Get title via asynchronous JavaScript. · cc3b868f
      Ricardo Wurmus authored
      * lisp/xwidget.el (xwidget-webkit-callback): Get document title
      asynchronously.
      cc3b868f
    • Ricardo Wurmus's avatar
      xwidget: Do not use `xwidget-execute-script-rv' to insert string · ff80a9c8
      Ricardo Wurmus authored
      * lisp/xwidget.el (xwidget-webkit-insert-string): Obtain JavaScript
      return value via callback instead of using
      `xwidget-webkit-execute-script-rv'.
      ff80a9c8
    • Ricardo Wurmus's avatar
      Remove scrolled window container around WebKit widget · 7ee870e8
      Ricardo Wurmus authored
      The WebKit widget can scroll on its own and does not need to wrapped
      with a scrolled window container.
      
      * src/xwidget.h: Remove struct member widgetscrolledwindow_osr.
      * src/xwidget.c: Remove widgetscrolledwindow_osr.
      (xwidget-set-adjustment): Remove.
      (xwidget-resize): Resize Webkit widget last.
      * lisp/xwidget.el (xwidget-set-adjustment): Remove.
      (xwidget-webkit-scroll-up, xwidget-webkit-scroll-down,
      xwidget-webkit-scroll-forward, xwidget-webkit-scroll-backward):
      Implement scrolling via JavaScript.
      7ee870e8
    • Ricardo Wurmus's avatar
      xwidget: Pass JavaScript return value to optional callback procedure · 623deaf4
      Ricardo Wurmus authored
      * lisp/xwidget.el (xwidget-webkit-execute-script): Accept optional
      callback argument.
      (xwidget-webkit-callback): Handle "javascript-callback" event type.
      * src/xwidget.c (xwidget-webkit-execute-script): Accept optional
      argument FUN, a Lisp procedure to execute on the JavaScript return
      value.
      (store_xwidget_js_callback_event, webkit_javascript_finished_cb,
      webkit_js_to_lisp): New procedures.
      623deaf4
    • Ricardo Wurmus's avatar
      xwidget: Use WebKit2 API · d7816628
      Ricardo Wurmus authored
      * configure.ac: Check for webkit2gtk-4.0.
      * src/xwidget.c: Adjust to use WebKit2 API.
      * lisp/xwidget.el (xwidget-webkit-callback): Adjust matches for
      `xwidget-event-type'.
      d7816628
  6. 13 May, 2016 1 commit
    • Paul Eggert's avatar
      Remove buggy non-native image scrolling · edae7d93
      Paul Eggert authored
      This never worked, and could cause infinite recursion.
      Problem reported by Glenn Morris (Bug#22465).
      * lisp/xwidget.el (xwidget-webkit-scroll-behavior): Remove.
      All uses removed.
      edae7d93
  7. 03 Apr, 2016 1 commit
    • Joakim Verona's avatar
      Remove unused arguments from make-xwidget · 36e05f0b
      Joakim Verona authored
      The arguments BEG and END were unused, and are now removed.
      
      * display.texi (Xwidgets): Document the change
      * xwidget.el (make-xwidget, xwidget-insert)
      (xwidget-webkit-new-session): Reflect changed arguments
      * xwidget.c (Fmake_xwidget, syms_of_xwidget): Reflect changed arguments
      36e05f0b
  8. 04 Feb, 2016 1 commit
    • Paul Eggert's avatar
      Quoting fixes in doc strings and diagnostics · 91557f5e
      Paul Eggert authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-setq, byte-compile-funcall):
      * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
      (mml-smime-get-ldap-cert):
      Follow user style preference when quoting diagnostics.
      91557f5e
  9. 27 Jan, 2016 2 commits
  10. 25 Jan, 2016 3 commits
    • Glenn Morris's avatar
      * lisp/xwidget.el (xwidget-webkit-scroll-behavior): · 60f6bd85
      Glenn Morris authored
      Rename using American spelling.  Update all uses.
      60f6bd85
    • Glenn Morris's avatar
      Yet more xwidget doc fixes. · cea07fdf
      Glenn Morris authored
      * lisp/xwidget.el (xwidget-webkit-scroll-behaviour)
      (xwidget-insert, xwidget-webkit-browse-url)
      (xwidget-webkit-scroll-up, xwidget-webkit-scroll-down)
      (xwidget-webkit-scroll-forward, xwidget-webkit-scroll-backward)
      (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
      (xwidget-webkit-show-id-element)
      (xwidget-webkit-show-id-or-named-element)
      (xwidget-webkit-adjust-size, xwidget-webkit-current-url)
      (xwidget-webkit-execute-script-rv)
      (xwidget-webkit-copy-selection-as-kill, xwidget-get)
      (xwidget-put):  Doc fixes.
      (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
      (xwidget-webkit-show-id-element)
      (xwidget-webkit-show-id-or-named-element): Prompt fixes.
      cea07fdf
    • Paul Eggert's avatar
      Spelling fixes · a528a60f
      Paul Eggert authored
      a528a60f
  11. 20 Jan, 2016 3 commits
  12. 19 Jan, 2016 7 commits
  13. 01 Feb, 2015 1 commit
  14. 31 Jan, 2015 1 commit
  15. 28 Jan, 2015 1 commit