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
b2433d2b99
* Improve loadregions so that all region configs are checked for clashes (e.g. same uuid) rather than just one
2009-05-14 18:24:52 +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
3aa6fd0d2c
Move the server request handlers into a separate lib nunit can digest
2009-05-14 11:26:14 +00:00
lbsa71
95d87244b0
* Moved BaseRequestHandlerTestHelper to OpenSim.Tests.Common.Setup for great justice.
2009-05-14 08:21:14 +00:00
lbsa71
c6e2fc947b
* Changed auto-properties to properties with backing field
...
* This fixes mantis #3650
2009-05-14 08:12:23 +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
diva
e22a250825
Small fix uncommenting something that got commented too much.
2009-05-14 04:37:26 +00:00
Melanie Thielker
50b305b006
Honor the temp and local asset flags
2009-05-14 03:07:00 +00:00
Arthur Valadares
09df50915d
* Bug fix: Variable m_regionSettings can be null, using RegionSettings instead, that starts a new RegionSettings object if private variable is null.
...
Fixes Mantis #3634
2009-05-13 22:16:14 +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
lbsa71
40e95cab02
* Added some more tests to the GetAssetStreamHandlers
2009-05-13 17:11:53 +00:00
Dr Scofield
b95b7222f9
Disabling WebFetchInventoryDescendents CAPs for the time being as it
...
seems to screw up standalone mode.
2009-05-13 16:34:57 +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
Dr Scofield
8039946c76
more fixes to default avatar appearance creation
2009-05-12 15:12:21 +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
Dr Scofield
e96071eb6e
From: Alan Webb <alan_webb@us.ibm.com>
...
Change updateAppearance so that nothing is done to the user's
appearance unless explicitly requested.
2009-05-12 13:09:16 +00:00
Dr Scofield
13de24f707
partially fixing avatar appearance code
2009-05-12 11:51:19 +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
Melanie Thielker
59175847a9
Smooth out some .ini stuff, actually commit the example
2009-05-11 19:53:24 +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
85bbcf196f
adding code to check for old-style responses ("True")
2009-05-11 09:58:36 +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
Melanie Thielker
b2111f6a19
Enhance the submodule loader and port the enhancements to the services base
2009-05-10 22:31:10 +00:00
Adam Frisby
54ab7d7ceb
* Rather than crash the region simulator, declare the teleport a failure if the "success" mapping doesn't exist. (also; I hate LLSD.)
2009-05-10 21:35:07 +00:00
Adam Frisby
dd8c01d7a7
* Attempting to fix NullRef exception in inventory.
2009-05-10 21:00:07 +00:00
Adam Frisby
2d4166fecf
* Debugging some inventory related NullRefException's.
2009-05-10 20:50:38 +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
a983f2a3ac
Create SynchronousRestObjectRequester and make SynchronousRestObjectPoster
...
use that. Mark SynchronousRestObjectPoster.BeginPostObject as obsolete.
2009-05-10 16:31:10 +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
Melanie Thielker
cc2b072f6e
FInish basic asset server functionality on the new asset server
2009-05-09 01:00:21 +00:00
Melanie Thielker
a582d1b1a2
Add the /data and /metadata retrieval modes to the new asset server.
...
Not functional yet.
2009-05-09 00:39:01 +00:00
Justin Clarke Casey
567e0d032c
* break out 'xml2' deserialization from sog
2009-05-08 19:18:37 +00:00
Melanie Thielker
c8d44971c4
Implement an ingenious solution to pacekt pool performance suggested by
...
dlslake.
2009-05-08 19:03:01 +00:00
Melanie Thielker
a1631c496e
The new asset server now actually serves existing assets
2009-05-08 18:45:52 +00:00
Sean Dague
c1a54c02d3
fix up the comments a little
...
From: Sean Dague <sdague@gmail.com>
2009-05-08 18:09:48 +00:00
Sean Dague
b333690969
added WebFetchInventoryDescendents CAP
...
From: Robert Smart <smartrob@uk.ibm.com>
2009-05-08 18:09:41 +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
lbsa71
54b5346f16
* Extracted common superclass for GetAssetStreamHandler and CachedGetAssetStreamHandler
...
* Added some more tests
2009-05-08 15:44:35 +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
Sean Dague
51a9c91909
WARNING: contains migration
...
Since creatorID is no longer treated as a UUID type in the code from the database we need to make sure that it isn't null in the database. This updates all empty string and null values for this column to the Zero UUID, and makes the column a not null definition with a default fo the Zero UUID.
2009-05-08 14:16:07 +00:00
Melanie Thielker
aec069d161
More additions to the nextgen reference UGAIM
2009-05-08 14:08:41 +00:00
Sean Dague
3485b2b1c3
now that creatorID is no longer a strict UUID, and the column can still be NULL,
...
we lost protection from NULL strings. This puts some protection in for that case.
This may address many of the inventory issues that are being seen intermitently.
2009-05-08 12:28:22 +00:00
lbsa71
8ac73be917
* Introduced new HttpServer.Tests project
...
* Split the GetAssetStreamHandler testing into separate tests for BaseRequestHandler
* Ignored some gens
2009-05-08 06:11:44 +00:00
Dahlia Trimble
bf5fda8908
Thanks lulurun for a patch which addresses Mantis #3599 : Exceptions when AssetInventoryServer receive a "DeleteItem" request
2009-05-08 04:39:45 +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
f532767c6a
fix svn properties
2009-05-08 00:47:32 +00:00
Sean Dague
6d36985bbc
remove misleading comment
2009-05-07 19:37:25 +00:00
Justin Clarke Casey
aaad2fc8ff
* minor: use system ascii encoding rather than newing up our own object
2009-05-07 19:27:38 +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
Dr Scofield
84815ab271
RemoteAdminPlugin was using a mixture of both "true"/"false" and 0/1
...
(XmlRpc boolean encoding) to return boolean values --- sometimes both
variants in the SAME XmlRpc method! As XmlRpc DOES have a proper
encoding for boolean, i think we should use that --- having a mixture
of both is a bad thing in any case.
this patch changes all "true"/"false" boolean "encodings" to just
true/false which will be properly encoded by XmlRpc.
BIG FAT NOTE: this might/will break existing customers of
RemoteAdminPlugin --- make sure your scripts, apps, etc get updated
accordingly (unless you have already been dealing with this mess
before)
2009-05-07 15:54:13 +00:00
Justin Clarke Casey
48c2e7796f
* minor: Quieten down temporary profile resolver to only log when it's actually dealing with a temporary profile
2009-05-07 14:23:26 +00:00
Justin Clarke Casey
2284c8509f
* Consistently used dashed uuid format for mysql region data, as is done for all other tables
...
* This revision contains a mysql data migration. Please backup your mysql region database as a precaution before using this code.
* I also advise that you do a runprebuild[.sh|.bat] and a clean build ("nant clean build" if you're using the command line).
* This change is needed for future id schemes
2009-05-07 14:20:32 +00:00
Justin Clarke Casey
7440681062
minor: Inconsquential change to provoke another build
2009-05-07 13:59:38 +00:00
Justin Clarke Casey
e033f4028d
* Consistently use dashed uuid format for sqlite region data, as was previously done for sqlite inventory data.
...
* This revision contains a data migration. Please backup your sqlite region db as a precaution before using this code
* I also advise that you do a runprebuild[.sh|.bat] and a clean build ("nant clean build" if you're using the command line).
* This change is needed for future id schemes
2009-05-07 13:20:29 +00:00
Dr Scofield
547f883f74
From: Alan M Webb <alan_webb@us.ibm.com>
...
This update implements support for creation of one or more
default avatars from information contained in a file
default_appearance.xml. Each avatar may have any number of
"outfits" with each outfit representing a different ensemble.
The default avatars get created the first time the RemoteAdmin
interface is used to define a user.
I've tested this quite a bit, but it will benefit from lost of
attention, I'm sure.
2009-05-07 12:33:53 +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
lbsa71
f3db3d6a00
* Added some more GetAssetStreamHandlerTests
...
* In the process, caught a potential bug where the handler would allow paths not starting with the registered prefix
2009-05-07 06:31:16 +00:00
Dr Scofield
1352a19838
refactoring Scene.NewUserConnection() to be simpler and clearer.
2009-05-06 20:02:49 +00:00
lbsa71
1afdf2ee1f
* Added some GetAssetStreamHandlerTests
...
* Minor tweaks to attain testability
2009-05-06 17:02:51 +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
78425e392b
* Change automatic properties back to manual get/set
...
* Automatic properties are only supported after .Net 2.0, causing these to fail when building via nant on Windows (and probably visual c# 2005 too)
* Hopefully these can be used once building support in Visual C# 2005 is dropped.
2009-05-05 17:09:46 +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
Justin Clarke Casey
b6ae8b7ba7
* Fix http://opensimulator.org/mantis/view.php?id=3585
...
* Make public variables properties instead, as there is a difference
2009-05-05 15:23:44 +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
Jeff Ames
07d680a010
Remove bin directory from HttpServer.
2009-05-05 09:31:49 +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
f51f552baa
Plumb the database into the new server skel
2009-05-05 04:48:09 +00:00
Melanie Thielker
d1c9a41be0
Plumb the new server connector logic
2009-05-05 04:37:06 +00:00
Melanie Thielker
5e28a5982d
Committing the user server executable skeleton
2009-05-05 03:15:41 +00:00
Melanie Thielker
96774752c8
Add an interface skeleton for user services
2009-05-05 03:01:17 +00:00
Melanie Thielker
91ce6c90b5
Committing the HTTP (REST) server base
2009-05-05 02:37:04 +00:00
Melanie Thielker
5865018088
Fix crash on login
2009-05-05 01:36:51 +00:00
Melanie Thielker
f28b380c4a
Committing the new server base
2009-05-05 01:34:41 +00:00
Adam Frisby
c45add5f31
* Attempting to find cause of NotSupportedException in Asset subsystem.
2009-05-04 22:37:38 +00:00
Melanie Thielker
2cded6d369
Fix the AsUuid thingy
2009-05-04 21:40:19 +00:00
Melanie Thielker
ebb8111f6c
Fox the InventoryItem.CreatorIdAsUuid property
2009-05-04 21:17:40 +00:00
Melanie Thielker
7f1c393bc3
Remove the csproj files that got into SVN
2009-05-04 21:05:15 +00:00
Melanie Thielker
ec0d2c28fa
Committing the changed tree
2009-05-04 20:19:21 +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
780f57d551
* Initial infrastructure for ospa only uuid hashing of retrieved inventory items
2009-05-04 18:32:01 +00:00
Justin Clarke Casey
3a27a05607
* refactor: move OspResolver to a different namespace
2009-05-04 17:32:20 +00:00
Justin Clarke Casey
ee5774208f
* Enhance some internal inventory data plugin behaviour to match what was probably intended
...
* (e.g returning combined results of plugin rather than always the first result)
* This will not affect any existing functionality
2009-05-04 17:16:01 +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
Melanie Thielker
f80ba373fa
Prebuild changes to allow the console to reference the http server
2009-05-04 15:04:24 +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
eedf216eba
Add a skeleton class, "RemoteConsole", for a console that uses REST
2009-05-04 12:29:44 +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
Dahlia Trimble
8a8fe65526
Thanks BlueWall for Mantis #3578 - adding Hypergrid connection to JSON Stats
2009-05-04 07:08:50 +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
070cd35f00
Added the "out" connector (aka client) for the Grid services. Not used yet.
2009-05-02 15:00:47 +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
8c97214741
Also add these packet to the list of packets to be recycled. No enabled
...
by default
2009-05-02 00:20:35 +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
Jeff Ames
5ede445bdf
Update svn properties.
2009-05-01 05:16:05 +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
Dr Scofield
d0753ad9ef
From: Alan Webb <alan_webb@us.ibm.com>
...
Added two new (optional) attributes to create_user and update_user
requests.
<gender> - can be 'm' or 'f'. 'm' is default if not specified.
<model> - specifies another, existing, avatar that should be used
as an appearance prototype for this user.
If <model> is specified, then <gender> is ignored. If <model> is not
specified, then 'm' implies a model avatar of "Default Male", and 'f'
implies a default of "Default Female".
At the moment the inventory is not copied. This change means that an
avatar will only look like ruth if none of the possible models exist
in the user database.
2009-04-29 09:35:35 +00:00
Dr Scofield
a89f60d4c9
From: Alan Webb <alan_webb@us.ibm.com> & Dr Scofield <drscofield@xyzzyxyzzy.net>
...
- Adds an admin_modify_region call to allow changing of parcel voice
settings and changing of public/private status
- add boolean "public" and boolean "enable_voice" to
admin_create_region XmlRpc call to allow specifying of
public/private status and to allow enabling voice for all parcels;
also added config variables to allow setting of defaults for those
- fixing cut-and-paste artefacts
2009-04-29 09:05:01 +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
Homer Horwitz
5c20fc1f28
Remove some debug messages I have forgotten to take out.
2009-04-26 18:25:48 +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
Homer Horwitz
94ab683fe1
Thanks, Ewe Loon for a patch that
...
provides persistent AvatarAppearance for SQLite.
Fixes Mantis #3296 .
2009-04-25 20:55:55 +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
170cea5088
* minor: make inventory item deserialization code easier to read
2009-04-24 15:44:22 +00:00
Justin Clarke Casey
d69a018ba8
* Write basic, incomplete load iar test
2009-04-24 15:02:48 +00:00
Sean Dague
de1aef9499
silly C# not letting me use a File.Exists test for a directory. Don't
...
you know a directory is just a special kind of file on Linux.
2009-04-24 12:40:42 +00:00
Sean Dague
fefcb8432f
change power linux detection method, the previous method only worked
...
with interactive logins, not under panda.
2009-04-24 12:06:24 +00:00
Dr Scofield
9bdfb9034d
From: Alan Webb <alan_webb@us.ibm.com>
...
This commit adds RestFileServices to the REST ApplicationPlugin service.
2009-04-24 07:03:06 +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
Sean Dague
7943ae48f5
move the lock out a bit further in the ProccessAssetCache loop to reduce
...
the number of times we are going to take this lock in a row (which is
just wasted resource), and to keep us from attempting to array access a
list which might be changing right now. Extremely curious if this helps
prevent some of our mono segfaults.
2009-04-23 17:53:18 +00:00
Sean Dague
31bded51fb
based on recent unit test output, put some extra checking in the
...
RunAssetCache error code
2009-04-23 17:38:08 +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
Adam Frisby
f03cc3ab0e
* Adds missing IClientAPI member. (Plz be adding new members to IClientCore!)
2009-04-23 05:13:45 +00:00
Adam Frisby
2af4ca44a6
* Adds additional background layer for VWoHTTP ClientStack
...
* Implements asset handling.
2009-04-23 04:51:29 +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
Charles Krinke
0f08f4cc4b
Thank you kindly, TLaukkan, for a patch that:
...
Adds connectivity to grid regions.
* Fixed UserService cast.
* Added exception handling to avoid mxp message handling
thread to exit and hang the module on unhandled exception.
2009-04-22 19:27:35 +00:00
Justin Clarke Casey
4c80685563
* Allow plugins to play nicely in UserManagerBase
...
* Some methods were returning the value of the first plugin queried, even if the return was null
* Other methods are probably best off querying more than one plugin and aggregating results
2009-04-22 19:26:18 +00:00
Sean Dague
e0160e5640
add if exists to the drop table
2009-04-22 19:23:38 +00:00
Sean Dague
b0ac6cd0e0
add cleardb to estate tests
2009-04-22 19:11:54 +00:00
Sean Dague
45b90ceef1
ensure we've got a clean data environment prior to running the region
...
tests
2009-04-22 19:00:40 +00:00
Justin Clarke Casey
8ca805009b
* Fix the other windows build break. Hopefully that shoudl be the last one
2009-04-22 18:48:49 +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
Dahlia Trimble
d2bf957b13
Thanks tlaukkan for a patch that Fixes asset cache url forming for MXP join response message. Addresses Mantis #3505
2009-04-22 17:09:56 +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
Sean Dague
026dce23ad
fix line endings on new files
2009-04-22 12:22:05 +00:00
Sean Dague
99a1f47c1e
fix the build break, thankes mikkopa for pointing out the quick change
...
to address this.
2009-04-22 12:14:13 +00:00
Adam Frisby
d6b62b677c
* Committing stub VW-over-HTTP ClientStack. (2/2)
...
* Minor MRM tweak.
2009-04-22 10:11:12 +00:00
Adam Frisby
03c307ecdb
* Committing stub VW-over-HTTP ClientStack. (1/2)
...
* Nonfunctional, but eventually form a AJAX-accessible client protocol - for clients written in environments which only allow HTTP (eg HTML, Silverlight, Flash, etc). Designed for super-lightweight clients.
2009-04-22 10:10:19 +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
Justin Clarke Casey
607156cae8
* Comment out user profile cache update method for now
2009-04-21 20:12:33 +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
Justin Clarke Casey
48720ea7a2
* extend user cache update test to check data backend
2009-04-21 16:21:15 +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
Justin Clarke Casey
d2d0b9877f
* Add the ability to update profiles via the cache, so that cached profiles don't become stale
...
* Add corresponding unit test
2009-04-21 15:21:27 +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
Homer Horwitz
5200a849f6
Reverting r9224. We don't have scripts in the SL sense (with binary and state).
...
Using this identifier prevents "our" scripts from working.
Reopens Mantis #3482 , I'm afraid.
2009-04-19 18:30:02 +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
be08c2d411
Change invType of scripts from "lsl_text" to "script". Fixes Mantis #3482 .
2009-04-19 13:34:38 +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
diva
b824e488ba
Addresses mantis #3485 .
2009-04-18 15:45: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
bc02eab4b9
Commit agent to DB immediately after creation, for LLSD logins too. Addresses mantis #3471 . Requires upgrade of User Server in grid mode for this fix to kick in.
2009-04-18 02:37:12 +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
37f98a65d4
add fix for LLSDVoiceAccountResponse to work with freeswitch (from Rob
...
Smart)
2009-04-17 20:00:35 +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
Jeff Ames
2fafc74c74
Add copyright header.
2009-04-17 16:34:17 +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
Jeff Ames
e7c7917bf8
Update svn properties.
2009-04-17 15:57:44 +00:00
Justin Clarke Casey
765553d098
* Run RemoteAdminPlugin user info queries through cache service rather than direct
2009-04-17 15:51:58 +00:00
lbsa71
a189da844a
* Moved the DefaultConfig settings into already-existing ConfigSettings
2009-04-17 15:09:37 +00:00
lbsa71
1759d05cdf
* remind me to never touch EstateSettings ever again. Ever.
2009-04-17 15:06:51 +00:00
Justin Clarke Casey
3db52d95ef
* Extend get user profile test to cover retrieval by name
2009-04-17 14:41:56 +00:00
lbsa71
977f1e0373
* Apparently, I broke reflection voodo. Reverting.
...
This fixes mantis #3477
2009-04-17 13:56:07 +00:00
Dr Scofield
96a22862d2
adding log statement on shutdown in background mode
2009-04-17 13:27:32 +00:00
Dr Scofield
d5fbb2610d
Adds a new REST service /admin/regioninfo/ --- will return a
...
comprehensive list of all regions in one go (in contrast to the
/admin/regions/ REST call).
Example:
% curl http://127.0.0.1:9000/admin/regioninfo/
<regions max="10" number="1">
<region avatars="0"
external_hostname="127.0.0.1" ip="0.0.0.0:9000"
master_name="Mr X" master_uuid="b757d5f9-7b36-4dda-8388-6e03dd59b326"
name="London" objects="6" uuid="49253666-a42e-4f44-9026-d23f93af31d7" x="1000" y="1000"/>
</regions>
2009-04-17 11:12:06 +00:00
Dr Scofield
3cb82ce383
quick fix for mantis #3477 --- m_configMember is being picked up by
...
MySQLEstateData.cs via reflection and then causes MySQL to get all
confused and panicky...
NOTE: the MySQL test cases are still very unhappy...
2009-04-17 09:23:26 +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
Adam Frisby
03687e2b43
* Added some debug info if MXP is enabled.
2009-04-17 05:23:36 +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
Justin Clarke Casey
cab7a2a45c
* Add name keyed cache to UserProfileCacheService
2009-04-16 20:12:46 +00:00
lbsa71
6391b5312a
* Since that was seemingly an false alarm, reverting the revert.
2009-04-16 19:27:00 +00:00
lbsa71
1d12274850
* bizarrely, two reports that that last commit broke script engine startup (!) on linux - reverting until we can investigate further.
2009-04-16 18:35:23 +00:00
lbsa71
ec219f025a
* Started arduous config refactoring task with babystep introduction of common baseclass for backend configs.
2009-04-16 17:57:17 +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
Melanie Thielker
03baa077fb
Add a console command facility to the RemoteAdmin plugin.
2009-04-15 19:50:14 +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
Homer Horwitz
2a321746fd
Fix a test-breakage introduced in r9144
2009-04-14 20:44:51 +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
e1c449b492
* Change simple asset cache test to manually pump the asset server rather than relying on another thread
2009-04-14 17:44:10 +00:00
diva
2a49272b62
Changing the CAP seed to be the string representation of a full UUID, instead of a trunkated UUID.
2009-04-14 17:32:05 +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
6204f23230
This was needed for the prior commit.
2009-04-14 03:00:17 +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
Homer Horwitz
bcf31a76bb
Fix ordering of operations: First initialize everything, then add regions
2009-04-13 21:23:12 +00:00
Sean Dague
5ef6794165
make the asserts spit out messages about their test names
2009-04-13 21:04:50 +00:00
lbsa71
a7ed7665a6
* Changed all privates to m_ scheme
2009-04-13 20:05:12 +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
Justin Clarke Casey
bc515c3241
* Apply http://opensimulator.org/mantis/view.php?id=3439
...
* This corrects problems seen on some SQLite systems where the migration fails because the two argument substr() isn't implemented
* Thanks RemedyTomm!
2009-04-10 11:34:37 +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
80ea563bcc
* minor: correct some documentation in SQLiteAssetData.cs
2009-04-09 20:07:12 +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
Justin Clarke Casey
2176a80bcf
* Terminate OpenSim startup if we cannot listen to the designated HTTP port
...
* This makes the problem much more obvious to the user, and OpenSim isn't that useful without inbound http anyway
2009-04-09 19:46:14 +00:00
Justin Clarke Casey
7f8552fe63
* Change SQLite asset UUID to dashed format to be consistent
...
* Remaining inconsistent uuids (non dashed) are in region store for sqlite and mysql
* Migration of these will happen at a later date, unless someone else wants to do it
2009-04-09 19:23:19 +00:00
Justin Clarke Casey
67333d48fc
* Change UUIDs in SQLite user db to dashed format to match representations elsewhere
2009-04-09 19:01:52 +00:00
Justin Clarke Casey
39c6302972
* Improve inventory uuid conversions to make sure that we aren't converting anything that already contains a -
...
* Among other things, this means that if a migration is interrupted, it can simply be retried
2009-04-09 18:17:52 +00:00
Justin Clarke Casey
b5ba5634fb
* Migrate UUID representations in SQLite inventory store to dashed format
...
* This makes the representation consistent with that most commonly used in the other supported database layers
2009-04-09 16:56:01 +00:00
lbsa71
d2a412e94b
* Added some more experimental code; nothing wired in so far.
2009-04-09 16:45:22 +00:00
lbsa71
5572a00295
* Moved the DatabaseTestAttribute to Test.Common, and thus included ref to that in all db tests. *phew*
2009-04-09 16:40:02 +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
lbsa71
73ab6bd455
* Thank you, mpallari for a patch that updates NHibernate inventory base mapping.
...
This fixes mantis #3435
2009-04-09 07:49:16 +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
a707fa7bea
* Added custom DatabaseTestAttribute to help separating unit tests from component tests.
2009-04-09 06:42:15 +00:00
Sean Dague
65dcfdf031
SQLite doesn't work on ppc64, so ignore these tests if we are
...
on this platform
2009-04-08 20:16:23 +00:00
lbsa71
ed70ef6407
* butterfingers
2009-04-08 20:10:43 +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
lbsa71
f913221313
* Restored GridLaunch that was mistakenly deleted in 9036
2009-04-08 16:30:43 +00:00
lbsa71
abf1df8ae0
* Restored 32BitLaunch that was mistakenly deleted in 9036
2009-04-08 16:27:30 +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
c44f4add8b
Thanks StrawberryFride for a MSSQL patch to mirror r9011.
...
Fixes Mantis #3409
2009-04-05 18:05:55 +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
Homer Horwitz
97fa525f4e
Adding migrations for MySQL and SQLite for removing the "old" cloud image.
...
The new one already in the Library will be reinserted automatically.
Fixes Mantis #964
2009-04-05 17:07:50 +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
Homer Horwitz
7acec9860d
DST setting wasn't transferred to client, leading to wrong time display.
2009-04-04 14:26:35 +00:00
Homer Horwitz
c6283cacac
Remove some Mono warnings.
2009-04-04 14:26:24 +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
diva
7322e19212
Added one more delegate to Caps, and a few guards, so that these objects can be used from more than just Scenes. Added the NewFileAgentInvengory cap to HGInventoryService.
2009-04-03 16:08:07 +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