Zach Fox
19420a0ff2
Move static cert verify to properties
2017-10-30 17:01:55 -07:00
Zach Fox
3e139283ba
Remove unnecessary newlines
2017-10-23 17:31:21 -07:00
Zach Fox
97d44e62c8
Fix bugs
2017-10-23 16:52:32 -07:00
Zach Fox
53081b51a6
Clean up as much as possible
2017-10-23 16:00:39 -07:00
Zach Fox
74180bc4cd
Implement static cert verification correctly
2017-10-19 16:39:13 -07:00
Zach Fox
952160874c
Stringmatch Domain ID instead of placename for DVV
2017-10-18 11:21:03 -07:00
Zach Fox
e1b0e5a2dd
Move some include files around
2017-10-16 16:00:32 -07:00
Zach Fox
a4b8bf0be6
Bugfixes and CR
2017-10-16 15:33:10 -07:00
Zach Fox
960f1fbfe4
Still broken, but safer
2017-10-16 13:28:14 -07:00
Zach Fox
1400c66506
Be a bit more thorough
2017-10-12 16:58:48 -07:00
Zach Fox
d75c0a00bb
Closer than ever
2017-10-12 16:29:05 -07:00
Zach Fox
6a47884fcf
Cleanup and fix
2017-10-12 13:41:19 -07:00
Zach Fox
abe1cd1b51
Minor cleanup
2017-10-12 11:53:47 -07:00
Zach Fox
d8b84e6875
Minor cleanup
2017-10-11 13:26:32 -07:00
Zach Fox
1aaf1a19cd
Quick fix for printing
2017-10-11 13:22:59 -07:00
Zach Fox
f05c709693
Remove static certificate verification for now
2017-10-11 12:06:11 -07:00
Zach Fox
8d887caa5d
Make min and max dynamic verification times server settings
2017-10-09 11:37:02 -07:00
Zach Fox
c70ee6055f
Don't clear cert ID if static properties change; updates to DDV
2017-10-06 17:12:40 -07:00
Zach Fox
59a6726af6
Checkpoint; lotsa changes...
2017-10-06 16:55:05 -07:00
Zach Fox
f974672e7b
Working way better than I expected
2017-10-04 15:19:06 -07:00
Andrew Meadows
ad9a239b45
remove unused cruft
2017-09-29 11:34:36 -07:00
Andrew Meadows
86cbea73c8
less magic
2017-09-29 11:34:36 -07:00
Andrew Meadows
01304de8c2
indent switch statement, use const ref
2017-09-29 11:34:36 -07:00
Andrew Meadows
5dcd6bc496
namechange: apparentAngle --> angularDiameter
2017-09-29 11:34:35 -07:00
Andrew Meadows
1c30f7424e
remove cruft and add comments
2017-09-29 11:34:35 -07:00
SamGondelman
f7af581c71
track traversal time, rename entity server stat
2017-09-29 11:34:35 -07:00
Andrew Meadows
99265a5758
remove extra parens
2017-09-29 11:34:35 -07:00
Andrew Meadows
25d250898b
remove old debug info
2017-09-29 11:34:35 -07:00
Andrew Meadows
49e11d2173
fix Differential scan logic for LOD culling
2017-09-29 11:34:35 -07:00
SamGondelman
f2de03bc38
small fixes and LOD cull children instead of parent
2017-09-29 11:34:35 -07:00
SamGondelman
cbd20f89dd
separate elementBag logic from EntityTreeSendThread
2017-09-29 11:34:35 -07:00
SamGondelman
bf1065b56e
track encode stats
2017-09-29 11:34:35 -07:00
Andrew Meadows
a0f95ca5bd
swap order of evaluation for minor theoretical speedup
2017-09-29 11:34:35 -07:00
Andrew Meadows
3433c5c414
remove redundant boolean logic
2017-09-29 11:34:35 -07:00
SamGondelman
defed80be7
edited entities are not repeatedly sent if out of view, handles cases where usesViewFrustum changes
2017-09-29 11:34:34 -07:00
SamGondelman
7938e301e7
full scene traversal and json filters
2017-09-29 11:34:34 -07:00
SamGondelman
0ad5f47bfd
trying to fix entity editing bugs, needs testing
2017-09-29 11:34:34 -07:00
SamGondelman
6c066605cd
add state to entity tree send thread
2017-09-29 11:34:34 -07:00
Andrew Meadows
6edba6d545
erase in _entitiesInQueue when pop _sendQueue
2017-09-29 11:34:34 -07:00
Andrew Meadows
535d84abc7
cleanup and speed up repeat traversals
2017-09-29 11:34:34 -07:00
Andrew Meadows
b788273f47
fix repeat First traversals mid-First-traversal
2017-09-29 11:34:34 -07:00
Andrew Meadows
d54fa205fb
namechange entitiesToSend --> entitiesInQueue
2017-09-29 11:34:34 -07:00
SamGondelman
b85a5507e0
time budget and raw pointer key for entitiesToSend
2017-09-29 11:34:34 -07:00
Andrew Meadows
b6818c4369
first-pass sending entities from _sendQueue
2017-09-29 11:34:34 -07:00
Sam Gondelman
a32cc7f555
typo
2017-09-29 11:34:34 -07:00
SamGondelman
971f1e7924
put lodLevelOffset back
2017-09-29 11:34:34 -07:00
SamGondelman
1930c8f215
only resort if view changed
2017-09-29 11:34:34 -07:00
SamGondelman
18f88a5a64
keep track of readded entities in a set to avoid rechecking them, compute priority early
2017-09-29 11:34:34 -07:00
SamGondelman
9fb7eb4ba6
resort _sendQueue when previous view didn't finish
2017-09-29 11:34:34 -07:00
Andrew Meadows
4f50b5755f
remove crufty argument
2017-09-29 11:34:34 -07:00
SamGondelman
bb5368eb55
use correct rootSizeScale
2017-09-29 11:34:33 -07:00
SamGondelman
b0f30acce2
use cube instead of entityBounds
2017-09-29 11:34:33 -07:00
SamGondelman
4c8f683479
entity too small checks
2017-09-29 11:34:33 -07:00
Andrew Meadows
e114fa1b82
fix debug traversal repeat logic
2017-09-29 11:34:33 -07:00
Andrew Meadows
3e50d01734
more correct handling of LOD
2017-09-29 11:34:33 -07:00
Andrew Meadows
0758b60afc
abstract DiffTraversal out of EntityTreeSendThread
2017-09-29 11:34:33 -07:00
Andrew Meadows
5fba4cb68c
fix warning about truncation from double to float
2017-09-29 11:34:33 -07:00
Andrew Meadows
b537d3b1ee
more helpful comments
2017-09-29 11:34:33 -07:00
Andrew Meadows
3eb9cd4251
add TODO comments
2017-09-29 11:34:33 -07:00
Andrew Meadows
abf968aab6
split EntityPriorityQueue stuff into separate file
2017-09-29 11:34:33 -07:00
Andrew Meadows
64cd209835
debug traverse again every two seconds
2017-09-29 11:34:33 -07:00
Andrew Meadows
a4564f89d7
traversals work and cull checks of unchanged content
2017-09-29 11:34:33 -07:00
Andrew Meadows
91908ca3da
moved TreePathTraversal logic into EntityTreeSendThread
2017-09-29 11:34:33 -07:00
Andrew Meadows
bf27412091
cleanup
2017-09-29 11:34:33 -07:00
Andrew Meadows
64fa3ec88f
repeated and differential view traversals work
2017-09-29 11:34:33 -07:00
Andrew Meadows
648b8ff054
fix repeated and differential traversals
2017-09-29 11:34:33 -07:00
Andrew Meadows
929d52276e
minor cleanup
2017-09-29 11:34:33 -07:00
Andrew Meadows
7edd99ca0b
add basics for send queue and tree traversal
2017-09-29 11:34:32 -07:00
Andrew Meadows
3ae5c215ba
stub EntityTreeSendThread::traverseTreeAndSendContents()
2017-09-29 11:34:32 -07:00
Atlante45
aa306c3450
Fix debug asserts on shutdown
2017-07-07 17:01:07 -07:00
Thijs Wenker
93679f7c3b
move the ResourceManager init back to where it was, to prevent problems
2017-06-29 00:52:51 +02:00
Seth Alves
794495c197
make ResourceManager be owned by DependencyManager
2017-06-28 14:18:14 -07:00
Brad Davis
fece438602
Cleanup and refactoring
2017-06-15 18:58:56 -07:00
Stephen Birarda
4ece56b673
spacing cleanup in EntityTreeSendThread
2017-02-16 16:46:09 -08:00
Stephen Birarda
fe11a945ef
remove debug from EntityTreeSendThread
2017-02-16 16:46:09 -08:00
Stephen Birarda
9d336a84ab
force a full scene send for new ancestors/descendants
2017-02-16 16:46:09 -08:00
Stephen Birarda
a3883a746c
add the basic structure for inclusion of ancestors/descendants in ESS queries
2017-02-16 16:46:09 -08:00
David Kelly
342584b2a8
Filter failure mode updated
...
The decision here is that all failed filters (syntax errors, 404s,
bad urls etc...) lock out all edits for those without lock rights.
If it is the domain-wide one, then that applies to entire domain.
If a zone filter, then that applies to all edits in that zone.
Also - zone filters don't apply to the zone itself. Other zone filters
whose zones lie within that zone _do_ apply, in addition to the global
one.
2017-02-14 13:05:12 -07:00
David Kelly
590cf6d798
whitespace
2017-02-13 12:20:47 -07:00
David Kelly
2996298e79
First bit of cleanup
...
consolidate to one map, some minor other cleaning. More coming.
2017-02-10 14:57:09 -07:00
David Kelly
cf780b3b73
fixed persist issue, working much better
2017-02-10 11:42:56 -07:00
David Kelly
8d666854c7
working it seems
...
But, AABox for zones isn't very helpful (box is _small). Time to use
the shape of the zone.
2017-02-09 15:39:38 -07:00
David Kelly
ff7c9d3546
Working like before
...
Single entity script running properly. Now, need to add the zone
filters and execute them.
2017-02-08 15:36:16 -07:00
howard-stearns
8b44e83d9e
Add new EntityPhysics packet type.
2017-02-06 11:11:18 -08:00
howard-stearns
93414d802d
fetch entity filter script asynchronously (but reject edits while waiting)
2017-01-30 11:06:36 -08:00
howard-stearns
673ac5680f
add debug logging to entity server startup in the case of having a filter
2017-01-27 15:40:17 -08:00
howard-stearns
f9f0a4ea2d
fix startup-failure case
2017-01-26 14:05:16 -08:00
howard-stearns
9cbc4fd1b9
Merge branch 'master' of https://github.com/highfidelity/hifi into entity-filter-resource
2017-01-25 16:23:52 -08:00
howard-stearns
b62f3e550a
error check/log on execution, too
2017-01-25 16:23:07 -08:00
howard-stearns
34e9c5debc
initial script error checking
2017-01-25 14:56:06 -08:00
howard-stearns
df91ef5f5f
blocking fetch of http scripts
2017-01-25 14:22:42 -08:00
howard-stearns
8eff3b1e83
restructure initialization so that server can do server-like things to get
...
the filter program from file
2017-01-24 16:14:41 -08:00
Ryan Huffman
8a691e8340
Remove AvatarHashMap from EntityServer
2017-01-20 11:44:32 -08:00
Ryan Huffman
89e6e10c1d
Add AvatarHashMap to EntityScriptServer
2017-01-20 11:17:10 -08:00
Stephen Birarda
112b119f17
send entities that just stopped matching filter
2017-01-18 14:58:36 -08:00
Atlante45
1212fefa61
Check for avatar collision in assignment as well
2017-01-17 13:47:45 -08:00
howard-stearns
f6446c6806
minimum entity edit filter
2017-01-13 13:18:24 -08:00
Brad Hefta-Gaub
8758e4a9ba
add support for whitelist entity scripts
2016-11-09 19:17:24 -08:00
Seth Alves
87dbfa7e47
add -Wsuggest-override to compile flags and deal with fallout
2016-08-18 09:51:41 -07:00
Seth Alves
bade215907
maximum 'tmp' entity lifetime is now a domain-server setting, defaults to 1 hour
2016-06-09 10:41:30 -07:00