Re: [webkit-dev] Writing a new XML parser with no external libraries
Hi; On Wed, Jun 29, 2011 at 3:12 AM, Jeffrey Pfau jp...@apple.com wrote: Currently, WebCore uses libxml2, or, if available, QtXml to parse incoming XML. However, QtXml isn't always available, and using libxml2 exposes its own share of problems. As such, I'm undertaking writing an XML parser that uses no external libraries. Did you have a look at iksemel [0] ? Its a self contained C library for parsing XML. [0] http://code.google.com/p/iksemel/ Regards. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Making Webkit - CSSGrammar.h
Hi; On Tue, Jun 21, 2011 at 3:44 PM, Tom Smith penguin.lin...@gmail.com wrote: Hello, I'm trying to build Webkit on Ubuntu, but I get this error when I try to make it: WebCore/css/CSSParser.cpp:4152: fatal error: CSSGrammar.h: No such file or directory compilation terminated. make[1]: *** [WebCore/css/libWebCore_la-CSSParser.lo] Error 1 make[1]: Leaving directory `/home/screamer/Canmore/usr/src/WebKit-r36247' make: *** [all] Error 2 I tried looking for the CSSGrammar.h file in /WebCore/css but I it's simply not there. Can anyone help? That file automatically generated from CSSGrammar.y file, I am guessing you are missing bison/yacc package installed. Regards, ismail ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] MathML in Qt
Nice! Thanks for letting us know. Regards, ismail On Thu, Apr 29, 2010 at 5:37 PM, Alex Milowski a...@milowski.org wrote: My patch for MathML support in the Qt port build has just been committed. So far it looks good. There are some issues with the over all MathML rendering code on Linux that I'm looking into (e.g. stack operators have some font issues). These aren't specific to the Qt port. -- --Alex Milowski The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered. Bertrand Russell in a footnote of Principles of Mathematics ___ 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] Turning on MathML by Default?
Did anyone tested it on Qt port? Just curious... Regards, ismail On Wed, Apr 28, 2010 at 3:13 PM, Sausset François saus...@gmail.com wrote: I'm also involved in implementing MathML and I share the Alex advice. MathML implementation has been asleep for too long. Turning it on by default should accelerate the recent progress. François Sausset Le 28 avr. 2010 à 14:40, Alex Milowski a écrit : With the latest patch (37044) having been committed, I feel like we're at a point where I'd like the MathML implementation to be available in the nightly builds. The code has been built and tested successfully on the Mac and Gtk builds. I intend to look at the windows build next. We have a growing community of developers and interested users and having a nightly build with MathML would allow testing, submission of issues, and receipt of fixes. What do others think? -- --Alex Milowski The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered. Bertrand Russell in a footnote of Principles of Mathematics ___ 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
Re: [webkit-dev] Turning on MathML by Default?
On Wed, Apr 28, 2010 at 5:10 PM, Alex Milowski a...@milowski.org wrote: On Wed, Apr 28, 2010 at 1:14 PM, İsmail Dönmez ism...@namtrac.org wrote: Did anyone tested it on Qt port? Just curious... No, not yet. I haven't setup a Qt build for myself quite yet (just Mac Gtk). That actually might be easier to do than Windows. :) I'll look into that today or tomorrow. I wonder if it'll work fine since MathML also needs strong font support. Regards, ismail ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Turning on MathML by Default?
On Wed, Apr 28, 2010 at 5:52 PM, Alex Milowski a...@milowski.org wrote: On Wed, Apr 28, 2010 at 3:11 PM, İsmail Dönmez ism...@namtrac.org wrote: I wonder if it'll work fine since MathML also needs strong font support. Font support is still an issue on all platforms. The STIX fonts that I've gotten ahold of are terrible. Maybe when they ship they'll be better. Uh, they are supposed to be the best math fonts available :-) It is likely that the CSS will have to be customized on each platform to pick the correct expected font from the system. Indeed this makes more sense for the short term. Regards, ismail ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] global new/delete operator in WebKit
Hi; Picking up and old thread I know... On Wed, Jan 13, 2010 at 7:19 PM, Darin Adler da...@apple.com wrote: Yong Li also asked about standard library functions calling new and delete, specifically STL. I believe we have been avoiding calling these functions in WebKit, but I may be mistaken. Recently I came across some memory corruption issues and turns out that WebKit uses std::stable_sort which uses the operator new(nothrow) . I am not sure if there is a useful replacement but its good to know about this. Regards, İsmail ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] global new/delete operator in WebKit
Hi Stephan; On Thu, Feb 18, 2010 at 5:30 PM, Stephan Assmus supersti...@gmx.de wrote: Hi, On 2010-02-18 at 15:59:35 [+0100], İsmail Dönmez ism...@namtrac.org wrote: Picking up and old thread I know... On Wed, Jan 13, 2010 at 7:19 PM, Darin Adler da...@apple.com wrote: Yong Li also asked about standard library functions calling new and delete, specifically STL. I believe we have been avoiding calling these functions in WebKit, but I may be mistaken. Recently I came across some memory corruption issues and turns out that WebKit uses std::stable_sort which uses the operator new(nothrow) . I am not sure if there is a useful replacement but its good to know about this. Can you elaborate on this? Were these the cause for your memory corruption? If yes, where and how did you solve it? For my own WinCE port I override new delete globally via a special memory pool. I override all 8 signatures of new delete so its supposed to work fine. But... std::stable_sort calls operator new(nothrow) which somehow does not pick up my replacement but it does use my delete replacement. So I end up deleting memory I didn't allocate which as expected crashes. I am still debugging why STL would not use my replacement function, but meanwhile beware about this :-) Regards, İsmail ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Webkit mipsel crashing in arenaDelete
Hi; On Tue, Feb 16, 2010 at 10:22 AM, Stephan Assmus supersti...@gmx.de wrote: Hi, On 2010-02-16 at 08:50:21 [+0100], Bharathwaaj S bharathwaa...@gmail.com wrote: I could port webkit to mipsel architechture using DirectFB Backend. I've taken svn WebKitGtk release 1.1.8 present herehttp://trac.webkit.org/browser/releases/WebKitGTK/webkit-1.1.8 . I could get google.com homepage when I run GtkLauncher. But when I press any the Google Search button, it crashes. I added printfs in the code and I found that it is crashing in File WebCore/rendering/RenderObject.cpp Function arenaDelete in the line delete this It also crashes when I reload the google page by pressing right click and reload. The same release when built for x86 runs fine. Kindly help me in solving this issue. No idea if this is helpful or even applies to your problem, but during the Haiku porting effort, we found out that when using USE_SYSTEM_MALLOC=1, WebCore makes some assumptions about alignment of allocations that are not guarenteed when using malloc() (should use memalign()). When we switched to using the built-in TCSystemMalloc, those problems went away. Thats interesting. How did you force TCSystemMalloc for Haiku port? Regards, İsmail ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Qt compilation problem
Hi; On Fri, Feb 5, 2010 at 1:35 PM, İsmail Dönmez ism...@namtrac.org wrote: Hi Darin; On Fri, Feb 5, 2010 at 1:32 PM, Darin Adler da...@apple.com wrote: This is a question for the webkit-help mailing list or a Qt-specific one, not webkit-dev. The webkit-dev mailing list is for discussion of WebKit development, not building or using it. See http://webkit.org/contact.html. 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. Looks like nmake messes up when the filenames match. Following patch fixes this (of course after doing a git mv), can someone comment? diff --git a/WebCore/WebCore.pro b/WebCore/WebCore.pro index 4d2c597..0b062d0 100644 --- a/WebCore/WebCore.pro +++ b/WebCore/WebCore.pro @@ -1999,7 +1999,7 @@ SOURCES += \ platform/qt/FileSystemQt.cpp \ platform/qt/SharedBufferQt.cpp \ platform/graphics/qt/FontCacheQt.cpp \ -platform/graphics/qt/FontCustomPlatformData.cpp \ +platform/graphics/qt/FontCustomPlatformDataQt.cpp \ platform/graphics/qt/GlyphPageTreeNodeQt.cpp \ platform/graphics/qt/SimpleFontDataQt.cpp \ platform/qt/KURLQt.cpp \ Thanks, İsmail ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Qt compilation problem
Hi Chris; On Sat, Feb 6, 2010 at 7:01 PM, Chris Jerdonek cjerdo...@webkit.org wrote: Hi Ismail, thanks for investigating this issue and for finding a possible fix. I can't comment on the specifics, but usually the best way to deal with issues like this is to file a bug report: http://webkit.org/quality/reporting.html The bugs database has a comment feature to allow for back-and-forth discussion there. And if this a Qt-specific issue, you can give it a title that begins [Qt] Finally, if you'd like to submit a formal patch for the issue, you can follow the instructions here: http://webkit.org/coding/contributing.html Otherwise, you can simply include your suggested fix below and someone else can take it from there. I will submit a patch to bugzilla. Just wanted to make sure the fix is correct. Regards, İsmail ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] [Qt] Build problem due to newly introduced WebKit/qt/Api/DerivedSources.pro
Hi all; Trying to build WebKit on Windows I get; Reading C:/Qt/WebKit/WebCore/WebCore.pro [C:/Qt/WebKit/WebKitBuild/Release/WebCore] WARNING: Failure to find: ..\..\..\WebKit\qt\Api\qwebkitversion.h echo WEBKIT_CLASS_HEADERS WARNING: Failure to find: = WARNING: Failure to find: ..\include\QWebInspector echo WEBKIT_PRIVATE_HEADERS WARNING: Failure to find: = Seems to be due to newly checked in DerivedSources.pro. Also there is another problem in this file; DerivedSources.pro line 36 has; eval(qtheader_module.commands += echo \\\'\$${LITERAL_HASH}include QtNetwork/QtNetwork\\\' $${qtheader_module.target};) This won't work since and are special characters for Windows shell so it has to be double quoted like; eval(qtheader_module.commands += echo $${LITERAL_HASH}include QtNetwork/QtNetwork\\\ $${qtheader_module.target};) Regards, İsmail ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] [Qt] Build problem due to newly introduced WebKit/qt/Api/DerivedSources.pro
On Fri, Feb 5, 2010 at 8:33 AM, Tor Arne Vestbø tor.arne.ves...@nokia.comwrote: On 2/5/10 4:51 PM, İsmail Dönmez wrote: Seems to be due to newly checked in DerivedSources.pro. Try applying this: http://gist.github.com/295937 I have to run but I'll land this on Monday. Tested works fine. Very neat trick you got there btw (for escaping with ^ on Windows). Thanks, İsmail ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] Qt compilation problem
Hi; I build WebKit with build-webkit --qt --minimal and end up with the following error : FontCustomPlatformData.cpp ..\..\..\JavaScriptCore\wtf/RetainPtr.h(26) : fatal error C1083: Cannot open include file: 'CoreFoundation/CoreFoundation.h': No such file or directory Looks like its picking up ./WebCore/platform/graphics/win/FontCustomPlatformData.cpp instead of ./WebCore/platform/graphics/qt/FontCustomPlatformData.cpp as expected. Any ideas? Regards, İsmail ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Qt compilation problem
Hi Darin; On Fri, Feb 5, 2010 at 1:32 PM, Darin Adler da...@apple.com wrote: This is a question for the webkit-help mailing list or a Qt-specific one, not webkit-dev. The webkit-dev mailing list is for discussion of WebKit development, not building or using it. See http://webkit.org/contact.html. 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. Regards, İsmail ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] JIT on Windows CE
Hi all; I wonder if anyone is working on JIT support for Windows CE. I know the platform has lots of limitations but still I guess someone might be interested on running JIT. Regards, i.d. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev