aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-09-30Attempting to improve the robustness of texture decoding by always ignoring ↵John Hurliman2-4/+3
LayerInfo.End values and creating guessed default layer boundaries on failed decodes Changed a noisy J2K decode log message from Info to Debug Replacing openjpeg-dotnet decoding with managed CSJ2K decoding. Should be much more reliable, faster, and use less memory * Re-added openjpeg-dotnet files since they are used elsewhere in OpenSim * Updated prebuild.xml with a reference to CSJ2K * Renamed IJ2KDecoder and J2KDecoder member names to follow standard naming conventions * Removed j2kDecodeCache cruft and replaced it with the OpenSim cache system * Rewrote the default layer boundary algorithm to use percentages instead of an exponent * Switched from an infinite in-memory cache to an expiring cache (10 minute timeout) * Slightly quieted logging errors for failed texture decodes
2009-09-17 While running a test case I had written to pursue problems withAlan M Webb1-113/+152
llDie() not always completely working, I discovered I was getting a lot (60+ over 6000 iterations of the test case) null pointer exceptions in various physics related checks in SceneObjectPart. It was apparent that the (frequent) checks for PhysActor being non-null is an insufficient protection in a highly asynchronous environment. The null reference exceptions are one example of failure, but it could also happen that a sequence started with one instance of a PhysicsActor might finish with another? Anyway, I have implemented a safer mechanism that should stop the errors. I re-ran my test case with the fix in place, and completed nearly 1000 iterations without a single occurrence. SceneObjectPart is seriously in need of rejigging, if not for this reason, then for its ridiculous size. Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-16SceneObjectGroup cleanup. Removes the default constructor and unnecessary ↵John Hurliman4-118/+52
null checks on m_rootPart
2009-09-16on iar save/load, let the user know if they put in the wrong passwordJustin Clark-Casey (justincc)1-4/+1
refactor GetUserInfo() to eliminate copypasta
2009-09-16updated the IAuthorizationService interface so that a message is passed back ↵Rob Smart1-1/+2
and can be displayed at the client when an avatar is denied access to a region
2009-09-15Some OSGrid specific changes, please use this or later for OSGrid useMelanie1-3/+3
2009-09-13* Use the BeginInvoke methodology instead of the FireAndForget methodology ↵Teravus Ovares (Dan Olivares)1-5/+25
to try to mitigate a mono assert. Same functionality done a different way.
2009-09-13Change the type value for given folders to -1. Prevents inventory blowupsMelanie1-1/+1
2009-09-13* More comments in the RegionCombinerModuleTeravus Ovares (Dan Olivares)2-15/+135
* 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-13Formatting cleanup.Jeff Ames1-7/+7
2009-09-10Changed the interface of IAuthorizationService to get less data.Diva Canto1-5/+3
2009-09-10The stubs for an authorization service, at the moment the service will ↵Rob Smart1-1/+32
always grant access to an avatar entering the region if requested.
2009-09-10fix spurious loading... messages on iar load by creating folders as version ↵Justin Clark-Casey (justincc)1-1/+0
1 rather than version 0
2009-09-10* Fix an off by one error on visible neighbors in the 'RequestNeighbors' ↵Teravus Ovares (Dan Olivares)1-2/+2
method. This off by one error showed one extra row of neighbors on the north and east side
2009-09-09* Lock timers when Calling Start() and Stop() when the Thread Context is ↵Teravus Ovares (Dan Olivares)2-2/+6
murky. This affects Mono only.
2009-09-09minor: suppress mono warning 0162 generated when comparing const RegionSize ↵Justin Clark-Casey (justincc)1-0/+1
against a literal number
2009-09-08* Fixes a 'take object from mega region' and rez it in a regular region.. ↵Teravus Ovares (Dan Olivares)2-1/+52
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-07Only allow iar load/save if user is logged in to the region simulatorJustin Clark-Casey (justincc)1-4/+6
2009-09-07* Enables Child Agents for all virtual regions in the region and their ↵Teravus Ovares (Dan Olivares)1-2/+56
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-06minor: organizationalTeravus Ovares (Dan Olivares)1-1/+19
* Move the neighbor region lookup to another method from where it was before in EnableNeighbourChildAgents.
2009-09-06* Moves another Legacy avatar inbounds check to BorderTeravus Ovares (Dan Olivares)1-4/+10
2009-09-06Addendum to last commit. With the last commit, some other code that shouldMelanie1-0/+5
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-06Remove the encryption from the IAuthenticationService interface. ThatMelanie1-3/+27
is too high up for that type of stuff. It needs to be at the connector/handler level
2009-09-05* Moves ScenePresence SendCourseLocations to a delegate and provide a method ↵Teravus Ovares (Dan Olivares)1-0/+23
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-04Fixed some long-standing issues with appearance in HG1.Diva Canto1-18/+18
2009-09-04* Fixes various quirks rezzing in virtual regions.Teravus Ovares (Dan Olivares)1-27/+241
* 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-04Add ids to iar requestsJustin Clark-Casey (justincc)1-3/+5
Stop save iar test wrongly relying on thread pulsing (still disabled though)
2009-09-03Fixes seven leaky .BeginInvoke() callsJohn Hurliman1-0/+4
2009-09-03Add copyright headers. Formatting cleanup.Jeff Ames4-9/+58
2009-09-02* One last attempt to get the bordercrossing/primcrossing/attachmentcrossing ↵Teravus Ovares (Dan Olivares)4-22/+26
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-02Thank you, dslake, for a set of patches to improve OpenSim startupMelanie3-7/+6
and idle performance.
2009-09-01switching SerialiserModule to "new" region module schemedr scofield (aka dirk husemann)1-1/+1
2009-08-31* The return of fuzzy borders!Teravus Ovares (Dan Olivares)1-8/+8
2009-08-31No more fuzzy bordersTeravus Ovares (Dan Olivares)1-8/+8
2009-08-31* -2 on the south and west side, -1 on the north and east side. Fuzzy ↵Teravus Ovares (Dan Olivares)1-8/+8
borders! yay
2009-08-31* Put Borders back the way they were to resolve the endless ----> crossing ↵Teravus Ovares (Dan Olivares)1-2/+2
into region X,Y
2009-09-01Baad git, baad baad git.Melanie1-1/+1
2009-09-01Experimental. Set attachment flag early on rezzing from inventory.Melanie1-0/+3
2009-08-31* Previously south and west border were required to be -1 for border ↵Teravus Ovares (Dan Olivares)1-2/+2
crossings diagonally to work.. but.. seems they're working now without it.. and maybe it will help attachments.
2009-08-31* Fix attachment cross issues with new borders.Teravus Ovares (Dan Olivares)3-2/+25
2009-08-31Remove typo version of ReplaceableInterface property from RegionCombinerModule.Jeff Ames1-1/+1
2009-08-30* Fixes a teleport issue when teleporting out of a region to a different one.Teravus Ovares (Dan Olivares)1-0/+6
2009-08-30* whoops, forgot the other class initializer.Teravus Ovares (Dan Olivares)1-4/+4
2009-08-30* When the RegionCombinerModule is off, make borders have an infinite aabb ↵Teravus Ovares (Dan Olivares)1-5/+5
perpendicular to the cardinal
2009-08-29* Rename the RegionCombiner Module from PhysicsCombinerTeravus Ovares (Dan Olivares)2-23/+31
2009-08-29* Fix the reason why physical vehicles have a problem in virtual regions.Teravus Ovares (Dan Olivares)1-1/+2
2009-08-29* Only lock the Borders when they're being changed, otherwise one avatar's ↵Teravus Ovares (Dan Olivares)1-49/+130
movement could hinder another avatar's movement.
2009-08-29Fix up WebFetchInventoryDescendents to really return all data needed,Melanie1-1/+17
especially the folder version and the subfolders. Fixes inventory search hang and folders not loading.
2009-08-28* Deal with teleports to other virtual regions in the same scene.Teravus Ovares (Dan Olivares)3-10/+113
2009-08-28Modify CAPS inventory code. Currently this is not executedMelanie1-3/+7