summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Put the new ZIP data file in a separate CL because "gcl try" does not supportcevans@chromium.org2009-07-231-0/+0
| | | | | | | | | | | data files, and I want a clean try of the actual code changes before I submit :) BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/159281 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21427 0039d316-1c4b-4281-b951-d872f2087c98
* Added primitives to IMC-based MessageQueue to allow clients,kbr@google.com2009-07-236-95/+784
| | | | | | | | | | | | | | | | | | | | | | rather than O3D, to allocate and register shared memory segments. This is required in order to work in Protected Mode Internet Explorer on Windows Vista and later. Fixed preexisting bugs in MessageQueue related to shared memory mapping failures and corruption of concurrent incoming messages. Added the MessageQueue unit tests and Chrome's ConditionVariable class to the build. These tests required restructuring and multithreading. Wrote simple framework which detects test failures and timeouts in child threads and reports them to the main thread. Restructured existing MessageQueue tests. Added unit test for Register/UnregisterSharedMemory and stress test for above concurrency bug. Buganizer ID: 1997023. Review URL: http://codereview.chromium.org/155947 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21426 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the --diagnostics switchcpu@google.com2009-07-232-0/+5
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/159278 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21425 0039d316-1c4b-4281-b951-d872f2087c98
* Don't add the QuickLaunch shortcut by default in Windows7cpu@google.com2009-07-232-4/+10
| | | | | | | | | | BUG=17401 TEST=none Review URL: http://codereview.chromium.org/159244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21424 0039d316-1c4b-4281-b951-d872f2087c98
* Fix NativeViewHostGtk clipping.ben@chromium.org2009-07-238-75/+156
| | | | | | | | | | | | | Basically, I introduce an additional GtkFixed into the GtkWidget hierarchy. When clipping is required, this is re-created with a X Window and clipping is performed. For some reason, Gtk+Cairo won't clip rendering to the parent GtkWidget if there isn't an associated X Window. This also fixes the GetPreferredSize implementation for NativeButtonGtk which would return ever increasing values of size each time it was called. BUG=none TEST=none Review URL: http://codereview.chromium.org/159153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21423 0039d316-1c4b-4281-b951-d872f2087c98
* Trying to turn the reliability bots green.senorblanco@chromium.org2009-07-231-0/+2
| | | | | | | | | | | Put recent skia failures into known_crashes.txt. BUG=http://crbug.com/17569 TEST=Check that the reliability bot goes green. Review URL: http://codereview.chromium.org/160030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21422 0039d316-1c4b-4281-b951-d872f2087c98
* Fix issue where dragging window via a tab would incorrectly dim chrome when ↵pinkerton@chromium.org2009-07-232-0/+4
| | | | | | | | | | there were no other windows as drag targets, but only the first time. BUG=11125 TEST=dragging tabs in and out of windows should show consistent feedback. Review URL: http://codereview.chromium.org/160018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21421 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug 15795: make the capslock indicator in password fields (on Mac) work.avi@chromium.org2009-07-232-0/+12
| | | | | | | | | | | | | | | (Hook up WebKit's Frame::eventHandler()->capsLockStateMayHaveChanged() in WebViewImpl::KeyEvent() and -flagsChanged: to -keyEvent: in BaseView.) Patch from viettrungluu@gmail.com. BUG=http://crbug.com/15795 TEST=go to some password field (e.g., in gmail login), cycle capslock Review URL: http://codereview.chromium.org/159215 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21420 0039d316-1c4b-4281-b951-d872f2087c98
* Alt{Error,404}PageResourceFetcher cleanup.darin@chromium.org2009-07-2310-186/+87
| | | | | | | | | | | | | | This change modifies AltErrorPageResourceFetcher to use Callback so that we can eliminate Alt404PageResourceFetcher. This change also eliminates dependencies from AltErrorPageResourceFetcher on WebCore. BUG=15648 TEST=none R=tony Review URL: http://codereview.chromium.org/159262 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21419 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Use _exit() instead of exit() in the child after fork() in failure ↵mdm@chromium.org2009-07-232-2/+12
| | | | | | | | | | | conditions. TEST=none BUG=none Review URL: http://codereview.chromium.org/159275 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21418 0039d316-1c4b-4281-b951-d872f2087c98
* Add support to URLRequest for deferring redirects.darin@chromium.org2009-07-2315-58/+166
| | | | | | | | | | | | | | | | | | | | I chose to add an out parameter to OnReceivedRedirect because it allows for the default behavior to remain the same. I considered adding a ContinueAfterRedirect method that all OnReceivedRedirect implementations would need to call, but this caused one annoying problem: In the case of a ChromePlugin, it is possible for the URLRequest to get deleted inside the handler for the redirect. This would make it hard to subsequently call a method on the URLRequest since I would need to have a way to determine if the URLRequest had been deleted. TEST=covered by unit tests BUG=16413,6442 R=eroman,wtc Review URL: http://codereview.chromium.org/155897 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21417 0039d316-1c4b-4281-b951-d872f2087c98
* Widen/add suppression for leak in sqlite.dkegel@google.com2009-07-231-0/+10
| | | | | | | | BUG=17576 TEST=watch valgrind ui bots go green(er) Review URL: http://codereview.chromium.org/160017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21416 0039d316-1c4b-4281-b951-d872f2087c98
* This updates the DEPS to bring them in line with the versionsgspencer@google.com2009-07-2325-51/+146
| | | | | | | | | | | that Chrome is currently using, and it removes "files" from the NPAPI include paths and file location in third_party so that we can be consistent with other Chrome third party directories. TEST=build using gyp and scons and ran unit tests on each. Review URL: http://codereview.chromium.org/159277 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21415 0039d316-1c4b-4281-b951-d872f2087c98
* Disable worker tests for debug builds.darin@chromium.org2009-07-231-0/+11
| | | | | | | | | | BUG=17572 TEST=none TBR=levin Review URL: http://codereview.chromium.org/160029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21414 0039d316-1c4b-4281-b951-d872f2087c98
* Update valgrind suprression file again.jam@chromium.org2009-07-231-3/+2
| | | | | | Review URL: http://codereview.chromium.org/159279 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21413 0039d316-1c4b-4281-b951-d872f2087c98
* Unrevert 21355 because the revert might be causing thensylvain@chromium.org2009-07-2329-358/+222
| | | | | | | | worker tests failures. Review URL: http://codereview.chromium.org/159276 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21412 0039d316-1c4b-4281-b951-d872f2087c98
* Import WebKit/WebCore/loader/appcache/ManifestParser.{h,cpp}.darin@chromium.org2009-07-232-0/+239
| | | | | | | | | | | | | | | | | This initial patch contains no edits except for the chromium header and a brief comment; it is uploaded as a basis for future diffs. Subsequent patches will contain the edits for this port and tests. Patch by Jennifer Braithwaite R=darin TEST=none BUG=none Review URL: http://codereview.chromium.org/159237 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21411 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Select omnibox text on button release instead of press.agl@chromium.org2009-07-232-26/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We also don't select all of the text if the user dragged to highlight some text before releasing the button. Tested by repeating the scenarios from: http://codereview.chromium.org/151006 http://codereview.chromium.org/159185 plus checking that the following cases behave as expected: 1. Type some text into the omnibox. Click in Webkit to give it the focus. Click once in the omnibox. All of its text should be highlighted, and middle-clicking in another window should show that the primary selection was updated. 2. Click in the omnibox to clear its highlighted text and click in Webkit again. Click in the omnibox again, but this time drag to highlight some text before letting go of the button. The highlighted text should be preserved on button release, and the primary selection should be updated. 3. Repeat step 2. Click a few times in the omnibox and confirm that we don't select all of its text (that should only happen at the end of the initial click that focuses the omnibox). (Patch from Dan Erat) http://codereview.chromium.org/155971 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21410 0039d316-1c4b-4281-b951-d872f2087c98
* Have UtilityProcessHostTest wait until the utility process dies beforempcomplete@chromium.org2009-07-231-2/+37
| | | | | | | | | | | finishing. This is an attempt to fix a memory leak. BUG=17387 TEST=no Review URL: http://codereview.chromium.org/155895 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21409 0039d316-1c4b-4281-b951-d872f2087c98
* Strip embedded "#" in URLs when constructing HTTP cache key.ericroman@google.com2009-07-232-5/+28
| | | | | | | | | BUG=http://crbug.com/17493 TEST=HttpCache.UrlContainingHash Review URL: http://codereview.chromium.org/155972 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21408 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes some float/double warnings and converts everything to floats.gspencer@google.com2009-07-231-11/+11
| | | | | | Review URL: http://codereview.chromium.org/155953 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21407 0039d316-1c4b-4281-b951-d872f2087c98
* Declare exe_name and cmd_line as const pointers and usewtc@chromium.org2009-07-231-7/+9
| | | | | | | | | | | | | | | const_cast only where necessary. Fix a FORWARD_NULL defect reported by Coverity. Pass cmd_line to sandbox::WideToMultiByte only if cmd_line is not NULL. R=rvargas BUG=http://crbug.com/17101 TEST=none Review URL: http://codereview.chromium.org/155969 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21406 0039d316-1c4b-4281-b951-d872f2087c98
* None of these files need to include config.h any longer...so remove it.jorlow@chromium.org2009-07-2314-28/+2
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/155970 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21405 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a FORWARD_NULL defect in ExtractModuleName reported by Coverity.wtc@chromium.org2009-07-232-6/+5
| | | | | | | | | | | | | | | | If 'sep' is still NULL after the for loop, ix must be -1, so ix == 0 cannot be true. Update the comment for ExtractModuleName in the header to match the implementation. I don't see any code that checks whether the path is a full path. R=rvargas BUG=http://crbug.com/17101 TEST=none Review URL: http://codereview.chromium.org/155979 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21404 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Remove suppressions that don't reproduce."erg@google.com2009-07-231-0/+18
| | | | | | | | | | | | | | It turns out while I couldn't reproduce these valgrind errors locally, they reproduce on the buildbot. This reverts commit dd24218ae59e4c9665c6ebf9fa4ebb5784bf3d88 (r21396). http://crbug.com/16089 TBR=dank Review URL: http://codereview.chromium.org/160023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21403 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix: I incorrectly applied r21399 from a patch.agl@chromium.org2009-07-231-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21402 0039d316-1c4b-4281-b951-d872f2087c98
* Update webkit. Mark some tests as expected to fail due todarin@chromium.org2009-07-232-6/+14
| | | | | | | | | | | | | | | out-of-date baselines. I'll cycle back and rebaseline once the bots generate new results. TBR=pkasting TEST=none BUG=none Review URL: http://codereview.chromium.org/160021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21401 0039d316-1c4b-4281-b951-d872f2087c98
* Squash the "Confirm Form Repost" dialog triggered via an external context ↵robertshield@chromium.org2009-07-233-2/+21
| | | | | | | | | | menu reload - the dialog is modal, but there may not be anything for it to be modal to. This is a shorter term fix - a longer term fix will be to change the way the dialog is displayed and allow it to be routed through automation. Review URL: http://codereview.chromium.org/160010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21400 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a couple gyp configuration issues with ipc_tests.agl@chromium.org2009-07-232-3/+2
| | | | | | | | | | | | | | | | | Adds ipc/ipc.gyp:* to the windows-only 'pull_in_all' target in chrome.gyp so that it's built on the windows builders and removes the dependency from unit_tests onto ipc/ipc.gyp:ipc_tests. Renames file_descriptor_set_unittest.cc to file_descriptor_set_posix_unittest.cc to match the .h/.cc files and so that it gets picked up by the exclusion filter properly. (Patch from James Robinson) http://codereview.chromium.org/159272 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21399 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 21355 because it might be causing all the newnsylvain@chromium.org2009-07-2329-222/+358
| | | | | | | | | | | | crashes on reliability. It also seems to be causing valgrind error. Original change: Switch the first thread in a child process to be the main thread, and make theIO thread be the second thread. The change is needed for plugins on mac. Review URL: http://codereview.chromium.org/159274 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21398 0039d316-1c4b-4281-b951-d872f2087c98
* (Identical to 159254 which I had in a messed up client)cevans@chromium.org2009-07-231-1/+1
| | | | | | | | | | | | | | Fix an off-by-one in the zip filename reading code. It's pretty harmless, and caused by a fairly lousy minizip API. It could lead to an out-of-bounds read due to lack of null termination. No way to reliably test. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/155984 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21397 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the drag over animation.arv@google.com2009-07-232-39/+124
| | | | | | | | | | | | | | | When we drag over a thumbnail we move the drop target 15px towards the location it would be if we dropped the source. BUG=14961 TEST=Drag a thumbnail. When dragging over an item the item should move towards the location of where the source came from. Review URL: http://codereview.chromium.org/155978 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21396 0039d316-1c4b-4281-b951-d872f2087c98
* Remove suppressions that don't reproduce.erg@google.com2009-07-231-18/+0
| | | | | | | | http://crbug.com/16089 Review URL: http://codereview.chromium.org/159207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21395 0039d316-1c4b-4281-b951-d872f2087c98
* GTK Themes: Use the GTK close button in the download shelf and popup ↵erg@google.com2009-07-237-23/+29
| | | | | | | | notification. Review URL: http://codereview.chromium.org/155939 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21394 0039d316-1c4b-4281-b951-d872f2087c98
* Propagate theme changes to the tabstrip.avi@chromium.org2009-07-234-1/+12
| | | | | | | | | BUG=http://crbug.com/17519 TEST=change themes; tabs should theme too Review URL: http://codereview.chromium.org/159271 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21393 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable some focus UI tests. These failed for unknown reasons with a funnybrettw@chromium.org2009-07-231-4/+2
| | | | | | | | | | error from the notification service. This error seems to be fixed. BUG=15265 Test=This is a test Review URL: http://codereview.chromium.org/155858 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21392 0039d316-1c4b-4281-b951-d872f2087c98
* Add a correct include for the IPC switches.brettw@chromium.org2009-07-231-0/+1
| | | | | | | | TEST=none Review URL: http://codereview.chromium.org/160016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21391 0039d316-1c4b-4281-b951-d872f2087c98
* Fix liner errors due to duplicate symbols in the switches. These switchesbrettw@chromium.org2009-07-239-17/+7
| | | | | | | were moved to IPC, but the source ones in chrome/common were kept. Review URL: http://codereview.chromium.org/160014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21389 0039d316-1c4b-4281-b951-d872f2087c98
* Adding an image that will be used for the omnibox hint infobar.jcampan@chromium.org2009-07-232-0/+1
| | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/159249 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21388 0039d316-1c4b-4281-b951-d872f2087c98
* change smoke test to run true rather than /bin/true to make macosx happydkegel@google.com2009-07-231-1/+1
| | | | | | Review URL: http://codereview.chromium.org/159258 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21387 0039d316-1c4b-4281-b951-d872f2087c98
* Correctly account for windows of different sizes when snapping windows ↵pinkerton@chromium.org2009-07-231-2/+9
| | | | | | | | | | together during a drag. BUG=16386 TEST=dragging together windows of different sizes. Review URL: http://codereview.chromium.org/159270 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21386 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Change js flags apply order: first ours, then from command line.mnaganov@chromium.org2009-07-231-6/+6
| | | | | | | | | | This allows to redefine flags (e.g. 'logfile') for debugging purposes. BUG=none TEST=none Review URL: http://codereview.chromium.org/160003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21385 0039d316-1c4b-4281-b951-d872f2087c98
* Add export_tarball tool.phajdan.jr@chromium.org2009-07-231-0/+90
| | | | | | | | | | It creates a .bz2 tarball with all the sources, but without .svn directories, and has an option to remove files which are not required for build, and take a lot of space. Review URL: http://codereview.chromium.org/155863 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21384 0039d316-1c4b-4281-b951-d872f2087c98
* Update V8 to version 1.2.14.6 to fix bug where a heap number could beager@chromium.org2009-07-231-1/+1
| | | | | | | | interpreted as a string in a keyed load. TBR=kmillikin@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21383 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure the multiplication sign is encoded properly.avi@chromium.org2009-07-231-2/+10
| | | | | | | | | BUG=http://crbug.com/17454 TEST=as bug Review URL: http://codereview.chromium.org/159209 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21382 0039d316-1c4b-4281-b951-d872f2087c98
* Increase the close button offset so the text doesn't overlap it.pinkerton@chromium.org2009-07-231-3/+1
| | | | | | | | BUG=13300 TEST=see bug. Review URL: http://codereview.chromium.org/159269 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21381 0039d316-1c4b-4281-b951-d872f2087c98
* Call setlocale(LC_ALL, "") in a renderer process for subsequent calls tojshin@chromium.org2009-07-231-0/+3
| | | | | | | | | | | | | | | SysNativeMBToWide and WideToSysNativeMB (that use mbstowcs and wcstombs) to work correctly. This is a clone of http://codereview.chromium.org/155913 BUG=16860 (http://crbug.com/16860 ) TEST=Run Chrome with LC_ALL=en_US.UTF-8 and try to upload a file whose name contains non-ASCII characters in UTF-8 (e.g. "café.txt" or "一二.txt" ) . The filename field in a form should be populated with the name (rather than empty). Review URL: http://codereview.chromium.org/159221 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21380 0039d316-1c4b-4281-b951-d872f2087c98
* Don't install the incognito badge in anything other than a normal browser ↵pinkerton@chromium.org2009-07-231-0/+3
| | | | | | | | | | window. BUG=17531 TEST=incognito man doesn't show up in popups, but does in main windows. Review URL: http://codereview.chromium.org/159267 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21379 0039d316-1c4b-4281-b951-d872f2087c98
* TBR=gspencer@google.comgman@google.com2009-07-231-0/+2
| | | | | | | Fix for mac/linux for FindFile test. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21378 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: print function source in eval selection requests.pfeldman@chromium.org2009-07-231-0/+3
| | | | | | Review URL: http://codereview.chromium.org/155918 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21377 0039d316-1c4b-4281-b951-d872f2087c98