Stephen Birarda
4e0bb94cdd
fix for double ICE connect attempts from domain-server
2014-10-03 15:25:47 -07:00
Stephen Birarda
52ec949aac
Merge branch 'master' of https://github.com/highfidelity/hifi into domain-tunnel
2014-10-03 11:26:23 -07:00
Stephen Birarda
ea0a1a4fb6
don't store domain hostname, leverage AddressManager only
2014-10-03 10:46:05 -07:00
Stephen Birarda
96aacab8ab
load Address from settings to get back to domain and path
2014-10-03 10:42:15 -07:00
Stephen Birarda
f27105100a
have AddressManager know its current domain and current path
2014-10-03 10:29:02 -07:00
Stephen Birarda
cb6e420392
fix for peer addition from ice-server
2014-10-03 09:50:58 -07:00
Stephen Birarda
55a7180838
re-send heartbeat to ICE server after max connection attempts
2014-10-03 09:47:15 -07:00
Stephen Birarda
d9e0c91e02
remove a peer in domain-server after max connection attempts
2014-10-03 09:45:44 -07:00
Stephen Birarda
63024663b2
don't require settings request for agent nodes
2014-10-03 09:37:13 -07:00
Stephen Birarda
c96e7f72f8
use the ice server sock addr returned for the domain
2014-10-03 09:31:38 -07:00
Stephen Birarda
720f8ecae8
handle case where access_token is empty
2014-10-03 09:08:27 -07:00
Stephen Birarda
49d081088a
mode nodes to connected hash upon ping reply receipt
2014-10-03 08:58:03 -07:00
Stephen Birarda
5786d828a0
pass ICE client ID through to domain-server for identification
2014-10-02 17:30:48 -07:00
Stephen Birarda
0d4ef4aaca
ping connecting ICE peers from domain-server
2014-10-02 17:18:05 -07:00
Stephen Birarda
63877b0756
handle domain connection via ICE from NodeList
2014-10-02 16:51:12 -07:00
Stephen Birarda
c7aaf0ce4a
handle ping out from node requiring ice connection to domain
2014-10-02 16:24:46 -07:00
Stephen Birarda
c36774e85d
handle ice response packet in domain handler
2014-10-02 16:05:15 -07:00
Stephen Birarda
956c212db2
manage sets of potential connections in ice server
2014-10-02 15:24:23 -07:00
Stephen Birarda
d26a94f84c
remove inactive peers from memory in IceServer
2014-10-02 15:00:59 -07:00
Stephen Birarda
970ba2296a
initial response from ice server to nodes
2014-10-02 14:50:48 -07:00
Stephen Birarda
6425276eb0
have domain-server using full networking heartbeat with ice-server
2014-10-02 14:33:39 -07:00
Stephen Birarda
262054d0eb
handle ICE requirement in address manager response
2014-10-02 14:18:17 -07:00
Stephen Birarda
11659401ee
add an identifier for repeated requests to the ice server
2014-10-02 13:47:53 -07:00
Stephen Birarda
cca1c30207
build out more of the ice-server, make connect requests from NodeList
2014-10-02 13:39:58 -07:00
Stephen Birarda
e0a721209a
add a Node superclass to handle P2P connection
2014-10-02 09:55:00 -07:00
Stephen Birarda
15156519b3
Merge branch 'master' of https://github.com/highfidelity/hifi into domain-tunnel
2014-10-01 16:19:16 -07:00
Andrzej Kapolka
1ca212f43d
Merge branch 'master' of https://github.com/highfidelity/hifi into metavoxels
2014-10-01 11:55:27 -07:00
Stephen Birarda
ac4a767d60
include memory for auto_ptr
2014-09-30 15:25:40 -07:00
Stephen Birarda
cd9029bb92
add some debug to NodeList instance refresh
2014-09-30 14:59:12 -07:00
Stephen Birarda
9950ed9f9f
use auto_ptr in NodeList and LimitedNodeList for cleaner mem management
2014-09-30 14:57:32 -07:00
Andrzej Kapolka
70847ff3f9
Allow painting boxes that aren't grid-aligned; merged color and material
...
tools.
2014-09-30 14:53:19 -07:00
Stephen Birarda
fed7dad2b6
use an auto_ptr to be able to reset the AccountManager
2014-09-30 14:36:32 -07:00
Stephen Birarda
3969c8bfe0
don't allow a username and password for domain auth, require access token
2014-09-30 12:23:04 -07:00
Andrzej Kapolka
001af5f982
Simplify the message situation by removing color-only edits.
2014-09-30 12:17:35 -07:00
Stephen Birarda
3cbfad69cd
fix indentation issues for merged AddressBarDialog classes
2014-09-26 14:32:59 -07:00
stojce
c14bf84af8
layout fix
2014-09-24 00:14:00 +02:00
stojce
5a7b7cca44
Add finish lookup event
2014-09-23 11:32:16 +02:00
stojce
466dbdcee5
added address bar dialog
2014-09-22 20:51:19 +02:00
Stephen Birarda
a0675162b6
hook My Locations to data-web dialog
2014-09-18 09:35:33 -07:00
Stephen Birarda
e2c3b626b3
add a DataWebDialog for authenticated access to data-web html
2014-09-18 09:05:25 -07:00
Stephen Birarda
9ee063bdc1
remove the access token from API urls and put in Authorization header
2014-09-17 16:00:20 -07:00
Craig Hansen-Sturm
7b3f61ddc2
Merge pull request #3428 from ZappoMan/sendPositonOrientationInSilentPackets
...
Send positon orientation in silent packets
2014-09-16 13:39:06 -07:00
ZappoMan
9cbc53abc3
pack position and orientation in silent frames
2014-09-16 13:06:46 -07:00
Stephen Birarda
885030a10c
handle receipt of new public socket and propogation to data-server
2014-09-16 12:37:22 -07:00
Stephen Birarda
866f2005bd
handle case where a location should be faced
2014-09-16 10:08:21 -07:00
Stephen Birarda
0033dfe5af
use quat orientation to store locations and user locations
2014-09-16 09:57:21 -07:00
Stephen Birarda
4cef21aa4f
don't prepend relative paths with hifi scheme
2014-09-16 09:14:06 -07:00
Stephen Birarda
3b21348a63
make sure AddressManager signal is connected to before file event
2014-09-12 15:22:51 -07:00
Stephen Birarda
29dae39ad7
handle location lookup for offline user or not found
2014-09-12 15:01:08 -07:00
Philip Rosedale
3fbe183196
Merge pull request #3402 from ZappoMan/stretchableEntities
...
New Entities Features
2014-09-12 13:57:45 -07:00
Stephen Birarda
f0ead98a2a
put back LocationScriptingInterface so it works prior to replacement
2014-09-12 13:28:18 -07:00
Stephen Birarda
892e0e7cbf
fix node auth url, NAN break on windows
2014-09-12 11:43:50 -07:00
Stephen Birarda
88a75a3585
fix for goToUser from ChatWindow
2014-09-12 11:27:54 -07:00
Stephen Birarda
1084483dd5
fix for default param of default constructed quat
2014-09-12 11:22:34 -07:00
Stephen Birarda
93ff34baaa
force address bar lookup through handleLookupString
2014-09-12 11:21:38 -07:00
Stephen Birarda
ab7df8679d
fix broken hifi linking
2014-09-12 11:19:22 -07:00
Stephen Birarda
1f2020d169
some url handling repairs, move existing error reply handlers to new format
2014-09-12 10:13:33 -07:00
Stephen Birarda
745edb8b0a
fix error handling for location naming
2014-09-12 09:10:47 -07:00
ZappoMan
024f1b47c2
Merge branch 'master' of https://github.com/highfidelity/hifi into stretchableEntities
...
Conflicts:
interface/src/entities/RenderableBoxEntityItem.cpp
interface/src/entities/RenderableModelEntityItem.cpp
libraries/entities/src/EntityTreeElement.cpp
libraries/shared/src/Extents.h
2014-09-12 08:18:09 -07:00
Stephen Birarda
b56ea5c936
centralize path creation from position and orientation to AddressManager
2014-09-11 17:17:47 -07:00
Stephen Birarda
23a0ef2de1
remove some spacing in AddressManager
2014-09-11 12:13:13 -07:00
Stephen Birarda
6d21c4bf0d
make lookup for hostnames case insensitive
2014-09-11 11:07:42 -07:00
Stephen Birarda
684aa97b98
add port parsing for domain hostname in address bar
2014-09-11 11:00:24 -07:00
Stephen Birarda
aaabe6b1e1
handle domain changes via address bar
2014-09-11 10:45:45 -07:00
Stephen Birarda
71f2c0b542
initial addition of the AddressManager with location switch hooked up
2014-09-11 10:14:00 -07:00
Stephen Birarda
ee6a90dd54
allow domain to pass down its ID from config
2014-09-10 15:13:02 -07:00
wangyix
7a2897fb6b
fixes/patches for win32/vs2013 startup and shutdown
2014-09-10 12:24:59 -07:00
ZappoMan
b78b8ccbb0
first cut at replacing radius with dimensions
2014-09-09 13:33:05 -07:00
ZappoMan
f234dbf9a1
converting voxel files to new versioned format with buffer breaks
2014-09-05 10:51:08 -07:00
Stephen Birarda
e338c600c3
add debug to show that domain connection is being attempted
2014-09-04 09:29:29 -07:00
ZappoMan
0acbefb6a2
fix but in getMyChildContaining and performance improvement to moving entities
2014-09-03 08:06:42 -07:00
ZappoMan
2bcad6ab2b
Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
...
Conflicts:
assignment-client/src/Agent.cpp
examples/editModels.js
2014-08-28 21:19:56 -07:00
Craig Hansen-Sturm
e941e58626
merge HEAD with PR-3281
2014-08-26 18:25:40 -07:00
Andrzej Kapolka
2dfabdfe64
Support for scaling splat textures in S and T, use mipmaps for them.
2014-08-22 16:43:09 -07:00
Andrzej Kapolka
e9e3671710
Increment the version number.
2014-08-21 18:14:10 -07:00
ZappoMan
3a5a38c342
support chunk sizes in SVO file, allows for chunk based reading of SVO file and fixes issues with entities spanning chunks in file
2014-08-19 10:53:45 -07:00
ZappoMan
32d5eb3cea
Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
...
Conflicts:
assignment-client/CMakeLists.txt
interface/CMakeLists.txt
libraries/entities/CMakeLists.txt
libraries/models/src/ModelEditPacketSender.cpp
libraries/models/src/ModelEditPacketSender.h
libraries/models/src/ModelItem.cpp
libraries/models/src/ModelItem.h
libraries/octree/src/OctreeEditPacketSender.cpp
libraries/octree/src/OctreeEditPacketSender.h
libraries/octree/src/OctreePacketData.h
libraries/octree/src/OctreeQuery.cpp
libraries/particles/src/ParticleEditPacketSender.cpp
libraries/particles/src/ParticleEditPacketSender.h
libraries/script-engine/CMakeLists.txt
tests/octree/CMakeLists.txt
2014-08-18 15:16:35 -07:00
AndrewMeadows
4b7208ac53
Merge pull request #3280 from huffman/19907
...
Code Review for Job #19907
2014-08-18 10:20:01 -07:00
Stephen Birarda
c58bae9021
attempt to change buffers to 1MB only
2014-08-14 14:27:09 -07:00
Stephen Birarda
1e65a093f2
decouple audio-mixer packet receipt from main thread
2014-08-14 12:37:57 -07:00
Stephen Birarda
64c11ebf8f
don't change the socket buffer sizes if it is already larger
2014-08-14 10:36:54 -07:00
Stephen Birarda
ec260dbab2
change both send and receive socket buffers
2014-08-13 15:50:11 -07:00
ZappoMan
49e616dd49
first cut at using erase entity message to delete entities
2014-08-13 14:11:56 -07:00
wangyix
db0fbcab97
merge with upstream
2014-08-13 11:09:55 -07:00
wangyix
184e4b8bde
sestets added to jitter tester
2014-08-12 14:38:28 -07:00
Philip Rosedale
0e72c6a0b6
Merge pull request #3269 from ey6es/metavoxels
...
Script access for heightfield heights, ray intersection against heightfields, basic color and height brush tools.
2014-08-12 00:40:14 -07:00
Ryan Huffman
cb76e3ead0
Merge branch 'master' of github.com:highfidelity/hifi into 19907
2014-08-11 18:44:31 -07:00
Ryan Huffman
d1672b510d
Add DomainHandler::disconnectedFromDomain signal
2014-08-11 18:41:07 -07:00
AndrewMeadows
e5c2a099b8
Merge pull request #3268 from birarda/take-out-the-trash
...
cmake (in)sanity
2014-08-11 09:15:38 -07:00
ZappoMan
275a5c4a47
Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
2014-08-08 15:13:55 -07:00
ZappoMan
027b1d58cc
Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
...
Conflicts:
interface/src/Application.h
interface/src/entities/EntityTreeRenderer.h
interface/src/models/ModelTreeRenderer.cpp
libraries/models/src/ModelItem.h
libraries/models/src/ModelTree.h
2014-08-08 14:26:56 -07:00
Andrzej Kapolka
468a3d4d67
Bump up the packet version.
2014-08-08 14:18:32 -07:00
wangyix
0dfe0b1f2a
merged with master
2014-08-08 13:32:27 -07:00
Stephen Birarda
d8dadc3199
link the socket library to the hifi networking library
2014-08-08 13:31:09 -07:00
Stephen Birarda
b1310c065c
remove TARGET_NAME from cmake macros where it is not required
2014-08-08 13:17:54 -07:00
Stephen Birarda
26f7b1ba62
add macro to link shared dependencies to target
2014-08-08 13:17:54 -07:00
Stephen Birarda
c9f8433a2d
tweak setup_hifi_library to bubble up full path of Qt modules
2014-08-08 13:17:54 -07:00
Stephen Birarda
17df6484d4
remove ssize_t and replace with size_t or int where appropriate
2014-08-08 13:17:53 -07:00
Stephen Birarda
93b6f167f5
change more CMakeLists to use simplified hifi library linker
2014-08-08 13:17:53 -07:00
Stephen Birarda
892e30c5e1
get past assignment-client build after cmake auditing
2014-08-08 13:17:53 -07:00
Stephen Birarda
b5c8a4d2c6
fix requirement of networking in audio library
2014-08-08 13:17:52 -07:00
Stephen Birarda
fa26957b23
more CMakeLists cleanup for sub-dependencies
2014-08-08 13:17:52 -07:00
Stephen Birarda
33e5826842
remove animation server, bubble up qt modules
2014-08-08 13:17:52 -07:00
Stephen Birarda
45afce48f7
remember old session UUID in AvatarHashMap to work around ghosting
2014-08-08 13:14:03 -07:00
Philip Rosedale
d552b7ca97
Merge pull request #3246 from wangyix/inbound_audio_stream
...
Improved SequenceNumberStats handling of out-of-sync seq nums
2014-08-04 14:30:45 -07:00
ZappoMan
3a8c5018ee
Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
...
Conflicts:
interface/src/Application.h
libraries/entities/src/EntityTreeElement.h
libraries/models/src/ModelItem.cpp
libraries/models/src/ModelItem.h
libraries/models/src/ModelTree.cpp
libraries/models/src/ModelTree.h
libraries/models/src/ModelTreeElement.cpp
libraries/networking/src/PacketHeaders.h
libraries/octree/src/OctreeEditPacketSender.cpp
libraries/octree/src/OctreeEditPacketSender.h
2014-08-04 12:01:23 -07:00
wangyix
d394c203b6
improved re-sync handling of SequenceNumberStats
...
removed "duplicate" category since it's not 100% accurate
2014-08-04 11:09:20 -07:00
Philip Rosedale
69558dc574
Merge pull request #3245 from wangyix/inbound_audio_stream
...
Improved SequenceNumberStats
2014-08-04 07:49:31 -07:00
Philip Rosedale
321b8de898
Merge pull request #3230 from Barnold1953/rockPaperScissors
...
Rock Paper Scissors CA script
2014-08-03 13:03:11 -07:00
wangyix
99df05f770
forgot member in reset()
2014-08-01 16:54:29 -07:00
wangyix
1d74ae8197
code cleanup
2014-08-01 16:49:21 -07:00
wangyix
fc670d9edb
minor threshold change
2014-08-01 16:44:01 -07:00
wangyix
f9ec7b6c18
redesiged SequenceNumberStats child instance handling
2014-08-01 16:13:52 -07:00
wangyix
eba07b03e2
recursive SequenceNumberStats; untested
2014-08-01 12:00:41 -07:00
wangyix
e1f905cb36
fixed >100% loss rate bug in SequenceNumberStats
2014-08-01 10:27:51 -07:00
Stephen Birarda
6024b90932
remove extra debug line
2014-07-31 14:08:52 -07:00
Stephen Birarda
8986e62b8a
add distinction between hard reset and soft reset for DomainHandler
2014-07-31 14:08:25 -07:00
Stephen Birarda
adcf45583e
clear domain settings on NodeList reset
2014-07-31 14:06:43 -07:00
Stephen Birarda
3c459d8460
fix include of tgmath for windows
2014-07-31 11:12:41 -07:00
Stephen Birarda
e1ba076a71
complete redemption of signed transactions from octree server
2014-07-31 11:03:12 -07:00
ZappoMan
77e1867b11
Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
...
Conflicts:
assignment-client/src/Agent.cpp
assignment-client/src/Agent.h
examples/editModels.js
interface/src/Application.h
2014-07-31 10:34:23 -07:00
barnold1953
2c04963242
Merge branch 'master' of https://github.com/highfidelity/hifi into rockPaperScissors
2014-07-31 10:16:35 -07:00
Stephen Birarda
453c37f4b9
Merge branch 'master' of https://github.com/highfidelity/hifi into domain-server-auth
2014-07-31 10:05:40 -07:00
Stephen Birarda
eadae8ed1a
allow unauthenticated redemptions of signed transactions from octree server
2014-07-31 10:05:26 -07:00
Stephen Birarda
ce4336894a
actually send signed transaction from PaymentManager
2014-07-31 09:26:18 -07:00
Brad Hefta-Gaub
d4d4069f11
Merge pull request #3225 from birarda/master
...
cmake file cleanup to suppress warnings on cmake 3.0
2014-07-30 19:20:18 -07:00
Stephen Birarda
363cef6d8a
move satoshi costs to VoxelEditPacketSender
2014-07-30 17:33:37 -07:00
Stephen Birarda
04effabe48
Merge branch 'master' into domain-server-auth
2014-07-30 17:14:03 -07:00
Stephen Birarda
2796f71419
library cleanup to suppress warnings on cmake 3.0
2014-07-30 15:06:15 -07:00
wangyix
af5eedb50e
fixed sequenceNumberStats sender changed msgs
2014-07-30 11:39:29 -07:00
Stephen Birarda
2c8808e922
repairs to cost calculations for voxels
2014-07-30 09:45:33 -07:00
Stephen Birarda
9dbe74b02f
parse voxel costs to the DomainHandler object
2014-07-29 17:22:17 -07:00
Stephen Birarda
85b8449e83
use two different signals for settings success and failure
2014-07-29 11:17:27 -07:00
wangyix
4825457f4d
silent audio packet type generalized
2014-07-28 16:49:53 -07:00
Stephen Birarda
84b86c17b7
use common settings retreival code to block before run in AudioMixer
2014-07-28 15:16:59 -07:00
Stephen Birarda
dbf41c8a42
allow domain-server to serve settings publicly, fix retry in DomainHandler
2014-07-28 14:56:26 -07:00
ZappoMan
805a88b73b
Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
...
Conflicts:
examples/editModels.js
interface/src/entities/EntityTreeRenderer.h
libraries/models/src/ModelsScriptingInterface.cpp
libraries/script-engine/src/ScriptEngine.cpp
2014-07-28 13:39:35 -07:00
Stephen Birarda
6334116070
request domain settings after successful connection to domain
2014-07-28 12:07:19 -07:00
barnold1953
814dd0fcb6
Fixed another crash relating to undo stack. Made script support the
...
VoxelViewer
2014-07-18 11:37:13 -07:00
Stephen Birarda
5cad6edb38
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-07-17 14:06:11 -07:00
Brad Hefta-Gaub
437e3efbc2
Merge pull request #3179 from wangyix/quick_audio_PR
...
Lost audio packets are replaced with silent frames in AudioMixer; AudioMixer silent-packet-dropping now enabled no matter what; Moving avg of audio frames available replaces _currentJitterBufferFrames
2014-07-17 11:44:05 -07:00
Stephen Birarda
45ae9f614d
add dialog to Menu to insert wallet private key
2014-07-17 11:43:30 -07:00
Stephen Birarda
0c8c4a2cf9
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-07-17 11:08:35 -07:00
Stephen Birarda
cb9a2c615e
use OpenSSL to create signed wallet transaction using hard-code key
2014-07-16 15:44:49 -07:00
wangyix
6764ace8eb
droppable silent packets are added for dropped packets;
...
_currentJitterBufferFrames replaced with moving average of frames
available. Downstream framesAvailable stat now includes the frames in
QAudioOutput as well as the ringbuffer.
2014-07-16 14:41:24 -07:00
Stephen Birarda
74a107f9f4
initial rev of SignedWalletTransaction that creates a message
2014-07-16 12:26:24 -07:00
Atlante45
5dca794322
On/Off for activity logger
2014-07-16 12:22:27 -07:00
ZappoMan
1eb472c43a
Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
2014-07-15 10:05:06 -07:00
ZappoMan
2baac96665
Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
...
Conflicts:
examples/sit.js
interface/src/Application.cpp
libraries/models/src/ModelItem.cpp
libraries/models/src/ModelsScriptingInterface.cpp
2014-07-15 10:04:40 -07:00
Leonardo Murillo
6bf06989db
Adding place/user go to logging
2014-07-14 15:24:47 -06:00
wangyix
25f4f63a1e
added window PacketStreamStats to AudioStreamStats
2014-07-10 16:42:23 -07:00
wangyix
01f10024ae
all stats added, needs testing; created PacketStreamStats struct
2014-07-09 18:13:33 -07:00
wangyix
81e168f657
added RingBufferHistory template class, used it in SentPacketHistory and MovingMinMaxAvg
2014-07-09 15:38:03 -07:00
wangyix
d03d3ef817
new auidostreamstats displayed in interface, domain page stats updated
2014-07-09 11:59:50 -07:00
ZappoMan
e800d5457b
Merge branch 'master' of https://github.com/worklist/hifi into virtualEntities
2014-07-08 13:02:31 -07:00
Atlante45
8382f764cd
Got rid of unneccessary Q_DISABLE_COPY()
2014-07-07 12:15:55 -07:00
Atlante45
982a50dbcf
Remove multithread access from NetworkAccessManager for the time being
2014-07-07 11:33:54 -07:00
Atlante45
b0e83c32ff
Hopeful fix to ACs crash
2014-07-03 18:17:01 -07:00
Atlante45
8e1b8334a1
Fixed invokeMethod unable to find method + fixed children in different thread
2014-07-03 14:46:17 -07:00
ZappoMan
ec0c350f60
Merge branch 'master' of https://github.com/worklist/hifi into virtualEntities
...
Conflicts:
interface/src/Application.cpp
interface/src/DatagramProcessor.cpp
libraries/script-engine/src/ScriptEngine.cpp
2014-07-03 14:20:40 -07:00
Brad Hefta-Gaub
dbdce32b68
Merge pull request #3107 from wangyix/master
...
prune missing sequence numbers before sending NACK; AudioRingBuffer frame length can now be specified;
2014-07-03 13:32:31 -07:00
wangyix
a2451a9651
moved and updated a comment in SequenceNumberStats
2014-07-03 10:41:54 -07:00
wangyix
059628c26a
fixed bug in SequenceNumberStats and its unit test; test passes now
2014-07-03 10:37:09 -07:00
Brad Hefta-Gaub
1b29b7c120
Merge pull request #3114 from Atlante45/deleted_user_activity_logger_unnecessary_callback
...
Removed json callback
2014-07-02 21:45:19 -07:00
Atlante45
1815472c6b
Modified recently added case to AccountManager
2014-07-02 16:12:39 -07:00
Atlante45
106e5b578b
Merge branch 'master' of https://github.com/highfidelity/hifi into replace_qnetworkaccessmanager
2014-07-02 16:06:41 -07:00
Atlante45
90a27bb118
Removed json callback
2014-07-02 15:18:56 -07:00
Atlante45
84ea9833bb
Added forgotten sendCustomRequest Method + comments
2014-07-02 14:30:40 -07:00
Atlante45
bf520d0eff
Added thread safe implementation of NetworkAccessManager main methods
2014-07-02 14:05:46 -07:00
Atlante45
15b37ec3d1
Switched ResourceCache to NetworkAccessManager
2014-07-02 11:21:07 -07:00
Ryan Huffman
70121357be
Update JSONCallbackParameters to take params in constructor
2014-07-02 11:12:06 -07:00
Ryan Huffman
ccc638d8c1
Merge branch 'master' of git://github.com/highfidelity/hifi into 19800
2014-07-01 20:03:54 -07:00
Atlante45
7c3292a41b
Switched AccountManager to NetworkAccessManager
2014-07-01 17:47:31 -07:00
Atlante45
29976d7861
Created base for wrapper singleton class NetworkAccessManager
2014-07-01 17:17:34 -07:00
ZappoMan
fe30d3807c
more renaming to entity from model where we're really talking about an entity
2014-07-01 17:07:16 -07:00
ZappoMan
865566414c
Merge branch 'master' of https://github.com/worklist/hifi into renameModelsToEntities
...
Conflicts:
interface/src/entities/EntityTreeRenderer.cpp
libraries/entities/src/EntityItem.h
libraries/models/src/ModelItem.cpp
libraries/models/src/ModelTree.cpp
libraries/models/src/ModelTreeElement.cpp
libraries/models/src/ModelsScriptingInterface.cpp
tests/octree/CMakeLists.txt
tests/octree/src/ModelTests.cpp
2014-07-01 16:32:47 -07:00
Atlante45
e9826250cb
CR
2014-07-01 12:57:39 -07:00
Atlante45
958367f579
Merge branch 'master' of https://github.com/highfidelity/hifi into add_interface_to_log_user_activity
...
Conflicts:
interface/src/devices/OculusManager.cpp
2014-07-01 12:45:42 -07:00
wangyix
fd051310da
prune missing set before constructing nack packets;
...
make MAX_REASONALBE_SEQUENCE_GAP global and sentPacketHistory to use
that value as the default history size
2014-07-01 12:01:51 -07:00
Atlante45
7c797449ab
Comments + connectedDevice
2014-06-30 19:02:43 -07:00
Atlante45
d4ed9d4573
Removed preprocessor statements
2014-06-30 17:52:05 -07:00
Atlante45
780e669fbb
fix for jenkins failure
2014-06-30 17:46:19 -07:00
Atlante45
d102795314
Added application version to logger
2014-06-30 17:18:49 -07:00
Atlante45
f33ad8a100
Adding logger calls
2014-06-30 17:10:17 -07:00
Atlante45
5e2ad7173c
Added functions to logger
2014-06-30 14:27:53 -07:00
Atlante45
0d18debd1b
Moved UserActivityLogger to networking
2014-06-30 14:27:07 -07:00
wangyix
0ae58bd7f9
added senderUUID arg to seq stats
2014-06-27 15:39:11 -07:00
wangyix
cb48825561
added seq number to all Audio types, untested
2014-06-26 16:52:23 -07:00
ZappoMan
ccc9eabd33
first cut at renaming Models to Entities
2014-06-26 16:39:52 -07:00
Ryan Huffman
50e77be406
Add DELETE to AccountManager
2014-06-26 16:07:02 -07:00
ZappoMan
52a04c5270
support old format models.svo files
2014-06-25 19:28:53 -07:00
wangyix
2ec04fb756
replaced old seqnum tracking code with SequenceNumberStats
2014-06-25 17:20:57 -07:00
wangyix
b220b092f4
added SequenceNumberStats and unit test
2014-06-25 16:35:08 -07:00
wangyix
c583f8b023
removed unnecessary changes
2014-06-25 11:48:32 -07:00
wangyix
591bfa14b9
added PacketTypeAudioStreamStats for j-buffer stats
...
...instead of packing that info into audio packets.
2014-06-25 11:38:56 -07:00
wangyix
a4f5ce2215
added stats for audiomixer jitter buffers lengths in Application
2014-06-23 17:48:57 -07:00
Brad Hefta-Gaub
c49ff59725
Merge pull request #3037 from wangyix/edit_nack_pull
...
Edit nack pull
2014-06-18 11:43:25 -07:00
wangyix
54f32d331e
replaced UINT16_MAX with std::numeric_limits<uint16_t>::max
2014-06-18 10:20:19 -07:00
wangyix
8c4e365958
added forgotten i++ in sendNackPackets()
...
plus minor style fixes
2014-06-18 09:28:42 -07:00
Brad Hefta-Gaub
cee6f1be6a
Merge pull request #3031 from stojce/19755
...
Code Review for Job #19755
2014-06-17 17:28:55 -07:00
wangyix
5f62b43ba6
added edit nack types to non-verified list
2014-06-17 12:14:44 -07:00
wangyix
011e7c2de2
removed debug code
2014-06-17 11:53:09 -07:00
wangyix
8187912384
added qDebug() check in SentPacketHistory for seq numbers
...
used (unsigned short int)1 instead of 1 when calculating
expectedSequence
2014-06-17 11:34:35 -07:00
Thijs Wenker
1e200c3b9c
The balance display didn't get over ~21.1 because the parsed json object int32 is maximal 2147483647, fixed this by parsing it from json to double.
2014-06-17 19:49:35 +02:00
wangyix
dc71f87ea4
edit nacks seem to be working;
...
added mutex for releaseQueuedPacket() to prevent duplicate packets being
queued up due to the steps of queueing the packet and clearing it not
being atomic.
2014-06-17 10:42:56 -07:00
wangyix
06f8464ec9
edit nacks ready for test; seq numbers sometimes repeat??
2014-06-16 17:17:48 -07:00
wangyix
18a9d74b88
changed OctreeEditPacketSender to queue packets for resend as nack is parsed
2014-06-16 16:35:30 -07:00
wangyix
5e37704772
SentPacketHistory now handles rollover
...
updated SentPacketHistory path in comments
2014-06-16 15:59:38 -07:00
wangyix
69c2a2d12b
moved SentPacketHistory to libraries/networking/src
2014-06-16 14:04:21 -07:00
wangyix
ebfd65dea8
added OctreeInboundPacketProcessor::process() override to send nack periodically
...
added code to remove dead nodes' stats in sendNackPackets()
2014-06-16 12:30:16 -07:00
wangyix
2b20720f51
added sendNackPackets() to OctreeInboundPacketProcessor
...
added rollover handling in _missingSequenceNumbers pruning; added
EditNack packet types; added getMyEditNackType() to OctreeServer
subclasses; added code to randomly skip edit packet sequence numbers for
testing in OctreeEditPacketSender
2014-06-16 09:57:05 -07:00
Stojce Slavkovski
f1e008853c
Merge branch 'master' of https://github.com/highfidelity/hifi into 19755
2014-06-15 12:36:14 +02:00
John Grosen
1a3de1ef28
Totally removed DataServerAccountInfo's JSON constructor
2014-06-13 15:01:20 -07:00
John Grosen
3af4e32c81
Now determines hasProfile from presence of username
2014-06-13 11:08:38 -07:00
wangyix
3d4fae4b3f
Revert "added code for AC to send nack packets; no locking yet"
...
This reverts commit 15bd0878c4
.
2014-06-13 09:58:56 -07:00
John Grosen
14f56310f6
Changed AccountManager to only rely on a proper OAuth response.
...
This involved making another request after the initial OAuth authorization.
Because of this now-two-step process, some methods and signals were renamed
to make their purpose more clear. Additionally, a _hasProfile member variable
was added to DataServerAccountInfo in order to allow for knowledge of whether
the profile elements had been fetched when being deserialized from disk.
Error handling for the whole process is still nonexistant.
2014-06-12 23:28:43 -07:00
Stojce Slavkovski
1959768513
Merge branch 'master' of https://github.com/highfidelity/hifi into 19755
2014-06-13 00:45:06 +02:00
Stephen Birarda
d689c6b39f
fix reference to attribute in STUN packet
2014-06-12 13:15:54 -07:00
wangyix
15bd0878c4
added code for AC to send nack packets; no locking yet
2014-06-12 11:37:05 -07:00
wangyix
7aef5edb8f
removed debug var
2014-06-11 15:27:24 -07:00
wangyix
0601c24b24
removed debug prints
2014-06-11 15:26:22 -07:00
wangyix
ac0b037f0f
removed connect(); put call into Application::nodeKilled
...
OctreePacketReceiver::nodeKilled() doesn't get called when
NodeList::nodeKilled() is emitted for some unknown reason
2014-06-11 15:25:00 -07:00
wangyix
2080cc3dee
removed debug variable
2014-06-11 11:59:15 -07:00
wangyix
decd6109fb
made nodeKilled signatures match
2014-06-11 11:57:54 -07:00
wangyix
760627003f
killNode() to nodeKilled()
2014-06-11 11:11:04 -07:00
wangyix
fc07ceb412
added killNode() slot for _packetCounts garbage collection
2014-06-11 10:54:44 -07:00
wangyix
01005dc792
Merge remote-tracking branch 'upstream/master'
2014-06-11 10:09:49 -07:00
wangyix
c6a9a8924d
changed NetworkPacket::_sendingNode to ::_node
2014-06-10 16:43:53 -07:00
wangyix
b96b6c9857
added default constructor for NetworkPacket
...
updated param comments in ReceivedPacketProcessor
2014-06-10 12:24:47 -07:00
wangyix
d84beee3e4
VoxelPacketProcessor -> OctreePacketProcessor
...
added nodes bookkeeping in ReceivedPacketProcessor; added check in
sendNack() to not send NACKs to nodes that have sent packets that are
waiting in the message queue.
2014-06-10 11:05:51 -07:00
Stojce Slavkovski
3a6cbc257c
Merge branch 'master' of https://github.com/worklist/hifi into 19755
2014-06-10 00:08:28 +02:00
Brad Hefta-Gaub
6cf30cf9d1
Merge pull request #3002 from wangyix/master
...
added code to nack and re-send dropped octree data packets
2014-06-09 13:52:21 -07:00
wangyix
aa694d6967
removed debug code
2014-06-09 12:35:26 -07:00
wangyix
529dd827a2
moved around code in sendNack() a bit
2014-06-09 12:00:19 -07:00
Andrzej Kapolka
e936697cf0
Merge pull request #2987 from leechfarm/master
...
Fix for users with some special characters in their password not being able to log in
2014-06-09 11:31:30 -07:00
Stojce Slavkovski
939f8c49de
return balance in satoshis
2014-06-08 15:55:16 +02:00
wangyix
b39559d860
packet recovery seems to be working
...
Seems to impact FPS a lot. OctreeSceneStats is not being locked (causes
freezing, need to find out why).
2014-06-06 17:44:30 -07:00
wangyix
d21a8e73ff
Merge remote-tracking branch 'upstream/master' into packet_recovery_pull
2014-06-06 15:05:29 -07:00
wangyix
0b1bffa83c
added random packet drops; ready to test
2014-06-06 15:03:54 -07:00
Stephen Birarda
6fdc5df47b
bump silent audio frame version
2014-06-06 11:50:36 -07:00
Stephen Birarda
b6b148cd9f
resolve conflicts on merge with upstream master
2014-06-06 11:31:16 -07:00
Stephen Birarda
7da091d2b4
initial hooks for stereo audio
2014-06-06 10:15:09 -07:00
wangyix
1a7e3a859c
started work on resending nacked packets
2014-06-05 18:00:58 -07:00
Joseph Gilley
c1d1a8de5c
Fix for users with some special characters in their password not being able to log in using the login overlay in the Interface.
2014-06-05 00:26:45 -04:00
wangyix
ebfc405d9d
more cleanup 3
2014-06-04 11:55:20 -07:00
wangyix
480efcbe76
more cleanup again
2014-06-04 11:31:44 -07:00
wangyix
25e2f28b02
more cleanup
2014-06-04 11:30:35 -07:00
wangyix
b452d08495
cleaned up debug statements
...
also reorganized MovingPercentile a little bit
2014-06-04 11:20:29 -07:00
wangyix
12ac6105f1
changed MovingMedian to MovingPercentile
2014-06-04 10:59:32 -07:00
wangyix
50746a6540
extra commit of previous commit?
2014-06-03 16:19:12 -07:00
wangyix
c851edd0ef
added MovingMedian class, but not using it
...
added packet type/time data collection to DatagramProcessor and
post-execution prints of that info.
2014-06-03 16:18:40 -07:00
wangyix
65508b2016
updated packet type version numbers
2014-05-29 11:42:35 -07:00
wangyix
c87c474877
removed debug info, cleaned code for pull req
2014-05-29 10:39:40 -07:00
wangyix
a0f9d2c106
Merge remote-tracking branch 'upstream/master'
2014-05-29 09:20:30 -07:00
wangyix
5d4b0df108
added flag,seq,st to EnvironmentData, untested
...
removed/commented out debug prints
2014-05-28 17:41:38 -07:00
wangyix
c799077379
added flag,seq,ts to ParticleErase and ModelErase
...
... this fixes unreasonable flight-time issue
2014-05-28 17:20:10 -07:00
wangyix
e89d33dc60
added if to not track ParticleErase packets
2014-05-27 18:02:49 -07:00
Stephen Birarda
9df0f2c1e5
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-05-23 17:38:28 -07:00
Stephen Birarda
714e29c887
fix credit amount in window title
2014-05-23 17:37:36 -07:00
Stephen Birarda
1b00cda068
don't use powf for credit conversions
2014-05-23 16:12:34 -07:00
Stephen Birarda
34eb0f9f43
make transaction amounts and balances signed 64-bit
2014-05-23 15:34:34 -07:00
Stephen Birarda
9acf377573
balances are 64-bit unsigned ints
2014-05-23 11:52:39 -07:00
Stephen Birarda
4f81bac742
add back a missing space in AccountManager
2014-05-22 17:16:42 -07:00
Stephen Birarda
164d3c5fb3
make sure balance is cleared on logout and re-launch
2014-05-22 15:06:16 -07:00
Stephen Birarda
79f09605d5
show credit balance in window title
2014-05-22 14:55:43 -07:00
Stephen Birarda
01e8d775f2
change node auth URL to data.highfidelity.io
2014-05-22 14:24:19 -07:00
Philip Rosedale
79ff87f7c5
Merge pull request #2891 from birarda/credits
...
initial pass at crediting ACs for work done
2014-05-21 12:09:48 -07:00
Stephen Birarda
1dddabb691
send and confirm transactions to assigned nodes from DS
2014-05-21 10:58:41 -07:00
ZappoMan
22a6e4679a
properly discard piggy back packets that don't match expected version
2014-05-20 16:19:14 -07:00
Stephen Birarda
13077e48f8
handle types larger than 255 for packetVersionAndHashMatch
2014-05-20 15:45:08 -07:00
ZappoMan
e7425a8128
support for models in root element
2014-05-20 15:20:27 -07:00
Stephen Birarda
8a1fdf3486
pass wallet UUID from AC to DS, cleanup noisy timer
2014-05-20 14:38:51 -07:00
Stephen Birarda
a9c2e3fe71
put back ssize_t definition
2014-05-20 11:56:06 -07:00
Stephen Birarda
2ef822d19d
remove more gnutls includes
2014-05-20 11:26:22 -07:00
Stephen Birarda
f22aaf21d2
remove GnuTLS include across repo
2014-05-20 10:56:34 -07:00
Stephen Birarda
e3dd6509d8
remove dependency on GnuTLS for later replacement with OpenSSL
2014-05-20 10:47:11 -07:00
Stephen Birarda
0e7615391c
don't look for GnuTLS from cmake
2014-05-20 10:35:04 -07:00
ZappoMan
18de6dddec
Merge branch 'master' of https://github.com/worklist/hifi into modelserver
2014-05-14 12:21:44 -07:00
Stephen Birarda
efdc61c612
Merge pull request #2849 from stojce/19597
...
added discourse key in shift operators
2014-05-14 10:00:37 -07:00
Stojce Slavkovski
8247e5a552
added discourse key in shift operators
2014-05-14 17:25:40 +02:00
Kai Ludwig
19404fe0e5
Changed start domain to sandbox. Changed start location to xyz: 6270, 211, 6000.
...
goHome behaviour is unchanged and will still just go to the start location keeping the currently select domain.
2014-05-14 07:10:31 +02:00
ZappoMan
02bb816d5a
Merge branch 'master' of https://github.com/worklist/hifi into modelserver
2014-05-13 09:44:49 -07:00
ZappoMan
106c8bffd8
first cut at animations in models
2014-05-09 16:08:06 -07:00
Stojce Slavkovski
a1c31522ba
Merge branch 'master' of https://github.com/worklist/hifi into 19507
2014-05-08 20:09:36 +02:00
Atlante45
fd1f6befff
CR
2014-05-07 15:19:32 -07:00
Atlante45
40ed72989c
mute environment packet
2014-05-07 12:57:11 -07:00
Stojce Slavkovski
8ee282e7d2
Merge branch 'master' of https://github.com/worklist/hifi into 19507
2014-05-06 22:01:48 +02:00
Andrzej Kapolka
2a32700a30
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-05-05 17:03:31 -07:00
Stephen Birarda
befe75a04c
fix broken audio-mixer stats
2014-05-05 14:03:14 -07:00
Andrzej Kapolka
e0400dbd9c
Working on allowing attachment models to be uploaded.
2014-05-04 15:23:31 -07:00
Stojce Slavkovski
c400630bc4
make post
2014-05-03 21:12:20 +02:00
Stojce Slavkovski
b2c1afe1bd
Merge branch 'master' of https://github.com/worklist/hifi into 19507
2014-05-03 09:52:19 +02:00
Stojce Slavkovski
d3fecd7a31
store discourse api key
2014-05-02 22:16:19 +02:00
Stephen Birarda
aa2931d9bb
resolve conflicts on merge with upstream/master
2014-05-02 10:39:17 -07:00
Stephen Birarda
4936fb3857
expose access token from AccountManager
2014-05-02 10:34:29 -07:00
Stephen Birarda
7a1aa7ec89
keep track of all assignments to stop double agents
2014-05-01 13:50:39 -07:00
Stephen Birarda
d942054015
cleanup re-display of OAuthWebView
2014-05-01 12:44:42 -07:00
Stephen Birarda
ca2148178d
handle cleanup of OAuth web view when force closed
2014-05-01 12:01:08 -07:00
Stephen Birarda
7d3157b1a0
trust high fidelity root CA cert for OAuth redirect
2014-05-01 11:54:51 -07:00
Stephen Birarda
2f0e311a99
return OAuth URL to interface clients when OAuth enabled
2014-05-01 10:19:05 -07:00
ZappoMan
0182a6d895
models working end to end
2014-04-30 11:12:49 -07:00
ZappoMan
aac42058ac
first cut at modelserver
2014-04-30 09:25:52 -07:00
Atlante45
49eadac024
Bumped octree stats packet version
2014-04-29 13:52:07 -07:00
Ryan Huffman
45fdd00608
Merge remote-tracking branch 'upstream/master' into 19598
...
Conflicts:
interface/src/ui/FramelessDialog.h
2014-04-28 09:13:00 -07:00
Ryan Huffman
cbd5fbe9b3
Add loginFailed signal to AccountManager
2014-04-28 08:59:44 -07:00
Stephen Birarda
8e12c0d8e5
pass the owner scope to auth requests
2014-04-25 13:22:18 -07:00
Atlante45
ae566c55f6
Merge branch 'master' of https://github.com/highfidelity/hifi into removed_gettimeofday
2014-04-23 10:38:29 -07:00
AndrewMeadows
94fabf7875
Merge pull request #2709 from ZappoMan/shared_and_weak_pointers
...
Voxel/Particle Server Performance Improvements
2014-04-22 10:28:39 -07:00
Atlante45
ddf14b0842
Merge branch 'master' of https://github.com/highfidelity/hifi into removed_gettimeofday
2014-04-22 10:22:30 -07:00
ZappoMan
91d8e11393
return the bytes sent in writeDatagram() and writeUnverifiedDatagram()
2014-04-21 17:34:01 -07:00
Atlante45
fd20686f0f
Removed Systime.h includes
2014-04-21 17:23:06 -07:00
ZappoMan
7d18dbdfb8
more cleanup
2014-04-21 16:35:42 -07:00
Atlante45
681aab5bf0
Remove printf and replace them by qDebug()
2014-04-21 16:17:45 -07:00
ZappoMan
7798c6eb09
some debugging
2014-04-21 11:48:58 -07:00
ZappoMan
59cbda20c6
added some threading and event debugging
2014-04-20 19:48:17 -07:00
ZappoMan
334f688e4e
add support for sending unverified datagrams to nodes
2014-04-18 15:30:45 -07:00
ZappoMan
50f7db8fe1
quiet some debugging
2014-04-18 15:02:10 -07:00
ZappoMan
2c02178802
Merge branch 'master' of https://github.com/worklist/hifi into shared_and_weak_pointers
...
Conflicts:
assignment-client/src/AssignmentClient.cpp
assignment-client/src/AssignmentClient.h
libraries/shared/src/NodeList.cpp
2014-04-18 14:28:54 -07:00
Stephen Birarda
49e7842d25
push packet version to force an update
2014-04-16 13:37:41 -07:00
Stephen Birarda
505145f693
add a missing bracket to IP_DONTFRAG
2014-04-16 12:02:02 -07:00
Stephen Birarda
afcb542bbe
fix a debug line in LimitedNodeList
2014-04-16 11:28:34 -07:00
Stephen Birarda
06a976041b
take pointer of optValue and not actual optValue
2014-04-16 11:27:30 -07:00
Stephen Birarda
a25ef58247
move DTLS socket changes to LimitedNodeList
2014-04-16 11:25:35 -07:00
Stephen Birarda
57567becc8
fix unexpected null parameter to disconnect, closes, #2663
2014-04-16 11:02:08 -07:00
Stephen Birarda
97e45e8fe5
re-instate connect behavior in DS so killed nodes re-connect, amend #2675
2014-04-16 10:56:33 -07:00
Stephen Birarda
1cd5fec71c
push packet version for assignments
2014-04-11 11:42:33 -07:00
Stephen Birarda
6431d35f86
add a missing newline to DomainHandler
2014-04-11 10:19:31 -07:00
Stephen Birarda
86b0b78692
add a missing semi-colon for windows build
2014-04-10 12:27:52 -07:00
Stephen Birarda
9912c4c9a7
just call free instead of gnutls_free on windows
2014-04-10 12:24:41 -07:00
Stephen Birarda
38867a2f09
fix for re-declarations of xgnutls_free
2014-04-10 12:14:37 -07:00
Stephen Birarda
97444eac1c
put gnutls_free fix in DTLSSession header
2014-04-10 12:11:41 -07:00
Stephen Birarda
2c96ce08ae
add stackoverflow fix for lnk2001 error in gnutls_free
2014-04-10 11:50:26 -07:00
Stephen Birarda
7d4399da35
don't use reserved word causing issues on windows
2014-04-10 11:01:17 -07:00
Stephen Birarda
52203bd36e
another attempt to repair QNetworkInterface call on windows
2014-04-10 10:58:20 -07:00
Stephen Birarda
ad0776be4e
repair QNetworkConfigurationManager include
2014-04-10 10:55:02 -07:00
Stephen Birarda
714db42f87
include QNetworkConfigManager to fix HifiSockAddr error on windows
2014-04-10 10:51:20 -07:00
Stephen Birarda
da24483d7c
include WS2tcpip for socklen_t on windows
2014-04-10 10:45:43 -07:00
Stephen Birarda
b87c04444e
include winsock2 from HifiSockAddr
2014-04-10 10:41:01 -07:00
Stephen Birarda
8b19982e61
commit missing Syssocket removals to Node and Logging
2014-04-10 10:36:30 -07:00
Stephen Birarda
7cef2def66
remove Syssocket which is from our pre-Qt days
2014-04-10 10:34:31 -07:00
Stephen Birarda
54647f0f08
make sure gnutls define for ssize_t comes before gnutls include
2014-04-10 10:27:08 -07:00
Stephen Birarda
16bb28a4fa
make GnuTLS a system include to suppress warnings
2014-04-10 10:04:02 -07:00
Stephen Birarda
ba6f861ad8
fix unmatched #ifdef in Syssocket
2014-04-10 09:54:37 -07:00
Stephen Birarda
d5d52f804f
add a networking library and link from appropriate targets
2014-04-10 09:32:17 -07:00