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
Nick Bolton
eca240eec7
changed integ tests to use another port for ipc.
2012-07-11 12:07:13 +00:00
Nick Bolton
5f0402d47b
fixed linux syntax and build errors
2012-07-10 18:35:33 +00:00
Nick Bolton
d48dfd62dd
patch by Michiel van der Leeuw and Alex Evans
...
* removed varargs to improve portability (using sprintf)
* reversed endianness
* fixed keyboard up message modifiers
* added zlib license file
2012-07-10 17:17:57 +00:00
Nick Bolton
f26e7b0d97
fixed unit tests (log not initialized)
2012-07-10 13:55:05 +00:00
Nick Bolton
e942093407
added "shutdown existing processes" feature to relauncher.
2012-07-10 11:54:20 +00:00
Nick Bolton
f9f04034c9
fixed: ipc client running on synergyc wasn't sending hello message, and so wasn't getting shutdown message. edits to CIpcClient or CIpcTests weren't really needed, but looks slightly better this way maybe.
2012-07-10 11:23:08 +00:00
Nick Bolton
5be1fd0cfa
made ipc log outputter message drop mechanism only drop messages from the buffer thread (*should* not cause deadlock, but feels a bit risky).
2012-07-10 10:04:52 +00:00
Nick Bolton
8bad45e8a2
* fixed a shit-ton of memory leaks (lots in the ipc log handler, oops)
...
* added non-pod data support to events (event delete can now call dtors)
* improved cleanup of ipc message objects (because of non-pod event data support)
* moved the "message received" event up to ipc server and client (passed on from proxies)
2012-07-10 01:51:51 +00:00
Nick Bolton
21cf3f2478
fixed minor warning - type signing mismatch.
2012-07-09 12:27:13 +00:00
Nick Bolton
346666791e
* made gui ipc reader more robust by getting rid of reader thread (but read wait now blocks gui thread)
...
* separated ipc client proxy mutex into read and write (i think read was deadlocking write)
* fixed cpu spinning on ipc log send buffer thread (now uses wait cond like before).
2012-07-09 12:09:24 +00:00
Nick Bolton
e501552f24
* increased gui ipc read check (yes yes, i should be using wait cond... but qt mutexes suck)
...
* added mutex to client proxy to protect stream
* added try/catch to ipc log outputter buffer thread
* protected ipc client proxy list with mutex (saw a weird stl error, might be caused by cross-thread weirdness)
2012-07-08 17:49:45 +00:00
Nick Bolton
ecf1833f36
* removed wait cond and mutex usage from gui ipc log reader (it was being used incorrectly anyway)
...
* raised the log-to-console level to DEBUG2
* added force option to ipc log buffer (to side-step the anti-recursion "mechanism")
* made relauncher always relay server/client messages to ipc client (gui)
2012-07-08 16:27:28 +00:00
Nick Bolton
f0493351a1
attempting to solve ipc recursion/deadlock problem by always buffering in the log outputter.
2012-07-08 16:01:27 +00:00
Nick Bolton
af9a6beb78
made ipc reader on gui side more robuts, but deadlocking issue on ipc server still exists (caused by sending log messages).
2012-07-06 22:17:26 +00:00
Nick Bolton
663cd28f2d
attempting to fix deadlocks by going mutex crazy (this never ends well)
2012-07-06 16:18:21 +00:00
Nick Bolton
17a92f4f4c
attempted to fix deadlock caused by ipc logger causing recursion.
2012-07-06 14:46:46 +00:00
Nick Bolton
12eb8efb61
implemented ipc message buffering (dequeues on gui reconnect)
2012-07-06 12:27:22 +00:00
Nick Bolton
fbc4a89653
added retry to installer for synrgyhk.dll file delete problem, seems to help.
...
added hack to daemon to suppresses service controller false positive error.
tidied up a few of the log lines to make the place look nicer for newbies.
removed annoying build line from dist command.
2012-07-05 21:26:41 +00:00
Nick Bolton
ddb2d7feeb
fixed: ipc client connected event was being wiped out
...
daemon now communicates graceful shutdown message through new ipc system.
2012-07-05 19:10:04 +00:00