[webkit-dev] Can't build r39090: WebKit/gtk/tests/Programs_UnitTests-main.o fails
Hi all, I am building r39090 on Ubuntu Hardy with GLib 2.16.6 I fail with the following messages: ./doltlibtool --tag=CC --mode=link gcc -O2 -o Programs/UnitTests WebKit/gtk/tests/Programs_UnitTests-main.o libwebkit-1.0.la -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 gcc -O2 -o Programs/.libs/UnitTests WebKit/gtk/tests/Programs_UnitTests-main.o ./.libs/libwebkit-1.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so WebKit/gtk/tests/Programs_UnitTests-main.o: In function `main': main.c:(.text+0x37): undefined reference to `gtk_test_init' collect2: ld returned 1 exit status make[1]: *** [Programs/UnitTests] Error 1 make[1]: Leaving directory `/home/arthur/src/WebKit-r39090' make: *** [all] Error 2 Some research on the net I suspect this is due to the check in of http://trac.webkit.org/changeset/39082 What I don't understand is I have GLib 2.16.6 installed but still can't build. Anyone has the same problem likes me? Thanks -- Arthur Webkid ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] How does the GTK call Webkit
Hi Chen, Sometime back i was also looking for the same info... luckily i managed to find it within Webkit source code only :) I've referred GtkLauncher's source file (main.c). This file can be found in all Open Source Webkit versions ( http://nightly.webkit.org/ ) at location: (inside Webkit source code folder) ./WebKitTools/GtkLauncher/main.c I wrote a simple GTK browser application and used Webkit to open/browse Google.com/Rediff.com and so on... I hope this sample file helps you... Cheers !! Ravindra Singhai Sr. Software Engineer Azingo Soft Systems, Pune India On Wed, Dec 10, 2008 at 1:16 PM, Ariya Hidayat [EMAIL PROTECTED]wrote: On Wednesday 10 December 2008 08:14:36 am Chen Ren Lei wrote: Dear experts, I am newbie to Webkit, GTK and QT, could you tell me how the GTK use Webkit? Or what is the relationship between GTK/QT and Webkit? You might need to work it out by yourself, but here are links to help you start with QtWebKit: http://trac.webkit.org/wiki/QtWebKit http://trac.webkit.org/wiki/QtWebKitHacking http://doc.trolltech.com/4.4/qtwebkit.html -- Ariya Hidayat, Software Engineer Qt Software, Nokia Devices RD ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev -- Thanks and Regards, Ravindra Singhai, Sr. Software Engineer, @ Pune Mobile No: +91-9970785526 ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Can't build r39090: WebKit/gtk/tests/Programs_UnitTests-main.o fails
On Wed, 2008-12-10 at 20:49 +0800, Arthur Webkid wrote: What I don't understand is I have GLib 2.16.6 installed but still can't build. Anyone has the same problem likes me? What matters is your GTK+ version, which should be higher than 2.14.0, which adds that symbol, could you try that? See you, -- Gustavo Noronha Silva [EMAIL PROTECTED] GNOME contributor: http://www.gnome.org/ ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Can't build r39090: WebKit/gtk/tests/Programs_UnitTests-main.o fails
Hi Estêvão Samuel Procópio Any detailed information on gtk_test_init on GTK at 2.14? I want to explore more on this issue. If that is the case, I think configure should check for GTK version / the code (main.c) should also check the version of GTK... Thanks -- Arthur Webkid 於 三,2008-12-10 於 10:58 -0200,Estêvão Samuel Procópio 提到: On Wed, Dec 10, 2008 at 10:49 AM, Arthur Webkid [EMAIL PROTECTED] wrote: Hi all, I am building r39090 on Ubuntu Hardy with GLib 2.16.6 I fail with the following messages: ./doltlibtool --tag=CC --mode=link gcc -O2 -o Programs/UnitTests WebKit/gtk/tests/Programs_UnitTests-main.o libwebkit-1.0.la -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 gcc -O2 -o Programs/.libs/UnitTests WebKit/gtk/tests/Programs_UnitTests-main.o ./.libs/libwebkit-1.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so WebKit/gtk/tests/Programs_UnitTests-main.o: In function `main': main.c:(.text+0x37): undefined reference to `gtk_test_init' collect2: ld returned 1 exit status make[1]: *** [Programs/UnitTests] Error 1 make[1]: Leaving directory `/home/arthur/src/WebKit-r39090' make: *** [all] Error 2 Some research on the net I suspect this is due to the check in of http://trac.webkit.org/changeset/39082 What I don't understand is I have GLib 2.16.6 installed but still can't build. Anyone has the same problem likes me? Thanks The error is related to GTK+ Testing Framework (gtk_test_init). You will need, besides glib 2.16, libgtk2.0-dev at version 2.14... yours should be 2.12... Upgrade to Ubuntu Intrepid (8.10) to solve this issue. Estêvão Samuel Procópio ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] winLauncher
Hi, everybody: I got WebKit to build properly on windows, and i got the winLauncher too. But now the problem is : i type any URL and then enter key the winLauncher doesn't do anything. anybody knows that situation?? Best Wishes Aman zhai___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Can't build r39090: WebKit/gtk/tests/Programs_UnitTests-main.o fails
Filed. https://bugs.webkit.org/show_bug.cgi?id=22779 -- Arthur Webkid 於 三,2008-12-10 於 16:21 +0200,Kalle Vahlman 提到: 2008/12/10 Gustavo Noronha Silva [EMAIL PROTECTED]: On Wed, 2008-12-10 at 20:49 +0800, Arthur Webkid wrote: What I don't understand is I have GLib 2.16.6 installed but still can't build. Anyone has the same problem likes me? What matters is your GTK+ version, which should be higher than 2.14.0, which adds that symbol, could you try that? ...and file a bug about the configuration/build system allowing the unit tests to be built when GTK+ version 2.14. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Need help in understanding web kit
On Wed, Dec 10, 2008 at 1:50 AM, Ariya Hidayat [EMAIL PROTECTED] wrote: Thank you. I have another question: Does Webkit has page zoom in / out feature? The andriod 's Web kit has such feature. Can you please tell me where in the code which implement that functionality? You can start by following the code in WebCore::Frame::setZoomFactor() function. It is in WebCore/page/Frame.cpp. Thank you. Does that mean I can zoom in and out in original Webkit (not the one shipped with Android)? I am running the GTK WebKit, is it possible to enable that zoom in/out feature? Thank you. -- Ariya Hidayat, Software Engineer Qt Software, Nokia Devices RD ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] webkit glib DOM bindings demo code
http://lkcl.net/webkit/main.c the modifications to main.c are getting a little bit more sophisticated, so i thought it best to post it as a separate link, with explanations here. get_absolute_top() is a [bad] port of the pyjamas-desktop javascript function of the same absolute camelised name, DOM.getAbsoluteTop() - source code here: http://github.com/lkcl/pyjamas-desktop/tree/master/pyjamas-webkit/pyjamas/DOM.py#L378 you can at least see what was being attempted :) scroll_into_view() is quite obvious: given any particular node in the DOM tree, scroll_into_view() ensures that that node will be visible. having used get_absolute_top() to locate its absolute position, gdom_dom_window_scroll_to() is called to actually move the window scroll position. it's left as an exercise to the reader (at the moment) to do scrolling on X position and to write a get_absolute_left() to match, and to get the width/height of the window and of the node and put the node at the _bottom_ of the scrolling window (or in the middle) with a little maths. print_attribute() is necessary in instances where XML is being created, or in cases where an HTML element has non-W3C-compliant attributes. in such cases, you cannot get the property - i.e. you cannot use g_object_get() - because the attribute's not named in the IDL file. such attributes end up in the NamedNodeMap, you thus have to use gdom_named_node_map_get_named_item() to get at them. this being c, it's all rather damn long-winded and awkward. set_example_css_property() shows how to set a border CSS property (yippee!) - it's the only one of the functions that actually makes any modifications to the page. i've corrected the examples, adding in g_free() which i had left out up until now (whoops!) l. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Need help in understanding web kit
On Dec 10, 2008, at 11:35 AM, ying lcs wrote: On Wed, Dec 10, 2008 at 1:50 AM, Ariya Hidayat [EMAIL PROTECTED] wrote: Thank you. I have another question: Does Webkit has page zoom in / out feature? The andriod 's Web kit has such feature. Can you please tell me where in the code which implement that functionality? You can start by following the code in WebCore::Frame::setZoomFactor() function. It is in WebCore/page/Frame.cpp. Thank you. Does that mean I can zoom in and out in original Webkit (not the one shipped with Android)? Depending on what zoom you're after: yes; http://webkit.org/blog/165/full-page-zoom/ details enabling it on Mac --Oliver ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Need help in understanding web kit
Refer below API in this file: WebKit/gtk/webkit/webkitwebview.cpp, .h void webkit_web_view_set_zoom_level(WebKitWebView* webView, gfloat zoomLevel) void webkit_web_view_zoom_in(WebKitWebView* webView) void webkit_web_view_zoom_out(WebKitWebView* webView) gboolean webkit_web_view_get_full_content_zoom(WebKitWebView* webView) void webkit_web_view_set_full_content_zoom(WebKitWebView* webView, gboolean zoomFullContent) 2008/12/11 ying lcs [EMAIL PROTECTED] On Wed, Dec 10, 2008 at 1:50 AM, Ariya Hidayat [EMAIL PROTECTED] wrote: Thank you. I have another question: Does Webkit has page zoom in / out feature? The andriod 's Web kit has such feature. Can you please tell me where in the code which implement that functionality? You can start by following the code in WebCore::Frame::setZoomFactor() function. It is in WebCore/page/Frame.cpp. Thank you. Does that mean I can zoom in and out in original Webkit (not the one shipped with Android)? I am running the GTK WebKit, is it possible to enable that zoom in/out feature? Thank you. -- Ariya Hidayat, Software Engineer Qt Software, Nokia Devices RD ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] how to solve the questions that run the webkit in the vs2005?
hi, when I run the webkit according to the steps of http://webkit.org,the errors is as follows:Coundn't determine installed safari path setting environment for using microsoft visiual studio 2005 x86 tools. how to solve it? T hank you. ___ 好玩贺卡等你发,邮箱贺卡全新上线! http://card.mail.cn.yahoo.com/ ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] winLauncher
Ditto for me. I also have problems with crashes in CF, which cannot be debugged and so I can't diagnose them. On Dec 10, 2008, at 6:37 AM, Aman wrote: I got WebKit to build properly on windows, and i got the winLauncher too. But now the problem is : i type any URL and then "enter" key the winLauncher doesn't do anything. anybody knows that situation?? I have been seeing this as well, but assumed I had broken something locally. Using my Cairo/Curl version I get normal browsing support, so I'm guessing it has something to do with CFNetwork. -Brent ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] winLauncher
Thank you for your feedback, and i'll check the part you guessed . and if you have some good news please tell me. Thank you very much Brent Best Wishes Aman zhai From: Brent Fulgham Sent: Thursday, December 11, 2008 1:08 PM To: Aman Cc: webkit-dev@lists.webkit.org Subject: Re: [webkit-dev] winLauncher On Dec 10, 2008, at 6:37 AM, Aman wrote: I got WebKit to build properly on windows, and i got the winLauncher too. But now the problem is : i type any URL and then enter key the winLauncher doesn't do anything. anybody knows that situation?? I have been seeing this as well, but assumed I had broken something locally. Using my Cairo/Curl version I get normal browsing support, so I'm guessing it has something to do with CFNetwork. -Brent___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev