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
Nick Bolton
3d6551f708
moved stream into synergy namespace (to prevent naming collision in win libs)
...
implemented ipc "hello" message (to identify client type)
integ tests working for hello message, but use of ipc in main program has problem with events.
2012-07-05 18:05:35 +00:00
Nick Bolton
4e268760b3
ripped out rest of shitty named pipes ipc stuff.
...
fixed the byte to int reader on the gui ipc (unsigned chars, argh!!!).
retry on fail for gui ipc connect.
2012-07-04 23:27:03 +00:00
Nick Bolton
a8ce3418fe
improved hook lib load fail error a little
2012-07-04 23:25:25 +00:00
Nick Bolton
58c5a1d84d
micro client.
2012-07-04 19:36:49 +00:00
Nick Bolton
bab317931b
size hack for gui ipc (only temporary)
2012-07-04 19:36:18 +00:00
Nick Bolton
0537bbdfad
increased ipc message length.
2012-07-03 17:33:19 +00:00
Nick Bolton
7d5fbde71d
fully replaced gui/daemon named pipes ipc with tcp ipc.
2012-07-03 14:15:05 +00:00
Nick Bolton
79d73bd163
ipc send message to client finished.
2012-07-02 15:28:23 +00:00
Nick Bolton
97b2cd669d
finished ipc send to server.
2012-07-02 13:45:52 +00:00
Nick Bolton
05775bc73d
finished ipc connect with unit test.
2012-07-01 21:18:21 +00:00
Nick Bolton
218e98398f
ipc client connect test with working unit tests.
2012-06-29 11:33:21 +00:00
Nick Bolton
7d8fd5927d
skeleton for new ipc code.
2012-06-28 07:29:06 +00:00
Nick Bolton
0c42964f3a
normalised line endings.
2012-06-28 04:40:23 +00:00
Nick Bolton
488241850c
moving 1.4 to trunk
2012-06-10 16:50:54 +00:00
Nick Bolton
e65886857d
removed trunk; please commit to (and build patches against) release branches instead.
2011-10-05 00:10:22 +00:00
Nick Bolton
9104860863
merged 1.3 r1048:1049 into 1.4 and trunk
2011-06-19 00:28:22 +00:00
Nick Bolton
baaa240a8c
merged 1.4 r1046:1047 into trunk
2011-06-18 23:59:09 +00:00
Nick Bolton
2fe11744cf
merged 1.4 r1043:1044 into trunk
2011-06-18 23:44:23 +00:00
Nick Bolton
b4918163a7
merged 1.3 r1009:1010 into 1.4 and trunk
2011-05-21 02:47:10 +00:00
Nick Bolton
5a315324ca
merged 1.4 r1007:1008 into trunk
2011-05-21 00:30:08 +00:00
Nick Bolton
bebf8c2c2c
made dll copy quiet and overwrite
2011-05-13 21:32:02 +00:00
Nick Bolton
5b0bc93b00
merged 1.3 r989:990 into trunk and 1.4
2011-05-12 22:37:57 +00:00
Nick Bolton
52edb17015
fixed missing kDEBUG2 error in trunk and 1.4
2011-05-12 22:34:38 +00:00
Nick Bolton
81b5124e58
merged 1.3 r985:986 into trunk and 1.4
2011-05-11 21:12:20 +00:00
Nick Bolton
901d939267
removed more windwows line endings
2011-05-11 21:07:22 +00:00
Nick Bolton
13c6c36107
merged 1.4 r982:983 into trunk
2011-05-09 00:28:45 +00:00
Nick Bolton
627771cf13
merged 1.3 r978:979 into trunk
2011-05-08 22:46:06 +00:00
Nick Bolton
710e3a1967
removed unused declaration
2011-05-07 02:47:20 +00:00
Nick Bolton
edeae477e1
implemented google mock config and gave it a quick try (see: add_newValue_writeWasCalled)
2011-05-07 02:12:09 +00:00
Nick Bolton
3442cbc707
Task #2933 - *nix side of task (used lock file approach)
2011-05-06 22:58:12 +00:00
Nick Bolton
933522451a
win32: Task #2933 Prevent multiple integ tests from running in parallel (had to expose some arch misc windows functions)
2011-05-06 21:13:07 +00:00
Nick Bolton
8ea964c331
made win clipboard integ test start and end with empty clipboard
2011-05-03 19:45:40 +00:00
Nick Bolton
0e94f696fa
comment out another intermittently failing integ test
2011-05-01 19:31:10 +00:00
Nick Bolton
8ea9038e60
commented out intermittently failing integ test
2011-04-29 12:06:41 +00:00
Nick Bolton
b5fa1a086e
fixed gtest paths for linux
2011-04-28 12:10:57 +00:00
Nick Bolton
2155247425
split up bin and lib dirs from build dir
2011-04-28 10:42:36 +00:00
Nick Bolton
40b5a98790
moved integ and unit tests into test dir
2011-04-28 10:24:02 +00:00
Nick Bolton
85b2802777
fixed linux gui build and dist
2011-04-26 10:53:29 +00:00
Nick Bolton
f66731f19b
fixed mac cmake config for synergys
2011-04-25 23:32:30 +00:00
Nick Bolton
8472fec34d
removed 'lib' prefix from libraries (cmake does this for us automatically on UNIX)
2011-04-25 22:21:32 +00:00
Nick Bolton
66c4bdc356
fixed library linkage on linux
2011-04-25 22:10:46 +00:00
Nick Bolton
143c4cd297
restructured source code, put CMakeLists.txt in more conventional locations, and split the libraries up
2011-04-25 21:09:32 +00:00
Nick Bolton
85f66153ab
renamed integ test entry point file
2011-04-25 02:00:43 +00:00
Nick Bolton
b4ac91e798
finished CXWindowsClipboardTests
2011-04-25 01:01:44 +00:00
Nick Bolton
82a0fc9734
reordered includes to fix 'identifier not found' errors
2011-04-24 21:58:26 +00:00
Nick Bolton
3e70306f08
finished COSXClipboardTests
2011-04-24 17:37:15 +00:00
Nick Bolton
7cd8980f7f
finished CMSWindowsClipboardTests
2011-04-24 12:09:52 +00:00
Nick Bolton
061e1e109b
removed hello world test suite
2011-04-24 00:26:16 +00:00
Nick Bolton
408e4c3ac9
created first integration test; unit test exe changed from tests(.exe) to unittests(.exe)
2011-04-23 23:57:32 +00:00
Nick Bolton
0b90478952
fixed copyright date
2011-04-23 22:59:08 +00:00
Nick Bolton
21cc356585
improved test function names
2011-04-23 20:15:06 +00:00
Nick Bolton
3c444517cf
finished CClipboardTests
2011-04-23 19:55:55 +00:00
Nick Bolton
4adb324dda
more clipboard unit tests
2011-04-23 02:14:13 +00:00
Nick Bolton
0168428198
created unittest dir, made test CMakeLists.txt smaller, and created first basic test for CClipboard
2011-04-22 20:32:29 +00:00