Atlante45
277e556b48
Create a standard function to init Hifi Apps
2018-02-22 17:06:09 -08:00
Atlante45
80c0f2a21e
Fix crash when passing --checkMinSpec flag
...
That flag caused a DLL to be loaded before Application was
instanced.
This triggers a Qt bug inside Q_COREAPP_STARTUP_FUNC that causes
the previous registration pointing the startup function in
the main executable to be overridden with the address of the
function in the DLL (Since they both link the same static
library)
This leads to the correct function running in the wrong address
space (the DLLs), hence not initializing some global variables
correctly.
2018-02-22 16:29:38 -08:00
Atlante45
3035d43772
Merge branch 'master' of https://github.com/highfidelity/hifi into fix/settings
2016-11-21 13:05:08 -08:00
Atlante45
ae29fe8ab2
Logging improvements
2016-11-04 14:26:19 -07:00
Atlante45
36bd9ef4e6
Update new ACClientApp code
2016-10-12 14:02:05 -07:00
Atlante45
db18d188b8
Fix wifi ping spikes
...
Moves the setting of Qt's bearer poll timeout earlier to be sure
it's caught.
2016-01-21 15:05:32 -08:00
Stephen Birarda
fe2775ca94
print out state before wait
2015-05-08 15:10:37 -07:00
Stephen Birarda
15fdcb4fe0
fix non-block, add exit code debug
2015-05-08 15:09:11 -07:00
Stephen Birarda
692c3497cd
return the actual exit code from the application
2015-05-08 14:45:46 -07:00
Seth Alves
89ebb45c03
Revert "Merge pull request #4332 from birarda/master"
...
This reverts commit 3230857b0d
, reversing
changes made to 1b669af79d
.
2015-02-24 17:09:05 -08:00
Stephen Birarda
09ffcbb2e8
Revert "Merge pull request #4324 from sethalves/assignment-client-keep-a-spare"
...
This reverts commit 087e2babde
, reversing
changes made to 5202d2136a
.
2015-02-24 12:30:40 -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
d3bbd251db
move Logging to LogHandler
2014-10-28 13:59:23 -07:00
Atlante45
8b4a910040
Fix timestamp timer not fired
2014-04-25 12:19:18 -07:00
Atlante45
3eeb3a539d
Fixed lack of resolution in usecTimestampNow()
2014-04-22 11:48:43 -07:00
Stephen Birarda
684c6b5372
run regex header replacement on all cpp files
2014-04-09 09:35:42 -07:00
ZappoMan
9c7ffffbae
fix some windows issues
...
Conflicts:
assignment-client/src/audio/AudioMixer.cpp
2014-03-23 18:10:22 -07:00
Stephen Birarda
ceb8ca7a23
changes to AssignmentClient architecture to fix fork behaviour
2014-01-10 16:59:01 -08:00
Stephen Birarda
c3b6a7b24c
setup subclass for threaded assignments
2013-12-03 10:22:13 -08:00
Stephen Birarda
49191826af
add check for pending datagrams before read
2013-12-02 14:08:49 -08:00
Stephen Birarda
141394a664
replace UDPSocket with QUDPSocket
2013-12-02 13:34:29 -08:00
Stephen Birarda
7e1a823a25
add AssignmentClient to be correct subclass of QCoreApplication
2013-11-25 16:39:33 -06:00
Stephen Birarda
ce52395a08
actually create the QCoreApplication instance
2013-11-07 15:06:11 -08:00
Stephen Birarda
9aacda7d56
fix for AC lack of QCoreApplication
2013-11-07 14:34:01 -08:00
Stephen Birarda
fe962e6be1
only call deleteLater for linkedData if we have a QCoreApplication instance
2013-11-07 12:38:28 -08:00
Stephen Birarda
1eba133a6d
use char array of static length for pool
2013-10-22 13:35:26 -07:00
Stephen Birarda
b4a2214d26
add notion of pool back to assignment
2013-10-22 11:43:06 -07:00
Stephen Birarda
fa146e302d
remove 16-bit node IDs and replace with UUIDs
2013-10-17 11:49:41 -07:00
Stephen Birarda
a07b673f69
beginning of hook of AudioInjector into JS
2013-10-03 11:41:45 -07:00
Stephen Birarda
bb0d28141a
use libcurl to download JS in forked ACs
2013-10-01 11:41:01 -07:00
Stephen Birarda
04c4dabd3d
unblock socket receive in Agent, add destructive voxel add to VS scripting
2013-09-20 14:35:25 -07:00
Stephen Birarda
23e7278be5
re-use the check in packet sent to the domain-server, allow reset
2013-09-19 12:58:48 -07:00
Stephen Birarda
7b498edcbc
remove attached public and local sockets, fully allow custom port
2013-09-18 17:03:14 -07:00
Stephen Birarda
ab85c4109d
use QHostInfo and QHostAddress for DS changes in NodeList
2013-09-18 13:29:53 -07:00
Stephen Birarda
7220643fe9
default AC to point to DS on localhost and default port
2013-09-18 12:04:09 -07:00
Stephen Birarda
f0b834881b
de-refs assignments for proper logging
2013-09-18 10:59:52 -07:00
ZappoMan
49c4075277
Merge branch 'master' of https://github.com/worklist/hifi into multi_VS_assigments
2013-09-17 16:00:32 -07:00
Stephen Birarda
8bb77ecc9e
type squish for deployed assignment
2013-09-17 15:23:49 -07:00
Stephen Birarda
d830351ed6
make the assignment targets subclasses of Assignment for access to UUID
2013-09-17 14:54:58 -07:00
ZappoMan
2388cfc8e0
first cut at making VoxelServer class run with configuration or standalone
2013-09-17 14:33:31 -07:00
Stephen Birarda
2cfa45e4f8
allow the assignment-client to specify the type of assignment it desires
2013-09-17 12:09:10 -07:00
Stephen Birarda
74a0b8a7b5
resolve conflicts on merge with upstream master
2013-09-17 11:50:30 -07:00
Stephen Birarda
17fda717fe
move audio and avatar classes into assignment-client target
2013-09-17 11:04:46 -07:00
ZappoMan
92fb393e14
allow standalone voxel-server to specify port and domain, add VoxelServerType to assignment-client
2013-09-16 19:34:07 -07:00
Stephen Birarda
d089991237
add handling of Agent assignments to Assignment, DS, AC
2013-09-13 11:14:00 -07:00
Stephen Birarda
8d7b4ab321
add debugging for assignment send and remove a useless cast
2013-09-12 17:37:37 -07:00
Stephen Birarda
dfede2b947
rename direction to command for assignment
2013-09-11 14:43:37 -07:00
Stephen Birarda
b7aa49cf97
have DS act as AS and hand assignments directly
2013-09-11 12:16:47 -07:00
Stephen Birarda
e53807ca82
store an attached local and public socket with assignment
2013-09-09 17:29:33 -07:00
Stephen Birarda
93ca5278da
cleanup is assignment-client destination socket handling
2013-09-09 16:47:48 -07:00