Commit Graph

323 Commits

Author SHA1 Message Date
Nick Bolton 760e38eeba added some hacky sleeps to temporarily fix some thread timing issues (causing access violations). the best fix would be to use wait cond vars, but first we need to really understand the bug. 2013-09-16 15:21:36 +00:00
jerry 6f982a501a fixed dragged name out of date. 2013-09-13 15:44:33 +00:00
jerry e9f43fa7c5 - using cocoa code to fake mouse button down instead of using synergy code.
- fake a ctrl key up and esc key down and up before leave the screen if there is a dragging operation.
2013-09-12 17:42:50 +00:00
jerry dbc7659776 changed the transparency of the window where drag is from on mac. 2013-09-12 11:43:34 +00:00
Nick Bolton b92b7c71fb fixed donate urls in gui. 2013-08-31 17:18:28 +00:00
Nick Bolton 501e894d03 - modified windows installer to register new shell ext dll for drag/drop.
- stopped release shell ext dll from crashing by initializing ref counting members.
- added logging to shell ext dll to debug crash.
2013-08-31 17:05:17 +00:00
Nick Bolton bf0204e7c2 ifdef'd out the COSXDragView implementation on osx < 10.7 2013-08-30 21:36:04 +00:00
jerry fbfea7b543 fixed previous commit - the 10.6 compile error was coming from COSXDragView.h, not COSXDragSimulator.m 2013-08-30 21:17:09 +00:00
jerry 6e57005b4a limited drag file feature only for mac 10.7 or above 2013-08-30 20:18:13 +00:00
jerry 9d62232a72 fixed parentheses mess 2013-08-30 20:08:20 +00:00
jerry 43e2535335 Feature to drag a file from Mac (client) to Windows (server):
- temporarily drop dragging file to desktop (specified by command line arg --filetransfer-des)
- on Mac side, fake an esc key while dragging off the screen does not seem to work
2013-08-30 19:49:38 +00:00
Nick Bolton af04f8b2ef reverted failure test for buildbot. 2013-08-30 18:51:01 +00:00
Nick Bolton 46a33b2d97 fixed: return value from last commit - should be 1, not 0. 2013-08-30 18:39:10 +00:00
Nick Bolton fcf5940c67 fixed: missing return value from last commit. 2013-08-30 17:53:34 +00:00
Nick Bolton 7b217abe21 temp fail for unit tests to test buildbot failure email 2013-08-30 17:35:37 +00:00
Nick Bolton d68e472d2f changed sleep hack from 1sec to .2sec to speed up integ tests on build machine (todo: get rid of this hack) 2013-08-30 17:33:35 +00:00
Nick Bolton 93b593f13e hacked osx integ key tests to stop COSXKeyStateTests.fakeAndPoll_charKeyAndModifier from failing 2013-08-30 17:05:52 +00:00
Nick Bolton 024f66e25e fixed unit tests, changed modes to cfb (other modes have been removed). 2013-08-30 15:20:36 +00:00
jerry ce1b62db14 Feature to drag a file from Windows to Mac:
- On Mac client main thread is used for cocoa application in order to simulate drag.
- Send dragging file dir from Windows server to Mac client while dragging after switching screen.
- Dragging information sending is immature now (need to support multi files dragging in the future).
- Used Cocoa function to monitor dragg pasteboard.
- Changed Mac client to use another thread for event queue instead of the main thread.
- Change fileRecieveComplete to fileRecieveCompleted.
2013-08-30 14:38:43 +00:00
jerry 031a84ca84 - Allow dragging one file from Windows (server) to Mac (client), --filetransfer-des needs to be specified in client side's command line. 2013-08-23 15:36:23 +00:00
jerry 012fe6ddd8 - Log out dragging file's directory in Synergy (using COM shell extension)
- Change shell extension dll Main.cpp to synwinxt.cpp
2013-08-23 09:59:31 +00:00
jerry 587c320f61 - Added data handler shell extension project (synwinxt) which will output a dll file.
- Removed misused comments in CServerProxy
2013-08-21 13:30:46 +00:00
jerry a25587c4c5 - Removed GCM, CTR and OFB encryption modes.
- Every time server sends CALV message, IV will be changed as well.
2013-08-16 18:06:30 +00:00
Nick Bolton beab22e5b2 gui: made username and password hashed, and disabled unreliable ssl library usage (getting ssl context errors). 2013-08-12 12:01:23 +00:00
jerry 63487e565d hacked network integ tests, so they only run once on mac. so that nightly build passes (connection failed after about 7 test repeats) 2013-08-06 16:21:22 +00:00
Nick Bolton 17410d5706 patch by Yutaka Tsutano - fixes: Bug #3287 - Mac does not wake up 2013-08-02 16:48:09 +00:00
jerry dab838ed14 - renamed synrgyhk.dll to synwinhk.dll and moved lib code to separate folder.
- removed game device support (fallen into significant disrepair).
2013-08-02 13:21:06 +00:00
Nick Bolton 289f1ff71f Patch by Jerry:
- Added fixed pause between raising each file transfer event
- Removed redundant member variables in CClient and CServer
2013-07-26 14:10:06 +00:00
Nick Bolton 811cfd146d Patch by Jerry:
- Measure file transfer speed
- Increased quit timeout in NetworkTests
- Some code duplication, to be fixed in future patch
2013-07-26 12:44:14 +00:00
Nick Bolton 99a7e0db23 Patch by Jerry:
- Added include path for std::runtime_error
2013-07-26 10:26:20 +00:00
Nick Bolton 0f83676c60 Patch by Jerry:
- Fixed include path
2013-07-24 20:16:35 +00:00
Nick Bolton 394ece004a Patch by Jerry:
- Fixed line endings
- Integ test for file transfer
- Fixed crashed problem when log info is larger than 2048 bytes
- Fixed compile error caused by std exception (by Feng ye)
- Fixed include path on Mac and linux (by Feng ye)
2013-07-24 16:41:12 +00:00
Nick Bolton c368013f13 Patch by Jerry for issue 46:
- Unit test for sending file data from server to client.
- Removed singleton pattern from CSocketMultiplexer for easier unit testing.
- Incremented protocol version from 1.4 to 1.5 (new file chunk message).
- Storing pointer to CConfig instead of copying in CServer (so we can mock it).
- Created a common event queue for testing (timeout, quit event, etc).
- Fixed code style.
2013-07-16 19:02:30 +00:00
Nick Bolton 6f97f1d186 gui: premium reminder feature 2013-07-05 12:05:08 +00:00
Nick Bolton 6919b68947 patch by Feng Ye - initialize m_typesForCClient 2013-07-01 12:25:04 +00:00
Nick Bolton 18a3db6843 patch by jerry: fixed new event queue on Mac and Linu 2013-06-29 22:02:04 +00:00
Nick Bolton 608074c041 - made unit testing easier by (mostly) removing the event queue singleton.
- fixed code style in many places (mostly indentation).
2013-06-29 14:17:49 +00:00
Nick Bolton 13b2649fa0 added ?source url arg to gui links. 2013-06-05 15:41:14 +00:00
Nick Bolton 2182906451 jerry's patch: fixed version checker label was being hidden by status label, and was using old update check url. 2013-06-05 14:47:42 +00:00
Nick Bolton a986125965 added error message to premium wizard page login. 2013-06-05 11:46:05 +00:00
Nick Bolton 104051adc4 added user agent header to json auth post. 2013-06-04 22:43:16 +00:00
Nick Bolton 0d4cf81c60 fixed: qt adding damn html to the labels again (argh!)
fixed: radio buttons too close together on premium page.
2013-06-04 19:41:27 +00:00
Nick Bolton c9f0360081 added premium login page. 2013-06-04 17:37:27 +00:00
Nick Bolton 9f25a1efcd stripped out remaining vnc stuff 2013-05-31 16:06:51 +00:00
Nick Bolton 2be3ad7763 gui: updated translations 2013-05-31 16:01:34 +00:00
Nick Bolton 1b969a4283 removed dead vnc integration attempt. 2013-05-31 15:43:37 +00:00
Nick Bolton 7ab09dffd9 jerry's patch: Fixed: language drop down combo box was centered on Mac and rearrange the settings dialog. 2013-05-31 15:13:41 +00:00
Nick Bolton de9cffabac jerry's patch: Fixed: changing language will reset process mode and logging level in the setting dialog. 2013-05-31 14:58:36 +00:00
Nick Bolton f4f7f69b3f moved new crypto stuff into io library, since it inherits CStreamFilter 2013-05-30 13:48:08 +00:00
Nick Bolton e05a9dfa98 jerry's patch for issue 3062 (add gui translations) 2013-05-29 20:46:24 +00:00
Nick Bolton f2de9581aa removed compiled gui translation files 2013-05-04 15:30:42 +00:00
Nick Bolton c813e8c453 updated gui language files and removed compiled qm files. 2013-05-04 15:30:00 +00:00
Nick Bolton 182068bb69 updated gui master translations 2013-05-04 15:19:52 +00:00
Nick Bolton 65b8f480e8 fixed: code style in unit test (missing g_) 2013-05-01 15:57:46 +00:00
Nick Bolton 4fffe2dad1 fixed: unit test name did not match compilation unit 2013-05-01 15:54:32 +00:00
Nick Bolton e8ed977a8f fixed: issue 3565 - encryption fails with heavy network traffic.
changed encrypt and decrypt to be asymmetrical (iv change now applies only in one direction).
2013-05-01 15:53:22 +00:00
Nick Bolton 119d4cfa11 fixed: function name conflict on mac 2013-05-01 15:46:15 +00:00
Nick Bolton f51e90e28d fixed: micro unix entry point signature was invalid. 2013-05-01 14:23:48 +00:00
Nick Bolton bb3dd1611c fixed readWriteIvChanged unit test to match new behaviour of newIv. 2013-04-11 23:45:55 +00:00
Nick Bolton 607f8c9321 fixed: new iv was used before it was sent to the client, so the client could not decrypt new iv. 2013-04-11 22:30:24 +00:00
Nick Bolton bae07f8cd5 test for generating keys from longer passwords. 2013-04-11 21:52:45 +00:00
Nick Bolton 9e61f34efa fixed crappy html garbage in crypto wizard, and fixed label width/alignment in settings dialog 2013-04-11 19:14:24 +00:00
Nick Bolton fa4b2f4e85 Jerry's crypto GUI patch. 2013-04-11 16:51:17 +00:00
Nick Bolton e84f111f35 changed unit test IVs so that \0 isn't used (logs look less confusing). 2013-04-11 06:16:15 +00:00
Nick Bolton 1dccfe6c53 fixed: real server dtor being called (we forgot to set m_mock - FUUUUUUUU). also added quick and dirty backtrace for osx, since we keep accidentally calling that singleton in unit tests... could be handy, we should consider refactoring into a func maybe. 2013-04-11 05:50:59 +00:00
Nick Bolton 90bd08d86c revert temp logging. 2013-04-11 05:09:17 +00:00
Nick Bolton 7dcc1151c7 more temp logging to try and understand why IEventQueue singleton is being used on build machines. 2013-04-11 04:53:59 +00:00
Nick Bolton 530b68fc19 temp log line for assert -- trying to detect random memory corruption on build machines. 2013-04-11 03:46:12 +00:00
Nick Bolton c0dcdd52e7 fixed: crypto++ compile errors, linux compiler syntax bugs, and code style (spaces -> tabs) 2013-04-11 00:30:41 +00:00
Nick Bolton 650da22c33 fixed buffer overrun bugs in unit tests. 2013-04-10 17:30:21 +00:00
Nick Bolton 9cd8023e92 fixed windows 64-bit warnings. 2013-04-10 15:04:14 +00:00
Nick Bolton 11cdee4aa3 added missing modifiers arg to function in micro synergy. 2013-04-10 14:53:55 +00:00
Nick Bolton 77b92b7b6f micro synergy patch by Bruce Oberg 2013-04-10 14:50:10 +00:00
Nick Bolton 72cbcd70c0 fixed unit tests, buffer indexes were not reset, caused tests to fail on 2nd repeat. 2013-04-10 12:14:59 +00:00
Nick Bolton 880819fab7 Jerry's patch for password hash and custom mode (via command line). 2013-04-09 21:57:07 +00:00
Nick Bolton 7010de9cc4 sending IV to client before DKDN, DKUP and DKRP (the most sensitive messages). unit tests to support changes. made crypto stream tests a bit less spammy by using NiceMock. 2013-04-09 18:56:19 +00:00
Nick Bolton 23998fc06c unit tests for IV change. 2013-04-08 18:35:23 +00:00
Nick Bolton 323285a931 moved temp hard coded key out of crypto class. 2013-04-08 13:04:20 +00:00
Nick Bolton b2746bc1b2 added unit test to make sure IV works as we expect. 2013-04-08 13:01:21 +00:00
Nick Bolton 0a69c28ac5 implemented crypto stream, with some extra unit tests 2013-04-05 16:33:48 +00:00
Nick Bolton d0081ebd7a removed #pragma once from cpp. 2013-04-04 22:06:42 +00:00
Nick Bolton 21a4d0f586 #if for win32 messagebox stuff 2013-04-04 21:57:51 +00:00
Nick Bolton 3aaebd9e50 Patch by Jerry:
* wrote CCryptoStream and supporting unit tests
* changed CStreamFilter to accept CMockEventQueue
* changed CStreamFilter's dtor to virtual because it is inherited
2013-04-04 16:17:25 +00:00
Nick Bolton 7040905632 crypto++ -- upgraded to 5.6.2 and added zip to svn instead of individual source files (easier to manage). also added unit test to prove that linking works well on windows. 2013-04-03 12:59:02 +00:00
Nick Bolton d57a3423e7 removed unused #endif 2013-03-17 16:20:12 +00:00
Nick Bolton 6ec2ea2c0e patch by jerry -- his first patch! :-)
issue #421 -- portable version for windows.
2013-03-15 16:14:43 +00:00
Nick Bolton c8ea071d78 comment out crypto stuff, for now (only compiles on windows) 2013-01-05 22:50:34 +00:00
Nick Bolton a11b68c988 uncommented crypto tests and fixed line endings 2012-11-30 01:07:04 +00:00
Nick Bolton 13c10cbad3 fixed: line endings 2012-11-30 01:00:40 +00:00
Nick Bolton b322ade68c fixed: rogue include 2012-11-29 23:50:03 +00:00
Nick Bolton bd6b9f6b90 added crypto++ library and example authenticated encryption unit test (CCryptoTests) 2012-11-29 23:27:02 +00:00
Nick Bolton 02b23bd881 fixed: Bug #3310 - P&ort in settings screen 2012-11-16 10:13:05 +00:00
Nick Bolton d21b06477f fixed: Bug #3281 - server start on OS X defaults to 'interactive' 2012-11-15 14:25:46 +00:00
Nick Bolton c34918fca1 appears to fix mouse cursor randomly not showing/hiding bug -- not sure though 2012-10-30 18:42:58 +00:00
Nick Bolton 21b02d708f disabled broken integ tests 2012-10-29 14:15:14 +00:00
Nick Bolton bdb0e6667a added missing new integ test file 2012-10-29 13:52:26 +00:00
Nick Bolton eda0018fc5 attempted fix to 'cursor does not show' bug, though i don't think the issue is solved, it appears to be more stable (but it's so hard to tell, since the bug is so random) 2012-10-29 13:43:08 +00:00
Nick Bolton 69db341660 added cursor show/hide test, and modified osx screen class to be more robust with memory usage. also fixed some bad code style. 2012-10-28 11:36:30 +00:00
Nick Bolton e9bf981eec tweaked cursor show/hide log messages 2012-10-26 00:58:11 +00:00
Nick Bolton 240c5a781d fixed wrong code style around cursor show/hide, made secondary input event handling look more readable, cut down on cursor shown/hidden state usage (to make sure the cursor is shown and hidden when needed), added check after show/hide to make sure that it actually happened 2012-10-26 00:21:22 +00:00
Nick Bolton 0502e3b3d6 fixed code style (whitespace) 2012-10-25 21:58:24 +00:00
Nick Bolton 70b5e9e815 removed empty source file. 2012-09-04 02:17:17 +00:00
Nick Bolton 79a1815206 removed experimental vnc 2012-09-04 02:16:45 +00:00
Nick Bolton 7f6eca9eb4 corrected license and author attribution (cs 2002-2012, nb 2008-2012) 2012-09-04 02:09:56 +00:00
Nick Bolton 3f49e1aa52 fixed: log line was err, should be debug 2012-08-03 17:03:24 +00:00
Nick Bolton 1bf75e6a25 added initial gui translations 2012-07-31 16:44:33 +00:00
Nick Bolton 0d9f4a73b9 build file for .ts to .qm 2012-07-31 16:41:38 +00:00
Nick Bolton 4faf1b6d3f updated gui translation master 2012-07-31 16:28:59 +00:00
Nick Bolton 51be2bf51d added special default window sizes for linux as well as mac 2012-07-30 16:11:28 +00:00
Nick Bolton 01fe7027d3 fixed about window size on mac 2012-07-29 23:01:45 +00:00
Nick Bolton e7f5d0dbf3 Bug #3303 - Mac OS X IPC integ test fails intermittently 2012-07-29 02:41:49 +00:00
Nick Bolton dde0cfabc1 fixed: log class using wrong debug macros 2012-07-29 02:10:25 +00:00
Nick Bolton 65edd6a8c1 custom about window size on mac (bigger font size) 2012-07-29 01:01:33 +00:00
Nick Bolton d76bf1ecd8 fixed: broken start/stop actions enabled in gui 2012-07-29 00:47:49 +00:00
Nick Bolton 4d4eecdb5a corrected inconsistent log messages 2012-07-29 00:25:04 +00:00
Nick Bolton 2307b7a40a fixed: removed use of missing controls on mac and made window bigger (to make room for new controls) 2012-07-29 00:10:18 +00:00
Nick Bolton 57327fba19 Bug #3302 - GUI does not show/hide when tray icon is double clicked 2012-07-28 23:27:28 +00:00
Nick Bolton 377858334b * made service mode default (and changed setting key so new installs use service as default).
* removed startup mode wizard screen and move process mode to settings dialog.
* fixed: form can get stuck on disabled when switching from desktop to service mode.
* stripped out game controller stuff (this will probably be moved to a plugin setting file in future).
2012-07-28 22:58:51 +00:00
Nick Bolton 5193dc510f removed hyperlink from about screen, doesn't seem to open browser. 2012-07-28 22:16:00 +00:00
Nick Bolton a26e6886ba fixed: service process was being stopped when gui exited and in other scenarios. 2012-07-28 22:13:14 +00:00
Nick Bolton f5d66ae6fd added logo, license info, and website url to about screen. 2012-07-28 21:07:33 +00:00
Nick Bolton dbfb00b21c moved ips and screen name to main screen, and cleaned up the about screen. 2012-07-28 20:41:40 +00:00
Nick Bolton ede57b0c81 Feature #3172 - Add stop service feature to GUI 2012-07-28 18:54:50 +00:00
Nick Bolton 86bb49aeae added feature to control uac elevation on desk switch (login screen, lock, etc) 2012-07-28 13:34:35 +00:00
Nick Bolton 268f3a99bb added process elevation support to the relauncher, very experimental, has some bugs. 2012-07-28 02:59:20 +00:00
Nick Bolton 3e1919f976 fixed osx key tests -- wrong shift button code ae and only left shift was tested 2012-07-25 00:57:26 +00:00
Nick Bolton 41b5759e00 commented out failing test 2012-07-25 00:49:58 +00:00
Nick Bolton b9e5809aef Bug #3225 - typo: comptuer 2012-07-25 00:30:44 +00:00
Nick Bolton 1c89fd2ef6 reverted patch for #242 (right shift broken for ms remote desktop) to fix bug #2799 (right shift broken for osx). 2012-07-25 00:06:27 +00:00
Nick Bolton e2f8e65298 added working key tests on osx 2012-07-24 22:08:38 +00:00
Nick Bolton 6dcefaf353 patch: for "old" unix, fixed compile problems (missing xi2 stuff), and refactored header tests (thanks to Jim Hague) 2012-07-20 15:14:19 +00:00
Nick Bolton fb377bbc78 patch: for irix, don't build test code and ignore a few warnings (thanks to Jim Hague) 2012-07-20 15:11:37 +00:00
Nick Bolton 82a439f893 patch: build CGameDevice module on all platforms since it's cross platform code anyway (thanks to Jim Hague) 2012-07-20 15:10:36 +00:00
Nick Bolton bc3a76770c patch: feature #2974 - multi touch gestures. thanks to Bo Jordan. 2012-07-20 12:27:26 +00:00
Nick Bolton de30d04c72 added failing unit test and event queue DI to ms desks class. 2012-07-20 12:24:55 +00:00
Nick Bolton 34a87502f6 * fixed version detection (we were using \d not \d+)
* added missing copyright to nsh files
* removed binary (and updated nsh files to handle missing files)
2012-07-15 21:16:03 +00:00
Nick Bolton 1613e6ca79 changed gui "info" messages to "note" and made ipc windows only. 2012-07-14 17:01:29 +00:00
Nick Bolton 3e0f062df0 process stop detection and relaunch feature (useful for winxp where the server/client is killed at logout). 2012-07-14 04:48:32 +00:00
Nick Bolton 4378e520f0 fixed: on windows xp daemon deadlocks and synergys crashes on startup. also fixed uninitialized ipc program args value (always turning ipc on). moved the event queue further up the stack for (client, server and daemon) so that it's always available (not just in the main loop). 2012-07-14 00:15:07 +00:00
Nick Bolton a62fee84cc fixed: service mode sends command every time you start (causing server/client to restart)
fixed: apply button stops working when you switch from desktop to service mode.
2012-07-13 18:44:43 +00:00
Nick Bolton 131aa190c3 increased ipc test timeout, mac os x 10.8 seems slow to open tcp sockets. 2012-07-13 18:15:31 +00:00
Nick Bolton 764d63a5d5 improved ipc log messages. 2012-07-13 17:34:59 +00:00
Nick Bolton 738c321bae fixed lousy ipc client/server cleanup and shutdown doubled timeout. 2012-07-13 17:08:00 +00:00
Nick Bolton db3ea4ab9c made switching between desktop and service mode more robust. 2012-07-13 14:38:58 +00:00
Nick Bolton aec76ce083 fixed: gui doesn't connect to service on first load. 2012-07-13 14:00:42 +00:00
Nick Bolton 259f363f13 gui: changed hostname field label to hint IP address support. 2012-07-12 01:53:28 +00:00
Nick Bolton 78244c25bd moved gui ipc reader start out of ctor 2012-07-11 20:01:58 +00:00
Nick Bolton 19ccba8126 made gui compatible with new version of ipc protocol. 2012-07-11 18:28:28 +00:00
Nick Bolton 82d91605fa changed ipc protocol to be more like original synergy protocol (4 byte message codes and better use of protocol util class). 2012-07-11 18:06:10 +00:00
Nick Bolton 0a7c7f5073 removed malloc usage 2012-07-11 14:06:46 +00:00