summaryrefslogtreecommitdiffstats
path: root/remoting
Commit message (Collapse)AuthorAgeFilesLines
* Deleting obsolete chromoting files.ajwong@chromium.org2010-06-218-913/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2831019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50393 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up build on Mac. Needed to initialize member vars.dmaclach@chromium.org2010-06-181-1/+2
| | | | | | | | | BUG=none TEST=build unit tests on mac Review URL: http://codereview.chromium.org/2802011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50271 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed memleak in JsonHostConfig.sergeyu@chromium.org2010-06-181-0/+1
| | | | | | | | | BUG=46882 TEST=heapcheck on remoting_unittests Review URL: http://codereview.chromium.org/2819013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50270 0039d316-1c4b-4281-b951-d872f2087c98
* JSON based host config storage implemented. Python script for host registration.sergeyu@chromium.org2010-06-1717-155/+509
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/2804007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50166 0039d316-1c4b-4281-b951-d872f2087c98
* Fix remoting_unittestshclam@chromium.org2010-06-171-2/+3
| | | | | | | | | remoting_unittests fails tasn fyi bots. Doing a quick fix. TBR=ajwong@chromium.org Review URL: http://codereview.chromium.org/2816013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50145 0039d316-1c4b-4281-b951-d872f2087c98
* Hookup the ChromotingPlugin into the refactored implementationajwong@chromium.org2010-06-1718-118/+785
| | | | | | | | | | | | | | of HostConnection and ChromotingView. Also implement a bare-bones PepperView. No unittests yet. Still too in flux to be worth it. BUG=none TEST=none Review URL: http://codereview.chromium.org/2852003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50116 0039d316-1c4b-4281-b951-d872f2087c98
* Fix double deletion in SessionManagerhclam@chromium.org2010-06-161-1/+0
| | | | | | | | | | | SessionManaerTest::OneRecordCycle is broken due to double deletion. TEST=remoting_unittests passes TBR=dmaclach since this is <= 5 lines. Review URL: http://codereview.chromium.org/2850008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50033 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix missing return in error check in remoting::X11Client::DoInitX11.mattm@chromium.org2010-06-161-0/+1
| | | | | | | | | | CID=10883 BUG=none TEST=builds Review URL: http://codereview.chromium.org/2826004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50013 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix undefined assignment evaluation order in ↵mattm@chromium.org2010-06-161-1/+1
| | | | | | | | | | | | remoting::Capturer::FinishCapture. CID=10878 BUG=none TEST=builds Review URL: http://codereview.chromium.org/2847010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50012 0039d316-1c4b-4281-b951-d872f2087c98
* Style fixes after readability review.sergeyu@chromium.org2010-06-1614-90/+100
| | | | | | | | | TEST=compile BUG=none Review URL: http://codereview.chromium.org/2816007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49897 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build for remotinghclam@chromium.org2010-06-161-25/+0
| | | | | | | | | Remoting turned on -Wall, causing some compilation failures. TBR=dmaclach, dimich Review URL: http://codereview.chromium.org/2806006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49882 0039d316-1c4b-4281-b951-d872f2087c98
* Broken build due to uninitialized var.dmaclach@chromium.org2010-06-151-1/+1
| | | | | | | | | TEST=build linux release BUG=none Review URL: http://codereview.chromium.org/2837007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49857 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix leak in ChromotingClient::read_image.mattm@chromium.org2010-06-152-8/+5
| | | | | | | | | | | | Also, use scoped_array instead of scoped_ptr. BUG=none CID=10905 TEST=builds Review URL: http://codereview.chromium.org/2844005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49854 0039d316-1c4b-4281-b951-d872f2087c98
* Added HostConfig class. Changed SimpleHost to use it.sergeyu@chromium.org2010-06-157-28/+115
| | | | | | | | | BUG=none TEST=unittests Review URL: http://codereview.chromium.org/2810002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49852 0039d316-1c4b-4281-b951-d872f2087c98
* Fix broken build.dmaclach@chromium.org2010-06-151-2/+12
| | | | | | | | | TEST=build release BUG=none Review URL: http://codereview.chromium.org/2800004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49846 0039d316-1c4b-4281-b951-d872f2087c98
* Tighten up compile warnings based to match other chromium sub-projects.dmaclach@chromium.org2010-06-1517-35/+35
| | | | | | | | | | | Fix up the issues that the new warnings raised. BUG=none TEST=build remoting cleanly Review URL: http://codereview.chromium.org/2801003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49842 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting unit test: Adding DecoderVerbatimTesthclam@chromium.org2010-06-154-5/+83
| | | | | | | | | Adding a test case to DecodeVerbatimTest. TEST=remoting_unittests Review URL: http://codereview.chromium.org/2849006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49839 0039d316-1c4b-4281-b951-d872f2087c98
* Revamp threading a bit so that arguments are passed through and owned by the ↵dmaclach@chromium.org2010-06-1511-145/+166
| | | | | | | | | | | various threads instead of being all owned by the session manager. BUG=none TEST=none Review URL: http://codereview.chromium.org/2807002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49803 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup some chromoting codehclam@chromium.org2010-06-154-64/+36
| | | | | | | | | Renamed SimpleHost to ChromotingHost as it's not simple any more and it's becoming mature enough to be the main host implementation. Review URL: http://codereview.chromium.org/2722010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49748 0039d316-1c4b-4281-b951-d872f2087c98
* Enable remoting unittests to run on build botshclam@chromium.org2010-06-111-2/+2
| | | | | | | | | | Renamed chromoting.gyp to remoting.gyp. Also enabled remoting_unittests to be executed on the build bots. Review URL: http://codereview.chromium.org/2720007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49609 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing DecoderVerbatim in chromotinghclam@chromium.org2010-06-112-2/+5
| | | | | | | | Fixed an uninitialized member in DecoderVerbatim. Review URL: http://codereview.chromium.org/2792005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49607 0039d316-1c4b-4281-b951-d872f2087c98
* BlockDifference function that returns 0 or 1 depending if block is same or ↵fbarchard@chromium.org2010-06-113-38/+99
| | | | | | | | | | | different. BUG=none TEST=unittest updated and includes benchmarking. Review URL: http://codereview.chromium.org/2712006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49583 0039d316-1c4b-4281-b951-d872f2087c98
* Add cmdline options to set the hostjid, jid and auth token for the chromotinggarykac@google.com2010-06-115-100/+177
| | | | | | | | | | | | | | client. Add a simple python script to extract jid/token info and launch the client with the appropriate args. Fix x11_client to work with Albert's client restructuring. BUG=none TEST=manual Review URL: http://codereview.chromium.org/2734004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49497 0039d316-1c4b-4281-b951-d872f2087c98
* Extract auth token into separate .chromotingAuthToken file so it can be re-used.garykac@google.com2010-06-112-10/+64
| | | | | | | | | | | Modify chromoting_simple_host to accept cmd-line args for jid and auth-token. BUG=none TEST=none Review URL: http://codereview.chromium.org/2757006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49484 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break in remotinghclam@chromium.org2010-06-111-1/+6
| | | | | | | | | | chromoting_jingle_test_client needs to be updated due to changes in JingleClient TBR=ajwong Review URL: http://codereview.chromium.org/2730009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49483 0039d316-1c4b-4281-b951-d872f2087c98
* Enable chromoting in the build by defaulthclam@chromium.org2010-06-114-10/+17
| | | | | | | | | | Set chromoting to be built by default. Also defines a ENABLE_CHROMOTING flag if chromoting is enabled in the build system so we can exclude chromoting if we don't want chromoting code to be linked in. Review URL: http://codereview.chromium.org/2788003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49482 0039d316-1c4b-4281-b951-d872f2087c98
* psadbw based differencing functionfbarchard@chromium.org2010-06-111-3/+58
| | | | | | | | | BUG=none TEST=should still build and pass unittest, but more efficiently Review URL: http://codereview.chromium.org/2749007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49480 0039d316-1c4b-4281-b951-d872f2087c98
* Separate out HostConnection into an interface and a jingle-basedajwong@chromium.org2010-06-1013-252/+392
| | | | | | | | implementation. Refactor to inject the running thread for Jingle. Review URL: http://codereview.chromium.org/2753006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49419 0039d316-1c4b-4281-b951-d872f2087c98
* Fixup remoting WATCHLIST for public tree and move into the top-levelgarykac@google.com2010-06-101-18/+0
| | | | | | | | | | uber-WATCHLIST. BUG=none TEST=running watchlists.py on various files Review URL: http://codereview.chromium.org/2768003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49404 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up warning due to missing declarations.dmaclach@chromium.org2010-06-101-0/+6
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/2735006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49400 0039d316-1c4b-4281-b951-d872f2087c98
* Fix chromoting windows buildhclam@chromium.org2010-06-103-35/+8
| | | | | | | | This change also changes the CapturerGdi to output 32bit instead of 24bit. Review URL: http://codereview.chromium.org/2771007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49351 0039d316-1c4b-4281-b951-d872f2087c98
* Re-add (curiously) missing 'return' statement to differ_unittest.garykac@google.com2010-06-101-1/+1
| | | | | | | | | BUG=none TEST=unittests on Windows Review URL: http://codereview.chromium.org/2772002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49349 0039d316-1c4b-4281-b951-d872f2087c98
* Fix chromoting build for windowshclam@chromium.org2010-06-101-24/+27
| | | | | | | | Build chromoting_x11_client only on posix systems. Review URL: http://codereview.chromium.org/2766004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49347 0039d316-1c4b-4281-b951-d872f2087c98
* Set up the message loop of the mac host to be UI based so that it can pick updmaclach@chromium.org2010-06-091-4/+13
| | | | | | | | | | | the system callbacks about screen changes. Also clean up some comments. BUG=none TEST=none Review URL: http://codereview.chromium.org/2790002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49342 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up the define usage so that we actually handle OSX specific stuff correctly.dmaclach@chromium.org2010-06-091-2/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2784001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49341 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a chromoting client using X11hclam@chromium.org2010-06-0936-226/+813
| | | | | | | | | | | | | Using XRender to render the chromoting client. This patch has done several things: 1. Rename chromotocol_pb to remoting 2. Defined ChromotingView as the display area of the remote view 3. Implemented X11Client as the client that uses X11 for display 4. Implemented X11View that uses XRender for drawing 5. Fixed several problems in host capturer and encoder Review URL: http://codereview.chromium.org/2745006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49329 0039d316-1c4b-4281-b951-d872f2087c98
* Token-based authentication for chromoting.sergeyu@chromium.org2010-06-0913-63/+108
| | | | | | | | | | | BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49298 Review URL: http://codereview.chromium.org/2749004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49326 0039d316-1c4b-4281-b951-d872f2087c98
* Initial code for screen differ that divides screen into blocks and calculategarykac@google.com2010-06-093-0/+842
| | | | | | | | | | | a 'minimal' set of rectangles that covers the changed region. BUG=none TEST=new unittests added Review URL: http://codereview.chromium.org/2714007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49325 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 49298 - Broke compile - Token-based authentication for chromoting.rsesek@chromium.org2010-06-0913-108/+63
| | | | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2749004 TBR=sergeyu@chromium.org Review URL: http://codereview.chromium.org/2724010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49300 0039d316-1c4b-4281-b951-d872f2087c98
* Token-based authentication for chromoting.sergeyu@chromium.org2010-06-0913-63/+108
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2749004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49298 0039d316-1c4b-4281-b951-d872f2087c98
* Add libjingle_glue export_dependency to chromoting_host so that header/libgarykac@google.com2010-06-081-0/+4
| | | | | | | | | | | references are inherited by chromoting_host_process. BUG=none TEST=chromoting unittests Review URL: http://codereview.chromium.org/2733002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49181 0039d316-1c4b-4281-b951-d872f2087c98
* Heartbeat error logging for chromoting.sergeyu@chromium.org2010-06-082-1/+10
| | | | | | | | | TEST=simple_host logs error received from the bot. BUG=None Review URL: http://codereview.chromium.org/2711003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49136 0039d316-1c4b-4281-b951-d872f2087c98
* Fix chromoting build issues on Windowshclam@chromium.org2010-06-073-10/+5
| | | | | | | | | | Fixed compilation errors on windows. TEST=chromoting builds on windows Review URL: http://codereview.chromium.org/2711001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49115 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of unnecessary library linkage on Mac.dmaclach@chromium.org2010-06-071-10/+2
| | | | | | | | | TEST=build remoting on Mac BUG=none Review URL: http://codereview.chromium.org/2620007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49107 0039d316-1c4b-4281-b951-d872f2087c98
* Add DEPS file to chromoting so that the checkdeps trybot doesn't complaingarykac@google.com2010-06-071-0/+9
| | | | | | | | | | | | | about includes in other directories. TBR=hclam BUG=none TEST=ran tools/checkdeps/checkdeps.py; veriried no warnings Review URL: http://codereview.chromium.org/2679006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49092 0039d316-1c4b-4281-b951-d872f2087c98
* Copy the (early prototype of) remoting in Chrome into the public tree.garykac@google.com2010-06-07102-0/+9366
At the moment, this is a semi-functional demo. BUG=none TEST=build/run all unittests on linux Review URL: http://codereview.chromium.org/2690003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49087 0039d316-1c4b-4281-b951-d872f2087c98