[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 00/15] xwidget webkit improvements
From: |
Ricardo Wurmus |
Subject: |
Re: [PATCH v2 00/15] xwidget webkit improvements |
Date: |
Wed, 26 Oct 2016 07:12:54 +0200 |
User-agent: |
mu4e 0.9.16; emacs 25.1.1 |
Paul Eggert <address@hidden> writes:
> Thanks. I tried that on Fedora 24 x86-64, and got the following
> diagnostic when using M-x xwidget-webkit-browse-url to visit
> http://cs.ucla.edu.
>
> (emacs:22840): Gtk-WARNING **: Allocating size to GtkOffscreenWindow
> 0xd5b6d0 without calling gtk_widget_get_preferred_width/height(). How
> does the code know the size to allocate?
>
> Is this something I should worry about?
This warning is also produced by the existing xwidget code in Emacs
25.1. It is harmless, but I did try to remove it and haven’t been
successful yet, as I’m not very familiar with GTK.
> A couple of minor things. First, in patch "Dynamically resize WebKit
> widget", this commit-message line exceeds 78 chars:
>
> (xwidget-webkit-adjust-size-to-window): Make non-interactive, add widget and
> window as arguments.
>
> so "git am" rejected it here. To help prevent this sort of problem in
> the future, run "./autogen.sh git". (72 chars or less is nice, so that
> ChangeLog lines fit in 80 columns.)
>
> Second, in the patch "xwidget: Pass JavaScript return value to optional
> callback procedure" the new function webkit_js_to_lisp should be static.
> To catch this sort of thing in the future, use the --enable-gcc-warnings
> option to 'configure'.
Thanks for the hints! I’ll wait for additional feedback before sending
updated patches.
~~ Ricardo
- [PATCH 07/15] xwidget: Add function to find element by CSS selector, (continued)
- [PATCH 07/15] xwidget: Add function to find element by CSS selector, Ricardo Wurmus, 2016/10/24
- [PATCH 08/15] xwidget: Get selection with asynchronous JavaScript, Ricardo Wurmus, 2016/10/24
- [PATCH 09/15] xwidget: Get URL asynchronously., Ricardo Wurmus, 2016/10/24
- [PATCH 10/15] xwidget: Remove title hack., Ricardo Wurmus, 2016/10/24
- [PATCH 11/15] Let initial WebKit view fill window, Ricardo Wurmus, 2016/10/24
- [PATCH 12/15] Dynamically resize WebKit widget., Ricardo Wurmus, 2016/10/24
- [PATCH 13/15] Implement zoom for WebKit widget., Ricardo Wurmus, 2016/10/24
- [PATCH 14/15] xwidget: Bind "beginning-of-buffer" and "end-of-buffer", Ricardo Wurmus, 2016/10/24
- [PATCH 15/15] xwidget: Map "previous-line" and "next-line" to scroll, Ricardo Wurmus, 2016/10/24
- Re: [PATCH v2 00/15] xwidget webkit improvements, Paul Eggert, 2016/10/25
- Re: [PATCH v2 00/15] xwidget webkit improvements, Live System User, 2016/10/26
- Re: [PATCH v2 00/15] xwidget webkit improvements, Live System User, 2016/10/26