summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Drop FixedString. It's only used in two places, one where it doesn't really ↵evanm@google.com2008-08-067-190/+23
| | | | | | matter and the other where it was incorrect. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@458 0039d316-1c4b-4281-b951-d872f2087c98
* remove apache2jabdelmalek@google.com2008-08-0657-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@457 0039d316-1c4b-4281-b951-d872f2087c98
* Revert base/base_path.cc (r450) since it caused large scale unit test failure.maruel@google.com2008-08-061-33/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@456 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Apache2 from our cygwin directory.jabdelmalek@google.com2008-08-0614-15/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@455 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing file_util_win.cc file.sgk@google.com2008-08-061-0/+1
| | | | | | TBR: bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@454 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing up the basic set of geometry.avi@google.com2008-08-067-12/+91
| | | | | | Review URL: http://chrome-reviews.prom.corp.google.com/1211 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@453 0039d316-1c4b-4281-b951-d872f2087c98
* Remove projects browser_dll, plugin_dll and renderer_dll since they won't be ↵maruel@google.com2008-08-0610-1018/+0
| | | | | | used near term. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@452 0039d316-1c4b-4281-b951-d872f2087c98
* We use intptr_t in various points in the code.evanm@google.com2008-08-061-0/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@451 0039d316-1c4b-4281-b951-d872f2087c98
* Fix base::DIR_SOURCE_ROOT path calculation.maruel@google.com2008-08-068-16/+92
| | | | | | | | | Add missing header files to base.vcproj. Fix thread local storage implicit destructor call on Windows x64. Fix build compilation issues in x64 with third party headers. Fix Pickle for x64, the header doesn't need to be size_t, uint32 ought to be sufficient for the object. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@450 0039d316-1c4b-4281-b951-d872f2087c98
* Don't link directly against GetPerformanceInfo so that win2k can be happy.mbelshe@google.com2008-08-061-4/+29
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@449 0039d316-1c4b-4281-b951-d872f2087c98
* fix kjs builddarin@google.com2008-08-061-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@448 0039d316-1c4b-4281-b951-d872f2087c98
* fix kjs builddarin@google.com2008-08-061-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@447 0039d316-1c4b-4281-b951-d872f2087c98
* fix build for realdarin@google.com2008-08-061-0/+8
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@446 0039d316-1c4b-4281-b951-d872f2087c98
* fix build (take 2)darin@google.com2008-08-061-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@445 0039d316-1c4b-4281-b951-d872f2087c98
* fix build bustagedarin@google.com2008-08-061-3/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@444 0039d316-1c4b-4281-b951-d872f2087c98
* B=1302955 R=sky attempt to bandaid situation where tab_data_ and child list ↵beng@google.com2008-08-061-0/+11
| | | | | | can get out of sync git-svn-id: svn://svn.chromium.org/chrome/trunk/src@443 0039d316-1c4b-4281-b951-d872f2087c98
* Improve NPRuntime marshalling by adding glue functions for serializing / ↵darin@google.com2008-08-065-44/+155
| | | | | | | | deserializing a NPIdentifier. Also kill some extraneous std::string copies in NPVariant_Param code. If you like I could eliminate NPIdentifier_Param in place of using NPIdentifier directly. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@442 0039d316-1c4b-4281-b951-d872f2087c98
* Allow third_party/libxml to compile on Linux. This uses static config.h and ↵mmoss@google.com2008-08-068-33/+933
| | | | | | xmlversion.h files generated by ./configure, which probably isn't ideal, but it's a start. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@441 0039d316-1c4b-4281-b951-d872f2087c98
* Remove #ifdef's used to support split dlls. Since we don't supportmaruel@google.com2008-08-062-36/+1
| | | | | | | split dlls for now, remove these dead conditional compilations. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@440 0039d316-1c4b-4281-b951-d872f2087c98
* Fix win2k testers by commenting out a function that is not supportednsylvain@google.com2008-08-061-3/+4
| | | | | | | on windows 2000. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@439 0039d316-1c4b-4281-b951-d872f2087c98
* Revert change 408 to see if it fixes the ui tests.nsylvain@google.com2008-08-065-25/+23
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@438 0039d316-1c4b-4281-b951-d872f2087c98
* Revert change 430 because it breaks the build.nsylvain@google.com2008-08-062-168/+27
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@437 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring file_util into file_util and file_util_win. Also fix windows ↵erikkay@google.com2008-08-067-597/+684
| | | | | | | | dependencies in path_service.cc. One questionable decision here was to put GetCurrentDirectory and SetCurrentDirectory into file_util_win.cc. I could have kept the logic in path_service.cc with #ifdefs or I could have split up path_service.cc into path_service_win.cc, etc. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@436 0039d316-1c4b-4281-b951-d872f2087c98
* Mac changes to the path service.avi@google.com2008-08-062-19/+45
| | | | | | Review URL: http://chrome-reviews.prom.corp.google.com/1107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@435 0039d316-1c4b-4281-b951-d872f2087c98
* Portability fix for Value. The MSVC CRT doesn't complain about memcpy_s ↵mmentovai@google.com2008-08-062-2/+3
| | | | | | unless _CRT_SECURE_DEPRECATE_MEMORY is defined (and it isn't); there are no other callers of memcpy_s in base. (And seriously, what's an extra count argument supposed to solve, anyway?) current_entry_type is dropped because it's unused. A virtual destructor is added to ValueSerializer to conform to the style guide and quiet gcc's helpful warning. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@434 0039d316-1c4b-4281-b951-d872f2087c98
* Portability fix for JSONWriter. gcc warns when the declaration order ↵mmentovai@google.com2008-08-062-6/+7
| | | | | | doesn't match the initialization order. Tossed in a couple of changes for better style guide conformance for good measure. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@433 0039d316-1c4b-4281-b951-d872f2087c98
* Fix incorrect OS_APPLE to OS_MACOSX and drop COMPILER_GCC since the codedeanm@google.com2008-08-061-1/+1
| | | | | | | | uses the Apple APIs for atomic operations and not inline assembly. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@432 0039d316-1c4b-4281-b951-d872f2087c98
* Use our own hash function that supports embedded NULLs for both char and ↵pinkerton@google.com2008-08-061-15/+11
| | | | | | wchar strings git-svn-id: svn://svn.chromium.org/chrome/trunk/src@431 0039d316-1c4b-4281-b951-d872f2087c98
* Changes for POSIX support. Yay for ifdefs!pinkerton@google.com2008-08-062-27/+168
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@430 0039d316-1c4b-4281-b951-d872f2087c98
* The printing NewCookie() must start counting at 1 and not 0, since 0deanm@google.com2008-08-061-1/+2
| | | | | | | | is reserved to mark a document as unassigned. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@429 0039d316-1c4b-4281-b951-d872f2087c98
* Compiler changes to work with GCCpinkerton@google.com2008-08-062-7/+16
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@428 0039d316-1c4b-4281-b951-d872f2087c98
* Move base/timer from deprecated atomic interface to AtomicSequenceNumber.deanm@google.com2008-08-062-8/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@427 0039d316-1c4b-4281-b951-d872f2087c98
* Move the printing cookie from direct atomic operations to AtomicSequenceNumber.deanm@google.com2008-08-062-8/+7
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@426 0039d316-1c4b-4281-b951-d872f2087c98
* Move ref_counted to the new atomic_ref_count interface.deanm@google.com2008-08-061-8/+5
| | | | | | | | BUG=1112286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@425 0039d316-1c4b-4281-b951-d872f2087c98
* Cross platform and cleanup of Singleton classdeanm@google.com2008-08-064-198/+52
| | | | | | | | | - Move away from windows-specific atomic operations to cross platform atopmicops - Remove double new semantics on windows git-svn-id: svn://svn.chromium.org/chrome/trunk/src@424 0039d316-1c4b-4281-b951-d872f2087c98
* Add YieldCurrentThread to PlatformThread, for giving up the current thread's ↵deanm@google.com2008-08-062-0/+16
| | | | | | timeslice. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@423 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes http://b/issue?id=1257424, which is a need to implement a global ↵iyengar@google.com2008-08-069-160/+393
| | | | | | | | | | | | | | | | backing store cache. The current backing store cache is only used for invisible tabs and every other RenderWidgetHost holds a reference to its backing store. This CB proposes a change where in we have a global backing store cache, whose size can be controlled based on strategies like available resources etc. At this point the strategy is not implemented and the size is left at 5. We no longer maintain a reference to the backing store in the RenderWidgetHost. Every host queries the global cache for its backing store. The cache provides methods to create the backing store and populate it with the required dib. The other change is to use the renderer dib when the size of the bitmap being painted is the same as the backing store size. This is an attempt to improve performance in operations like scrolling. Bug=1257424 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@422 0039d316-1c4b-4281-b951-d872f2087c98
* Fix 1303709: Crash: Switching between tabs with a Find box open on both tabs ↵finnur@google.com2008-08-062-16/+16
| | | | | | | | | | | | | | | | | | nulls the Esc handler This is a temporary fix until we fix this properly: http://b/issue?id=1307173 This change makes sure that when we Register as the Esc handler, we store who was registered at the time the Find box was opened for the first time (as opposed to always restoring to what RegisterAccelerator tells us was registered before us). Also, if we have already been unregistered, we don't restore the old value. This prevents us from restoring to another tab's handler when the tab registering gets focus notification before the tab *un*registering receives blur notification (through FocusWillChange). BUG=1303709 TEST=Manually perform the steps listed in the bug and make sure it doesn't crash. Also make sure that the browser's Esc handler still works after closing the Find box. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@421 0039d316-1c4b-4281-b951-d872f2087c98
* Merge some changes in net/base from branches/mac_july_2008 to trunk.ericroman@google.com2008-08-067-15/+13
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@420 0039d316-1c4b-4281-b951-d872f2087c98
* Updated strings for ja and ko.mal@google.com2008-08-062-3/+3
| | | | | | TBR= glen@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@417 0039d316-1c4b-4281-b951-d872f2087c98
* Bring in more files from the mac july branch.paulg@google.com2008-08-062-12/+19
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@412 0039d316-1c4b-4281-b951-d872f2087c98
* The rectangle passed in to MoveContents is a content rectangle, not a window ↵erg@google.com2008-08-062-4/+5
| | | | | | | | rectangle as I assumed. BUG=1186573 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@411 0039d316-1c4b-4281-b951-d872f2087c98
* Nearly eliminate heap allocations required to resolve a NPIdentifier from a ↵darin@google.com2008-08-062-18/+40
| | | | | | | | V8 string. I'd like to / hope to put together some automated tests to focus on NPRuntime scripting. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@410 0039d316-1c4b-4281-b951-d872f2087c98
* Convert more consumers of ML::WatchObject to ObjectWatcher.darin@google.com2008-08-055-23/+25
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@408 0039d316-1c4b-4281-b951-d872f2087c98
* ObjectWatcher needs to know when the current thread's MessageLoop is being ↵darin@google.com2008-08-055-6/+94
| | | | | | destroyed. This might also be generically useful, so I added a new API on ML to observe when the ML is being destroyed. The notification is sent to observers just prior to ML::current() being modified to return NULL. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@407 0039d316-1c4b-4281-b951-d872f2087c98
* Make some changes from my code review. Two significantwtc@google.com2008-08-056-33/+64
| | | | | | | | | | | | | changes are: 1. Call WSAEventSelect before connect to fix a race condition. 2. Call WSAResetEvent before WSARecv and WSASend because the event is manual-reset and WSAGetOverlappedResult doesn't reset the event for us. R=darin git-svn-id: svn://svn.chromium.org/chrome/trunk/src@406 0039d316-1c4b-4281-b951-d872f2087c98
* Allow string-to-int conversions to provide a return value indicating ↵mmentovai@google.com2008-08-055-17/+421
| | | | | | success. Implement them consistently on all platforms. Fill in a couple of necessary missing pieces. Eliminate the need for many uses of sscanf. Add tests. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@405 0039d316-1c4b-4281-b951-d872f2087c98
* Miscellaneous changes from my code review.wtc@google.com2008-08-054-127/+150
| | | | | | R=darin,nsylvain git-svn-id: svn://svn.chromium.org/chrome/trunk/src@404 0039d316-1c4b-4281-b951-d872f2087c98
* Add common\ipc_message_utils.cc to SCons build.sgk@google.com2008-08-051-0/+1
| | | | | | TBR: maruel git-svn-id: svn://svn.chromium.org/chrome/trunk/src@403 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash due to race conditions in the way Browser unhooks itsbeng@google.com2008-08-051-27/+37
| | | | | | | | | | | | | | | NotificationObserver for WebContents disconnection... not all codepaths would result in Browser being removed as an observer. This change simplifies things a bit by adding Browser as an observer for a TabContents whenever it is inserted into the Browser's tabstrip, and removing it whenever it's detached. These notifications are designed to be symmetrical and handle all use cases including create/destroy(close) and also tab dragging/detaching. Thanks to Adam for helping diagnose this and suggesting this fix. B=1307678 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@402 0039d316-1c4b-4281-b951-d872f2087c98