[chromium-dev] Re: How does chromium handle 'Back' functionality
On Mon, Jun 1, 2009 at 10:57 PM, Lucius Fox lucius.fo...@gmail.com wrote: what do you mean when you said cached content should always be preferred even if it is stale? If the resource is in the cache, it is used, regardless of whether it has expired. Does Chrome still issue HTTP requests and check if the cache control of HTTP response before it pull the data from content cache? No. Or how is navigating back different from load 1 page, kill the browser (assume the page content is now saved in cache) and start the browser again and reload the same page? In this case the browser will do a network transaction for resources in the cache which have expired. PK --~--~-~--~~~---~--~~ 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 handle 'Back' functionality
On Mon, Jun 1, 2009 at 11:19 PM, Peter Kasting pkast...@chromium.orgwrote: On Mon, Jun 1, 2009 at 11:10 PM, Lucius Fox lucius.fo...@gmail.comwrote: 1. If I enter some values in form elements, and then load a new page (before i clicked submit) , and the click back. Does that mean the values I entered in each form element will be all gone? (since chromium does not keep track)? Why don't you test it? You'll learn more and remember better. We should restore form values just like other browsers. If we do not, then it is a bug. 2. Does chromium cache JavaScript native code (since it compiles JS files to native code)? Not generally, to my knowledge. V8 does have a cache for compiled scripts! 3. What about JavaScript context (e.g. values of JavaScript can changed due to user interaction) of that page, Does it save in memory too? Again, why don't you test it? This is pretty easy to test too. This is not saved. Other browsers only save this information sometimes as a side-effect of navigating back to a page that still exists in the page cache. You cannot rely on a back navigation hitting the page cache in any browser since the page cache is finite in size. -Darin --~--~-~--~~~---~--~~ 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: chrome.sln switched to gyp (sort of)
Great! It's exciting to finally see the light at the end of the tunnel. -Ben On Mon, Jun 1, 2009 at 11:53 PM, Bradley Nelson bradnel...@google.com wrote: Hi All, We've just landed a change to switch chrome.sln to be gyp generated. This was accomplished with a bit of a temporary cheat. The now generated chrome.sln continues to refer to the checked-in vcprojs. This change will allow us to switch them over one by one (and will let us roll out most of the major components which are working gyp generated, without being blocked on the few that aren't). This has a few weird (temporary) ramifications: 1. Changes to modules at the chrome module level still need to be made in the checked in vcprojs, however, dependency information now comes from chrome.gyp and installer/installer.gyp. 2. The future layout of chrome.sln is reflected now (even though the projects are in their old locations). Do let me know if there are any problems with the new layout (or if I missed something). The new layout mimics the directory structure, with the one compression that lone vcprojs in a directory with the same name get brought up a level. With any luck we'll be able to land vcprojs gradually throughout the week. We don't plan to bug everyone with announcements on each change, so here's a good rule of thumb: Since you are already updating the gyp files to keep the other platforms working, take note of whether targets you change in chrome.gyp or installer.gyp contain the setting: 'msvs_existing_vcproj'. These will require you to change the checked in vcproj file, others will not. Be sure to let us (sgk and I) know if you notice any regressions during this process. -BradN --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] setup.exe doesn't run work for me
setting chromium as the default browser make it invoke setup.exe the problem is that i started getting manifest errors when i try to launch the program the application has failed to start because the application config is incorrect also, when i build this project, i get an exe but the compiler is never happy if i build setup.exe i get compiling install.cc doing build again compiling UNInstall.cc build again compiling install.cc something is wrong in my build but i can't figure what i clobbered my build many times, and this only started happening in the last 3 days and to make the UI tests pass, chromium has to be the default browser (especially on hebrew vista) i really did try to solve it myself, but am not sure what is going on there --~--~-~--~~~---~--~~ 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: chrome.sln switched to gyp (sort of)
Try gclient sync --force, always seems to help and not reverting your changes, as far as I know. ☆PhistucK On Tue, Jun 2, 2009 at 15:27, nakro yoav.zilberb...@gmail.com wrote: i am not sure this is related, but i started getting this from the build (on windows vista 32) running 'C:\chromiumtrunk\depot_tools\release \python_24\python.exe src/ tools/gyp/gyp_dogfood src/build/all.gyp' in 'c:\chromiumtrunk' Updating projects from gyp files... 'ut' is not recognized as an internal or external command, operable program or batch file. and this is a new thing --~--~-~--~~~---~--~~ 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: chrome.sln switched to gyp (sort of)
thanks phistok, but i tried it all i did gclient revert gclient sync --force gclient runhooks --force and this error message simply comes from time to time, and is new, so maybe it is related to this GYP change as (i guess) the .sln is created at this stage --~--~-~--~~~---~--~~ 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: chrome.sln switched to gyp (sort of)
Searched the .bat\.py files for the command ut and its origins? Sorry, currently not next to the source and out of time. ☆PhistucK On Tue, Jun 2, 2009 at 15:55, nakro yoav.zilberb...@gmail.com wrote: thanks phistok, but i tried it all i did gclient revert gclient sync --force gclient runhooks --force and this error message simply comes from time to time, and is new, so maybe it is related to this GYP change as (i guess) the .sln is created at this stage --~--~-~--~~~---~--~~ 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: setup.exe doesn't run work for me
On Tue, Jun 2, 2009 at 3:11 AM, nakro yoav.zilberb...@gmail.com wrote: and to make the UI tests pass, chromium has to be the default browser (especially on hebrew vista) Not anymore, see http://code.google.com/p/chromium/issues/detail?id=13064 M-A --~--~-~--~~~---~--~~ 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: a brave new world for RTL languages (please comment)
Hi Yoav, In general it would be much easier to have a discussion if you could refer to a specific narrowly-focused bug in your email. Just saying that an area is generally broken it's hard to understand what specific aspect you're talking about. So: What exact functionality is broken, and how do you propose to fix it? Also, I think there are currently many more important (and far easier) bugs in Chrome/WebKit around BiDi support, perhaps it would make sense to look at those first. Some notable low hanging fruit: https://bugs.webkit.org/show_bug.cgi?id=3710 - Directional caret support. https://bugs.webkit.org/show_bug.cgi?id=19785 - Select doesn't work right for dir=rtl. So to try to address your email: Chrome has (to my knowledge) 2 types of controls: 1) Native OS controls - OmniBox, the Find bar, etc. 2) Controls drawn by WebKit - basically all controls that are part of a Web Page. Regarding #1 - Native OS controls: Keep in mind that there are platform conventions for how native controls behave, I'd be concerned with confusing users. Regarding #2 - WebKit controls: While there are still some open bugs around caret movement and drawing in WebKit controls, much of the current behavior reflects explicit design decisions. If you think this functionality is broken, it might be good to look at the WebKit bug database to see if there's already a bug open around the issue you want to fix. If there is you might want to leave a comment in the bug with a proposed fix. A final thought: Getting BiDi cursor movement correct is non-trivial, there are no standards in this area and many corner cases. Best regards, Jeremy On Tue, Jun 2, 2009 at 2:47 AM, nakro yoav.zilberb...@gmail.com wrote: Hi, this post will only make sense to those who speak hebrew or arabic as you know, the selection in windows of text in a mixed hebrew english text is at best a joke nobody understands it natively, and the cursor (caret in windows jargon) movement is also very awkward (right goes left, left goes right you know what i mean) my point is this if i get it right (i did debug chrome for the last 2 weeks) you seem to have written your own controls, so why not do it right this time for the entire arab/hebrew world ? since you anyways use UTF16 and you it has all the chars neccessary (the change direction and pop direction and the like) wouldn't it be great if chrome would make RTL the way it should have been ? i would be happy to do it myself, i have all the knowledge to do it in windows but i, of course, am still kinda new to chrome so i would prob need some help in doing it also, if you like this idea, there needs to be someone who can help me with the arabic part this is a huge task, to be sure, but i think it would be worth doing, especially that the hebrew support in windows has been really bad for years (don't know how mac/linux handle it) so any thoughts will be welcome, you can also say NO, Thank you and that would also be cool --~--~-~--~~~---~--~~ 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: a brave new world for RTL languages (please comment)
hey jeremy, i hope this text below would come out right יואב Zilberberg הוא 123 but!!! אולי even if you cut paste the below to notepad (assuming you have a hebrew keyb support) you will see that the caret in windows itself moves in a crazy way since i am a programmer for a long time i know the reason for it (also in my prog career got a chance to talk to MS ppl and they hate it too ... there is a rumor that will bill gates saw what they did with hebrew he nearly killed those programmers) but just travel with the cursor on this text and you will see the joke in windows itself i thought it would be very cool if chrome and other google products would support a Sane hebrew (cold also be a huge benefit for chrome, making RTL right!) regardless, once i get the builds of chrome right, i will move to fix hebrew bugs in chrome just thought it would be cool to get it ALL right and you must have some native hebrew/arab speaking ppl in chrome ask them what they think of the native windows support and once again, i encourage you to select with the mouse the text and see how windows behaves --~--~-~--~~~---~--~~ 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: Is there any way to profile chromium on MacOS?
I can build and debug TestShell project. But can you please tell me how to attach appropriate renderer with Shark? What is an appropriate renderer? On Mon, May 25, 2009 at 7:37 AM, Mike Pinkerton pinker...@chromium.org wrote: You can always attach to the appropriate renderer with Shark. Does that not fit the bill? On Sat, May 23, 2009 at 3:53 AM, lucius lucius.fo...@gmail.com wrote: Hi, Does chromium have build in profiling? e.g. can I find out the break down in html processing, css processing, js processing for each page load? or can i run chromium with some profiling tool on MacOS to understand the bottleneck? Thank you. -- Mike Pinkerton Mac Weenie pinker...@google.com --~--~-~--~~~---~--~~ 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: Is there any way to profile chromium on MacOS?
On Tue, Jun 2, 2009 at 12:25 PM, Lucius Fox lucius.fo...@gmail.com wrote: I can build and debug TestShell project. But can you please tell me how to attach appropriate renderer with Shark? What is an appropriate renderer? TestShell doesn't do the out of process model, all rendering is done inproc with TestShell. TVL On Mon, May 25, 2009 at 7:37 AM, Mike Pinkerton pinker...@chromium.org wrote: You can always attach to the appropriate renderer with Shark. Does that not fit the bill? On Sat, May 23, 2009 at 3:53 AM, lucius lucius.fo...@gmail.com wrote: Hi, Does chromium have build in profiling? e.g. can I find out the break down in html processing, css processing, js processing for each page load? or can i run chromium with some profiling tool on MacOS to understand the bottleneck? Thank you. -- Mike Pinkerton Mac Weenie pinker...@google.com --~--~-~--~~~---~--~~ 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: Is there any way to profile chromium on MacOS?
TestShell does not use a separate renderer process. --Amanda On Tue, Jun 2, 2009 at 12:25 PM, Lucius Fox lucius.fo...@gmail.com wrote: I can build and debug TestShell project. But can you please tell me how to attach appropriate renderer with Shark? What is an appropriate renderer? On Mon, May 25, 2009 at 7:37 AM, Mike Pinkerton pinker...@chromium.org wrote: You can always attach to the appropriate renderer with Shark. Does that not fit the bill? On Sat, May 23, 2009 at 3:53 AM, lucius lucius.fo...@gmail.com wrote: Hi, Does chromium have build in profiling? e.g. can I find out the break down in html processing, css processing, js processing for each page load? or can i run chromium with some profiling tool on MacOS to understand the bottleneck? Thank you. -- Mike Pinkerton Mac Weenie pinker...@google.com --~--~-~--~~~---~--~~ 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: a brave new world for RTL languages (please comment)
On Tue, Jun 2, 2009 at 9:21 AM, nakro yoav.zilberb...@gmail.com wrote: יואב Zilberberg הוא 123 but!!! אולי ... i encourage you to select with the mouse the text and see how windows behaves It's not just Windows. Firefox on Linux does this, too. And I suspect Mac applications also behave this way. If we were to implement a visual (rather than the standard, sequential character)-oriented select, we'd better make it an option that's off by default, because people are going to get severe vertigo switching back and forth between the normal, standard select behavior and our special one. - Dan --~--~-~--~~~---~--~~ 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: setup.exe doesn't run work for me
Not sure why you are getting error when setup.exe gets launched but to get around it you can launch Chrome as admin, set it as default and then exit. On Tue, Jun 2, 2009 at 12:11 AM, nakro yoav.zilberb...@gmail.com wrote: setting chromium as the default browser make it invoke setup.exe the problem is that i started getting manifest errors when i try to launch the program the application has failed to start because the application config is incorrect also, when i build this project, i get an exe but the compiler is never happy if i build setup.exe i get compiling install.cc doing build again compiling UNInstall.cc build again compiling install.cc something is wrong in my build but i can't figure what i clobbered my build many times, and this only started happening in the last 3 days and to make the UI tests pass, chromium has to be the default browser (especially on hebrew vista) i really did try to solve it myself, but am not sure what is going on there --~--~-~--~~~---~--~~ 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: a brave new world for RTL languages (please comment)
There are quite a few thorny corner cases around BiDi editing and cursor movement, I don't think there's any point in having a discussion about this stuff unless we have a handle on what we want to fix and exactly how we plan to fix it. Also, IMHO, it would be better to iron out some of the basic BiDi bugs in Chrome WebKit before embarking on this stuff. Best regards, Jeremy On Tue, Jun 2, 2009 at 9:32 AM, Dan Kegel daniel.r.ke...@gmail.com wrote: On Tue, Jun 2, 2009 at 9:21 AM, nakro yoav.zilberb...@gmail.com wrote: יואב Zilberberg הוא 123 but!!! אולי ... i encourage you to select with the mouse the text and see how windows behaves It's not just Windows. Firefox on Linux does this, too. And I suspect Mac applications also behave this way. If we were to implement a visual (rather than the standard, sequential character)-oriented select, we'd better make it an option that's off by default, because people are going to get severe vertigo switching back and forth between the normal, standard select behavior and our special one. - Dan --~--~-~--~~~---~--~~ 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: setup.exe doesn't run work for me
Raul, right now i am in the middle of (yet another) clobber build so i can't test this all i want to know is this imagine you have UAC enabled, and you just press F11 on setup.exe in VS does it really launch on your machine without this error ? i am not looking for a way to solve it (i am aware of tricks to bypass) all i am trying to figure is what is so different about my environment a simple Y for yes i can would convince me that somehow i messed my env which would at least be something thanx a lot --~--~-~--~~~---~--~~ 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: a brave new world for RTL languages (please comment)
Yoav, I'm glad to hear you're interested in helping make Chromium better! The best way to get started is to get specific broken behaviors documented as bugs and then work on fixing the bugs. We already have a lot on file: http://code.google.com/p/chromium/issues/list?can=2q=label:RTL http://code.google.com/p/chromium/issues/list?can=2q=label:RTLThe label RTL is used to label most BiDi and RTL bugs. We'd welcome all the help we can get to fix these, especially Xiomei (xji@) who's been doing a lot of work on this in Chromium and WebKit recently. On Tue, Jun 2, 2009 at 09:44, Jeremy Moskovich jer...@chromium.org wrote: There are quite a few thorny corner cases around BiDi editing and cursor movement, I don't think there's any point in having a discussion about this stuff unless we have a handle on what we want to fix and exactly how we plan to fix it. Also, IMHO, it would be better to iron out some of the basic BiDi bugs in Chrome WebKit before embarking on this stuff. Best regards, Jeremy On Tue, Jun 2, 2009 at 9:32 AM, Dan Kegel daniel.r.ke...@gmail.comwrote: On Tue, Jun 2, 2009 at 9:21 AM, nakro yoav.zilberb...@gmail.com wrote: יואב Zilberberg הוא 123 but!!! אולי ... i encourage you to select with the mouse the text and see how windows behaves It's not just Windows. Firefox on Linux does this, too. And I suspect Mac applications also behave this way. If we were to implement a visual (rather than the standard, sequential character)-oriented select, we'd better make it an option that's off by default, because people are going to get severe vertigo switching back and forth between the normal, standard select behavior and our special one. - Dan --~--~-~--~~~---~--~~ 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: setup.exe doesn't run work for me
I had a similar issue with my build a while back and I ended up finding out that something in our build chain was corrupting the manifest (the manifest had two different xml namespaces referring to two different versions of the manifest versions if I recall correctly).The solution for me was to change the manifest file (src\chrome\app\chrome.exe.manifest) to contain only the XML header only. Then the toolchain updated it correctly. This is from memory so I hope this helps (I no longer have this problem). Sverrir On Tue, Jun 2, 2009 at 12:44 PM, nakro yoav.zilberb...@gmail.com wrote: Raul, right now i am in the middle of (yet another) clobber build so i can't test this all i want to know is this imagine you have UAC enabled, and you just press F11 on setup.exe in VS does it really launch on your machine without this error ? i am not looking for a way to solve it (i am aware of tricks to bypass) all i am trying to figure is what is so different about my environment a simple Y for yes i can would convince me that somehow i messed my env which would at least be something thanx a lot --~--~-~--~~~---~--~~ 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: a brave new world for RTL languages (please comment)
*sigh* i wrote such a splendid reply but chrome entered one of his moods and refused to pop out of the taskbar here is the much shorter version : tell your friend at FF that at least on 3.0.10 the Ctrl+right shift do not work (try www.google.com and see in the edit control) also, i failed to see the logic in his reasoning for why visual selection is a bad thing if you are located anywhere in a text, and you press SHIFT + LEFT, when is it ever a bad idea to take the char to your left ? never! really never (even if you imagine numbers or other things) nvm, as for chrome, just one example : if you download a file (3.0.183.0 (17405)) with hebrew UI you will see the localized version of this file could harm but the buttons are to the right of this message which would seem awkward but maybe you thought it was a good thing, do you have some design doc about how you wanted RTL to look ? another example, still in that area, in the DL shelf, the pie chart grows CW (good!) and in the download tab (Ctrl+J) it shows it CCW (not to mention that the file is displayed in the middle of the text between the DL speed and size funny!) but which one did you think is the more correct behavior ? CW ? CCW ? anyways it has to be consistent i would actually like to code all these fixes myself, because i am quite excited about chrome programming but how does one know which way you ppl decided is the right way ? --~--~-~--~~~---~--~~ 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: Print Settings Mockup
I think the headers and footers are confusing (everywhere). Why not just a single popup for each selection which displays a real-time view of each thing? So it might have items like: Header: Bonsai Kitten http://www.shorty.com/bonsaikitten/; Footer: Page 1 of 2 June 2, 2009 Even better if it were in-line in the box that shows the page (header above, footer below). Also better if it integrates with the margins, since the header and footer presumably take up some space, showing how that space is reclaimed might be valuable. -scott [not a UI designer, I hate almost all print panels, they almost always make what I want hard to do] On Tue, Jun 2, 2009 at 11:31 AM, Marc-Antoine Ruel mar...@chromium.org wrote: I like the mock. Glen has a veto on any UI. I think the Options is unnecessary until implemented so it can be trimmed off. The inches/mm issue is well done in Microsoft Word where you can type the units you want to use instead of being forced to use one or another. M-A On Tue, Jun 2, 2009 at 2:15 PM, Mohamed Mansour m0.interact...@gmail.com wrote: Hi guys, how are you doing? I asked Marc-Antoine about creating a mock-up of the print settings so I was looking into different printer settings user interfaces from various products. http://i44.tinypic.com/rka0c5.png The similarities between them is quite similar, but I really like what Firefox has done with how they divide their sections, as well, how the display the marginal data on the fly. They all have the following things in common: Real-Time displaying of margin changes on the paper Changing headers / footers and allow custom desc Page orientations (Landscape and Portrait) What I liked about the Microsoft products is that everything is in one page. The user will not be confused with many clicks, and everything is there. But, the sections are not divided, they all look squished. Here is my initial proposal. http://i40.tinypic.com/14ki9w0.png Only a single page, where the user will enter his format, options (if any), margins, and header/footer. The components are same as Firefox but all in one page. We should probably do a drop down to state which metric to use (inch/cm) since only America uses inches. I have brought my mother to test this, and mind you, she is very new to computers (very inexperienced), she liked the above version because everything she needs is in her finger tips and understands it better than the others. So that is my take, what do you think? I would like to send this email off to Ben/Glen/Nick since they are the UI team and may have a better UI perspective on how to do things. Let me know if its allowed to be sent to dev mailing list! Thanks! -- Mohamed Mansour --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] message between renderer and browser
Hi, I am reading the messaging between renderer and browser: http://dev.chromium.org/developers/design-documents/displaying-a-web-page-in-chrome It has 2 messages as an example, set cursor message and mouse click message. Does that mean there is a different message for each input events. For example, * a message for pressing each keyboard key (a-z,0-9)? * a message for mouse movement? (to support javascript onmouseover) --~--~-~--~~~---~--~~ 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: Creating a bookmarklet extension
Aaron, correct, but doesn't each extension run in its own page? So if you execute that onclick it will think the document.title and document.url is the extension page itself. Hence, chrome-extension:///hello_gmail.html But the tabs API isn't complete (I assume, unless its a bug) so there is no way to get the current selectedTab as I explained in the previous email. That Tab struct has the url/title which is needed to make it work as an extension. -- Mohamed Mansour On Mon, Jun 1, 2009 at 12:43 PM, Aaron Boodman a...@chromium.org wrote: There is a bug in the code. The string %20250 needs to have single quotes around it. If you add that, it works. But there are better ways to write this since you're not constrained to fit it all into a single javascript statement like you are with bookmarklets. You can learn how by just doing some quick searches for HTML, JavaScript, and onclick. There are many online tutorials. - a On Mon, Jun 1, 2009 at 9:34 AM, Zak zakk...@gmail.com wrote: Mohamed Mansour posted some code too, and suggested that I should use the Tabs API to accomplish this, but that it is incomplete. I don't really know how to utilize the code he posted. On Jun 1, 12:22 pm, Aaron Boodman a...@chromium.org wrote: bcc: chromium-dev cc: chromium-discuss Can you send the code for the complete toolstrip? - a On Sun, May 31, 2009 at 4:57 PM, Zak zakk...@gmail.com wrote: Hi, I'm really not a coding person, but I followed the documentation here: http://dev.chromium.org/developers/design-documents/extensions/howto and set up an extension. Instead of hello-world.html I put an html file containing a script (a gmail-this-page bookmarklet). The code is below: [code] javascript:(function(){m='http://mail.google.com/mail/? ui=1view=cmfs=1tf=1to=su='+encodeURIComponent(document.title) +'body='+encodeURIComponent(document.location);w=window.open (m,'addwindow','status=no,toolbar=no,width=575,height=545,resizable=yes');s etTimeout (function(){w.focus();},%20250);})(); [/code] When I click the extension on the bottom bar, it just opens up an html page with that code written in plain text. Obviously I'm missing some crucial step, and since I don't have a background in coding or programming of any sort, I'm pretty lost. Evidently putting the javascript in an html file is a wrong move - a different filetype maybe? Thanks. And ignore me if I'm wasting your time or whatever, I realize I'm some newbie guy asking probably a dumb question, but I'd appreciate any help getting this simple thing working. --~--~-~--~~~---~--~~ 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: chrome.sln switched to gyp (sort of)
Awesome Bradley! Finally :) -- Mohamed Mansour 2009/6/2 PhistucK phist...@gmail.com Searched the .bat\.py files for the command ut and its origins? Sorry, currently not next to the source and out of time. ☆PhistucK On Tue, Jun 2, 2009 at 15:55, nakro yoav.zilberb...@gmail.com wrote: thanks phistok, but i tried it all i did gclient revert gclient sync --force gclient runhooks --force and this error message simply comes from time to time, and is new, so maybe it is related to this GYP change as (i guess) the .sln is created at this stage --~--~-~--~~~---~--~~ 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: Where is the code which chromium display the loading status
Hi Daniel, most strings are in app/generated_resources.grd. Searching this file will tell you that the waiting... message has the symbolic name IDS_LOAD_STATE_WAITING_FOR_RESPONSE. http://google.com/codesearch?q=IDS_LOAD_STATE_WAITING_FOR_RESPONSE then tells you that this seems to happen in tab_contents. Nico On Mon, Jun 1, 2009 at 9:05 AM, Daniel Dreiberg daniel.dreiber...@gmail.com wrote: Hi, When i load chromium on MacOS, it has 'Waiting...', 'Contacting..' status displayed at the bottom of the browser. Can you please tell me where is the code which display 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] Re: Creating a bookmarklet extension
Hello, The code you pasted is a bookmarklet, as in, you add a bookmark and place its URL to: javascript:(function(){m=' http://mail.google.com/mail/?ui=1view=cmfs=1tf=1to=su='+encodeURIComponent(document.title)+'body='+encodeURIComponent(document.location);w=window.open(m,'addwindow ','status=no,toolbar=no,width=575,height=545,resizable=yes');setTimeout(function(){w.focus();},%20250);})(); As far as I know, it will not work in an extension because each extension has is its own page. You will get the chrome-extension://0/tool_strip.html as its document.location (aboodman can correct me if I am wrong). If you wanted to make that as an extension. You would have to use the chrome API's. I don't believe the Tabs API ( http://dev.chromium.org/developers/design-documents/extensions/tabs-api) is complete. So you have to get the current window id and use that id to get the current working tab. Something like this: function getCurrentWindowTitle() { chrome.windows.getCurrent(onCurrentWindow); } function onCurrentWindow(currWindow) { chrome.tabs.getSelected(windowID, onSelectedTab); } function onSelectedTab(currTab) { var tabURL = currTab.url; } I believe you can go directly and get the selected tab by doing: chrome.tabs.getSelected(onSelectedTab); But, getSelected for the Tabs API is not currently implemented (or not working, for me that is). Aboodman can clarify. -- Mohamed Mansour On Sun, May 31, 2009 at 7:57 PM, Zak zakk...@gmail.com wrote: Hi, I'm really not a coding person, but I followed the documentation here: http://dev.chromium.org/developers/design-documents/extensions/howto and set up an extension. Instead of hello-world.html I put an html file containing a script (a gmail-this-page bookmarklet). The code is below: [code] javascript:(function(){m='http://mail.google.com/mail/? ui=1view=cmfs=1tf=1to=su='+encodeURIComponent(document.title)http://mail.google.com/mail/?%0Aui=1view=cmfs=1tf=1to=su='+encodeURIComponent(document.title) +'body='+encodeURIComponent(document.location);w=window.open (m,'addwindow','status=no,toolbar=no,width=575,height=545,resizable=yes');setTimeout (function(){w.focus();},%20250);})(); [/code] When I click the extension on the bottom bar, it just opens up an html page with that code written in plain text. Obviously I'm missing some crucial step, and since I don't have a background in coding or programming of any sort, I'm pretty lost. Evidently putting the javascript in an html file is a wrong move - a different filetype maybe? Thanks. And ignore me if I'm wasting your time or whatever, I realize I'm some newbie guy asking probably a dumb question, but I'd appreciate any help getting this simple thing working. --~--~-~--~~~---~--~~ 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: [extensions] Text translate API proposal
Why not just rename textTranslate to textProcess or something in that fashion. This feature could be used in other services rather than translation. -- Mohamed Mansour On Mon, Jun 1, 2009 at 3:00 PM, Erik Kay erik...@chromium.org wrote: Similar to the translate, this feature could be used to support sites that use non-standard character set / font combinations (some indic websites depend on downloadable fonts and custom character sets). Also, if the API allowed styling of the text as opposed to just replacing it, then I could imagine that it could be used for interesting markup / highlighting (highlighting searched words, marking up grammar errors, auto-likifying, etc.). Perhaps this would defeat part of the point of this approach to an API. Erik On Mon, Jun 1, 2009 at 11:51 AM, Aaron Boodman a...@chromium.org wrote: On Mon, Jun 1, 2009 at 11:46 AM, Evan Martin e...@chromium.org wrote: This feels kinda one-off-y to me. Is there any use of this *other* than running through Google Translate? I worry about adding a lot of API surface area for little gain. That is one of the things I was concerned about too. I thought about factoring out the code that finds the blocks. There are other use cases near there. But for actually modifying the text nodes -- no, I can't think of any other use cases. - a --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] --single-process not working with Chrome 2.0?
The --single-process command-line switch does not seem to be working with Chrome 2.0. I'm running the latest released version of 2.0.172.28 on Windows XP and even when using the switch, Chrome still starts up with 2 processes. Then, when I go to a page with a plugin (NPAPI), it creates a brand new process. Am I doing something wrong or did something change with --single-process? Thanks in advance, Vijay --~--~-~--~~~---~--~~ 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: --single-process not working with Chrome 2.0?
from what i recall in the source code this switch indeed is commented out, meaning it has no effect it only works with chromium, --~--~-~--~~~---~--~~ 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: a brave new world for RTL languages (please comment)
If you post a link to a bug that describes a single, concrete, narrowly defined issue along with a proposed solution we can discuss that. I understand you see allot of stuff you want to fix, which is great. But if you continue to post messages that contain a bunch of different issues mixed together it's very hard to have any kind of meaningful discussion. My comment about the importance of fixing more fundamental existing bugs stands. Best regards, Jeremy On Tue, Jun 2, 2009 at 12:42 PM, nakro yoav.zilberb...@gmail.com wrote: *sigh* i wrote such a splendid reply but chrome entered one of his moods and refused to pop out of the taskbar here is the much shorter version : tell your friend at FF that at least on 3.0.10 the Ctrl+right shift do not work (try www.google.com and see in the edit control) also, i failed to see the logic in his reasoning for why visual selection is a bad thing if you are located anywhere in a text, and you press SHIFT + LEFT, when is it ever a bad idea to take the char to your left ? never! really never (even if you imagine numbers or other things) nvm, as for chrome, just one example : if you download a file (3.0.183.0 (17405)) with hebrew UI you will see the localized version of this file could harm but the buttons are to the right of this message which would seem awkward but maybe you thought it was a good thing, do you have some design doc about how you wanted RTL to look ? another example, still in that area, in the DL shelf, the pie chart grows CW (good!) and in the download tab (Ctrl+J) it shows it CCW (not to mention that the file is displayed in the middle of the text between the DL speed and size funny!) but which one did you think is the more correct behavior ? CW ? CCW ? anyways it has to be consistent i would actually like to code all these fixes myself, because i am quite excited about chrome programming but how does one know which way you ppl decided is the right way ? --~--~-~--~~~---~--~~ 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: message between renderer and browser
There is one message for forwarding any type of input event. Trace backwards and forwards from RenderWidgetHost::ForwardInputEvent(). Avi On Tue, Jun 2, 2009 at 3:48 PM, meryl silverburgh.me...@gmail.com wrote: Hi, I am reading the messaging between renderer and browser: http://dev.chromium.org/developers/design-documents/displaying-a-web-page-in-chrome It has 2 messages as an example, set cursor message and mouse click message. Does that mean there is a different message for each input events. For example, * a message for pressing each keyboard key (a-z,0-9)? * a message for mouse movement? (to support javascript onmouseover) --~--~-~--~~~---~--~~ 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: --single-process not working with Chrome 2.0?
It's always disabled in Chrome. It's all in the source code. See [1] line ~416. You can use Google Code Search to grep the code more quickly. For instance, if you search for single_process, you'll end up on [2] and oh look at the first result! [1] http://src.chromium.org/viewvc/chrome/trunk/src/chrome/app/chrome_dll_main.cc?view=markup [2] http://www.google.com/codesearch?hl=enq=single_processexact_package=http%3A%2F%2Fsrc.chromium.org%2Fsvn%2Ftrunk%2Fsrc On Mon, Jun 1, 2009 at 12:20 PM, vijay tec...@gmail.com wrote: The --single-process command-line switch does not seem to be working with Chrome 2.0. I'm running the latest released version of 2.0.172.28 on Windows XP and even when using the switch, Chrome still starts up with 2 processes. Then, when I go to a page with a plugin (NPAPI), it creates a brand new process. Am I doing something wrong or did something change with --single-process? Thanks in advance, Vijay --~--~-~--~~~---~--~~ 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: CL 115977 will require clobber build
This has been submitted as r17430. On Mon, Jun 1, 2009 at 2:13 PM, Albert Wong (王重傑) ajw...@chromium.orgwrote: I will be checking in a /D change to essential.vsprops that requires a clobber build. The change is to enable TR1 for VS2008 SP1 so that gmock can compile on that platform. I'm running through the clobber builds locally right now, and will probalby submit the change tomorrow morning. Will send out an update with the revision number when it's it's landed. For those interested, the CL is here: http://codereview.chromium.org/115977 -Albert http://codereview.chromium.org/115977 --~--~-~--~~~---~--~~ 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: a brave new world for RTL languages (please comment)
Hi Yoav, On Tue, Jun 2, 2009 at 12:42 PM, nakro yoav.zilberb...@gmail.com wrote: *sigh* i wrote such a splendid reply but chrome entered one of his moods and refused to pop out of the taskbar here is the much shorter version : tell your friend at FF that at least on 3.0.10 the Ctrl+right shift do not work (try www.google.com and see in the edit control) also, i failed to see the logic in his reasoning for why visual selection is a bad thing if you are located anywhere in a text, and you press SHIFT + LEFT, when is it ever a bad idea to take the char to your left ? never! really never (even if you imagine numbers or other things) At the very beginning of the email, he mentioned that This question does not have a definite right answer.. I think shift+arrow follows logical order is because it is a selection operation, which often used for cut/copy/paste, in which, it makes sense to copy the text that are logically(not visually) continuous together. There is a chrome bug http://crbug.com/8141related to shift+arrow. There are some native speakers who actively working/commenting on the bug. From the bug (and its related bugs) history, looks like logical order is what they are expecting as well. Again, both Uri and the IBM document mentioned selection could follow visual or logical order. And Chrome could provide a toggle between visual order and logical order, like what Firefox does. But I do not think we are in that stage yet. nvm, as for chrome, just one example : if you download a file (3.0.183.0 (17405)) with hebrew UI you will see the localized version of this file could harm but the buttons are to the right of this message which would seem awkward but maybe you thought it was a good thing, do you have some design doc about how you wanted RTL to look ? I think that is a bug. Could you please kindly file a bug? If you think Chrome does not work correctly in any case, you could file a bug. And it is helpful to file bug with concrete information (you can search the bugs xlyuan filed for reference). Chrome is still improving its quality in RTL languages, and we might overlooked some issues before. If there is doubt on whether the bug you filed is a bug or not, we can discuss it. We do have a UI mirroring infrastructure design dochttp://dev.chromium.org/developers/design-documents/ui-mirroring-infrastructure, which focused mostly on how Chrome implement its UI mirroring in windows. another example, still in that area, in the DL shelf, the pie chart grows CW (good!) and in the download tab (Ctrl+J) it shows it CCW (not to mention that the file is displayed in the middle of the text between the DL speed and size funny!) but which one did you think is the more correct behavior ? CW ? CCW ? anyways it has to be consistent I agree that it should be consistent. But I am not sure which way is more intuitive to native speakers. Could you please kindly file a bug? There are some experienced/knowledgeable native speaker developers, and there are some native speakers actively working with us to improve Chrome's quality. We can discuss the desired behavior in the bug. i would actually like to code all these fixes myself, because i am quite excited about chrome programming but how does one know which way you ppl decided is the right way ? We'd love if you could contribute. As I mentioned before, we have talented and passionate native speakers in chromium community. The best way to start contribute is to file bug with concrete information, and *we* (not only chrome programmer) can discuss the right solution. It is always a good idea to track issues down, and tackle them one by one. Thanks, Xiaomei --~--~-~--~~~---~--~~ 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: a brave new world for RTL languages (please comment)
Xiaomei, i have reported these issues http://code.google.com/p/chromium/issues/detail?id=13215 http://code.google.com/p/chromium/issues/detail?id=13216 http://code.google.com/p/chromium/issues/detail?id=13217 --~--~-~--~~~---~--~~ 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 architecture
I am reading this document http://dev.chromium.org/developers/how-tos/getting-around-the-chrome-source-code; about chromium source code: It said: renderer: Code for the subprocess in each tab. This embeds WebKit and talks to browser for I/O. Does that mean chromium do not use the HTTP stack/library that Webkit is using? And does that mean all the I/O of each tab (webkit renderer) will be sent to 'browser' for I/O, and there is 1 I/O thread in the browser to handle the I/O requests from ALL tab? 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 architecture
On Tue, Jun 2, 2009 at 4:57 PM, Meryl Silverburgh silverburgh.me...@gmail.com wrote: I am reading this document http://dev.chromium.org/developers/how-tos/getting-around-the-chrome-source-code; about chromium source code: It said: renderer: Code for the subprocess in each tab. This embeds WebKit and talks to browser for I/O. Does that mean chromium do not use the HTTP stack/library that Webkit is using? WebKit uses different HTTP stacks depending on the port. We use a different one than any other ports. And does that mean all the I/O of each tab (webkit renderer) will be sent to 'browser' for I/O, and there is 1 I/O thread in the browser to handle the I/O requests from ALL tab? Correct. Brett --~--~-~--~~~---~--~~ 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: Please ping me if you plan on touching the OSX keyboard handling code
Hi Jeremy, Sure. I have been adding code to implement the NSTextInput interface (mainly in chrome/browser/renderer_host/render_widget_host_view_mac.mm). If it becomes OK, I'm going to notice you. Regards, Hironori Bono E-mail: hb...@chromium.org 2009/6/3 Jeremy Moskovich jer...@chromium.org: We have a bunch of bugs around keyboard handling on OSX since we currently bypass the Cocoa event handling system. I've started to look into some of these issues. Please touch bases with me if you plan on touching the event code on OSX. Duplicating work really sucks. Thanks, Jeremy --~--~-~--~~~---~--~~ 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: Print Settings Mockup
I removed the options part to give a more visualized idea: http://i41.tinypic.com/syvz7p.png http://i41.tinypic.com/syvz7p.pngScott, I agree headers / footers are confusing everywhere, can you elaborate on how we can do inline header/footer representation. I was thinking of the same thing, but I thought it would be confusing for the user to actually click that area, unless it is visually appealing. Ideas? -- Mohamed Mansour On Tue, Jun 2, 2009 at 3:48 PM, Scott Hess sh...@chromium.org wrote: I think the headers and footers are confusing (everywhere). Why not just a single popup for each selection which displays a real-time view of each thing? So it might have items like: Header: Bonsai Kitten http://www.shorty.com/bonsaikitten/; Footer: Page 1 of 2 June 2, 2009 Even better if it were in-line in the box that shows the page (header above, footer below). Also better if it integrates with the margins, since the header and footer presumably take up some space, showing how that space is reclaimed might be valuable. -scott [not a UI designer, I hate almost all print panels, they almost always make what I want hard to do] On Tue, Jun 2, 2009 at 11:31 AM, Marc-Antoine Ruel mar...@chromium.org wrote: I like the mock. Glen has a veto on any UI. I think the Options is unnecessary until implemented so it can be trimmed off. The inches/mm issue is well done in Microsoft Word where you can type the units you want to use instead of being forced to use one or another. M-A On Tue, Jun 2, 2009 at 2:15 PM, Mohamed Mansour m0.interact...@gmail.com wrote: Hi guys, how are you doing? I asked Marc-Antoine about creating a mock-up of the print settings so I was looking into different printer settings user interfaces from various products. http://i44.tinypic.com/rka0c5.png The similarities between them is quite similar, but I really like what Firefox has done with how they divide their sections, as well, how the display the marginal data on the fly. They all have the following things in common: Real-Time displaying of margin changes on the paper Changing headers / footers and allow custom desc Page orientations (Landscape and Portrait) What I liked about the Microsoft products is that everything is in one page. The user will not be confused with many clicks, and everything is there. But, the sections are not divided, they all look squished. Here is my initial proposal. http://i40.tinypic.com/14ki9w0.png Only a single page, where the user will enter his format, options (if any), margins, and header/footer. The components are same as Firefox but all in one page. We should probably do a drop down to state which metric to use (inch/cm) since only America uses inches. I have brought my mother to test this, and mind you, she is very new to computers (very inexperienced), she liked the above version because everything she needs is in her finger tips and understands it better than the others. So that is my take, what do you think? I would like to send this email off to Ben/Glen/Nick since they are the UI team and may have a better UI perspective on how to do things. Let me know if its allowed to be sent to dev mailing list! Thanks! -- Mohamed Mansour --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] Buildbot is failing, I don't know what to do.
Hi, I was landing a patch right now, and I am getting all these weird errors. C:\b\slave\sub-dbg-xp\build\src\net\http\http_auth_handler_ntlm.cc : warning C4005: '_HAS_TR1' : macro redefinition _HAS_TR1 I have no idea whats happening. Anyone else has those? -- Mohamed Mansour --~--~-~--~~~---~--~~ 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: Buildbot is failing, I don't know what to do.
We're working through this on #chromium Adam On Tue, Jun 2, 2009 at 7:29 PM, Mohamed Mansour m0.interact...@gmail.com wrote: Hi, I was landing a patch right now, and I am getting all these weird errors. C:\b\slave\sub-dbg-xp\build\src\net\http\http_auth_handler_ntlm.cc : warning C4005: '_HAS_TR1' : macro redefinition _HAS_TR1 I have no idea whats happening. Anyone else has those? -- Mohamed Mansour --~--~-~--~~~---~--~~ 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: Buildbot is failing, I don't know what to do.
The machines with this error need to be clobbered. I did most of them this afternoon, but looks like I forgot some! Thanks Nicolas On Tue, Jun 2, 2009 at 7:36 PM, Adam Barth aba...@chromium.org wrote: We're working through this on #chromium Adam On Tue, Jun 2, 2009 at 7:29 PM, Mohamed Mansour m0.interact...@gmail.com wrote: Hi, I was landing a patch right now, and I am getting all these weird errors. C:\b\slave\sub-dbg-xp\build\src\net\http\http_auth_handler_ntlm.cc : warning C4005: '_HAS_TR1' : macro redefinition _HAS_TR1 I have no idea whats happening. Anyone else has those? -- Mohamed Mansour --~--~-~--~~~---~--~~ 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: Buildbot is failing, I don't know what to do.
On Tue, Jun 2, 2009 at 7:36 PM, Adam Barth aba...@chromium.org wrote: We're working through this on #chromium In the future: Use #chromium first for urgent things like this, resort to email if you can't reach anyone there. PK --~--~-~--~~~---~--~~ 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: Buildbot is failing, I don't know what to do.
Thats what I did, and Adam and Nick came on IRC afterwards. -- Mohamed Mansour On Tue, Jun 2, 2009 at 11:28 PM, Peter Kasting pkast...@google.com wrote: On Tue, Jun 2, 2009 at 7:36 PM, Adam Barth aba...@chromium.org wrote: We're working through this on #chromium In the future: Use #chromium first for urgent things like this, resort to email if you can't reach anyone there. PK --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] confused with chrome's version control
I'm new with chrome, and now confused with chrome's version control. I find there're tarball, snapshot, continuous or maybe some other kinds of version. So, how many kinds of versions chrome has? What do they dedicate on each? In fact, I'm also puzzled about chrome and chromium, what's different? --~--~-~--~~~---~--~~ 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: confused with chrome's version control
On Jun 2, 8:20 pm, Davis Jickae jick...@gmail.com wrote: I'm new with chrome, and now confused with chrome's version control. I find there're tarball, snapshot, continuous or maybe some other kinds of version. So, how many kinds of versions chrome has? What do they dedicate on each? In fact, I'm also puzzled about chrome and chromium, what's different? --~--~-~--~~~---~--~~ 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: confused with chrome's version control
Snapshot builds are current, on the fly, development builds whenever a developer has checked in changes for recompiling. You get a snapshot build whenever there is a successful compile. Continuous builds are those snapshot builds that have passed all the automated tests. The latest tarball (created nightly) is an archive of the last known continuous green build. Chromium is the open source code project for the browser which makes use of the V8 engine for Javascript. Anyone is free to download and use the Chromium source code. Chrome is Google's branded browser based on Chromium code, which includes Google specific elements, including Google's red-yellow-green- blue Chrome logo, Google's distributor branding, and built-in access to Google Chrome's update servers. On Jun 2, 8:20 pm, Davis Jickae jick...@gmail.com wrote: I'm new with chrome, and now confused with chrome's version control. I find there're tarball, snapshot, continuous or maybe some other kinds of version. So, how many kinds of versions chrome has? What do they dedicate on each? In fact, I'm also puzzled about chrome and chromium, what's different? --~--~-~--~~~---~--~~ 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: confused with chrome's version control
Hi, the difference between chrome and chromium is written here pretty well: http://blog.chromium.org/2008/10/google-chrome-chromium-and-google.html There is Google Chrome and Chromium (two versions). Google Chrome has many versions (Stable / Beta / Dev ) to learn more about them, you can read the following link: http://dev.chromium.org/getting-involved/dev-channel Now Chromium is the bleeding edge browser. AFAIK ... - *continuous is the most recent revision that passed both unit tests and layout tests. Since layout tests can take a while to run, this revision may be an hour or more stale. You can download the latest continuous windows version here:* - http://build.chromium.org/buildbot/continuous/LATEST/ - *tarball *is built every night to make it easier to fetch the whole code base instead of downloading it all from svn. You can download it here: - http://build.chromium.org/buildbot/archives/chromium_tarball.html - *snapshots *is exactly what that word defines. Chromium keeps snapshots of specific revisions in history, so you can go back in time. - WINDOWS: http://build.chromium.org/buildbot/snapshots/chromium-rel-xp/ - LINUX: http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/ - MAC: http://build.chromium.org/buildbot/snapshots/sub-rel-mac/ Anyone else can freely correct me if I misunderstood something. -- Mohamed Mansour On Tue, Jun 2, 2009 at 11:51 PM, dhhwai dhh...@gmail.com wrote: On Jun 2, 8:20 pm, Davis Jickae jick...@gmail.com wrote: I'm new with chrome, and now confused with chrome's version control. I find there're tarball, snapshot, continuous or maybe some other kinds of version. So, how many kinds of versions chrome has? What do they dedicate on each? In fact, I'm also puzzled about chrome and chromium, what's different? --~--~-~--~~~---~--~~ 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: confused with chrome's version control
There is only one form of version control, which is the Subversion repository. For convenience, we provide a few alternatives to checking out a source tree from subversion and building it: tarballs: a tarball is a tar format archive of a complete source tree that has been checked out from the subversion repository. It reflects the state of the source tree at a given point in time. continuous: ever time anyone checks in a change, we have a continuous build system that checks out the change and tries to build Chromium. This system uses a Python script called buildbot, which knows how to build all of Chromium's components, run their unit tests, build the application, run automated tests on it, etc. This allows developers to detect immediately if a change causes either build problems or failed tests. This overall strategy is often called continuous integration, and it's very helpful for finding bugs early. snapshot: a snapshot build is simply a copy of chromium that was successfully built by the continuous build system (that is, each snapshot is the most recent build that did not fail for some reason). Google Chrome is a Google-branded variation on Chromium that Google has put through quality assurance testing, provides auto-update services for, etc. Chromium is the name of the open source project that anyone can build or use for their own purposes. Or put a different way, Google Chrome is a copy of Chromium that was built and tested by Google. Does that help? --Amanda On Tue, Jun 2, 2009 at 11:20 PM, Davis Jickae jick...@gmail.com wrote: I'm new with chrome, and now confused with chrome's version control. I find there're tarball, snapshot, continuous or maybe some other kinds of version. So, how many kinds of versions chrome has? What do they dedicate on each? In fact, I'm also puzzled about chrome and chromium, what's different? --~--~-~--~~~---~--~~ 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: Does anyone have objections to adding a GetSwitchValues() accessor to CommandLine?
Would an iterator method on CommandLine serve the same purpose? It seems like that could work without having to make a copy... --Amanda On Wed, Jun 3, 2009 at 12:06 AM, Book'em Dano daniel.c...@gmail.com wrote: Does anyone have objections to including such a function? It would just return a copy of std::mapstd::string, StringType switches_; I'd like to add such a function so that I can iterate over the command line args (both switches and loose values) and validate that only expected values are present. -D --~--~-~--~~~---~--~~ 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: Does anyone have objections to adding a GetSwitchValues() accessor to CommandLine?
Sure. that woudl work too. I'm kinda curious why this was removed in the first place. If i recall correctly, we used to have such a method. On Jun 2, 9:09 pm, Amanda Walker ama...@chromium.org wrote: Would an iterator method on CommandLine serve the same purpose? It seems like that could work without having to make a copy... --Amanda On Wed, Jun 3, 2009 at 12:06 AM, Book'em Dano daniel.c...@gmail.com wrote: Does anyone have objections to including such a function? It would just return a copy of std::mapstd::string, StringType switches_; I'd like to add such a function so that I can iterate over the command line args (both switches and loose values) and validate that only expected values are present. -D --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~--~~~~--~~--~--~---
[chromium-dev] DLLs missing and DCHECKs in recent builds
I thought it was just me, but I just heard from someone else who hit this. It appears that a recent change causes a few things to not get built when you do a clean build, leading to DCHECKs when you try to run. I believe the GYP team is working on a fix, but in the meantime you can work around it by manually building chrome/theme_dll and chrome/app/locales/en-US. xox, Glen --~--~-~--~~~---~--~~ 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: Print Settings Mockup
What I meant was to have a popup full of formatted choices which look like the thing you want to have. So instead of Page # of #, which is pretty abstract, Page 1 of 2. Also, instead of have six places where you can list five different things (Firefox has five, two of which are variants of each other), just have two popups each with all 48 sensible combinations. Well, OK, that's a little excessive, but maybe someone can think of a better something to constrain that. Personally, I don't think a popup with 48 items which are easy to navigate (because each item is only a small edit-distance from the previous one) is materially worse than three popups with 5 items. It's sort of like the search suggest popup, it's easy to navigate because things are constrained by what you've typed so far. Just in case it was the contents that was confusing, I mean instead of three independently-settable positions, show a formatted cell made up of the literal bits from the page, arranged as they would be shown on the output. So in your png, the single Header: popup would show a cell with the left-justified title and right-justified URL and nothing in the middle. When you pop it up the change things, you'd get the different variations to choose from, again formatted with the literal items from the page you're printing. -scott On Tue, Jun 2, 2009 at 6:28 PM, Mohamed Mansour m0.interact...@gmail.com wrote: I removed the options part to give a more visualized idea: http://i41.tinypic.com/syvz7p.png Scott, I agree headers / footers are confusing everywhere, can you elaborate on how we can do inline header/footer representation. I was thinking of the same thing, but I thought it would be confusing for the user to actually click that area, unless it is visually appealing. Ideas? -- Mohamed Mansour On Tue, Jun 2, 2009 at 3:48 PM, Scott Hess sh...@chromium.org wrote: I think the headers and footers are confusing (everywhere). Why not just a single popup for each selection which displays a real-time view of each thing? So it might have items like: Header: Bonsai Kitten http://www.shorty.com/bonsaikitten/; Footer: Page 1 of 2 June 2, 2009 Even better if it were in-line in the box that shows the page (header above, footer below). Also better if it integrates with the margins, since the header and footer presumably take up some space, showing how that space is reclaimed might be valuable. -scott [not a UI designer, I hate almost all print panels, they almost always make what I want hard to do] On Tue, Jun 2, 2009 at 11:31 AM, Marc-Antoine Ruel mar...@chromium.org wrote: I like the mock. Glen has a veto on any UI. I think the Options is unnecessary until implemented so it can be trimmed off. The inches/mm issue is well done in Microsoft Word where you can type the units you want to use instead of being forced to use one or another. M-A On Tue, Jun 2, 2009 at 2:15 PM, Mohamed Mansour m0.interact...@gmail.com wrote: Hi guys, how are you doing? I asked Marc-Antoine about creating a mock-up of the print settings so I was looking into different printer settings user interfaces from various products. http://i44.tinypic.com/rka0c5.png The similarities between them is quite similar, but I really like what Firefox has done with how they divide their sections, as well, how the display the marginal data on the fly. They all have the following things in common: Real-Time displaying of margin changes on the paper Changing headers / footers and allow custom desc Page orientations (Landscape and Portrait) What I liked about the Microsoft products is that everything is in one page. The user will not be confused with many clicks, and everything is there. But, the sections are not divided, they all look squished. Here is my initial proposal. http://i40.tinypic.com/14ki9w0.png Only a single page, where the user will enter his format, options (if any), margins, and header/footer. The components are same as Firefox but all in one page. We should probably do a drop down to state which metric to use (inch/cm) since only America uses inches. I have brought my mother to test this, and mind you, she is very new to computers (very inexperienced), she liked the above version because everything she needs is in her finger tips and understands it better than the others. So that is my take, what do you think? I would like to send this email off to Ben/Glen/Nick since they are the UI team and may have a better UI perspective on how to do things. Let me know if its allowed to be sent to dev mailing list! Thanks! -- Mohamed Mansour --~--~-~--~~~---~--~~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev