UbitUmarov
dd7ab862ab
stop doing UpdateMovementAnimations on avatar collisions, that may cause incorrect changes
2017-06-12 01:07:38 +01:00
UbitUmarov
d0afd4335c
fix a error message
2017-06-11 22:32:56 +01:00
UbitUmarov
be975d1e89
add a adicional in transit flag to signal HG tps, and use it to ignore usernames requests sent to start region during tp; don't send unknows display names ( getdisplaynames cap )
2017-06-09 23:27:33 +01:00
UbitUmarov
e8165a7b51
only silent remove threads from watch list if they stopped ( ie still consider aborted etc )
2017-06-09 20:14:56 +01:00
UbitUmarov
f69e48bedc
make SendCoarseLocations async, since it is http. Make some actions use thread from pool and not a new one. Threading does need a deep cleanup one of this days. This stops mantis 8183 warnings, but as side effect only
2017-06-09 17:32:07 +01:00
Kevin Cozens
0ac6b74c5e
Fixed typo in log message
2017-06-09 10:14:09 -04:00
UbitUmarov
d12957dc2c
still losing time with of halcyon incompatibile oars... cathch exceptions of the function that actually throws; Reduce log spam; don't let a broken MOAP stop all object deserialization. Fixing MOAP does not mean halcyon oars issues are fixed, just one. And really we should not even try to go against halcyon decison to be incompatible.(our MOAP encoding did not change since 2010)
2017-06-09 12:14:13 +01:00
Robert Adams
5bfe8b18fe
Another attempt at parsing MOAP <Media> elements in OAR files.
...
Seems there are multiple interpretations of the format of the content of the
<Media> element in OAR files. OpenSimulator (for reasons lost in the mist of time)
escapes the XML in the element and then reparses it was a separate XmlReader.
Other simulators fill the <Media> element with regular XML.
This patch parses the <Media> escaped XML content as it always has and, if
the parsing fails, falls back to trying to parse the pure XML.
2017-06-08 21:41:34 -07:00
UbitUmarov
1e3a19e673
bug fix plus some cleanup
2017-06-09 00:15:53 +01:00
UbitUmarov
ef2fd8fcea
keep the reverted code, that does work. Our code likes to have pbs.Media == null when there is no MOAD defined, so handle possible odd oars that may have llsd <array /> on that case
2017-06-08 20:47:51 +01:00
UbitUmarov
29f2421d4f
revert fa5bf4fd0b
for test
2017-06-08 11:45:33 +01:00
UbitUmarov
02b51b84f4
so no real need for Maintenance thread.. so removed
2017-06-07 19:09:16 +01:00
UbitUmarov
2d93008bd9
course locations is a also heartbeat job (for now sync)
2017-06-07 18:52:56 +01:00
UbitUmarov
eca89c6e61
remove some more dead scene options
2017-06-07 18:15:15 +01:00
UbitUmarov
c8b3925085
remove nonsense SendPeriodicAppearanceUpdates. if we need such a thing, then a lot is broken. Remove duplicated CleanTempObjects() call, rename BackupWaitCallback thread as BackupWorker ( still didn't found cause for mantis 8783)
2017-06-07 18:04:02 +01:00
UbitUmarov
9011ca8461
set optional group position and rotation before attach to scene
2017-06-06 20:38:17 +01:00
UbitUmarov
a23f99366f
bug fix: handle current region on GetChildAgentsToClose
2017-06-06 03:22:11 +01:00
Robert Adams
fa5bf4fd0b
Correct parsing of 'Media' XML element in PrimitiveBaseShape when reading an OAR file.
...
The code used to call Serializer.ReadElementContentAsString() and then expected to
pass the XML to PrimitiveBaseShape.FromXml to parse. This would throw as
ReadElementContentAsString does not allow any children of the element.
Reading with Serializer.ReadInnerXml() was the fix.
This was only not a problem because most often shapes don't have media and
most simulators don't output anything if the media array is empty.
2017-06-04 20:51:56 -07:00
UbitUmarov
4320758d97
remove redundant UpdateMovementAnimations();
2017-06-03 07:19:20 +01:00
UbitUmarov
f26ad07ce1
add a delayed stop so fast tap on move keys does not stop the avatar in some cases
2017-06-03 07:01:07 +01:00
UbitUmarov
67e540e05c
cross mouse buttons state
2017-06-03 04:28:43 +01:00
UbitUmarov
12a6625dc7
fix MouseDown in case it gets any use
2017-06-03 03:48:49 +01:00
UbitUmarov
7310b7625e
move a execution overlap guard to end of job
2017-06-02 12:58:04 +01:00
UbitUmarov
b920f784ea
avoi null refs on tests simple clients
2017-06-01 00:14:59 +01:00
UbitUmarov
c68e7b6621
change child agents close control; disablesimulator is not a caps event message
2017-05-31 23:31:02 +01:00
UbitUmarov
5c156508e2
mantis 8182: update/fix GenerateRandomAnimation(). not updating libomv avatar data bc have no idea why do do have it, so leave it to who does know
2017-05-31 12:33:35 +01:00
UbitUmarov
7217c20291
we don't need to keep refs to baked textures assets
2017-05-31 07:12:03 +01:00
UbitUmarov
f5f0fa5d1f
we don't need to keep refs to baked textures assets
2017-05-31 06:18:05 +01:00
UbitUmarov
74da81890c
oops..
2017-05-31 06:04:59 +01:00
UbitUmarov
720a69a49b
remove the option to store baked textures on assets service, thats suicide use xbakes
2017-05-31 04:47:59 +01:00
UbitUmarov
b1c585718c
remove debug messages
2017-05-31 04:30:00 +01:00
UbitUmarov
e5991124dd
merge LocalNeighbourServicesConnector and RemoteNeighbourServicesConnector in single NeighbourServicesOutConnector
2017-05-31 01:29:38 +01:00
UbitUmarov
0fa3af96a4
remove anoying crossing messages on open borders
2017-05-30 16:51:49 +01:00
UbitUmarov
79b2926ce1
do another dns request via new cache. My problems bf wheren't mono after all, but ubuntu systemd.resolver and google public dns, killing one and not using other did improve dns a lot
2017-05-30 15:34:22 +01:00
UbitUmarov
90da5280af
put back soft http close
2017-05-30 09:01:39 +01:00
UbitUmarov
e5bebe3a32
webrequests serialiazation per endpoint its now ServicePointManager job
2017-05-30 08:20:58 +01:00
UbitUmarov
91caf98308
change servicePoint dns expire also to 5min, let the endpoints expire slide. This should reduce impact of absurd dns fails observed on my test ubuntu VM
2017-05-29 07:48:09 +01:00
UbitUmarov
a317bba8cf
cache endpoints (and other paths) dns requests for 5min, this delay should be acceptable in all cases ?
2017-05-29 07:11:13 +01:00
UbitUmarov
0f0673552c
remove a unnecessary dns check
2017-05-29 06:50:55 +01:00
UbitUmarov
8f86de265c
some cleanup and assume Linux/mono DNS is just broken...
2017-05-29 05:22:21 +01:00
UbitUmarov
7be6e16555
no.. still a fail
2017-05-29 03:41:09 +01:00
UbitUmarov
27afe136d4
mono is a total crap
2017-05-29 03:13:56 +01:00
UbitUmarov
2c19d08448
cleanup util.cs get dns
2017-05-29 02:07:53 +01:00
UbitUmarov
6d23e0bc31
add temporary debug msgs
2017-05-29 01:27:02 +01:00
UbitUmarov
d94b2e6f6d
remove a now anoying message..
2017-05-29 00:20:14 +01:00
UbitUmarov
5274a3181e
enclose GetRequestStream on try/catch
2017-05-28 23:54:43 +01:00
UbitUmarov
99111e5052
enclose GetRequestStream on try/catch
2017-05-28 23:51:13 +01:00
UbitUmarov
687c01b29e
need to delay even more agent close after teleport to compensate for slow machines and user connections. This one of current tp teleport protocol flaws
2017-05-28 03:17:34 +01:00
UbitUmarov
d1306c8976
a null ref check left behind on previus commits
2017-05-28 02:11:40 +01:00
UbitUmarov
572e84c822
make use of a rare thing called StringBuilder on LSL_List. LSL_List uses may need a revision to make sure they are passed by ref and not by value, with necessary adjustments. This does not have much impact on AppDomains, since if they cross, they are always serialized. Since lists are important parts of LSL, the AppDomainLoading option needs to be replaced by something else
2017-05-28 01:56:52 +01:00
UbitUmarov
18f1ea1086
make LSL_list a CLASS again. Now we need to it allover again. Scripts need to be recompiled ( delete contents of bin/ScriptEngines)
2017-05-28 01:11:53 +01:00
UbitUmarov
f7ae87a0d5
minor cleanup
2017-05-27 05:44:50 +01:00
UbitUmarov
289d4ca128
minor cleanup
2017-05-27 05:41:40 +01:00
UbitUmarov
2be362bd67
lose a ref
2017-05-26 21:30:06 +01:00
UbitUmarov
e7c2674dec
cleanup (grid)region info endpoint; add log to try to find some xml decode issues
2017-05-26 21:26:51 +01:00
UbitUmarov
8f10db0a6a
mantis 8181: don't try to delete contents of a non exitent folder
2017-05-26 05:32:59 +01:00
UbitUmarov
5287489a3c
avoid some wrong watchdog timeouts
2017-05-26 00:53:21 +01:00
UbitUmarov
7a82c7c5b2
make BlockingQueue.Dequeue timeouts more coerent (just less than watchdog timeout)
2017-05-26 00:47:08 +01:00
UbitUmarov
8d8236cfb2
missing file change.. actually use watchdog threads on assetsconnector and
...
avoid null refs on JobEngine
2017-05-26 00:34:46 +01:00
UbitUmarov
d90b68c2a6
change wrong watchdog stopped thread check code, and don't log it
2017-05-26 00:05:35 +01:00
UbitUmarov
31b4a31246
add some checks for valid endpoints
2017-05-25 09:46:29 +01:00
UbitUmarov
772c5b7db0
move assetsconnector threads to whatchdog; Abort all alive threads known to watchdog before exit
2017-05-25 06:05:02 +01:00
UbitUmarov
e5377eb839
use threads from main pool on assetsconnector
2017-05-25 04:51:45 +01:00
UbitUmarov
65e9421058
minor changes
2017-05-25 04:24:23 +01:00
UbitUmarov
8195cd5153
another one
2017-05-25 02:24:15 +01:00
UbitUmarov
b6c23fe911
make a few more threads background ones
2017-05-25 02:01:36 +01:00
UbitUmarov
4286ae43f2
make some threads background ones
2017-05-25 01:51:53 +01:00
UbitUmarov
9a1d94f455
remove use of libomv BlockingQueue
2017-05-25 01:28:02 +01:00
UbitUmarov
dca3a45803
add a bit more pre exit cleanup
2017-05-24 22:17:04 +01:00
UbitUmarov
8989e8ef3a
give up on the code to stop AsyncCommandManager. It fails with many scripts running, and its only done deep on exit code. It is a backgroud thread should not block exit and never did
2017-05-24 02:19:25 +01:00
UbitUmarov
07e614a32c
dont log timeouts on stopped threads
2017-05-23 06:38:19 +01:00
UbitUmarov
3c97bb1e6f
fix lock position removing a not necessary function
2017-05-23 06:03:51 +01:00
UbitUmarov
e1aa591815
allow new thread creation if it was aborted on AsyncCommandManager
2017-05-23 05:59:14 +01:00
UbitUmarov
d5e8e116d4
protect AsyncCommandManager thread from fails on the several things it checks
2017-05-23 05:41:04 +01:00
UbitUmarov
8e777d50a6
only remove AsyncCommandManager thread when last instance is deleted
2017-05-23 05:34:25 +01:00
UbitUmarov
e69057a1b6
dont fail saving a OAR because of a broken material
2017-05-23 04:21:03 +01:00
UbitUmarov
f3eb73926e
stop a few more threads on exit
2017-05-23 04:05:31 +01:00
UbitUmarov
928733efc9
please DIE! PLEASE??
2017-05-23 03:26:32 +01:00
UbitUmarov
7b80bcc57a
no all mono versions know DnsRefreshTimeout
2017-05-23 00:52:40 +01:00
UbitUmarov
c080d9fa23
remember mono about the default for DnsRefreshTimeout
2017-05-23 00:10:11 +01:00
UbitUmarov
24885819fc
check XFF headers of caller, but be quiet about them
2017-05-22 22:05:56 +01:00
UbitUmarov
4da5d249d8
receivers can't tell if there where proxies on path unless they look
2017-05-22 21:22:04 +01:00
UbitUmarov
ea88927a65
remove some code for NAT that was disabled by its author Adam Frisby since 2009, and i don't see how to mk work with current viewers at that point at least
2017-05-22 20:18:01 +01:00
UbitUmarov
73222e4dd4
fix IClientIPEndpoint broken by justin long ago.. but stop using it
...
except on SceneBanner, later it my be also removed from there and
everywhere
2017-05-22 19:16:42 +01:00
Geir Nøklebye
8f9256ea1c
PGSQL: Another missing cast in XInventoryData
...
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-22 16:24:52 +01:00
UbitUmarov
fcb435deb4
make sure we drop requests if DoHTTPGruntWork fails
2017-05-22 05:53:59 +01:00
UbitUmarov
bad00670a9
disable keepalive on llHttpRequest
2017-05-22 05:02:42 +01:00
UbitUmarov
7c3200b393
cross avatar group info also if title is empty string
2017-05-21 05:16:18 +01:00
UbitUmarov
a2c2456076
remove LongPoll type and queues. Events should now have reduced latency also. About previus commit, it maybe a modified ingen-e3s-v1.33 script that is broken, and not the original version, can't tell
2017-05-21 02:11:53 +01:00
UbitUmarov
319ccf17c8
add a bit more protection for broken scripts like ingen-e3s-v1.33
2017-05-21 01:52:27 +01:00
UbitUmarov
c7fdb2ec53
on recover form nom finite avatar pos, don't add it physics it it had none
2017-05-21 00:52:18 +01:00
UbitUmarov
a5e3aab575
fix a null ref in ubOde character
2017-05-20 23:37:14 +01:00
UbitUmarov
046ec66ff9
fix a cast that makes LitJson unhappy
2017-05-20 22:21:27 +01:00
UbitUmarov
02a4298b02
mantis 8172: fix llList2Json() in case of vector or rotation types
2017-05-20 21:29:33 +01:00
UbitUmarov
49d42ee08a
mantis 8171 fix redirection on llHttpRequest
2017-05-20 17:56:04 +01:00
UbitUmarov
9397b358d3
mantis 8170: let physics know Always_run on adding the avatar
2017-05-19 19:51:23 +01:00
UbitUmarov
52dd683326
fix a null ref on parcels join
2017-05-19 18:03:02 +01:00
UbitUmarov
7c9615f000
fix land parcel group been lost on region upload
2017-05-19 17:35:49 +01:00
UbitUmarov
2717ef5da9
change some confusing comands help
2017-05-19 05:34:49 +01:00
UbitUmarov
ef35805176
reWrite lsl json functions, forward slash is not escaped as LitJson spec; code can use some cleanup. Scripts need to be recompiled
2017-05-19 03:08:35 +01:00
UbitUmarov
c28430d527
oops...
2017-05-15 18:12:17 +01:00
UbitUmarov
c74e0e2d9b
remove a Paralell.For (actually not used). That kind of fine gained multitask makes no sense on already heavy multitasked server application like opensim. CPU cores are already busy or needed elsewhere.
2017-05-15 18:10:08 +01:00
UbitUmarov
156707edfb
clear land object on delete
2017-05-14 06:27:29 +01:00
UbitUmarov
92df6095d5
don't round to nearest int
2017-05-14 05:49:01 +01:00
UbitUmarov
f968118e23
don't do dwell if there is no module active
2017-05-14 05:39:22 +01:00
UbitUmarov
9ab8ce1404
fix remote requests for dwell, so dwell module still called
2017-05-14 04:17:48 +01:00
UbitUmarov
cb21caae77
fix some issue on parcels loading and make parcels dwell show something. Resolution is 2.5min aprox.
2017-05-14 01:44:04 +01:00
UbitUmarov
25ca8695f3
find parcels by GlobalID.. well most time
2017-05-13 20:21:56 +01:00
UbitUmarov
dd0269df48
fix passcollisions bool value on store
2017-05-13 17:22:56 +01:00
Geir Nøklebye
7cf82a71d6
PGSQL: Convert PassCollision in table prims to bool to avoid a hopeless cast that fails with newer versions of NPGSQL.
...
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-13 17:15:47 +01:00
UbitUmarov
16f02cb6fd
we can't allow abort to change only one dic
2017-05-13 16:34:29 +01:00
UbitUmarov
9ea49d107d
fix wrong locking on unused path it case it does get uses. Thanks LaNani Sundara
2017-05-13 15:58:35 +01:00
UbitUmarov
086eb28a91
a bit more on ServicePointManager
2017-05-12 22:03:53 +01:00
UbitUmarov
948138a3a4
lower connection limits again
2017-05-12 16:45:58 +01:00
UbitUmarov
d08df7bda7
mantis 8165: fix a null ref on hg gatekeeper on another place
2017-05-12 15:22:16 +01:00
UbitUmarov
5e577baa10
fix a null ref on hg gatekeeper
2017-05-12 14:42:21 +01:00
UbitUmarov
0f2ab6bddd
soem changes on connections limits
2017-05-12 14:20:06 +01:00
UbitUmarov
8bdd4c3ed9
yes it is not destiny grid but destination.. thx u know who :)
2017-05-12 12:30:59 +01:00
UbitUmarov
a932f24ba4
minor fix on sensorrepeat
2017-05-12 03:53:18 +01:00
UbitUmarov
19d141c9a5
avoid a null ref
2017-05-11 23:46:06 +01:00
UbitUmarov
cc95b7e2d4
don't allow multiple presences of same avatar also on HG gatekeeper
2017-05-11 20:26:06 +01:00
UbitUmarov
f09fafff34
some cleanup
2017-05-11 20:24:47 +01:00
UbitUmarov
fb427daa34
avoid a null ref
2017-05-11 19:06:49 +01:00
UbitUmarov
211a1fe9d4
do not allow multiple logins of same avatar. No HG case, that needs work on some paths. option m_allowDuplicatePresences is checked, but is is a total nonsense.. Presences control will get broken if allowed, No one ever added code to suport it correctly.
2017-05-11 17:59:37 +01:00
UbitUmarov
5968c6372a
let new regions know about grid services god
2017-05-11 17:30:57 +01:00
UbitUmarov
7e8c996d1b
add a grid services god account
2017-05-11 17:15:02 +01:00
UbitUmarov
731510c305
let .net decide GC mode from its defaults on the platform
2017-05-09 18:27:06 +01:00
Geir Nøklebye
03a38a80ab
PGSQL: Rewrote EstateStore.migrations as it errored out in version 8 leaving the database without any estate tables on first run. It also lacked primary keys on estate_map and estate_settings. Syntax requires Postgresql 9.5 or higher.
...
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-09 12:00:45 +01:00
UbitUmarov
957ca41b13
remove file bin/Mono.Posix.dll that causes problems with mono
2017-05-09 11:58:07 +01:00
Geir Nøklebye
d952d62baa
PGSQL: Add missing AgentPrefs.migrations
...
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-08 20:25:03 +01:00
UbitUmarov
604b966d84
some conditional dispose on http requests inputstream
2017-05-08 00:40:15 +01:00
UbitUmarov
8ef43e5fb3
take more heavy work out of opened dbconn sections
2017-05-07 22:22:28 +01:00
UbitUmarov
d0912b6151
let StreamReader be in using statements
2017-05-07 00:47:45 +01:00
UbitUmarov
de55ad9545
oops closed too soon
2017-05-06 22:12:45 +01:00
UbitUmarov
c57215687f
a few more changes on mysql
2017-05-06 21:43:22 +01:00
UbitUmarov
4b2ef46de6
don't hold dbconn longer than necessart
2017-05-06 20:40:29 +01:00
UbitUmarov
76337b1d8e
another misplaced close
2017-05-06 20:38:38 +01:00
UbitUmarov
504736eb43
build const strings a compile time...
2017-05-06 20:23:55 +01:00
UbitUmarov
54eb6fc779
GZipStream does have a CopyTo()
2017-05-06 18:25:07 +01:00
UbitUmarov
eb93855d84
dispose some MemoryStreams
2017-05-06 17:47:43 +01:00
UbitUmarov
ae191cd304
dispose some MemoryStreams
2017-05-06 15:57:47 +01:00
UbitUmarov
025bef4e07
fix a few wrong placement ( this is a test by the way )
2017-05-06 01:47:26 +01:00
UbitUmarov
d26a9ed0b1
fix wrong placement
2017-05-06 01:41:33 +01:00
UbitUmarov
d9038e650a
MySQLConnector is not a MS product
2017-05-06 01:25:54 +01:00
UbitUmarov
3bc64f638a
add a few guard checks on serviceThrottlemodule
2017-05-05 17:44:33 +01:00
Diva Canto
3f641d98bd
Added a fully functional groups data layer for testing.
2017-05-04 20:17:54 -07:00
Diva Canto
424a7a274b
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2017-05-04 18:20:48 -07:00
Diva Canto
dd88319495
Add a groups module to the perms test suite
2017-05-04 18:20:10 -07:00
Diva Canto
ab4f870000
Change the engine of the groups table back to MyISAM, because MySQL 5.5 and older don't support full test search on InnoDB
2017-05-04 18:19:46 -07:00
UbitUmarov
f31fe66ce1
fix bad move on xmlgroups
2017-05-05 01:53:02 +01:00