summaryrefslogtreecommitdiffstats
path: root/third_party
Commit message (Collapse)AuthorAgeFilesLines
* Convert cld.gyp to Unix line endings.Patch by chase@chromium.orgsidchat@google.com2009-06-181-105/+105
| | | | | | | | BUG=none TEST=gclient runhooks --force completes successfully. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18672 0039d316-1c4b-4281-b951-d872f2087c98
* Delete the user vcproj that was accidentally checked in.brettw@chromium.org2009-06-161-65/+0
| | | | | | Review URL: http://codereview.chromium.org/125186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18559 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some files from third_party\cld which are not required.sidchat@google.com2009-06-167-2249/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/126169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18528 0039d316-1c4b-4281-b951-d872f2087c98
* Clicking on any tile in the NTP would hide the window. Surprising!jrg@chromium.org2009-06-161-10/+12
| | | | | | | | | | BUG=http://crbug.com/14144 TEST=click on a tile in the NTP. Happiness --> window does not auto-hide. Review URL: http://codereview.chromium.org/125166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18472 0039d316-1c4b-4281-b951-d872f2087c98
* Make the generated stubs weak. Enable the unittests that had conflicting ↵ajwong@chromium.org2009-06-161-1/+6
| | | | | | | | | | symbols. Also move some of the old mocks into their own namespace. They were causing linker confusion due to inlining or something which generated bad test executables that segfaulted. Review URL: http://codereview.chromium.org/126170 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18457 0039d316-1c4b-4281-b951-d872f2087c98
* Add Compact Language Detection (CLD) library to Chrome. This works in ↵sidchat@google.com2009-06-1593-0/+66491
| | | | | | | | | | Windows only currently. BUG=none TEST=none Review URL: http://codereview.chromium.org/122007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18445 0039d316-1c4b-4281-b951-d872f2087c98
* Make tooltips work correctly, allowing for multiple tooltips w/out the mouse ↵pinkerton@chromium.org2009-06-154-0/+370
| | | | | | | | | | leaving the view (which is all NSView can handle by itself). Adds some Camino code to do so. BUG=13995 TEST=tooltips in web pages, pages with multiple tooltips, expose and spaces. Review URL: http://codereview.chromium.org/125133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18408 0039d316-1c4b-4281-b951-d872f2087c98
* Change delayload attribute from string to list in gyp fileshclam@chromium.org2009-06-121-1/+5
| | | | | | | | | | Change from string to list so the list can merge correctly. TBR=scherkus Review URL: http://codereview.chromium.org/125059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18294 0039d316-1c4b-4281-b951-d872f2087c98
* Delay loading FFmpeg dlls from the test_shellhclam@chromium.org2009-06-121-0/+5
| | | | | | | | | Make test_shell.vsprops depends on using_ffmpeg.vsprops so it delays loading FFmpeg dlls. Review URL: http://codereview.chromium.org/125015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18231 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert r18122: "Reapply ffmpeg changes." (it broke the Linux make ↵tc@google.com2009-06-117-48/+178
| | | | | | | | | | | | build)." This reverts commit r18168 and reapplies r18122. I.e., this reapplies the ffmpeg changes. Review URL: http://codereview.chromium.org/125003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18200 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r18122: "Reapply ffmpeg changes." (it broke the Linux make build).agl@chromium.org2009-06-117-178/+48
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18168 0039d316-1c4b-4281-b951-d872f2087c98
* Define all file handles so if open fails, we can still test for the variable.ajwong@chromium.org2009-06-111-0/+5
| | | | | | Review URL: http://codereview.chromium.org/122013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18133 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply ffmpeg changes. The original review is at ↵ajwong@chromium.org2009-06-117-48/+178
| | | | | | | | http://codereview.chromium.org/118046. Review URL: http://codereview.chromium.org/118444 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18122 0039d316-1c4b-4281-b951-d872f2087c98
* Roll to the new version of tcmalloc.mbelshe@google.com2009-06-101-1/+1
| | | | | | | | | | | This is so that we can pick up set_new_mode(). BUG=11475 TEST=none Review URL: http://codereview.chromium.org/118523 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18105 0039d316-1c4b-4281-b951-d872f2087c98
* Removing ffmpeg again.ajwong@chromium.org2009-06-096-150/+41
| | | | | | | | Reverting r17992 and r17987. Review URL: http://codereview.chromium.org/119399 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17995 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing include path for windows.ajwong@chromium.org2009-06-091-0/+3
| | | | | | Review URL: http://codereview.chromium.org/119396 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17992 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply ffmpeg changes. The original review is at ↵ajwong@chromium.org2009-06-096-41/+147
| | | | | | | | http://codereview.chromium.org/118046. Review URL: http://codereview.chromium.org/118444 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17987 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the checked-in tcmalloc.vcproj file.sgk@chromium.org2009-06-061-58/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/119280 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17831 0039d316-1c4b-4281-b951-d872f2087c98
* Convert tcmalloc (and its modified libcmt) to building with gyp.sgk@google.com2009-06-063-242/+157
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/119265 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17828 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting r17820 and r17819 due to mac breakage.ajwong@chromium.org2009-06-066-158/+41
| | | | | | Review URL: http://codereview.chromium.org/119276 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17821 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mac gyp build of ffmpeg to have type 'none'.ajwong@chromium.org2009-06-061-0/+5
| | | | | | Review URL: http://codereview.chromium.org/119275 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17820 0039d316-1c4b-4281-b951-d872f2087c98
* Change ffmpeg.gyp over to use generate_stubs.py.ajwong@chromium.org2009-06-066-41/+153
| | | | | | | | Also reimplement media_posix.cc to call into the generated stub functions instead of having its own hacked together version. Review URL: http://codereview.chromium.org/118046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17819 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit_tests (Chrome browser unit tests) to Mac/Linux coverage.jrg@chromium.org2009-06-051-2/+4
| | | | | | | | Minor fixes to coverage related scripts. Review URL: http://codereview.chromium.org/118298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17785 0039d316-1c4b-4281-b951-d872f2087c98
* Python script for auto-generating stub/def files for a list of signatures.ajwong@chromium.org2009-06-032-0/+1144
| | | | | | | | This python script takes a list of C-style signatures and generates either a windows def file, or a C++ stub file that allows for binding of functions via dlopen/dlsym. This is used to support delay loading in windows and simulate it on posix systems. Review URL: http://codereview.chromium.org/113803 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17534 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix libevent bug.agl@chromium.org2009-06-021-1/+1
| | | | | | | | | | | | | r17436 exposed a libevent bug where an array is not resized to a large enough size when it's one element too short. This bug will be upstreamed to libevent. http://codereview.chromium.org/112089 BUG=11999 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17449 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: stop libevent from pre-allocating huge arrays.agl@chromium.org2009-06-021-12/+2
| | | | | | | | | | | | | | | | | | | Currently, libevent allocates two structures of size RLIMIT_NOFILE (which is 8192 on Ubuntu) and so these end up being several hundred kB of memory for each MessageLoopIO. This patch changes the default size to 32. If the thread watches a file descriptor greater than 32, the arrays will be grown as needed, doubling each time. Also fixes a typo in the upstream code. A bug report for this has been sent upstream. http://codereview.chromium.org/118126 BUG=11999 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17436 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: sync libevent/epoll.c to upstream's version.agl@chromium.org2009-06-021-5/+8
| | | | | | | | | | | | | | Our version of epoll.c has a bug where, when resizing an array, pointers to the old array remain in kernel memory and are subsequently used. This is a pure cherry-pick from libevent 1.4.11-stable. http://codereview.chromium.org/118124 BUG=11999 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17421 0039d316-1c4b-4281-b951-d872f2087c98
* Security bug for libpng, update needed to 1.2.36mhm@chromium.org2009-06-0115-151/+193
| | | | | | | | | | | | There's a new version of libpng, 1.2.36 which fixes a security bug. Chrome/Chromium still runs on 1.2.35 it seems BUG=13046 TEST=Ran tests Review URL: http://codereview.chromium.org/112080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17365 0039d316-1c4b-4281-b951-d872f2087c98
* Implements a Zip() utility function. Refactor existingaa@chromium.org2009-06-011-0/+2
| | | | | | | | Unzip-relatedness into shared locations. Review URL: http://codereview.chromium.org/118028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17305 0039d316-1c4b-4281-b951-d872f2087c98
* Better seeking for <video> and <audio>hclam@chromium.org2009-05-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There two problems surrouding the seek feature for <video> and <audio>: 1. After each seek, the time goes back and forth until stable, so user has to "fight" the time bar for seeking. 2. When playing an audio file, sounds plays a litte bit and then the play position rewinded and plays again. The cause of above problems: 1. There are demuxed packets and decoded buffers inside decoders and renderers. When seek is requested only demuxer flush its buffers, decoders and renderers still plays a little bit of the old buffer, thus updating the time incorrectly. 2. When playing a media file, WebKit does: 1. load() 2. pause() 3. seek(0.0f) 4. play() Since load() does prerolling internally, there were some decoded buffers in the renderers, and when seek(0.0f) is fired the play position reset to time 0 and decode starts from there again, the internal buffer queue in the renderer would then look like: | 0.0s | | 0.1s | | 0.2s | | 0.0s | | 0.1s | ... Thus playback at the beginning goes back and forth. To solve the seek problems, here's what is done in this CL: 1. All decoders and renderers should receive the seek signal. 2. When seek signal is received, discard all buffers and schedule read again. With this CL, we can now scrub an <audio> tag with the timebar. The downside of this fix is that we don't have prerolling (notice that due to how WebKit starts playing back we didn't preroll anyway...), this should be fixed in another CL. Review URL: http://codereview.chromium.org/113891 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17242 0039d316-1c4b-4281-b951-d872f2087c98
* Set svn:eol-style LF on all gyp files.sgk@google.com2009-05-282-58/+58
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/113957 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17090 0039d316-1c4b-4281-b951-d872f2087c98
* Retry to checkin a version of gmock, modified to use our boost_tuple in VS2005.ajwong@chromium.org2009-05-281-3/+1
| | | | | | | | | | This checkin adds gmock, and a small example of how to write a gmock-based unittest. Original Review URL: http://codereview.chromium.org/113807 Review URL: http://codereview.chromium.org/115846 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17066 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the old checked-in SCons and Visual Studio files forsgk@google.com2009-05-288-380/+5
| | | | | | | | | bsdiff and bspatch. svn:ignore the new generated ones. BUG=none TEST=none Review URL: http://codereview.chromium.org/115819 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17064 0039d316-1c4b-4281-b951-d872f2087c98
* Add gyp-generated bspatch (used by setup.exe) and bsdiff.sgk@google.com2009-05-272-0/+53
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/115778 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16966 0039d316-1c4b-4281-b951-d872f2087c98
* Make the GUID upper case (so Visual Studio won't try to correctsgk@google.com2009-05-261-1/+1
| | | | | | | | | it by asking to write out a "modified" chrome.sln). BUG=none TEST=none Review URL: http://codereview.chromium.org/113860 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16951 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Checkin a version of gmock, modified to use our boost_tuple in VS2005."ajwong@chromium.org2009-05-261-1/+3
| | | | | | This reverts commit 071e95bcdcefcd2cb86c9aed5cb073bbcaa7f2a7. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16931 0039d316-1c4b-4281-b951-d872f2087c98
* Checkin a version of gmock, modified to use our boost_tuple in VS2005.ajwong@chromium.org2009-05-261-3/+1
| | | | | | | | This checkin adds gmock, and a small example of how to write a gmock-based unittest. Review URL: http://codereview.chromium.org/113807 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16927 0039d316-1c4b-4281-b951-d872f2087c98
* Add in boost_tuple into third-party for use by googlemock in windows.ajwong@chromium.org2009-05-23392-0/+34277
| | | | | | Review URL: http://codereview.chromium.org/115398 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16829 0039d316-1c4b-4281-b951-d872f2087c98
* Adding ffmpeg_binaries target which copies FFmpeg binaries alongside ↵ajwong@chromium.org2009-05-232-1/+47
| | | | | | | | chrome.dll if present. Review URL: http://codereview.chromium.org/114048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16826 0039d316-1c4b-4281-b951-d872f2087c98
* New FFmpeg public API headers to match our source tarball in deps.scherkus@chromium.org2009-05-229-194/+382
| | | | | | Review URL: http://codereview.chromium.org/113748 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16771 0039d316-1c4b-4281-b951-d872f2087c98
* Add events to windowless plugins on linux. This CL also refactors the eventevan@chromium.org2009-05-222-10/+78
| | | | | | | | | | | | | communication between WebPlugin and WebPluginDelegate, to use a cross-platform message based on WebInputEvent. BUG=8202 TEST=A lot of manual testing on Linux and Windows, with Flash plugins and a custom plugin that dumps events on Linux. Review URL: http://codereview.chromium.org/115330 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16692 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary fix for MP3 decoding by duplicating packets before handing them to ↵scherkus@chromium.org2009-05-201-0/+1
| | | | | | | | | | the decoder. Turns out packets filled out by av_read_frame() were being modifying on subsequent calls to av_read_frame(). Might be a case of setting the data pointer to internal memory as opposed to allocated memory. Review URL: http://codereview.chromium.org/115561 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16525 0039d316-1c4b-4281-b951-d872f2087c98
* Use av_rescale_q() for converting FFmpeg timestamps to base::TimeDelta ↵scherkus@chromium.org2009-05-201-0/+1
| | | | | | | | | | | | (second attempt). Previously we were using integer math to convert to microseconds, but depending on the frame rate and packet size we could introduce enough error that could accumulate and introduce audio/video synchronization drift. av_rescale_q() is a simple function but is designed to minimize error as much as possible. Second attempt since I forgot to manually resolve av_rescale_q() for unittests. Review URL: http://codereview.chromium.org/113619 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16514 0039d316-1c4b-4281-b951-d872f2087c98
* Revert change 16453 because it broke the build.nsylvain@chromium.org2009-05-201-1/+0
| | | | | | Review URL: http://codereview.chromium.org/113615 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16459 0039d316-1c4b-4281-b951-d872f2087c98
* Use av_rescale_q() for converting FFmpeg timestamps to base::TimeDelta.scherkus@chromium.org2009-05-201-0/+1
| | | | | | | | Previously we were using integer math to convert to microseconds, but depending on the frame rate and packet size we could introduce enough error that could accumulate and introduce audio/video synchronization drift. av_rescale_q() is a simple function but is designed to minimize error as much as possible. Review URL: http://codereview.chromium.org/113598 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16453 0039d316-1c4b-4281-b951-d872f2087c98
* Update to new version of tcmalloc (new spinlock implementation)mbelshe@google.com2009-05-191-0/+4
| | | | | | Review URL: http://codereview.chromium.org/113563 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16362 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the checked-in .scons files now that lzma_sdk is using gyp.sgk@google.com2009-05-162-144/+0
| | | | | | Review URL: http://codereview.chromium.org/113501 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16235 0039d316-1c4b-4281-b951-d872f2087c98
* Rework the gyp hierarchy under chrome\installer to usesgk@google.com2009-05-151-0/+3
| | | | | | | | | | | | | | | chrome\installer.gyp as a single entry point for installer-related targets, incorporating what used to be in chrome\installer\util\util.gyp and chrome\installer\util\prebuild\util_prebuild.gyp. Adjust the dependency in chrome\chrome.gyp that pulls in installer_util. Add the newly-generated .sln and .vcproj files to svn:ignore. Updates lzma_sdk.gyp with some dependent settings that used to duplicated by hand in installer\util\util.gyp. Review URL: http://codereview.chromium.org/115404 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16194 0039d316-1c4b-4281-b951-d872f2087c98
* Convert lzma_sdk to gyp.sgk@google.com2009-05-151-0/+60
| | | | | | Review URL: http://codereview.chromium.org/115004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16179 0039d316-1c4b-4281-b951-d872f2087c98
* Remove executable bit from a bunch of files that shouldn't have it.evan@chromium.org2009-05-11166-0/+0
| | | | | | | | | | (No code change.) git ls-tree -r HEAD | grep '^100755' | cut -f2 | egrep '\.(png|txt|mm|cc|h|checksum|asm|js|html|c|css|xml|grd|json)$' | xargs chmod a-x git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15809 0039d316-1c4b-4281-b951-d872f2087c98