summaryrefslogtreecommitdiffstats
path: root/third_party/libjingle/files/talk
Commit message (Collapse)AuthorAgeFilesLines
* 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-232-893/+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
* Removed auth_task.* and talk_auth_task.* (dead code)akalin@chromium.org2010-03-171-0/+137
| | | | | | | | | | | | | | | 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-171-137/+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-171-0/+137
| | | | | | | | | | | | | 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-163-8/+20
| | | | | | | | | | | 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-123-3/+3
| | | | | | | | | 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-1064-15548/+14
| | | | | | | | | | | 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
* Made some XmppTask functions static.akalin@chromium.org2010-02-091-2/+2
| | | | | | | | | | | 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
* 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-1313-43/+43
| | | | | | | | | | | 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-074-5/+23
| | | | | | | | | | | | | | | | | 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-248-46/+110
| | | | | | 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
* 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
* Remove +x bit from files that shouldn't have it.evan@chromium.org2009-10-202-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-164-20/+111
| | | | | | | | | | | | | | | | | | 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
* 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
* Turn off SSL on Linux and MacOS in libjingle.zork@chromium.org2009-10-071-1/+6
| | | | | | 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
* Use base/logging from chrome/browser/sync. Add a macro to libjingle'snick@chromium.org2009-09-261-0/+5
| | | | | | | | | 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-2517-17/+16
| | | | | | | | | | 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
* Update libjingle to build on Linuxzork@chromium.org2009-09-215-7/+7
| | | | | | Review URL: http://codereview.chromium.org/207024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26705 0039d316-1c4b-4281-b951-d872f2087c98
* Add libjingle version 0.4.0, plus some patchesnick@chromium.org2009-09-14246-0/+52946
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