Commit Graph

5611 Commits (a179089d1c0afbb9cb53e47b4d1f236cb6e452f2)

Author SHA1 Message Date
Mike Mazur bb777a9c3c Replace the try/catch with a null check. 2008-07-24 05:23:42 +00:00
Mike Mazur 117cc09edc Replace implicit casts from LSLFloat to int and uint which were removed in
r5487.

Also put the unit tests back for Bamboo to execute them, let's see how this
goes.
2008-07-24 05:23:38 +00:00
Melanie Thielker cc5d49d9c1 Addresses Mantis #1810
Collapses two locks into one to avoid a situation were a List is
cloned under two different locks, resulting in a bad index in
.NET code.
2008-07-24 01:38:58 +00:00
Mike Mazur 635b715880 Thanks, cmickeyb, for a patch that addresses secure inventory assuming IP addresses in configuration. Fix issue 1812. 2008-07-24 00:32:06 +00:00
Justin Clarke Casey 9af05d0bc3 * refactor: break out inter grid inventory services further
* more to follow
2008-07-23 22:18:09 +00:00
Sean Dague 1c9551eaae few additional fixed to get prim inventory up on nhibernate 2008-07-23 22:14:37 +00:00
Sean Dague c38b811f5d catch a null case in the convenience RegionID property 2008-07-23 22:14:35 +00:00
Sean Dague 30a77b5b9f implemented prim inventories for nhibernate 2008-07-23 22:14:34 +00:00
Sean Dague 47ad705675 fix column mapping 2008-07-23 22:14:32 +00:00
Sean Dague 6720f4c289 complete the prim inventory mapping 2008-07-23 22:14:31 +00:00
Sean Dague cf317f5c33 refactor TaskInventoryItem Mask -> Permissions to be consistant with how things
are stored in the db.
2008-07-23 22:14:29 +00:00
Sean Dague 3c227390c0 add primitems migration for nhibernate 2008-07-23 22:14:23 +00:00
Justin Clarke Casey 4452ed60f8 * refactor: split out inventory services which are only used between non-region services
* more to follow
2008-07-23 21:40:06 +00:00
Sean Dague aad92e1368 turn fields -> properties in TaskInventoryItem 2008-07-23 19:28:18 +00:00
Melanie Thielker db06e628de Attempt to fix Mantis #1804
Fetches the correct link part to chenge.
Please provide feedback, since I was not able to test all variants of this huge function.
2008-07-23 18:37:43 +00:00
Melanie Thielker f079af87dc Fix Mantis #1759
Corrects reported agent positions.
2008-07-23 18:08:16 +00:00
Sean Dague df361be35f make privates private 2008-07-23 15:58:44 +00:00
Sean Dague 090159defc refactored LandData to use properties, and cleaned up the naming on
the properties a bit to be more consistant with other objects (having things
like .Name .Description, etc).
2008-07-23 15:50:32 +00:00
MW ecd296ad67 Send Animation data for other avatars to new users joining the region (tested on new logins, but need to test that it is triggered on teleports).
This should fix the sitting avatars appearing in a T pose to new users. And possible other animation problems.
2008-07-23 14:26:30 +00:00
Melanie Thielker 76d8cceb92 Fix a race causing a buffer overflow under moderate load 2008-07-23 14:26:08 +00:00
Jeff Ames 80d8e2889e Update svn properties. Formatting cleanup. Remove a compiler warning. 2008-07-23 13:24:25 +00:00
Sean Dague 9e8b456bbc get rid of some LLQuaternion == null checks. Because LLQuaternion is
a struct and not a class, it can't be null.  So these checks were just
generating compiler warnings on unreachable code.
2008-07-23 12:39:16 +00:00
MW 9b51bb545e Changed it so the avatar's rotation is now sent as part of a full avatar update.
This should fix the wrong rotation on existing sitting avatar when logging in bug.
2008-07-23 11:07:59 +00:00
Johan Berntsson ce4bcb5065 The new secure inventory server mode (in r5590) can now be disabled from OpenSim.ini. Default is to use the new mode. 2008-07-23 09:46:04 +00:00
Mike Mazur 003487631d Fix issue 1760. If the inventory item is not found, llSay() and throw an exception. 2008-07-23 08:03:32 +00:00
Johan Berntsson 3b35332957 adding files that were not included in r5589 2008-07-23 07:27:11 +00:00
Johan Berntsson 344c9caeb6 thanks lulurun for a security patch that blocks unathorized access to the inventory server (see http://opensimulator.org/wiki/Security_vulnerability_brought_by_non-check_inventory_service) 2008-07-23 06:59:02 +00:00
Mike Mazur f9e2f41d7c Enable LSL <-> C# source location mapping when reporing compiler errors to the user in-world. This method is not yet perfect but is an improvement in accuracy over the existing method. 2008-07-23 06:53:38 +00:00
Mike Mazur 6256078876 Thanks, sempuki, for a patch that adds .addin.xml for MSSQL and SQLite users. 2008-07-23 05:53:54 +00:00
Mike Mazur c9fca5315c Remove duplicate definitions in addin.xml files. How'd that happen anyway? 2008-07-23 04:32:09 +00:00
Mike Mazur a0930aa80d Thanks, sempuki, for a patch that moves control of Mono.Addins from source attributes to external XML files. Fix issues 1682 and 1786. 2008-07-23 03:08:31 +00:00
Mike Mazur ba17b0df27 First version of position mapping between LSL <-> C# implemented. 2008-07-23 02:51:45 +00:00
Jeff Ames f18b80741a Update svn properties. Minor formatting cleanup. 2008-07-23 01:37:08 +00:00
Melanie Thielker e1c6563174 Guard against wrong packet types being passed into AddNewClient.
Actually, the exception handler seems to be a valid execution
path here, this needs some love.
2008-07-23 01:16:01 +00:00
Melanie Thielker e09ff343fb Make QueuePacket() lock free. Eliminates an unneeded lock() 2008-07-22 22:49:13 +00:00
Melanie Thielker 7fb103d374 Change one packet optimization to cover a case where the resend
queue may block indefinitely when a single packet is not acked
by the viewer and no others cwfromfor that region are pending.
2008-07-22 22:21:20 +00:00
MW b942d18379 renamed ScenePresence.SendFullUpdateToAllClients() to 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. 2008-07-22 19:56:30 +00:00
Melanie Thielker f112cebde2 Refactor the packet scheduling out of ClientView. Add intelligent
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)
2008-07-22 17:58:42 +00:00
Justin Clarke Casey b2b5675bd4 * refactor: move new inventory service call by user server to OGS1 with all the other service calls
* will post to mailing list about moving this shortly
2008-07-22 17:43:09 +00:00
Justin Clarke Casey a1d481d0f6 * minor: Make create user command appear on the region console only if the region is running standalone 2008-07-22 16:21:16 +00:00
Jeff Ames 186f83692c Update svn properties. Squash a couple of warnings. 2008-07-22 15:01:04 +00:00
Dahlia Trimble 492b25362c Clean up Meshmerizer.cs a bit to make it more readable 2008-07-21 23:08:23 +00:00
Justin Clarke Casey 714e1f6786 * Give new uuids to all the objects loaded in from an archive.
* 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.
2008-07-21 21:10:15 +00:00
Charles Krinke 1ef7a05b3e Mantis#1544. Thank you kindly, Jonc, for a patch that:
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.
2008-07-21 19:29:55 +00:00
Justin Clarke Casey d9db56d86b * minor: stick filename being loaded/saved from in save/load xml/oar information messages 2008-07-21 17:52:53 +00:00
Justin Clarke Casey 8948ecbd8b * minor: Make it clearer the region on which save and load xml/oar commands are operating 2008-07-21 17:42:13 +00:00
Justin Clarke Casey b798a9b7a0 * minor: add wiki link to archiving function invocation 2008-07-21 17:33:03 +00:00
Justin Clarke Casey 5bceab785f * Minor: correct change-region typo 2008-07-21 17:23:32 +00:00
Justin Clarke Casey a13a4c6144 * minor: change misleading 'all assets found' message to instead tell how many were actually located 2008-07-21 17:13:32 +00:00
MW 6784cebf57 added support so that the packet tracker can resend packets itself as well as triggering a event. Next step to change the terrain packet resending to use these feature. 2008-07-21 16:21:59 +00:00