summaryrefslogtreecommitdiffstats
path: root/third_party/libjingle
Commit message (Collapse)AuthorAgeFilesLines
* Updated libjingle diff.akalin@chromium.org2010-04-151-0/+34
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/1530037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44685 0039d316-1c4b-4281-b951-d872f2087c98
* Check for closed read sockets and handle them properly.akalin@chromium.org2010-04-141-1/+26
| | | | | | | | | BUG=40724 TEST=manual Review URL: http://codereview.chromium.org/1549042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44529 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for a problem introduced by 41865 which causes sync notificationsakalin@chromium.org2010-04-014-28/+101
| | | | | | | | | | | to break for non-gmail.com accounts. BUG=40054 TEST=manual testing Review URL: http://codereview.chromium.org/1558013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43409 0039d316-1c4b-4281-b951-d872f2087c98
* Quick fix for a problem introduced by 41865 which causes sync notificationsakalin@chromium.org2010-04-011-3/+4
| | | | | | | | | | | to break for non-gmail.com accounts. BUG=40054 TEST=manual testing Review URL: http://codereview.chromium.org/1523007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43310 0039d316-1c4b-4281-b951-d872f2087c98
* Minor C++ fixes found by Clang.evan@chromium.org2010-03-301-9/+9
| | | | | | | | | In cases where I've added an #include, it's generally due to Clang being more picky about templates being available during expansions. Review URL: http://codereview.chromium.org/1432003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43098 0039d316-1c4b-4281-b951-d872f2087c98
* Removed win32socketserver and its use in mediator_thread_impl.cc.akalin@chromium.org2010-03-233-895/+0
| | | | | | | | | BUG=38595 TEST=trybots, manual Review URL: http://codereview.chromium.org/1110007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42313 0039d316-1c4b-4281-b951-d872f2087c98
* Add licensing info for another set of projects in third_party.evan@chromium.org2010-03-221-1/+2
| | | | | | | | | | Allow special cases in licenses.py for when we pull code directly from an upstream and can't check in a README.chromium. (In particular, we'll need this for WebKit.) Review URL: http://codereview.chromium.org/1075015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42288 0039d316-1c4b-4281-b951-d872f2087c98
* Removed auth_task.* and talk_auth_task.* (dead code)akalin@chromium.org2010-03-173-0/+139
| | | | | | | | | | | | | | | Removed GaiaAuth class. Gtalk login will now fail immediately instead of trying (in vain) to gaia-auth. Removed now-unneeded parameters. BUG=38034 TEST=manual with and without --invalidate-sync-xmpp-login Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=41790 Review URL: http://codereview.chromium.org/885008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41865 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 41790 - Removed auth_task.* and talk_auth_task.* (dead code) because ↵hbono@google.com2010-03-173-139/+0
| | | | | | | | | | | | | | | | | | Windows XP doesn't have inet_pton and it crashes XP bots. Removed GaiaAuth class. Gtalk login will now fail immediately instead of trying (in vain) to gaiaauth. Removed nowunneeded parameters. BUG=38034 TEST=manual with and without invalidatesyncxmpplogin Review URL: http://codereview.chromium.org/885008 TBR=akalin@chromium.org Review URL: http://codereview.chromium.org/983005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41808 0039d316-1c4b-4281-b951-d872f2087c98
* Removed auth_task.* and talk_auth_task.* (dead code)akalin@chromium.org2010-03-173-0/+139
| | | | | | | | | | | | | Removed GaiaAuth class. Gtalk login will now fail immediately instead of trying (in vain) to gaia-auth. Removed now-unneeded parameters. BUG=38034 TEST=manual with and without --invalidate-sync-xmpp-login Review URL: http://codereview.chromium.org/885008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41790 0039d316-1c4b-4281-b951-d872f2087c98
* Split up PreXmppAuth and SaslHandler.akalin@chromium.org2010-03-164-12/+67
| | | | | | | | | | | Created a X-GOOGLE-TOKEN-only SaslHandler class for use by sync. BUG=38034 TEST=manual Review URL: http://codereview.chromium.org/904006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41761 0039d316-1c4b-4281-b951-d872f2087c98
* Changed allow-non-google-login to allow-generated-jid.akalin@chromium.org2010-03-124-8/+5
| | | | | | | | | BUG=none TEST=tested manually with non-gmail google account Review URL: http://codereview.chromium.org/863006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41476 0039d316-1c4b-4281-b951-d872f2087c98
* Ripped out talk/p2p directory from third_party/libjingle.akalin@chromium.org2010-03-1066-15668/+38
| | | | | | | | | | | Fixed a few compile errors as a result. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/790002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41210 0039d316-1c4b-4281-b951-d872f2087c98
* make sure we don't include the obsolete 2008 SDK dir.nsylvain@chromium.org2010-03-021-1/+1
| | | | | | | | | | This is making the nacl 64 app to fail to build, because our code to make sure we use the lib64 folder fails because it does not except to have the sdk Lib dir twice (once for 2008, once for win7). Review URL: http://codereview.chromium.org/660314 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40379 0039d316-1c4b-4281-b951-d872f2087c98
* Made some XmppTask functions static.akalin@chromium.org2010-02-093-5/+48
| | | | | | | | | | | Updated libjingle README and diff. BUG=none TEST=compiled Review URL: http://codereview.chromium.org/597010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38529 0039d316-1c4b-4281-b951-d872f2087c98
* linux: build with -Wextraevan@chromium.org2010-02-054-4/+4
| | | | | | | | | | | | 95% of this is removing "const" from return types, but turning this on found one bug! (A "for" loop that expected its iterator to go negative but which was using an unsigned type.) BUG=34160 Review URL: http://codereview.chromium.org/570012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38266 0039d316-1c4b-4281-b951-d872f2087c98
* OpenBSD/FreeBSD GYP changes (most of the remaining ones)pvalchev@google.com2010-02-041-3/+3
| | | | | | Review URL: http://codereview.chromium.org/565043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38079 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed bugs in libjingle's handling of connection errors.akalin@chromium.org2010-01-212-1/+9
| | | | | | | | | BUG=32819 TEST=see bug Review URL: http://codereview.chromium.org/545150 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36787 0039d316-1c4b-4281-b951-d872f2087c98
* Use NDEBUG instead of _DEBUG for libjingle. This makes it so that debug ↵akalin@chromium.org2010-01-1315-43/+226
| | | | | | | | | | | code is used on non-Windows platforms, too. BUG=31255 TEST=trybots Review URL: http://codereview.chromium.org/542004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36085 0039d316-1c4b-4281-b951-d872f2087c98
* Use the right SSL adapter on Linux/OS X. This is a partial fix for the ↵akalin@chromium.org2010-01-076-19/+92
| | | | | | | | | | | | | | | | | crash in 30721. Added method for creating ssl socket adapters to libjingle socket factories and made callers use it. Added SSLSocketAdapterFactory class, which uses the right SSL socket adapter for Linux/OS X. Fixed bug in asynchttprequest.cc where ignore_bad_cert_ was being left uninitialized. BUG=30721 TEST=trybots, manual testing Review URL: http://codereview.chromium.org/503087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35677 0039d316-1c4b-4281-b951-d872f2087c98
* Removed reference to Windows-only debug variable. This makes it soakalin@chromium.org2009-12-302-4/+4
| | | | | | | | | | | that libjingle logging happens on non-Windows platforms. BUG=none TEST=manual Review URL: http://codereview.chromium.org/523012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35363 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
* 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
* 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
* 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-021-0/+1
| | | | | | Review URL: http://codereview.chromium.org/339079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30738 0039d316-1c4b-4281-b951-d872f2087c98
* Add some missing includes to libjingle.craig.schlenter@chromium.org2009-10-292-0/+2
| | | | | | | | | | | | | | fopen and snprintf need stdio.h Have filed issue upstream with patch: http://code.google.com/p/libjingle/issues/detail?id=53 BUG=none TEST=compiles locally with gcc 4.4 Review URL: http://codereview.chromium.org/341036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30490 0039d316-1c4b-4281-b951-d872f2087c98
* linux: fix gcc 4.3 issues (for arm)piman@chromium.org2009-10-2712-0/+14
| | | | | | | | These are mostly minor syntax / missing header fixes. Review URL: http://codereview.chromium.org/338037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30277 0039d316-1c4b-4281-b951-d872f2087c98
* Fix unit test compiling on Linuxzork@chromium.org2009-10-211-4/+0
| | | | | | Review URL: http://codereview.chromium.org/295034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29704 0039d316-1c4b-4281-b951-d872f2087c98
* Remove +x bit from files that shouldn't have it.evan@chromium.org2009-10-203-0/+0
| | | | | | Review URL: http://codereview.chromium.org/307007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29548 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent thread creation if Join has already been called.zork@google.com2009-10-162-0/+10
| | | | | | | | | | | | | | | Tracking the thread id in the constructor, destructor and Start() shows that the thread object can be started and stopped on different threads. This means that there is a race condition if Stop() or Join() gets called during Start(), which could cause the thread to start with a pointer to a deleted object. BUG=23251 TEST=none Review URL: http://codereview.chromium.org/274079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29356 0039d316-1c4b-4281-b951-d872f2087c98
* Made sync code build and pass unit tests on OS X.akalin@chromium.org2009-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | Major changes: - Moved sync_setup_{flow,wizard} to sync directory. - Made browser_with_test_window_test compile on non-Windows platform. - Moved localized contents font util functions to app/. BUG=23073 TEST=trybot Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29253 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29255 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29258 Review URL: http://codereview.chromium.org/279004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29263 0039d316-1c4b-4281-b951-d872f2087c98
* Reverted 29258.akalin@chromium.org2009-10-161-1/+1
| | | | | | TBR: nick@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29259 0039d316-1c4b-4281-b951-d872f2087c98
* Made sync code build and pass unit tests on OS X.akalin@chromium.org2009-10-161-1/+1
| | | | | | | | | | | | | | | | | | Major changes: - Moved sync_setup_{flow,wizard} to sync directory. - Made browser_with_test_window_test compile on non-Windows platform. - Moved localized contents font util functions to app/. BUG=23073 TEST=trybot Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29253 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29255 Review URL: http://codereview.chromium.org/279004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29258 0039d316-1c4b-4281-b951-d872f2087c98
* Within libjingle, add an abstraction of winsock initialization.nick@chromium.org2009-10-166-20/+136
| | | | | | | | | | | | | | | | | | When building chrome, override the default implementation so that we share the winsock initialization singleton with net/base. Trigger the winsock initialization lazily in a few places. This is intended to fix a startup perf regression that appeared when sync (and libjingle) became linked into chrome.dll, rather than a separate delay-loaded sync dll. BUG=24448 TEST=Verified deferred winsock initialization via debugger. Measured before and after time of the StartupTest.PerfTest. Verified sync notification still work. Review URL: http://codereview.chromium.org/267089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29228 0039d316-1c4b-4281-b951-d872f2087c98
* Patched in 265058 (which was uploaded under akalin@gmail.com). Originalakalin@chromium.org2009-10-131-1/+1
| | | | | | | | | | | | | | | | | | | | description: Numerous fixes to get parts of Chrome Sync to compile on OS X. Fixes include: - Added missing definitions for some static const class variables. - Added some missing dependencies. - Marked some Windows-only dependencies as such. - Added stub files for some platform-specific classes. BUG=none TEST=Put through trybots. Review URL: http://codereview.chromium.org/266065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28900 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a naming collision in thread.h on a crit section that can cause a deadlockzork@google.com2009-10-092-5/+5
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/264026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28631 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent threads from running in libjingle after their object has been deleted.zork@google.com2009-10-092-0/+14
| | | | | | | | BUG=23251 TEST=none Review URL: http://codereview.chromium.org/261043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28594 0039d316-1c4b-4281-b951-d872f2087c98
* Part 1 of making sync work on Mac:munjal@chromium.org2009-10-082-1/+14
| | | | | | | | | | | | | | | | | | | | - Add high res timer class for mac (we might eventually replace all timer classes with Chrome ones) - Define POSIX for OS==mac where needed - Add new liens at the end of some files since otherwise they produce errors on Mac - Rearrange initializer list of constructors to match declaration order in header; these become warning as error. - Some chrome.gyp magic At this point the code compiles but doesn't link due to some missing code on Mac like SSL stuff. But I thought this was a good check point. Note that chrome.gyp magic might change in future. BUG=none TEST=none Review URL: http://codereview.chromium.org/255053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28414 0039d316-1c4b-4281-b951-d872f2087c98
* Turn off SSL on Linux and MacOS in libjingle.zork@chromium.org2009-10-072-1/+11
| | | | | | Review URL: http://codereview.chromium.org/270011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28335 0039d316-1c4b-4281-b951-d872f2087c98
* Add some fixes to the Linux version of criticalsection.hzork@chromium.org2009-10-061-2/+15
| | | | | | Review URL: http://codereview.chromium.org/243095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28122 0039d316-1c4b-4281-b951-d872f2087c98
* Add comments setting emacs and vim tab width and expansion variables.sgk@google.com2009-10-061-0/+5
| | | | | | | | BUG=none TEST=successful builds Review URL: http://codereview.chromium.org/256059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28089 0039d316-1c4b-4281-b951-d872f2087c98
* Remove common.gypi includes from expat and libjingle.nick@chromium.org2009-10-051-3/+0
| | | | | | Review URL: http://codereview.chromium.org/206021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28033 0039d316-1c4b-4281-b951-d872f2087c98
* Use base/logging from chrome/browser/sync. Add a macro to libjingle'snick@chromium.org2009-09-263-3/+12
| | | | | | | | | logging.h to suppress the definition of LOG() and friends unless explicitly requested. Fix gyp paths to overrides files. Review URL: http://codereview.chromium.org/225001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27316 0039d316-1c4b-4281-b951-d872f2087c98
* Rename "xmpp/constants.*" to" xmpp/xmppconstants.*"nick@chromium.org2009-09-2519-19/+21
| | | | | | | | | | The intent is to fix a link error that seems to happen when two compilation units share a filename: there is another constants.cc in p2p/base. Touch xmppconstants.h to work around a git cl upload bug. Review URL: http://codereview.chromium.org/244010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27283 0039d316-1c4b-4281-b951-d872f2087c98
* Remove COMPILER_MSVC flags from gyp files. When we do need it, we cannick@chromium.org2009-09-252-3/+1
| | | | | | | | | | get it from the build/build_config.h. TEST=unit tests BUG=none Review URL: http://codereview.chromium.org/248004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27280 0039d316-1c4b-4281-b951-d872f2087c98
* Update libjingle to build on Linuxzork@chromium.org2009-09-218-58/+306
| | | | | | Review URL: http://codereview.chromium.org/207024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26705 0039d316-1c4b-4281-b951-d872f2087c98
* Build the sync unit tests:nick@chromium.org2009-09-161-5/+5
| | | | | | | | | | | | | | | | | | | - Remove old main(argc, argv) from syncable_unittest. - Since the old notifier target had only one unittest, merge it with the syncer tests. - Remove listener_unittest.cc entirely. - Don't compile natserver_main.cc, which has another main() - Use a test main from the test_support_unit library. This has the downside of pulling in a lot of deps we don't need, but it gives us a run_all_unittests.cc. - Fix a few compile errors in test code. TEST=unit tests pass BUG=none Review URL: http://codereview.chromium.org/205021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26358 0039d316-1c4b-4281-b951-d872f2087c98
* Add libjingle version 0.4.0, plus some patchesnick@chromium.org2009-09-14264-0/+54701
that are described in README.chromium and a .diff file, under review separately. I removed some of the weightier autoconf/configure scripts. This brought the size of the library from 3.8MB to about 2.3MB. BUG=none TEST=none Review URL: http://codereview.chromium.org/199090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26154 0039d316-1c4b-4281-b951-d872f2087c98