summaryrefslogtreecommitdiffstats
path: root/base
Commit message (Collapse)AuthorAgeFilesLines
* I suspect this comment was not intended...ericroman@google.com2008-08-104-4/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@634 0039d316-1c4b-4281-b951-d872f2087c98
* rollback the experimentsdarin@google.com2008-08-091-34/+9
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@630 0039d316-1c4b-4281-b951-d872f2087c98
* experiment with APCsdarin@google.com2008-08-091-11/+33
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@629 0039d316-1c4b-4281-b951-d872f2087c98
* just a test...darin@google.com2008-08-091-0/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@628 0039d316-1c4b-4281-b951-d872f2087c98
* A basic wrapper for a windows event object that encapsulates the way we ↵darin@google.com2008-08-094-0/+187
| | | | | | | | often use windows events. This API is not meant to be compatible with ObjectWatcher or MessageLoop::WatchObject. This API is meant to be easily ported to Mac & Linux using a traditional mutex and condition variable pairing. There's nothing to test here since the implementation is such a thin wrapper around Win32 APIs. However, once we go off to implement a posix version, we'll need some tests. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@620 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug 1317458: Busy wait in IPC::SyncChannel::Send in some casesmpcomplete@google.com2008-08-091-6/+7
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@610 0039d316-1c4b-4281-b951-d872f2087c98
* Add deps files and rules for the checkdeps script.brettw@google.com2008-08-083-0/+7
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@600 0039d316-1c4b-4281-b951-d872f2087c98
* Add some extra test cases for whitespace at start/end of number.ericroman@google.com2008-08-081-0/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@598 0039d316-1c4b-4281-b951-d872f2087c98
* pulling in more files to run more unit testspinkerton@google.com2008-08-081-0/+36
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@597 0039d316-1c4b-4281-b951-d872f2087c98
* fix base test harness to work on mac. fix command_line unit tests to match ↵pinkerton@google.com2008-08-084-8/+85
| | | | | | what windows expects. fix base xcode project to separate building and running unit tests into two targets. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@593 0039d316-1c4b-4281-b951-d872f2087c98
* * add base_paths_mac.mm to mac porterikkay@google.com2008-08-0810-71/+644
| | | | | | | | * add file_util_posix.cc to mac port (NOTE: untested on linux) * a bit of cleanup in path_service.cc related to this * a few more cleanups to file_util.cc to make it build for mac git-svn-id: svn://svn.chromium.org/chrome/trunk/src@589 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out unused Windows specific code.paulg@google.com2008-08-082-9/+22
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@588 0039d316-1c4b-4281-b951-d872f2087c98
* MemoryDebug uses size_t, which portably comes from <sys/types.h>. Use ↵mmentovai@google.com2008-08-082-7/+12
| | | | | | "base/basictypes.h" to get it, and clean up a couple other things. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@587 0039d316-1c4b-4281-b951-d872f2087c98
* pull out command_line_unittest until it workspinkerton@google.com2008-08-081-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@580 0039d316-1c4b-4281-b951-d872f2087c98
* Remove cruft of old unit test harness, replace it with gTest goodness. Fix ↵pinkerton@google.com2008-08-082-145/+109
| | | | | | extern-ness of a couple of globals in command_line. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@579 0039d316-1c4b-4281-b951-d872f2087c98
* Catch up SCons build with latest changes:sgk@google.com2008-08-081-1/+10
| | | | | | | | | | | Add new *_posix.cc, and condition_variable_win.cc files, replacing old condition_variable.cc file. Additional updates: Remove reference to deleted FontMetrics.cpp. Add word_iterator_unittest.cc. Add two overlooked language .rc files (es-419 and nb). TBR: mmentovai git-svn-id: svn://svn.chromium.org/chrome/trunk/src@576 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leak and assert that the values are correct.tc@google.com2008-08-081-1/+27
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@571 0039d316-1c4b-4281-b951-d872f2087c98
* Add observer_list_unittest.cc to base test target. Fix gcc warnings with ↵pinkerton@google.com2008-08-082-1/+6
| | | | | | virtual methods w/ non-virtual dtor and members being initialized in the init-list in the wrong order. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@569 0039d316-1c4b-4281-b951-d872f2087c98
* Add Lock and LockImpl to the test target to get it linking.mmentovai@google.com2008-08-081-0/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@568 0039d316-1c4b-4281-b951-d872f2087c98
* Port LockImpl, Lock, and ConditionVariable to pthreads-supporting platforms.mmentovai@google.com2008-08-089-78/+195
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@567 0039d316-1c4b-4281-b951-d872f2087c98
* fix recursionpinkerton@google.com2008-08-081-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@562 0039d316-1c4b-4281-b951-d872f2087c98
* Logging cleanup for mac and linuxpinkerton@google.com2008-08-081-15/+164
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@561 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the first line filename comment to make this consistent with the restdeanm@google.com2008-08-082-2/+0
| | | | | | | of our source code. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@556 0039d316-1c4b-4281-b951-d872f2087c98
* rollback my experiment to see the effectsdarin@google.com2008-08-081-4/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@551 0039d316-1c4b-4281-b951-d872f2087c98
* This is a revised CB of issue 738 and 764 (which were made jungshik@google.com2008-08-083-20/+62
| | | | | | | | | | | | | | | | | | | | | | | before svn move). This and CB 1161 are intended for the inclusion in the release branch (if possible). I have some more changes coming up for the trunk. * Added two new outparams (script_Checked, char_checked) to use in FontCacheWin (revised in a companion CB). * For USCRIPT_COMMON and USCRIPT_INHERITED, get the Unicode block and map it to a script to determine a font. It's useful for CJK punctuations and some other cases (bug 1241039) * Change the default Arabic font to Tahoma to make Arabic rendering work on non-Arabic Win XP out of the box (bug 1314945) * Use Simsun even for TC because it covers both SC and TC and is likely to speed up TC chrome rendering SC pages. BUG=1241039,1314945,971960,1314940 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@547 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a NOTREACHED() that was causing a dialog box during unit tests, hencemaruel@google.com2008-08-072-12/+4
| | | | | | making it timeout on the test bot. Also simplify the test code. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@546 0039d316-1c4b-4281-b951-d872f2087c98
* Complete brett's string conversion goodness for utf32 platforms.pinkerton@google.com2008-08-071-3/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@542 0039d316-1c4b-4281-b951-d872f2087c98
* Fix an accidental nested extern and conversion cleanup from brett's landing.pinkerton@google.com2008-08-071-4/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@541 0039d316-1c4b-4281-b951-d872f2087c98
* remove fixed_string from build.pinkerton@google.com2008-08-071-8/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@538 0039d316-1c4b-4281-b951-d872f2087c98
* Removing unnecessary information; it's not clarifying things.avi@google.com2008-08-071-3/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@537 0039d316-1c4b-4281-b951-d872f2087c98
* Add a unit test for WordIterator. Fix word_iterator.* includes at the same time.maruel@google.com2008-08-074-6/+108
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@536 0039d316-1c4b-4281-b951-d872f2087c98
* Add UTF-16 <-> Wide conversions for Mac.brettw@google.com2008-08-073-24/+94
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@534 0039d316-1c4b-4281-b951-d872f2087c98
* Improve PathServiceTest test by verifying that the returned path exists.maruel@google.com2008-08-073-9/+34
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@533 0039d316-1c4b-4281-b951-d872f2087c98
* Port in threading for Posix. Will require fixes to MessageLoop and Task to ↵avi@google.com2008-08-075-9/+174
| | | | | | compile on the Mac, though. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@532 0039d316-1c4b-4281-b951-d872f2087c98
* Pinkerton's port/fix-up of command-line processing to work cross-platform.evanm@google.com2008-08-073-40/+130
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@531 0039d316-1c4b-4281-b951-d872f2087c98
* This is an experiment to see the impact of a boosted priority on the pagedarin@google.com2008-08-071-0/+4
| | | | | | | | | | | cyclers. I worry that this could lead to starvation of regular tasks (it is common for OnObjectSignaled to do another IO call), so I don't think this is necessarily a good solution. TBR=jar git-svn-id: svn://svn.chromium.org/chrome/trunk/src@530 0039d316-1c4b-4281-b951-d872f2087c98
* Fix sys_string_conversions for use on the Mac.mmentovai@google.com2008-08-073-20/+27
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@528 0039d316-1c4b-4281-b951-d872f2087c98
* Rename and remove a bunch of string functions.evanm@google.com2008-08-075-167/+62
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@527 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the unit tests for the error condition. Vista handles the error ↵brettw@google.com2008-08-071-2/+8
| | | | | | differently, so we can't have a consistent repro case. I don't think this is important to test anyway, since the functions are defined to do whatever the OS does. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@525 0039d316-1c4b-4281-b951-d872f2087c98
* Add defines for the size of wchar_t to build_config.h. Use this in places ↵brettw@google.com2008-08-0713-218/+210
| | | | | | | | | | where we currently have an OS-specific check. Remove all WIN32 ifdefs from base and replace them with proper defined(OS...). I also fixed random style bits when I encountered them. I made major style fixes to string16. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@524 0039d316-1c4b-4281-b951-d872f2087c98
* Cross-platform portability fixes for JSONReader. Adds generic ↵mmentovai@google.com2008-08-078-54/+214
| | | | | | | | string-to-double parsing and tests in string_util. There is one behavior change here: numbers which "look" like integers by virtue of being free of '.', 'e', and 'E' are no longer rejected if they're not within the [INT_MIN .. INT_MAX] range. Instead, they'll be parsed and stored internally as doubles. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@519 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply 508 to determine if it was indeed the cause of the ↵maruel@google.com2008-08-072-15/+10
| | | | | | webkit-release-playback failure. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@518 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the old NativeMB functions from string util, and use the new ones in ↵brettw@google.com2008-08-075-184/+316
| | | | | | sys_strings.h. I also removed duplicated code from the sandbox that can now use this, and fixed one case in the bug reporter that should not have been using the native multibyte encoding. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@515 0039d316-1c4b-4281-b951-d872f2087c98
* Revert part of r508, it may have broken webkit-release-playback.deanm@google.com2008-08-072-10/+15
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@514 0039d316-1c4b-4281-b951-d872f2087c98
* Make base/SConstruct just like chrome/SConstruct for linux building.deanm@google.com2008-08-071-1/+38
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@513 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the old atomic operations interface.deanm@google.com2008-08-075-183/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@511 0039d316-1c4b-4281-b951-d872f2087c98
* ICU isn't packaged on the Mac as it is on Windows.avi@google.com2008-08-071-1/+12
| | | | | | Review URL: http://chrome-reviews.prom.corp.google.com/1092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@509 0039d316-1c4b-4281-b951-d872f2087c98
* Some cross platform changes and general cleanups to Pickle.deanm@google.com2008-08-073-25/+26
| | | | | | | | | | | - Clean up TrimWriteData, and remove the unneeded VariableLengthBuffer struct. Modify a test to slightly test TrimWriteData, but it probably deserves more. - Remove unneeded includes in pickle_unittest, including windows.h. - According to 3.5 of the C++ standard, CustomHeader could not be used as a template argument, because it had no linkage. This now builds on GCC. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@508 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the LOCKED_EXPRESSION macro, it's clumbsy and unused.deanm@google.com2008-08-072-23/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@506 0039d316-1c4b-4281-b951-d872f2087c98
* Use 0 instead of NULL, since AtomicWord is intptr_t which is not a pointer ↵deanm@google.com2008-08-071-1/+1
| | | | | | type. GCC warns when converting NULL to a non-pointer type. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@505 0039d316-1c4b-4281-b951-d872f2087c98