aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-10-06Commenting the DEBUG code that I added yesterday, because it's causing mono ↵Diva Canto1-6/+6
to fail with https://bugzilla.novell.com/show_bug.cgi?id=538854
2009-10-06Lock the heartbeat against multiple invocations. May prevent deadlocks and/orMelanie1-0/+10
runaway thread use
2009-10-05Correction on the DEBUG code.Diva Canto1-4/+3
2009-10-05#if DEBBUG code for monitoring the ThreadPool.Diva Canto1-0/+7
2009-10-04disable physics actors for flexible primsdahlia1-3/+4
2009-10-02* Creates Util.UTF8 and switches some references of Encoding.UTF8 to ↵John Hurliman2-2/+2
Util.UTF8 (not all references were switched since not all OpenSim libraries reference OpenSim.Framework) * Shrinks the largest in-memory object, the LLRAW.HeightmapLookupValue struct (only used for exporting to LLRAW terrain files), to the minimum possible size. This seems to have the odd side effect of cutting the size of the two double[256,256] terrain objects in half. Possibly an alignment optimization?
2009-10-02- cleaning up LandData/ILandObject capitalization issuesdr scofield (aka dirk husemann)3-51/+51
- adding LandDataSerializer to OAR mechanics
2009-10-01Added messages to assertions in the failing tests, so that we know which ↵Diva Canto1-12/+19
ones are failing.
2009-10-02Revert "* Adding Scale to EntityBase * Fixing the incorrect initialization ↵Melanie3-36/+16
of EntityBase.Rotation * Removed SceneObjectGroup.GroupRotation and added overrides for Scale/Rotation/Velocity" This reverts commit 39842eb4af3b5a8c52d56c0f7f05ad54f0651bb0.
2009-09-30Removed an innefficent List.Contains lookup from UpdateQueueJames J Greensky1-5/+4
Changed the underlying data structure used to detected duplicate in OpenSim.Region.Framework.Scenes.Types.UpdateQueue from a List to a Dictionary.
2009-10-01Formatting cleanup.Jeff Ames10-16/+16
2009-09-30* Change the signature of the agent set appearance callback to prevent ↵John Hurliman1-7/+32
unnecessary serialization/deserialization of TextureEntry objects and allow TextureEntry to be inspected for missing bakes * Inspect incoming TextureEntry updates for bakes that do not exist on the simulator and request the missing textures * Properly handle appearance updates that do not have a TextureEntry set
2009-09-30Remove predecode-j2k and it's assoaciated logicMelanie1-122/+0
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-10-01Formatting cleanup.Jeff Ames42-165/+165
2009-09-29 This fix addresses the problem where phantom objects do notAlan M Webb1-1/+1
always behave like they are phantom, and llVolumeDetect seems to operate in a random fashion. Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-29A little hack to see if this fixes the problems with ~20% of SOG's becoming ↵Diva Canto2-0/+22
phantom after an import to megaregions.
2009-09-28I think I have fixed something that was broken in the scene setup (tests) ↵Diva Canto1-3/+4
and that needs to be reflected in all other services setups. But the teleport test still doesn't work. Commenting it for now.
2009-09-28Improved the Local grid connector to fetch data from the DB when it doesn't ↵Diva Canto1-3/+4
find it in the cache. Commented out the Standalone teleport test because it's failing, and the scene setup is very confusing. I suspect it may be wrong -- the connectors-as-ISharedRegionModules are being instantiated several times when there are several scenes.
2009-09-29Add copyright header. Formatting cleanup.Jeff Ames1-1/+1
2009-09-27Neighbours cache working.Diva Canto2-3/+5
2009-09-27Unpacking the mess with OtherRegionUp, so we can have a real cache of the ↵Diva Canto5-95/+74
neighbours in the grid service modules.
2009-09-26Moved all HG1 operations to HGGridConnector.cs and ↵Diva Canto2-23/+29
HypergridServerConnector.cs/HypergridServiceConnector.cs, away from Region.Communications and HGNetworkServersInfo. Fixed small bugs with hyperlinked regions' map positions.
2009-09-26Fixed MapBlocks bug, wrong order of arguments. First version that seems ↵Diva Canto1-7/+1
completely functional. Also fixed the notification of the message server in standalone -- that server doesn't usually exist.
2009-09-26First pass at the heart surgery for grid services. Compiles and runs ↵Diva Canto6-455/+181
minimally. A few bugs to catch now.
2009-09-25* Does a full battery of tests to ensure that the object isn't an attachment ↵Teravus Ovares (Dan Olivares)1-1/+6
before border crossing * Fixes 'Inconsistent Attachment State' when teleporting into another region besides the SW most region slot on a MegaRegion. * Fixes a host of other unintended attachment border cross edge cases that lead to Inconsistent attachment state.
2009-09-25* Fixes teleporting within megaregions on HG enabled regions. You can ↵Teravus Ovares (Dan Olivares)2-3/+9
teleport around now. (but it still doesn't fix the inconsistent attachment state when teleporting into region slots that are not the south west region on megaregions)
2009-09-25Moved the property RegionLoginsEnabled from GridComms to the Scene -- not ↵Diva Canto1-0/+7
the scene itself but SceneCommunicationService, for now. Beginning to clear the code from using Region.Communications. grid stuff.
2009-09-25minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-9/+8
2009-09-18addition of a new script function osSetParcelSIPAddress(string SIPAddress), ↵Rob Smart1-0/+45
now including iVoiceModule This patch allows the land owner to dynamically set the SIP address of a particular land parcel from script. This allows predetermined SIP addresses to be used, making it easier to allow non OpenSim users to join a regions voice channel. Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-18Alternate algorithm for fixing avatar capsule tilt (Mantis #2905)nlin1-1/+1
Eliminate dynamic capsule wobble. Instead introduce a small, fixed tilt, and allow the tilt to rotate with the avatar while moving; the tilt always faces away from the direction of avatar movement. The rotation while moving should eliminate direction-dependent behavior (e.g. only being able to climb on top of prims from certain directions). Falling animation is still too frequently invoked. Ideally the tilt should be completely eliminated, but doing so currently causes the avatar to fall through the terrain.
2009-09-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-16* Adding Scale to EntityBase * Fixing the incorrect initialization of ↵John Hurliman3-16/+36
EntityBase.Rotation * Removed SceneObjectGroup.GroupRotation and added overrides for Scale/Rotation/Velocity
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.