Commit Graph

8764 Commits (6c068eaf12229ab767fda1a0cd28621f1b893b0c)

Author SHA1 Message Date
Teravus Ovares (Dan Olivares) ed475f21ee * Use the BeginInvoke methodology instead of the FireAndForget methodology to try to mitigate a mono assert. Same functionality done a different way. 2009-09-13 18:28:45 -04:00
Teravus Ovares (Dan Olivares) 3562d75c17 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-13 18:12:44 -04:00
Teravus Ovares (Dan Olivares) eadea36142 * Move nested classes from the RegionCombinerModule into their own file.
* Rename the RegionCombinerModuleIndividualForwarder to RegionCombinerIndividualEventForwarder so there's no possibility that mono.addins sees any names similar
2009-09-13 18:12:24 -04:00
Melanie efc43aa0d9 Change the type value for given folders to -1. Prevents inventory blowups 2009-09-13 18:24:00 +01:00
Teravus Ovares (Dan Olivares) fe4f312d55 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-13 07:28:08 -04:00
Teravus Ovares (Dan Olivares) 4241cdc929 * More comments in the RegionCombinerModule
* Changed the Destination ID to 0 in the TeleportFinish Event (why did we have it as 3?)
* Added border based trigger teleports
* Fix MakeRootAgent border cross tests for ensuring that the position is inside the region to use the borders to figure out if it's outside the Region
2009-09-13 07:20:18 -04:00
Jeff Ames 01ec93945e Formatting cleanup. 2009-09-13 13:56:09 +09:00
Diva Canto 40c3ac4aeb Guarding the unpacking of the email field introduced by Robsmart. Most profiles don't have it. This may fix mantis #4134. 2009-09-12 09:30:14 -07:00
Melanie cfa0cbdffa Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-11 21:53:16 +01:00
Diva Canto c8ddc5b301 Changed GetRegionByHandle to GetRegionByPosition -- more generic. 2009-09-11 13:55:23 -07:00
Melanie 496b368334 Add a using() block around the timer script 2009-09-11 21:52:49 +01:00
Diva Canto 5de1ec735c Added GetRegionByHandle. 2009-09-11 13:17:37 -07:00
Diva Canto f6c4221a0d Removed RequestLandData from IGridService because it's already in another place.
Moved GetMapBlocks to a new interface IMapService.
2009-09-11 13:08:43 -07:00
Diva Canto 8fd604dcd4 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-09-11 12:55:25 -07:00
Diva Canto 44343ed94d Changed names of methods in IGridService. 2009-09-11 12:54:58 -07:00
Justin Clark-Casey (justincc) c573a32529 Disable non-user ready load/save iar for now pending possible format change 2009-09-11 20:38:08 +01:00
Justin Clark-Casey (justincc) f20a052ef5 Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-09-11 18:20:41 +01:00
Rob Smart 44f1092b83 moved AuthorizationRequest and AuthorizationResponse to IAuthorizationService to keep service dependencies together. 2009-09-11 09:23:09 -07:00
Justin Clark-Casey (justincc) 212efc0c76 Remove bug where iar created folders could not be deleted after relog
New folders need to be created with AssetType.Unknown rather than AssetType.Folder!
2009-09-11 16:51:57 +01:00
Diva Canto ca0810a103 Minor indentation cleanup. 2009-09-11 06:59:10 -07:00
Rob Smart eaec7cf39c Changed RemoteAuthorizationServiceConnector so that it implements the IAuthorization interface method isAuthorizedForRegion looks up user and region data and delegates the remote authorization check to the AuthorizationServiceConnector
This keeps the IAuthorization as clean as possible and moves the dependency of using a UserProfileData object out to the connector from the scene.
2009-09-11 06:50:24 -07:00
Diva Canto ce332f235c Changed the interface of IAuthorizationService to get less data. 2009-09-10 19:56:08 -07:00
Rob Smart b5c8925fdf added AuthorizationRequest and AuthorizationResponse objects for passing Authorization messages over http. Added handling code for these in the AuthorizationServerConnector and AuthorizationServicesConnector 2009-09-10 17:53:05 -07:00
Rob Smart 953ef780c5 adding in working functionality for the remote connector 2009-09-10 17:52:42 -07:00
Rob Smart 16940097be The stubs for an authorization service, at the moment the service will always grant access to an avatar entering the region if requested. 2009-09-10 17:51:28 -07:00
Justin Clark-Casey (justincc) 552ba5334f Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-09-10 18:14:34 +01:00
Justin Clark-Casey (justincc) eabf5b6c3d refactor: Replace some iar item name generation in tests with helper function 2009-09-10 17:40:07 +01:00
Justin Clark-Casey (justincc) f5feb25dd1 fix spurious loading... messages on iar load by creating folders as version 1 rather than version 0 2009-09-10 17:08:26 +01:00
Teravus Ovares (Dan Olivares) 729fbee287 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-10 04:07:08 -04:00
Teravus Ovares (Dan Olivares) 1c878ec425 * Fix an off by one error on visible neighbors in the 'RequestNeighbors' method. This off by one error showed one extra row of neighbors on the north and east side 2009-09-10 03:25:55 -04:00
Jeff Ames c41387b864 Formatting cleanup. 2009-09-10 15:57:53 +09:00
Teravus Ovares (Dan Olivares) 656de67d85 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-10 00:31:32 -04:00
Teravus Ovares (Dan Olivares) dc3798ddc3 * Another Timer lock 2009-09-10 00:31:14 -04:00
Melanie 0034dd043f Many databases contain folders with invalid folder ID. Folder IDs are
supposed to be within -1 .. 22 and other values break inventory loading.
This patch fixes it and allows inventory to load. Invalid folder types
will be treated as ordinary folders.
2009-09-10 00:33:00 +01:00
Teravus Ovares (Dan Olivares) df9f80aabd Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-09 16:20:46 -04:00
Teravus Ovares (Dan Olivares) c605509da3 * Lock timers when Calling Start() and Stop() when the Thread Context is murky. This affects Mono only. 2009-09-09 16:20:19 -04:00
Diva Canto 5bf288745d De-hardcode default home locations on create user (standalone). 2009-09-09 11:02:31 -07:00
Justin Clark-Casey (justincc) 0cdec1fbc3 Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-09-09 18:11:02 +01:00
Justin Clark-Casey (justincc) bb1f64fe51 minor: suppress mono warning 0162 generated when comparing const RegionSize against a literal number 2009-09-09 18:09:23 +01:00
Justin Clark-Casey (justincc) 0683cf6e0d Add test to check behaviour if an iar is loaded where no user profile exists for the creators
Disable generation of temporary profiles for now, instead record loading user as creator
2009-09-09 18:03:49 +01:00
dr scofield (aka dirk husemann) 62358014ed reformatting. 2009-09-09 09:56:07 +02:00
dr scofield (aka dirk husemann) d8a787bd89 fix: unicode notecards not surviving script treatment (fixes #4119 ---
perhaps).
2009-09-09 09:56:07 +02:00
Melanie 5c606d0233 Thank you, mcortez, for a patch to fix errors in FlotsamCache and expand
functionality, adding console commands.
2009-09-08 21:31:09 +01:00
Justin Clark-Casey (justincc) 2bb2a0ec44 Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-09-08 17:50:45 +01:00
Justin Clark-Casey (justincc) b7256f2567 extend load iar test to loading into a deeply nested directory
correct bug associated with this
2009-09-08 17:42:07 +01:00
Justin Clark-Casey (justincc) 36a40e0295 refactor: change method argument name 2009-09-08 16:29:31 +01:00
Justin Clark-Casey (justincc) 46d64da830 minor: remove warning 2009-09-08 16:14:52 +01:00
Justin Clark-Casey (justincc) 76b21860e9 refactor iar name generation
slightly change the format of item archive names
2009-09-08 16:12:15 +01:00
Teravus Ovares (Dan Olivares) f0e2fd426b Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-08 04:43:17 -04:00
Teravus Ovares (Dan Olivares) 9a06056c9a * Fixes a 'take object from mega region' and rez it in a regular region.. and have it appear 5 regions over bug by limiting the stored position in the asset to Constants.RegionSize. The stored position in the asset gets overwritten anyway by the rezzing routine, but at least this way, there's no chance of the objects border crossing before the rezzing routine finishes. 2009-09-08 04:43:00 -04:00
dahlia 665cf0194a llRot2Euler() now returns angles -PI < angle < PI 2009-09-07 18:02:02 -07:00
dahlia 7a67b726d5 random drive-by maths optimization in llRot2Euler() and llEuler2Rot() 2009-09-07 17:12:17 -07:00
Justin Clark-Casey (justincc) fa1d79533e Only allow iar load/save if user is logged in to the region simulator 2009-09-07 19:57:44 +01:00
Justin Clark-Casey (justincc) 71f1628578 make oar module logging a little less noisy 2009-09-07 19:11:16 +01:00
Justin Clark-Casey (justincc) 10b075a33d change default iar filename 2009-09-07 18:42:53 +01:00
Justin Clark-Casey (justincc) b061f2a3b0 oops, disable T012_EstateSettingsRandomStorage() again since it does appear to fail occasionally 2009-09-07 18:39:23 +01:00
Justin Clark-Casey (justincc) 116933bee5 Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-09-07 18:26:53 +01:00
Teravus Ovares (Dan Olivares) 326c3ee14f * Enables Child Agents for all virtual regions in the region and their neighbors. There still may be issues with crossing into the mentioned neighbors of the virtual regions. This makes regions larger then 512x512 (3 virtual regions) display fully to clients.
* Uses a grid request multiple times, so the more regions are in the instance, the longer logging in takes.   Consider this temporary until there's a RegionInfo request similar to the MapItem Request.
2009-09-07 12:57:30 -04:00
Teravus Ovares (Dan Olivares) c4edefd9a0 minor: organizational
* Move the neighbor region lookup to another method from where it was before in EnableNeighbourChildAgents.
2009-09-06 21:26:59 -04:00
Melanie a6e2e94345 Thank you, StrawberryFride, for a hit-and-run patch to add authentication
and user services to MSSQL
2009-09-06 23:05:06 +01:00
Justin Clark-Casey (justincc) fc8efc1667 T012_EstateSettingsRandomStorage() which wasn't being run because the method was private
test appears to work, so method made public to run in tests
2009-09-06 22:09:19 +01:00
Justin Clark-Casey (justincc) 61c286f5d6 change iar load to make discrete inventory service requests rather than the cache 2009-09-06 22:07:35 +01:00
Justin Clark-Casey (justincc) 5640cac8e0 Add convenience functions to InventoryArchiveUtils for locating folders by assuming we're starting from the root
Change test methods to use convenience functions
2009-09-06 21:34:20 +01:00
Justin Clark-Casey (justincc) a92afe8dca change load iar test to use non-cache find item by path function 2009-09-06 21:26:27 +01:00
Justin Clark-Casey (justincc) d8316810a1 remove now unnecessary parts of save iar test 2009-09-06 21:20:41 +01:00
Teravus Ovares (Dan Olivares) 8797a82098 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-06 16:15:20 -04:00
Justin Clark-Casey (justincc) 1cc0c94f79 remove warning 2009-09-06 21:15:18 +01:00
Teravus Ovares (Dan Olivares) 511bddc8bc * Moves another Legacy avatar inbounds check to Border 2009-09-06 16:15:06 -04:00
Justin Clark-Casey (justincc) 881051c8cc Convert iar write request to use inventory service requests rather than cache 2009-09-06 21:14:42 +01:00
Justin Clark-Casey (justincc) 766d775625 remove warning 2009-09-06 20:17:30 +01:00
Justin Clark-Casey (justincc) 79c22651d7 refactor: use direct scene reference in inventory archive read request 2009-09-06 20:16:56 +01:00
Justin Clark-Casey (justincc) 8616230fcf refactor: replace some uses of iar module reference with scene instead 2009-09-06 20:04:18 +01:00
Justin Clark-Casey (justincc) 304c78bbbb Temporarily re-enable save iar test by manually insert the item into the old cache during the test 2009-09-06 19:30:03 +01:00
Melanie 998624544c Addendum to last commit. With the last commit, some other code that should
have been in this commit slipped in. If the last heartbeat is more than
2 seconds ago, kill that thread and start a new one. Untested.
his commit adds support to let the first heartbeat complete unconditionally,
since it is almost always longer.
2009-09-06 16:14:45 +01:00
Melanie 67d9a6bcc1 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-06 15:55:57 +01:00
Melanie dcebbc3f1b Remove the encryption from the IAuthenticationService interface. That
is too high up for that type of stuff. It needs to be at the
connector/handler level
2009-09-06 15:55:14 +01:00
Adam Frisby 5e4b7be712 * Typo in previous commit. 2009-09-06 21:53:03 +10:00
Adam Frisby 25313c2105 * Debugging why region loading is occurring so slowly on a setup with 64 regions in a Regions.ini (took 38 minutes on my test box) 2009-09-06 21:52:11 +10:00
Melanie bb1d4d23c4 Change the loader to actually load the user service data module 2009-09-06 04:44:08 +01:00
Melanie 2303945b4e Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-06 04:29:21 +01:00
Melanie 2a8f66b221 Revising the user account data interfaces. No user functionality yet 2009-09-06 04:28:42 +01:00
Diva Canto babe392709 uh-hum. It might help if I remembered to save the file. 2009-09-05 17:16:43 -07:00
Diva Canto 7d9d8eb90f This should get rid of the infinite loop upon looking up users/agents by UUID in grid mode. Grr. 2009-09-05 16:56:33 -07:00
Teravus Ovares (Dan Olivares) 8855c2e54c Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-05 03:00:50 -04:00
Teravus Ovares (Dan Olivares) 855fb58c96 * Moves ScenePresence SendCourseLocations to a delegate and provide a method to replace the delegate
* RegionCombinerModule replaces this delegate and distributes the CoarseLocationUpdates through the client connection in the region where the user would be if it was a separate region.
* Fixes Mini Map display on combined regions.
2009-09-05 02:58:35 -04:00
Diva Canto b6744a6566 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-09-04 22:31:10 -07:00
Diva Canto c48ec97817 Fixed some long-standing issues with appearance in HG1. 2009-09-04 22:30:30 -07:00
Teravus Ovares (Dan Olivares) 2c09634aed Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-04 20:19:50 -04:00
Teravus Ovares (Dan Olivares) 016a648a30 * Fixes various quirks rezzing in virtual regions.
* Breaks up the Client event registrations in Scene into methods of similar event types.   The generic event registration registers all of the event types.
*Created symmetrical Un-Registration methods.
* Made the Registration and Unregistration methods public
* Hooks The events required for creating new prim and rezzing new prim into the proper scene.
2009-09-04 20:19:34 -04:00
Justin Clark-Casey (justincc) 7ca61e0174 Add ids to iar requests
Stop save iar test wrongly relying on thread pulsing (still disabled though)
2009-09-04 21:10:56 +01:00
Justin Clark-Casey (justincc) 4c560df8ac If running tests manually, fail immediately on error 2009-09-04 19:22:09 +01:00
Teravus Ovares (Dan Olivares) 50a9e01dfa * Last commit was a bit of a fail, it registered the root region for it's own permissions events again.
* This commit fixes that and does what the last one intended.
2009-09-04 04:41:43 -04:00
Teravus Ovares (Dan Olivares) d49ee1f8ab Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-04 04:26:14 -04:00
Teravus Ovares (Dan Olivares) f7861a6bad * Make the RegionCombinerModule also register to handle permissions for the virtual region scenes. 2009-09-04 04:25:56 -04:00
dr scofield (aka dirk husemann) f23f7b1fc4 preparing LandData seriali(s|z)ation into OAR [not yet functional] 2009-09-04 10:12:36 +02:00
Melanie 67f803c919 Add the new AuthStore to migrations. Update OpenSim.Server.ini 2009-09-04 08:10:05 +01:00
Melanie ac40c7a74c Fully implement unencrypted auth token operations 2009-09-04 07:48:09 +01:00
Teravus Ovares (Dan Olivares) b93f512433 * Fix for GetTerrainHeightAtXY to make it compatible when Constants.RegionSize isn't 256 2009-09-04 02:48:07 -04:00
Melanie 548f508044 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-04 07:04:36 +01:00
Melanie 11700ba4a4 Implement plain password authentication partway. Tested, but no user
functionality yet.
2009-09-04 07:03:43 +01:00
Teravus Ovares (Dan Olivares) 9f05edab04 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-04 00:04:26 -04:00
Teravus Ovares (Dan Olivares) bb5857c4bb * Fixes the function 'GetTerrainHeightAtXY' 2009-09-04 00:03:54 -04:00
Melanie c9a24ece54 More work on new authentication service 2009-09-04 03:13:32 +01:00
Melanie e39d0ef627 Flech out the Authentication service. Add the database loader. Introduce
inheritance to deal with common tasks like crypto.
Still untested.
2009-09-04 00:55:21 +01:00
Melanie 90262d4092 Add the user authentication data adapter. This is meant to use a new table
schema, but can read the old ones for compatibility. It should not be used
to write to the old tables unless you know what you're doing!
This is untested and will probably not work.
2009-09-04 00:23:26 +01:00
Melanie 5c2bf97bf2 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-03 21:04:06 +01:00
Melanie 328fd104e1 Remove the distinction between password and login key in the authentication
service. This will be done in the login service instead, it's out of
scope for an authenticator
2009-09-03 21:03:04 +01:00
Diva Canto 639bf79aec Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-09-03 12:42:25 -07:00
John Hurliman 33133e23b1 Fixes seven leaky .BeginInvoke() calls 2009-09-03 12:36:51 -07:00
John Hurliman 584c113836 Added Util.FireAndForget(), to replace leaking calls to Delegate.BeginInvoke() 2009-09-03 12:27:23 -07:00
Justin Clark-Casey (justincc) 64fa23df7c If a test dll fails, stop immediately rather than trying all the other test dlls
This is very useful behaviour if debugging test failures otherwise it's hard to pick out the test output
Also, some minor method shuffling in the iar module
2009-09-03 19:41:38 +01:00
Chris Hart c4ae9413f1 MSSQL Minor tweak to recent patch for region loading (Thanks Grumly57 for spotting it!) 2009-09-03 19:07:50 +01:00
dahlia 6cf610bc44 eliminate unnecessary storage of mesh objects which are no longer necessary after recent startup optimizations 2009-09-02 17:40:55 -07:00
Chris Hart 4841858600 MSSQL patch to mirror mantis 4077 for MySQL to improve region load times 2009-09-02 19:42:18 +01:00
Jeff Ames 56ddd6828c Add copyright headers. Formatting cleanup. 2009-09-03 02:04:17 +09:00
Melanie 8e7b385883 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-02 16:29:50 +01:00
Melanie 65d7644993 Correct the icons on wearables in agent inventory. To fully correct the issue
immediately, run
update inventoryfolders set version=version+1;
2009-09-02 16:27:08 +01:00
dr scofield (aka dirk husemann) bb0cbdc064 switching LandManagementModule to "new" region module scheme; cleaning
up method names in LandManagementModule (was a bit of a
mess). suppressing warnings re Constants.RegionSize.
2009-09-02 11:06:18 +02:00
dr scofield (aka dirk husemann) 05756e1fb9 warnings safari. 2009-09-02 11:06:18 +02:00
Teravus Ovares (Dan Olivares) 9505297fb1 * One last attempt to get the bordercrossing/primcrossing/attachmentcrossing right in the new border framework.
* This also contains some inactive preliminary code for disconnecting combined regions that will be used to make one root region a virtual region of a new root region.
2009-09-02 04:39:00 -04:00
Melanie 994c5e2094 Prevent the Viewer's threaded inventory retrieval causing a OOM and overload
the inventory server by serializing upstream requests.
2009-09-02 05:04:24 +01:00
Melanie f32de6fe88 Thank you, dslake, for a set of patches to improve OpenSim startup
and idle performance.
2009-09-02 03:33:31 +01:00
Teravus Ovares (Dan Olivares) 2fc3f61a42 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-01 19:39:07 -04:00
Teravus Ovares (Dan Olivares) afc72cc10e * Fixes diagonal teleporting when in RegionCombining mode by adding 4 additional borders that have infinite distances perpendicular to the cardinal of the border surrounding the entire combined region. Recalculates this boundary each time AddScene is called. 2009-09-01 19:38:45 -04:00
dr scofield (aka dirk husemann) 47e0024238 adding new IniConfigSource() to SceneSetupHelpers to fix empty
IConfigSource causing grief to region modules expecting it to be
non-empty (which a number of them do).
2009-09-01 11:33:10 +02:00
dr scofield (aka dirk husemann) 39726f0fda switching SerialiserModule to "new" region module scheme 2009-09-01 10:28:29 +02:00
dr scofield (aka dirk husemann) ef6c0bd7d8 cleanup. 2009-09-01 10:28:29 +02:00
Teravus Ovares (Dan Olivares) 2245e2977e * The return of fuzzy borders! 2009-08-31 23:16:24 -04:00
Teravus Ovares (Dan Olivares) 3718bbc6a5 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-31 22:51:03 -04:00
Teravus Ovares (Dan Olivares) c09884a467 No more fuzzy borders 2009-08-31 22:50:27 -04:00
Teravus Ovares (Dan Olivares) 2068b6714a * -2 on the south and west side, -1 on the north and east side. Fuzzy borders! yay 2009-08-31 21:40:06 -04:00
Melanie c89fc36f28 Applying Mantis #4079. Thank you, dslake 2009-09-01 02:17:08 +01:00
Teravus Ovares (Dan Olivares) de1c2a51e2 * Put Borders back the way they were to resolve the endless ----> crossing into region X,Y 2009-08-31 21:11:04 -04:00
Melanie 29df190a3f Baad git, baad baad git. 2009-09-01 02:02:52 +01:00
Melanie 22457c9843 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-01 01:56:59 +01:00
Melanie e458a87e91 Experimental. Set attachment flag early on rezzing from inventory. 2009-09-01 01:53:54 +01:00
Teravus Ovares (Dan Olivares) fed089971e * Previously south and west border were required to be -1 for border crossings diagonally to work.. but.. seems they're working now without it.. and maybe it will help attachments. 2009-08-31 20:36:06 -04:00
Teravus Ovares (Dan Olivares) b8d21d9eae * Get rid of some debug info and kill the code to make a large AABB until I can figure out how to detect the fact that the system is done starting up new regions. 2009-08-31 20:10:08 -04:00
Teravus Ovares (Dan Olivares) b997174d08 * Fix attachment cross issues with new borders. 2009-08-31 20:07:33 -04:00
Teravus Ovares (Dan Olivares) 895c612647 * When the RegionCombinerModule is active add an extra set of borders with Infinite distances around the whole AABB of the region 2009-08-31 16:29:27 -04:00
dr scofield (aka dirk husemann) 27b378ca8b switching Archiver to "new" region module scheme 2009-08-31 17:25:16 +02:00
dr scofield (aka dirk husemann) 3581b9abce Merge branch 'regionready' into opensim 2009-08-31 15:02:21 +02:00
dr scofield (aka dirk husemann) 3195af39a7 cleaning up RegionReadyModule:
- wrong namespace
- converted to "new" region module
2009-08-31 14:59:28 +02:00
Melanie 9e6684661a Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-08-31 11:58:49 +01:00
Melanie 090868ff4a Change the return value if the compiler to "object" to allow compilers
to return dynamic method objects
2009-08-31 11:42:54 +01:00
dr scofield (aka dirk husemann) 5209305615 oops. fixing missing argument. 2009-08-31 12:05:14 +02:00
dr scofield (aka dirk husemann) 86521adb7e adding log message to vector render to inform about default font being used 2009-08-31 11:35:49 +02:00
dr scofield (aka dirk husemann) 953581698d - making font name used by VectorRenderModule configurable: can be set
via

      [VectorRender]
      font_name = "Comic Sans MS"

  in OpenSim.ini

- adding osSetFontName OSSL function
2009-08-31 10:30:10 +02:00
Jeff Ames bbef5c344e Remove typo version of ReplaceableInterface property from RegionCombinerModule. 2009-08-31 14:16:16 +09:00
Melanie d2eba2cf22 Recreate the shell of the AuthenticationService to squelch Windows build
error. WIll be filled in as soon as I figure out the crypto stuff.
2009-08-31 01:03:14 +01:00
Teravus Ovares (Dan Olivares) 9f2f3afe22 * Fixes a teleport issue when teleporting out of a region to a different one. 2009-08-30 02:49:50 -04:00
Teravus Ovares (Dan Olivares) d4dd179547 * whoops, forgot the other class initializer. 2009-08-30 00:29:43 -04:00
Teravus Ovares (Dan Olivares) 59c8a02a24 * When the RegionCombinerModule is off, make borders have an infinite aabb perpendicular to the cardinal 2009-08-30 00:22:38 -04:00
Teravus Ovares (Dan Olivares) 2f40161f38 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-29 23:50:24 -04:00
Teravus Ovares (Dan Olivares) efe737b895 Ok, merging the RegionCombinerModule with master. 2009-08-29 23:49:48 -04:00
Teravus Ovares (Dan Olivares) 33f36c9010 * Rename the RegionCombiner Module from PhysicsCombiner 2009-08-29 23:39:27 -04:00
Melanie 07e8907569 Remove another IAuthentificationInterface user 2009-08-30 03:27:09 +01:00
Teravus Ovares (Dan Olivares) 44b7c39c93 * Fix the reason why physical vehicles have a problem in virtual regions. 2009-08-29 21:47:28 -04:00
Teravus Ovares (Dan Olivares) 3ccf3aba89 * Fixes looking up parcel permissions in virtual regions. 2009-08-29 16:24:03 -04:00
Melanie 5b06079a83 Remove a user of the old auth interface 2009-08-29 17:49:58 +01:00
Melanie dce04df4f2 Redesign the IAuthenticationService interface to use PKI. Sessioning is
now in the domain of the presence module where it belongs.
2009-08-29 17:37:41 +01:00
Teravus Ovares (Dan Olivares) d45f871d8f * Only lock the Borders when they're being changed, otherwise one avatar's movement could hinder another avatar's movement. 2009-08-29 03:36:41 -04:00
Melanie 1a6b30e092 Add a slow cache cleaner thread. By default, the thread starts a cleanup
sweep every 10 minutes. If any texture data is older than 12 hours, it is
regenerated and the memory cache is refreshed. After each decode, the thread
delays for 5 seconds.
2009-08-29 05:54:38 +01:00
Melanie 2a5b9f7740 the beginning of some changes to the decode cache to address concerns about
system load. This commit effectively disables expiration.
2009-08-29 05:29:54 +01:00
Melanie 4b2e62fd3c Make the j2kDecodeCache expire after 50 minutes (configurable). Alse allows
setting the path for it. This commit introduces NEW DEFAULT BEHAVIOR. To
retain the old behavior (eternal cache) you will need to change your OpenSim.ini
and set the timeout to 0.
2009-08-29 04:35:18 +01:00
Melanie 976cf4284b Fix up WebFetchInventoryDescendents to really return all data needed,
especially the folder version and the subfolders. Fixes inventory search
hang and folders not loading.
2009-08-29 03:26:44 +01:00
Teravus Ovares (Dan Olivares) 9eb8c14e87 * Deal with teleports to other virtual regions in the same scene. 2009-08-28 19:42:28 -04:00
Melanie 22a0dff226 Modify CAPS inventory code. Currently this is not executed 2009-08-28 23:28:32 +01:00
Arthur Valadares 3d6edc04a3 Implements osDrawPolygon, similar to already implemented osDrawFilledPolygon 2009-08-28 17:48:03 -03:00
Teravus Ovares (Dan Olivares) ac718843d9 * Allow corner prim crossings. Previously this was only on a single cardinal direction
* Some leg work in getting avatar teleports into 'virtual regions' moved to the proper region.
2009-08-28 14:45:17 -04:00
Justin Clark-Casey (justincc) 33004b613d Standardize FlotsamAssetCache header
Add mcortez to CONTRIBUTORS
Other minor tidy of CONTRIBUTORS
2009-08-28 18:12:30 +01:00
Justin Clark-Casey (justincc) 18c5dc0953 Try to cache system folders if they aren't already there when one is requested
This operation can be performed legitimately on standalones without a logged in user
2009-08-28 17:19:45 +01:00
Justin Clark-Casey (justincc) 7ff4c2e50b Pull out distinct cache system folders and drop cache methods in InventoryCache 2009-08-28 17:07:17 +01:00
Justin Clark-Casey (justincc) 7f8df4242b Correct build break 2009-08-28 12:58:10 +01:00
Justin Clark-Casey (justincc) d649194be3 minor: formatting and comments 2009-08-28 12:52:40 +01:00
Justin Clark-Casey (justincc) cf58c0ab08 minor: remove some commented out iar test code 2009-08-28 12:01:21 +01:00
Teravus Ovares (Dan Olivares) 65dda8a795 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-27 19:36:52 -04:00
Justin Clark-Casey (justincc) d704e62b39 Remove OpenSim.ini comments from the top of FlotsamAssetCache.cs to avoid duplication and divergence with config-include/FlotsamCache.ini.example 2009-08-27 21:49:32 +01:00
Justin Clark-Casey (justincc) 40fbdaaac4 Apply http://opensimulator.org/mantis/view.php?id=3829
Fix file access violation on Flotsam cache
Thanks mcortez
2009-08-27 21:25:16 +01:00
Teravus Ovares (Dan Olivares) 6f077d5e5f * Another attempt at fixing the random spurious test error.
* This time it might be the listening socket thread from HttpServer aborting with a non blocking thread abort exception.   Hopefully calling Stop() on MainServer.Instance will solve that.
2009-08-26 21:05:46 -04:00
Teravus Ovares (Dan Olivares) 54e05a083d Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-26 11:48:05 -04:00
Melanie 8a9d168928 Add try/catch around EQ request processing
Fixes Mantis #4061
2009-08-26 14:46:10 +01:00
Jeff Ames cf2d1b5c10 Add copy constructor to PhysicsVector. 2009-08-26 14:28:54 +09:00
Jeff Ames 02f937b0dc Fix some compile warnings. 2009-08-26 14:02:52 +09:00
Jeff Ames 256624566f Formatting cleanup, minor refactoring. 2009-08-26 14:02:01 +09:00
Teravus Ovares (Dan Olivares) 5f794d3e59 A slightly modified version of
http://opensimulator.org/mantis/view.php?id=4040 by jhurliman.    The patch didn't match up, so I winged it here.   My effort to manually merge the patch seems to make sense, so I'm going to commit it.
2009-08-25 17:36:04 -04:00
Arthur Valadares efb287f28f Implemented osPenCap, that sets EndCap and StartCap to Pen. This allows using arrow, diamond, round and flat caps.
* Made image request safer, if it can't find an image for any reason, draws a square where the image should be and a message alerting the user.
2009-08-25 10:32:45 -03:00
Arthur Valadares 9c9fa51b0f Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into arthursv 2009-08-25 10:28:22 -03:00
Diva Canto cfd9cf7b18 Closed the web request and stream in SynchronousRestSessionObjectPoster -- maybe this is the cause of some timeouts seen in some monos? 2009-08-25 06:17:36 -07:00
Melanie 1e4238af92 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-08-22 20:18:56 +01:00
Melanie a22b12ecd4 Change prompt handling in console. No user changes 2009-08-22 20:18:24 +01:00
Diva Canto 71f2d8391b Moved a debug message. 2009-08-22 10:30:27 -07:00
Diva Canto 751c2000cc Changed the namespace of old InventoryServiceBase amd AuthedSessionCache. 2009-08-22 10:30:04 -07:00
Diva Canto b03eeeb9f6 * Fixes mantis http://opensimulator.org/mantis/view.php?id=4044. Turns out folders were never being removed from trash when they were singled out for purging in trash. They were being removed when Trash was purged as a whole. That behavior is now fixed for the new InventoryService set.
* Removed left-overs from AssetInventoryServer.
2009-08-22 10:24:26 -07:00
Diva Canto 8ef758d826 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-22 09:04:25 -07:00
Diva Canto 75021b5309 Moved AuthedSessionCache to where it is used -- Grid/InventoryServer. 2009-08-22 09:03:59 -07:00
Arthur Valadares 7923fd29a0 Adds osDrawPolygon to OSSL. Works a little different then other OS Drawing functions, this one has no start and end point, but a number of points that will form the desired polygon. Only FilledPolygon implemented so far.
* Also added some LSL transparent type conversion, as it's done in LSL scripting (string to integer, float to string, etc)
2009-08-21 21:12:22 -03:00
Arthur Valadares 173701dd63 Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2009-08-21 17:52:25 -03:00
Arthur Valadares 604ef5ba79 Fix issue where conversion of temporary boolean variable fails on MySQL 2009-08-21 17:48:45 -03:00
Diva Canto f9ee8be2bc Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-21 11:01:23 -07:00
Diva Canto 3318652723 Added a more sane InventoryServerMoveItemsHandler. Changed SynchronousRestObjectRequester so that it also understands PUTs. 2009-08-21 11:00:45 -07:00
Teravus Ovares (Dan Olivares) e1b38ff001 * It turns out that Physics heightmap values were being stored in managed memory in _heightmap and using multiple heightmaps caused them all to overwrite each other and the last one was the heightmap for all of the regions. This fixes that. It also reduces the terrain resolution to half. 2009-08-21 13:22:49 -04:00
Melanie de3cca6061 Fix Messaging server so -xmlfile actually works 2009-08-21 17:00:18 +01:00
Melanie 7daf6dbbd3 Add -xmlfile= option to UGM, to let the files be outside bin if desired 2009-08-21 11:35:40 +01:00
Jeff Ames 158ad39df0 Add copyright header. Formatting cleanup. 2009-08-21 15:47:55 +09:00
Diva Canto 31e7e1b5f9 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-20 22:37:06 -07:00
Diva Canto e4f64dd714 Made HandleFetchInventoryDescendents async, so that the client thread doesn't wait for the download of the entire inventory. 2009-08-20 22:36:47 -07:00
Adam Frisby bd7757de22 * oops. Mistake with value return. 2009-08-21 15:15:15 +10:00
Adam Frisby f7c5eca978 * Moves NPC Creation across AppDomains to prevent a major perfomance issue. 2009-08-21 15:12:50 +10:00
Diva Canto 9e64427262 Putting the inventory packets back to ThrottleOutPacketType.Asset, because that didn't work. 2009-08-20 21:56:06 -07:00
Diva Canto 922007443e Changed most of inventory packets to LowPriority, to see if that helps with freezing on searching large inventories. 2009-08-20 21:36:57 -07:00
Adam Frisby 98da8e9b16 * Make cache, actually cache. 2009-08-21 14:20:05 +10:00
Adam Frisby 29e2067ec3 * Implements a cache in NPCModule for Appearance. 2009-08-21 14:10:21 +10:00
Adam Frisby 25dbf16cfb * Once more into the breach! 2009-08-21 13:44:20 +10:00
Adam Frisby d4600eec4d * Attempting to diagnose a connection bug. 2009-08-21 13:35:13 +10:00
Teravus Ovares (Dan Olivares) 64dcb71c14 * Fixes Terrain issues with combined regions. 2009-08-20 23:26:40 -04:00
Teravus Ovares (Dan Olivares) c9b52cd0b6 * Adds PhysicsCombiner Module
* May rename this later
2009-08-20 23:25:40 -04:00
Adam Frisby bce98f9670 * Fixing an issue with NPC's and Circuit Codes. 2009-08-21 13:12:51 +10:00
Adam Frisby 7ef3e5f41c * Protip: Declare publically accessible functions, as public functions. 2009-08-21 11:43:45 +10:00
Adam Frisby c7e140171e * Addendum to previous 2009-08-21 11:35:19 +10:00
Adam Frisby 1740fd60b3 Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2009-08-21 11:15:48 +10:00
Adam Frisby 01f394d203 * Fleshes more of NPCModule out.
* Implements some OSSL commands:
        key osNpcCreate(string user, string name, vector position, key cloneFrom);
        void osNpcMoveTo(key npc, vector position);
        void osNpcSay(key npc, string message);
        void osNpcRemove(key npc);
* Untested. Requires ThreatLevel.High.
2009-08-21 11:14:55 +10:00
Melanie ea32600b8b Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-08-21 00:26:49 +01:00
Teravus Ovares (Dan Olivares) 181b992b4a Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-20 19:25:52 -04:00
Melanie 70c870972a Fix the user and password defaults int he remote console setup 2009-08-21 00:25:50 +01:00
Teravus Ovares (Dan Olivares) b8d7663f54 * Deal with git thinking that file was changed even though it wasn't and it's blocking a pull 2009-08-20 19:25:37 -04:00
Teravus Ovares (Dan Olivares) 66c40dd3de * Switch border cross tests over to the new Border class.
* Use List<Border> for each cardinal to allow for irregular regions.
2009-08-20 19:24:31 -04:00
Diva Canto a3d895908f Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-20 16:19:02 -07:00
Diva Canto 118f710a79 Fixed a missing field in SendBulkInventoryFolderUpdate. 2009-08-20 16:18:32 -07:00
Adam Frisby e83b00a3df * Implements a bunch of stuff in NPCModule 2009-08-21 08:51:43 +10:00
Melanie b23160a871 Remove the AssetInventory server from core. It has fallen behind both
upstream and the reference implementation to the point where it is no
longer usable. It has no known users, and sinnce it doesn't work anymore,
it is safe to assume that no one has used it in a long time.
2009-08-20 21:45:49 +01:00
Melanie 297393f349 Remove a load-order dependency in inventory transfer that was biting
Windows users
2009-08-20 21:05:00 +01:00
Melanie 4c8bcd2ff6 Add some output (at DEBUG level) to the message transfer module to aid
in tracking down an initialization failure.
2009-08-20 20:19:08 +01:00
John Hurliman ae2ceda479 * Only update TextureEntry in AvatarAppearance if the incoming XML-RPC has a valid TextureEntry. About half the time update_avatar_appearance calls are made, the TextureEntry is empty 2009-08-20 10:32:38 -07:00
Diva Canto 1604c9d19e One more place fixed for setting the inventory folder owner. Thanks jhurliman. 2009-08-20 10:14:53 -07:00
Diva Canto 948c7ea20b Commented T021_TestCrossToNewRegion because (1) it can fail on panda, and (2) it is not a meaningful representation of region crossing. 2009-08-19 18:08:20 -07:00
Diva Canto a3db2936f7 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-19 17:36:34 -07:00
Diva Canto 6e35ddb0e9 Fixes GetItem and GetFolder for SQLite. Turns out some methods were no-op in SQlite. Fixes most grief in
http://opensimulator.org/mantis/view.php?id=4035
http://opensimulator.org/mantis/view.php?id=4027
2009-08-19 17:35:42 -07:00
Kunnis b1853d9f26 Fixing a spot I missed in assets. Switching Grid to the new naming schema with Store/Get 2009-08-19 23:46:25 +01:00
Kunnis f1287cc7af * Switching IAssetData to follow the new naming schema, removing the separate insert and update methods. 2009-08-19 23:45:22 +01:00
Diva Canto c295354ea0 Fixes GetRootFolder for normal standalone, which was being incorrectly redirected to the wrong object. Probably fixes most grief in
http://opensimulator.org/mantis/view.php?id=4035
http://opensimulator.org/mantis/view.php?id=4027
2009-08-19 16:15:04 -07:00
Diva Canto 51e487a172 Makes the inventory connectors fully compatible with the old Grid.InventoryServer.
WARNING: interacting with the old server is _much_ slower than interacting with the new one. Grids with the old server will not see any improvements on crossings and TPs, because inventory needs to be fetched from it in its entirety.
2009-08-19 12:02:57 -07:00
Teravus Ovares (Dan Olivares) 289439c832 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-19 14:43:18 -04:00
Teravus Ovares (Dan Olivares) de543002aa Add Border (a virtual border management class)
Move Cardinals to it's own file.
2009-08-19 14:43:03 -04:00
Diva Canto d519f1885f Added MoveItems, which is most useful upon viewer-delete inventory operation. Moving a batch of items is a 1-time operation. Made it async anyway, so that the viewer doesn't wait in case the DB layer is dumb (which is the case currently). 2009-08-19 10:56:08 -07:00
Diva Canto 4382f28efc Async purge so that the client thread doesn't wait. 2009-08-19 00:33:02 -07:00
Diva Canto 4818d11b9d Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-19 00:31:51 -07:00
Diva Canto c5af39239f A better purge of trash folder. 2009-08-19 00:13:51 -07:00
Diva Canto e5f33e7505 GetFolderItems implemented. It's not being called, but it might. 2009-08-18 22:36:03 -07:00
Diva Canto 124f66bfc2 jhurliman's patch in http://opensimulator.org/mantis/view.php?id=4024 2009-08-18 22:17:47 -07:00