Re: [webkit-dev] Using GitHub to Contribute to WebKit (Experimental)

2012-03-16 Thread Ariya Hidayat
 GitHub's API has hooks/events for comments on issues  PRs to where it would
 be possible to integrate WebKit's GitHub mirror with Bugzilla so that all
 comments on PRs could post back to the related Bugzilla bug.  Some
 convention would be necessary in the PR title or description to figure out
 which bug # it relates to, and a little work would be necessary to write out
 the comment into Bugzilla with some code for context (by taking the diff
 that's sitting on GitHub).

Found the API: http://developer.github.com/v3/pulls/comments/ (in case
someone interested in building the cross-ref/integration with
Bugzilla).




-- 
Ariya Hidayat, http://ariya.ofilabs.com
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Reg. Direct DOM access without getElementById fails....

2011-12-07 Thread Ariya Hidayat
 I have facing an issue with Direct DOM  access via document object.

Because it is not part of the DOM standard.

This is elementary web stuff, it would be helpful if you would have
done some basic research first as this mailing list is not to teach
people about browser scripting and incompatibilities.



-- 
Ariya Hidayat, http://ariya.ofilabs.com
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] need help with adding javascript commands to browser.

2011-10-06 Thread Ariya Hidayat
I'm not sure Digiplayer is some sort of web standards we want to
implement in WebKit project.

See http://www.webkit.org/contact.html, this kind of question should
have been sent to webkit-help first.


-- 
Ariya Hidayat, http://ariya.ofilabs.com
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Making Webkit - PluginViewGtk.cpp error

2011-06-21 Thread Ariya Hidayat
You post too many build errors lately. Care to tell us what exactly
did you run? How did you invoke the 'build-webkit' script?



-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] What should be the proper States on reaching Beginning of Stream during HTML5 playback?

2010-11-23 Thread Ariya Hidayat
    I have a query on HTML5 video playback. At the time of playing the video
 with HTML5 support, we may reach  BOS for the following situations:
 a. Starting fresh playback.
 b. Rewinding the video by setting -ve rate.

 Can anyone let me know what should be the proper readyState and networkState
 in those situations?

Specifically, what kind of WebKit problem are you trying to solve here?


-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Place For new Core Module

2010-08-24 Thread Ariya Hidayat
 The current module I have implemented works closely with
 RenderingEngine/GraphicsContext and HTML5 video player, which
 tries to deliver some special interactive Apps (In Cable World) as an
 overlay over HTML5 Video,
 the apps themselves are delivered as one of the private streams in the
 Video, so some work has gone inside implementation
 of video player itself.

I guess you also need to supply the justification: what would WebKit
gain from such modules? Are the modules part of HTML5 and other web
standards?


Regards,


-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Place For new Core Module

2010-08-24 Thread Ariya Hidayat
 I am driving this as as future proof solution.
 Currently I'll be performing these changes only in my own branch.

Is your branch available somewhere? Are your patched made public already?


-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Canvas performance and memory usage

2010-08-11 Thread Ariya Hidayat
 http://themaninblue.com/experiment/AnimationBenchmark/canvas/

 Jumped from 37fps to 85fps.

Do you post the patch somewhere? Would be lovely to try this on QtWebKit...



-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] How to integrate the SFX JIT for SH4 in the webkit svn tree.

2010-07-17 Thread Ariya Hidayat
 We in STMicroelectronics have ported the SFX javascript engine to SH4
 processor.
 Currently is it integrated/tested  using the WebkitGtk 1.1.90 development
 release.
 We would like to integrate our port in the main webkit svn tree.
 can anybody give me the steps to follow for that.

http://webkit.org/coding/contributing.html




-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Debugging Webkit?

2010-07-13 Thread Ariya Hidayat
See http://www.mail-archive.com/webkit-h...@lists.webkit.org/msg00659.html


-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Bytecode Sequence for function.apply()

2010-05-25 Thread Ariya Hidayat
 How would I go about building jsc in debug mode? Is it possible to build a
 standalone jsc shell?

See https://lists.webkit.org/pipermail/webkit-qt/2010-January/89.html
for details.




-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Developing Desktop applications

2010-03-19 Thread Ariya Hidayat
 Can we develop the desktop application using QTWebkit.

Please read http://webkit.org/contact.html first.

This is the wrong place to ask that question. This webkit-dev list is
for WebKit contributors to discuss the development of WebKit itself.

You can use webkit-help instead:
http://lists.webkit.org/mailman/listinfo/webkit-help and make sure you
read bit.ly/webkit-gethelp carefully first.


-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] HowTO: Finding URL on click event ?

2010-02-26 Thread Ariya Hidayat
 If my webpage have many links/URLs and if I clicked on a URL then browser
 loads that URL. Click event only gives (x,y) co-ordinates of clicked area. I
 want to explore that from (x, y) points how webkit find out the particular URL
 when we click on it.

This question is for webkit-help list, not for webkit-dev list.

In fact, you have already asked the question in webkit-help list, so
no need to double-post it in a wrong place.


-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Qt compilation problem

2010-02-26 Thread Ariya Hidayat
  The reason I used this mailing list is because this is a clear regression
 not just a build problem on my side. If proven otherwise, I am sorry.

Qt-specific stuff can be asked in the webkit-qt lists as well.

Regards,


-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] qt-ews down for a while

2010-02-26 Thread Ariya Hidayat
 It looks like the Qt build now requires Qt 4.6.  Currently, the qt-ews
 is using Ubuntu Karmic (which has Qt 4.5).  I'll upgrade the machine
 to Lucid, but, in the meantime, the qt-ews will be down.

http://trac.webkit.org/changeset/54854 should allow Qt 4.5 again.


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


Re: [webkit-dev] Increasing the number of cross-platform/port expected results

2010-02-23 Thread Ariya Hidayat
 When the test is run, the browser loads both files, takes snapshots, and does 
 a pixel comparison.
 Thus font differences between platforms become less of an issue.

Isn't it our existing pixel test infrastructure? Or do you mean something else?


-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] About debug of webkit

2010-01-13 Thread Ariya Hidayat
 I just want to confirm that I got exactly the same problem and have no clue
 how to resolve it. The Chinese below basically says “Failed to initialize
 application (0xc0150002). Click ok to terminate.”

Do you guys have enough RAM? Say 4 GB or more?
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Lots of “BREW” patches up for r eview

2010-01-13 Thread Ariya Hidayat
 This is not a one-time code drop. We want to maintain the BREW port
 ongoing and will do everything that are required to keep the BREW port
 up and running. Porting DumpRenderTree is still under work, but we
 have a complete BREW port which works fine both in BREW device and
 simulator.

Kwang, can you add the all information about the port to
http://trac.webkit.org/wiki#WebKitPorts? I guess, make a new wiki page
for that and add it to that list.


-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] question about javascript bindings

2009-07-31 Thread Ariya Hidayat

 I'm a beginner to WebKit domain(linux qt platform). I'm try to understand
 how to port another JavaScript Engine to webKit as chrome did.

Read http://webkit.org/contact.html, your question is in the wrong list.


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


Re: [webkit-dev] Patch process - let's make it better

2009-07-13 Thread Ariya Hidayat

 I think your webkit-dev emails are becoming disruptive. Sending
 profanity-laced walls of text is not an appropriate use of this list.
 Please find a way to communicate without annoying the rest of the
 list, or I will ask the list administrators to censor you from the
 mailing list for the period of at least a week.

I concur with Maciej.

Luke, in some other culture your posts are already considered derogatory and 
insulting.



-- 
Ariya Hidayat, Nokia
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Query regarding Rendering

2009-07-13 Thread Ariya Hidayat

   I need to get Rect region where a node is rendered.

Please post such questions to webkit-help, see 
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Rationale: read
https://lists.webkit.org/pipermail/webkit-dev/2009-July/008681.html
https://lists.webkit.org/pipermail/webkit-dev/2009-July/008860.html

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


Re: [webkit-dev] Browser application, how to serialize

2009-06-30 Thread Ariya Hidayat

 The problem is after the setZoomFactor() has finished zooming the frame, we
 get to see the label widget. The qDebug() statements however get displayed
 on console in s sequence they are written in code.

 I want to display the label before starting to zoom and hide the label
 after the frame has been zoomed. Can you please help me in knowing how can
 I serialize these functionalities?

Widgets handling in Qt is asynchronous, it will not get the show event until 
the event loop/dispatcher has the chance to deliver that event (which it did 
not while zooming is still being carried out). You might want to have a look 
at http://doc.trolltech.com/4.5/qcoreapplication.html#processEvents for 
details.

A friendly warning: this is more a Qt question, less related to WebKit. Please 
ask such questions on qt-interest list, or post it to StackOverflow, or 
contact Qt support if you are a paid customer, or just call your nearest Qt 
consultant.


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


Re: [webkit-dev] WebKit graphics library abstract layer

2009-06-29 Thread Ariya Hidayat

 Does Webkit code has an abstract layer, which hides the platform
 dependent graphics API.  And the render engine just calls this
 abstract layer graphics api and this abstract layer api
 will handle, or link in platform dependent implementation of those
 draw text, draw rect calls?

Yes. If you just bother to grep for the keywords you already wrote above 
(draw*rect), you will end up in: WebCore/platform/graphics, in particular 
GraphicsContext class.



-- 
Ariya Hidayat, Qt Software, Nokia
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] How to add Maxthon's port.

2009-06-29 Thread Ariya Hidayat

 We're using webkit in Maxthon3.0 and want to submit our changes.
 How to add maxthon's port?

http://webkit.org/coding/contributing.html
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Using WebKit renderer to produce PDF output

2009-06-18 Thread Ariya Hidayat

 I need to produce a tool that can generate PDFs from HTML. The best
 solution I can think of is to use WebKit's layout engine, and plug my
 own PDF generator in as a renderer backend. I don't want to reinvent
 the wheel though - so I'm asking here has this been done already, or
 are there other obvious solution out there that I'm missing?
 Any thoughts or suggestions appreciated.

With QtWebKit, that is easy. Check this project for an example:
http://code.google.com/p/wkhtmltopdf/



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


Re: [webkit-dev] How to cross compile Webkit_Qt into MIPS target board?

2009-06-10 Thread Ariya Hidayat

 I am finding out the way to cross compile Qt into MIPS. Someone can help me
 or give me some ideas?

How is this related to WebKit at all? This is WebKit development list, not Qt.

If you have problems with Qt, you should contact Qt Software support, try 
qt-interest list, or pay a consultant to solve it for 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


Re: [webkit-dev] How webkit finds plug-ins

2009-05-15 Thread Ariya Hidayat

 I want to test my npapi plugin. On Mac OS system, the plug-ins can be
 stored in |/Library/Internet or ||~/Library/Internet, but I don't know
 where should I put my plug-ins on linux OS system.| Dose anyone know how
 webkit finds plug-ins in linux OS?

Check the PluginDatabase::defaultPluginDirectories() function and other 
functions in that file.


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


Re: [webkit-dev] Dump render tree of webkit

2009-05-14 Thread Ariya Hidayat

 layer at (0,0) size 800x600
   RenderView at (0,0) size 800x600
 layer at (0,0) size 800x600
   RenderBlock {HTML} at (0,0) size 800x600
 RenderBody {BODY} at (8,8) size 784x584

This the render tree. Or did you mean something else?

 Moreover , is there any tool/function to dump the DOM of a page to
 file/screen?

I guess you could something similar (inspecting the DOM etc) from the Web 
Inspector.


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


Re: [webkit-dev] Dump render tree of webkit

2009-05-14 Thread Ariya Hidayat

 Thanks. But I was trying it with http://www.cnn.com, it has more than
 just a BODY tag, so I am not sure why it does not show the rest, which
 is what I care about.

I don't know about your setup, but using QtWebKit's DRT on CNN, I got the 
full-blown render tree.



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


Re: [webkit-dev] WebKit resource caching

2009-05-14 Thread Ariya Hidayat

 I just wanted to know what impact does this value has on the WebKit
 resource caching behavior. What would happen if I reduce this value to a
 much smaller value? This value of 8 MB is quite big especially if WebKit is
 running on an embedded platform with limited resources.

It is the default cache capacity. It does not matter much if there is an API 
function that allows you to set/override the cache capacity to 0 or whatever 
you need.

For example, for the Qt port we have QWebSettings::setObjectCacheCapacities() 
which can be used to fine tune the cache. See:
http://doc.trolltech.com/4.5/qwebsettings.html#setObjectCacheCapacities


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


Re: [webkit-dev] Webkit capture web page content API

2009-05-13 Thread Ariya Hidayat

 There’s nothing WebKit-specific involved. This is done with standard
 Cocoa NSView APIs such as -[NSView
 displayRectIgnoringOpacity:inContext:] and -[NSView
 cacheDisplayInRect:toBitmapImageRep:].

And for doing with Qt port, we use something like explained in:

http://labs.trolltech.com/blogs/2008/11/03/thumbnail-preview-of-web-page/
http://labs.trolltech.com/blogs/2009/01/15/capturing-web-pages/



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


Re: [webkit-dev] make webkit-1.1.3...

2009-04-17 Thread Ariya Hidayat

 how many time are u make the webkit-1.1.3 ??
 I always need 3.5 hour for making that !! the almost time is at the
 processing of the JIT.cpp !!
 I don't know why I need take 3.5 hour just for on file !! the other
 files just take some minutes !!

JIT.cpp works fine for me, it is very fast to compile.
You need to be specific and mention the operating system, platform, compiler, 
compiler version, etc.




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


Re: [webkit-dev] Need help with content editable mode modification.

2009-04-16 Thread Ariya Hidayat

 I want to modify the behavior of webkit when it is in the content editable
 mode in Qt. I want to add methods to it that I can call from the Qt
 framework. I can't seem to find any documentation that is helping with
 this, Please tell me where should I start. There is little to no
 documentation regarding the editable project on the webkit project.

First you need to specify more detailed what you want to change there. Also, 
please let us know whether the change you want involves modifications in the 
API or just about new functionalities.



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


Re: [webkit-dev] Building QtWebkit on Mac OSX 10.5.6 with Qt 4.5

2009-04-05 Thread Ariya Hidayat

 WARNING: Ignored (not found) '/Users/husam/WebKit/WebKit/qt/tests/
 qwebframe/tst_qwebframe.xcodeproj'
 WARNING: Ignored (not found) '/Users/husam/WebKit/WebKit/qt/tests/
 qwebpage/tst_qwebpage.xcodeproj'

Any other messages after that? These are only warning, not errors.




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


Re: [webkit-dev] opcode for Webkit JavaScript Engine opcode

2009-03-27 Thread Ariya Hidayat

 Can you please tell where i can find definition of JavaScript opcode?
 I mean, Webkit will parse the source js file into some internal
 JavaScript opcode for it s JavaScript VM to execute.
 Can you please tell me where I can find that?

Could not be more obvious:

JavaScriptCore/bytecode/
JavaScriptCore/bytecompiler/




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


Re: [webkit-dev] Use SquirrelFishExtreme Alone, Many Questions

2009-03-18 Thread Ariya Hidayat

 I'm working on v3 of my 3D engine dim3, it's a complete rewrite in a
 number of areas (for instance going to GLSL, new physics, etc).  The
 last thing I'm looking at is the javascript engine that runs the
 scripting.  Right now I'm using SpiderMonkey 1.7, and I'm investigating
 moving away from that for a couple reasons.  So, I googled, looked at
 the wiki, and can't seem to find the answers for these, though they seem
 like obvious things so I might have just missed it.

You can build JSC stand-alone (and thus get the SFX) without the rest of 
WebCore.

As example, if you build the Qt port (QtWebKit), see 
http://trac.webkit.org/wiki/BuildingQtOnLinux on how to do that, you will get 
the JS interpreter at WebKitBuild/Release/JavaScriptCore/jsc.



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


Re: [webkit-dev] How did Android developer develop WebKit for android

2009-03-12 Thread Ariya Hidayat

 If anyone has any idea, I appreciate your pointers.

I have an idea: ask in Android mailing list :-)

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


Re: [webkit-dev] Data transfer from the network backend

2009-03-12 Thread Ariya Hidayat

 Where is the data fetched by the network backend being used to first
 instantiate the data structures that are need for rendering?

 Can you tell me with respect to Qt or GTK+curl?

For the Qt port, grep for QNetworkRequest and QNetworkReply, and then follow 
from there.

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


Re: [webkit-dev] JSON native parser

2009-03-10 Thread Ariya Hidayat

 Those efforts have mostly stalled.  If you're interested in helping
 out, that would be much appreciated.  :)

Adam, I am willing to help. Where and how do I start?



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


Re: [webkit-dev] about javascript keyword

2009-03-02 Thread Ariya Hidayat

 HI all
   If I define a js function, as followed:
 function fun()
 {
   alert(document.all.text1.value);
 }
 When the webkit parse the js function, and store the keyword in the
 hashtable,
 Now I want to know the other indetifier is stored the hashtable. And how
 many hashtable will be built by webkit.

 I also want to know how to read the indetifier( e.g. document ) when webkit
 runs the javascript functions.

Launch your debugger and start from everything in JavaScriptCore/parser/. For 
example, JSC::Lexer is a good starting point.



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


Re: [webkit-dev] Plug in support on DirectFB Webkit

2009-03-02 Thread Ariya Hidayat

 I am running Webkit on DirectFB.
 AFAIK, plug in support is not there on DirectFB/Webkit.
 I found in WebCore/plugin calls are all Xt/X11 based.
 Can any one suggest me , how can I modify these call for DirectFB ?

DirectFB is a complete different beast, compared to X11. AFAICS you have to 
implement the whole plugin infrastructure for that.
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] How webkit deallocate memory?

2009-01-08 Thread Ariya Hidayat

 Why did it happen?
 Is there a way to deallocate memory from a webkit object (for example, when
 close a tab which contains a page loaded)?
 Or, Does webkit only deallocate memory when the browser process is killed?

(This does not answer your questions directly)

For QtWebKit, you may want to have a look at QWebSetings, e.g. 
setMaximumPagesInCache(). In general, also have a look at PageCache classs 
(WebCore/history/PageCache.cpp).



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


Re: [webkit-dev] the absolute coordinates in the webkit

2009-01-08 Thread Ariya Hidayat

 Now I want to obtain  the absolute coordinates of  img in the webkit,

 Through code how to achieve

Hint: have a look at RenderImage::paintReplaced() function. If you get the 
render object for that img, which is a RenderImage instance, then you are 
set.

Regards,

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


Re: [webkit-dev] SquirrelFish in WebKitGtk

2009-01-07 Thread Ariya Hidayat

 Is there a way to find out what JavaScript engine WebKit is using?
 I have WebKit-r38068 and i'm using the GTK port.
 How can i know if my WebKit is using SquirrelFish or the old JS Engine?

WebKit has switched to SquirrelFish-based JSC since quite some time. r38068 is 
from around November, so it should use SquirrelFish already.

Note that SquirrelFish Extreme is of course a different matter.


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


Re: [webkit-dev] SquirrelFish in WebKitGtk

2009-01-07 Thread Ariya Hidayat

 Ok. If SquirrelFish is using bytecode, as people say, JavaScript code from
 web pages doesn't have to be compiled somehow? How do we do that?
 What about the JavaScript objects that are created using the JavaScriptAPI?
 How does SquirrelFish handle these objects?

Why don't you start with http://webkit.org/blog/189/announcing-squirrelfish/ 
and continue from there?


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


Re: [webkit-dev] bug when launching

2009-01-06 Thread Ariya Hidayat

 there is the error message :
 gcjwebplugin error: Failed to run / usr / lib / mozilla / plugins / .. /
 .. / bin / pluginappletviewer. For more detail rerun firefox-g in a
 terminal window.

 can someone help me please, I have not understood what is this problem,
 thank you in advance for any help,

Problem with gcjwebplugin (http://www.nongnu.org/gcjwebplugin/) ? Did you try 
the website with Firefox, per its suggestion?



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


Re: [webkit-dev] bug when launching

2009-01-06 Thread Ariya Hidayat

 Hello Ariya! thank you for the quick answer.
 http://www.nabble.com/file/p21310419/lt-GtkLauncher-rapport-anomalie.txt
 lt-GtkLauncher-rapport-anomalie.txt
 I wasn't precise enough in my previous message, there is more details:
 I am under fedora coere 9 and i Have the plugin Flash 10, My Firefox 3
 loads perfectly the pages including Flash with any matters.
 I use the version 37132 of webKit (svn -r 37132 checkout
 http://svn.webkit.org/repository/webkit/trunk WebKit)
 and during my first compilation, I comented the following line in the file
 WebKit/WebCore/platform/gtk/ScrollViewGtk.cpp because it provoked an
 error:

 --- WebKit/WebCore/platform/gtk/ScrollViewGtk.cpp2009-01-05
 15:04:24.0 +0100
 +++ WebKit/WebCore/platform/gtk/ScrollViewGtk.cpp-new2009-01-05
 15:04:39.0 +0100
 @@ -180,7 +180,7 @@

  // Now update the window (which should do nothing but a blit of the
 backing store's updateRect and so should
  // be very fast).
 -view-update();
 +//view-update();
  }

AFAICS gcjwebplugin is about Java applet plugin. I guess that is the direction 
you should investigate. Commenting that update() line only surpress, but not 
fix, the problem, and you might have a painting error.

Honestly, until you can find out what is wrong with gcjwebplugin, I reckon we 
can't do anything (w.r.t to WebKit side).



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


Re: [webkit-dev] about frame and page

2008-12-17 Thread Ariya Hidayat

 I am a new programmer,I am learning webkit. I don't understand the
 relationship of frame and page,could you help me?

http://doc.trolltech.com/4.4/qtwebkit.html#architecture
http://trac.webkit.org/wiki/QtWebKitHacking



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


Re: [webkit-dev] How does WebKit draw an underline when an anchor has the mouse focus?

2008-12-12 Thread Ariya Hidayat

 Can you please point me to the code where webkit figures out how many
 lines it needs to draw (1 line for each line of text) and how long of
 each line need to be drawn.

Usually this is something you would figure out by yourself by following the 
source code. For example: create a simple test case, put a breakpoint in 
GraphicsContext::drawLine() function, and then see the backtrace.



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


Re: [webkit-dev] where does the Webkit catch keyboard/mouse events

2008-12-12 Thread Ariya Hidayat

 I am newbie to Webkit, could you explain to me where the Webkit catches
 keyboard/mouse events? More detailed more appreciated.

Follow the code in WebCore/page/EventHandler.cpp and the platform-specific 
implementation of the EventHandler class.


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


Re: [webkit-dev] How does the Webkit respond to javascript method or trigger javascript event

2008-12-12 Thread Ariya Hidayat

 I am newbie to Webkit, could you explain to me how the Webkit responds
 to javascript method or trigger javascript event? More detailed more
 appreciated.

Your best bet is to check out the code in WebCore/bindings/js, for example 
JSEventListener.cpp.




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


Re: [webkit-dev] How does the GTK call Webkit

2008-12-09 Thread Ariya Hidayat
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


Re: [webkit-dev] Need help in understanding web kit

2008-12-09 Thread Ariya Hidayat

 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.



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


Re: [webkit-dev] Unable to compile the webkit on the Redhat enterprise linux 9

2008-10-18 Thread Ariya Hidayat

 I am getting the following error.
 Calling  'qmake CONFIG+=qt-port –r
 OUTPUT_DIR=/home/seamless/Webkit/WebKit.pro CONFIG=+release CONFIG-=debug'
 in /home/seamless/Webkit/WebKitBuilt/Release
 ***Unknown option –r

Something is seriously wrong with your Qt 4 setup. Just try to build a simple 
Qt 4 program and see whether your Qt 4 libraries and tools are properly 
installed.


-- 
Ariya Hidayat, Software Engineer
Nokia, Qt Software
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] building errors on Win32

2008-10-10 Thread Ariya Hidayat

 1Error in tempfile() using /tmp/dftables-.in: Parent directory
 (/tmp/) is not writable

My take: your Perl acts funny. 
Solution: just create the /tmp directory by hand (manually, and make it 
writable).

BTW, out of curiosity, did you try to solve the error by yourself first before 
posting the whole error message to this mailing-list?



-- 
Ariya Hidayat, Software Engineer
Nokia, Qt Software
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] produce a new version of webkit

2008-10-07 Thread Ariya Hidayat

 you can help me for start ? i should remove lines of code related to
 graphics in WebKit / GTK which files I must consult to change?

Just search for all files that matches *Gtk.h and *Gtk.cpp (for example, 
FrameGtk.cpp) and related files in any gtk/ subdirectories.


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


Re: [webkit-dev] APIs and Data structures

2008-09-30 Thread Ariya Hidayat

 1) where is the exact interface layer between QT and WEBKIT?

 2) What are the APIs or Data structures, when we send data to WebCore for
 parsing?

 3) In which file, I can find the APIs and Data structure to send the data
 for parsing and what is the data structure that WebCore is producing after
 parsing?

At the risk of repeating Benjamin [1], do you happen to read 
http://trac.webkit.org/wiki/QtWebKitHacking and then follow the leads from 
there (e.g. looking at the source code) ? Not only your questions are too 
vague, you can probably figure out faster by reading  debugging the code at 
the right place.

[1] https://lists.webkit.org/pipermail/webkit-dev/2008-September/004956.html



-- 
Ariya Hidayat ([EMAIL PROTECTED])
Software Engineer, Qt Software, Nokia
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Minor sdl_gfx flaw that may affect security of some WebKit distributions...

2008-09-30 Thread Ariya Hidayat

 (Please feel free to correct me if there is a better place to report
 things like this)

http://bugs.webkit.org

For details:
http://webkit.org/quality/reporting.html
http://webkit.org/quality/lifecycle.html




-- 
Ariya Hidayat ([EMAIL PROTECTED])
Software Engineer, Qt Software, Nokia
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Win32 App

2008-09-29 Thread Ariya Hidayat

 In Cocoa I have made a command line application that init's a WebView, then
 calls, stringByEvaluatingJavaScriptFromString, however, I'm trying to get
 this to work in Windows. I've compiled WebKit and added a new Win32 command
 line project, however, I'm always getting back null when calling
 stringByEvaluatingJavaScriptFromString. Below is the source, and I've tried
 a variety of different things to eval (1 + 1, var foo = 1, etc.), and
 again, it's always null.

Can't you use the debugger and single-step the function? Perhaps it returns 
immediately due to some error or something like that.



-- 
Ariya Hidayat ([EMAIL PROTECTED])
Software Engineer, Qt Software, Nokia
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] JavascriptCore

2008-09-25 Thread Ariya Hidayat

 i need to determine the JavascriptCore version of my webkit?
 How can i do it?

Should be the same as your WebKit version.

 Also if i wan to edit to the Webcore, could somebody lead me?

The wiki contains some useful information. Also you need to ask more specific 
questions.



-- 
Ariya Hidayat ([EMAIL PROTECTED])
Software Engineer, Trolltech (a Nokia company)
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Building program Webkit

2008-09-25 Thread Ariya Hidayat

 I'm trying to build latest QtWebKit trunk over Linux Ubuntu 8, but I've got
 this error:

 ./../../WebCore/page/FrameView.cpp: In member function 'void
 WebCore::FrameView::layoutIfNeededRecursive()':
 ../../../WebCore/page/FrameView.cpp:1164: error: conversión inválida de
 'const WTF::HashSetWebCore::Widget*, WTF::PtrHashWebCore::Widget*,
 WTF::HashTraitsWebCore::Widget* *' a 'WTF::HashSetWebCore::Widget*,
 WTF::PtrHashWebCore::Widget*, WTF::HashTraitsWebCore::Widget* *'
 make[1]: *** [tmp/FrameView.o] Error 1
 make[1]: se sale del directorio
 `/usr/local/Trolltech/Qt-4.5.0-snapshot-20080923/WebKit/WebKitBuild/Release
/WebCore' make: *** [sub-WebCore-make_default-ordered] Error 2

 Any hints on this error?

Which revision number is that?

Hint: if QtWebKit fails to build, revert back to the most recent revision 
where one of us (Trolltech people) did a commit. You have a higher chance 
that this revision still builds.




-- 
Ariya Hidayat ([EMAIL PROTECTED])
Software Engineer, Trolltech (a Nokia company)
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] porting of webkit to a mobile platform

2008-09-23 Thread Ariya Hidayat

 I am considering the use of Webkit on my mobile platform.
 Being naive user of webkit, i look at the webkit community in
 estimating/guiding me through the porting effort.
 Has anyone ported webkit to any other platform apart from windows,Linux,mac
 and android?

My advice is simple and obvious: try to build WebKit ports that are known to 
run on mobile platforms, e.g. the Gtk and Qt ports. From there, create your 
own port based on that port, i.e. adapt the code and change it as you go.

Just by doing that, I'm pretty sure you would answer questions that you asked 
in your email.


-- 
Ariya Hidayat ([EMAIL PROTECTED])
Software Engineer, Trolltech (a Nokia company)
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] WebKit Browser plugin demo

2008-09-23 Thread Ariya Hidayat

 can anyone tell me if there is any webkit browser plugin demo,the source
 code and how to use it.

Most of the WebKit ports can load and run plugins that use NPAPI 
(cross-platform Netscape Plugin API). Please refer to e.g.:

http://developer.mozilla.org/en/Plugins
http://developer.mozilla.org/en/Gecko_Plugin_API_Reference

for more information.




-- 
Ariya Hidayat ([EMAIL PROTECTED])
Software Engineer, Trolltech (a Nokia company)
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] WebKit Browser plugin demo

2008-09-23 Thread Ariya Hidayat

 The long answer: Follows
 http://code.google.com/p/arora/wiki/BeginnerStepByStepInstructions
 The built Arora then should detect and use your FF plugins automagically.

Sorry, this one is probably even easier and more straightforward:
http://code.google.com/p/arora/wiki/source?tm=4



-- 
Ariya Hidayat ([EMAIL PROTECTED])
Software Engineer, Trolltech (a Nokia company)
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Regarding SquirrelFish Extreme JIT portability...

2008-09-22 Thread Ariya Hidayat

 BTW, are both code paths available and selectable at run-time? (for
 instance, when PAX is enabled, one would want to automatically have the
 non-JIT code path)

No, it's a build-time option (via a compiler define).



-- 
Ariya Hidayat ([EMAIL PROTECTED])
Software Engineer, Trolltech (a Nokia company)
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Qt Windows CE

2008-09-19 Thread Ariya Hidayat

 Also, has anyone actually developed any applications for Windows CE
 using Qt for Windows CE? If so, what has your experience been? I'm
 currently trying to build the source from the following site:

 http://trolltech.com/download?target=ftp://ftp.trolltech.com/qt/source/q
 t-embedded-wince-opensource-src-4.4.1.zip

 I have not been able to successfully build the project.

I think you have a better chance in other places, e.g. qt-interest or 
qt-centre with this kind of questions. After all, we're here in general 
WebKit, not Qt for Windows CE, mailing list.




-- 
Ariya Hidayat ([EMAIL PROTECTED])
Software Engineer, Trolltech (a Nokia company)
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] WebKit memory management?

2008-09-16 Thread Ariya Hidayat

 The primary benefit of being able to override operator new is to be able
 to redirect all allocations for a library to a user-specified heap. With
 global operator new, allocated WebKit memory is mixed in with the rest
 of the application memory and there is no practical way to tell them
 apart or sequester them. This makes it impossible to correctly shut down
 WebKit at runtime, since you don't know where its memory is. A side
 benefit related to this is that this allows for better memory metrics
 gathering.

Ah I see now. So you want to isolate the malloc from WebKit module. 
Furthermore, you want to be able to kill WebKit *only* when something weird 
happens, am I correct?

 The proposal provides for a base class that overrides global operator
 new. So any allocated classes use the same syntax as usual. Most of the
 source code would fall under this.

Yes, that is true.

 For the case of non-class-based memory allocations (e.g. raw char
 array), the proposal provides a newObject and newArray template
 function. So instead of 'new int' you would way 'newObjectint' and
 instead of 'new char[32]' you would say 'newArraychar(32)'. However,
 there is an alternative approach which is to provide a custom operator
 new type, like so:
 struct WTF{};
 void* operator new(size_t size, WTF);

 and so 'new char[32]' becomes 'new(WTF()) char[32]'. This is the
 conventional solution to namespacing operator new, where the C++
 standard doesn't allow for operator new being in a C++ namespace.
 Perhaps this syntax is preferable. This can be #defined to simply newWTF
 if desired, then it is practically identical to existing global new syntax.

 FWIW, I have been testing the proposed patch in my copy and so far it
 has been fine, but that of course includes only my uses.

I'm curious to see the patch (just to give an idea how big the changes would 
be). Do you have it somewhere?



-- 
Ariya Hidayat ([EMAIL PROTECTED])
Software Engineer, Trolltech (a Nokia company)
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] WebKit memory management?

2008-09-16 Thread Ariya Hidayat

 As paul had mentioned, typically on an embedded platform you would want the
 webkit library to work in a bounded memory (10Mb) and signal an OOM
 condition if it crosses that and recover gracefully(either cleanup
 caches/history, stop loading current page, restart the app if nothing
 possible) without impacting the system. you dont want this to happen too
 often in production build, but how can you guarantee with current
 implementation?

Though I kind of agree that a custom allocator is the first step towards this, 
I guess graceful handling of memory problem would require much more bigger 
and massive changes in the code.

I have no experience doing such thing, but looking at the current state of 
WebKit code, I reckon the effort would not be trivial.



-- 
Ariya Hidayat ([EMAIL PROTECTED])
Software Engineer, Trolltech (a Nokia company)
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] WebKit and Windows/Cygwin

2008-09-11 Thread Ariya Hidayat

 At this point, I am at a total loss as I have yet to be able to build
 anything.

Well, you got the error message. At the risk of pointing the obvious, I would 
say just trace the error message to find out where it fails.

   perl
 C:/cygwin/home/Administrator/WebKit/JavaScriptCore/pcre/dftables
 tmp\chartables.c --preprocessor=cl /E
 Error in tempfile() using \tmp\dftables-.in: Parent directory
 (\tmp\) is not a directory at

Something is wrong with your Perl. What if you create the directory C:\tmp 
manually first?

A side note: if you just want to give QtWebKit a try, why don't you use Qt 
4.4? It has WebKit integration already (no need to build it if you use binary 
package). Refer to the following for details:
http://doc.trolltech.com/4.4/qt4-4-intro.html
http://doc.trolltech.com/4.4/qtwebkit.html



Best regards,


-- 
Ariya Hidayat ([EMAIL PROTECTED])
Software Engineer, Trolltech (a Nokia company)
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev