summaryrefslogtreecommitdiffstats
path: root/base
Commit message (Collapse)AuthorAgeFilesLines
* Fix some compiler warnings, and cleanup EXPECT_EQ comparisons. Hello "U" ↵darin@google.com2008-08-144-41/+41
| | | | | | suffix :-) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@882 0039d316-1c4b-4281-b951-d872f2087c98
* Add skia and our png wrappers. png_codec_unittest and ↵tc@google.com2008-08-142-15/+9
| | | | | | image_operations_unittest pass. This gives us 70 passing unittests. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@878 0039d316-1c4b-4281-b951-d872f2087c98
* SCons build accommodation of renaming base\gfx\*platform*.cc to ↵sgk@google.com2008-08-141-3/+8
| | | | | | | | base\gfx\*platform*_win.cc. TBR: awalker git-svn-id: svn://svn.chromium.org/chrome/trunk/src@875 0039d316-1c4b-4281-b951-d872f2087c98
* The SHA2 files compile, and the unittests pass, now that ↵mmoss@google.com2008-08-141-3/+3
| | | | | | nspr/prcpucfg_linux.h is in, so move to the common build sections. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@874 0039d316-1c4b-4281-b951-d872f2087c98
* git-svn-id: svn://svn.chromium.org/chrome/trunk/src@873 ↵awalker@google.com2008-08-1415-138/+138
| | | | 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the flaky atexit test by preventing it from running the global atexit ↵mmentovai@google.com2008-08-142-2/+13
| | | | | | callbacks. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@869 0039d316-1c4b-4281-b951-d872f2087c98
* Build stack_container_unittest everywhere, it can build with GCC.deanm@google.com2008-08-141-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@866 0039d316-1c4b-4281-b951-d872f2087c98
* Add a trailing EOL to source files. This eliminates warnings in GCC.deanm@google.com2008-08-1411-11/+11
| | | | | | No code change. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@865 0039d316-1c4b-4281-b951-d872f2087c98
* Implement nspr time on Linux.deanm@google.com2008-08-144-6/+745
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@863 0039d316-1c4b-4281-b951-d872f2087c98
* DCHECK vswprintf format string cross-platform portability. Use %ls, not %s, ↵mmentovai@google.com2008-08-145-5/+109
| | | | | | for wchar_t* fields. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@849 0039d316-1c4b-4281-b951-d872f2087c98
* I removed a questionable use of Quit() on a message loopjar@google.com2008-08-141-3/+3
| | | | | | | | | | | in test (it was a redundant use of quit which was caught when I wrote code to detect this construct, which caused hangs in some race scenarios). r=darin git-svn-id: svn://svn.chromium.org/chrome/trunk/src@848 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing methods to thread_posix.ccpaulg@google.com2008-08-141-1/+20
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@847 0039d316-1c4b-4281-b951-d872f2087c98
* Use %ls instead of %s in wprintf format strings for wchar_t fields.mmentovai@google.com2008-08-144-4/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@846 0039d316-1c4b-4281-b951-d872f2087c98
* Use syscall instead since gettid doesn't seem to exist.tc@google.com2008-08-131-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@845 0039d316-1c4b-4281-b951-d872f2087c98
* include the correct file on linux for gettid()pinkerton@google.com2008-08-131-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@844 0039d316-1c4b-4281-b951-d872f2087c98
* including build/build_config to fix bustagepinkerton@google.com2008-08-131-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@843 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for mac and linux. Fix gcc warning about class with virtual functions ↵pinkerton@google.com2008-08-133-5/+41
| | | | | | and no virtual dtor. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@842 0039d316-1c4b-4281-b951-d872f2087c98
* remove drag&drop from build until needed. Add time unittests and link in ↵pinkerton@google.com2008-08-131-4/+6
| | | | | | more things to build git-svn-id: svn://svn.chromium.org/chrome/trunk/src@841 0039d316-1c4b-4281-b951-d872f2087c98
* Turn on most tests for posix.pinkerton@google.com2008-08-131-2/+16
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@839 0039d316-1c4b-4281-b951-d872f2087c98
* Add a helper method to SConscript.main for adding .pdb files to thetc@google.com2008-08-131-13/+2
| | | | | | | | | | | | output target of .exe files on Windows. Change all the callers to only pass in the basename of the target (e.g., 'base_unittests'). The only exception is chrome.exe which uses chrome_exe.pdb. This lets us remove a "if env['PLATFORM'] == 'win32'" condition from base/SConscript and these other files going forward. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@836 0039d316-1c4b-4281-b951-d872f2087c98
* Revving the shared memory to the comments on the list.avi@google.com2008-08-132-27/+32
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@824 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a couple "extra qualification" compile errors in method declarations, ↵mmoss@google.com2008-08-133-8/+6
| | | | | | and move related non-Win32-specific files to common build target. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@822 0039d316-1c4b-4281-b951-d872f2087c98
* Move some files which don't seem to be Win32-specific out of the Win32 blocks.mmoss@google.com2008-08-131-7/+7
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@820 0039d316-1c4b-4281-b951-d872f2087c98
* Move PE format wrapper files to Win32-only sections.mmoss@google.com2008-08-131-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@816 0039d316-1c4b-4281-b951-d872f2087c98
* Disable build targets in base/SConscript that don't work ontc@google.com2008-08-131-8/+7
| | | | | | linux. This lets 'hammer base' build cleanly for me. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@814 0039d316-1c4b-4281-b951-d872f2087c98
* make unit test executable named "base_unittest"pinkerton@google.com2008-08-131-8/+8
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@812 0039d316-1c4b-4281-b951-d872f2087c98
* make the GTest executables follow the naming conventions for other platforms. pinkerton@google.com2008-08-131-22/+22
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@811 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Frenglish transliteration.maruel@google.com2008-08-131-4/+4
| | | | | | | NO CODE CHANGE. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@808 0039d316-1c4b-4281-b951-d872f2087c98
* Unify maintenance of NumberFormat objects into a cross-platform Singleton. ↵mmentovai@google.com2008-08-136-138/+20
| | | | | | Clean up some dead code and dead files. WideToNativeMB and its inverse have been obsoleted by SysWideToNativeMB in sys_string_conversions*. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@806 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing observer_list unittest and singleton unittest is for all platforms.deanm@google.com2008-08-131-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@803 0039d316-1c4b-4281-b951-d872f2087c98
* Kill check handler. It seems to be unused, and is implemented using ugly SEHdeanm@google.com2008-08-136-214/+0
| | | | | | | handlers. If we want this we could reimplement it cleanly. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@802 0039d316-1c4b-4281-b951-d872f2087c98
* Don't cast negative values to unsigned. This eliminates warnings in GCC.deanm@google.com2008-08-132-5/+11
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@799 0039d316-1c4b-4281-b951-d872f2087c98
* Implement an interface compatible wcslcpy and strlcpy. Possibly slightlydeanm@google.com2008-08-134-8/+95
| | | | | | | | | | slower than the OpenBSD implementation, but a bit clearer and fits our style. Move file_util_posix to use it now that we have it everywhere. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@798 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid a global std::stack. Instead embed a next pointer in the managers.deanm@google.com2008-08-132-20/+20
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@795 0039d316-1c4b-4281-b951-d872f2087c98
* AtExitManager cleanup.mmentovai@google.com2008-08-132-15/+16
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@794 0039d316-1c4b-4281-b951-d872f2087c98
* Compile debug_util.cc on all platforms.deanm@google.com2008-08-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@793 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the Mac project to build debug_util since r785 added it.mmentovai@google.com2008-08-132-2/+10
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@792 0039d316-1c4b-4281-b951-d872f2087c98
* Build Linux against base_gfx, and we pass convolver and rect unit tests.deanm@google.com2008-08-131-9/+8
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@790 0039d316-1c4b-4281-b951-d872f2087c98
* Add a EOL to the end of convolver_unittest.cc. This eliminates a GCC warning.deanm@google.com2008-08-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@789 0039d316-1c4b-4281-b951-d872f2087c98
* Add an EOL to the end of convolver.cc. This eliminates a warning in GCC.deanm@google.com2008-08-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@788 0039d316-1c4b-4281-b951-d872f2087c98
* Update base/SConscript to remove Windows only parts from the Linux build.deanm@google.com2008-08-131-10/+15
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@787 0039d316-1c4b-4281-b951-d872f2087c98
* Update a comment about AtExitManager for unit tests. Removes a typo.deanm@google.com2008-08-131-2/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@786 0039d316-1c4b-4281-b951-d872f2087c98
* Make debug_util cross platform, adding BeingDebugged and BreakDebugger. Linuxdeanm@google.com2008-08-137-112/+249
| | | | | | | supported added, and Mac OSX left as a todo for the mac team. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@785 0039d316-1c4b-4281-b951-d872f2087c98
* Implement IntToString-type methods without using a format string. I'm not ↵deanm@google.com2008-08-133-24/+137
| | | | | | sure if this will actually be more efficient. Also will make Int64ToString work on other platforms, since the old code used msvc-only %I64. Added a bunch of methods to have the whole Int/Int64 String/WString suite. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@784 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some warnings.evanm@google.com2008-08-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@775 0039d316-1c4b-4281-b951-d872f2087c98
* Add a cross-platform sleep API. We don't use TimeDeltapaulg@google.com2008-08-132-0/+21
| | | | | | here to avoid linking to winmm.dll. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@772 0039d316-1c4b-4281-b951-d872f2087c98
* Fix string_util and its tests for the Mac, GCC, UTF-32 wchar_t platforms, ↵mmentovai@google.com2008-08-137-118/+178
| | | | | | and POSIX systems generally. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@771 0039d316-1c4b-4281-b951-d872f2087c98
* Move some bits around in the SConscript that are Windows-specific, and label ↵evanm@google.com2008-08-131-12/+12
| | | | | | one that needs work. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@769 0039d316-1c4b-4281-b951-d872f2087c98
* Update base.xcodeproj to use string_utils_posix.* instead of string_utils_mac.*awalker@google.com2008-08-131-10/+10
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@764 0039d316-1c4b-4281-b951-d872f2087c98
* git-svn-id: svn://svn.chromium.org/chrome/trunk/src@760 ↵darin@google.com2008-08-126-197/+158
| | | | 0039d316-1c4b-4281-b951-d872f2087c98