From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jaesup Kwak Newsgroups: gmane.emacs.devel Subject: Re: Xwidget webkit support for macOS X Cocoa Date: Wed, 29 Nov 2017 03:00:34 +0900 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114690deab0a67055f0ecb0c" X-Trace: blaine.gmane.org 1511892051 19606 195.159.176.226 (28 Nov 2017 18:00:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 28 Nov 2017 18:00:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 28 19:00:45 2017 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 1eJkBV-0004VQ-As for ged-emacs-devel@m.gmane.org; Tue, 28 Nov 2017 19:00:41 +0100 Original-Received: from localhost ([::1]:39415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJkBc-0001Yx-HH for ged-emacs-devel@m.gmane.org; Tue, 28 Nov 2017 13:00:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJkBR-0001YH-G6 for emacs-devel@gnu.org; Tue, 28 Nov 2017 13:00:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJkBQ-0006N2-93 for emacs-devel@gnu.org; Tue, 28 Nov 2017 13:00:37 -0500 Original-Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:45598) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJkBP-0006Mj-VH for emacs-devel@gnu.org; Tue, 28 Nov 2017 13:00:36 -0500 Original-Received: by mail-wm0-x235.google.com with SMTP id 9so1250884wme.4 for ; Tue, 28 Nov 2017 10:00:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=dY9mugqBip8NMmbdF1QBW0VVN5iPlXIplVjfYtek59c=; b=r8pIJ4v48aGSlw9xqYJz8cm+WMxNQzzolNZ6SvIrsqsNf9Jb56/YmSokT5OZXStVYM /9VuB0uQM2wb3LANCZw397YkvzuMTkfOpHBTQDB6Dgc1h29a3KDKVS8WcX8g38qfQDI8 PQ9QMhQllcJHFAXiXwb8KLeu2qtEt4Y/1Ii0sgU4mGcEX8nKgAMR5dLyKiHiUK/hxI8g 48acmJlsn/Fth2kLnS8DIpcgcp0QLT3wNjf95s8UGdnn6acCC99T4UKKVf0Vwewm9I49 6ED7IYYtbXaJ3GvgOFHqv6BApERwcI2g44XqTpvKxvgrZdAUs4phMad/2ZLVB+meiXUK 85Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=dY9mugqBip8NMmbdF1QBW0VVN5iPlXIplVjfYtek59c=; b=JmWSx7jO9gw6fARSBnpFXPRRMZ0obJUfqG7pADP4PKzaRxlqSlCCZ8/89yKVZl6uQ1 LltNWEyuP/ETr733b6k/SuODO8JAppVH9cvJ/B2h1U9b9A5GMzDh2NCqDwbgb93S1aQd VtIS8HndnWROYErqYo0LGlLRIXeHNDHp/000nddEtAbHje35LuqLyPyq2ji/YSdJAeAA jxCA7xvtk0TQIFVbI7QZjEGqe0H3k6v8jtD1SzEoUYuQrcb4pMEamoDj7qJ3JLC6RS3M JKuitd2eK77k8MxPTTXIexTvup332IHCSK+gg1ut1mVBfjZDWENmLBsQQdfrEpsWdf1G YzNg== X-Gm-Message-State: AJaThX7vWlwo/hJI2JlzunO83P9JranPKhuC4MbED4IIvee5KRarC9G0 AC+UkhsteskhGDJ+QGaqv5U0bEX/O6c2HwrcVo0= X-Google-Smtp-Source: AGs4zMZXsxTcN8j9X2bJnUV+4zFECdjR7/zwpltrP7WYERQ0AVqC2fje5o4X8PTl3lYG7FCrv5GwmsZEM8CTZ8X7Ua4= X-Received: by 10.28.212.137 with SMTP id l131mr380606wmg.32.1511892034717; Tue, 28 Nov 2017 10:00:34 -0800 (PST) Original-Received: by 10.28.227.67 with HTTP; Tue, 28 Nov 2017 10:00:34 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::235 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:220506 Archived-At: --001a114690deab0a67055f0ecb0c Content-Type: text/plain; charset="UTF-8" On Wed, Nov 29, 2017 at 12:59 AM, Paul Eggert wrote: > On 11/27/2017 11:13 PM, Jaesup Kwak wrote: > >> I made a work supporting Emacs xwidget webkit for macOS X, which works >> with Cocoa and Safari webkit frameworks without need of GTK and X window. >> You can t ry it on master branch of https://github.com/veshboo/emacs >> > > Thanks, could you please briefly characterize how this relates to what's > already in GNU Emacs, and to the Emacs Mac Port < > https://bitbucket.org/mituharu/emacs-mac/>? (Sorry, I don't know macOS > well.) > This work provides NSView (Cocoa AppKit) and WKWebView (Safari WebKit) based backend for the Emacs xwidget webkit feature (--with-xwidgets). The current GNU Emacs xwidget webkit feature requires X window, GTK, and WebKitGTK even on macOS, it runs OK but not gets along with macOS's GUI environment. With my work, it requires only AppKit and WebKit (these are available on macOS X without manual installation) and the resulting graphical web browsing in Emacs buffer shows better look in the macOS GUI environment. Most changes are made in the following files (about 30 commits): * configure.ac src/Makefile.in: Enable xwidgets also if NS (macOS) and WebKit available * src/xwidget.[ch]: For USE_GTK or HAVE_NS, conditional compile of non-Lisp_Object part of pseudo vector structure and operations on it * src/nsxwidget.[mh]: Newly added files, provide NS backend for xwidget and webkit * lisp/xwidget.el: Some fixes and enhancements while development and testing of ns xwidget webkit support And this work has no relation to the Emacs Mac Port. I cloned from 'git.sv.gnu.org/emacs.git' and made this work. And I also see no support for NS Cocoa and Safari WebKit based xwidget webkit in the Emacs Mac Port. > Also, can willing to sign papers contributing your changes to the Free > Software Foundation? If so, please let me know and I can send you info > about how to do that. > > Sure, I can do that, send me the info, please. Thanks, --001a114690deab0a67055f0ecb0c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On W= ed, Nov 29, 2017 at 12:59 AM, Paul Eggert <eggert@cs.ucla.edu> wrote:
On 11/27/2017 11:13 PM, Jaesup Kwak wrote:
I made a work supporting Emacs xwidget webkit for macOS X, which works with= Cocoa and Safari webkit frameworks without need of GTK and X window. You c= an t ry it on master branch of https://github.com/veshboo/emacs=

Thanks, could you please briefly characterize how this relates to what'= s already in GNU Emacs, and to the Emacs Mac Port <https= ://bitbucket.org/mituharu/emacs-mac/>? (Sorry, I don't know= macOS well.)

This work provides NSView= (Cocoa AppKit) and WKWebView (Safari WebKit)
based backend for t= he Emacs xwidget webkit feature (--with-xwidgets).

The current GNU Emacs xwidget webkit feature requires X window, GTK,
=
and WebKitGTK even on macOS, it runs OK but not gets along with
<= div>macOS's GUI environment.

With my work, it = requires only AppKit and WebKit (these are available
on macOS X w= ithout manual installation) and the resulting graphical
web brows= ing in Emacs buffer shows better look in the macOS GUI
environmen= t.

Most changes are made in the following files (a= bout 30 commits):

* configure.ac src/Makefile.in: Enable xwidgets also if NS (macOS) and<= /div>
=C2=A0 WebKit available

* src/xwidget.[c= h]: For USE_GTK or HAVE_NS, conditional compile of
=C2=A0 non-Lis= p_Object part of pseudo vector structure and operations on it
* src/nsxwidget.[mh]: Newly added files, provide NS backend for=
=C2=A0 xwidget and webkit

* lisp/xwidge= t.el: Some fixes and enhancements while development and
=C2=A0 te= sting of ns xwidget webkit support
=C2=A0
And this= work has no relation to the Emacs Mac Port. I cloned from
'<= a href=3D"http://git.sv.gnu.org/emacs.git">git.sv.gnu.org/emacs.git'= ; and made this work. And I also see no support
for NS Cocoa and = Safari WebKit based xwidget webkit in the Emacs Mac
Port.


Also, can willing to sign papers contributing your changes to the Free Soft= ware Foundation? If so, please let me know and I can send you info about ho= w to do that.


Sure, I can do that, send me the info, please.

Thanks,
--001a114690deab0a67055f0ecb0c--