[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Web browser for GNUstep

From: Maxthon Chan
Subject: Re: Web browser for GNUstep
Date: Sun, 14 Jun 2015 07:18:51 +0800

I know that Apple never released the wrapper but can’t we take their open source WebKit and clone the wrapper? This will have two benefits:

1) coverage of yet another Apple’s library on OS X
2) a Safari clone that can be use as the default browser of GNUstep

On Jun 14, 2015, at 07:16, Kevin Ingwersen (Ingwie Phoenix) <ingwie2000@googlemail.com> wrote:

I doubt Apple Inc. had ever released their ObjC wrapper…

Regarding CEF3, I have a bit of experience with it, actually. CEF is really easy to use, but requires setup. From helper processes with special execution rights, to requiring some stuff on the main thread. The overall implementation is easy and can be done nicely. But it’s docs are all over the place, sadly.

However… CEF3 has one amazing feature. It renders into an existing view. Take this pseudo code into consideration, and taking into considerationt hat I have never used Gnustep or Cocoa myself:

// This is in the main process
class Application : public CEFApplication { ... }

// This lives partially in the main process and the renderer
class Browser : public CEFBrowser { ... }

// This truely lives in the renderer
class Renderer : public CEFRenderer { ... }

void launch() {
    // Imagine that this is how we set up an application instance
    Application cef;
    NSWindow* win = [NSWindow somehowMakeOne];
    NSView* area = [win getContentView];

I am very rusty in the actual CEF documentation, tbh… But there is some positive news. I have had osme playing with trying to put CEF3 into FLTK. This code still exists!

…well, except that it was one hella lame attempt of tryign to make a cool NodeJS thingy-dabado. Whatever, the code should give hints and clues nevertheless, since CEF3’s API shouldn’t have changed a lot.

So, you throw a render-able area (= NSView) into CEF, and it gives you back a webview! :)

I just thought I’d share that stuff with you guys. =)

On So. Juni 14 2015 00:40:35 Maxthon Chan wrote:
Just throw this out here, is it possible to take the open source portion of WebKit (or Blink) and clone the Objective-C wrapper Apple provided? With that and a new shell we can have what is effectively a Safari clone using the same rendering engine and even maybe can share extensions.

On Jun 14, 2015, at 06:33, andrewkaz <andrewkaz@gmail.com> wrote:

Could you per chance share code or leads for integrating CEF3 with Objective-C? I’m willing to do some leg work but info’s appreciated

On Jun 13, 2015, at 5:25 PM, Gregory Casamento <greg.casamento@gmail.com> wrote:


One thing I have been considering doing for a while is using CEF3 to
create a WebView implementation which can be used within GNUstep.   I
did something similar to this when I was working on Winamp for Mac and
it worked very well... so I think it's a viable solution for creating
a WebView class that can be used from any application.

Lately I haven't had a lot of time to do this.  There is an
experimental effort using something called "Berkelium" in GAP @
gap/libs/Berkelium.   Berkelium has a similar architecture so it would
be easy to retrofit my code there to use CEF3.

I don't know if this helps... but it is something along the same lines.


On Sat, Jun 13, 2015 at 1:49 PM, andrewkaz <andrewkaz@gmail.com> wrote:
Anyone have a status on a GNUstep web browser?

Was checking out Mantella, the wrapper around Firefox from like 2007. I may even be close to getting it to compile! My system has Ice weasel though, not firefox, and not sure what the associated gtkmozembed is called or how to get it installed and importing on my Debian distro.  — If anyone has pointers on any of these things Id be extremely grateful.

Or if you have pointers on another web browser that is even remotely usable. Tried SimpleWebKit too, got it building and running and it’s either out of date or a joke.

I’ve been on the Apple scene for a long time, and feel I may be one of the rare few who can see the grand potential of GNUstep, who wants to move it forward.



Discuss-gnustep mailing list

Gregory Casamento
GNUstep Lead Developer / OLC, Principal Consultant
http://www.gnustep.org - http://heronsperch.blogspot.com

Discuss-gnustep mailing list

Discuss-gnustep mailing list

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

reply via email to

[Prev in Thread] Current Thread [Next in Thread]