summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* Added support for other authentication mechanisms in jingle. This will allow ↵sanjeevr@chromium.org2011-03-091-2/+5
| | | | | | | | | | | us to use OAuth2 tokens when OAuth2 support is ready in Talk. BUG=None TEST=Test cloud print and sync for regressions. Review URL: http://codereview.chromium.org/6649006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77434 0039d316-1c4b-4281-b951-d872f2087c98
* Fix handling of invalid certificates in JingleSessionManager.sergeyu@chromium.org2011-03-081-1/+4
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6649005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77359 0039d316-1c4b-4281-b951-d872f2087c98
* Tweak CSS to give the client scrollbars.simonmorris@chromium.org2011-03-081-2/+1
| | | | | | | | | | | | The horizontal scrollbar is attached to the plugin, not to the page, so it's only visible if the page is scrolled to the bottom. BUG=74681 TEST=none Review URL: http://codereview.chromium.org/6628080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77304 0039d316-1c4b-4281-b951-d872f2087c98
* Replace libjingle's HttpPortAllocatorSession with Pepper's http clienthclam@google.com2011-03-0818-15/+575
| | | | | | | | | | | | | | | | | HttpPortAllocatorSession uses libjingle's http client to establish relay connection. This will not work in the sanboxed case since it access OS level of network directly. This patch replaces the http client with URL loader in pepper. This goes through the standard URL fetching system for chrome to get around the sandbox problem. BUG=51198 TEST=Force libjingle to use relay and try it with this code. Review URL: http://codereview.chromium.org/6623048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77218 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting client don't submit login info if not connectedhclam@chromium.org2011-03-073-6/+30
| | | | | | | | | | | Chromoting client was crashing if it sends login info when not connected. BUG=None TEST=None Review URL: http://codereview.chromium.org/6621046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77190 0039d316-1c4b-4281-b951-d872f2087c98
* Configure Nagle's & Delayed ACK settings for Chromoting channels.wez@chromium.org2011-03-071-0/+13
| | | | | | | | | BUG=74944 TEST=See bug description. Review URL: http://codereview.chromium.org/6621027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77167 0039d316-1c4b-4281-b951-d872f2087c98
* Support keyboard input on Macjamiewalch@chromium.org2011-03-072-4/+203
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6610024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77155 0039d316-1c4b-4281-b951-d872f2087c98
* Wire up the codepath from Javascript into Jingle for IQ packets.ajwong@chromium.org2011-03-0722-429/+806
| | | | | | | | | | | Flushes out XmppProxy, the thread-safe interface that matches up Pepper with Jingle and plumbs a ConnectSandboxed method through everything so that the connection type can be chosen at runtime. BUG=51198 TEST=Check that stanzas are sent/received from JS, and that xmpp still works. Review URL: http://codereview.chromium.org/6603036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77148 0039d316-1c4b-4281-b951-d872f2087c98
* Override HttpPortAllocator to inject a custom HTTP clienthclam@chromium.org2011-03-074-3/+68
| | | | | | | | | | | | This allows us to use a chrome / pepper HTTP client for HttpPortAllocator. BUG=51198 TEST=None Review URL: http://codereview.chromium.org/6624030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77147 0039d316-1c4b-4281-b951-d872f2087c98
* Added missing commas. Fixed lint warnings.jamiewalch@chromium.org2011-03-071-15/+15
| | | | | | | | | BUG=None TEST=Check that square brackets can be entered via Chromoting. Review URL: http://codereview.chromium.org/6623054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77143 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the CSS class of the plugin scroll panel.simonmorris@chromium.org2011-03-071-1/+1
| | | | | | | | | BUG=74681 TEST=none Review URL: http://codereview.chromium.org/6625016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77127 0039d316-1c4b-4281-b951-d872f2087c98
* Linux capturer to invalidate the full screen by using screen width and heighthclam@chromium.org2011-03-073-3/+11
| | | | | | | | | | | | | Linux capturer didn't use the right width and height to invalidate the screen region for capturing. Leading to a NULL pointer exception when doing a XGetImage() on an empty rect. BUG=None TEST=Linux host doesn't crash Review URL: http://codereview.chromium.org/6627025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77114 0039d316-1c4b-4281-b951-d872f2087c98
* JingleClient to successfully connect more consistentlyhclam@chromium.org2011-03-072-0/+3
| | | | | | | | | | | | | ajwong@ already put code to prevent the race condition however the variable is not initialized in the constructors, this is fixed in this patch. TBR=ajwong BUG=74941 TEST=chromoting_simple_host starts without crashing Review URL: http://codereview.chromium.org/6624051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77113 0039d316-1c4b-4281-b951-d872f2087c98
* Block event processing on host/client until the client has authenticated.garykac@chromium.org2011-03-0420-61/+304
| | | | | | | | | | | | | | | | | | Input events: * Client will not send them * Host will not process them Control events: * Client will only process BeginSessionResponse * Host will only process BeginSessionRequest All other control messages will be ignored. BUG=72466 TEST=manual+tests Review URL: http://codereview.chromium.org/6594138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76974 0039d316-1c4b-4281-b951-d872f2087c98
* Integrate P2P Sockets IPC with chromoting plugin.sergeyu@chromium.org2011-03-048-14/+96
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6624020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76964 0039d316-1c4b-4281-b951-d872f2087c98
* Change other usages of .size() to .empty() when applicable.erg@google.com2011-03-043-6/+6
| | | | | | | | | BUG=carnitas TEST=compiles Review URL: http://codereview.chromium.org/6609008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76962 0039d316-1c4b-4281-b951-d872f2087c98
* Don't translate dirty rectangles in Mac capturer.lambroslambrou@chromium.org2011-03-041-4/+1
| | | | | | | | | BUG=74809 TEST=Follow repro steps in bug report Review URL: http://codereview.chromium.org/6631003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76939 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to new libjingle branch.sergeyu@chromium.org2011-03-044-5/+19
| | | | | | | | | BUG=None TEST=Compiles, Unittests Review URL: http://codereview.chromium.org/6626010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76913 0039d316-1c4b-4281-b951-d872f2087c98
* Let the host change resolution.simonmorris@chromium.org2011-03-0432-216/+399
| | | | | | | | | | | | | | | | The screen size flows through the video pipeline, instead of being set statically when that pipeline is constructed. Only the Windows host actually detects when the screen size has changed. BUG=72469 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=76747 Review URL: http://codereview.chromium.org/6573005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76908 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the need for ReplayPortAllocator.ajwong@chromium.org2011-03-046-109/+95
| | | | | | | | | BUG=none TEST=still connects. Review URL: http://codereview.chromium.org/6603003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76849 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: roll ffmpeg and vpx so that we can build with system vpxphajdan.jr@chromium.org2011-03-032-6/+2
| | | | | | | | | | | | | | Also change remoting files to use libvpx shim header. This is upstreaming Gentoo Linux changes. TBR=scherkus TEST=none BUG=none Review URL: http://codereview.chromium.org/6588123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76757 0039d316-1c4b-4281-b951-d872f2087c98
* Clang style fix for r76746.ajwong@chromium.org2011-03-033-7/+11
| | | | | | | | | BUG=none TEST=clang bot. Review URL: http://codereview.chromium.org/6611018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76749 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 76747 - Let the host change resolution.simonmorris@chromium.org2011-03-0331-397/+214
| | | | | | | | | | | | | | | | | The screen size flows through the video pipeline, instead of being set statically when that pipeline is constructed. Only the Windows host actually detects when the screen size has changed. BUG=72469 TEST=none Review URL: http://codereview.chromium.org/6573005 TBR=simonmorris@chromium.org Review URL: http://codereview.chromium.org/6610018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76748 0039d316-1c4b-4281-b951-d872f2087c98
* Let the host change resolution.simonmorris@chromium.org2011-03-0331-214/+397
| | | | | | | | | | | | | | The screen size flows through the video pipeline, instead of being set statically when that pipeline is constructed. Only the Windows host actually detects when the screen size has changed. BUG=72469 TEST=none Review URL: http://codereview.chromium.org/6573005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76747 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor JingleClient to support thunking the xmpp signaling into Javascript.ajwong@chromium.org2011-03-0317-237/+619
| | | | | | | | | | | We do this so that we may make HTTP requests using the javascript libraries available to Google Talk. This is required to allow us to sandbox. BUG=none TEST=none Review URL: http://codereview.chromium.org/6597092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76746 0039d316-1c4b-4281-b951-d872f2087c98
* Local Login on Mac, using OS X Security frameworklambroslambrou@chromium.org2011-03-033-4/+91
| | | | | | | | | BUG=None TEST=Connect to Mac host, and try correct or incorrect username/password for Local Login. Review URL: http://codereview.chromium.org/6605001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76739 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up mac capturer to flip image.dmaclach@chromium.org2011-03-032-6/+18
| | | | | | | | | BUG=74078 TEST=Connect to a mac host. Image should come right side up. Review URL: http://codereview.chromium.org/6610007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76713 0039d316-1c4b-4281-b951-d872f2087c98
* fix up exec bitsdmaclach@chromium.org2011-03-023-0/+0
| | | | | | | | | BUG=NONE TEST=Build Review URL: http://codereview.chromium.org/6591123/ git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76645 0039d316-1c4b-4281-b951-d872f2087c98
* SocketWrapper for interfacing between JingleSession and SSL socketshclam@chromium.org2011-03-026-17/+129
| | | | | | | | | | | | | | | | Remoting code allows sockets to be destroyed on threads other than the network thread, although they are only accessed on network thread. If SSL sockets are destroyed too early some remotings objects will crash accessing them. This patch introduces a SocketWrapper that destroys SSL sockets on the network thread but stay alive so that remoting objects can operate safely. BUG=72670 TEST=None Review URL: http://codereview.chromium.org/6525007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76635 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up mac test client and simple host for remoting.dmaclach@chromium.org2011-03-023-0/+14
| | | | | | | | | | | | | Remoting's test client and simple host weren't initializing the NSApplication correctly which is required for MessageLoops to work on the Mac. These are just test apps that we use, so I felt it was ok to bring in code from base/test. Also added a check to message_pump_mac.mm to verify that NSApp is initialized before we attempt to use it. BUG=NONE TEST=BUILD Review URL: http://codereview.chromium.org/6461023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76624 0039d316-1c4b-4281-b951-d872f2087c98
* Cleans up some of the appengine ui to make it prettier.dmaclach@chromium.org2011-03-027-245/+2375
| | | | | | | | | | | Also fixes the "show offline servers" checkbox. BUG=NONE TEST=Bring up appengine UI and make sure the show offline servers checkbox works correctly. Review URL: http://codereview.chromium.org/6588107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76620 0039d316-1c4b-4281-b951-d872f2087c98
* More logs from chromoting pepper clienthclam@chromium.org2011-03-021-8/+16
| | | | | | | | | | | Adding connection info, desktop size and progress of logging in. BUG=71630 TEST=None Review URL: http://codereview.chromium.org/6588103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76493 0039d316-1c4b-4281-b951-d872f2087c98
* Change the chromoting plugin login interfacehclam@chromium.org2011-03-023-42/+15
| | | | | | | | | | | Provide the info string to the callback instead of through an attribute. BUG=71630 TEST=None Review URL: http://codereview.chromium.org/6598079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76492 0039d316-1c4b-4281-b951-d872f2087c98
* Pure pedantry: Replace all ".size() == 0" with ".empty()".erg@google.com2011-03-021-1/+1
| | | | | | | | | BUG=carnitas TEST=compiles; existing unit tests. Review URL: http://codereview.chromium.org/6602049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76467 0039d316-1c4b-4281-b951-d872f2087c98
* Quick fix for chromoting plugni to connect.hclam@chromium.org2011-03-011-1/+1
| | | | | | | | | | | | I missed replace a valid AsString() vall to DebugString(). TBR=ajwong@chromium.org BUG=None TEST=None Review URL: http://codereview.chromium.org/6588099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76462 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting client plugin use DebugString() instead of AsString()hclam@chromium.org2011-03-011-7/+7
| | | | | | | | | | | | For logging fatal problems we should use DebugString() instead of AsString() to interpret exception. BUG=74575 TEST=No crashing for using chromoting Review URL: http://codereview.chromium.org/6594085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76454 0039d316-1c4b-4281-b951-d872f2087c98
* Update comment to include relevant bug Id.wez@chromium.org2011-03-011-1/+1
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6594078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76416 0039d316-1c4b-4281-b951-d872f2087c98
* Add some missing VK to KeySym mappings, and some logging to aid debug.wez@chromium.org2011-03-012-28/+35
| | | | | | | | | BUG=73733 TEST=See bug repro steps. Review URL: http://codereview.chromium.org/6592036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76369 0039d316-1c4b-4281-b951-d872f2087c98
* Fold jingle_connection_to_host into connection_to_host.garykac@chromium.org2011-02-287-312/+224
| | | | | | | | | BUG=none TEST=unittests Review URL: http://codereview.chromium.org/6532099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76306 0039d316-1c4b-4281-b951-d872f2087c98
* Add debug logging to Chromoting client UI.garykac@chromium.org2011-02-287-19/+159
| | | | | | | | | | | Modify chromoting plugin and js to talk to each other. BUG=none TEST=manual Review URL: http://codereview.chromium.org/6591001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76284 0039d316-1c4b-4281-b951-d872f2087c98
* Report authentication failure on the host side of chromotinghclam@chromium.org2011-02-284-0/+19
| | | | | | | | | BUG=74436 TEST=Try a random username, it will ask for password again. Review URL: http://codereview.chromium.org/6592040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76275 0039d316-1c4b-4281-b951-d872f2087c98
* Don't clean up the Display now that we no longer own it.jamiewalch@chromium.org2011-02-281-24/+1
| | | | | | | | | BUG=none TEST=Service process does not report an error closing the X display when it closes normally. Review URL: http://codereview.chromium.org/6588009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76212 0039d316-1c4b-4281-b951-d872f2087c98
* Fix style mistakes in r75477.ajwong@chromium.org2011-02-251-1/+1
| | | | | | | | | | | Associated review at: http://codereview.chromium.org/6489031/ BUG=none TEST=none Review URL: http://codereview.chromium.org/6532102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76074 0039d316-1c4b-4281-b951-d872f2087c98
* Use PAM auth on Linux, and stubs on other platforms.lambroslambrou@chromium.org2011-02-2512-4/+192
| | | | | | | | | BUG=None TEST=Enter correct or incorrect user/password into Local Login prompt. Review URL: http://codereview.chromium.org/6566006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76050 0039d316-1c4b-4281-b951-d872f2087c98
* Redo the Chromoting extension as an app-engine app.ajwong@chromium.org2011-02-2417-242/+620
| | | | | | | | | | | | This will allow for an easier develop/deploy cycle in the short term, which will facilitate development. BUG=none TEST=none Review URL: http://codereview.chromium.org/6580022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75987 0039d316-1c4b-4281-b951-d872f2087c98
* Support MouseEvent input in Chromoting host for Mac.wez@chromium.org2011-02-242-1/+65
| | | | | | | | | BUG=73847 TEST=Connect to Chromoting host for Mac and try to click or drag a window. Review URL: http://codereview.chromium.org/6580001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75865 0039d316-1c4b-4281-b951-d872f2087c98
* Make the status message display completely disappearhclam@chromium.org2011-02-231-0/+3
| | | | | | | | | | | Setting "display: none" to status message when it is completely faded out. BUG=72357 TEST=None Review URL: http://codereview.chromium.org/6569004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75744 0039d316-1c4b-4281-b951-d872f2087c98
* Add DesktopEnvironment class and refactor.lambroslambrou@chromium.org2011-02-239-123/+155
| | | | | | | | | BUG=none TEST=It builds and runs Review URL: http://codereview.chromium.org/6541018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75739 0039d316-1c4b-4281-b951-d872f2087c98
* Change chromoting images to upright by defaulthclam@chromium.org2011-02-227-52/+8
| | | | | | | | | | | Remove all the ugly code to have reverse rows. All images are upright now. BUG=71872 TEST=Everything in chromoting still works and upright. Review URL: http://codereview.chromium.org/6546057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75609 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed SlowBlit along the same lines as FastBlit.jamiewalch@chromium.org2011-02-221-11/+8
| | | | | | | | | BUG=71697 TEST=Connect to an X server that is not running with 32-bpp (or hack the code to always use SlowBlit--that's what I did...). Review URL: http://codereview.chromium.org/6312123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75591 0039d316-1c4b-4281-b951-d872f2087c98