John Hurliman
832cc68513
Merging in diva's locking fixes
2009-10-06 15:54:00 -07:00
John Hurliman
7199976d48
Checks the number of ThreadPool and IOCP threads on startup and bumps up the numbers to .NET defaults of 500/1000 if need be
2009-10-06 15:51:56 -07:00
Diva Canto
e992ca0255
Rewrote parts of the code that were double-locking different objects. This is about half of the code base reviewed.
2009-10-06 15:39:53 -07:00
John Hurliman
9cb5db3621
Applying the real fix (thank you for tracking that MSDN doc down Melanie)
2009-10-06 15:08:09 -07:00
John Hurliman
74fe284a20
Trying Melanie's fix
2009-10-06 14:50:46 -07:00
John Hurliman
eb205ef4f0
Added a debug line for nebadon
2009-10-06 14:07:04 -07:00
John Hurliman
25676ac5cf
* Added a sanity check for Mono before trying to enumerate over an empty SortedDictionary
...
* Changed the order of a log line from DotNetEngine so you can tell whether or not it is actually loading
2009-10-06 13:39:10 -07:00
John Hurliman
fa6027aa09
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into htb-throttle
2009-10-06 12:15:24 -07:00
John Hurliman
61b5372153
* Added missing references to prebuild.xml and commented out the LindenUDP tests until a new test harness is written
...
* Clients are no longer disconnected when a packet handler crashes. We'll see how this works out in practice
* Added documentation and cleanup, getting ready for the first public push
* Deleted an old LLUDP file
2009-10-06 12:13:16 -07:00
Diva Canto
77b4abaa25
* Removed verbose debug message
...
* Restored HG inventory access which had been lost upon adding a 3rd argument to inventory and asset server handlers
* Fixed a stupid bug in the InventoryConnector which was making move items do things twice
2009-10-06 11:08:11 -07:00
John Hurliman
fb19d1ca0a
* Try/catch around EndInvoke() when Util.FireAndForget() returns to catch exceptions thrown in the async method
...
* Added packet stats handling to the new LLUDP implementation
* Attempting to avoid a race condition when creating a new LLUDPClient
2009-10-06 10:12:59 -07:00
Diva Canto
3db4d38645
Removing dependencies on System.Runtime.Remoting.
2009-10-06 09:54:15 -07:00
Melanie
0374f1b144
Merge branch 'master' into vehicles
2009-10-06 17:44:59 +01:00
Melanie
40d0018d66
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-10-06 15:29:46 +01:00
Diva Canto
d4d060b57d
Commenting the DEBUG code that I added yesterday, because it's causing mono to fail with
...
https://bugzilla.novell.com/show_bug.cgi?id=538854
2009-10-06 07:49:05 -07:00
Melanie
2a060136bd
Lock the heartbeat against multiple invocations. May prevent deadlocks and/or
...
runaway thread use
2009-10-06 15:28:38 +01:00
John Hurliman
2519f071f2
Fixing a few compile errors in the previous commit
2009-10-06 02:50:59 -07:00
John Hurliman
e7c877407f
* Continued work on the new LLUDP implementation. Appears to be functioning, although not everything is reimplemented yet
...
* Replaced logic in ThreadTracker with a call to System.Diagnostics that does the same thing
* Added Util.StringToBytes256() and Util.StringToBytes1024() to clamp output at byte[256] and byte[1024], respectively
* Fixed formatting for a MySQLAssetData error logging line
2009-10-06 02:38:00 -07:00
Diva Canto
0c46df973a
Correction on the DEBUG code.
2009-10-05 21:02:10 -07:00
Diva Canto
e36a54ee2a
#if DEBBUG code for monitoring the ThreadPool.
2009-10-05 20:39:23 -07:00
John Hurliman
7ddb6fbced
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into htb-throttle
2009-10-05 17:38:27 -07:00
John Hurliman
429a84f390
Beginning work on the new LLUDP implementation
2009-10-05 17:38:14 -07:00
Michael Cortez
f4726f4bcc
Make sure that keys exist in arrays before trying to access them.
2009-10-05 20:52:07 +01:00
Michael Cortez
90d1ef9e4a
Ensure the specified imSessionID exists in the DroppedSession collection before attempting to access it.
2009-10-05 20:52:01 +01:00
Michael Cortez
d4a6d9191a
Make sure that keys exist in arrays before trying to access them.
2009-10-05 20:47:00 +01:00
Michael Cortez
544675d0f0
Ensure the specified imSessionID exists in the DroppedSession collection before attempting to access it.
2009-10-05 20:47:00 +01:00
Diva Canto
05c1ec7faf
Changed the lock object, to see if this helps at all. Also switched the order of lock and try/catch in RemoveImageFromQueue.
2009-10-05 11:01:45 -07:00
Justin Clark-Casey (justincc)
2a19187e01
* minor: tweak asset cache logging levels downwards
2009-10-05 18:32:19 +01:00
Justin Clark-Casey (justincc)
10c4b88ccf
minor: remove mono compile warning
2009-10-05 18:20:37 +01:00
Diva Canto
ad81b453b3
GetRegionByPosition: use the cache, Luke.
2009-10-05 09:02:52 -07:00
Melanie
8d5a40aad0
Merge branch 'master' into vehicles
2009-10-05 12:58:52 +01:00
Dan Lake
6d52974c5f
Eliminate pinned Mesh data on managed heap by using IntPtrs to memory allocated on the unmanaged heap. This prevents fragmentation of the managed heap and the resulting stress on GC. A region with ~150,000 prims using ODE and Meshmerizer saw memory remain flat around 1.2GB as opposed to 1.5GB and continually growing due to pinned memory. This patch complements the unique mesh dictionary patch applied to Meshmerizer but is independent. The net effect is a 60-75% reduction in memory for our largest regions.
2009-10-05 12:45:41 +01:00
Melanie
dcdcbb314e
Fix build break
2009-10-05 11:08:02 +01:00
Melanie
0744292b47
Merge branch 'master' into vehicles
2009-10-05 10:17:23 +01:00
dahlia
5c593f3892
only cache mesh if meshing was successful
...
re-enable sculpt mesh caching
2009-10-04 20:01:44 -07:00
Diva Canto
362e94a022
* KeepAlive set to false in expect_user and log_off.
...
* Check for null SP in PermissionsModule.
2009-10-04 16:30:12 -07:00
Diva Canto
08d3650138
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-10-04 14:06:28 -07:00
Diva Canto
5b19d5a7b7
Reduced locking.
2009-10-04 14:05:58 -07:00
John Hurliman
29a4614529
* MySQL data tests now pass by fixing a bad fix for a bad cast on the asset Local member in MySQLAssetData
...
* First pass at applying the using(){} pattern to IDisposable objects. Always use the using pattern on IDisposable objects whenever possible, do not manually call .Close() or .Dispose() unless there is no other way to write the code. This pass mostly covers OpenSim.Data.MySQL, and should have no functional change (tests still pass)
2009-10-04 13:57:51 -07:00
Diva Canto
d93e0a0503
Guarding a line that is sometimes throwing a null pointer exception.
2009-10-04 10:30:21 -07:00
Diva Canto
fe9cca64de
Stream needs to be closed before the file can be moved...
2009-10-04 09:56:54 -07:00
Diva Canto
b803d5ab9b
Make sure to close the file streams on the FlotsamCache, even if something fails.
2009-10-04 09:44:04 -07:00
Diva Canto
366bfe17ae
Trying to avoid the null pointer exception in J2KImage, RunUpdate.
2009-10-04 07:41:10 -07:00
dahlia
95ebb7794c
flexible extrusion shape defaults to linear
2009-10-04 02:59:12 -07:00
dahlia
efebc809ce
disable physics actors for flexible prims
2009-10-04 02:54:36 -07:00
dahlia
0cbd9eee2f
Exclude sculpt proxies from mesh caching
2009-10-04 02:14:13 -07:00
Melanie
6878b26b0d
Merge branch 'diva-textures-osgrid'
2009-10-04 05:49:16 +01:00
Melanie
874e423141
Fix my build break
2009-10-03 15:37:31 +01:00
Melanie
b4d1cf0009
Small permissions tweak
2009-10-03 14:22:29 +01:00
John Hurliman
387e9f7a7f
* Creates Util.UTF8 and switches some references of Encoding.UTF8 to Util.UTF8 (not all references were switched since not all OpenSim libraries reference OpenSim.Framework)
...
* Shrinks the largest in-memory object, the LLRAW.HeightmapLookupValue struct (only used for exporting to LLRAW terrain files), to the minimum possible size. This seems to have the odd side effect of cutting the size of the two double[256,256] terrain objects in half. Possibly an alignment optimization?
2009-10-02 18:31:08 -07:00
John Hurliman
332d3eb1bb
* Removed code that is no longer used with Melanie's queue callback optimization
...
* Moved all priority queue access to helper functions to improve reliability and readability
* New version of CSJ2K.dll (from libomv source tree) that fixes a JPEG2000 comment decoding bug
2009-10-02 16:53:35 -07:00
Melanie
36c8d55827
Merge branch 'diva-textures-osgrid'
2009-10-03 00:03:09 +01:00
Melanie
73fa409318
Merge branch 'diva-textures-osgrid'
2009-10-02 23:25:17 +01:00
John Hurliman
bdc1345501
* Removed even more unnecessary state variables from J2KImage
...
* Fixed the incorrect "out of memory?" exception messages and replaced them with useful information
* Cleaned up J2KImage and LLImageManager to conform to coding conventions
2009-10-02 13:08:15 -07:00
John Hurliman
9b342d3e0d
* Changed the flush logic to drop packets in non-transactional streams, and to not fire any "put more data in the queues" callbacks
...
* Minor tweaks to code formatting to make the callback chain for packet queuing easier to follow
2009-10-02 12:00:42 -07:00
Melanie
9eccea5777
Merge branch 'master' into vehicles
2009-10-02 19:53:42 +01:00
Melanie
46955f4260
Merge branch 'master' into vehicles
2009-10-02 19:04:46 +01:00
Melanie
ce8974539e
Merge branch 'master' into diva-textures
2009-10-02 19:03:22 +01:00
Melanie
6def897556
Merge branch 'diva-textures-osgrid' into diva-textures
2009-10-02 19:02:38 +01:00
dr scofield (aka dirk husemann)
6c068eaf12
reducing script engine log spam
2009-10-02 12:38:13 +02:00
dr scofield (aka dirk husemann)
2107b67f1b
- cleaning up LandData/ILandObject capitalization issues
...
- adding LandDataSerializer to OAR mechanics
2009-10-02 11:31:30 +02:00
Melanie
31d8cec0f8
Merge branch 'master' into diva-textures
2009-10-02 08:23:38 +01:00
Melanie
3ba36bb4d8
Restore the missing image handling to the image manager. The missing
...
image packet crashes Hippo without a message.
2009-10-02 05:49:27 +01:00
Melanie
9a429610e2
Merge branch 'diva-textures-osgrid' into texturetest
2009-10-02 04:19:22 +01:00
Diva Canto
746dad7b74
Locking the priority queue to see if it gets pass that exception.
2009-10-01 20:32:22 -07:00
Melanie
18a744cac1
Change texture sending to be driven by the queue empty event from the
...
packet queue, rather than a timer
2009-10-02 04:04:14 +01:00
John Hurliman
54ff84050f
Removing console debug spew
2009-10-01 18:12:13 -07:00
Adam Frisby
a2cdbd784d
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-10-02 10:54:01 +10:00
John Hurliman
aaf8fbcef9
Merge branch 'diva-textures-osgrid' of ssh://opensimulator.org/var/git/opensim into diva-textures-osgrid
2009-10-01 17:53:28 -07:00
Adam Frisby
a030e3d61b
* Attempting to fix a issue with console commands & the estate module. Again.
2009-10-02 10:53:21 +10:00
John Hurliman
6e0c79b8fe
* Rewrote LLImageManager to use a real priority queue and hold minimal state
...
* Rewrote the logic in J2KImage.RunUpdate()
* Added a default avatar texture (I made it myself)
2009-10-01 17:42:13 -07:00
Diva Canto
24d5b57503
Added messages to assertions in the failing tests, so that we know which ones are failing.
2009-10-01 17:28:42 -07:00
Melanie
212e132e79
Revert "* Adding Scale to EntityBase * Fixing the incorrect initialization of EntityBase.Rotation * Removed SceneObjectGroup.GroupRotation and added overrides for Scale/Rotation/Velocity"
...
This reverts commit 39842eb4af
.
2009-10-02 00:47:01 +01:00
Melanie
4a1076128c
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-10-02 00:45:43 +01:00
Melanie
d6301db382
Revert "* Adding Scale to EntityBase * Fixing the incorrect initialization of EntityBase.Rotation * Removed SceneObjectGroup.GroupRotation and added overrides for Scale/Rotation/Velocity"
...
This reverts commit 39842eb4af
.
2009-10-02 00:45:31 +01:00
Melanie
54a912bb9c
Add a method to determine the count of packets in a throttle
2009-10-01 22:35:57 +01:00
Melanie
5e9da4daab
Add OnQueueEmpty event to the packet layers. No user functinality yet
2009-10-01 21:08:17 +01:00
Melanie
d0cc0985fa
Fix a merge conflict
2009-10-01 14:45:06 +01:00
Melanie
41ff39414b
Merge branch 'master' into vehicles
2009-10-01 14:08:15 +01:00
James J Greensky
44776fea72
Fixing LLClientView memory leak
...
Fixing LLClientView memory leak by disposing of all timers utilized
in LLClientView as they contain references to the callback method.
This required the use of the Terminate and Close infrastructure that
was already in place but was not being utilized.
2009-10-01 04:11:32 +01:00
Diva Canto
1eb6f99d19
Create j2k cache directory if it doesn't exist. The Meshmerizer needs it there.
2009-09-30 20:27:40 -07:00
James J Greensky
8e3dd64282
Removed an innefficent List.Contains lookup from UpdateQueue
...
Changed the underlying data structure used to detected duplicate
in OpenSim.Region.Framework.Scenes.Types.UpdateQueue from a
List to a Dictionary.
2009-09-30 17:53:32 -07:00
John Hurliman
cb26878f96
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-09-30 17:51:34 -07:00
Jeff Ames
606e831ff5
Formatting cleanup.
2009-10-01 09:38:36 +09:00
John Hurliman
5dfd2643df
* Change the signature of the agent set appearance callback to prevent unnecessary serialization/deserialization of TextureEntry objects and allow TextureEntry to be inspected for missing bakes
...
* Inspect incoming TextureEntry updates for bakes that do not exist on the simulator and request the missing textures
* Properly handle appearance updates that do not have a TextureEntry set
2009-09-30 15:53:03 -07:00
John Hurliman
acfe2d9f4e
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-09-30 15:28:23 -07:00
Melanie
041aaaa62c
Prevent null data being sent to the decoder
2009-09-30 22:21:22 +01:00
Melanie
400abed271
Add RebakeAvatarTexturesPacket to the client view
2009-09-30 21:33:20 +01:00
Melanie
67fefdb5a0
Remove predecode-j2k and it's assoaciated logic
2009-09-30 21:33:00 +01:00
Melanie
b0c0d6f9d1
Squelch the debug noise from diva's patch
2009-09-30 20:36:20 +01:00
John Hurliman
f56dc5fcda
Attempting to improve the robustness of texture decoding by always ignoring LayerInfo.End values and creating guessed default layer boundaries on failed decodes Changed a noisy J2K decode log message from Info to Debug Replacing openjpeg-dotnet decoding with managed CSJ2K decoding. Should be much more reliable, faster, and use less memory
...
* Re-added openjpeg-dotnet files since they are used elsewhere in OpenSim * Updated prebuild.xml with a reference to CSJ2K
* Renamed IJ2KDecoder and J2KDecoder member names to follow standard naming conventions * Removed j2kDecodeCache cruft and replaced it with the OpenSim cache system * Rewrote the default layer boundary algorithm to use percentages instead of an exponent * Switched from an infinite in-memory cache to an expiring cache (10 minute timeout) * Slightly quieted logging errors for failed texture decodes
2009-09-30 19:26:53 +01:00
Melanie
f908e32f62
Revert "Attempting to improve the robustness of texture decoding by always ignoring LayerInfo.End values and creating guessed default layer boundaries on failed decodes Changed a noisy J2K decode log message from Info to Debug"
...
This reverts commit 22cc31135e
.
2009-09-30 19:26:26 +01:00
John Hurliman
22cc31135e
Attempting to improve the robustness of texture decoding by always ignoring LayerInfo.End values and creating guessed default layer boundaries on failed decodes Changed a noisy J2K decode log message from Info to Debug
...
Replacing openjpeg-dotnet decoding with managed CSJ2K decoding. Should be much more reliable, faster, and use less memory
* Re-added openjpeg-dotnet files since they are used elsewhere in OpenSim * Updated prebuild.xml with a reference to CSJ2K
2009-09-30 18:42:45 +01:00
Diva Canto
4bf47fa592
This releases the texture assets from LLImageManager cache, and re-requests them later if the client asks for them again. Needs more testing in texture-rich sims.
2009-09-30 18:41:41 +01:00
Kitto Flora
07df0e0ab0
Merge branch '0.6.7-post-fixes' into vehicles
2009-09-30 19:07:18 +02:00
Kitto Flora
d43f739cef
And another merge issue
2009-09-30 19:05:39 +02:00
Kitto Flora
11750a272e
And another
2009-09-30 19:04:06 +02:00
Kitto Flora
6b65eb76d0
Another small change to avoid later merge conflict
2009-09-30 19:01:55 +02:00
Kitto Flora
53fbc970ca
Small chaneg to adapt to trunk
2009-09-30 18:58:52 +02:00
opensim
827b0fb199
Commit initial version of KittoFlora's vehicle changes
2009-09-30 18:51:02 +02:00
Jeff Ames
ee205e7e81
Formatting cleanup.
2009-10-01 01:17:47 +09:00
Melanie
377a8b5229
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-09-30 11:17:27 +01:00
Melanie
94aa7e677c
Change command help text to show .ini in place of .xml when creating regions
2009-09-30 09:12:43 +01:00
Diva Canto
89016203de
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-29 16:13:31 -07:00
Diva Canto
b1d204802f
Minor bug fixes.
2009-09-29 16:13:07 -07:00
dr scofield (aka dirk husemann)
09cb8a594b
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into x-opensim
2009-09-29 17:00:02 +02:00
Diva Canto
37a8b2b8b7
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-29 07:56:29 -07:00
Alan M Webb
2a7bedb5e9
This fix addresses the problem where phantom objects do not
...
always behave like they are phantom, and llVolumeDetect
seems to operate in a random fashion.
Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-29 16:55:03 +02:00
Diva Canto
bc892c1d4c
A little hack to see if this fixes the problems with ~20% of SOG's becoming phantom after an import to megaregions.
2009-09-29 07:54:56 -07:00
Alan M Webb
a43706862c
Given the perverse way that strided works, if
...
there is only one element in the range, it must
also coincide with the specified stride. The
existing code assumes that the stride starts at
start ( which is the expected and most useful
behavior).
Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-29 15:40:41 +02:00
Diva Canto
95981776dd
Fixed bug in Check4096 (HG).
2009-09-28 20:11:10 -07:00
Diva Canto
a60ed0562c
I think I have fixed something that was broken in the scene setup (tests) and that needs to be reflected in all other services setups. But the teleport test still doesn't work. Commenting it for now.
2009-09-28 17:42:35 -07:00
Diva Canto
51d9f7ebd4
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-28 17:35:26 -07:00
Diva Canto
4eca59ec13
Improved the Local grid connector to fetch data from the DB when it doesn't find it in the cache.
...
Commented out the Standalone teleport test because it's failing, and the scene setup is very confusing. I suspect it may be wrong -- the connectors-as-ISharedRegionModules are being instantiated several times when there are several scenes.
2009-09-28 17:33:34 -07:00
Jeff Ames
f00126dc2d
Add copyright header. Formatting cleanup.
2009-09-29 08:32:59 +09:00
Diva Canto
e15a9b8484
Fixed an issue with the PresenceModule in "gridmode", introduced by my fixing the notifications of the messaging service in standalone.
2009-09-27 17:01:30 -07:00
Diva Canto
689eea3bad
Guarding the methods under if (m_Enabled)
2009-09-27 15:06:44 -07:00
Diva Canto
2432cc607e
Neighbours cache working.
2009-09-27 13:43:57 -07:00
Diva Canto
5d09c53a1a
Unpacking the mess with OtherRegionUp, so we can have a real cache of the neighbours in the grid service modules.
2009-09-27 10:14:10 -07:00
Diva Canto
68e40a87ca
Poof! on LocalBackend. CommsManager.GridServices deleted.
2009-09-26 21:29:54 -07:00
Diva Canto
620fa2b772
Poof! on OGS1 GridServices.
2009-09-26 21:21:06 -07:00
Diva Canto
989382352d
Poof! on Region.Communications.Hypergrid. Grid code deleted.
2009-09-26 21:14:41 -07:00
Diva Canto
f4bf581b96
Moved all HG1 operations to HGGridConnector.cs and HypergridServerConnector.cs/HypergridServiceConnector.cs, away from Region.Communications and HGNetworkServersInfo.
...
Fixed small bugs with hyperlinked regions' map positions.
2009-09-26 21:00:51 -07:00
Diva Canto
dcfd08b8dd
Fixed a bug with link-region.
2009-09-26 11:01:18 -07:00
Diva Canto
b5163889b9
Fixed the order of params to GetRegionRange.
2009-09-26 10:30:45 -07:00
Diva Canto
632bb71262
Fixed MapBlocks bug, wrong order of arguments. First version that seems completely functional.
...
Also fixed the notification of the message server in standalone -- that server doesn't usually exist.
2009-09-26 08:49:48 -07:00
Diva Canto
d39e67d5b2
More redirects to HGGridConnector-as-HyperlinkService.
2009-09-26 08:06:14 -07:00
Diva Canto
7253a9453e
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-26 07:49:04 -07:00
Diva Canto
5757afe766
First pass at the heart surgery for grid services. Compiles and runs minimally. A few bugs to catch now.
2009-09-26 07:48:21 -07:00
Teravus Ovares (Dan Olivares)
a7f3d01f8a
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-25 16:06:40 -04:00
Teravus Ovares (Dan Olivares)
2bb513329a
* Does a full battery of tests to ensure that the object isn't an attachment before border crossing
...
* Fixes 'Inconsistent Attachment State' when teleporting into another region besides the SW most region slot on a MegaRegion.
* Fixes a host of other unintended attachment border cross edge cases that lead to Inconsistent attachment state.
2009-09-25 16:06:04 -04:00
dahlia
fb2cabd6b3
corrections to viewerMode AddPos()
2009-09-25 13:01:48 -07:00
Teravus Ovares (Dan Olivares)
0a0b532270
* Fixes teleporting within megaregions on HG enabled regions. You can teleport around now. (but it still doesn't fix the inconsistent attachment state when teleporting into region slots that are not the south west region on megaregions)
2009-09-25 15:31:19 -04:00
Justin Clark-Casey (justincc)
0bdf75637f
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-09-25 19:19:01 +01:00
Diva Canto
eed8a61559
More small changes to FlotsamAssetCache as per mcortez' request.
2009-09-25 08:47:45 -07:00
Diva Canto
902279f0fd
Moved the property RegionLoginsEnabled from GridComms to the Scene -- not the scene itself but SceneCommunicationService, for now. Beginning to clear the code from using Region.Communications. grid stuff.
2009-09-25 08:39:09 -07:00
Justin Clark-Casey (justincc)
9249c026f2
Don't preserve full user profile details within iars for now
...
This information was not being used in the load process
2009-09-25 16:22:43 +01:00
Justin Clark-Casey (justincc)
613cb417c0
add control files containing version info to iars
2009-09-25 14:52:53 +01:00
Justin Clark-Casey (justincc)
730458be1f
minor: remove some mono compiler warnings
2009-09-25 14:31:29 +01:00
Dan Lake
1b2828f5d8
Meshmerizer stores dictionary of unique Meshes keyed on construction parameters. CreateMesh() returns a Mesh from the dictionary or creates a new Mesh if it has not been created before. Meshes are never purged from the dictionary. The raw Mesh data is discarded once the memory is pinned for ODE use. All copies of the same prim/mesh use the same pinned memory. ONLY IMPLEMENTED AND TESTED WITH MESHMERIZER AND ODE
...
Signed-off-by: dahlia <dahliaTrimble@gmailDotCom>
2009-09-24 18:20:59 -07:00
dahlia
daffb69174
modify BulletDotNETPrim.cs in preparation for Mantis #4181
2009-09-24 18:16:29 -07:00
Justin Clark-Casey (justincc)
ad753d784c
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-09-24 17:35:03 +01:00
Justin Clark-Casey (justincc)
e1abc3d4c4
re-enable registration of user service authentication method I accidentally disabled a few commits ago
...
load/save iar on a grid should now work, provided that the user service is this revision or newer
2009-09-24 15:22:47 +01:00
Justin Clark-Casey (justincc)
f62b5e6cec
Produce a different error message if the user service does not have the authenticate method available
2009-09-24 15:19:47 +01:00
Justin Clark-Casey (justincc)
7870152d23
Allow load/save iar password checks to be done in grid mode
...
This should allow load/save iar to work for grid mode as long as the grid user service is later than this revision
Grid services of earlier revisions will always erroneously report incorrect password. This will be addressed shortly.
2009-09-24 14:54:12 +01:00
Adam Frisby
ca69fac13e
* Send Updated Information Packet to Clients after updating estate settings.
2009-09-24 22:02:29 +10:00
Adam Frisby
8605c5d2eb
* Establishing why new console commands fail to work. >_>
2009-09-24 21:46:41 +10:00
Adam Frisby
57429423bb
* Fixing typo.
2009-09-24 21:29:57 +10:00
Adam Frisby
aca9fd182e
* Added two new commands to EstateManagementModule
...
* Also, I hate git.
2009-09-24 20:27:11 +10:00
Diva Canto
1260c81a9c
More tests. Seems to be working.
...
Grid connector modules are enabled for standalones only, but nothing in the simulator uses them yet, so it's safe to go in.
2009-09-23 20:51:04 -07:00
Diva Canto
fd8fb7735b
First test passes -- regions being registered and retrieved correctly in Data.Null.
2009-09-23 20:39:25 -07:00
Diva Canto
3c19bd5142
Unit tests for the grid service. Yey!
2009-09-23 20:35:16 -07:00
Diva Canto
67276589c8
Changed IGridService to use the new GridRegion data structure instead of old SimpleRegionInfo.
...
Added grid configs to standalones.
2009-09-23 17:20:07 -07:00
Diva Canto
b8f039897b
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-23 15:40:35 -07:00
Teravus Ovares (Dan Olivares)
c592a60f46
Fix endlines on UrlModule.cs
2009-09-23 15:00:18 -04:00
Teravus Ovares (Dan Olivares)
9c2ffa8f2e
* fix endlines in LSL_api.cs
2009-09-23 14:55:22 -04:00
Diva Canto
35deff7ec4
Modules active. Tested HGGridConnector in standalone only for now. Modules commands work.
2009-09-23 09:27:01 -07:00
Diva Canto
486a9a5b61
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-23 07:54:13 -07:00
Alan M Webb
b7265abfae
Added delay loop to give a newly created assembly time to appear. On
...
Linux (as an example), it is possible for the existence check to fail
because the file is not yet recognized by the file system. Although
the loop has a 250mS delay, in practise, the existence test in the for
loop is successful and no delay is introduced.
Next, this takes care of the two, unpredictable, situations where a
script fails to compile. The first is caused by an occasional SEGV in
the underlying mono VM while mcs is running, the second is caused by
file system latency.
Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-23 14:49:34 +02:00
Diva Canto
882d2c9cc3
Added hg console commands to the module.
...
Added the IN connector module for link-region and corresponding handler to be used in the regions only. No service as such is needed.
This will replace the current link-region machinery. Compiles but not tested.
2009-09-22 20:25:00 -07:00
Adam Frisby
5dc3e560d3
* Makes SimulatorEnable messages 'reliable' and subject to redelivery.
2009-09-23 10:30:18 +10:00
Diva Canto
ffd30b8ac3
Moved RegionName from RegionInfo to SimpleRegionInfo.
2009-09-22 14:46:05 -07:00
Diva Canto
0fc2b73e7b
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-22 14:15:53 -07:00
Diva Canto
34f4738159
Added HGGridConnector and related code.
2009-09-22 11:58:40 -07:00
Melanie
97c18caa76
Thank you, Intari, for a patch that implements the missing pieces of
...
Http-in and makes the host name for URL generation configurable.
Applied with changes:
llGetSimulatorHostname was not changed, because the change breaks
existing behavior and carries a data exposure risk. That value needs
to be configurable, the proposed fixed change is not acceptable.
2009-09-22 17:04:34 +01:00
Melanie
dafe5bf05f
Completely remove the prior implementation of the request event handling
...
on poll handlers. Introduce a new delegate on the PollServiceEventArgs that
allow access to the request headers and body.
2009-09-22 06:19:02 +01:00
Diva Canto
a9ced0fe79
Added Remote grid connector module.
2009-09-21 19:33:56 -07:00
Melanie
69b76acce1
Make the poll service handler call the handler method on incoming requests.
2009-09-21 19:46:29 +01:00
Melanie
5511c62580
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-09-21 18:12:12 +01:00
Diva Canto
6d0e7b6a6c
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-21 11:05:20 -07:00
Diva Canto
390137d540
Added grid handler and grid remote connector.
2009-09-21 11:05:01 -07:00
Melanie
bc9e4cfd96
Add a RequestID (UUID.Random()) to the PollRequest and pass it to all
...
even hander delegates.
2009-09-21 18:11:40 +01:00
Melanie
04170521f0
Add a UUID param to NoEvents in PollServiceEventArgs to make it more generic
2009-09-21 14:59:31 +01:00
BlueWall (James Hughes)
d835485a1f
Updatate llOpenRemoteDataChannel to provide the external hostname configured in the Regions.ini (or xml) to the XmlRpcGridRouterModule
2009-09-19 08:16:10 +01:00
Diva Canto
66f8166bd0
First pass at LocalGridServiceConnector. Nothing of this is used by the simulator yet.
2009-09-18 20:01:33 -07:00
Justin Clark-Casey (justincc)
967cbde055
correct off-by-one error in save iar command handling
2009-09-18 22:25:32 +01:00
Justin Clark-Casey (justincc)
33ea86374a
provide intelligble warning of why load/save iar doesn't work on grid mode, pending a fix
2009-09-18 22:22:00 +01:00
Michael Cortez
4eb07232e0
Group Membership information is sent out from two different locations, refactored out the filtered membership list code and used it in both locations.
2009-09-18 20:54:03 +01:00
Michael Cortez
65b9084c65
Add a little debugging for filtered groups lists based on requester
2009-09-18 20:54:01 +01:00
Michael Cortez
3b511d5138
Try to filter the groups list returns for User A, when sending to User B, based on User A's preferences for ShowInProfile.
2009-09-18 20:53:58 +01:00
Michael Cortez
247fdd1a4d
Add additional instrumentation so that when there is an xmlrpc call failure, the actual xml that was returned from the groups service can be logged.
2009-09-18 20:53:56 +01:00
Michael Cortez
841cd69af7
Remove debug messages from some areas that have been highly tested, and debug info is no longer nessesary.
2009-09-18 20:53:53 +01:00
Michael Cortez
0e07a7ef10
Adding additional debug to output the group powers specified when updating a group role. This will be used to solve some issues with the Group Powers enum.
2009-09-18 20:53:50 +01:00
Michael Cortez
61699275ed
Add additional debugging to help track down bug with notices not going to group owner/founder.
2009-09-18 20:53:47 +01:00
Michael Cortez
0cb012aae5
Revert "Thank you, mcortez, for a patch to address showing users in group list"
...
This reverts commit 69ef95693a
.
2009-09-18 20:53:44 +01:00
Rob Smart
4f3975f04e
addition of a new script function osSetParcelSIPAddress(string SIPAddress), now including iVoiceModule
...
This patch allows the land owner to dynamically set the SIP address of a particular land parcel from script. This allows predetermined SIP addresses to be used, making it easier to allow non OpenSim users to join a regions voice channel.
Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-18 15:47:15 +02:00
nlin
56edbe9b60
Alternate algorithm for fixing avatar capsule tilt (Mantis #2905 )
...
Eliminate dynamic capsule wobble. Instead introduce a small, fixed
tilt, and allow the tilt to rotate with the avatar while moving; the
tilt always faces away from the direction of avatar movement. The
rotation while moving should eliminate direction-dependent behavior
(e.g. only being able to climb on top of prims from certain directions).
Falling animation is still too frequently invoked.
Ideally the tilt should be completely eliminated, but doing so
currently causes the avatar to fall through the terrain.
2009-09-18 11:39:08 +09:00
Alan M Webb
88294d9ebf
While running a test case I had written to pursue problems with
...
llDie() not always completely working, I discovered I was
getting a lot (60+ over 6000 iterations of the test case)
null pointer exceptions in various physics related checks in
SceneObjectPart. It was apparent that the (frequent) checks for
PhysActor being non-null is an insufficient protection in a
highly asynchronous environment. The null reference exceptions
are one example of failure, but it could also happen that a
sequence started with one instance of a PhysicsActor might
finish with another?
Anyway, I have implemented a safer mechanism that should
stop the errors. I re-ran my test case with the fix in place,
and completed nearly 1000 iterations without a single occurrence.
SceneObjectPart is seriously in need of rejigging, if not for
this reason, then for its ridiculous size.
Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-17 17:49:13 +02:00
Melanie
69ef95693a
Thank you, mcortez, for a patch to address showing users in group list
...
Removed patch 0005, which was unrelated and likely accidental, and further
didn't apply.
2009-09-17 15:38:17 +01:00
John Hurliman
39842eb4af
* Adding Scale to EntityBase * Fixing the incorrect initialization of EntityBase.Rotation * Removed SceneObjectGroup.GroupRotation and added overrides for Scale/Rotation/Velocity
2009-09-16 17:17:40 -07:00
John Hurliman
f42d085ab1
SceneObjectGroup cleanup. Removes the default constructor and unnecessary null checks on m_rootPart
2009-09-16 15:06:08 -07:00
Justin Clark-Casey (justincc)
077d01c225
switch default physics engine to ODE and default meshmerizer to Meshmerizer in code and in OpenSim.ini.example
2009-09-16 18:44:55 +01:00
Justin Clark-Casey (justincc)
a4c093469a
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-09-16 18:21:46 +01:00
Justin Clark-Casey (justincc)
35260faead
on iar save/load, let the user know if they put in the wrong password
...
refactor GetUserInfo() to eliminate copypasta
2009-09-16 18:20:55 +01:00
Rob Smart
281ad1251c
updated the IAuthorizationService interface so that a message is passed back and can be displayed at the client when an avatar is denied access to a region
2009-09-16 10:04:07 -07:00
Alan M Webb
9cbb865985
This fix allows you to configure a script-to-console-log channel
...
association. Then, whenever there is an llSay to that channel,
the message is directed to the OpenSim console log (and NOT
forwarded to the client). This is a great way to capture scripting
events to the log. To enable, add ScriptConsoleChannel = -xxx to
the ScriptEngine parameters in the .ini file. Note that the
message is written using Console.WriteLine rather than
the rather more fragile log4net service. The console channel is
also not subjected to the 1024 character limit imposed on regular
say traffic.
Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-16 17:07:53 +02:00
Alan M Webb
3b1ef2bfd2
This fixes a boundary case error in the strided list
...
implementation. If the range included only a single item
an empty list was always returned (has no-one been using
this function?)
Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-16 16:38:29 +02:00
Alan M Webb
3403ae81e8
Stop a loaded OAR from generating on_rez events. This brings
...
the OAR loader in line with region restart (and the correct
behavior).
2009-09-16 16:29:52 +02:00
Melanie
c5455d4fe7
And another go
2009-09-15 08:24:51 +01:00
Melanie
cec296543c
Attempt to fix the tests
2009-09-15 08:12:53 +01:00
Melanie
7c925744f6
Some OSGrid specific changes, please use this or later for OSGrid use
2009-09-15 07:55:29 +01:00
Teravus Ovares (Dan Olivares)
1ad35f65b3
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-14 16:30:36 -04:00
Teravus Ovares (Dan Olivares)
dc925416d7
* fix missing lock on XMLRPC GroupsModule
2009-09-14 16:30:14 -04:00
Justin Clark-Casey (justincc)
a964bc3ca4
Apply http://opensimulator.org/mantis/view.php?id=4142
...
Re-enable XMLRPC scripting calls
Moves XMLRPC scripting setup to a separate section
Thanks Fly-Man-
2009-09-14 18:31:34 +01:00
Justin Clark-Casey (justincc)
5a64ca4642
label load and save iar commands as experimental.
2009-09-14 16:57:47 +01:00
Justin Clark-Casey (justincc)
dd4d70eafe
re-enable load and save iar commands
2009-09-14 16:54:36 +01:00
dr scofield (aka dirk husemann)
19c5c8b98d
fix to preserve UTF8 encoding in saved script state.
2009-09-14 16:14:59 +02:00
Teravus Ovares (Dan Olivares)
feccfe4096
* Add the RegionCombinerModule back
...
* Yay anonymous delegate in an anonymous delegate.
2009-09-13 19:09:48 -04:00
Teravus Ovares (Dan Olivares)
3a9e1cf0a3
Temporarily removing the RegionCombinerModule to debug a mono assert on linux
2009-09-13 18:43:20 -04:00
Teravus Ovares (Dan Olivares)
ed475f21ee
* Use the BeginInvoke methodology instead of the FireAndForget methodology to try to mitigate a mono assert. Same functionality done a different way.
2009-09-13 18:28:45 -04:00
Teravus Ovares (Dan Olivares)
3562d75c17
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-13 18:12:44 -04:00
Teravus Ovares (Dan Olivares)
eadea36142
* Move nested classes from the RegionCombinerModule into their own file.
...
* Rename the RegionCombinerModuleIndividualForwarder to RegionCombinerIndividualEventForwarder so there's no possibility that mono.addins sees any names similar
2009-09-13 18:12:24 -04:00
Melanie
efc43aa0d9
Change the type value for given folders to -1. Prevents inventory blowups
2009-09-13 18:24:00 +01:00
Teravus Ovares (Dan Olivares)
fe4f312d55
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-13 07:28:08 -04:00
Teravus Ovares (Dan Olivares)
4241cdc929
* More comments in the RegionCombinerModule
...
* Changed the Destination ID to 0 in the TeleportFinish Event (why did we have it as 3?)
* Added border based trigger teleports
* Fix MakeRootAgent border cross tests for ensuring that the position is inside the region to use the borders to figure out if it's outside the Region
2009-09-13 07:20:18 -04:00
Jeff Ames
01ec93945e
Formatting cleanup.
2009-09-13 13:56:09 +09:00
Diva Canto
40c3ac4aeb
Guarding the unpacking of the email field introduced by Robsmart. Most profiles don't have it. This may fix mantis #4134 .
2009-09-12 09:30:14 -07:00
Melanie
496b368334
Add a using() block around the timer script
2009-09-11 21:52:49 +01:00
Justin Clark-Casey (justincc)
c573a32529
Disable non-user ready load/save iar for now pending possible format change
2009-09-11 20:38:08 +01:00
Justin Clark-Casey (justincc)
f20a052ef5
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-09-11 18:20:41 +01:00
Justin Clark-Casey (justincc)
212efc0c76
Remove bug where iar created folders could not be deleted after relog
...
New folders need to be created with AssetType.Unknown rather than AssetType.Folder!
2009-09-11 16:51:57 +01:00
Diva Canto
ca0810a103
Minor indentation cleanup.
2009-09-11 06:59:10 -07:00
Rob Smart
eaec7cf39c
Changed RemoteAuthorizationServiceConnector so that it implements the IAuthorization interface method isAuthorizedForRegion looks up user and region data and delegates the remote authorization check to the AuthorizationServiceConnector
...
This keeps the IAuthorization as clean as possible and moves the dependency of using a UserProfileData object out to the connector from the scene.
2009-09-11 06:50:24 -07:00
Diva Canto
ce332f235c
Changed the interface of IAuthorizationService to get less data.
2009-09-10 19:56:08 -07:00
Rob Smart
953ef780c5
adding in working functionality for the remote connector
2009-09-10 17:52:42 -07:00
Rob Smart
16940097be
The stubs for an authorization service, at the moment the service will always grant access to an avatar entering the region if requested.
2009-09-10 17:51:28 -07:00
Justin Clark-Casey (justincc)
552ba5334f
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-09-10 18:14:34 +01:00
Justin Clark-Casey (justincc)
eabf5b6c3d
refactor: Replace some iar item name generation in tests with helper function
2009-09-10 17:40:07 +01:00
Justin Clark-Casey (justincc)
f5feb25dd1
fix spurious loading... messages on iar load by creating folders as version 1 rather than version 0
2009-09-10 17:08:26 +01:00
Teravus Ovares (Dan Olivares)
729fbee287
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-10 04:07:08 -04:00
Teravus Ovares (Dan Olivares)
1c878ec425
* Fix an off by one error on visible neighbors in the 'RequestNeighbors' method. This off by one error showed one extra row of neighbors on the north and east side
2009-09-10 03:25:55 -04:00
Jeff Ames
c41387b864
Formatting cleanup.
2009-09-10 15:57:53 +09:00
Teravus Ovares (Dan Olivares)
dc3798ddc3
* Another Timer lock
2009-09-10 00:31:14 -04:00
Teravus Ovares (Dan Olivares)
df9f80aabd
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-09 16:20:46 -04:00
Teravus Ovares (Dan Olivares)
c605509da3
* Lock timers when Calling Start() and Stop() when the Thread Context is murky. This affects Mono only.
2009-09-09 16:20:19 -04:00
Diva Canto
5bf288745d
De-hardcode default home locations on create user (standalone).
2009-09-09 11:02:31 -07:00
Justin Clark-Casey (justincc)
0cdec1fbc3
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-09-09 18:11:02 +01:00
Justin Clark-Casey (justincc)
bb1f64fe51
minor: suppress mono warning 0162 generated when comparing const RegionSize against a literal number
2009-09-09 18:09:23 +01:00
Justin Clark-Casey (justincc)
0683cf6e0d
Add test to check behaviour if an iar is loaded where no user profile exists for the creators
...
Disable generation of temporary profiles for now, instead record loading user as creator
2009-09-09 18:03:49 +01:00
dr scofield (aka dirk husemann)
62358014ed
reformatting.
2009-09-09 09:56:07 +02:00
dr scofield (aka dirk husemann)
d8a787bd89
fix: unicode notecards not surviving script treatment ( fixes #4119 ---
...
perhaps).
2009-09-09 09:56:07 +02:00
Melanie
5c606d0233
Thank you, mcortez, for a patch to fix errors in FlotsamCache and expand
...
functionality, adding console commands.
2009-09-08 21:31:09 +01:00
Justin Clark-Casey (justincc)
2bb2a0ec44
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-09-08 17:50:45 +01:00
Justin Clark-Casey (justincc)
b7256f2567
extend load iar test to loading into a deeply nested directory
...
correct bug associated with this
2009-09-08 17:42:07 +01:00
Justin Clark-Casey (justincc)
36a40e0295
refactor: change method argument name
2009-09-08 16:29:31 +01:00
Justin Clark-Casey (justincc)
46d64da830
minor: remove warning
2009-09-08 16:14:52 +01:00
Justin Clark-Casey (justincc)
76b21860e9
refactor iar name generation
...
slightly change the format of item archive names
2009-09-08 16:12:15 +01:00
Teravus Ovares (Dan Olivares)
f0e2fd426b
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-08 04:43:17 -04:00
Teravus Ovares (Dan Olivares)
9a06056c9a
* Fixes a 'take object from mega region' and rez it in a regular region.. and have it appear 5 regions over bug by limiting the stored position in the asset to Constants.RegionSize. The stored position in the asset gets overwritten anyway by the rezzing routine, but at least this way, there's no chance of the objects border crossing before the rezzing routine finishes.
2009-09-08 04:43:00 -04:00
dahlia
665cf0194a
llRot2Euler() now returns angles -PI < angle < PI
2009-09-07 18:02:02 -07:00
dahlia
7a67b726d5
random drive-by maths optimization in llRot2Euler() and llEuler2Rot()
2009-09-07 17:12:17 -07:00
Justin Clark-Casey (justincc)
fa1d79533e
Only allow iar load/save if user is logged in to the region simulator
2009-09-07 19:57:44 +01:00
Justin Clark-Casey (justincc)
71f1628578
make oar module logging a little less noisy
2009-09-07 19:11:16 +01:00
Justin Clark-Casey (justincc)
10b075a33d
change default iar filename
2009-09-07 18:42:53 +01:00
Justin Clark-Casey (justincc)
116933bee5
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-09-07 18:26:53 +01:00
Teravus Ovares (Dan Olivares)
326c3ee14f
* Enables Child Agents for all virtual regions in the region and their neighbors. There still may be issues with crossing into the mentioned neighbors of the virtual regions. This makes regions larger then 512x512 (3 virtual regions) display fully to clients.
...
* Uses a grid request multiple times, so the more regions are in the instance, the longer logging in takes. Consider this temporary until there's a RegionInfo request similar to the MapItem Request.
2009-09-07 12:57:30 -04:00
Teravus Ovares (Dan Olivares)
c4edefd9a0
minor: organizational
...
* Move the neighbor region lookup to another method from where it was before in EnableNeighbourChildAgents.
2009-09-06 21:26:59 -04:00
Justin Clark-Casey (justincc)
61c286f5d6
change iar load to make discrete inventory service requests rather than the cache
2009-09-06 22:07:35 +01:00
Justin Clark-Casey (justincc)
5640cac8e0
Add convenience functions to InventoryArchiveUtils for locating folders by assuming we're starting from the root
...
Change test methods to use convenience functions
2009-09-06 21:34:20 +01:00
Justin Clark-Casey (justincc)
a92afe8dca
change load iar test to use non-cache find item by path function
2009-09-06 21:26:27 +01:00
Justin Clark-Casey (justincc)
d8316810a1
remove now unnecessary parts of save iar test
2009-09-06 21:20:41 +01:00
Teravus Ovares (Dan Olivares)
8797a82098
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-06 16:15:20 -04:00
Justin Clark-Casey (justincc)
1cc0c94f79
remove warning
2009-09-06 21:15:18 +01:00
Teravus Ovares (Dan Olivares)
511bddc8bc
* Moves another Legacy avatar inbounds check to Border
2009-09-06 16:15:06 -04:00
Justin Clark-Casey (justincc)
881051c8cc
Convert iar write request to use inventory service requests rather than cache
2009-09-06 21:14:42 +01:00
Justin Clark-Casey (justincc)
766d775625
remove warning
2009-09-06 20:17:30 +01:00
Justin Clark-Casey (justincc)
79c22651d7
refactor: use direct scene reference in inventory archive read request
2009-09-06 20:16:56 +01:00
Justin Clark-Casey (justincc)
8616230fcf
refactor: replace some uses of iar module reference with scene instead
2009-09-06 20:04:18 +01:00
Justin Clark-Casey (justincc)
304c78bbbb
Temporarily re-enable save iar test by manually insert the item into the old cache during the test
2009-09-06 19:30:03 +01:00
Melanie
998624544c
Addendum to last commit. With the last commit, some other code that should
...
have been in this commit slipped in. If the last heartbeat is more than
2 seconds ago, kill that thread and start a new one. Untested.
his commit adds support to let the first heartbeat complete unconditionally,
since it is almost always longer.
2009-09-06 16:14:45 +01:00
Melanie
dcebbc3f1b
Remove the encryption from the IAuthenticationService interface. That
...
is too high up for that type of stuff. It needs to be at the
connector/handler level
2009-09-06 15:55:14 +01:00
Melanie
2303945b4e
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-09-06 04:29:21 +01:00
Melanie
2a8f66b221
Revising the user account data interfaces. No user functionality yet
2009-09-06 04:28:42 +01:00
Diva Canto
babe392709
uh-hum. It might help if I remembered to save the file.
2009-09-05 17:16:43 -07:00
Diva Canto
7d9d8eb90f
This should get rid of the infinite loop upon looking up users/agents by UUID in grid mode. Grr.
2009-09-05 16:56:33 -07:00
Teravus Ovares (Dan Olivares)
8855c2e54c
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-05 03:00:50 -04:00
Teravus Ovares (Dan Olivares)
855fb58c96
* Moves ScenePresence SendCourseLocations to a delegate and provide a method to replace the delegate
...
* RegionCombinerModule replaces this delegate and distributes the CoarseLocationUpdates through the client connection in the region where the user would be if it was a separate region.
* Fixes Mini Map display on combined regions.
2009-09-05 02:58:35 -04:00
Diva Canto
b6744a6566
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-04 22:31:10 -07:00
Diva Canto
c48ec97817
Fixed some long-standing issues with appearance in HG1.
2009-09-04 22:30:30 -07:00
Teravus Ovares (Dan Olivares)
2c09634aed
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-04 20:19:50 -04:00
Teravus Ovares (Dan Olivares)
016a648a30
* Fixes various quirks rezzing in virtual regions.
...
* Breaks up the Client event registrations in Scene into methods of similar event types. The generic event registration registers all of the event types.
*Created symmetrical Un-Registration methods.
* Made the Registration and Unregistration methods public
* Hooks The events required for creating new prim and rezzing new prim into the proper scene.
2009-09-04 20:19:34 -04:00
Justin Clark-Casey (justincc)
7ca61e0174
Add ids to iar requests
...
Stop save iar test wrongly relying on thread pulsing (still disabled though)
2009-09-04 21:10:56 +01:00
Justin Clark-Casey (justincc)
4c560df8ac
If running tests manually, fail immediately on error
2009-09-04 19:22:09 +01:00
Teravus Ovares (Dan Olivares)
50a9e01dfa
* Last commit was a bit of a fail, it registered the root region for it's own permissions events again.
...
* This commit fixes that and does what the last one intended.
2009-09-04 04:41:43 -04:00
Teravus Ovares (Dan Olivares)
f7861a6bad
* Make the RegionCombinerModule also register to handle permissions for the virtual region scenes.
2009-09-04 04:25:56 -04:00
Teravus Ovares (Dan Olivares)
b93f512433
* Fix for GetTerrainHeightAtXY to make it compatible when Constants.RegionSize isn't 256
2009-09-04 02:48:07 -04:00
Teravus Ovares (Dan Olivares)
bb5857c4bb
* Fixes the function 'GetTerrainHeightAtXY'
2009-09-04 00:03:54 -04:00
Diva Canto
639bf79aec
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-03 12:42:25 -07:00
John Hurliman
33133e23b1
Fixes seven leaky .BeginInvoke() calls
2009-09-03 12:36:51 -07:00
Justin Clark-Casey (justincc)
64fa23df7c
If a test dll fails, stop immediately rather than trying all the other test dlls
...
This is very useful behaviour if debugging test failures otherwise it's hard to pick out the test output
Also, some minor method shuffling in the iar module
2009-09-03 19:41:38 +01:00
dahlia
6cf610bc44
eliminate unnecessary storage of mesh objects which are no longer necessary after recent startup optimizations
2009-09-02 17:40:55 -07:00
Jeff Ames
56ddd6828c
Add copyright headers. Formatting cleanup.
2009-09-03 02:04:17 +09:00
dr scofield (aka dirk husemann)
bb0cbdc064
switching LandManagementModule to "new" region module scheme; cleaning
...
up method names in LandManagementModule (was a bit of a
mess). suppressing warnings re Constants.RegionSize.
2009-09-02 11:06:18 +02:00
dr scofield (aka dirk husemann)
05756e1fb9
warnings safari.
2009-09-02 11:06:18 +02:00
Teravus Ovares (Dan Olivares)
9505297fb1
* One last attempt to get the bordercrossing/primcrossing/attachmentcrossing right in the new border framework.
...
* This also contains some inactive preliminary code for disconnecting combined regions that will be used to make one root region a virtual region of a new root region.
2009-09-02 04:39:00 -04:00
Melanie
f32de6fe88
Thank you, dslake, for a set of patches to improve OpenSim startup
...
and idle performance.
2009-09-02 03:33:31 +01:00
Teravus Ovares (Dan Olivares)
2fc3f61a42
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-01 19:39:07 -04:00
Teravus Ovares (Dan Olivares)
afc72cc10e
* Fixes diagonal teleporting when in RegionCombining mode by adding 4 additional borders that have infinite distances perpendicular to the cardinal of the border surrounding the entire combined region. Recalculates this boundary each time AddScene is called.
2009-09-01 19:38:45 -04:00
dr scofield (aka dirk husemann)
39726f0fda
switching SerialiserModule to "new" region module scheme
2009-09-01 10:28:29 +02:00
dr scofield (aka dirk husemann)
ef6c0bd7d8
cleanup.
2009-09-01 10:28:29 +02:00
Teravus Ovares (Dan Olivares)
2245e2977e
* The return of fuzzy borders!
2009-08-31 23:16:24 -04:00
Teravus Ovares (Dan Olivares)
3718bbc6a5
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-31 22:51:03 -04:00
Teravus Ovares (Dan Olivares)
c09884a467
No more fuzzy borders
2009-08-31 22:50:27 -04:00
Teravus Ovares (Dan Olivares)
2068b6714a
* -2 on the south and west side, -1 on the north and east side. Fuzzy borders! yay
2009-08-31 21:40:06 -04:00
Melanie
c89fc36f28
Applying Mantis #4079 . Thank you, dslake
2009-09-01 02:17:08 +01:00
Teravus Ovares (Dan Olivares)
de1c2a51e2
* Put Borders back the way they were to resolve the endless ----> crossing into region X,Y
2009-08-31 21:11:04 -04:00
Melanie
29df190a3f
Baad git, baad baad git.
2009-09-01 02:02:52 +01:00
Melanie
22457c9843
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-09-01 01:56:59 +01:00
Melanie
e458a87e91
Experimental. Set attachment flag early on rezzing from inventory.
2009-09-01 01:53:54 +01:00
Teravus Ovares (Dan Olivares)
fed089971e
* Previously south and west border were required to be -1 for border crossings diagonally to work.. but.. seems they're working now without it.. and maybe it will help attachments.
2009-08-31 20:36:06 -04:00
Teravus Ovares (Dan Olivares)
b8d21d9eae
* Get rid of some debug info and kill the code to make a large AABB until I can figure out how to detect the fact that the system is done starting up new regions.
2009-08-31 20:10:08 -04:00
Teravus Ovares (Dan Olivares)
b997174d08
* Fix attachment cross issues with new borders.
2009-08-31 20:07:33 -04:00
Teravus Ovares (Dan Olivares)
895c612647
* When the RegionCombinerModule is active add an extra set of borders with Infinite distances around the whole AABB of the region
2009-08-31 16:29:27 -04:00
dr scofield (aka dirk husemann)
27b378ca8b
switching Archiver to "new" region module scheme
2009-08-31 17:25:16 +02:00
dr scofield (aka dirk husemann)
3581b9abce
Merge branch 'regionready' into opensim
2009-08-31 15:02:21 +02:00
dr scofield (aka dirk husemann)
3195af39a7
cleaning up RegionReadyModule:
...
- wrong namespace
- converted to "new" region module
2009-08-31 14:59:28 +02:00
Melanie
9e6684661a
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-08-31 11:58:49 +01:00
Melanie
090868ff4a
Change the return value if the compiler to "object" to allow compilers
...
to return dynamic method objects
2009-08-31 11:42:54 +01:00
dr scofield (aka dirk husemann)
5209305615
oops. fixing missing argument.
2009-08-31 12:05:14 +02:00
dr scofield (aka dirk husemann)
86521adb7e
adding log message to vector render to inform about default font being used
2009-08-31 11:35:49 +02:00
dr scofield (aka dirk husemann)
953581698d
- making font name used by VectorRenderModule configurable: can be set
...
via
[VectorRender]
font_name = "Comic Sans MS"
in OpenSim.ini
- adding osSetFontName OSSL function
2009-08-31 10:30:10 +02:00
Jeff Ames
bbef5c344e
Remove typo version of ReplaceableInterface property from RegionCombinerModule.
2009-08-31 14:16:16 +09:00
Teravus Ovares (Dan Olivares)
9f2f3afe22
* Fixes a teleport issue when teleporting out of a region to a different one.
2009-08-30 02:49:50 -04:00
Teravus Ovares (Dan Olivares)
d4dd179547
* whoops, forgot the other class initializer.
2009-08-30 00:29:43 -04:00
Teravus Ovares (Dan Olivares)
59c8a02a24
* When the RegionCombinerModule is off, make borders have an infinite aabb perpendicular to the cardinal
2009-08-30 00:22:38 -04:00
Teravus Ovares (Dan Olivares)
2f40161f38
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-29 23:50:24 -04:00
Teravus Ovares (Dan Olivares)
efe737b895
Ok, merging the RegionCombinerModule with master.
2009-08-29 23:49:48 -04:00
Teravus Ovares (Dan Olivares)
33f36c9010
* Rename the RegionCombiner Module from PhysicsCombiner
2009-08-29 23:39:27 -04:00
Teravus Ovares (Dan Olivares)
44b7c39c93
* Fix the reason why physical vehicles have a problem in virtual regions.
2009-08-29 21:47:28 -04:00
Teravus Ovares (Dan Olivares)
3ccf3aba89
* Fixes looking up parcel permissions in virtual regions.
2009-08-29 16:24:03 -04:00
Teravus Ovares (Dan Olivares)
d45f871d8f
* Only lock the Borders when they're being changed, otherwise one avatar's movement could hinder another avatar's movement.
2009-08-29 03:36:41 -04:00
Melanie
1a6b30e092
Add a slow cache cleaner thread. By default, the thread starts a cleanup
...
sweep every 10 minutes. If any texture data is older than 12 hours, it is
regenerated and the memory cache is refreshed. After each decode, the thread
delays for 5 seconds.
2009-08-29 05:54:38 +01:00
Melanie
2a5b9f7740
the beginning of some changes to the decode cache to address concerns about
...
system load. This commit effectively disables expiration.
2009-08-29 05:29:54 +01:00
Melanie
4b2e62fd3c
Make the j2kDecodeCache expire after 50 minutes (configurable). Alse allows
...
setting the path for it. This commit introduces NEW DEFAULT BEHAVIOR. To
retain the old behavior (eternal cache) you will need to change your OpenSim.ini
and set the timeout to 0.
2009-08-29 04:35:18 +01:00
Melanie
976cf4284b
Fix up WebFetchInventoryDescendents to really return all data needed,
...
especially the folder version and the subfolders. Fixes inventory search
hang and folders not loading.
2009-08-29 03:26:44 +01:00
Teravus Ovares (Dan Olivares)
9eb8c14e87
* Deal with teleports to other virtual regions in the same scene.
2009-08-28 19:42:28 -04:00
Melanie
22a0dff226
Modify CAPS inventory code. Currently this is not executed
2009-08-28 23:28:32 +01:00
Arthur Valadares
3d6edc04a3
Implements osDrawPolygon, similar to already implemented osDrawFilledPolygon
2009-08-28 17:48:03 -03:00
Teravus Ovares (Dan Olivares)
ac718843d9
* Allow corner prim crossings. Previously this was only on a single cardinal direction
...
* Some leg work in getting avatar teleports into 'virtual regions' moved to the proper region.
2009-08-28 14:45:17 -04:00
Justin Clark-Casey (justincc)
33004b613d
Standardize FlotsamAssetCache header
...
Add mcortez to CONTRIBUTORS
Other minor tidy of CONTRIBUTORS
2009-08-28 18:12:30 +01:00
Justin Clark-Casey (justincc)
18c5dc0953
Try to cache system folders if they aren't already there when one is requested
...
This operation can be performed legitimately on standalones without a logged in user
2009-08-28 17:19:45 +01:00
Justin Clark-Casey (justincc)
7ff4c2e50b
Pull out distinct cache system folders and drop cache methods in InventoryCache
2009-08-28 17:07:17 +01:00
Justin Clark-Casey (justincc)
7f8df4242b
Correct build break
2009-08-28 12:58:10 +01:00
Justin Clark-Casey (justincc)
d649194be3
minor: formatting and comments
2009-08-28 12:52:40 +01:00
Justin Clark-Casey (justincc)
cf58c0ab08
minor: remove some commented out iar test code
2009-08-28 12:01:21 +01:00
Teravus Ovares (Dan Olivares)
65dda8a795
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-27 19:36:52 -04:00
Justin Clark-Casey (justincc)
d704e62b39
Remove OpenSim.ini comments from the top of FlotsamAssetCache.cs to avoid duplication and divergence with config-include/FlotsamCache.ini.example
2009-08-27 21:49:32 +01:00
Justin Clark-Casey (justincc)
40fbdaaac4
Apply http://opensimulator.org/mantis/view.php?id=3829
...
Fix file access violation on Flotsam cache
Thanks mcortez
2009-08-27 21:25:16 +01:00
Teravus Ovares (Dan Olivares)
6f077d5e5f
* Another attempt at fixing the random spurious test error.
...
* This time it might be the listening socket thread from HttpServer aborting with a non blocking thread abort exception. Hopefully calling Stop() on MainServer.Instance will solve that.
2009-08-26 21:05:46 -04:00
Teravus Ovares (Dan Olivares)
54e05a083d
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-26 11:48:05 -04:00
Jeff Ames
cf2d1b5c10
Add copy constructor to PhysicsVector.
2009-08-26 14:28:54 +09:00
Jeff Ames
256624566f
Formatting cleanup, minor refactoring.
2009-08-26 14:02:01 +09:00
Arthur Valadares
efb287f28f
Implemented osPenCap, that sets EndCap and StartCap to Pen. This allows using arrow, diamond, round and flat caps.
...
* Made image request safer, if it can't find an image for any reason, draws a square where the image should be and a message alerting the user.
2009-08-25 10:32:45 -03:00
Arthur Valadares
9c9fa51b0f
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into arthursv
2009-08-25 10:28:22 -03:00
Diva Canto
b03eeeb9f6
* Fixes mantis http://opensimulator.org/mantis/view.php?id=4044 . Turns out folders were never being removed from trash when they were singled out for purging in trash. They were being removed when Trash was purged as a whole. That behavior is now fixed for the new InventoryService set.
...
* Removed left-overs from AssetInventoryServer.
2009-08-22 10:24:26 -07:00
Arthur Valadares
7923fd29a0
Adds osDrawPolygon to OSSL. Works a little different then other OS Drawing functions, this one has no start and end point, but a number of points that will form the desired polygon. Only FilledPolygon implemented so far.
...
* Also added some LSL transparent type conversion, as it's done in LSL scripting (string to integer, float to string, etc)
2009-08-21 21:12:22 -03:00
Teravus Ovares (Dan Olivares)
e1b38ff001
* It turns out that Physics heightmap values were being stored in managed memory in _heightmap and using multiple heightmaps caused them all to overwrite each other and the last one was the heightmap for all of the regions. This fixes that. It also reduces the terrain resolution to half.
2009-08-21 13:22:49 -04:00
Jeff Ames
158ad39df0
Add copyright header. Formatting cleanup.
2009-08-21 15:47:55 +09:00
Diva Canto
31e7e1b5f9
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-20 22:37:06 -07:00
Diva Canto
e4f64dd714
Made HandleFetchInventoryDescendents async, so that the client thread doesn't wait for the download of the entire inventory.
2009-08-20 22:36:47 -07:00
Adam Frisby
bd7757de22
* oops. Mistake with value return.
2009-08-21 15:15:15 +10:00
Adam Frisby
f7c5eca978
* Moves NPC Creation across AppDomains to prevent a major perfomance issue.
2009-08-21 15:12:50 +10:00
Diva Canto
9e64427262
Putting the inventory packets back to ThrottleOutPacketType.Asset, because that didn't work.
2009-08-20 21:56:06 -07:00
Diva Canto
922007443e
Changed most of inventory packets to LowPriority, to see if that helps with freezing on searching large inventories.
2009-08-20 21:36:57 -07:00
Adam Frisby
98da8e9b16
* Make cache, actually cache.
2009-08-21 14:20:05 +10:00
Adam Frisby
29e2067ec3
* Implements a cache in NPCModule for Appearance.
2009-08-21 14:10:21 +10:00
Adam Frisby
25dbf16cfb
* Once more into the breach!
2009-08-21 13:44:20 +10:00
Adam Frisby
d4600eec4d
* Attempting to diagnose a connection bug.
2009-08-21 13:35:13 +10:00
Teravus Ovares (Dan Olivares)
64dcb71c14
* Fixes Terrain issues with combined regions.
2009-08-20 23:26:40 -04:00
Teravus Ovares (Dan Olivares)
c9b52cd0b6
* Adds PhysicsCombiner Module
...
* May rename this later
2009-08-20 23:25:40 -04:00
Adam Frisby
bce98f9670
* Fixing an issue with NPC's and Circuit Codes.
2009-08-21 13:12:51 +10:00
Adam Frisby
7ef3e5f41c
* Protip: Declare publically accessible functions, as public functions.
2009-08-21 11:43:45 +10:00
Adam Frisby
c7e140171e
* Addendum to previous
2009-08-21 11:35:19 +10:00
Adam Frisby
1740fd60b3
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-08-21 11:15:48 +10:00
Adam Frisby
01f394d203
* Fleshes more of NPCModule out.
...
* Implements some OSSL commands:
key osNpcCreate(string user, string name, vector position, key cloneFrom);
void osNpcMoveTo(key npc, vector position);
void osNpcSay(key npc, string message);
void osNpcRemove(key npc);
* Untested. Requires ThreatLevel.High.
2009-08-21 11:14:55 +10:00
Teravus Ovares (Dan Olivares)
181b992b4a
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-20 19:25:52 -04:00
Teravus Ovares (Dan Olivares)
b8d7663f54
* Deal with git thinking that file was changed even though it wasn't and it's blocking a pull
2009-08-20 19:25:37 -04:00
Teravus Ovares (Dan Olivares)
66c40dd3de
* Switch border cross tests over to the new Border class.
...
* Use List<Border> for each cardinal to allow for irregular regions.
2009-08-20 19:24:31 -04:00
Diva Canto
a3d895908f
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-20 16:19:02 -07:00
Diva Canto
118f710a79
Fixed a missing field in SendBulkInventoryFolderUpdate.
2009-08-20 16:18:32 -07:00
Adam Frisby
e83b00a3df
* Implements a bunch of stuff in NPCModule
2009-08-21 08:51:43 +10:00
Melanie
297393f349
Remove a load-order dependency in inventory transfer that was biting
...
Windows users
2009-08-20 21:05:00 +01:00
Melanie
4c8bcd2ff6
Add some output (at DEBUG level) to the message transfer module to aid
...
in tracking down an initialization failure.
2009-08-20 20:19:08 +01:00
Diva Canto
1604c9d19e
One more place fixed for setting the inventory folder owner. Thanks jhurliman.
2009-08-20 10:14:53 -07:00
Diva Canto
948c7ea20b
Commented T021_TestCrossToNewRegion because (1) it can fail on panda, and (2) it is not a meaningful representation of region crossing.
2009-08-19 18:08:20 -07:00
Diva Canto
6e35ddb0e9
Fixes GetItem and GetFolder for SQLite. Turns out some methods were no-op in SQlite. Fixes most grief in
...
http://opensimulator.org/mantis/view.php?id=4035
http://opensimulator.org/mantis/view.php?id=4027
2009-08-19 17:35:42 -07:00
Teravus Ovares (Dan Olivares)
289439c832
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-19 14:43:18 -04:00
Teravus Ovares (Dan Olivares)
de543002aa
Add Border (a virtual border management class)
...
Move Cardinals to it's own file.
2009-08-19 14:43:03 -04:00
Diva Canto
d519f1885f
Added MoveItems, which is most useful upon viewer-delete inventory operation. Moving a batch of items is a 1-time operation. Made it async anyway, so that the viewer doesn't wait in case the DB layer is dumb (which is the case currently).
2009-08-19 10:56:08 -07:00
Diva Canto
4382f28efc
Async purge so that the client thread doesn't wait.
2009-08-19 00:33:02 -07:00
Diva Canto
4818d11b9d
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-19 00:31:51 -07:00
Diva Canto
c5af39239f
A better purge of trash folder.
2009-08-19 00:13:51 -07:00
Diva Canto
e5f33e7505
GetFolderItems implemented. It's not being called, but it might.
2009-08-18 22:36:03 -07:00
Diva Canto
124f66bfc2
jhurliman's patch in http://opensimulator.org/mantis/view.php?id=4024
2009-08-18 22:17:47 -07:00
Jeff Lee
32cc00ec7b
osGetLinkPrimitiveParams fix
2009-08-18 20:05:27 -07:00
dahlia
465d1095dd
Added new OpenSim.ini setting: "client_throttle_max_bps" which overrides user's viewer network throttle settings
2009-08-18 17:06:14 -07:00
Teravus Ovares (Dan Olivares)
311b51a184
*remove conflicts
2009-08-18 11:09:43 -04:00
Teravus Ovares (Dan Olivares)
c54cb59a71
* Some Physics Scene Changes to prepare for larger regions
2009-08-18 11:05:07 -04:00
Diva Canto
d95d3b949b
Fixes mantis #4020 ( http://opensimulator.org/mantis/view.php?id=4020 )
2009-08-18 07:05:22 -07:00
Diva Canto
89cd8a99ed
Commented 2 tests in ScenePresenceTests, one because things were being done in the wrong order, and the other because it NEEDS the inventory service set up. Test-writers, please please please do the scene setup properly EVERYWHERE. It's close to impossible to rely on tests that don't setup resource service references!
2009-08-17 18:52:10 -07:00
Diva Canto
d7aa622050
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-17 15:28:16 -07:00
Diva Canto
df889855ec
Commented out one IAR test, because it's failing and needs attention from justincc or arthursv. I think the mock inventory service needs a little bit more beef.
2009-08-17 15:16:21 -07:00
Melanie
9ad3e72ae1
Did I say that i don't like git? Remove some stuff that shouldn't have
...
gone in.
2009-08-17 22:06:51 +01:00
Diva Canto
59b4cf2d5b
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-17 13:27:22 -07:00
Justin Clark-Casey (justincc)
0d7bcee560
no-op to poke panda
2009-08-17 20:25:14 +01:00
Justin Clark-Casey (justincc)
eb78ac343e
Apply http://opensimulator.org/mantis/view.php?id=3538
...
Add ability to silence IRC relay of region joins and quits from certain users
This is useful for admins who wish to remain hidden, or service bots.
Thanks RemedyTomm
2009-08-17 19:48:32 +01:00
Adam Frisby
30c4aa55e6
Added additional configuration options for MRM Security. See OpenSim.ini.example under the [MRM] section.
2009-08-18 00:58:42 +10:00
Adam Frisby
58d9d6026e
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-08-18 00:23:27 +10:00
Adam Frisby
8c101d24df
* Implementing a bunch of Unimplemented MRM stubs.
2009-08-18 00:23:02 +10:00
Diva Canto
fa8a94577a
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-17 05:55:38 -07:00
Melanie
644db1e540
Add System.Xml reference to the console project
2009-08-17 09:40:38 +01:00
Melanie
3d7bb7567c
Add the ability to use -console=rest to the region server. User
...
and pass are specified the same way as for the ROBUST server
2009-08-17 09:21:39 +01:00
Diva Canto
50056871b8
IAvatarFactory.UpdateDatabase gets the assetID and not the object's inworld UUID.
2009-08-16 19:35:14 -07:00
Diva Canto
550d0e434f
Removing the conditional for assetID=Zero upon rezzing attachments on login.
2009-08-16 19:21:19 -07:00
Jeff Ames
82c888fc6c
Add copyright headers. Formatting cleanup. Fix a compiler warning.
2009-08-17 10:29:06 +09:00
Diva Canto
5d47e08dad
Removed some debug messages
2009-08-16 17:11:20 -07:00
Diva Canto
e02062051d
Making attachments work again. Tons of debug more. This needs more testing and a lot of cleaning.
2009-08-16 16:17:19 -07:00
Jeff Ames
58d2775ff2
Add copyright header. Formatting cleanup.
2009-08-17 02:05:12 +09:00
Jeff Ames
ad02aefaee
Fix argument index in log4net call. ( fixes #4003 )
2009-08-17 01:46:00 +09:00
Adam Frisby
e5b94346b6
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-08-17 02:25:24 +10:00
Adam Frisby
fa921ec147
* Implements AppDomain Security for MRM Scripts.
...
* Added permissionLevel attribute to [MRM] section in OpenSim.ini. Default is 'Internet', however may be any of the following (case sensitive), FullTrust, SkipVerification, Execution, Nothing, LocalIntranet, Internet, Everything. For previous functionality, set to FullTrust or Execution.
2009-08-17 02:25:00 +10:00
Teravus Ovares (Dan Olivares)
acc14c472d
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-16 12:15:14 -04:00
Teravus Ovares (Dan Olivares)
5e391b9f7c
* ShortVersion, another attempt at fixing the test thread death that randomly occurs.
...
* LongVersion nIni may be causing the test thread death. Pausing OpenSimulator during startup causes a nIni error that makes debugging startup operations difficult for users. It might be because when it's in pause mode, something else reads from the nini config passed? If it is, it might not be fixable.. however, if it's concurrency that causes nini death it would make sense to give each section of the tests a new IConfigSource so that they don't read from the same configsource at the same time.
2009-08-16 12:14:49 -04:00
Teravus Ovares (Dan Olivares)
4eeab4097a
* minor: comments
2009-08-16 12:10:06 -04:00
Diva Canto
6808b9109e
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim into inventory-connector
2009-08-16 08:59:58 -07:00
Adam Frisby
cbd454d692
* Implements ISecurityCredential member on SPAvatar, SPAvatarAttachment
...
* Disables 'event not used' warning for IRCClientView; cuts OpenSim total warnings back.
2009-08-16 22:01:18 +10:00
Adam Frisby
c2be3edd2d
* Refactor: Moves IAvatarAttachment into IAvatarAttachment.cs instead of IAvatar.cs
2009-08-16 21:49:53 +10:00
Adam Frisby
b28e826541
* Implements ISecurityCredential on all uses of SOPObject.cs except Avatar Attachments.
2009-08-16 21:41:57 +10:00
Adam Frisby
adae13cd18
* [MRM] Added permission checks to MRM Events (ie, requires edit permission to bind to OnTouch)
2009-08-16 21:36:33 +10:00
Adam Frisby
8621dc405e
* Fixes potential NulRef in MRM Security Checks.
2009-08-16 21:23:39 +10:00
Adam Frisby
aea4d7c63b
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-08-16 21:21:38 +10:00
Adam Frisby
975c49a399
* [MRM] Implements permission checks on IObject implementations in SOPObject.cs. Does not implement security on IObjectInventory yet.
2009-08-16 21:20:45 +10:00
Jeff Ames
2b630470b0
Add copyright headers. Formatting cleanup.
2009-08-16 17:30:13 +09:00
Jeff Ames
9d9fcac038
Misc cleanup.
2009-08-16 17:14:21 +09:00
Adam Johnson
a42569d896
Thanks dmiles for a patch that adds PacketType.RequestMultipleObjects Packet Handler - ref mantis #4010
2009-08-16 15:06:06 +09:00
Diva Canto
710a15845c
Merge branch 'master' into inventory-connector
2009-08-15 15:08:04 -07:00
Diva Canto
19e45466f2
Changed one word in a comment
2009-08-15 14:57:24 -07:00
Melanie
973be65945
Merge branch 'master' of ../opensim-diva/ into inventory-connector
2009-08-15 19:00:56 +01:00
Adam Frisby
8b6d79aa3c
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-08-16 03:50:12 +10:00
Adam Frisby
9090a90769
* Beginnings of a Security Credential system in MRM. This will eventually lead to trusted execution of untrusted MRMs.
2009-08-16 03:48:16 +10:00
Teravus Ovares (Dan Olivares)
30ce56e721
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-15 13:10:21 -04:00
Teravus Ovares (Dan Olivares)
8000812700
* part one of adding physics combining
2009-08-15 13:10:10 -04:00
Diva Canto
1bbf06405c
Changed FromAssetID to FromItemID
2009-08-15 09:36:45 -07:00
Diva Canto
dd8b9d5810
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-15 08:21:15 -07:00
Teravus Ovares (Dan Olivares)
ddac88da6a
* whoops, missing a /
2009-08-15 00:29:34 -04:00
Teravus Ovares (Dan Olivares)
72c2819c53
* Comment out XEngineTest that doesn't appear to test anything. It just creates a scene named 'My Test' which just happens to be the last scene displayed in the nunit log before it goes boom.
2009-08-15 00:22:18 -04:00
Teravus Ovares (Dan Olivares)
95be3eccd2
* minor: comments
...
* also re-trigger panda
2009-08-15 00:01:58 -04:00
Teravus Ovares (Dan Olivares)
f208628667
* minor : Comments
...
* Also re-trigger Panda.
2009-08-14 21:37:25 -04:00
Teravus Ovares (Dan Olivares)
2f61fb0243
* minor : comments
...
* also re-trigger panda
2009-08-14 21:19:04 -04:00
Teravus Ovares (Dan Olivares)
1b933c9116
* Put the StandaloneTeleportTest in a new thread and call Thread.Join() inside a try/Catch (ThreadAbortException) to try and get around scene code aborting the testing thread. Use a Messenger class to report the results back to the test thread.
2009-08-14 19:12:42 -04:00
Diva Canto
cd444c1e82
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-14 14:04:15 -07:00
Justin Clark-Casey (justincc)
e17a2331a0
* Re-enable TestLoadIarV0_1ExistingUsers()
2009-08-14 20:38:56 +01:00
Justin Clark-Casey (justincc)
ff28ecee1b
Re-enable TestSaveIarV0_1()
...
Implement more parts of TestAssetService
2009-08-14 20:07:13 +01:00
Justin Clark-Casey (justincc)
3e94eecc5c
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-08-14 20:00:24 +01:00
Justin Clark-Casey (justincc)
a668a5b0d3
Add standard doc and standard doc formatting to IAssetService
2009-08-14 19:59:42 +01:00
Diva Canto
46116864b9
Returning UUID.Zero is scene and user profile service are null in GetSession. This doesn't fix the underlying problem of these things being null -- they shouldn't be.
2009-08-14 11:50:42 -07:00
Diva Canto
bb513c1d88
Changed the way to get to the profile service. Changed GetSystemsFolder in HGBroker.
2009-08-14 11:32:25 -07:00
Teravus Ovares (Dan Olivares)
7554641703
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-14 14:16:02 -04:00
Teravus Ovares (Dan Olivares)
dce81225c5
* allocate the dictionary for AgentCircuitData.ChildrenCapSeeds when creating the circuitdata object to see if it's the cause of a null reference exception in the TestAddNeighbourRegio test
2009-08-14 14:15:49 -04:00
Justin Clark-Casey (justincc)
957962b482
Remove NRE catching on TestReplicateArchivePathToUserInventory() since race failure now appears to have gone
2009-08-14 19:06:24 +01:00
Diva Canto
c56e51a6e3
More debug messages.
2009-08-14 10:29:29 -07:00
Diva Canto
70d7c97e94
Doing session lookup in the right way.
2009-08-14 09:57:18 -07:00
Diva Canto
332d1b5f2f
Additional debug messages, and bug fix in RemoteInventoryServiceConnector.cs, where the scene reference wasn't being set.
2009-08-14 08:43:46 -07:00
Melanie
a851b68333
Remove one more sponsor reference
2009-08-14 14:27:56 +01:00
Melanie
7a2a2e68e7
Remove the script sponsor logic because scripts are timing out again.
...
This needs to be looked into. This commit, unfortunately, reinstates
a memory leak in regions that see significant script fluctuation,
e.g. lots of scripted attachments, or script development.
2009-08-14 14:18:56 +01:00
Teravus Ovares (Dan Olivares)
6ece8d86e0
Deal with possible race in TestAddNeighborRegion in ScenePresenceTests
2009-08-13 23:06:29 -04:00
Diva Canto
21b5ebdc1f
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-13 19:11:38 -07:00
Melanie
73b0cf492d
Add some extra info to script load messages
2009-08-14 01:35:14 +01:00
Diva Canto
034c9cf606
Added GetAssetPermissions. Few last bugs nixed. This is ready for testing.
2009-08-13 17:34:15 -07:00
Diva Canto
5246dc33dc
Renamed QueryItem/QueryFolder to GetItem/GetFolder. The word 'query' starting to get on my nerves.
2009-08-13 14:10:12 -07:00
Diva Canto
6b9cc6c48d
Inventory redirects from CachedUserInfo to InventoryService COMPLETE!
2009-08-13 11:30:29 -07:00
Diva Canto
6a0f7c2275
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-13 06:31:24 -07:00
Melanie
3669115d60
Some small fixes
2009-08-13 13:25:33 +01:00
Melanie
0f3f2e1dc0
Add reference to the profile module in the avatar profiles handler, plus
...
an example of how to override legacy core data with data retrieved from
the profile module
2009-08-13 13:19:12 +01:00
Jeff Ames
1123a326ab
Formatting cleanup. Fix some compiler warnings.
2009-08-13 15:43:24 +09:00
Diva Canto
b0292d59a5
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-12 20:40:49 -07:00
Diva Canto
7aa54593e0
Redirected all calls to CachedUserProfile methods to the inventory service. Redirection of the RootFolder property is still todo. This compiles but probably inventory will be inconsistent.
2009-08-12 20:39:48 -07:00
Teravus Ovares (Dan Olivares)
6c1adbf9a5
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-12 22:55:21 -04:00
Teravus Ovares (Dan Olivares)
b47e405420
* minor: Comments
2009-08-12 22:54:57 -04:00
Jeff Ames
50f29752f5
Formatting cleanup. Add copyright headers.
2009-08-13 11:48:39 +09:00
Diva Canto
41ad610f3e
* Added two new packet handler implementations for inventory ops. This is starting to work! - but can't be activated incrementally, the flip needs to be global for all inventory ops.
...
* Added a base inventory connector that does common processing of inventory among all reference connector implementations. E.g. AddItem requires additional processing before being forwarded to service.
* Added if (m_Enabled) upon RemoveRegion
2009-08-12 13:11:15 -07:00
Diva Canto
b3b506cba2
Better test for dropping inventory cache and writing out debug messages.
2009-08-12 09:31:33 -07:00
Diva Canto
10d923dbea
Fixes a race condition in EQ processing that was making EQs pop up again upon client close.
...
Commented remote call on GetSystemFolders again, so that it's not live yet.
2009-08-11 16:47:36 -07:00
Diva Canto
bf3f376b10
Fixed test for detecting when user is no longer in sim.
2009-08-11 12:55:46 -07:00
Diva Canto
764ec7ba0a
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-11 12:31:02 -07:00
Justin Clark-Casey (justincc)
fdd0ce68b3
Do new inventory module setup, which is why the test was failing (not the original race condition, hopefully!)
...
Still always catching the NRE for now pending analysis
2009-08-11 20:09:35 +01:00
Diva Canto
dc897b2288
Merged with origin, and resolved one conflict in LoginServiceTests.cs
2009-08-11 10:51:49 -07:00
Diva Canto
263f32a493
Improved test for system folders. Removed log messages.
2009-08-11 10:42:44 -07:00
Diva Canto
31419a70ce
System folders inventory cache added to OUT inventory modules. This tracks agents in and out of *sims* in order to fetch/drop their system folders from the cache. Also added region-side support for fetching the system folders from the inventory service. Nothing of this is called yet.
2009-08-11 10:30:03 -07:00
Justin Clark-Casey (justincc)
2dbdb7e036
Re-enable TestReplicateArchivePathToUserInventory() but stop it failing on the NRE for now
...
Add temporarily logging for diagnosis
2009-08-11 17:49:52 +01:00
Justin Clark-Casey (justincc)
655438a59d
Apply http://opensimulator.org/mantis/view.php?id=1448
...
Store and retrieve user profile url at runtime
Not yet persisted
Thanks Fly-Man
2009-08-11 17:29:15 +01:00
Justin Clark-Casey (justincc)
f9b60f5c34
Disable test again. Ho hum.
2009-08-11 17:05:01 +01:00
Justin Clark-Casey (justincc)
39c9f681ab
re-enable just TestReplicateArchivePathToUserInventory() for now to find out if the race condition has been vanquished
2009-08-11 16:55:45 +01:00
Justin Clark-Casey (justincc)
226c082ed4
Establish CachedUserInfo.OnInventoryReceived event so that region/test inventory code can be written with the async inventory fetch
2009-08-11 16:45:16 +01:00
Arthur Valadares
18aa2ea0c5
* Improves SceneSetupHelper to allow the tester to choose a real or mock, inventory and asset, service modules. The boolean startServices was replaced with realServices string. If the string contains the word asset, it will start a real asset module, if it contains inventory, it starts a real inventory. Otherwise, it use mock (NullPlugin-like) objects, for tests that don't really need functionality.
...
* SetupScene is now actually sharing the asset and inventory modules if the tester wishes to have multiple regions connected. To link regions, just start SetupScene with the same CommunicationManager for all scenes. SceneSetupHelper will hold a static reference to the modules and won't initialize them again, just run the scenes through the modules AddRegion, RegionLoaded and PostInitialize.
* With the recent changes, both asset and inventory (and in the future, user) services should always be asked from the scene, not instantiated alone. The tests should reflect this new behavior and always start a scene.
2009-08-11 12:07:54 -03:00
Diva Canto
cdcbc48534
Added two new methods to IIventoryService -- GetFolderForType and GetFolderContent. Some meat to it, but not completed. None of this code is called anywhere yet.
2009-08-10 20:31:51 -07:00
Diva Canto
9f95ec4998
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-10 16:02:33 -07:00
Diva Canto
0c47f8e7ab
Changed RequestRootFolder to GetRootFolder
2009-08-10 16:02:09 -07:00
Melanie
eba23048ca
Replace the Replaceable modules name
2009-08-10 23:08:22 +01:00
Diva Canto
43b7e67288
Et voila! - Old inventory code removed.
2009-08-10 10:58:43 -07:00
Diva Canto
5d2a157e64
First pass at cleaning up old OGS1 and Local Inventory: removed everything-inventory in CommsManager, which wasn't actively used anymore.
2009-08-10 10:48:21 -07:00
Jeff Ames
3e247a8eaa
Minor: formatting cleanup.
2009-08-11 00:32:59 +09:00
Jeff Ames
8863092f7c
Split BasicPhysics classes into separate files.
2009-08-11 00:32:59 +09:00
Diva Canto
0d8284c7a1
Removed IAssetCache.
...
WARNING: PLEASE MAKE SURE TO USE THIS NEW bin/OpenSim.addin.xml
2009-08-10 08:14:57 -07:00
Diva Canto
a5a5e44246
Re-removing 2 lines that got added back on Melanie's commits. git hickup.
2009-08-09 15:17:42 -07:00
Melanie
474f58faf5
Finish the renaming and mae things compile again
2009-08-09 22:25:15 +01:00
Melanie
11d72f270d
Rename UserData to UserAccount data
2009-08-09 21:53:11 +01:00
Diva Canto
6a6dd66129
More removal of HG2 code, this time authentication module and handlers.
2009-08-09 14:21:47 -07:00
Jeff Ames
bc6ec3b564
Formatting cleanup.
2009-08-09 00:43:13 +09:00
Teravus Ovares (Dan Olivares)
e88903f481
* Fix one physics crash for regions larger then 512mx512m
2009-08-08 10:38:53 -04:00
Teravus Ovares (Dan Olivares)
b5727a1d77
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-08 00:10:38 -04:00
Teravus Ovares (Dan Olivares)
bff26ccdbb
* More tweaking of the various services to work with nonstandard region sizes. * Now, what's available of the terrain will show and it'll be truncated if it's larger on Linden Clients. Parcel minimum is 64 (256/4) for the client to accept it.
2009-08-08 00:10:19 -04:00
Melanie
7fc9358ec3
Patch from otakup0pe:
...
A better solution for making the FreeSwitch module cooperate with
existing installations
2009-08-08 03:29:00 +01:00
Melanie
0b0ed200f6
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-08-08 01:43:28 +01:00
Teravus Ovares (Dan Olivares)
d842c1d459
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-07 20:32:23 -04:00
Teravus Ovares (Dan Olivares)
2b990a61bf
This is the second part of the 'not crash on regionsize changes'. This lets you configure region sizes to be smaller without crashing the region. I remind you that regions are still square, must be a multiple of 4, and the Linden client doesn't like anything other then 256. If you set it bigger or smaller, the terrain doesn't load in the client, the map has issues, and god forbid you connect it to a grid that expects 256m regions.
2009-08-07 20:31:48 -04:00
Melanie
0d2167b6db
Update threat level description
2009-08-08 00:53:34 +01:00
Teravus Ovares (Dan Olivares)
c8a68fb3fb
* Remove hard coded 256 limitations from various places. There's no more 256m limitation within the OpenSimulator framework, however, the LLClient ClientView does not support regions larger then 256 meters so, if you try and make your region larger by setting Constants.RegionSize = 512; in OpenSim.Framework.Constants.cs, the terrain will not display on clients using the LLUDP protocol
2009-08-07 18:40:56 -04:00
Melanie
9337a94f33
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-08-07 23:06:52 +01:00
Melanie
257ed4c4ac
Remove debugging output frm ini file loading. Make it collect matching
...
files only from last path component.
2009-08-07 23:05:16 +01:00
Melanie
a1a09297bc
Silly error, simple fix
2009-08-07 22:40:58 +01:00
Melanie
e1427b4c3f
Try another way to canonicalize the path that may work in Windoze
2009-08-07 22:37:41 +01:00
Melanie
6c6527caae
Thank you, Godfrey, for a patch that implements osGetLinkPrimitiveParams
...
Fixes Mantis #3979
Applied with changes. Changed ThreatLevel to High since all discovery
functions are a high threat. Overriding that is the responsibility
of the grid owner.
2009-08-07 21:51:03 +01:00
Melanie
ad0d2fea20
Experimental! Implement ISponsor in ScriptInstance
2009-08-07 21:30:21 +01:00
Melanie
d10f157183
Remove GetFullPath call from config includes, because it barfs in Windoze
2009-08-07 20:51:07 +01:00
Melanie
4ee8d8a813
Another stab at cmickeyb's patch for script GC.
...
Moved the Close() for the appdomain-hosted parts into a new destructor
on ScriptInstance.
2009-08-07 20:43:23 +01:00
Melanie
2148f84e1e
Temporailiy add some info output in config load
2009-08-07 20:18:04 +01:00
Melanie
178b40971a
Add a method to init the OSSL Api's m_LSL_Api member back to the OSSL Api
2009-08-07 19:50:47 +01:00
Melanie
3219e648cc
From: Snowcrash <Snowcrash.short@gmail.com>
...
Date: Wed, 5 Aug 2009 12:45:56 +0200
Subject: [PATCH] A few minor tweaks to the MRM API's in order to make it possible for MRM's to run in a separate AppDomain without poluting the primary appdomain of OpenSim
Specifically:
Added an explicit method for getting the "globals" of the MRM, removing the need to have the MRM script code loaded into the primary domain, in order to set up proxies
Added a [Serializable] attribute to TouchEventArgs, again in order to remove the need to have MRM script code loaded into the primary domain.
---------
Applied with whitespace changes
2009-08-07 19:04:20 +01:00
Melanie
7811bceb8f
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-08-07 19:01:27 +01:00
Sean Dague
ca5da5face
Merge branch 'groups-core-contrib' of git://github.com/mcortez/opensim into incoming
2009-08-07 11:07:41 -04:00
Melanie
cb10700a1f
Make the opensim.ini logfile option really work (port of a fix from ROBUST)
2009-08-07 14:15:59 +01:00
Adam Frisby
270ae50d70
* Implements MRM's Stop() interface member.
...
* MRM Scripts should do appropriate cleanup within this event, to allow for clean shutdowns and script updates. This means unbinding from events you are listening to, and releasing any resources.
2009-08-07 14:17:51 +10:00
Melanie
e49abf446a
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-08-07 03:05:46 +01:00
Melanie
f8d8366bfa
Revert the XEngine memleak patch, it causes premature GC.
...
This matches behavior seen with an earlier attempt to do this, apparently
the sponsor mechanism does't work in Mono
2009-08-07 03:04:06 +01:00
Diva Canto
53ba245967
HGAuthenticationService must be a singleton, because it has in-memory state. This makes this singleton register with IScene, so that other parts can retrieve its reference.
2009-08-06 18:43:53 -07:00
Diva Canto
ea940d98f9
Added ToXml2() to ISceneObject, so that components other than regions can use this abstraction.
2009-08-06 16:41:24 -07:00
Melanie
91f6898b26
|From: James J Greensky <jame.j.greensky@intel.com>
...
|Date: Wed, 5 Aug 2009 09:51:52 -0700
|Subject: [PATCH] Closed two major memory leaks for scripted objects
|
|Two major memory leaks for the scripted objects were fixed
|- One leak had to do with remoting acrossing app domains. When a script and
| its controlling agent communicate across an application boundary, it calls
| functions on a stub proxy object that then invokes the remote method on
| the object in the other app domain. These stub objects (two for each script)
| were setup to have infinate lifetimes and were never being garbage collected.
|- The second leak was the result of adding a scene object part instance method
| to a scene event and never removing it. This cause the event's delegate list
| to maintain a link to that object which is then never freed as the scene event
| object is never destroyed.
Patch applied, please direct feedback to me. Possible issue: Longtime idle
scripts like vendors may fail.
2009-08-06 22:03:20 +01:00
Justin Clark-Casey (justincc)
615e1ed285
goose panda
2009-08-06 20:04:40 +01:00
Justin Clark-Casey (justincc)
07e6a492a1
Disable all IAR tests for now due to possible failure-causing race condition
2009-08-06 19:35:52 +01:00
Michael Cortez
2ac04cb624
Merge branch 'master' into groups-core-contrib
2009-08-06 09:38:51 -07:00
Michael Cortez
6244b8c384
Fixing comments re: INI file.
2009-08-06 09:34:30 -07:00
Melanie
efc57bc3d7
Allow arbitrary wildcards in config includes. Things like
...
Include-Modules = "addin-modules/*/config/*.ini" will now work.
Adds Util.Glob, which will resolve a globbed path into a string list.
2009-08-06 02:29:12 +01:00
Michael Cortez
c73a6ab7e0
Continue with renaming of Groups module components
2009-08-05 14:56:48 -07:00
Michael Cortez
6c65b990a2
Fixes mono Add-In references for the OptionalModules add-in so that groups doesn't throw errors, and so that the add-in is correctly reported as "OptionalModules" rather then as "SampleMoney"
2009-08-05 13:20:46 -07:00
Melanie
e8b0f7cf5d
Remove bad assembly identification tag
2009-08-05 20:37:10 +01:00
Justin Clark-Casey (justincc)
bc6de6f5f0
Disable TestReplicateArchivePathToUserInventory() pending more investigation
2009-08-05 20:05:22 +01:00
Justin Clark-Casey (justincc)
07e00e110d
Reinstate TestLoadIarV0_1ExistingUsers(), removing unnecessary wait
2009-08-05 19:38:45 +01:00
Michael Cortez
989517725d
Begin refactoring XmlRpcGroups to a more generic Groups module that allows for replaceable Groups Service Connectors.
2009-08-05 11:15:53 -07:00
Justin Clark-Casey (justincc)
9e5736eeec
insert a little more debug info for TestReplicateArchivePathToUserInventory()
2009-08-05 19:06:07 +01:00
Justin Clark-Casey (justincc)
f8d8f07cb4
Remove waiting in TestReplicateArchivePathToUserInventory() since local inventory loading is synchronous
...
Insert a little more debugging info in case the occasional failure reoccurs
2009-08-05 18:59:44 +01:00
Justin Clark-Casey (justincc)
1b65bd5861
Recomment TestReplicateArchivePathToUserInventory() for now due to occasional test fail
2009-08-05 18:21:22 +01:00
Justin Clark-Casey (justincc)
9e0f1b7fef
reinstate TestSaveIarV0_1()
2009-08-05 18:01:18 +01:00
Justin Clark-Casey
e5904c3883
remove some more mono compiler warnings
2009-08-05 17:39:32 +01:00
Justin Clark-Casey
190bdc8a2e
* Remove some mono compiler warnings
2009-08-05 17:33:23 +01:00
Justin Clark-Casey
3323413f53
reinstate TestReplicateArchivePathToUserInventory()
2009-08-05 17:17:20 +01:00
Justin Clark-Casey
bfc705766b
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-08-04 19:01:01 +01:00
Justin Clark-Casey
7f5a4bbc26
* Small commented out debug message for module loading, partly to test my ability to commit with git
2009-08-04 19:00:20 +01:00
dr scofield (aka dirk husemann)
4ffc284a36
trying to fix rare timer related exception.
2009-08-04 17:24:32 +02:00
Alan Webb
068f54725b
Slight change to state management for attach scheduling.
...
Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-08-04 11:44:22 +02:00
Alan Webb
9ffe4d850e
This change adds support for the attach event in scripts.
...
[1] Added a new OnAttach event to Scene/EventManager
[2] Hooked up existing attach event handler in XEngine.
[3] Modified SceneGraph and Scene.Inventory to trigger
attach events at the appropriate places. I was forced
to distribut the changes across two files because of
the way attach processing is distributed across the
two files.
[4] In the case of RezSingleAttachmentFromInventory it is
necessary to handle event scheduling in a special way.
There is no synchronous path available, so the fact
that this object is attached, and who it is attached to,
is cached when the ScriptInstance is created. When
the script is started, the attached handler is driven
after on_rez (but before changed, this should be reviewed).
Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-08-04 11:41:06 +02:00
dahlia
21e62e87c7
starting to refactor path generation out of prim extrusion
2009-08-03 22:59:47 -07:00
Melanie
c3dd98b016
Revert the #3899 patch and it's two follow ups
2009-08-04 05:03:32 +01:00
Melanie
1d8df738f6
Update a misspelled name
2009-08-04 04:57:08 +01:00
Melanie
2b8c3f8519
Change the freeswitch out connector (which is pointless) to an in connector
2009-08-04 04:32:44 +01:00
Melanie
afc318f30b
Add the region module shell for the new freeswitch service
2009-08-04 04:25:17 +01:00
Melanie
17bdc45c5c
Add plumbing for the SceneObjectDeleter to wait for the script engine to
...
allow final deletion of objects. Meant to support the attach(NULL_KEY) event,
2009-08-04 03:17:13 +01:00
Melanie
1f90d2a2c6
If the FreeSwitch context is unset or "public", then accept any context.
...
This restores the "out of the box" functionality.
2009-08-04 00:43:49 +01:00
Melanie
fa20a2685b
Output the Freeswitch context received and the context set up in the
...
debugging message so a mismatch can be corrected more easily
2009-08-04 00:38:20 +01:00
Teravus Ovares
4cbf0444df
* Tweak the caps manager so that the NPCAvatar works again.
2009-08-01 14:26:00 +00:00
Jeff Ames
4ce5c894cf
Add copyright header. Formatting cleanup.
2009-08-01 05:11:47 +00:00
Teravus Ovares
ae8d3ab22e
* Fix a locking issue in the EventQueue
2009-07-31 20:53:35 +00:00
Teravus Ovares
23a8895d29
* Fixed another potential httpserver leak.
2009-07-30 18:16:00 +00:00
Melanie Thielker
22a533b675
Thank you, dmiles, for a patch that allows more differentiated script
...
permissions for YP scripts.
2009-07-30 15:38:42 +00:00
Dahlia Trimble
6c94ce1cca
Flag certain meshes to avoid vertex list compaction. This should help speed up meshing time at startup.
2009-07-30 07:06:23 +00:00
Teravus Ovares
a8246bc57e
* Remove and comment out old and unneeded parts of the old TextureDownload and UserTextureDownloadService modules.
...
* These have been mostly replaced by the PriorityQueue sender in LLClientView (it was still using threads and poll processing!)
* Thread Reduction!
* Might have been sending more image packets then necessary previously, texture times 2. We'll see if this reduces the texture packet load.
2009-07-30 06:27:45 +00:00
Teravus Ovares
f727f26bcc
* An attempt to fix mantis #3953
2009-07-29 20:32:54 +00:00
Melanie Thielker
cbeebc209d
Thank you, coyled, for a patch to change Flotsamcache path generation
...
to avoid directory overflow.
2009-07-29 17:21:36 +00:00
Melanie Thielker
cabda86615
Patch from Kai Ludwig: Fix prim drawing on maptile.
2009-07-29 16:32:56 +00:00
Teravus Ovares
032aeb8b5d
* Adds the ability to have a thread efficient long poll service (such as the eventqueue)
...
* If this doesn't melt the Http Server, this will significantly reduce the number of threads in use on regions with many users.
* Adds AddPollServiceHTTPHandler, and RemovePollServiceHTTPHandler to BaseHttpServer
* Generic enough to be used for many long poll services, not only the EventQueue.
2009-07-29 02:15:45 +00:00
Melanie Thielker
f94985a939
Add the missing block to the alert message
2009-07-28 20:27:31 +00:00
Melanie Thielker
aa06d9f98b
Add the new StatusData block to the other two searchh packets
2009-07-28 19:28:01 +00:00
Melanie Thielker
64c874a951
Fix a null data block in DirClassifiedReply packet, preventing a session
...
crash in search.
Fixes Mantis #3952
2009-07-28 18:46:45 +00:00
Melanie Thielker
b008865110
Thank you, mcortez, for a patch to correct a folder bloat issue in the
...
Flotsam Asset Cache.
Fixes mantis #3950
2009-07-28 17:20:51 +00:00
Jeff Ames
a1786d4c39
Formatting cleanup.
2009-07-28 09:40:07 +00:00
Melanie Thielker
aec16c2a0a
Than you, otakup0pe, for a patch to correct llSetPos & friends' behavior
...
for child prims.
Fixes Mantis #3931
2009-07-27 23:13:31 +00:00
Melanie Thielker
3038efcc47
Preserve the creator of items copied in inventory.
...
Fixes Mantis #3946
2009-07-27 21:25:33 +00:00
diva
5ca02f0a08
This does NOT address the issue in mantis #3940 , but it may avoid the exception reported there by WiLLuMPJuH Huisman pertaining to TeleportFailedPacket.
2009-07-27 19:20:48 +00:00
Teravus Ovares
5ae1ad995d
* Fix Groups Module Null Reference when you were not a member of any group.
2009-07-25 17:29:25 +00:00
Melanie Thielker
7317bd7675
Correct an issue in group packet sending that causes a nullref with
...
libomv-0.7.
2009-07-25 16:55:11 +00:00
Teravus Ovares
64bd9a3354
* Updates libOMV to version 0.7.0
...
* Uses mantis #3811 as a base (thanks jhuliman) with changes.
* E-mail regarding interface changes sent to the opensim-dev list
* Archive: https://lists.berlios.de/pipermail/opensim-dev/2009-July/007219.html
2009-07-25 15:49:10 +00:00
Justin Clarke Casey
a7c8948292
* Apply http://opensimulator.org/mantis/view.php?id=3855
...
* Prevent session crashes when something goes wrong with group invite.
* Thanks mcortez.
2009-07-24 20:08:26 +00:00
lbsa71
169a353cca
* minor ccc
2009-07-24 06:59:27 +00:00
Arthur Valadares
7bf59c551e
* Updates RESTInterregionComms and LocalInterregionComms to the new region module interface. This fixes an issue where region references were being added but weren't being deleted,
...
causing those "unnotified circuit" messages.
* Also fixes tests accordingly
- Fixes Mantis #3452
- Fixes Mantis #3388
- Fixes Mantis #3871
- Related to Mantis #3493
2009-07-23 16:57:41 +00:00
Jeff Ames
a133e83f3a
Formatting cleanup.
2009-07-23 15:32:11 +00:00
Melanie Thielker
4b84bdb77e
Thank you, patnad, for a patch to advance the UrlModule's functionality.
...
Mantis #3712
2009-07-22 22:16:37 +00:00
Teravus Ovares
c42d5feee3
* Fix SStats under the new HttpServer. (.ajax files are apparently reserved)
2009-07-22 15:48:58 +00:00
Teravus Ovares
e2e43f1ab7
* Whoops, forgot the water heightfield.
2009-07-22 04:11:51 +00:00
Teravus Ovares
9f4b8260c2
* Exclude heightfield geom from the raycast test.
...
* Fixes mantis #3922
2009-07-22 04:04:30 +00:00
Melanie Thielker
7c747035ff
Thank you, MarcelEdward, for a patch to add paying group join fees.
...
Applied with changes (original patch would not compile)
Whitespace changes removed
Fixes Mantis #3926
2009-07-21 23:57:56 +00:00
Teravus Ovares
c243ae43f2
* Updated C# WebServer to the latest available source download (r19869) and applied a few mods from the old version (now up on opensim-libs (VS 3.5 project).
...
* Made various changes to BaseHttpServer to accommodate the new interfaces.
* This version has been significantly re-architected and may fail in unusual and insidious ways.
* Please pay attention to any errors you get and post a Mantis if you can reproduce an issue with the HTTPServer. I'm including the pdb and having the http server compiled in debug for a few weeks so that when an error occurs, it'll print the pertenant data.
* Once again, this is the full C# WebServer, not the lite branch that is included in LibOMV (we need SSL!)
2009-07-21 06:47:29 +00:00
Teravus Ovares
156c393a44
* nothing in this commit, re-triggering panda.. which crashed while testing.
2009-07-21 03:28:12 +00:00
Teravus Ovares
5c8fe5c01c
* Fixed a case where a prim was a NullPhysicsActor instead of an OdePrim
...
* Commented logic that wasn't being used.
* This should fix the errors in OdeScene.near
2009-07-21 03:18:19 +00:00
Teravus Ovares
cf712075e5
* Remove a noisy debug console message that was used for testing the camera constraints. Ooops.
2009-07-19 02:41:32 +00:00
Teravus Ovares
08819bcbea
* Created a way that the OpenSimulator scene can ask the physics scene to do a raycast test safely.
...
* Test for prim obstructions between the avatar and camera. If there are obstructions, inform the client to move the camera closer. This makes it so that walls and objects don't obstruct your view while you're moving around. Try walking inside a hollowed tori. You'll see how much easier it is now because your camera automatically moves closer so you can still see.
* Created a way to know if the user's camera is alt + cammed or just following the avatar.
* Changes IClientAPI interface by adding SendCameraConstraint(Vector4 CameraConstraint)
2009-07-19 02:32:02 +00:00
Melanie Thielker
52f983613c
Thank you, otakup0pe, for a patch that enables basic auth with LSL
2009-07-18 20:10:19 +00:00
Teravus Ovares
bb4b81d70f
* patch from jonc
...
* Fixes scaling a group in some situations.
* fixes mantis #3886
* Thanks jonc!
2009-07-17 21:32:35 +00:00
Teravus Ovares
b6caf1606d
* If the world map module encounters an error, not all of the objects will be created and will therefore be null in the finally clause. Therefore, only dispose of objects that are not null in the finally clause.
...
* fixes mantis #3848
2009-07-17 21:13:50 +00:00
Teravus Ovares
eb1a6e9b87
* Patch from otakup0pe to help freeswitch play nice with complex existing freeswitch configurations.
...
* Thanks! fixes mantis #3899
2009-07-17 21:06:28 +00:00
Teravus Ovares
05c24a648d
* Another attempt to remedy the 'ghost prim' situation. This time for attachments on teleport.
2009-07-17 18:38:03 +00:00
Teravus Ovares
ebb03e2aab
* This should fix the phantom prim from attachments rezzing.
...
* fixes mantis #3896
* fixes mantis #3898
2009-07-17 17:53:22 +00:00
MW
acea31518b
fixed the bug where changing the rotation of a selection of prims in a linkset, made each of those prims rotate around its own centre rather than around the geometric centre of the selection like they should do (and like the client expects).
...
This involved adding a new OnUpdatePrimSingleRotationPosition event to IClientAPI so that we can get the changed position from the client.
Btw adding new events to IClientAPI is really tedious where you have to copy the change across to at least 5 or 6 other files.
[Note this doesn't fix the bug where any rotation changes to the root prim (but not the whole linkset) cause rotation errors on the child prims.]
2009-07-17 14:58:54 +00:00
Teravus Ovares
f74622c65f
* Change the order of Update so Physics processes a frame before the scene manipulates the physics Scene.cs
...
* Remove the draconic locking around adding an avatar to the Scene
* Handle an extreme error case when border crossing fails and user uses map to teleport to a different region on the same instance causing control commands to go to a child agent.
* Make the Set Appearance method use the proper 'remove from physics scene' method.
* It *may* help border crossings.
* It *may* help the 'on avatar rez' lag, that people have been seeing the past week.
* It may also cause physics to crash more often on failed teleports (though.. I think I got the cases covered).
2009-07-17 07:28:09 +00:00
Melanie Thielker
01446074b1
Revert the nonessential part of r10033 to restore sanity to trampolines
2009-07-16 19:09:03 +00:00
Melanie Thielker
b79e23dc5c
Allow OpenSim to run without script engines enabled
...
Fixes Mantis #3893
2009-07-16 08:45:52 +00:00
Teravus Ovares
8e1ab33ed3
* Tweaking collision reporting a little more in ScenePresence to not check if the collisions will affect health if the avatar is invulnerable. (saves 3 loops)
2009-07-16 04:50:49 +00:00
MW
5f68b5b82e
There was possible a locking issue in revision 9951 so reverting that revision until further testing can be done.
2009-07-16 00:05:07 +00:00
Justin Clarke Casey
5815162d7e
minor: remove some mono compiler warnings
2009-07-15 20:49:58 +00:00
MW
a266e6dc4b
Bounding Box/find rez from inventory point code now seems to be working correctly.
...
So next step is to clean up that code and wait for bug reports.
2009-07-15 19:46:32 +00:00
MW
856d5f4375
Yet more work on fixing the boundingbox code.
2009-07-15 18:55:28 +00:00
MW
3a72531e4c
More fixing of the boundingbox code.
...
Still more work needed to get linksets to rezz correctly (not in the ground)
2009-07-15 10:42:27 +00:00
MW
08d4fffdfd
A attemp to fix the boundingBox code that I committed the other day.
2009-07-15 10:26:12 +00:00
MW
75bfbc14fc
Test commit to see if commit is working for me, as another core developer is reporting problems.
2009-07-15 10:11:00 +00:00
nlin
56d295cfb5
Fix for avatar falling through terrain when av_capsule_tilted=false, Mantis #2905
...
This fix re-introduces a small tilt into the capsule to prevent
avatar falling through terrain. Re-introduction of the tilt means
that some direction-dependent behavior when walking over prims, but
I have tried to minimize this.
Additionally this commit allows the capsule to wobble slightly when
being pushed around the terrain. This should make walking over prims
easier, as the capsule can wobble and glide diagonally over the prim's
edge, instead of rigidly being stopped vertically against the prim's
face.
2009-07-15 10:09:37 +00:00
Melanie Thielker
fb4067c844
A stab at implementing llSetDamage. Not persistent.
2009-07-15 00:10:01 +00:00
Melanie Thielker
750f75c514
Thank you, Twitch, for a patch to restore mayhem and murder to OpenSim
...
Fixes Mantis #3888
2009-07-14 23:20:59 +00:00
Melanie Thielker
e53596f607
Remove redundant distance limitaion in llRezAtRoot
...
Fixes Mantis #3887
2009-07-14 22:10:46 +00:00
Dahlia Trimble
73251ed346
add a constructor overload and an AddPos method to SculptMesh
2009-07-14 06:09:18 +00:00
MW
58b05e5cbe
A commit to retrigger panda
2009-07-13 15:14:44 +00:00
MW
c4318136ba
Changed it so that when rezzing prims from inventory, a bounding box containing all the prims in the group is used for working out the rezzing point. So that none of the child prims are underground. Or at least thats what it is meant to do, still needs more testing and there are still some issues with link sets getting rezzed too high above the ground/target prim.
2009-07-13 14:42:46 +00:00
MW
a7043ebf53
Attempt to make it so items rezzed from inventory aren't half in the ground or half in the prim they are being rezzed on top off. This is currently only correct for single prims (not link groups) and unrotated prims. Next step is to fix for link sets and rotated prims.
...
This needs a lot more testing to find use cases where it might be wrong (like half way up a hill?)
2009-07-13 12:08:14 +00:00
MW
d9a8ecf238
Changed the DeRezObject event so it passes a list<uint> of localIDs in one event trigger rather than triggering the event once for every localid in the derez packet.
2009-07-12 12:32:39 +00:00
Adam Frisby
71ab7a1e2d
* Workaround for a bug in Vivox Server r2978, whereby channel-search.channels.count returns 0 instead of the actual channel count. Should not affect more recent versions of Vivox where this issue has been fixed.
2009-07-12 02:16:49 +00:00
Adam Frisby
50ccf914ca
* More Vivox Fiddling
2009-07-12 01:56:38 +00:00
Adam Frisby
a8b40d47d6
* Patch for previous revision.
2009-07-12 01:31:33 +00:00
Adam Frisby
c20a4032e2
* More VivoxModule debugging.
2009-07-12 01:23:49 +00:00
Adam Frisby
199984cbea
* Added some noisy debug information to VivoxModule to try debug why GetChannel fails on LBSA/Zaius Plaza.
2009-07-12 01:04:32 +00:00
Jeff Ames
cce451d9de
Formatting cleanup.
2009-07-11 11:47:33 +00:00
Dr Scofield
ab03772d94
fixing addin.xml
2009-07-11 08:17:09 +00:00
Dr Scofield
d123c74e37
fixing missing ReplacableInterface
2009-07-11 08:16:59 +00:00
Dr Scofield
7a4abf0def
From: Dr Scofield <hud@zurich.ibm.com> & Alan Webb <alan_webb@us.ibm.com>
...
this commit finally adds the VivoxVoiceModule: it supports positional
as well as conference call type voice (currently only per region
server), region and parcel voice, speaker indication (LL client
family), direct avtar-to-avatar voice chat. NOTE: you need to obtain
an customer admin account from Vivox to be able to use this module ---
DON'T ask me about how to about an admin account, i've NO clue, we
just wrote this code.
2009-07-11 08:16:47 +00:00
Dr Scofield
16b4e38f68
fixing warning re ReplacableInterface()
2009-07-11 08:10:54 +00:00
Dahlia Trimble
3f2ee8915d
Some improvements to prim face numbering - only affects viewers using PrimMesher
2009-07-11 04:53:41 +00:00
Teravus Ovares
d54aac41d2
* Added a user friendly message to the sqlite regionsettings saver giving them troubleshooting options and telling them to restart the simulator. This situation, hopefully is temporary and generates an exception when sqlite users first start OpenSimulator because of an unexpected condition in the database layer. Restart and all is well.
...
* Added a user friendly message to the 'No IInventoryService available' condition with troubleshooting options.
2009-07-10 21:47:54 +00:00
Melanie Thielker
ec1a5d8933
Some module reshuffling, no user functionality yet
2009-07-10 20:46:16 +00:00
Melanie Thielker
8ecfc9a717
Committing the interface change and the addition to the modules to get
...
the ball rolling on replacable modules. No user functionality yet
2009-07-10 20:17:13 +00:00
Justin Clarke Casey
18ffbf6342
* minor format changes and message additions
2009-07-10 19:18:05 +00:00
Justin Clarke Casey
d7d2de3a08
* minor: standardize some logging messages
2009-07-10 18:57:16 +00:00
MW
78d7f4696e
Now we are past revision 10000, I think its time to start to fix that massive bug that was introduced in revision 1. So here is the first part of that fix.
2009-07-10 11:03:38 +00:00
Melanie Thielker
c310fb11f4
Remove all references to HttpServer from CommsManager (all incarnations)
...
Change all uses of the HttpServer properties to use the new singleton
2009-07-10 02:22:26 +00:00
Teravus Ovares
e15ffe31e3
* Commit some BinBVH rotation convenience. Calculates the W element of the joint rotation quaternion and provides a property so consumer doesn't have to.
2009-07-10 00:13:42 +00:00
Charles Krinke
dc0a19f737
Thank you kindly, Godfrey, for a patch that:
...
The vector parameter to llSetPos() specifies an absolute position for
an unlinked prim or the root prim of a linkset; however, when the
function is used by a child prim, the vector specifies a relative
offset from the root prim. The changed introduced in llSetPos() treats
this value as an absolute position in all cases, which has the unintended
effect of mangling the position of child prims.
2009-07-09 16:53:55 +00:00
Charles Krinke
61008c9c13
Thank you kindly, SnowDrop, for a patch that:
...
This add a configuration option to the MRM module called "hidden".
if MRM is marked as enabled, the module will additionally check for
the "Hidden" flag, before registering for client side scriping events.
When MRM is running hidden, it will not respond to client side
scripting events, giving serverside scripting modules, like MRMLoader
and MRMAddin the ability to leverage the MRM engine. This way, even
a possible clientside exploit will not be possible, while still
allowing the MRM engine to run.
2009-07-08 20:57:26 +00:00
Charles Krinke
525ab2c278
Thank you kindly, RandomHuman for a patch that:
...
The admin_close_region method removes a region from the simulator without deleting it.
The region can then be recreated by calling admin_create_region with the same UUID.
There is also a change to admin_create_region to facilitate this.The reason I want
to have this functionality is to make it possible to detach regions when they are
idle and recreate them on demand through a web interface. It's probably doable
using the existing methods by saving and loading oars, but it also doesn't seem
like that should be necessary.
2009-07-08 20:53:22 +00:00
Melanie Thielker
2d949c1f25
Add DisableUndergroundMovement to scrpting API to allow underground movement
...
if needed. Defaults to true, so those who want to continue using underground
scripted prims need to add that option and set it.
2009-07-08 14:36:00 +00:00
Melanie Thielker
f4498983aa
Prevent scripts from moving prims underground
2009-07-08 10:22:51 +00:00
Melanie Thielker
d8fe7777bf
Prevent teleports from ending underground
2009-07-08 08:38:23 +00:00
nlin
0ec6dfb1a1
Experimental fix for tilted avatar capsule, Mantis #2905
...
Set av_capsule_tilted to false in opensim.ini. Default is true, so there is
no change in avatar behavior (and no breaking of existing content which
relies on the tilted capsule).
This commit straightens up the avatar capsule so it behaves consistently
(e.g. same collision behavior against prims regardless of which direction
the avatar is coming from; ability to fit through narrow doorways).
Please note this introduces other side effects which have not been fixed.
In particular:
* The avatar frequently falls through the terrain if it is not flat, though
the avatar behaves pretty well on flat terrain. This requires investigation
of the ode terrain collider.
* The apparent foot position of the avatar with respect to the ground
is changed. This requires investigation of the avatar height/capsule height.
Please consider this as work in progress.
2009-07-08 01:41:05 +00:00
Melanie Thielker
6458858575
Change fields and methods in LSL API from private to protected, make some
...
methods virtual
2009-07-06 13:09:03 +00:00
Dahlia Trimble
5ba499a759
comment out some excessively verbose eventqueue debugging messages
2009-07-05 07:17:12 +00:00
Charles Krinke
8344df886b
Thank you kindly, AnakinLohner, for a patch that addresses:
...
The patch included updates the root and child prims' AttchedAvatar
with the right UUID. It also cleans the AttachedAvatar properties
for the root and child prims on Drop and Detach
2009-07-02 16:02:18 +00:00
Sean Dague
49f89dd758
make methods surounding backup virtual so they could be override for server side created objects
2009-07-02 12:00:39 +00:00
Melanie Thielker
412b555c27
Restore some lost functionality tot he combat module. Code that used to
...
reside in the economy module was lost in the shuffle when that was moved
to forge. Now it's where it belongs.
2009-07-02 02:46:40 +00:00
Jeff Ames
1d01d6d919
Formatting cleanup.
2009-07-01 23:37:09 +00:00
Jeff Ames
a0a44d8ebc
Add copyright headers.
2009-07-01 23:25:59 +00:00
Melanie Thielker
3564271c2d
Restore the functionality that was removed in r9928. This lets the load
...
balancer plugin work again. Create a new method, GetClientEP, to retrieve
only the EndPoint for script usage. Marked the purpose of the method
in IClientAPI.cs with a warning. Also restored the corresponding SetClientInfo
functionality.
2009-07-01 15:47:52 +00:00
Jeff Ames
3f2fba610e
Update svn properties.
2009-07-01 10:26:43 +00:00
Charles Krinke
6942eaed5b
Thank you kindly, Snowdrop, for a patch that solves:
...
The current API for MRM is quite sparse, this patch
supplies basic support for accessing the task
inventory of object.
2009-06-29 21:47:47 +00:00
Arthur Valadares
4f6efa0249
* C# compiler is not smart enough to understand ClientLoop is under very heavy usage and inline DebugPacket, so DebugPacket is run as a method, causing Packet
...
to be constantly pushed and popped uselessly, if you are not debugging packets. This showed some really big difference in a mock test, let's see how it behaves here.
2009-06-29 19:24:30 +00:00
Charles Krinke
7bb070be55
Thank you kindly, Snowdrop/Snowcrash for a patch that:
...
This patch makes the worn attachments accessible to MRM scripting
2009-06-29 18:07:30 +00:00
Arthur Valadares
6da88dceb0
* Changing List to Dictionary in PacketQueue.Dequeue for great justice (and performance)
2009-06-29 16:55:00 +00:00
Jeff Ames
715f2f2798
Update svn properties, add copyright header, formatting cleanup.
2009-06-29 15:40:00 +00:00
Sean Dague
3dc2010da6
From: Chris Yeoh <yeohc@au1.ibm.com>
...
Attached is a patch that changes the oar file saving of creation date/time to an integer
instead of a string. I did this after justincc emailed me saying there is a problem
with internationalisation doing it the old way and I said I'd fix it. Its been
tested with MySQL and I've made the changes for MSSQL but that hasn't been well tested.
2009-06-29 15:05:12 +00:00
Charles Krinke
7545f12c5f
Thank you kindly, Godfrey, for a patch that:
...
The new IRCd module causes an error when multiple instances of OpenSim
are run on the same machine; since the port number (6666) is hardcoded,
the second and subsequent instances crash upon startup because the port
is already in use. Attached is a patch which adds a Port specifier to the
[IRCd] section of the config file, which defaults to 6666 if not present.
2009-06-29 14:01:08 +00:00
Charles Krinke
c7c4bc8cd5
Thank you kindly, Grumly57 for a patch that solves:
...
When a sit position is modified by llSitTarget and the
sim is restarted, the object sit position is lost until
llSitTarget is applied again.
2009-06-28 18:19:11 +00:00
MW
706286b7fb
Removed the List<NewForce> m_forceList from ScenePresence, as there wasn't any need for a list, as only the last entry in it was acted on. So it now has a single NewForce m_nextVelocity , which is updated (rather than a NewForce object being created every AgentUpdate). So as well as cutting out all the adds and clearing of the list, it also removes the creation of upto 100+ new objects per second per avatar.
2009-06-28 11:07:26 +00:00
Jeff Ames
2d173d7556
Update svn properties.
2009-06-27 04:31:49 +00:00
MW
9e4d077d70
Fixed null bug, which was making unit tests fail
2009-06-26 12:30:54 +00:00
MW
7a2c41dea0
Extracted the code that handles the sending of prim updates to the client, from ScenePresence into ISceneViewer/SceneViewer. Currently ScenePresence "has" a ISceneViewer, although if we had a proper Node based scenegraph then it would most likely be attached directly to the nodes.
...
By extracting this code, it should make it easier to experiment with different ways of managing the update process. [Next step to make this module based, could be to create a SceneViewerFactoryModule]
2009-06-26 12:09:43 +00:00
Melanie Thielker
5869598c4c
Make delete-region delete the section from an ini file. Will delete the whole
...
file if it has no sections left.
2009-06-26 00:00:20 +00:00
Melanie Thielker
7cc69ac97f
Make create region save the new region to ini file format if the name
...
specifies an ini file.
If the ini file exists, the region will be added.
2009-06-25 23:31:55 +00:00
MW
934b291f59
Added a note to the ScenePresence.UpdateMovement() method, to remind everyone that the so called "forces" are actually velocities.
2009-06-25 13:12:48 +00:00
MW
684286f097
Applied patch from mantis #3820 which changed the clearing of the ScenePresence.m_forcesList, so it used the List.Clear method rather than doing a loop through the list and manually removing each item. Thanks dslake.
...
I also fixed the issue where the code also loops through the m_forcesList and copies each force to the ScenePresence's movementVector. Which resulted in only the last force in the list actually be acted on. As each copy overrode the last one. So now it only copies the last force in the list.
2009-06-25 12:26:23 +00:00
Dr Scofield
c1976d1200
moving the m_PendingAcksMap.Remove() out of the foreach and clearing
...
it instead after the foreach as we are going through the whole
m_PendingAcks list anyhow
2009-06-25 11:30:31 +00:00
Dr Scofield
aba4b0bd20
have to clear m_PendingAcks not m_PendingAcksMap
2009-06-25 11:30:16 +00:00
Dr Scofield
e2db6c07ba
hmph: missing '{'/'}', thx to nebadon for reporting it and rob smart
...
for spotting it!
2009-06-25 10:26:10 +00:00
Dr Scofield
74f7b586d3
fixing windows specific compile error.
2009-06-25 08:28:59 +00:00
Dr Scofield
98ea70644a
From: Alan Webb <alan_webb@us.ibm.com>
...
After noticing on several occasions that the thread counts
we see when running OpenSIm were bordering on the astronomical
I decided to seriously investigate.
After much poking I discovered that the problem is actually very
simple. The XEngine secition of the example ini says that the
timeout for an iden thread is in seconds, and an example value
of 60 is specified. In fact, this is actually resulting in a 60mS
idle timeout, which is not normally enough for a smart thread
to survive. I have added a multiplier to the XEngine constructor
so that the number now matches the published behavior.
2009-06-25 08:17:37 +00:00
Dr Scofield
17d37aa60d
cosmetic change
2009-06-25 08:01:02 +00:00
Dr Scofield
1b06da0c54
streamlining m_NeedAck logic
2009-06-25 08:00:43 +00:00
Dr Scofield
9f83f124c7
streamling m_PendingAcks logic to get rid of gratuitous List<...>
...
instantiations and object copies.
2009-06-25 08:00:18 +00:00
Dr Scofield
b84834c45b
commenting out expensive bits (who in the world even uses SetClientInfo()?)
2009-06-25 07:59:58 +00:00
Dr Scofield
e8e0ce5fc6
changing DropSend()'s foreach loop so that it does not copy the
...
LLQueItem m_NeedAck queue each time.
2009-06-25 07:59:47 +00:00
Dr Scofield
fa060a7282
commenting out rather expensive bits of GetClientInfo() --- the only
...
bit of GetClientInfo that is actually used seems to be userEP as part of the
OSSL osGetAgentIP() script function. Now commented are the parts where
we serialize and copy out the *entire* packet queue of the client
(locking the packet handler in the process).
2009-06-25 07:59:38 +00:00
Dr Scofield
77122d7861
more efficient way of checking for already seen packets:
...
- uses Environment.TickCount for all timestamps (instead of more
costly Util.UnixTimeSinceEpoch()
- takes care of Environment.TickCount overflow (which will happens
after 24.8 days of system uptime)
- avoids instantiating List copies for each check
- gets rid of one lock() invocation
- moves calculation of loop invariant variable out of the loop itself
2009-06-25 07:59:25 +00:00
Dr Scofield
a1ba9dee8d
adding logging statement for receive buffer size
2009-06-25 07:50:19 +00:00
Dr Scofield
8f5efc4994
- adds the possibility of setting the socket receive buffer size
...
option for LLUDPServer. On windows .NET the default socket receive
buffer size is 8192 bytes, on recent linux systems it's about
111K. both value can be a bit small for an OpenSim instance serving
many clients. The socket receive buffer size can be configured via
an OpenSim.ini config option
- adds a general catch clause to LLUDPServer.OnReceivedData() to
prevent it submerging when an unexpected Exception occurs.
2009-06-25 07:50:02 +00:00
Dr Scofield
afd5f76648
From: Alan Webb <alan_webb@us.ibm.com>
...
This change moves texture send processing out of the main
packet processing loop and moves it to a timer based
processing cycle.
Texture packets are sent to the client consistently over
time. The timer is discontinued whenever there are no
textures to transmit.
The behavior of the texture sending mechanism is controlled
by three variables in the LLCLient section of the config
file:
[1] TextureRequestRate (mS) determines how many times per second
texture send processing will occur. The default is 100mS.
[2] TextureSendLimit determines how many different textures
will be considered on each cycle. Textures are selected
by priority. The old mechanism specified a value of 10 for
this parameter and this is the default
[3] TextureDataLimit determines how many packets will be sent for
each of the selected textures. The old mechanism specified a
value of 5, so this is the default.
So the net effect is that TextureSendLimit*TextureDataLimit
packets will be sent every TextureRequestRate mS.
Once we have gotten a reasonable feeling for how these parameters
affect overall processing, it would be nice to autonmically manage
these values using information about the current status of the
region and network.
Note that this also resolves the pathologcal problem that
previously existed which was that a seated avatar generated very
few in-bound packets (theoretically) and would therefore be the
least able to retrieve the images being displayed by a
projector script.
2009-06-25 07:42:06 +00:00
Dr Scofield
652bcf91d5
- fixes a "collection out of sync" exception in the ODE physics
...
engine, caused by an "avatar infinite position" occurring under
heavy load.
- fixes "value too small" exception in ChatModule
2009-06-25 07:39:48 +00:00
Melanie Thielker
9d07584ea1
Allow "Take Copy" with copy only permissions if you own the object. Trans
...
is only required when taing an object you don't own, now.
Fixes Mantis #3838
2009-06-24 23:45:21 +00:00
Melanie Thielker
fa786c480b
Reading GroupPosition, but setting OffsetPosition in undo doesnt' seem right.
...
This may fix the Mantii where individual prims ctrl-z to nirvana, but
it's not tested.
2009-06-24 09:49:49 +00:00
Melanie Thielker
41b8e2de9e
Also fix group role membership packet sizes to stay safely below MTU
2009-06-23 22:11:34 +00:00
Melanie Thielker
8cf16f6ea4
Can I be this dumb?
2009-06-23 21:17:20 +00:00
Melanie Thielker
2a766b9082
Fix an error in group membership sending when the memebr count exceeds 60
...
Also reduce limit to 40 to allow for last logon dates and titles
2009-06-23 20:27:35 +00:00
Melanie Thielker
a2635e43da
Allow the member list of groups with more than 70 members to be viewed
...
without crashing
2009-06-23 14:37:51 +00:00
Melanie Thielker
56d0966a32
Commenting out the jhurliman fix, since our libOMV doesnt' have those fields
...
yet.
2009-06-23 08:56:45 +00:00
Melanie Thielker
2d7dd5f63e
Correct an uninitialized field in a packet. Thanks, jhurliman.
...
Fixes Mantis #3831
2009-06-23 08:51:35 +00:00
Melanie Thielker
77ebb7c9f3
Committing RemoteUserServiceConnector out connector, local user service
...
connector and the glue code.
2009-06-22 13:14:48 +00:00
Jeff Ames
65d48a5e60
Formatting cleanup, ignore some generated files.
2009-06-22 11:04:09 +00:00
Jeff Ames
142b481e03
Update svn properties.
2009-06-22 10:07:27 +00:00
lbsa71
5ee2125bb6
* Panda no like LongRunningAttribute, no? Me now reverting minuscule fix, yes? Panda happy, eh?
2009-06-22 08:34:50 +00:00
lbsa71
e9d0f48a5b
* Minuscule CC fix
2009-06-22 07:40:31 +00:00
lbsa71
e365440461
* Added SceneTests and SceneBaseTests
...
* Changed some fields to protectesd to enable faking
2009-06-22 07:39:04 +00:00
Melanie Thielker
7d4f541d43
Suppress exception dump when informing friends in another region about login
...
or logoff. Regions come and go and we can't throw just because someone
took their region off the grid, or crashed.
2009-06-21 22:40:21 +00:00
Melanie Thielker
bc1dce071a
Correct the behaviro of group deeding and llGetOwner() within deeded objects
2009-06-21 19:49:11 +00:00
Homer Horwitz
04444d408f
Do llEscapeURL with Uri.EscapeDataString instead of Uri.EscapeUriString.
...
Not exactly right, according to the LSL docs, but similar enough, I hope.
Fixes Mantis #3825 .
2009-06-21 19:06:19 +00:00
Melanie Thielker
2c3a1995fc
Publish a method on ICompiler to generate the CIL assembly path
...
Cause group deeding to apply next owner perms
2009-06-21 18:38:12 +00:00
Melanie Thielker
034de5ecd6
Properly reset a vehicle's status to VEHICLE_TYPE_NONE when requested
2009-06-19 22:32:02 +00:00
Melanie Thielker
e4d26d7bfa
When a shared module hooks OnClientClosed, it has no way of finding
...
out which client connection has closed. So, in multi-region sims, things
can get messy fast.
This introduces a second parameters, which is a Scene object ref. Minor
adjustments to custom modules may be required due to this change.
2009-06-19 20:46:17 +00:00
Dahlia Trimble
19b52d13e2
Thanks cmickeyb for a patch that checks for null assets in Cenome asset cache - Mantis #3819
2009-06-19 17:08:23 +00:00
Sean Dague
dfd4e78fc0
From: Rob Smart <SMARTROB@uk.ibm.com>
...
Makes an avatars personal voice indicator work with Freeswitch (though not other avatars indicators)
2009-06-19 12:21:33 +00:00
Sean Dague
1adeb8ad77
From: Chris Yeoh <yeohc@au1.ibm.com>
...
This patch ensures that the touch positions are set during touch_end
events (currently only working for touch_start and touch events).
2009-06-19 12:21:20 +00:00
Dahlia Trimble
00d042f3d1
Thanks Michelle Argus for Mantis #0003742 : Terrain editor - Flatten tool lowers Land
2009-06-18 23:02:12 +00:00
Arthur Valadares
f243dddc04
* Corrected CAPS namespaces
...
* "luke, use the sed"
2009-06-18 14:33:35 +00:00
Melanie Thielker
8aaeec598e
Fix an uninitialized data block. Thanks, jhurliman
2009-06-17 23:46:13 +00:00
diva
ce7de3581c
Implementation of a simple authentication service + in connector in route to making HGInventory (client access) work in standalone again. This is the refactoring of what was/is there, but done in the new model. Not complete yet, but key authentication works. It should be enough to make HGInventory work again soon.
2009-06-17 03:52:39 +00:00
diva
6cb7ecd99c
Renamed two of the in connector modules, to make things consistent.
2009-06-15 00:29:37 +00:00
diva
54d44e370b
Removing the OpenSim.SimulatorServices project. All of those region modules are now in CoreModules/ServiceConnectorsIn, where they belong.
2009-06-15 00:17:17 +00:00
diva
380f59d0ff
Factoring out "land_data" / RequestLandData that was hanging off of IGridServices, erroneously. Not sure when this is used, but now it is implemented in the new model of service connectors. Hopefully it works.
2009-06-14 23:00:23 +00:00
Melanie Thielker
664dd58cd9
Fixes Mantis #3793 . Committing thomax/Snoopy's patch to allow deeding of objects, with changes:
...
- Set OwnerID = GroupID for deeded objects.
- Close a security loophole that would have allowed a user with deed rights in a group to deed ANY object to that group, even if it's not owned by them and/or not set to that group
- Set LastOwnerID correctly. Handle objects vs. prims correctly.
2009-06-14 21:44:34 +00:00
Jeff Ames
8d0eb3307f
Update svn properties.
2009-06-14 21:37:50 +00:00
diva
6abffedab5
Renamed Region/CoreModules/ServiceConnectors to Region/CoreModules/ServiceConnectorsOut. No functional changes.
2009-06-14 19:44:56 +00:00
Charles Krinke
8d24168bef
Thank you kindly, M1sha, for a patch that improves the treePopulator module:
...
(a) Implements the ICommandableModule interface to clean up the user interface
(b) Uses a specification for a 'copse' (collected group of trees) which permits via an xml file: Tree type; Tree Line (high and low), Seed point; Radius of Copse; Number of required trees; Initial size of seeded tree; maximum size of seeded tree; growth rate; freeze growth state
(c) Multiple Copse may be defined for a region
(d) Growth on individual copse may be frozen or restarted, or all growth disabled/enabled
(e) Copse definitions are persistant, they are reloaded from the trees present on a region restart
(f) All trees in a copse may be removed and the copse definition deleted in one command
2009-06-14 16:32:50 +00:00
diva
a0b68178b8
Bug fix in remote neighbour connector.
2009-06-14 16:26:14 +00:00
diva
7a9c85526c
Pulled out HelloNeighbour into its own service, INeighbourService, which may get more functions as we go along. It's a very simple service and service connectors, and it served primarily to establish the design of services that dependent on Scenes and that must always have a local connector. More refactoring coming, as this showed how to do it right.
2009-06-14 15:35:09 +00:00
Justin Clarke Casey
9f2ddfd167
* Temporarily resolve another problem in http://opensimulator.org/mantis/view.php?id=3741 by disabling the loading of OAR creation information
2009-06-12 20:00:26 +00:00
Justin Clarke Casey
f9782a1085
* minor: removing some logging stuff accidentally left in on the last commit
2009-06-12 15:45:38 +00:00
Justin Clarke Casey
45342067f5
* Move standalone login setup in LLStandaloneLoginmodule to RegionLoaded() from AddRegion()
...
* This is necessary to avoid a dependency problem where LLStandaloneLoginModule references IInventoryService before the LocalInventoryServiceConnector is registered
* Correct some copypasta log messages in LocalInventoryServiceConnector
2009-06-12 15:41:53 +00:00
Mike Mazur
e6e88ac126
Give m_test* methods more reasonable names
...
Changing the names of these methods because they were being picked up by
nunit as tests even though they were marked private. Naming them Check*
after the original Test*.
2009-06-12 15:00:08 +00:00
Justin Clarke Casey
3b4151b042
* remove long unused interregion optional module code
2009-06-12 14:37:56 +00:00
Justin Clarke Casey
cb6baacc31
* minor: remove one mono warning
2009-06-12 14:29:42 +00:00
Justin Clarke Casey
874df490fb
* fix build break: sigh, must remember to build before committing
2009-06-12 14:23:31 +00:00
Justin Clarke Casey
4e526778b7
* minor: make control file loading code consistent
2009-06-12 14:18:01 +00:00
Justin Clarke Casey
15b8641bef
* minor: if OAR saving receives assets after timeout, just print warning, don't accidentally go on to process them
2009-06-12 14:00:50 +00:00
Justin Clarke Casey
86043c431f
* minor: remove warning from unused field
2009-06-12 13:37:08 +00:00
Arthur Valadares
d4ed7b03af
* Fixed a few more async calls. Still not uncommented, some asserts still failing
2009-06-11 20:50:23 +00:00
diva
2afd733229
Fixes mantis #3803 . Thanks jhurliman.
2009-06-11 20:27:13 +00:00
diva
6c1d6283e6
Small improvement in the IAR tests, but these tests are still showing random behavior, so they are still commented out.
2009-06-11 19:12:20 +00:00
diva
156604e28e
InterServiceInventoryService references *almost* completely removed from the simulator. Only a couple left, not important. Also updated the login tests -- Justin, this time I was able to fix this by myself :)
2009-06-11 03:00:25 +00:00
diva
59c1796353
Small bug fix in HG.
2009-06-10 18:02:49 +00:00
diva
6242b01ac8
Removing the default reading of AssetCaching on all cache modules.
2009-06-10 16:48:26 +00:00
Melanie Thielker
b465dd7eb3
Reverse the default setting in Flotsam Asset Cache. Nothing should be the default
2009-06-10 15:36:44 +00:00
diva
1874c635ea
Commenting the IAR tests for now until we understand how to set up things in this new inventory model.
2009-06-10 15:18:07 +00:00
diva
0f367bd7bb
Heart surgery no.2: the inventory service hooks.
...
Several improvements in the connectors themselves.
Several improvements in configurations.
Needed to add a hack in IUserService and UserManagerBase, to be removed when that service is refactored.
2009-06-10 13:18:32 +00:00
Dr Scofield
8045ed28ec
From: Alan Webb <alan_webb@us.ibm.com>
...
Eat collision errors --- NOTE: this fix might be naive, it seems to
have helped us getting to 81 avatars (whereas we'd crash with 20
before), but it sure would benefit from some check-over by a person
skilled in the art of ODE physics.
2009-06-10 11:48:13 +00:00
Jeff Ames
a23d64dec1
Formatting cleanup.
2009-06-10 04:28:56 +00:00
diva
ca52c3ef26
Letting the Flotsam cache be enabled even when [AssetCache] section is missing. Thank you mcortez!
2009-06-09 20:20:30 +00:00
Jeff Ames
a7fcacf8f3
Formatting cleanup. Ignore some generated files.
2009-06-09 18:07:35 +00:00
Jeff Ames
135ff63c3d
Update svn properties.
2009-06-09 17:48:22 +00:00
Melanie Thielker
9c726fb178
Thank you Snoopy, for a patch that implements group permissions.
...
Applied with changes:
- removed spammy debug message
- corrected tab formatting
2009-06-09 08:15:34 +00:00
Dr Scofield
759636f37e
From: Alan Webb <alan_webb@us.ibm.com>
...
This change addresses two issues:
[1] It adds a flag field to the blendface call which allows the
caller to indicate whether or not the generated asset is
temporary, and whether or not the asset being replaced should
be explicitly retired fromt the memory cache. The decimal
values correspond to:
0 - Permanent asset, do not expire old asset
1 - Permanent asset, expire old asset
2 - Temporary asset, do not expire old asset
3 - Temporary asset, expire old asset
'3' corresponds to the default behavior seen today, and is
the continued behavior of the non-blendface calls.
[2] The dynamic texture routines are highly-asynchronous and can
be scheduled simultaneously on a multi-core machine. The nature
of the texture management interfaece is such that updates may
be lost, and the nature of asynchornous operation means that
they may be processed out of order. A lock has been added to
ensure that updates are at least atomic. No attempt has been
made to enforce ordering. The lock applies to the SceneObjectPart
being updated and is held for the lifetime of the TextureEntry
used to carry texture updates (the one instance carries all
faces supported by the prim).
Users of these services should remember that the dynamic texture
call is asynchronous and control will be returned *before* the
texture update has actually occurred. As a result, a isubsequent
GetTexture call may not return the expected asset id. A script
must wait for the corresponding TEXTURE_CHANGED event before
retrieving any texture information.
2009-06-09 06:39:27 +00:00
Melanie Thielker
0356fef9ab
Updating the flotsam asset cache. Thank you, mcortez!
...
Fixes Mantis #3784
2009-06-08 20:09:49 +00:00
diva
b87f982a7e
Bug fix. Adding the asset to the cache after a DB get.
2009-06-08 19:35:36 +00:00
diva
16d5003274
Added more functions to IInventoryService. Unsure about whether all of these are really necessary.
2009-06-08 03:09:24 +00:00
diva
1ad237a8a7
First draft of inventory service connectors, and service implementation. No handlers yet, this is just the OUT part for now. It's not active and nothing in the simulator uses this yet. Just checking it in to start sharing with others. There are a couple of interesting software design points that could use other devs opinions.
...
Hopefully I added all needed files.
2009-06-07 19:00:55 +00:00
Mike Mazur
cda6b24668
Skip lone ident statments or for-loop assignments
...
SL's LSL supports lone idents:
integer x;
x;
as well as lone idents in for-loop assignments:
for (x; x < 10; x++) { ... }
while those are errors in C# (MONO at least). This patch skips lone
idents in such places.
Fixes Mantis #3042 .
2009-06-07 10:22:55 +00:00
Mike Mazur
48bc2f3a42
Allow empty assignment in for-loop
...
For loops with no assignment are no longer syntax errors. For example,
this is now valid:
for ( ; i < 10; i++) { ... }
Corresponding changes to lsl.{lexer,parser} in r99 in opensim-libs.
Fixes Mantis #2501 . Fixes Mantis #2884 .
2009-06-07 10:22:41 +00:00
lbsa71
6267f939c5
* Reverting the test restructuring as, on second thought, this is not at all how the tests are structured.
...
(pt1)
2009-06-07 08:50:43 +00:00
Mike Mazur
d25b9151c8
Rename private TestllAngleBetween method
...
It seems overloading the method TestllAngleBetween confused nunit a bit
and caused it to try running the private TestllAngleBetween method. The
method's access modified prevented that from happening, and nunit
complained.
2009-06-07 08:32:07 +00:00
Melanie Thielker
5139160ce4
Correct an error where the config file name was always considered to be a
...
local file. This caused llHttpRequest and llSetInventoryPermsMask to fail
on regions that load their config from a web server
2009-06-06 16:39:28 +00:00
Dahlia Trimble
f94e192b86
some code cleanup
...
test commit with cygwin svn
2009-06-06 08:41:27 +00:00
Justin Clarke Casey
4234e49445
* minor: tiny tweak just to trigger another panda build
2009-06-05 19:53:24 +00:00
Justin Clarke Casey
ccbe049287
* A bug fix for the last mantis 3741 bugfix
...
* Hopefully now, the nre should not occur and the lock should be correctly unlocked during the initial save oar process
2009-06-05 19:34:35 +00:00
Justin Clarke Casey
fbd0f5491b
* A further fix for mantis 3641 (oar saves do not complete)
...
* For some reason, if a null was recieved (indicating a missing asset), the code had stopped passing that on to the waiting lock, resulting in a perpetual freeze
* This change passes the null on correctly
* Many thanks to thomax for being insistent in presenting his analysis of the problem :)
2009-06-05 19:20:31 +00:00
Justin Clarke Casey
c20f31beff
* refactor: split out part xml writing in SceneObjectSerializer
2009-06-05 18:44:44 +00:00
Justin Clarke Casey
593942b195
* Fix problem where known missing assets would stop save oar ever completing
...
* Issue was that region server was silently dropping an XmlException caused by trying to deserialize the blank asset service response
* So make asset service return http status NOT FOUND rather than OK in accordance with REST
* and interpret this correctly in the async response so that a null object is sent back
* This means that this fix won't be active until both region simulator and server reach this revision
2009-06-05 16:14:22 +00:00
Justin Clarke Casey
bfea077508
* Add oar saving timeout
...
* If an oar save fails to get responses to all asset requests to the asset service then timeout after 60 seconds
* Timeout executes abort, since missing assets in an OAR seems bad
* This means that oar saves won't permanently hang and instead can be retried if something goes wrong with the asset service
* This is not a solution to mantis 3714. Hopefully a fix will be along shortly since I can now consistently reproduce that problem
2009-06-05 13:48:43 +00:00
Melanie Thielker
9f932a4205
Thank you, thomax, for a patch to provide finer-grained access control to
...
scripting.
Fixes Mantis #2862
2009-06-05 09:47:42 +00:00
lbsa71
fd5e45733c
* Restructured Scenes Tests to follow (what I conceive of as being) current directory standards. (pt 1 - thank you, svn. not.)
2009-06-05 06:22:08 +00:00
Melanie Thielker
f992db6807
Committing mcortez's FlotsamAssetCache after several positive reviews.
...
Thank you, mcortez!
2009-06-05 04:58:55 +00:00
diva
ffac6f94f0
Changed a comment to reflect changes in config.
2009-06-04 18:41:19 +00:00
Jeff Ames
c6cef4bad5
Comment out unused variables / private fields to avoid compiler warnings.
2009-06-04 03:58:04 +00:00
Jeff Ames
2a855a6457
Comment out unused private functions to avoid compiler warnings.
2009-06-04 01:37:31 +00:00
Jeff Ames
1e3f378c57
Fix comparison of UUID with null.
2009-06-04 01:26:31 +00:00
Jeff Ames
5f923f0632
Add copyright headers.
2009-06-04 01:09:18 +00:00
Jeff Ames
007016ecd2
Update svn properties.
2009-06-04 00:51:02 +00:00
lbsa71
9b619043ce
* Making sure we fail a bit earlier if we have no AssetService
2009-06-03 17:29:21 +00:00
Dr Scofield
717fd3b5b9
From: Chris Yeoh <yeohc@au1.ibm.com>
...
This patch adds oar file date and time (UTC) meta data to an oar file
when it is created. It also adds a unique ID, though this id does not
in anyway identify the machine that the oar file was created on.
When an oar file with this meta data is loaded this extra information
is saved with the region settings and available via LSL through:
- osLoadedCreationDate()
- osLoadedCreationTime()
- osLoadedCreationID()
If there is no meta data these fields will be blank. Subsequent oar
file loads will erase the information for the previous oar file
load. Persistence has only been implemented for MySQL, the other
backends need updating.
Overall this allows us to much more easily identify the specific version of
software that clients are using. Its very straightforward to edit the oar file
to change the ID string to be something more human friendly.
Included in the patch is a new file OpenSim/Data/MySQL/Resources/030_RegionStore.sql
required for the MySQL DB migration.
btw I had a chat with justincc about this a few weeks ago since he
wrote the oar file import/export and he sounded happy to accept
something that included date/time information but didn't want anything
that would silently leak private information like machine names.
2009-06-03 12:48:04 +00:00
Dr Scofield
074b66ddcf
From: Chris Yeoh <yeohc@au1.ibm.com>
...
- fixes wild swings in memory usage related to usage of GetDrawStringSize()
We've been seeing wild swings in memory usage and a large chunk of
memory leak. From analysing this it's pretty clear that the mono
garbage collector is rather buggy! When exercised heavily it looks
like it frees more than its meant to resulting in crashes.
GetDrawStringSize() measures the size in pixels of text. To do this
memory for an image is allocated and used to call the GDI text
measure functions. Although no reference to the temporary memory
for the measuring is kept, it takes quite a while for the mono
garbage collector to clean up - so if lots calls to
GetDrawStringSize() are made at once there can be a spike in memory
usage. If the garbage collector is not fast enough then the GDI
layer runs out of memory. It also looks like the garbage collector
is not always reclaiming all of the memory.
I've attached an OpenSim patch which works around the garbage collector
issues. Instead of dynamically allocating memory for measuring
text sizes, it serialises (on a per region basis) access to a single
block of memory. The effect of this is to be nicer to the garbage
collector as it has a lot less work to do, at the cost of some
theoretical loss in performance (nothing noticeable with our tests
which hit it pretty hard).
OpenSim still does leak memory slowly, but it is a lot more stable
with this patch. I suspect that either the garbage collector misses
bits of freed memory or the GDI/cairo layer leaks a bit each time a
texture is created. Thats going to be a lot harder to hunt down, but
for reference if someone has OpenSim running on Windows it would be
interesting to see if it has the same problem as it would tell us if
its a mono/GDI problem or an OpenSim problem.
2009-06-03 12:39:44 +00:00
Dr Scofield
25a0a56570
From: Alan Webb <alan_webb@us.ibm.com>
...
Modify dynamic texture handling so that an explicitly targetted
face is not scheduled for immediate expiration. The requirement
for precaching explicitly requires these assets to persist. They
do however remain temporary.
This approach leaves the legacy mode of operation (ALL_SIDES)
unchanged in this respect.
2009-06-03 12:21:14 +00:00
Dahlia Trimble
9e3b592fa3
Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache (Mantis #3759 )
...
See the files: bin/config-include/GridCommon.ini.example and bin/config-include/StandaloneCommon.ini.example to configure and enable this caching method.
2009-06-03 08:41:08 +00:00
Dahlia Trimble
b64c484d26
Thanks aduffy70 for Mantis #3762 : A patch to fix llGround, llGroundNormal, and llGroundSlope
2009-06-03 05:31:53 +00:00
Dahlia Trimble
528db43326
revert r9765 due to too many errors on some compilers. Affects Mantis #3759
2009-06-03 02:03:11 +00:00
Dahlia Trimble
b38be1a7fd
Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache (Mantis #3759 )
...
See the files: bin/config-include/GridCommon.ini.example and bin/config-include/StandaloneCommon.ini.example to configure and enable this caching method.
2009-06-02 22:42:47 +00:00
Charles Krinke
23bf1bf6e0
Thank you kindly, MattSetzer, for a patch that solves a Mantis:
...
This appears to be due to the fact that no asset cache has been
configured, possibly as a result of the configuration changes that
have been made recently. I've attached a patch to display a message
to that effect rather than throwing an error.
2009-06-02 21:13:29 +00:00
lbsa71
6f37fd8399
* Pried apart the ODE tests. This fixes mantis #3212
2009-06-02 18:12:34 +00:00
Justin Clarke Casey
5c42143a7b
* Add simple original xml serialization test
2009-06-02 15:24:29 +00:00
Melanie Thielker
aec5dc677d
Explicitly set the changed status of the prim groups affected in a delink
...
Mantis #2484
2009-06-02 08:19:32 +00:00
Arthur Valadares
63a499c569
* Allow for lowercase searching in standalone mode, when case sensitive
...
search fails. This allows compability to libOMV bots, that always lowercase
region names.
* Uncertain if this should/could propagate to grids
2009-06-01 20:51:40 +00:00
Jeff Ames
c6f616049c
Only save crashes to disk if save_crashes in OpenSim.ini is true (false by default).
2009-06-01 18:45:36 +00:00
Justin Clarke Casey
412295ccde
* Add simple original sog xml serialization test
2009-06-01 18:03:51 +00:00
Justin Clarke Casey
f6badc528b
* minor: change the name of one serialization method to match its counterpart
2009-06-01 17:38:11 +00:00
Justin Clarke Casey
ecbeb5cea1
* Fix race condition in save oar
2009-06-01 16:00:46 +00:00
Jeff Ames
840de6c036
Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt.
2009-06-01 06:37:14 +00:00
Dahlia Trimble
be41a2cb7e
reduce verbosity of sculpt map cache messages to reporting cache failures only
2009-05-31 23:57:52 +00:00
Jeff Ames
35b450d41d
Add copyright headers, formatting cleanup, ignore some generated files.
2009-05-31 18:35:00 +00:00
Jeff Ames
db2c4ab94c
Update svn properties.
2009-05-31 16:26:18 +00:00
Adam Frisby
dc15190365
* Adds MRM scripting commands, World.Objects.Create(Vector3 position) and World.Objects.Create(Vector3 position, Quaternion rotation). These rez a 'default box' object at the specified coordinates, and return the associated IObject.
2009-05-31 12:53:05 +00:00
Mike Mazur
07a94fdf89
Fix IRCd init check for config section
...
The IRCStackModule used Nini.Config.ConfigCollection.Contains() to
determine whether the "IRCd" section was present in the config. This
ConfigCollection, however, stores an ArrayList of IConfig objects, not
strings, so calling Contains("IRCd") always returns false since "IRCd"
is a string, not an IConfig object.
2009-05-31 11:50:42 +00:00
diva
822c2176df
Forgot to add this to my last commit 2 days ago. Async in the HGBroker too.
2009-05-30 16:22:15 +00:00
Adam Frisby
e70910c3e3
* Tweaks to /WHO listings.
2009-05-30 09:37:11 +00:00
Adam Frisby
449e167dce
* You are likely to be eaten by a grue.
...
* Enable with [IRCd] Enabled=true (will listen on port 6666).
2009-05-30 07:02:38 +00:00
Adam Frisby
1bb98a1eb0
* More Tweaks
2009-05-30 04:07:58 +00:00
Adam Frisby
29bc2962ad
* More IRCClientView fiddling. Now implements IClientAPI & IClientCore.
2009-05-30 03:53:04 +00:00
Adam Frisby
ac80b6539f
* May partially implement a C# IRCd & IRCClientStack.
2009-05-30 03:18:09 +00:00
Adam Frisby
c30b5ee014
* Adds World.Audio.* to MRM
...
* This includes methods such as PlaySound which take a Position as an argument, allowing you to trigger sounds arbitrarily across the scene without needing a parent object in the position.
2009-05-29 23:49:48 +00:00
Adam Frisby
433ee75775
* Protip: When you click 'make public' in resharper, note to save before committing.
2009-05-29 22:48:34 +00:00
Adam Frisby
78bec42225
* Implements Sound on Objects for IObject in MRM
...
* Method: IObject.Sound.Play(UUID sound, double volume)
* More feature-packed API to come soon. (I want a World.Sound with arbitrary positioning)
2009-05-29 22:44:49 +00:00
Arthur Valadares
8545621d9b
* Bug fix: Fixes an exception when Scene.RemoveClient is called to remove on a
...
non-existing ScenePresence avatar. Also removed trailing white spaces.
2009-05-29 21:12:55 +00:00
Justin Clarke Casey
95643971be
* refactor: little tweaks to trigger another build
2009-05-29 21:10:17 +00:00
Justin Clarke Casey
4aad6a07ff
* refactor: Remove redundent prim id attribute on Scene.AddSceneObject()
2009-05-29 21:01:18 +00:00
Justin Clarke Casey
6eb191c87b
* Add save xml2 serialization test
2009-05-29 20:20:47 +00:00
Justin Clarke Casey
9021bb231c
* minor: move common serialization test code into fixture setup
2009-05-29 16:27:43 +00:00
Justin Clarke Casey
fa04937a82
* Add xml2 load test
2009-05-29 16:11:33 +00:00
Dahlia Trimble
179724b4fc
some clean up of sculpt map caching code
...
remove a redundant debug message
2009-05-29 08:57:10 +00:00
Dahlia Trimble
05cbf0b502
reinstate a hopefully more robust experimental decoded sculpt map caching scheme
2009-05-29 06:50:15 +00:00
Dahlia Trimble
1609e7eac0
disable sculpt map caching until a better method of avoiding asset requests can be found
2009-05-29 05:11:50 +00:00
Dahlia Trimble
9493de7f4e
null test for texture assets when using cached sculpt map
...
addresses mantis #3735
2009-05-29 04:29:55 +00:00
Dahlia Trimble
db4f8d1298
Experimental decoded sculpt map caching
2009-05-29 02:46:35 +00:00
diva
1e9cb2f8fc
Making the delegate handlers async in async Get, to make things consistent. Them being synchronous in certain cases (asset in cache, for example) may account for slowness reported by folks in osgrid when they have the cache module on. Turns out that some of the provided handlers do non-trivial processing (the ones coming from J2KImage, for example), which means that the several asset requests that hit the cache end up being synchronous. The jury is still out on this.
2009-05-29 01:26:53 +00:00
diva
0094556d04
Instrumenting GlynnTuckerCache to find out the hit rate.
2009-05-28 21:04:10 +00:00
Adam Frisby
5db649538a
* Tweak to above
2009-05-28 19:20:49 +00:00
Adam Frisby
2feb218817
* Makes grid announcements more prominent.
2009-05-28 19:19:10 +00:00
Adam Frisby
4b151b83a8
* Oops. Forgot Initialise needs tweaking between IRegionModule and ISharedRegionModule.
2009-05-28 19:03:27 +00:00
Adam Frisby
561d6c1cdc
* Converts recently added OGSRadmin to IRegionModule because I cant be arsed figuring out Mono.Addins.
2009-05-28 18:59:18 +00:00
Adam Frisby
940b5567a0
* Adds OGS RAdmin class. Adds primitive remote admin functions for gridservers to perform on region servers. Used for grid-wide announcements, etc.
2009-05-28 18:27:08 +00:00
Adam Frisby
a7b49084ad
* May make the terrain flatten brush behave like Second Life(tm)'s client expects. May break everything. You decide!
2009-05-28 15:27:15 +00:00
diva
275e53b126
This may bring the missing texture back.
2009-05-28 15:05:00 +00:00
Dr Scofield
901fdca13b
From: Chris Yeoh <cyeoh@au1.ibm.com>
...
The attached patch implements llPassTouches. It has been added
to the export/import XML along with the flag for AllowedInventoryDrop.
The MySQL backend has been updated as well, though I haven't
done one of those before so could do with a check. I added
the migration mysql file as well.
The other data backends need updating as well.
2009-05-27 18:01:06 +00:00
diva
e0ef697402
Adding the GlynnTucker cache module as the default choice in .ini's.
...
Minor log message change in the module itself.
2009-05-27 16:11:23 +00:00
Jeff Ames
a576cca59e
Update svn properties.
2009-05-27 14:30:33 +00:00
Sean Dague
85e91ddb67
Revert "* Added IntegrationTest Attribute and tagged the ODETestClass"
...
This reverts commit 8f0096cc7b112fea8f69f391224911f624482747.
To get us back to compiling on fresh checkouts.
2009-05-27 12:53:29 +00:00
lbsa71
17f0a4be53
* Added IntegrationTest Attribute and tagged the ODETestClass
2009-05-27 12:36:58 +00:00
diva
ce5225e6dc
Experimental alternative cache module implementation, using GlynnTucker.Cache.dll.
2009-05-26 21:24:18 +00:00
diva
c061b4cb49
Changed the order of things in Scene creation. This piece of code is very jibbery, widely different results with slightly different orders. This particular order produces the best results in the UC Irvine sim in osgrid. But clearly there's something messed up here.
...
Addresses mantis #3707 , mantis #3713 , mantis #3686 .
2009-05-26 16:45:30 +00:00
diva
c66ef94a7b
Commented a log message related to users not found, because it floods the log when the sims have prims from foreign users.
2009-05-26 02:47:02 +00:00
Melanie Thielker
0b9076cd17
Revert a change I made to get a better URL because it failes under mono
2009-05-26 01:38:32 +00:00
Melanie Thielker
2f74a7e3a6
Couple of tweaks to the URL module: handle script reset gracefully and
...
stop crashing http server threads.
2009-05-26 01:27:22 +00:00
Justin Clarke Casey
582c20b1c4
* reseparate inventory item creator id and creator uuid
...
* unfortunately, while the client requires uuids and we want to be able to have arbitrary string ids, these cannot be kept in sync
* I think the problems last time were due to a serialization change
* So the major inteface version has been bumped to take care of any lingering issues here.
* This means that region servers beyond this revision can only connect to similarly uptodate grid services, and vice versa
2009-05-25 19:54:47 +00:00
Dr Scofield
eaa89f5a03
oops: wrong "path" in addin.xml
2009-05-25 12:27:17 +00:00
lbsa71
ba360ede8b
* Upped version number to 0.6.5
2009-05-25 11:43:56 +00:00
Dr Scofield
c18c1f6c7c
Revert "From: Chris Yeoh <cyeoh@au1.ibm.com>"
...
This reverts r9666. for some reason the mysql update does not work.
2009-05-25 11:32:31 +00:00
Dr Scofield
0bff818d39
From: Chris Yeoh <cyeoh@au1.ibm.com>
...
The attached patch implements llPassTouches. It has been added
to the export/import XML along with the flag for AllowedInventoryDrop.
The MySQL backend has been updated as well, though I haven't
done one of those before so could do with a check. I added
the migration mysql file as well.
The other data backends need updating as well.
2009-05-25 11:26:36 +00:00
Dr Scofield
d4d9d8ed8f
converting CapabilitiesModule to new region module scheme
2009-05-25 11:11:04 +00:00
Dr Scofield
b840535622
dropping attendee list keeping from Concierge, relying on
...
Scene.GetAvatars() instead now. [test #487 ]
2009-05-25 09:32:44 +00:00
Jeff Ames
d4957dd9be
Update svn properties.
2009-05-25 01:59:50 +00:00
Melanie Thielker
4e64bf9360
Prevent group deeded objects from being returned by the group return option
...
unless the user has that permission through the group.
2009-05-24 17:29:40 +00:00
Melanie Thielker
ca75c101ec
Allow the perms module to inspect and modify the list of objects to return
...
for more fine-grained control
2009-05-24 17:20:47 +00:00
Melanie Thielker
c028d0a3c1
Make group permissions control what a user can return.
2009-05-24 16:55:34 +00:00
Melanie Thielker
f3f7d60367
Add a new permissions check for bulk object returns.
2009-05-24 16:11:35 +00:00
diva
006c2c2e8f
Fixes map image on link-region (HG).
2009-05-24 02:09:20 +00:00
diva
fb6d314d4d
This should make HG asset transfers work much better. It now uses HGUuidGatherer, which is a subclass of UuidGatherer. Hence, on-line HG asset transfers use exactly the same UUID collection code as save oar/xml. If it doesn't work, it's Justin's fault :D
2009-05-23 17:51:13 +00:00
Adam Frisby
6b312d9340
* Implements automatic loopback handling for standalone regions.
...
* This /should/ make OpenSim behave properly when hosting behind a NAT router and utilizing port forwarding (but the router doesn't support Loopback)
2009-05-23 06:29:08 +00:00
Adam Frisby
31baeef469
* Pipes requestors IP address through all XmlRpcRequest delegates. This is needed to be able to 'NAT-wrap' the login sequence.
...
* If you have something using XmlRpc that isn't in core, change your method signature from:
(XmlRpcRequest request)
to:
(XmlRpcRequest request, IPEndPoint remoteClient)
2009-05-23 06:05:20 +00:00
Adam Frisby
3b1b3ac9bb
* Breaks OpenSim.. err I mean.. adds NAT translation support to EnableSimulator EventQueue methods.
...
* NB: This may actually break logins on certain regions. Shake well before consuming.
2009-05-23 05:44:18 +00:00
Adam Frisby
f8c569dc7c
* NetworkUtil now handles an error case in a way which is easier to debug.
2009-05-23 05:18:37 +00:00
Justin Clarke Casey
a3145e4e5a
* Reintroduce save iar test, which wasn't working because the asset service hadn't been manually post intiailized
2009-05-22 19:59:45 +00:00
Dr Scofield
3b689e506f
From: Alan Webb <alan_webb@us.ibm.com>
...
Changes to support client-side image pre-caching in the region. This
commit adds an additional calling sequence to the DynamicTexture data
and URL calls. The new interface allows a dynamic image to be loaded
into a specific object face (rather than the mandatory ALL_SIDES
supported today.
This is in part fulfilment of ticket #458 .
2009-05-22 16:22:49 +00:00
Dr Scofield
55442f3644
From: Alan Webb <alan_webb@us.ibm.com>
...
RequestUserInventory is supposed to drive a supplied callback
when it completes. In fact, it fails to do so if the user's
inventory does not exist (e.g. the inventory database is
unavailable for some reason), and the requestor is left
sleeping forever.
The code has been modified to return empty lists via the
callback as an accurate reflection of what is there: nothing.
2009-05-22 15:18:41 +00:00
Dr Scofield
1d02636c27
cleaning out warnings.
...
NOTE: we currently have a gazillion warnings caused stuff flagged as
"obsolete" (OGS1 stuff) --- what's up with that?
2009-05-22 14:57:00 +00:00
Dr Scofield
912be7a2ac
converting Chat module and Concierge module to new style region modules
2009-05-22 14:25:50 +00:00
Dr Scofield
1df80943b0
dropping sex from SceneBanner...
2009-05-22 14:21:44 +00:00
Dr Scofield
37726764be
changing IRCBridgeModule to new region module scheme
2009-05-22 11:37:26 +00:00
diva
da170cde46
Cleaning up a few HG things. HG Posts may now work in grids, but if the home grid is a standalone, this still doesn't work -- something wrong with RegionAssetService's DB connection.
2009-05-22 04:23:59 +00:00
Melanie Thielker
8f8e20b39d
Small update to make the command line work again
2009-05-21 23:07:26 +00:00
Melanie Thielker
e5f3337c3f
Implement .ini file includes. Anything that begins with "Include-" will be
...
treated as another ini source to load.
For example:
Include-Asset = AssetSetup.ini
will load AssetSetup.ini after all other ini files are done.
This works recursively, too
2009-05-21 23:06:10 +00:00
Dahlia Trimble
3d0f110f21
normalize quats before applying llSetRot()
2009-05-21 19:44:20 +00:00
MW
e4d68964dd
Added ITeleportModule interface, and added a hook into scene so if a module has registered this interface then that handles teleport requests rather the SceneCommunicationService.
...
As by default there is no ITeleportModule registered, Teleports by default will still be handled by SceneCommunicationService.
2009-05-21 10:41:16 +00:00
Melanie Thielker
4065ebff15
Remove the pre-log4net, discrete output methods from the consoles
2009-05-20 13:50:33 +00:00
Dr Scofield
4c7da1421f
refactoring instantiation of Location object: moving it out of the for
...
loop as it really is a "constant"
2009-05-20 13:37:25 +00:00
Melanie Thielker
20383a61b8
Thank you, StrawberryFride, for a patch to fix SceneBan behavior.
...
Applied with changes (commented the logging entirely, since Linux defaults
to debug level)
Fixes Mantis #3689
2009-05-20 11:27:15 +00:00
Melanie Thielker
a3fed17956
Fix a slight oversight in SceneInventory that would not enable copy to
...
inventory when permissions are bypassed
2009-05-20 10:54:35 +00:00
Jeff Ames
e0bc5c5db2
Add copyright headers, formatting cleanup.
2009-05-20 01:32:06 +00:00
Justin Clarke Casey
cd90ea377e
* minor: Tweak the command exception catcher of last resort to make a little more sense
2009-05-19 19:57:45 +00:00
Justin Clarke Casey
01ca3a91ad
* Take another attempt at http://opensimulator.org/mantis/view.php?id=3191
...
* Return something more sensible if a file isn't found
2009-05-19 19:41:01 +00:00
Dr Scofield
14f0d5e77f
trying to fix exception with in LLPacketQueue probably caused by
...
missing locks where the queue was modified.
2009-05-19 18:46:20 +00:00
Dr Scofield
8559f9bbba
From: Alan Webb <alan_webb@us.ibm.com>
...
The image render module is returning everything twice. Once with
data, once with null. This change adds a return to stop this
behavior. This was not apparent until I added a message to the
catching routine which issued a warning message when no data was
returned.
2009-05-19 18:34:04 +00:00
Melanie Thielker
88f17010b7
Add initializing m_scene if it's not null. Marking MyScene as [Obsolete]
...
because it will be removed soonish. This is NOT the way to go.
Thanks, mpallari, for pointing this out.
Fixes Mantis #3684
2009-05-19 16:26:20 +00:00
Dahlia Trimble
87b95e324e
Sculpt mesher refactor
...
adds some previously missing geometry to sculpties
new LOD improves vertex accuracy
fix torus mode mesh edge joining
sync with primmesher r37
2009-05-19 10:09:33 +00:00
Melanie Thielker
23d902be42
Remove the old asset cache and local services and the configurations for them
2009-05-18 23:18:04 +00:00
diva
df16532858
Bug fix and config rename.
2009-05-18 23:15:50 +00:00
diva
75b8b60aa1
Removing the last reference to CommsManager.AssetCache.
2009-05-18 22:22:09 +00:00
diva
13da5a9fba
Finished HG Service Store. Not fully functional because of problems with asset.ID insisting on being a UUID string.
2009-05-18 20:04:59 +00:00
Justin Clarke Casey
1cc9d1fd8d
* minor: another attempt at http://opensimulator.org/mantis/view.php?id=3191
...
* didn't realize that we were getting back plain old exceptions
2009-05-18 18:44:55 +00:00
Justin Clarke Casey
29671fc103
* Resolve http://opensimulator.org/mantis/view.php?id=3191
...
* Catch directory exception on load oar as well as file exception
2009-05-18 18:22:15 +00:00
Justin Clarke Casey
ad7214620f
* Re-enable save oar test by loading asset data plugins from test mock class
...
* Actually spit out the exception caught by the plugin loader - not much point having plugins throw exceptions if we are just going to ignore them
2009-05-18 17:46:14 +00:00
Dr Scofield
a885556063
From: Chris Yeoh <yeohc@au1.ibm.com>
...
We've encountered problems with textures never fully downloading and
objects not moving or being deleted (from the client's point of view)
even when the bandwidth settings on the client have been set very
low. This can happen over reasonably lossy links (eg you're on the
other side of the world from the server) as the server retries 3 times
and then gives up.
Whilst its possible to set ReliableIsImportant, this forces the server
to keep retrying no matter what which potentially could lead to
problems. This patch allows for the setting of MaxReliableResends
explicitly (is set to 3 normally) in OpenSim.ini so if you know you
will have clients connecting with poor connections you can set it a
bit higher (10-15 works quite well even for very poor connections).
2009-05-18 16:10:48 +00:00
Dr Scofield
e1a1d38aff
From: Alan Webb <alan_webb> & Dr Scofield<drscofield@xyzzyxyzzy.net>
...
Disable use of log4net in script domains to avoid mono 2.4 aborts.
2009-05-18 15:32:06 +00:00
Melanie Thielker
2534078380
Refactor: Change "Servers" to "Server", since the can only be one. Break
...
the handlers out of the asset server context into a generic scope.
2009-05-18 12:36:59 +00:00
Melanie Thielker
cb2ce61876
Move the connectors under services for reasons of application logic. Remove
...
the user server skeleton in preparation for introducing a generic server
2009-05-18 11:43:37 +00:00
Dr Scofield
e3f2cfa1ca
From: Alan Webb <alan_webb@us.ibm.com>
...
Fixes:
[1] Sharing exception on remote OAR management
[2] Occasional 505 error talking to Tomcat
[3] Occasional mono aborts caused by mlog in the
script engine's app domain (mono 2.4)
2009-05-18 10:04:28 +00:00
Charles Krinke
74f1c16c49
Thank you kindly, Jonc, for a patch that solves
...
the issue of a console command 'export-map file.jpg'
having the map flipped when exported.
2009-05-17 18:09:39 +00:00
diva
720e2bc5d9
Renaming [ServiceConnectors] back to [Modules].
2009-05-17 15:37:50 +00:00
Jeff Ames
5cfd84c924
Update svn properties.
2009-05-17 10:26:00 +00:00
diva
0379dbe2fd
Removing a superfluous message, just to make bamboo run again.
2009-05-17 02:15:08 +00:00
diva
aac8ca0411
HG asset transfers starting to work -- GETs only for now.
2009-05-17 01:38:43 +00:00
Homer Horwitz
99cf8e3f5a
Send the owner name, not the client name on SendDialog.
...
This modifies IClientAPI.SendDialog slightly.
Fixes Mantis #3661 .
2009-05-16 16:01:25 +00:00
diva
d8931def06
Another minor bug fix for making notecard/script savings work with old asset servers.
2009-05-16 00:23:32 +00:00
Justin Clarke Casey
c11e047410
* Resolve bug where save oar would never complete if any assets were missing
2009-05-15 20:20:55 +00:00
diva
5e4fc6e91e
Heart surgery on asset service code bits. Affects OpenSim.ini configuration -- please see the example. Affects region servers only.
...
This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing.
Known problems:
* HG asset transfers are borked for now
* missing texture is missing
* 3 unit tests commented out for now
2009-05-15 05:00:25 +00:00
Dahlia Trimble
14c1e991c6
some sculpted prim geometry accuracy and meshing speed improvements
2009-05-15 03:14:04 +00:00
Melanie Thielker
786ff98f6d
Remove all messages from the groups module that would be output when it is
...
NOT enabled.
2009-05-14 21:38:17 +00:00
Melanie Thielker
9248300596
Remove a misleading event that was only used internally
2009-05-14 21:28:02 +00:00
Justin Clarke Casey
6277156044
* When saving an oar, save assets when immediately received rather than storing them all up in memory
...
* Hopefully this will remove out of memory problems when saving large oars on machines without much memory
* It may also speed up saving of large oars
2009-05-14 20:37:54 +00:00
Justin Clarke Casey
02bac7fea4
* refactor: move SceneXmlLoader into subpackage
2009-05-14 18:46:17 +00:00
MW
80c1c10407
Added a bool variable to OGS1GridServices to be able to turn off the use of the remoteRegionInfoCache as caching region data like that stops a dynamic grid (where regions could change port or host at any time, useful for load balancing among other things) from working.
...
The bool is currently hardcoded to be true (to use the cache). So need to hook this up to a config option later.
2009-05-14 18:29:47 +00:00
Justin Clarke Casey
303aa4b65e
* refactor: move bottom part of 'xml2' serializaton to separate class
2009-05-14 18:08:54 +00:00
Justin Clarke Casey
d10b5e29bc
* refactor: break some of xml2 serialization out of sog
2009-05-14 16:33:04 +00:00
Melanie Thielker
d843b897b2
Move the connector for the new asset server to a connectors project. Inherit
...
the region module version from this. This enables inter-server connections
to reuse connetor code from region modules.
2009-05-14 06:18:18 +00:00
Melanie Thielker
50b305b006
Honor the temp and local asset flags
2009-05-14 03:07:00 +00:00
Melanie Thielker
13298fef0b
Fix up some URL details
2009-05-13 20:57:26 +00:00
Melanie Thielker
8bea196b5b
Add the port to the generated URL. For some reson this still doesn't want to
...
receive requests.
2009-05-13 20:45:28 +00:00
Melanie Thielker
fb3d5770dd
Make the LSL HTTP server create and give out URLs to scripts
2009-05-13 20:32:14 +00:00
Melanie Thielker
1196f3eac7
Add most of the meat to the LSL HTTP server
2009-05-13 04:04:26 +00:00
Melanie Thielker
ba8850f254
Plumb request and return URL functions.
...
Implements llRequestURL, llRequestSecureURL, llReleaseURL
2009-05-13 03:09:30 +00:00
Melanie Thielker
80ce08d8b2
Add a skeleton for the LSLHttpServer
2009-05-13 02:54:13 +00:00
Melanie Thielker
6c2302637f
Implement llAttachToAvatar()
2009-05-13 02:21:21 +00:00
Melanie Thielker
4cce1cc26e
Implement llDetachFromAvatar()
2009-05-13 02:06:12 +00:00
Charles Krinke
94e2768cc7
Add interface, stub implementation and
...
script stub for llGetHTTPHeader().
2009-05-13 01:58:17 +00:00
Charles Krinke
6257bb8b09
Add interface, implementation stub and
...
script stub for llGetFreeURLs().
2009-05-13 01:47:29 +00:00
Charles Krinke
a5feb0682a
Thank you kindly, BlueWall sir, for a patch that:
...
Adding a jsonp wrapper to the user supplied status report
uri if the key "callback" exists. It will work with many
javascript toolkits to provide an ajax callback to allow
the browser to update stats reports without the
intervention of an intermediate server.
2009-05-13 01:27:23 +00:00
Charles Krinke
4db2f71c45
Added interface, implementation stub and
...
script stub for llReleaseURL().
2009-05-13 01:21:50 +00:00
Charles Krinke
2776afd83d
Remove incorrect semicolon
2009-05-13 01:13:59 +00:00
Charles Krinke
c23bd2d6ea
Add interface, stubbed implementation and
...
script stub for llRequestSecureURL().
2009-05-13 01:06:06 +00:00
Melanie Thielker
e206a9ce88
Remove some no longer needed debug.
...
Fixes Mantis #9520
2009-05-13 00:58:10 +00:00
Charles Krinke
f63b83b085
Added interface, stub implementation and script
...
stub for llRequestURL().
2009-05-13 00:58:01 +00:00
Charles Krinke
ba99f2a1a5
Add interface, stub and bare implmentation for llHTTPResponse().
2009-05-13 00:29:50 +00:00
Melanie Thielker
88371e4f98
Fix interface registration/deregistration mechanics
2009-05-12 23:49:42 +00:00
Melanie Thielker
55dd6d4334
Make the accet cache module actually register the interface
2009-05-12 23:21:03 +00:00
diva
7bf1d111e2
Bug fix in SceneBase.RequestModuleInterface. Check that the list's count is greater than 0.
2009-05-12 23:06:43 +00:00
diva
12a470e6a7
Making SimStatsReporter a little more restrained in requesting the IEstateModule interface.
2009-05-12 22:48:54 +00:00
Adam Frisby
12d7063b0b
* Adds additional check to MRM rezzing - the host object must be created by the sim owner, not just owned by it.
2009-05-12 21:42:20 +00:00
Adam Frisby
3a28f748d5
* Adds ScenePresence.TeleportWithMomentum - same as .Teleport, but preserves velocity.
2009-05-12 21:21:33 +00:00
Adam Frisby
9f5679e60f
* EventManager's OnNewPresence event now fires correctly again.
2009-05-12 20:59:38 +00:00
Melanie Thielker
c582d54272
Correct addin XML
2009-05-12 19:50:09 +00:00
Melanie Thielker
c2bcd5845f
Commit the addin XML for the Core Asset Cache
2009-05-12 17:01:04 +00:00
Melanie Thielker
fca73f3ae4
Add more group notify glue
2009-05-12 15:52:28 +00:00
Melanie Thielker
1b7d0a6c93
Paving the way for syncing group permissions across a grid
2009-05-12 14:59:11 +00:00
Dr Scofield
c81c9e712c
fixing SocketException when IP address cannot be resolved
2009-05-12 14:57:42 +00:00
Melanie Thielker
68da7d1a43
Correctly reset the group ownership flag when a parcel is reclaimed.
2009-05-12 13:48:55 +00:00
Melanie Thielker
e1750c8c7c
Hook up deed permissions checking to the land module
2009-05-12 13:41:30 +00:00
Melanie Thielker
32ac388363
Add permission mechanisms for group deeding land
2009-05-12 13:29:38 +00:00
Adam Frisby
559355189a
* Applies Mantis #3630 - Adds support for outside MRM initialisation, makes MRMModule compatible with the Visual Studio MRMLoader ( http://forge.opensimulator.org/gf/project/mrmloader/ )
2009-05-12 13:10:04 +00:00
Charles Krinke
e08d0a7ba5
Thank you kindly, Patnad, for a patch that:
...
This patch allow you to see region rating from
the console. Type "show ratings" and it will
show you the rating of all your regions.
2009-05-12 03:35:07 +00:00
Charles Krinke
c1d680b6c3
Thank you kindly, Patnad, for a patch that:
...
This is to handle the changes in the v1.23 viewer
of LL regarding the adult rating. With this patch
a region can be changed to the adult rating from
LL viewer v1.23 and above.
2009-05-12 03:30:37 +00:00
Melanie Thielker
16efb78698
Changes to the new user system to add the modularity developed for the asset
...
system
2009-05-11 22:54:09 +00:00
Melanie Thielker
f948fab4da
Add AssetService of type IAssetService to Scene
2009-05-11 21:04:27 +00:00
Adam Frisby
6dcafec22d
* Implements IP and DNS based ban facilities to OpenSim.
...
* User interface is ... primitive at best right now.
* Loads bans from bans.txt and region ban DB on startup, bans.txt is in the format of one per line. The following explains how they are read;
DNS bans are in the form "somewhere.com" will block ANY matching domain (including "betasomewhere.com", "beta.somewhere.com", "somewhere.com.beta") - make sure to be reasonably specific in DNS bans.
IP address bans match on first characters, so, "127.0.0.1" will ban only that address, "127.0.1" will ban "127.0.10.0" but "127.0.1." will ban only the "127.0.1.*" network
2009-05-11 19:23:51 +00:00
Melanie Thielker
d7b2beea18
Add selling for $0 back to the sample economy module. This is disabled by
...
default but can be enabled in OpenSim.ini. If enabled, things can be sold
for $0. Other amounts will cause the buyer to see a message and the transaction
will fail.
2009-05-11 18:23:39 +00:00
Melanie Thielker
91bfd25ef8
Add a blue box to the stub money module to alert users that buying is
...
unimplemented
2009-05-11 18:06:50 +00:00
Jeff Ames
5164403676
Update svn properties.
2009-05-11 15:14:15 +00:00
Dr Scofield
ecc876bc18
Squashed commit of the following:
...
further ACL stuff:
- adding StrictAccessControl variable: DON'T set this to false if you
want to enforce ACL, it will disable ACLs right now. Default is
true.
once we've got code added to allow child agents but prevent them
from becoming root agents when the ACL denies access to the avatar,
setting this to false will then allow avatars to see into a
neighboring region but not enter it (currently ACL prevent both,
seeing and entering).
- enhancing log statements
2009-05-11 07:46:12 +00:00
Melanie Thielker
461e213a39
Plumb the HG asset broker. More naming changes to clarify things. Lots more
...
config options.
2009-05-11 02:59:26 +00:00
Melanie Thielker
225252f48e
Add the HG asset module skeleton
2009-05-10 22:55:44 +00:00
Adam Frisby
53a350573e
* Further testing against core packet issue.
2009-05-10 20:31:45 +00:00
Adam Frisby
da948a992a
* Attempting to diagnose a core packet issue on Windows/.NET. Adding additional locks to see if it fixes the problem.
2009-05-10 20:25:05 +00:00
Melanie Thielker
65c0996a9c
Use the new async handling class to actually make the new asset service's
...
async request perform asynchronously
2009-05-10 16:51:14 +00:00
Melanie Thielker
dc4f31db1a
Create an async form of the RestObjectPoster. Rename the file (but not the
...
class!) to SynchronousRestObjectRequester. Add CacheBuckets parameter to
cache
2009-05-10 16:20:25 +00:00
Melanie Thielker
1a910b6e1d
Connect up the new asset cache and introduce an asynchronous call path
...
for asset retrieval (full asset only) to ease migration to the new system
2009-05-10 14:03:06 +00:00
Melanie Thielker
d8e1842d25
Add some asset cache plumbing. Change the generic cache from UUID to string
...
keys to allow caching the new crop of URI identified objects.
2009-05-10 12:27:05 +00:00
Melanie Thielker
14a6880352
Fix the build break
2009-05-10 00:40:08 +00:00
Melanie Thielker
13b2ff83df
Small asset cache addition. Comment a debug output left in CAPS
2009-05-10 00:30:51 +00:00
Melanie Thielker
89d921c3b2
COmmitting the asset cache skeleton
2009-05-09 23:47:20 +00:00
Homer Horwitz
1d234ca83f
Fixed handling of inventory a bit
...
- AssetType isn't InventoryType. Those enums contain different numbers. Use AssetType for the asset type, InventoryType for the inventory type.
- The ToString method (or ToLower) of AssetType/InventoryType doesn't necessarily return the correct LLSD string.
- Replaced several magic numbers by their corresponding enum.
- Fixed the invType for gestures and animations in the library.
This should fix Mantis #3610 and the non-terminating inventory loading
2009-05-09 21:11:12 +00:00
Adam Frisby
c534d7f614
* Code to make MRM debugging easier.
2009-05-09 17:44:12 +00:00
Melanie Thielker
93d54d7652
Prevent normal (Text) IM from being logged by the group message module in
...
debug mode.
Fixes Mantis #3609
2009-05-09 17:02:03 +00:00
Melanie Thielker
e4236a4233
Fox a boo-boo in ExtraParams - a packet with no data blocks could crash
...
the session. Also allow multiple data blocks.
2009-05-09 12:04:40 +00:00
Teravus Ovares
b76405f50a
* Cripples the SampleMoneyModule code.
...
* The OpenSimulator core developers have voted to remove all currency functionality from OpenSimulator leaving the 'IMoneyModule' interface in. This affects all systems that used the example money module. This effects All systems that used the XMLRPC External Money Module Hooks interface. If you previously used this interface, please consult with the OpenSimWi Redux folk who are keeping the old module with this interface up to date.
* A notice to the opensim-dev mailing list to come as well.. since this is likely a breaking change for some.
2009-05-09 05:56:10 +00:00
Teravus Ovares
dac793ea47
* Break out the SampleMoneyModule to a new namespace
...
* Create the OpenSim.Region.ReplaceableModules namespace for modules that we intend to have people replace (see readme)
* Create the OpenSim.Region.ReplaceableModules.MoneyModule namespace
* Put our current Sample MoneyModule in this namespace. (more modifications here next commit)
2009-05-09 05:21:56 +00:00
Melanie Thielker
b3d29aaeb3
Make remote assets work through the new server system
2009-05-09 04:03:32 +00:00
Melanie Thielker
b2b13c5a42
Plumb the remote asset hookup, all but the actual requests
2009-05-09 03:08:11 +00:00
Melanie Thielker
c1e7352d75
Add the asset service connectors and sample config. READ WARNINGS!!!
2009-05-09 02:49:55 +00:00
Justin Clarke Casey
567e0d032c
* break out 'xml2' deserialization from sog
2009-05-08 19:18:37 +00:00
Justin Clarke Casey
9f39a490b5
* refactor: break out sog original xml serialization to a separate class
2009-05-08 18:05:54 +00:00
Justin Clarke Casey
fcfc97a4bf
* minor: rename xml sog serialization method for readability
2009-05-08 16:44:00 +00:00
Justin Clarke Casey
032e3b49eb
* refactor: Break out original xml object serialization into a separate class
...
* No functional change
2009-05-08 15:47:59 +00:00
Sean Dague
6b88a205d6
another possible cause of some of the inventory wierdness is the 1/2 implemented
...
OSP resolver, and the caching of the uuid seperate from the string that is a UUID.
Change this behavior back to something that ensures the data for the 2 is the same.
Put the 2 unit tests that depend on the new behavior into ignore state.
2009-05-08 15:40:39 +00:00
Dahlia Trimble
bd3a4e5f01
Added a Copy() method to PrimMesh and SculptMesh as suggested by dmiles. Sync PrimMesher.cs and SculptMesh.cs with PrimMesher.dll r36.
2009-05-08 03:04:45 +00:00
Sean Dague
6d36985bbc
remove misleading comment
2009-05-07 19:37:25 +00:00
Sean Dague
ce0a84cbc0
instrument most of the tests with a new InMethod function that may help us figure
...
out where that pesky deadlock is during test runs.
2009-05-07 19:07:08 +00:00
Justin Clarke Casey
7440681062
minor: Inconsquential change to provoke another build
2009-05-07 13:59:38 +00:00
Melanie Thielker
aa4e42069b
Change avatar updates to be processed the same way object updates are, e.g.
...
packet length check. More changes to come
2009-05-07 12:06:07 +00:00
Dr Scofield
3312938f6b
From: Alan Webb <alan_webb@us.ibm.com>
...
logs error message on empty data in DynamicTextureModule
2009-05-07 11:58:45 +00:00
Dr Scofield
1352a19838
refactoring Scene.NewUserConnection() to be simpler and clearer.
2009-05-06 20:02:49 +00:00
Charles Krinke
c84abfa9b1
Thank you kindly, Fly-Man- for a patch that:
...
Adding more SL likeness for Email module in CORE.
I've added some SL likeness to the Email module so
that it looks more like emails going out in the
same standard as SL uses
2009-05-06 02:29:29 +00:00
Homer Horwitz
7e731b024a
Allow temp-on-rez prims to take part in physics (e.g. temp-on-rez bullets)
...
This makes re-rezzed temp-on-rez objects visible, too. Fixes Mantis #3405
2009-05-05 19:44:19 +00:00
Justin Clarke Casey
f8e0653e73
* If an item creator id contains an iar loaded name, create a temporary profile and hashed UUID to represent the user
2009-05-05 16:45:21 +00:00
Dr Scofield
e0a06f6416
- moving banned check and public/private check to
...
Scene.NewUserConnection()
- adding reason reporting
this enforces estate bans very early on and prevents us from
circulating client objects that we'd then have to retract once we
realize that the client is not allowed into the region
2009-05-05 16:17:52 +00:00
Jeff Ames
8ea12ad6c0
Add copyright header. Formatting cleanup. Ignore some generated files.
2009-05-05 09:59:15 +00:00
Jeff Ames
6ae88d129a
Update svn properties.
2009-05-05 09:32:30 +00:00
Melanie Thielker
4c828e503c
Add the remote user connector skeleton
2009-05-05 05:48:29 +00:00
Melanie Thielker
26efb55f37
Change local user connector into a shared module
2009-05-05 05:42:48 +00:00
Melanie Thielker
8b9f8be512
Some refactoring. Database is now active in the new user server
2009-05-05 05:35:22 +00:00
Melanie Thielker
d1c9a41be0
Plumb the new server connector logic
2009-05-05 04:37:06 +00:00
Melanie Thielker
acfb5051cd
Intermediate commit. WILL NOT COMPILE!
2009-05-04 20:15:39 +00:00
Justin Clarke Casey
b3178c8079
* Resolve http://opensimulator.org/mantis/view.php?id=3573
...
* Override add user for HG user services to hit local services if present
2009-05-04 19:15:44 +00:00
Justin Clarke Casey
3a27a05607
* refactor: move OspResolver to a different namespace
2009-05-04 17:32:20 +00:00
Justin Clarke Casey
a61cbab799
* Insert profile references for creators for items saved into iars
2009-05-04 16:15:30 +00:00
Justin Clarke Casey
257fc5515a
* minor: remove some mono compiler warnings, minor cleanup
2009-05-04 15:38:36 +00:00
Justin Clarke Casey
509ec2637b
* Refactor: Simplify InventoryFolderImpl. No functional change.
2009-05-04 15:02:14 +00:00
Melanie Thielker
36dd346a91
Add a method to flush the prim update buffers once a frame, since the timer
...
appear to be too slow to be useful, or fail too fire. I may remove the timers
as a consequence if this.
2009-05-04 14:25:19 +00:00
Melanie Thielker
1b877234da
Refactor. Make ConsoleBase a true base class. Create CommandConsole as a simple
...
console capable of processing commands. Create LocalConsole as a console
that uses cursor control and context help. Precursor to a distributed
console system for the new grid services. No functional change intended :)
2009-05-04 12:15:55 +00:00
Melanie Thielker
b44a56e0b4
Add a parameter that limits the max size of the outbound packet. Defaulted
...
at 1400 since the headers get added to that (32 bytes plus UDP headers)
2009-05-04 02:24:30 +00:00
Melanie Thielker
8ac4ec738b
Create a working configuration hook to allow LLClient parameters from
...
Opensim.ini to take force
2009-05-04 01:57:18 +00:00
Melanie Thielker
0ecd965b8c
Some reorganization around service connectors. No functional change
2009-05-03 23:13:33 +00:00
Charles Krinke
e957a29ab0
Thank you kindly, Thomax, for a patch that:
...
Does not set prims to fullbright when an
ossl dynamic texture function is called.
2009-05-03 17:53:43 +00:00
Melanie Thielker
e8b532b26a
Make a race condition in packet resending smaller
2009-05-03 09:43:52 +00:00
Dahlia Trimble
09522743cb
alter behavior of sculpted prim "Inside out" setting. Addresses Mantis #3514
2009-05-03 06:25:52 +00:00
Adam Frisby
0c639e08ea
* Reversing experimental change in previous rev.
2009-05-02 23:00:51 +00:00
Adam Frisby
1027668359
* Experimental: Speeds maximum resend per second from 80 packets to 400. (From maximum 117kbit to 585kbit)
2009-05-02 22:01:47 +00:00
Melanie Thielker
229a4d54ca
If a packet pooling blows up, fail gracefully instead of disconnecting
...
the user
2009-05-02 21:21:20 +00:00
Melanie Thielker
780f34275b
Handle resends better
2009-05-02 20:08:26 +00:00
Adam Frisby
0b2a34438c
* Makes ObjectUpdate compressing tweakable in OpenSim.ini - introduces:
...
TerseUpdatesPerPacket=10
FullUpdatesPerPacket=14
TerseUpdateRate=10
FullUpdateRate=14
2009-05-02 19:09:48 +00:00
Melanie Thielker
66e25abbfe
Plumb conifg into the client views. Add config option to configure packet
...
dropping.
2009-05-02 17:31:49 +00:00
Charles Krinke
011448f69a
Thank you kindly, Fly-Man, for a patch that:
...
* Added the hostname so the email gets the
right hostname when going outbound
2009-05-02 16:42:35 +00:00
Charles Krinke
61d3c551fd
Thank you kindly, Thomax, for a patch that solves:
...
ConfigurableWind module doesn't show any effect as
time = DateTime.Now.TimeOfDay.Seconds / 86400;
calculates 0.
2009-05-02 16:38:59 +00:00
Charles Krinke
280d2cbf4a
Thank you kindly, BlueWall, for a patch that:
...
Move json stats to non-published resource name
Remove well-known resource name for json stats,
creating dynamic uris with private keys and add
a user configurable resource name for region owner usage.
2009-05-02 16:28:30 +00:00
Charles Krinke
47640aca22
Thank you kindly, MCortez for a patch that solves:
...
Different people using Hippo 0.5.1 report that trying
to send group instant messages crashes the viewer
(Hippo 0.5.1). This is the case even for empty groups
or if all group members are online.
2009-05-02 16:16:27 +00:00
diva
c4e6397a92
Rename CoreModules.Communications to CoreModule.ServiceConnectors and, inside it, REST to Remote.
2009-05-02 14:47:33 +00:00
Melanie Thielker
74ce07e971
Move a lock to attempt to cut down packet loss
2009-05-02 14:47:01 +00:00
diva
bdef6d71f1
Change of word in log message.
2009-05-02 14:12:35 +00:00
Melanie Thielker
62bcf0e694
Numerous packet improvements.
...
Don't allow packets to be resent before they have actually been sent for the
first time. Switch from serializing a packet to get it's length to the LibOMV
provided Length property. Fix resend timing. Fix the use of dangling references
to Acked packets. Fix the packet handler to play nice with the packet pool.
Fix the packet pool. Add data block recycling to the packet pool. Packet pool
is now ENABLED by default. Add config option to disable packet and data block
reuse. Add ObjectUpdate and ImprovedTerseObjectUpdate to the packets being
recycled.
2009-05-02 13:16:41 +00:00
Melanie Thielker
ac944def3f
Fix the issue that stopped the packet pool from working. Add a mechanism
...
to recycley data blocs within a packet. Recycle the ObjectUpdate* data
blocks. Speeds up loading even more.
This may mean that the packet pool is now viable.
2009-05-02 00:14:04 +00:00
Melanie Thielker
0f721da5f1
Add a tweakable for the prim queue preload
2009-05-01 19:33:18 +00:00
Melanie Thielker
52d80249d3
Throttle prim sending a bit (again) to ensure the queues don't overrun and
...
clog
2009-05-01 18:24:56 +00:00
Melanie Thielker
8020af6184
Add methods to block and queue agent updates during region crossing and TP
...
This is to ensure integrity of animations and script states with regard
to controls pressed or released. No user functionality yet.
2009-05-01 17:10:42 +00:00
Melanie Thielker
13c597baba
Send the animations of all already present avatar to an avatar entering a sim
...
to stop the "folded legs" on simcross
2009-05-01 16:47:53 +00:00
Melanie Thielker
55a69f3f2d
Improve prim sending by combining multiple prim updates into a single packet
2009-05-01 16:29:15 +00:00
Justin Clarke Casey
e7078520db
* refactor: move iar name hashing into a method
2009-04-30 19:57:07 +00:00
Melanie Thielker
c7fd036b35
Estate owners who are not administrators, even in god mode, should not be
...
able to edit a real god's objects. Minor tweak.
2009-04-30 15:38:10 +00:00
Melanie Thielker
e901c8be17
Thank you, mpallari, for a patch that correct the behavior of the avatar
...
performance patch.
Fixes Mantis #3562
2009-04-30 15:26:37 +00:00
MW
ceb4db5272
Fixed a bug in the permissions module, where if there were multiple admins, the client permissions flags were sent incorrectly, which stopped one admin being able to edit another admin's objects. Even thought the comments in the code said that admins should be able to edit each other's objects.
2009-04-30 14:56:26 +00:00
Melanie Thielker
334738fca9
Thank you, mpallari, for a patch that increses efficiency by combining
...
avatar updates into a single packet.
Applied with changes.
Fixes Mantis #3136
2009-04-30 11:58:23 +00:00
Charles Krinke
8944ab910c
Thank you kindly, MCortez for a patch that:
...
The attached patch provides the necessary infrastructure to support
security and authentication features of the xmlrpc server.
* Read/Write keys for accessing a Group's xmlrpc service.
* Requiring user session verification for write operations.
2009-04-29 22:31:00 +00:00
Melanie Thielker
e2327384e0
Catch another j2k decode exception that can be caused by a bad asset
2009-04-29 21:01:01 +00:00
Melanie Thielker
98cdc1efdd
Fix a crash that will hit when an image asset is truncated in storage
2009-04-29 20:32:40 +00:00
Justin Clarke Casey
10415c579b
* Correct log message format
...
* Fix XmlRpcGroupData.XmlRpcCall() to correctly handle response
2009-04-29 19:38:20 +00:00
Justin Clarke Casey
40c2e2e84f
* Add test to check temp profile creation on iar load
2009-04-29 19:31:48 +00:00
Justin Clarke Casey
1bf0bc8bb3
* Apply further groups xmlrpc to stop an exception in the exception handler
...
* Thanks mcortez
2009-04-29 18:52:10 +00:00
Justin Clarke Casey
517a454086
* Apply http://opensimulator.org/mantis/view.php?id=3557
...
* Stops XmlRpcGroups crashing client sessions if there is an XMLRPC failure
* Thanks mcortez
2009-04-29 18:22:49 +00:00
Justin Clarke Casey
978f98fe7e
* Apply http://opensimulator.org/mantis/view.php?id=3554
...
* Stop converting serviceURL to all lower case.
* Thanks mcortez
2009-04-29 18:14:34 +00:00
Justin Clarke Casey
af73bcd363
* Actually change the default oar file name to region.oar instead of scene.oar, for clarity
2009-04-29 18:12:50 +00:00
Justin Clarke Casey
c320dca2db
* minor: remove some mono compiler warnings
2009-04-29 18:11:41 +00:00
Justin Clarke Casey
23aa85b75d
* Make scene.oar the default oar target rather than scene.oar.tar.gz, in an attempt to reduce confusion
2009-04-29 18:03:31 +00:00
Justin Clarke Casey
7d11434a9c
* Add missing System.Reflection reference from last commit
2009-04-29 17:56:25 +00:00
Justin Clarke Casey
c56f928c80
* Adjust load iar unit test to check load of items with creator names that exist in the system but which are not the loading user
2009-04-29 17:46:13 +00:00
Melanie Thielker
d604cd284e
Again, completely revamp the unlink code to finally allow unlinking
...
arbitrary combinations of root and child prims from one or multiple
link sets. Please test throughly and consider things UNSTABLE until
this is proven out.
2009-04-29 15:54:16 +00:00
Dr Scofield
84701701ef
fixes exception thrown when client session is shutdown while
...
packethandler still active
2009-04-29 12:31:43 +00:00
diva
ff0684a9f3
Flipping check_session xmlrpc's keep-alive to false, because some clients hang.
2009-04-29 03:01:19 +00:00
Melanie Thielker
7e972b304b
Let estate owners and managers enter nonpublic estates unconditionally.
...
Let gods go to nonpublic estates as well.
2009-04-28 22:53:10 +00:00
Justin Clarke Casey
cac6971099
* Get rid of some extraneous debug log output from the last commit
2009-04-28 19:54:57 +00:00
Justin Clarke Casey
898326b5e9
* Stop oar loading barfing if the archive contains directory entries
2009-04-28 19:40:02 +00:00
Justin Clarke Casey
52d5628806
* Add preliminary code for resolving iar profile names
...
* Not yet active
2009-04-28 17:47:09 +00:00
Melanie Thielker
1fdebf361f
Correctly handle group owned land in the Datasnapshot module. Will return
...
owner uuid = grou uuid ans owner name = group anme for group land now.
Group name is now filled in
2009-04-28 00:37:23 +00:00
Melanie Thielker
c856f21231
Thank you, Fly-Man, for a patch that fixes propagating the group
...
id into the data snapshot properly
Fixes Mantis #3545
2009-04-28 00:08:17 +00:00
Melanie Thielker
6b5a110857
Make sure that, on "Anyone can copy" the person copying the object
...
has transfer perms as well as copy perms.
This may block some cases where the owner would normally be able to take
copy.
Fixes Mantis #3464
2009-04-27 23:12:35 +00:00
diva
4ec9979475
Another attempt at mantis #3527 .
2009-04-27 17:19:29 +00:00
diva
81bc38708a
Thanks Tommil for a patch that adds a caching option to GetAssetStreamHandler. It is used in the RegionAssetService.
2009-04-27 15:23:18 +00:00
Melanie Thielker
36a02441c5
Thank you, Orion_Shamroy, for a patch to expand notecard reading
...
capabilities in OSSL.
Fixes Mantis #3543
2009-04-27 14:16:01 +00:00
Dr Scofield
c91a79c3d2
From: Alan Webb <alan_webb@us.ibm.com>
...
If an avatar is sitting when the client disconnects, the avatar
is not disassociated from the SOG on which (s)he was sat. This
produces any, and varied, effects.
I have updated RemoveCLient in Scene, to check, and stand the
client up immediately prior to disconnect. This seems like the
most robust way to handle the situation. Though in this case
it might be worth factoring out the animations from other
standup processing. It does no harm, but in this case it is
entirely redundant.
2009-04-27 14:04:01 +00:00
Melanie Thielker
d98a916006
Thank you, Orion_Shamroy, for a patch that adds osGetNotecardLine and
...
osGetNumberOfNotecardLines
Fixes Mantis #2942
2009-04-27 12:05:49 +00:00
Dr Scofield
515e62dc2f
From: Alan M Webb <alan_webb@us.ibm.com>
...
Added support for access control lists.
Scene: Added test to AddNewClient for an entry in the access
list when connecting to a region with limited access.
EstateSettings: Added an HasAccess(UUID) property to test for
an entry in the estate's access list.
RemoteAdmin: Add RPC calls for admin_acl_list, clear, add,
and remove.
2009-04-27 11:51:25 +00:00
Jeff Ames
8dbcfc70bf
Add copyright headers. Formatting cleanup.
2009-04-27 05:22:44 +00:00
Jeff Ames
6077bbda30
Update svn properties.
2009-04-27 03:22:31 +00:00
diva
d8313e314f
Getting rid of -hypergrid=true on the command line. This config now goes inside OpenSim.ini in the Startup section. This makes the HG compatible with -background, and prepares the way for further work on HG-related config vars. Might help with mantis #3527 .
2009-04-27 00:16:59 +00:00
diva
1ce362323e
HGWorldMap got a bit out of sync during the introduction of the new module system. Should work now. Fixes mantis #3533 .
2009-04-26 23:57:18 +00:00
diva
d95bfc8eec
Bug fix in initialization of RegionAssetServer/MXP. Sometimes the MXP section in ini doesn't exist.
2009-04-26 23:21:56 +00:00
Homer Horwitz
ac3154e6b7
- Setting groups-messaging module to by disabled by default (groups module already is).
...
- Make sure it really is Close()d when the configuration isn't sane.
2009-04-26 18:26:01 +00:00
Melanie Thielker
647368f53f
Thank you, mcortez, for a patch to fix group notice delivery
2009-04-26 18:19:14 +00:00
Charles Krinke
c3d619498f
Thank you kindly, Ewe Loon, for a patch that solves:
...
PRIM_TEXGEN not in llSetPrimitiveParams. Patch has
been included to implement it.
2009-04-26 00:45:48 +00:00
Charles Krinke
ad4738ff33
Thank you kindly, RemedyTomm, for a patch that fixes:
...
llSetPrimitiveParams in a large linkset can disrupt the
entire region. However, when the script is in a large
linkset, it appears to totally lag out the scene and
stops updates from being sent.
2009-04-25 19:54:51 +00:00
Melanie Thielker
2a64a1ead4
Remove second timestamp in offline IM, the client already adds one
2009-04-25 19:02:23 +00:00
Charles Krinke
c17a125445
Thank you kindly, MCortez for a patch that:
...
The attached patch fixes a few problems that people were
having with the Messaging provided by the XmlRpcGroups
optional module, namely:
* Fixes 2x echo in group messaging
* Fixes problems with cross instance, non-neighbor, messaging
2009-04-25 18:58:18 +00:00
Dahlia Trimble
4792e6139a
Thanks Bluewall for Mantis #3519 : a patch that adds simulator uptime and version to REST/json statistics reporting
2009-04-25 05:06:01 +00:00
Teravus Ovares
917849eaac
* More debug warning message removal in the FreeSwitchVoiceModule
2009-04-25 01:15:34 +00:00
Homer Horwitz
6a08accde0
- Moved WorldMapModule and HGWorldMapModule to the new region-module system
...
- Cleaned up some whitespace
2009-04-24 20:37:15 +00:00
Justin Clarke Casey
2246b4daaa
* Write separate unit test for replicating iar structure to a user inventory
2009-04-24 19:43:54 +00:00
Dahlia Trimble
6f3437b77e
some code cleanup
...
sync with primmesher r35
2009-04-24 19:43:15 +00:00
Dahlia Trimble
9c13a93583
Limit hollow size of physics proxy to 95%
2009-04-24 19:28:29 +00:00
Justin Clarke Casey
8fe70c826d
* minor: move user profile test utils to test/common/setup for future reuse
2009-04-24 19:19:19 +00:00
Justin Clarke Casey
eeb1908bce
* Refactor: break out loading of archive paths into inventory into a separate method
2009-04-24 19:10:13 +00:00
Justin Clarke Casey
35c7aae455
* correct spelling mistake in item seiralization
2009-04-24 15:56:41 +00:00
Justin Clarke Casey
d69a018ba8
* Write basic, incomplete load iar test
2009-04-24 15:02:48 +00:00
Adam Frisby
883f7dde38
* Implements Microthreading for MRM scripting.
...
* This is achieved through two new keywords "microthreaded" and "relax". example:
public microthreaded void MyFunc(...) {
...
relax;
...
}
2009-04-24 05:33:23 +00:00
Jeff Ames
8afeee9ff6
Update svn properties, add copyright headers, formatting cleanup.
2009-04-24 00:58:48 +00:00
Justin Clarke Casey
1ccc99a3f9
* refactor: move archive user inventory item serialization out to a separate file
2009-04-23 20:15:05 +00:00
Justin Clarke Casey
0d51c22620
* Allow interested user data plugins to store temporary user profiles
...
* Database and the OGS1 plugins are not interested and hence ignore these calls
2009-04-23 18:57:39 +00:00
Justin Clarke Casey
ef9d140022
* Add user data plugin to store temporary profiles (which are distinct from cached)
...
* Plugin not yet used
* Existing functionality should not be affected in any way
2009-04-23 18:24:39 +00:00
Dr Scofield
07b435b2b9
From: Alan Webb <alan_webb@us.ibm.com>
...
Cleanup tabs and spacing.
2009-04-23 14:38:55 +00:00
Dr Scofield
4b7a208559
From: Alan M Webb <alan_webb@us.ibm.com>
...
Some other IRC timing wrinkles showed up:
[1] If connect processing blocked in socket activation, then
the watch dog saw the session as connected, and eventually
tried to ping, but because the socket create was still
blocked, it barfed on a null reference. This then drove
reconnect. Changed the watchdog handler so that it only
tries to ping connections that are connected and not pending.
[2] If the socket creation actually fails, then the connect and
pending flags were reset. This resulted in the connection
being retried at the earliest possible opportunity. The
longer login-timeout is preferrable, so the status flags
are not reset, and the failed login is eventually timed
out.
[3] The Inter-connection interval is primed so that the first
session can connect without delay.
2009-04-23 09:06:36 +00:00
Teravus Ovares
77bd7da9cc
* Fix another crash bug in the FreeSwitchVoiceModule
2009-04-23 06:31:32 +00:00
Teravus Ovares
dc640465a8
* Tweaking the dialstring so the sip_contact_user variable is set to the dialed user. This stops the client from complaining and might be useful later. Resolves the 'unable to parse id from mod_sofia@ip:port' message.
2009-04-23 05:22:02 +00:00
Justin Clarke Casey
bd8e4a8892
* Fix hypergrid standalone login by overriding AddNewUserAgent in HGUserServices
2009-04-22 23:04:32 +00:00
Justin Clarke Casey
342126b7b9
* Resolve http://opensimulator.org/mantis/view.php?id=3509 by putting some service initialization into CommsManager
...
* What is really needed is a plugin and interface request system as being done for region modules
2009-04-22 22:19:43 +00:00
Justin Clarke Casey
4254733e8a
* Resolve http://opensimulator.org/mantis/view.php?id=3509 by passing up the comms manager rather than null
2009-04-22 20:09:45 +00:00
Justin Clarke Casey
c25ceb009e
* minor: remove some compiler warnings
2009-04-22 19:43:58 +00:00
Justin Clarke Casey
3ace45a839
* Fix windows build from last commit
2009-04-22 18:36:45 +00:00
Justin Clarke Casey
2c81e41c8a
* Fission OGS1UserServices into user service and OGS1 user data plugin components
...
* Make OGS1UserServices inherit from UserManagerBase
* This allows grid mode regions to use the same user data plugin infrastructure as grid servers and standalone OpenSims
2009-04-22 18:15:43 +00:00
Dr Scofield
7dbcf0570f
From: Alan Webb <alan_webb@us.ibm.com>
...
Changes to enable script state persistence across non-restart
serialization situations (inventory/OAR/attachments)
Also fixing test cases for OAR and IAR so they don't barf with the new code.
2009-04-22 18:09:55 +00:00
Dr Scofield
d455d579d0
more cleanup
2009-04-22 18:00:59 +00:00
Charles Krinke
84602c9480
Thank you kindly, Marcus Llewellyn, for a patch that:
...
An attachment with the physical checkbox checked will not allow the
phantom checkbox to be cleared. This interfers with scripting
functions such as llMoveToTarget(), which won't work while an object
is phantom. If the prim containing the script is rezzed to the ground,
it will then allow the phantom checlbox to be cleared, and the script
works as expected.
2009-04-22 14:44:19 +00:00
Adam Frisby
d6b62b677c
* Committing stub VW-over-HTTP ClientStack. (2/2)
...
* Minor MRM tweak.
2009-04-22 10:11:12 +00:00
Dr Scofield
956be49238
further cleanup (lower casing non-public vars and local vars)
2009-04-22 10:03:38 +00:00
Dr Scofield
458f7eb9b3
cleaning up, fixing warnings
2009-04-22 09:42:44 +00:00
Teravus Ovares
c397f05be7
* Some tweaks to the FreeSwitchModule to allow a well known hostname and avoid a double // in a path which causes account verification to fail
...
* The change shouldn't affect anyone who has it working currently and makes it a ton easier for everyone else to get it working.
* Handle a case when there's no Event-Calling-Function but it's obviously a REGISTER method
2009-04-22 06:07:39 +00:00
Melanie Thielker
338655e9d5
Fix loading notecards from LSL. The first time a notecard was accessed, the
...
ID returned from the call would differ from the one later sent
via dataserver(), causing AOs to fail.
2009-04-22 01:43:07 +00:00
Jeff Ames
6aa5d3904d
Add copyright headers. Formatting cleanup.
2009-04-22 00:48:56 +00:00
Charles Krinke
5ea4faa6f2
Thank you kindly, MCortez, for a patch that:
...
* Refactors the xmlrpc calls to a single location to
make it easier to debug and include alternative
xmlrpc call mechanisms
* Includes an alternative xmlrpc call mechanism that
sets HTTP Keep-Alive to false which solves nearly all
System.Net exceptions on some windows environments
2009-04-21 20:44:17 +00:00
Charles Krinke
27c8cc5b1f
Thank you kindly, TLaukkan for a patch that:
...
Added support for loading bare asset binaries (as opposed to
xml encoded asset base) to both sandbox asset service and cable beach.
* Added support for enabling region asset service when mxp is enabled.
* Moved base http server content type defaulting before invocation of
request handle method to allow for variable content type in the response.
2009-04-21 19:42:36 +00:00
Dr Scofield
4a8313f14c
culling AsteriskVoiceModule and SIPVoiceModule, now that we have
...
working FreeSwitchVoiceModule and soon will have a fully working
VivoxVoiceModule.
2009-04-21 16:06:16 +00:00
Charles Krinke
6bd8e1eb99
Thank you kindly, MPallari for a patch that:
...
This patch adds few properties to ScenePresence and
thus allows region module or MRM script:
1. Force flying for avatar or,
2. Disable flying from avatar
2009-04-21 15:52:35 +00:00
Jeff Ames
13f5dd5f35
Update svn properties.
2009-04-21 15:30:03 +00:00
Dr Scofield
f31a60bad7
From: Alan Webb <alan_webb@us.ibm.com>
...
Fixes IRC reconnect problem
When a session fails to establish, the login attempt eventually
times out and the login is retried. This should occur once every
25 seconds (to give the server plenty of time to respond). In fact
the interval was typically only 10 seconds, this was being caused
by a second reset that was being scheduled when the failed
listener thread was terminated. Because the second reset occurred
inside the ICC timeout, it eventually gets scheduled after only
10 seconds.
In addition to this, the connector was being added to the monitoring
twice. This was harmless, but entirely redundant.
Both of these problems have been fixed and tested. Each connector
now maintains a count of how often it has been reset. The listener
thread records this value on entry and checks for a change on exit.
If the counts are the same, then the listener is exiting and can
potentially reschedule the connection.
2009-04-21 13:17:34 +00:00
Adam Frisby
594c7c3eb1
* Implements Extensions to MRM. This allows Region Modules to insert new classes into OpenSim MRM's.
...
* Example in region module:
Scene.GetModuleInterface<IMRMModule>.RegisterExtension<IMyInterface>(this);
* In the MRM:
//@DEPENDS:MyExtensionModule.dll
...
Host.Extensions<IMyInterface>.DoStuff();
2009-04-21 04:55:53 +00:00
Melanie Thielker
01a22d940f
Change a bad use of a type name as a variable. Thanks, Fly-Man
...
Fixes Mantis #3497
2009-04-20 21:58:32 +00:00
Melanie Thielker
d91330ea35
Add PlacesQuery packet
2009-04-20 20:43:48 +00:00
Teravus Ovares
c5a3ff231f
* It turns out vehicle Angular Motor direction is always in global space.
2009-04-20 17:46:37 +00:00
Melanie Thielker
dd0fa5745e
It is possible that apacket is recieved before the clint stack is fully ready.
...
This causes a nullref we need to catch here.
2009-04-20 17:24:09 +00:00
Melanie Thielker
3340217320
Also make GroupsMessaging quit trying to run and reduce it's debug
...
spamming somewhat
2009-04-20 13:59:18 +00:00
Melanie Thielker
6a8fe8a84e
Prevent a null ref if a notecard is not found
2009-04-20 13:56:16 +00:00
Melanie Thielker
489758f68a
Make sure that the groups module is really disabled when it's not configured.
...
Fixes an issue where the presence of any groups section will make XmlRpcGroups
think it should hook client events.
2009-04-20 13:39:41 +00:00
Teravus Ovares
b98f93212b
* Prevent a vehicle crash
2009-04-20 06:56:53 +00:00
Teravus Ovares
21d4423030
* Allow passing of material type to physics engine
...
* Define low friction and medium bounce for Glass
2009-04-20 03:07:53 +00:00
Charles Krinke
aff38e2dd2
Thank you kindly, MPallari, for a patch that:
...
This patch adds new property to ScenePresence: SpeedModifier.
With this, one can modify avatars speed from region module
or MRM script.
2009-04-19 17:19:31 +00:00
Charles Krinke
088ed68562
Fixes Mantis#3489. Thank you kindly, MCortez for a patch that:
...
Group profile page is showing an empty dropdown for titles and
this patch fixes this.
2009-04-19 16:22:26 +00:00
diva
4f07370d94
Accounting for the changes introduced in AssetServerBase in r9143 related to starting the thread manually. Fixes mantis #3490 .
2009-04-19 15:07:29 +00:00
Homer Horwitz
33e1316ced
Terrain changes done via osTerrainSetHeight aren't shown immediately to the clients in
...
that region. I decided against sending the terrain on every call to osTerrainSetHeight
(which makes it abysmally slow), and added a osTerrainFlush instead, which should be
called after all the terrain-changes have been done. Changed some return types to
LSL types, too, and removed some end-of-line spaces.
2009-04-19 13:34:28 +00:00
Homer Horwitz
9c3ec87b97
Moved ITerrainModule and ITerainEffect to OpenSim.Region.Framework.Interfaces and added a TaintTerrain method
2009-04-19 13:33:46 +00:00
idb
716e1fe0e1
Keep IsColliding updated for the recent changes in ScenePresence so that walk/stand animations will get used instead of just falling
2009-04-19 12:28:29 +00:00
Teravus Ovares
03901c8c0d
* Rudimentary angular motor implementation for the LSL Vehicle API
2009-04-19 08:12:10 +00:00
Dahlia Trimble
5f1fa0d3d7
Added a "force_simple_prim_meshing" option to the ODE settings in OpenSim.ini which will use meshes for collisions with simple prim shapes rather than internal ODE algorithms. This may help with Mantis #2905 and Mantis #3487 for those experimenting with capsule settings.
...
Note that this will increase memory usage and region startup time.
2009-04-19 01:21:38 +00:00
Charles Krinke
a416e75ddb
Thank you kindly, MCortez, for a patch that:
...
This hooks up the LandManagementModule to handle the DeedParcelToGroup
packet. Now people can start testing land assigned to and owned by groups.
Also fixes a viewer crash issue when searching for and then joining a group
with an agent that is not already being tracked by groups server.
2009-04-19 00:11:14 +00:00
diva
06f0515d14
Bug fix in HG asset posts. Get the inner assets not just from mem cache but from asset service, because the inner ones may not be in mem cache.
2009-04-18 22:46:48 +00:00
diva
5ae8ad55cd
Little bug fix on the Groups module to get over an exception upon login.
2009-04-18 22:31:38 +00:00
Charles Krinke
659b55905d
Thank you kindly, MCortez, for a patch that:
...
Added is a patch that adds a rough Groups implementation. This patch allows
the creation, adding and maintaining Groups, Roles and Members. Work has begun
on a very naive implementation of messaging, and minimal support for notifications
{no attachments yet}. Proposals are not yet supported, but are on the to-do list.
This implementation is not active by default, and must be configured in
OpenSim.ini to become active.
2009-04-18 21:33:48 +00:00
Melanie Thielker
d285ccb5cf
Allow reading of notecards by asset ID.
...
Fixes Manthis #3420
2009-04-18 19:08:35 +00:00
Charles Krinke
2578db3dfa
Thank you kindly, RemedyTomm for a patch that:
...
Following feedback from 0003440, i've made some changes to the new texture pipeline to optimise
performance. The changes are:
- Fixed a math issue where a small percentage of images with a certain size (on the packet boundary) would not have their final data delivered. This issue has been present since pre- 0003440
- It was suggested that a discardlevel of -1 and a prioriy of 0 meant to abandon the transfer, this is incorrect and caused some textures to clog.
- The texture throttle blocking queue is now only filled in relation to the actual throttle amount.. i.e, on a connection throttled to 300k, only twenty packets will be placed in the queue at a time, on a larger connection it will be much more. This is to balance responsiveness to requests and speed, and to minimise wasted packets.
- The engine now keeps track of the number of pending textures, and the stack will not be walked if there's no textures pending, saving CPU. Textures are only considered "pending" when they've already been decoded.
- As part of the above, some textures may receive twice as much data per cycle if the number of pending textures is below the cycle threshold, this should prevent loading from slowing down when there are fewer textures in the queue.
2009-04-18 18:35:03 +00:00
Dahlia Trimble
15b9c528c5
Add some documentation. (note this is *not* a thinly veiled attempt to increase my commit frequency *wink*)
2009-04-18 17:15:56 +00:00
Charles Krinke
aa86305a41
Thank you kindly, StrawberryFride, for a patch that:
...
Adds a test to see if the first option on osDynamicTextureData is "AltDelim",
then picks up the first character after the whitespace and uses as a delimiter
instead of ;. If this string does not appear at the start of the data, the
default ; will be used, hence this should not break existing code.
2009-04-18 17:05:51 +00:00
diva
8e08dd20dc
Thank you dslake for diagnosing and fixing a race condition in OGS1SecureInventoryServer (mantis #3483 ). The provided patch was slightly modified to narrow the locking scope to smaller portions of the functions. Applied the same locking to HGInventoryService, which suffered from the same race condition.
2009-04-18 16:37:05 +00:00
idb
21d80b28aa
Obtain the owner name for the X-SecondLife-Owner-Name header in llHTTPRequest when the owner is offline/not in the region.
...
Fixes Mantis #3454
2009-04-18 14:21:54 +00:00
Adam Frisby
b2a7c1468e
* Adds IObject.Shape to MRM
...
* Implements Sculpty modification support to MRM
* Example: IObject.Shape.SculptMap = new UUID("0000-0000-0000....");
2009-04-18 05:43:40 +00:00
diva
c41d2a1e3d
Bug fix for standalone HG login. VerifySession should be local for local users.
2009-04-18 02:55:45 +00:00
diva
722be8f132
Thank you M1sha for diagnosing and patching a lock bug affecting region crossings introduced in r9110. Fixes mantis #3456 .
2009-04-17 23:55:59 +00:00
Teravus Ovares
68190617b4
* A few fixes to the Linear Motor
2009-04-17 23:04:33 +00:00
Charles Krinke
b4cb45bb79
Fixes Mantis # 3469. Thank you kindly, BlueWall, for a patch that:
...
This patch adds extended status reporting with the url
http://server:port/simstatusx/ [^] . The data is returned
in json format as "text/plain" type.
2009-04-17 21:48:48 +00:00
Teravus Ovares
07c113a766
* Add Implementation of Linear Motor and Linear friction from the LSL Vehicle API in Physics
2009-04-17 21:10:54 +00:00
Sean Dague
7f30be17d0
experimental freeswitch code, imported from Rob Smart's tree
2009-04-17 20:00:30 +00:00
idb
d9896ff71a
Correct detected rotation to return the same value as llGetRot in the object being detected.
...
Fixes Mantis #3467
2009-04-17 19:39:37 +00:00
Justin Clarke Casey
bd1b478f2c
* Change inventory archiver module to use profile cache
...
* Clean up some log messages
2009-04-17 19:11:03 +00:00
Justin Clarke Casey
a29d7c9040
* Use profile cache service for data snapshot
2009-04-17 18:06:40 +00:00
Justin Clarke Casey
e999c78600
* Also use the profile cache for osKey2Name()
2009-04-17 17:33:31 +00:00
Justin Clarke Casey
be1855f163
* Use cached user profiles in osAvatarName2Key()
2009-04-17 17:22:58 +00:00
Justin Clarke Casey
83c9a6a230
* Change profile check for add user to run through the cache service
2009-04-17 16:06:35 +00:00
Dr Scofield
91bd87add1
- disabling logging of non-system IRC messages
2009-04-17 16:00:02 +00:00
lbsa71
a189da844a
* Moved the DefaultConfig settings into already-existing ConfigSettings
2009-04-17 15:09:37 +00:00
Dr Scofield
96a22862d2
adding log statement on shutdown in background mode
2009-04-17 13:27:32 +00:00
Dr Scofield
3b70d14e62
fixes System.UnauthorizedAccessExceptions when trying to load OARs from
...
read-only files on linux.
2009-04-17 08:11:34 +00:00
lbsa71
bbe1e19696
* Some more work on refactoring configs;
...
* Moved the constants out into a separate DefaultConfig
* Pulled configMember up
* Some minor CCC
2009-04-17 05:52:46 +00:00
Teravus Ovares
e95fe66dd5
* Set some minimum values to avoid divide by zero errors.
2009-04-17 04:38:31 +00:00
Teravus Ovares
0d00a767bc
* Commit a few fixes to the Vehicle settings
...
* Vertical Attractor servo
2009-04-17 04:34:52 +00:00
Justin Clarke Casey
235ae95b50
* minor: Eliminate redundant argument in PreloadUserCache
2009-04-16 20:24:11 +00:00
Dr Scofield
4de3f9b597
trying to fix exception in Random.Next() probably caused through sharing of
...
WindModule plugins --- manifesting itself through:
2009-04-16 15:32:02,764 [Heartbeat for region sea 3] [Scene]: Failed with exception System.IndexOutOfRangeException: Array index is out of range.
at System.Random.Sample () [0x0003e] in /usr/local/src/mono/build/mono-2.0.1/mcs/class/corlib/System/Random.cs:91
at System.Random.NextDouble () [0x00000] in /usr/local/src/mono/build/mono-2.0.1/mcs/class/corlib/System/Random.cs:142
at OpenSim.Region.CoreModules.World.Wind.Plugins.SimpleRandomWind.WindUpdate (UInt32 frame) [0x00019] in /tmp/opensim-deploy-oTyFP12501/opensim-deploy/OpenSim/Region/CoreModules/World/Wind/Plugins/SimpleRandomWind.cs:92
2009-04-16 14:22:53 +00:00
Dr Scofield
bd2ca2d9c1
- turn private m_gui into protected m_gui to allow manipulation in
...
derived classes
- make OpenSimBackground inherit from OpenSim instead of OpenSimBase
so that it will have a MainConsole instance and we can use console
commands, setting m_gui to false
2009-04-16 12:10:50 +00:00
Teravus Ovares
8a7a0190e6
* Remove some super experimental stuff in BulletDotNETPlugin since it was causing issues.
...
* Tweak the ODEPrim PID a bit more.
2009-04-16 08:11:05 +00:00
Teravus Ovares
eac5d4015d
* Committing more BulletDotNETPlugin work
...
* Tweak the LLSetStatus results in the ODEPlugin. Hopefully it's a little less unstable.
* ODEPlugin is using experimental math for LLSetStatus, use with caution! :)
2009-04-16 07:31:48 +00:00
Melanie Thielker
4b85cbf0b6
Correctly flag group owned prims in the land prim list
2009-04-16 01:01:40 +00:00
Melanie Thielker
ac96722c1d
Fix build break and change some groups interfaces
2009-04-16 00:46:24 +00:00
Melanie Thielker
7e95783dd3
Expose the GroupRecord and it's accessor API
2009-04-16 00:15:57 +00:00
Melanie Thielker
c98287249e
Add the XML manifests needed to get the new style modules to load.
...
Scripting now works again
2009-04-15 23:59:15 +00:00
Melanie Thielker
5a0f1e9022
Prevent a nullref when no script engines are loaded
2009-04-15 23:17:25 +00:00
Melanie Thielker
7306b73f02
Commit the group deeding support, thank you, mcortez
2009-04-15 21:07:09 +00:00
Melanie Thielker
b018f45b70
Make sim health data more useful
2009-04-15 20:16:18 +00:00
Justin Clarke Casey
9f6b8ec9b0
minor: Remove some mono compiler warnings. Uncomment code when it's actually being used.
2009-04-15 19:46:37 +00:00
Justin Clarke Casey
63936d442c
* Make it possible to add a request id to load and save oar requests
...
* This allows specific requests to be identified.
2009-04-15 19:12:37 +00:00
Melanie Thielker
3c338e4e56
Convert both script engines to new region module format. Add proper unload
...
handling to XEngine. Add needed stubs to DotNetEngine.
2009-04-15 18:51:17 +00:00
Justin Clarke Casey
fa9b9126ee
* Resolve unit test failure introduced in r9148 (probably)
...
* Have the test scene always return success for session id authentication for now
2009-04-15 17:40:04 +00:00
Johan Berntsson
119aeeed7d
Another cleanup: Region_Status renamed to RegionStatus, and a usage comment added
2009-04-15 04:15:47 +00:00
Johan Berntsson
068127bf57
Renamed splitID in Scene and added comments on usage
2009-04-15 04:07:41 +00:00
diva
e3d4814971
One less vulnerability in the HG: detecting foreign users trying to come in with local user IDs. If that happened by accident, too bad, foreign user can't come in with that ID. This test is a consequence of not having truly global names yet.
2009-04-14 22:24:26 +00:00
diva
0413d052a3
Adds session authentication upon NewUserConnections. Adds user key authentication (in safemode only) upon CreateChildAgents. All of this for Hypergrid users too. This addresses assorted spoofing vulnerabilities.
2009-04-14 19:35:35 +00:00
Justin Clarke Casey
d0744f8eca
* Make archiver tests pump the asset server manually instead of starting the normal runtime thread
...
* This may eliminate the occasional archive test freezes, since they appeared to occur when somehow the asset server didn't pick up on the presence of a request in the asset
quque
2009-04-14 18:49:45 +00:00
diva
017faf0eff
Fix for minor bug introduced yesterday, HG only. Can't lookup the profile when we're looking up the profile...
2009-04-14 18:32:11 +00:00
Justin Clarke Casey
1894157dd3
* Explicitly start the asset server thread so that unit tests can run single rather than multi-threaded (which may be behind the occasional test freezes)
2009-04-14 17:15:09 +00:00
Justin Clarke Casey
ad2bd74057
* refactor: rename AssetCache.Initialize() to AssetCache.Reset() to avoid having Initialise() and Initialize() in the same class - very difficult to read.
2009-04-14 16:36:32 +00:00
Jeff Ames
cad0aab793
Formatting cleanup.
2009-04-14 11:38:33 +00:00
Jeff Ames
6e19fb8593
Add copyright headers.
2009-04-14 10:56:24 +00:00
Jeff Ames
fa29cf5c50
Update svn properties.
2009-04-14 10:00:13 +00:00
Teravus Ovares
d34d5eb3f7
* Adding some organization of vehicle type stuff in the ODEPlugin.
...
* Vehicles do NOT work. This is just organization and a bit of logical code to make doing vehicles easier
2009-04-14 09:03:18 +00:00
Melanie Thielker
a0417f5791
Thank you, Fly-Man, for a patch that adds the stub to handle the
...
avatar interests update.
2009-04-14 03:44:27 +00:00
Melanie Thielker
285dfe3055
Add the RegionLoaded(Scene) API to the new region module interface to allow
...
region modules to use another region module's interfaces and events in
a scene context
2009-04-14 03:22:02 +00:00
diva
23c88c2f4d
Making OGS1UserServices friendly to subclassing.
2009-04-14 02:58:09 +00:00
diva
6bd89f7dad
Cleaning up old circuit upon client close.
2009-04-14 02:21:40 +00:00
Teravus Ovares
c2e75aecd1
* Commit a variety of fixes to bugs discovered while trying to fix the NaN singularity.
...
* WebStatsModule doesn't crash on restart. GodsModule doesn't crash when there is no Dialog Module. LLUDPServer doesn't crash when the Operation was Aborted.
* ODEPlugin does 'Almost NaN' sanity checks.
* ODEPlugin sacrifices NaN avatars to the NaN black hole to appease it and keep it from sucking the rest of the world in.
2009-04-14 01:57:35 +00:00
Teravus Ovares
ab83af0341
* Set eol-style: native on J2KImage.cs
2009-04-13 23:06:29 +00:00
Homer Horwitz
6db21bbf97
- Moved TerrainModule to the new region-module system.
...
- Fixed some locking issues. Either lock, or don't (if you don't have to). Only locking access half of the time won't work reliably.
- Had to adapt test helpers that use the "old" IRegionModule. TerrainModule isn't one anymore.
2009-04-13 21:23:33 +00:00
Homer Horwitz
b717f991ed
Remove m_moduleCommands. It wasn't used anywhere; probably a left-over from before ICommander times
2009-04-13 21:23:24 +00:00
lbsa71
29355de6ee
* Some more experimental work on distributed assets. Nothing hotwired yet.
...
* Introduced preprocess step in FetchAsset (Might revert this later)
* Some minor CCC
* Added actual implementation of GetUserProfile( uri ) and the corresponding handler to OGS1.
* Introduced non-functioning GetUserUri( userProfile) awaiting user server wireup (this might move elsewhere)
2009-04-13 20:04:18 +00:00
Teravus Ovares
bd7d00db33
* Remove null reference exception in the J2KDecoderModule's J2K repair routine for when the asset we're looking up isn't an image at all. (did someone set the texture on the side of a primitive to some other kind of asset with the script engine?)
2009-04-13 16:06:53 +00:00
Teravus Ovares
9371df52cb
*Bypass J2kDecoder when asset is null
2009-04-13 15:18:38 +00:00
Sean Dague
532ae6d925
if Data is null, shortcut to client.SendImageNotFound, as any other
...
option at this point is going to give us a NullReferenceException
2009-04-13 15:08:06 +00:00
Sean Dague
15d39f33ca
scream out a bit warning if we failed to set default image
2009-04-13 14:52:29 +00:00
Sean Dague
b2e5f03942
catch for a null asset so we don't get an exception here, though this
...
probably just makes the decoder break somewhere else.
2009-04-13 14:52:23 +00:00
Sean Dague
58fd013929
put J2KImage into it's own file, please no doubling up on classes in
...
files
2009-04-13 14:52:14 +00:00
Melanie Thielker
cc86df4a3f
Thank you, dslake, for a patch that converts many of the linear searches
...
in SceneGraph to fast dictionary lookups.
Includes a regression fix for attachments by myself.
Fixes Mantis #3312
2009-04-12 15:18:04 +00:00
Melanie Thielker
87ce5ea0eb
Actually do what I promised in the previous commit :/
2009-04-12 12:49:59 +00:00
Melanie Thielker
9d31cfafb2
Funnel stored (offline) IMs through the Scene EventManager to make sure
...
they are processed by the modules rather than sent to the client
directly. Allows friends and group requests and responses to be saved, too
2009-04-12 12:44:41 +00:00
Melanie Thielker
2864c45678
Actually remove the script if it tries to remove itself.
...
Fixes Mantis #2929
2009-04-12 12:03:07 +00:00
Melanie Thielker
f6f3737fe8
Fix a regression where animations would only be sent if the avatar has
...
attachments. Convert base types to LSL types for event marshalling through
IScriptModule to avoid parameter errors.
2009-04-12 02:42:05 +00:00
Melanie Thielker
217b2d93ae
Adding a script event, changed(CHANGED_ANIMATION)
...
This is sent to all root prims of all attachments of an avatar when the
animation state changes. llGetAnimation() can thenbe used to find the
new movement animation. This eliminates the need for fast timers in AOs
2009-04-11 16:51:27 +00:00
Adam Frisby
b8619386eb
* Minor MRM Cleanup
...
* Interfaces now live in Interfaces subdirectory.
* Namespace does not yet reflect this change.
* Final namespace for MRMs will probably sit somewhere around OpenSim.Extend.MRM[?]
2009-04-11 10:21:04 +00:00
idb
988737b182
Correct Opensim.ini.example to reflect the default settings for clouds.
...
Fixes Mantis #3421
Change the agent/avatar events subscriptions to just OnNewClient. The data only needs to be sent once and keeping track of log ins/movements is not required. This will also send cloud data to child agents so that they can see clouds above neighbouring regions not just regions that they have visited.
2009-04-11 10:18:20 +00:00
Teravus Ovares
2dca78b2bf
* BulletDotNETPlugin supports Axis lock (LLSetStatus) from the script engine now.
2009-04-11 03:04:08 +00:00
Teravus Ovares
827117f0b1
* Add catch-all error handlers back to scene.
2009-04-11 00:12:57 +00:00
Teravus Ovares
53026affb3
* Instead of referencing mesh stuff in the physics plugin.. change the IMesh Interface. (blame prebuild)
2009-04-11 00:11:54 +00:00
Teravus Ovares
474b982eba
* Adds Physical/Active Linkset support to BulletDotNETPlugin
2009-04-10 23:26:42 +00:00
Melanie Thielker
3307f21706
Add XmlRpcGridRouter, a module that communicates URIs for XMLRPC channels
...
to a central server via REST, for centralized XMLRPC routing.
2009-04-10 22:05:37 +00:00
Melanie Thielker
a7de0ae9ec
Make the scrpt engines ignore any script that begins with //MRM:
2009-04-10 21:44:27 +00:00
Melanie Thielker
ae6f265729
Add an optional region module which will supply a script event,
...
xmlrpc_uri(string) in response to a OpenRemoteDataChannel call. The string
is the fully qualified URI to post XMLRPC requests for that script to.
2009-04-10 21:26:36 +00:00
Melanie Thielker
8902923b12
Introduce IXmlRpcRouter, an interface that allows registering XMLRPC
...
UUIDs with a central marshaller for grids, or publish the ULS for objects
elsewhere.
2009-04-10 21:08:33 +00:00
Melanie Thielker
b43226019a
Expose the XMLRPC listener port on the IXMLRPC interface to allow
...
publication
2009-04-10 19:27:47 +00:00
Melanie Thielker
0377ddb5de
Add events to IScriptEngine to notify scripting modules of the removal
...
of objects from the scene, and of scripts from objects. This facilitates
the development of modules that can register prims with externall servers
for inbound email and XMLRPC. Currently implemented in XEngine only.
Also applying cmickeyb's compiler locking patch, since it seems risk-free.
2009-04-10 19:07:41 +00:00
Melanie Thielker
292672675a
Thank you, OwenOyen, for a patch that corrects the behavior of llRot2Euler.
...
Committed with comment changes.
Fixes Mantis #3412
2009-04-10 17:26:00 +00:00
Justin Clarke Casey
7c04c1e44c
* Apply http://opensimulator.org/mantis/view.php?id=3427
...
* Return different values for llCloud() over time based on a cellular automation system.
* Thanks aduffy70!
2009-04-10 14:56:58 +00:00
Justin Clarke Casey
30d012b297
* Apply http://opensimulator.org/mantis/view.php?id=3432
...
* Make llGroundSlope() return correct results
* Thanks aduffy70!
2009-04-10 14:15:47 +00:00
Teravus Ovares
515bf6d7dc
* Patch from RemedyTomm Mantis 3440
...
* Revamps the server side texture pipeline
* Textures should load faster, get clogged less, and be less blurry
* Minor tweak to ensure the outgoing texture throttle stays private.
* Fixes mantis 3440
2009-04-10 08:30:21 +00:00
nlin
8e6c20b27f
Handle ObjectSpin* packets to spin physical prims on Ctrl+Shift+Drag
...
Addresses Mantis #3381
The current implementation works as expected if the object has no rotation or
only rotation around the Z axis; you can spin the object left or right (around
the world Z axis).
It works a little unexpectedly if the object has a non-Z-axis rotation; in this
case the body is spun about its local Z axis, not the world Z-axis. (But SL
also behaves oddly with a spin on an arbitrarily rotated object.)
2009-04-10 06:39:52 +00:00
Teravus Ovares
10f5615573
* Tweak the character controller some more
...
* Add cursory integration with script engine.
* LLMoveToTarget, LLSetBouyancy, LLSetStatus (Physical only), LLApplyImpulse, LLApplyTorque, LLPushObject.. etc.
* Still missing linked physical active and LLSetStatus with an axis lock.
2009-04-10 06:01:29 +00:00
Adam Frisby
b664566b8f
* Fixes a bug in MRM scripting whereby the Touch flag is never enabled for OnTouch capable scripts.
2009-04-10 05:13:02 +00:00
Teravus Ovares
b05a1aa4b7
* Whoops, never saved the BulletDotNETScene.. Last commit continued.....
2009-04-09 22:00:15 +00:00
Teravus Ovares
4050dec682
* Changes the timstep of the bullet world
...
* Enables border crossings when using the BulletDotNETPlugin
* Enabled variable time steps in BulletDotNETPlugin
* Still no 'linked physical objects' yet
* Still no script engine integration
2009-04-09 21:48:11 +00:00
Arthur Valadares
08f83f275d
* Reinstated Scene Crossing tests, now with timeouts to check for race conditions
2009-04-09 21:37:54 +00:00
Justin Clarke Casey
601fa22185
* minor: remove some mono compiler warnings
2009-04-09 20:06:30 +00:00
lbsa71
6af0751cc5
* Tagged long running tests with LongRunningAttribute.
...
* Now, the 144 unit tests takes roughly as long time to run (16s on my laptop) that the 10 long running takes. The database tests takes forever.
* Feel free to run the unit tests as you code, and the rest before commit.
2009-04-09 20:06:27 +00:00
Justin Clarke Casey
1066aa6998
* Remove Autooar module pending it's migration to the forge
2009-04-09 19:49:33 +00:00
Adam Frisby
f44694c28e
* Allows MRMs to import libraries in the OpenSim bin directory.
...
* Syntax: //@DEPENDS:library.dll
2009-04-09 15:46:02 +00:00
Sean Dague
a5ceb1a2a0
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The attached patch implements osKey2Name and osName2Key
which converts between a UUID key for an avatar and
an avatar name and vice-versa.
osKey2Name is similar to llKey2Name except that it will work
even if the avatar being looked up is not in the same region
as the script.
2009-04-09 15:04:02 +00:00
Adam Frisby
8ee81f98ea
* Implements IObject.Materials[].*
...
* This lets you do things like IObject.Materials[0].Texture = new UUID("0000-...");
2009-04-09 14:51:18 +00:00
Adam Frisby
c77e7fce9e
* Implements IGraphics interface for MRM Scripting.
...
* This allows you to utilize System.Drawing tools on textures within the region.
* Example: use System.Drawing.Bitmap to make your texture, then use Host.Graphics.SaveBitmap to make an asset from it in JPEG2K. You can edit (but not overwrite) existing textures using Host.Graphics.LoadBitmap.
2009-04-09 14:19:49 +00:00
Adam Frisby
98eda9ebdb
* Adds World.OnNewUser += delegate(IWorld sender, NewUserEventArgs e);
...
* This event fires when a new avatar is created within the Scene. (Internally corresponds to EventManager.OnNewPresence)
2009-04-09 13:22:27 +00:00
Adam Frisby
c91c24441b
* Limits MRM scripting to Region Master Avatar only.
...
* This makes MRM scripting ever so slightly more secure. If you have enforced Object Permissions enabled, it may be acceptable to enable MRM within your regions.
* Security bug reports on this feature are much appreciated (eg: anyone finding ways around this to execute a MRM as a basic user).
2009-04-09 13:14:25 +00:00
Adam Frisby
162dd5c65c
* World.OnChat no longer fires if there is no chat text (prevents the typing animation packet from firing OnChat)
2009-04-09 13:05:01 +00:00
Adam Frisby
03984e7304
* Added additional debug testing info to Scene
...
* Corrected issue with MRMs where it would attempt to overwrite an already loaded DLL. (and thus fail with cryptic UnauthorizedAccessException.)
* Made DrunkenTextAppreciationModule.cs MRM not crash with StackOverflowException
* Added some temporary logging to MRM World.*
2009-04-09 13:03:27 +00:00
Adam Frisby
0af0399198
* Forgot to commit IEntity in last commit.
...
* Added "DrunkenTextAppreciationModule" Demo MRM - behaves very similarly to the sobriety filter in WoW. ;)
2009-04-09 11:25:50 +00:00
Adam Frisby
b529750548
* Moves Name, GlobalID and WorldPosition into new IEntity interface.
...
* Avatar and Object now inherit from IEntity.
* Avatar.Position is now Avatar.WorldPosition to match IObject property.
* Implements event World.OnChat += delegate(IWorld sender, ChatEventArgs e);
2009-04-09 11:09:24 +00:00
Adam Frisby
1b56fff7c8
* Implements retrieving child primitives via World.Objects[id] (MRM)
...
* Optimizes SceneGraph - fetches on primitives via "GetGroupByPrim" wont search the entire list if the primitive is infact the root. (Core)
* Updates Test MRM.
2009-04-09 10:07:40 +00:00
Adam Frisby
232241ab25
* Implements IObject.OnTouch += delegate(IObject sender, TouchEventArgs e)
...
* This is equivalent to LSL 'touch(int senders)'
2009-04-09 07:46:05 +00:00
lbsa71
99bf4ce72f
* Fixed a number of culture-variant bugs in lsl implicit type conversions.
2009-04-09 07:33:05 +00:00
lbsa71
0366cc1601
* argh. reverted untested fix that snuck into the last commit
2009-04-09 07:14:20 +00:00
lbsa71
ed33878a0f
* tagged some more database tests as such
2009-04-09 07:11:49 +00:00
lbsa71
e93b782f9d
* Introduced some experimental code with regards to asset data substitution
2009-04-08 19:59:37 +00:00
Justin Clarke Casey
f3c7298fc5
* Make it possible to store creator strings in user inventory items as well as UUIDs
...
* All existing functionality should be unaffected.
* Database schemas have not been changed.
2009-04-08 17:50:57 +00:00
Teravus Ovares
8d8c45b659
* Fix the remainder of the packets that require sessionId checks.
2009-04-08 16:31:56 +00:00
Adam Frisby
5118f88bc4
* [SECURITY] Implements additional packet security checks for Object related packets.
...
* Note: as with the last commit, this requires additional testing.
* This represents 2/8ths of packets now being checked appropriately.
2009-04-08 06:41:52 +00:00
Adam Frisby
2bd6a915a0
* [SECURITY] Implements a large number of new security checks into Scene/Avatar packet processing within ProcessInPacket.
...
* Notes: this requires heavy testing, it may cause new issues where LL have recycled agent block data for non-security purposes. It can be disabled on Line 4421 of LLClientView.cs by changing m_checkPackets to false.
* This represents approx 1/8th of the packets being checked.
2009-04-08 06:31:19 +00:00
Dahlia Trimble
d5727c8c1a
Correct unit test for llAngleBetween()
...
Reinstate patch for Mantis #3007
2009-04-08 03:16:24 +00:00
Justin Clarke Casey
ad7b005784
* minor: remove some mono compiler warnings
2009-04-07 20:24:09 +00:00
Teravus Ovares
41fab69ad5
* Remove unnecessary build dependencies on the ExamplemoneyModule stub.
...
(??? using OpenSim.Region.CoreModules.Avatar.Currency.SampleMoney ???)
2009-04-07 19:37:54 +00:00
Justin Clarke Casey
0752dd65cc
* Ooops, really put this on the task queue and not texture
2009-04-07 19:30:10 +00:00
Justin Clarke Casey
952960e375
* Put AgentTextureCached? response packet on the task queue rather than the wind queue
...
* Thanks to rtomita for pointing this out.
2009-04-07 19:23:17 +00:00
Justin Clarke Casey
513ae92bbb
* Apply http://opensimulator.org/mantis/view.php?id=3406
...
* Makes Second Life environment sensor ranges and maximum response number configurable
* Thanks Intimidated
2009-04-07 19:15:26 +00:00
Justin Clarke Casey
d0d481a0ab
* Apply http://opensimulator.org/mantis/view.php?id=3418
...
* Prevents occasional wind module related exceptions on region server shutdown
* Thanks Intimidated!
2009-04-07 19:07:23 +00:00
Justin Clarke Casey
ed6165ab9c
* Apply http://opensimulator.org/mantis/view.php?id=3227
...
* Implement "Add To Outfit"
* Thanks FredoChaplin
2009-04-07 17:46:23 +00:00
Dahlia Trimble
ea5b120006
temporarily revert llanglebetween patch until unit test can be updated - affects Mantis #3007
2009-04-07 17:29:55 +00:00
Dahlia Trimble
e7a051d2be
remove defective test criteria from unit test for llAngleBetween
2009-04-07 17:03:00 +00:00
Dr Scofield
e540b66a86
From: Alan Webb <alan_webb@us.ibm.com>
...
Fix null reference exception during close down of IRC module if the
region was not actually initialized.
2009-04-07 16:53:41 +00:00
Teravus Ovares
b326b55bcd
* Added finite testing to the character and object constructor
2009-04-07 16:41:07 +00:00
Teravus Ovares
9bbc7e8bf6
* Added a routine to check if a PhysicsVector and Quaternion is finite
...
* Now validating input to the Physics scene and warning when something is awry.
* This should help nail down that Non Finite Avatar Position Detected issue.
2009-04-07 16:13:17 +00:00
Teravus Ovares
11f8ea30f9
* Tweak the BulletDotNETPlugin character controller so it feels more finished.
2009-04-07 15:01:46 +00:00
Dahlia Trimble
eb190905b5
Thanks Ewe Loon for Mantis #3007 - llAngleBetween is producing numbers greater then Pi Radians.
...
Also modified to use the system constant for Pi and prevent negative results.
2009-04-07 07:59:32 +00:00
Teravus Ovares
0d4880d5cf
* This fixes BulletDotNET so it can now be used on linux.
2009-04-07 03:33:28 +00:00
Teravus Ovares
9459b16cc2
* BulletDotNET Updates.
...
* Should react somewhat normally to editing, and setting physics now.
2009-04-07 00:13:08 +00:00
Homer Horwitz
39f5dd1973
Added some null-checks to Intimidated's patch in r9024.
...
Hopefully fixes Mantis #3415 .
2009-04-06 19:12:26 +00:00
Melanie Thielker
fb900f6055
Applying Intimidated's patch to fix anim handling.
...
Fixes Mantis #3417
2009-04-06 18:02:12 +00:00
Jeff Ames
465f1df592
Add copyright headers, formatting cleanup.
2009-04-06 14:36:44 +00:00
Jeff Ames
5f34bd73fb
Update svn properties.
2009-04-06 14:24:13 +00:00
Melanie Thielker
2a5d38a580
Thank you, Intimidated, for a patch too fix the movement animation handling
...
Fixes Mantis #3413
2009-04-06 10:44:41 +00:00
Adam Frisby
9e51c2db95
* Implements World.Parcels[] array for MRM scripting.
2009-04-06 07:17:23 +00:00
Adam Frisby
918c466881
* Adds AutoOAR module, this will automatically OAR your regions every 20 minutes to a directory called "autooar", if enabled. Default disabled. Use [autooar] Enabled=true in OpenSim.ini to enable.
...
* Adds some MRM XMLDOC
2009-04-06 04:17:55 +00:00
diva
5b103aab89
Changed the asynchronous call to get inventory in HG, so that it properly reports problems. OGS1 should also be changed, but I'm leaving it as is for now. RestSessionObjectPosterResponse is fairly broken and should not be used.
...
Minor changes in Get inventory item in HGAssetMapper.
2009-04-05 22:39:19 +00:00
Dahlia Trimble
f73d4f9735
unspecified sculpt stitching mode now defaults to plane instead of sphere. Addresses Mantis #3403
2009-04-05 19:25:39 +00:00
Homer Horwitz
d4e23e28ca
Ouch. Remove some test left over from r9013, which broke startup
2009-04-05 18:05:44 +00:00
Homer Horwitz
648452dd91
- Add new RegionModulesControllerPlugin to the application modules
...
- Change several classes to use the new plugin for handling of region-modules
(NOTE: No regionmodule is using this yet)
- Add necessary prebuild parts (don't forget to runprebuild)
Attention: Work in progress. This shouldn't break anything, but you never know...
2009-04-05 17:08:11 +00:00
Homer Horwitz
50aa775ea7
- Move IWindModule to OpenSim.Region.Framework.Interfaces
...
- Fix a dependency problem.
Hopefully fixes Mantis #3395
2009-04-05 17:08:01 +00:00
diva
75873b6253
Thanks BlueWall for a patch that adds Hypergrid dynamic linking to osTeleportAgent. Fixes mantis #3408 .
2009-04-05 16:41:27 +00:00
idb
4e8723ad3f
Directory defaults for region xml files when creating a new region got changed/lost with svn 8550 when a check was added for the file name having .xml extension. The extension check has been moved slightly earlier and the original directory logic restored.
...
Fixes Mantis #3386
2009-04-05 10:31:18 +00:00
Teravus Ovares
cf1e8b1723
* Fixing SVN properties
2009-04-05 08:43:29 +00:00
Teravus Ovares
e592d03843
* Committing what I have on the BulletDotNETPlugin that I have so far.
...
* It's not ready to try. It doesn't do what you expect in many ways.
* It throws errors and prints jibberish on the console
* Test it out only if you're brave and you've backed up first.
* The opensim.ini line is physics = BulletDotNETPlugin
2009-04-05 08:35:38 +00:00
diva
3c9cba1627
Added CreateObject(regionhandle, userID, itemID) to post objects that are to be fetched from the user's inventory server and rezzed in the region. Added all code necessary to fetch the item and the asset, and rez it inworld. The access to the item is uncap-ed and unverified -- I may place it later either under a cap or with auth verification. But in this model regions don't have the user's inventory, so they would have to guess the item IDs.
...
Added safemode config to Standalone Hypergrid, similar effect to AllowRegionAccessToInventory in Inventory Server. Everyone should have these vars set to their default values except me!
2009-04-05 03:27:50 +00:00
Adam Frisby
9a4192d14e
* Fixed copyright headers on HyperGrid source files. (Now match the rest of OpenSim, license text is unchanged)
...
* Added Bitmap[,] to IParcel for MRM
2009-04-05 02:51:10 +00:00
Adam Frisby
51419d21e4
* Minor cosmetic change to SEUser to get Bamboo to initiate another build. (grr)
...
* Adds basic IParcel interface. Soon to live on World.Parcels{[id],[x,y]}
2009-04-05 01:36:30 +00:00
Adam Frisby
dc967b16a4
* Typo in constructor during class rename (whoops!)
...
* OpenSim is now over 9000.
2009-04-05 01:29:58 +00:00
Adam Frisby
f094847c43
* Implements ISocialEntity - this represents the class of "user-like" objects such as Users, Groups, etc. Destined to be used as the return value of any "Owner" properties.
...
* Implements basic "SEUser" class which implements Avatar/Agent SE functions (primitive).
2009-04-05 01:28:23 +00:00
Adam Frisby
2e1646d368
* Removes IsPhysical, IsPhantom from IObject, since this is now represented in IObject.Physics.Enabled / IObject.Physics.Phantom instead.
2009-04-04 23:44:37 +00:00
Adam Frisby
e120876bd0
Implements on IObjectPhysics:
...
* SetMomentum
* AddAngularForce
* AddForce
* FloatOnWater
* Force
* Acceleration
* Torque
* Velocity
* RotationalVelocity
* CenterOfMass
* GeometricCenter
* Buoyancy
* Mass (Partial)
* Density (Partial)
2009-04-04 23:32:37 +00:00
Adam Frisby
746729b6ce
* Implements IObjectPhysics on SOPObject partially.
...
* Eg, IObject.Physics.* is now valid syntax and compiles (but will throw NotSupported at runtime)
2009-04-04 23:23:24 +00:00
Adam Frisby
39c3ccb93a
* Implements IObjectPhysics, this collects Physics attributes into one interface, will be referenced on IObject as IObject.Physics.*
...
* Eg; IObject.Physics.Torque = new Vector3(30.0,0.4,0.5);
* Maps loosely to internal PhysicsActor class.
2009-04-04 23:16:19 +00:00
Adam Frisby
d758753d7c
* More fiddling with MRM IPersistence, now stores <T> instead of Object.
2009-04-04 22:57:53 +00:00
idb
168752b81b
Give a meaningful message if terrain save fails because of a file IO error.
...
Fixes Mantis #3348
2009-04-04 22:26:38 +00:00
Homer Horwitz
8136cf4075
Thanks jonc, for a patch that adds rendering of classic clouds.
...
First part of Mantis #964 , the necessary clouds image will follow separately.
2009-04-04 15:43:02 +00:00
nlin
449bebf16e
Preliminary work to support ObjectSpin* packets when user invokes CTRL / SHIFT / MOUSE DRAG on a physical object
...
Addresses Mantis #3381
2009-04-04 13:13:14 +00:00
Adam Frisby
23193ab538
* Changed IPersistence interface so that passing the MRMBase is unessecary.
2009-04-04 08:36:45 +00:00
Adam Frisby
4e9403e6ef
* Renamed Heightmap.Height to Heightmap.Length to avoid confusion about axis.
...
* Added XMLDOC to MRM API code, this means we have usable programming docs being produced here: http://docs.opensimulator.org/namespaceOpenSim_1_1Region_1_1OptionalModules_1_1Scripting_1_1Minimodule.html (eg IObject, IHeightmap, etc)
2009-04-04 08:33:58 +00:00
Jeff Ames
5cf7b784ce
Add copyright headers, formatting cleanup.
2009-04-04 07:32:41 +00:00
Adam Frisby
c3e1756a48
* Removes IObject.Position, IObject.Rotation from IObject
...
* Adds IObject.WorldPosition and IObject.OffsetPosition - this is equivilent to AbsolutePosition and OffsetPosition in SOP respectively.
* Adds IObject.WorldRotation and IObject.OffsetRotation - as above.
2009-04-04 06:28:55 +00:00
Adam Frisby
fcbe7b9ed6
* Drops Heightmap.Get/Heightmap.Set from IHeightmap interface.
...
* Adds Heightmap[x,y] to interface.
* MRM Scripts should utilize World.Heightmap[x,y] = 0.0; to replace set, and Val = World.Heightmap[x,y] to get.
2009-04-04 05:51:26 +00:00
lbsa71
7f4bf5871d
* Proactively fixed bug-potential concerning the fact that m_httpServer property was differently referred to between RegionApplicationBase and all other grid services.
2009-04-03 20:56:36 +00:00
Arthur Valadares
0c544a85dc
* Fixes issue where of you force your avatar against a region corner, it gets stuck and NonFinite Avatar messages floods console
...
Addresses Mantis #3380
2009-04-03 19:20:23 +00:00
Justin Clarke Casey
5146cb7a72
* refactor: Call StatsReporter methods directly rather than through Scene (as WebStatsModule was doing)
...
* Assume that StatsReporter is always present (possibly as a no-op impl) rather than doing null checks
2009-04-03 17:14:51 +00:00
Dr Scofield
fc1b1bc797
- adding -logconfig option to allow configuration of log4net from
...
log4net config file other then bin/OpenSim.exe.config
- moving ArgvConfigSource initialization up to allow for configuration
of XmlConfigurator.Configure()
2009-04-03 12:47:56 +00:00
Adam Frisby
084ffc74c6
* Implements MRM IObject.Say - this is equivilent to llSay
...
Example:
public override void Start()
{
Host.Object.Say("Hello World!");
}
2009-04-03 10:42:39 +00:00
Adam Frisby
254d3099f0
* Implements Scene.SimChat(string,...) rather than byte[]. We should probably mark byte[] as obsolete.
...
* Implements SOPObject.Say for MRM. (Note, not IObject yet)
2009-04-03 10:40:14 +00:00
Adam Frisby
36bc485e7e
* MRM Scripts will now no longer disconnect the client if there was an error in compilation or script initialisation.
...
* Clarified some debug text for MRM Enabling
2009-04-03 10:30:51 +00:00
Adam Frisby
7e91f41535
* Implements "ID" semi-global within MRM scripts. This is tied to the 'state ID' for MRMs.
...
* Implements IPersistence interface, allows simple KeyValue access for MRM scripts to a more permanent datastore.
2009-04-03 09:22:34 +00:00
Dahlia Trimble
5f4cab6ed3
fix an error in hollow cylinder face number calculation
2009-04-03 08:45:32 +00:00
Melanie Thielker
f17732346e
Fix a nullref when compiling non-LSL scripts
2009-04-02 16:27:16 +00:00
idb
b45ac2bf8e
Correct llSetPrimitiveParams to check for a texture in inventory when setting the sculpt map.
...
This Fixes Mantis #3331
Also corrected the capping calculation in llApplyImpulse and several integer "boolean" comparisons from "== 1" to "!= 0" for true
2009-04-02 10:24:12 +00:00
Dahlia Trimble
b42fec5c74
partial support for sculpted prim "inside out" setting
2009-04-02 06:54:48 +00:00
diva
86c753a6bd
More refactoring. This time extracting the client-side of RESTInterregionComms into a RegionClient class.
2009-04-01 23:35:48 +00:00
diva
2e54f277d1
One more bit of refactoring, so this can be used outside region code.
2009-04-01 22:42:44 +00:00
diva
6e368c4b59
Refactoring, no functional changes. Moved ChildAgentDataUpdate data structures from OpenSim.Region.Framework.Scenes back to OpenSim.Framework, so they can be referenced more broadly. This involved having to move the small Animation data structure to OpenSim.Framework too.
2009-04-01 19:50:09 +00:00
lbsa71
958d764172
* Upped trunk version number to 0.6.4 as we just tagged 0.6.4-release
2009-04-01 19:44:46 +00:00
Teravus Ovares
74d5d44373
* Committing patch in mantis 3376 [Patch] Fix a minor animation handling glitch in ScenePresence
...
* ..
* ..
* err, okay, this was a stick-buggery April 1st joke by me. This removes it. Happy April 1st!
* fixes mantis 3376
2009-04-01 19:04:59 +00:00
Dahlia Trimble
8493123629
Hard code scaled image resolution to 96 dpi prior to sculpt meshing to prevent a mono 2.4 failure. Thanks to cmickeyb for pointing out the failure.
2009-04-01 18:38:51 +00:00
Jeff Ames
99cfcf405b
Update svn properties.
2009-04-01 14:50:18 +00:00
Melanie Thielker
a1fe54baa0
Add a "user" config option to the IRC module config. Like all other IRC
...
config options, this has NO default, if you use the IRC module, you MUST
add this setting to your ini file.
2009-04-01 12:28:46 +00:00
Melanie Thielker
76ca096384
Add a PIDFile in [Startup], which the PID will be written to
2009-04-01 12:13:42 +00:00
Adam Frisby
1a25969096
* MRM Adjustments
...
* Renamed 'Material' to PhysicsMaterial (Wood, Glass, Metal, etc.). May want to place in subclass with other physics specific properties. (We however need to support these features in ODE/etc first.)
* Renamed Faces to Materials. IObjectFace to IObjectMaterial - this is for clarity for those coming from a 3D Programming background (it also makes more sense if/when we support Meshes in core). Properties and members remain identical.
* Added XMLDoc comments to IObject to assist people writing MRMs in XMLDoc aware editors.
2009-04-01 11:03:42 +00:00
Adam Frisby
5cd70a8c0e
* MRM Adjustments
...
* Changes World.Objects from Array IObject[] to IObjectAccessor.
* Syntactically identical in most behaviour, however the indexer is now ranges not from 0..Count, but any valid internal LocalID. Additional indexers have been added for UUID.
* Example: for(int i=0;i<World.Objects.Count;i++) will not work any more, however foreach(World.Objects) will remain functional.
* This prevents us needing to create a list for each access to World.Objects which should [in theory] present a dramatic speed improvement to MRM scripts frequently accessing World.Objects.
2009-04-01 09:31:40 +00:00
Adam Frisby
7eccad05c9
* Adds World.Avatars[] to MRM Scripting. Contains an enumerable array containing IAvatar instances for each avatar in the region.
...
* Adds Test/TestModule.cs which demonstrates a very quick and simple MRM Test.
2009-04-01 06:55:39 +00:00
Adam Frisby
5225e40f9e
* Removes some hard-coded magic numbers relating to RegionSize. We now use Constants.RegionSize as expected. (Working towards enlarged or smaller regionsizes that arent multiples of 256m)
...
* Adds minor functionality to MRM Scripting.
2009-04-01 05:58:07 +00:00
Melanie Thielker
7ec85508ff
Finally clean up the Scene.Permissions and permissions module.
...
Permissions now use proper events and not delegate lists, which makes
for much easier reading and much less work adding new methods.
I finally found a way to raise events with return values without it becoming
late bound.
2009-04-01 01:41:40 +00:00
Melanie Thielker
a4ba587df7
Adding the Length override to the KillPacket
2009-03-31 21:34:29 +00:00
diva
cb74848f2d
Turning the wind module off by default.
2009-03-31 16:17:13 +00:00
Dr Scofield
aecb4fb72a
From: Alan M Webb <alan_webb@us.ibm.com>
...
Add sanity check to fly-height calculation so that it does
not attempt to retrieve information from non-existent
regions.
2009-03-31 12:45:34 +00:00
lbsa71
fb9a358b79
* Refactored out and de-duplicated Base64ToString(string)
...
* Fixed minor typo
2009-03-31 05:51:28 +00:00
Jeff Ames
20e1a8d7f6
Thanks rtomita for a patch to add a handler for the RemoveInventoryObjects packet. (bug #3304 )
2009-03-31 05:47:53 +00:00
Charles Krinke
54a27f9f5c
Thank you kindly, MCortez for a patch that:
...
With some support from HomerH, this patch adds support for Wind
Model plugins via the mono.Addin framework.
* Adds console & OSSL access to Wind Parameters
* Adds plug-in support for custom wind models
* Provides two example Wind Model plug-ins
Documentation for the wind module is temporarily located at http://code.google.com/p/flotsam/wiki/CoreWindModule [^]
-- will move this documentation to http://opensimulator.org [^]
after the patch has been committed.
2009-03-31 02:33:19 +00:00
Jeff Ames
54ccca1e2c
Update svn properties, add copyright header, formatting cleanup.
2009-03-31 02:00:33 +00:00
Justin Clarke Casey
2914bfe7b0
* Fix test breakage by always inserting a gods module when testing
2009-03-30 19:09:57 +00:00
Justin Clarke Casey
176f263d23
* minor: remove mono compiler warnings
2009-03-30 18:34:43 +00:00
Justin Clarke Casey
ac8fc02afc
* refactor: Move god related methods in Scene out to a module
2009-03-30 18:20:41 +00:00
Teravus Ovares
0318e824ae
* Remove a debug line of localIDs
2009-03-30 14:13:56 +00:00
Teravus Ovares
6522b4f5d4
* Fixing thread safety of avatar adding and removing from the Physics Scene in the ODEPlugin
...
* This may help one of the symptoms or mantis 3363 , however it probably won't solve the occasional NonFinite Avatar Position detected.. issues that some people see. That is probably an entirely different issue(NaN).
2009-03-30 14:10:24 +00:00
Melanie Thielker
f88d755f96
Add PickInfoReply packet.
...
Fixes Mantis #3324
2009-03-30 11:51:34 +00:00
Dahlia Trimble
d468b7f2d3
Thank you Flyte Xevious for Mantis #3361 - Implementation of llEdgeOfWorld
2009-03-29 23:59:14 +00:00
diva
f7eac63e01
Another bit of refactoring to try to make sense of OpenSim.Framework.Communications. Everything that looks like a service, with service handlers, moved to .Services -- i.e. LoginService and Response, and GridInfoService. The rest of the changes were to adapt to the new locations of those files.
2009-03-29 22:04:45 +00:00
diva
08732b65be
Moved some files around, so that it's easier to share code between standalone and the grid services. Should not affect any functionality.
2009-03-29 20:29:13 +00:00
Melanie Thielker
d857cf1335
Don't let a missing configuration cause a NRE
...
Fixes Mantis #3355
2009-03-29 15:24:50 +00:00
Melanie Thielker
03063375ee
Add AcceptNotices member to GroupMembershipData and an overload to
...
IGroupsModule interface
2009-03-29 11:18:45 +00:00
Melanie Thielker
8c4bcfb5d0
Module interface change
2009-03-29 06:14:54 +00:00
Melanie Thielker
c483206fd7
Change the client API to use GridInstantMessage for the "last mile" of IM
...
sending. With this change, all methods that handle IM now use GridInstantMessage
rather than individual parameters.
2009-03-29 05:42:27 +00:00
Melanie Thielker
404bfdc9a6
Finish the offline IM module (still needs a server). Add rudimentary
...
support for the mute list (no functionality yet, but allows the
RetrieveInstantMessages event to fire now).
2009-03-29 00:48:34 +00:00
diva
730b78114f
Minor bug fix in UpdateItem (meta data).
2009-03-28 23:50:37 +00:00
Teravus Ovares
b857635712
* Adding some heuristic error correction to the j2k decoder module to combat some of the situations that we see in mantis 3049 .
...
* This may help people on certain 64 bit systems where the end byte position of each layer data packet is incorrect but the start positions are correct.
* The console will still be extremely chatty with 'Inconsistent packet data in JPEG2000 stream:' messages, however.. if OpenSimulator was able to recover the data, it will say HURISTICS SUCCEEDED
2009-03-28 20:50:08 +00:00
Melanie Thielker
4f6c4378da
Add mute list request event and dummy response
2009-03-28 04:21:44 +00:00
Melanie Thielker
b40ec850bb
Fix the plumbing in the offline message module.
...
No functionality yet.
2009-03-28 04:02:30 +00:00
Melanie Thielker
0ff7c85a5d
Add a module skeleton for offline IM storage. No functionality yet.
2009-03-28 02:58:12 +00:00
Teravus Ovares
67be0213d4
* Remove redundancies in ScenePresence
2009-03-28 02:41:51 +00:00
Teravus Ovares
f5812b3702
* Adds AgentUUIDs into the CourseLocationUpdate to improve compatibility with LibOMV based clients.
...
* Modifies the IClientAPI! So client stacks will need to be modified!
2009-03-28 01:40:33 +00:00
diva
cd1bf3600d
Small bugs fixed related to ownership and permissions.
2009-03-28 00:08:13 +00:00
Melanie Thielker
cbef90fec6
Add the events needed for profiles.
...
Fixes Mantis #3324
2009-03-27 22:47:41 +00:00
Teravus Ovares
52c482a7a7
* This updates LibOMV to the current release 0.6.0 on March 19 2009
...
* Important: HttpServer.dll was changed to HttpServer_OpenSim.dll so that the HttpServer references do not conflict if you've copied the OpenMetaverse.Http.dll and requirements to the OpenSimulator bin folder.
This means that if you reference HttpServer.dll in any projects, you will need to change the reference to HttpServer_OpenSim.dll. It still uses the Same HttpServer namespace though.
2009-03-27 22:13:09 +00:00
Justin Clarke Casey
30ffefb67b
* refactor: call some EventManager triggers directly rather than through scene
2009-03-27 20:41:35 +00:00
diva
bce5ed5812
Moved a method GetDefaultVisualParameters from Scene to AvatarAppearance, where it belongs. Better error handling in ScenePresence.CopyFrom.
2009-03-27 20:18:55 +00:00
Justin Clarke Casey
3fe010d716
* minor: remove one mono compiler warning
2009-03-27 20:03:20 +00:00
Justin Clarke Casey
bd8d6fad45
* Implement * wildcard in save iar requests
...
* not yet ready for use
2009-03-27 19:45:07 +00:00
Justin Clarke Casey
053a6b355c
* Fix single item iar saving
...
* Not yet ready for use
2009-03-27 18:53:11 +00:00
Melanie Thielker
37e81c7d54
Remove a hardcoded flow/dependency on the money module from LLCLientView
2009-03-27 18:51:45 +00:00
Justin Clarke Casey
561f241564
* minor: move RegionSettingsSerializer into OpenSim.Framework.Serialization
2009-03-27 18:13:34 +00:00
Justin Clarke Casey
86cc0e86d4
* Also temporarily disable T032_CrossAttachments() since this relies on the execution of T021_TestCroswsToNewRegion()
2009-03-27 17:19:58 +00:00
Justin Clarke Casey
39bf59080b
* Temporarily disable ScenePresenceTests.T021_TestCrossToNewRegion() as this has both WaitOnes() which don't time out and tight loops
...
* Going to see if this stops the freeze failures where (though there may also be a separate occasional failure in the save oar test)
2009-03-27 17:01:07 +00:00
Justin Clarke Casey
355247c2b2
* For each test in OpenSim.Region.Framework.Scenes.Tests, tell the console when the test starts
...
* This is to help identify which test is freezing, since all the tests in the previous dll (coremodules) succeed
* Unfortunately they are not executed in the same order in which the results are listed in Bamboo
2009-03-27 16:33:15 +00:00
diva
06ad2244f0
svn:eol-style property set.
2009-03-27 16:13:25 +00:00
diva
6ddf932c7e
svn:eol-style property set.
2009-03-27 15:11:21 +00:00
diva
a423b3060b
Notecard updates bypassing the regions. (HGStandalone only)
2009-03-26 22:17:57 +00:00
Justin Clarke Casey
8a4464f44a
* correct iar root folder location for saving of individual items
...
* however, rest of the path components are still currently wrong so this is broke
2009-03-26 20:34:02 +00:00
Dahlia Trimble
ad012d4b46
add x-axis mirror capability to sculpted prim mesh - addresses Mantis #3342
2009-03-26 18:12:10 +00:00
Justin Clarke Casey
10d21afd9d
* Apply http://opensimulator.org/mantis/view.php?id=3343
...
* Removes long unused -useexecutepath switch
* Thanks coyled
2009-03-26 17:43:05 +00:00
Justin Clarke Casey
0db166ed3d
* Apply http://opensimulator.org/mantis/view.php?id=865
...
* Reimplements "terrain rescale <min> <max>" command which rescales current terrain to be inbetween min and max
* Thanks jonc
2009-03-26 17:42:02 +00:00
Justin Clarke Casey
93b26f8933
* iars: Serialize information about item creators to archive
2009-03-26 17:25:12 +00:00
Melanie Thielker
706a2df516
Read the .map files in on sim startup. Also clean them up when an assembly
...
is deleted.
2009-03-26 15:06:20 +00:00
Melanie Thielker
eb6c1ae0c1
Avoid preprocessing scripts on region restart just to generate the line
...
number map. Instead, write the map to a file for later use. That is not
yet used, so currently runtime errors after a sim restart will have wrong
line numbers
2009-03-26 14:49:39 +00:00
Melanie Thielker
fcab3510b3
Avoid writing script state to the filesystem if the state has not changed.
...
Remove the unneccessary double check that was only used to provide a
meaningless warning message for a corner case.
2009-03-26 14:28:00 +00:00
Dr Scofield
c8aaf538e4
- adding osGetAgents() which returns a list of all avatars in the region
...
in which the script is running.
- found a bag of space characters under my desk, thought i'd donate them
to the JSON OSSL function (aka clean up)
2009-03-26 12:08:18 +00:00
diva
de3971a8d3
One more -- CopyItem.
2009-03-26 04:14:33 +00:00
diva
3b08f17fc2
Half-way through supporting inventory access from outside the regions -- HG standalones only, for now.
2009-03-26 03:45:49 +00:00
Dahlia Trimble
3bedb59f50
make some arrays static to prevent excessive re-initialization - suggested by jhurliman
2009-03-26 03:10:30 +00:00
Melanie Thielker
8dfe8a0d1d
Make the error messages passed to RegionReady more descriptive
...
Patch by antont, thank you.
Fixes Mantis #3338
2009-03-26 01:02:19 +00:00
Sean Dague
6323516a83
* Appearance patches suite: These patches are applied to allow libomv bots to wear outfits in the future.
...
This functionality will be upstreamed later.
** Fixed call of new AvatarAppearance without arguments, which caused bots look like clouds of gas
** Added a SendAvatarData in ScenePresence.SetAppearance, which is expected after SetAppearance is run
** Fixed AssetXferUploader: CallbackID wasn't being passed on on multiple packets asset uploads
** Set VisualParams in AvatarAppearance to stop the alien looking bot from spawning and now looks a little better.
*** TODO: Set better VisualParams value then 150 to everything
2009-03-25 20:15:46 +00:00
Justin Clarke Casey
b52587ea6c
iar: centralize user uuid gathering
2009-03-25 19:54:07 +00:00
lbsa71
3cb06cc4cc
* Changed a recursive BeginRobustReceive loop to a flat while loop to avoid lethal stack overflows.
2009-03-25 19:30:36 +00:00
Justin Clarke Casey
e694e1a657
* minor: Adjust exception catching on load/save xml[2]/oar.
...
* Allow non FileNotFoundExceptions to propogate rather than post a misleading error message
2009-03-25 19:21:28 +00:00
Justin Clarke Casey
19595a2825
* minor: spit out creator name on save iar
...
* not yet ready for use
2009-03-25 19:14:36 +00:00
Dr Scofield
09d2c6fe5d
adding presence.ControllingClient.Kick(msg) to the brew.
2009-03-25 18:48:30 +00:00
Dr Scofield
0419f29856
enhances the console command "kick user" with an optional alert
...
message which will be dialog-ed to the user just before being kicked.
2009-03-25 18:04:33 +00:00
Melanie Thielker
21d14a7090
Thank you, dslake, for a patch that fixes passing the start param to scripts
...
Fixes Mantis #3330
2009-03-25 11:05:01 +00:00
Dr Scofield
0bb3d2e6d7
cleanup
2009-03-25 07:36:56 +00:00
diva
2afe3be2e6
HGStandaloneInventoryService now serves inventory assets. No need for clients to have direct access to the asset service.
2009-03-25 05:21:47 +00:00
Melanie Thielker
fb5f702e78
Change llGetOwnerKey to use another overload of GetSceneObject.
...
Fixes Mantis #3326
2009-03-24 22:12:48 +00:00
Justin Clarke Casey
6cad71d5ec
* minor: remove load oar logging I accidentally left in a few commits ago
...
* reduce noisiness of uuid gatherer
* stop bothering to pointless complain about directory tar entries when loading an oar
2009-03-24 21:05:20 +00:00
Justin Clarke Casey
0bf2177dfb
* Use memory more efficiently when loading oars
...
* This change starts the script immediately after an object is loaded, rather than waiting till they are all loaded
* This should be okay, but please report any new errors
2009-03-24 20:48:27 +00:00
Justin Clarke Casey
22a4d6acc2
* minor: remove mono compiler warnings
2009-03-24 20:36:32 +00:00
Justin Clarke Casey
5e9682cef7
* Fix edit scale command - was looking for one too few arguments
2009-03-24 19:04:28 +00:00
Melanie Thielker
c268b71f4b
Thank you, dslake, for a patch that speeds up the Delete Old Files option
...
in the compiler. Committed with changes.
Fixes Mantis #3325
2009-03-24 12:18:31 +00:00
Dr Scofield
b5f6aa6ff2
From: Alan Webb <alan_webb@us.ibm.com>
...
Changes to AssetCache and DynamicTextureModule to eliminate
opportunities for lost texture updates.
2009-03-24 08:21:50 +00:00
diva
5af63a6a5c
Root agent retrieval via http/REST. This is a pull, the caller gets the agent. This is not used by the regions yet, but it may be a better alternative to transfer agents even when that is done by the regions. The data is still trivial; soon it will have attachments, scripts and script state. Also, authorization tokens still to come. Serialization using OSD/json, as the other methods.
2009-03-23 02:37:19 +00:00
Melanie Thielker
e1ea3f05aa
Finish folder gives. With this commit, single item and folder gives now
...
work across regions and also to offline avatars. Scripted gives are not
yet tested and may not work.
2009-03-23 02:02:12 +00:00
Melanie Thielker
412112acba
Committing partial work on passing folders across instances. This may crash.
2009-03-23 00:11:34 +00:00
Melanie Thielker
f86c13f48e
Send proper creation date on item gives, so objects will appear at the top of
...
"Objects", not at the bottom
2009-03-22 20:05:11 +00:00
Melanie Thielker
48e87b6448
Make single item inventory gives work across regions
2009-03-22 18:25:04 +00:00
Melanie Thielker
e6bb86a224
Add QueryItem method to secure inventory and HG inventory, change method sig to
...
provide additional information the HG needs.
2009-03-22 15:42:22 +00:00
Melanie Thielker
ea1e38dd14
Cause the inventory give module to be more selective and not attempt to
...
deliver other modules' IM types
2009-03-22 14:32:15 +00:00
Melanie Thielker
b83ad8a97b
Thank you, dslake, for a patch that fixes XEngine linemap handling.
...
Fixes Mantis #3321
2009-03-22 11:57:00 +00:00
diva
047d753cd0
Explicit tests for local regions.
2009-03-22 06:31:32 +00:00
diva
9489ad57f9
Moving the LoginAuth service up, so that it can be shared among standalones and the User Server.
2009-03-22 04:39:16 +00:00
diva
09732b4d5d
Initial support for authentication/authorization keys in UserManagerBase, and use of it in HGStandaloneLoginService (producer of initial key for user, and of subsequent keys) and HGStandaloneInventoryService (consumer of a key).
...
Keys are of the form http://<authority>/<random uuid>
and they are sent over http header "authorization".
2009-03-21 20:16:35 +00:00
diva
b140988a1f
Minor changes in names inside.
2009-03-21 19:37:35 +00:00
Melanie Thielker
1e6587f1d3
Add code to the inventory transfer module to use the new DB functionality
...
Not tested!
2009-03-21 18:14:06 +00:00
diva
b0f2bcbe79
Moving HGStandaloneAssetService to a new place, and giving it a more generic name. MXP is going to use it too.
2009-03-21 18:03:44 +00:00
Melanie Thielker
1121a214b9
Add a QueryItem method to the inventory subsystem. Currently implemented for
...
MySQL only, stubs for the others. This allows updating the cache with a single
item from the database.
2009-03-21 17:46:58 +00:00
idb
2d387c25b8
Move a check for null PhysActor in applyImpulse so that attachments can move avatars.
...
Fixes Mantis #3160
2009-03-21 11:42:31 +00:00
Teravus Ovares
14b94b8d05
* Finishing up the last commit by adding ISunModule
2009-03-20 23:15:16 +00:00
Melanie Thielker
c6da0fda58
Thank you, mcortez, for patch to add functionality to the sun module.
...
Fixes Mantis #3313
2009-03-20 22:42:21 +00:00
idb
aab38c2cb2
Ensure the remembered velocity is zero when physical is turned off on a prim. Without this the velocity gets sent to the client and the prim appears to move.
...
Fixes Mantis #3303
2009-03-20 15:59:11 +00:00
Melanie Thielker
78a19528c6
Change DropObject to public. Fixes Mantis #3314
2009-03-20 13:57:22 +00:00
Justin Clarke Casey
4571a8b3fb
* Remove compiler warnings
...
* These have actually been removed from HGHyperLink.TryUnlinkRegion, because some parameters were parsed but never used.
* This might be a situation where the warnings have shown up an oversight
2009-03-19 21:16:02 +00:00
Justin Clarke Casey
8f1844665b
* Group OpenSim.Framework.Servers interfaces together
2009-03-19 19:21:17 +00:00
Justin Clarke Casey
bd2180d9af
* refactor: Create IHttpServer interface instead of accessing BaseHttpServer via CommunicationsManager directly
2009-03-19 18:11:44 +00:00
Justin Clarke Casey
eb0c369409
* Add documentation to BaseHttpServer.AddHTTPHandler()
2009-03-19 16:41:23 +00:00
Dr Scofield
0867302e09
reformatting README (just noticed that that line was a bit on the long
...
side.
2009-03-19 08:47:05 +00:00
Dr Scofield
1caf1c5d96
adding missing ChatSessionRequest voice capability for direct AV-AV calls.
2009-03-19 08:42:59 +00:00
Dahlia Trimble
d23f0ec143
Thanks to mpallari for Mantis #3310 : Make EventQueueGetModule more inheritable
2009-03-19 07:06:30 +00:00
diva
247a25a7fe
Making a couple of methods public.
2009-03-19 03:33:20 +00:00
Justin Clarke Casey
c0c929665f
* Apply http://opensimulator.org/mantis/view.php?id=3311
...
* Store script timers in a dictionary rather than a list to make unset much more efficient
* Thanks dslake
2009-03-18 20:24:53 +00:00
diva
a7d610ffcc
Adds support for unlink-region command in hypergrid.
2009-03-18 16:37:26 +00:00
Melanie Thielker
87822c5d95
Add an event to process undelivered IMs
2009-03-17 23:52:30 +00:00
Justin Clarke Casey
7658e30dfc
* minor: remove compiler warning
2009-03-17 21:20:58 +00:00
MW
86d48b73e1
Fixed the looping on llParcelMediaCommandList, now PARCEL_MEDIA_COMMAND_PLAY will make the media play only once like its meant to, and PARCEL_MEDIA_COMMAND_LOOP can be used to make it loop.
2009-03-17 18:18:24 +00:00
Dr Scofield
b2de81ebac
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
Attached is a patch which enabled through an OpenSim.ini option the ability
to read long notecard lines. Currently although the data is read from
the notecard it is truncated at 255 characters (same as for the LL servers.
This patch allows the setting of that limit to a different value.
; Maximum length of notecard line read
; Increasing this to large values potentially opens
; up the system to malicious scripters
; NotecardLineReadCharsMax = 255
this allows for save/restore functionality using notecards without
having to worry about very short line length limits.
2009-03-17 07:03:53 +00:00
Mike Mazur
f28886e26d
Rename OpenSim.Framework.Archive to OpenSim.Framework.Serialization
...
Update using statements and prebuild.xml. Also trim trailing whitespace.
2009-03-16 00:12:25 +00:00
Homer Horwitz
c9a3a764f1
regionInfo isn't defined here yet, which leads to a NRE. Grid-server
...
provided us with the data, so let's use it for now. Hopefully
fixes Mantis #3297 .
2009-03-15 21:01:04 +00:00
Charles Krinke
5bc386c648
Fixes Mantis#3301. Thank you kindly, MaimedLeech for a patch that:
...
patch allows wind to be enabled/disabled, and wind strength set,
from ini file
2009-03-15 20:22:07 +00:00
Charles Krinke
9e0329f1dc
Fixes Mantis #3294 . Thank you kindly, Godfrey, for a patch that:
...
Attached is a patch which provides osAvatarPlayAnimation() the ability to
also trigger animations contained within the same prim as the script, as
llStartAnimation() does. (It also modifies osAvatarStopAnimation(),
otherwise the script wouldn't be able to stop animations it had started.)
2009-03-15 19:45:42 +00:00
Charles Krinke
9e4d9e2c3f
Fixes Mantis #3289 . Thank you kindly, Ewe Loon, for a patch that:
...
fixes Sporadic Errors in "Dictionary<InstanceData, DetectParams[]"
Causing total script Failure
2009-03-15 19:39:43 +00:00
diva
95323c3264
Changing a few methods to public. This is the collection of methods that will be moved to a library somewhere else.
2009-03-15 19:21:43 +00:00
Dahlia Trimble
fa5fef33a9
fixed propagation of normalized sculpt mesh vertex normals
2009-03-15 09:05:35 +00:00
Jeff Ames
fec8aef03a
Thanks rtomita for a patch to add handlers for prim scale updates from libomv-based clients. ( #3291 )
2009-03-14 22:55:17 +00:00
Melanie Thielker
ddbf81fa07
Thank you, mcortez, for a patch that fixes a number of long standing
...
issues with the sun module.
Fixes Mantis #3295
2009-03-13 23:45:02 +00:00
Justin Clarke Casey
c04e7cdf2b
* Support loading empty folders in an iar
2009-03-13 20:46:53 +00:00
Justin Clarke Casey
bd41639a68
* Don't fail the client login if there are no OnClientConnect listeners
2009-03-12 20:38:28 +00:00
Justin Clarke Casey
f5ff2eff24
* minor: Lable the heartbeat thread with the region it's beating for
2009-03-12 20:37:15 +00:00
Dr Scofield
fa619bdf8c
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
Patch to RegionReady which adds a field which adds to the message
whether the region is ready due to a server startup or due to an oar
file loading.
2009-03-12 18:51:28 +00:00
Justin Clarke Casey
a02c3caa0d
* Move SceneObject tests into their proper namespace
...
* Add some more debug code to narrow down where the tests are freezing
2009-03-12 18:13:51 +00:00
lbsa71
33f511ee4b
* Another stab at refactoring up the CustomiseResponse function. Two fixes:
...
* Sometimes, null is a valid return value to indicate 'none found'. doh.
* Sometimes, the Grid server does not send simURI - this you need to reconstruct yourself. Euw.
(I believe) this solves mantis issue #3287
2009-03-12 10:50:59 +00:00
Mike Mazur
7b2977d625
Move ArchiveConstants to OpenSim.Framework.Archive
...
- move a couple constants from InventoryArchiveConstants to
ArchiveConstants, now only one of these is needed
- change InventoryArchiveConstants references to ArchiveConstants
- remove InventoryArchive AssetInventoryServer plugin dependency on
OpenSim.Region.CodeModules
- trim trailing whitespace
2009-03-12 06:04:17 +00:00
Mike Mazur
f784620780
Moving TarArchive to OpenSim.Framework.Archive
...
We now build OpenSim.Framework.Archive.dll which aims to contain code
used for archiving various things in OpenSim. Also remove trailing
whitespace.
2009-03-12 06:03:59 +00:00
Jeff Ames
a8c66444e2
Update svn properties, minor formatting cleanup.
2009-03-12 01:14:54 +00:00
Jeff Ames
6462014250
Thanks rtomita for a patch to fix inventory listings for clients using libomv. ( #3285 )
2009-03-11 18:46:52 +00:00
Justin Clarke Casey
acad0328b2
* Make all coded defaults match settings in OpenSim.ini.example
...
* In most cases, the setting in OpenSim.ini.example is taken as the canonical one since this is the file virtually everyone ends up using
* OpenSim will start up with a blank OpenSim.ini, in which case sqlite is the default database (as before)
2009-03-11 18:02:22 +00:00
Dahlia Trimble
669aa46bff
update some ini defaults in code - all defaults from beginning of OpenSim.ini.example thru DefaultScriptEngine = "XEngine"
2009-03-11 09:31:02 +00:00
Dr Scofield
b6b83be562
From: Alan M Webb <alan_webb@us.ibm.com>
...
This fixes *another* sync error in a list/dictionary
iterator. This time in WorldComm. I'm beginning to think
something is going on...
2009-03-11 09:07:50 +00:00
Dahlia Trimble
5cc372fab4
add a taint to SOP.UpdateShape() - addresses Mantis #3277
2009-03-11 04:13:35 +00:00
Mike Mazur
8606d7d126
Remove chained tests in BasicGridTest.cs.
...
It's good practice to isolate unit tests so their outcome (pass/fail)
does not depend on whether another test has been run/passed/failed. A
method is used to populate the DB independently for each test, and a
TearDown method cleans up the database after each test.
Also adding extra comment in C-style comment test.
2009-03-11 00:33:34 +00:00
lbsa71
91a096dca6
* Cleanup and CCC (Code Convention Conformance)
2009-03-10 20:27:41 +00:00
Justin Clarke Casey
327720498e
* Enable test logging for TestSaveOarV0p2 to capture more information the next time this hiccups
2009-03-10 17:57:04 +00:00
Dr Scofield
fd9ba29a03
From: Alan M Webb <alan_webb@us.ibm.com>
...
Fix a null reference loophole in ScenePresence.
2009-03-10 15:54:00 +00:00
lbsa71
1956930e0d
* Removed unused and uncommented file
2009-03-10 09:20:27 +00:00
lbsa71
1b34b94331
* Refactored out Create() methods to ensure proper transformation between RegionProfileData and RegionInfo
...
* Created ToRegionInfo method, still not using it pending peer review.
* This is a preparatory commit for a subsequent login service refactoring.
2009-03-10 09:05:06 +00:00
Dr Scofield
973ba9c9b7
From: Alan Webb <alan_webb@us.ibm.com>
...
This commit fixes the attachment position problem described in
OpenSim Mantis 2841 (and a couple of duplicate tickets).
2009-03-10 06:14:29 +00:00
Jeff Ames
112a1af3a6
Update svn properties, minor formatting cleanup.
2009-03-10 00:03:26 +00:00
Jeff Ames
278ae3477a
Thanks M1sha for a patch to reinstate the original functionality of the TreePopulatorModule.
...
Note that the planting command 'tree' has been changed to 'tree plant'. (#3264 )
2009-03-09 23:31:10 +00:00
Justin Clarke Casey
051096e8ae
* minor: remove some mono compiler warnings
2009-03-09 19:58:39 +00:00
Justin Clarke Casey
5a6bc26600
* Address http://opensimulator.org/mantis/view.php?id=3207
...
* A saved archive now immediately expires the data in the asset cache that it used, rather than retaining all the assets (esp textures) in the cache.
* This is an imperfect solution. Ideally we would only expire the assets newly requested for the archive (not existing ones). But doing that would require a lot more
restructuring.
* I don't believe there are any locking issues due to the locking performed by the underlying memory cache, but please report any issues.
2009-03-09 17:55:08 +00:00
Teravus Ovares
f9ebdee1d2
* Tweak llMoveToTarget per mantis 3265
...
* Add some comments to the Wind Module
* Add the BinBVH decoder/encoder as a scene object (to encode/decode animations programmatically).
* Add m_sitState for upcoming code to improve sit results.
2009-03-09 04:33:53 +00:00
Jeff Ames
385d3a467c
Minor formatting cleanup.
2009-03-07 16:16:00 +00:00
idb
93a697b24d
Correct a typo, purely cosmetic.
...
FixesMantis #3263
2009-03-07 14:39:42 +00:00
idb
aab1601642
Limit the message length from llInstantMessage to 1024 characters http://wiki.secondlife.com/wiki/LlInstantMessage
...
Also truncate messages that may exceed the limit set by the packet size. The limit in OpenMetaverse is 1100 bytes including a zero byte terminator.
Fixes Mantis #3244
2009-03-07 14:16:26 +00:00
idb
23b247c519
Added the ability to set User-Agent in llHTTPRequest. No new default value has been set since having no User-Agent seems to work well but the facility is now available to set this if required. Using something based on the pattern of SLs User-Agent may well cause problems, not all web servers respond well to it. See the notes in the SL Wiki http://wiki.secondlife.com/wiki/LlHTTPRequest
...
Fixes Mantis #3143
2009-03-07 12:58:00 +00:00
idb
1fd57b39df
Correct casts so that the target id in the at_target event matches the original target id.
...
Fixes Mantis #2861
2009-03-07 10:37:15 +00:00
Teravus Ovares
5a49c772ca
* Making the minimum ground offset for flying a configurable offset in the OpenSim.ini. This is the code that causes you to rise off the ground when you press the fly button and attempts to keep you above ground automatically when flying in a simulator.
...
* minimum_ground_flight_offset, by default is 3 meters, as per Kitto Flora See OpenSim.ini.example for an example.
2009-03-07 07:17:43 +00:00
Teravus Ovares
6c7151109b
* fixes mantis 3259
...
* I'm concerned however that the 'minimum fly height' should really be implemented in ScenePresence and not in the specific physics plugin so that all of the physics plugins can take advantage of it and if desired, a person could swap out the 'minimum fly height' functionality with other functionality.
2009-03-07 06:51:27 +00:00
Jeff Ames
03076b0d33
Update svn properties, minor formatting cleanup.
2009-03-07 02:39:27 +00:00
Jeff Ames
3fe42386e4
Add copyright headers.
2009-03-07 02:11:50 +00:00
Jeff Ames
e1f68145be
Update svn properties.
2009-03-07 02:00:18 +00:00
Teravus Ovares
ebe84907ae
* Fixes mantis: #3241
...
* Uses 'mouselook' or left mouse button down, to determine when to use the camera's UP axis to determine the direction of movement.
* We crouch-slide no more.
2009-03-07 01:18:59 +00:00
Teravus Ovares
3a93bb992f
* Added some limits to the maximum force applied per second by llMoveToTarget. Currently, it's 350 times the mass in newtons applied per second, maximum.
2009-03-07 00:27:56 +00:00
Charles Krinke
b637a11b58
Fixes Mantis #3260 . Thank you kindly, MCortez for a patch that:
...
llSetHoverHeight() should not clamp the x/y position of an object the way MoveTo does,
and it should recalculate the absolute height to hover at as an object moves to reflect
the current ground/water height under it.
Correctly implementing required adjusting the Physics interfaces and implementing at
the physics plug-in level. The attached is a patch that correctly implements
llSetHoverHeight() including updates to the ODE physics plug-in.
2009-03-06 23:01:35 +00:00
Justin Clarke Casey
fc2c73d5c6
* minor: remove some mono compiler warnings
2009-03-06 21:00:15 +00:00
Justin Clarke Casey
f12619b786
* refactor: Remove GetLandOwner function from Scene
...
* Simplify since the land is never null
2009-03-06 20:44:31 +00:00
Justin Clarke Casey
85774de231
* Improve memory usage when writing OARs
...
* This should make saving large OARs a somewhat better experience
* However, the problem where saving an archive pulls large numbers of assets into the asset cache isn't yet resolved
* This patch also removes lots of archive writing spam that crept in
2009-03-06 20:12:08 +00:00
Teravus Ovares
ac84d3d26b
* Fixing a few mass calculation errors suggested by jhurliman
2009-03-05 21:59:27 +00:00
Justin Clarke Casey
ff7b20bef1
* Add more status information when an oar is being saved
...
* Among other messages, a log entry is posted for every 50 assets added to the archive
2009-03-05 21:36:48 +00:00
Justin Clarke Casey
11e1948b57
* Replace Scene.GetLandHeight() with a straight query to Scene.Heightmap (which is used in other contexts)
2009-03-05 21:10:39 +00:00
Justin Clarke Casey
3d70dbd01d
* refactor: move media and music url setting from scene into LandObject
2009-03-05 20:53:23 +00:00
Justin Clarke Casey
c213a12b57
* simplify media and music url setting since we never get back a null land object
2009-03-05 20:32:35 +00:00
Justin Clarke Casey
6c735e0828
* Replace some string to byte conversions for object/item name/description fields with the LLUtil function that prevents the max string size from being breached
2009-03-05 19:32:27 +00:00
Justin Clarke Casey
0de34e9a18
* remove now unused serialization code
2009-03-05 18:36:37 +00:00
Charles Krinke
62eaddbe14
Fixes Mantis #3255 . Thank you kindly, MCortez, for a patch that:
...
Changes to IWindModule interface: Change from assuming a single array of
256 Vector2 values to a lookup function that takes region x, y, z and returns a Vector3
* Changed llWind() to use new lookup method of IWindModule
* Moved logic for determining the wind at a given point in the data array from
llWind() to the Wind Module itself.
2009-03-05 04:24:22 +00:00
Charles Krinke
365b5951ff
Fixes Mantis #3194 . Thank you kindly, Godfrey for a patch that:
...
fixes llSetLinkPrimitiveParams() - PRIM_ROTATION rotates the prim
containing the script, rather than the specified child prim
2009-03-05 03:20:28 +00:00
Charles Krinke
f7b914228b
Fixes Mantis #3253 . Thank you kindly, Godfrey, for a patch that:
...
Corrects the incomplete implementation of llXorBase64StringsCorrect()
so that it returns the proper reversible result.
2009-03-05 03:15:30 +00:00
Adam Frisby
65990de390
MRM Scripting Changes
...
* Renames MiniRegionModule to MRMModule to make it more distinct from the actual Mini Region Module[s] executed in Scene.
* Renames MiniRegionModuleBase to MRMBase for convenience. MRM's need to be adjusted to inherit from MRMBase.
2009-03-05 00:52:59 +00:00
Adam Frisby
0e7e2eba14
* Implements a number of members on SOGObject for use with the MRM Script Engine API.
...
* It's lag-tacular! :D
2009-03-05 00:16:06 +00:00
Adam Frisby
f3aac0fa4a
* Fleshed out the MRM Module a little.
...
* Please don't use this yet, it represents a very heavy security risk if you enable it.
2009-03-04 22:14:40 +00:00
Justin Clarke Casey
f18400fcfb
* For now, restore file extension for default oar name I accidentally removed on the last commit
2009-03-04 20:36:09 +00:00
Justin Clarke Casey
b52ac542ad
* Add the abilty to load and save iar item nodes where folders have identical names
2009-03-04 20:31:03 +00:00
Adam Frisby
e57ac6e0bf
* Whoops. Left MiniModule enabled to anyone. (potential security risk). Disabled - edit code to load.
2009-03-04 20:29:50 +00:00
Adam Frisby
ea9bb2f741
* More work on MiniRegionModule module.
2009-03-04 20:28:11 +00:00
Justin Clarke Casey
b57497fd41
* Add gnu tar format long file name support to tar reading and writing.
...
* Not actually tested yet though existing code which doesn't require long file names looks fine
2009-03-04 18:33:05 +00:00
Mike Mazur
b2135c2029
IObjectFace needs to be public to compile.
2009-03-04 03:58:11 +00:00
Adam Frisby
915b0f2448
* More work on MiniRegionModule module.
2009-03-04 02:29:51 +00:00
Adam Frisby
3538eeafa2
* Implementing some interfaces for aformentioned script engine. Ignore this.
2009-03-04 01:38:22 +00:00
MW
7a3bb77df9
forgotten files
2009-03-03 15:45:52 +00:00
MW
171015f65f
Moved Linden protocol login handling to modules in OpenSim.Client.Linden. There are two region modules in there LLStandaloneLoginModule (for standalone mode) and LLProxyLoginModule (for grid mode which just handles incoming expect_user and logoff_user messages from the remote login server)
...
Changed OpenSim.Framework.Communications.Tests.LoginServiceTests to use the LLStandaloneLoginService (from the LLStandaloneLoginModule) rather than LocalLoginService. Really these login tests should most likely be somewhere else as they are testing specific implementations of login services.
Commented out the old LocalLoginService as its no longer used, but want to check there are no problems before it gets deleted.
2009-03-03 15:41:21 +00:00
MW
76133d0763
Refactoring of CreateCommsManagerPlugin.
...
Plus some general cleanup of a few other files (deleting excess blank lines etc)
2009-03-03 12:51:54 +00:00
MW
8ebd5b409a
Renamed OpenSimBase m_autoCreateLindenStack to m_autoCreateClientStack
2009-03-02 18:04:00 +00:00
MW
3c46ee9326
Moved the SetupScene methods from RegionApplicationBase to OpenSimBase [Do we really still need RegionApplicationBase?]
...
Added a flag (bool m_autoCreateLindenStack = true) which says if the ClientStack will be autocreated and initialised when creating regions. This helps with moving ClientStacks to Region modules.
Currently this flag is hardcoded to true, as it is only for testing at the moment, so you need to change the value in the code if you want to turn off auto creating.
2009-03-02 16:33:11 +00:00
MW
ff76102644
Changed IClientNetworkServer.AddScene method from void AddScene(Scene x) to void AddScene(IScene x). As there should be no need for the client view to have a reference to Scene. IScene should be all it needs.
2009-03-02 14:42:01 +00:00
MW
1dcbea0144
Removed the commented out InitialiseStandaloneServices and InitialiseGridServices (which are now preformed in CreateCommsManagerPlugin) methods from OpenSimBase and HGOpenSimNode. As if we decided to swap back to the old methods we can always re-add them, rather than leave them commented out.
2009-03-02 11:21:18 +00:00
MW
202f990d2a
After another heroic and bloody battle, OpenSim Dino Expedition 1, killed off OsSetParcelMediaTime, which was only ever added for testing. And all the logic code of it has been commented out for a long time.
2009-03-02 11:03:11 +00:00
MW
aae39f9e3e
As part of a dinosaur hunting expedition, IScenePresenceBody.cs was terminated. The expedition leader, MW, believes it never lead a meaningful life, and is sure it hasn't contributed anything in the last 500,000 years (or 2 years).
2009-03-02 10:52:27 +00:00
MW
7a2985b441
Changed it so only .ini file types are loaded from the (optional) config directory rather all files types in that folder.
2009-02-28 15:16:12 +00:00
MW
b83d5c7cdb
Added support for reading ini files from a (optional) config folder. This allows the spliting up of opensim.ini into multiple ini files.
...
The ini files in this folder are loaded after the masterini file (if that is set) and before opensim.ini.
The default folder it looks for and searches is "bin\config", but that can be set by using the command arg "-inidirectory=<path>" (path is local to bin\) when starting up opensim.exe.
2009-02-27 14:17:57 +00:00
MW
756c517069
Added IRegionCreator interface that all ApplicationPlugins that are creators of Scenes should implement and register with the ApplicationRegistry.StackModuleInterface<>(); So that other plugins can attach to their OnNewRegionCreated event.
...
Made some changes to IRegistryCore and RegistryCore so they support "Stacked" interfaces.
2009-02-26 22:51:52 +00:00
Sean Dague
7f727bd33e
This adds a new osGetAgentIP function with threat level set to High. It
...
isn't tested, but it doesn't break anything else. The reason for this
function is to let in world tools be used to coordiante out of world
network services that need access to client ip addresses.
2009-02-26 22:37:02 +00:00
MW
e2d30a0244
Moved the Initialisation of the CommunicationsManager to a ApplicationPlugin.
...
Also in that plugin it registers the IUserService with all the Scenes (as they are created). So now we can start changing over all uses of IUserService, that currently access it from the CommunicationsManager to accessing it from the Scene.RequestModuleInterface call.
Once that is done we can move the UserService creation out to its own plugin and remove all references to it from the CommunicationsManager. Then we can take the next CommunicationsManager interface and repeat.
2009-02-26 21:30:12 +00:00
Sean Dague
57ab79e331
* Update ScenePresenceTests to reflect current REST communication workflow.
...
* Fixed an issue with AssetCache where it would break unit tests randomly.
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-26 21:29:16 +00:00
Justin Clarke Casey
7b04d1da5e
* Apply http://opensimulator.org/mantis/view.php?id=3191
...
* Make load/save oar and load/save xml2 behave a little better when there is an io problem
* Thanks dslake
2009-02-26 21:00:33 +00:00
Melanie Thielker
ed2de7ac82
Plumb in the RetrieveInstantMessages event that is sent by the viewer
...
when it is ready to receive offline IM
2009-02-26 20:11:55 +00:00
MW
18382ebfd9
Changed the type of the ApplicationRegistry member from RegistryCore to IRegistryCore
2009-02-26 20:11:13 +00:00
MW
33e7c09b7b
Added IRegistryCore and RegistryCore to OpenSim.Framework.
...
Added a ApplicationRegistry to OpenSimBase.
Changed LoadRegionsPlugin so it registers itself to that application registry.
Added a event to LoadRegionsPlugin, that is triggered when it creates a new scene ,although maybe this event should actually be in opensimBase incase other plugins are creating regions (like the RemoteAdminPlugin).
2009-02-26 20:01:20 +00:00
Sean Dague
c0c1a31f61
Attempt to fix the "region starts but doesn't load anything" issue
2009-02-26 17:06:06 +00:00
MW
de82bf9eb5
Added a PostInitialise method to IApplicationPlugin, this allows us to do work in there knowing that all other ApplicationPlugins have been initialised by that time.
...
Moved the loadRegions code in LoadRegionsPlugin to the PostInitialise method.
2009-02-26 15:21:06 +00:00
MW
04a6c735d6
Add check in SceneManager to stop opensim.exe crashing if no regions/scenes were loaded.
2009-02-26 15:06:27 +00:00
Justin Clarke Casey
36e648a37a
* minor: Remove most mono compiler warnings
2009-02-25 20:53:02 +00:00
Justin Clarke Casey
a5c9354df3
* Properly load items into correct folders when an iar is loaded
...
* At the moment, any existing folders with the same name are reused - will need an option to always create new folders
* not yet ready for general use
2009-02-25 20:07:25 +00:00
Justin Clarke Casey
50dcd66896
* Fix my own unit test
...
* Disable folder iar creation code for now (though this wasn't actually causing the test failure)
2009-02-25 18:32:39 +00:00
Justin Clarke Casey
17a336f21f
* Add InventoryArchiveConstants that I missed from last commit
...
* This commit also does a first pass at creating folders for an inventory archive (previously everything was dumped in the same destiantion folder).
* This code might not work yet and nobody else should be using it yet anyway :)
2009-02-25 18:07:32 +00:00
Justin Clarke Casey
2d8843968f
* Store inventory data in an 'inventory' directory rather than in the root of an iar
2009-02-25 17:30:15 +00:00
Sean Dague
6c8debd3e0
From: Alan Webb <awebb@linux.vnet.ibm.com>
...
The mono addin filter for the AssetCache is incorrect, this fixes it.
The problem only shows up when you have more than one AssetCache to
choose from.
2009-02-25 14:19:15 +00:00
lbsa71
8306ec9cae
* Experimental softening of SOG waiting for update on link - changing from abort to forced update.
2009-02-25 12:26:00 +00:00
lbsa71
41c883ea47
* Refactored SOP.FolderID weirdness by removing calls to empty setter. YEs, I do realize the setter has to be there for legacy reasons, but since the calls will never acually DO anyhting, I'm removing them.
...
* So, SOP.FolderID is actually a cruft field that should be removed.
2009-02-25 11:01:38 +00:00
Mike Mazur
64c14d2475
Allow /* C-style comments */ in LSL scripts.
...
This fixes Mantis #3199 . opensim-libs SVN r87 contains the corresponding
changes.
2009-02-25 05:37:57 +00:00
Charles Krinke
6515d8be0e
Fixes Mantis #3220 . Thank you kindly, MPallari, for a patch that:
...
This patch changes InformClientOfNeighbour, CrossRegion and
SendRegionTeleport methods to virtual.
2009-02-25 04:38:06 +00:00
Charles Krinke
ed7256ac0c
Fixes Mantis #3187 . Thank you kindly, DoranZemlja for a patch that:
...
Deals with the multiple warning side affect introduced earlier.
2009-02-25 04:29:02 +00:00
Mike Mazur
bdf95e54a2
A few updates necessary for load balancer.
...
- handle GetUser request for nonexistent user gracefully
- include throttle levels in ClientInfo
- code to save/restore throttles in client stack
- only update/send updates to active clients
- make animation classes serializable
2009-02-25 00:32:26 +00:00
diva
e84ac65b58
Close-to-final tweaking with appearance. This time sending *everything*. Addresses mantis #3223 .
2009-02-24 23:06:15 +00:00
MW
ea26bd4153
First step in separating out the Userserver console command handling to a "module".
...
Added OpenSim.Grid.UserServer.Modules project/dll which now contains the components of the userserver. With the OpenSim.Grid.UserServer being the setup and initiate exe.
2009-02-24 15:37:03 +00:00
Dahlia Trimble
8afad46d10
remove log4net dependency and from PrimMesher.cs
...
sync PrimMesher.cs with PrimMesher.dll version 29 on forge
2009-02-24 06:02:44 +00:00
Charles Krinke
e9e5c175cd
Thank you kindly, TLaukkan (Tommil) for a patch that solves:
...
If -background=true is specified on the command line, a null pointer exception crashes the server in OpenSim/Region/Application/OpenSimBase.cs in method StartupSpecific. Its trying to dereference m_console which is null, presumably because we're in background mode.
2009-02-23 23:14:04 +00:00
Sean Dague
7d0790447e
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
This patch fixes a bug where if a script in a child prim has taken
control of an avatar when they sit, although permission for camera
control is revoked when they stand, free camera control is not
restored. Currently it is only restored if the script is in the root
prim (though its not clear to me where this happens!).
2009-02-23 12:52:32 +00:00
Jeff Ames
f175cb7e8c
Update svn properties, add copyright headers, minor formatting cleanup.
2009-02-23 10:36:16 +00:00
Adam Frisby
d9cb81e8fe
* Commenting out threaded Scene update for the moment.
...
* It works, but makes certain building tasks slow to update.
2009-02-23 07:57:54 +00:00
Adam Frisby
13b089636d
* Fix for recent thread patch - IsAlive apparently is not as reliable as ThreadState.
2009-02-23 07:31:13 +00:00
Adam Frisby
c2f3ff872d
* Performance Changes:
...
* Moves Entity Updates into a seperate thread, allowing for OpenSim to utilize a computers CPU more effectively in return for potentially greater user and prim capacity.
* Removes an expensive Sqrt call performed during Update on each object. This should lower CPU requirements for high-prim regions with physics enabled.
* MXP Changes: Centers the region around 0,0 for primitives instead of 128,128. Prim display should now look more correct for MXP viewers.
2009-02-23 06:55:42 +00:00
Mike Mazur
05bbfd57f1
Prevent avatar from walking along z-axis
...
Thanks mirceakitsune for a patch that prevents the avatar from trying to
walk along the Z-axis in mouselook mode (or left-click the avatar and
walk) while looking up or down.
Fixes Mantis #946 .
2009-02-23 04:07:46 +00:00
Charles Krinke
08c76989a7
Mantis#3187. Thank you kindly, DoranZemlja for a patch that:
...
Adds a warning for an LSL construct that exploits a
popular list memory saving hack.
2009-02-23 02:43:51 +00:00
diva
20eb8e54ac
A little bit more tweaking with appearance. Now passing both the wearables and the textures referred to in the Texture faces of AvatarAppearance. The textures are still not being acted upon on the other side, but they will.
...
Note: will make avies coming from older sims casper or grey. Upgrade!
Related to mantis #3204 .
2009-02-23 00:51:31 +00:00
Charles Krinke
8f55b9d735
Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:
...
* Added log4net dependency to physxplugin in prebuild.xml.
* Added missing m_log fields to classes.
* Replaced Console.WriteLine with appropriate m_log.Xxxx
* Tested that nant test target runs succesfully.
* Tested that local opensim sandbox starts up without errors.
2009-02-22 20:52:55 +00:00
Melanie Thielker
913654f2c9
Allow delivery of object messages gridwide
2009-02-22 20:17:12 +00:00
Adam Frisby
3cd5ffa82a
* Fixes an assumption whereby Scene assumes that each client is capable of producing a circuit. This affects non-Linden derived viewers who do not utilize circuits.
2009-02-22 12:39:46 +00:00
Jeff Ames
818af9d482
Refactor log4net logger handling in script engine. ( #3148 )
2009-02-22 01:26:18 +00:00
diva
99b051ccbe
Addresses some issues with appearance after TPs. Appearance.Owner was not being set, and that's what's being used in SendAppearanceToOtherAgent. Mantis #3204 .
2009-02-22 01:26:11 +00:00
Jeff Ames
551bebdc84
Update svn properties, add copyright headers, minor formatting cleanup.
2009-02-22 01:18:49 +00:00
MW
52b2d8732a
Applied patch from mantis #3217 , which allows Dynamic Images of type RGB (so with no alpha value). Thanks BlueWall.
2009-02-21 21:03:20 +00:00
Charles Krinke
cdbd52e55b
Thank you kindly, DoranZemlja for a patch that:
...
Solves the Object-Key problem when using llHTTPRequest()
2009-02-21 17:50:46 +00:00
MW
a2546d58a8
Applied patch from mantis #3213 . Which adds a check to create region command, to make sure the .xml is passed in the command arguments. Thanks BlueWall
2009-02-21 14:45:10 +00:00
MW
89006da793
Added a check to LLClientView.RegisterInterface<T>(T iface), so that it can't try to add duplicate interfaces and cause a exception.
2009-02-21 14:30:17 +00:00
lbsa71
1cadad9ec6
* Applied a patch that: Added estate ban table to migration scripts and nhibernate mapping. Refactored property getters and setters for estate ban object to support NHibernate.
...
* Added estate ban table to migration scripts of all supported databases.
* Added nhibernate mapping for EstateBans property of EstateSettings
* Refactored property accessors for EstateBan object.
* Added comments for EstateBan properties.
* Ensured that NHibernate tests pass with NUnitGUI.
* Ensured that nant test target passes.
This fixes mantis #3210 . Thank you, tlaukkan!
2009-02-21 09:39:33 +00:00
Jeff Ames
7a649a758d
Add copyright headers. Minor formatting cleanup.
2009-02-21 03:32:25 +00:00
Melanie Thielker
d76178f302
Thank you, robsmart, for a patch that allows the shard to be set.
...
The built-in default is OpenSim, unless a user server url is given, then
that is used, unless "shard" is also goven, then shard takes precedence.
The defult in OpenSim.ini is "OpenSim" for compatibility.
2009-02-21 00:14:47 +00:00
lbsa71
602dafae55
* Renamed and encapsulated m_sceneGraph as SceneGraph for ccc
2009-02-20 17:18:07 +00:00
lbsa71
2e095f5727
* Upped VersionInfo to 0.6.3 and in the process, changed assemblyinfo to 0.6.3.* to better track down dll ref and overwrite problems.
2009-02-20 16:47:31 +00:00
Justin Clarke Casey
01f70de2ea
* Consistently lock part.TaskInventory as pointed out in http://opensimulator.org/mantis/view.php?id=3159
...
* Not locking causes enumeration exceptions as described in this matis
* part.TaskInventory needs to be locked for every access as it's a dictionary
* Extra locking will hopefully not cause any major issues - in places where the enumeration of the dictionary performs other lock or long running operations, the dictionary is
cloned instead
2009-02-20 14:04:29 +00:00
Melanie Thielker
c28b2f799a
Revert previous commit
2009-02-20 12:48:46 +00:00
Melanie Thielker
7b1c42836d
Committing interface and stubs for IM interception
2009-02-20 12:15:40 +00:00
Mike Mazur
a42499c947
Thanks DoranZemlja for a patch implementing non-shortcircuiting in
...
logical and and logical or in LSL. Fixes Mantis #3174 .
2009-02-20 07:40:36 +00:00
diva
33330297d6
THE BIG ANTI-REMOTING SCHLEP -- StartRemoting is no more. Sims in older versions will have a hard time communicating with sims on this release and later, especially if they haven't transitioned to RESTComms at all.
...
There's still some cleanup to do on assorted data structures, but the main functional change here is that sims no longer listen on remoting ports.
2009-02-20 03:39:50 +00:00
Jeff Ames
7d4846462b
Update svn properties, add copyright headers, minor formatting cleanup.
2009-02-20 02:33:54 +00:00
lbsa71
5e39e515f9
* Another stab at removing AssetServer.exe dependencies
2009-02-20 02:26:27 +00:00
diva
e725e485fa
This moves the 2 friends-related interregion messages out of OGS1 and into the FriendsModule. No functional changes. Those messages were sent over XMLRPC, and that's how it continues to be for now. Just moving this couple of interregion messages out of OGS1, in preparation for the big shlep ahead.
2009-02-20 00:18:18 +00:00
lbsa71
b99d9bdeb1
* Reverted the AssetServer fix, apparently something was dependent on IAssetDataPlugin being in OpenSim.Data
2009-02-19 19:32:53 +00:00
lbsa71
cacf971e3b
* moved the Get/PostAssetStreamHandler to the Servers namespace... slowly getting there...
2009-02-19 18:57:59 +00:00
lbsa71
b5502ef3c3
* Extracted IAssetData and moved it to OpenSim.Framework to prepare to get rid of ugly CoreModules dependency on AssetServer.exe
...
* And yes, the IAssetDataPlugin is misnomed, which became apparent on extracting it.
2009-02-19 18:40:32 +00:00
Justin Clarke Casey
4203cf1503
* refactor: Rename new class AssetGatherer to UuidGatherer to reflect what it actually does
2009-02-19 17:19:08 +00:00
Justin Clarke Casey
d2caf4f418
* Do deep inspection when saving inventory items in order to capture all the necessary assets (textures, objects within objects, textures referenced in scripts contained in
...
objects contained in another object, etc.)
* Not yet ready for general use
2009-02-19 17:08:00 +00:00
lbsa71
5af465a364
* Changed all AssemblyInfo to explicit version 1.0.0.0 to not confuse poor poor Nant. We probably should take the opportunity to let the non-module bins reside in their /bin/Debug dirs later.
2009-02-19 14:51:33 +00:00
Melanie Thielker
c98a9d1ccd
Make the implementation of the message transfer module protected virtual
...
throughout
2009-02-19 13:02:11 +00:00
MW
74e3a85492
reverted last revision, until we decide how to handle capturing IM's
2009-02-19 12:38:17 +00:00
MW
1b65020b41
Added a event to IMessageTransferModule (and MessageTransferModule) so that other modules can capture IM messages and do custom handling of them. As just attaching to Client IM events doesn't really support this, as they would still get routed through the normal process and could give back errors.
2009-02-19 11:54:53 +00:00
Melanie Thielker
eb143d556d
Force plugin state update when region crossing
2009-02-19 05:31:17 +00:00
Melanie Thielker
e7c05744c0
Try this, then :) remove just one line from script serialization,
...
hunting the bug
2009-02-19 05:24:19 +00:00
Melanie Thielker
4e2dc730fd
Refix the fix, adding a forgotten line
2009-02-19 05:18:23 +00:00
Melanie Thielker
2478d38b85
Attempt to fix a Windows only race in thread termination
2009-02-19 05:16:25 +00:00
Melanie Thielker
863556f2cc
Thank you, Snowdrop, for a patch that makes the callback ID parameter
...
usable. Applied with formatting changes, please don't introduce
K&R style indentations into OpenSim
Fixes Mantis #3190
2009-02-19 03:09:56 +00:00
Charles Krinke
7e0e9ef179
Mantis#3188. Thank you kindly, BlueWall, for a patch that:
...
Adding the ability to set the background color for osSetDynamicTextureData in the extra data: bgcolour:value (see http://msdn.microsoft.com/en-us/library/aa358802.aspx [^] for color names)
2009-02-19 02:51:32 +00:00
Melanie Thielker
b51a0e9960
Fix region crossing for unscripted prims, avoid costly SEH
2009-02-19 01:14:26 +00:00
Melanie Thielker
53fc65c907
Make in-code provisions for the tests. Tests would fail because the
...
required file system objects are not present in the test harness.
This makes the main code ignore the failure, therefore the test succeeds.
Not elegant and maybe a unit test guru has a better way. Marked as a TODO
2009-02-18 23:28:04 +00:00
Melanie Thielker
0b25107c94
Fix standalone / simulator local script crossings.
2009-02-18 22:57:36 +00:00
Melanie Thielker
0086f9bd92
Fix the windows sharing violations on script crossings
2009-02-18 22:32:25 +00:00
diva
f1795fd9b0
Stops animations on Teleports, to conform with what the viewer does.
2009-02-18 21:28:54 +00:00
Justin Clarke Casey
89f2589f6c
* Change AssetGatherer method access so that only methods which are worth calling from the outside are public
2009-02-18 21:02:43 +00:00
diva
2a13e046db
Fixes height on Basic Physics in local teleports. Plus some small refactoring.
2009-02-18 20:10:40 +00:00
Justin Clarke Casey
d971b9f06b
* minor: comment out a few more [de]serialization sog timing messages
2009-02-18 20:04:14 +00:00
Justin Clarke Casey
a7dea4ee12
* Move asset gathering code from oar module to OpenSim.Region.Framework since this is useful in a variety of situations
...
* Comment out one oar test since I think somehow the two save tests are causing the occasional test failures
2009-02-18 20:00:21 +00:00
Justin Clarke Casey
5e4cad07eb
* Make save iar behave properly if the nominated inventory path does not exist
...
* load iar probably still fails for this
2009-02-18 19:26:10 +00:00
diva
1fa8a7ce29
Restoring method 2 of linking regions in HG, which was commented out for some bizarre reason. Fixes mantis #3141 . Thanks Vinc for providing an alternative patch, which wasn't used but served to expose the mix-up.
2009-02-18 16:11:34 +00:00
Sean Dague
8ed631307b
From: Alan Webb <awebb@linux.vnet.ibm.com>
...
I've changed the extension point name, and the internal references that
used the same string. I also fixed up the messaging around the asset
loader so that it is more explicit.
2009-02-18 13:15:07 +00:00
Sean Dague
383f8b3ac6
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The attached patch implements osGetDrawStringSize that looks like:
vector osGetDrawStringSize(string contentType, string text, string
fontName, int fontSize)
in LSL. It is meant to be used in conjunction with the osDraw*
functions. It returns accurate information on the size that a given
string will be rendered given the specified font and font size.
This allows for nicely formatted and positioned text on the generated
image.
2009-02-18 12:56:36 +00:00
diva
d784205527
Improved log message.
2009-02-18 03:50:09 +00:00
diva
3f25128e77
Adds support for preserving animations on region crossings and TPs.
...
Known issue: after TP, the self client doesn't see the animations going, but others can see them. So there's a bug there (TPs only, crossings seem to be all fine).
Untested: did not test animation overriders; only tested playing animations from the viewer.
2009-02-18 01:49:18 +00:00
diva
c381bee515
Makes SP.CopyFrom a bit more robust with respect to sims in older versions which still don't have the new appearance management code.
2009-02-17 23:46:19 +00:00
Melanie Thielker
33331167b5
Fix a typo. i + i is not 2 times me
2009-02-17 20:08:35 +00:00
Melanie Thielker
7c1305a327
Re-fixing the fix :/
2009-02-17 19:33:25 +00:00
Melanie Thielker
d94c67e953
One-liner to fix an omission
2009-02-17 19:30:35 +00:00
Dr Scofield
6fbc1f2b23
- additional code to get ConciergeModule to do truly async broker updates
...
- adding watchdog timer async web request
- making broker update timeout configurable
2009-02-17 18:27:01 +00:00
Justin Clarke Casey
e28738c13b
* Assign incoming items with a random UUID so that archives can be loaded more than once
...
* Also remove a duplicate write archive call in the unit test which might be causing test failures for people using mono 2.2 (though not 1.9.1, it would seem)
2009-02-17 18:19:24 +00:00
Justin Clarke Casey
d205cb5260
* extend inventory archive save test to check for the presence of the item file in the saved archive
2009-02-17 17:40:48 +00:00
diva
d347b59ca4
Addresses mantis #3181 . Waiting for confirmation from the reporter.
2009-02-17 17:38:11 +00:00
Justin Clarke Casey
af57937760
* Apply http://opensimulator.org/mantis/view.php?id=3068
...
* This enables parsing of xml files and files obtained via http for the -inimaster option as well as -inifile
* Thanks StrawberryFride!
2009-02-17 17:12:10 +00:00
Justin Clarke Casey
4e779bbd81
* switch to pulsing monitors to perform test sync instead of events, since this doesn't allow one to accidentally forget to reset the event
2009-02-17 16:51:09 +00:00
Justin Clarke Casey
014e9e2c6d
* Get rid of a unit test race condition based on my misreading of the AutoResetEvent docs
...
* Hopefully this will reduce the spike in build failures seen in the past few days (since I introduced an addition oar test)
2009-02-17 16:25:59 +00:00
Justin Clarke Casey
46fd31346d
* Apply http://opensimulator.org/mantis/view.php?id=3178
...
* Moves llEmail() delay to after e-mail send rather than before, in line with SL
* Thanks DoranZemlja
* Last build failure looks like a glitch, but one that has already happened twice recently which I need to look at
2009-02-17 16:04:43 +00:00
Justin Clarke Casey
6bcf7cbb2c
* Apply http://opensimulator.org/mantis/view.php?id=3179
...
* This slightly extends a lock in WorldCommModule so that it covers the GetNewHandle method which states in it's doc that it assumes locking has happened before the method is
called
* Thanks DoranZemlja
2009-02-17 15:55:56 +00:00
Justin Clarke Casey
829c84e69f
* Apply http://opensimulator.org/mantis/view.php?id=3167
...
* Clamps textured map rgb values to 0-255
* Thanks DoranZemlja
2009-02-17 15:47:53 +00:00
Justin Clarke Casey
229b69e044
* Establish InventoryArchiveSaved event for unit tests
...
* This is done on the inventory archiver module directly rather than Scene.EventManager - the module seems the more appropriate location
2009-02-17 15:39:18 +00:00
Melanie Thielker
3130784934
Re-add the objectID field to the anim pack, that was deemed unneccessary
...
and dropped nonths ago, because it is required to get smooth region
crossings with AO running. Without it, in some corner cases, anims will
continue to run in an unstoppable state.
2009-02-17 04:16:42 +00:00
diva
2c272762f8
Small change on dealing with ODE physics, so that this warning doesn't happen: "[PHYSICS]: trying to change capsule size, but the following ODE data is missing - Shell Body Amotor". That warning occurred in MakeRoot, because of the call to SetSize, immediately after making the avie physical.
2009-02-17 03:14:08 +00:00
Mike Mazur
76c0935ec7
- remove the Metadata property from AssetBase and return all previous
...
properties as before
- prefix private variables with m_ in AssetBase.cs
- related to Mantis #3122 , as mentioned in
https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html
- all services will likely need to be upgraded after this commit
2009-02-17 01:36:44 +00:00
diva
7cc9062137
Major change to how appearance is managed, including changes in login and user service/server. Appearance is now sent by the user service/server along with all other loginparams. Regions don't query the user service for appearance anymore. The appearance is passed along from region to region as the avie moves around. And, as before, it's stored back with the user service as the client changes the avie's appearance. Child agents have default appearances that are set to the actual appearance when the avie moves to that region. (as before, child agents are invisible and non-physical).
2009-02-17 00:35:52 +00:00
Dr Scofield
d97dd2bdb4
cleanup
2009-02-16 20:13:59 +00:00
Dr Scofield
4e1f060dd1
From: alan webb <alan_webb@us.ibm.com> & dr scofield <drscofield@xyzzyxyzzy.net>
...
This changeset fixes a rather nasty script compile bug that manifests
itself under heavy load.
2009-02-16 20:01:54 +00:00
Justin Clarke Casey
93837807ff
* refactor: remove AssetCache field hanging off Scene
...
* This is always available at Scene.CommsManager.AssetCache
2009-02-16 19:15:16 +00:00
Justin Clarke Casey
ec07e1aad6
* Iniital inventory archive test code. Doesn't actually do any testing yet
2009-02-16 18:33:05 +00:00
Justin Clarke Casey
9dadf7adfd
* Apply http://opensimulator.org/mantis/view.php?id=3165
...
* Corrects behaviour of llListSort()
* Thanks DoranZemlja!
2009-02-16 16:31:07 +00:00
Justin Clarke Casey
8b513beefa
* minor: print out status messages at start and end of inventory archive loading and saving
2009-02-16 16:22:52 +00:00
Sean Dague
f4bec00057
From: Alan Webb <awebb@linux.vnet.ibm.com>
...
The change makes two principal implementation changes:
[1] It removes the hard coded set of possible asset server client
implementations, allowing any arbitrary implementation that has been
identified to the PluginLoader as an appropriate extension. The
extension point for asset server client extension
is /OpenSim/AssetServerClient. All of the old configuration rules have
been preserved, and any of the legacy configuration values will still
work as they did before, except the implementation is now loaded as a
plug-in, rather than as a hard-coded instantiation of a specific class.
The re-hashing of IAssetServer as an extension of IPlugin made upgrading
of the implementation classes a necessity.
Caveat: I have not been able to meaningfully test the crypto-grid
clients. I believe they should work correctly, but the refactoring
necessary to handle plug-in based initialization (vs constructor-based
initialisation) admits the possibility of a problem.
[2] The asset cache implementation, previously introduce as a hard-code
class instantiation is now implemented as an IPlugin. Once again the
previous (configurationless) behavior has been preserved. But now it is
possible for those interested in experimenting with cache technologies
to do so simply by introducing a new extension for the asset cache
extension point (/OpenSim/AssetCache).
I've tested all of the configuration settings, after applying the patch
to a newly extracted tree, and they seem to work OK.
2009-02-16 12:20:31 +00:00
Dr Scofield
81bb87168f
cosmetic: adding region name to logging statement
2009-02-16 09:17:55 +00:00
Melanie Thielker
37a00427bc
Thank you, cmickeyb, for a patch to ass two string functions
...
to OSSL.
Fixes Mantis #3173
2009-02-16 01:58:26 +00:00
Melanie Thielker
7d77e0e703
Thank you, patnad, for a patch that adds 3 new discovery functions
...
to OSSL.
Applied with changes.
Fixes Mantis #3172
2009-02-16 01:22:37 +00:00
diva
312b0f91c4
More guards around SetHeight.
2009-02-15 20:02:13 +00:00
idb
98e7ea015c
Fix exception when standing up.
...
Fixes Mantis #3170
2009-02-15 16:12:58 +00:00
Melanie Thielker
272a319a3e
Thank you, Vytek, for a patch that streamlines the delay in the email
...
module and changes SMTP authentication (applied with changes)
Fixes Mantis #3168
2009-02-15 13:54:34 +00:00
diva
9b19c65450
Guarding the new call to SetHeight in MakeRoot, so that ODE doesn't complain when it's 0.
2009-02-15 06:12:11 +00:00
diva
52c5b75174
Moving SendInitialData sort of back to where it was before, so that it doesn't interfere with the unit tests.
2009-02-15 05:50:07 +00:00
diva
3d5a9e6748
This started as way to correct Mantis #3158 , which I believe should be fixed now. The flying status was temporarily being ignored, which caused the avie to drop sometimes -- there was a race condition. In the process it also fixes that annoying bug in basic physics where the avie would drop half-way to the ground upon region crossings (SetAppearance was missing). Additionally, a lot of child-agent-related code has been cleaned up; namely child agents are now consistently not added to physical scenes, and they also don't have appearances. All of that happens in MakeRoot, consistently.
2009-02-15 05:00:58 +00:00
Dahlia Trimble
7731c055e4
Set sculpt map alpha to 255 prior to scaling and meshing. Addresses Mantis #3150
2009-02-15 04:00:00 +00:00
Melanie Thielker
7ea2812a9e
Thank you, DoranZemlja, for a patch that addresses some moe llGetNextEmail
...
issues.
Fixes Mantis #3145 .
2009-02-15 01:06:03 +00:00
diva
a2d17dfff1
Restores the HGWorldMap functionality that has been reduced since a recent refactoring of the WorldMapModule.
2009-02-14 21:26:20 +00:00
Melanie Thielker
4bc52888be
Thank you, DoranZemlja, for a patch that implements local inter-object email
...
delivery.
Leaving Mantis #3145 open so that more code can be added.
2009-02-14 21:25:22 +00:00
idb
67b0ba71da
Add an override for the % operator.
...
Fixes Mantis #3157
2009-02-14 18:09:08 +00:00
diva
622e7b4c7d
This hopefully fixes a long-standing annoying behavior related to neighbour regions going up & down while avies are logged in (mantis #2701 , perhaps? maybe not). This is the bug mentioned 2 commits ago. If this proves to work well in OSGrid, there's a lot of old code cleaning to do.
2009-02-14 17:17:48 +00:00
diva
5655233ad0
Making initialized an instance variable again. My last commit wrote over justin's r8383, for some strange reason.
2009-02-14 16:56:37 +00:00
diva
217ffee8cb
Moved RegionUp to REST/LocalComms. The original functionality has been entirely maintained, although it will have to be revisited soon, because it's buggy.
2009-02-14 16:37:55 +00:00
Melanie Thielker
d31bf02eaf
Thank you, patnad, for a patch that removes the "Subdivision of" text
...
when dividing land.
Fixes Mantis #3154
2009-02-14 12:24:26 +00:00
idb
63a1cab7fe
Correct llGetNumberOfPrims to include sitting avatars in the count.
2009-02-13 21:56:50 +00:00
Justin Clarke Casey
bc9a013f52
* minor: remove mono compiler warnings
2009-02-13 20:51:22 +00:00
Melanie Thielker
a8f3d625cb
Guard the values used to set the cursor position in the real time console
2009-02-13 20:49:23 +00:00
Justin Clarke Casey
b71d68c9bc
* Change static field "initialized" in RestInterregionComms to an instance field
...
* This was the cause of teleport tests interfering with each other
2009-02-13 20:12:11 +00:00
Justin Clarke Casey
d307109e1a
* refactor: move alert commands from Scene to DialogModule
2009-02-13 19:03:18 +00:00
Justin Clarke Casey
a46c9b0eea
* Quieten down log messages from the Friends module
2009-02-13 18:02:24 +00:00
Justin Clarke Casey
d31810d548
* add file missing from last commit
2009-02-13 17:41:48 +00:00
Justin Clarke Casey
92232663e4
* refactor: Move LazySaveGeneratedMapTile from scene to WorldMapModule
2009-02-13 17:40:52 +00:00
Justin Clarke Casey
3b147f814f
* Remove old Scene.CreateTerrainTexture code that is now handled by the world map module
2009-02-13 17:15:49 +00:00
Justin Clarke Casey
42bd38960c
* Apply http://opensimulator.org/mantis/view.php?id=3149
...
* If the texture does not contain any discard levels the last image packet was not sent
* Thanks Snowdrop
2009-02-13 17:02:26 +00:00
Justin Clarke Casey
88b273bc71
* refactor: Move export map function to world map module from scene
2009-02-13 16:43:20 +00:00
Dr Scofield
6600a7a9bc
fixing crash due to make-child and make-root stepping on each other's toes
2009-02-13 16:11:52 +00:00
diva
1b4a615690
Commented the tests for region crossings for now -- they need to be substantially changed because of the callback from region B triggered by the client.
2009-02-13 04:08:28 +00:00
diva
96113e5660
And finally... region crossings entirely over RESTComms/LocalComms. No more remoting for agent movements. WARNING: This breaks region crossing compatibility with previous versions.
2009-02-13 03:45:08 +00:00
Jeff Ames
163c1026d1
Fix some compiler warnings. Minor formatting cleanup.
2009-02-13 02:52:08 +00:00
Jeff Ames
95d53d48d4
Add copyright headers. Minor formatting cleanup. Fix some compiler warnings. Fix some m_log declarations.
2009-02-13 02:06:28 +00:00
diva
a54758eef3
Bug fix in prim crossing: making it clear when the local object needs to be cloned (regions on the same instance) and when it doesn't (regions on different instances).
2009-02-13 00:49:58 +00:00
diva
ad1e2e0b8b
Fixes a bug in the ScenePresence test itself.
2009-02-12 23:38:41 +00:00
diva
7a274a7e1d
Makes region crossings asynchronous. Moved the bulk of the original code out of ScenePresence and into SceneCommunicationService, where it should be (next to RequestTeleportToLocation). No changes in the crossing mechanism itself, yet. But this change opens the way to doing crossings as slowly as it needs to be, outside the simulator Update loop.
...
Note: weirdnesses may occur!
2009-02-12 23:23:44 +00:00
Justin Clarke Casey
9177f28710
* Make it possible to load and save inventory archives while a user is not logged in on standalone mode but not on grid mode
...
* No user functionality yet
2009-02-12 19:54:19 +00:00
Sean Dague
5959e42683
large scale fix for svn props after "the great refactor"
2009-02-12 18:59:45 +00:00
diva
8ed9c3b8cd
Commented a couple of not very useful log messages that are cluttering the log in sims that have objects belonging to foreign users.
2009-02-12 18:43:49 +00:00
Justin Clarke Casey
e2b2ac8715
* Remove a change which shouldn't have made it into the last commit
...
* Rogue change affected grid only
2009-02-12 18:37:27 +00:00
Justin Clarke Casey
34ef01615c
* Add missing OpenSIm.Framework.Communications ref for Wdinwos builds
2009-02-12 18:31:56 +00:00
Justin Clarke Casey
f74326c1b0
* move userinfo for inventory archiving up to module class so that it only has to be done once
2009-02-12 17:41:09 +00:00
Justin Clarke Casey
e7427f21bd
* Remove some pointless CachedUserInfo != null tests since these are already made in earlier code
2009-02-12 17:17:04 +00:00
Justin Clarke Casey
31ca3a8d4d
* refactor: Move RequestInventoryForUser() from service to CachedUserInfo
...
* This simplifies callers in most cases - CachedUserInfo is already handling the rest of the fetch inventory work anyway
2009-02-12 17:07:44 +00:00
Sean Dague
058ec414b4
* Added XEngine tests and gathered other ScriptEngine
...
Tests together
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-12 17:02:54 +00:00
lbsa71
801da4346a
* optimized usings.
2009-02-12 09:53:12 +00:00
Dahlia Trimble
d21601d497
Thanks Kitto Flora for a patch that adds automatic min fly height to ODE - Mantis #3134
2009-02-12 07:58:10 +00:00
diva
4ee99e2aab
Sending this to Justin, so that he can see what's wrong with the StandaloneTeleportTests when we add RESTInterregionComms module to the ScenePresenceTests.
2009-02-12 04:26:13 +00:00
diva
98bfeabf94
Makes ban of HG users exactly the same as ban of local users, that is upon AddClient and not before.
2009-02-12 02:03:36 +00:00
diva
5dae1ddb5a
Fixes mantis #3121 .
2009-02-12 01:09:51 +00:00
diva
b6e7e5ed42
Enforce estate bans on Teleports.
2009-02-11 21:07:41 +00:00
Justin Clarke Casey
83105211bc
* minor: remove some mono compiler warnings
2009-02-11 20:36:17 +00:00
Justin Clarke Casey
9b6035c2a6
* When an inventory archive is loaded, immediately update the client's inventory if that client is online at that region server
...
* Not useable yet
2009-02-11 20:24:41 +00:00
Justin Clarke Casey
8645c7482d
* Change SendBulkUpdateInventory from two methods to one which accepts an InventoryNode
2009-02-11 19:57:45 +00:00
Justin Clarke Casey
e12981ef1b
* Establish a common InventoryNodeBase class from InventoryItemBase and InventoryFolderBase
2009-02-11 19:29:59 +00:00
Justin Clarke Casey
162a59ba17
* Refactor inventory archive code to allow direct invocation in order to support future unit tests
...
* Add a file I missed out from the last commit (the build was probably fine without it)
2009-02-11 18:46:51 +00:00
Justin Clarke Casey
04d6a810b6
* More inventory archive invocation to a proper region module
...
* Not ready for use yet
2009-02-11 17:34:12 +00:00
Charles Krinke
6b187ae196
Thank you kindly, FrankNichols for a patch that:
...
The following patch fixes http://opensimulator.org/mantis/view.php?id=3107
[^] by changing call from setRot to llSetRot, the later handles
child prim being rotated relative to root prim in linked set.
2009-02-11 16:01:56 +00:00
Dr Scofield
f70e580f86
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
This changeset add the RegionReady module code. The module sends a
message on a configurable channel when an oar file has finished
loading or if the script engine has emptied its queue for the first
time (eg server startup). Config is something like this:
[RegionReady]
enabled = true
channel_notify = -800
The module also knows if there was an error with startup.
2009-02-11 14:35:07 +00:00
Melanie Thielker
c754160dee
If an instance contains only one region, select it in the console by default
2009-02-10 23:40:22 +00:00
Sean Dague
83347360c3
fix a typo where the High Southwest height was getting set to the Low
...
Southwest height
2009-02-10 23:31:49 +00:00
Melanie Thielker
9bfbfa381a
Add proper handling for shared vs. unshared modules to the command
...
interface. Shared modules will now only get added once, so the command
handler is called once per module, not once per scene. Removal of scenes
has no adverse effects. Nonshared modules will be called for each scene.
2009-02-10 23:15:48 +00:00
diva
b4be9baa4a
Fixes the problem of attachment offset after crossings/TPs. Hopefully it fixes mantis #3126 , as well as other random displacements. The problem was that the new object at the receiving region was being marked as attachment before AttachObject was called. That made its AbsolutePosition be the position of the avie, and that was what was being given to AttachObject.
2009-02-10 22:54:05 +00:00
Justin Clarke Casey
8c157a7aae
* Remove load and save inventory commands from the console since these are actually experimental and the storage format may soon undergo incompatible changes
...
* If you were using these please uncomment the code before rebuilding, but be aware that old files may become incompatible soon
2009-02-10 19:33:09 +00:00
Justin Clarke Casey
bd4955468e
* minor: Remove SOG XML2 serialization log messages for now
2009-02-10 19:00:10 +00:00
Justin Clarke Casey
0cd5a353cf
* Stop OpenSim crashing if an exception from a command makes it right up to the top of the stack
2009-02-10 18:50:25 +00:00
Justin Clarke Casey
25bc7a44cd
* Implement merging of oars in code
...
* Not fully tested yet and not yet available as an option from the user console
2009-02-10 18:43:36 +00:00
Justin Clarke Casey
879338499f
* extend load oar test to check that an object was actually loaded
2009-02-10 16:56:35 +00:00
Justin Clarke Casey
566bc33824
* Fix build break, parentheses in the wrong place
2009-02-10 15:46:38 +00:00
Justin Clarke Casey
5b7a5696e5
* Overwrite the old saved OpenSim.ini file saved in response to a crash if one already exists
2009-02-10 15:35:41 +00:00
Dr Scofield
a99285ecc6
fixing ConciergeModule to follow coding conventions
2009-02-10 14:32:23 +00:00
Sean Dague
ac6657d0f1
From Rob Smart <SMARTROB@uk.ibm.com>
...
In SL if llAbs() is called with the minimum integer value of -2147483648
it will return that value untouched without error.
this patch replicates the SL functionality.
OpenSim currently throws an overflow exception: number too small under
mono or a "System.OverflowException: Negating the minimum value of a
twos complement number is invalid. " under .NET
2009-02-10 13:36:42 +00:00
Dr Scofield
180be7de07
this is step 2 of 2 of the OpenSim.Region.Environment refactor.
...
NOTHING has been deleted or moved off to forge at this point. what
has happened is that OpenSim.Region.Environment.Modules has been split
in two:
- OpenSim.Region.CoreModules: all those modules that are either
directly or indirectly referenced from other OpenSim packages, or
that provide functionality that the OpenSim developer community
considers core functionality:
CoreModules/Agent/AssetTransaction
CoreModules/Agent/Capabilities
CoreModules/Agent/TextureDownload
CoreModules/Agent/TextureSender
CoreModules/Agent/TextureSender/Tests
CoreModules/Agent/Xfer
CoreModules/Avatar/AvatarFactory
CoreModules/Avatar/Chat/ChatModule
CoreModules/Avatar/Combat
CoreModules/Avatar/Currency/SampleMoney
CoreModules/Avatar/Dialog
CoreModules/Avatar/Friends
CoreModules/Avatar/Gestures
CoreModules/Avatar/Groups
CoreModules/Avatar/InstantMessage
CoreModules/Avatar/Inventory
CoreModules/Avatar/Inventory/Archiver
CoreModules/Avatar/Inventory/Transfer
CoreModules/Avatar/Lure
CoreModules/Avatar/ObjectCaps
CoreModules/Avatar/Profiles
CoreModules/Communications/Local
CoreModules/Communications/REST
CoreModules/Framework/EventQueue
CoreModules/Framework/InterfaceCommander
CoreModules/Hypergrid
CoreModules/InterGrid
CoreModules/Scripting/DynamicTexture
CoreModules/Scripting/EMailModules
CoreModules/Scripting/HttpRequest
CoreModules/Scripting/LoadImageURL
CoreModules/Scripting/VectorRender
CoreModules/Scripting/WorldComm
CoreModules/Scripting/XMLRPC
CoreModules/World/Archiver
CoreModules/World/Archiver/Tests
CoreModules/World/Estate
CoreModules/World/Land
CoreModules/World/Permissions
CoreModules/World/Serialiser
CoreModules/World/Sound
CoreModules/World/Sun
CoreModules/World/Terrain
CoreModules/World/Terrain/DefaultEffects
CoreModules/World/Terrain/DefaultEffects/bin
CoreModules/World/Terrain/DefaultEffects/bin/Debug
CoreModules/World/Terrain/Effects
CoreModules/World/Terrain/FileLoaders
CoreModules/World/Terrain/FloodBrushes
CoreModules/World/Terrain/PaintBrushes
CoreModules/World/Terrain/Tests
CoreModules/World/Vegetation
CoreModules/World/Wind
CoreModules/World/WorldMap
- OpenSim.Region.OptionalModules: all those modules that are not core
modules:
OptionalModules/Avatar/Chat/IRC-stuff
OptionalModules/Avatar/Concierge
OptionalModules/Avatar/Voice/AsterixVoice
OptionalModules/Avatar/Voice/SIPVoice
OptionalModules/ContentManagementSystem
OptionalModules/Grid/Interregion
OptionalModules/Python
OptionalModules/SvnSerialiser
OptionalModules/World/NPC
OptionalModules/World/TreePopulator
2009-02-10 13:10:57 +00:00
Melanie Thielker
a1393db7f0
Stopgap measure: To use gridlaunch, or GUI, start opensim with
...
OpenSim.exe -gui=true
2009-02-10 12:25:29 +00:00
diva
08ef0ddd22
Commented out a problematic test that needs more careful revision.
2009-02-10 00:15:30 +00:00
diva
d9d5a56f1d
Fixes a failed unit test on ScenePresences tests. That test unit needs some fixing too.
2009-02-09 23:12:49 +00:00
Jeff Ames
a3d14832af
Update svn properties, minor formatting cleanup.
2009-02-09 22:49:05 +00:00
diva
2c685bff14
Moved prim crossing out of OGS1 and into RESTComms and LocalInterregionComms. This breaks interregion comms with older versions in what concerns prim crossing. In the process of moving the comms, a few things seem to be working better, namely this may address mantis #3011 , mantis #1698 . Hopefully, this doesn't break anything else. But I'm still seeing weirdnesses with attchments jumping out of place after a cross/TP.
...
The two most notable changes in the crossing process were:
* Object gets passed in only one message, not two as done before.
* Local object crossings do not get serialized, as done before.
2009-02-09 22:27:27 +00:00
Sean Dague
8088802c21
From Alan Webb <awebb@linux.vnet.ibm.com>
...
These changes replace all direct references to the AssetCache with
IAssetCache. There is no change to functionality. Everything works as
before.
This is laying the groundwork for making it possible to register
alternative asset caching mechanisms without disrupting other parts of
OpenSim or their dependencies upon AssetCache functionality.
2009-02-09 21:47:55 +00:00
Justin Clarke Casey
a034b640da
* Add the ability to type help <command> for more detailed help about a specific command if any is available
2009-02-09 20:52:04 +00:00
Sean Dague
66dc421be7
a last set of files that seem to have embedded ^M in them
2009-02-09 20:06:06 +00:00
Justin Clarke Casey
d1d93fae6c
* Restore show information for the OpenSim region server (version, info, threads, etc.)
2009-02-09 18:11:09 +00:00
Melanie Thielker
2fe9915951
Reinstate the KickUserCommand handler, which was commented out by
...
another dev whiel I was putting the reference to it back in
2009-02-09 16:34:21 +00:00
Melanie Thielker
8a9128ccce
Correct a delegate in OpenSim.cs
...
Fixes Mantis #3117
2009-02-09 16:21:13 +00:00
Justin Clarke Casey
f95b8b3863
* Reinstate tests that are now in CoreModules
2009-02-09 15:57:53 +00:00
Dr Scofield
b1739cbbfd
fixing warnings.
2009-02-09 10:40:12 +00:00
Dr Scofield
07804f6937
This patch implements llLookAt to the extent that an object will correctly
...
rotate and point to the target, however it doesnt yet use the damping or
strength parameters.
From: Robert Smart <smartrob@uk.ibm.com>
2009-02-09 10:04:54 +00:00
Dr Scofield
a89d097355
starting phase 2 of the OpenSim.Region.Environment commit: relocating
...
OpenSim.Region.Environment.Modules.Agent en bloc to OpenSim.Region.CoreModules
2009-02-09 09:16:15 +00:00
Mike Mazur
9a33a4733e
Thanks Tommi Laukkanen for a patch that allows the
...
CSCodeGeneratorTest.TestStringsWithEscapedQuotesAndComments unit test to
pass on Windows. Fixes Mantis #3104 .
2009-02-09 00:59:02 +00:00
Teravus Ovares
d85fce99f4
* Once again, fixing linked prim collisions by putting AbsolutePosition = AbsolutePosition; back in the linking routine. Why was it removed? It's critical to the physics scene.
...
* Fixes mantis #3108
2009-02-08 18:05:12 +00:00
Teravus Ovares
c0c330988f
* Some minor cleanup
...
* sealed OdeScene
2009-02-08 17:41:15 +00:00
Teravus Ovares
26ca3e26bf
Reverts patch from tuco/mikkopa/sempuki mantis #3072
2009-02-08 17:25:02 +00:00
Dahlia Trimble
8cc327cfa3
send group name in binary bucket in chatterbox invitation eventqueue message
2009-02-08 10:50:22 +00:00
Teravus Ovares
b60931b686
* Limit the total number of joints created per frame to the maximum possible without causing a stack collision.
...
* This fixes crashing on large sets of physical prims because of stack collisions (assuming you follow the directions on linux for starting ode with ulimit). After the maximum joints are created, objects will start to fall through the ground and be disabled. Not the best solution, but it's better then a crash caused by a stack collision with the process exceeding the maximum available memory/recursions per thread.
* Make a clean region, make a stack of 5000 prim, 20 layers high. Make them physical, *SLOW*, but no crash.
2009-02-08 03:02:43 +00:00
Teravus Ovares
08a9a85376
* Fixes colliding with the terrain lower then 0 and higher then 256m
...
* The actual AABB of the heightfield on the Z is now determined by the minimum and maximum heightfield value in the terrain array (assuming it's a reasonable number). This might optimize collisions in simulators that have a small difference between minimum and maximum heightfield values.
2009-02-08 01:05:09 +00:00
diva
665269a277
* Removed the duplicate AddCapsHandler that existed in ScenePresence.MakeRootAgent; CAPs are already in place when this runs.
...
* Moved MoveAgentIntoRegion further down in the CompleteMovement method.
* changed a couple of methods from protected to public in SceneCommunicationService
2009-02-08 00:54:56 +00:00
diva
0031489072
Bug fix related to the filling out the remoting port in RegionInfo. It still must be there because of attachments.
2009-02-07 23:51:30 +00:00
lbsa71
262acf61c4
* Refactored UserLoginService.CustomiseResponse to be (almost) text-wide identical to LocalLoginService.CustomiseResponse in order to be able to pull them up.
2009-02-07 20:16:58 +00:00
Charles Krinke
63fd4c0fb2
Thank you kindly, TLaukkan (Tommil) for a patch that:
...
Created nunit test for LSL API and example test for
llAngleBetween which was marked untested in wiki.
Run new test succesfully with NUnitGUI and nant build.
2009-02-07 18:11:04 +00:00
diva
ff0fa12903
Adds support for HG linking to specific regions within an instance. The format is Host:Port:Region. Refactored the linking code from MapSearchModule to HGHyperlink, so that it can be used both by the MapSearchModule and the Console command.
2009-02-07 16:10:23 +00:00
Sean Dague
6bd2979486
the parameters for llAtan2 were inverted before passing to Math.
...
Thanks to Rob Smart for pointing this out.
2009-02-07 13:16:27 +00:00
Melanie Thielker
54c6a920ba
Replace the console for all OpenSim apps with a new console featuring command
...
line editing, context sensitive help (press ? at any time), command line
history, a new plugin command system and new appender features thet let you
type while the console is scrolling. Seamlessly integrates the ICommander
interfaces.
2009-02-07 12:25:39 +00:00
lbsa71
4d4402158e
Thank you dslake for a patch that:
...
* fixes mantis #3092 : User Server sets agent starting position to passed x/y/x instead of x/y/z
2009-02-07 09:45:56 +00:00
Justin Clarke Casey
a6b21a3b83
* minor: Apply second patch from http://opensimulator.org/mantis/view.php?id=3089
...
* This adds more explanation for the new proxy settings in OpenSim.ini.example
* Also does some formatting correction
* I did some additional reformatting on top of that
2009-02-06 21:56:50 +00:00
Justin Clarke Casey
fae20712a9
* reinstate OpenSim/Region/Framework/Scenes/Tests
...
* should bring us back up to 240 tests
2009-02-06 21:37:10 +00:00
Justin Clarke Casey
84659396b8
* Make the module loader display which module failed if there was a loading problem
...
* Such failures are now fatal to grab the user's attention.
* However, they could be made non-fatal (just with a loud error warning) if this proves too inconvenient
2009-02-06 19:12:04 +00:00
Justin Clarke Casey
00a3cbd6fa
* Implement help <command> from the region console
...
* So at the moment once can type 'help terrain fill' as well as 'terrain fill help'
* Current implementation is a transient hack that should be tidied up soon
2009-02-06 18:18:01 +00:00
Dr Scofield
9b66108081
This changeset is the step 1 of 2 in refactoring
...
OpenSim.Region.Environment into a "framework" part and a modules only
part. This first changeset refactors OpenSim.Region.Environment.Scenes,
OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces
into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region
modules in OpenSim.Region.Environment.
The next step will be to move region modules up from
OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and
then sort out which modules are really core modules and which should
move out to forge.
I've been very careful to NOT BREAK anything. i hope i've
succeeded. as this is the work of a whole week i hope i managed to
keep track with the applied patches of the last week --- could any of
you that did check in stuff have a look at whether it survived? thx!
2009-02-06 16:55:34 +00:00
Dahlia Trimble
3465447e17
more eventqueue endian madness
2009-02-06 09:58:23 +00:00
Dahlia Trimble
5cef64f564
move RegionDenyAgeUnverified parameter to AgeVerificationBlock in parcel properties event queue message. Addresses Mantis#3090
2009-02-06 08:53:30 +00:00
Dahlia Trimble
28820e6185
Thanks cmickyb for a patch (Mantis#3089) that adds support for proxy in http requests
2009-02-06 01:25:59 +00:00
Justin Clarke Casey
f8c372721b
* minor: remove mono compiler warning
2009-02-05 22:03:23 +00:00
Justin Clarke Casey
fae5d25e82
* Apply http://opensimulator.org/mantis/view.php?id=3056
...
* Clamps negative values to zero when a terrain is exported in LLRAW format, since LLRAW doesn't support negative values.
* Thanks jonc!
2009-02-05 21:54:22 +00:00
Justin Clarke Casey
10aa027ec8
* Remove CommanderTestModule as there are several normal modules which effectively fulfil this function
2009-02-05 21:46:57 +00:00
Justin Clarke Casey
3027b6ad27
* cheap hack to make module help information more accurately reflect what command text needs to be typed
...
* Should disappear soon
2009-02-05 21:46:04 +00:00
Justin Clarke Casey
732cd838b1
* Make existing module commanders register as help topics
...
* Typing help will now give a list of these topics at the top (as well as the rest of the current help stuff)
* Typing help <topic> will give information about commands specific to that topic
2009-02-05 21:35:59 +00:00
Justin Clarke Casey
9a666bda02
* Use the commander name to register module commanders instead of providing the information twice
2009-02-05 19:54:22 +00:00
Justin Clarke Casey
65448cd02d
* refactor: Split out module Command class into a separate file
2009-02-05 19:34:23 +00:00
Justin Clarke Casey
18100eee50
* Remove unused region info list from OpenSimBase.
...
* The same information is available via SceneManager
2009-02-05 18:47:39 +00:00
Justin Clarke Casey
d04025ff3d
* refactor: Move module handling code up into SceneBase from Scene, reducing the large number of different things that Scene does
2009-02-05 18:36:53 +00:00
Sean Dague
efcf00ee60
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
This patch fixes the problem where if an object containing a script is
deleted at the same time as an object containing the same script is
rezzed, it can result in the assembly file being deleted after the
second object script initialisation has found it but not started using
it yet, resulting in the script not starting up.
2009-02-05 16:12:51 +00:00
Teravus Ovares
2a998d6cd7
* Add the second version of the experimental ObjectAdd Cap. It will handle both versions currently.
2009-02-05 13:43:36 +00:00
Teravus Ovares
8f31210432
* Committing an experimental ObjectAdd module. Intended to work with http://jira.secondlife.com/browse/VWR-8049 .
...
* Catherine contacted us and gave us a LLSD dump to study for implementation.
* Still needs to be tested. May not produce expected results.
2009-02-05 06:44:46 +00:00
Justin Clarke Casey
577064fb9d
* minor: remove deprecated and unused terrain method from SceneManager
...
* other minor tidy up
2009-02-04 20:37:20 +00:00
Justin Clarke Casey
a1da605706
* Introduce a new "default" option for asset_database in the [STORAGE] section
...
* This option makes OpenSim use the usual db based asset service in standalone, and the grid based one in grid mode
* The other options can (local, grid, etc) can still be used explicitly as before
* Also change OpenSim.ini.example and the surrounding explanative text
2009-02-04 18:56:12 +00:00
diva
be3e676d33
Addresses a race condition that happened between the viewer and the departing region wrt the creation of the child agent in the receiving region, and that resulted in failed TPs.
2009-02-04 16:31:48 +00:00
MW
8d6bd1b650
Added a ForceSceneObjectBackup method to Scene, which as it says forces a database backup/update on the SceneObjectGroup.
...
This is now called at the beginning of DeRezObject, so we know the database is upto date before we attempt to delete a object.
Fix Mantis #1004
Which happened because Database backups don't happen if a object is still selected, so when you select a part in a link-set and then unlink it and then delete it, all without unselecting the prim at all. The unlink changes never get updated to the database. So then when the call to delete the prim from the database happens, which is called with the SceneObjectId. That SceneObjectId is never found, as the database still has that prim as part of another link set.
It is possible that these changes might have to be reverted and for us to find a different method of fixing the problem. If the performance overhead is too high or it causes any other problems.
2009-02-04 16:00:39 +00:00
Mike Mazur
0c03a48fb2
- add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of it
...
- trim trailing whitespace
2009-02-04 00:01:36 +00:00
Justin Clarke Casey
1adb8c33b2
* Add another object to the existing save oar test
2009-02-03 20:45:18 +00:00
Justin Clarke Casey
1c0df5e40f
* Address http://opensimulator.org/mantis/view.php?id=3076 by actually eliminating the redundant enable = true commented example
...
* Comment out some startup verbosity from the module if we haven't enabled it
2009-02-03 20:16:15 +00:00
Justin Clarke Casey
2009d1aa01
* Fission SceneObjectTests into basic and linking sets
2009-02-03 20:13:34 +00:00
Justin Clarke Casey
984cf94375
* Lock the parts for the old group while we're clearing it as well - not much point doing one without the other
...
* Shouldn't result in any deadlocks as I don't think there are any locks in the calling code
2009-02-03 19:36:57 +00:00
Justin Clarke Casey
cff7664a37
* Mark the old group after linking as deleted
...
* Add unit test assertions to check this
2009-02-03 19:13:17 +00:00
diva
4ea2749b37
OK, commenting the return again :-/
2009-02-03 19:03:01 +00:00
Justin Clarke Casey
b2de0a3ae6
* Now clearing parts list in the old group after a link has occurred
...
* Adjusted existing link tests to reflect this and added some new assertions
2009-02-03 18:48:04 +00:00
Justin Clarke Casey
35f9f2545d
* Lock parts while they're being duplicated to prevent possible race conditions with other parts changers
...
* This shouldn't provoke any deadlocks since the callers aren't taking any other locks beforehand
2009-02-03 18:06:24 +00:00
Justin Clarke Casey
a9e76ce847
* minor: remove some pointless assignments in SOG.Copy() that had already been done by MemberwiseClone()
2009-02-03 17:50:25 +00:00
Teravus Ovares
c80733cc98
* Fixes mantis #3070
2009-02-03 14:11:52 +00:00
Mike Mazur
949ae6136e
Change access levels from private to protected to facilitate
...
subclassing; also add new method signatures. Thanks tuco and mikkopa.
Fix Mantis #3072 .
2009-02-03 08:31:08 +00:00
Mike Mazur
e12b0a2496
- move IAssetDataPlugin from OpenSim/Framework/IAssetProvider.cs to
...
OpenSim/Data/IAssetData.cs
- remove some trailing whitespace
2009-02-03 05:20:16 +00:00
Mike Mazur
f8e45e8e98
Rename IAssetProviderPlugin to IAssetDataPlugin aligning with the other data plugins.
2009-02-03 05:20:03 +00:00
Justin Clarke Casey
2c2f10e156
* Establish OnOarFileSaved EventManager event and subscribe to that instead of passing in a waithandle to the archiver
...
* This matches the existing OnOarFileLoaded event
* This brings up the question of how these things can be made generic so that they don't have to be tied into EventManager, but that's a topic for another day
2009-02-02 20:59:12 +00:00
Justin Clarke Casey
13a5243d76
* As per http://opensimulator.org/mantis/view.php?id=3065
...
* Copy OpenSim.ini to _OpenSim.ini on crash instead of opensim.ini
* This makes it work on Linux/Mac(?) as well as Windows
2009-02-02 20:01:50 +00:00
idb
49946cb7aa
Restore llGetSunPosition to its former self.
...
Fixes Mantis #2195
2009-02-02 19:20:12 +00:00
Justin Clarke Casey
176920f8d3
* Make it more obvious that there is an enabled switch for chat in OpenSim.ini.example.
...
* Add default information for other chat settings
2009-02-02 17:27:23 +00:00
Justin Clarke Casey
6f9c1e3bcc
* Stop the instant message module from trying to register for the message transfer module in PostInitialise() if it hasn't actually been enabled
2009-02-02 17:22:20 +00:00
Justin Clarke Casey
e0cef010f3
* Small tweak to move name replacement in friendship offer since server side requests don't want the lookup
2009-02-02 17:19:57 +00:00
Dr Scofield
3682212fbf
[previous VectorRender patch was from: Robert Smart
...
<SMARTROB@uk.ibm.com>]
clean up.
2009-02-02 14:57:20 +00:00
lbsa71
8a098bf12c
* Minor refactoring and comments updates
...
* Ignored some gens
2009-02-02 14:57:01 +00:00
Dr Scofield
7ec667d279
[patching previous patch and also taking the chance of fixing the
...
previous commit message]
This patch reimplements the Draw method in the VectorRenderModule which is
used to create dynamic textures.
The previous version was limited to creating square dynamic textures, it
also didnt allow for dynamically loading an image containing transparency
except at 256x256.
The extraParams string in such functions as osSetDynamicTextureData can
now be passed a comma seperated string of name value pairs which set the
width,height and alpha value of dynamic textures. e.g.
"height:512,width:2048,alpha:255"
Backward compatibility is still preserved so passing the old params of
either a string integer "256" "512" will still work in the same fashion as
will passing "setAlpha" on its own
2009-02-02 13:58:01 +00:00
Dr Scofield
b9db1b1345
Merge branch 'vector' into OpenSimulator.org
2009-02-02 11:40:34 +00:00
lbsa71
4e5e70491b
* Removed erroneous reference to the Data.Base Framework
2009-02-02 11:27:58 +00:00
Jeff Ames
496ed4488d
Minor formatting cleanup.
2009-02-02 09:01:00 +00:00
Teravus Ovares
aabaa35af7
* Adding the Tree module configuration options to OpenSim.ini.example
...
* Adding an option to use the tree module to manage the trees in the simulator (grow/reproduce/die)
* Setting it to off by default in an effort to reduce the number of threads in use by default
* You can also turn it on in a 'one off' way with 'tree active true' on the console. To 'one off' turn it off, it's 'tree active false'. The permanent way to do that, however is in the opensim.ini.
2009-02-02 06:04:03 +00:00
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
Melanie Thielker
1c89c348b7
Fix build break
2008-11-22 16:09:58 +00:00
Melanie Thielker
e982a24f77
Remove a redundant check and add checking for attachments in parcels that
...
have no entry set, part 1
2008-11-22 15:58:52 +00:00
Jeff Ames
25d6b18bcd
Update svn properties, minor formatting cleanup.
2008-11-22 02:33:18 +00:00
Melanie Thielker
c71863d83e
First stage group permissions plumbing
2008-11-22 01:58:36 +00:00
Melanie Thielker
691c4bc756
Mantis #2442
...
Attempt to reinstate the Object Entry flag in parcel settings
2008-11-22 00:23:48 +00:00
Melanie Thielker
48cf76efe7
Introducing IPresenceModule
2008-11-21 22:47:24 +00:00
Homer Horwitz
0d2e5827c5
- No need to build a list of regions and then only the first one.
...
- I first did lock on m_scenes for that access, but as m_scenes (currently) is
only changed in Initialise (and locked there), and PostInitialise is called
after the calls to Initialise, there shouldn't be a need to lock here.
- Trying out git-svn dcommit. Hope this works.
2008-11-21 22:21:49 +00:00
Melanie Thielker
ba723a4cf6
Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make all
...
the internals of the permissions module adapter sane
2008-11-21 22:14:57 +00:00
Justin Clarke Casey
c0cd681608
* Comment out unused access time method in MSSQL
...
* This should probably be being called in FetchAsset() instead as for all the other databases, but I lack the means to test MSSQL
2008-11-21 21:24:39 +00:00
Justin Clarke Casey
915593bfbc
* refactor: Rip out SOP inventory from the partial into a separate class
...
* SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life
* A proper inventory interface to follow
* Parallel changes for other inventory partial classes to follow at a later date
2008-11-21 21:16:42 +00:00
Justin Clarke Casey
02105c9c2a
* Extend sog delete to inventory test to crank the normally async sog deleter by hand
...
* After the crank, assert that the object has now been removed from the scene
2008-11-21 18:46:24 +00:00
Jeff Ames
ecac5c9c5a
Update svn properties, minor formatting cleanup.
2008-11-21 18:44:48 +00:00
Justin Clarke Casey
7dce464113
* Largely revert the last revision and improve on the previous way of doing things
...
* Deleting the object before the async to inventory is bad since if OpenSim crashes (or is shutdown!) in the time inbetween, then the object is lost
* Also now delete the object from the scene only after it has gone to inventory - in the old way there was still a race condition
* This is still not ideal since the 'deleted' object remains in the scene and probably could be manipulated. But this is better than the alternative
2008-11-21 18:33:09 +00:00
Justin Clarke Casey
e261c97470
* On delete to inventory, actually remove the group from the scene before the async stage.
...
* Last time I accidentally left the existing code in place that merely wiped the group from the client (but not the scene)
* Put in an incomplete 'delete object o inventory' test to assert that this happens
2008-11-21 18:17:01 +00:00
Justin Clarke Casey
82aa8e0327
* minor: Remove comparison of UUID struct against null picked up as a warning
2008-11-21 17:35:34 +00:00
Justin Clarke Casey
c2d3d8d88e
* Improve and correct messages given to the user when permission is denied for a particular OSSL function
...
* I don't believe that the extra information given is anything that couldn't be worked out by trial and error
2008-11-21 17:28:57 +00:00
Melanie Thielker
ee4d4d784e
Fully implement object return from the parcel dialog
2008-11-21 07:33:13 +00:00
Melanie Thielker
46278b34b1
Allow selecting group objects and selecting objects by owner from the
...
parcel dialog.
2008-11-21 05:35:35 +00:00
Melanie Thielker
e9ad6f7913
Plumb in the list if user IDs to the land module to allow selection
...
of objects by owner name
2008-11-21 04:41:39 +00:00
Melanie Thielker
0092ecbce7
Prevent a null reference when giving items.
2008-11-21 00:54:32 +00:00
Justin Clarke Casey
b9c07730f5
* refactor: change some method names and doc in the physics plugin manager
...
* move the directory choice for plugins outside into RegionApplicationBase
2008-11-20 19:52:55 +00:00
Justin Clarke Casey
d625095959
* Allow physics dlls to be loaded separately, rather than just the contents of bin/Physics
...
* This is primarily to see if not loading ODE in the unit tests will allow them to proceed, though the option of separate loading is probably a good thing in itself
2008-11-20 18:28:30 +00:00
Justin Clarke Casey
00d9c3c2cc
* Add a scratch test for removing a client from a scene
2008-11-20 17:27:45 +00:00
Justin Clarke Casey
890beb442a
* Add forgotton tag to existing remove scene object test
2008-11-20 17:18:39 +00:00
Justin Clarke Casey
81dcf223bf
* Add enough infrastructure code to run an extremely basic and flaky add root agent scene test
2008-11-20 16:58:40 +00:00
Sean Dague
e6f92044ca
From: Christopher Yeoh <cyeoh@au1.ibm.com>
...
Attached is a patch which fixes mantis bug 2645 where scripts in child
prims
freeze after being unlinked from the root prim. This got introduced
some time after the 0.6 freeze. Have checked test suites
pass even after nant clean ;-)
http://opensimulator.org/mantis/bug_update_page.php?bug_id=2645
Also removes a redundant ResetIDs call
Regards,
Chris
2008-11-20 00:13:15 +00:00
Justin Clarke Casey
14f3ac1440
* Add just enough to allow the scene presences test to establish a new user connection (though not yet an actual ScenePresence)
2008-11-19 20:13:51 +00:00
Melanie Thielker
6f0e068cf1
Guard against a strange nullref in ODE
2008-11-19 20:04:41 +00:00
Charles Krinke
164ed57ad3
Mantis#2638. Thank you kindly, Sacha Magne for a patch that:
...
Implementing "Play sound inworld". Currently a WIP .
2008-11-19 18:41:10 +00:00
Charles Krinke
44c56a974c
Mantis#2656. Thank you kindly, Nlin for a patch that:
...
Attached patch implements llCollisionSound. Thanks T. Sado.
2008-11-19 18:30:16 +00:00
Melanie Thielker
f518ca7feb
Reapply r7369 r7367 r7366 r7370 r7381. This brings it back up to the new
...
libOMV.
2008-11-19 06:25:34 +00:00
Melanie Thielker
3234472d62
Reverting the texture sending patch and the new libOMV. This makes this
...
release a direct descendant of the stable 7364, with all the features and
none of the issues.
This omits the following patch chain: r7383 r7382 r7381 r7377 r7375 r7373
r7372 r7370 r7369 r7368 r7367 r7366
2008-11-19 06:15:21 +00:00
Melanie Thielker
44a94055a4
Ensure that the physics representation of a deleted object is also removed
2008-11-19 02:13:15 +00:00
Melanie Thielker
a104cc2c62
Fix deleting object that have been persisted already from the DB
2008-11-19 01:37:39 +00:00
Melanie Thielker
0abb762ecc
Patch from jhurliman. Fixing the texture decoding issues in progressive
...
texture sending. Grain of salt not included.
2008-11-18 20:02:25 +00:00
Melanie Thielker
18b6250f40
Remove perts of jhurliman's AD security patch that had slipped in
2008-11-18 18:14:15 +00:00
Melanie Thielker
9d7e503ce3
Prevent a nullref when building new prims while others watch
2008-11-18 17:21:33 +00:00
Melanie Thielker
92517b48e9
Apply JHurliman's texture sender patch
2008-11-18 02:14:06 +00:00
Adam Frisby
434afaf717
* Added and removed debug information relating to client connections
...
* Minor client fixes
* Added the ability for a client to login without a UserProfile, allowing certain alternate clients to connect to the region.
2008-11-18 00:47:30 +00:00
Melanie Thielker
6fd8960064
Prevent the texture downloader from locking a null object when a download
...
hits bad data
2008-11-17 23:48:29 +00:00
Melanie Thielker
2b8915d679
Make newly created prims be the correct group
2008-11-17 23:43:46 +00:00
Melanie Thielker
ece27a3631
Make texture decode errors nonfatal. The texture send is simply dropped
2008-11-17 23:08:37 +00:00
Homer Horwitz
5972eb8848
Fix a few small issues with the progressive texture-download:
...
- The initial priority wasn't passed in, so a discardLevel of -1 in the first
request automatically cancelled texture-download.
- One-packet textures weren't handled, as CurrentPacket starts at 1 and
StopPacket == 0 in that case.
- Increased MAX_ALLOWED_TEXTURE_REQUESTS to 15; incremental texture downloads
will cause more requests.
2008-11-17 22:15:02 +00:00
Melanie Thielker
a8e40bed52
Set group on newly rezzed objects to the rezzer's (or rezzing object's)
...
group
2008-11-17 21:44:09 +00:00
Justin Clarke Casey
93b18d7323
* Remove Appdomain code in XEngine.cs
2008-11-17 21:36:12 +00:00
Justin Clarke Casey
f26f5f6eff
* Apply http://opensimulator.org/mantis/view.php?id=2611
...
* Progressive texture delivery (ported from jhurliman's Simian code)
* Thanks jhurliman!
2008-11-17 21:10:08 +00:00
Justin Clarke Casey
c25a0ea792
* Update libOMV to r2359. This is necessary for the progressive texture patch
...
* Update libopenjpeg as well for this patch.
* Appears to be okay on a very short sniff test
* Source code will be placed in opensim-libs shortly
2008-11-17 21:00:34 +00:00
Justin Clarke Casey
6052ed4707
* Add allowed_script_editors to OpenSim.ini in the same fashion as allowed_script_creators.
...
* This allows one to override normal OpenSim permissions and prevent non-gods from editing any scripts. This allows edit ability
to be rescinded after it has been given, and prevents the security hole where a single script with liberal perms would allow code changes.
* The default setting remains the existing one of never overruling normal edit permissions.
* These two settings may be enough to stop non-gods entering artbirary script code in a closed grid/standalone configuration.
2008-11-17 19:55:32 +00:00
Melanie Thielker
7ced8d136a
Add a few comments
2008-11-17 19:42:21 +00:00
Melanie Thielker
0a01826843
Change some comments that have been superseded
2008-11-17 18:16:08 +00:00
Melanie Thielker
30b626024c
Fix the PAY_HIDE and PAY_DEFAULT constants to be LSLIntegers and get
...
accepted in the quick buttons list
2008-11-17 17:59:15 +00:00
Justin Clarke Casey
de526d0274
* refactor: move user set permissions parsing code into a separate method ready for reuse
2008-11-17 17:59:10 +00:00
Justin Clarke Casey
99bd7cce2b
* Make sure that deleted objects do not send further object updates to the client
2008-11-17 16:33:41 +00:00
Justin Clarke Casey
dcfd343a1e
minor: remove mono compiler warnings
2008-11-17 16:22:21 +00:00
Justin Clarke Casey
558704be8b
* Remove the TransferRequest and hip debugging console output that crept in recently
2008-11-17 16:14:23 +00:00
Justin Clarke Casey
c41903077d
* Eliminate SOG.FakeDeleteGroup() since it is now identical with DeleteGroup() (except that is didn't lock the parts, which was a potential race condition)
...
* Removed fake delete code from LSL_Api.SetFlexi - this code was never activiated anyway and didn't appear to make much sense on the surface
2008-11-17 16:06:50 +00:00
Justin Clarke Casey
48a72f51a8
* minor: eliminate propogation of now unused permissionToDelete flag
2008-11-17 15:58:12 +00:00
Justin Clarke Casey
f16cf12840
* Fix probable partial breakage of delete to inventory in last commit
...
* Not nulling out parts and the root part allows the code to be simplified
2008-11-17 15:52:27 +00:00
Justin Clarke Casey
d54b6608a7
* Stop nulling SOG.m_rootPart and parts on object deletion
...
* This renders RootPart == null checks useless - the replacement is to check SOG.IsDeleted. However, in many cases this will not be necessary since updates to deleted parts
will not be sent to the client
* This should remove any remaining race conditions where an object is deleted while another thread is yet to obtain the root part to perform some operation
* Doing this is probably a necessary prerequisite to moving to a model without a separate SOG and SOP
* Unfortunately it's not possible to eliminate all RootPart == null checks since in some contexts it is currently used to check whether an object was created successfully
2008-11-17 15:40:27 +00:00
Dr Scofield
dd37fbb137
fixing warnings in YProlog language support
2008-11-17 11:16:24 +00:00
Dr Scofield
bc72f0a9a5
commenting out unused variable.
2008-11-17 11:14:49 +00:00
Dr Scofield
a67dccefbf
cleaning up warning
2008-11-17 11:10:32 +00:00
Dr Scofield
ae0bcab35e
adding #pragma warnings to yprolog language support
2008-11-17 11:06:24 +00:00
Melanie Thielker
05fb40dc0b
Use the message transfer module to pass items across the grid via the profile
2008-11-17 08:29:37 +00:00
Melanie Thielker
bb936d8a2f
Correct prim counts for group land. Correct MessageTransferModule startup
2008-11-17 08:15:43 +00:00
Melanie Thielker
598316c890
Make object chat come from the root prim's center, rather than trying to make
...
it come from a child prim position.
2008-11-17 05:57:58 +00:00
Melanie Thielker
2a8020b9d9
Back out the attachment location patch to debug a crash
2008-11-17 05:47:36 +00:00
Melanie Thielker
3f4aeccca3
Try to fix login crash
2008-11-17 05:37:24 +00:00
Melanie Thielker
08b1e1a1f6
Fix previous build break
2008-11-17 04:34:19 +00:00
Melanie Thielker
928d003bf5
Change the semantics of the Allow_* os function control. Omitting a function
...
causes defautlt behavior. "true" now means usable unconditionally, "false"
means disabled, and a list of UUIDs restricts it.
This changes SECURITY! If you used "true" here before, you shoudl review
your setup!
2008-11-17 04:23:03 +00:00
Melanie Thielker
0e7b6879d2
Add some null checks
2008-11-17 00:45:56 +00:00
Melanie Thielker
74ba1bb180
Fix child prims in attachments chatting from near 0,0,0 rather than
...
the avatar position. Fixes "silent" child prim scripts
2008-11-17 00:28:47 +00:00
Homer Horwitz
4343ddeec1
Fix NRE on TP-to-home, if the home-region is unavailable.
2008-11-16 23:53:00 +00:00
Homer Horwitz
07afe9c137
Fix friends again. Friends-handling is now stateless and, thanks to
...
MessageTransferModule, much easier to understand (I hope).
2008-11-16 23:50:18 +00:00
Melanie Thielker
4d23d22fb1
Remove a redundant parameter
2008-11-16 23:25:36 +00:00
Melanie Thielker
5e2e05a1c1
Megapatch. Completely remove the multiparameter IM methods. Remove the insecure
...
fromAgentSession field.
2008-11-16 22:04:01 +00:00
Melanie Thielker
3f818e001d
First step tidy-up of IM packing/unpacking/repacking
2008-11-16 20:32:00 +00:00
Homer Horwitz
e1ccbed982
GridIMs don't have a (sending) client, which led to a NRE on access.
...
Doesn't use client now in that case.
2008-11-16 19:45:46 +00:00
Melanie Thielker
9e7d00c1e6
Add MessageTransferModule interface to all scenes, not only the first
2008-11-16 18:59:58 +00:00
Melanie Thielker
ca8a2cad53
Fix 2 bugs in the message transfer module, thanks, Homer Horwitz!
2008-11-16 18:53:17 +00:00
Melanie Thielker
e46719e8f1
Make return object actually use the return object permissions
2008-11-16 18:27:24 +00:00
Melanie Thielker
5aa10a8ab1
Add group prim count support to land properties
2008-11-16 04:57:37 +00:00
Adam Frisby
29eec33506
* Abstracted some methods from SceneObjectGroup to allow them to be overridden more easily. Specifically object creation from XML.
2008-11-16 04:40:36 +00:00
Melanie Thielker
3de41ea377
Reinstate the IM sending from scripts and from autoreturn
2008-11-16 04:31:52 +00:00
Jeff Ames
55e2ede065
Update svn properties, minor formatting cleanup.
2008-11-16 02:55:24 +00:00
Melanie Thielker
4f293aa99c
Adds the missing interface to fix the build
2008-11-16 00:54:10 +00:00
Melanie Thielker
27e557eb98
Introduces the message transfer module. It splits the transfer mechanics off
...
the IM module and makes it into a module of it's own, which can be used by
all other modules. Removes some ugly hacks. Refer to the IM module to see
how it's used. Also fixes the persistence issue (Mantis #2598 )
2008-11-16 00:47:21 +00:00
Dahlia Trimble
a3f785e978
Changed sculpted prim texture scaling method to bilinear to reduce scaling artifacts
2008-11-16 00:24:10 +00:00
Homer Horwitz
448e4b0beb
- Change llSetRot behavior so it matches the SL behavior (in particular, the
...
rather strange behavior if used in a child prim).
- Small refactoring.
2008-11-15 21:03:06 +00:00
Homer Horwitz
e26169f0b0
Mantis#2552: Thanks idb, for a patch that fixes persistence of physical prims.
...
(added a fix for the broken build from last commit, too)
2008-11-15 18:00:34 +00:00
Homer Horwitz
21b69ac515
Mantis #2621 : Thanks idb, for a patch that will persist regularily changed objects better.
...
Objects will be persisted now MinimumTimeBeforePersistenceConsidered seconds
after the last change, but latest MaximumTimeBeforePersistenceConsidered after
the first change (both are configurable in OpenSim.ini.example and are set to
60 and 600 as default).
2008-11-15 17:52:00 +00:00
Homer Horwitz
3fdc445dd1
Prevent NRE if you do a llSetStatus(STATUS_ROTATION...) on an object that isn't physical.
2008-11-15 17:19:35 +00:00
Homer Horwitz
1f06532b82
Hack to temporarily fix friends-handling. This will be redone as soon as
...
Melanie's CommunicationModule is in.
Please note: imSession is a transaction-ID, *not* the agent's session.
2008-11-15 16:25:30 +00:00
Jeff Ames
e40fe2db26
Update svn properties, minor formatting cleanup.
2008-11-15 02:21:52 +00:00
Justin Clarke Casey
00d6114525
* test: Add scene root agent test stub, since I'll be picking up with something else the next time I start coding on OpenSim
2008-11-14 21:06:40 +00:00
Justin Clarke Casey
a760586f26
* minor: remove mono compiler warnings
2008-11-14 20:15:22 +00:00
Justin Clarke Casey
95a5bfc560
* refactor: Have the entity list tests use the infrastructure method rather than cut n paste
2008-11-14 20:09:12 +00:00
Justin Clarke Casey
2bb4b45626
* Move test scene construction infrastructure methods to a separate class for future common use
2008-11-14 20:06:44 +00:00