summaryrefslogtreecommitdiffstats
path: root/base
Commit message (Collapse)AuthorAgeFilesLines
* 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
* rollback r749darin@google.com2008-08-122-28/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@759 0039d316-1c4b-4281-b951-d872f2087c98
* Last changes to get Linux unit tests building:evanm@google.com2008-08-121-6/+1
| | | | | | | | Some minor SConscript changes. Removed the obsolete .linux file. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@758 0039d316-1c4b-4281-b951-d872f2087c98
* fix initialization order warningpinkerton@google.com2008-08-121-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@757 0039d316-1c4b-4281-b951-d872f2087c98
* Update base/gfx/SConscript to build cleanly on linux.tc@google.com2008-08-121-9/+24
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@755 0039d316-1c4b-4281-b951-d872f2087c98
* Make this file compile on linux. We need fcntl.h for O_RDONLY, etc.tc@google.com2008-08-121-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@753 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Mac-specific code to make a generic POSIX string_util for Mac and Linux.mmoss@google.com2008-08-122-17/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@752 0039d316-1c4b-4281-b951-d872f2087c98
* Provide a cross platform sleep API.paulg@google.com2008-08-122-0/+28
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@749 0039d316-1c4b-4281-b951-d872f2087c98
* Remove base\shared_memory.cc from the SCons build in favor of ↵sgk@google.com2008-08-121-1/+2
| | | | | | | | base\shared_memory_{win,posix}.cc. TBR: avi git-svn-id: svn://svn.chromium.org/chrome/trunk/src@748 0039d316-1c4b-4281-b951-d872f2087c98
* Linux does not always have ULLONG_MAX, etc. Use numerical constants instead.deanm@google.com2008-08-121-12/+12
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@746 0039d316-1c4b-4281-b951-d872f2087c98
* Nit fixavi@google.com2008-08-121-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@744 0039d316-1c4b-4281-b951-d872f2087c98
* Add a virtual destructor; get rid of gcc warnings.avi@google.com2008-08-121-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@743 0039d316-1c4b-4281-b951-d872f2087c98
* The Posix shared memory implementation.avi@google.com2008-08-124-2/+192
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@742 0039d316-1c4b-4281-b951-d872f2087c98
* git-svn-id: svn://svn.chromium.org/chrome/trunk/src@739 ↵darin@google.com2008-08-126-158/+197
| | | | 0039d316-1c4b-4281-b951-d872f2087c98
* Back out r736 due to breakagemmentovai@google.com2008-08-127-178/+114
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@738 0039d316-1c4b-4281-b951-d872f2087c98
* Update project file for mac clipboard implavi@google.com2008-08-121-4/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@737 0039d316-1c4b-4281-b951-d872f2087c98
* Fix string_util and its tests for the Mac, GCC, UTF-32 wchar_t platforms, ↵mmentovai@google.com2008-08-127-114/+178
| | | | | | and POSIX systems generally. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@736 0039d316-1c4b-4281-b951-d872f2087c98
* Make timer.cc portable by factoring its Windows bits into MessageLoop.darin@google.com2008-08-126-197/+158
| | | | | | Please note that the goal of this CL is merely to move the Windowisms out of timer.cc and into message_loop.cc. Next up will be to refactor message_loop.cc so that the Windowisms are further isolated. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@734 0039d316-1c4b-4281-b951-d872f2087c98
* - Add Thread::StopSoon() and remove Thread::NonBlockingStop(). StopSoon() ↵maruel@google.com2008-08-123-138/+113
| | | | | | | | | | | | can't be implemented externally of the Thread class where NonBlockingStop() was really just an helper function solely used in printing. - Move two member functions access from public to protected. - Add documentation about which thread modifies which member variable. - Simplify ThreadStartInfo. This removes one heap allocation. - Improve unit test coverage. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@728 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of separate SConscript.main.linux:sgk@google.com2008-08-122-45/+76
| | | | | | | | | | | * Set -j default to %NUMBER_OF_PROCESSORS% + 1 only on Windows. * Initialize LOAD= modules up front, and let Linux override to the subset that are currently building. * Initialize Linux CCFLAGS, LINKFLAGS and LIBS in a separate if-clause (like we do for Windows). * Remove SCONSCRIPT_MAIN code in {base,chrome}/SConstruct in favor of just call ../build/SConscript.main. * Merge in evanm's changes to base/SConscript for separate lists of platform-neutral and platform-specific source files and test files. R=evanm,deanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@727 0039d316-1c4b-4281-b951-d872f2087c98
* Basic string conversions for Linux -- enough to get unit tests going.evanm@google.com2008-08-121-0/+57
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@726 0039d316-1c4b-4281-b951-d872f2087c98
* I accidentally committed file_version_info. Since comments were relatively ↵erikkay@google.com2008-08-127-39/+51
| | | | | | minor, I created a new CL rather than reverting the old one. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@722 0039d316-1c4b-4281-b951-d872f2087c98