[chromium-dev] Re: Is it possible to trigger JavaScript Garbage collection programatically

2009-08-12 Thread Mads Sig Ager
By default, it is not possible to trigger at V8 GC programatically. Use of such an API is tricky and most of the time you will end up slowing down instead of helping. For that reason, we have avoided exposing GC through the API. We do have a flag in V8 called expose-gc that adds a JavaScript gc(

[chromium-dev] Re: windows build instructions correction

2009-08-12 Thread Mohamed Mansour
That will help many people! Nice find on that blog post! -- Mohamed Mansour On Wed, Aug 12, 2009 at 10:28 PM, cpu wrote: > > If you followed the instructions in chromium (http://dev.chromium.org/ > developers/how-tos/build-instructions-windows) recently and chose to > use VS2008 then this will

[chromium-dev] windows build instructions correction

2009-08-12 Thread cpu
If you followed the instructions in chromium (http://dev.chromium.org/ developers/how-tos/build-instructions-windows) recently and chose to use VS2008 then this will be of interest. The order was wrong, I just changed it. You need to install in the following order: 1. VS2008 RTM 2. Windows SDK 6

[chromium-dev] Is it possible to trigger JavaScript Garbage collection programatically

2009-08-12 Thread hap497
Hi, Is it possible to trigger JavaScript Garbage collection programatically in V8 JavaScript engine? I am looking for ways to minimize memory usage for each page loaded. So I am thinking to invoke V8 garbage collection after page load completes. Thank you. --~--~-~--~~~-

[chromium-dev] Re: Halting JS execution in V8?

2009-08-12 Thread Drew Wilson
Correct. This is part of implementing the "kill a worker" part of the WebWorker specification: http://www.whatwg.org/specs/web-workers/current-work/#kill-a-worker The intent is to shutdown workers silently when appropriate, but this currently relies on the worker thread eventually returning to the

[chromium-dev] Re: Halting JS execution in V8?

2009-08-12 Thread Jeremy Orlow
An infinite running script in a worker should be a valid use case. Computing Pi to the infiniteth digit is actually the first example in the worker spec, IIRC. So this would just kill/timeout shared workers that no longer are connected to any active pages, right? J On Wed, Aug 12, 2009 at 3:25 P

[chromium-dev] Re: Halting JS execution in V8?

2009-08-12 Thread Darin Fisher
I assume we will just kill the slow worker without prompting the user, right? Please no slow script dialogs. -Darin On Wed, Aug 12, 2009 at 12:58 PM, Drew Wilson wrote: > Hi all, > It appears from looking at the worker code that if worker script enters > into an infinite loop, the associated

[chromium-dev] Re: To get your work onto 3.0 stable

2009-08-12 Thread Glen Murphy
Some clarification - this is for Chrome on Windows and patches that Windows patches may depend upon. My cross-platform insensitivity can cower behind my use of 'stable', apologies for the confusion. On Wed, Aug 12, 2009 at 12:52 PM, Glen Murphy wrote: > Two reminders, as I've seen some confusion

[chromium-dev] Re: Mac History Menu

2009-08-12 Thread Evan Stade
On Wed, Aug 12, 2009 at 2:18 PM, Robert Sesek wrote: > On Wed, Aug 12, 2009 at 15:33, Scott Violet  wrote: >> >> I would suggest you create something like browser/views/event_utils on >> the Mac (and Linux) side. Any place you're opening a URL from a user >> gesture you map the event to a WindowOp

[chromium-dev] Re: Mac History Menu

2009-08-12 Thread Pam Greene
You want undo-close-tab for that use case, not history. The where-to-open behavior of undo-close-tab is completely different. Agreed that there's some overlap in usage, though. - Pam On Wed, Aug 12, 2009 at 12:59 PM, Mike Pinkerton wrote: > > The few times I've needed to use the history menu (gak

[chromium-dev] Re: selection methods removed from WebFrame

2009-08-12 Thread Darin Fisher
Yes, sorry about that. Please see render_view.cc. They are just implemented using WebFrame::executeCommand. -Darin On Wed, Aug 12, 2009 at 1:58 PM, Marshall Greenblatt wrote: > Hi Darin, > > The Undo(), Redo(), Cut(), Copy(), Paste() and Delete() methods were > removed from WebFrame when the c

[chromium-dev] Re: tryserver flakiness

2009-08-12 Thread Jeremy Orlow
On Wed, Aug 12, 2009 at 2:36 PM, Thomas Van Lenten wrote: > > On Wed, Aug 12, 2009 at 5:32 PM, Bradley Nelson wrote: > >> I would argue this does fall in the domain of something gyp should be able >> to do. Scons for instance detects when command lines have changed. If I >> recall correctly, xcode

[chromium-dev] Re: tryserver flakiness

2009-08-12 Thread Thomas Van Lenten
On Wed, Aug 12, 2009 at 5:32 PM, Bradley Nelson wrote: > I would argue this does fall in the domain of something gyp should be able > to do. Scons for instance detects when command lines have changed. If I > recall correctly, xcode does as well. This wouldn't involve gyp touching the > output dire

[chromium-dev] Re: tryserver flakiness

2009-08-12 Thread Bradley Nelson
I would argue this does fall in the domain of something gyp should be able to do. Scons for instance detects when command lines have changed. If I recall correctly, xcode does as well. This wouldn't involve gyp touching the output directory at all, it would be more like how you can list a makefile

[chromium-dev] Re: tryserver flakiness

2009-08-12 Thread Jeremy Orlow
I don't understand your response. On Wed, Aug 12, 2009 at 2:22 PM, Thomas Van Lenten wrote: > > > On Wed, Aug 12, 2009 at 5:03 PM, Bradley Nelson wrote: > >> That one is know (we have a gyp issue filed from a while back).The >> problem is that visual studio doesn't detect command line changes (we

[chromium-dev] Re: tryserver flakiness

2009-08-12 Thread Thomas Van Lenten
On Wed, Aug 12, 2009 at 5:03 PM, Bradley Nelson wrote: > That one is know (we have a gyp issue filed from a while back).The problem > is that visual studio doesn't detect command line changes (well actually it > does as long as you do them in the IDE and don't leave the sln). > We believe we can '

[chromium-dev] Re: Mac History Menu

2009-08-12 Thread Robert Sesek
On Wed, Aug 12, 2009 at 15:33, Scott Violet wrote: > I would suggest you create something like browser/views/event_utils on > the Mac (and Linux) side. Any place you're opening a URL from a user > gesture you map the event to a WindowOpenDisposition. This way the UI > is consistent with regards t

[chromium-dev] Re: tryserver flakiness

2009-08-12 Thread Bradley Nelson
That one is know (we have a gyp issue filed from a while back).The problem is that visual studio doesn't detect command line changes (well actually it does as long as you do them in the IDE and don't leave the sln). We believe we can 'fix' this limitation by having gyp emit a file containing comman

[chromium-dev] Re: tryserver flakiness

2009-08-12 Thread Mark Mentovai
I don't think so. It looks like VS doesn't rebuild files when the compiler invocation to build them would change. Michael added a new macro definition on the command line. If that's the case, this would be a VS problem (I'd call it a bug), and I'm not sure how easy it would be to work around in

[chromium-dev] Re: tryserver flakiness

2009-08-12 Thread Jeremy Orlow
Brad, looks like we might have another dependency bug in GYP? J On Wed, Aug 12, 2009 at 1:57 PM, Michael Nordman wrote: > I just submitted the change that ENABLE's that flag a moment ago... we're > clobbering things now > > > On Wed, Aug 12, 2009 at 1:55 PM, Jeremy Orlow wrote: > >> Clobber nee

[chromium-dev] selection methods removed from WebFrame

2009-08-12 Thread Marshall Greenblatt
Hi Darin, The Undo(), Redo(), Cut(), Copy(), Paste() and Delete() methods were removed from WebFrame when the class moved to the public API. Is there currently a way to perform these actions? Thanks, Marshall --~--~-~--~~~---~--~~ Chromium Developers mailing list

[chromium-dev] Re: tryserver flakiness

2009-08-12 Thread Michael Nordman
I just submitted the change that ENABLE's that flag a moment ago... we're clobbering things now On Wed, Aug 12, 2009 at 1:55 PM, Jeremy Orlow wrote: > Clobber needed? > I know Michael just enabled this within the last 24 hours. > > > On Wed, Aug 12, 2009 at 1:49 PM, Paweł Hajdan Jr. > wrote: >

[chromium-dev] Re: tryserver flakiness

2009-08-12 Thread Jeremy Orlow
Clobber needed? I know Michael just enabled this within the last 24 hours. On Wed, Aug 12, 2009 at 1:49 PM, Paweł Hajdan Jr. wrote: > Just got this on the Windows tryserver: > C:\b\slave\win\build\src\chrome\renderer\renderer_webkitclient_impl.cc : > error C2220: warning treated as error - no 'ob

[chromium-dev] Re: Why does Chromium on mac have a theme switch UI in the preferences?

2009-08-12 Thread Meok
That's a good idea and should please just about everyone. The gallery could simply employ a cookie to remember the last 5 etc. sites you clicked on. That way there is no privacy concern and no security concern as nothing gets passed from the browser. Do that and add a custom search engine to the t

[chromium-dev] tryserver flakiness

2009-08-12 Thread Paweł Hajdan Jr .
Just got this on the Windows tryserver: C:\b\slave\win\build\src\chrome\renderer\renderer_webkitclient_impl.cc : error C2220: warning treated as error - no 'object' file generated C:\b\slave\win\build\src\chrome\renderer\renderer_webkitclient_impl.cc : warning C4651: '/DENABLE_OFFLINE_WEB_APPLICATI

[chromium-dev] Re: Halting JS execution in V8?

2009-08-12 Thread Drew Wilson
Ah, my mistake was in believing that page script handles this gracefully - after running some tests, I see that we must just allow killing the process :) OK, thanks. -atw On Wed, Aug 12, 2009 at 1:23 PM, Dean McNamee wrote: > Mads is working on something for this. > > On Wed, Aug 12, 2009 at 12

[chromium-dev] Re: automatic clobber of grit-generated headers on Windows

2009-08-12 Thread Paweł Hajdan Jr .
I landed changes to the script and gclient which should make it clobber the right files. However, I'd prefer to confirm that the failures disappear from the flakiness dashboard (for a few days). I got a lot of valid complaints about this script producing cluttering debug output. I really plan to fi

[chromium-dev] Re: Halting JS execution in V8?

2009-08-12 Thread Dean McNamee
Mads is working on something for this. On Wed, Aug 12, 2009 at 12:58 PM, Drew Wilson wrote: > Hi all, > It appears from looking at the worker code that if worker script enters into > an infinite loop, the associated worker thread/process will never exit. The > JavaScriptCore implementation uses t

[chromium-dev] Re: Mac History Menu

2009-08-12 Thread Mike Pinkerton
The few times I've needed to use the history menu (gak, i just closed something by accident, let me get it back), re-using the current tab is exactly what i don't want, as it clobbers something totally unrelated that I had open. That's what prompted this discussion. I agree that it should behave

[chromium-dev] Halting JS execution in V8?

2009-08-12 Thread Drew Wilson
Hi all, It appears from looking at the worker code that if worker script enters into an infinite loop, the associated worker thread/process will never exit. The JavaScriptCore implementation uses the JSC "timeoutChecker" mechanism to halt script execution. Is there an analog we can use for V8? I d

[chromium-dev] To get your work onto 3.0 stable

2009-08-12 Thread Glen Murphy
Two reminders, as I've seen some confusion about this: 1. 3.0 is on a separate branch, don't forget to update the merge spreadsheet that Anthony LaForge sent out - it's not just for the beta; you must add your changes to this spreadsheet if you expect them to be part of 3.0. If

[chromium-dev] Re: Mac History Menu

2009-08-12 Thread Scott Violet
I would suggest you create something like browser/views/event_utils on the Mac (and Linux) side. Any place you're opening a URL from a user gesture you map the event to a WindowOpenDisposition. This way the UI is consistent with regards to what user gestures do. As to this particular case, I beli

[chromium-dev] Re: Mac History Menu

2009-08-12 Thread Viet-Trung Luu
Brett Wilson wrote: > Windows always opens history in a new tab. I think this is the correct > behavior: I don't think anybody expects going to history will clobber > their current tab. Not what was being talked about, as Avi pointed out, but does anyone else find it annoying that going to histo

[chromium-dev] Re: Mac History Menu

2009-08-12 Thread Scott Violet
If there isn't already you should look into creating something like browser/views/event_utils on the Mac (and Linux) side. Any place you're opening a URL from a user gesture you map the event to a WindowOpenDisposition. This way the UI is consistent with regards to what user gestures do. As to th

[chromium-dev] Re: Mac History Menu

2009-08-12 Thread Brett Wilson
On Wed, Aug 12, 2009 at 12:18 PM, Avi Drissman wrote: > Brett— > > Are we talking about the history page, or history items? The history page > gets its own tab, sure. But when someone picks an item from the history > menu, where does it go? I think current foreground tab is right, with > command f

[chromium-dev] Re: Mac History Menu

2009-08-12 Thread Avi Drissman
Brett— Are we talking about the history page, or history items? The history page gets its own tab, sure. But when someone picks an item from the history menu, where does it go? I think current foreground tab is right, with command for background tabs. Avi On Wed, Aug 12, 2009 at 3:14 PM, Brett W

[chromium-dev] Re: Mac History Menu

2009-08-12 Thread Brett Wilson
On Wed, Aug 12, 2009 at 11:15 AM, Robert Sesek wrote: > Two things about the Mac history menu that I'd like people to weigh in on: > 1. The "Show All History" command should have a keyboard shortcut. We can't > use the logical Cmd+H because it's bound by the system. Stuart suggested > Cmd+Y, as th

[chromium-dev] Mac History Menu

2009-08-12 Thread Robert Sesek
Two things about the Mac history menu that I'd like people to weigh in on: 1. The "Show All History" command should have a keyboard shortcut. We can't use the logical Cmd+H because it's bound by the system. Stuart suggested Cmd+Y, as that's what Camino uses. Firefox and Safari both lack keyboard sh

[chromium-dev] Re: Task Messenger

2009-08-12 Thread Jeremy Orlow
If this is a regression from behavior you've seen previously in Linux, search the bug database (http://crbug.com) and file one if it doesn't yet exist. If it's not a regression, the team probably already knows about it. Either way, posting bugs to this mailing list is not the proper procedure. O

[chromium-dev] Re: problem of flashplayer

2009-08-12 Thread Jeremy Orlow
On Tue, Aug 11, 2009 at 8:24 PM, peter wrote: > > today I downloaded a chromium ,by the way , my os is linux of ubuntu > 9.04 , it work ok but can't play flash .who can help me Flash support is VERY experimental if working at all, last time I checked. Also, Chromium-dev is a development mailin

[chromium-dev] problem of flashplayer

2009-08-12 Thread peter
today I downloaded a chromium ,by the way , my os is linux of ubuntu 9.04 , it work ok but can't play flash .who can help me --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe:

[chromium-dev] Task Messenger

2009-08-12 Thread Aroll605
Hello, My issue is the following: The task messenger in Chromium (Linux) does not kill tabs when a process is selected and the "End Process" button is pressed. Nothing happens. Also "Stats for nerds" or "about:memory" does not work, loading never finishes and there is just a blank page. Regards

[chromium-dev] date and time storage

2009-08-12 Thread Roman
hello! I'm developing utility what can be used to synchronize and organize history records in different browsers. And there is a problem I can't solve: I can't extract last visit time and date from Chrome's SQLite database. What is the format of this field? And how do I extract it? --~--~--

[chromium-dev] Re: Why does Chromium on mac have a theme switch UI in the preferences?

2009-08-12 Thread Roland Steiner
Just to throw in another suggestion (that I hope hasn't come up or been implied so far): The way I see it, the themes you visited/installed are part of your history, so why not spruce up the history page and include visited themes there directly, with "Theme" as a semantic annotation. In this way

[chromium-dev] Re: Task Messenger

2009-08-12 Thread Aroll
P.S. I'm using Chromium Linux build 23024 from Daily Chromium builds Ubuntu PPA. On Tue, Aug 11, 2009 at 6:52 PM, Aroll605 wrote: > Hello, > > My issue is the following: > > The task messenger in Chromium (Linux) does not kill tabs when a > process is selected and the "End Process" button is pre

[chromium-dev] Re: Allocator Choice

2009-08-12 Thread Mike Belshe
Yes Mike On Wed, Aug 12, 2009 at 9:37 AM, Linus Upson wrote: > Does all this work with Purify? > Linus > > > On Wed, Aug 12, 2009 at 9:09 AM, Mike Belshe wrote: > >> On Tue, Aug 11, 2009 at 9:57 PM, Dean McNamee wrote: >> >>> Do we have numbers on how the 4 allocates compare on those tests (p

[chromium-dev] v8 update caused test shell tests crash?

2009-08-12 Thread Dan Kegel
Hi plesner, have you seen http://build.chromium.org/buildbot/waterfall/builders/Webkit%20(dbg)(1) in the last hour or so? It looks like LayoutTests/http/tests/security/cross-frame-access-protocol.html is reliably crashing since the v8 update to trunk/1.3.3 in http://codereview.chromium.org/16439

[chromium-dev] Re: Why does Chromium on mac have a theme switch UI in the preferences?

2009-08-12 Thread Peter Kasting
On Wed, Aug 12, 2009 at 7:08 AM, Avi Drissman wrote: > On Wed, Aug 12, 2009 at 9:41 AM, Meok wrote: > >> I guess it shouldn't be >> too hard then to pass that info onto the gallery page and keep >> everything online. > > > I think that would be a bad idea even if it weren't too hard. What theme

[chromium-dev] Re: Allocator Choice

2009-08-12 Thread Linus Upson
Does all this work with Purify? Linus On Wed, Aug 12, 2009 at 9:09 AM, Mike Belshe wrote: > On Tue, Aug 11, 2009 at 9:57 PM, Dean McNamee wrote: > >> Do we have numbers on how the 4 allocates compare on those tests (page >> cycler, etc)? > > > I do - I sent some of them around a few days ago.

[chromium-dev] Re: Allocator Choice

2009-08-12 Thread Mike Belshe
On Tue, Aug 11, 2009 at 9:57 PM, Dean McNamee wrote: > Do we have numbers on how the 4 allocates compare on those tests (page > cycler, etc)? I do - I sent some of them around a few days ago. Summary: jemalloc and tcmalloc are pretty close; where jemalloc is a little more compact and tcmalloc

[chromium-dev] Mac l10n Notes

2009-08-12 Thread Thomas Van Lenten
Folks may have noticed the Mac L10n work has started to land in the tree. Apple's normal model of doing L10n would result in a *lot* of nib files for us to maintain, so we're going more our own path so we can reuse the strings in the pak files (generated from the GRDs). I'm putting the details in

[chromium-dev] Re: Why does Chromium on mac have a theme switch UI in the preferences?

2009-08-12 Thread Viet-Trung Luu
I basically agree, though I have a UI concern -- having a button in the prefs dialog which leads you to a web page is a bit strange since, while the dialog box isn't modal, I bet most users don't realize that. Would the button pop up a new browser window? (In front of the dialog?) Or would it

[chromium-dev] Re: Allocator Choice

2009-08-12 Thread Dan Kegel
On Tue, Aug 11, 2009 at 8:25 PM, Mike Belshe wrote: >  Unlike Obama's plan for healthcare, this CL is about giving you more > choice. Political comments are off-topic for this list, I think. --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@goog

[chromium-dev] Re: Why does Chromium on mac have a theme switch UI in the preferences?

2009-08-12 Thread Avi Drissman
On Wed, Aug 12, 2009 at 9:41 AM, Meok wrote: > I guess it shouldn't be > too hard then to pass that info onto the gallery page and keep > everything online. I think that would be a bad idea even if it weren't too hard. What theme I'm using is no one's business. When I was thinking about a "web

[chromium-dev] Re: Why does Chromium on mac have a theme switch UI in the preferences?

2009-08-12 Thread Meok
You weren't totally on point but you shed some very needed light. I thought that it was easier and more secure to use the internal page, but you're saying it's actually not. In any case, it's not a problem because the latest trunk build remembers the last theme you had installed. I guess it shoul

[chromium-dev] Re: lan manager in cloud

2009-08-12 Thread Wallace Araujo
This is perfect, because the answer to all my needs and more. thx guys, any situation I report here. Wallace Araujo cellphone: +55 (21) 7681-9846 Follow me on Twitter: @wallacejvm 2009/8/12 Jeremy Orlow > On Tue, Aug 11, 2009 at 9:27 PM, PhistucK wrote: > >> You can embed Chromium with th