summaryrefslogtreecommitdiffstats
path: root/third_party
Commit message (Collapse)AuthorAgeFilesLines
* Style changes for readability review.ajwong@chromium.org2009-09-022-411/+487
| | | | | | Review URL: http://codereview.chromium.org/146104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25272 0039d316-1c4b-4281-b951-d872f2087c98
* Removes deprecated stl_decl.h file from cld project. Patch by tfarina ↵sidchat@google.com2009-09-024-27/+2
| | | | | | | | | | (http://codereview.chromium.org/174631). BUG=None TEST=None git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25249 0039d316-1c4b-4281-b951-d872f2087c98
* Landing for Anton Muhin's tcmalloc patch:mbelshe@google.com2009-09-025-14/+400
| | | | | | | | | | | | | | | http://codereview.chromium.org/180021/show Restore decommitting in IncrementalScavenge and draft Scavenge method to be invoked periodically to reduce amount of committed pages. BUG=none TEST=none Review URL: http://codereview.chromium.org/187008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25188 0039d316-1c4b-4281-b951-d872f2087c98
* Fix issue 15261: Crash in history::TextDatabase::GetTextMatchessuzhe@chromium.org2009-09-029-8/+109
| | | | | | | | | | | | | | | The crash in history::TextDatabase::GetTextMatches is caused by unexpected result of tolower() in some locales such as tr_TR.UTF-8. This CL fixes this issue by using following statement to replace tolower(): (ch>='A' && ch<='Z') ? (ch-'A'+'a') : ch which will always return expected result for ascii characters regardless of current locale. BUG=15261 Crash in history::TextDatabase::GetTextMatches TEST=none Review URL: http://codereview.chromium.org/174387 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25141 0039d316-1c4b-4281-b951-d872f2087c98
* Speed up net_unittests by re-using one FTP test server instance.phajdan.jr@chromium.org2009-08-313-6/+31
| | | | | | | | | | | | | | I managed to save 30s with this change! I had to change the interface of the test server a bit. Now the credentials to be used are passed (optionally) for TestPage request, not in the ctor. BUG=none TEST=none Review URL: http://codereview.chromium.org/182031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24942 0039d316-1c4b-4281-b951-d872f2087c98
* Silence the libcmt project to only print the processed files.maruel@chromium.org2009-08-291-3/+4
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/175021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24858 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium side patch for DB support on Linux.dumi@chromium.org2009-08-282-1/+11
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/174232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24807 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: add gyp flag for enabling tcmalloc. Also fix the linux build which ↵willchan@chromium.org2009-08-262-16/+102
| | | | | | | | didn't work in a clean client since tcmalloc.h wasn't generated. Review URL: http://codereview.chromium.org/173387 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24538 0039d316-1c4b-4281-b951-d872f2087c98
* Allow protobuf to build on Windows by using thenick@chromium.org2009-08-261-3/+17
| | | | | | | | | config.h provided (by the protobuf project) for msvc. Review URL: http://codereview.chromium.org/173370 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24488 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Issue 160529 in a nice way with unittest.fbarchard@chromium.org2009-08-211-0/+1
| | | | | | | | | | | | Original CL171023 by Song YeWen. BUG=16020 TEST=test with all media types and ensure there are no memory leaks are functional differences from previous version. Review URL: http://codereview.chromium.org/174027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24016 0039d316-1c4b-4281-b951-d872f2087c98
* Add method in CLD to get top 3 languages, and their percentages, for a given ↵sidchat@google.com2009-08-213-22/+118
| | | | | | | | | | unicode text. This is required for an extension API which returns the top three languages for a web page. BUG=none TEST=none Review URL: http://codereview.chromium.org/174004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23972 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: make cpu profiler buildable with tcmalloc (does not enable tcmalloc).willchan@chromium.org2009-08-201-8/+18
| | | | | | | | | I forgot to add the cpu profiler files last time and got surprised when CPUPROFILE didn't do anything. I've added the files in now. I also made the libcmt dependency specific to windows, since the make build doesn't like it. Review URL: http://codereview.chromium.org/173110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23823 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Make tcmalloc buildable on linux (does not enable it though).willchan@chromium.org2009-08-195-263/+1103
| | | | | | | | | | | | | | Mostly changes to tcmalloc.gyp to get tcmalloc building for linux. Supports the full google-perftools tool suite (heapchecker, heapprofiler, cpuprofiler). Adds in a fix for malloc_hook.cc that is not upstream yet. Forked malloc_hook.cc. Forces linking in a symbol that is not used except by a static initializer which was getting stripped out, thereby getting heap profiler to work even when statically linked. TODO: integrate with allocator_shim TODO: support jemalloc TODO: support debugallocation Review URL: http://codereview.chromium.org/173017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23761 0039d316-1c4b-4281-b951-d872f2087c98
* Gyp change to allow overriding of the binaries used based on environment ↵ajwong@chromium.org2009-08-181-2/+6
| | | | | | | | | | | variables. BUG=16779 TEST=none Review URL: http://codereview.chromium.org/172060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23661 0039d316-1c4b-4281-b951-d872f2087c98
* Don't pass --atleast-version to pkg-config.agl@chromium.org2009-08-181-5/+8
| | | | | | | | | | | Turns out that pkgconfig produces no output if --atleast-version is given. Thus we list the cflags twice, once to catch the version error and then a second time to get the flags we need. (Reported by fta.) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23660 0039d316-1c4b-4281-b951-d872f2087c98
* Apply fix for CVE-2009-2416 (use-after-free) and CVE-2009-2414 (stack ↵cevans@chromium.org2009-08-182-6/+23
| | | | | | | | | | | | | recursion overflow). I used https://bugzilla.redhat.com/attachment.cgi?id=356032 and fixed the issue with lint vs. tabs. BUG=19158 TEST=http://cevans-app.appspot.com/static/CVE-2009-2416.xml Review URL: http://codereview.chromium.org/172025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23606 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix: I put the defines in the wrong section.agl@chromium.org2009-08-171-3/+3
| | | | | | | | | | | When building with use_system_libpng, the build will end up using the png.h from third_party because I put the defines stanza in the wrong place. (reported by fta) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23561 0039d316-1c4b-4281-b951-d872f2087c98
* Pull new version of protobuffers that's compatible with no-rtti in debug modecmasone@google.com2009-08-161-2/+4
| | | | | | | lands r165517 Review URL: http://codereview.chromium.org/172034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23535 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix up use_system_{libxml,libxslt,sqlite3}agl@chromium.org2009-08-133-6/+24
| | | | | | | http://codereview.chromium.org/164450 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23324 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress RTTI in protobuf2, now that RTTI is disabled on Mac and Linux (r23304).mark@chromium.org2009-08-131-0/+5
| | | | | | | | BUG=19094 TEST=Linux Builder (ChromeOS) compile turns green Review URL: http://codereview.chromium.org/164478 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23308 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress RTTI in protobuf2, now that RTTI is disabled on Mac and Linux (r23304).mark@chromium.org2009-08-131-0/+12
| | | | | | | | BUG=19094 TEST=Linux Builder (ChromeOS) compile turns green Review URL: http://codereview.chromium.org/164477 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23307 0039d316-1c4b-4281-b951-d872f2087c98
* Major changes to the Chrome allocator.mbelshe@google.com2009-08-1215-3/+11939
| | | | | | | | | | | | | | | | | | | | Changes include: * Fix tcmalloc to release memory. Implements the TCMalloc_SystemCommit() mechanism so that tcmalloc can implement SystemRelease() and later reuse that memory. * Enable dynamic switching of allocators based on an environment variable. Users can now switch between tcmalloc, jemalloc, the default windows heap, and the windows low-fragmentation heap. * Implements set_new_mode() across all allocators so that we can be sure that out-of-memory conditions are handled safely. BUG=18345 TEST=none; plan to get all unit tests running through these allocators. Review URL: http://codereview.chromium.org/165275 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23140 0039d316-1c4b-4281-b951-d872f2087c98
* Move to using updated chromium binaries pulled in via platform-specific DEPS.ajwong@chromium.org2009-08-0810-12/+0
| | | | | | | | | BUG=16010,16638,17174 TEST=none Review URL: http://codereview.chromium.org/165193 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22853 0039d316-1c4b-4281-b951-d872f2087c98
* Remove pthread from ffmpeg copy stepfbarchard@chromium.org2009-08-071-1/+0
| | | | | | Review URL: http://codereview.chromium.org/164209 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22832 0039d316-1c4b-4281-b951-d872f2087c98
* Binaries for chromium built updated OGG, and reduced in size with O2 and ↵fbarchard@chromium.org2009-08-074-0/+0
| | | | | | | | | | | static pthread lib linked into avcodec. BUG=17174,18466,16010 TEST=play http://people.xiph.org/~tterribe/tmp/sign_irene_cif-3qi.ogg Review URL: http://codereview.chromium.org/164165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22816 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix jump jump based on uninitialised value.agl@chromium.org2009-08-072-3/+3
| | | | | | | | | | | | | | This is causing layout test flakiness and a curious effect where text seems to twitch back and forth randomly. I'm not at all sure about this fix. I'll send it upstream for review, but I want to get it fixed locally first because it's causing problems for us. http://codereview.chromium.org/165165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22803 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: support mirrored charactorsagl@chromium.org2009-08-074-3/+1041
| | | | | | | | | | | | | | | Currently, when Harfbuzz requests a mirror charactor we just abort. This patch adds the Unicode tables required to support mirroring. (Note: I don't actually have any webpages which trigger this code, so it hasn't been tested.) BUG=17563 http://codereview.chromium.org/164123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22776 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: use 'settings' for system libpng.agl@chromium.org2009-08-061-1/+1
| | | | | | | | It turns out that 'settings' is the correct GYP target type for this sort of thing. Thanks to Evan for pointing out my mistake. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22646 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: add GYP flag to build with system jpeg.agl@chromium.org2009-08-061-68/+92
| | | | | | | | | | This follows the general style of r21663, which we agreed was the way to do this. http://codereview.chromium.org/164080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22645 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: add GYP flag to build with system libbz2.agl@chromium.org2009-08-061-29/+56
| | | | | | | | | | | | | This follows the general style of r21663, which we agreed was the way to do this. Note that, currently, one cannot build with system libbz2 on a 64-bit system since it's not part of the ia32-compat package. http://codereview.chromium.org/165016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22640 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: add GYP flag to build with system zlib.agl@chromium.org2009-08-068-68/+121
| | | | | | | | | | | | | This follows the general style of r21663, which we agreed was the way to do this. Note that, currently, one cannot build with system zlib on a 64-bit system since it's missing a symlink to libz.so in /usr/lib32. http://codereview.chromium.org/164027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22638 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: preload ffmpeg in the zygote.agl@chromium.org2009-08-051-1/+3
| | | | | | | | | | | | | | | | | | When using the sandbox, the renderer cannot load the ffmpeg shared objects from disk. So we load them in the zygote before the sandbox is started. (Note that this doesn't get media working, but it's a start.) BUG=18329 http://codereview.chromium.org/159841 (Note: relanding. Original landing in r22392, reverted in r22405 due to check-deps failure.) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22492 0039d316-1c4b-4281-b951-d872f2087c98
* Move simplejson to third_party: Step 1nsylvain@chromium.org2009-08-047-0/+1260
| | | | | | | | | | Step 1: copy simplejson to third_party step 2: make buildbot pull simplejson from third_party TBR:maruel (rietveld does not like the change) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22434 0039d316-1c4b-4281-b951-d872f2087c98
* Adding two new windows configuration types:bradnelson@chromium.org2009-08-041-6/+24
| | | | | | | | | | | | | | | | | Purify Release - no tcmalloc This is done more pedantically than I'd like, so I've left in some TODOs. Eventually either gyp needs to support some notion of inheritance in configurations, or maybe we can make clever use of includes. BUG=None TEST=None Review URL: http://codereview.chromium.org/159362 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22433 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Linux: preload ffmpeg in the zygote."agl@chromium.org2009-08-041-3/+1
| | | | | | | This reverts commit r22392. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22405 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: preload ffmpeg in the zygote.agl@chromium.org2009-08-041-1/+3
| | | | | | | | | | | | | | | When using the sandbox, the renderer cannot load the ffmpeg shared objects from disk. So we load them in the zygote before the sandbox is started. (Note that this doesn't get media working, but it's a start.) BUG=18329 http://codereview.chromium.org/159841 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22392 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling back 22300.bradnelson@google.com2009-08-0356-9409/+0
| | | | | | | | | | | Messy deps... BUG=None TEST=None TBR=rafaelw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22310 0039d316-1c4b-4281-b951-d872f2087c98
* Extension docs build script, gyp target and PRESUBMIT.PY checkrafaelw@chromium.org2009-08-0356-0/+9409
| | | | | | | | | | | | | | | | | | This addeds a mechanism for extension docs to "render" from the api/extension_api.json api "idl", the docs/static file content and the template/ html templates into the static extension docs. It retains the property that extension docs loaded in chrome with file:/// scheme will regenerate if dependent data has changed, but otherwise is static. The build.py script runs test_shell to render the static files. A extension_docs gyp target is defined with appropriate inputs & outputs that will run the build.py A PRESUBMIT.PY check will warn on upload and commit if any files have changed that would require a docs rebuild. Note that the PRESUBMIT.PY checks are not currently being run for git cl upload or git cl dcommit. Review URL: http://codereview.chromium.org/159607 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22300 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 21938 (done with experiment).willchan@chromium.org2009-07-294-542/+263
| | | | | | Review URL: http://codereview.chromium.org/160314 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21939 0039d316-1c4b-4281-b951-d872f2087c98
* Experiment: Enable tcmalloc for linux (Take 2). Will revert after a ↵willchan@chromium.org2009-07-294-263/+542
| | | | | | | | buildbot cycle. Review URL: http://codereview.chromium.org/160313 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21938 0039d316-1c4b-4281-b951-d872f2087c98
* Remove *.vsprops files that are no longer referenced (or only havesgk@google.com2009-07-281-12/+0
| | | | | | | | | references to each other) anywhere in the Chromium code base. BUG=none TEST=rebuild Review URL: http://codereview.chromium.org/159523 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21873 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Experiment: Enable tcmalloc for linux. Will revert after a buildbot ↵willchan@chromium.org2009-07-284-542/+263
| | | | | | | | | | cycle." This reverts r21826. Review URL: http://codereview.chromium.org/160261 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21827 0039d316-1c4b-4281-b951-d872f2087c98
* Experiment: Enable tcmalloc for linux. Will revert after a buildbot cycle.willchan@chromium.org2009-07-284-263/+542
| | | | | | | | TBR=willchan Review URL: http://codereview.chromium.org/159491 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21826 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: add GYP variable to use the system libpng.agl@chromium.org2009-07-271-49/+82
| | | | | | | | | | | | Since our packagers have been requesting that we support using more system libraries, I'm starting to commit these sorts of changes. However, please note that one MUST NOT use the system libpng on, at least, Ubuntu 64-bit. Because Chromium on Linux is still a 32-bit build we end up with the 32-bit compat versions of libraries and, on Ubuntu at least, this includes a very old libpng with security issues. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21663 0039d316-1c4b-4281-b951-d872f2087c98
* Stubs for DB-related methods in ChromiumBridge.dumi@chromium.org2009-07-202-1/+11
| | | | | | Review URL: http://codereview.chromium.org/159044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21130 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: add use_system_ffmpeg GYP variable.agl@chromium.org2009-07-201-8/+19
| | | | | | | | | | | | | | | | | In r20548, we switched from using a shell script to copy the ffmpeg binaries to the output directory, to using the GYP 'copies' stanza. When built using Scons, any copies for which the source file was missing began to fail. Since Ubuntu policy (and size considerations) prohibit the shipping of the binaries in the source packages of chromium-browser, so add a GYP variable which can be set to inhibit this copying for cases where the source files aren't included. http://codereview.chromium.org/155791 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21093 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting patch 21083.dumi@chromium.org2009-07-202-11/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21084 0039d316-1c4b-4281-b951-d872f2087c98
* Stubs for DB-related methods in ChromiumBridge.dumi@chromium.org2009-07-202-1/+11
| | | | | | Review URL: http://codereview.chromium.org/159044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21083 0039d316-1c4b-4281-b951-d872f2087c98
* Undo the hacks I landed in r21011, r21012, restoring napi.h to its original ↵eroman@chromium.org2009-07-181-30/+1
| | | | | | | | | | | form. BUG=http://crbug.com TBR=evan Review URL: http://codereview.chromium.org/159051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21050 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break on mac.eroman@chromium.org2009-07-171-1/+1
| | | | | | | | TBR=evan Review URL: http://codereview.chromium.org/159031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21012 0039d316-1c4b-4281-b951-d872f2087c98