summaryrefslogtreecommitdiffstats
path: root/third_party
Commit message (Collapse)AuthorAgeFilesLines
* Fork a copy of the vanilla upstream copy of page_heap.cc renamed tosgk@chromium.org2009-11-262-0/+501
| | | | | | | | | | | page_heap_linux.cc, since the Linux build can't use the current Windows-specific version of page_heap.cc. Adds #ifdef in page_heap.h for API changes where the old API is still used by Linux and the new API is used by windows. BUG=27911 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33180 0039d316-1c4b-4281-b951-d872f2087c98
* Merge r77 from upstream tcmalloc to the local chromium branch.sgk@chromium.org2009-11-2519-734/+263
| | | | | | | | BUG=27911 TEST=none Review URL: http://codereview.chromium.org/440027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33151 0039d316-1c4b-4281-b951-d872f2087c98
* Match the vendor branch to the current tcmalloc rev in DEPS.sgk@chromium.org2009-11-2531-5227/+9389
| | | | | | | | BUG=27911 TEST=none Review URL: http://codereview.chromium.org/443010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33136 0039d316-1c4b-4281-b951-d872f2087c98
* Fix forked location of tcmalloc.h.sgk@chromium.org2009-11-251-0/+0
| | | | | | | BUG=27911 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33078 0039d316-1c4b-4281-b951-d872f2087c98
* Merge r33049 (symbolize_linux.cc) to new allocator structure.sgk@chromium.org2009-11-252-1/+191
| | | | | | | BUG=27911 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33074 0039d316-1c4b-4281-b951-d872f2087c98
* Gcc4 build fixes for tcmalloc.willchan@chromium.org2009-11-253-1/+194
| | | | | | Review URL: http://codereview.chromium.org/436042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33049 0039d316-1c4b-4281-b951-d872f2087c98
* Branch new tcmalloc_linux.cc into new chromium\src branch. Update newsgk@chromium.org2009-11-251-0/+1415
| | | | | | | | | base\allocator\allocator.gyp with merged changes from tcmalloc.gyp. BUG=27911 TEST=none Review URL: http://codereview.chromium.org/432021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33047 0039d316-1c4b-4281-b951-d872f2087c98
* Replace forked tcmalloc files with branches from current files tosgk@chromium.org2009-11-2510-434/+875
| | | | | | | | | preserve checkin history. svn cp the added config*.h files into the local patched branch. BUG=27911 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33031 0039d316-1c4b-4281-b951-d872f2087c98
* Branch tcmalloc\vendor\src to tcmalloc\chromium\src as basis for local changes.sgk@chromium.org2009-11-25163-0/+50530
| | | | | | | BUG=27911 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33024 0039d316-1c4b-4281-b951-d872f2087c98
* Import vanilla upstream tcmalloc sources into a vendor branchsgk@chromium.org2009-11-25274-0/+109616
| | | | | | | | | as a basis for local changes. BUG=27911 TEST=none Review URL: http://codereview.chromium.org/436037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33016 0039d316-1c4b-4281-b951-d872f2087c98
* Branch the jemalloc files from their original location atsgk@chromium.org2009-11-255-8674/+8695
| | | | | | | | ..\tcmalloc\jemalloc to preserve checkin history. BUG=27911 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33014 0039d316-1c4b-4281-b951-d872f2087c98
* Implement method stubs for OpenMAX IL instead of relying on -lOmxCore.scherkus@chromium.org2009-11-252-9/+79
| | | | | | | | | | | | | | You can switch to using -lOmxCore by setting the gyp variable use_system_openmax=1. Also fixed type-punning warnings in omx_video_decoder.cc BUG=28663 TEST=building omx_test should have no linker errors Review URL: http://codereview.chromium.org/431041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33012 0039d316-1c4b-4281-b951-d872f2087c98
* Enable TCMalloc on Linux by default.willchan@chromium.org2009-11-252-0/+1422
| | | | | | | | | | This change also reworks the tcmalloc dependency to be added only to chrome and test_shell, instead of base. This is necessary since otherwise tcmalloc will be double initialized (by both the main executable and dlopen'd shared objects like the npapitestplugin.so). Add valgrind suppressions. This are invalid reads on static initialization in the VDSOSupport module. I haven't investigated it yet, but I suspect they're benign. BUG=http://crbug.com/28149, http://crbug.com/28385 Review URL: http://codereview.chromium.org/399081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33010 0039d316-1c4b-4281-b951-d872f2087c98
* Copy jemalloc vendor branch to chromium branch as base for local changes.sgk@chromium.org2009-11-2510-38/+448
| | | | | | | | BUG=27911 TEST=none Review URL: http://codereview.chromium.org/436034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33008 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Implement method stubs for OpenMAX IL instead of relying on -lOmxCore."scherkus@chromium.org2009-11-242-79/+9
| | | | | | | Review URL: http://codereview.chromium.org/431040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32993 0039d316-1c4b-4281-b951-d872f2087c98
* svn:eol-style on jemalloc files in the local branch.sgk@chromium.org2009-11-245-8695/+8695
| | | | | | | | BUG=27911 TEST=none Review URL: http://codereview.chromium.org/436033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32990 0039d316-1c4b-4281-b951-d872f2087c98
* Implement method stubs for OpenMAX IL instead of relying on -lOmxCore.scherkus@chromium.org2009-11-242-9/+79
| | | | | | | | | | | | You can switch to using -lOmxCore by setting the gyp variable use_system_openmax=1. BUG=28663 TEST=building omx_test should have no linker errors Review URL: http://codereview.chromium.org/436021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32988 0039d316-1c4b-4281-b951-d872f2087c98
* Capture r31465 of upstream jemalloc (the basis for our patched version)sgk@chromium.org2009-11-2416-0/+17838
| | | | | | | | | in a vanilla vendor branch. BUG=27911 TEST=none Review URL: http://codereview.chromium.org/434040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32950 0039d316-1c4b-4281-b951-d872f2087c98
* Update Signal Thread to use ref counting and locks to ensure thread safety.zork@chromium.org2009-11-2410-76/+587
| | | | | | Review URL: http://codereview.chromium.org/418042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32948 0039d316-1c4b-4281-b951-d872f2087c98
* testjam@chromium.org2009-11-231-1/+1
| | | | | | Review URL: http://codereview.chromium.org/434021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32855 0039d316-1c4b-4281-b951-d872f2087c98
* testjam@chromium.org2009-11-211-1/+1
| | | | | | Review URL: http://codereview.chromium.org/430005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32751 0039d316-1c4b-4281-b951-d872f2087c98
* posix: upgrade libevent from 1.4.7 to 1.4.13evan@chromium.org2009-11-2058-3908/+5604
| | | | | | | | | | | | I took this opportunity to rejigger how we hacked around using an uninstalled libevent, to remove a TODO that mentioned danger in the README. Files to review: README.chromium and chromium.patch. The rest are probably rubber-stampable. Review URL: http://codereview.chromium.org/412006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32656 0039d316-1c4b-4281-b951-d872f2087c98
* Undo in-progress README + tcmalloc.gyp changes caught in last checkin.sgk@chromium.org2009-11-202-160/+115
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/419003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32652 0039d316-1c4b-4281-b951-d872f2087c98
* Delete unused zero-length malloc_hook.cc file, left over from unforking.sgk@chromium.org2009-11-203-115/+160
| | | | | | | BUG=none TESt=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32650 0039d316-1c4b-4281-b951-d872f2087c98
* make npspy look for flash binariesjam@chromium.org2009-11-191-58/+68
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32548 0039d316-1c4b-4281-b951-d872f2087c98
* linux: sync with upstream harfbuzzevan@chromium.org2009-11-198-144/+192
| | | | | | | | | | | | | | Upstream changes are: fix a few compiler warnings and make the code more exception safe. correctly support decomposed forms of two or three part matras fix shaping of assamese ra fix bug with Malayalam Samvruthokaram. add N'Ko support to the arabic shaper Post substitutions should apply to the whole indic syllable Review URL: http://codereview.chromium.org/408013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32448 0039d316-1c4b-4281-b951-d872f2087c98
* Fix tcmalloc.gyp for scons generator.willchan@chromium.org2009-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Had errors like (note, I added an exception handler to print the error): ________ running '/usr/bin/python src/build/gyp_chromium' in '/usr/local/google/chromium1' Updating projects from gyp files... Traceback (most recent call last): File "src/build/gyp_chromium", line 79, in <module> sys.exit(gyp.main(args)) File "src/tools/gyp/pylib/gyp/__init__.py", line 432, in main generator.GenerateOutput(flat_list, targets, data, params) File "src/tools/gyp/pylib/gyp/generator/scons.py", line 995, in GenerateOutput GenerateSConscript(output_file, spec, build_file, data[build_file]) File "src/tools/gyp/pylib/gyp/generator/scons.py", line 328, in GenerateSConscript GenerateConfig(fp, config, indent, src_subdir) File "src/tools/gyp/pylib/gyp/generator/scons.py", line 207, in GenerateConfig value = [escape_quotes(v) for v in value] File "src/tools/gyp/pylib/gyp/generator/scons.py", line 172, in escape_quotes foo = escape_quotes_re.sub('\\1\\"\\2\\"', s) TypeError: expected string or buffer Input: ['NO_TCMALLOC_SAMPLES', '']. failed to run command: /usr/bin/python src/build/gyp_chromium Review URL: http://codereview.chromium.org/399075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32361 0039d316-1c4b-4281-b951-d872f2087c98
* Disable tcmalloc sampling by default.jar@chromium.org2009-11-181-0/+3
| | | | | | | | | | | | | | | It's not performance critical, but it allocates some additional amount of memory on sampled allocations which we probably do not want. [This is really http://codereview.chromium.org/385105 written by antonm, and I'm just landing it.] r=antonm,willchan Review URL: http://codereview.chromium.org/401012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32329 0039d316-1c4b-4281-b951-d872f2087c98
* Get more precise count of commited bytes in statsjar@chromium.org2009-11-181-1/+1
| | | | | | | | | | | | | | | | Account for bytes allocated for meta info when calculating the number of committed bytes. [This is partly CL http://codereview.chromium.org/384086 by Antonm, and I'm just landing it for him.] Also changed mechanism of gathering commited bytes to be sure we are under a lock (via ExtractStats) while fetching data. r=antonm,sgk Review URL: http://codereview.chromium.org/385098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32328 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a race condition in signal thread destructor.zork@google.com2009-11-172-2/+14
| | | | | | | | | BUG=23251 TEST=none Review URL: http://codereview.chromium.org/402026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32211 0039d316-1c4b-4281-b951-d872f2087c98
* Test program for OpenMAX video decodinghclam@chromium.org2009-11-131-0/+37
| | | | | | | | | | Including gyp file for openmax and the test application. The test application will link against libOmxCore.so which is provided by the target system. Review URL: http://codereview.chromium.org/391030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31957 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up os_unix.c.dumi@google.com2009-11-131-24/+18
| | | | | | | | | | | TEST=none BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31888 Review URL: http://codereview.chromium.org/384075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31936 0039d316-1c4b-4281-b951-d872f2087c98
* Building FFmpeg in tree for armhclam@chromium.org2009-11-134-24/+891
| | | | | | | | | Changes yasm to be built for host instead of target. Also don't need to depend on yasm if build ing for arm. Review URL: http://codereview.chromium.org/387023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31929 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 31888 - This change depended on a new version of WebKit levin@chromium.org2009-11-131-21/+24
| | | | | | | | | which is no longer present in chromium a the moment. TBR=dumi@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31889 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up os_unix.c.dumi@google.com2009-11-131-24/+21
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/384075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31888 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mediator_thread_impl.cc to run timer tasks when the task runner iszork@google.com2009-11-121-0/+5
| | | | | | | | | | | | | | | otherwise idle. BUG=19784, 26988 TEST=1. Enable sync and log in. 2. Go to about:sync 3. Check that notifications are enabled. 4. Disable all network adapters, and wait 15 seconds. 5. Refresh about:sync, and ensure that notifications are disabled. Review URL: http://codereview.chromium.org/391027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31820 0039d316-1c4b-4281-b951-d872f2087c98
* Revert the patch that makes SQLite interpret BEGIN as BEGIN IMMEDIATE,dumi@google.com2009-11-125-229/+205
| | | | | | | | | | | | and go back to the default behavior which treats BEGIN as BEGIN DEFERRED. TEST=none BUG=none Review URL: http://codereview.chromium.org/387030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31763 0039d316-1c4b-4281-b951-d872f2087c98
* Change os_unix.c to expose some functions that allows the xDlOpendumi@google.com2009-11-122-22/+90
| | | | | | | | | | | | method in Chromium's custom Posix VFS implementation to correctly implement the 'unused file descriptors' logic. TEST=none BUG=26041 Review URL: http://codereview.chromium.org/377039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31750 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the memory leak annotations for heap leak checker.willchan@chromium.org2009-11-111-0/+416
| | | | | | | | | | | | | leak_annotations.h provides the ANNOTATE_SCOPED_MEMORY_LEAK macro that can be used for annotating known memory leaks in the tests. Those will be ignored by the heap leak checker. Patch contributed by ramosian.glider@gmail.com. Original review at http://codereview.chromium.org/346038/show Review URL: http://codereview.chromium.org/385049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31721 0039d316-1c4b-4281-b951-d872f2087c98
* linux: don't double-depend on expatevan@chromium.org2009-11-101-32/+50
| | | | | | | | | We already depend on expat via fontconfig; pulling in two copies of the same symbols is a recipe for disaster. Review URL: http://codereview.chromium.org/385021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31615 0039d316-1c4b-4281-b951-d872f2087c98
* Header files for OpenMAX IL 1.1.2hclam@chromium.org2009-11-1012-0/+6795
| | | | | | | | All headers for OpenMAX IL 1.1.2 Review URL: http://codereview.chromium.org/388013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31608 0039d316-1c4b-4281-b951-d872f2087c98
* third_party/libpng/pngusr.h renames the various png_* functions to ↵maruel@chromium.org2009-11-071-0/+1
| | | | | | | | | | | | | | | webkit_png_*; however, it missed one: png_write_destroy. This change adds renaming for that function. The file _does_ rename png_read_destroy, as well as other png_write_* functions, so the omission would seem to be an oversight (presumably going back to WebKit) rather than a deliberate choice. Since browers don't generally need to write PNGs, this probably hasn't caused problems before. However, it is causing problems for me now because I am trying to write a Firefox plugin that links in (among other things) the Chromium libpng; because neither Firefox nor Chromium renames the png_write_destroy function, there is a conflict between Firefox's libpng and the one I'm trying to link in. This patch solves the issue for me. BUG=none TEST=none Patch contributed by Matthew Steele Review URL: http://codereview.chromium.org/374016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31359 0039d316-1c4b-4281-b951-d872f2087c98
* FFmpeg in-tree build for mac.ajwong@chromium.org2009-11-0511-65/+5693
| | | | | | | | | BUG=26509 TEST=none Review URL: http://codereview.chromium.org/340072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31050 0039d316-1c4b-4281-b951-d872f2087c98
* Remove cruft from ffmpeg.fbarchard@chromium.org2009-11-031-22/+0
| | | | | | | | | BUG=26559 TEST=build ffmpeg. It should be smaller than before but still work. Review URL: http://codereview.chromium.org/351022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30839 0039d316-1c4b-4281-b951-d872f2087c98
* Remove BZIP2 from list of dependencies.fbarchard@chromium.org2009-11-031-1/+0
| | | | | | | | | BUG=26548 TEST=build on linux. Should build okay without bz2 lib installed. Review URL: http://codereview.chromium.org/345044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30804 0039d316-1c4b-4281-b951-d872f2087c98
* One more nit discovered by the NaCl build's higher warning level.sehr@google.com2009-11-031-1/+1
| | | | | | Review URL: http://codereview.chromium.org/355004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30785 0039d316-1c4b-4281-b951-d872f2087c98
* A few small changes to make npapi header files useful in thesehr@google.com2009-11-022-7/+9
| | | | | | | | | native client build (and in the toolchain, which is where the #ifdef stuff comes from). Review URL: http://codereview.chromium.org/342079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30759 0039d316-1c4b-4281-b951-d872f2087c98
* libjingle: add missing include in asynctcpsocket.cccraig.schlenter@chromium.org2009-11-021-0/+2
| | | | | | | | | | | | | Error was: third_party/libjingle/files/talk/base/asynctcpsocket.cc:172: error: ‘strerror’ is not a member of ‘std’ Filed upstream: http://code.google.com/p/libjingle/issues/detail?id=54 TEST=builds with gcc 4.4 now Review URL: http://codereview.chromium.org/341067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30746 0039d316-1c4b-4281-b951-d872f2087c98
* linux: fix library=shared_library issuespiman@chromium.org2009-11-022-2/+4
| | | | | | Review URL: http://codereview.chromium.org/339079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30738 0039d316-1c4b-4281-b951-d872f2087c98
* Upgrade google-perftools to revision 77timurrrr@chromium.org2009-11-025-513/+18
| | | | | | | | | | | | This brings several bugfixes needed for turning on the heap leak checker inside tcmalloc. Unforked malloc_hook.cc for Linux This patch was prepared by Alexander Potapenko (cc'ed) and originally reviewed as http://codereview.chromium.org/339065 Review URL: http://codereview.chromium.org/340065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30735 0039d316-1c4b-4281-b951-d872f2087c98