summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Finish release (opt) builds on Windows, including the parallelsgk@google.com2008-11-2035-386/+506
| | | | | | | | | | | | | | | | | | | | | | | | | | | build\*.scons structure (mirroring build\*.vsprops files): * Use env.ApplySConscript() instead of env.SConscript with a hand-crafted dictionary defining 'env'. * Move various CPPPATH, CCFLAGS, CPPDEFINES, LIBS and LIBPATH definitions from build/SConscript.main and target-specific *.scons files into the build\*.scons files that mirror the existing build\*.vsprops hierarchy. * Use the new build\{debug,release}.scons files to update the windows_dbg and windows_opt construction environments. * Mirror current support for CHROME_BUILD_TYPE and CHROMIUM_BUILD external environment variables. * Remove hard-coded /TP options. * Massage $CXXFLAGS to remove $CCFLAGS, avoiding duplication of options on command lines. Handle the ripple effect in $PCHCOM by adding $CCFLAGS back to that command line. * Delete hammer's default settings of {CC,LINK}FLAGS_{DEBUG,OPTIMIZED} so they don't pollute our construction environments. * Update chrome config to link against v8 for opt, v8_g for dbg. * Get rid of fragile by-hand order of using_net.scons before other using_*.scons files. We're now using --start-group and --end-group on Linux to deal with dependency cycles in libraries. Review URL: http://codereview.chromium.org/11478 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5741 0039d316-1c4b-4281-b951-d872f2087c98
* Make the net resource interface use StringPiece instead of std::string. ↵deanm@chromium.org2008-11-207-15/+19
| | | | | | | | This means we can point directly into the resource in the binary, instead of copying. This makes sense for the TLD data, which doesn't need to be copied around. Review URL: http://codereview.chromium.org/11506 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5740 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/11504michaeln@google.com2008-11-201-18/+21
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5739 0039d316-1c4b-4281-b951-d872f2087c98
* The form autofill when shown originally has no selection, pressing enter in ↵jcampan@chromium.org2008-11-201-1/+6
| | | | | | | | | | | | that state would create a crasher. It is ok to have -1 as the selection index, which means no selection. BUG=4573 TEST=In a form text field enter some text so the autofill popup shows up, press enter. The popup should disappear with no crasher. Review URL: http://codereview.chromium.org/11297 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5738 0039d316-1c4b-4281-b951-d872f2087c98
* Added flags to the coverage script so that this can run locally and ↵niranjan@google.com2008-11-201-38/+62
| | | | | | | | developers can use the .coverage files inside their Visual Studio Team Tools. Also misc bug fixes. Review URL: http://codereview.chromium.org/11497 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5737 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Make the net resource interface use StringPiece instead oftc@google.com2008-11-207-17/+13
| | | | | | | | | | | | | | | std::string. This means we can point directly into the resource in the binary, instead of copying. This makes sense for the TLD data, which doesn't need to be copied around." This reverts commit r5735. TBR=deanm Review URL: http://codereview.chromium.org/11298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5736 0039d316-1c4b-4281-b951-d872f2087c98
* Make the net resource interface use StringPiece instead of std::string. ↵deanm@chromium.org2008-11-207-13/+17
| | | | | | | | This means we can point directly into the resource in the binary, instead of copying. This makes sense for the TLD data, which doesn't need to be copied around. Review URL: http://codereview.chromium.org/11296 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5735 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor some windows specific initialization code intotc@google.com2008-11-207-172/+145
| | | | | | | | | | test_shell_win.cc. The sln change is to make test_shell_tests depend on breakpad. Review URL: http://codereview.chromium.org/11288 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5734 0039d316-1c4b-4281-b951-d872f2087c98
* Don't execute a NOTREACHED in TabStrip::DestroyDraggedSourceTab if thesky@google.com2008-11-201-1/+2
| | | | | | | | | | | | | | | tab strip contains the tab but the model is closing all. Normally the end of the animation removes the tab, but if we're closing all tabs the animation isn't run. I was hitting this when I have more than one window open and drag a tab in a window with a single tab and release it. BUG=none TEST=none Review URL: http://codereview.chromium.org/11294 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5733 0039d316-1c4b-4281-b951-d872f2087c98
* Fix windows scons build by adding a missing file.tc@google.com2008-11-201-0/+1
| | | | | | | | TBR=brettw Review URL: http://codereview.chromium.org/12002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5732 0039d316-1c4b-4281-b951-d872f2087c98
* revert 5730estade@chromium.org2008-11-1912-182/+132
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5731 0039d316-1c4b-4281-b951-d872f2087c98
* Port directory lister to posix.estade@chromium.org2008-11-1912-132/+182
| | | | | | | | Fix of issue 11437. Review URL: http://codereview.chromium.org/11293 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5730 0039d316-1c4b-4281-b951-d872f2087c98
* Cache the generated html for directory listings. This will allow the net ↵deanm@chromium.org2008-11-191-7/+26
| | | | | | | | resource provider system to return direct pointers into the resources instead of copying. Review URL: http://codereview.chromium.org/11501 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5729 0039d316-1c4b-4281-b951-d872f2087c98
* Use resource strings rather than hard-coded strings for namespatrick@chromium.org2008-11-191-15/+21
| | | | | | | in accessibility tests. Review URL: http://codereview.chromium.org/11292 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5728 0039d316-1c4b-4281-b951-d872f2087c98
* revert 5725estade@chromium.org2008-11-1912-182/+132
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5727 0039d316-1c4b-4281-b951-d872f2087c98
* Move creation of 'open with' registry keys to installer. We should place ↵kuchhal@chromium.org2008-11-196-101/+36
| | | | | | | | | | nice and not create these keys on every Chrome start just in case user wants a customized open with list. So now we only create these keys at installation or when user choses to make Chrome default browser. Also we clean them up on uninstall. BUG=1190855 Review URL: http://codereview.chromium.org/11491 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5726 0039d316-1c4b-4281-b951-d872f2087c98
* Port directory lister so test shell can view file directories.estade@chromium.org2008-11-1912-132/+182
| | | | | | Review URL: http://codereview.chromium.org/11437 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5725 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes crash when showing modal dialog from context menu. With thissky@google.com2008-11-195-43/+124
| | | | | | | | | | | | | | | | | | | | | sequence ContainerWin remains on the stack while the modal dialog is showing. Prior to this fix we would delete the ContainerWin, so that when the modal dialog closed control would return to a deleted object. The fix is to effectively delay deleting of the ConatinerWins used by menus. BUG=4580 TEST=This is the sequence that triggered the crash: open a folder on the bookmark bar, right child on a child folder that has more than 15 descendant URLs, click open all, a dialog should appear asking if you really want to open all, click cancel and make sure it doesn't crash. This is a subtle change to bookmark menus though, would be good to thoroughly exercise the menus in as many permutations as you can think of. Review URL: http://codereview.chromium.org/11289 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5724 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land this change: http://codereview.chromium.org/10967/showben@chromium.org2008-11-1919-71/+44
| | | | | | | | | Now with two improvements: - no longer create WebContentsViews as WS_VISIBLE, to prevent them from showing up in the taskbar - make sure overridden CreateView in NativeUIContents and StatusView have the correct signature. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5723 0039d316-1c4b-4281-b951-d872f2087c98
* Some cleanup work I did while adding more Safari builders. It got to bempcomplete@chromium.org2008-11-195-54/+100
| | | | | | | | | | | | | | | extensive so I decided to just check it in. Changes: - Use Return() instead of Export() from SConscript.inputs to pass 'env' back. - Move some of the build vars around to fix builders that aren't in SConscript.browser. - Refactor SConscript.installers so that we now have DirBuilder, a generic builder that creates a directory tree (used to be FF-specific). This will be used for OSX bundles. Review URL: http://codereview.chromium.org/11261 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5722 0039d316-1c4b-4281-b951-d872f2087c98
* Make Linux use the Windows tests lists for now.deanm@chromium.org2008-11-192-2/+1332
| | | | | | | | This means we can stop debugging failed tests that also fail on Windows. Review URL: http://codereview.chromium.org/11500 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5720 0039d316-1c4b-4281-b951-d872f2087c98
* sort chrome.sln. no functional changes, I just rantc@google.com2008-11-191-1713/+1713
| | | | | | | | | | the sort_sln.py script. TBR=brettw Review URL: http://codereview.chromium.org/11291 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5719 0039d316-1c4b-4281-b951-d872f2087c98
* Make http_server.sh mutli-platform.mmoss@google.com2008-11-191-5/+15
| | | | | | | Review URL: http://codereview.chromium.org/11498 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5718 0039d316-1c4b-4281-b951-d872f2087c98
* Use the Ahem font for layout tests.evanm@google.com2008-11-191-17/+34
| | | | | | | Review URL: http://codereview.chromium.org/11499 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5717 0039d316-1c4b-4281-b951-d872f2087c98
* Use /bin/cat for .asis files, this should make it work on both cygwin and ↵deanm@chromium.org2008-11-191-1/+1
| | | | | | | | Linux (and mac?). Review URL: http://codereview.chromium.org/11287 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5716 0039d316-1c4b-4281-b951-d872f2087c98
* Roll DEPS to pick up mac font metrics fix in r5714amanda@chromium.org2008-11-191-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5715 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply http://codereview.chromium.org/11225agl@chromium.org2008-11-192-3/+6
| | | | | | | | | This was lost by Brett's move this morning. Review URL: http://codereview.chromium.org/11605 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5713 0039d316-1c4b-4281-b951-d872f2087c98
* Add url_request_unittest to mac build.ericroman@google.com2008-11-194-37/+57
| | | | | | Review URL: http://codereview.chromium.org/11224 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5712 0039d316-1c4b-4281-b951-d872f2087c98
* Linux layout test fixagl@chromium.org2008-11-191-1/+1
| | | | | | | | | | | Append doesn't mutate so take the result of it. TBR=evan Review URL: http://codereview.chromium.org/11493 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5711 0039d316-1c4b-4281-b951-d872f2087c98
* Support manual HTTP server "start/stop" on Linux.mmoss@google.com2008-11-192-4/+14
| | | | | | | | | | This makes the Layout Tests instructions work on Linux: http://sites.google.com/a/chromium.org/dev/developers/testing/webkit-layout-tests Review URL: http://codereview.chromium.org/11490 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5710 0039d316-1c4b-4281-b951-d872f2087c98
* Remove chrome\browser\frame_util.cc from the SCons build.sgk@google.com2008-11-191-1/+0
| | | | | | Review URL: http://codereview.chromium.org/11485 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5709 0039d316-1c4b-4281-b951-d872f2087c98
* fix losing focus on arrow keys and tabtc@google.com2008-11-191-0/+10
| | | | | | | Review URL: http://codereview.chromium.org/11488 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5707 0039d316-1c4b-4281-b951-d872f2087c98
* Committing on behalf of knorton@google.comjam@chromium.org2008-11-191-1/+1
| | | | | | | | | | | Fixes a threading issue in PluginInstance. PluginThreadAsyncCall is supposed to provide a thread safe way of enqueing a callback onto the plugin thread. Currently, it unsafely adds a reference to the PluginInstance when the callback is enqueued. This patch converts PluginInstance from RefCounted to RefCountedThreadSafe. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5706 0039d316-1c4b-4281-b951-d872f2087c98
* Send the chrome.dll base address in the UMA initial log. This will help us ↵deanm@chromium.org2008-11-191-0/+9
| | | | | | | | detect address space collisions where chrome.dll is needing to be rebased, and it will help us choose a better base address. Review URL: http://codereview.chromium.org/6540 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5705 0039d316-1c4b-4281-b951-d872f2087c98
* Match Windows font metrics on Linux.agl@chromium.org2008-11-195-18/+98
| | | | | | | | | | | | | | | | | With this change, many layout tests involving text match render trees exactly. By turning off anti-aliasing we also almost match pixel exact. There are a couple of single-pixel differences between Win32 font rendering and FreeType however (see the bottom left pixel of an 'a' glyph for example), so we aren't quite pixel-for-pixel yet. Mike Reed expects to redo much of the font configuration code in Skia to cope with complex text and subpixel text so, for now, I'm not going to have anti-aliasing be a command line flag etc. Review URL: http://codereview.chromium.org/11284 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5704 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of the text on the toolbar.evanm@google.com2008-11-191-0/+2
| | | | | | | Review URL: http://codereview.chromium.org/11477 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5703 0039d316-1c4b-4281-b951-d872f2087c98
* Fallback to Windows expected results for Linux layout testsagl@chromium.org2008-11-194-0/+23
| | | | | | | | | | Otherwise we fall back to Mac results, which aren't what we are going to be aiming for. Review URL: http://codereview.chromium.org/11254 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5702 0039d316-1c4b-4281-b951-d872f2087c98
* fix unitteststc@google.com2008-11-192-4/+5
| | | | | | | | | We need to trim whitespace off the URL and handle the tricky html case by using rfind. Review URL: http://codereview.chromium.org/11465 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5701 0039d316-1c4b-4281-b951-d872f2087c98
* Enforce httponly on cookies coming from the renderer. This prevents ↵deanm@chromium.org2008-11-195-37/+134
| | | | | | | | | javascript from setting a new httponly cookie, and more importantly from overwriting httponly cookies. Patch from Marius Schilder. Review URL: http://codereview.chromium.org/11275 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5700 0039d316-1c4b-4281-b951-d872f2087c98
* Only have one constant for timeout time.erg@google.com2008-11-195-9/+10
| | | | | | | Review URL: http://codereview.chromium.org/11257 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5698 0039d316-1c4b-4281-b951-d872f2087c98
* More Linux build fixes.agl@chromium.org2008-11-192-9/+44
| | | | | | | | | | Add the bitmap platform device file to the scons and revert a reversion introduced in the move. Review URL: http://codereview.chromium.org/11484 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5697 0039d316-1c4b-4281-b951-d872f2087c98
* Remove platformCanvas_unittest from Liunx build since it doesn't compile ↵brettw@google.com2008-11-191-1/+3
| | | | | | | | properly. Review URL: http://codereview.chromium.org/11283 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5695 0039d316-1c4b-4281-b951-d872f2087c98
* Mac changes for r5690mark@chromium.org2008-11-191-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5694 0039d316-1c4b-4281-b951-d872f2087c98
* Mac changes for r5690mark@chromium.org2008-11-194-26/+52
| | | | | | Review URL: http://codereview.chromium.org/11483 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5693 0039d316-1c4b-4281-b951-d872f2087c98
* Minor Linux build fixupsagl@chromium.org2008-11-193-4/+4
| | | | | | | | | TBR=brett Review URL: http://codereview.chromium.org/11281 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5692 0039d316-1c4b-4281-b951-d872f2087c98
* Fix typo for Linux build.brettw@google.com2008-11-191-1/+1
| | | | | | Review URL: http://codereview.chromium.org/11482 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5691 0039d316-1c4b-4281-b951-d872f2087c98
* Move PlatformCanvas and PlatformDevice from base/gfx to webkit/port. I left ↵brettw@google.com2008-11-1951-3046/+3242
| | | | | | | | | | header files in the original locations that include the ones in the new location so I don't have to change all the includes in Chrome at once. These will be removed later. I kept the names, indenting, and the namespaces the same for now. I will also be cleaning this up in separate passes. Review URL: http://codereview.chromium.org/11244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5690 0039d316-1c4b-4281-b951-d872f2087c98
* Normalise layout test line endings to use UNIX style.agl@chromium.org2008-11-191-1/+1
| | | | | | | | | | | | | On Linux, the diffs against the Windows baselines fail if the baseline has \r\n line endings. The output from the test shell already appears to be normalised to \n endings, so it's not clear to me how Windows diff works in this case unless the Windows tools are automatically detecting and fixing the line endings. Review URL: http://codereview.chromium.org/11280 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5689 0039d316-1c4b-4281-b951-d872f2087c98
* delete more unused codepinkerton@google.com2008-11-191-624/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5688 0039d316-1c4b-4281-b951-d872f2087c98
* Checkin of unmodified version of Mach IPC utility class.jeremy@chromium.org2008-11-192-0/+544
| | | | | | | | | This is the same version of the class present in the Gears tree, modifications are only the file & header guard names and the license. Review URL: http://codereview.chromium.org/11278 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5687 0039d316-1c4b-4281-b951-d872f2087c98