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
MW
fb096dfbd5
added experimental packet tracker (LLPacketTracker.cs), which can be told to 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.
2008-07-21 15:13:34 +00:00
Charles Krinke
cda3206633
Mantis#1801. Thank you kindly, Junta_Kohime for a patch that:
...
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.
2008-07-21 13:44:56 +00:00
Charles Krinke
a432a07005
Mantis#1798. Thank you kindly, StrawberryFride for a patch that:
...
Fixes a couple of places where null reference exceptions were
being caught and ignored rather than null checks being performed.
2008-07-21 13:40:08 +00:00
lbsa71
9dbb6f28bc
* eliminated some warnings and added some const and readonlies
...
* 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
2008-07-21 10:02:55 +00:00
Dahlia Trimble
ce90e2ecce
some optimizations in quaternion normalization in llRot2Fwd, llRot2Left, and llRot2Up. llAxes2Rot now uses these functions for sign error correction instead of vector*quat products.
2008-07-21 09:36:22 +00:00
Dahlia Trimble
08f3d212ce
does some verification of the quaternion returned by llAxes2Rot and modifies the sign of the s term if a discrepency is found. This helps llAxes2Rot more closely match the Linden implementation.
2008-07-21 05:34:31 +00:00
Charles Krinke
bedd28e02e
Mantis#1797. Thank you kindly, StrawberryFride for a patch that solves:
...
Shutdown command on region server was presenting an error, failing to
send detach region for all regions, and failing to shut down
2008-07-20 22:19:39 +00:00
Charles Krinke
681433c4b7
Mantis#1796. Thank you kindly, StrawberryFride for a patch that:
...
Agent table code (INSERT / UPDATE, etc) now added to MSSQL provider.
2008-07-20 22:16:50 +00:00
Melanie Thielker
09641bd999
Change the OopenSim.ini default to 256m for nonphysical prims, to
...
get future public installations on a more sane footing.
2008-07-20 16:50:15 +00:00
Melanie Thielker
8ae7dc628b
Make the max sizes of physical and nonphysical prims configurable in OpenSim.ini
...
Defaulted to 65536 and 10, respectively
2008-07-20 15:19:26 +00:00
Melanie Thielker
212ab8c6d9
Change SQLite argument marker from the more standard '@' to the ':' supported
...
but earlier versions of the SQLite dll
2008-07-19 21:01:10 +00:00
Charles Krinke
9ff9279a7c
Mantis#1785. Thank you kindly, Junta_Kohime for a patch that"
...
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.
2008-07-19 14:45:10 +00:00
Jeff Ames
19fd2230bf
Update svn properties. Fix some inconsistent newlines.
2008-07-19 09:35:48 +00:00
Melanie Thielker
351ee78d2a
Quick fix to make the estate ban list effective again, when the region
...
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.
2008-07-19 06:20:57 +00:00
Melanie Thielker
bcf74416a1
Fix prim link numbers (Mantis #1781 )
...
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.
2008-07-19 04:05:34 +00:00
Melanie Thielker
a73d87ef16
Introduce a separate connection string for estates, which defaults to the one gi
...
ven for the region datastore. Removes the flag to store prim inventories, which are now always stored.
2008-07-18 20:50:47 +00:00
Melanie Thielker
bbd076544d
Patch to fix saving of estate managers list loaded during migration.
...
No longer teleports an agent home unless their root agent is being banned.
Visual blocking is still in effect.
2008-07-18 19:32:05 +00:00
Dr Scofield
6a7d544497
pulling query handling through the handlers. adding (non-functional,
...
work-in-progress) HttpHandler.
NOTE: non-active code. does not glow in the dark. non-combustible.
2008-07-18 19:28:52 +00:00
Charles Krinke
c0e389cfff
Mantis#1778. Thank you kindly, Junta_Kohime for a patch that:
...
llRot2Left and llRot2Up functions modified, using fast algebric
calculations instead of vectors and quaternions products.
The accuracy is the same. Normalization is now implemented.
2008-07-18 19:09:51 +00:00
Melanie Thielker
76840906b5
Patch adds bool IsManager(LLUUID) to IEstateModule.
...
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.
2008-07-18 18:08:34 +00:00
Dr Scofield
449c09234d
fixing copy & paste artefact.
2008-07-18 15:36:38 +00:00