[chromium-dev] how to disable SVG when building chromium
Hi, Webkit has an option to disable SVG build with the executable. Can you please tell me how can I disable SVG when build chromium? Thank you. -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
[chromium-dev] Linux sandbox configuration
Hi, Can you please tell me if/where is the file to configure chromium's renderer sandbox? Thank you. -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
Re: [chromium-dev] How to compile and run TabSwitchingUITest on Linux
Thanks. but It still said '0 tests ran' $ out/Debug/tab_switching_test --gtest_filter=UnloadTest.CrossSiteInfiniteBeforeUnloadSync Note: Google Test filter = UnloadTest.CrossSiteInfiniteBeforeUnloadSync [==] Running 0 tests from 0 test cases. [==] 0 tests from 0 test cases ran. (1 ms total) [ PASSED ] 0 tests. On Tue, Jan 5, 2010 at 9:16 PM, Dan Kegel wrote: > On Tue, Jan 5, 2010 at 9:13 PM, n179911 wrote: >> For this test case defined in unload_test.cc: >> TEST_F(UnloadTest, CrossSiteInfiniteBeforeUnloadSync) {...} >> >> i have tried: >> ./out/Debug/automated_ui_tests --gtest_filter='CrossSiteInfiniteUnloadSync' >> ./out/Debug/base_unittests --gtest_filter='CrossSiteInfiniteUnloadSync' >> >> But no test is being run in both cases. > > Try > $ make tab_switching_test > $ out/Debug/tab_switching_test > --gtest_filter=UnloadTest.CrossSiteInfiniteBeforeUnloadSync > -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
Re: [chromium-dev] How to compile and run TabSwitchingUITest on Linux
Thanks for your help. But I still need some help in running a test case For this test case defined in unload_test.cc: TEST_F(UnloadTest, CrossSiteInfiniteBeforeUnloadSync) {...} i have tried: ./out/Debug/automated_ui_tests --gtest_filter='CrossSiteInfiniteUnloadSync' ./out/Debug/base_unittests --gtest_filter='CrossSiteInfiniteUnloadSync' But no test is being run in both cases. And i have tried making $ make out/Debug/unload_uitest make: *** No rule to make target `out/Debug/unload_uitest'. Stop. but there is no target for that. On Sat, Dec 26, 2009 at 5:29 PM, Robert Sesek wrote: > test_binary was just an example. The target you want is named > tab_switching_test. > > rsesek / @chromium.org > > On Sat, Dec 26, 2009 at 4:29 PM, n179911 wrote: >> >> Thank you. I tried to compile 'test_binary', but there is no such >> executable. >> $ make out/Debug/test_binary >> make: *** No rule to make target `out/Debug/test_binary'. Stop. >> $ ./out/Debug/test_binary >> bash: ./out/Debug/test_binary: No such file or directory >> And I tried to run 'automation_proxy_uitest' and that did not work either. >> $ make out/Debug/automation_proxy_uitest >> make: *** No rule to make target `out/Debug/automation_proxy_uitest'. >> Stop. >> >> >> On Fri, Dec 25, 2009 at 2:15 PM, Robert Sesek wrote: >>> >>> The --gtest_filter switch should do what you want: ./test_binary >>> --gtest_filter='TestClassName.*'. You can replace the ".*" with a specific >>> test case name. The quotes are necessary if your shell expands the asterisk. >>> Find out more with the --help flag. Also, I don't think TabSwitchingUITest >>> is in base_unittests but rather its own binary (Debug/tab_switching_test), >>> though I'm not sure about that. >>> rsesek / @chromium.org >>> >>> On Fri, Dec 25, 2009 at 2:02 PM, n179911 wrote: >>>> >>>> Hi, >>>> Here is how to compile and run all tests on linux: >>>> $make ./out/Debug/base_unittests >>>> $./out/Debug/base_unittests >>>> Can you please tell me how can I run 1 specific test, namely >>>> TabSwitchingUITest? >>>> Thank you. >>>> >>>> >>>> -- >>>> Chromium Developers mailing list: chromium-dev@googlegroups.com >>>> View archives, change email options, or unsubscribe: >>>> http://groups.google.com/group/chromium-dev >> > > -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
[chromium-dev] Unit test in chromium which test javascript alert
Hi, Is there any Unit test in chromium which test javascript alert? Does it have automated test case which automatically clicks the pop up dialog cased by javascript alert? Thank you. -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
Re: [chromium-dev] Faster linking for chromium on ubuntu
On Thu, Dec 31, 2009 at 3:17 PM, Dan Kegel wrote: > On Thu, Dec 31, 2009 at 3:14 PM, n179911 wrote: >> And I have put 'shared' library in my include gypi file >> >> $ more ~/.gyp/include.gpyi >> {'variables': { >> 'library': 'shared_library', >> }} >> >> How can I make sure that it is building in shared library and using >> the gold linker? >> I find linking chromium is still take a long time (~ 10 minutes) on my >> machine. > > Did you rerun gyp, e.g. with the command > glient runhooks --force > after changing ~/.gyp/include.gypi ? > Yes, I did run 'glient runhooks --force' before I run 'make out/Debug/chrome' again. When I build chromium as a shared library, will the result binary(ies) be different, is there something I can check to make sure the chromium I built is 'shared library'? Thank you. -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
[chromium-dev] Faster linking for chromium on ubuntu
Hi, I have installed "gold" linker mentioned here: http://code.google.com/p/chromium/wiki/LinuxFasterBuilds And I have put 'shared' library in my include gypi file $ more ~/.gyp/include.gpyi {'variables': { 'library': 'shared_library', }} How can I make sure that it is building in shared library and using the gold linker? I find linking chromium is still take a long time (~ 10 minutes) on my machine. Thank you for any ideas. -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
[chromium-dev] Question about ipc log in chromium
Hi, I enable ipc logging when run chromium. And I see the following messages saying 'unknown type'. Can you please tell me where I can find out what those messages are for? ipc 2898.0xd07aaf8.936222325 1 [unknown type 8] (1042, 589), (0, 0, 0, 0) ipc 2898.0xd07aaf8.936222325 1 [unknown type 15] Thank you. -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
Re: [chromium-dev] How to compile and run TabSwitchingUITest on Linux
Thank you. I tried to compile 'test_binary', but there is no such executable. $ make out/Debug/test_binary make: *** No rule to make target `out/Debug/test_binary'. Stop. $ ./out/Debug/test_binary bash: ./out/Debug/test_binary: No such file or directory And I tried to run 'automation_proxy_uitest' and that did not work either. $ make out/Debug/automation_proxy_uitest make: *** No rule to make target `out/Debug/automation_proxy_uitest'. Stop. On Fri, Dec 25, 2009 at 2:15 PM, Robert Sesek wrote: > The --gtest_filter switch should do what you want: ./test_binary > --gtest_filter='TestClassName.*'. You can replace the ".*" with a specific > test case name. The quotes are necessary if your shell expands the asterisk. > Find out more with the --help flag. Also, I don't think TabSwitchingUITest > is in base_unittests but rather its own binary (Debug/tab_switching_test), > though I'm not sure about that. > > rsesek / @chromium.org > > On Fri, Dec 25, 2009 at 2:02 PM, n179911 wrote: > >> Hi, >> >> Here is how to compile and run all tests on linux: >> $make ./out/Debug/base_unittests >> $./out/Debug/base_unittests >> >> Can you please tell me how can I run 1 specific test, namely >> TabSwitchingUITest? >> >> Thank you. >> >> >> >> -- >> Chromium Developers mailing list: chromium-dev@googlegroups.com >> View archives, change email options, or unsubscribe: >> http://groups.google.com/group/chromium-dev > > > -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
[chromium-dev] How to compile and run TabSwitchingUITest on Linux
Hi, Here is how to compile and run all tests on linux: $make ./out/Debug/base_unittests $./out/Debug/base_unittests Can you please tell me how can I run 1 specific test, namely TabSwitchingUITest? Thank you. -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
[chromium-dev] Example of how to use AutomationProvider on linux
Hi, Can you please tell me where I can find an example of how to use AutomationProvider on linux? Thank you. -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
[chromium-dev] Link error with chromium on ubuntu 9.10
Hi, I get the chromium on ubuntu 9.10. The compilation is okay, but when I get link, it fails: $ make -j5 chrome LINK(target) out/Debug/chrome collect2: ld terminated with signal 9 [Killed] make: *** [out/Debug/chrome] Error 1 I think I have 'gold linker' installed: Building dependency tree Reading state information... Done binutils-gold is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 33 not upgraded. And i have checked I have enough disk space. Can you please tell me why? Thank you. -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
Re: [chromium-dev] Warning message when running chrome in gdb
Thanks. I am using the gold linker on ubuntu 9.10. I wonder if that causes the problem. On Sat, Nov 28, 2009 at 1:33 PM, Dan Kegel wrote: > Might not hurt to build from the latest sources and make sure they haven't > fixed > it already, too. > > On Sat, Nov 28, 2009 at 5:57 AM, Craig Schlenter > wrote: > > You could file a bug with the gdb people ... keeping a copy of the > > problematic binary/associated libraries may help them track it down. > > > > http://sourceware.org/bugzilla/ > > > > --Craig > > > > On Sat, Nov 28, 2009 at 10:31 AM, n179911 wrote: > >> Thanks. I am building and debugging chromium on ubuntu 9.10, which > already > >> has the latest gdb, which is 7.0 version. > >> > >> On Fri, Nov 27, 2009 at 10:18 PM, Craig Schlenter > >> wrote: > >>> > >>> I have a vague recollection of having seen this before ... upgrading > >>> gdb may help. > >>> > >>> http://sourceware.org/ml/gdb-patches/2003-01/msg00074.html > >>> > >>> --Craig > >>> > >>> On Sat, Nov 28, 2009 at 8:06 AM, Evan Martin > wrote: > >>> > I have never encountered this. Have you tried searching for the > error > >>> > message? > >>> > > >>> > On Fri, Nov 27, 2009 at 4:31 PM, n179911 wrote: > >>> >> Hi, > >>> >> I am trying to run chrome under ubuntu. But I see a lot of 'internal > >>> >> error > >>> >> in the warning message'. Can you please tell me what does those > means > >>> >> and > >>> >> how can I fix those? > >>> >> Thank you. > >>> >> $ gdb out/Debug/chrome > >>> >> > >>> >> warning: (Internal error: pc 0xed21a0 in read in psymtab, but not in > >>> >> symtab.) > >>> >> warning: (Internal error: pc 0xed21a1 in read in psymtab, but not in > >>> >> symtab.) > >>> >> warning: (Internal error: pc 0xed21a0 in read in psymtab, but not in > >>> >> symtab.) > >>> >> warning: (Internal error: pc 0xed21a1 in read in psymtab, but not in > >>> >> symtab.) > >>> >> warning: (Internal error: pc 0xed21a0 in read in psymtab, but not in > >>> >> symtab.) > >>> >> warning: (Internal error: pc 0xed21a1 in read in psymtab, but not in > >>> >> symtab.) > >>> >> > >>> >> -- > >>> >> Chromium Developers mailing list: chromium-dev@googlegroups.com > >>> >> View archives, change email options, or unsubscribe: > >>> >> http://groups.google.com/group/chromium-dev > >>> > > >>> > -- > >>> > Chromium Developers mailing list: chromium-dev@googlegroups.com > >>> > View archives, change email options, or unsubscribe: > >>> >http://groups.google.com/group/chromium-dev > >> > >> > > > > -- > > Chromium Developers mailing list: chromium-dev@googlegroups.com > > View archives, change email options, or unsubscribe: > >http://groups.google.com/group/chromium-dev > -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
Re: [chromium-dev] Warning message when running chrome in gdb
Thanks. I am building and debugging chromium on ubuntu 9.10, which already has the latest gdb, which is 7.0 version. On Fri, Nov 27, 2009 at 10:18 PM, Craig Schlenter wrote: > I have a vague recollection of having seen this before ... upgrading > gdb may help. > > http://sourceware.org/ml/gdb-patches/2003-01/msg00074.html > > --Craig > > On Sat, Nov 28, 2009 at 8:06 AM, Evan Martin wrote: > > I have never encountered this. Have you tried searching for the error > message? > > > > On Fri, Nov 27, 2009 at 4:31 PM, n179911 wrote: > >> Hi, > >> I am trying to run chrome under ubuntu. But I see a lot of 'internal > error > >> in the warning message'. Can you please tell me what does those means > and > >> how can I fix those? > >> Thank you. > >> $ gdb out/Debug/chrome > >> > >> warning: (Internal error: pc 0xed21a0 in read in psymtab, but not in > >> symtab.) > >> warning: (Internal error: pc 0xed21a1 in read in psymtab, but not in > >> symtab.) > >> warning: (Internal error: pc 0xed21a0 in read in psymtab, but not in > >> symtab.) > >> warning: (Internal error: pc 0xed21a1 in read in psymtab, but not in > >> symtab.) > >> warning: (Internal error: pc 0xed21a0 in read in psymtab, but not in > >> symtab.) > >> warning: (Internal error: pc 0xed21a1 in read in psymtab, but not in > >> symtab.) > >> > >> -- > >> Chromium Developers mailing list: chromium-dev@googlegroups.com > >> View archives, change email options, or unsubscribe: > >> http://groups.google.com/group/chromium-dev > > > > -- > > Chromium Developers mailing list: chromium-dev@googlegroups.com > > View archives, change email options, or unsubscribe: > >http://groups.google.com/group/chromium-dev > -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
[chromium-dev] Warning message when running chrome in gdb
Hi, I am trying to run chrome under ubuntu. But I see a lot of 'internal error in the warning message'. Can you please tell me what does those means and how can I fix those? Thank you. $ gdb out/Debug/chrome warning: (Internal error: pc 0xed21a0 in read in psymtab, but not in symtab.) warning: (Internal error: pc 0xed21a1 in read in psymtab, but not in symtab.) warning: (Internal error: pc 0xed21a0 in read in psymtab, but not in symtab.) warning: (Internal error: pc 0xed21a1 in read in psymtab, but not in symtab.) warning: (Internal error: pc 0xed21a0 in read in psymtab, but not in symtab.) warning: (Internal error: pc 0xed21a1 in read in psymtab, but not in symtab.) -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
[chromium-dev] TestShell target
Hi, Is there a way to build a TestShell target for chromium on linux? On MacOS, there is a TestShell project, I wonder if there is a TestShell target for building it on linux? Thank you. -- Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
[chromium-dev] Re: Compiling error after I did a 'gclient sync'
On Thu, Nov 5, 2009 at 9:23 AM, Evan Martin wrote: > On Wed, Nov 4, 2009 at 11:55 PM, Chase Phillips wrote: >> FWIW I see the same error you see when I try to git clone the WebKit git >> repository again locally while git fetch on an existing repository works >> fine. I see you've mailed webkit-dev already, and I'm hoping someone there >> will be able to diagnose the problem. >> In the meantime, I recommend you use gclient sync to check out the WebKit >> source over Subversion so you're unblocked at least. > > Another option is to clone WebKit from some other git host. > For example: > git clone git://repo.or.cz/webkit.git > > You can then edit .git/config and change the "origin" URL to point at > the canonical git.webkit.org, and run git fetch again, and it'll grab > any newer data that didn't make it out to the mirror. > Thanks. Chase, Evan. After webkit dev fixes their server problem, I try again using 'tools/sync-webkit-git.py', But I am getting a different error this time. And I have tried using 'git://repo.or.cz/webkit.git instead. That does not solve my problem either. $ tools/sync-webkit-git.py Desired revision: r50584. r50584 not available; fetching. remote: Counting objects: 948, done. remote: Compressing objects: 100% (350/350), done. remote: Total 731 (delta 469), reused 614 (delta 361) Receiving objects: 100% (731/731), 1011.18 KiB | 170 KiB/s, done. Resolving deltas: 100% (469/469), completed with 97 local objects. >From git://git.webkit.org/WebKit 5af4058..968141f master -> origin/master ERROR: Couldn't map r50584 to a git revision. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: Compiling error after I did a 'gclient sync'
On Tue, Nov 3, 2009 at 8:39 PM, Evan Martin wrote: > On Tue, Nov 3, 2009 at 8:36 PM, n179911 wrote: >> And when i got to a different directory trying to use git to get >> Webkit code, I get this error "possible repository corruption on the >> remote side", not sure if these 2 are related. >> >> git clone git://git.webkit.org/WebKit.git . >> Initialized empty Git repository in /Users/samuel/Webkit/.git/ >> remote: error: failed to unpack compressed delta at offset 486539223 >> from ./objects/pack/pack-c7fcbbd90f8a0e469e7e218ffcef0bb43aa4114d.pack >> remote: error: failed to read object >> 23c5a57a8a0c94e1b895d432e8799dbf5533dc18 at offset 486539219 from >> ./objects/pack/pack-c7fcbbd90f8a0e469e7e218ffcef0bb43aa4114d.pack >> remote: fatal: object 23c5a57a8a0c94e1b895d432e8799dbf5533dc18 is corrupted >> remote: aborting due to possible repository corruption on the remote side. >> fatal: early EOF >> fatal: index-pack failed > > I wonder if you've ran out of disk space. > > If not, it is probably worth bringing that up on webkit-dev. > Thanks. But I have 27GB left. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: Compiling error after I did a 'gclient sync'
Thanks for your help. It seems everything is in sync, but I still get the same compiling errors. ~/chromium3/src(trunk) $ git pull Already up-to-date. ~/chromium3/src(trunk) $ tools/sync-webkit-git.py Desired revision: r50487. Already on correct revision. ~/chromium3/src(trunk) $ gclient sync found .git directory; skipping src running '/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python src/build/gyp_chromium' in '/Users/samuel/chromium3' Updating projects from gyp files... running '/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python src/build/win/clobber_generated_headers.py' in '/Users/samuel/chromium3' running '/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python src/build/mac/clobber_generated_headers.py' in '/Users/samuel/chromium3' ~/chromium3/src(trunk) And when i got to a different directory trying to use git to get Webkit code, I get this error "possible repository corruption on the remote side", not sure if these 2 are related. git clone git://git.webkit.org/WebKit.git . Initialized empty Git repository in /Users/samuel/Webkit/.git/ remote: error: failed to unpack compressed delta at offset 486539223 from ./objects/pack/pack-c7fcbbd90f8a0e469e7e218ffcef0bb43aa4114d.pack remote: error: failed to read object 23c5a57a8a0c94e1b895d432e8799dbf5533dc18 at offset 486539219 from ./objects/pack/pack-c7fcbbd90f8a0e469e7e218ffcef0bb43aa4114d.pack remote: fatal: object 23c5a57a8a0c94e1b895d432e8799dbf5533dc18 is corrupted remote: aborting due to possible repository corruption on the remote side. fatal: early EOF fatal: index-pack failed On Tue, Nov 3, 2009 at 8:20 PM, Evan Martin wrote: > It has been working fine for me. Is it possible you have the wrong > version of WebKit? What does tools/sync-webkit-git.py say? > > On Tue, Nov 3, 2009 at 6:46 PM, n179911 wrote: >> >> Thanks. Kenneth, >> >> I fixed the "ENABLE_3D_CANVAS" redefined error. But I still get the >> following compilation error: >> >> In file included from >> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../bindings/v8/DerivedSourcesAllInOne.cpp:65: >> >> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8Console.cpp:40: >> error: no matching function for call to >> 'WebCore::ScriptCallStack::ScriptCallStack(const v8::Arguments&, int)' >> ../bindings/v8/ScriptCallStack.h:58: note: candidates are: >> WebCore::ScriptCallStack::ScriptCallStack(const v8::Arguments&, >> unsigned int, WebCore::String, int) >> ../bindings/v8/ScriptCallStack.h:46: note: >> WebCore::ScriptCallStack::ScriptCallStack(const >> WebCore::ScriptCallStack&) >> >> >> >> On Tue, Nov 3, 2009 at 6:40 PM, n179911 wrote: >>> Thanks Kenneth. >>> >>> I tried this. But I get >>> >>> I/Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webcore_bindings.build/DerivedSources/i386 >>> -I/Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webcore_bindings.build/DerivedSources >>> -c >>> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/DerivedSources/Debug/webkit/HTMLElementFactory.cpp >>> -o >>> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webcore_bindings.build/Objects-normal/i386/HTMLElementFactory.o >>> : error: "ENABLE_3D_CANVAS" redefined >>> : error: this is the location of the previous definition >>> : error: this is the location of the previous >>> definition >>> >>> and also: >>> >>> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8Console.cpp:49: >>> error: no matching function for call to >>> 'WebCore::ScriptCallStack::ScriptCallStack(const v8::Arguments&, int)' >>> ../bindings/v8/ScriptCallStack.h:58: note: candidates are: >>> WebCore::ScriptCallStack::ScriptCallStack(const v8::Arguments&, >>> unsigned int, WebCore::String, int) >>> ../bindings/v8/ScriptCallStack.h:46: note: >>> WebCore::ScriptCallStack::ScriptCallStack(const >>> WebCore::ScriptCallStack&) >>> >>> >>> >>> On Mon, Nov 2, 2009 at 10:38 PM, Kenneth
[chromium-dev] Re: Compiling error after I did a 'gclient sync'
Thanks. Kenneth, I fixed the "ENABLE_3D_CANVAS" redefined error. But I still get the following compilation error: In file included from /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../bindings/v8/DerivedSourcesAllInOne.cpp:65: /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8Console.cpp:40: error: no matching function for call to 'WebCore::ScriptCallStack::ScriptCallStack(const v8::Arguments&, int)' ../bindings/v8/ScriptCallStack.h:58: note: candidates are: WebCore::ScriptCallStack::ScriptCallStack(const v8::Arguments&, unsigned int, WebCore::String, int) ../bindings/v8/ScriptCallStack.h:46: note: WebCore::ScriptCallStack::ScriptCallStack(const WebCore::ScriptCallStack&) On Tue, Nov 3, 2009 at 6:40 PM, n179911 wrote: > Thanks Kenneth. > > I tried this. But I get > > I/Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webcore_bindings.build/DerivedSources/i386 > -I/Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webcore_bindings.build/DerivedSources > -c > /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/DerivedSources/Debug/webkit/HTMLElementFactory.cpp > -o > /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webcore_bindings.build/Objects-normal/i386/HTMLElementFactory.o > : error: "ENABLE_3D_CANVAS" redefined > : error: this is the location of the previous definition > : error: this is the location of the previous definition > > and also: > > /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8Console.cpp:49: > error: no matching function for call to > 'WebCore::ScriptCallStack::ScriptCallStack(const v8::Arguments&, int)' > ../bindings/v8/ScriptCallStack.h:58: note: candidates are: > WebCore::ScriptCallStack::ScriptCallStack(const v8::Arguments&, > unsigned int, WebCore::String, int) > ../bindings/v8/ScriptCallStack.h:46: note: > WebCore::ScriptCallStack::ScriptCallStack(const > WebCore::ScriptCallStack&) > > > > On Mon, Nov 2, 2009 at 10:38 PM, Kenneth Russell wrote: >> On Mon, Nov 2, 2009 at 10:27 PM, n179911 wrote: >>> >>> Hi, >>> >>> I have tried syncing up chromium HEAD by doing this (since i use git >>> for chromium and webkit). >>> $ git pull (update chromium) >>> $ gclient sync >>> $ tools/sync-webkit-git.py (update webkit) >>> >>> But i got the following errors when I compile it. It appears the >>> method 'CanvasRenderingContext3D::attachShader' is called with the >>> wrong number of parameters. >>> Does anyone know how to fix it? >>> >>> Thank you. >>> >>> chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:90: >>> error: no matching function for call to >>> 'WebCore::CanvasRenderingContext3D::attachShader(WebCore::CanvasProgram*&, >>> WebCore::CanvasShader*&)' >>> ../html/canvas/CanvasRenderingContext3D.h:64: note: candidates are: >>> void >>> WebCore::CanvasRenderingContext3D::attachShader(WebCore::CanvasProgram*, >>> WebCore::CanvasShader*, WebCore::ExceptionCode&) >>> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:101: >>> error: no matching function for call to >>> 'WebCore::CanvasRenderingContext3D::bindAttribLocation(WebCore::CanvasProgram*&, >>> unsigned int&, WebCore::String&)' >>> ../html/canvas/CanvasRenderingContext3D.h:65: note: candidates are: >>> void >>> WebCore::CanvasRenderingContext3D::bindAttribLocation(WebCore::CanvasProgram*, >>> long unsigned int, const WebCore::String&, WebCore::ExceptionCode&) >>> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:111: >>> error: no matching function for call to >>> 'WebCore::CanvasRenderingContext3D::bindBuffer(unsigned int&, >>> WebCore::CanvasBuffer*&)' >>> ../html/canvas/CanvasRenderingContext3D.h:66: note: candidates are: >>> void WebCore::CanvasRenderingContext3D::bindBuffer(long uns
[chromium-dev] Re: Compiling error after I did a 'gclient sync'
Thanks Kenneth. I tried this. But I get I/Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webcore_bindings.build/DerivedSources/i386 -I/Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webcore_bindings.build/DerivedSources -c /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/DerivedSources/Debug/webkit/HTMLElementFactory.cpp -o /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/Debug/webcore_bindings.build/Objects-normal/i386/HTMLElementFactory.o : error: "ENABLE_3D_CANVAS" redefined : error: this is the location of the previous definition : error: this is the location of the previous definition and also: /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8Console.cpp:49: error: no matching function for call to 'WebCore::ScriptCallStack::ScriptCallStack(const v8::Arguments&, int)' ../bindings/v8/ScriptCallStack.h:58: note: candidates are: WebCore::ScriptCallStack::ScriptCallStack(const v8::Arguments&, unsigned int, WebCore::String, int) ../bindings/v8/ScriptCallStack.h:46: note: WebCore::ScriptCallStack::ScriptCallStack(const WebCore::ScriptCallStack&) On Mon, Nov 2, 2009 at 10:38 PM, Kenneth Russell wrote: > On Mon, Nov 2, 2009 at 10:27 PM, n179911 wrote: >> >> Hi, >> >> I have tried syncing up chromium HEAD by doing this (since i use git >> for chromium and webkit). >> $ git pull (update chromium) >> $ gclient sync >> $ tools/sync-webkit-git.py (update webkit) >> >> But i got the following errors when I compile it. It appears the >> method 'CanvasRenderingContext3D::attachShader' is called with the >> wrong number of parameters. >> Does anyone know how to fix it? >> >> Thank you. >> >> chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:90: >> error: no matching function for call to >> 'WebCore::CanvasRenderingContext3D::attachShader(WebCore::CanvasProgram*&, >> WebCore::CanvasShader*&)' >> ../html/canvas/CanvasRenderingContext3D.h:64: note: candidates are: >> void WebCore::CanvasRenderingContext3D::attachShader(WebCore::CanvasProgram*, >> WebCore::CanvasShader*, WebCore::ExceptionCode&) >> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:101: >> error: no matching function for call to >> 'WebCore::CanvasRenderingContext3D::bindAttribLocation(WebCore::CanvasProgram*&, >> unsigned int&, WebCore::String&)' >> ../html/canvas/CanvasRenderingContext3D.h:65: note: candidates are: >> void >> WebCore::CanvasRenderingContext3D::bindAttribLocation(WebCore::CanvasProgram*, >> long unsigned int, const WebCore::String&, WebCore::ExceptionCode&) >> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:111: >> error: no matching function for call to >> 'WebCore::CanvasRenderingContext3D::bindBuffer(unsigned int&, >> WebCore::CanvasBuffer*&)' >> ../html/canvas/CanvasRenderingContext3D.h:66: note: candidates are: >> void WebCore::CanvasRenderingContext3D::bindBuffer(long unsigned int, >> WebCore::CanvasBuffer*, WebCore::ExceptionCode&) > > It looks like upstream WebKit changes have broken our WebGL > implementation again. The reason you're running into this is probably > that you synced a more recent version of WebKit than is described in > the DEPS file. Your best bet to get things compiling again quickly is > to set ENABLE_3D_CANVAS=0 in src/build/features_override.gypi, run > "gclient runhooks --force", and rebuild. > > -Ken > --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: Compiling error after I did a 'gclient sync'
Thanks. Chase. I tried this, I get the same error. error: no matching function for call to 'WebCore::CanvasRenderingContext3D::attachShader(WebCore::CanvasProgram*&, WebCore::CanvasShader*&)' ../html/canvas/CanvasRenderingContext3D.h:64: note: candidates are: void WebCore::CanvasRenderingContext3D::attachShader(WebCore::CanvasProgram*, WebCore::CanvasShader*, WebCore::ExceptionCode&) On Mon, Nov 2, 2009 at 10:37 PM, Chase Phillips wrote: > On Mon, Nov 2, 2009 at 10:27 PM, n179911 wrote: >> >> Hi, >> >> I have tried syncing up chromium HEAD by doing this (since i use git >> for chromium and webkit). >> $ git pull (update chromium) >> $ gclient sync >> $ tools/sync-webkit-git.py (update webkit) > > Hi Samuel, > The error you're seeing might be caused by incorrectly generated build > files. Try this order, instead: > $ git pull > $ tools/sync-webkit-git.py > $ gclient sync > Then build. > Chase > >> >> But i got the following errors when I compile it. It appears the >> method 'CanvasRenderingContext3D::attachShader' is called with the >> wrong number of parameters. >> Does anyone know how to fix it? >> >> Thank you. >> >> >> chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:90: >> error: no matching function for call to >> 'WebCore::CanvasRenderingContext3D::attachShader(WebCore::CanvasProgram*&, >> WebCore::CanvasShader*&)' >> ../html/canvas/CanvasRenderingContext3D.h:64: note: candidates are: >> void >> WebCore::CanvasRenderingContext3D::attachShader(WebCore::CanvasProgram*, >> WebCore::CanvasShader*, WebCore::ExceptionCode&) >> >> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:101: >> error: no matching function for call to >> >> 'WebCore::CanvasRenderingContext3D::bindAttribLocation(WebCore::CanvasProgram*&, >> unsigned int&, WebCore::String&)' >> ../html/canvas/CanvasRenderingContext3D.h:65: note: candidates are: >> void >> WebCore::CanvasRenderingContext3D::bindAttribLocation(WebCore::CanvasProgram*, >> long unsigned int, const WebCore::String&, WebCore::ExceptionCode&) >> >> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:111: >> error: no matching function for call to >> 'WebCore::CanvasRenderingContext3D::bindBuffer(unsigned int&, >> WebCore::CanvasBuffer*&)' >> ../html/canvas/CanvasRenderingContext3D.h:66: note: candidates are: >> void WebCore::CanvasRenderingContext3D::bindBuffer(long unsigned int, >> WebCore::CanvasBuffer*, WebCore::ExceptionCode&) >> >> >> > > --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Compiling error after I did a 'gclient sync'
Hi, I have tried syncing up chromium HEAD by doing this (since i use git for chromium and webkit). $ git pull (update chromium) $ gclient sync $ tools/sync-webkit-git.py (update webkit) But i got the following errors when I compile it. It appears the method 'CanvasRenderingContext3D::attachShader' is called with the wrong number of parameters. Does anyone know how to fix it? Thank you. chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:90: error: no matching function for call to 'WebCore::CanvasRenderingContext3D::attachShader(WebCore::CanvasProgram*&, WebCore::CanvasShader*&)' ../html/canvas/CanvasRenderingContext3D.h:64: note: candidates are: void WebCore::CanvasRenderingContext3D::attachShader(WebCore::CanvasProgram*, WebCore::CanvasShader*, WebCore::ExceptionCode&) /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:101: error: no matching function for call to 'WebCore::CanvasRenderingContext3D::bindAttribLocation(WebCore::CanvasProgram*&, unsigned int&, WebCore::String&)' ../html/canvas/CanvasRenderingContext3D.h:65: note: candidates are: void WebCore::CanvasRenderingContext3D::bindAttribLocation(WebCore::CanvasProgram*, long unsigned int, const WebCore::String&, WebCore::ExceptionCode&) /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:111: error: no matching function for call to 'WebCore::CanvasRenderingContext3D::bindBuffer(unsigned int&, WebCore::CanvasBuffer*&)' ../html/canvas/CanvasRenderingContext3D.h:66: note: candidates are: void WebCore::CanvasRenderingContext3D::bindBuffer(long unsigned int, WebCore::CanvasBuffer*, WebCore::ExceptionCode&) --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] How does ResourceHandleInternal::start get called
Hi, I am trying to figure out how does ResourceHandleInternal::start() get called. I put breakpoint in debugger, and I think it is driven by a Timeout: see '#220x071e2b7a in webkit_glue::WebKitClientImpl::DoTimeout at webkitclient_impl.h:97' in the stack track. How can I find out where is the code which setup this timer? #0 0x0686e96b in WebCore::ResourceHandleInternal::start at ResourceHandle.cpp:87 #1 0x0686eaa6 in WebCore::ResourceHandle::start at ResourceHandle.cpp:214 #2 0x0686eb4e in WebCore::ResourceHandle::create at ResourceHandle.cpp:186 #3 0x06d9d44b in WebCore::MainResourceLoader::loadNow at MainResourceLoader.cpp:471 #4 0x06d9d6e8 in WebCore::MainResourceLoader::load at MainResourceLoader.cpp:495 #5 0x06d6c76d in WebCore::DocumentLoader::startLoadingMainResource at DocumentLoader.cpp:790 #6 0x06d83e47 in WebCore::FrameLoader::continueLoadAfterWillSubmitForm at FrameLoader.cpp:3164 #7 0x071db890 in WebFrameLoaderClient::dispatchWillSubmitForm at webframeloaderclient_impl.cc:865 #8 0x06d926b5 in WebCore::FrameLoader::continueLoadAfterNavigationPolicy at FrameLoader.cpp:3796 #9 0x06d92722 in WebCore::FrameLoader::callContinueLoadAfterNavigationPolicy at FrameLoader.cpp:3729 #10 0x06da0f4a in WebCore::PolicyCheck::call at PolicyCheck.cpp:101 #11 0x06d822b3 in WebCore::FrameLoader::continueAfterNavigationPolicy at FrameLoader.cpp:3722 #12 0x071dbcfa in WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction at webframeloaderclient_impl.cc:848 #13 0x06d82683 in WebCore::FrameLoader::checkNavigationPolicy at FrameLoader.cpp:3691 #14 0x06d84775 in WebCore::FrameLoader::loadWithDocumentLoader at FrameLoader.cpp:2144 #15 0x06d84f3b in WebCore::FrameLoader::loadWithNavigationAction at FrameLoader.cpp:2075 #16 0x06d8698e in WebCore::FrameLoader::loadURL at FrameLoader.cpp:2018 #17 0x06d87f2d in WebCore::FrameLoader::loadFrameRequest at FrameLoader.cpp:1955 #18 0x06da4b81 in WebCore::RedirectScheduler::timerFired at RedirectScheduler.cpp:296 #19 0x06da55c3 in WebCore::Timer::fired at Timer.h:98 #20 0x06ed3cf5 in WebCore::ThreadTimers::sharedTimerFiredInternal at ThreadTimers.cpp:112 #21 0x06ed3e3f in WebCore::ThreadTimers::sharedTimerFired at ThreadTimers.cpp:90 #22 0x071e2b7a in webkit_glue::WebKitClientImpl::DoTimeout at webkitclient_impl.h:97 #23 0x071e2c8c in DispatchToMethod at tuple.h:412 #24 0x071e2ccf in base::BaseTimer::TimerTask::Run at timer.h:159 #25 0x060ff598 in MessageLoop::RunTask at message_loop.cc:314 #26 0x060ffc99 in MessageLoop::DeferOrRunPendingTask at message_loop.cc:322 #27 0x060fff29 in MessageLoop::DoWork at message_loop.cc:429 #28 0x06107d5f in base::MessagePumpCFRunLoopBase::RunWork at message_pump_mac.mm:217 #29 0x06107da5 in base::MessagePumpCFRunLoopBase::RunWorkSource at message_pump_mac.mm:197 #30 0x905c05df in CFRunLoopRunSpecific #31 0x905c0c78 in CFRunLoopRunInMode #32 0x91a4428c in RunCurrentEventLoopInMode #33 0x91a440a5 in ReceiveNextEventCommon #34 0x91a43f19 in BlockUntilNextEventMatchingListInMode #35 0x94a75d0d in _DPSNextEvent #36 0x94a755c0 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] #37 0x94a6e5fb in -[NSApplication run] #38 0x06107b23 in base::MessagePumpNSApplication::DoRun at message_pump_mac.mm:482 #39 0x06107e55 in base::MessagePumpCFRunLoopBase::Run at message_pump_mac.mm:146 #40 0x06100526 in MessageLoop::RunInternal at message_loop.cc:199 #41 0x06100541 in MessageLoop::RunHandler at message_loop.cc:181 #42 0x061005a5 in MessageLoop::Run at message_loop.cc:155 #43 0x060ac403 in RendererMain at renderer_main.cc:167 #44 0x05aade9f in ChromeMain at chrome_dll_main.cc:552 #45 0x1ffe in main at chrome_exe_main.mm:17 Thank you. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Loading problems chromium on mac os x
Hi, I have download the source of chromium and compile it on mac osx. After I build it, I load sites like 'www.cnn.com', 'www.nytimes.com', it starts loading but it never finishes. I eventually get this 'The following pages have become unresponsive. You can wait for them to become responsive or kill them'. But when I load 'www.google.com' or 'news.google.com', they both work fine. I have been gclient sync the last couple of days, but I see the same problem. Does anyone here see the same problem? Thank you. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Question about Browser IO thread
Hi, >From this chromium document, http://sites.google.com/a/chromium.org/dev/developers/design-documents/multi-process-architecture Browser has an IO thread which receives messages from each Renderer process and dispatch them to Browser Process. But when I look at the code , the IOThread class in browser_process_impl.cc just contains below. It does not has any logic which dispatches messages. Can you please tell me if it is the right code? if not , can you please point me to the right place? class IOThread : public BrowserProcessSubThread { public: IOThread() : BrowserProcessSubThread(ChromeThread::IO) {} virtual ~IOThread() { // We cannot rely on our base class to stop the thread since we want our // CleanUp function to run. Stop(); } protected: virtual void CleanUp() { // URLFetcher and URLRequest instances must NOT outlive the IO thread. base::LeakTracker::CheckForLeaks(); base::LeakTracker::CheckForLeaks(); BrowserProcessSubThread::CleanUp(); } }; --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: Lock the Render process in chromium
On Thu, Aug 20, 2009 at 6:31 AM, Evan Martin wrote: > kill -STOP > ? I don't want the renderer process to die. I just want it 'locked' so that i can dump out information of the page (DOM, CSS) of the page. And I want the page unchange during the information dumping. Sorry for not making my question clear. > On Thu, Aug 20, 2009 at 12:23 AM, n179911 wrote: >> >> Hi, >> >> Is there anyway to 'lock' the Render process in chromium? Which means >> Renderer does not do these during the 'lock' period >> * repaint the screen >> * no dom modification >> * no render tree modification >> * no javascript context modification >> >> Thank you for any idea. >> >> >> >> > --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Lock the Render process in chromium
Hi, Is there anyway to 'lock' the Render process in chromium? Which means Renderer does not do these during the 'lock' period * repaint the screen * no dom modification * no render tree modification * no javascript context modification Thank you for any idea. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Does Chromium use boost library
Hi, Does Chromium use boost library? In the source tree, i see there is a 'boost' directory under 'third-party'. It appears to be an incomplete version of boost 1.36. I said incomplete since a lot of directories of boost are missing? Does anyone know why is that? Thank you. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] How to simulate a MMS message on emulator
Hi, How to simulate a MMS message on emulator? >From the eclipse android plugins, I can only see 'SMS'. I don't see any MMS message. Thank you. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Font used in groups.google.com in Chromium on MacOSX
Hi, I am using the latest Chromium on MacOSX. When I go to groups.google.com, the font in the message text is always smaller (hard to read) than the font I see on Safari/Firefox on the same site. For example: http://groups.google.com/group/chromium-dev/browse_thread/thread/1d336154b14dfcd9 I have inspected element for the message text. I use 'font-family' Courier, Monospaced and the font-size is 100%. Can you please tell me how does Chromium determine what is the actual font size (in points) to render those message text? Thank you. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] How to debug "Aw, Snap!" error
Hi, When I load a page on chromium that I run on debugger,I get 'Aw, Snap! Something went wrong while displaying this webpage.' error. And I see this in the console: WebCore::FrameView::paintContents(WebCore::GraphicsContext*, const WebCore::IntRect&)) LEAK: 1899 RenderObject LEAK: 1 Page LEAK: 19 Frame LEAK: 1 SubresourceLoader LEAK: 141 CachedResource LEAK: 4197 WebCoreNode [1487:2067:12214450218929:ERROR:../chrome/common/temp_scaffolding_stubs.h(75)] Not implemented reached in bool printing::PrintViewManager::OnRenderViewGone(RenderViewHost*) My question is how can i debug problem like this? Is there a stack trace or core dump for situation like this? Thank you. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Git usage in chromium
Hi, I read this about git usage in chromium: http://code.google.com/p/chromium/wiki/UsingGit It looks like it is using a combination of git and svn for version control. Can you please tell me what are using git and what are using svn? My guess is third-party/webkit will be using svn and everything else is git? Is that correct? Thank you. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] How to disable plugin support in chromium on Mac OSX
Hi, I notice the latest trunk of chromium has flash plugin support. Can you please tell me how can I disable plugin support in my own chromium build on Mac OSX so that when I execute chomium in XCode flash plugin is not enabled? Thank you. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: Question about chromium sandbox on Mac OSX
Thank you all. I have a better understanding now. I just try to log some debug info of the renderer in /tmp that may help me understand things better. Regards, On Thu, Jul 30, 2009 at 7:36 PM, Jeremy Moskovich wrote: > The easiest way would be to add a rule to renderer.sb, the language it uses > is undocumented but very easy to use, you can find the file in the source > tree. > > May I ask why you want the renderer to be able to read/write files in /tmp? > > Best regards, > Jeremy > > On Thu, Jul 30, 2009 at 7:32 PM, n179911 wrote: >> >> I would like to change it so that the renderer can create/write file on >> /tmp. >> >> Like this 'kSBXProfileNoWriteExceptTemporary' profile. >> >> On Thu, Jul 30, 2009 at 9:43 AM, Jeremy Moskovich >> wrote: >> > Is this just out of curiosity? Is there something specific you're >> > trying to >> > achieve? >> > On Thu, Jul 30, 2009 at 9:32 AM, n179911 wrote: >> >> >> >> On Thu, Jul 30, 2009 at 9:08 AM, Jeremy Moskovich >> >> wrote: >> >> > Hi, >> >> > It would really help if you could provide some details on what your >> >> > trying >> >> > to do. >> >> > Best regards, >> >> > Jeremy >> >> > >> >> From the >> >> >> >> http://dev.chromium.org/developers/design-documents/sandbox/osx-sandboxing-design >> >> >> >> It said "In the renderer, we would probably want to use a combination >> >> of >> >> kSBXProfileNoNetwork and kSBXProfileNoWrite. If possible, we would >> >> like to get by with kSBXProfilePureComputation," >> >> >> >> I am trying to see what it the current setting in chromium. I can't >> >> find that in renderer.sb or when sandbox_init() is called. And then I >> >> would want to see if I can switch it to 'kSBXProfilePureComputation' >> >> and see what may break. >> >> >> >> Regards, >> >> >> >> >> >> >> >> > On Thu, Jul 30, 2009 at 9:06 AM, n179911 wrote: >> >> >> >> >> >> Thank you. Can you please tell me how can I change the configure >> >> >> file >> >> >> (renderer.sb) to use >> >> >> other sandbox profile, like the one described in man page: >> >> >> >> >> >> * kSBXProfileNoInternet >> >> >> * kSBXProfileNoNetwork >> >> >> * kSBXProfileNoWrite >> >> >> * kSBXProfileNoWriteExceptTemporary >> >> >> * kSBXProfilePureComputation >> >> >> >> >> >> And I did try looking for the sandbox configuration format, but this >> >> >> is the only thing I found, but it does not contain sandbox config >> >> >> file >> >> >> format >> >> >> >> >> >> >> >> >> >> >> >> http://developer.apple.com/DOCUMENTATION/DARWIN/Reference/ManPages/man3/sandbox_init.3.html >> >> >> >> >> >> >> >> >> On Thu, Jul 30, 2009 at 5:21 AM, Thomas Van >> >> >> Lenten >> >> >> wrote: >> >> >> > Those constants are pre-configured settings. The NAMED_EXTERNAL >> >> >> > flag >> >> >> > lets >> >> >> > us pass in our own config, which is the renderer.sb. Apple hasn't >> >> >> > really >> >> >> > documented the file format, but if you do some searching on the >> >> >> > web, >> >> >> > you'll >> >> >> > find some documentation folks have figured out and I believe there >> >> >> > was a >> >> >> > talk given at one point by some of the Apple folks that work on >> >> >> > it. >> >> >> > TVL >> >> >> > >> >> >> > On Thu, Jul 30, 2009 at 2:32 AM, n179911 >> >> >> > wrote: >> >> >> >> >> >> >> >> Hi, >> >> >> >> >> >> >> >> I read this article: >> >> >> >> >> >> >> >> >> >> >>
[chromium-dev] Re: Question about chromium sandbox on Mac OSX
I would like to change it so that the renderer can create/write file on /tmp. Like this 'kSBXProfileNoWriteExceptTemporary' profile. On Thu, Jul 30, 2009 at 9:43 AM, Jeremy Moskovich wrote: > Is this just out of curiosity? Is there something specific you're trying to > achieve? > On Thu, Jul 30, 2009 at 9:32 AM, n179911 wrote: >> >> On Thu, Jul 30, 2009 at 9:08 AM, Jeremy Moskovich >> wrote: >> > Hi, >> > It would really help if you could provide some details on what your >> > trying >> > to do. >> > Best regards, >> > Jeremy >> > >> From the >> http://dev.chromium.org/developers/design-documents/sandbox/osx-sandboxing-design >> >> It said "In the renderer, we would probably want to use a combination of >> kSBXProfileNoNetwork and kSBXProfileNoWrite. If possible, we would >> like to get by with kSBXProfilePureComputation," >> >> I am trying to see what it the current setting in chromium. I can't >> find that in renderer.sb or when sandbox_init() is called. And then I >> would want to see if I can switch it to 'kSBXProfilePureComputation' >> and see what may break. >> >> Regards, >> >> >> >> > On Thu, Jul 30, 2009 at 9:06 AM, n179911 wrote: >> >> >> >> Thank you. Can you please tell me how can I change the configure file >> >> (renderer.sb) to use >> >> other sandbox profile, like the one described in man page: >> >> >> >> * kSBXProfileNoInternet >> >> * kSBXProfileNoNetwork >> >> * kSBXProfileNoWrite >> >> * kSBXProfileNoWriteExceptTemporary >> >> * kSBXProfilePureComputation >> >> >> >> And I did try looking for the sandbox configuration format, but this >> >> is the only thing I found, but it does not contain sandbox config file >> >> format >> >> >> >> >> >> http://developer.apple.com/DOCUMENTATION/DARWIN/Reference/ManPages/man3/sandbox_init.3.html >> >> >> >> >> >> On Thu, Jul 30, 2009 at 5:21 AM, Thomas Van >> >> Lenten >> >> wrote: >> >> > Those constants are pre-configured settings. The NAMED_EXTERNAL flag >> >> > lets >> >> > us pass in our own config, which is the renderer.sb. Apple hasn't >> >> > really >> >> > documented the file format, but if you do some searching on the web, >> >> > you'll >> >> > find some documentation folks have figured out and I believe there >> >> > was a >> >> > talk given at one point by some of the Apple folks that work on it. >> >> > TVL >> >> > >> >> > On Thu, Jul 30, 2009 at 2:32 AM, n179911 wrote: >> >> >> >> >> >> Hi, >> >> >> >> >> >> I read this article: >> >> >> >> >> >> >> >> >> >> >> >> http://dev.chromium.org/developers/design-documents/sandbox/osx-sandboxing-design >> >> >> >> >> >> It said Mac OSX supports five constants for sandbox access >> >> >> restrictions: >> >> >> >> >> >> * kSBXProfileNoInternet >> >> >> * kSBXProfileNoNetwork >> >> >> * kSBXProfileNoWrite >> >> >> * kSBXProfileNoWriteExceptTemporary >> >> >> * kSBXProfilePureComputation >> >> >> >> >> >> In the renderer, we would probably want to use a combination of >> >> >> kSBXProfileNoNetwork and kSBXProfileNoWrite. If possible, we would >> >> >> like to get by with kSBXProfilePureComputation, >> >> >> >> >> >> Can you please which access restrictions the renderer of chromium is >> >> >> currently set to? >> >> >> I have looked at renderer_main_platform_delegate_mac.mm, which I >> >> >> believe is how/where chromium set the access restrictions to. But >> >> >> from >> >> >> the code, i can't tell which access restrictions it assigns to >> >> >> renderer. >> >> >> >> >> >> int error = sandbox_init(sandbox_profile, SANDBOX_NAMED_EXTERNAL, >> >> >> &error_buff); >> >> >> >> >> >> And I have looked at the file 'renderer.sb', it does not contains >> >> >> any >> >> >> of the above 5 access restrictions string either. >> >> >> >> >> >> Thank you for your help. >> >> >> >> >> >> Regards, >> >> >> >> >> >> >> >> >> > >> >> > >> >> >> >> >> >> >> > >> > > > --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: Question about chromium sandbox on Mac OSX
On Thu, Jul 30, 2009 at 9:08 AM, Jeremy Moskovich wrote: > Hi, > It would really help if you could provide some details on what your trying > to do. > Best regards, > Jeremy > >From the >http://dev.chromium.org/developers/design-documents/sandbox/osx-sandboxing-design It said "In the renderer, we would probably want to use a combination of kSBXProfileNoNetwork and kSBXProfileNoWrite. If possible, we would like to get by with kSBXProfilePureComputation," I am trying to see what it the current setting in chromium. I can't find that in renderer.sb or when sandbox_init() is called. And then I would want to see if I can switch it to 'kSBXProfilePureComputation' and see what may break. Regards, > On Thu, Jul 30, 2009 at 9:06 AM, n179911 wrote: >> >> Thank you. Can you please tell me how can I change the configure file >> (renderer.sb) to use >> other sandbox profile, like the one described in man page: >> >> * kSBXProfileNoInternet >> * kSBXProfileNoNetwork >> * kSBXProfileNoWrite >> * kSBXProfileNoWriteExceptTemporary >> * kSBXProfilePureComputation >> >> And I did try looking for the sandbox configuration format, but this >> is the only thing I found, but it does not contain sandbox config file >> format >> >> http://developer.apple.com/DOCUMENTATION/DARWIN/Reference/ManPages/man3/sandbox_init.3.html >> >> >> On Thu, Jul 30, 2009 at 5:21 AM, Thomas Van Lenten >> wrote: >> > Those constants are pre-configured settings. The NAMED_EXTERNAL flag >> > lets >> > us pass in our own config, which is the renderer.sb. Apple hasn't >> > really >> > documented the file format, but if you do some searching on the web, >> > you'll >> > find some documentation folks have figured out and I believe there was a >> > talk given at one point by some of the Apple folks that work on it. >> > TVL >> > >> > On Thu, Jul 30, 2009 at 2:32 AM, n179911 wrote: >> >> >> >> Hi, >> >> >> >> I read this article: >> >> >> >> >> >> http://dev.chromium.org/developers/design-documents/sandbox/osx-sandboxing-design >> >> >> >> It said Mac OSX supports five constants for sandbox access >> >> restrictions: >> >> >> >> * kSBXProfileNoInternet >> >> * kSBXProfileNoNetwork >> >> * kSBXProfileNoWrite >> >> * kSBXProfileNoWriteExceptTemporary >> >> * kSBXProfilePureComputation >> >> >> >> In the renderer, we would probably want to use a combination of >> >> kSBXProfileNoNetwork and kSBXProfileNoWrite. If possible, we would >> >> like to get by with kSBXProfilePureComputation, >> >> >> >> Can you please which access restrictions the renderer of chromium is >> >> currently set to? >> >> I have looked at renderer_main_platform_delegate_mac.mm, which I >> >> believe is how/where chromium set the access restrictions to. But from >> >> the code, i can't tell which access restrictions it assigns to >> >> renderer. >> >> >> >> int error = sandbox_init(sandbox_profile, SANDBOX_NAMED_EXTERNAL, >> >> &error_buff); >> >> >> >> And I have looked at the file 'renderer.sb', it does not contains any >> >> of the above 5 access restrictions string either. >> >> >> >> Thank you for your help. >> >> >> >> Regards, >> >> >> >> >> >> > >> > >> >> >> > > --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: Question about chromium sandbox on Mac OSX
Thank you. Can you please tell me how can I change the configure file (renderer.sb) to use other sandbox profile, like the one described in man page: * kSBXProfileNoInternet * kSBXProfileNoNetwork * kSBXProfileNoWrite * kSBXProfileNoWriteExceptTemporary * kSBXProfilePureComputation And I did try looking for the sandbox configuration format, but this is the only thing I found, but it does not contain sandbox config file format http://developer.apple.com/DOCUMENTATION/DARWIN/Reference/ManPages/man3/sandbox_init.3.html On Thu, Jul 30, 2009 at 5:21 AM, Thomas Van Lenten wrote: > Those constants are pre-configured settings. The NAMED_EXTERNAL flag lets > us pass in our own config, which is the renderer.sb. Apple hasn't really > documented the file format, but if you do some searching on the web, you'll > find some documentation folks have figured out and I believe there was a > talk given at one point by some of the Apple folks that work on it. > TVL > > On Thu, Jul 30, 2009 at 2:32 AM, n179911 wrote: >> >> Hi, >> >> I read this article: >> >> http://dev.chromium.org/developers/design-documents/sandbox/osx-sandboxing-design >> >> It said Mac OSX supports five constants for sandbox access restrictions: >> >> * kSBXProfileNoInternet >> * kSBXProfileNoNetwork >> * kSBXProfileNoWrite >> * kSBXProfileNoWriteExceptTemporary >> * kSBXProfilePureComputation >> >> In the renderer, we would probably want to use a combination of >> kSBXProfileNoNetwork and kSBXProfileNoWrite. If possible, we would >> like to get by with kSBXProfilePureComputation, >> >> Can you please which access restrictions the renderer of chromium is >> currently set to? >> I have looked at renderer_main_platform_delegate_mac.mm, which I >> believe is how/where chromium set the access restrictions to. But from >> the code, i can't tell which access restrictions it assigns to >> renderer. >> >> int error = sandbox_init(sandbox_profile, SANDBOX_NAMED_EXTERNAL, >> &error_buff); >> >> And I have looked at the file 'renderer.sb', it does not contains any >> of the above 5 access restrictions string either. >> >> Thank you for your help. >> >> Regards, >> >> >> > > --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Question about chromium sandbox on Mac OSX
Hi, I read this article: http://dev.chromium.org/developers/design-documents/sandbox/osx-sandboxing-design It said Mac OSX supports five constants for sandbox access restrictions: * kSBXProfileNoInternet * kSBXProfileNoNetwork * kSBXProfileNoWrite * kSBXProfileNoWriteExceptTemporary * kSBXProfilePureComputation In the renderer, we would probably want to use a combination of kSBXProfileNoNetwork and kSBXProfileNoWrite. If possible, we would like to get by with kSBXProfilePureComputation, Can you please which access restrictions the renderer of chromium is currently set to? I have looked at renderer_main_platform_delegate_mac.mm, which I believe is how/where chromium set the access restrictions to. But from the code, i can't tell which access restrictions it assigns to renderer. int error = sandbox_init(sandbox_profile, SANDBOX_NAMED_EXTERNAL, &error_buff); And I have looked at the file 'renderer.sb', it does not contains any of the above 5 access restrictions string either. Thank you for your help. Regards, --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: How to attach to Renderer Process in XCode
On Sun, Jul 26, 2009 at 3:52 PM, Jeremy Moskovich wrote: > Command line gdb is one way to go... > > I always use the XCode IDE gdb integration, as documented on the wiki. > While trying to attach to the Chrome process directly from the IDE can get > funky, the method documented on the wiki always works for me. > > XCode attaches itself to a running renderer which is paused [by calling > pause() ] so you need to click continue in the IDE to get it to keep running > and render a webpage. > > It's possible that the broken pipe you're seeing is the result of killing > the renderer from the debugger. > Thank you for the help. I did what you suggest. And I attached gdb to 2516 via command line. Chromium does start and I see the 'New tab page'. Like this: $ ~/chromium/src/xcodebuild/Debug/Chromium.app/Contents/MacOS/Chromium --renderer-stp-dialog [2516:2055:3122095122007:WARNING:/Users/n179911/chromium/src/chrome/renderer/renderer_main.cc(65)] Renderer (2516) paused waiting for debugger to attach @ pid Then I go to the URL text box of chromium and type in 'http://www.cnn.com' But what I get is I see this but with a new pid (2220). [2516:2055:3122095122007:WARNING:/Users/n179911/chromium/src/chrome/renderer/renderer_main.cc(65)] Renderer (2220) paused waiting for debugger to attach @ pid But question is why chromium starts a new Renderer process when I just trying to load my first URL (http://www.cnn.com). Why it does not re-used 2516 before? Thanks in advance. > Best regards, > Jeremy > > On Sun, Jul 26, 2009 at 9:23 PM, n179911 wrote: >> >> On Thu, Jul 16, 2009 at 12:46 AM, Jeremy Moskovich >> wrote: >> > You can find instructions here: >> > http://dev.chromium.org/developers/debugging-on-os-x >> > Ultimately, we should really combine all the platform debugging articles >> > into one page :| >> > Best regards, >> > Jeremy >> >> Thanks. I tried it. I saw this in the shell: >> >> >> [460:2055:4872081828141:WARNING:/Users/n179911/chromium/src/chrome/renderer/renderer_main.cc(65)] >> Renderer (460) paused waiting for debugger to attach @ pid >> >> And then I got XCode and Attached to '460'. >> But i see this in my shell, and chromium never get launched. >> >> >> [460:11783:4914670085769:ERROR:/Users/n179911/chromium/src/ipc/ipc_channel_posix.cc(649)] >> pipe error on 3: Broken pipe >> >> Thank you for any help. >> >> >> > >> > On Thu, Jul 16, 2009 at 9:29 AM, hap497 wrote: >> >> >> >> Hi, >> >> >> >> chromium.org has this >> >> http://dev.chromium.org/developers/how-tos/debugging >> >> for debugging renderer process on Windows. My question is how can I >> >> do the same in XCode on MacOS X? >> >> >> >> I go to Run->Attach To Process, all the menu item entries are >> >> disabled. >> >> >> >> Thank you for any tip. >> >> >> >> >> >> >> > >> > >> > >> > >> > > > --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: How to attach to Renderer Process in XCode
On Thu, Jul 16, 2009 at 12:46 AM, Jeremy Moskovich wrote: > You can find instructions here: > http://dev.chromium.org/developers/debugging-on-os-x > Ultimately, we should really combine all the platform debugging articles > into one page :| > Best regards, > Jeremy Thanks. I tried it. I saw this in the shell: [460:2055:4872081828141:WARNING:/Users/n179911/chromium/src/chrome/renderer/renderer_main.cc(65)] Renderer (460) paused waiting for debugger to attach @ pid And then I got XCode and Attached to '460'. But i see this in my shell, and chromium never get launched. [460:11783:4914670085769:ERROR:/Users/n179911/chromium/src/ipc/ipc_channel_posix.cc(649)] pipe error on 3: Broken pipe Thank you for any help. > > On Thu, Jul 16, 2009 at 9:29 AM, hap497 wrote: >> >> Hi, >> >> chromium.org has this http://dev.chromium.org/developers/how-tos/debugging >> for debugging renderer process on Windows. My question is how can I >> do the same in XCode on MacOS X? >> >> I go to Run->Attach To Process, all the menu item entries are >> disabled. >> >> Thank you for any tip. >> >> >> > > > > > --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] WebContents class in chromium?
Hi, For http://dev.chromium.org/developers/how-tos/getting-around-the-chrome-source-code, it said For web content, this specialization is WebContents in chrome/browser/web_contents.cc. There are also a few other types for more specialized tabs. We will assume we are creating a web page. But I checkout chromium source code, but I can't find the file web_contents.cc or I can't find the class WebContents anywhere. Can you please tell me what 'tab content' are created for Web content now? Thank you. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: Problem in starting My Chromium on MacOSX
On Wed, Jul 15, 2009 at 4:18 PM, Jens Alfke wrote: > > On Jul 15, 2009, at 3:50 PM, Albert J. Wong (王重傑) wrote: > >> Since you built it, you should be able to fire it up in a debugger and see >> where it's dying. That's what I'd try first. > > More precisely: > * Open chrome.xcodeproj > * Make sure the "chrome" executable is active > * Choose Run > Activate Breakpoints > * Choose Run > Go > Thanks for all the help. I fix the problem by removing my ~/Library/Application Support/Chromium directory and start the chromium I built again. > —Jens --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Problem in starting My Chromium on MacOSX
Hi, I download the source of chromium and build successfully on MacOSX. When I start the TestShell.app, it launches successfully and I can load a page (www.cnn.com) But when I start the Chromium.app, i see the Chromium appears on the Dock for 1-2 seconds and then it kills itself. Can you please tell me how can I get more information why my Chromium fails to launch? Or what am i missing to start my Chromium on Macos x. Thank you. p.s. Sorry for cross-posting. I couldn't get any help in chromium-discuss mailing list. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Where is the implmentation of GraphincsContext::drawLine
Hi, In GraphicsContext.h, it has this method declaration: void drawLine(const IntPoint&, const IntPoint&); But can you please tell me where i can find the implementation of the method? I can't find that in GraphicsContext.cpp. I am looking for the implementation on MacOS X. Thank you. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: Font handling in chromium
On Tue, Jun 30, 2009 at 12:31 PM, Adam Langley wrote: > On Tue, Jun 30, 2009 at 12:29 PM, n179911 wrote: >> How does Chromium handling font loading? > > Which platform? > MacOS X and Linux. Thank you. > > AGL > --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Font handling in chromium
Hi, How does Chromium handling font loading? For example, the following css, each element has it own font, can you please point me to the code where chromium loads up each font? And then use each font's font matrix (with height/width of each character) during layout? h4 { font-family: sans-serif; } h5 { font-family: serif; } h6 { font-family: arial; } For example hello world It needs to calculate where (x,y) of each text 'hello' 'world' begin and end. I found this thread for Webkit, saying it uses 'libicu'. for Webkit. http://lists.macosforge.org/pipermail/webkit-dev/2009-April/007430.html Is it the same as chromium? Thank you. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: How does chromium use SkCanvas
Thank you very much for the detailed response. On Mon, Jun 29, 2009 at 4:49 AM, Amanda Walker wrote: > Sorry for the typos--I'm still working on my first coffee of the day :-). > > On Mon, Jun 29, 2009 at 7:47 AM, Amanda Walker wrote: >> There are no active plans at the moment, but it could be done if a >> strong reason to arose. > > to -> to do so > >> code charing with Apple. > > charing -> sharing > > --Amanda > (off to finish that coffee) > --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: How does chromium use SkCanvas
Thanks. I am trying to know how chromium on MacOSX paints content (like background for div (div/table cell), text). So I now I assume Chromium on MacOSX and WebKit are using the same library , i.e. not Skia . On Sun, Jun 28, 2009 at 5:33 PM, Amanda Walker wrote: > The Mac OS X port uses CoreGraphics to render page contents rather > than Skia (it shares most of the rendering code with Apple's mac port, > though Skia is used elsewhere in Mac Chrome for a variety of > purposes). If you are trying to learn more about Skia, I would > suggest trying the Linux version (which uses Skia for page rendering) > or the Windows version (which uses Skia for page rendering except for > text). > > --Amanda > > > On Sun, Jun 28, 2009 at 7:57 PM, n179911 wrote: >> >> Thank you to both answer. >> >> I am just running/debugging the TestShell XCode project. So I expect >> to break the painting code, but it did not. >> >> Thank you. >> >> >> On Sun, Jun 28, 2009 at 4:40 PM, Adam Langley wrote: >>> On Sun, Jun 28, 2009 at 2:58 PM, n179911 wrote: >>>> I assume the following function get calls, >>>> >>>> SkCanvas::drawRoundRect >>>> SkCanvas::drawRect >>>> SkCanvas::drawLine >>>> >>>> But when I set breakpoints at the above methods, it never breaks when >>>> I load the a page with DIV tags. >>>> >>>> Can you please tell me how chromium paints a Rect on screen? In the >>>> example i mentioned above. >>> >>> Keep in mind that Chromium is multi-process. You are probably setting >>> those breakpoints in the browser process, but it's the renderer >>> process which does the painting. >>> >>> >>> >>> AGL >>> >> >> >> >> > --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Re: How does chromium use SkCanvas
Thank you to both answer. I am just running/debugging the TestShell XCode project. So I expect to break the painting code, but it did not. Thank you. On Sun, Jun 28, 2009 at 4:40 PM, Adam Langley wrote: > On Sun, Jun 28, 2009 at 2:58 PM, n179911 wrote: >> I assume the following function get calls, >> >> SkCanvas::drawRoundRect >> SkCanvas::drawRect >> SkCanvas::drawLine >> >> But when I set breakpoints at the above methods, it never breaks when >> I load the a page with DIV tags. >> >> Can you please tell me how chromium paints a Rect on screen? In the >> example i mentioned above. > > Keep in mind that Chromium is multi-process. You are probably setting > those breakpoints in the browser process, but it's the renderer > process which does the painting. > > > > AGL > --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] How does chromium use SkCanvas
Hi Can you please tell me how does Chromium paint content on screen? For example, a DIV tag with a background color, chromium needs to paint a Rect (whose dimension with the DIV tag) on screen with DIV background color? I assume the following function get calls, SkCanvas::drawRoundRect SkCanvas::drawRect SkCanvas::drawLine But when I set breakpoints at the above methods, it never breaks when I load the a page with DIV tags. Can you please tell me how chromium paints a Rect on screen? In the example i mentioned above. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Rendering improvement of double byte language in Chrome
From: http://chrome.blogspot.com/2009/06/land-of-rising-chrome.html, it said Our Japanese engineers also figured out how to speed up Google Chrome's rendering of double-byte languages like Japanese, Chinese, and Korean. Can someone please help me what technique Chrome uses to speed up Chrome's double byte language rendering? And it talks about 'speed up rendering of double byte languages' , does it mean it speeds up: 1. text -wrapping (calculate how many characters it fits in a given width (e.g. DIV, TABLE tags) or 2. looking up Glyph of each double byte character from font library? Thank you. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Where is the CGContextDrawImage() for MacOSx defined
Hi, Can you please tell me Where is the CGContextDrawImage() for MacOSx defined? I have tried setting up a Breakpoints in ImageCG.cpp:197. It breaks there but when I click 'step into', it never goes to the implementation of CGContextDrawImage. XCode just jumps to the next line. And I also tried building a cscope myself (include .mm file), but when I look for CGContextDrawImage(), it only gives me callers for that function: *** src/skia/ext/skia_utils_mac.mm: [107] CGContextDrawImage(context, rect, image); *** src/third_party/WebKit/WebCore/platform/graphics/cg/ImageCG.cpp: [118] CGContextDrawImage(bmap, dst, image); [197] CGContextDrawImage(context, adjustedDestRect, image); [211] CGContextDrawImage(context, GraphicsContext(context).roundToDevicePixels(FloatRect(0, 0, CGImageGetWidth(image), CGImageGetHeight(image))), image); *** src/third_party/WebKit/WebCore/platform/graphics/cg/PatternCG.cpp: [45] CGContextDrawImage(context, rect, platformImage); *** src/third_party/WebKit/WebCore/platform/graphics/win/GraphicsContextCGWin.cpp: [101] CGContextDrawImage(m_data->m_cgContext, dstRect, image); [124] CGContextDrawImage(m_data->m_cgContext, CGRectMake(point.x(), point.y(), image->size().width(), image->size().height()), cgImage.get()); *** src/third_party/WebKit/WebCore/platform/win/DragImageCGWin.cpp: [111] CGContextDrawImage(targetContext, rect, srcImage); [156] CGContextDrawImage(drawContext, rect, srcImage); *** src/third_party/skia/src/ports/SkImageDecoder_CG.cpp: [83] CGContextDrawImage(cg, CGRectMake(0, 0, width, height), image); *** src/webkit/glue/webcursor_mac.mm: [172] CGContextDrawImage(context.get(), rect, image_ptr); *** src/skia/ext/bitmap_platform_device_mac.cc: DrawToContext[299] CGContextDrawImage(context, bounds, sub_image); DrawToContext[306] CGContextDrawImage(context, bounds, image); *** src/third_party/WebKit/WebKit/mac/Plugins/Hosted/NetscapePluginInstanceProxy.mm: print[372] CGContextDrawImage(context, CGRectMake(0, 0, width, height), image.get()); *** src/third_party/skia/experimental/CiCarbonSampleMain.c: TestDraw[208] CGContextDrawImage(cg, r, ref); *** src/third_party/skia/src/utils/mac/SkBitmap_Mac.cpp: drawToPort[133]CGContextDrawImage(cg, rect, image); *** src/third_party/skia/src/utils/mac/SkOSWindow_Mac.cpp: doPaint[168] CGContextDrawImage(cg, r, img); *** src/third_party/skia/xcode/hostapp/test.cpp: SkiaDraw[60] CGContextDrawImage(cg, r, gImage); --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Memory usage in chrome
Hi, There is a test which compares memory usage among rendering engines http://dotnetperls.com/chrome-memory >From the site, it shows the maximum memory usage of Chrome is more than Safari is > 2 times. Since both of them are Webkit base, does that mean the V8 engine uses twice as much memory as squirrel fish? --- Maximum memory used --- Peak memory usage measured during experiment. Chrome: 1216.16 MB [Largest] Firefox: 327.65 MB [Smallest] Opera:554.11 MB Safari: 517.00 MB --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Number of threads in Render Process on MacOSX
>From this >post http://blog.marcchung.com/2008/09/05/chromes-process-model-explained.html, it said Each Renderer process has two threads: one Render thread–which renders web pages, and one IPC thread–which transports data in a thread-safe, non- blocking manner between the Render thread and an IPC counterpart sitting in the Browser process. The Renderer process manages 1 IPC thread and 1 Render thread. But when i see that ActivityMoniter on MacOSX, it has 3 threads: 262 Chromium john 0.0 3 32.77 MB 974.34 MB Intel 189 Chromium john 0.4 16 65.57 MB 1.03 GB Intel 307 Chromium john 1.3 3 51.77 MB 992.93 MB Intel 295 Chromium john 0.0 3 56.07 MB 992.88 MB Intel Can you please tell me what is the 3rd thread? Thank you. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] IO Request Handing in Chromium
In http://dev.chromium.org/developers/design-documents/multi-process-resource-loading, all I/O in Render Process (WebKit code) is sent to Browser Process and Browser process is download the resource from the source. But what about Plugins (flash) which runs inside RenderProcess? How can those I/O requests being forward to Browser Process via chromium IPC mechanism? Flash plugins is closed source and it can make more than HTTP request. Flash can make RTMP request for video. How does IO in plugin being handled? Thank you. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---