aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Guard against wrong packet types being passed into AddNewClient.Melanie Thielker2008-07-231-0/+2
| | | | | | | Actually, the exception handler seems to be a valid execution path here, this needs some love.
* Make QueuePacket() lock free. Eliminates an unneeded lock()Melanie Thielker2008-07-221-21/+18
|
* Change one packet optimization to cover a case where the resendMelanie Thielker2008-07-221-2/+2
| | | | | | | queue may block indefinitely when a single packet is not acked by the viewer and no others cwfromfor that region are pending.
* renamed ScenePresence.SendFullUpdateToAllClients() to ↵MW2008-07-221-2/+17
| | | | SendInitialFullUpdateToAllClients(), and added a replacement SendFullUpdateToAllClients() method. As the old one (now "Initial") has extra steps in it for sending initial updates/date, Not only was this leading to a lot more data being sent than needed to be, every time it was called. It also seems to have been causing the "other Avatars rotating when you sit down" bug.
* Refactor the packet scheduling out of ClientView. Add intelligentMelanie Thielker2008-07-2210-823/+811
| | | | | | | | | | resending, timeouts, packet discarding. Add notification event for packet discarding. Add priority scheduling for packet queues. Add outgoing duplicate detection facility. Correct packet sequencing. Make provisions for automatic server side throttle adjustments (comes in next installment)
* * refactor: move new inventory service call by user server to OGS1 with all ↵Justin Clarke Casey2008-07-221-2/+3
| | | | | | | | the other service calls * will post to mailing list about moving this shortly
* * minor: Make create user command appear on the region console only if the ↵Justin Clarke Casey2008-07-221-4/+14
| | | | region is running standalone
* Update svn properties. Squash a couple of warnings.Jeff Ames2008-07-221-263/+263
|
* Clean up Meshmerizer.cs a bit to make it more readableDahlia Trimble2008-07-211-250/+2
|
* * Give new uuids to all the objects loaded in from an archive.Justin Clarke Casey2008-07-212-7/+9
| | | | | | | * This should allow multiple copies of an archive to be loaded into different regions on the same region server * This shouldn't affect existing operations.
* Mantis#1544. Thank you kindly, Jonc, for a patch that:Charles Krinke2008-07-211-2/+8
| | | | | | | | | | Terrain revert using the PaintBrushes appears to work OK, however when using 'apply to selection' the RevertArea FloodEffect calculates the revert height incorrectly unless the strength passed in from the viewer is 1.0 Attaching a patch to correctly reset the selected area to the heights in the revertmap.
* * minor: stick filename being loaded/saved from in save/load xml/oar ↵Justin Clarke Casey2008-07-212-10/+9
| | | | information messages
* * minor: Make it clearer the region on which save and load xml/oar commands ↵Justin Clarke Casey2008-07-211-0/+14
| | | | are operating
* * minor: add wiki link to archiving function invocationJustin Clarke Casey2008-07-212-3/+4
|
* * Minor: correct change-region typoJustin Clarke Casey2008-07-211-1/+1
|
* * minor: change misleading 'all assets found' message to instead tell how ↵Justin Clarke Casey2008-07-214-23/+35
| | | | many were actually located
* added support so that the packet tracker can resend packets itself as well ↵MW2008-07-211-2/+31
| | | | as triggering a event. Next step to change the terrain packet resending to use these feature.
* added experimental packet tracker (LLPacketTracker.cs), which can be told to ↵MW2008-07-216-45/+333
| | | | | | | | track a packet and if it hasn't been acked within a set time, trigger a IClientAPI event, that the application/scene can handle. Currently only terrain packet tracking is finished, Tracking for initial Prim packets (first full update for a prim) is being worked on. Future improvements would be to make it a more generic packet tracker with callback delegates instead of events. Add a test event handler (which would fire after a minute if a terrain packet hadn't been acked) to scene to handle the OnUnackedTerrain event, which currently just resends the terrain patch. The idea of this packet tracking is for the region level application to be able to know if the client stack gave up on sending a packet.
* Mantis#1801. Thank you kindly, Junta_Kohime for a patch that:Charles Krinke2008-07-212-2/+2
| | | | | | | | | | | I found a problem trying to get s value directly from a quaternion q. Compiling a script which directly access to q.s value, caused the following error: CS0103: 'The . symbol cannot be used in LSL except in float values or vector components'. Detected around: q.s I did a small change to allow alphabetic letter "s" to be interpretated as valid identifier. This solves the problem.
* Mantis#1798. Thank you kindly, StrawberryFride for a patch that:Charles Krinke2008-07-212-13/+5
| | | | | | Fixes a couple of places where null reference exceptions were being caught and ignored rather than null checks being performed.
* * eliminated some warnings and added some const and readonlieslbsa712008-07-213-23/+23
| | | | | | | | | * refactored some member names for readability and ccc (code convention conformance) * took away two refs from Rest.Inventory since * System.IO is part of System * System.Xml.Serialization is part of System.Xml
* some optimizations in quaternion normalization in llRot2Fwd, llRot2Left, and ↵Dahlia Trimble2008-07-212-73/+98
| | | | llRot2Up. llAxes2Rot now uses these functions for sign error correction instead of vector*quat products.
* does some verification of the quaternion returned by llAxes2Rot and modifies ↵Dahlia Trimble2008-07-212-52/+69
| | | | the sign of the s term if a discrepency is found. This helps llAxes2Rot more closely match the Linden implementation.
* Mantis#1797. Thank you kindly, StrawberryFride for a patch that solves:Charles Krinke2008-07-201-1/+1
| | | | | | Shutdown command on region server was presenting an error, failing to send detach region for all regions, and failing to shut down
* Make the max sizes of physical and nonphysical prims configurable in OpenSim.iniMelanie Thielker2008-07-204-65/+79
| | | | | | Defaulted to 65536 and 10, respectively
* Mantis#1785. Thank you kindly, Junta_Kohime for a patch that"Charles Krinke2008-07-192-5/+62
| | | | | | | | | | llAxes2Rot now implemented. Important note: quaternion <x,y,z,s> is equal to <-x,-y,-z,-s>. The result may be different from LSL output, but it is correct. A problem of rounding caused an error of square rooting of zero as negative number, corrected by squaring again. Function tested 360° along 3 axes. Vector fwd, left and up have to be normalized.
* Quick fix to make the estate ban list effective again, when the regionMelanie Thielker2008-07-191-0/+2
| | | | | | | | crossing is also a sim crossing. Prevents the CAPS handler from being set up for a banned user,making them redmap out. Dirty hack, temporary until I can work out how to do it right.
* Fix prim link numbers (Mantis #1781)Melanie Thielker2008-07-197-47/+148
| | | | | | | | | | | Implements additional unlink modes (unlink root prim from link set, some multi-set operations). Linking (single and mutiple) fully implemented. Consistent numbering of links while in world. Link/delink with predictable link numbering. Correct link numbers in LSL. Not all multi-set ops implemented. Link numbers still change when taken and re-rezzed.
* Introduce a separate connection string for estates, which defaults to the one giMelanie Thielker2008-07-184-16/+11
| | | | | | ven for the region datastore. Removes the flag to store prim inventories, which are now always stored.
* Patch to fix saving of estate managers list loaded during migration.Melanie Thielker2008-07-182-7/+2
| | | | | | | No longer teleports an agent home unless their root agent is being banned. Visual blocking is still in effect.
* Mantis#1778. Thank you kindly, Junta_Kohime for a patch that:Charles Krinke2008-07-182-4/+61
| | | | | | | llRot2Left and llRot2Up functions modified, using fast algebric calculations instead of vectors and quaternions products. The accuracy is the same. Normalization is now implemented.
* Patch adds bool IsManager(LLUUID) to IEstateModule.Melanie Thielker2008-07-182-0/+13
| | | | | | | | Returns true whenever the LLUUID references a user who is either an EM or the region owner. Please note that ownership is region-scoped, while EM is estate-scoped.
* * refactor: break out sog loading code into two parts so that ↵Justin Clarke Casey2008-07-185-24/+22
| | | | post-deserialization changes can be carried out before adding it to a scene
* * Fix http://opensimulator.org/mantis/view.php?id=1761Justin Clarke Casey2008-07-182-2/+2
| | | | | | * Now llGetLinkNumber() returns 0 if the prim is not linked, instead of 1
* Commented out a readline that was preventing the sim from shutting down in ↵Dahlia Trimble2008-07-181-1/+1
| | | | some cases
* Implement cast to LSL_Types.LSLInteger from double. Fix issue 1770.Mike Mazur2008-07-182-0/+10
|
* Thanks, sempuki, for a patch that moves all grid plugins to new PluginLoader ↵Mike Mazur2008-07-181-2/+1
| | | | (issue 1763).
* Patch #9151Melanie Thielker2008-07-1813-145/+295
| | | | | | Makes the estate dialog fully functional. Implements all client facing functionality. Moves estate data from estate_settings.xml, which is used to provide defaults, to the region data store. Creates one estate for each region, and places the region in it. Converts all region bans to estate bans.
* added region port number to output of "show regions" commandDahlia Trimble2008-07-181-1/+1
|
* Treat LSL_Types as special cases in llList2Integer and llList2Float. This ↵Mike Mazur2008-07-182-0/+36
| | | | could be implemented many other places, but let's do that on a case-by-case basis.
* Mantis#1768. Thank you kindly, Junta_Kohime for a patch that:Charles Krinke2008-07-182-2/+30
| | | | | | | llRot2Fwd function modified, using fast algebric calculations instead of vectors and quaternions products. The accuracy is the same. Normalization is now implemented.
* refactor - commenting out needsMeshing() and all references as createMesh() ↵Dahlia Trimble2008-07-182-179/+297
| | | | has the same logic and obsoletes the need for it.
* Mantis#1598. Thank you kindly, Matth for a patch that addresses:Charles Krinke2008-07-172-55/+105
| | | | | | | | | | | The previous implementation of llEuler2Rot was not mathematically incorrect, but it was an awkward way of posing the problem that led to a few degenerate cases which were not handled correctly - for example, PI rotations around X and Z axes were wrong. I put some comments in the source about how I arrived at the current implementation, which I think is easier to read, and gives results that match SL.
* make ParentUUID be a cached value, but allow setting it forSean Dague2008-07-161-2/+11
| | | | | | short term storage (needed to rebuild SOGs)
* made SOP have a blank setter for 2 convenience properties.Sean Dague2008-07-161-0/+2
| | | | | | | Got RegionStore mapping to the point that nhibernate would start, though definitely not complete
* be a little more discriminating on firing ShapeChanged script eventsSean Dague2008-07-161-2/+12
| | | | | | so that we don't get them on every object construction.
* Mantis#1755. Thank you kindly, Matth for a patch that solves:Charles Krinke2008-07-162-32/+107
| | | | | | | | When using math operators +,-,*,/ in an LSL script with an LSLFloat and an integer literal the wrong result is returned. This patch adds operators to the LSLFloat type to handle this case.
* squashing warnings crittersDr Scofield2008-07-164-2/+20
|
* Mantis#1746. Thank you kindly, nlin for pointing out thatCharles Krinke2008-07-161-2/+2
| | | | | | | | I needed to apply the patch a little better then last night for: Dot product operator in LSL_Types.cs incorrectly returns a component-wise vector multiplication; it should return a scalar dot product. Thanks to M. Igarashi for the patch.
* Fix issue 1582. The maximum allowable length for a string passed to SimChat ↵Mike Mazur2008-07-161-1/+1
| | | | is 1500. If it was longer than 1500, it was being truncated to 1501 characters. This caused an exception and prevented the errors from reaching the console and the user in-world.