Stephen Birarda
45daabc86f
remove unused AssignmentClient shared mem var
2015-05-20 17:14:27 -07:00
Stephen Birarda
bea387af7d
extra debug for failed local AS port read
2015-05-20 17:13:18 -07:00
Stephen Birarda
7373bb6817
contain QSharedMemory for local server port to reader
2015-05-20 17:11:08 -07:00
Stephen Birarda
ca87d64dc7
fix for audio-mixer shutdown hang, removing spaces
2015-05-13 12:03:21 -07:00
Stephen Birarda
4c93e395ad
ask QCoreApplication to quit when PacketTypeStopNode received
2015-05-08 15:22:58 -07:00
Stephen Birarda
aca71474d8
add debugging to AC monitor to capture hang
2015-05-08 14:43:31 -07:00
Stephen Birarda
0a295bada1
add debugging to catch AC kill hang
2015-05-08 14:32:16 -07:00
Stephen Birarda
99a9f2df90
don't allow an AC monitor to take over other local ACs
2015-05-08 14:02:19 -07:00
Stephen Birarda
be58347aec
consider assignment completed when worker thread is gone
2015-05-08 10:40:04 -07:00
Stephen Birarda
b080dfc1cf
change comment for AC readyRead connect
2015-05-08 10:16:39 -07:00
Stephen Birarda
bab96a7711
more connect call fixes in AssignmentClient
2015-05-08 09:29:29 -07:00
Stephen Birarda
3e0029e6e6
use .data on QPointer for slot connection
2015-05-07 17:29:31 -07:00
Stephen Birarda
4c8c24eb00
remove an extra debug
2015-05-07 17:04:45 -07:00
Stephen Birarda
d75d204ff6
standardize cleanup of ThreadedAssignments
2015-05-07 17:03:43 -07:00
Atlante45
95b4c75f9f
Add missing DM::set<>() calls
2015-05-01 00:21:29 +02:00
Seth Alves
e985f56b12
cleanups
2015-04-29 15:30:13 -07:00
Seth Alves
009bb9dc71
all 4 types of assignment-client appear to exit cleanly, now
2015-04-29 15:16:00 -07:00
Seth Alves
d2cd4fc405
types 0 and 1 exit cleanly, type 6 crashes
2015-04-29 11:56:45 -07:00
Seth Alves
02fd9987c7
rework audio mixer so it can exit cleanly
2015-04-28 18:38:41 -07:00
Seth Alves
8affca6120
pass -t to children even if run in parent mode. monitor (parent) only interacts with its own children
2015-03-03 14:58:53 -08:00
Ryan Huffman
b370e025c9
Move EntityScriptingInterface instance to DependencyManager
2015-03-02 15:05:31 -08:00
Seth Alves
7c7d727b55
mv ShutdownEventListener into class which is a child of QCoreApplication
2015-02-26 10:07:48 -08:00
Seth Alves
0ce49888ff
AssignmentClientApp is QCoreApplication, other classes aren't. If --min is set and all the assignment clients exit (probably due to domain server restarting), respawn until --min is statisfied.
2015-02-25 09:20:34 -08:00
Seth Alves
c9d6a44c3a
fix up command-line parsing
2015-02-24 16:56:13 -08:00
Seth Alves
0b9b7f06cc
address various comments from code review
2015-02-23 11:12:19 -08:00
Seth Alves
8cee88acb4
network chatter between Monitor and AssignmentClients is expected to be localhost only
2015-02-20 14:25:43 -08:00
Seth Alves
4bba4fc387
cleanups
2015-02-20 13:44:37 -08:00
Seth Alves
907be67135
cleanups
2015-02-20 13:34:51 -08:00
Seth Alves
bd3d7124e2
cleanups
2015-02-20 13:31:58 -08:00
Seth Alves
56d237ae8b
cleanups
2015-02-20 13:28:24 -08:00
Seth Alves
feb0e7ac31
AssignmentClientMonitor doesn't keep a list of its children. Instead it knows about active children due to their entries in the NodeList. Every few seconds, if 2 or more children are idle, the Monitor will ask one to exit
2015-02-20 13:26:59 -08:00
Seth Alves
4b3183d820
AssignmentClients accept an id on the command-line.
...
AssignmentClientMonitor now has a NodeList. It stores its local port
in shared memory, like the DomainServer does. As it spawns children,
it addes Nodes to the NodeList for each one. The children send status
updates to the Monitor. The Monitor will notice if there are no
spares and fork another child.
2015-02-19 17:44:06 -08:00
Stephen Birarda
758a552267
make sure the Agent has a SoundCache available
2015-02-18 09:59:33 -08:00
ZappoMan
1fc0225939
change ScriptCache and SoundCache to derive from Dependency
2015-02-13 15:33:41 -08:00
Atlante45
4ef87b9919
Merge branch 'master' of https://github.com/highfidelity/hifi into android
...
Conflicts:
interface/src/Application.cpp
interface/src/Application.h
interface/src/DatagramProcessor.cpp
interface/src/Menu.cpp
interface/src/ui/PreferencesDialog.cpp
interface/src/ui/Stats.cpp
libraries/audio-client/src/AudioClient.cpp
libraries/audio-client/src/AudioClient.h
2015-01-28 13:13:32 -08:00
Atlante45
4fce5113dd
Use DM to access AvatarHashMap/Manager
2015-01-23 11:50:27 -08:00
Atlante45
967028e5cf
Removed more QSettings references
2015-01-18 19:29:27 -08:00
Atlante45
7b5babb02a
Set AddressManager before NodeList
2015-01-14 15:46:33 -08:00
Atlante45
296c0025de
Switched to auto and changed macro
2014-12-18 15:42:38 -08:00
Atlante45
0bd9ed469e
Changed NodeList::getInstance() calls to use the DM
2014-12-17 15:28:25 -08:00
Stephen Birarda
f58d21d6f0
have ShutdownEventListener handle WM_CLOSE or SIGTERM
2014-12-11 10:21:11 -08:00
Stephen Birarda
59432e8d29
complete sharing of local domain-server port to local AC
2014-11-30 17:54:10 -08:00
Atlante45
1443cece5b
Fix singleton object created on temporary thread
2014-11-18 16:57:00 -08:00
Stephen Birarda
74753e5b8b
allow a blocking lookup of IP address in HifiSockAddr
2014-11-03 15:13:41 -08:00
Stephen Birarda
d3bbd251db
move Logging to LogHandler
2014-10-28 13:59:23 -07:00
Stephen Birarda
f19c5c9850
repair NetworkAccessManager returns, handle custom AS port in assignment-client
2014-10-06 14:57:38 -07:00
Andrew Meadows
be4ec8920d
reorderd init of data members in ctor
2014-09-05 16:58:25 -07:00
Ryan Huffman
38a14c3864
Reapply "Update assignment client to close on WM_CLOSE message on Windows"
...
This reverts commit a603453cf2
.
2014-09-05 11:19:36 -07:00
Leonardo Murillo
a603453cf2
Revert "Update assignment client to close on WM_CLOSE message on Windows"
2014-09-05 11:36:56 -06:00
Ryan Huffman
76bede04aa
Move stdout/err disabling to a library class
2014-09-03 07:06:08 -07:00