[webkit-dev] Question about ForwardingHeaders

2009-07-27 Thread Artem Ananiev
Hi, could anyone explain me, please, what's the purpose of JSC/ForwardingHeaders? Here is the sequence of includes which looks redundant for me: WebCore/bindings/js/ScriptValue.cpp includes JavaScriptCore/JSValueRef.h that's fine, we don't want to reference any headers from JavaScriptCore

[webkit-dev] Implementing a 'dummy' plugin for WebKit

2008-07-29 Thread Artem Ananiev
Hi, WebKit developers, I'm trying to understand how plugins are supported in WebKit. At first, I'd like to implement a dummy plugin which can be used to handle any object, embed and applet tags and just prints the requested URL, mimeType, etc. passed to it. Here is what I have done so far:

Re: [webkit-dev] Translucent (i)frames support

2008-07-21 Thread Artem Ananiev
'Frame::paint(gc, rect)' which doesn't paint the frame itself, but only its children. Still, other ports (gtk, qt, etc._ may not benefit from it... It would be fine to hear their ideas too. Thanks, Artem dave On Jul 17, 2008, at 9:36 AM, Artem Ananiev wrote: Hi, webkit developers, I have

Re: [webkit-dev] IconDatabase and dispatchDidReceiveIcon()

2008-04-16 Thread Artem Ananiev
downloading the icon anytime after the head element is finished parsing. I will process the URL in dispatchDidLoadMainResource then - at this moment is should be definitely available :) Thanks, Artem On Apr 15, 2008, at 4:54 AM, Artem Ananiev wrote: Hi, I'm implementing Frame's icon

[webkit-dev] Document's content type

2008-04-15 Thread Artem Ananiev
Hi, is there any way to find the content type of the Document? I see two methods - doctype() and realDocType() - in WebCore::Document, however they always return NULL (at least for HTML documents)... Thanks, Artem ___ webkit-dev mailing list

[webkit-dev] IconDatabase and dispatchDidReceiveIcon()

2008-04-15 Thread Artem Ananiev
Hi, I'm implementing Frame's icon support in Java port of WebKit. Actually, icons support only include two things: ability to get icon's URL and notification about this URL is ready for the page. The former is easy: I just call iconURL() for the given FrameLoader. However, the latter is not

[webkit-dev] _blank hrefs and new windows

2008-04-07 Thread Artem Ananiev
Hi, I have experienced the following problem with WebKit (Java port). The page code is simple: a href=a.html target=_blankOpen window/a a href=javascript:window.open('a.html', '_blank')Open window/a When I right-click on the first link and select 'Open in a new window' from context

Re: [webkit-dev] FrameLoaderClient notifications

2008-03-13 Thread Artem Ananiev
, For our port, we construct the FrameLoaderClient with a pointer to the Frame object. So in all the progress notification callbacks we can say m_frame-loader()-url() or whatever to get the current url of the frame. Patrick On Mar 13, 2008, at 7:11 AM, Artem Ananiev wrote: Hi, I work

Re: [webkit-dev] FrameLoaderClient notifications

2008-03-13 Thread Artem Ananiev
Please, see my comments below. Darin Adler wrote: On Mar 13, 2008, at 4:11 AM, Artem Ananiev wrote: I work on dispatching web load/progress events for Java port and have some questions about notifications in FrameLoaderClient class. 1. What is the right method to implement to get a 'page

[webkit-dev] Frame and FrameView references

2008-02-29 Thread Artem Ananiev
Hi, all, I have noticed the following strange code in Frame class: Frame::~Frame() { setView(0); ... if (d-m_view) { d-m_view-hide(); d-m_view-clearFrame(); } ... } It is clear that the latter statements are never executed as d-m_view is always NULL

[webkit-dev] Avoid extra page layout on resize

2008-01-18 Thread Artem Ananiev
Hi, I have a question about the way webkit layouts page contents, and what is the right way to implement ScrollView class. In my current implementation (Java platform) I see the following: 1. Suppose user resizes the window, so the top-most frame/scroll view has the size 800x600. 2.

Re: [webkit-dev] Re: Focus traversal question

2007-11-08 Thread Artem Ananiev
Hi, Alp, sorry for a slight delay with the answer. I'm not working with GTK port, but rather investigating the possibility of new Java port, on windows, linux and solaris platforms. Artem Alp Toker wrote: Artem Ananiev wrote: After some search I found two methods in ChromeClient related

[webkit-dev] Scrollbar proportions

2007-10-26 Thread Artem Ananiev
Hi, I have a page with scrollable text area. By default, its vertical scrollbar is off, and WebKit turns it on only when I insert more lines than the area can show. The number of lines in the area is 4. When I insert 5th line, WebKit creates a vertical scrollbar and call its

Re: [webkit-dev] How to debug QT window version(compiled using MinGW)?

2007-10-11 Thread Artem Ananiev
You should use gdb (or any other gdb-related debugger like ddd). It can be found in Cygwin, for example, and probably in other mingw distributions. Artem Jerry K wrote: Does anyone know? Thanks Jerry ___ webkit-dev mailing list

Re: [webkit-dev] Re: Re: A newBie question about compilation (Artem Ananiev)

2007-10-02 Thread Artem Ananiev
Right, you can run your own build of WebKit (WebKit.dll) using Safari. The script 'run-safari', as I remember, searches for Safari at the default location only (c:\program files\safari\safari.exe), so you need to install Safari there or modify the script. Artem Eva Madrazo wrote: Thanks

Re: [webkit-dev] A newBie question about compilation

2007-09-27 Thread Artem Ananiev
Hi, Eva, qmake knows nothing about cygwin path notation ('/cygdrive/d/...') so it cannot find the file. This problem may be easily workarounded by passing all the paths to qmake in the form of 'd:\...' (requires some modification to webkitdirs.pm script). You may use `cygpath` utility to

Re: [webkit-dev] Qt/Win32 build environment

2007-08-17 Thread Artem Ananiev
: http://trac.webkit.org/projects/webkit/wiki/BuildingQtOnWindows Hope this helps, Lars On Wednesday 15 August 2007, Artem Ananiev wrote: Hi, all, looking at the recent WebKit changes, I noticed some activity about Qt/Win32 platform implementation. Some time ago I tried to build it myself using

[webkit-dev] Some .strip files are not generated anymore

2007-08-15 Thread Artem Ananiev
Hi, all, in some of the recent WebKit changes in WebCore.pro I see the following diffs: -cssprops.commands = cp ${QMAKE_FILE_NAME} tmp cd tmp sh $$PWD/css/makeprop rm ${QMAKE_FILE_BASE}.strip ${QMAKE_FILE_BASE}.in ${QMAKE_FILE_BASE}.gperf +cssprops.commands = $(COPY_FILE)

Re: [webkit-dev] Some .strip files are not generated anymore

2007-08-15 Thread Artem Ananiev
Done. The bug ID is 14973: http://bugs.webkit.org/show_bug.cgi?id=14973 Thanks, Artem David D. Kilzer wrote: Hi Artem, Please file a bug on http://bugs.webkit.org/. I'm not sure if this is an issue or not, but it won't hurt to track it there. Dave Artem Ananiev [EMAIL PROTECTED] wrote

[webkit-dev] Qt/Win32 build environment

2007-08-15 Thread Artem Ananiev
Hi, all, looking at the recent WebKit changes, I noticed some activity about Qt/Win32 platform implementation. Some time ago I tried to build it myself using cygwin environment, but with no success, mostly because of cygwin paths and missing the corresponding QMAKESPECS in the free version

Re: [webkit-dev] type of JSChar

2007-08-09 Thread Artem Ananiev
Darin Adler wrote: On Jul 27, 2007, at 4:03 AM, Alexey Proskuryakov wrote: On 7/27/07 1:51 PM, Simon Hausmann [EMAIL PROTECTED] wrote: Does anybody know/remember why JSChar is defined to wchar_t on Windows and if it is still needed? I think this was/is needed to match ICU's definition

[webkit-dev] Different ways to build WebKit on Windows

2007-07-31 Thread Artem Ananiev
Hi, all, currently WebKit is built on Windows platform using Visual Studio solution file: $(WebKitDir)/WebKit/win/WebKit.vcproj/WebKit.sln However, sometimes it's not easy to deal with .sln or .vcproj files, so the question is: is it possible to to build WebKit on Windows platform using,

Re: [webkit-dev] Building Win32/Release WebKit: linker error LNK1106

2007-07-27 Thread Artem Ananiev
Just an addition: Win32/Debug build has been finished successfully. Artem Ananiev wrote: Hi, all, I'm trying to build WebKit in Release mode and get the following message from linker when building WebCore subproject: 1Performing Pre-Build Event... 1cl : Command line warning D9040

[webkit-dev] Building on Windows: WebKitSupportLibrary.zip is incomplete

2007-07-26 Thread Artem Ananiev
Hi, all, I'm trying to build WebKit on Windows platform and getting some compilation errors like missing header files: pthread.h, unicode/uchar.h and others - for example, when building JavaScriptCore sub-project. When I manually open WebKit solution in VC++ 2005 Express and check

Re: [webkit-dev] Building on Windows: WebKitSupportLibrary.zip is incomplete

2007-07-26 Thread Artem Ananiev
26, 2007, at 12:15 AM, Artem Ananiev wrote: Hi, all, I'm trying to build WebKit on Windows platform and getting some compilation errors like missing header files: pthread.h, unicode/uchar.h and others - for example, when building JavaScriptCore sub-project. When I manually open WebKit