UbitUmarov
79e166e9aa
revert EnvironmentTick back to orignal clock, since change may cause issues on some code paths. Clean a bit get mesh and get texture throttle
2017-06-19 05:22:38 +01:00
UbitUmarov
10d526f961
Merge branch 'master' into httptests
2017-06-16 02:43:36 +01:00
UbitUmarov
969d5f742c
update inventory item permissions on deattach
2017-06-15 04:20:32 +01:00
UbitUmarov
d9a300fa8e
some cleanup.. remove some stats that only some do look at once on a lifetime
2017-06-14 20:19:13 +01:00
UbitUmarov
84946e3061
Merge branch 'master' into httptests
2017-06-14 03:04:14 +01:00
UbitUmarov
614a5266c5
guess HGEntityTransferModule jobengine does not need a permanet thread
2017-06-13 22:45:31 +01:00
UbitUmarov
ed8526bcfb
coment out tests that now depend on active thread pool
2017-06-13 20:34:21 +01:00
UbitUmarov
ad43cc6784
change llclient async udp packets processing. Removed the shared Jobengine that made only one thread do some packets for all users, and removed the FireAndForget, so each user could issue a unlimited number of threads. Added a new JobEngine per client, so each gets at most one thread,and that thread can be released if iddle (for 5 seconds )
2017-06-13 19:04:18 +01:00
UbitUmarov
f33a871d61
hope gc does remove a little dic and contents
2017-06-13 14:15:28 +01:00
UbitUmarov
fd8836e493
dont let time go back
2017-06-13 14:09:34 +01:00
UbitUmarov
9526a96b4f
some cleanup
2017-06-13 13:22:01 +01:00
UbitUmarov
3ba63dde6e
udp is not tcp. If mono versions have bronke udp sento, better update, also having 300 threads because object select is not funny
2017-06-13 12:17:39 +01:00
UbitUmarov
e650a4ff16
remove excessive notion of paralelism
2017-06-13 08:56:21 +01:00
UbitUmarov
a18d45fbdc
fix some issues on ubOde physics shape type changes
2017-06-12 16:19:29 +01:00
UbitUmarov
f62400c4ca
improve english on few messages (thx)
2017-06-12 13:34:39 +01:00
UbitUmarov
617f42bcfa
try to mk jenkins happy
2017-06-12 01:32:18 +01:00
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
b5910cfdb7
merge
2017-06-10 02:48:51 +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
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
29f2421d4f
revert fa5bf4fd0b
for test
2017-06-08 11:45:33 +01:00
UbitUmarov
7bea4f1578
Merge branch 'master' into httptests
2017-06-07 20:12:49 +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
7d58b73bbc
some changes on pollevent
2017-06-06 21:55:47 +01:00
UbitUmarov
8971e9f126
Merge branch 'master' into httptests
2017-06-06 21:47:55 +01:00
UbitUmarov
9011ca8461
set optional group position and rotation before attach to scene
2017-06-06 20:38:17 +01:00
UbitUmarov
773914591d
Merge branch 'master' into httptests
2017-06-06 03:28:30 +01:00
UbitUmarov
a23f99366f
bug fix: handle current region on GetChildAgentsToClose
2017-06-06 03:22:11 +01:00
UbitUmarov
258d169392
Merge branch 'master' into httptests
2017-06-06 00:30:01 +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
aea282ba38
Merge branch 'master' into httptests
2017-06-03 07:20:31 +01:00
UbitUmarov
4320758d97
remove redundant UpdateMovementAnimations();
2017-06-03 07:19:20 +01:00
UbitUmarov
01bd578bb0
Merge branch 'master' into httptests
2017-06-03 07:08:43 +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
de153c2b62
Merge branch 'master' into httptests
2017-06-02 06:26:20 +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
55babdc160
Merge branch 'master' into httptests
2017-05-31 07:21:21 +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
720a69a49b
remove the option to store baked textures on assets service, thats suicide use xbakes
2017-05-31 04:47:59 +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
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
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
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
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
6a0eba3d7b
disable llhttprequests secure con, since it still collides with main ssl settings
2017-05-27 14:39:56 +01:00
UbitUmarov
582dc75381
remove a accent from a method name
2017-05-27 06:30:23 +01:00
UbitUmarov
c54985f8a1
Merge branch 'master' into httptests
2017-05-27 05:47:05 +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
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
d90b68c2a6
change wrong watchdog stopped thread check code, and don't log it
2017-05-26 00:05:35 +01:00
UbitUmarov
2777995331
Merge branch 'master' into httptests
2017-05-25 10:23:52 +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
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
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
c0bfaac0ac
merge master
2017-05-23 07:35:02 +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
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
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
e520dba717
Merge branch 'master' into httptests
2017-05-21 02:20:40 +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
78c4f8000e
Merge branch 'master' into httptests
2017-05-20 14:30:49 +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
40091f9be5
Merge branch 'master' into httptests
2017-05-19 03:23:57 +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
eea247fcc5
Merge branch 'master' into httptests
2017-05-14 07:52:50 +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
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
0f2ab6bddd
soem changes on connections limits
2017-05-12 14:20:06 +01:00
UbitUmarov
a932f24ba4
minor fix on sensorrepeat
2017-05-12 03:53:18 +01:00
UbitUmarov
dcdc527401
Merge branch 'master' into httptests
2017-05-12 01:55:15 +01:00
UbitUmarov
19d141c9a5
avoid a null ref
2017-05-11 23:46:06 +01:00
UbitUmarov
1b7aee89d3
Merge branch 'master' into httptests
2017-05-11 23:14:02 +01:00
UbitUmarov
fb427daa34
avoid a null ref
2017-05-11 19:06:49 +01:00
UbitUmarov
5968c6372a
let new regions know about grid services god
2017-05-11 17:30:57 +01:00
UbitUmarov
09c4952c6d
merge
2017-05-09 23:22:36 +01:00
UbitUmarov
731510c305
let .net decide GC mode from its defaults on the platform
2017-05-09 18:27:06 +01:00
UbitUmarov
957ca41b13
remove file bin/Mono.Posix.dll that causes problems with mono
2017-05-09 11:58:07 +01:00
UbitUmarov
b20778d8ec
fix merge
2017-05-07 04:45:28 +01:00
UbitUmarov
11f6d28a06
fix merge
2017-05-07 04:21:33 +01:00
UbitUmarov
d0912b6151
let StreamReader be in using statements
2017-05-07 00:47:45 +01:00
UbitUmarov
ae191cd304
dispose some MemoryStreams
2017-05-06 15:57:47 +01:00
UbitUmarov
3bc64f638a
add a few guard checks on serviceThrottlemodule
2017-05-05 17:44:33 +01:00
UbitUmarov
f31fe66ce1
fix bad move on xmlgroups
2017-05-05 01:53:02 +01:00
UbitUmarov
9e12ef9234
let all clients get a group title update on create group
2017-05-05 01:39:38 +01:00
UbitUmarov
5f5b7e56db
merge fix
2017-05-04 12:57:11 +01:00
UbitUmarov
04a50b47bf
the new options i add where actually bad idea, they would make the
...
compatibility issue ethernal. Removed and extended the ugly date hack to
group share outwards propagation, until a better way is found at least
2017-05-04 12:36:08 +01:00
UbitUmarov
3402819888
do the same in the cases we are just moving parts around and not changing their caches (ie their taskInventory)
2017-05-04 12:08:10 +01:00
UbitUmarov
3a8dd24fd1
move deep effective permissions aggregation to first time use and not on changes. There flag it is need with InvalidateDeepEffectivePerms(). Add config options PropagateGroupShareOutwards and PropagateAnyOneOutwards
2017-05-04 11:37:13 +01:00
UbitUmarov
d62aed7f46
fix right to change permissions of group owned objects
2017-05-03 21:12:16 +01:00
UbitUmarov
3ef583f205
fix right to change permissions of group owned taskitems
2017-05-03 19:39:42 +01:00
UbitUmarov
fc46274732
still another missing conversion btw viewer and OS on groupd owned
2017-05-03 19:10:02 +01:00
UbitUmarov
4c42716022
taskitem group owned information was still incorrect
2017-05-03 18:11:50 +01:00
UbitUmarov
94bb6d965e
change taskInventory copy/move to agents inventory rules
2017-05-03 16:03:26 +01:00
UbitUmarov
b0244107dc
viewer can't tell if a taskitem is group owned if we don't tell him; missing taskInv serial update
2017-05-03 15:31:42 +01:00
UbitUmarov
1b501f03f9
recover a lost trim in permissions modules names parsing
2017-05-03 15:30:43 +01:00
UbitUmarov
cffe2f87e6
viewer can't tell if a taskitem is group owned if we don't tell him;
...
missing taskInv serial update"
2017-05-03 15:19:11 +01:00
UbitUmarov
832ca518d7
fix merge
2017-05-03 03:52:55 +01:00
UbitUmarov
02b43f06d1
recover a lost trim in permissions modules names parsing
2017-05-02 20:45:01 +01:00
UbitUmarov
710677cdc6
mantis 8135
2017-05-02 15:16:56 +01:00
UbitUmarov
a18ee3b6b3
fix LSL_ApiHttpTests
2017-05-02 12:35:06 +01:00
UbitUmarov
a890ea312b
disable LSL http listener (llRequestURL/llRequestSecureURL) if ExternalHostNameForLSL is not set in cofiguration or does not resolve
2017-05-02 11:23:41 +01:00
UbitUmarov
8498cc2f02
save a few nanoseconds
2017-05-01 23:07:57 +01:00
UbitUmarov
28d8eda768
buysell: make sure we dont buy child parts, dont mess with absolute position its useless with variable size regions, and its a rezing job
2017-05-01 14:42:38 +01:00
UbitUmarov
60dc124872
rename sog.GetEffectivePermissions() since its use is now limited to more specific task, and no longer on current effective(full) path. Note that change ownermask start to be current ownermask, and filter it to all parts basemask
2017-05-01 14:18:59 +01:00
UbitUmarov
2dbf96593c
Permissions compatibility hack 1: anyone copy - new permissions require that all items in all object parts contents have anyone copy set. Old code only required it on object. This hack tries to allow objects older than today to still work as before on this. (this is a test, we may need to change it)
2017-04-30 19:44:49 +01:00
Melanie Thielker
cf1064a245
Add a missing viewer-relevant message to the perms module
2017-04-30 13:24:48 +01:00
UbitUmarov
10922c2a1a
exclude lms from permissions checks. They are full rights, and broken on all dbs
2017-04-30 12:51:12 +01:00
UbitUmarov
514249e80e
fix new landmarks default permissions
2017-04-30 12:43:09 +01:00
UbitUmarov
116d32d947
don't break groups permission mask
2017-04-30 00:14:45 +01:00
UbitUmarov
d8341588b3
nore permissions masks hierachy
2017-04-29 23:59:56 +01:00
UbitUmarov
fedd1a93d2
buysell: fix permissions masks hierachy
2017-04-29 23:09:32 +01:00
UbitUmarov
522695c821
update folded permitions if taking from world, or after unfold
2017-04-29 22:09:45 +01:00
UbitUmarov
04117d9f75
recover PermissionsUtil.ApplyFoldedPermissions (well my version). its use easys code readability
2017-04-29 19:07:04 +01:00
UbitUmarov
725ccbb477
add check for valid folded perms
2017-04-29 16:58:43 +01:00
UbitUmarov
74f0ffbda6
fix chain of contents sells
2017-04-29 02:45:26 +01:00
UbitUmarov
019b34ea39
BuySell: bug fix, use all object permitions for sold item, and not the operation rights one
2017-04-28 23:05:14 +01:00
UbitUmarov
00091f1fb9
forgot a change...
2017-04-28 20:13:53 +01:00
UbitUmarov
ba4e13ef55
a few changes to permissions folding... we are testing. at this point only use master for TESTING also
2017-04-28 20:03:44 +01:00
UbitUmarov
8d3d87e0b2
add a usefull taint and update
2017-04-27 00:02:01 +01:00
UbitUmarov
ce655056ca
ubMeshmerizer: fix the orientation of last triangle on top/bottom faces of
...
hollow cylinders plz delete contents of bin/MeshCache to remove defective
entries"
2017-04-26 18:21:58 +01:00
UbitUmarov
ce3af94a69
mantis 6738: change parsing of the HTTP_CUSTOM_HEADER parameter and ignore entries in excess of 8 on the request
2017-04-26 07:19:44 +01:00
UbitUmarov
a680d8b8d7
fix merge
2017-04-25 17:59:53 +01:00
UbitUmarov
7c5376f224
move mesh pbs creation code out of mesh upload code into to PrimitiveBaseShape.cs
2017-04-25 14:21:01 +01:00
UbitUmarov
29ab39f14f
cosmetics on mesh upload encoding of number of faces on pbs shape. Use opensim shape enums in place of libovm for coerence, add a few coments.
2017-04-25 13:05:20 +01:00
UbitUmarov
2f6c78b888
finish encoding number of mesh faces in pbs shape on new meshs upload, and *HACK* flag it setting hollow shape to triangle. (some limited encoding as added some months ago, but only for viewers LOD). Use this hack flag to fix sop number of faces. old meshs will still report 8 faces, information to fix this seems lost unless the mesh asset is decoded
2017-04-25 04:58:24 +01:00
UbitUmarov
7a54c3e9c3
some fixes on the materials paramenters of llGetPrimitiveParams()
2017-04-24 11:46:13 +01:00
UbitUmarov
c91e101224
add suport for materials parameters PRIM_NORMAL, PRIM_SPECULAR and PRIM_ALPHA_MODE of llGetPrimitiveParams(). Im sleeping at this time, this can be very wrong
2017-04-24 07:06:48 +01:00
UbitUmarov
65a1547209
fix (or actually break) llList2float() since LSL_Key is same as LSL_String, the case of invalid LSL_Key cannot be handle, since most likely it is a string
2017-04-24 02:05:39 +01:00
UbitUmarov
54819fa4ae
mantis 8154 dont let self lResetOtherScript mean harakiri
2017-04-21 11:03:31 +01:00
UbitUmarov
84c9125016
update ode binaries for windows; add a minimal velocity for bounce
2017-04-20 02:25:22 +01:00
UbitUmarov
006c08886a
deleted a bit 2 much on last commit
2017-04-18 05:31:15 +01:00
UbitUmarov
49884b94a7
update ODE binaries for windows. Other platforms need to compile from opensim-libs repo, folder ODE-OpenSim-0.13.2, read file OPENSIM-README.txt. Remove code to reduce bounce on non physical placement, new unmanaged should handle that
2017-04-18 00:50:55 +01:00
UbitUmarov
9354e60df0
fix active objects count down, a path at least
2017-04-16 03:39:35 +01:00
UbitUmarov
b52f7b9203
missing file and remove warnings
2017-04-15 10:56:46 +01:00
UbitUmarov
0f7ffc56ce
several changes for osTeleportObject
2017-04-15 10:46:18 +01:00
UbitUmarov
156ef0bbe3
still issues with volume detectors and sleeping bodies
2017-04-15 02:48:58 +01:00
UbitUmarov
4f8f04d949
still issues with volume detectors and sleeping bodies
2017-04-15 01:21:47 +01:00
UbitUmarov
73be6cb269
increase the updates priority of linkset where avatar is sitting
2017-04-14 22:02:40 +01:00
UbitUmarov
63383bf3c5
add functions to send entity updates imediatly, except for avatars (or now) they should be use to bypass normal delayed updates, for debug
2017-04-14 21:55:37 +01:00
UbitUmarov
9d8220ac9f
some reduction on large colision repulsive force on non physical placement of physical prims
2017-04-14 03:14:41 +01:00
UbitUmarov
1848b1fdb1
mantis 8740: fix osTeleportObject set rotation
2017-04-06 12:56:00 +01:00
UbitUmarov
a41924d1f8
add missing invalidation of osGetLinkNumber cache
2017-04-05 19:42:55 +01:00
UbitUmarov
c0904a32cb
OSSL CheckThreatLevel() with no arguments only tests if OSSL is enabled. Faster test for safe functions that are always allowed with OSSL enabled. other name could be CheckOSSLenabled, but this name preserves functions template.
2017-04-05 15:11:19 +01:00
UbitUmarov
2805cb9dec
give osTeleportObject proper OSFunctionThreatLevel setting on osslEnable.ini
2017-04-05 01:15:44 +01:00
UbitUmarov
d085c337a9
add a little speedup on repeated requests for same name on osGetLinkNumber.
2017-04-04 20:11:11 +01:00
UbitUmarov
e237e1b2fa
add LSL_Integer osGetLinkNumber(LSL_String name). uses a cache for the string to linknumber map, cache invalidations may still be missing :(
2017-04-04 19:27:45 +01:00
UbitUmarov
ca250e0b0b
mantis 8740: rename osObjectTeleport as osTeleportObject, replaced the stop parameter by flags, add flags OSTPOBJ_STOPATTARRGET and OSTPOBJ_SETROT
2017-04-04 14:34:25 +01:00
UbitUmarov
056b765fbc
mantis 8130: improve keyframes motion
2017-04-04 12:38:23 +01:00
UbitUmarov
c6150c2066
mantis 8140: fix objectTeleport rotation if stop TRUE
2017-04-04 00:30:19 +01:00
UbitUmarov
4bb27917f4
oops
2017-04-03 18:09:48 +01:00
UbitUmarov
1264069b41
fix typo
2017-04-03 17:29:02 +01:00
UbitUmarov
2bb5e98574
add EXPERIMENTAL osObjectTeleport(LSL_Key objectUUID, LSL_Vector targetPos, LSL_Rotation rotation, LSL_Integer stop)
2017-04-03 17:19:28 +01:00
UbitUmarov
eb11505d19
add bool CanObjectEnterWithScripts(SceneObjectGroup sog, ILandObject land) permissions check
2017-04-03 16:10:05 +01:00
UbitUmarov
443fc60cdf
store the physics inertia override in Mysql and add it to serializer. run prebuild is required
2017-04-01 17:49:17 +01:00
UbitUmarov
24b7903cd0
add missing file. Changes of inertia data of objects running does not
...
produce correct physical results, namely linear and angular momentum
are not conserved.
2017-03-31 21:03:57 +01:00
UbitUmarov
6a35a965ff
add OSSL functions to override linksets total mass, center of mass and inertia. replacing the crude automatic estimation based on prims known to physics and density. Changed parameters are still not saved, and are lost on region crossings. only suported by UbODE. EXPERIMENTAL feature, only test it for now.. don't try to use in products.
2017-03-31 20:55:48 +01:00
Melanie Thielker
b033a2559e
Adapt to a variable name that has changed in core
2017-03-31 14:55:54 +01:00
Melanie Thielker
5587ee4500
Merge branch 'melanie'
2017-03-31 14:50:14 +01:00
Melanie Thielker
59f7cf79c9
Prevent error spew when script send IM to HG users before HG is up
2017-03-31 14:38:42 +01:00
Melanie Thielker
a6ecedb72a
Also ignore NPCs in short-circuiting region restarts
2017-03-31 14:38:42 +01:00
Melanie Thielker
75915bd0f3
Add the ability to post to and act uponconfiguration in etcd
...
Etcd is a distributed, highly available name-value store that is
the basis of many clustered applications. However, it can also be
run on a standalone machine. Using etcd allows live monitoring
and possibly changing configuration while the sim is running.
2017-03-31 14:38:41 +01:00
Melanie Thielker
3e880cee45
Allow short-circuiting region restart delays of there are no users left
2017-03-31 14:38:41 +01:00
Melanie Thielker
5109dc955f
Set a startup marker to let external scripts know the scene is up.
2017-03-31 14:38:41 +01:00
Melanie Thielker
995e750c56
Change a misleading message that could lead users to believe a grid is down
2017-03-31 14:38:41 +01:00
Melanie Thielker
91f142bbd2
Add the option to link a scene object with a monitoring object
...
For debugging purposes.
2017-03-31 14:38:41 +01:00
Melanie Thielker
27fdf3094d
A god is a god is a god. Let gods access scripts and NCs
...
Support staff are not of much help if they can't see the script a user
has issues with.
2017-03-31 14:38:40 +01:00
Melanie Thielker
caaf9f7fc1
Squelch an error that happens when the asset cache was mounted RO.
...
Nothing we can do about that, blame Docker.
2017-03-31 14:38:40 +01:00
UbitUmarov
9a01fddd1c
add CanSellObject() permitions check functions
2017-03-30 17:39:21 +01:00
UbitUmarov
efed73b2c3
mantis 8131: make the new Offline IM code optional and disabled by default, since it is not compatible with current central servers, like in osgrid.
2017-03-30 16:27:14 +01:00
Melanie Thielker
07c39624ef
Merge branch 'melanie'
2017-02-02 15:34:20 +00:00
Melanie Thielker
6164573766
Fix an error that would cause a rebake loop on HG grids
2017-02-02 15:22:27 +00:00
Melanie Thielker
047e87458b
Correct whimsical spelling on a log message
2017-02-01 18:10:27 +00:00
Melanie Thielker
202fcc7d6f
Merge branch 'melanie'
2017-02-01 16:34:49 +00:00
Melanie Thielker
60cf3f759f
Refactor part II
2017-02-01 16:34:07 +00:00
Melanie Thielker
a5151bb337
Refactor asset handling as per Ubit's suggestion
2017-02-01 16:31:01 +00:00
Melanie Thielker
5ceb315e34
Secure sim stats with an (optional) password.
...
There is way too much in these stats to expose them to the world, at
least for some of us.
2017-02-01 15:30:17 +00:00
Melanie Thielker
5a18ea31cf
Make negative asset caching actually work
...
Also fixes some merge artefacts in HGAssetBroker where cached assets
were requested but not actually used and completely squelch a materials
debug message because there is nothing the user can do to fix it anyway.
2017-01-30 13:59:05 +00:00
Melanie Thielker
a17db1b3cd
Comment two very spammy debug messages that the usr can't do anything about
...
Make a third one conditional.
2017-01-30 12:58:15 +00:00
UbitUmarov
056ccaed90
update parcel select or sat on stats on sit and stand
2017-01-27 21:43:25 +00:00
UbitUmarov
d4111ff670
fix SimwideArea again
2017-01-27 20:59:56 +00:00
UbitUmarov
0091c37ed3
several changes relative to objects return and parcel prim counts: avoid null refs, report correct count of returned objects, make obkects counts by ownership coerent with return rules, etc
2017-01-27 20:21:24 +00:00
UbitUmarov
f76ea3bb76
parcels must be loaded before objects, so they can be added to them
2017-01-27 20:07:02 +00:00
UbitUmarov
4b9c94a3aa
bug fix: wrong enabled check
2017-01-27 13:10:57 +00:00
UbitUmarov
56e3aaefde
Permissions modules where made NONShared modules. Make them so, removing incoerences and their potencial bugs
2017-01-27 12:32:01 +00:00
UbitUmarov
cdc23bab74
remove unused and wrong methods
2017-01-26 19:51:50 +00:00
UbitUmarov
ed365f6220
remove SOP.AttachPoint, redundant( and incoerent) with SOG.AttachmentPoint
2017-01-26 19:43:00 +00:00
Melanie Thielker
32c1127809
Make it possible to override the URL module
2017-01-26 18:35:53 +00:00
UbitUmarov
2fc7993d69
ubOde: update prim mass when changing Density
2017-01-26 02:45:12 +00:00
UbitUmarov
dd190f1a1f
CHANGED ALLOWED_DROP should only trigger if user has no MOD rights
2017-01-25 20:26:09 +00:00
UbitUmarov
02fbe5a740
add and use CanDropInObjectInv
2017-01-25 19:39:58 +00:00
UbitUmarov
f722f1cf6c
fix test setup
2017-01-25 18:10:59 +00:00
UbitUmarov
74ac2034e0
make use of CanDoObjectInvToObjectInv
2017-01-25 16:57:46 +00:00
UbitUmarov
b45f6b933f
fix a bug in CanCopyObjectInventory; add CanDoObjectInvToObjectInv ( not wired)
2017-01-24 14:01:39 +00:00
Melanie Thielker
f0700f48d8
Comment some more debug and squelch another module not running msg.
...
Modules whould not require that their .ini key is present. If the user
chooses to not use that module, they should not be required to retain
the config key for it.
2017-01-23 14:26:14 +00:00
Melanie Thielker
f50d598434
Disable spam in profiles module. Modules should not say they're disabled.
2017-01-23 14:06:38 +00:00
Melanie Thielker
1e0ed50d29
Activate the new Offline IM module code instead of the old code
...
As most have gone to OfflineMessaging V2, this change will not affect
existing users but will benefit future grids.
2017-01-23 01:19:28 +00:00
UbitUmarov
c673ef7e3c
replace calls to SOG.GetEffectivePermissions() by the new SOG.EffectiveOwnerPerms, some of those inline permissions checks should be reviewed and pass by permissions module
2017-01-22 23:05:39 +00:00
UbitUmarov
df035a4022
don't let part lastowner be the group
2017-01-22 21:38:59 +00:00
UbitUmarov
8d99c86f96
share before groupr roles was a testing elsewhere induced mistake, clean it up
2017-01-22 05:07:43 +00:00
UbitUmarov
50e318c401
work around group sharing and owned permitions issues, fix a non copy objects delete issue
2017-01-22 03:23:50 +00:00
UbitUmarov
c14ec1a9bd
a few more changes on permissions
2017-01-21 14:22:32 +00:00
UbitUmarov
7a1d9e213e
fix CanReturnObjects
2017-01-21 11:21:36 +00:00
UbitUmarov
186f0b73cd
add/fix CanRunScript
2017-01-21 10:22:00 +00:00
UbitUmarov
0a5d6671ce
fix llScriptDanger(); don't call old ScriptDamage on ossl health functions
2017-01-21 06:37:29 +00:00
UbitUmarov
9d61df0887
fix CanObjectEntry and CanTerraformLand group permissions
2017-01-21 05:14:13 +00:00
UbitUmarov
b20bd1a9df
change the initialization point of SimwideArea
2017-01-21 03:35:59 +00:00
UbitUmarov
85a31c9e76
initialize SimwideArea
2017-01-21 02:29:08 +00:00
UbitUmarov
c0231fe169
Oops.. fix the null on the correct place.. jenkis may now fail for another reason
2017-01-21 00:18:25 +00:00
UbitUmarov
48f137599f
fix a null ref on jenkins
2017-01-20 23:36:35 +00:00
UbitUmarov
05196ebe27
test jenkins
2017-01-20 22:50:50 +00:00
UbitUmarov
dac32c4e5a
change CanObjectEntry() to use a SOG
2017-01-20 14:26:24 +00:00
UbitUmarov
df40cdc83e
remove redundant IsGod, rename some GOD as Administrator (both only on permissions module)
2017-01-20 13:45:44 +00:00
UbitUmarov
69bcbd856b
change CanDuplicateObject
2017-01-19 19:01:56 +00:00
UbitUmarov
97e6f21c6c
actually make use of it as viewers requested
2017-01-19 18:33:00 +00:00
UbitUmarov
6826ca9b57
fix the meaning of objectDuplicate[OnRay]() flags parameter but still not using it
2017-01-19 18:25:25 +00:00
UbitUmarov
d8108ab740
change CanDeedObject. WARNING like on other grids, if you do not set next owner rights on object and ALL ITS CONTENTS, you may loose all rights on it
2017-01-19 17:45:54 +00:00
UbitUmarov
b9651652e1
add a comment about parts permissions aggregation
2017-01-19 13:25:00 +00:00
UbitUmarov
984345a202
add CanEdit check for SOGs, iclients and SPs that need to be in scene and use it
2017-01-19 13:10:04 +00:00
UbitUmarov
7651d60d72
fix a null check
2017-01-19 12:47:14 +00:00
UbitUmarov
673bd37219
object CanMove is for in scene SOGs Icleints and SPs and permitions module is NOT a shared module
2017-01-19 12:35:00 +00:00
UbitUmarov
fe9a785ecc
object Take and TakeCopy are for in scene SOPs and SPs and permitions module is NOT a shared module
2017-01-19 11:34:40 +00:00
UbitUmarov
b9ecc962ac
a few more aux methods and changes
2017-01-19 10:27:30 +00:00
UbitUmarov
3b96cd8ff2
add a GetItemPermissions() to be used use on object contents checks in Permissions module
2017-01-19 00:51:55 +00:00
UbitUmarov
1ff7e34996
a few more changes on Permissions module
2017-01-18 22:25:49 +00:00
UbitUmarov
b23ce04a6e
enforce effective perms hierarchy
2017-01-18 21:17:09 +00:00
UbitUmarov
e2c2d92d5a
antecipate baked cache check and Xbakes requests, so they happen before viewer check request (or force it to wait via locking).
2017-01-18 02:29:05 +00:00
UbitUmarov
e963789714
Permissions module: fix in prim inv CanEditNotecard group edit rights check ( in last commit plz read .. by GetObjectPermissions)
2017-01-18 01:16:58 +00:00
UbitUmarov
c14d81f538
Permissions module: replace some GenericObjectPermission by GenericObjectPermission on some checks. Note that in some cases behavour is now diferent.
2017-01-18 00:42:08 +00:00
UbitUmarov
6d784f6306
Permissions module: GenerateClientFlags() no need to keep looking for the same part several times; fix locked mask in GetObjectPermissions()
2017-01-17 23:22:02 +00:00
UbitUmarov
06bca0388f
Permissions module: add GetObjectPermissions() that should replace GenericObjectPermission
2017-01-17 14:30:20 +00:00
UbitUmarov
db2fbf6516
add more calls to effective permissions aggregation, some paths may still be missing on objects changes, but remove the aggregation on check paths, so all can be tested.
2017-01-17 13:24:09 +00:00
UbitUmarov
1113407280
add more calls to effective permissions aggregation; do not change groupmask on deed
2017-01-17 01:22:44 +00:00
UbitUmarov
a5c693e302
start adding calls to effective permissions aggregation on changes; rearrange code in DuplicateObject();
2017-01-17 00:41:30 +00:00
UbitUmarov
2b5ef89272
remove now unused SetRootPartOwner()
2017-01-16 20:37:04 +00:00
UbitUmarov
180add745c
replace calls to SetOwnerId and SetRootPartOwner by a single new SetOwner() so owner is not changed twice on rootpart
2017-01-16 20:27:39 +00:00
UbitUmarov
6735d3496c
fix EffectiveGroupOrEveryOnePerms C&T == 0 case
2017-01-16 19:49:07 +00:00
UbitUmarov
ffa6c7aae2
avoid lastOwner beeing the group
2017-01-16 19:22:39 +00:00
UbitUmarov
733072b6a3
chance new effective permissions code to ease aggregation on demand( ie on changes). But still doing full aggregation on checks, so still heavy
2017-01-16 19:01:41 +00:00
Melanie Thielker
d78f04b326
Merge branch 'melanie'
2017-01-16 14:55:54 +00:00
Melanie Thielker
568614af2c
Remove the last instance of the legacy slam but being set
...
New objects now get only the real slam bit.
2017-01-16 14:53:42 +00:00
UbitUmarov
b9e2606c2f
add code for fixing effective permitions. This is a test, and currently too slow for prodution. just finding our way home
2017-01-15 16:15:40 +00:00
UbitUmarov
6eaa8948a6
bad move.. revert
2017-01-14 23:23:56 +00:00