[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 d

[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 , and tags and just prints the requested URL, mimeType, etc. passed to it. Here is what I have done so far: - some methods in

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

2008-07-21 Thread Artem Ananiev
3, so both performance and rendering are fine. For Java platform, it is enough to have a method like '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

[webkit-dev] Translucent (i)frames support

2008-07-17 Thread Artem Ananiev
Hi, webkit developers, I have recently faced a problem with support for translucent (i)frames in our (java) port, and tried to find how other ports (gtk, win, mac) deal with the same issue. The test is short (launch the test and try to scroll inner frames): http://java.sun.com/javase/6/

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

2008-04-16 Thread Artem Ananiev
downloading the icon anytime after the 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] 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] 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

Re: [webkit-dev] _blank hrefs and new windows

2008-04-11 Thread Artem Ananiev
I have just tried GtkLauncher and it doesn't handle _blank target also. Thus, it looks like a problem in a shared WebKit code, not specific to out Java port... Thanks, Artem Artem Ananiev wrote: Hi, I have experienced the following problem with WebKit (Java port). The page code is s

[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: Open window Open window When I right-click on the first link and select 'Open in a new window' from context menu, a new window is created and shown - that's fine. However, left-click on the fi

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 '

Re: [webkit-dev] FrameLoaderClient notifications

2008-03-13 Thread Artem Ananiev
te: Artem, 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:

[webkit-dev] FrameLoaderClient notifications

2008-03-13 Thread Artem Ananiev
Hi, 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 load started' and 'page load finished' events? I tried the following methods: postProgressStartedN

Re: [webkit-dev] Frame and FrameView references

2008-03-03 Thread Artem Ananiev
Hi, Darin, thank you for the provided information. It seems there is some problem with my code in Java platform as I clearly see that the Frame instance is deleted before its FrameView. Thanks, Artem Darin Adler wrote: > On Feb 29, 2008, at 4:25 AM, Artem Ananiev wrote: > >>

[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 N

[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. Scroll

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 relat

Re: [webkit-dev] Focus traversal question

2007-11-01 Thread Artem Ananiev
Artem Ananiev wrote: To embed an instance of WebKit component into the application, it should be a good 'citizen' of focus traversal chain. For instance, when focus is in the component previous to WebKit and user presses TAB key, focus should be moved to the first focusable component on

[webkit-dev] Focus traversal question

2007-11-01 Thread Artem Ananiev
To embed an instance of WebKit component into the application, it should be a good 'citizen' of focus traversal chain. For instance, when focus is in the component previous to WebKit and user presses TAB key, focus should be moved to the first focusable component on the WebKit page; while focus

[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 updateThumbProport

[webkit-dev] Some problems with text color

2007-10-24 Thread Artem Ananiev
Hi, I have recently noticed the following problem with GraphicsContext class. Sometimes it renders text with a wrong color. Usually this happens when painting a rectangle which contains two text blocks of different color: the second is usually painted with the same color as the first. I tried

[webkit-dev] Resize/layout code

2007-10-18 Thread Artem Ananiev
Hi, I'm trying to understand WebKit code which is responsible for layouting the contents of Frame/FrameView. I see several methods including, but not limited to: FrameView::layout() FrameView::scheduleRelayout() Frame::forceLayout() Document::updateLayout() FrameView::setNee

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 webkit-dev@lists.web

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 Arte

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 conve

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] DeprecatedChar and UChar32

2007-08-16 Thread Artem Ananiev
Hi, all, DeprecatedChar::lower() method contain the following statement: return c <= 0x7F ? tolower(c) : u_tolower(c); 'c' is a private field of DeprecatedChar of type unsigned short, return type of the method is DeprecatedChar. The problem here is that u_tolower(c) return type is UChar3

[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 of

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 PROT

[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) ${QMAKE_

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 definitio

Re: [webkit-dev] build webkit errors on windows

2007-08-07 Thread Artem Ananiev
It looks like the build-webkit script starts Qt build (which, I believe, is not currently supported on Windows platform). This may happen for two reasons: either you have '--qt' passed to build-webkit script or you have QTDIR env variable defined. Artem [EMAIL PROTECTED] wrote: Hi All, I was

[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: 1>Performing Pre-Build Event... 1>cl : Command line wa

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

2007-07-27 Thread Artem Ananiev
Hi, all, I'm trying to build WebKit in Release mode and get the following message from linker when building WebCore subproject: 1>Performing Pre-Build Event... 1>cl : Command line warning D9040 : ignoring option '/analyze'; Code Analysis warnings are not available in this edition of th

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 W

[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 JavaScript