Re: [webkit-dev] Place For new Core Module
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. In near future, I will be poking around a lot with HTML5 player. I will be implementing lot more modules like above, which will be linked to WebCore. Each of the new enhancements I provide needs to be use WebCore and should be accessible to HTML page author. So I will be drilling some holes to expose these modules as a finite set of JavaScript objects. -- Chinmaya On Tue, Aug 24, 2010 at 1:23 PM, Peter Kasting pkast...@google.com wrote: On Tue, Aug 24, 2010 at 12:21 PM, Chinmaya Sn chinm...@gmail.com wrote: I have special case in my hand; currently I maintain a custom branch of WebKit, I already have implemented a module which sits closely with WebCore and it works just fine. One of my goals is to deliver these changes back to community and even may be back to WebKit repository. In near future I will be implementing at least 2-3 such modules, which work closely with WebCore and JavaScriptCore but they may not have to anything to do HTML browser engine as such. Why don't you say more about what you're trying to do. It's hard to answer in the abstract. PK -- -- chinmaya sn ___ 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
Let me put it this way, I am working on a new standard, which leverages some of HTML5 standards but tries to extend them (not enhance) to answer some of the Cable industry challenges. I started by analysing WebKit layer, it has very strong assumption of layering browser-engine, and mostly has APIs which helps you build a html browser, why not, WebKit is a browser-engine. In my first case, of rendering a special kind of app on top of HTML5 video; these apps don't speak html/javascript, they speak primitives such as drawRectangle, drawLine etc. and has own events and processing functions (its a language in itself) which needs to be translated into either C++ or HTML/JavaScript. My primary requirements is to add new modules which represent new standards which work in conjunction with HTML5 (very closely) without any changes inside WebCore. Today WebKit would not gain anything, this is new standard work in progress. Tomorrow things might change, and if someone says I want this Cable specific feature, one could easily tell 'hey build WebKit with this flag and you will get that feature for free', that is my motto. I am driving this as as future proof solution. Currently I'll be performing these changes only in my own branch. Makes sense? On Tue, Aug 24, 2010 at 2:09 PM, Ariya Hidayat ariya.hida...@gmail.com wrote: 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, On Tue, Aug 24, 2010 at 2:17 PM, Simon Fraser simon.fra...@apple.com wrote: I'll be the first to ask this question: what do you need to do that you can do with existing WebKit APIs, and existing web technology? With video, you could use http streaming to deliver custom content, and make sure of accelerated compositing to ensure that you can efficiently layer HTML content on top of video. If your platform does not have support for these, then the right way to address this is to add support for these missing pieces, rather than hacking at WebCore internals. Simon On Aug 24, 2010, at 12:31 PM, Chinmaya Sn wrote: 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. In near future, I will be poking around a lot with HTML5 player. I will be implementing lot more modules like above, which will be linked to WebCore. Each of the new enhancements I provide needs to be use WebCore and should be accessible to HTML page author. So I will be drilling some holes to expose these modules as a finite set of JavaScript objects. -- Chinmaya On Tue, Aug 24, 2010 at 1:23 PM, Peter Kasting pkast...@google.com wrote: On Tue, Aug 24, 2010 at 12:21 PM, Chinmaya Sn chinm...@gmail.com wrote: I have special case in my hand; currently I maintain a custom branch of WebKit, I already have implemented a module which sits closely with WebCore and it works just fine. One of my goals is to deliver these changes back to community and even may be back to WebKit repository. In near future I will be implementing at least 2-3 such modules, which work closely with WebCore and JavaScriptCore but they may not have to anything to do HTML browser engine as such. Why don't you say more about what you're trying to do. It's hard to answer in the abstract. PK -- Chinmaya ___ 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
Thanks All. I think I am getting the general idea of what can get into to WebKit and how things fit. Right now both the standard and implementation are WIP, spec is intended to be a Web standard. At this point, neither the standard nor the implementation are public. My primary goal was to keep my changes around the WebKits coding and development rules, such as: I am already using WTF library extensively to keep the code compatible with WebKit. In future, if I can convince you folks to take these changes into WebKit it will be lot easier. What this means to me today, is just enforcing WebKit's disciplines. If I can't get these changes into WebKit then may be I need to fork as CableKit or something :) May be I pushed the button little early, I should wait till 108th minute. cheeers Chinmaya On Tue, Aug 24, 2010 at 3:39 PM, Maciej Stachowiak m...@apple.com wrote: Given your description, I'm not sure this functionality is appropriate for WebKit. We are generally reluctant to take feature patches for features that are experimental or of niche interest - we prefer to focus on technologies that are part of the standards-based Web technology stack, that are likely to become Web standards, or that are valuable general-purpose complements to Web standards. It sounds like the feature you are talking about does not fit this template very well currently, though it may in the future if it does get on track to become a Web standard. Regards, Maciej On Aug 24, 2010, at 2:26 PM, Chinmaya Sn wrote: Let me put it this way, I am working on a new standard, which leverages some of HTML5 standards but tries to extend them (not enhance) to answer some of the Cable industry challenges. I started by analysing WebKit layer, it has very strong assumption of layering browser-engine, and mostly has APIs which helps you build a html browser, why not, WebKit is a browser-engine. In my first case, of rendering a special kind of app on top of HTML5 video; these apps don't speak html/javascript, they speak primitives such as drawRectangle, drawLine etc. and has own events and processing functions (its a language in itself) which needs to be translated into either C++ or HTML/JavaScript. My primary requirements is to add new modules which represent new standards which work in conjunction with HTML5 (very closely) without any changes inside WebCore. Today WebKit would not gain anything, this is new standard work in progress. Tomorrow things might change, and if someone says I want this Cable specific feature, one could easily tell 'hey build WebKit with this flag and you will get that feature for free', that is my motto. I am driving this as as future proof solution. Currently I'll be performing these changes only in my own branch. Makes sense? On Tue, Aug 24, 2010 at 2:09 PM, Ariya Hidayat ariya.hida...@gmail.com wrote: 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, On Tue, Aug 24, 2010 at 2:17 PM, Simon Fraser simon.fra...@apple.com wrote: I'll be the first to ask this question: what do you need to do that you can do with existing WebKit APIs, and existing web technology? With video, you could use http streaming to deliver custom content, and make sure of accelerated compositing to ensure that you can efficiently layer HTML content on top of video. If your platform does not have support for these, then the right way to address this is to add support for these missing pieces, rather than hacking at WebCore internals. Simon On Aug 24, 2010, at 12:31 PM, Chinmaya Sn wrote: 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. In near future, I will be poking around a lot with HTML5 player. I will be implementing lot more modules like above, which will be linked to WebCore. Each of the new enhancements I provide needs to be use WebCore and should be accessible to HTML page author. So I will be drilling some holes to expose these modules as a finite set of JavaScript objects. -- Chinmaya On Tue, Aug 24, 2010 at 1:23 PM, Peter Kasting pkast...@google.com wrote: On Tue, Aug 24, 2010 at 12:21 PM, Chinmaya Sn chinm...@gmail.com wrote: I have special case in my hand; currently I maintain a custom branch of WebKit, I already have implemented a module which sits closely with WebCore and it works just fine. One of my goals is to deliver these changes back to community and even may be back to WebKit repository. In near future I will be implementing at least 2-3 such modules, which work closely with WebCore
Re: [webkit-dev] PtrT
AutoNullT sounds like a good idea, in addition to initializing to zero, I would like it handle operator- to not crash ! Something like handling Java's NullPointerException -- Chinmaya On Sat, Aug 7, 2010 at 9:59 PM, Eric Seidel e...@webkit.org wrote: I just spent a while debugging an error in code I wrote. I added a couple new Foo* members to a class. And forgot to 0 them in one of the constructors. RefPtrT, OwnPtrT would have done this for me. But I wanted these to be weak pointers. How about we add a PtrT (or WeakPtrT or AutoNullT or whatever) to wtf to stop this nonsense. -eric ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev -- -- chinmaya sn ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] High performance TCP Sockets in WebKit
Hi Everyone, I need to implement a general purpose, high performance TCP sockets inside WebCore for some of my work. By high performance I mean select/poll (multiplexing) based and by general purpose, I mean, any one (Inside WebCore) should be able to open a socket and transfer any kind of data in any format. I would prefer to implement in such a way that it works on every platform that WebKit already support (at network layer). In other words, I would like to (re)use platformSend (alike) interface in SocketStreamHandleBase. But, I reviewed interfaces in platform/network, platform/network/qt/* other, and websockets. Obviously they all have an implicit assumption of HTTP protocol, and WebSocket specification, hence I am beginning to believe I should do a new implementation. I would like hear from the community, if my understanding is correct, are there any suggestions before I proceed, or are there any work already in progress or any implementation suggestions. I would like keep this implementation in discipline with WebKit so that at some point in future, when everything makes sense, I should be able to propose this back to WebKit code base. Thanks chinmaya ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Disabling the JIT
Just curious, how would you verify if JavaScript in your browser has JIT support or not? On Tue, Apr 27, 2010 at 3:10 PM, Nyx mch...@cs.mcgill.ca wrote: Another way would be to set export QMAKEARGS=$QMAKEARGS DEFINES+=ENABLE_JIT=0 before building. Ok. I tried this approach. I have a build script that looks like this: QTDIR=/usr/share/qt4/ export QMAKEARGS=$QMAKEARGS DEFINES+=ENABLE_JIT=0 WebKit/WebKitTools/Scripts/build-webkit --qt It builds, but the JIT is not disabled. It seems that the new argument is simply ignored. I also tried adding #define ENABLE_JIT 0 at the top of the Interpreter.cpp file in JavaScriptCore. This builds, but produces a segmentation fault. I will try doing the WebKit/WebKitTools/Scripts/build-webkit --qt JAVASCRIPTCORE_JIT=no with a fresh SVN checkout... Is there any equivalent of make clean script, as a completment to build-webkit? -- View this message in context: http://old.nabble.com/Disabling-the-JIT-tp28378562p28382091.html Sent from the Webkit mailing list archive at Nabble.com. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev -- -- chinmaya sn ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] QtWebkit vs GtkWebkit
I don't see this in Windows (Using latest arora 0.10.0). Are you using Linux? On Sun, Apr 25, 2010 at 11:07 AM, Phoenix Revived phoenixrevi...@yahoo.comwrote: After a frustrating number of hours, I finally discovered a problem with QtWebkit (and all browsers derived from it: Arora, Konqueror, etc.) - when trying to play a video in youtube.com/xl, they all display a white screen. I had this problem in my application and spent many hours beating my head against the wall before discovering that I wasn't doing anything wrong. This problem does not exist with any of the GtKWebkit based browsers (or GtkWebkit itself). I can play these videos without problem on everything from the small browsers like midori and uzbl, to the giants like Chrome and Firefox. Any ideas? Cheers, ---AK ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev -- -- chinmaya sn ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev