diva
dee6ad7154
Putting the return back in AddCapsHandler upon attempt at adding CAPs twice. The return seems to have been commented in 8038, as an attempt at fixing multiple TP problems later identified to be deadlocks. CAPs should never be overwritten, or the viewer can get confused. Right now this method is erroneously being called twice because of legacy code. I'll fix that later, after further testing.
2009-02-01 20:36:10 +00:00
Charles Krinke
50536c66a0
Thank you kindly, TLaukkan (Tommil) for a patch that:
...
Added osTeleportAgent with region coordinates to
support hyper grid scripted teleports.
2009-02-01 17:41:33 +00:00
Teravus Ovares
469b35d2bb
* Adding a few fields to the Land data responder that the client is complaining about (and older clients are crashing on)
2009-02-01 17:16:36 +00:00
idb
aad843fc2c
Correct the method signature on llMakeFountain.
2009-02-01 15:12:32 +00:00
diva
3bd0df18b7
More on dynamic hyperlinks. Making the 4096 check (deregistration of region) work in grid mode.
2009-02-01 02:20:57 +00:00
diva
ff149ae197
Check for the 4096 limitation in dynamic region hyperlinks.
2009-02-01 00:59:42 +00:00
idb
1a14066aa6
Speed improvement mostly when sensing objects especially noticeable in a sim with many objects.
2009-01-31 19:02:09 +00:00
Charles Krinke
4a120e9dd5
Flesh out llGetAgentLanguage to return "en-us" until
...
we have an I18N committee for internationalization.
2009-01-31 18:27:44 +00:00
diva
9e29baa565
Initial support for dynamic HG hyperlinks. With this commit, remote sims can be linked (and TPed to) simply by searching on the map for things like this ucigrid03.nacs.uci.edu:9003 or by clicking on things like this in the chat history secondlife://ucigrid03.nacs.uci.edu:9003/ or by clicking on links like that on the embedded browser.
2009-01-31 18:13:22 +00:00
Teravus Ovares
85c0c0557e
* Tweaks some locks when modifying an ODECharacter. This actually allows a user to log-in while the physics scene and the scripts are starting up. This also seems to smooth out the jerks on teleport/connect/disconnect a little bit.
...
* If you log-in while the simulator is starting up, you won't be able to move and the sim stats will say 0 FPS, and 0 Physics Frames and you may see only terrain. Once the sim finishes starting up, it'll all resume as normal.
2009-01-31 16:49:32 +00:00
diva
360eb239b3
Hopefully fixes mantis #3063 .
2009-01-31 00:15:13 +00:00
diva
e7a9ece410
Bug fix on posting assets onto foreign users inventory. Check that the key is already in the local asset map before adding it.
2009-01-30 23:53:41 +00:00
diva
36221a2c19
Added a new method SendGroupRootUpdate to start addressing mantis #3019 . ll functions have not been changed.
2009-01-30 23:23:02 +00:00
Justin Clarke Casey
e233aad098
* Put a wait timeout on the archive test, just in case the archiver never returns
2009-01-30 21:39:54 +00:00
Justin Clarke Casey
fa88dac539
* minor: remove some mono compiler warnings
2009-01-30 21:26:38 +00:00
Justin Clarke Casey
951c08933a
* In OpenSim.ini.example, list defaults for AllowOSFunctions and OSFunctionThreatLevel and change existing OpenSim.ini.example settings
2009-01-30 21:04:23 +00:00
Justin Clarke Casey
c307e0e4a7
* Extend archive save test to check for the presence of the file for the object that was in the scene
...
* Can now pass in a wait handle to ArchiveRegion() if you want same thread signalling that the save has completed
2009-01-30 20:54:38 +00:00
Justin Clarke Casey
7a751f6940
* minor: stop bothering to set parts to phantom within test setups - tests now seem to pass without having to do this
2009-01-30 18:28:05 +00:00
Dr Scofield
1b0a398763
reporting original request URI if HttpWebRequest failed, adding
...
try-catch around GetRequestStream (this time for sure)
2009-01-30 14:45:39 +00:00
Jeff Ames
6126c687c1
Update svn properties, minor formatting cleanup.
2009-01-30 09:03:23 +00:00
Dahlia Trimble
7e17cec182
remove dummy parcel media settings from event queue message
2009-01-30 08:52:45 +00:00
Dr Scofield
587b079878
2009-01-30 08:49:00 +00:00
Dr Scofield
27df816184
fixing: client gets logged out when concierge's broker returns 500
...
response.
adding: more verbose error logging
2009-01-30 08:48:41 +00:00
idb
ea6e4a95ce
Complete the implementation of llSHA1String.
2009-01-29 19:47:55 +00:00
Justin Clarke Casey
6e63e93ec7
* minor: just a few formatting changes and log quietening
2009-01-29 18:39:33 +00:00
Sean Dague
25e241837b
* Enhanced ScenePresenceTests. Now tests for region and prim crossing.
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-28 19:23:20 +00:00
Dr Scofield
4cfa36ee8b
fix: client gets logged out when concierge's broker returns 500
...
response.
2009-01-28 18:58:49 +00:00
Dr Scofield
ce1e1854b1
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
This changeset fixes a race condition where a script (XEngine run) can
startup before a reference is added to it in all of the required
places in the XEngine class. The effect of this is that a script can
sometimes on startup miss script events. For example a script which
starts up and initialises itself from a notecard may never receive the
dataserver event containing the notecard information.
The patch isn't as clean as I'd like - I've split the constructor of
ScriptInstance up so it does everything it did before except
call Startup and post events like state_entry and on_rez. An Init
function has been added which is called after the ScriptInstance
object has been added to the necessary data structures in XEngine.
Happy to rework it if someone suggests a better way of doing it.
2009-01-28 09:52:09 +00:00
Dr Scofield
a3ac702941
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
Adding Oarfileloaded and EmptyScriptCompileQueue event support which
allows (with a module) for programmatic notification of when a region
objects and scripts are up and running after a server start or
load-oar.
2009-01-28 09:22:12 +00:00
Charles Krinke
fe18adbc11
Add in a stub for llSHA1String. I believe it is the only one new
...
function we were missing.
2009-01-28 04:50:25 +00:00
Dahlia Trimble
0c712e9704
delete some commented out junk code notes
2009-01-27 06:20:03 +00:00
Dahlia Trimble
c747990187
Send groups list via event queue
2009-01-27 06:14:11 +00:00
Dahlia Trimble
54a1b9dbff
correct formatting if parcel description field in event queue message
2009-01-27 01:31:06 +00:00
Dahlia Trimble
fd76bc39fa
Correct a typo in the parcel properties event queue message which was preventing the display of authorized buyer
2009-01-27 00:51:14 +00:00
Dr Scofield
b1520fbfd2
2009-01-26 21:35:54 +00:00
Dr Scofield
92b6d1efbb
2009-01-26 21:35:38 +00:00
Dr Scofield
6cebb6e760
~ fixing bugs in ConciergeServer.py test code
...
~ fix bug in ConciergeModule: wrong closing tag for avatars list
2009-01-26 21:35:16 +00:00
Dr Scofield
0aafeb5da3
adding XML parsing to make sure POST content is welformed
2009-01-26 21:34:59 +00:00
Dr Scofield
10f7e534c9
+ adding URI substitution for concierges broker URI
2009-01-26 21:34:44 +00:00
Dr Scofield
0c14ebec87
~ moving test server script on level up
2009-01-26 21:34:27 +00:00
Dr Scofield
db46c75d72
~ moving test server script on level up
2009-01-26 21:33:53 +00:00
Dr Scofield
494cfdfe37
~ turning synchronous broker update into asynchronous one
2009-01-26 21:33:36 +00:00
Dr Scofield
8c4ac64d80
~ fix: Concierge reports avatar leaving region twice
...
~ cleaning up log statements
2009-01-26 21:33:20 +00:00
Dr Scofield
3b866df078
+ completed python test server
2009-01-26 21:32:59 +00:00
Dr Scofield
78db120b3d
+ adding test server for debugging purposes
2009-01-26 21:32:43 +00:00
Dr Scofield
0abc179a4e
~ extending attendee list to include agent name
...
+ code to generate full XML avatar list
+ code to POST XML snipplet
2009-01-26 21:32:24 +00:00
Dr Scofield
4464e59f75
adding timestamp as ISO 8601
2009-01-26 21:31:41 +00:00
Dr Scofield
d10d8af295
adding XML sniplet generation (start of)
2009-01-26 21:31:21 +00:00
Dr Scofield
464ecc15a0
starting draft attendee list notification support.
2009-01-26 21:31:02 +00:00
Dahlia Trimble
b112109d2c
swap endianness of parcel flags in event queue message
2009-01-26 20:06:31 +00:00
Teravus Ovares
fc75a2031e
* Providing a way for the rest of the simulator to get at the economy settings through the IMoneyModule interface.
2009-01-26 20:05:13 +00:00
Dahlia Trimble
4dace03696
add a definition for a parcel properties CAP
...
send parcel properties via eventqueue rather than UDP to facilitate libomv clients - see Mantis #3040
2009-01-26 10:42:24 +00:00
Dahlia Trimble
fa99f01378
more eventqueue IM nonsense
2009-01-26 08:04:12 +00:00
idb
b0cb272d12
Remove the addition of the region coordinates to obtain the absolute position of a prim/person on the grid. I believe it is superfluous and removes needed decimal places for short range sensors.
...
Fixes Manitis #3046
2009-01-25 21:13:42 +00:00
Homer Horwitz
b405d92260
* Fixed a small logical error in error handling of console commands.
...
* Console command help should be output to the console, not to the log (as "help" does it already). That allows getting help/answers even if you only log into a file.
Fixes Mantis#2916.
2009-01-25 16:12:55 +00:00
idb
aa2521623c
Add an override of the ! operator to lsl integer.
...
Fixes Mantis #3041
2009-01-25 10:17:26 +00:00
Teravus Ovares
76206543e8
* Adds console command, 'predecode-j2k <number of threads>' to load all of the texture assets from the scene and decode the j2k layer data to cache. The work is split between the number of threads you specify. A good number of threads value is the number of cores on your machine minus 1.
...
* Increases the number of ImageDataPackets we send per PriorityQueue pop and tweak it so that the number of packets is ( (2 * decode level) + 1 ) * 2, and (((2 * (5-decode level)) + 1) * 2). The first one sends more data for low quality textures, the second one sends more data for high quality textures.
2009-01-25 04:34:00 +00:00
Justin Clarke Casey
c277440e73
* minor: remove mono compiler warning
2009-01-23 20:44:35 +00:00
Justin Clarke Casey
dbd2b45233
* Write a simple archive loading test which doesn't actually do any testing yet apart from not blow up
2009-01-23 20:38:44 +00:00
Justin Clarke Casey
664f983943
* Extend archive test to check for the presence of a control file in a saved archive
2009-01-23 19:24:36 +00:00
idb
04a565e6b1
Fix for llGetRot when the script is in a child prim. Also fixed llGetPrimitiveParams for PRIM_ROTATION.
...
Fixes Mantis #3023
2009-01-23 18:10:31 +00:00
Justin Clarke Casey
f8aea3724d
refactor: move test modules set up code to common function
2009-01-23 17:55:29 +00:00
Justin Clarke Casey
ee3c61247e
* refactor: move scene setup code into common test code assembly
2009-01-23 17:32:38 +00:00
Justin Clarke Casey
227e88a6f4
* minor: remove serialization and deserializationg sog log messages for now
2009-01-23 17:17:46 +00:00
Justin Clarke Casey
15cd1102e1
* minor: small tweak to archive save completion log message
2009-01-23 17:12:15 +00:00
Justin Clarke Casey
ddff7ab20e
* Add direct stream loading and saving methods to the archive module.
...
* The async stream method does not yet signal completion to interested calling code
2009-01-23 17:07:37 +00:00
Teravus Ovares
74df9f9c81
* Adds a synchronous jpeg decode for pre-caching purposes
...
* When the DynamicTextureModule creates a j2k image, pre-cache the decode so that it doesn't stall any client threads.
2009-01-23 11:00:36 +00:00
Dahlia Trimble
68978e6e2a
add event queue code for sending group IM for future group support
2009-01-23 01:49:32 +00:00
Teravus Ovares
178fd97bd0
* Fixing a group title
2009-01-23 00:08:35 +00:00
idb
757762a630
Implement missing LSL TEXTURE_xxx constants including two new textures.
...
Fixes Mantis #3030
2009-01-22 23:58:46 +00:00
Justin Clarke Casey
884009ed33
* Add some caps seed capability path checking to the simple non neighbours standalone region teleport test
2009-01-22 19:46:31 +00:00
Teravus Ovares
28ddc38deb
* Remove a few unnecessary locks to try and prevent lock contention in LLImageManager
2009-01-22 18:28:32 +00:00
Justin Clarke Casey
8a24f61acd
* Change the currently misleading log message when capabilities are added twice, and provide some more information
...
* No functional change
* It strikes me that there may be caps problems if double registration is presented if cleanup failed for a previous agent (so a caps handler will remain in memory for that
agent but with a different seed). This needs investigation
2009-01-22 17:51:47 +00:00
Dr Scofield
20359e8591
white space & formatting cleanup
2009-01-22 16:43:28 +00:00
Dr Scofield
7e08d7da15
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
this patch makes load-oar a bit more tolerant to irrelevant
differences in the oar file format. Directory entries are now ignored
rather than trying to interpret them as files they hold which results
in the load-oar failing. This change makes it easier to manually
modify oar files.
2009-01-22 16:43:09 +00:00
Sean Dague
54801bb142
* minox fix related to last commit
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-22 16:06:26 +00:00
Sean Dague
9704196bbf
* Caught 2 dictionary exceptions that were unhandled
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-22 13:59:54 +00:00
Teravus Ovares
9ebba37a7c
* discovered! darn! Removing I <3 OpenSimulator from firstname
2009-01-22 10:04:15 +00:00
Teravus Ovares
a7ccbb3de0
* Added some more comments
...
* Fixed up an outgoing packet
* I <3 OpenSimulator
2009-01-22 09:31:01 +00:00
Teravus Ovares
6167019a05
* Adds a Scene Getter property called SceneContents for the Scene's m_sceneGraph. This will allow it to be exposed to modules without resorting to referring to m_sceneGraph
2009-01-22 01:50:00 +00:00
Teravus Ovares
c6154c8987
* Add File cache for j2k layer decodes. This will make it so that the server will decode the j2k stream once and cache it to disk so that the cache is saved across sim restarts.
2009-01-22 01:33:46 +00:00
Justin Clarke Casey
37fa677548
* refactor: Extract caps related code from scene and put into a region module
...
* No functional changes in this revision
2009-01-21 21:14:17 +00:00
Justin Clarke Casey
2921729bf2
* Restore commented out isdone assertions in TextureSendTests.T010_SendPkg()
...
* These still appear to suceed with the current code!
2009-01-21 18:57:05 +00:00
Justin Clarke Casey
d2d273aebe
* minor: move connection success log message so that it doesn't get printed again if a duplicate use circuit code packet comes in
2009-01-21 18:46:44 +00:00
Justin Clarke Casey
22aeda3ba1
minor: find in existing senderUUID field for chat messages originating from a client
2009-01-21 17:56:25 +00:00
Teravus Ovares
1a55dd11f1
* More friendly OpenJpeg error handling.
...
* Often times now the only reason OpenJpeg doesn't work is because it requires Glibc 2.4 The error messages reflect that.
* In J2kDecoder module, It stops trying to decode modules if it encounters a dllnotfound exception and instead sends a full resolution layer that causes the texture sender to only send the full resolution image. (big decrease in texture download speed, but it's better then nasty repeating error messages)
2009-01-21 11:16:33 +00:00
Dahlia Trimble
032b30ffdb
Fix an error in sculpt LOD calculation
2009-01-21 02:40:09 +00:00
Melanie Thielker
cbbb3a0c6d
And another method added
2009-01-20 21:59:11 +00:00
Melanie Thielker
5ae3364152
Small interface addition
2009-01-20 21:45:44 +00:00
Teravus Ovares
e1f5e2df3f
* minor: A few comments. A bit of cleanup.
2009-01-20 06:07:36 +00:00
diva
e4c1e20d27
Very minor: added a missing {0} in a couple of Error messages.
2009-01-20 01:50:20 +00:00
idb
afc48ce39c
Added overrides for == and != for list.
...
Fixes Mantis #3002
2009-01-20 00:10:39 +00:00
Teravus Ovares
68baf9096a
* Another image packet edge case. Thanks nebadon for printing a log of it
2009-01-19 21:29:44 +00:00
idb
a47d851295
Correct energy calculation to include the mass of the object.
...
Fixes Mantis #3006
2009-01-19 19:15:55 +00:00
Teravus Ovares
4823f2ae8e
* Set SVN Properties
2009-01-19 18:33:25 +00:00
Justin Clarke Casey
96e15058d5
* minor: Just some minor log elaboration to reveal in the logs where a teleport is being directed rather than just its position
2009-01-19 17:15:27 +00:00
Teravus Ovares
8e01f75784
* Progressive texture patch + PriorityQueue put into the LLClient namespace.
...
* Updates LibOMV to r2362
2009-01-19 17:11:57 +00:00
idb
63d2885008
Moved applying an impulse to a newly rezzed object to minimise the delay getting the object moving.
2009-01-18 14:46:43 +00:00
idb
ed0661e25a
Subscribe to collision events if needed when turning an object to non-phantom from phantom.
...
Fixes Mantis #1883
2009-01-18 11:25:12 +00:00
Dahlia Trimble
37b63636ee
Added an optional password for the IRC module
2009-01-18 10:50:53 +00:00
diva
1d8821ccb2
Getting rid of the CheckRegion call during TPs. This seems to be not just useless, but sometimes problematic (mantis #2999 ). Initial tests indicate that this call is not necessary. Let's see if this stands in the wild.
2009-01-18 01:45:22 +00:00
Melanie Thielker
96d6c6b1f3
Change list type to compare length instead of references.
...
Fixes Mantis #3002
2009-01-17 18:35:40 +00:00
Justin Clarke Casey
eca6442bae
* Rig up enough infrastructure to actually perform a successful 'standalone' teleport unit test with checks that the scene presence disappeared from sceneA and appeared in
...
sceneB
* However, I'm not convinced that the actual process in the test completely reflects reality, and a lot of stuff had to be rigged up (which should get resolved over time)
2009-01-16 21:56:13 +00:00
Justin Clarke Casey
bee9efa30e
* minor: Future archiver test stub
2009-01-16 18:31:07 +00:00
MW
e21b3bf390
Added support so that during the loading of a xml link list, it checks if a linked hypergrid region's real location is within 4096,4096 map spaces of its "local" location. If it is outside of that range ( so it wouldn't be possible to teleport to it) then it ignores it and doesn't create a link.
...
See the hypergrid wiki page for more details.
2009-01-16 17:56:44 +00:00
MW
eb5a022981
Added some basic relocation mapping support for when loading hypergrid links from a xml file.
...
Console Command: link-mapping <StartXloc> <StartYloc>.
This results in only the last two digits of any of the locations defined in the xml file being used, and those 0-99 values being added to the StartXloc and StartYloc figures.
For more infomation, see the email on the mailing list and the soon to be added instructions on the wiki's hypergrid page.
Also made the Secion Names in xml file case insensitive.
2009-01-16 12:52:05 +00:00
Jeff Ames
23bd915ecd
Minor formatting cleanup, add copyright header.
2009-01-16 04:42:24 +00:00
diva
e80dcfa9f6
Eased the locking times of ScenePresences. No locks were removed, just the locking periods changed.
...
* Added an additional lock in GetScenePresences()
* Changed ForEachClient to use GetScenePresences() instead of the main ScenePresences dictionary, so that there is no need to lock.
2009-01-15 23:37:49 +00:00
Justin Clarke Casey
adc61008cc
* add file I just missed out, nggggff
2009-01-15 21:29:24 +00:00
Justin Clarke Casey
093adb2113
* Add new unit test for simple teleport in a standalone.
...
* Does not yet check results.
2009-01-15 21:27:55 +00:00
MW
0ec96d294a
Small bit of refactoring related to the hypergrid link loading from xml files.
2009-01-15 17:09:51 +00:00
MW
d40e07a2c7
Added support for a "excludeList" as part of the hypergrid xml link file loading. So that certain links in the file will be ignored. See the wiki's hypergrid page for details (in about a hour).
2009-01-15 15:31:40 +00:00
MW
940728dad7
Added initial support for reading hypergrid links from a xml config file. Although its currently still activated by using console command: link-region <URI of xml file> , the uri should be able to be a local file path or a http uri. I'm adding details of the format of the xml file to the wiki's hypergrid page.
...
TODO: Add a initial startup option for setting the uri and making it autoload it.
Add support for scanning the xml file to check that its own region(s) aren't in the list, and if they are, ignoring them. This would allow setting up "virtual link/grid lists" on webservers, that people can add their own regions to and also point those regions to those same lists, so they load the other region's data.
Add support for automapping of those region/link lists.
2009-01-15 14:37:04 +00:00
Dahlia Trimble
9822f8fc8f
Added a taint to the sculpt texture callback in an attempt to mitigate Mantis #2908 . Thanks Teravus for the suggestions :)
2009-01-15 02:17:30 +00:00
Justin Clarke Casey
46cac455c1
* Move the timed_out change to earlier on in the async handler
...
* There appears to be a bug on mono 1.9.1 (and maybe later), where sometimes the async wait will be signalled even though that async callback has not executed
* This change may make it slightly better but it's difficult to tell (it definitely still occurs)
* Also this patch closes the wait handle explicitly, as recommended in the MSDN docs. This doesn't have any impact on the bug though
2009-01-14 20:40:14 +00:00
Justin Clarke Casey
8a08e4980d
* Adjust log messages so that we don't get a CONNECTION BEGIN for notifications that won't actually lead to a client connection (because they are from a neighbouring teleport
...
target that needs to trigger a child seeds adjustment on a child agent that has been kept around)
2009-01-14 19:53:15 +00:00
Justin Clarke Casey
3ff8dd34b0
* Remove absolute position and authentication handler addition for incoming 'new user notifications' that have existing scene presences
...
* The position will be reset if the connection turns out to be a root one, and since the client is already authenticated another authentication will not occur anyway
2009-01-14 18:48:57 +00:00
Justin Clarke Casey
75ea84f3d2
* minor: Change around more debugging messages
2009-01-14 18:46:33 +00:00
Justin Clarke Casey
6ae1b80d20
* Do some log tweaking to better see incoming connection success (and failure)
2009-01-14 17:34:04 +00:00
Justin Clarke Casey
2a5f060ed8
* Fix typo which meant that RestComms was never enabled if you explicitly enabled it
...
* In fact, it would only be activated if there was no [Communications] section at all (which would be the case for most people with existing region setups unless they
specifically added it in
* This fix means that enabling inter-region rest comms is now the default
2009-01-14 16:52:12 +00:00
nlin
bfdf2479fb
Improve parsing of joint parameters for NINJA physics (Mantis #2966 ).
...
Multiple spaces or leading/trailing spaces when specifying the prims
to connect should no longer cause problems.
2009-01-14 04:59:57 +00:00
diva
866c85be0d
Easy on locking m_scenePresences in RequestTeleportLocation. With the extra locks of SceneGraph ScenePresences introduced in 7982, this was making TPs not close the agent in the departing region due to locking. That locking problem seemed to occur only in Linux/mono -- I suspect a mono bug here.
2009-01-14 04:18:28 +00:00
Melanie Thielker
1c3542303c
Change fake parcel ids to allow a Z coordinate. Change TP by lure
...
to also transmit and use a Z coordinate.
2009-01-13 23:29:54 +00:00
Teravus Ovares
c80b2bb98e
* Fix a few caps limiter that were causing problems
...
* Added a path for all sessionids to be logged off when a region secret is provided. (helps log-off dead agents).
2009-01-13 23:25:47 +00:00
Sean Dague
9dff38ca14
* Extended TextureSenderTests and modified TestClient.cs with new methods
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-13 19:55:07 +00:00
Justin Clarke Casey
363054bb2c
* minor; Very minor non-functional tidy ups
2009-01-13 18:23:37 +00:00
Justin Clarke Casey
feba3cc3ff
* Removing set-time command since it doesn't actually do anything at all
...
* If this was crucial to someone then it should be reinsertable as a module
2009-01-13 17:01:57 +00:00
Justin Clarke Casey
1e365df495
* minor: Stop friendship termination crashing the client thread if the friend to be terminated could not be found
2009-01-13 16:49:01 +00:00
Dr Scofield
9bcaf98e37
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The attached patch adds the automatic granting of PERMISSION_CONTROL_CAMERA
on request to a script when an avatar is sitting on the object that the script
resides in.
It also automatically removes PERMISSION_TAKE_CONTROLS and PERMISSION_CONTROL_CAMERA
from the scripts when an avatar stands up. It doesn't remove the other automatically
granted permissions but this follows LL server behavior. Removing these two
permissions avoids some potential race conditions (accidentally taking
control after the avatar has stood up) which may be why LL put
them in the first place.
2009-01-13 08:15:43 +00:00
Justin Clarke Casey
efcf6ff095
* Extend current stub packet handler test into a really basic one that checks that a sent in packet ends up on the client queue ready for processing
2009-01-12 20:42:44 +00:00
Justin Clarke Casey
ade107f04f
* Separate starting a client thread into a separate Start() method (which matches the existing Stop() and Restart() methods)
2009-01-12 19:37:56 +00:00
Justin Clarke Casey
d4d2c19594
* Extend PacketHandlerTest to fire in a packet.
...
* Can't test result yet since the Client thread handles it with unpredictable timing
2009-01-12 18:45:03 +00:00
Justin Clarke Casey
6e9d5e4ea7
* refactor: move packet handler interface into a separate class
2009-01-12 17:31:30 +00:00
Sean Dague
77f0df6394
Caught exceptions in some console commands
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-12 15:34:05 +00:00
Melanie Thielker
2ba9dd7eeb
Cause permissions on root prims to not override folded permissions anymore
...
Fix propagation of folded permissions from object inventory to agent
inventory.
2009-01-12 13:19:33 +00:00
MW
e1eb1b2cfa
a little bit more work on LLFileTransfer.cs, from over the christmas/new year period. Still not working/in use but hopefully I can finish it soon.
2009-01-12 10:16:33 +00:00
Mike Mazur
a7bc56073c
Make ZERO_ROTATION.y a float. Fixes Mantis #2985 .
2009-01-12 09:04:31 +00:00
Charles Krinke
40f34aeffd
Thank you kindly, Tlaukkan (Tommil) for a patch that:
...
Fixed all NHibernate unit tests by implementing missing persistency
methods, tables, columns and fixing bugs in the existing implementation.
Two minor changes to classes outside NHibernate module: Added Scene
instantiation for SceneObjectGroup in OpenSim.Data.Tests.BasicRegionTest
as this was required by the NHibernate persistency. In the process added
also mock constructor to Scene which only populates RegionInfo in the scene
which is used by ScenePart.RegionUUID. NHibernate module is still in
experimental state and has not been tested at opensim region or ugaim runtime
configuration. Adding unit tests to build is not yet advisable nor using
NHibernate module in any production setup.
2009-01-11 18:24:16 +00:00
Dahlia Trimble
630ce5b264
Revert progressive texture patch from r8001 until issues can be addressed
2009-01-10 09:15:23 +00:00
Dahlia Trimble
3bdd4db3fd
Thanks jhurliman for a patch that implements progressive texture downloading - Mantis #2655
2009-01-10 01:46:47 +00:00
Justin Clarke Casey
1149bde7cb
minor: remove mono compiler warning
2009-01-09 21:15:34 +00:00
Justin Clarke Casey
7cd8748096
* minor: Put in stub LLPacketHandler testing code
2009-01-09 21:05:53 +00:00
Melanie Thielker
993b965f0a
Prevent error message from scripted IM
...
Fixes Mantis #2970
2009-01-09 15:15:41 +00:00
Melanie Thielker
7c7ea57c5c
Finish dwell sending, adding the forgotten method body.
...
Add UserInfo and a dummy reply to enable Hippo Viewer users to
disable IM logging (option was greyed out in OpenSim before)
2009-01-09 02:59:56 +00:00
Teravus Ovares
fcc3325f3b
* Adds the variables passed to the hashtable BaseHttpServer passes in.
...
* Null check on Sessions_report.
2009-01-08 22:01:57 +00:00
Justin Clarke Casey
5169b1f19e
* Establish placeholder for future TextureSender tests
2009-01-08 21:05:24 +00:00
Justin Clarke Casey
af49acd6cc
* refactor: move url sending from scene to DialogModule
2009-01-08 19:28:10 +00:00
Justin Clarke Casey
be41132c72
* minor: Remove now unused SendEstateMessage... method in Scene I forgot from last commit
2009-01-08 19:18:45 +00:00
Justin Clarke Casey
e7bb27b5bd
* refactor: move code to send a dialog to a user from scene to DialogModule
2009-01-08 19:14:52 +00:00
Justin Clarke Casey
9a97a6866f
* refactor: move estate dialog to DialogModule
...
* This appeared only to be implemented for the region, and doesn't currently seem to work anyway
2009-01-08 19:05:22 +00:00
Justin Clarke Casey
17f783457b
* refactor: move code for sending a message to all users in a region to the DialogModule
2009-01-08 18:50:46 +00:00
Jeff Ames
b0a59c3bf3
Update svn properties, minor formatting cleanup.
2009-01-08 01:13:08 +00:00
Teravus Ovares
437d2f8703
* Add session length to session.report.
2009-01-07 23:35:11 +00:00
Teravus Ovares
95984e0587
* Added session report.
...
** Full or two criteria. UserID, or VersionString
* Added link to session report from client report.
2009-01-07 23:20:23 +00:00
Justin Clarke Casey
b97a51d7d0
* refactor: Make some direct IClientAPI calls go through the dialog module instead
2009-01-07 20:46:28 +00:00
Justin Clarke Casey
1aa9e63428
* Move general alert code to DialogModule.
...
* Should be a clean build - last failure looked like a mantis hiccup
2009-01-07 20:29:09 +00:00
Justin Clarke Casey
c084b07116
* minor: Remove mono compiler warnings from WindModule
2009-01-07 20:13:40 +00:00
Justin Clarke Casey
9b96fc9029
* refactor: Establish DialogModule, move some alert code from Scene to here
2009-01-07 20:09:37 +00:00
Justin Clarke Casey
9e297cd722
* Slightly increase ScenePresences locking where it's technically required in SceneGraph
2009-01-07 19:33:20 +00:00
Justin Clarke Casey
a9df572c25
* refactor: Remove MakeHttpRequest wrapper method from Scene in favour of a direct call
2009-01-07 18:36:27 +00:00
Teravus Ovares
9bd827a642
* Added a client version report.
...
* Added a report-> link generator.
2009-01-07 03:40:13 +00:00
Justin Clarke Casey
a31792ee5c
* prune and regrade log messages relating to client login and logout
2009-01-06 21:39:55 +00:00
Justin Clarke Casey
31b0f07085
* Rename GetRandomCapsPath() to GetRandomCapsObjectPath() to fit in with terminology used elsewhere
...
* Last build break was probably a Bamboo failure - hopefully this should succeed
2009-01-06 18:26:27 +00:00
Justin Clarke Casey
715a776f7d
* Move common string aggregation for caps seed path to a method in CapsUtil
2009-01-06 18:06:53 +00:00
Justin Clarke Casey
b1c2cb3d82
* minor: Move GetRandomCapsPath() to a CapsUtil class
2009-01-06 17:27:04 +00:00
Justin Clarke Casey
251387a391
* Remove unused CAPSService
2009-01-06 16:39:08 +00:00
Justin Clarke Casey
47a693ff1a
* remove mono compiler warnings
2009-01-06 15:26:30 +00:00
Adam Frisby
79bf2c8096
* Added three new events to SceneGraph:
...
- OnObjectCreate
- OnObjectDuplicate
- OnObjectRemove
2009-01-06 15:14:15 +00:00
Justin Clarke Casey
b6ee2f15ba
* refactor: Remove the need to separately pass in the http listener to the scene - this is always available via CommsManager
2009-01-06 15:09:52 +00:00
Justin Clarke Casey
fde6a1665c
* refactor: call AddHttpHandler() directly via CommsManager
2009-01-06 14:44:45 +00:00
Justin Clarke Casey
b07c188b7e
* refactor: call AddStreamHandler() directly via CommsManager
2009-01-06 14:37:39 +00:00
Justin Clarke Casey
579f11b3b8
* refactor: call AddLLSDHandler directly via CommsManager
2009-01-06 14:30:50 +00:00
Justin Clarke Casey
2a4c4ceebb
* refactor: drop AddXmlRpcHandler() from scene in favour of call via CommsManager
2009-01-06 14:20:54 +00:00
Teravus Ovares
df82eaf8a8
* Mjnor: Clarified comment to ensure that people are aware of how to end the recursive calls
2009-01-06 01:10:26 +00:00
Teravus Ovares
4f0bbf5d61
* Kill an endless loop in the Instant Message delivery system
...
* Must compare user region with previous calling of the same method to determine if we should look the user up.
* The first time, the previous region handle will be 0, so therefore it'll use the cached version.
* The second time, previousRegionHandle will be what we looked up on the first round
* The third time, it'll say.. we tried to deliver it once with or without lookup, we tried to deliver it a second time with lookup, and failed both times so end!
2009-01-06 00:57:33 +00:00
Teravus Ovares
0d1b867500
* Added a way for the sim stats reporter to say to the scene that the stats are illogical.
2009-01-06 00:07:24 +00:00
Homer Horwitz
0c3426935e
Use correct name for friendship offer. Fixes Mantis #2959 .
2009-01-05 21:45:20 +00:00
Justin Clarke Casey
b077723a20
* minor: remove some mono compiler warnings
2009-01-05 20:58:57 +00:00
Justin Clarke Casey
e7ac639f3a
* Centralize references to the well known blank texture 5748decc-f629-461c-9a36-a35a221fe21f to a constant in OpenSim.Framework.Util
2009-01-05 19:36:48 +00:00
Teravus Ovares
0cd0a9bdb1
* Resolve a few bugs in the Stats Collector
...
** Update limiter logic reversed
* Resolve a few bugs in the Viewer Stats collector
** Catch the logoff ViewerStats post (darn those caps deregistrations)
** Check the type of the correct map when checking
* Resolve a leak in Prototype_distributor
** .Close, .Dispose()!
2009-01-05 18:35:50 +00:00
Justin Clarke Casey
fcab408cc4
* Add seed cap check to login test
2009-01-05 18:30:56 +00:00
Justin Clarke Casey
0b07c9762b
* Simplify test code by always setting up mock 'in memory' user and inventory data plugins for every TestCommunicationsManager
...
* imo the gain in simplcity of test code outweighs the very small cost of setting up some stuff that some tests will never use
2009-01-05 18:00:53 +00:00
Justin Clarke Casey
0b8d22ab54
* Check in login service tests beachhead
2009-01-05 16:30:35 +00:00
Sean Dague
9d2e0535f1
* Fixes a small bug where load-oar fails due to whitespace in region name.
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-05 15:43:30 +00:00
Jeff Ames
694e37f529
Update svn properties, minor formatting cleanup.
2009-01-05 04:34:17 +00:00
Teravus Ovares
e4a8cc192d
* Adds an active log to the WebStats console. for an example of it in use as it is right now see http://wmcv.com:9000/SStats/
...
* It still isn't quite ready to be used mainstream.
* A couple of things to note, it doesn't keep track of the logs if nobody is looking at the stats.
* It doesn't read the whole log file. Just the last 10 lines of the stream. Tested to 1GB+ logfiles with no noticeable performance issues.
2009-01-05 04:09:04 +00:00
Adam Frisby
3b0eb958a8
* Another minor GenericMessage fix - If we assume the method names are case-insensitive, we should process them as such.
2009-01-04 19:41:55 +00:00
Adam Frisby
00a0f4a286
* Added some information to HandleGenericMessage to indicate that it's not the packet that isnt being processed, but instead the method-type.
2009-01-04 19:39:17 +00:00
Dahlia Trimble
20670ff0c8
sync with primmesher r26 on forge
2009-01-04 19:09:31 +00:00
Adam Frisby
f0864b5154
* Minor tweak to crash logger to copy ini with log if save-to-dir is on.
...
* Added BinaryGenericMessage handler for cases where GenericMessage isnt transmitting pure-utf8 characters.
2009-01-04 19:09:22 +00:00
Dahlia Trimble
f836e36c49
Improve LOD scaling for anisotropic sculpted prim meshes
2009-01-04 18:36:13 +00:00
Melanie Thielker
aa11fbfe34
Connect dewww request packets to the land module to makle dwell work
2009-01-03 20:57:59 +00:00
Melanie Thielker
7beb8a5abb
Plumb the remaining dwell packets
2009-01-03 20:45:33 +00:00
diva
f1b9ff6b4b
Fixed logic for sending foreign user information (HG).
2009-01-03 16:18:20 +00:00
diva
711cd752ad
This may fix the home jump problem.
2009-01-03 09:01:58 +00:00
diva
dd2a82f81c
Extra check to avoid client crashes on HG home teleports.
2009-01-03 08:51:54 +00:00
diva
158de95bde
Another interregion comms change that will not work well with previous versions. This commit moves InformRegionOfChildAgent from OGS1 to RESTComms, effectively having the complete child agent life cycle over REST: create=POST, update=PUT, close=DELETE.
...
Additional changes include more functions in the IHyperlink interface, and some refactorings in the HG code for better reuse in RESTComms.
2009-01-03 07:05:33 +00:00
Teravus Ovares
e9cef70f89
* Updates the sim stats module. Cleans out some of the rot.
...
* Adds a prototype web stats module which is disabled by default. It's functional with one report right now, however, the database structure may change, so I don't recommend enabling this to keep actual stats right now. I'll let you know when it's safe.
* Adds Prototype for ajaxy web content
* removed a warning or two.
2009-01-03 03:30:03 +00:00
diva
4144fd0eb2
Split agent updates into two messages: full update and position+camera update. They're both sent over HTTP PUT. The full update is sent on TPs, for now; later it will also be sent on region crossings.
2009-01-03 02:29:49 +00:00
Melanie Thielker
a7708413ee
Plumb in dwell in a couple of places
2009-01-03 00:03:41 +00:00
Justin Clarke Casey
0dd53c419e
* Move EventQueueGetModule to the EventQueue namespace
...
* Not going to move EventQueueHelper as of now since the subsequent direct references to the module namespace would seem to somewhat defeat the point
2009-01-02 20:22:35 +00:00
Justin Clarke Casey
a3af0e61eb
* Add Nini.Config and System.Xml references to MockScene for Windows compilers
2009-01-02 20:11:20 +00:00
Justin Clarke Casey
2a7e3b9cff
* refactor: move event queue module code to its own folder
2009-01-02 20:07:29 +00:00
Justin Clarke Casey
720191ef2d
* reference is to Nini.Config, not Nini
2009-01-02 19:46:12 +00:00
Justin Clarke Casey
401a0d0a0a
* Add Nini reference to Communications.OGS1
2009-01-02 19:43:30 +00:00
Melanie Thielker
0138fdc5fd
Allow some values that are set in OpenSim.ini to be set from region config
...
XML as well.
2009-01-02 17:41:12 +00:00
Homer Horwitz
09378da127
Use only one (static) (de-)serializer for (de-)serializing SOPs.
...
That improves performance drastically, at least for Mono, as the
(de-)serializers can then be optimized (and won't use reflection anymore).
On my system, before this change de-/serialization took ~9s/9s, whereas
after the change it takes ~.5/.2s.
2009-01-02 17:22:24 +00:00
Melanie Thielker
24f0d97075
Small fix to prevent client thread crash in multi-region instances when
...
a scripted object is paid
2009-01-02 16:24:44 +00:00
Teravus Ovares
b1a677630f
* Adding some recognizable and search-able test to some WriteLine(e.ToString()) messages so that when they occur, we can figure out what threw them.
2009-01-02 14:24:49 +00:00
Melanie Thielker
b175e8f6cd
Fixes Mantis #2945
...
Committing the above patch with changes. Thank you, Gerhard. Removed
unneccessary verbosity in case of no error, added more output for errors.
Added support for HTTP Uri fetching which I had added in my last commit.
Converted the Console.WriteLines to log4net.
2009-01-02 12:57:21 +00:00
Melanie Thielker
18ba10b51c
Add the ability to read the ini file from a URI. If the -inifile option
...
is a http:// URI, it will be fetched and parsed as an XML config.
2009-01-02 05:52:01 +00:00
diva
d8ebf2fc9d
Major changes in interregion communications. This breaks compatibility with older versions, and may result is all sorts of weirdnesses when interacting with sims in older versions. Changes:
...
- Introducing synchronous Teleports. Now the receiving region calls back the sending region after the client has been made a root agent there, that is, after client sends CompleteMovement to the destination.
- SendCloseAgent moved from OGS1 Remoting to RESTComms.
2009-01-01 19:42:24 +00:00
diva
ba9d9a9019
Minor fix for HG request neighbors. Should not return hyperlink neighbors, only neighbors on the same grid. I'm still not sure if this is a bug or a feature, so this may change again.
...
My first commit of 2009 -- Happy New Year!
2009-01-01 19:29:30 +00:00
diva
59cddd0844
Beginning of true REST style for interregion comms, SendChildAgentUpdate only. Agents are now resources accessed at http://<host>:<port>/agent/<uuid>/[action/]. PUT is SendChildAgentUpdate.
2008-12-31 21:14:31 +00:00
diva
06803f182b
Minor bug fix in HG home regions management, removing the use of m_knownRegions.Count for creating the local handler. Local handlers are now created using a random number generator.
2008-12-31 20:49:04 +00:00
Homer Horwitz
a72d3522ff
Slight optimisation: Don't check for duplication if we won't use the result anyway.
2008-12-31 20:09:17 +00:00
Homer Horwitz
4b760bba79
- Added the fixed Ode.NET.dll
...
- Adapted code to match the corrected signatures
- Fixes Mantis #2934 . Hopefully.
Note: Physics on linked objects still don't work correctly:
It doesn't crash the region anymore, but the example object in
the mentioned mantis now falls through the ground.
2008-12-31 19:35:46 +00:00
Homer Horwitz
067a9f3d5f
Added a missing setMass for initializing the mass of prims
2008-12-31 19:35:33 +00:00
diva
12946b5d78
Folded HG regionhandle lookup into the normal RESTInterregionComms, to avoid proliferation of "modes".
2008-12-31 00:49:34 +00:00
diva
5de40aaf46
Added a SendChildAgentDataUpdate call on Teleports, so that the agent at the destination will have all the necessary information.
2008-12-31 00:18:24 +00:00
Justin Clarke Casey
e4c7bdc730
* Remove mono compiler warnings
...
* Leaving the 23 warnings in ChildAgentDataUpdate.cs for Diva to look at
2008-12-30 20:48:31 +00:00
Justin Clarke Casey
f0ea8eb534
* Implement saving of region settings in OAR files
...
* This means that you can now save terrain textures, water height, etc.
* Estate settings are not supported
* Older OAR files without these settings can still be loaded
2008-12-30 19:00:19 +00:00
diva
eaf8066700
Making the default choice for InterregionComms work, and removing an unnecessary console debug message.
2008-12-30 01:21:13 +00:00
Jeff Ames
2be0f7a6f0
Update svn properties, minor formatting cleanup.
2008-12-30 01:08:07 +00:00
diva
3a6b27befb
Changing the default Comms module to be RESTComms, in case none is specified in OpenSim.ini. RESTComms is a super-set of LocalComms. Calls to local regions do no use REST, they use internal function calls.
2008-12-29 22:44:04 +00:00
diva
a3e2e03f7b
Final part for implementing SendChildAgentDataUpdate with modules. This is the part that uses the modules in Scene and related classes. This commit breaks compatibility of sim-sim SendChildAgentUpdates with older versions of OpenSim.
2008-12-29 22:22:05 +00:00
diva
e12d2ec9dc
This is a beefy commit containing the communication modules that implement SendChildAgentUpdate. This commit has only the modules, but not their usage. It should be harmless.
2008-12-29 21:40:20 +00:00
diva
606163a9d8
Minor change in HGSceneCommunicationService, making one field public readonly. Totally harmless.
2008-12-29 21:26:44 +00:00
diva
57518c3624
Merged the InterregionData that Melanie had placed there onto the existing ChildAgentDataUpdate. This commit involves a change in prebuild.xml, because ChildAgentDataUpdate uses OpenMetaverse.StructuredData. Still no use of this data structure, though. Crossing my fingers that this partial commit will compile ok...
2008-12-29 21:10:35 +00:00
diva
e3007a6f13
First commit in a series of commits for Interregion REST comms. This one simply deletes the skeleton module that Melanie kindly placed for me to start working on this.
2008-12-29 20:43:33 +00:00
Justin Clarke Casey
266d0fbaae
* Apply http://opensimulator.org/mantis/view.php?id=2927 with some changes
...
* This allows configuration of the assetset and library control file paths to be other than ./inventory/Libraries.xml and ./assets/AssetSets.xml
* This is controlled via the LibrariesXMLFile and AssetSetsXMLFile configuration settings in [StandAlone] in OpenSim.ini (in standalone)
and via the user and asset config xml files for grid mode
* Thanks to SirKimba for the patch
2008-12-29 16:56:48 +00:00
Melanie Thielker
817a10d0aa
Revamp the return logic to close a privilege escalation loophole.
...
Estate owner / Master avatar returns would place the item in the
returner's inventory rather than the owner's if the owner was not
in sim.
2008-12-28 23:55:34 +00:00
Melanie Thielker
bafa5a3693
Demonstration code for modular comms. No user functionality
2008-12-28 19:15:20 +00:00
Melanie Thielker
81a4fe9db7
Insert a 15 seconds delay before the script engine starts loading scripts
2008-12-28 17:22:31 +00:00
Teravus Ovares
6eed7fcd1e
* More NINJA Joint physics fixes from nlin.
...
fixes mantis #2874
2008-12-28 16:30:00 +00:00
Teravus Ovares
b378bd33ad
* Fixes mantis #2922
...
* Converts some C# 3.0 syntax into it's 2.0 equivalent so that Visual Studio 2005 can compile it successfully.
2008-12-27 00:17:08 +00:00
Teravus Ovares
013b87fad1
* Fixes missing sculpt texture assets from oar files as detailed on mantis 2971 by thomax
2008-12-26 22:04:25 +00:00
Teravus Ovares
ec2dc354b4
* Applying Nlin's NINJA Joint patch. v2. Mantis# 2874
...
* Thanks nlin!
* To try it out, set ninja joints active in the ODEPhysicsSettings
and use the example at:
* http://forge.opensimulator.org/gf/download/frsrelease/142/304/demo-playground.tgz .
* Don't forget to change the .tgz to .oar and load it with load-oar.
2008-12-26 12:58:02 +00:00
idb
8a58d998d9
Prevent exception in terrain module if just the word terrain is entered at the console. Fixes Mantis #2915
2008-12-26 11:59:37 +00:00
Melanie Thielker
23844a9073
Plumb the profile reply packets for picks, classifieds and notes
2008-12-25 20:28:13 +00:00
Melanie Thielker
3b6ffd9e41
Plumb yet another groups packet
2008-12-25 18:22:50 +00:00
diva
a647a19894
Better test on EQ shutdown.
2008-12-24 05:05:22 +00:00
diva
90126f6ca8
Backing off from the accidental removal one of the most valued 'features' of the HG: the ability to TP to regions on the grid that don't run HG. *smiles*
2008-12-24 00:53:06 +00:00
diva
857535550c
Better error handling for expect_hg_user on the HG.
2008-12-24 00:03:33 +00:00
Melanie Thielker
318de200bd
Plumb in EventNotification* and EventGodDelete
2008-12-23 23:41:46 +00:00
Melanie Thielker
8e8abde7d4
Addinf InterregionData.cs IInterregionComms.cs and InterregionComms.cs
...
Creates a nonshared region module publishing IInterregionComms, to
send data of type InterregionData to another region directly.
2008-12-23 21:36:13 +00:00
Justin Clarke Casey
690d190783
* minor: small documentation comment
2008-12-23 18:21:23 +00:00
Melanie Thielker
fc053a6af8
Plumb in the 4 missing classified events and the 3 packet methods
2008-12-23 18:16:30 +00:00
Justin Clarke Casey
151d3afe16
* Remove mono compiler warning
2008-12-23 18:07:45 +00:00
Justin Clarke Casey
2afdfc4d29
* Remove IGesturesModules since it won't be very helpful without a client message anyway
2008-12-23 18:01:05 +00:00
Justin Clarke Casey
cce1b096db
* refactor: Replace part of SceneObjectPart with the identical sound playing code in the SoundModule
2008-12-23 17:54:13 +00:00
Justin Clarke Casey
c1320112a9
* Add a method to allow friendship offers to a logged in client from an offline user directly from the server
2008-12-23 17:16:47 +00:00
Justin Clarke Casey
eda69e81ef
* refactor: Make gestures module register its own events too
2008-12-22 19:09:09 +00:00
Justin Clarke Casey
85557fb0ef
* Like most other modules, make the sound module register for its event directly, rather than needing Scene to know about it
2008-12-22 18:47:20 +00:00
Justin Clarke Casey
e0b7ad7677
* Refactor: Move some code into separate methods in FriendsModule
2008-12-22 18:39:06 +00:00
diva
06f74e4295
Fix for attachment crossing on TPs. Now that we're letting the viewer have control over MakeRoot at the destination, we need to pass the attachments after that. Attachment crossing requires a root agent at the destination.
2008-12-22 17:43:51 +00:00
Melanie Thielker
e7e8e6a7c3
Plumb in the birthdate from the user server reply to the cache
2008-12-22 16:20:16 +00:00
Melanie Thielker
5929d2a47c
Fix date format of the birthdates to conform to what the client expects
2008-12-22 15:31:39 +00:00
Melanie Thielker
a7a0b5e1ae
Fix the error i got sidetracked from :/
2008-12-22 14:41:18 +00:00
Melanie Thielker
a3b67ec8c7
Fix "from" link number in single prims to 0. Previously, this was 1,
...
causing sime scripts that expected the first param of the link_message
to match llGetLinkNumber() to fail in single prims
2008-12-22 13:03:30 +00:00
MW
69b72ac83c
Deleted the AssetDownload module (and directory), as this module/code hasn't been used for a few thousand revisions now. And the code for sending assets has long since been moved to the LLClientView where it belongs.
2008-12-22 11:24:25 +00:00
Dahlia Trimble
6e68a11082
Thanks Gerhard for a patch that implements part 3 of VolumeDetection / persistance
2008-12-22 09:29:59 +00:00
Dahlia Trimble
1fbbdb6714
test commit - no functional change
2008-12-22 07:48:43 +00:00
Dahlia Trimble
8a86439985
Removed some debugging code that was inadvertently left in in my last commit :/
2008-12-22 07:25:41 +00:00
diva
339fd602db
This commit is a major change on the TP process. Several things were wrong and/or broken. (a) ExpectAvatarCrossing is redundant (and bad) because the client triggers the same method on the receiving region after it receives TeleportFinish. (b) At least two of the *Async methods in SceneCommunicationService weren't asynchronous at all; I made them be asynchronous. Crossing fingers...
2008-12-22 07:06:01 +00:00
diva
69fe246fcc
Removing the region where the agent is in from the list of regions to close child agents.
2008-12-22 06:56:47 +00:00
diva
9056ad63d5
One more small mod in EQ: there is no need to subscribe to the OnLogout event, because things in the EQ get shutdown OnClientClosed.
2008-12-22 06:47:53 +00:00
diva
fc9ffa5f97
One more check on closing EQs.
2008-12-22 06:10:36 +00:00
Dahlia Trimble
c66cfb51f7
Fix a floating point comparison that was causing some misshaped triangles on some prim faces
2008-12-22 06:07:51 +00:00
diva
ae30d74b79
On closing EQs, make sure to wait for the viewer to fetch the last events.
2008-12-22 05:59:29 +00:00
Dahlia Trimble
d83d665186
Thanks to M. Igarashi and nlin for a patch that improves conformance of the funcion llAxes2Rot()
2008-12-22 03:08:39 +00:00
Teravus Ovares
a973825db6
* Fixes edit linked parts rotating the root prim in a linkset. One more bug to go.. and that's editing multiple prim in a linkset at the same time. Don't try that now, as it'll bust the linkset.
2008-12-22 00:03:18 +00:00
Teravus Ovares
53a479904e
Minor: fix a comment... scratch that,reverse it.
2008-12-21 21:19:55 +00:00
Teravus Ovares
2ee8f81e15
* Commit linkset Group (multiprim) linked/delinked to another linkset group (multiprim) test.
2008-12-21 20:09:47 +00:00
idb
3fe966d6b3
An initial implementation of llMinEventDelay in XEngine.
...
Not implemented yet in DotNetEngine.
Fixes Mantis #2830
2008-12-21 19:04:06 +00:00
diva
7d837a9bea
Slowing TPs down a bit further.
2008-12-21 19:00:30 +00:00
Melanie Thielker
d56a62253b
Change XEngine money() event routing to always raise the money()
...
event int he root prim of a linkset
2008-12-21 17:07:45 +00:00
Teravus Ovares
8444528bdc
* Adding a two prim linking/delinking test. This test is likely to get on people's nerves since linking/delinking is easily broken. But.. that's why we have tests!
2008-12-21 16:16:47 +00:00
Teravus Ovares
bf9e8cb987
* Fixes linking multiple linksets together. They no longer explode
...
* Not out of the weeds yet. Rotating the root part with 'edit linked parts' still borks all child part rotations and rotating a selection of child parts with 'edit linked parts' still borks the position/rotation of the child parts selected
2008-12-21 14:50:58 +00:00
idb
d7a19adcac
Persist script permission mask and granter
2008-12-21 13:28:51 +00:00
Charles Krinke
f8f93f4c48
Mantis#2860. Thank you kindly, Thomax for a patch that:
...
Improves map image representation.
2008-12-21 00:27:32 +00:00
Teravus Ovares
119104e35b
* Re-implement packet tracking in IClientAPI so we can see what's going on in the client network in the simstats manager. This makes packets in per second, packets out per second, and unacked bytes work again in the simulator stats section.
2008-12-21 00:11:54 +00:00
diva
3dae92b850
Slowing things down even more on TPs, to see if that helps the European folks connected to osgrid.
2008-12-20 22:44:26 +00:00
Charles Krinke
62dd67b8b8
Mantis#2796. Thank you kindly, Gerhard for a patch that addresses:
...
On a call of llVolumeDetect(1) (or any other number !=0) volume
detection is enabled. Together with VD, the phantom flag is set to the GUI.
On a call of llVolumeDetect(0), vd detection is switched of again,
also the phantom state is removed. On a call to llSetState(STATE_PHANTOM,
false) while VD is active, also VD is switched off. The same is true for
unchecking the phantom flag via GUI. This allows to take back VD without
the need to script just by removing the phantom flag.
Things missing in this patch: persistance of the volume-detection flag.
This needs more discussion and will be included in another patch soon.
2008-12-20 21:36:42 +00:00
diva
fcf61c4d0d
This reduces DNS lookups in TPs by a factor of 4. Let's see if this fixes some of the crashes experienced by ppl in Europe connected to OSGrid. If DNS lookup does not resolve, they may experience a substantial increase in "Region not available", but they shouldn't crash.
2008-12-20 18:15:02 +00:00
Teravus Ovares
1e723f185a
* Add two more missing defaults that use GetBoolean without a default in standalone. (not sure if this will fix your issue daTwitch.. it's probably not even a bug)
2008-12-20 17:34:38 +00:00
Homer Horwitz
84b43c8c23
Fix Mantis#2878 for now by not resetting physical values on rez (only on switch).
...
We still might have to split the rotational velocities into a physical and a non-physical part...
2008-12-20 16:42:17 +00:00
diva
7a619ad84a
Slowing things down a little bit in TPs, with a couple of extra Thread.Sleep to give enough time for the destination to set up CAPs for the incoming agent before sending EAC to the client.
2008-12-20 02:45:12 +00:00
Teravus Ovares
7af84d7e10
* Adds defaults for some GetBoolean config values that previously did not have them.
2008-12-20 01:58:01 +00:00
diva
b3dc462ee3
The previous fix for the EQ might have been too radical, and some early events now may be getting dropped because the EQ is not there yet. So, let's add an EQ immediately upon registering caps.
2008-12-19 23:58:13 +00:00
Sean Dague
db4f4c255b
let you specify a hex number as the color in the vector rendering
...
module. This expands the colors you can use.
2008-12-19 22:27:45 +00:00
Homer Horwitz
11d0456246
- Set acceleration and rotational velocity to 0, too
...
- Pull it up a bit, so the physics is notified of it, too,
before being switched off.
2008-12-19 21:06:07 +00:00
Justin Clarke Casey
db0c65ea56
* refactor: move sound trigger from scene into sepearate SoundModule
2008-12-19 21:03:56 +00:00
Homer Horwitz
0cbdfcea87
Stop prims that get non-physical. Fixes Mantis#2859.
2008-12-19 20:33:51 +00:00
Homer Horwitz
a0f8e04142
Remove forgotten debug message from my last commit.
2008-12-19 20:33:36 +00:00
diva
7691be377a
Fix for more child agent mismanagement (like #2846 ). On enqueueing events, we should not be creating new queues; if the queue doesn't exist -- too bad, event is dropped. That tends to happen just after the client is closed, and the EQ also closed. If someone places an event in that queue after that, that event should be dropped instead of creating a new, erroneous queue.
2008-12-19 20:31:32 +00:00
Justin Clarke Casey
ed97f290c9
* minor: Just some method commentary before turning to another subject
2008-12-19 20:07:26 +00:00
Justin Clarke Casey
899f2a80d7
minor: remove mono compiler warning
2008-12-19 19:50:46 +00:00
Justin Clarke Casey
aa497a1867
* refactor: move saved named prims to xml2 method out into the serialization module
2008-12-19 19:47:11 +00:00
Justin Clarke Casey
e62016d2c7
minor: Remove some serialization module scene wrappers
2008-12-19 19:35:14 +00:00
Justin Clarke Casey
667a935fff
* refactor: remove xml serialization wrappers from Scene
2008-12-19 19:14:52 +00:00
Justin Clarke Casey
eb6cca4750
* refactor: Rename IRegionSerialiser and move into interfaces namespace
2008-12-19 19:07:11 +00:00
Homer Horwitz
fbd44e628c
Reset Expire date for tempOnRez objects on rez. Fixes Mantis#2848
2008-12-19 18:38:45 +00:00
Justin Clarke Casey
5313330e4d
* minor: move IGesturesModule into the correct namespace
2008-12-19 18:37:15 +00:00
Justin Clarke Casey
583fa73126
* refactor: Remove archiver module scene wrappers
2008-12-19 18:33:03 +00:00
Justin Clarke Casey
7271edd684
* Add missing file from last commit
2008-12-19 18:02:59 +00:00
Justin Clarke Casey
7ce8ccb043
* refactor: Move tree code out into a separate module
2008-12-19 17:57:03 +00:00
Teravus Ovares
7bbda6651e
* Commit patch from cmickeyb. #2871 . Optimized float array for the terrain heightfield to reduce cpu usage on new client significantly.
...
Thanks cmickeyb!
2008-12-19 00:06:19 +00:00
Melanie Thielker
c6b2ffb734
Make llSetAlpha and llSetTexture properly queue full updates, so changes
...
are visible right away
2008-12-18 19:59:51 +00:00
diva
d04247d418
Removing a check in Teleports. This check should be there, I think, but it may be causing problems right now.
2008-12-18 19:45:55 +00:00
Melanie Thielker
8231f9476c
Fix and streamline the RegionHandshake stuff for estate managers
2008-12-18 19:20:11 +00:00
Justin Clarke Casey
4f88f25913
* refactor: move gestures code out from Scene into its own module
2008-12-18 18:49:05 +00:00
diva
3a56d91974
This may fix mantis #2855 . There was a race condition on the TextureDownloadModule upon clients (ScenePresences) being closed. If there were still textures to send, the UserTextureServices was created again, but pointing to the old IClient that had just been closed, which made things not work upon that user returning to that region.
2008-12-18 18:11:29 +00:00
Dahlia Trimble
2537a4098a
Enabled complex meshing for simple box prims with non-zero shear
2008-12-18 17:53:38 +00:00
Melanie Thielker
98d0d728c2
Stop hacked godmode from being able to actually move other people's
...
attachments
2008-12-18 13:33:48 +00:00
lbsa71
56f1b03cd0
* Added "show queues" command that shows throttling queues for all clients.
...
*** This only works for LLCLientView at the moment ***
2008-12-18 13:16:41 +00:00
Teravus Ovares
eb777b7373
* Catch a WebException in the LoadImageURLModule
2008-12-18 08:50:25 +00:00
diva
3b0a6efde7
This innocuous change in the TextureDownloadModule suddenly made the texture problems ( #2855 ) go away for me. I'm committing it, so that others can test and refute, to make sure I'm not hallucinating.
2008-12-18 02:31:40 +00:00
Melanie Thielker
6ef64593fd
Fix attachment persistence which got broken with some inventory
...
changes a few revs back.
2008-12-17 22:09:14 +00:00
Melanie Thielker
a9e38bcafc
Reapply the packet optimization patch, with changes
2008-12-17 21:00:18 +00:00
Justin Clarke Casey
dce11e4685
* minor: Comment out "Informing neighbours" debug message that pops up whenever some aspect of the avatar changes.
...
* with Diva's blessing ;)
2008-12-17 20:54:34 +00:00
Melanie Thielker
2bcf315ea2
Revert 7754 and 7755 pending a rework
2008-12-17 20:34:37 +00:00
Melanie Thielker
5320f0f33c
Stop packets that may be resent from being returned to the packet pool.
...
FWIW
2008-12-17 20:21:48 +00:00
Justin Clarke Casey
2108d328df
* revert r7724 so that PresenceChildStatus() starts throwing NRE's again
...
* apparantly logout code relies on this happening in certain circumstances. Really, the root issue needs to be investigated.
2008-12-17 19:12:56 +00:00
Melanie Thielker
7ef5a79fef
Change the PacketQueue to use the stored size as well
2008-12-17 19:01:47 +00:00
Melanie Thielker
0d3a9b45ae
Marry AckData to LLQueItem, and store packet data and length there for
...
use everywhere. Each packet gets serialized only once now in PacketHandler
2008-12-17 18:56:47 +00:00
Justin Clarke Casey
ff7c8551ba
* remove mono compiler warnings
...
* should work - the last compile failure looks like a random glitch...
2008-12-17 18:42:23 +00:00
Justin Clarke Casey
b37c8d6cbd
* minor: Comment out high volume 'Getting MapItems' messages
...
* make worldmap module log tags consistent
2008-12-17 18:20:33 +00:00
diva
7b6471f642
Kicking child agents off on the first login after a client crash. The child agents kickoff was
...
missing from when this is run in grid mode. But, worse, turns out that this whole feature of kicking
off the user after a crash was entirely missing from standalone mode.
2008-12-17 17:44:00 +00:00
Justin Clarke Casey
ab77b22f0f
* Only serialize packets once for the length calculation for throttle queues rather than twice
2008-12-17 17:33:57 +00:00
Melanie Thielker
35ec496f98
Revamp packet handler to smooth out the stream of resent packets.
...
Eliminates the bursting in resends observed in the prior implementation
2008-12-17 17:19:14 +00:00
Justin Clarke Casey
72ff5322f5
* Replace manually zeroing with Array.Clear(). Thanks cmickeyb
2008-12-17 17:18:52 +00:00
Melanie Thielker
8e5fe0257c
Mantis #2850
...
Applying the patch to reduce the load caused by the throttle loop even more
2008-12-17 17:05:12 +00:00
Justin Clarke Casey
2e79fd0f0c
* minor: Minor documentation and small minor change on LLPacketThrottle to remove some unnecessary lines
2008-12-17 17:01:02 +00:00
Justin Clarke Casey
ac451485d6
* minor: Remove unused AppearanceTableMapper as pointed out by jonc in http://opensimulator.org/mantis/view.php?id=2843
2008-12-17 16:47:38 +00:00
Justin Clarke Casey
890d8d4215
* Simply friends code by only sending notifications to a newly logged on user for other users who are online.
...
* No need to send offline notifications since the client assumes this (and future clients should be able to do the same).
2008-12-17 16:34:11 +00:00
Justin Clarke Casey
b4680f653d
* Implement 'Save Object Back to My Inventory'. On the Linden client this is in the Tools menu available when editing an object
...
* This facility allows you to save changes to an object that you've rezzed into a region back into their original inventory item without having to take a copy of the rezzed
object.
2008-12-17 16:11:03 +00:00
Teravus Ovares
ca0de93d9a
* Adding some locks to XEngine's m_PrimObjects which were prone to 'the collection was modified'
2008-12-17 15:30:26 +00:00
MW
027ae58dc4
Stop users taking a copy of a in world prim that contains inventory items that have no copy permission set.
2008-12-17 13:32:01 +00:00
MW
6c8f9078ef
Added a check to CanDuplicateObject(), to stop duplicating prims that contains inventory items that you don't have permission to copy
2008-12-17 12:53:47 +00:00
Melanie Thielker
1c30111c7a
Stop owners from duplicating no-copy objects in-world
2008-12-17 12:12:23 +00:00
Melanie Thielker
a5343c5404
Add repecting the min and max values back in
2008-12-17 09:55:10 +00:00
Melanie Thielker
e394e1c06f
Remove a major bottleneck in throttling code.
2008-12-17 09:52:52 +00:00
Melanie Thielker
02a28a6992
Avoid checking the throttle limit for empty queues
2008-12-17 09:30:56 +00:00
diva
4b81ec02d7
Avoid sending DisableSimulator event to the root agent upon logout.
2008-12-16 19:44:32 +00:00
Melanie Thielker
36ee0e8fb9
Fix script controls for weapons
2008-12-16 04:12:40 +00:00
diva
223b6f63af
Attempt at fixing the HG home jump by looking up hyperlink regions before grid-local regions.
2008-12-15 22:17:40 +00:00
MW
1110ee877f
More work on moving Xfer file transfer handling code to the Client stack from the various region modules that it is currently in.
...
Still not enabled yet.
2008-12-15 21:46:57 +00:00
diva
8fffdac7fa
Attempt at restoring inventory access after TPs/crossings. RemoveClient in Scene was being too
...
aggressive at nixing the user out of the cache. We're now relying on NeedSceneCacheClear to decide
whether to nix it or not. All other mods in other files are for better debugging messages.
2008-12-15 20:45:40 +00:00
Justin Clarke Casey
41ad030a5a
* minor: method documentation and miscellaneous tidy
2008-12-15 20:32:49 +00:00
Justin Clarke Casey
3b0db66b92
* Apply http://opensimulator.org/mantis/view.php?id=2775 with small tweaks
...
* This pushes an identifier for the OpenSim scene to the physics scene. This allows log messages from the physics scene to identify which OpenSim scene they relate to.
* Thanks Gerhard
2008-12-15 18:39:54 +00:00
Justin Clarke Casey
2e288fade1
* minor: Stop presence child status suffering an NRE if the agent uuid given is not represent at all
2008-12-15 18:11:47 +00:00
diva
4b71b88114
Bug fix in new child agents management. Thanks DigiDaz for helping identify this issue.
...
We need to update all child agents whenever the root agent crosses regions. The update
now includes child agents in common neighbours. This is so that those get updated with the
seeds of the new child agents that are spawned from the receiving region.
This also fixes some timing issues. We need to close child agents from the originating region
before we update child agents in the receiving region.
2008-12-15 16:23:34 +00:00
MW
a933ca842b
Removed some instances of "<3 OpenSim Developers" (why were they there?) being in alert messages from the LandManagementModile.
2008-12-15 12:47:16 +00:00
diva
d6d4c267e0
Bug fix for Hypergrid. This bug was introduced by the recent TP fixes, and affected the jump back home.
2008-12-15 00:06:52 +00:00
Melanie Thielker
3aa7ad24da
Make scripted item and folder gives pop up a "accept, decline" message
...
and allow deletion of the just received item.
2008-12-14 22:27:40 +00:00
idb
7c6c443503
Remove use of time dilation in llGetTimeOfDay, llGetTime and llGetAndResetTime.
...
It is not documented to be applied to llGetTimeOfDay at all and is not appropriate for the other two because dilation does not directly affect script speed in OS.
Fixes Mantis #2783 and #2162
2008-12-14 17:48:27 +00:00
Teravus Ovares
8ad6f575eb
* Implements the torque/Rotational Impulse methods in the PhysicsAPI and the ODEPlugin and pipes them to their respective LSL method.
...
* NBody will need to be updated, this is an API change. Torque property and AddAngularForce
2008-12-14 14:30:28 +00:00
idb
795cdf624b
Added ATTACH_HUD_* constants fixes Mantis #2823
2008-12-14 12:14:23 +00:00
Teravus Ovares
b5dec9a37f
* Added Avatar minimum size in the ODEPlugin and a stern warning about setting the capsule size too low in OpenSim.ini
2008-12-14 07:29:40 +00:00
Teravus Ovares
6f7a560c04
* A Few physical prim + linkset fixes. Prevent some crashes
2008-12-14 06:34:05 +00:00
Melanie Thielker
b32f72a438
Adds the "Send Teleport" module
2008-12-14 05:56:33 +00:00
Melanie Thielker
008e1fe8df
Plumb the TP-Sending packets
2008-12-14 05:49:07 +00:00
Charles Krinke
e6eb571c1d
Mantis#2725. Thank you kindly, Diva, for a patch that:
...
Adds missing protocol pieces for EstablishAgentCommunication
event which allows the client to activate CAPS and the EQ for
child agents.
2008-12-14 02:17:12 +00:00
Charles Krinke
6cf0b81864
Mantis#2811. Thank you kindly, Diva for a patch that resolves
...
some of our DNS/dotted decimal issues that plague teleporting.
We are increasing the MajorInterfaceVersion from 1 to 2 in the
gridserver, so sims will need to be updated on various grids.
2008-12-13 16:25:20 +00:00
MW
40bbf886f2
more work on moving FileTransfer code to the clientstack.
...
Still not enabled.
2008-12-13 15:04:24 +00:00
Jeff Ames
8929bfc369
Add copyright headers.
2008-12-13 12:30:46 +00:00
Jeff Ames
4f9d5d955b
Update svn properties.
2008-12-13 12:22:52 +00:00
MW
e0765fa6c8
more work on moving FileTransfer code to the clientstack.
...
Although its still not enabled.
2008-12-12 22:20:13 +00:00
Justin Clarke Casey
3aaf303a75
* minor: Downgrade friends module 'client logging out' notice from error to debug
2008-12-12 21:24:39 +00:00
MW
6e07ef9cb9
Add OpenSim.Framework.IClientFileTransfer.
2008-12-12 21:17:49 +00:00
Justin Clarke Casey
96ea54409f
* minor: remove mono compiler warning
2008-12-12 21:14:27 +00:00
MW
e9d905f48c
Started to move xfer file transfer code to the LLClientStack, rather than having it in a region module (like it was).
...
Note:None of this is enabled yet.
2008-12-12 21:08:23 +00:00
Justin Clarke Casey
1531035b14
* Actually properly enable the purge folders test and correct some problems
2008-12-12 20:04:58 +00:00
Homer Horwitz
185ad8edcb
Add missing scene reference. Fixes a NRE. SimpleModule now works again (sort of).
2008-12-12 20:01:04 +00:00
Homer Horwitz
66791c90e4
Replace the throwing of a NonImplementedException in MyNpcCharacter, so that
...
the SimpleModule doesn't prevent the start of the region server, if used.
Note: This module doesn't do anything sensible; it only serves as an example.
2008-12-12 19:39:48 +00:00
Justin Clarke Casey
a7e145bdfd
* refactor: pull out common user profile test code into utility functions
2008-12-12 18:48:29 +00:00
Sean Dague
7a4f11b94d
* Deleted old EntiyList tests, added new EntityManager tests
...
* Edited EntityManager to treat Exceptions
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-12-12 18:33:16 +00:00
idb
1ba76f57ba
Made the casting of stings to floats more robust and work more like SL.
...
Added some more tests that casts previously failed on.
Fixes Mantis #2789
2008-12-12 11:50:12 +00:00
Sean Dague
624423deb1
apparently opensim only works if secure_inventory_server = true, who
...
knew? Reverting that.
2008-12-12 00:57:48 +00:00
Justin Clarke Casey
80e267dcfe
* refactor: Stop exposing InventoryFolderImpl.SubFolders publicly
2008-12-11 20:58:11 +00:00
Sean Dague
616cf74e73
make a couple of other config default to make the example ini to give us
...
a better chance of working out of the box
2008-12-11 20:43:21 +00:00
Sean Dague
a02efe6dcc
after much discussion, and overwhelming +1 on the -dev list, switch the
...
default script engine to XEngine. This won't change anything if you
already specified the default in your OpenSim.ini.
2008-12-11 20:32:57 +00:00
idb
31bccdffd9
Add a null check. Mantis #2798
2008-12-11 20:20:21 +00:00
Homer Horwitz
51427bae9f
Correct the last checkin.
2008-12-11 19:57:45 +00:00
Homer Horwitz
d943abea57
Move from IP to hostname for seed caps on login, for gridmode and standalone.
...
All the other caps (except the initial one) are already sent with hostname
instead of IP.
NOTE: This changes gridserver and userserver
2008-12-11 19:52:29 +00:00
Justin Clarke Casey
bec3993849
* Fold mock classes into existing OpenSim/Tests/Common assembly rather than sprouting another one
2008-12-11 18:07:23 +00:00
Justin Clarke Casey
e02aaaf9db
* minor: Move mock test classes into mock namespace
2008-12-11 16:40:22 +00:00
MW
fa28d1ab7d
Reimplemented running of ShutdownCommandFile. Mantis #2800
2008-12-11 14:31:58 +00:00
Jeff Ames
a8fff196f5
Update svn properties, minor formatting cleanup.
2008-12-11 02:35:51 +00:00
Melanie Thielker
2101680094
Make object return actually use the CanReturnObject permission, rather than
...
the CanDelete one.
2008-12-11 01:03:53 +00:00
Teravus Ovares
7f80eff067
* Committing a slightly distilled version of nlin's ODECharacter race condition eliminator.
...
* The modifications that I made were only so that it didn't require changes to the public physics api.
2008-12-10 23:46:20 +00:00
Justin Clarke Casey
c9ae8fce5e
* refactor: Move test infrastructure code to its own package so that it can be reused by more than Environment tests
...
* This shuffles the test packages in prebuild.xml below it so they can all potentially reference it
2008-12-10 20:57:15 +00:00
Justin Clarke Casey
f38c35b609
* refactor: Move inventory handlers out from UserProfileCacheService
...
* This means that UserProfileCacheService no longer needs to know about IClientAPI and can leave it to callers to do their own error logging
* This is also more consistent with the way that item inventory manipulation is handled
* I don't really think Scene.PacketHandlers.cs should be a permanent home for these handlers - this is just for convenience
2008-12-10 19:12:59 +00:00
Justin Clarke Casey
93977c2d47
* Establish OpenSim.Framework.Communications.Tests beachhead
...
* No valid tests yet
2008-12-10 17:43:45 +00:00
Justin Clarke Casey
9e02a639e5
* Apply the other patch from http://opensimulator.org/mantis/view.php?id=2315
...
* This means that LL RAW terrains (one source being the upload/download buttons on the estate dialog in the viewer) are now imported the 'right' way around rather than being
flipped on the y axis
* Existing RAW terrains before this patch will need to be flipped with the "terrain flip y" command from the console after import
* More details on the mailing lists soon.
-This line, and those below, will be ignored--
M OpenSim/Region/Environment/Modules/World/Terrain/FileLoaders/LLRAW.cs
M OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
M OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
2008-12-10 16:50:11 +00:00
Melanie Thielker
e8a43b136b
Applying diva's revert patch. Reverts closing child agents and makes
...
TP more reliable again.
2008-12-10 01:37:31 +00:00
Justin Clarke Casey
dae84498ed
* Enable agent to agent transfer of inventory folders
...
* It should now be possible to give an entire folder to another avatar instead of just single items at a time
2008-12-09 20:07:15 +00:00
Justin Clarke Casey
7c3bfdd8c9
* Apply terrain flip patch from http://opensimulator.org/mantis/view.php?id=2315
...
* This allows terrain to be flipped on the x or y axis with the command "terrain flip x" (or y)
* See terrain help from the command prompt
* This is in anticipation of change the way around in which terrain raw files are imported to match that of Second Life (to reduce user confusion and improve useability)
* Thanks jonc!
2008-12-09 17:00:42 +00:00
Teravus Ovares
cb73cf1a92
* Fixes a few instances of llSetStatus with Axis lock gone wrong.
...
* Sums up the masses of the objects within a physical linkset
2008-12-09 16:27:07 +00:00
Justin Clarke Casey
557567dcf8
* minor: remove some old logging messages
2008-12-09 16:16:16 +00:00
Sean Dague
04e8d624d6
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The attached patch ads an OpenSim.ini option (AutomaticLinkPermission)
which when enabled makes PERMISSION_CHANGE_LINKS to be granted to
scripts by default. When enabled llGetPermissions will always return it
as granted and llCreateLink//llBreakLink will succeed without
doing llRequestPermissions. ONLY ENABLE THIS IN TRUSTED ENVIRONMENTS.
The patch also fixes a minor bug in llCreateLink
related to a potential dereference of a null client object.
2008-12-09 13:24:01 +00:00
Jeff Ames
3ba0bc8f44
Minor formatting cleanup.
2008-12-09 12:15:02 +00:00
Teravus Ovares
3844e73d27
* Gerhard's patch m2781. Does some initial work for setting up llVolumeDetect.
...
* Warning! Physics API change. This means that the NBodySimulation needs to be updated!
* PhysicsActor -> void SetVolumeDetect(int) needs to go into classes that use PhysicsActor as their base class.
2008-12-09 11:11:16 +00:00
Dahlia Trimble
44d133da66
clean up some old debugging code
2008-12-09 08:17:31 +00:00
Adam Frisby
888151833b
* Added primitive exception logging capabilities.
...
* Disabled by default (see OpenSim.ini.example for how to enable)
* Saves exceptions to a folder on disk (default "crashes") when enabled.
* These reports can then be uploaded or posted to help debug an error.
2008-12-09 03:06:26 +00:00
idb
8c33fcb321
Remove null checks on structs
2008-12-09 00:51:35 +00:00
Teravus Ovares
e61dacb928
* Adds some rudimentary error handling to the physics debug drawstuff tool.
2008-12-08 07:19:26 +00:00
Teravus Ovares
354ffcf94e
* Fixes control issue at the root of the boat turning problem.
2008-12-08 07:18:30 +00:00
Homer Horwitz
7083be07b0
Allow empty statements in LSL (; followed by ;). Fixes Mantis#2320
2008-12-07 19:20:45 +00:00
Teravus Ovares
76e1462dff
* Tweaks physics so that linked prim are a single body. This will make linked prim more stable and probably the last obstacle to vehicles physics wise.
...
* Fixed a bug that caused physics proxies to be scattered when you link an object.
* Single physical prim work exactly the same as before, just linked physical prim will have changed.
2008-12-07 04:03:09 +00:00
Homer Horwitz
6ab09bc139
Send the creation-date of items to the viewer. This fixes Mantis#2769.
2008-12-06 22:51:41 +00:00
Melanie Thielker
c5bd7975e8
Change AllowScriptCrossings to be AllowScriptCrossing to match the
...
.ini files already out there
2008-12-06 18:33:13 +00:00
idb
84ba5dd962
Fix an ArgumentNullException when moving a DotNet scripted object to the next region
2008-12-06 14:55:18 +00:00
Melanie Thielker
d24e4a9f2d
Committing the missing bits to enable script crossing. Disabled by default.
...
For a script to successfully cross, both source and destination region must
enable the feature. WARNING: Trusting binaries from other sims allows
ARBITRARY REMOTE CODE EXECUTION for ANYONE! Please do not use except
in ultimate trust scenarios!
2008-12-05 20:30:00 +00:00
Homer Horwitz
05467cb780
- Use the http-port that is now provided by the grid-server. If it isn't (because GridServer is too old), complain.
...
Not used yet, but will be necessary for crossing regions correcly.
2008-12-05 17:31:31 +00:00
idb
7ae9ec217d
Implementation of the llDetectedTouch* functions
2008-12-05 16:48:47 +00:00
Tedd Hansen
c826570751
Fixed Mantis #2756
2008-12-05 16:20:12 +00:00
Dr Scofield
bdffd56a45
killing warnings, reformatting RemoteAdminPlugin
2008-12-05 15:28:03 +00:00
Tedd Hansen
336daa1aa8
save file before commit is often useful
2008-12-05 13:12:16 +00:00
Tedd Hansen
a20d6b4b42
Fix: removed m_log.InfoFormat("[OPENSIM MAIN]: GC Latency Mode: {0}", GCSettings.LatencyMode.ToString());
2008-12-05 12:59:50 +00:00
Tedd Hansen
081383c8cb
Garbage Collector
...
* Enabled GC server
* Enabled concurrent collections
2008-12-05 12:42:32 +00:00
idb
e56f918b17
Mantis #2350
...
Move the DotNetEngine Unloading script debug message
2008-12-05 12:30:50 +00:00
Melanie Thielker
826450eabe
Actually remove the script when it's task inventory item is deleted, rather
...
than just stopping it.
2008-12-05 07:53:12 +00:00
Melanie Thielker
5e819ba933
And fix it right
2008-12-05 05:28:17 +00:00
Melanie Thielker
2667fdf1e3
Mantis #2754
...
Stop scripts that are removed from an object's inventory
2008-12-05 05:19:32 +00:00
Melanie Thielker
1cad124b7d
Allow no-copy attachments to be worn without losing them
2008-12-05 04:17:21 +00:00
Melanie Thielker
9d64709602
Yay for languages without default parameter values
2008-12-05 03:36:41 +00:00
Melanie Thielker
cbd3e53ce1
Stop trying to save attachment states on logout. That caused a predicatble
...
loss of no copy attachments, as the client context/thread was terminating
before the save could complete.
2008-12-05 03:26:01 +00:00
Justin Clarke Casey
5ffbba9a8f
* minor: Take out some of the test log output I accidentally left in a couple of commits ago
2008-12-04 21:06:25 +00:00
Justin Clarke Casey
b4db3a550a
* Apply http://opensimulator.org/mantis/view.php?id=2750 with a small tweak.
...
* Initializes ODE only when a scene is grabbed rather than on plugin load. This means we don't initialize ode if that physics engine is not used, and it allows other ode use
plugins to be used instead.
2008-12-04 20:29:34 +00:00
Justin Clarke Casey
38ca31b37a
* Put in the code necessary to allow inventory transfer of whole folders (and their contents) between agents, not just single items
...
* However, this is not currently activated since it's not absolutely fully tested and there's a bug lurking in there to do with the sending of the BulkInventoryUpdate packets
2008-12-04 19:57:36 +00:00
Jeff Ames
1bd92a6d34
Minor formatting cleanup.
2008-12-03 23:48:24 +00:00
Homer Horwitz
17a0474c5f
Fixes Mantis#2744: Permissions returned false for resetting scripts in
...
non-root SOPs. Now, they will use the SOG the SOP belongs to.
2008-12-03 19:45:35 +00:00
Dr Scofield
59b0ac846c
From: Christopher Yeoh <cyeoh@au1.ibm.com>
...
The attached patch fixes the bug where llCreateLink will cause a null dereference
if the avatar who gave link permission for the object is no longer logged in.
2008-12-03 10:10:01 +00:00
Melanie Thielker
0d5d3e0b48
Reinstate closing the EQ when the UDP circuit disconnects. This will likely
...
also reinstate the texture issue, which needs ot be fixed another way.
2008-12-03 06:33:13 +00:00
Jeff Ames
ab83713a2c
Make a couple log4net instances static readonly.
2008-12-03 05:18:28 +00:00
Jeff Ames
d324389dd9
Update svn properties.
2008-12-03 04:41:31 +00:00
Melanie Thielker
4636e5fc01
Remove a line of debug info in XEngine that i missed
2008-12-03 03:28:28 +00:00
Melanie Thielker
b80a48841e
Remove the bandaid (fast rip)
2008-12-03 03:26:58 +00:00
Melanie Thielker
0edb533c27
Apply Diva's bandaid to OpenSim's scraped knee.
2008-12-03 01:55:40 +00:00
Justin Clarke Casey
d253008450
* Apply http://opensimulator.org/mantis/view.php?id=2741
...
* Fix llTriggerSound()
* Thanks Godfrey!
2008-12-02 17:55:07 +00:00
Melanie Thielker
5a7ffb7298
Remove some of the XEngine chattiness
2008-12-02 12:12:50 +00:00
MW
11169c0e71
Made BaseOpenSimServer.ShutdownSpecific() public. As the OpenSimBase.Shutdown() includes a Environment.Exit(0); which is not always wanted when shutting down, like from a windows service.
2008-12-02 11:40:22 +00:00
Homer Horwitz
4480d5527b
Fix Mantis#2527. Permissions returned false for editing non-root SOPs. Now,
...
they will use the SOG the SOP belongs to (as it was for the root-SOP already).
2008-12-01 22:28:17 +00:00
Sean Dague
047e54acbc
don't close eventqueues when you leave a region. This really does seem
...
to fix the A -> B -> A issue. Because the code is very reuse friendly,
it shouldn't cause much additional memory bloat in the sims.
I'm sure this isn't the right fix, but it is progress, and confirms that
the close path while leaving a region is part of the issue.
2008-12-01 21:03:55 +00:00
Justin Clarke Casey
18ba6c3510
* minor: A few tiny bits of documentation and log message cleanup before starting something different
2008-12-01 20:28:00 +00:00
Justin Clarke Casey
e31b8be54d
* minor: remove 2 mono compiler warnings
2008-12-01 19:02:16 +00:00
Sean Dague
c8abe037a5
fix the "I get no textures if I teleport back to a region I've been in
...
before" issue. This involves the EventQueueGet module so I'm not sure
this is the right fix but it appears to work.
When the ScenePresence leaves force a close on it. The reuse of the
queues doesn't seem to be working, so the forced close causes a new one
the next time in. This does appear to work.
2008-12-01 16:55:39 +00:00
Sean Dague
21b1218737
attempt to modify the event queue for greater debugging
2008-12-01 16:49:26 +00:00
Melanie Thielker
6c86823803
Mantis #2729
...
Add a check for script reset permissions to the permissions module
2008-12-01 03:40:41 +00:00
Melanie Thielker
ddf765f840
Make the permissions module hook CanResetScript suitable for use
2008-12-01 03:32:48 +00:00
idb
098f16fe31
Remove duplicated avatar height calculation in lsl functions.
...
Use height calculation in Basic Physics and Physics of Simplicity so that avatars larger than the default walk with straight legs and shorter walk on the ground.
2008-12-01 00:49:36 +00:00
Melanie Thielker
d1841ca94d
Mantis #2584 (again)
...
Next step of diva's TP fixes and HG support
2008-11-30 23:36:56 +00:00
idb
e102ed3ce1
Mantis #2716 Null when linking across objects across two regions.
...
Now silently fails to link prims in different regions.
2008-11-30 21:19:53 +00:00
Melanie Thielker
379d44fd6d
Fix prim crossings, again.
2008-11-30 09:03:55 +00:00
Dahlia Trimble
07ee2c3504
Revert r7548 and r7549 until someone with prebuild-fu can help structure the dependencies
2008-11-30 03:52:18 +00:00
Dahlia Trimble
37afd69feb
Removed remaining meshing code
...
Add PrimMesher.dll r21
All meshing tasks are now passed through Meshmerizer and handled by PrimMesher.dll
2008-11-30 03:13:02 +00:00
Jeff Ames
077314cdd3
Update svn properties. Add copyright header. Minor formatting cleanup.
2008-11-30 00:51:40 +00:00
Homer Horwitz
aaba3c342f
Fix usage of reflection where it isn't necessary.
2008-11-29 19:50:53 +00:00
Melanie Thielker
b6fef0fdb8
Add configuration values for scripted prim region crossing
2008-11-29 14:26:42 +00:00
Melanie Thielker
af5e9147f0
Start scripts in attachments only after a successful attach. Elimininate
...
a gratuitious asset fetch when region crossing.
2008-11-29 14:16:09 +00:00
Melanie Thielker
b8e8a33d60
Mantis #2584
...
Applying a patch from Diva. This patch introduces significant improvements
in teleporting. Thank you, Diva.
2008-11-29 13:49:20 +00:00
Melanie Thielker
1b3a3ffc77
Finally make attachments stay put. Randomize local ID generation to
...
prevent adjacent sims from using identical Local IDs for the attachment
Thanks to Mana Janus (Hippo Viewer) for providing the crucial bit of
information, namely that, due to a bug in the viewer, adjacent sims can't
use the same local ids.
2008-11-29 13:17:21 +00:00
Melanie Thielker
a00d346aab
Add the lifetime management back into the LSL_Api, since that will also
...
expire and take the scripts down
2008-11-29 11:20:06 +00:00
Dahlia Trimble
fdd2388331
Update meshing code to sync with current PrimMesher.cs on forge.
...
Migrate sculpt meshing code to primMesher version. This should result in more accurate physical sculpted prim proxies.
Remove much obsolete code from Region/Physics/Meshing
2008-11-29 11:02:14 +00:00
Melanie Thielker
1952a67ceb
Comment the ScriptSponsor and restore the indefinite lifetime for
...
scripts until that can be better debugged
2008-11-29 07:10:00 +00:00
Melanie Thielker
e1153394c1
Stop attachments from twisting away. Thismakes attachments phantom, which
...
is the proper way to handle this
2008-11-29 07:05:33 +00:00
Melanie Thielker
179d114daa
Try to prevent attachments twisting/moving
2008-11-29 04:01:46 +00:00
Melanie Thielker
ef4a80eeaf
Should have tried with something other than attachments. Make normal prim
...
render again :)
2008-11-29 03:18:06 +00:00
Melanie Thielker
287c724b55
A try to better attachment crossing.
2008-11-29 01:33:10 +00:00
Justin Clarke Casey
8527f23c59
* Stop console misleadingly reporting an error if it cannot find a startup commands file
2008-11-28 21:09:20 +00:00
Justin Clarke Casey
4356fc1006
* minor: remove mono compiler warning
2008-11-28 21:05:35 +00:00
Justin Clarke Casey
5f9ccd486f
* test: Extend take object test to finally check that the object made it into user inventory and that it was removed from the scene
2008-11-28 20:58:12 +00:00
Teravus Ovares
c9a5215d6d
* Fixes Location == Location, and Location != Location
2008-11-28 20:37:21 +00:00
Justin Clarke Casey
dfbec673a4
* simplify AddNewClient since making this root without using MakeRootAgent() no longer sets everything up properly
2008-11-28 20:11:17 +00:00
Teravus Ovares
414bf2aaf1
* The equals override of 'Location' is not working as expected. This caused sim restarts to fail because the test that searches for and shutsdown the UDP server listener for that region never found and shutdown the udp server. hence the error message, "only one listener on port".
...
* This is a high profile candidate for a unit test. (big)
2008-11-28 19:44:44 +00:00
Justin Clarke Casey
71e05a5707
* test: Add a wodge of code in order to be able to slightly extend a test to deliver a taken object to a user inventory folder without throwing an exception
...
* test doesn't actually double check for the presence of the item yet
2008-11-28 19:39:46 +00:00
Justin Clarke Casey
abfb7bd2cf
* test: Separate out async deletion methods to test delete and take copy separately.
...
* The take copy test doesn't currently actually test the take
2008-11-28 17:41:45 +00:00
Justin Clarke Casey
df9b0e9e11
* refactor: Replace derez destiation magic numbers with an enumeration
2008-11-28 17:18:10 +00:00
Justin Clarke Casey
18974b7766
* refactor: rename UserServiceAdmin to UserAdminService
2008-11-28 16:04:01 +00:00
Justin Clarke Casey
63851f1441
* refactor: move ResetUserPassword into UserServiceAdmin
2008-11-28 15:47:01 +00:00
Justin Clarke Casey
7b49c711e9
* minor: Eliminate unused paramter in LocalUserServices constructors
2008-11-28 15:40:44 +00:00
Justin Clarke Casey
0862627b34
* refactor: move CreateUser into UserServiceAdmin
2008-11-28 15:34:30 +00:00
Melanie Thielker
09281fb55c
Correct wrong inverted logic on settings goup
2008-11-28 09:54:27 +00:00
Melanie Thielker
dd3f87ceb5
Revert setting the parent local is explicitly, as that caused even more
...
failures
2008-11-28 04:50:50 +00:00
Melanie Thielker
0afbb6cb3e
Omit parcel checks for attachments.
2008-11-28 04:31:39 +00:00
Melanie Thielker
3ff34579e4
Force regioncrossed prims to get a new LocalID. Reset parent local ID to new
...
avatar local ID when corssing.
2008-11-28 03:28:39 +00:00
Melanie Thielker
a7f3d2fbc2
Invert a test to allow prims to region-cross again
2008-11-28 02:31:43 +00:00
Melanie Thielker
48149f36c0
Reinstate a check that i overzealously removed. Permissions are not slammed
...
without owner change anymore
2008-11-28 01:07:22 +00:00
Melanie Thielker
d50c752dbe
Fix build break
2008-11-27 22:46:20 +00:00
Melanie Thielker
8089935681
And take away a now unnecessare swap elsewhere. We should not be swapping
...
them anywhere but at the point of transmission
2008-11-27 22:37:04 +00:00
Melanie Thielker
d20a3c6e5a
Cause attachment nibbles to be swapped in terse object updates, too.
...
This error may have been the root cause of the head attachment bug.
2008-11-27 22:30:54 +00:00
Justin Clarke Casey
a3a4c16294
* minor: rename m_parent to m_commsManager to make it a little clearer what it actually is
2008-11-27 20:46:10 +00:00
Justin Clarke Casey
9b03802189
* test: Inch forward with another test by using a skeletal in memory inventory data plugin
2008-11-27 20:33:18 +00:00
Justin Clarke Casey
8ba6b2b11a
* minor: remove mono compiler warnings
2008-11-27 19:51:11 +00:00
Justin Clarke Casey
45c50998c2
* Remove unused and largely unimplemented UpdateUserCurrentRegion()
...
* please say if this causes you a problem
2008-11-27 19:43:26 +00:00
Justin Clarke Casey
1cd727614d
* Add a file I forgot in the last commit.
2008-11-27 19:31:19 +00:00
Justin Clarke Casey
7c6c776ff7
* test: Add the ability to add a plugin directory to the user and inventory services in order to extend unit tests for user and inventory information
...
* I can't spend any longer in trying to get Mono.Addins to work with the unit tests, so this is not a proper plugin at this time
2008-11-27 19:28:04 +00:00
Justin Clarke Casey
5867f9c11f
* minor: remove the ability to change the client in ScenePresence to reduce the scope of possible bugs - currently unused in the core code
...
* if this is being used then please say and we can see if there is a better accomodation of this
2008-11-27 15:14:27 +00:00
Tedd Hansen
1eeffcd89e
Test commit.. just contains div trace and other stuff.
2008-11-27 13:41:26 +00:00
Teravus Ovares
7bf1452a61
* Fix some tests
2008-11-27 06:07:17 +00:00
Charles Krinke
921692a15f
Thank you kindly, Nlin for a patch that:
...
Adds a new method to IClientAPI to allow adding message handlers
for GenericMessages (of which "autopilot" is one). Part 2 adds a
specific autopilot handler in ScenePresence.cs.
2) Removing unused variables and functions.
3) Simplifying the navigation logic in ScenePresence.cs. The
original patch was somewhat complex because it included orientation
logic for a future enhancement of orienting the avatar to point
towards the direction being walked. Currently this isn't working,
though, so I removed the orientation code, which leaves just the
smaller and hopefully simpler-to-understand movement code.
2008-11-27 05:16:47 +00:00
Melanie Thielker
714ca971d6
Unconditionally set the slam bit oon all object to agent inventory transfers.
...
Closes a possible exploit with prims containing other prims
2008-11-27 03:56:21 +00:00
Melanie Thielker
d9c05a6def
Cause the slam bit to be set in transferred inv items
2008-11-27 03:54:43 +00:00
Melanie Thielker
6b7ba29986
Fix permission propagation that was broken some revision back, causing
...
sold/given prim to become full perm.
2008-11-27 03:17:00 +00:00
Homer Horwitz
557559abd3
Added local lookup before we ask the messaging server.
...
Still not tested. May contain bugs.
2008-11-26 19:50:03 +00:00
Justin Clarke Casey
c85e2a0fb0
* restore deleted method documentation, some to IRegionDataStore and some to MySQLRegionData
...
* I would like to keep documentation on methods, even if it sometimes seems obvious (and not all of these are)
2008-11-26 17:42:35 +00:00
Justin Clarke Casey
3e3cf67b00
* minor: Remove unused SetAnimation method that was identical to TrySetAnimation
2008-11-26 17:40:08 +00:00
Justin Clarke Casey
759850cbc1
* Eliminate forceAvatarMovement() in favour of existing AddNewMovement()
2008-11-26 17:30:47 +00:00
Justin Clarke Casey
7c2f8e2ee9
* Get rid of the phenomena where the avatar sometimes reverts to the stand animation when flying across borders
...
* Applies to both standalone and grid mode
* The slight retardation on border cross remains - this is a separate issue
2008-11-26 16:56:57 +00:00
Tedd Hansen
1767100316
ScriptSponsor and LSL_Api are now MarshalByRefObject
2008-11-26 14:23:46 +00:00
Tedd Hansen
e2b6ad4d5f
Made ScriptSponsor serializable
2008-11-26 13:25:56 +00:00
Melanie Thielker
fdf5f55a5b
Yay for unit tests. Increased the type width of the prims and primshapes
...
tables, and changed the database modules to actually push these doubles
down into the database layer.
2008-11-26 12:23:56 +00:00
Tedd Hansen
e6ddb5de7d
Attempt to give script objects a proper lease time (DNE and xengine). Relies on GC. Also removed lease for LSL_Api as it strictly speaking should not be MarshalByRef. Or should it? If so I broke scripting! :)
2008-11-26 11:12:57 +00:00
Adam Frisby
5f912a6787
* Adding ScenePresence.ClientView property to return IClientCore interface to a client.
2008-11-26 09:53:45 +00:00
Melanie Thielker
3efdccbb12
Committing the LCO database layer. Native MySQL, no ADO. New reconnect
...
mechanism to prevent prim loss. Preserve link order on sim restart
and drag copy. Fix drag-copied prims' inventories. Fix persistence
of child prim inventories.
2008-11-26 07:34:38 +00:00
Homer Horwitz
3e42cca2c0
Next step of the PresenceModule. Still not complete; local optimizations and the
...
messaging server changes are still missing.
Completely untested. May contain bugs.
2008-11-25 22:04:33 +00:00
Homer Horwitz
4acddb6797
Mantis#2692: Thanks Diva, for a patch that fixes a bug in HyperGrid.
2008-11-25 19:08:52 +00:00
Justin Clarke Casey
759a667247
* Make a step on removing direct access to TaskInventoryDictionary from other packages
2008-11-25 17:15:21 +00:00
Justin Clarke Casey
11f7471d9c
* Remove direct access to Inventory.Serial
2008-11-25 17:01:18 +00:00
Justin Clarke Casey
6caebb6c93
* refactor: Establish an IEntityInventory interface for SceneObjectPartInventory.cs and expose that from SceneObjectPart rather than the original object
2008-11-25 16:47:50 +00:00
Jeff Ames
de052c48d1
Add copyright headers. Minor formatting cleanup.
2008-11-25 16:10:08 +00:00
Jeff Ames
518a8b9f2a
Update svn properties.
2008-11-25 16:00:55 +00:00
Justin Clarke Casey
fbf90b1ece
* minor: eliminate mono compiler warnings
2008-11-25 15:41:42 +00:00
Justin Clarke Casey
e187972377
* Apply http://opensimulator.org/mantis/view.php?id=2640
...
* This is Diva's hypergrid patch, as perviously discussed on the opensim-dev mailing list
* Applied some minor prebuild.xml jiggling to resolve a dependency issue
* Thanks Diva!
2008-11-25 15:19:00 +00:00
Homer Horwitz
62c263d32b
WIP: Adding a few things to PresenceModule. Not quite finished yet.
2008-11-24 22:07:45 +00:00
Homer Horwitz
c13bf719e1
- Evaluate config only once
...
- Fixed some locking issues
2008-11-24 20:43:16 +00:00
Adam Frisby
2a8ff937d5
* Removed more locks on Entities
...
* Entities should now in theory be lock-free externally.
* Other properties may cause blocking however[?].
* ScenePresence maintains separate locks so isn't fixed by this commit.
2008-11-24 15:14:33 +00:00
Adam Frisby
2305ef61a5
* Refactored a number of locks into EntityManager to limit the scope of the locks.
2008-11-24 15:09:25 +00:00
Adam Frisby
47829849d9
* Swaps Scene.Entities Dictionary for EntityManager.
...
* Important Changes: Scene.Entities is now IEnumerable directly. You do not need to use Entities.Values, you can Enumerate on .Entities directly. (So 'foreach Scene.Entities' vs 'foreach Scene.Entities.Values').
* Locks: Entities maintains it's own internal locking states. This means you do not need to lock entities anymore. I'll be going through and removing locks on it systematically.
2008-11-24 14:45:05 +00:00
Adam Frisby
202406c522
* Makes EntityManager IEnumerable - meaning we should be good to go to enable this.
2008-11-24 13:14:52 +00:00
Adam Frisby
eb8650fc14
* Adding EntityManager.cs
...
* Not referenced anywhere yet.
* Designed to replace Dictionary<UUID,EntityBase> within SceneGraph.Entities
* Allows indexed access and better handling of locks.
* Someone needs to implement IEnumerable on this before we can switch it over.
2008-11-24 12:58:41 +00:00
MW
0be9ff1949
Some refactoring from about a week ago that I forgot to commit, of AssetTransactionModule to cut down on number of classes and to work towards having a base AssetXferUploader class than can be shared with EstateTerrainXferHandler
2008-11-24 10:03:18 +00:00
Dahlia Trimble
d8bb20fc1c
Thanks SachaMagne for a patch which adds the following console commands:
...
login-enable : Allow login at sim level (opensim.exe)
login-disable: Stop any login BUT keep the logged avt
login-status : Return the actual status
2008-11-24 09:53:49 +00:00
Melanie Thielker
fba9e3f513
Don't serve texture preview from other people's objects if you
...
havenever seen that texture before.
2008-11-23 20:39:51 +00:00
Melanie Thielker
bb982ab57f
Try to keep autoreturn from IM spamming users if the prims take a bit
...
longer to be deleted
2008-11-23 06:57:38 +00:00
Melanie Thielker
cbd0221870
Plumb in the presence notifications and region shutdown/restart messages
...
from the presence module to the message server, through the user server
and on into the database. This should fix the "Already logged in" issue
that grids see after a sim crashes, or a user crashes out of a sim.
Not yet a 100% solution for friends, but getting there.
2008-11-23 05:16:07 +00:00
Charles Krinke
02fd7751d9
Mantis#2660. Thank you kindly, Ruud Lathrop for a patch that:
...
This patch adds the option of adding the email when you create
a new user. This works in Gridmode as none Gridmode. This
option is also added to RemoteAdminPlugin. With a new handler
you can create a user with a email.
2008-11-23 03:38:40 +00:00
Melanie Thielker
0460c19bcd
Add error handling to catch the WebExceptions thrown if you have
...
no messaging server
2008-11-23 00:36:39 +00:00
Melanie Thielker
e082f10884
Adding root agent position messages to the message server
2008-11-22 23:54:53 +00:00
Melanie Thielker
7aa32ac6e0
Add root agent tracking to presence module
2008-11-22 23:38:25 +00:00
Melanie Thielker
2fa072b579
Next step in the presence module - some core plumbing included at
...
no extra cost
2008-11-22 22:56:00 +00:00
Dahlia Trimble
336fc239bb
Increase IRC login timeout to 25 - it was 10 which was causing reconnect loops on slow responding servers.
2008-11-22 21:12:10 +00:00
Melanie Thielker
bf885b2035
Adding region up/down notifications to the PresenceModule. Messaging
...
Server portion remains to be implemented
2008-11-22 20:29:00 +00:00
Melanie Thielker
84db1e1290
Change the presence event signatures
2008-11-22 19:40:15 +00:00
Melanie Thielker
29803efda4
Check in the presence module skeleton
2008-11-22 19:25:12 +00:00
Homer Horwitz
a7b01140db
Enclose the inter-region IM sending in a try-catch for now to find possibly missed exceptions.
2008-11-22 18:33:02 +00:00
Homer Horwitz
6566da2962
- Add a warning if the agent data of the destination of an IM isn't found
...
- Add a warning if the region info of the region the user is in isn't found
- Remove one possibility for a silently dropped IM.
2008-11-22 18:10:59 +00:00
Homer Horwitz
1148d9a11c
Removing some direct console output for outputting ImprovedInstantMessage packets.
2008-11-22 17:42:23 +00:00