Melanie Thielker
8cd0c90dab
Addresses Mantis #1611
...
Set thread culture for event processing threads in DotNetEngine.
XEngine already had this. Maybe someone with a French OS can verify
the fix.
2008-07-27 19:54:43 +00:00
Melanie Thielker
6c3db99a27
Addresses Mantis #1688
...
Changes erroneous return value of llGetLinkname() to "" for nonexistent
prims. Corrects an issue where the root prim of a linked set, upon
delink, retains the part number 1.
2008-07-27 19:32:43 +00:00
Melanie Thielker
839e9c94e8
Prevents Mantis #1829
...
Add array size check to packet from viewer to prevent OOB exception
2008-07-27 19:12:40 +00:00
Jeff Ames
2ec23f934a
Update svn properties.
2008-07-27 17:15:41 +00:00
Charles Krinke
e4ef774875
Mantis#1831.Thank you kindly, Francis for a patch that addresses:
...
Not all combinations of list order equally likely with llListRandomize()
2008-07-27 16:21:51 +00:00
lbsa71
f417a03414
Mantis#1817. Thank you kindly, sacha magne, for a patch that:
...
* Fixes a simulator crash when an asset file is missing on loading asset library.
2008-07-27 13:59:07 +00:00
lbsa71
1784918034
* Added safeguard to ensure valid inventoryserver uri.
2008-07-27 13:34:34 +00:00
Mike Mazur
e17520621c
Log to console if C# line/column lookup fails.
2008-07-27 10:41:44 +00:00
Mike Mazur
11a3fbf4aa
Conversion from double to LSLInteger needs to be explicit. Fix issue 1826.
2008-07-27 07:09:33 +00:00
Mike Mazur
6267db0c4c
Implement LSLFloat {+,-,*,/} LSLFloat operations. Fix issues 1532, 1701, 1824 &
...
1832.
2008-07-27 05:42:47 +00:00
lbsa71
8e869b2fff
* Changed a number of field names to ccc (public members shouldn't be called m_)
2008-07-26 21:22:15 +00:00
Dahlia Trimble
c12d4d21e3
Modified ResetChildPrimPhysicsPositions() to allow archiving and physics to coexist peacefully (as per justincc's recommendations)
2008-07-26 19:51:17 +00:00
Melanie Thielker
2a1bc318b0
The hazards if unclean sourc trees. Yours truly got bitten this time.
...
Re-fix the re-fix from a clean build. This makes the region based
settings work as advertised
2008-07-26 18:54:59 +00:00
Melanie Thielker
3b1efa4348
Re-Fix the fix
2008-07-26 18:46:04 +00:00
Melanie Thielker
1321bd25b8
Fix Mantis #1830
...
Makes region settings save on second and subsequent sim restarts
after upgrading.
2008-07-26 18:03:50 +00:00
Dahlia Trimble
287674296e
reinstated ResetChildPrimPhysicsPositions() as some prims had bad/missing proxies without it
2008-07-26 01:58:13 +00:00
Dahlia Trimble
c512120389
Attempt to update viewer for some physics status changes in SOP
2008-07-25 20:45:06 +00:00
Dahlia Trimble
3035f5cb64
Re-enables testing for config option mesh_sculpted_prim which was inadvertently disabled in a prior modification (oops) :)
2008-07-25 20:29:37 +00:00
Justin Clarke Casey
0d488ad489
* minor: just realized I managed to get the save xml/xml2 messages the wrong way around
2008-07-25 18:08:45 +00:00
MW
a7db55717b
enabled a config option to inventory server to be able to stop it doing the SessionId lookup to the user server. As this ties a inventory server to one userserver/grid.
...
doing the look up is still enabled by default.
2008-07-25 17:59:34 +00:00
Justin Clarke Casey
d954f46a0a
* Stop the HasGroupChanged flag being reverted for newly restored prims which need to be persisted to the db
...
* This should stop the problem where linked prims loaded via an archive did not survive server restart
* It may address mantis 1819 though the symptoms don't look consistent
2008-07-25 17:48:58 +00:00
Dr Scofield
c724e38433
oops. forgot to add addin.xml for GridInfoPlugin. also, slight
...
reordering of plugin initialisation to ensure that it will return base
information about grid, even if [GridInfo] config section is not
there.
2008-07-25 17:06:26 +00:00
Dr Scofield
b5f23b4c9c
first cut at a GridInfo plugin (mantis #1825 ). Currently just spits
...
out everything in the [GridInfo] section :-D Also, not yet LLSD but
XmlRpc, LLSD via GET will follow. OpenSim.ini.example contains sample
values and explanation. Oh, and default values provided are
platform: OpenSim
mode: standalone | grid
have fun.
2008-07-25 16:56:46 +00:00
Justin Clarke Casey
fd4e703f25
* Remove dumb bug I put in which meant that an archive save would never complete if there were any missing assets
2008-07-25 15:18:24 +00:00
Dr Scofield
f2bc404e70
squasing warning.
2008-07-25 12:59:41 +00:00
Dr Scofield
81cb72b5ad
squashing warning.
2008-07-25 12:59:18 +00:00
Dr Scofield
f7e636570f
adding copyright statement.
2008-07-25 11:31:33 +00:00
Dr Scofield
031e140761
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The LL Server sets the CreateSelected flag for a prim when sending a
property update when objects are linked. The following patch
gets OpenSim to do the same.
2008-07-25 10:13:26 +00:00
Dr Scofield
2d727ebc63
completing rename of ChatFromViewerArgs to OSChatMessage
2008-07-25 10:09:02 +00:00
Dr Scofield
24e15088ea
renaming the increasingly ill-named ChatFromViewerArgs to OSChatMessage
2008-07-25 10:05:50 +00:00
Dr Scofield
50bc51b642
From: awebb
...
test code for REST handlers.
2008-07-25 10:02:21 +00:00
Dr Scofield
7025a8040e
From: awebb
...
Further improvements to the REST handlers.
2008-07-25 09:56:35 +00:00
Mike Mazur
19ad7db5e1
Add casts from integer to float. Fix issue 1822.
2008-07-25 07:50:31 +00:00
Mike Mazur
84cc69573b
Thanks, lulurun, for a patch that adds an authenticated session cache to reduce
...
"check_auth_session" requests from inventory server to user server.
2008-07-25 07:16:27 +00:00
Melanie Thielker
5998fb712a
Patch #9155 (Mantis #1793 )
...
Fix a regression that caused the region settings not to save.
Still no SQLite support for region settings. MySQL now functional.
2008-07-25 06:17:43 +00:00
Teravus Ovares
1e7c9e4810
* Fix the ODEPlugin unit test
2008-07-25 05:23:10 +00:00
Mike Mazur
e60cf0e67d
-add test for newly introduced cast operators (issue 1818)
...
-fix formatting
-remove CompilerTest test since it seems to fail randomly
2008-07-25 04:47:11 +00:00
Melanie Thielker
ac9a221993
Add mingchen's fix for string->float cast to Shared/
2008-07-25 03:47:55 +00:00
Melanie Thielker
06e0e513cf
Add GetGroupPowers() and a dictionary to hold them to ClientView and
...
IClientAPI. No user functionality
2008-07-25 03:45:17 +00:00
mingchen
6554c7bac5
*Fixes #0001818 : typecast string to float
2008-07-25 03:39:38 +00:00
mingchen
f2742fb604
*Added CommandIntentions that is used to describe a console commands hazard. HAZARDOUS if it modifies the simulator, NON_HAZARDOUS if it does a command that doesn't modify the simulator but does a background command such as a forced backup, and STATISTICAL if it returns debug or more information.
...
*This is useful for implementing a protection system from unwanted script execution or for application modules needing to know what a command does.
2008-07-25 02:30:07 +00:00
Dahlia Trimble
c1e239dedc
llApplyImpulse now accepts any non-zero integer as not FALSE
2008-07-25 02:06:40 +00:00
Dahlia Trimble
c67198299e
Changed application of constant forces to after PID force is applied. llSetForce() should behave identical to the Linden implementation now.
2008-07-24 21:05:30 +00:00
Justin Clarke Casey
cdd3537706
* refactor: Remove now redundant inventory server url being passed to GetInventorySkeleton
2008-07-24 17:19:33 +00:00
Justin Clarke Casey
918c0a4826
* refactor: move remaining user service -> inventory service OGS1 calls into the specific inter service class
2008-07-24 17:10:07 +00:00
Justin Clarke Casey
11385c53e6
* minor: eliminate warnings from LindenUDP
2008-07-24 16:03:17 +00:00
Justin Clarke Casey
77297ed6cc
* Separate out OGS1 calls used between services (rather than from region to services) into a separate assembly to parallel OpenSim.Region.Communications.OGS1
2008-07-24 15:56:50 +00:00
Melanie Thielker
740a9a7374
Thank you, Neopallium, for a patch that addresses ack issues in the
...
client stack. Committed with changes, see Mantis #1810 for details.
2008-07-24 15:52:36 +00:00
Justin Clarke Casey
e5e1666c84
* Fix spelling mistake in OGS1SecureInvenotryService
2008-07-24 15:27:21 +00:00
Justin Clarke Casey
29e8fcd13c
* minor: Rename IInterGridInventoryServices since it's inter service rather than inter grid
2008-07-24 15:20:57 +00:00
Jeff Ames
a4ad6a67b7
Update svn properties. Minor formatting cleanup.
2008-07-24 15:20:47 +00:00
Dr Scofield
1d7e29cc2c
oops...forgot to svn add OSHttpHttpHandler.cs last week.
...
NOTE: this code is work-in-progress, it's not live. it's so far
harmless and just wants to play. it should not bite anyone (yeah,
that's what they all say, i know...)
2008-07-24 14:35:04 +00:00
Dr Scofield
e9144b1a3a
From: Christopher Yeoh <cyeoh@au1.ibm.com>
...
The problem I noticed is that when child prims are selected unlike
the Linden server, OpenSim does not return property information - it
only searches the root prims for matches.
What I'm not sure about is whether the parcel prim count taint should
be set or if the root prim should be set as selected (doesn't
seem possible to set the child prim as selected). It does
however fix the problem of the property information
not being sent, so its an improvement (I think!).
2008-07-24 14:18:07 +00:00
Dahlia Trimble
f74a9bcdc7
Implements llSetForce() and llGetForce(). These are experimental and the units may not match the Linden implementation.
2008-07-24 07:45:58 +00:00
Mike Mazur
d58346e798
Refactor some tests.
2008-07-24 07:23:36 +00:00
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
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
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
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
Sean Dague
611b56070b
add some locks back into the sqlite asset path, as something changed
...
that is causing a lot of out of order execution on asset fetches on
multi region sims.
2008-07-18 15:34:32 +00:00
Dr Scofield
0ea73384d4
simplifying OSHTtpHandler (a bit), adding query string matching,
...
adapting OSHttpXmlRpcHandler accordingly.
NOTE: this code is not live.
2008-07-18 15:31:28 +00:00
Sean Dague
df1485fc51
remove all the odd quoting, on the off chance this was causing some
...
of the issue.
2008-07-18 15:19:52 +00:00
Sean Dague
d9ba7c8339
put the entire thing inside a transaction. This probably doesn't
...
help much, but it might.
2008-07-18 15:13:19 +00:00
Sean Dague
e2a3be254f
fix typo in create index that caused the entire migration to fail.
...
put some drop table if exist clauses in here to hopefully let this
migration work for people that are in an intermediary broken state
right now.
2008-07-18 15:10:20 +00:00
Sean Dague
aec5f0ceed
found a better pattern for SaveOrUpdate with nhibernate
...
cleaned up the asset path a bit
2008-07-18 15:06:24 +00:00
Justin Clarke Casey
f8721c3c1c
* refactor: break out sog loading code into two parts so that post-deserialization changes can be carried out before adding it to a scene
2008-07-18 14:42:06 +00:00
Dr Scofield
a6e2589537
force Culture to en-US in BaseHttpserver.HandleRequest() --- this
...
fixes mantis #1748 and #1771 .
2008-07-18 14:40:07 +00:00
Sean Dague
d44dcdf97b
remove NHPrim, this turned out to be a bad idea
2008-07-18 13:44:16 +00:00
Justin Clarke Casey
03bd6c91a9
* Fix http://opensimulator.org/mantis/view.php?id=1761
...
* Now llGetLinkNumber() returns 0 if the prim is not linked, instead of 1
2008-07-18 11:51:27 +00:00
Dr Scofield
0171e76246
squashing further warnings.
2008-07-18 10:57:18 +00:00
Dr Scofield
3fb0a08619
fixing warnings in EstateSettings and correcting coding style:
...
* warning was:
OpenSim/Framework/EstateSettings.cs(277): warning CS0472: The result of comparing `libsecondlife.LLUUID' against null is always `false'. This operation is undocumented and it is temporary supported for compatibility reasons only
* coding style: space before flow control statements please! http://blogs.msdn.com/brada/articles/361363.aspx
2008-07-18 10:33:10 +00:00
Dahlia Trimble
473059905f
Commented out a readline that was preventing the sim from shutting down in some cases
2008-07-18 08:22:05 +00:00
Mike Mazur
8b613e677f
Implement cast to LSL_Types.LSLInteger from double. Fix issue 1770.
2008-07-18 07:52:44 +00:00
Mike Mazur
e0e0db3660
Thanks, sempuki, for a patch that moves all grid plugins to new PluginLoader (issue 1763).
2008-07-18 04:51:41 +00:00
Dahlia Trimble
230a7ecaec
masks MySQL password from console startup messages
2008-07-18 03:23:40 +00:00
Melanie Thielker
263633e274
Patch #9151
...
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.
2008-07-18 02:40:47 +00:00
Dahlia Trimble
f87d2d8a92
added region port number to output of "show regions" command
2008-07-18 02:08:14 +00:00
Mike Mazur
0b92ff4fde
Treat LSL_Types as special cases in llList2Integer and llList2Float. This could be implemented many other places, but let's do that on a case-by-case basis.
2008-07-18 02:05:20 +00:00
Charles Krinke
bc24c0e5d7
Mantis#1768. Thank you kindly, Junta_Kohime for a patch that:
...
llRot2Fwd function modified, using fast algebric calculations
instead of vectors and quaternions products. The accuracy is
the same. Normalization is now implemented.
2008-07-18 01:20:06 +00:00
Dahlia Trimble
49adb6e09f
refactor - commenting out needsMeshing() and all references as createMesh() has the same logic and obsoletes the need for it.
2008-07-18 00:03:28 +00:00
Sean Dague
f54828c957
fix build break
2008-07-17 21:07:39 +00:00
Sean Dague
18a5cfd10f
terrain is close to working, but I still end up at the bottom of the sea
...
right now.
2008-07-17 20:58:24 +00:00
Sean Dague
50eab18590
need to synchronize the terrain updates
2008-07-17 20:58:23 +00:00
Sean Dague
4663999c24
first pass at Terrain implementation
2008-07-17 20:58:20 +00:00
Sean Dague
366e09b543
add a Terrain object for the purpose of mapping. This may make sense
...
to stick up in framework later, but for now we'll just keep it close
to the data.
2008-07-17 19:58:47 +00:00
Sean Dague
8f2154916b
if no texture, make it plywood
2008-07-17 19:58:45 +00:00
Sean Dague
a580d7ee35
add plywood texture as a constant, as we need it in a couple of places
...
and it's super cryptic to have random UUIDs hanging out.
2008-07-17 19:58:41 +00:00
Charles Krinke
26fd0595d7
Mantis#1598. Thank you kindly, Matth for a patch that addresses:
...
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.
2008-07-17 19:11:56 +00:00
Sean Dague
6084a7ea3e
Revert "git merge"
...
This reverts commit 80e1c3742a3ba7eb9aa1686a242b36f64331095a.
2008-07-17 18:59:10 +00:00
Sean Dague
dd144e12ba
git merge
2008-07-17 18:59:06 +00:00
Sean Dague
1c0f27b013
finish NHibernate mapping for prims, and it even seems to work
2008-07-17 18:59:04 +00:00
Sean Dague
43df32c52c
fix the null case for deep copy
2008-07-17 18:59:02 +00:00
Sean Dague
0a01be9a86
more safety checks
2008-07-17 18:59:01 +00:00
Sean Dague
db9e6584bf
add a null check for safety
2008-07-17 18:58:58 +00:00
Sean Dague
d5e0a3a184
got basic region object saves working time for lunch
2008-07-17 18:58:47 +00:00
Sean Dague
9aa0302e5b
early remove calls
2008-07-17 18:53:38 +00:00
Dr Scofield
6ca23c1123
rearranging variables in OSHttpRequest and adding Query property.
2008-07-17 16:51:23 +00:00
Charles Krinke
e8412dcd42
Mantis#1736. Thank you kindly, StrawberryFride for a patch that:
...
Many issues with handling connections in MSSQL, have rearchitected to
ensure that connections are always opened and closed in a timely fashion
& disposed of cleanly, and removed unnecessary lock statements. SQL
Server performance seems to have improved considerably as a result,
and various timeout errors seem to have been fixed.
2008-07-17 13:43:31 +00:00
Dr Scofield
ed4241583f
morphing OSHttpHandler interface into an abstract base class. adding
...
HTTP method matching support. adapting OSHttpXmlRpcHandler
accordingly. dropping OSHttpXmlProcessor delegate in favour of good
old XmlRpcMethodHandler delegate (was the same signature).
2008-07-17 12:54:15 +00:00
Sean Dague
2a30e85c97
added index to ParentID on prims, as this is sorted on for prim loading.
...
This should speed up initial load of prims, especially on primy regions.
2008-07-16 22:16:46 +00:00
Sean Dague
40ab5f2085
clean up mappings for parent id
2008-07-16 21:28:01 +00:00
Sean Dague
6adac3bd5a
getting close on saving prims via nhibernate
2008-07-16 21:27:59 +00:00
Sean Dague
44d0b7c724
make ParentUUID be a cached value, but allow setting it for
...
short term storage (needed to rebuild SOGs)
2008-07-16 21:27:57 +00:00
Sean Dague
d3190236cc
fix RegionStore creation so that the .sql file works
2008-07-16 21:27:55 +00:00
Sean Dague
194ffb4d88
made SOP have a blank setter for 2 convenience properties.
...
Got RegionStore mapping to the point that nhibernate would start, though
definitely not complete
2008-07-16 21:27:52 +00:00
Sean Dague
58a0d0bb32
be a little more discriminating on firing ShapeChanged script events
...
so that we don't get them on every object construction.
2008-07-16 18:29:03 +00:00
Sean Dague
d9523b4e1a
change fields to private so everyone will use properties
2008-07-16 15:18:13 +00:00
Sean Dague
f3173735fa
Revert "refactoring of PrimitiveBaseShape to properties"
...
This reverts commit 60e13a9997da89d224fbe8a97ab42bfc6114a45f.
2008-07-16 15:10:35 +00:00
Sean Dague
1e447478b8
refactoring of PrimitiveBaseShape to properties
2008-07-16 14:41:57 +00:00
Sean Dague
e2d02cbf65
further property refactoring of PrimitiveBaseShape
2008-07-16 14:41:53 +00:00
Sean Dague
c6b1a190bc
refactoring primitive base shape to use properties
2008-07-16 14:41:49 +00:00
Sean Dague
309e479ac4
work in progress on nhibernate
2008-07-16 14:40:19 +00:00
Charles Krinke
0106f96716
Mantis#1755. Thank you kindly, Matth for a patch that solves:
...
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.
2008-07-16 14:30:22 +00:00
Dr Scofield
1e39bfb036
squashing warnings critters
2008-07-16 09:42:14 +00:00
Charles Krinke
4350613f1d
Mantis#1746. Thank you kindly, nlin for pointing out that
...
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.
2008-07-16 03:07:54 +00:00
Mike Mazur
18aa58c63b
Fix issue 1582. The maximum allowable length for a string passed to SimChat 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.
2008-07-16 01:19:32 +00:00
Charles Krinke
620f7926f3
Mantis#1753. Thank you kindly, Kinoc for a patch that:
...
Brings Yield Prolog up to date with sourceforge version 0.9.10
Patched applies to both DotNet and XEngine.
2008-07-16 01:00:40 +00:00
Sean Dague
2f46ab5096
add migration for SceneGroupID to char(36) plus add an index. This
...
should actually speed up deletes substantially, especially for large
regions, as this was a table scan before.
2008-07-15 20:06:58 +00:00
Sean Dague
b5efb49d74
added new ParentUUID property to map out from SOP.
...
Updated some nhibernate parts, started in on migration.
2008-07-15 18:57:18 +00:00
Justin Clarke Casey
d75cacb050
* Expose client statistics to the console via 'show stats'
...
* Potentially useful for diagnostics without needing to log in a client
* Packet queue statistics commented out for now pending a better way to cope with the information overload
2008-07-15 18:07:23 +00:00
Dr Scofield
00c15eb0c4
cleanup: fixing CamelCase issue with RestDeserialiseHandler.
2008-07-15 13:33:31 +00:00
Dr Scofield
8b933e53c0
fixes handler scoring method. XmlRpc code path now fully working with
...
HttpServer. :-)
2008-07-15 13:06:30 +00:00
Dr Scofield
788c3c497b
removes a Console.WriteLine(...) remnant.
2008-07-15 13:02:10 +00:00
Dr Scofield
5d0b6343a0
killing a lonesome warning that managed to creep in...
2008-07-15 12:02:49 +00:00
Dr Scofield
b77bcb6660
fixes a couple of issues i introduced yesterday, one of them MapBlock queries crashing.
2008-07-15 11:46:13 +00:00
Charles Krinke
4848dcf0e3
I had to revert the Mantis#1746 patch as although the local build
...
with Windows compiled, the automated build failed.
2008-07-15 03:17:45 +00:00
Charles Krinke
ff16a886c1
Mantis#1746. Thank you kindly, nlin & M.Igarashi for a patch that:
...
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.
2008-07-15 03:06:38 +00:00
Charles Krinke
8fcd9532ab
Mantis#1745. Thank you kindly, Lulurun for a patch that:
...
Fixes simulator webmap functionality.
2008-07-15 02:59:23 +00:00
Sean Dague
edbf997e29
added RegionID get property
2008-07-14 21:39:30 +00:00
Justin Clarke Casey
8e3f83b1c8
* Change load-oar/save-oar status to highly experimental.
...
* See http://opensimulator.org/wiki/OpenSim_Archives for more details.
* These commands can now be used on an experimental basis. save-oar saves the entire current region (prim data, assets, prim inventory items, terrain) to a single tar.gz file.
* load-oar loads an opensim archive and entirely replaces the current region (at the moment).
2008-07-14 20:56:53 +00:00
Charles Krinke
b100b841b3
Mantis#1739. Thank you kindly, Grumly57 for an additional patch that:
...
Changed code to include Melanie's advice about X-SecondLife-Region,
then put the exact same content format as a llHTTPRequest issued by
other grids.
2008-07-14 17:47:12 +00:00
Justin Clarke Casey
177001cdfc
* On an archive load, make the master avatar the owner of all scene objects for now
2008-07-14 16:44:50 +00:00
Justin Clarke Casey
9cb4ba9d6b
* For now, when loading an archive all the existing scene objects get deleted by default
2008-07-14 16:23:59 +00:00
Dr Scofield
31e5d348f6
adding support for Xml2 serialization format to XmlRpcLoadXMLMethod.
2008-07-14 14:40:39 +00:00
Charles Krinke
00791594ad
Mantis#1739. Thank you kindly, Grumly57 for a patch that:
...
Implements X-SecondLife-* HTTP Headers for llHTTPRequest
2008-07-14 13:51:54 +00:00
Dr Scofield
4476d484c3
fixing warning in IRCBridgeModule and logging the exception cause now.
2008-07-14 12:32:34 +00:00
Dr Scofield
7692f3e18f
further work in progress on the HttpServer side: XmlRpc handler path
...
almost complete and soon to be ready for testing; OSHttpResponse code
out.
2008-07-14 12:18:32 +00:00
Dahlia Trimble
d262fb5650
adds a default value of true to the new IRC bridge configuration option "nicknum" to provide backwards compatibility for existing OpenSim.ini files
2008-07-14 09:16:07 +00:00
Melanie Thielker
07bd749ac5
Patch #9150
...
Patch 7 of the region patches. Finish off the region parts of the estate dialog. Full user functionality. Terrain textures, heights, water, avatar counts, prim bonus, debug settings and region toggles can now be set from the dialog on a per-region basis. Estate stuff defaults to sane values where there are no defaults, to estate_settings.xml otherwise. Sun still b0rked :(
2008-07-14 01:39:36 +00:00
Melanie Thielker
eaf9383b59
Patch #9149
...
Make all of the toggles go live. Utilizes the new database table for almost everything. Remove lots of now unneeded settings from the EstateSettings class
2008-07-14 01:32:16 +00:00
Melanie Thielker
12173034d9
Patch #9148
...
Patch 5 in the region settings series. Adds a migration to ensure corrupted
data is purged and re-read from defaults. Some changes. Still no full
functionality
2008-07-14 01:29:48 +00:00
Melanie Thielker
e712678689
Patch #9147
...
Patch #4 of the region settings series. Partial functionality of the new
storage system. More patches to follow.
2008-07-14 01:27:47 +00:00
Charles Krinke
476e08286e
Mantis#1728. Thank you kindly, Mikem for a patch that solves:
...
The compiler was missing grammar rules for += etc. operators on
vector.member variables, which the attached patch implements.
2008-07-14 01:07:21 +00:00
Charles Krinke
d0fb5e8c90
Mantis#1638. Thank you kindly, Salahzar for a patch that:
...
Addresses an unused field in the asset server but never get filled up.
It also makes working the recent items tab in inventory :))))
2008-07-13 18:57:13 +00:00
Justin Clarke Casey
92cac0c6de
* minor: make scene closing log message info rather than warn
2008-07-13 00:21:23 +00:00
Justin Clarke Casey
eb63b9bbc1
* Actually persist restored archives to the database - wasn't actually doing this before (doh)
...
* Not quite perfect yet
2008-07-13 00:18:29 +00:00
Justin Clarke Casey
bd9736c9f8
* Elminate most of the debugging log output from the archive commands
2008-07-12 22:31:46 +00:00
Justin Clarke Casey
da55f4d2ae
* minor: comment out a couple of lines to eliminate nhibernate compile warnings for now
2008-07-12 22:18:54 +00:00
Justin Clarke Casey
a89385818d
* On archive loading, tell the user how many objects we are ignoring because they already exist in the scene
...
* (ability to give objects new uuids will come later)
2008-07-12 22:14:38 +00:00
Justin Clarke Casey
23c4a409b7
minor: method documentation
2008-07-12 21:43:35 +00:00
Justin Clarke Casey
7d97169351
* minor: thought up a better name for the last allocated local id
2008-07-12 21:07:42 +00:00
Justin Clarke Casey
000d5e8b93
* minor: just some null guards and name changes to make it clearer that prim count is actually a prim local id dispenser
2008-07-12 21:03:12 +00:00
Justin Clarke Casey
e30ca523ae
* refactor: Move xml/archive loading and saving code into separate methods ready for future modularization
2008-07-12 20:14:17 +00:00
Justin Clarke Casey
b835b1d7ec
* refactor: collapse scene debug settings into same format as packet debug settings
2008-07-12 20:04:31 +00:00
Justin Clarke Casey
91a208b6a5
* Refactor: Minor cleanup of Debug method in OpenSim.cs
2008-07-12 19:47:45 +00:00
Justin Clarke Casey
451c3d1dd7
* Hive off ConsolePluginCommand into its own framework class
2008-07-12 19:29:49 +00:00
Justin Clarke Casey
35d5b3991b
* Make archive default tar file modes more permissive
2008-07-12 19:19:22 +00:00
Justin Clarke Casey
77723f8b8d
* Remove warning
2008-07-12 19:08:46 +00:00
Justin Clarke Casey
654b3424c7
* Remove warning and tidy up logic in SceneObjectGroup.UpdatePrimFlags()
2008-07-12 19:05:12 +00:00
Justin Clarke Casey
4e7dd0d919
* Start compressing archives
2008-07-12 18:54:21 +00:00
Melanie Thielker
4ff529bdaf
Patch #9146 (No Mantis)
...
Prevent an exception caused by inventory server fetch requests
2008-07-12 18:26:25 +00:00
Charles Krinke
932ed5ec54
Mantis#1726. Thank you kindly, StrawberryFride for a patch that:
...
On an MSSQL-based Grid OpenSim installation, users could log in to the sim once,
then log off - after a short time before retrying users would be unable to log in,
and would see an empty alert box on the client with just a "close" button and no text.
Despite no users being logged into the sim, user server would report a higher number
of logins than logouts.
2008-07-12 18:05:57 +00:00
Charles Krinke
33971a7ce8
Mantis#1681. Thank you kindly, Vytek for a patch that:
...
Adds additional support for llEmail().
2008-07-12 17:23:30 +00:00
Charles Krinke
0b28cf84f1
Mantis#1718. Thank you kindly, Mircea for a patch that:
...
Adds some IRC bridge improvement.
2008-07-12 17:19:24 +00:00
Charles Krinke
132b95ec95
Mantis#1714. Thank you kindly, Krtaylor for a patch that:
...
Solves llGetListLength fails scripts when list is not initialized.
2008-07-12 17:11:43 +00:00
Charles Krinke
bdec1aea92
Mantis#1716. Thank you kindly, Nlin for a patch that:
...
Addresses the Gap when sitting on single prims with
a sit target (discrepancy with SL)
2008-07-12 17:08:34 +00:00
Charles Krinke
e6d3f7c39d
Mantis#1691. Thank you kindly, Phrearch for a pactch that:
...
Solves llGetCameraPos() implementation + permission bug.
2008-07-12 17:04:56 +00:00
Melanie Thielker
9e20318667
Patch #9145 (Mantis #1723 )
...
Allows direct viewing of library scripts from inventory again
2008-07-12 13:42:32 +00:00
Melanie Thielker
f629fdb88d
Patches #9143 and #9144 (Mantis #1723 )
...
Changes the permissions module to make scripts permissive only when intended
Adds security checks to asset transfers to prevent hacked clients fron
requesting script sources.
Adds security checks to llClientView to verify all aspects of ownership
and permissions for inventory based script retrieval.
2008-07-12 06:24:43 +00:00
Dahlia Trimble
13399ff439
Passes prim physical status to mesher from physics plugins
...
Small prims now get a full mesh if they are physical
Fixed a logic bug that was preventing many prim meshes from having excess memory cleaned up
Switched to more conservative method of vertex and triangle list trimming to prevent possible crash
2008-07-12 01:58:20 +00:00
Melanie Thielker
d85774c101
Patch #9142 (No mantis)
...
Add a config option to OpenSim.ini to select between script compilers
in the XEngine without recompile.
Set UseNewCompiler=true in OpenSim.ini and try it out.
Creates the ICodeConverter interface and adapts the new compiler to it.
2008-07-12 01:34:36 +00:00
Dahlia Trimble
f6c7f167b9
Overloads CreateMesh method of interface IMesher to pass prim physical status to mesher
2008-07-12 01:02:41 +00:00
Melanie Thielker
746c6fb1a2
Patch #9141 (Mantis #1655 )
...
Untangles llDie handling in XEngine, which resulted in a thread being
aborted while executing inside of Scene.
2008-07-12 00:06:45 +00:00
Dahlia Trimble
b42770bf7a
Trim out nulls from mesh vertex and triangle lists to try and save more memory
2008-07-11 20:32:58 +00:00
Justin Clarke Casey
da68f18a6b
* Guard against a null point passed to RemoveClientCircuit (odd that this happens at all)
...
* Patch from Kurt Taylor (IBM) in http://opensimulator.org/mantis/view.php?id=1720
* Thanks Kurt!
2008-07-11 17:58:26 +00:00
Melanie Thielker
53461fad2c
Patch #9140 (Mantis #1683 )
...
Add LifetimeService overrides to all MarshalByRef derived classes
to prevent the remoting interfaces from expiring.
2008-07-11 17:52:39 +00:00
Dahlia Trimble
3646cc32c4
Experimental physics optimization: prims with all 3 dimensions less than 0.2 meters will be meshed as a simple box
2008-07-11 17:22:37 +00:00
Justin Clarke Casey
297ca095df
* Oops, turn off permissions debugging I stupidly hardcoded
2008-07-11 17:16:03 +00:00
Justin Clarke Casey
f7d9b0bab7
* Move thread tracking code to base opensim server so that it's available for all servers (UGAIM as well as Region)
...
* This will work as long as those servers are actually registering any threads they use (does not include stuff plucked from the thread pool)
* command is now "show threads" rather than threads
2008-07-11 16:24:52 +00:00
Justin Clarke Casey
8535cb52e0
* Put an info entry in the log if permissions are being bypassed
...
* might help to diagnose mantis 1712
2008-07-11 16:03:12 +00:00
Charles Krinke
1472cee72f
Mantis#1005. Thank you kindly, Mircea for a two patches that:
...
Addresses both locale issues and setting the waterHeight correctly.
2008-07-11 15:40:56 +00:00
Justin Clarke Casey
aad55e5034
* Comment out body of experimental ParcelMediaSetTime() since MW says it causes a mono 1.2.4 compile to fail
...
and MW says it will soon be replaced anyway.
2008-07-11 14:51:02 +00:00
Dr Scofield
eec67d7402
trying to fix mantis #1711 .
2008-07-11 14:33:47 +00:00
Jeff Ames
3b9cf65234
Update svn properties.
2008-07-11 09:18:17 +00:00
Johan Berntsson
130d8047a2
Thanks Mike for another LSL compiler patch which fixes a bug where 'vector v=<0, 0, -0.5>' caused a syntax error, and implements multiple assignments in one line (x = y = 3;)
2008-07-11 08:33:53 +00:00
Charles Krinke
cda5269391
Mantis#1682. Revert temporarily, Sempuki's mono addins patch
...
while he studies the issues in Windows a little bit.
2008-07-11 02:04:02 +00:00