summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Speed up encoding by using active maphclam@chromium.org2011-02-222-4/+64
| | | | | | | | | | | | | | | Using active map can greatly reduce the amount of macro blocks need to be encoded by vp8. This brings average encoding time from 35ms per frame to about 8ms on the tested system. However this change depends on an updated version of libvpx. BUG=None TEST=chromoting still works & no visual problems Review URL: http://codereview.chromium.org/6518011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75586 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Capturer for Mac to cope gracefully when there are no invalid rects.wez@chromium.org2011-02-211-8/+1
| | | | | | | | | BUG=73095 TEST=Run Chromoting host for Mac and connect to it. Service process should NOT crash. Review URL: http://codereview.chromium.org/6541026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75551 0039d316-1c4b-4281-b951-d872f2087c98
* Run event executor on the ui thread to remove the need to explicitly ↵ajwong@chromium.org2011-02-1913-64/+50
| | | | | | | | | | | | XFlush() the XTest calls. BUG=none TEST=Connect to a host and try moving the mouse and typing. Both inputs should be reflected correctly. Review URL: http://codereview.chromium.org/6489031 Patch from Jamie Walch <jamiewalch@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75477 0039d316-1c4b-4281-b951-d872f2087c98
* Update Chromoting login UIgarykac@chromium.org2011-02-185-74/+158
| | | | | | | | | BUG=none TEST=chromoting UI manual tests Review URL: http://codereview.chromium.org/6518013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75417 0039d316-1c4b-4281-b951-d872f2087c98
* Fix key missing problem on windowshclam@chromium.org2011-02-181-0/+2
| | | | | | | | | | | | | Initialize INPUT struct. The dwFlags member of INPUT struct is not properly initialized so sometimes the key event is interpreted as a key up and thus keys are missed. BUG=70167 TEST=keyboard input is fine on windows Review URL: http://codereview.chromium.org/6542015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75385 0039d316-1c4b-4281-b951-d872f2087c98
* Make chromoting connect always workhclam@chromium.org2011-02-181-7/+25
| | | | | | | | | | | | | | | There was a race condition in the chromoting extension javascript. We wait for OnUpdated() in order to send the chromoting tab a request for connection. However OnUpdated() is insufficient for the chromoting tab is fully loaded. And thus sending a request may not always work. This change will wait for the tab to go to a "complete" status before a request is sent. BUG=73202 TEST=Click on chromoting connect, it should always connect Review URL: http://codereview.chromium.org/6532042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75341 0039d316-1c4b-4281-b951-d872f2087c98
* Revert chromoting to use talk.google.comhclam@chromium.org2011-02-171-1/+1
| | | | | | | | | | | | | | Server certificate is not updated yet so revert the xmpp host used to prevent failure. TBR=ajwong, akalin BUG=None TEST=None Review URL: http://codereview.chromium.org/6531029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75262 0039d316-1c4b-4281-b951-d872f2087c98
* Add debug message to chromoting extensionhclam@chromium.org2011-02-171-0/+5
| | | | | | | | | | | | | Debug message to help tackle the problem of chromoting tab going blank. TBR=ajwong BUG=None TEST=None Review URL: http://codereview.chromium.org/6539012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75253 0039d316-1c4b-4281-b951-d872f2087c98
* Use xmpp.google.com instead of talk.google.comakalin@chromium.org2011-02-161-1/+1
| | | | | | | | | | | Basically, xmpp.google.com is the new hostname for XMPP connections. BUG=73067 TEST= Review URL: http://codereview.chromium.org/6480089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75161 0039d316-1c4b-4281-b951-d872f2087c98
* CSS style for chromoting main pagehclam@chromium.org2011-02-161-1/+1
| | | | | | | | | | | | | Change the z-index of the status message to lower and give z-index to the chromoting scroll panel. The status message interfere with the normal user actions with the plugin so show it below the plugin. BUG=None TEST=None Review URL: http://codereview.chromium.org/6480066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75135 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting: UserAuthenticator interface and its implementation for PAM.sergeyu@chromium.org2011-02-164-0/+186
| | | | | | | | | | BUG=none TEST=manual Review URL: http://codereview.chromium.org/6484002 Patch from Lambros Lambrou <lambroslambrou@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75069 0039d316-1c4b-4281-b951-d872f2087c98
* Don't call the zlib functions with the MOZ_Z_ prefixwtc@chromium.org2011-02-152-14/+0
| | | | | | | | | | | in the source code. R=agl,hclam,jar BUG=none TEST=No build or test failures Review URL: http://codereview.chromium.org/6529006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74975 0039d316-1c4b-4281-b951-d872f2087c98
* Use case-insensitive comparison when comparing JIDs.sergeyu@chromium.org2011-02-142-2/+15
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6518012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74866 0039d316-1c4b-4281-b951-d872f2087c98
* Carnitas: Delete stub src/gfx/* headerssail@chromium.org2011-02-131-1/+0
| | | | | | | | | | | The last references to src/gfx/* have been updated so it's safe to delete the stub headers. BUG=None TEST=None Review URL: http://codereview.chromium.org/6474031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74741 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit - Use SSE2 block differ for chromotinghclam@chromium.org2011-02-118-111/+209
| | | | | | | | | | | | | Put the SSE2 block differ code back in. TBR=dhollowa BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6501005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74671 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 74571 - Use SSE2 block differ for chromotingdhollowa@chromium.org2011-02-118-209/+111
| | | | | | | | | | | | | | | | | | | | | | We have the SSE2 lying around in the tree just never being used. This will allow us to use it. A number of Windows bots have gone red in media_tests on the waterfall: http://build.chromium.org/p/chromium/builders/XP%20Tests%20%281%29 http://build.chromium.org/p/chromium/builders/XP%20Tests%20%281%29/builds/501/steps/media_unittests/logs/stdio This seems to be related to r74571. So am reverting to see. BUG=None TEST=Chromoting to a host machine and the diff will work correctly Review URL: http://codereview.chromium.org/6469022 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/6502002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74630 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 74583 - Revert 74571 - Use SSE2 block differ for chromotingfinnur@chromium.org2011-02-118-111/+209
| | | | | | | | | | | | | | | | | | | | (Quick test to see if it is the cause of crashes in media_unittests) (Test showed this CL is not to blame) We have the SSE2 lying around in the tree just never being used. This will allow us to use it. BUG=None TEST=Chromoting to a host machine and the diff will work correctly Review URL: http://codereview.chromium.org/6469022 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/6488023 TBR=finnur@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74588 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 74571 - Use SSE2 block differ for chromotingfinnur@chromium.org2011-02-118-209/+111
| | | | | | | | | | | | | | | | | (Quick test to see if it is the cause of crashes in media_unittests) We have the SSE2 lying around in the tree just never being used. This will allow us to use it. BUG=None TEST=Chromoting to a host machine and the diff will work correctly Review URL: http://codereview.chromium.org/6469022 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/6488023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74583 0039d316-1c4b-4281-b951-d872f2087c98
* Use SSE2 block differ for chromotinghclam@chromium.org2011-02-118-111/+209
| | | | | | | | | | | | We have the SSE2 lying around in the tree just never being used. This will allow us to use it. BUG=None TEST=Chromoting to a host machine and the diff will work correctly Review URL: http://codereview.chromium.org/6469022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74571 0039d316-1c4b-4281-b951-d872f2087c98