summaryrefslogtreecommitdiff
path: root/lisp/xwidget.el
Commit message (Collapse)AuthorAgeFilesLines
* Map previous-line and next-line to scroll-down and up.rekado-webkitrekado2016-09-201-2/+2
|
* xwidgets: Initialize size to fill window.rekado2016-09-201-1/+3
|
* WIP xwidgets: bind beginning/end of buffer.rekado2016-09-201-2/+15
|
* WIP: Webkit add zoom.rekado2016-09-201-0/+13
|
* WIP: WebKit widget can scroll by itself.rekado2016-09-201-6/+12
|
* Remove buggy non-native image scrollingPaul Eggert2016-05-131-34/+9
| | | | | | | 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.
* Remove unused arguments from make-xwidgetJoakim Verona2016-04-021-4/+3
| | | | | | | | | 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
* Quoting fixes in doc strings and diagnosticsPaul Eggert2016-02-031-4/+4
| | | | | | | * 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.
* * lisp/xwidget.el (xwidget-query-on-exit-flag): Declare.Glenn Morris2016-01-271-0/+1
|
* * lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit errorGlenn Morris2016-01-271-0/+2
| | | | if not compiled with xwidgets.
* * lisp/xwidget.el (xwidget-webkit-scroll-behavior):Glenn Morris2016-01-251-10/+10
| | | | Rename using American spelling. Update all uses.
* Yet more xwidget doc fixes.Glenn Morris2016-01-251-50/+49
| | | | | | | | | | | | | | | | | * 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.
* Spelling fixesPaul Eggert2016-01-251-1/+1
|
* * lisp/xwidget.el: NitpicksStefan Monnier2016-01-191-65/+58
| | | | | * lisp/xwidget.el (xwidget-log, xwidget-webkit-callback): Use with-current-buffer rather than save-excursion + set-buffer.
* Don't hard-code 1 as point-min.Glenn Morris2016-01-191-4/+2
| | | | | | * lisp/image-mode.el (image-display-size): * lisp/xwidget.el (xwidget-webkit-last-session) (xwidget-webkit-current-session): Don't hard-code 1 as point-min.
* ; * lisp/xwidget.el: Spelling fixes.Glenn Morris2016-01-191-27/+27
|
* * lisp/xwidget.el: Add declarations to silence non-xwidget compilation.Glenn Morris2016-01-191-5/+20
|
* Avoid advising image-display-size for xwidgets.Glenn Morris2016-01-191-17/+0
| | | | | | | * lisp/xwidget.el (xwidget-image-display-size): Remove. (image-display-size): Remove advice. * lisp/image-mode.el (xwidget-info, xwidget-at): Declare. (image-display-size): Incorporate xwidget code directly.
* Avoid breaking non-xwidget Emacs that happen to load xwidget.el.Glenn Morris2016-01-191-2/+4
| | | | | | * lisp/xwidget.el (window-configuration-change-hook) (kill-buffer-query-functions): Only modify these hooks if compiled with xwidget support.
* * lisp/xwidget.el (xwidget-webkit-scroll-behaviour): Fix custom spec.Glenn Morris2016-01-191-1/+3
|
* * lisp/xwidget.el (report-xwidget-bug): Remove.Glenn Morris2016-01-191-21/+0
| | | | (top-level): No longer require reporter.
* ; Add 2016 to copyright years of new files.Glenn Morris2016-01-191-1/+1
|
* Support for the new Xwidget feature.Joakim Verona2016-01-191-0/+608
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: (HAVE_XWIDGETS, WIDGET_OBJ, EMACS_CONFIG_FEATURES): * xterm.c (x_draw_glyph_string, x_draw_bar_cursor): * xdisp.c: (handle_display_spec, handle_single_display_spec, push_it) (pop_it, set_iterator_to_next, dump_glyph) (calc_pixel_width_or_height, fill_xwidget_glyph_string) (BUILD_XWIDGET_GLYPH_STRING, BUILD_GLYPH_STRINGS) (produce_xwidget_glyph, x_produce_glyphs) (get_window_cursor_type): * window.c (Fdelete_window_internal): * termhooks.h (e): * print.c (print_object): * lisp.h (ptrdiff_t): * keyboard.c (kbd_buffer_get_event, make_lispy_event) (syms_of_keyboard): * emacs.c (main): * dispnew.c (update_window, scrolling_window): * dispextern.h (g, i): * Makefile.in (XWIDGETS_OBJ, WEBKIT_CFLAGS, WEBKIT_LIBS) (GIR_LIBS, ALL_CFLAGS, base_obj, LIBES): * keyboard.c (kbd_buffer_get_event): * emacsgtkfixed.c (emacs_fixed_gtk_widget_size_allocate) (emacs_fixed_class_init): Add case for an xwidget view. * xwidget.c, xwidget.h, xwidget.el: New files for xwidgets Co-authored-by: Grégoire Jadi <daimrod@gmail.com> Various improvements to the Xwidget feature. * xwidgets.c: * emacsgtkfixed.c: * xwidget.el:
* Revert changes installed by xwidgets mergePaul Eggert2015-02-011-592/+0
|
* Fix compile warnings xwidget.elJoakim Verona2015-01-311-4/+5
|
* First attempt at bookmark supportJoakim Verona2015-01-281-1/+10
|
* added hint to webkit bufferJoakim Verona2015-01-261-2/+2
|
* Improved glitch fixJoakim Verona2015-01-251-3/+12
|
* Fix visual glitch during webkit resizingJoakim Verona2015-01-251-1/+3
|
* webkit scrolling bugfixJoakim Verona2015-01-211-8/+8
|
* rely less onimage modeJoakim Verona2015-01-211-6/+8
|
* Native scrollingJoakim Verona2015-01-211-20/+76
| | | | | Initial support for native scrolling of the webkit xwidget. Also some checkstyle cleanups.
* * lisp/xwidget.el (xwidget-display): Return a useful value.Grégoire Jadi2013-08-131-2/+4
| | | | * test/automated/xwidget-tests.el (xwidget-view-p): Use `xwidget-display'.
* * lisp/xwidget.el (xwidget-delete-zombies): Rewrite with dolist/memqGrégoire Jadi2013-07-251-6/+5
| | | | instead of mapcar/find.
* Merge pull request #7 from daimrod/fix-image-mode-interactionJoakim Verona2013-07-181-32/+26
|\ | | | | | | Fix image mode interaction
| * * lisp/xwidget.el: Fix the interaction between `image-mode' and xwidget.Grégoire Jadi2013-07-181-32/+26
| | | | | | | | | | | | | | | | (xwidget-image-mode-navigation-adaptor xwidget-image-mode-navigation-adaptor-p): `flet' has been deprecated and `cl-flet' doesn't work like the old `flet', we now use a `defadvice' around `image-display-size' instead. (xwidget-webkit-mode-map): No need to use the adaptators now.
* | * src/xwidget.c (Fset_frame_visible): Hack to force a frame to beGrégoire Jadi2013-07-181-1/+7
|/ | | | | | considered as visible to trigger the display engine. * lisp/xwidget.el (xwidget-display): Force the display engine to create a xwidget_view of the given xwidget.
* * src/xwidget.c (Fxwidget_delete_zombies): Re-implemented in Lisp.Grégoire Jadi2013-07-181-5/+13
| | | | | | | | | Note: It is not longer necessary to delete xwidget with killed buffer here because it is done automatically when a buffer is killed. (Fdelete_xwidget_view): New function to delete the given xwidget-view. * lisp/xwidget.el (xwidget-delete-zombies): Re-implementation. * src/xwidget.c (Fxwidget_delete_zombies): Re-implemented in Lisp. Note: It is not longer necessary to delete xwidget with killed buffer here because it is done automatically when a buffer is killed. (Fdelete_xwidget_view): New function to delete the given xwidget-view. * lisp/xwidget.el (xwidget-delete-zombies): New implementation.
* * src/xwidget.c: Add a `query-on-exit' flag to determine whether we canGrégoire Jadi2013-07-161-0/+1
| | | | | | | | | | | | | kill xwidget when the buffer is killed without confirmation. (Fset_xwidget_query_on_exit_flag): New function to set the `query-on-exit' flag. (Fxwidget_query_on_exit_flag): New function to retrieve the value of the `query-on-exit' flag. (Fmake_xwidget): Set the `query-on-exit' flag to t by default. * src/xwidget.h (xwidget): Add new field `kill_without_query'. * lisp/xwidget.el (xwidget-kill-buffer-query-function): Ask for confirmation before killing the buffer if a xwidget is present only if its `query-on-exit' flag is enabled.
* Handle xwidgets like processes and delete them when their buffer is killed.Grégoire Jadi2013-06-241-0/+10
| | | | | | | | | | | | * lisp/xwidget.el (xwidget-kill-buffer-query-function): New function to query a user before killing a buffer with xwidgets in it. This function is stored in `kill-buffer-query-functions' and called from `kill-buffer'. * src/buffer.c (Fkill_buffer): Call `kill_buffer_xwidgets'. * src/xwidget.c (kill_buffer_xwidgets): Delete xwidgets attached to the specified buffer. * src/xwidget.h (kill_buffer_xwidgets): Add definition.
* * lisp/xwidget.el (report-xwidget-bug): Add a function to submit a bugGrégoire Jadi2013-06-131-0/+21
| | | | | | with the proper address and pseudo-header. * README.xwidget: Update the documentation to mention `report-xwidget-bug'.
* * lisp/xwidget.el: Fix some warnings raised by the byte-compiler.Grégoire Jadi2013-06-111-3/+5
|
* * src/xwidget.c (Fmake_xwidget): Add a docstring and add BUFFER as an ↵Grégoire Jadi2013-06-111-2/+4
| | | | | | | | | | | optional parameter. The docstring now lists the types accepted. The GCPROtection has also been removed because it wasn't necessary (no call to Feval/eval_sub either directly or indirectly). (syms_of_xwidget): Add a comment to remind us to update the docstring of `Fmake_xwidget' if new types are added.
* Small fixesGrégoire Jadi2013-06-111-113/+113
| | | | | | | | | * lisp/xwidget.el: Do some cosmetic changes. Align expressions, remove some whitespaces, remove duplicated provide, replace (if foo foo bar) by (or foo bar) * src/xwidget.c (Fmake_xwidget): Cosmetic changes and fix a comment. * README.xwidget: Fix some typos.
* cl-flet replaces flet (Stefan Hussman)Joakim Verona2013-03-261-3/+3
|
* fixes so xwidgets doesnt pollute a non xwidget buildJoakim Verona2012-07-081-1/+2
|
* textareaJoakim Verona2012-03-201-1/+18
|
* upstream+selection supportJoakim Verona2012-03-081-0/+10
|
* bug when passing xwidget in eventJoakim Verona2012-02-271-2/+4
|
* added stuff for loggingJoakim Verona2012-01-231-19/+28
|