Re: [webkit-gtk] [Patch]Fix DRAG_SUPPORT preprocessor issue in 1.1.16

2011-01-21 Thread Martin Robinson
On Wed, Oct 28, 2009 at 10:22 PM, Arlo Liu  wrote:
> I've attached a patch for WebCore/page/gtk/EventHandlerGtk.cpp which fix
> build problem with DRAG_SUPPORT set to 0
>
> just add some "#if ENABLE(DRAG_SUPPORT)"  to match header file.

Thanks for the patch Ario! Do you mind opening a bug on
http://bugs.webkit.org and spinning up a patch against trunk?

--Martin
___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk


[webkit-gtk] Anouncing SeedKit

2011-01-21 Thread Alexandre Mazari

Hi there,

 SeedKit is a runtime environment for hybrid web-ui/GObject  
application : http://gitorious.org/seedkithttp://gitorious.org/seedkit


Taking advantage of Seed #, SeedKit provides a webview whose  
Javascript context is filled with Seed-provided GObject symbols.
It makes possible the creation of a ui using standard Web  
technologies, such as JS, CSS3 and HTML5 bound to lower level events  
and behaviours of GObject based libs and DBus services (WIP).


All it requires is the path to an html file (defaulting to ui.html in  
CWD). This file can include js files calling into GIR-provided symbols.
You can pass --inspector to be able to inspect dom elements  
dynamically and --script=file.js for a custom initialization  
javascript file.
Some samples (Notifications, GIO, DBus...)are provided in the examples  
dir.


The project is still in its infacy and suffers from serious issues.  
Notably the DBus binding is not in a working state, seems like the js  
context is cleared after first-level imports or something.


Quick TODO :
- define a system-wide css file for common theming.
- add a developer mode, with reloading button
- create a bug tracker, an agile management tool, a website, ML
- fix DBus binding (exposes a customly created dbus connection within  
native code ?)
- add samples of web-services integration ( Evolution Contacts on a  
google map ?)

- a runtime for widgets ?
- see what s come next :)

Any code, help or idea appreciated. Contributions welcomed :)

Happy coding,

Alexandre Mazari

___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk


[webkit-gtk] [Patch]Fix DRAG_SUPPORT preprocessor issue in 1.1.16

2011-01-21 Thread Arlo Liu
I've attached a patch for WebCore/page/gtk/EventHandlerGtk.cpp which fix
build problem with DRAG_SUPPORT set to 0

just add some "#if ENABLE(DRAG_SUPPORT)"  to match header file.

regards.
diff -Naur webkit-1.1.16.orig/WebCore/page/gtk/EventHandlerGtk.cpp webkit-1.1.16/WebCore/page/gtk/EventHandlerGtk.cpp
--- webkit-1.1.16.orig/WebCore/page/gtk/EventHandlerGtk.cpp	2009-10-27 00:35:24.0 +0800
+++ webkit-1.1.16/WebCore/page/gtk/EventHandlerGtk.cpp	2009-10-28 14:04:46.821427000 +0800
@@ -42,7 +42,9 @@
 
 namespace WebCore {
 
-const double EventHandler::TextDragDelay = 0.0;
+#if ENABLE(DRAG_SUPPORT)
+const double EventHandler::TextDragDelay = 0.0;
+#endif // ENABLE(DRAG_SUPPORT)
 
 bool EventHandler::tabsToAllControls(KeyboardEvent* event) const
 {
@@ -93,11 +95,12 @@
 
 return static_cast(widget)->frame()->eventHandler()->handleWheelEvent(event);
 }
-
+#if ENABLE(DRAG_SUPPORT)
 PassRefPtr EventHandler::createDraggingClipboard() const
 {
 return ClipboardGtk::create(ClipboardWritable, true);
 }
+#endif // ENABLE(DRAG_SUPPORT)
 
 bool EventHandler::passMousePressEventToSubframe(MouseEventWithHitTestResults& mev, Frame* subframe)
 {
___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk


Re: [webkit-gtk] New glib and soup for EWS

2011-01-21 Thread Adam Barth
Ok, keep me posted.  I hope your real-life issue got sorted out ok.

Adam


On Mon, Dec 27, 2010 at 5:10 AM, Gustavo Noronha Silva  wrote:
> Hey,
>
> Sorry for the delay, I had some real life issues which kinda made me
> drift off-track.
>
> On Fri, 2010-12-10 at 12:54 -0800, Adam Barth wrote:
>> Would you like to run your own gtk-ews bot?  It's pretty easy, and
>> then you've have control over updating the software.  It costs a few
>> hundred dollars a month using EC2.  I can give you the AMI to boot it
>> up.
>
> I am asking my company's sysadmins if we can spare a new VM to run the
> gtk-ews bot on it. Another option we could consider if that is not
> possible is turning one of our buildbots into an EWS (the 64 bits
> release bot, perhaps?). I'll let you know of any news on this.
>
> Cheers,
>
> --
> Gustavo Noronha Silva 
> GNOME Project
>
>
___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk


Re: [webkit-gtk] New glib and soup for EWS

2011-01-21 Thread Adam Barth
On Fri, Jan 21, 2011 at 4:17 AM, Gustavo Noronha Silva  wrote:
> So here's the deal: we believe we can live with just three build bots,
> and decomission the 64 bits release bot as a build bot instead of
> bringing him back to being a core builder. It's been stable for quite a
> while now, but it would be more useful as an EWS.
>
> I'm going to talk to wms about removing it from the master configuration
> today, and then I'll reuse the buildbot checkout as the EWS bot. Do I
> need to do anything special, or is it just running webkit-patch gtk-ews
> in a tight loop all that is needed? Is there some documentation I should
> take a look at first?

We don't have any documentation written up, but we probably should do
that.  We run most of the EWS bots out of git checkouts, so that's the
most well-tested configuration.  You'll want to configure that git
working copy to know the username and password of a bugs.webkit.org
account with the "edit bugs" permission.  If you create a new
bugs.webkit.org account for this purpose, someone on #webkit will be
able to give it the right permissions.

The way you configure the account information in git is by adding the
following lines to your ".git/config" file:

[bugzilla]
username = f...@example.com
password = x

As for running the bot, most folks use a wrapper script most or less
like this one:

http://trac.webkit.org/browser/trunk/Tools/EWSTools/start-queue.sh

Feel free to tweak the script if you like.  The wrapper script isn't
strictly necessary, but it makes the bot more stable because it cleans
out any junk in the working copy and effectively lets webkit-patch
autoupdate.

Please let me know if you have any questions.  We can run multiple
instances of the gtk-ews in parallel, so I'll leave my instance
running until you're happy with your instance.  You an look at
http://queues.webkit.org/queue-status/gtk-ews to see how it working.
If you give it a new bot-id, we'll be able to distinguish between what
my instance is doing and what your instance is doing.

Adam


> On Mon, 2010-12-27 at 11:52 -0800, Adam Barth wrote:
>> Ok, keep me posted.  I hope your real-life issue got sorted out ok.
>>
>> Adam
>>
>>
>> On Mon, Dec 27, 2010 at 5:10 AM, Gustavo Noronha Silva  
>> wrote:
>> > Hey,
>> >
>> > Sorry for the delay, I had some real life issues which kinda made me
>> > drift off-track.
>> >
>> > On Fri, 2010-12-10 at 12:54 -0800, Adam Barth wrote:
>> >> Would you like to run your own gtk-ews bot?  It's pretty easy, and
>> >> then you've have control over updating the software.  It costs a few
>> >> hundred dollars a month using EC2.  I can give you the AMI to boot it
>> >> up.
>> >
>> > I am asking my company's sysadmins if we can spare a new VM to run the
>> > gtk-ews bot on it. Another option we could consider if that is not
>> > possible is turning one of our buildbots into an EWS (the 64 bits
>> > release bot, perhaps?). I'll let you know of any news on this.
>> >
>> > Cheers,
>> >
>> > --
>> > Gustavo Noronha Silva 
>> > GNOME Project
>> >
>> >
>
> --
> Gustavo Noronha Silva 
> GNOME Project
>
>
___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk


Re: [webkit-gtk] New glib and soup for EWS

2011-01-21 Thread Adam Barth
Would you like to run your own gtk-ews bot?  It's pretty easy, and
then you've have control over updating the software.  It costs a few
hundred dollars a month using EC2.  I can give you the AMI to boot it
up.

Adam


On Fri, Dec 10, 2010 at 10:56 AM, Gustavo Noronha Silva  wrote:
> Hey!
>
> We are planning to land a patch in webkitgtk+ that will require new
> versions of glib and soup. We have updated the build slaves, and now we
> need the new packages installed in the EWS bot before we land the patch.
>
> The following repository contains the packages I built for the
> buildbots, could you help us get them installed in the EWS bot? =)
>
>  deb http://people.debian.org/~kov/webkit/$(ARCH)/ ./
>
> Cheers,
>
> --
> Gustavo Noronha Silva 
> GNOME Project
>
>
___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk


Re: [webkit-gtk] New glib and soup for EWS

2011-01-21 Thread Gustavo Noronha Silva
Hey,

So here's the deal: we believe we can live with just three build bots,
and decomission the 64 bits release bot as a build bot instead of
bringing him back to being a core builder. It's been stable for quite a
while now, but it would be more useful as an EWS.

I'm going to talk to wms about removing it from the master configuration
today, and then I'll reuse the buildbot checkout as the EWS bot. Do I
need to do anything special, or is it just running webkit-patch gtk-ews
in a tight loop all that is needed? Is there some documentation I should
take a look at first?

Cheers,

On Mon, 2010-12-27 at 11:52 -0800, Adam Barth wrote:
> Ok, keep me posted.  I hope your real-life issue got sorted out ok.
> 
> Adam
> 
> 
> On Mon, Dec 27, 2010 at 5:10 AM, Gustavo Noronha Silva  wrote:
> > Hey,
> >
> > Sorry for the delay, I had some real life issues which kinda made me
> > drift off-track.
> >
> > On Fri, 2010-12-10 at 12:54 -0800, Adam Barth wrote:
> >> Would you like to run your own gtk-ews bot?  It's pretty easy, and
> >> then you've have control over updating the software.  It costs a few
> >> hundred dollars a month using EC2.  I can give you the AMI to boot it
> >> up.
> >
> > I am asking my company's sysadmins if we can spare a new VM to run the
> > gtk-ews bot on it. Another option we could consider if that is not
> > possible is turning one of our buildbots into an EWS (the 64 bits
> > release bot, perhaps?). I'll let you know of any news on this.
> >
> > Cheers,
> >
> > --
> > Gustavo Noronha Silva 
> > GNOME Project
> >
> >

-- 
Gustavo Noronha Silva 
GNOME Project

___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk


Re: [webkit-gtk] Help with WebKitWebResource and WebKitWebDataSource

2011-01-21 Thread Gustavo Noronha Silva
Hey,

On Fri, 2011-01-21 at 00:06 -0300, Felipe Ortiz wrote:
> Hi all, I introduce myself, my name is Felipe Ortiz. Well, I need some
> help with WebKitWebDataSource and WebKitWebResource I see
> documentation but I want to know if you can show me some example. I
> want to capture the resource's information that my app download.

The source repository contains a WebKit/gtk/tests/ directory which
contains tests for DataSource and Resource. They should give you an idea
of how you can use them. Another good example is the code in Epiphany
that saves pages to the disk, which also uses those APIs:

http://git.gnome.org/browse/epiphany/tree/embed/ephy-web-view.c#n3688

Cheers,

-- 
Gustavo Noronha Silva 
GNOME Project

___
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk