summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix Linux buildbot breakage on BlockFiles_Grow due to lingering cache files.mmoss@google.com2008-09-097-19/+36
| | | | | | | | | | | | | | The buildbot was breaking because temporary cache files were being created under /tmp, like "/tmp/cache_test\data_*", rather than under /tmp/cache_test, like "/tmp/cache_test/data_*". This prevented the files from being cleaned up when /tmp/cache_test was deleted, and after a few runs, the max of 256 cache files was reached, and the tests failed when they couldn't create more. The following changes were made: - Replace '\' with platform-dependent path separator in various places. - Define constant (same as Windows) for invalid Linux file handle to fix error where wrong value was tested. - Force cache initialization in block_files tests, otherwise it fails to create cache files after calling DeleteCache(). BUG=1917 Review URL: http://codereview.chromium.org/1840 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1918 0039d316-1c4b-4281-b951-d872f2087c98
* Apply xcconfigs to Mac TestShell, fix warningsmmentovai@google.com2008-09-096-695/+450
| | | | | | Review URL: http://codereview.chromium.org/1668 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1917 0039d316-1c4b-4281-b951-d872f2087c98
* fix platform differences in editor client, make compile on non-windowspinkerton@google.com2008-09-092-9/+41
| | | | | | Review URL: http://codereview.chromium.org/1852 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1916 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes bug in TableView where by we return nothing as selected whensky@google.com2008-09-092-36/+22
| | | | | | | | | | | there was a selection. This appears to be a bug in Vista. I've worked around it by iterating over the elements. BUG=1499 TEST=See my steps in bug. Test on both XP and Vista. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1915 0039d316-1c4b-4281-b951-d872f2087c98
* fix win bustagepinkerton@google.com2008-09-092-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1912 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of an unneded static variable in the Mac TimeTicks::Nowmmentovai@google.com2008-09-091-6/+10
| | | | | | Review URL: http://codereview.chromium.org/1849 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1911 0039d316-1c4b-4281-b951-d872f2087c98
* Update the v8 reference in the Mac testshell project.avi@google.com2008-09-091-114/+54
| | | | | | Review URL: http://codereview.chromium.org/1851 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1910 0039d316-1c4b-4281-b951-d872f2087c98
* Bulk fixes to get Mac Test Shell more compile-happy.avi@google.com2008-09-0910-123/+231
| | | | | | Review URL: http://codereview.chromium.org/1818 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1909 0039d316-1c4b-4281-b951-d872f2087c98
* if-def the event conversion code to fit with the ifdefs in WebCore.pinkerton@google.com2008-09-092-3/+37
| | | | | | Review URL: http://codereview.chromium.org/1846 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1908 0039d316-1c4b-4281-b951-d872f2087c98
* stub out win-only routines and impl user agent for MacOS Xpinkerton@google.com2008-09-091-2/+23
| | | | | | Review URL: http://codereview.chromium.org/262 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1904 0039d316-1c4b-4281-b951-d872f2087c98
* Patch from Szymon Piechowicz <szymonpiechowicz@o2.pl>beng@google.com2008-09-092-6/+7
| | | | | | | | | Moves the New Tab, Window, Incognito Window menu items from the Page menu to the Wrench menu. Code review: http://codereview.chromium.org/1826 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1903 0039d316-1c4b-4281-b951-d872f2087c98
* Update stringstc@google.com2008-09-097-10/+10
| | | | | | | TBR=mal Review URL: http://codereview.chromium.org/1663 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1901 0039d316-1c4b-4281-b951-d872f2087c98
* Replace "WINAPI" with platform-independent "API_CALL".mmoss@google.com2008-09-093-12/+9
| | | | | | Review URL: http://codereview.chromium.org/1662 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1900 0039d316-1c4b-4281-b951-d872f2087c98
* Add some script generated files to not force a full rebuild when cleaning ↵maruel@google.com2008-09-090-0/+0
| | | | | | | | | | | | the tree. libxslt/config.h libxml/config.h libxml/include/libxml/xmlversion.h libxml/win32/config.msvc git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1899 0039d316-1c4b-4281-b951-d872f2087c98
* Use a GURL instead of a string when creating object, saves two string ↵pinkerton@google.com2008-09-092-6/+5
| | | | | | | | conversions. Review URL: http://codereview.chromium.org/253 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1898 0039d316-1c4b-4281-b951-d872f2087c98
* Merge v8.xcodeproj@219 to Chromium. This avoids unnecessary recompilationmmentovai@google.com2008-09-091-1/+1
| | | | | | | | and relinking when nothing has changed by being more careful about the timestamps of generated source files. Review URL: http://codereview.chromium.org/1844 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1897 0039d316-1c4b-4281-b951-d872f2087c98
* Build host_resolver on the Macmmentovai@google.com2008-09-094-12/+13
| | | | | | Review URL: http://codereview.chromium.org/1839 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1896 0039d316-1c4b-4281-b951-d872f2087c98
* Add an AtExitManager to test_chrome_plugin. It uses Time::Now(), which now ↵deanm@chromium.org2008-09-091-0/+5
| | | | | | | | uses a Singleton. Review URL: http://codereview.chromium.org/1843 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1895 0039d316-1c4b-4281-b951-d872f2087c98
* Revert the timeBeginPeriod changes in event_recorder. It's doing it's own ↵deanm@google.com2008-09-092-4/+10
| | | | | | | | timeGetTime calls, so let it manage all of those APIs on it's own. Remove an unneeded include in message_loop.cc. Review URL: http://codereview.chromium.org/1842 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1894 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply r1633 (which was reverted by r1635), with some additional ↵deanm@google.com2008-09-095-91/+101
| | | | | | | | modifications. Consolidate all timer resolution code to time.h, and always depend on TimeTicks::Now for 1ms resolution. Review URL: http://codereview.chromium.org/1806 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1893 0039d316-1c4b-4281-b951-d872f2087c98
* rollback r1891darin@google.com2008-09-093-98/+30
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1892 0039d316-1c4b-4281-b951-d872f2087c98
* Delete pending tasks that have not run. To do this properly, I found that I ↵darin@google.com2008-09-093-30/+98
| | | | | | | | | | | | cannot clear MessageLoop::current() until all of the tasks have been deleted. I wrote a loop to make sure that the queues are all empty. This could be abused, obviously. Another approach would be to CHECK that the second loop doesn't do anything. Thoughts? R=jar Review URL: http://codereview.chromium.org/1829 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1891 0039d316-1c4b-4281-b951-d872f2087c98
* Fix proxy code. The pac string was corrupted when a pacnsylvain@chromium.org2008-09-091-1/+2
| | | | | | | | | | | | | | | | | file was specified. This is because AsciiToWide returns a temporary object, and we use .c_str, but as soon as the line is executed, the object is destroyed and what was pointed by c_str is also deleted. Use a local variable instead. Thanks for griffinz@gmail.com for pointing the issue. Review URL: http://codereview.chromium.org/1838 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1890 0039d316-1c4b-4281-b951-d872f2087c98
* Set DerivedSourcesDir properly in the webcore script phasemmentovai@google.com2008-09-091-1/+1
| | | | | | Review URL: http://codereview.chromium.org/1832 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1885 0039d316-1c4b-4281-b951-d872f2087c98
* Like r1882 but for the webkit targetmmentovai@google.com2008-09-091-2/+2
| | | | | | Review URL: http://codereview.chromium.org/1831 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1884 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a CHECK in a memcpy that it is not trivial to understand.cpu@google.com2008-09-091-3/+3
| | | | | | Review URL: http://codereview.chromium.org/1630 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1883 0039d316-1c4b-4281-b951-d872f2087c98
* Workaround for the create_hash_table svn:executable problemmmentovai@google.com2008-09-091-1/+1
| | | | | | Review URL: http://codereview.chromium.org/1643 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1882 0039d316-1c4b-4281-b951-d872f2087c98
* Fix chrome.7z archive on buildbots. The earlier change didn't work 100%.rahulk@google.com2008-09-082-8/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1880 0039d316-1c4b-4281-b951-d872f2087c98
* Fix error in generated yacc files (the rest of the line needs to be a comment).erg@google.com2008-09-081-3/+1
| | | | | | Review URL: http://codereview.chromium.org/1638 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1879 0039d316-1c4b-4281-b951-d872f2087c98
* submit forked file from issue http://codereview.chromium.org/1821fqian@google.com2008-09-081-0/+38
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1878 0039d316-1c4b-4281-b951-d872f2087c98
* Change navigator.vendor to return "Google Inc.".ojan@google.com2008-09-081-0/+8
| | | | | | Review URL: http://codereview.chromium.org/2202 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1877 0039d316-1c4b-4281-b951-d872f2087c98
* add debug statementrahulk@google.com2008-09-081-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1876 0039d316-1c4b-4281-b951-d872f2087c98
* add debug statementrahulk@google.com2008-09-081-0/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1875 0039d316-1c4b-4281-b951-d872f2087c98
* Pages with mixed content were shown as secure.jcampan@google.com2008-09-081-0/+4
| | | | | | | | BUG=1347301 TEST=Go to https://www.corp.google.com the page should not be reported as safe (the location bar should not show a lock). Review URL: http://codereview.chromium.org/2201 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1874 0039d316-1c4b-4281-b951-d872f2087c98
* Add build/all.xcodeproj, which builds all known targets.mmentovai@google.com2008-09-084-149/+1268
| | | | | | | | | Removes currently-broken targets from webkit.xcodeproj (port, glue). Adds an All target to project files with multiple targets (googleurl.xcodeproj). Brings our xcconfigs to lzma_sdk.xcodeproj (formerly 7z_C.xcodeproj). Review URL: http://codereview.chromium.org/2001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1873 0039d316-1c4b-4281-b951-d872f2087c98
* Rename "run net_unittests" to "run_net_unittests" like we do with other unitmmentovai@google.com2008-09-082-7/+7
| | | | | | | | test targets. Use a script that can be copied and pasted for all unit test targets by depending on the product name variable. Review URL: http://codereview.chromium.org/1637 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1872 0039d316-1c4b-4281-b951-d872f2087c98
* Change the external protocol handler to look at thensylvain@google.com2008-09-084-18/+35
| | | | | | | | | | | command that will be run before warning the user. If the command is empty, there is no reason to warn. I removed a dcheck. This dcheck is good, but unfortunately we can't use g_browser_process in the io_thread. Review URL: http://codereview.chromium.org/1632 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1871 0039d316-1c4b-4281-b951-d872f2087c98
* Xcode project for V8 in Chromiummmentovai@google.com2008-09-081-0/+1087
| | | | | | Review URL: http://codereview.chromium.org/1601 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1867 0039d316-1c4b-4281-b951-d872f2087c98
* Get MIME stuff working minimally to the point where we haveerg@google.com2008-09-082-5/+48
| | | | | | | | | unit tests passing. B=1315 Review URL: http://codereview.chromium.org/1824 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1866 0039d316-1c4b-4281-b951-d872f2087c98
* Replace all instances of <hash_map> with a "base/hash_tabe.h",erg@google.com2008-09-0836-125/+78
| | | | | | | | | | | which does the right thing based on whatever platform we're compiling for, along with changing the hardcoded "stdext::", which is a MSVC++ism to use base::hash_{map,set}. B=1869 Review URL: http://codereview.chromium.org/1629 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1862 0039d316-1c4b-4281-b951-d872f2087c98
* Normalize leading LWS in line continuations, per Wan-Teh's suggestion.ericroman@google.com2008-09-082-15/+70
| | | | | | Review URL: http://codereview.chromium.org/1802 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1861 0039d316-1c4b-4281-b951-d872f2087c98
* fix build issue on Linux with GCC 4.1.2evanm@google.com2008-09-085-2/+7
| | | | | | | | | | | related to non-virtual destructors in classes having virtual methods BUG=1859 Patch from Paweł Hajdan jr <phajdan.jr@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1860 0039d316-1c4b-4281-b951-d872f2087c98
* Need to close the plugin stream if NPP_Write fails.darin@google.com2008-09-082-9/+17
| | | | | | | | | | This occurs on YouTube when the user moves the slider to advance the video. Flash is doing this to inform the browser that it should cancel the existing stream. Without handling this error, we end up downloading the video multiple times from multiple offsets. After the user moves the slider 6 times, we will end up having saturated the maximum of 6 connections per host, and then YouTube video playback will appear to be wedged. R=joshia Review URL: http://codereview.chromium.org/1622 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1859 0039d316-1c4b-4281-b951-d872f2087c98
* Compile bspatch only on win32 for now.rahulk@google.com2008-09-081-1/+5
| | | | | | Review URL: http://codereview.chromium.org/1820 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1858 0039d316-1c4b-4281-b951-d872f2087c98
* Use FRIEND_TEST() instead of guessing the test class name (!)maruel@google.com2008-09-082-6/+9
| | | | | | Review URL: http://codereview.chromium.org/1626 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1857 0039d316-1c4b-4281-b951-d872f2087c98
* rollbackrahulk@google.com2008-09-081-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1854 0039d316-1c4b-4281-b951-d872f2087c98
* Remove bspatch from linux build targets.rahulk@google.com2008-09-081-1/+0
| | | | | | | | TBR=sgk,evanm Review URL: http://codereview.chromium.org/1817 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1853 0039d316-1c4b-4281-b951-d872f2087c98
* Disable a flakey test.deanm@google.com2008-09-081-2/+2
| | | | | | | BUG=http://code.google.com/p/chromium/issues/detail?id=1880 Review URL: http://codereview.chromium.org/1816 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1852 0039d316-1c4b-4281-b951-d872f2087c98
* Update chrome trunk's v8 dependency from trunk@101 to trunk@138.ericroman@google.com2008-09-083-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | This picks up the "in" operator fix that was made in branches/v8_bleeding@117. $ svn log -r 102:138 http://v8.googlecode.com/svn/trunk ------------------------------------------------------------------------ r138 | ager@chromium.org | 2008-09-04 06:52:27 -0700 (Thu, 04 Sep 2008) | 10 lines Added support for running tests on the ARM simulator. Fixed bug in the 'in' operator where negative indices were not treated correctly. Fixed build issues on gcc-4.3.1. Changed Date.prototype.toLocaleTimeString to not print the timezone part of the time. Renamed debug.h to v8-debug.h to reduce the risk of name conflicts with user code. ------------------------------------------------------------------------ Review URL: http://codereview.chromium.org/1602 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1851 0039d316-1c4b-4281-b951-d872f2087c98
* A couple of quick TODO and other cleanups.beng@google.com2008-09-084-13/+1
| | | | | | | | B=1031854 Review URL: http://codereview.chromium.org/1624 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1850 0039d316-1c4b-4281-b951-d872f2087c98