From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ricardo Wurmus Newsgroups: gmane.emacs.devel Subject: [PATCH v2 00/15] xwidget webkit improvements Date: Mon, 24 Oct 2016 18:39:02 +0200 Message-ID: <20161024163917.25867-1-rekado@elephly.net> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1477327317 5853 195.159.176.226 (24 Oct 2016 16:41:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Oct 2016 16:41:57 +0000 (UTC) Cc: Ricardo Wurmus To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 24 18:41:53 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byiJi-0008D2-KR for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2016 18:41:42 +0200 Original-Received: from localhost ([::1]:48123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byiJl-0006L5-06 for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2016 12:41:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byiI2-0004iy-7N for emacs-devel@gnu.org; Mon, 24 Oct 2016 12:39:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1byiHx-0000sD-7B for emacs-devel@gnu.org; Mon, 24 Oct 2016 12:39:58 -0400 Original-Received: from sender163-mail.zoho.com ([74.201.84.163]:21306) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1byiHw-0000rD-VI for emacs-devel@gnu.org; Mon, 24 Oct 2016 12:39:53 -0400 Original-Received: from localhost (89.204.138.233 [89.204.138.233]) by mx.zohomail.com with SMTPS id 1477327187406226.267397935875; Mon, 24 Oct 2016 09:39:47 -0700 (PDT) X-Mailer: git-send-email 2.10.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 74.201.84.163 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:208706 Archived-At: Hello again, readers of emacs-devel! I was informed that my copyright assignment for Emacs is now complete, so I revisited my patches for the xwidget feature. This replaces my previous patch set with Message-Id: <20160921115018.29576-1-rekado@elephly.net>. As before, the first patch in this series adjusts the code such that the WebKit2 API is used, which allows users to build Emacs with the latest version of WebKit(2)Gtk. Due to process separation in WebKit2Gtk, scrolling the WebKit widget is achieved using JavaScript, and JavaScript evaluation now happens asynchronously. The remaining patches add features such as automatic resizing of the WebKit widget, new keybindings, and zoom. ~~ Ricardo Ricardo Wurmus (15): xwidget: Use WebKit2 API xwidget: Pass JavaScript return value to optional callback procedure Remove scrolled window container around WebKit widget xwidget: Do not use `xwidget-execute-script-rv' to insert string xwidget: Get title via asynchronous JavaScript. xwidget: Simplify functions to scroll to elements xwidget: Add function to find element by CSS selector xwidget: Get selection with asynchronous JavaScript xwidget: Get URL asynchronously. xwidget: Remove title hack. Let initial WebKit view fill window Dynamically resize WebKit widget. Implement zoom for WebKit widget. xwidget: Bind "beginning-of-buffer" and "end-of-buffer" xwidget: Map "previous-line" and "next-line" to scroll configure.ac | 4 +- lisp/xwidget.el | 311 ++++++++++++++++++++++----------------- src/xwidget.c | 445 ++++++++++++++++++++++++++++++++------------------------ src/xwidget.h | 3 - 4 files changed, 434 insertions(+), 329 deletions(-) -- 2.10.1