summaryrefslogtreecommitdiffstats
path: root/third_party
Commit message (Collapse)AuthorAgeFilesLines
* Add mac and linux binaries for ffmpeg.ajwong@chromium.org2009-07-086-0/+0
| | | | | | | | | BUG=15906 TEST=chromium builds should have video enabled Review URL: http://codereview.chromium.org/155107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20171 0039d316-1c4b-4281-b951-d872f2087c98
* Delete boost.ajwong@chromium.org2009-07-08392-34275/+0
| | | | | | Review URL: http://codereview.chromium.org/150086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20159 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup resources allocated by FFmpeg to avoid memory and threads leakshclam@chromium.org2009-07-072-0/+2
| | | | | | | | Calls avcodec_free and avcodec_thread_free appropriately. Review URL: http://codereview.chromium.org/151192 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20039 0039d316-1c4b-4281-b951-d872f2087c98
* Use native Cocoa tooltips instead of Mozilla's ToolTip class.pinkerton@chromium.org2009-07-072-268/+0
| | | | | | | | This makes tooltips behave more normally, and fixes some of the bugs. Patch by Jens Alfke (snej@google.com) BUG=15655 TEST=tooltips should feel more like native tooltips git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20019 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in Windows FFmpeg binaries for Chromium.scherkus@chromium.org2009-07-066-10/+34
| | | | | | | | | BUG=15906 TEST=builds of Chromium should now be video/audio enabled Review URL: http://codereview.chromium.org/149165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19987 0039d316-1c4b-4281-b951-d872f2087c98
* Mangle the names of the libjpeg functions so gtk/gdk doesn't try to use our ↵estade@chromium.org2009-07-033-0/+121
| | | | | | | | | | | libjpeg. TEST=along with <http://codereview.chromium.org/151100>, it's possible to preview jpeg images BUG=none Review URL: http://codereview.chromium.org/151163 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19873 0039d316-1c4b-4281-b951-d872f2087c98
* Make FFmpeg delay load settings propagate to all shared libraries and ↵scherkus@chromium.org2009-07-011-8/+8
| | | | | | | | | | | executables. TEST=everything should build with no test hangs BUG=15664 Review URL: http://codereview.chromium.org/151124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19746 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed typo in ffmpeg.gyp that caused avcodec-52.dll to not get copied.scherkus@chromium.org2009-06-301-1/+1
| | | | | | | | | | TEST=media layout tests should pass again, bots shouldn't be all busted BUG=15664 TBR=glen Review URL: http://codereview.chromium.org/151070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19579 0039d316-1c4b-4281-b951-d872f2087c98
* Add in support for copying the ffmpeg binaries in linux and mac.ajwong@chromium.org2009-06-302-29/+94
| | | | | | Review URL: http://codereview.chromium.org/149121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19570 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r19534 "Add in support for copying the ffmpeg binaries in linux and mac."ajwong@chromium.org2009-06-292-97/+29
| | | | | | Review URL: http://codereview.chromium.org/151044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19538 0039d316-1c4b-4281-b951-d872f2087c98
* Add in support for copying the ffmpeg binaries in linux and mac.ajwong@chromium.org2009-06-292-29/+97
| | | | | | Review URL: http://codereview.chromium.org/149121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19534 0039d316-1c4b-4281-b951-d872f2087c98
* Added stub native web worker support, including build support in preparationsehr@google.com2009-06-291-1/+1
| | | | | | | for integrating the native client build. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19479 0039d316-1c4b-4281-b951-d872f2087c98
* Setting executable bit for third_party/ffmpeg/copy_binaries.shhclam@chromium.org2009-06-271-0/+0
| | | | | | | | TBR=ajwong Review URL: http://codereview.chromium.org/149122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19450 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit testing to CLD. In addition, remove files from cld/base which are ↵sidchat@google.com2009-06-246-917/+398
| | | | | | | | | | not required, yet were creating compile errors when building unit_tests. BUG=none TEST=none Review URL: http://codereview.chromium.org/132032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19190 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor FFmpegVideoDecoder::OnDecode and unittest and add state tracking.ajwong@chromium.org2009-06-222-1/+9
| | | | | | | | The decoder needs a concept of state to know when it should just stop attempting to decode. This is because ffmpeg will sometimes gives spurious frames back, which plays badly with the time presentation timestamp calculation logic. Review URL: http://codereview.chromium.org/132013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18990 0039d316-1c4b-4281-b951-d872f2087c98
* This updates the PNG library to 1.2.37, which fixes some bugs internal to ↵gspencer@google.com2009-06-2221-1299/+1658
| | | | | | | | | | the PNG library, and it turns on some functionality that O3D needs for manipulating PNG files: It removes the definition of PNG_NO_WRITE_FILLER, PNG_NO_READ_FILLER, PNG_NO_SEQUENTIAL_READ_SUPPORTED, and PNG_NO_INFO_IMAGE from pngusr.h so that the functions used by O3D to read images progressively and for filler bytes for pixel expansion (RGB -> RGBX) are available. BUG=none TEST=successful trybot run for all platforms. Review URL: http://codereview.chromium.org/140074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18982 0039d316-1c4b-4281-b951-d872f2087c98
* 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