discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Web browser for GNUstep


From: Kevin Ingwersen (Ingwie Phoenix)
Subject: Re: Web browser for GNUstep
Date: Sun, 14 Jun 2015 01:16:11 +0200

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];
    
    cef.addToView(area);
}

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:

Andrew,

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.

GC

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.

THanks

Andrew


_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep



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


_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep



reply via email to

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