Justin Clarke Casey
fc36d7fdf2
* Set default client throttle multiplier to 2 (old value was effectively 8). See OpenSim.ini.example for details as to what this means
...
* Really this should be 1, but I think that this would be too slow compared to a Second Life server until we improve our ability to send textures of variable quality
* This may improve one aspect of sim performance where there are many avatars. However, there are still other performance problems that are unrelated to this change
* Value may be further tuned
* Removed temporary decals since the multipler setting will stick around now
2008-11-05 19:23:59 +00:00
MW
204ef95843
Moved a couple of more configuration fields to ConfigSettings
2008-11-05 18:00:45 +00:00
MW
079469b3f5
more startup/initialisation refactoring
2008-11-05 17:45:56 +00:00
MW
2a249373d3
Moved most of the configuration fields from Opensimbase to their own Class... Framework/ConfigSettings.
2008-11-05 17:18:16 +00:00
Justin Clarke Casey
8f3c5dbe5c
* Apply second patch in http://opensimulator.org/mantis/view.php?id=2561
...
* Inserts proper animation state names into data/avataranimations.xml file so that llGetAnimation() works as one would expect.
* Thanks StrawberryFride!
2008-11-05 15:26:10 +00:00
Jeff Ames
638fe7a7b5
Update svn properties, minor formatting cleanup.
2008-11-05 15:15:41 +00:00
Justin Clarke Casey
b84417a220
* Apply http://opensimulator.org/mantis/view.php?id=2561
...
* This is a partial implementation of llGetAnimation that returns the name of the animation as stored in data/avataranimations.xml but not its state name (since we don't yet
have these).
* Thanks StrawberryFride
2008-11-05 14:02:36 +00:00
Dahlia Trimble
5fffc04ae6
Add more vertex normals and UV coordinates. Sync with primmesher.dll forge project.
2008-11-05 10:22:41 +00:00
Justin Clarke Casey
8851db0a0a
* Stop an exception in the Content Management module main loop from crashing the whole sim
2008-11-04 21:30:57 +00:00
Justin Clarke Casey
09dabb2aec
* Prevent texture sender thread termination from immediately crashing the sim
2008-11-04 21:26:40 +00:00
Justin Clarke Casey
9848dc77cc
* Stop an exception in getting assets for the archiver from crashing the sim
2008-11-04 21:19:00 +00:00
Sean Dague
ea27b95f8e
From: Rob Smart <SMARTROB@uk.ibm.com>
...
This patch allows an object to directly message another object given its
key using the method osMessageObject(key objectUUID,string message).
to communicate with an object it must implement the dataserver listener
method. The dataserver method is passed the key of the calling object
and a string message.
2008-11-04 20:48:35 +00:00
Justin Clarke Casey
c4fbb6453c
* Stop a non WebException in an XMLRPC request from bringing down the whole sim
2008-11-04 20:47:59 +00:00
Justin Clarke Casey
03c402842a
* Stop a problem in the DotNetEngine event queue thread from immediately bringing down the whole sim, though the sim will need a reboot
2008-11-04 20:43:11 +00:00
Justin Clarke Casey
97d320d7d1
* Practise some defensive programming - gracefully terminate the thread if there is a problm in the world map module rather than bringing down the whole server.
2008-11-04 20:23:18 +00:00
Justin Clarke Casey
21c0df53a2
* Improve the previous fix by pushing the exception catching down into OGS1 grid services
2008-11-04 20:14:57 +00:00
Justin Clarke Casey
f793f93817
* Temporary fix to stop a problem in getting neighbour info in the world map module from crashing the entire server
2008-11-04 19:56:02 +00:00
Justin Clarke Casey
78bfe7a3e3
* minor: doc and log message tweaking for wearables
2008-11-04 19:51:35 +00:00
Justin Clarke Casey
67315ef106
* Stop sending wearables back to the client on set appearance
...
* Now I've had time to analyze this, the Second Life grid doesn't appear to send this to the client (which in principle should know what wearables it has already)
2008-11-04 18:33:54 +00:00
Justin Clarke Casey
5330838b15
* minor: appearance related doc and log message tweaking
2008-11-04 18:29:37 +00:00
MW
1c2a0c78d9
Added a (xmlIgnored) SitAnimation property to SceneObjectPart. That allows the setting of the name of the animation to be used when a avatar sits on that object. At some point in the future this should be persisted.
...
So basically simplifies what a lsl script that detects a avatar sitting on a prim, then stopping the sit animation and playing a custom animation, does.
Also added another ScenePresence.HandleAgentRequestSit() method , that accepts the name of the sit animation. So that modules can override the animation used, when they are doing a server controlled sit.
Started some work on making the stand pose be played as soon as a user logs into a region. Rather than them starting with their arms stretched. This still needs more work
2008-11-04 16:39:28 +00:00
Dr Scofield
f57d1307ab
fix: ArchiveReadRequest.URIFetch stumbles over absent content length field
...
fix: region parameter in IRCBridgeModule XmlRpc was check for presence but not actually used...
2008-11-04 16:17:27 +00:00
Mike Mazur
6e14d1005a
Prefix LSL variables which are C# keywords with @ instead of _ when translating from LSL to C#. Thanks idb for the patch. Fix issue 2546.
2008-11-04 01:30:39 +00:00
Jeff Ames
a66081f562
Update svn properties, minor formatting cleanup.
2008-11-04 00:54:16 +00:00
Homer Horwitz
39691e61a2
Small fix for a possible NRE in standalone mode, killing the
...
client-thread. Will hopefully fix Mantis#2536.
2008-11-03 22:02:52 +00:00
Justin Clarke Casey
4ff0c39153
* Expose a client_throttle_multiplier setting in OpenSim.ini. This multiplier is applied to all the client throttle settings received by the client
...
* This should probably be 1, but currently by default it is 8, to reflect what was being eon3 in OpenSim before this revision. So if the client requested a maximum throttle
of 1500 kilobits per second, we would actually send out 1500 kilobytes per second
* Adjusting this multiplier down towards 1 may improve your OpenSim experience, though in other situations it may degrade (e.g. if you're using a standalone over high bandwidth
links)
* This is currently a user setting because adjusting it down may currently reveal other OpenSim bugs.
2008-11-03 21:09:30 +00:00
Justin Clarke Casey
c789a9d02a
* mionr: correct CONTRIBUTORS file for Plugh
2008-11-03 20:16:47 +00:00
Justin Clarke Casey
1e56bda487
* minor: fussy little change to put colons in some log output
2008-11-03 20:10:54 +00:00
Homer Horwitz
580b11779a
On TP, child-agents weren't closed down properly, as the list of child-regions
...
was cleared before using it to find the children.
2008-11-03 19:56:47 +00:00
Homer Horwitz
a64d6eccd0
Add a bit more error-checking to GetFriendRegionInfos.
2008-11-03 19:13:42 +00:00
Justin Clarke Casey
8dbd0118a8
* Pull client throttle multipler setting out of config source. Not an adjustable setting yet (and then only for debug purposes)
2008-11-03 19:02:44 +00:00
Justin Clarke Casey
6ea24799dd
* minor: don't need to null check config source in clientstack settings since this is always non null
2008-11-03 18:49:25 +00:00
Justin Clarke Casey
a88e850ccf
* minor: eliminate unused config field
2008-11-03 18:36:04 +00:00
Justin Clarke Casey
8c71954e08
* Use nini to pass config information to the client stack, rather than the ClientStackUserSettings class
...
* This conforms better to other module usage
2008-11-03 18:33:35 +00:00
Dr Scofield
add42f5e9b
completing move to refactored multi-channel capable IRCBridgeModule
2008-11-03 17:17:57 +00:00
Dr Scofield
69ae33db1a
dropping old IRCBridgeModule.
2008-11-03 17:11:28 +00:00
Justin Clarke Casey
57caef119c
* Use the UUID regex sitting in utils for detection of uuids embedded in scripts
...
* Replaces the one in the module itself, which had a dumb bug in it anyway
2008-11-03 16:57:03 +00:00
Dr Scofield
d6d2a38e76
merging changes from IRCBridgeModule in to XIRCBridgeModule; swapping
...
OpenSim.ini config tags in preparation for merge of IRCBridgeModule
and XIRCBridgeModule.
2008-11-03 16:20:13 +00:00
Dahlia Trimble
d0c8d7a177
Thanks diva for a patch that removes an unnecessary dependency on CommunicationsOGS1 from OGS1UserServices
2008-11-03 05:40:43 +00:00
Charles Krinke
07ba2f4363
Mantis #2530 . Thank you kindly, Idb for a patch that:
...
The attached patch changes the casts from explicit to implicit.
2008-11-03 01:57:10 +00:00
Homer Horwitz
499f1428f7
- Add Util.isUUID
...
- Add tests for Util.isUUID
- First part of the fix for protocol interoperability between viewer 1.20 and 1.21 for friend offers.
2008-11-02 13:07:57 +00:00
Melanie Thielker
6d4f8b38aa
Cause inventory to be fetched on scripted item gives if the destination
...
avatar is remote or offline.
2008-11-02 08:53:03 +00:00
Jeff Ames
88d6557071
Update svn properties, formatting cleanup.
2008-11-02 01:29:56 +00:00
Melanie Thielker
44852158f2
Mantis #2518
...
Thank you, idb, for a patch that fixes the conflicts of lsl identifiers
with c# keywords
2008-11-01 23:50:19 +00:00
Justin Clarke Casey
87b8f327aa
* Apply http://opensimulator.org/mantis/view.php?id=2440
...
* The attached patch changes the LSLInteger operator overrides for == and != to return LSLIntegers 1 or 0 instead of a bool and adds similar operator overrides for >, <, >= and
<=
* Thanks idb!
2008-11-01 23:15:16 +00:00
Adam Frisby
4c24b1bc9b
* Massive cleanup of LLClientView, removed a few hundred unnecessary value initialisers, etc.
2008-11-01 22:34:04 +00:00
Adam Frisby
84136c70d8
* Minor cleanup
...
* Added additional error message when a Object/SOG DB save fails so we can trace why.
2008-11-01 22:20:54 +00:00
Justin Clarke Casey
e3864de621
* Apply http://opensimulator.org/mantis/view.php?id=2521
...
* Fix not tests in LSL which require implicit casting (see mantis for an example)
2008-11-01 22:18:26 +00:00
Homer Horwitz
38e8853e57
Megapatch that fixes/adds: friend offer/deny/accept, friendship termination,
...
on-/offline updates, calling cards for friends.
This adds methods in the DB layer and changes the MessagingServer, so a full
update (incl. UGAIM) is necessary to get it working. Older regions shouldn't
break, nor should older UGAIM break newer regions, but friends/presence will
only work with all concerned parts (UGAIM, source region and destination
region) at this revision (or later).
I added the DB code for MSSQL, too, but couldn't test that.
BEWARE: May contain bugs.
2008-11-01 22:09:48 +00:00
Justin Clarke Casey
e3a1ccf0b2
* minor: Remove mono compiler warning
2008-11-01 22:07:55 +00:00
Justin Clarke Casey
9366a234cf
* refactor: Convert most non SOP methods to use SOG.IsAttachment rather than SOP.IsAttachment
2008-11-01 22:04:35 +00:00
Justin Clarke Casey
7c04d27875
* Introduce an IsAttachment property on the group level (which just returns false if the group is already deleted)
...
* This is to avoid repetitive null checks - I'm beginning to think that blasting away the root part on object deletion is actually a bad move. Perhaps we should leave it around
and let the client ignore any superfluous packets (which it may well do anyway), since we're constantly exposing a race condition
2008-11-01 21:50:07 +00:00
Justin Clarke Casey
b03e34dd2d
* Fix http://opensimulator.org/mantis/view.php?id=2517
...
* Don't save attachments on saving oar, which stops them coming back as ghost prims
2008-11-01 21:28:52 +00:00
Melanie Thielker
388c053dcb
Make the IM and friends modules optional. Clean up some code that dealt
...
with the old Grid Instant Message over OGS1. Refactor the EventManager
to be independent of the rigid module structure design imposed by
the current implementation. Message routing is now done in the destination
module rather than in the event manager. This way, more or less granular
solutions are possible without core changes.
2008-11-01 18:18:19 +00:00
Charles Krinke
9299be0080
Revert last checkin. Avatars fall through non-physical prims now.
...
There is more to the solution then just enabling soft_erp and
soft_cfm for all d.Contact cases.
2008-11-01 17:58:34 +00:00
Charles Krinke
1e376deedd
Added soft_cfm and soft_erp to the general "contact" initialization
...
for physical prim interactions. They were not previously enabled
for prim-prim interactions.
2008-11-01 17:30:06 +00:00
Melanie Thielker
865b5bb317
Make the inventory transfer module replacable in config.
2008-11-01 17:05:28 +00:00
Melanie Thielker
0bff4215fe
Correct the handling of the creator field on inventory gives
2008-11-01 16:49:52 +00:00
Jeff Ames
337da2a7a3
Update svn properties, minor formatting cleanup.
2008-11-01 07:21:40 +00:00
Justin Clarke Casey
465a931c05
* In the client stack, if the BeginReceive() throws an exception then do print this out to the log once
...
* This may help us detect if mysterious UDP disconnects are happening because of this.
* Shouldn't be any functional change but I would appreciate a buddy check from Teravus if he has time (as for all client stack changes)
2008-10-31 19:41:07 +00:00
Justin Clarke Casey
4df3a19be6
* Reinstate sending wearables back to the client in response to set appearance
...
* Since the client sets the appearance in the first place (in response to receiving wearables information originally) this seems a little redundant
* But I've realized I didn't actually test this assumption, so I'm going to reinstate it for now
2008-10-31 18:58:30 +00:00
Justin Clarke Casey
269303d97d
* test: Add basic scene test which merely instantiates the scene right now
...
* set debug scene name on scene registration, rather than within the Scene constructor
2008-10-31 18:39:51 +00:00
Justin Clarke Casey
5feaff8524
test: Extend malformed packet test to actually check that a valid packet can get through after the malformed ones have been sent
2008-10-30 22:32:23 +00:00
Justin Clarke Casey
419775c72b
* test: Test that the client stack doesn't completely blow up if a client passes it malformed data
2008-10-30 20:17:30 +00:00
Justin Clarke Casey
2fb8089d8c
* Slightly tweak to teardown test, try a circuit which never existed in the first place
2008-10-30 19:46:52 +00:00
Justin Clarke Casey
22ec3e7952
* minor: spacing adjustment before next commit
2008-10-30 19:43:58 +00:00
Justin Clarke Casey
bc1b69b2fd
* test: fill out circuit teardown test
2008-10-30 19:42:25 +00:00
Justin Clarke Casey
80e87747f3
* test: Refactor test infrastructure for future client teardown test
2008-10-30 19:26:38 +00:00
Dr Scofield
b222d11b12
From: Alan Webb (alan_webb@us.ibm.com)
...
XIRCBrigeModule is transient, will merge it with IRCBridgeModule:
extends/refactors IRCBridgeModule to support channel-per-region (if
desired).
2008-10-30 15:31:44 +00:00
Dr Scofield
537cd4708f
From: Chris Yeoh (yeohc@au1.ibm.com)
...
Here's the patch that clamps llGround to using sane values avoiding
runtime errors.
2008-10-30 15:09:43 +00:00
Charles Krinke
87e7ff5932
Thank you kindly, NLin for an implementation patch
...
for llSetHoverHeight() and llStopHover(). I believe
this gets is to less then 50 LSL functions left to
implement.
2008-10-30 14:06:00 +00:00
Justin Clarke Casey
742514b0d7
* Apply http://opensimulator.org/mantis/view.php?id=2492
...
* object_rez event should now be sent to all scripts in the prim
* Thanks idb!
2008-10-29 20:58:11 +00:00
Justin Clarke Casey
7fdd6b74e3
* Apply patch in http://opensimulator.org/mantis/view.php?id=2494
...
* Introduces missing casts for float, integer, vector, quaterion and string to list
* Thanks idb
2008-10-29 20:09:02 +00:00
Justin Clarke Casey
8367353ea3
minor: indentation corrections
2008-10-29 20:05:16 +00:00
Justin Clarke Casey
f8c2efbe70
* Instead of putting 0.5.11.00000 if there is no revision, just put 0.5.11 instead
...
* This is to make things less confusing to users (and maybe a little easier to do future version filtering for grid connections)
* If there's disagreement about this, then please say so (preferably in the opensim-dev mailing list)
2008-10-29 19:57:30 +00:00
Justin Clarke Casey
b21734d4d9
* Stop the DataSnapShot module trying to call home on shutdown even if it isn't enabled.
...
* Please let's check such patches carefully - we don't want info leaking out unless the user has requested it
2008-10-29 18:53:24 +00:00
Justin Clarke Casey
8a3157aa6a
* Check in (disabled) results of not persisting avatar textures but rather sending ImageNotFound to clients if avatar textures are missing
...
* Whilst this does automatically get the client to rebake, on crossing a region border the 'local' assets are left behind
* There may be a cunning solution (such as squirting the assets on region crossing, or having them fetched from the original region) but
instead I'm going to opt for the easy solution of keeping them in the asset database, for now
2008-10-29 18:38:10 +00:00
Dahlia Trimble
5cf6a7f118
Viewer side normals and UV fixes on profile cuts. Sync with primmesher.dll forge project.
2008-10-29 09:47:45 +00:00
Jeff Ames
395a0f7977
Minor formatting cleanup.
2008-10-29 03:22:54 +00:00
Melanie Thielker
f9eb3712ed
Remove a debug output
2008-10-29 00:32:41 +00:00
Melanie Thielker
766269a59b
Plumbing along....
2008-10-29 00:15:39 +00:00
Melanie Thielker
0c6db79a8e
Mantis #2489
...
Thank you, Diva, for a patch that helps keep the list of sims to index clean
by allowing sims to deregister.
2008-10-29 00:10:59 +00:00
Justin Clarke Casey
7beeaf51f8
* minor: remove mono compiler warnings
2008-10-28 21:47:43 +00:00
Justin Clarke Casey
1ff9709ea3
* Possibly fix grey avatar appearance problems
...
* And hopefully rebaking all the time should no longer be necessary now
* It turns out that when the client baked the texture, the uploaded asset had the Temporary flag to true (Temporary is actually deprecated).
* It also had the StoreLocal flag set to true, which signifies that the asset should be stored locally. If it disappears we should reply to the asset request with
ImageNotInDatabasePacket
* However, last time this was enabled some clients started crashing. This may well no longer be the case and needs to be tested, but in the mean time we will store
the asset instead.
* This needs to be resolved in a better way, possibly by starting to send the ImageNotInDatabase packet again instead
2008-10-28 21:31:23 +00:00
Justin Clarke Casey
247b806134
* minor: Add documentation to some of the appearance methods, change some logging messages
2008-10-28 17:35:36 +00:00
Justin Clarke Casey
f34079cc8c
* Eliminate an extra unnecessary appearance fetch on login
...
* This shouldn't fix the existing appearance bugs, but neither should it make them worse.
2008-10-28 16:04:25 +00:00
Justin Clarke Casey
baa29fcbff
* minor: Doc and log message tidy up
...
* reinstate debug level log message indicating when a child agent is made a root for future debugging purposes
2008-10-28 15:46:30 +00:00
Charles Krinke
d8a6971a35
Thank you kindly, Mircea Kitsune for a patch that solves:
...
When the avatar stops flying in mid air, it stays still
while it falls to the ground. Normally, the avatar would
use the falling animation (when it spins its arms and legs
while falling) until it reaches the ground.
2008-10-28 14:57:31 +00:00
Dr Scofield
1a06045c98
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The attached patch fixes the bug where when linking in a new set of
prims to an already linked set of objects the prims were placed at the
end of the list rather than just after the root prim. ie. link prim
order result was different on OpenSim compared to an LL server. This
causes a few issues with respect to compatibility of scripts,
especially when using llCreateLink.
2008-10-28 11:26:23 +00:00
Melanie Thielker
8ea4553d39
Mantis #2486
...
Thank you, nlin, for a patch that fixes serialization of vector and
quaternion types for script state.
2008-10-28 10:14:44 +00:00
Dahlia Trimble
ae5d92a167
some sorely needed extruder code simplification and refactoring, also some fixes to cut face UV coordinates
2008-10-28 08:57:15 +00:00
Jeff Ames
1342e89a8f
Update Sun options in OpenSim.ini.example. Minor cleanup in SunModule.cs.
2008-10-28 02:34:03 +00:00
Melanie Thielker
9a36afec6e
Experimental patch (suggested by diva) to kill off WP teleport ghosts.
2008-10-27 23:46:34 +00:00
Justin Clarke Casey
4b929804dc
* cleanup: Update the avatar factory (appearance module) in Region/Environment and use that instead of the Region/Modules/AvatarFactory
...
* Remove the AvatarFactory dll
2008-10-27 20:48:18 +00:00
Justin Clarke Casey
754f6ba2a2
* minor: remove mono compiler warnings
2008-10-27 20:16:42 +00:00
Justin Clarke Casey
6ec9c2d706
* Apply http://opensimulator.org/mantis/view.php?id=2468
...
* This time there are accompanying changes to the unit test to adapt it to the changes
* Thanks tglion
2008-10-27 17:06:47 +00:00
Justin Clarke Casey
0d69e06779
* Temporarily revert terrain changes in r6976 and reinstate unit test from r6977.
...
* If a change is going to affect a unit test, then please could we change the unit test at the same time? Otherwise this will never get done
* It also seems a bad idea to disable tests which start failing unless there's a very good reason
2008-10-27 14:27:45 +00:00
Jeff Ames
b2d6b0a3d4
Update svn properties, minor formatting cleanup.
2008-10-27 01:43:59 +00:00
Charles Krinke
a59ca765fe
Thank you kindly, Idb for a patch that solves:
...
LSL - Bitwise operators OR and XOR do not work
on integer variables
2008-10-27 00:59:26 +00:00
Charles Krinke
8a6042f063
Thank you kindly, Idb for a patch that solves:
...
llGetRot and llGetRootRotation return the wrong
values when the object is attached
2008-10-27 00:51:50 +00:00
Melanie Thielker
cc48110a03
Mantis #2428
...
Thank you, miceakitsune, for a patch that makes terraforming tools usable again
2008-10-26 23:09:00 +00:00
Melanie Thielker
f7e44250bf
Committing a small fix for EventData along with more plumbing work
2008-10-26 19:32:41 +00:00
Charles Krinke
ba79c26d2d
Thank you kindly, Idb for a patch that solves:
...
The following should silently fail when attached,
llBreakAllLinks, llBreakLink, llCreateLink.
The following should be restricted to avatars in the same sim,
llGetAgentInfo, llSameGroup, llGetAgentSize, llGetAnimationList.
Comment added to the following unimplemented functions,
llGetAgentLanguage, llGetAnimation.
2008-10-26 18:26:56 +00:00
Charles Krinke
b552e8ebe3
Thank you kindly, Idb for a patch that solves:
...
llGetBoundingBox is completely unimplemented. The attached
patch contains a partial implementation for single prim
objects and standing, flying and ground sitting avatars.
In the case of an avatar sat on an object or multi-prim
objects only the bounding box of the root prim is returned.
llRezObject and llRezAtRoot ignored any velocity parameter.
The attached patch makes use of it if it is not a zero vector.
2008-10-26 17:09:26 +00:00
Charles Krinke
2462108bfb
Thank you kindly, Ewe Loon for a patch that solves:
...
m_ScriptDelayFactor and m_ScriptDistanceFactor are
being read from XEngine settings not the settings
for the scriptengine being used
2008-10-26 17:01:15 +00:00
Melanie Thielker
c25f3ced04
Disable terrain brush test until someone with terrain-fu can look
...
at it and determine the new test parameters needed for the terrain
brush with strength support
2008-10-25 14:47:09 +00:00
Charles Krinke
4e14aa44c7
Thank you kindly, Tglion for a patch that:
...
Support of strength-slider in latest sl-client (1.21.6)
Added a patch, which includes the support of strength-slider
in latest sl-client (1.21.6) for Raise- and LowerSphere.
2008-10-25 14:07:35 +00:00
Melanie Thielker
c49e1b8fb6
A few more bots to yesterday's plumbing: change instant message method
...
signature
2008-10-25 13:53:17 +00:00
Melanie Thielker
dc1214e46f
Make ScenePresence.Close public to allow subclassing of SceneComms
2008-10-25 13:44:26 +00:00
Melanie Thielker
26643c4a9d
More plumbing and some wires
2008-10-25 01:42:43 +00:00
Melanie Thielker
f85be9b39a
Fix a leak in the plumbing
2008-10-24 23:55:28 +00:00
Dahlia Trimble
3447bed8be
Add end faces when radius setting is non-zero
2008-10-24 23:37:09 +00:00
Melanie Thielker
64f9f03e9a
Plumb some more
2008-10-24 23:04:55 +00:00
Justin Clarke Casey
c519b80680
* minor: eliminate some mono compiler warnings
2008-10-24 21:40:05 +00:00
Justin Clarke Casey
7b224677c1
* Stop passing in unnecessary pameters to CreateNewCircuit
2008-10-24 21:34:18 +00:00
Justin Clarke Casey
3340a579e7
* Stop creating a circuit if the client fails authentication (i.e. the region server wasn't told that it was coming)
...
* This moves authentication from the client thread (where failure was difficult to detect) to the particular thread handling that packet
* I've kept the authentication outside of the crucial clientCircuits lock (though any delay here is probably swamped by the other delays associated with login)
* Also added more to the unit test to ensure this doesn't regress
2008-10-24 21:22:54 +00:00
Dahlia Trimble
71660003de
un-double-flipped some double-flipped normals in circular path prim end caps
2008-10-24 20:04:34 +00:00
Justin Clarke Casey
91c2e53277
* Change AddClient test such that we now successfully authenticate
...
* The fact that the assert passed even when authentication failed reveals a bug in the code that will be corrected soonish
2008-10-24 19:40:45 +00:00
Justin Clarke Casey
9fa7264c73
* minor: refactor out AddUser test setup to common method
2008-10-24 19:10:25 +00:00
Melanie Thielker
a9b1119e49
Remove a debug output dump
2008-10-24 15:04:35 +00:00
Melanie Thielker
6775b7d02d
Lotsa plumming :)
2008-10-24 14:53:13 +00:00
Dahlia Trimble
a11fa9055a
Fixed a floating point error accumulation that was causing missing end faces on some twisted prims
2008-10-24 05:31:43 +00:00
Justin Clarke Casey
369aa8f46b
* minor: Remove unused public PacketServer variable.
...
* If this was important to you please reinsert and we can put it in a recognized interface.
2008-10-23 20:10:19 +00:00
Justin Clarke Casey
5c2d400235
* Apply http://opensimulator.org/mantis/view.php?id=2459
...
* Implements the rest of llGetAgentInfo() with the exception of AGENT_BUSY.
* Thanks nlin
2008-10-23 20:06:23 +00:00
Justin Clarke Casey
c379c66c7c
* Reenable assert for the add circuit test
...
* This checks that a client circuit is established when the udp server is given a use client circuit code packet
* And checks that other circuit codes do not exist
2008-10-23 19:51:10 +00:00
Justin Clarke Casey
6101202403
* Revert to executing existing setup if an added circuit did not already exist
...
* Not sure why things still worked in the presence of this bug - possibly the problem is compensated for later on. If you are having udp session problems this bug fix may help
(though no guarantees).
2008-10-23 19:25:40 +00:00
Justin Clarke Casey
d30a596989
* Add missing file from last commit. Yay for continuous integration!
2008-10-23 19:16:33 +00:00
Justin Clarke Casey
f4ad99f89d
* Introduce a basic udp circuit test for adding a client
...
* Temporarily disabled assert because it just picked up an existing bug. Yay for tests!
2008-10-23 19:08:54 +00:00
Justin Clarke Casey
ee3c428040
* Refactor LLUDPServer slightly so that unit tests can pass in data synchronously. Shouldn't be any functional change
2008-10-23 17:16:13 +00:00
Dr Scofield
4dcafab286
removing unused method from ConciergeModule. adding attendee list
...
logic to ConciergeModule. adding XmlRpc method to allow update of
welcome template for a region. documenting [Concierge] "password"
option in OpenSim.ini.example.
2008-10-23 10:21:03 +00:00
Dr Scofield
dbd8e1edb5
cleaning up commented lines in IRCConnector; changing access_password
...
logic to use a regexp.
2008-10-23 09:58:12 +00:00
Charles Krinke
f919b86156
Thank you kindly, Idb for a patch that:
...
Added AGENT_ATTACHMENTS and AGENT_SCRIPTED to llGetAgentInfo
Added to llGetAgentSize to include shoes in avatar height calculation.
2008-10-22 23:07:45 +00:00
Charles Krinke
809a1d3367
Thank you kindly, Nlin for a patch that:
...
Attached patch adds detection of AGENT_WALKING
status to LSL function llGetAgentInfo()
2008-10-22 14:09:58 +00:00
Charles Krinke
3c99f027b5
Thank you both Nlin and M.Igarashi for a patch that:
...
Attached patch protects against a NullReferenceException
in SceneObjectGroup.stopMoveToTarget (used by LSL function
llStopMoveToTarget). Thanks to M. Igarashi.
2008-10-22 14:06:07 +00:00
Melanie Thielker
659ad99993
And fix it
2008-10-22 03:50:45 +00:00
Melanie Thielker
a8523dddb6
Prevent an object with a null RootPart in delete queue from stopping
...
the deleting of other, valid objects
2008-10-22 03:49:38 +00:00
Melanie Thielker
f9b3ef32c6
Remove the gratuitious prim deletes caused by linking. This makes linking
...
a bit faster.
2008-10-22 03:32:45 +00:00
Teravus Ovares
dfc12d591c
* Add a config option for filtering collisions. Sometimes, under load, this seems to cause bouncing on really thin flat prim.
2008-10-22 01:52:12 +00:00
Melanie Thielker
f44742f75f
Pare the groups module down to basics. Adjust dependent files so that a
...
real groups module can even be implemented.
2008-10-21 22:54:31 +00:00
Dr Scofield
2a506f0cb2
adding "welcome" support to Concierge: allows to specify via
...
welcomes = /path/to/welcome/files/directory
a directory in which you can place welcome templates for concierged
regions (those regions that match the "regions" regexp). you can use
format substitution:
0: will be replaced by avatar name of the avatar entering the region
1: will be replaced by region name
2: will be replaced the name of the concierge
2008-10-21 17:55:25 +00:00
Dr Scofield
d0cc193456
cleanup.
2008-10-21 17:45:18 +00:00
Jeff Ames
0d4e391f75
Update svn properties, minor formatting cleanup.
2008-10-21 14:08:30 +00:00
Dr Scofield
4218744a26
fixing real cause of #2445 & #2449 : Position was <0, 0, 0> for
...
OSChatMessage coming from client.
2008-10-21 13:34:43 +00:00
Dr Scofield
fd108872d8
fixes #2445 & #2449 . interim fix that will make listeners work
...
again. need to investigate why chat position is catastrophically off.
2008-10-21 08:51:27 +00:00
Dahlia Trimble
931b04485d
More work in vertex normals and texture UVs. Syncing code with pyov.
2008-10-21 01:35:05 +00:00
Melanie Thielker
81e220af8d
Mantis #2439
...
MemberwiseClone() also clones the "already backed up" flag, preventing prims
created by drag-copying from being persisted. If such a prim is made the root
prims of a link set, the entire set will not be persisted. Fixed now.
2008-10-20 22:14:24 +00:00
Dr Scofield
72a388a7b6
cleaning up IRCBridgeModule to allow for configuration from in-world,
...
chat relaying via private channels, and old IRCBridgeModule
behaviour. also cleaning up IRCBridgeModule's OpenSim.ini
configuration variable names (still supporting "old" variable
names). refactored IRCChatModule into IRCConnector and incorporating
watchdog from IRCBridgeModule into IRCConnector.
enabling ChatModule to be used as a super-class and utilizing it in
ConciergeModule.
2008-10-20 17:31:54 +00:00
Melanie Thielker
caf10245af
Mantis #2438
...
Fix llSetVehicleFloatParam to accept LSL_Float
2008-10-20 07:47:20 +00:00
Charles Krinke
e9134a050a
Thank you kindly, Idb for a patch that solves:
...
lsl conformity, llPushObject incorrectly
restricts the pushing of objects based
on region and parcel flags
2008-10-20 01:42:02 +00:00
Charles Krinke
a5d945e199
Thank you kindly, Idb for a patch that solves:
...
llWind always returns a zero vector. In the attached
patch the WindModule has been changed slightly to
make wind data available for llWind
2008-10-19 21:11:13 +00:00
Justin Clarke Casey
923f9fb749
* minor: remove mono warnings
2008-10-19 18:45:41 +00:00
Justin Clarke Casey
3b381523eb
* refactor: move loadInv and saveInv command line param functions up to the interactive OpenSim class
...
* direct module import is temporary
2008-10-19 18:26:44 +00:00
Justin Clarke Casey
6e98233b2e
* Restore loaded inventory items to the given folder
...
* Among many other deficiencies, currently a cache clear and relog is needed to see them, which is highly unsatisfactory
* No user funcionality yet
2008-10-19 18:19:18 +00:00
Justin Clarke Casey
f7205da1d9
* move command line parsing code from inventory archive modules to opensim server
...
* use default inventory archive name if none is given
* other minor cleanups
* this facility is not useable yet
2008-10-19 17:51:42 +00:00
Teravus Ovares
ed8a20dd60
* Fixed UDP server (again)
...
* Guys, there's an endless loop there *ON PURPOSE*. Please don't try to *fix* it. We must continue to process the UDP stream buffer on clients that disconnected nastily until it ends or the UDP server accept thread will die a horrible death.
2008-10-19 17:02:39 +00:00
Homer Horwitz
1ee10d919a
Added calling cards. Fixes Mantis#2409 and part of #1515 .
2008-10-19 16:49:10 +00:00
Dahlia Trimble
b6396bc9a7
More progress towards implementing vertex normals - not complete yet.
2008-10-19 09:04:25 +00:00
Teravus Ovares
6362760d30
* Null check before UseCircuitCode Check or the server crashes on packet loss!
2008-10-19 01:06:50 +00:00
Teravus Ovares
692f4259fb
* Add root agent list/check for mapitem requests.
2008-10-19 00:29:37 +00:00
Melanie Thielker
16d8c40a93
A small attempt to make persisting prims more reliable
2008-10-19 00:06:33 +00:00
Teravus Ovares
11fd935038
* Changed the dupe collision depth limiter to be slightly more restrictive. (less chance for a dupe)
2008-10-18 16:20:02 +00:00
Melanie Thielker
1bd33aa51a
Prevent a null root part from stopping objects from being persisted, also
...
remove any such objectsd from backup
2008-10-18 15:43:02 +00:00
Homer Horwitz
3a75a54da1
- Fix Util.UnixTimeSinceEpoch:
...
* Unix epoch starts at midnight, not at 8:00am
* All date/time handling should be done in UTC in the server, not in
the local timezone.
* Refactor out repeated computation of a constant value
- Added setting of CreationTime to some places where inventoryitems
are created
This fixes Mantis#2390.
2008-10-18 15:26:41 +00:00
Melanie Thielker
48890ea349
Guard against a null ref that can prevent objects from being persisted
2008-10-18 15:23:29 +00:00
Melanie Thielker
264eeffd02
Fix thingd so that autoreturn also works when the user is not in the sim.
...
Also add experimental distance ordering for prims
2008-10-18 07:27:39 +00:00
Melanie Thielker
efe3f3eb2a
Megapatch. :) Fix skull attachment editing. Streamline Object terse updates.
...
Add rezzing time to objects. Add Object return and traffic fields to land
database. Add plumbing for auto return. Implement auto return.
Contains a migration. May contain nuts.
2008-10-18 05:51:36 +00:00
Teravus Ovares
0916b38b83
* Fix an over compensation for bounciness on flat Primitive
...
* Implement the linear impulse portion of llPushObject. We should have a lsl compatible implementation of that portion of the push. Angular.. well. still have yet to implement a torque accumulator.
* llPushObject respects the region and parcel settings for Restrict Push, it also respects GodMode as is defined in the LSL spec.
2008-10-17 23:19:00 +00:00
Justin Clarke Casey
739f1591da
* Remove mono warnings
2008-10-17 20:45:07 +00:00
Justin Clarke Casey
400314e884
* Finally, don't worry about doing containment checks on other dictionaries if we are adding a client
...
* Regarding an earlier change, I think it would be possible to eliminate the creation of new IPEndPoints on every end receive if we did the client circuit lookup before starting
the next receive. However, this would be a performance trade off and hence not worth trying without performance testing
2008-10-17 20:38:00 +00:00
Justin Clarke Casey
4ccac88cf6
* Don't worry about trying to populate the other dictionaries if a client's circuitcode is already found in the first one
2008-10-17 20:30:50 +00:00
Justin Clarke Casey
90d69a0523
* close two potential race conditions where a new asynchronous UDP recieve could overwrite an existing endpoint that had not yet been used by the previous thread
...
* in practice these race conditions were probably pretty rare
2008-10-17 20:14:31 +00:00
Justin Clarke Casey
84492fee01
* Temporarily resume creation of IPEndPoint on every call
...
* This widened what I think is an existing race condition where asynchronous recieves could potentially stomp on each other's end points (though this must occur very rarely, if at
all, in reality)
2008-10-17 19:08:53 +00:00
Homer Horwitz
9e46d5e207
Fixed llDeleteSubList; the indices were swapped (Fixes Mantis#2399).
2008-10-17 19:01:01 +00:00
Justin Clarke Casey
7891f821e2
* Instead of creating a new IPEndPoint on every udp packet receive, reuse the existing one
...
* This requires copying details into a new endpoint when it needs to be stored in client/circuit code hashes
2008-10-17 17:57:18 +00:00
Justin Clarke Casey
e4b8912296
* reverse part of a change that accidentally crept in with the last revision
2008-10-17 17:08:14 +00:00
Justin Clarke Casey
138bcf6fff
* Apply a modified version of http://opensimulator.org/mantis/view.php?id=2290
...
* This allows multiple user profile providers to be specified in OpenSim.ini separated by commas
* If multiple providers are specified then a request for a user profile will query each in turn until the profile is either found or all have been queried
* Unfortunately I don't believe this order can currently be specified, which if true is something that will need to be fixed.
* Thanks to smeans for the original patch.
2008-10-17 16:44:05 +00:00
Teravus Ovares
a6df2011f7
* Adds a lot of stability and performance to the physics engine. The avatar bounces less and things are a bit less explosive.
...
* Additionally, you can probably get more physical prim now together.. though, I think this puts us back on par with where we were in the beginning of the year on number of physical objects. Experiment. Make videos. Send Feedback. Enjoy.
2008-10-17 05:09:23 +00:00
Teravus Ovares
c26d0ebc19
* Added missing dependencies that was causing build to fail in windows. Mono doesn't seem to care.
2008-10-17 01:59:43 +00:00
Homer Horwitz
ae9e38bf3f
Fixed (mono-)script handling for SL viewer 1.21:
...
- Added two missing caps (UpdateScriptAgent, UpdateScriptTask)
- Added one missing EventQueue event (ScriptRunningReply)
- Changed DNE and XEngine to use this new event
As we only use the mono engine anyway, the "Mono" checkbox is set by
default but doesn't have any function.
2008-10-16 21:46:03 +00:00
Melanie Thielker
4bbc28e445
Split the currency module into currency and a new Combat module, because
...
the combat function really doesn't belong into currency
2008-10-16 20:50:28 +00:00
Justin Clarke Casey
82b7374ed2
* minor: get rid of pointless ipeSender
2008-10-16 19:50:12 +00:00
Justin Clarke Casey
4df08aed30
* Apply http://opensimulator.org/mantis/view.php?id=2401
...
* Removes spacers that are also separators in llParseString2List
* Thanks idb
2008-10-16 17:14:02 +00:00
Justin Clarke Casey
6789234335
* Apply http://opensimulator.org/mantis/view.php?id=2405
...
* Implement llGetRegionFPS()
* Thanks idb
2008-10-16 13:17:31 +00:00
Teravus Ovares
68d85497ad
* Releases the inter-region thread synchronization between physics in ODE on the same instance.
...
* If you are hosting many regions on a single instance, you will probably notice a decrease in region startup time and maybe a slight increase in performance.
* Single regions won't notice anything different
2008-10-16 12:57:29 +00:00
Homer Horwitz
641de2f404
Check for terrain size=256x256 on "terrain load <file>". This fixes
...
(the rest of) Mantis#1813.
2008-10-15 21:20:07 +00:00
Homer Horwitz
d77ebb5761
Thanks, idb, for a patch that fixes Mantis#2400:
...
llSensor() range ignored with AGENT.
2008-10-15 20:49:28 +00:00
Justin Clarke Casey
98245e4bfa
* minor: Oh go on, one more warning. Oooh, you are naughty
2008-10-15 20:46:39 +00:00
Justin Clarke Casey
98fdf504d9
* Truncate outgoing media and music urls to 254 characters.
...
* Hopefully this will resolve http://opensimulator.org/mantis/view.php?id=2383
2008-10-15 20:24:44 +00:00
Justin Clarke Casey
b1248004f0
* minor: remove some warnings
2008-10-15 17:19:02 +00:00
Justin Clarke Casey
230835dbaa
* refactor: Remove OutPacket from the IClientAPI
...
* I believe this is reasonable since code outside the Linden client stack shouldn't be aware of the packet format being used
* I would love to have made the method protected, but the LoadBalancerPlugin is still calling it and resolving that would require more work
2008-10-15 17:06:47 +00:00
Justin Clarke Casey
87e85489f3
* refactor: move viewer effect packet into LLClientView
2008-10-15 16:52:48 +00:00
Justin Clarke Casey
eb07a40870
* minor: disable a couple of other lines of image not found, which are pointless anyway since we aren't currently sending the packet
2008-10-15 16:38:24 +00:00
Justin Clarke Casey
9324c3f110
* refactor: Move error logging from GetUserDetails up to callers, since there are some circumstances in which not finding a user is not an error
2008-10-15 16:35:27 +00:00
Justin Clarke Casey
9c4d868167
* minor: oops, small textual tweak
2008-10-15 15:50:37 +00:00
Justin Clarke Casey
d1068d738a
* minor: during opensim archive creation, tell the user that it may take some time
2008-10-15 15:50:05 +00:00
Justin Clarke Casey
2226626fec
* refactor: move code concerned with creating a subsequent image packet to LLClientView
2008-10-15 15:30:27 +00:00
Justin Clarke Casey
063ba29ff8
* refactor: rename SendImagePart to SendImageFirstPart since this is more descriptive of its actual function
2008-10-15 14:56:58 +00:00
Dahlia Trimble
227fd4eb11
Thanks to T. Sado and nlin for a patch that partially implements llGetAgentInfo (AGENT_FLYING, AGENT_ALWAYS_RUN, AGENT_AWAY, AGENT_MOUSELOOK, AGENT_TYPING).
2008-10-15 04:55:13 +00:00
Dahlia Trimble
901acddbdd
Thanks to M. Igarashi and nlin for a patch that implements llGetCameraRot().
2008-10-15 04:42:28 +00:00
Justin Clarke Casey
b70a285373
* Send an avatar update to other clients when an avatar rotates, as well as when it moves
...
* This should fix a long standing issue where you often wouldn't see other people simply turn around without moving at all
* Arguably lastPhysRot (to mirror lastPhysPos) is not a good name, may change variable names later
2008-10-14 20:28:34 +00:00
Justin Clarke Casey
58f8c042f6
* minor: change m_debug to m_debugPacketLevel since that's what it is
2008-10-14 18:53:56 +00:00
Justin Clarke Casey
0d6eb37ac5
* minor: Make it clear that non-scheduled updates can happen outside of the per frame update heartbeat
2008-10-14 15:56:14 +00:00
Justin Clarke Casey
3b9400bcea
* refactor: rename SendKiPrimitive to SendKillObject since this appears more descriptive of what it actually does
2008-10-14 14:43:46 +00:00
Justin Clarke Casey
8ab50fe3ee
* Make KillObjectPackets reliable
...
* This may help http://opensimulator.org/mantis/view.php?id=2377 where large linksets do not always correctly delete - since a lost kill packet to the client could result in
the symptoms described
2008-10-14 14:27:00 +00:00
Mike Mazur
3e124a3dba
- convert comments into documentation
...
- minor formatting adjustments
- remove some trailing whitespace
2008-10-14 09:40:05 +00:00
Mike Mazur
4da1901ed9
- move comment about assetID and 'attached' in inventory where it belongs
...
- objectGroup isn't needed here, just use the passed in argument
2008-10-14 09:40:01 +00:00
Adam Frisby
54d7be8a49
* Adding CrytoGridAssetClient support - allows encrypting assets that are stored on a potentially hostile grid. This is not DRM, not should be relied on until after it's been security audited. I'll write a blog post on this explaining how/why/when you should use this, and what it does.
2008-10-14 08:54:46 +00:00
Teravus Ovares
180e3de50f
* Cleaned up tons of code duplication in ODEPrim
...
* Re-enabled the native ODE prim types when possible
* Fixed several invalid assumptions in the prim recycle process.
* Added better message for 'reused a disposed physicsactor'
* Added a way to recover from errors during collision_optimized
* Added a way to recover from an error condition where prim_geom wasn't reset properly
2008-10-14 02:48:30 +00:00
Dahlia Trimble
138a3924e0
Committing more work towards implementing vertex normals. Also added some (hopefully) helpful messages for identifying corrupt prims and some fixup code for corrupt profile cut data.
2008-10-13 22:52:39 +00:00
Justin Clarke Casey
308a0bc2e4
* Apply http://opensimulator.org/mantis/view.php?id=2249
...
* Calculate an agents height in LLGetAgentSize() from apperance parameters rather than physics avatar numbers
* Another good looking patch from idb - thanks!
2008-10-13 20:56:56 +00:00
Justin Clarke Casey
9d6f043a79
* Remove warnings, including one which pointed out a bug
2008-10-13 20:45:13 +00:00
Teravus Ovares
f344f26bd8
* Based on user reports, it looks like the OS specific settings have been unified as far as tuning (thank heavens).
...
* If you're experiencing knee bendiness try the windows settings, as the *nix settings seem to now be incorrect. (this update does that, but you may have your own opensim.ini settings active.
2008-10-13 01:54:13 +00:00
Teravus Ovares
2ede1a3ce7
* This updates ODE to the most up-to-date version as of today. 1558
...
* Mac users, pray to chi11ken to make you a .dylib version
* This is semi-tuned and post teravus hack. (Though I didn't apply the terrain pitting fix hack. I'm still deciding if it's necessary as there was a lot of work over the past several months on the heightfield collider.
* Please use '--enable-shared --disable-demos --disable-asserts' if you are building your own libode in the configure step. Asserts are pretty much useless for use with .NET
* This also updates ODE.NET as, there were some API changes in May that were just added to ODE.NET today.
2008-10-12 23:47:39 +00:00
Melanie Thielker
905fb969f5
Add a configuration section for groups modules
2008-10-12 18:54:43 +00:00
Melanie Thielker
cc72ea532a
Fix linking phantom and nonphantom prims. Make the error message more friendly
...
when estate_settings.xml is empty or missing
2008-10-12 16:40:18 +00:00
Homer Horwitz
f52c5febd3
Add EventInfoRequest and EventInfoReply packets.
...
Note: New file, run prebuild.
2008-10-12 16:29:29 +00:00
Dahlia Trimble
f2700590d7
removed some more extraneous hidden faces
2008-10-12 09:36:01 +00:00
Dahlia Trimble
116a08f42e
Fixed a missing face on a profile cut
2008-10-12 08:52:42 +00:00
Dahlia Trimble
216787ee1d
Optimization: calculation of profile vertex normals is now disabled as default.
2008-10-12 07:04:52 +00:00
Jeff Ames
fdec8390c1
Update svn properties, minor formatting cleanup.
2008-10-12 03:16:49 +00:00
Adam Frisby
d7aedf343a
* Small fix for when PacketPool is disabled to prevent it from crashing immedietly.
2008-10-12 01:09:58 +00:00
Melanie Thielker
11477db59e
Fix LSL bitwise Or
2008-10-12 01:00:26 +00:00
Adam Frisby
dcdfde834f
LLUDP Client View
...
* Experimenting with the PacketPool mechanism.
* It's still disabled in the code, however there's now a flag to enable it.
* Converted to use Generic Collections vs Hashtables, also now uses a list of 'OK to pool' packets, starting with the high volume PacketAck packet.
2008-10-12 00:56:54 +00:00
Adam Frisby
d10a578096
* Fixed two major unhandled exceptions discovered during the Pub Quiz on friday.
2008-10-12 00:11:22 +00:00
Melanie Thielker
acce65457c
Fix the fix. Child prims were failing to load.
2008-10-11 23:59:46 +00:00
Melanie Thielker
6f2d077356
Fix llSetPos to handle child prims correctly. This will fix linked
...
sliding doors
2008-10-11 23:47:35 +00:00
Homer Horwitz
b48885ece4
The "About Landmark" code with the fake parcelIDs had a serious bug.
...
- Fix that bug. It will work with OSSearch now, too
- Add some caching to reduce inter-region requests.
2008-10-11 22:42:59 +00:00
Melanie Thielker
82b2b2dccb
Implement the hook needed for the CanTeleport check
2008-10-11 22:11:48 +00:00
Homer Horwitz
38a0a68091
* Change permission check for llParcelMediaCommandList to use the permissions
...
module, thus including estate owners and gods.
2008-10-11 20:53:33 +00:00
Melanie Thielker
8bc724a418
Fix a path issue i caused in a prior commit
2008-10-11 20:23:54 +00:00
Melanie Thielker
143419ebb2
Add a "inimaster" switch to OpenSim.ini. It will load a master ini file
...
and then the OpenSim.ini only needs to contain instance specific data
2008-10-11 17:51:16 +00:00
Homer Horwitz
4c337c48c7
Add logging in case of a SOG without rootpart
2008-10-11 17:48:37 +00:00
Melanie Thielker
bd05b932b1
Add shift operator overloads to LSLInteger. If you get error messages when
...
using << and >> in scripts, this will fix it.
rm bin/*.dll ; rm bin/ScriptEngines/*.dll ; rm bin/ScriptEngines/*/*.dll
then rebuild and reinstall
2008-10-11 17:09:26 +00:00
Homer Horwitz
628e3a9553
- Patching a symptom of the failed WP start. We really need to find the reason
...
for that...
2008-10-11 16:58:05 +00:00
Melanie Thielker
44b2ecf29d
2nd stab at that prim loading nasty
2008-10-11 16:32:31 +00:00
Melanie Thielker
625c67de54
Fix Nebadon's WP crash (invalid root part from database null-ref)
2008-10-11 16:23:15 +00:00
Homer Horwitz
bed6c763a5
* Rework llParcelMediaCommandList
...
* Add missing PARCEL_MEDIA_COMMAND_* constants
* Fix a copy/paste error in SendParcelMediaUpdate
llParcelMediaCommandList should work now
2008-10-11 15:18:55 +00:00
Homer Horwitz
6452c6c20b
Add a + operator to LSLString, otherwise you will end up with CIL strings if
...
you have expressions with strings.
2008-10-11 15:17:49 +00:00
Teravus Ovares
abc6424c51
* Removed Heartbeat timer
...
* Implemented a proper update thread
* Removed the UpdateLock Mutex as it's no longer needed because updates can only happen one at a time now.
* This should actually improve performance significantly.. But, see the warning on the next line!
* Warning: If there are deadlocks that the threadpool timer method was hiding, this will expose them for all the nastiness they are.
2008-10-11 11:43:42 +00:00
Melanie Thielker
544daf1c76
Plumb the remaining search packets and replies.
2008-10-11 05:59:12 +00:00
Dahlia Trimble
37d42890e7
Thanks cmickyb for a patch that enhances the IRC module.
...
See mantis #2379 for some useful scripts that work with this.
Note that I added another configuration parameter in addition to the patch to allow for legacy behavior in the absence of new configuration settings.
2008-10-11 02:56:03 +00:00
Melanie Thielker
d633cadb5f
Remove a UUID fudge that broke "Abandon Land"
2008-10-11 01:33:57 +00:00
Melanie Thielker
2214b2f578
Commit Diva's new patch for the DataSnapshot. Comment the default
...
metaverseink search provider to prevent accidental data exposure.
2008-10-11 00:39:43 +00:00
Dahlia Trimble
09c8713801
Eliminate some unnecessary polygons
2008-10-11 00:30:27 +00:00
Melanie Thielker
ab87a987f5
Fix an exception handling issue in XEngine
2008-10-10 23:18:52 +00:00
Justin Clarke Casey
dd886a035b
* minor: remove warnings
2008-10-10 21:05:44 +00:00
Justin Clarke Casey
e062b28606
* minor: Remove highly experimental tags from oar loading and saving functions
2008-10-10 20:25:22 +00:00
Melanie Thielker
85ae8e3e94
Committing diva's LandSnapshot update patch. Also included is a small
...
fix for the LandManagementModule. I changed LandSnapshot to use
CachedUserInfo to take a load off the user server. Also, missing owner
profiles are legit, warning removed.
2008-10-10 20:23:49 +00:00
MW
0644977819
added a list of SurfaceTouchEventArgs to the IClientAPI.OnGrab event, for the new surface touch parameters in 1.21 viewers.
2008-10-10 17:05:43 +00:00
MW
5be7442736
added a list of SurfaceTouchEventArgs to the IClientAPI.OnGrabUpdate event, for the new surface touch parameters in 1.21 viewers.
...
TODO: add the touch args to OnGrabObject and OnDeGrabObject.
2008-10-10 16:01:59 +00:00
MW
1edfbc652a
very tiny change
...
XmlIgnored the SceneObjectPart.SitTargetAvatar property, as (afaik) this is only used to indicate that a avatar is sitting (or about to sit) on the prim.
And there are situations where it might not be cleared, like if a client crashes while sitting on the prim. Which results in that avatar's id getting stored in any xml backup or taking the prim into inventory. And then its always classed as a avatar is sitting on that prim.
2008-10-10 15:02:40 +00:00
Adam Frisby
596366324a
* Added NullReference check to EventQueueGetModule.
2008-10-10 14:46:01 +00:00
Adam Frisby
fa55fc89d8
* Fixed a potential threading issue with EventQueueGet leading to spontaneous crashes.
2008-10-10 13:46:43 +00:00
Teravus Ovares
d19400db44
* Just some OGP maintenance. Standards adherence type stuff.
2008-10-10 12:59:16 +00:00
Dahlia Trimble
62f3e11b4e
Some more decrufting
2008-10-10 09:16:36 +00:00
Dahlia Trimble
726e0045d9
Some decrufting
2008-10-10 09:00:52 +00:00
Dahlia Trimble
7fbe942792
refactoring PrimMesher to add viewer compatable features and some code cleanup
2008-10-10 08:22:13 +00:00
Melanie Thielker
5c5a640aba
A bit more estate fudging
2008-10-10 02:06:34 +00:00
Melanie Thielker
96689723e5
Add the beginnings of a sim health check (through remote admin)
2008-10-10 01:10:33 +00:00
Homer Horwitz
8178f78095
Fixed renaming of in-prim items (Mantis #2366 )
2008-10-09 22:45:28 +00:00
Justin Clarke Casey
4e3bc9a63e
* Apply http://opensimulator.org/mantis/view.php?id=2373
...
* Many llSensor() improvements, though sensoring isn't perfect yet
* thanks idb!
2008-10-09 22:41:07 +00:00
Justin Clarke Casey
7bdfc16535
* fix windows build break - it helps if one actually puts in using statements and spells dlls correctly
2008-10-09 21:43:43 +00:00
Justin Clarke Casey
997eec671a
* minor: get rid of an unecessary casting and logic check
2008-10-09 20:02:40 +00:00
Justin Clarke Casey
997f1d465d
* Apply http://opensimulator.org/mantis/view.php?id=2370
...
* Refactor lLMessageLinked() to use internal method GetLinkParts
* thanks ralphos
2008-10-09 18:59:01 +00:00
Homer Horwitz
ddfff68c20
Clean up webmap-generation a bit:
...
- Remove some duplicated code
- Avoid unnecessary allocation of variables/values if only used once anyway.
2008-10-09 18:46:09 +00:00
Justin Clarke Casey
c26f177cd4
* Fix http://opensimulator.org/mantis/view.php?id=2368
...
* This returns to writing the OpenSim.ini using default values if it (or OpenSim.xml) isn't found
2008-10-09 18:33:42 +00:00
Melanie Thielker
c101dd2bad
Provide a sane value for DefaultScriptEngine (ScriptEngine.DotNetEngine)
...
rather then the previous invalid string "DotNetEngine". Remove the
script_engine options, as it is not used anymore.
2008-10-09 18:12:15 +00:00
Justin Clarke Casey
8ad0249969
* refactor: separate process of extracting packet from received data from actually processing that packet
2008-10-09 18:09:25 +00:00
Justin Clarke Casey
285ae803e2
* minor: initialize udp server in unit test
2008-10-09 18:00:38 +00:00
Justin Clarke Casey
919d907a3d
* Create project for LindenUDP ClientStack tests
...
* No functional tests yet
2008-10-09 16:52:33 +00:00
Justin Clarke Casey
db0d90c737
* minor: very small doc addition
2008-10-09 16:23:11 +00:00
Teravus Ovares
ac674ccbfc
* Fixes simstats reporter. I'm sure this issue caused all sorts of things related to regionflags and capacity. I'm sorry, the object capacity that you dialed is not valid.. please check the number and dial again.
2008-10-09 11:44:26 +00:00
Justin Clarke Casey
2be8380831
* minor: remove compile warning
2008-10-08 20:02:27 +00:00
Homer Horwitz
ac89e89da3
- Fix wrong order of max/min usage for clipping. Uses Util.Clamp now
...
- Add support for immediate switching of Music/Media URLs. Radio-scripts should work now.
2008-10-08 18:52:50 +00:00
Homer Horwitz
31107385b6
- removed some unnecessary conversions (double -> double)
2008-10-08 18:48:49 +00:00
Justin Clarke Casey
9b68428058
* minor: Comment out initial regularly occuring EventQueueGet log debug message for now, as previously discussed with Ter
2008-10-08 17:56:37 +00:00
Justin Clarke Casey
1b7405dca1
* On deselection of objects, stop every object id passed triggering an update for the entire group
...
* This was not a problem with objects consisting of less than 30 prims, since the extra schedules would be ignored
* However, above approximately 30 prims extra schedules would actually occur.
* For instance, a 140 prim object would end up triggering approximately 2500 ObjectUpdates to every avatar in range rather than 140
* Hopefully, this change will improve client responsiveness on deselect and was one of the reasons that the AgentThrottle restriction started causing problems yesterday.
2008-10-08 17:36:17 +00:00
Charles Krinke
ac443559d1
Mantis#2354. Thank you kindly, Tglion for a patch that:
...
The average-value of modify.ModifyBlock.Height in LLClientView.cs:4170
seem to be incorrect or it isn't the average? Mhhh...
So the terrain build -> Flaten Sphere is unuseable.
I have put in a patch that contains a workaround while
the main problem is not solved.
2008-10-08 14:51:55 +00:00
Teravus Ovares
2c5497fa3a
* Re-enables map item requests.
...
* Puts remote requests in a single worker thread
* Worker thread only starts when there are agents to serve
* When there are no agents to serve, it shuts down
* A good example of how to deal with threads in non-shared modules so they don't end up consuming threads per regions
2008-10-08 11:53:35 +00:00
Dr Scofield
2947ef9c00
warning squashing
2008-10-08 11:15:25 +00:00
Melanie Thielker
c4d741180f
Add some permissions checks and fixes
2008-10-08 02:45:23 +00:00
Charles Krinke
e4fc55f71e
Mantis#2352. Thank you kindly, Jonc for a patch that:
...
If prim is part of SOG, then ask the SOG to update the
position, rather than asking the part itself.
Ghosted child prims should no longer result from llSetPos.
Not sure if this is the right approach for all cases ,
would appreciate feedback on the patch.
2008-10-08 01:49:58 +00:00
Charles Krinke
e87195d1bd
Mantis#1906. Thank you kindly, Idb for a patch that:
...
Removed cache accesses to obtain sensed object/avatar
name, it is already available.
2008-10-08 01:44:35 +00:00
Melanie Thielker
4bb9f0f429
Fix friendly errors in DNE as well
2008-10-08 00:04:28 +00:00
Melanie Thielker
8d2ec1ac71
Adapt tests to new friendly errors and correct line numbers
2008-10-07 22:25:55 +00:00
Melanie Thielker
638cce09d1
Restore "friendly errors" to the XEngine
2008-10-07 21:59:56 +00:00
Justin Clarke Casey
4ed6e78d1a
* Comment out debug throttle output that I had accidentally left in
2008-10-07 21:44:29 +00:00
Justin Clarke Casey
914c733505
* Temporarily revert r6714 which changed agent throttle number interpretation
...
* I suspect the restriction stopped the very large number of packet resends that occur on certain operations, which led to other failures.
2008-10-07 20:04:43 +00:00
Teravus Ovares
bb7fcf378b
* Disabling mapitem requests for surrounding regions as it's probably using up a lot of threads right now when regions are inaccessable
2008-10-07 15:08:44 +00:00
Justin Clarke Casey
f085d53be2
* Apply http://opensimulator.org/mantis/view.php?id=2345
...
* Bring llSetLinkTexture into line with llSetLinkColor and lLSetLinkPrimitiveParams() implementations
* Thanks ralphos
2008-10-07 14:58:56 +00:00
Justin Clarke Casey
48d86fb23f
* Apply http://opensimulator.org/mantis/view.php?id=1207
...
* Implmements llModifyLand() and a check for the "Allow others to terraform flag"
* Thanks tglion!
2008-10-07 14:49:12 +00:00
Dr Scofield
e5a50b6a3b
From: chris yeoh <yeohc@au1.ibm.com>
...
The attached patch fixes mantis bug 2312 (llGetPos() returns incorrect
values for child prims where the root prim is rotated). Regression
tests still pass.
Incidentally AbsolutePosition which was used before looks a little
suspicious to me as its always going to return the wrong value if the
root prim is rotated. GetWorldPosition does take the rotation into
account, but AbsolutePosition is used in a lot of places. Though i
don't understand why there is both GetWorldPosition as well as
AbsolutePosition so I've left the latter alone.
[i also cleaned up some indent problems, --- dr scofield]
2008-10-07 11:41:43 +00:00
Dr Scofield
7d525843d0
From: chris yeoh <yeohc@au1.ibm.com>
...
Attached is a patch for LLGround which was just plain broken and could
cause a runtime error. It now returns valid data with valid input (ie
the offset does not take the position off the edge of the sim), but a
runtime error will occur if invalid data is given.
On invalid data the LL servers return the ground height based on a
valid point closest to the effective position calculated using the
supplied offset. Is the OpenSim convention to replicate the LL servers
as closely as possible? If so I can submit an additional patch to
replicate the LL behaviour.
2008-10-07 11:33:41 +00:00
Dr Scofield
47c2bd2b95
From: chris yeoh <yeohc@au1.ibm.com>
...
If you use load-oar to transfer region data from one sim to another
then currently inventory items can be left with unknown owner
permission which results in them being no-mod/no-copy for
everyone. The attached patch fixes things up so if the owner uuid does
not exist on the destination system then it assigns ownership (and the
creator for completeness) to the master avatar id. This will make it
much more practical to share copies of regions :-)
2008-10-07 11:28:45 +00:00
Jeff Ames
18d4216cf4
Update svn properties, minor formatting cleanup.
2008-10-06 23:08:52 +00:00
Justin Clarke Casey
cb7a9eaa09
* Stop the sim stats reporter reusing the same SimStatsPacket for all clients
...
* I believe this was the cause of the remaining packet_out_of_order messages in the Linden client logs
* There were race conditions where multiple clientstacks would overwrite each other's sequence numbers
2008-10-06 19:52:54 +00:00
Teravus Ovares
600721d480
* Made Mapitems more failure friendly
2008-10-06 18:29:25 +00:00
Justin Clarke Casey
d18aff3310
* restore Header.Resent field setting for resent packets
...
* without this, the client appears to reset the sequence of packets its expecting
2008-10-06 16:57:58 +00:00
Justin Clarke Casey
33d957207c
* Change interpretation of asset throttle values to bits per second rather than bytes per second
...
* Changing network bandwidth in the preferences will now have a much more noticeable effect - a user may want to increase this if data is being slow to download from opensim
2008-10-06 16:48:41 +00:00
Charles Krinke
68021fa8ff
Mantis#2342. Thank you kindly, Ralphos for a patch that solves:
...
llSetLinkApha is not fully implemented and has not been updated
to use the recently added GetLinkParts and associated implementation
pattern as per llSetLinkColor and llSetLinkPrimitiveParams.
2008-10-06 14:50:58 +00:00
Melanie Thielker
d834996bbe
Implement Parcel -> ForceOwnerToMe god mode packet
2008-10-06 08:19:18 +00:00
Melanie Thielker
03a41e5f8b
Exclude attachments from parcel prim counts
2008-10-06 07:50:26 +00:00
Melanie Thielker
c65b10caa2
Implement ForceOwnerPermissive and God TakeCopy
2008-10-06 07:21:13 +00:00
Melanie Thielker
8887bde499
Cause inventory items to also be sold when a prim is sold
2008-10-06 06:15:19 +00:00
Melanie Thielker
1b678f062a
Fix a number of errors in transfer of objects
2008-10-06 06:08:45 +00:00
Melanie Thielker
195893b06d
Remove an unnecessary perms check. This caused prim movement to be disabled
...
on parcels that had prim entry turned off. This needs to be reintroduced
with proper parcel boundary checks.
2008-10-06 05:23:48 +00:00
Teravus Ovares
78073fa440
MapItems/Green Dots
...
* Fixes 1 too large count in region you're in (Region no longer reports the green dot about yourself to you)
* For all local requests, the region will check itself instead of going to it's web service. (optimization)
2008-10-06 04:29:48 +00:00
Melanie Thielker
b55c9761b4
Fix a nullref
2008-10-06 04:20:27 +00:00
Melanie Thielker
fd96bb6f43
One should not commit even the smallest fox without compile. Fix build break
2008-10-06 03:27:16 +00:00
Melanie Thielker
c4ab9482b5
More perms fixes. Reinstate the move flag
2008-10-06 03:23:55 +00:00
Melanie Thielker
1f7966d6e8
Fix a privilege escalation with linked sets
2008-10-06 02:29:38 +00:00
Charles Krinke
e575ef7ad2
Revert r6697 patch as the build fails.
2008-10-06 00:58:43 +00:00
Charles Krinke
dedc1baeb7
Mantis#2336. Thank you kindly, Ralphos for a patch that:
...
Prevent EventAbortException inner exceptions of
TargetInvocationException being re-thrown from
OpenSim.Region.ScriptEngine.Shared.ScriptBase.
Executor.ExecuteEvent
2008-10-06 00:51:36 +00:00
Charles Krinke
4f6cdc08d6
Mantis#1207. Thank you, TGlion for a patch that addresses:
...
Implementation of llModifyLand() and There is a bug on
permission-check of land-terraforming: x an y-coordinates
are interchanged on function-call ExternalChecksCanTerraformLand.
Correct: x is west, and y is north. 2) Missing check of
"Other allow to terraform-flag" (Parcel.ParcelFlags.AllowTerraform)
2008-10-06 00:46:27 +00:00
Melanie Thielker
559a4f7496
Patch by Fly-Man, with modifications. Add more fields to DataSnapshot.
...
This changes yes/no to true/false. Will likely break Metaverseink in some way.
2008-10-06 00:20:27 +00:00
Melanie Thielker
6ab5b523f8
Implements ObjectOwner god mode packet (Set Owner To Me admin option)
2008-10-06 00:09:49 +00:00
Teravus Ovares
f8acdeb437
* Green dots on the mainmap for avatar.
...
* Initial implementation
* You'll only be able to seen green dots on regions on the map that have been updated.
2008-10-06 00:00:55 +00:00
Homer Horwitz
6bf72c95cb
For symmetry reasons, I think this probably is a bug.
2008-10-05 20:06:42 +00:00
Homer Horwitz
1e6db41931
Small optimization: Don't ask gridserver about regions on the local instance.
2008-10-05 19:43:04 +00:00
Teravus Ovares
2cc028e965
* Fix sitting avatar showing up properly on the minimap
2008-10-05 19:38:04 +00:00
Homer Horwitz
b9e603f8d8
Fixed small coordinate issue: The center is (min+max)/2, not (max-min)/2
2008-10-05 19:12:58 +00:00
Homer Horwitz
5a31fb9df4
Fix a problem with land-search and non-convex parcels.
...
You'll need to update your snapshots.
2008-10-05 19:06:00 +00:00
Teravus Ovares
3ac76db76b
* Fixes the last snag with the EventQueue. The situation where the seedcap gets lost on teleport.
2008-10-05 18:42:05 +00:00
Melanie Thielker
a3136d2bb1
Revert the packet resend timing changes. They caused login issues in primmy
...
regions.
2008-10-05 16:43:58 +00:00
Melanie Thielker
1794a56ce0
Add parcel info "UUID" to snapshot
2008-10-05 16:23:21 +00:00
Melanie Thielker
c84987426b
Craters, take 2. Remove old discard logic and absolute discard timer.
...
Introduce a resend counter on the ack queue. The header "Resent" field is
now obsolete. Implement 3 resends on reliable packets, variable.
Increase default resend timeout to 3000ms and default silence threshold
to 350ms.
2008-10-05 14:44:26 +00:00
Jeff Ames
aab6cdd8b0
Update svn properties, minor formatting cleanup.
2008-10-05 14:15:39 +00:00
Teravus Ovares
a243a4aaf5
* An update to the UDP Packet handler which might make the giant sized craters go away.
2008-10-05 13:06:03 +00:00
Melanie Thielker
e5929f4a1c
Remove a console debug output
2008-10-05 05:00:30 +00:00
Melanie Thielker
c3d7d7bb51
Change category in snapshot to a number, to match the one in search
2008-10-05 04:26:26 +00:00
Melanie Thielker
ae2c0e2d78
Add a dummy "dwell" value to the data snapshot
2008-10-05 03:48:51 +00:00
Melanie Thielker
2cb89124c7
Small bug fix
2008-10-05 03:01:19 +00:00
Melanie Thielker
13e3ffada3
Plumb in the DirPlacesReply packet
2008-10-05 02:25:53 +00:00
Homer Horwitz
649cd16fb4
Fix Mantis #2281 : touch events in non-default states in DNE work again.
2008-10-04 22:57:54 +00:00
Melanie Thielker
f52d779550
Plumb packet DirPlacesQuery for search module
2008-10-04 22:29:37 +00:00
Justin Clarke Casey
31362a67df
* Tidy up configuration stuff, eliminated default setting duplication along the way
...
* This revision also makes the exception catcher of last resort print to the log instead of just the console
* This means logs should now capture sim crashing exceptions, though not those which are caused by a crash of the virtual machine itself
2008-10-04 20:27:55 +00:00
Justin Clarke Casey
344e33b8fc
* minor: both OpenSimBase and the Voice and RemoteAdmin modules were checking whether any config was set
...
* Resolve redundancy by removing the OpenSimBase check - if modules are recieve nini config directly they should probably be the ones to do the checking
2008-10-04 19:17:39 +00:00
Charles Krinke
2fdb42aec0
Mantis#2316. Thank you kindly, CMickeyb for a patch that:
...
Addresses llDie issues. The attached patch catches run time
exceptions that occur during method invocation (of type
TargetInvocationException) and exposes the internal exception.
This makes it possible to pass out the SelfDeleteException.
Also added handlers in a couple places to make sure that
exception was being passed out far enough to be handled
correctly. Tested on DNE.
2008-10-04 19:04:58 +00:00
Justin Clarke Casey
a924fbae72
* minor: Remove warning
2008-10-04 18:54:50 +00:00
Justin Clarke Casey
0b594a072c
* Check in the second part of http://opensimulator.org/mantis/view.php?id=2334 since enough time has passed such that servers following head have probably updated
...
* This patch aims to store look at data when an avatar logs off in grid mode
* However, in my short test it doesn't appear to be working yet - numbers are being stored but they don't look correct
* But this doesn't appear to cause any login problems
* Thanks tyre
2008-10-04 18:46:34 +00:00
Homer Horwitz
63d7a92fb4
Added immediate TP failure message for TPs to regions that aren't there,
...
instead of the 130s timeout somewhere. Additionally, mark the map-tile as
offline. This partly fixes the TP problems of Mantis 2332; the rest is a viewer
problem (just relogin).
2008-10-04 18:08:35 +00:00
Dahlia Trimble
979a354ba0
Cap proxy mesh scale minimum to 0.01 meter for X, Y, and Z terms.
2008-10-04 17:39:03 +00:00
Melanie Thielker
68c0393c51
Cause a request to a different attachment point to taint the attachment so
...
that the attachment point is saved even if nothing else changed
2008-10-04 16:58:34 +00:00
Melanie Thielker
603c9af52b
Prevent a new asset being created on every detach of an attachment
2008-10-04 16:52:42 +00:00
Melanie Thielker
52963c180e
Mantis #2330
...
Fixes use of the saved attachment point from asset
2008-10-04 16:45:38 +00:00
Melanie Thielker
c28e8fcd67
Unclutter rezzing methods by removing the ad hoc permissions parameters.
...
Thise were client supplied untrusted values we never used anyway.
2008-10-04 15:54:21 +00:00
Melanie Thielker
6bf521c7df
Guard against negative scale set through LSL functions
2008-10-04 14:23:33 +00:00
Melanie Thielker
5b901c7031
Remove type="owner" from the data snapshot. Made the parser choke and there
...
is no need for it, as there is no other type
2008-10-04 13:41:36 +00:00
Melanie Thielker
ee4c01f5e6
Tiny performance tweak
2008-10-04 06:57:20 +00:00
Melanie Thielker
439589260c
Avoid a gratuitious KillObject storm on region crossing
2008-10-04 05:38:16 +00:00
Melanie Thielker
a489fdfb4f
Add some needed fields to data snapshot
2008-10-04 03:47:31 +00:00
Melanie Thielker
4672ea6e49
Cause "Show in search" to trigger a persistence save
2008-10-04 03:04:00 +00:00
Melanie Thielker
74f89fb22d
Add "Drop" functionality to pie menu
2008-10-04 01:09:22 +00:00
Homer Horwitz
16d68749a4
Add the missing bits for the new region-search:
...
- Added lookup in the data-layer
- MySQL works
- SQLite doesn't have a grid-db, so it won't work there
- I added MSSQL-code to the best of my knowledge; but I don't know MSSQL :-)
- Added the plumbing up to OGS1GridServices. This speaks with the grid-server
via XMLRPC.
- Modified MapSearchModule to use the new data. It's backward compatible; if
used with an old grid-server, it just returns one found region instead of a
list.
- Refactored a bit.
Note: This updates data, grid-server and region code. No new files.
2008-10-03 23:00:42 +00:00
Melanie Thielker
ab260b5d23
Fix: Mantis#2326: Fix: privilege escalation through attach from ground
...
Fix: objects being duplicated inventory on detach. Fix: Mad jumping around of
attachments while editing. Fix: Attachments being persisted to database on
login. Fix: Attachments being persisted when changed by a script like
invisprim refresh. Fix: Attachpoint set, but not reset correctly. Fix: prevent
spurious full updates while editing attachments. Several other fixes
2008-10-03 21:44:33 +00:00
Dahlia Trimble
61c17a251b
Disabled some thread aborts in the IRC module that I added earlier and don't seem necessary
2008-10-03 21:13:06 +00:00
Justin Clarke Casey
0f77a334bd
* minor: slightly simplify code in setting up the default configuration
...
* we appear to both setup a default configuration and provude identical defaults when we later try to read the values - this is probably not really necessary
2008-10-03 19:52:29 +00:00
Justin Clarke Casey
4920e52f11
* oops, fix build break.
...
* refactoring
2008-10-03 19:42:35 +00:00
Justin Clarke Casey
743e336bf3
* Put in some infrastructure to allow tweaking of packet queue throttle values for the total throttle (the one that throttles all packet output)
...
* Not complete yet
2008-10-03 18:06:45 +00:00
Melanie Thielker
1b2380db84
Cause objects to be removed from the database when they go temp or get
...
attached. Also make sure that parcel prim counts get updated
2008-10-03 16:18:38 +00:00
Justin Clarke Casey
170cb935cd
* refactor: make shutdown a template method in the same manner as startup, for consistency's sake
2008-10-03 16:06:00 +00:00
Justin Clarke Casey
3ffd77f70b
* oops, fix region startup to be in the correct sequence (though it appeared to work anyway)
2008-10-03 15:41:27 +00:00
Melanie Thielker
3902149e1b
Implement temp-on-rez objecte really being temporary
2008-10-03 15:32:44 +00:00
Justin Clarke Casey
70124a3213
* refactor: make startup a template method
2008-10-03 15:11:29 +00:00
Dr Scofield
5c0a0bc2e0
This changeset changes the way chat from client is routed:
...
old way: each region module interested in chat from client had to
- subscribe to scene.EventManager.OnNewClient
- then in its OnNewClient delegate it would subscribe to
client.OnChatFromViewer to capture chat messages coming
new way: ChatModule is the only region module that uses the "old
way" approach but is now forwarding all client chat via
scene.EventManager.OnChatFromClient
- each region module interested in chat from client now only
subscribes to scene.EventManager.OnChatFromClient
this not only simplifies code, but also allows us to substitute
ChatModule with derived classes (ConciergeModule is going to be one
example).
Also, this changeset changes ChatFromViewer to ChatFromClient as it
doesn't necessarily have to be a viewer that is a chat source.
i've taken great care to only comment out those OnNewClient delegates
that were only used for getting at the client chat --- hope it's not
breaking anything.
2008-10-03 14:53:11 +00:00
Justin Clarke Casey
8c55f3eaa6
* minor: remove warnings (the code cleaners strike again)
2008-10-03 14:18:17 +00:00
Melanie Thielker
36097a8198
Prevent attachments to be persisted in the destination region when the
...
avatar is not present there.
2008-10-03 13:45:54 +00:00
Melanie Thielker
7f007d8ed0
Mantis #1360
...
Thank you, idb, for a patch to implement the packet and plumbing for
the material settings.
2008-10-03 12:00:13 +00:00
Teravus Ovares
8de395d379
* EventQueueGet is now working.
...
* Switched it on by default
* Updated OpenSim.ini.example to reflect this
* Caught a UDP Server issue that occurs when the network pipe is saturated
* Still experimental :D
2008-10-03 09:53:49 +00:00
Melanie Thielker
cffd73c59f
Reintroduces the discovery mechanism to use llRequestSimulatorData("", 128)
...
Causes the dataserver event to return "OpenSim" when running on OpenSim.
Requires ThreatLevel to be "High" or above to function.
2008-10-03 06:15:23 +00:00
Melanie Thielker
1cf0798863
Plumb in the start parameter in DNE
2008-10-03 05:32:51 +00:00
Melanie Thielker
c9fbc03a18
Attempt to prevent attached prims from being persisted. Attachments with
...
invisiprim refresh scripts get sent to the database and remain there when
the agent logs out. This tries to prevent that.
2008-10-03 05:23:30 +00:00
Charles Krinke
d5b3a66f52
Mantis#2307. Thank you kindly, Godfrey for a patch that solves:
...
In Second Life's implementation of llParseString2List(), all spacer
strings which occur within the source string are included in the
resulting list. In OpenSim's implementation, any spacers occurring
at the beginning of the string are discarded; furthermore, if multiple
spacers occur between non-spacer elements, or at the end of the source
string, only the first spacer is added to the resulting list;
the remainder are discarded.
2008-10-03 02:33:59 +00:00
Melanie Thielker
e30856a32f
Mantis #2317
...
Thank you, fusspawn, for an implementation of osGetSimulatorVersion.
This patch removes the llRequestSimulatorData(..., 128) hack and
implements the functionality as an osFunction.
2008-10-03 01:30:22 +00:00
Homer Horwitz
4e3a3417c7
Mantis #2282 .
...
Thanks tglion for the necessary info to solve an ArgumentOutOfRangeException during region start.
2008-10-02 22:57:07 +00:00
Homer Horwitz
35a23ab74f
Added the first version of the MapSearchModule, which allows you to search for
...
regions in the in-world map. It currently only returns the first region that
matches the search string; in a future version it will return more search
results.
Note: File added; run runprebuild.
2008-10-02 22:20:17 +00:00
Homer Horwitz
423d950a69
- Fixed a small off by one error in sending MapBlocks
...
- Removed MapBlockData.Flags; it isn't used anywhere (maybe MapBlockData.RegionFlags replaced it?)
2008-10-02 22:14:34 +00:00
Dahlia Trimble
cf9835130a
Square hollow size in cylinder meshes were a little too small - fixed.
2008-10-02 02:33:45 +00:00
Homer Horwitz
b1c1de2fbe
- Added SendScriptTeleportRequest to IClientView and classes implementing it.
...
- Implemented llMapDestination.
2008-10-01 21:30:48 +00:00
Justin Clarke Casey
7e35e4c816
* minor: oh, and comment out the now unused logger as well
2008-10-01 20:56:34 +00:00
Justin Clarke Casey
231b8c2a67
* minor: Comment out temporarily statistical counter I accidentally left in from the last commit
2008-10-01 20:55:09 +00:00
Justin Clarke Casey
cbb9693ef4
* Try bumping packet resend timeout up to 2 seconds instead of 1
...
* This actually probably doesn't make a huge difference. We still end up resending a massive number of packets in quite a few situations, but it's not easy to consistently
reproduce this.
* Might really need some throttling of packet send to the client on the OpenSim end.
2008-10-01 20:54:28 +00:00
Justin Clarke Casey
4d32cd34e8
* refactor: rename interface to put standard I prefix in front
2008-10-01 20:30:30 +00:00
Justin Clarke Casey
95a3d6372d
* Fix bug in LLPacketHandler where the tickcount when a packet was approximately sent was not being stored in the ack record
...
* This meant that acks were being sent out every 250ms when the ack timer fired, rather than when they had actually aged past m_ResendTimeout
2008-10-01 17:18:20 +00:00
Dahlia Trimble
dabe61f283
a little (incomplete) hackery in the IRC module to allow run-time connection changes
2008-10-01 08:24:44 +00:00
Johan Berntsson
513ce9caee
Added functions to find prims by name
2008-10-01 06:39:36 +00:00
Teravus Ovares
f49ba0cbfe
* Fixed a mangled Seed caps handler definition on login to region in standalone where port wasn't the http port.
...
* Removed spurious warning message
* More debug in EventQueueGet Module to figure out why we're loosing the handlers.
2008-10-01 04:16:41 +00:00
Teravus Ovares
79b2e5ac71
* Replacing Net.HttpListener with HttpServer.
...
* This is a HUGE update.. and should be considered fraut with peril.
* SSL Mode isn't available *yet* but I'll work on that next.
* DrScofld is still working on a radical new thread pump scheme for this which will be implemented soon.
* This could break the Build! This could break your Grid!
2008-09-30 16:56:33 +00:00
Dr Scofield
a57533b6d7
initial version of a meeting concierge module.
2008-09-30 16:14:47 +00:00
Dr Scofield
63b2e3575a
- a couple of minor code cleanups in RestInventoryServices
...
- cleanups and more comments in ChatModule and IRCBridgeModule
- adding Name support in ScenePresence
2008-09-30 16:14:09 +00:00
Melanie Thielker
57a862bc01
And one more. lThat should make all scripts start for everyone
2008-09-30 14:58:11 +00:00
Melanie Thielker
f0564549a9
Add two more default script engine params
2008-09-30 14:57:05 +00:00
Melanie Thielker
76f7fcba7d
Add the default script engine to the script creation from archive loading
...
to make scripts loaded from oar start
2008-09-30 14:51:15 +00:00
Adam Frisby
d4c1751285
* Fixed minor issue while building: If you do a raytraced object placement and a target isn't found, the object is rezzed at 0,0,0 - instead now it will place according to the position sent by the client.
...
* We may instead want to abort and send a "Cannot Rez Here" message?
2008-09-30 14:42:25 +00:00
Melanie Thielker
f00b24ff9e
Allow create-region to load files from arbitrary locations
2008-09-30 10:50:41 +00:00
Teravus Ovares
6ea5b515d0
* Get the code up to speed with my -#dev e-mail example. (uncomment out lines 227 - 235 to test.
2008-09-30 05:39:52 +00:00
Jeff Ames
f6699892dc
Update svn properties, minor formatting cleanup.
2008-09-30 05:26:57 +00:00
Charles Krinke
68ae63e546
Mantis#2300. Thank you kindly, Idb for a patch that solves:
...
A number of the deprecated functions had missing parameters
causing compile errors. These included:
llSound, llMakeExplosion, llMakeFountain, llMakeSmoke,
llMakeFire, llPointAt, llXorBase64Strings, llSetPrimURL
2008-09-30 01:59:51 +00:00
Charles Krinke
307f26e80e
Mantis#2299. Thank you kindly, Idb for a patch that:
...
OS/SL script conformance, implement llSoundPreload and
llRemoteLoadScript to behave as in SL. In SL
llSoundPreload appears to do nothing. In OS
llRemoteLoadScript shouts an error when invoked
"Deprecated. Please use llRemoteLoadScriptPin instead."
2008-09-29 20:24:59 +00:00
Justin Clarke Casey
5e238be255
* minor: forgot this small tidy in the last checkin
2008-09-29 19:56:26 +00:00
Justin Clarke Casey
374947cf01
* minor: tidy up async sog deleter
2008-09-29 19:55:45 +00:00
Justin Clarke Casey
75b6011a24
* minor: remove warning
2008-09-29 19:11:48 +00:00
Justin Clarke Casey
941e20c463
* refactor: move asynchronous scene object deletion to inventory queueing out to a separate class
2008-09-29 19:09:49 +00:00
Dahlia Trimble
5eb433ae26
ApplyImpulse now forwards impulse in both local and global modes.
2008-09-29 19:01:45 +00:00
Dr Scofield
87ac46c1c5
From: rob smart (smartrob@uk.ibm.com)
...
minor fixes to osParseJSON.
2008-09-29 17:47:17 +00:00
Justin Clarke Casey
a888dbc60a
* Fix http://opensimulator.org/mantis/view.php?id=2189 for real this time
...
* Ignore any exception encountered during shutdown rather than aborting the quit command
2008-09-29 15:40:16 +00:00
Justin Clarke Casey
0b2bc26bfe
* minor: remove warnings
2008-09-29 15:33:58 +00:00
Justin Clarke Casey
104039b6c6
* reactor: move inventory archive classes into separate Inventory/Archiver directory
...
* This is not yet a real module (and is arguably not a region module anyway)
2008-09-29 15:14:57 +00:00
Justin Clarke Casey
e768602681
* refactor: Rename InventoryModule to InventoryTransferModule
2008-09-29 15:09:35 +00:00
Justin Clarke Casey
3fc86cb578
* Move existing inventory module into a 'Transfer' namespace, since that is the functional it actually fulfills
2008-09-29 15:02:03 +00:00
Justin Clarke Casey
4a5e1c7547
* check in missing files that caused the previous build break
2008-09-29 14:55:26 +00:00
Justin Clarke Casey
7ec065198a
* Apply http://opensimulator.org/mantis/view.php?id=2294
...
* This is an initial basic experimental code for inventory import and export from the region server
* Probably not yet ready for general use
* Thanks Kayne!
2008-09-29 14:41:16 +00:00
Dr Scofield
e0795e44ac
fixes future mantis from SachaMagne.
2008-09-29 12:29:11 +00:00
Melanie Thielker
fe06f37e6b
Mantis #2293
...
Same fix for the DNE
2008-09-29 10:35:07 +00:00
Melanie Thielker
538f51f36d
Mantis #2293
...
Fix a null reference exception when the exception thrown by a script
is not a TargetInvocationException
2008-09-29 10:30:01 +00:00
Charles Krinke
6758ecc403
Implement the plumbing for llSetVehicleType from the LSL
...
subroutine down through the physics modules through PhysActor
and SceneObjectPart. No connection to the physics simulators.
2008-09-28 22:38:59 +00:00
Charles Krinke
04be8726d3
Mantis#296. Thank you kindly, Idb for a patch that resolves:
...
Estate/ Manager Owner Uses the Region/Estate Menu Region TAB,
and uses "Teleport Home All Users..." (Action Button), the
action will complete but no one will be teleported and all
users still function in the region ok.
2008-09-28 22:01:37 +00:00
Charles Krinke
ebbbd37605
Added the plumbing for llSetVehicleRotationParam
...
in the classes between the LSL implementation and the
underlying physics engines.
2008-09-28 21:53:56 +00:00
Charles Krinke
d68d631dc0
A little bit further with LLSetVehicleVectorParam.
2008-09-28 21:20:25 +00:00
Melanie Thielker
c2308d8a7d
Add explicit CultureInfo to the script compile thread in DotNetEngine to
...
ensure that scripts will compile on nonenglish systems
2008-09-28 20:29:56 +00:00
Charles Krinke
3747862999
Plumb the connection though from llSetVehicleVectorParam
...
to the various physics engines. No connection to the
underlying physics simulator yet, just plumbing through
the various classes.
2008-09-28 20:20:32 +00:00
Melanie Thielker
3012bfa2a2
Mantis #1922
...
Thank you, idb, for a patch that addresses hex digits erroneously being
recognized as valid and parsed in a decimal number
2008-09-28 19:58:54 +00:00
Melanie Thielker
1d5b2bb8bc
Add some methods to allow modules so set client view options
2008-09-28 19:45:42 +00:00
Charles Krinke
9709d01358
Remove llSetVehicledoubleParam. It does not exist.
...
It was a mistake a year ago to add it in.
2008-09-28 19:31:58 +00:00
Charles Krinke
3397236c6c
Plumb the connection through from llSetVehicleFloatParam
...
to the various physics engines. No connection to the
underlying physics simulator yet, just plumbing through
the various classes.
2008-09-28 18:36:30 +00:00
Melanie Thielker
95c3e0883c
Mantis #2288
...
Correct a typo in namespace declaration
Also adds a new flag to the PacketManager to force retention of packets
marked reliable (default off)
2008-09-28 18:07:06 +00:00
Homer Horwitz
1cc927ad97
- Further cleanups
...
- Added TeleportFinish event to the event-queue. It works better than
before (you can teleport), but it doesn't work quite right yet (you
start TPing after the TP again).
Beware: Still experimental and non-working.
2008-09-28 14:19:26 +00:00
Homer Horwitz
4452121227
Refactor to avoid some duplicate code.
2008-09-28 12:44:49 +00:00
Jeff Ames
0b4415849a
Update svn properties. Minor formatting cleanup. Fix a compiler warning. Fix a UUID vs null comparison.
2008-09-28 03:21:11 +00:00
Teravus Ovares
e78cdd9690
eol-style native; on EventQueueHelper
2008-09-28 02:59:42 +00:00
Teravus Ovares
25a998feb4
* okay.. Now you can do border crossings with the security 'fixed' client.. with EventQueue enabled.
...
* You occasionally loose the event queue if you cross back and forth between the same regions many multiples of times.
* But Don't try to teleport!
2008-09-28 02:57:53 +00:00
Charles Krinke
6a863311f7
Mantis#2287. Thank you kindly, Idb for a patch that solves:
...
The current llGetLinkName returns an empty string if a prim
with the given link number is not found in the link set. In
SL an empty string is only returned if the prim name is actually
blank, a NULL_KEY is returned instead with a couple of exceptions.
2008-09-28 01:12:57 +00:00
Teravus Ovares
4f0c759fb0
* With EventQueueGet enabled.. we can see into neighbor regions again on the Security 'fixed' client.. But don't try to cross yet!
2008-09-27 23:54:08 +00:00
Teravus Ovares
21bf26e9b4
* Adds flag to enable/disable EventQueueGet.
...
* If EventQueueGet is enabled, use that instead of a few UDP packets, if it's disabled use the UDP packets like normal.
* We *really* suggest users do not turn on EventQueueGet yet.. as it's highly experimental, broken, and resource intensive
* Updated OpenSim.ini.example
* Testers of EventQueueGet.. in OpenSim.ini, it's in the [Startup] Section.. change EventQueue = false, to EventQueue = true.
2008-09-27 23:06:28 +00:00
Teravus Ovares
07b32c9320
* Replace a generic error handler.
2008-09-27 22:06:51 +00:00
Teravus Ovares
98632ee594
* Event queue is now polling..
...
* returns FAKEEVENT instead of the connection returning a 502. It doesn't like our 502's for some reason.. so, in leau of this.. send it a fake event.
* Once again, this is still 'really early' code, so please don't blame us if you have no more threads left.
2008-09-27 22:05:36 +00:00
Homer Horwitz
0e10c85617
Continue working on the new EventQueueGetModule. Not finished (or even working)
...
yet. This shouldn't break anything, but is work in progress, so be careful.
Contains a new file; do your runprebuilds.
2008-09-27 18:33:54 +00:00
Melanie Thielker
c0b60bb8cf
Stop DNE saying "Loading script" when it's actually unloading.
2008-09-27 14:19:03 +00:00
Teravus Ovares
85b280385f
* This is the very very early beginnings of an EventQueue:get module.
...
* This won't function yet as far as the client can tell.. because it doesn't respond to the first query with a 200 message.
* We have to figure out how to encode those binary values in the example code in the module...
* Committing this so we have a start point. Will continue to work on this more today.
2008-09-27 09:42:31 +00:00
Melanie Thielker
1f8888a287
Update unit tests
2008-09-27 05:58:52 +00:00
Melanie Thielker
85068dae60
Add friendly error messages to both engines.
2008-09-27 05:31:43 +00:00
Melanie Thielker
ec16750a87
Mantis #2277
...
Patch up a type name change in libomv. Thanks for tracking that down, idb
2008-09-26 23:38:59 +00:00
Melanie Thielker
5a9bb2eafb
And actually do what I intended to do with the last commit. Message is gone.
2008-09-26 20:44:41 +00:00
Melanie Thielker
b416422349
Kill "Compile successful" message when rezzing prims/wearing attachments
...
Changes behavior to send on_rez event to prims when rezzed from agent
inventory.
2008-09-26 20:18:31 +00:00
Melanie Thielker
415520cea6
Fix listeners in multi-region instances
2008-09-26 20:12:11 +00:00
Melanie Thielker
54ef88c12c
Thank you, idb, for a patch that implements the stubs for llGetAgentLanguage()
2008-09-26 18:40:16 +00:00
Melanie Thielker
698ecec6f7
Remove another interface that is no longer needed
2008-09-26 18:37:53 +00:00
Melanie Thielker
4a69791875
Add "Notecard saved" message to saves of notecards into prims
2008-09-26 18:16:13 +00:00
Melanie Thielker
e5db6a75d0
Finishing the code cleanup in DNE, make llDie work again in DNE.
...
Add some compile messages from XEngine into DNE as well.
2008-09-26 17:59:36 +00:00
Teravus Ovares
16b6738cda
* Patch from JHurliman
...
* Updates to libomv r2243,
* Remove lots of unnecessary typecasts
* Improves SendWindData()
Thanks jhurliman.
* Will update OpenSim-libs in 10 minutes..
2008-09-26 17:25:22 +00:00
Melanie Thielker
34cfd710ce
DNE code cleanups
2008-09-26 17:01:33 +00:00
Melanie Thielker
e8d1235e91
Adds support for the "Running" checkbox and the "Reset" button, as well as
...
ResetScripts In Selection, Set Script to [not] Running In Selection from
the tools menu. Allows DNE script reset without a full recompile.
2008-09-26 16:37:29 +00:00
Melanie Thielker
6e9d7484d0
Pluggable API module (XEngine style) support for DNE
2008-09-26 16:19:50 +00:00
Melanie Thielker
d8c470343e
Compiler Connection! One world, one compiler!
2008-09-26 16:11:53 +00:00
Melanie Thielker
0313a1d439
After the last commit, the old Common assembly was still being loaded.
...
Removing it made DNE scripts crash. Fixed here.
Now on to converge the compilers.
2008-09-26 15:44:14 +00:00
Melanie Thielker
12a6b7c835
Yay! Common/ is gone! One API is achieved!
2008-09-26 15:34:23 +00:00
Justin Clarke Casey
97323345ee
* minor: remove warnings
2008-09-26 15:28:14 +00:00
Justin Clarke Casey
4b78aa50e6
* Apply http://opensimulator.org/mantis/view.php?id=2274
...
* Reapply homer's click action implementation, which accidentally got blatted
* Thanks tyre
2008-09-26 15:18:22 +00:00
Justin Clarke Casey
1278563482
* refactor: do a tiny bit of cleanup
2008-09-26 15:15:19 +00:00
Melanie Thielker
24628928c3
Add per-instance date to DNE to avoid serializing stuff 10 times a second.
...
Clode cleanup and removal of commented stuff in ScriptManager.
2008-09-26 15:01:03 +00:00
Justin Clarke Casey
77eac708fa
* refactor: split out AssetXferUploader
2008-09-26 15:01:01 +00:00
Justin Clarke Casey
1f53099136
* refactor: split out AgentAssetTransactionsManager
2008-09-26 14:41:57 +00:00
Justin Clarke Casey
7ee1f3dff6
* Implment task inventory item asset update for the old non CAPS transaction system
...
* This means that saving notecards in prim inventories should now work.
* Not the nicest code in the world - the transactions system is pretty fugly right now
* PLEASE NOTE: Currently, the prim will not repersist until up to 15 seconds after it is unselected.
* What we really need is a proper mechanism so that any prim updates still waiting when the simulator is quit are performed before exit.
2008-09-26 14:28:24 +00:00
Melanie Thielker
9c26c8c8da
And another file
2008-09-26 13:46:46 +00:00
Melanie Thielker
b2d60ef91d
Pushing the missing file
2008-09-26 13:41:20 +00:00
Melanie Thielker
824283ca3c
Remove all the subclassing complexity and script server interfaces from
...
DNE and move all of DNE into the DotNetEngine directory. Remove references
that would cause the script runtime to load the entire engine + scene into
each script appdomain. This might help DNE memory consumption.
2008-09-26 13:16:11 +00:00
Teravus Ovares
6b13730bc7
* Wind updates. Still random.. but in 4 directions instead of two!
...
* It seems kind of silly to be building a 256x256 array just to use two 16 float blocks.. but for now the layerdata routine requires it so we'll go along with that.
* We only fill a 32x16 area of the 256x256 float array with data.
* We use patches 0,0 and 0,1 for the first and second patch to determine the direction and magnitude of the wind.
2008-09-26 12:56:17 +00:00
Melanie Thielker
92ebbd1420
Remove interfaces that are no longer used from DNE
2008-09-26 12:04:16 +00:00
Melanie Thielker
b65d2139c8
Bringing the OSSLPrim back. Prim.Rotation, etc, will now work again.
...
As a bonus, the OSSLPrim has now come to XEngine, too!
2008-09-26 03:04:36 +00:00
Melanie Thielker
c21a8b9969
Full API convergence. Api is back in LSL_Api.cs and OSSL_Api.cs.
...
The binaries are still different, but that is only a small step away now.
The OSSLPrim has been removed. This commit will breal all scripts
using Prim.Scale(), etc, syntax. It was not secure and will have to
be brought back in another form.
2008-09-26 02:51:00 +00:00
Charles Krinke
33add28b51
Mantis#2265. Thank you kindly, Idb for a patch that:
...
Implements the LSL function llGetAttached().
2008-09-26 01:49:06 +00:00
Homer Horwitz
91e0369f83
Implement LSL-function llSetClickAction.
2008-09-25 20:37:56 +00:00
Melanie Thielker
c713dcbada
Some script engine interface changes
2008-09-25 20:04:59 +00:00
Homer Horwitz
0e6237739a
Implement LSL-function llGetRegionAgentCount.
2008-09-25 19:02:14 +00:00
Melanie Thielker
f926d917cb
Fix script engine name parsing for DotNetEngine to make that actually work
...
Add a reference for Windows builds
2008-09-25 17:54:44 +00:00
Melanie Thielker
f11107821e
Add an extension to allow registering multiple interfaces of a type with
...
Scene. Make the script engines check that the engine name in the
//Engine:language comment is a valid engine and treat it as a normal
comment if it's not.
//DotNetEngine: needs to be written as //ScriptEngine.DotNetEngine: now, since
that is it's real internal name. //XEngine: still works
2008-09-25 17:26:32 +00:00
Charles Krinke
339671afc6
Mantis#2017. Thank you kindly, Tyre, for a patch that solves:
...
Check the client dialog box (from top menu) WORLD / REGION ESTATE
/ REGION tab. The client dialog box seems to have a hard limit of
about 32 characters per line available for displaying the region
version number. Our regions are sending a string which is greater
than the limit, causing the client to wrap the text and look ugly.
2008-09-25 14:57:40 +00:00
Melanie Thielker
f6650d33cc
Fixes an exception that is seen on regions running XEngine, where DNE
...
tries to stop a script that is not run by it
2008-09-25 14:20:31 +00:00
Teravus Ovares
4004172106
* Adds some Wind
...
* A little wind wouldn't hurt anyone, right? This is the 'slightly breezy' setting.. hopefully you won't notice 'much' of a difference.
* It turns out the terrain patch routine is similar enough to the wind version that it can be used to hack together a breeze generator with a few mods.
* Not much configuration.. yet. You only get breeze updates in the general vicinity of your camera now to keep bandwidth usage down.. and we're not talking about 'much' movement at the moment.
* initial version... could use improvement I'm sure.
2008-09-25 11:46:05 +00:00
Dr Scofield
b0192ea139
fixes a slight copy and paste bug in OGP module.
2008-09-25 11:04:52 +00:00
Teravus Ovares
17be1b736d
* In Standalone, add a persistant account for the OGP user.
...
* Gridmode, this has no effect at all.
2008-09-25 08:42:48 +00:00
Melanie Thielker
a3fcaef890
CONVERGENCE!!!!!!
...
The entire LSL API is now in the single, shared file
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api_Base.cs
This is for both engines. The OSSL function are still separate.
2008-09-25 06:04:47 +00:00
Melanie Thielker
f3c8963c86
Convergence is almost complete. This brings the diff between the API to < 10k
...
and makes it use a common set of types in both engine. Fixes the issues with
running both engines and HTTP requests / listens / timers etc..
Also fixes a couple of minor Scene issues and a CTB by nullref.
2008-09-25 05:13:44 +00:00
Charles Krinke
5edaddce6d
Mantis#2123. Thank you kindly, Idb for a patch that solves:
...
Under both DotNetEngine and XEngine, if an agent's UUID
is passed as the parameter to llGetObjectMass(),
it throws an exception.
2008-09-25 03:58:03 +00:00
Teravus Ovares
031eb08b8e
* Remove a message handler
...
* Add a more specific error handler for when we're unable to pull the OGP state
* rez_avatar/derez ?
2008-09-25 02:39:53 +00:00
Melanie Thielker
9131ba23e1
Add a module selection option for the MapImage Module as well
2008-09-24 22:24:10 +00:00
Melanie Thielker
1d7095fbce
Correct a capitalization error
2008-09-24 22:07:55 +00:00
Melanie Thielker
c009da3508
Add WorldMapModule = "name" to OpenSim.ini. Default is "WorldMap".
2008-09-24 21:48:55 +00:00
Homer Horwitz
fe9aea258f
Add persistence of active gestures. This needs an UGAIM update to work.
...
Active gestures are sent as part of the login-response. Added
fetchActiveGestures to SQLite and MySQL; added an empty one for MSSQL and
NHibernate. Using the empty ones won't cause errors, but doesn't provide
persistence either, of course.
2008-09-24 21:12:21 +00:00
Melanie Thielker
fb7a29a5ef
Rename lots of stuff in DNE to reduce source code differences in the
...
LSL implementation files. Rename lots of stuff in XEngine for the same
reason. Move methods between interfaces. Just refactor stuff.
2008-09-24 13:18:06 +00:00
Dr Scofield
201805172f
cleanups, fixing REST appearance services.
2008-09-24 11:39:08 +00:00
Melanie Thielker
a042302100
Mantis #2250
...
Make ambiguous implicit conversion from LSLInteger to uint explicit
2008-09-24 11:16:53 +00:00
Melanie Thielker
218902bedc
Decouple AsyncCommands from XEngine and the script instance. Make
...
all methods needed outside the API ststic. Async command processing
is now wholly internal to the API. This sets the stage for the next
convergence step.
2008-09-24 02:58:05 +00:00
Jeff Ames
3f79e6b3e7
Update svn properties, formatting cleanup.
2008-09-23 23:14:00 +00:00
Teravus Ovares
ab4e48e57d
leyla found a capitalization error in one of the OGP messages. Thanks leyla!
2008-09-23 21:24:38 +00:00
Melanie Thielker
48da2c24a2
Add the missing file
2008-09-23 21:23:23 +00:00
Melanie Thielker
bbb962f64e
Refactor BuiltIn_Commands_BaseClass to ScriptBaseClass to ease the later
...
code merging and transition to Shared/
2008-09-23 20:20:40 +00:00
Melanie Thielker
1e7a820bd1
Remove some debug output
2008-09-23 20:04:03 +00:00
Melanie Thielker
88277366bf
Switches the direct event postings in the API file over to the Shared/
...
new style of parameter passing, using the IEventReceiver interface.
2008-09-23 20:02:32 +00:00
Melanie Thielker
6425680cff
Add IEventReceiver to DNE - a consolidation series patch
2008-09-23 17:33:00 +00:00
Melanie Thielker
420a645036
Remove Common/LSL_Types.cs. Both script engines now use a single version
...
of the types, located in OpenSim/Region/ScriptEngines/Shared/LSL_Tyoes.cs
Also changes the compiler in DotNetEngine to use that. You _will_ need to
let your region recompile all your scripts!
2008-09-23 15:14:15 +00:00
Melanie Thielker
8ac4437d9a
Add constants wrapping code from XEngine to DNE. This syncs up the parsers
...
between the engines again. Also, committed r60 in opensim libs with the
parser source changes.
2008-09-23 14:17:32 +00:00
Melanie Thielker
d95794d05c
Refactor XEngine parser as per suggestions from mikem
2008-09-23 13:28:17 +00:00
Melanie Thielker
aef2afd3be
Add file missed in last commit (which never completed)
2008-09-23 12:49:31 +00:00
Melanie Thielker
dffa6567e8
Alter tests to match up with the results after tyre's patch
2008-09-23 12:17:21 +00:00
Melanie Thielker
44e566260c
Mantis #2243
...
Thank you, tyre, for a patch that refactors LSL to use a unified set of
method signatures and type names, reorders methods and removes unused
and adds new method stubs.
2008-09-23 11:41:34 +00:00
Melanie Thielker
525f66b6f1
Small fix to eliminate a beauty spot
2008-09-23 03:49:07 +00:00
Melanie Thielker
70d264ee6c
Update the permissions system to handle scripts and notecards the way
...
it was meant to. No functional changes, just better code
2008-09-23 03:36:16 +00:00
Teravus Ovares
611ffa3f60
* Update in OGP draft 3 protocol spec with regards to seed region requests running over GET instead of POST and the rez_avatar/request cap being wrapped in the capabilities map.
2008-09-23 01:54:04 +00:00
Melanie Thielker
48672c7fd6
Move script and notecard open perms checks from ClientView to the
...
perms module
2008-09-22 22:33:00 +00:00
Justin Clarke Casey
878166622b
* Remove some old libsecondlife workarounds as suggested by jhurliman in http://opensimulator.org/mantis/view.php?id=2236
2008-09-22 20:16:11 +00:00
Justin Clarke Casey
8e00e933a4
* Apply http://opensimulator.org/mantis/view.php?id=2234
...
* Exceptions can thrown by llGetOwnerKey()
* Thanks idb
2008-09-22 20:09:06 +00:00
Melanie Thielker
c64551710e
Remove the ugly-as-sin "interop" hack script perms fudging in
...
object inventory
2008-09-22 14:03:42 +00:00
Melanie Thielker
a882fddb07
Remove comment in perms module after consulting with awebb
2008-09-22 14:01:41 +00:00
Melanie Thielker
908a1932a8
Fix a small logic error in my perms module changes
2008-09-22 13:03:54 +00:00
Melanie Thielker
d7a98925ce
Create CanEditObjectInventory to preserve the ability
...
to have different permissions on inventory and object
edits. This may be needed by the viewer on public grids
2008-09-22 12:52:56 +00:00
Dr Scofield
7def786ef4
cleanups in inventory REST code. also, disables digest authentications
...
for inventory REST calls for the time being, as firefox, curl, and
also python's urllib2 cannot authenticate using digest auth.
fix permission checking for prim inventory to be the same as for
normal edit ops.
2008-09-22 11:20:09 +00:00
Melanie Thielker
b8a39a4dde
Remove the script engine identifier tag, so the compiler just sees
...
the language specifier. Makes language specifiers work again with
script engine specifiers.
2008-09-22 11:18:49 +00:00
Dahlia Trimble
232aa783ad
Disabled use of ODE internal geometry to see if it affects the "waves finger" error
2008-09-22 02:33:48 +00:00
Melanie Thielker
79ac01fb0c
Prevent scripts from running under multiple engines at once
2008-09-22 02:11:40 +00:00
Melanie Thielker
1602ba6175
Allows to use the new script engine feature. Begin your script with
...
//XEngine: or //DotNetEnine: , optionally followed by a language
like //XEngine:lsl, and it will be run on the chosen engine.
2008-09-21 22:16:17 +00:00
Melanie Thielker
94aaf67dfa
Change the scirpt engine loading mechanism. Script engines are now
...
ordinary region modules and are able to coexist in one instance.
See http://opensimulator.org/wiki/ScriptEngines for details. There were
changes to OpenSim.ini.example, please note DefaultScriptEngine.
Also see the User docs and FAQ on the Wiki. Default is DotNetEngine.
2008-09-21 21:47:00 +00:00
Justin Clarke Casey
451bd5a0ca
* minor: warnings removal
2008-09-21 20:56:39 +00:00
Charles Krinke
37da083de5
Mantis#2233. Thank you kindly, Idb, for a patch that solves:
...
The constants for llGetParcelDetails were missing
for DotNetEngine and XEngine.
2008-09-21 20:51:55 +00:00
Homer Horwitz
0f020a7cd2
Fix another reason for #2218
2008-09-21 17:01:58 +00:00
Justin Clarke Casey
1a71a3a567
* Fix http://opensimulator.org/mantis/view.php?id=2189
...
* Allow a grid mode region simulator to properly shutdown even if the grid service is offline
2008-09-21 16:58:14 +00:00
Homer Horwitz
f6071c030d
Don't attach attachements to child agents. This coincidentially fixes a race
...
condition that was the reason for mantis #2218 .
2008-09-21 16:07:41 +00:00
Melanie Thielker
83b030229e
Mantis #2232
...
Thank you, idb, for a patch that fixes an overflow issue in casting
string -> int for both engines, and adds tests!
2008-09-21 15:54:58 +00:00
Homer Horwitz
0105171fc4
The viewer only stores a screenshot on "Set home to here" if the alert that
...
follows show the text "Home position set.". Changed the message accordingly.
2008-09-21 13:31:30 +00:00
Melanie Thielker
8407d7fbd2
Mantis #2230
...
The result of constants arithmetic can be a CLI type. This allows floating
point CLI types to be parsed out of lists properly.
2008-09-21 12:18:30 +00:00
Dahlia Trimble
52af9b3fd7
ODE was using a box collision shape for some spheres - changed those cases to now use a mesh instead.
2008-09-21 08:12:52 +00:00
Melanie Thielker
85586bb7b2
Change XEngine startup to enable it to run as a normal region module
...
rather than a special one
2008-09-21 02:52:12 +00:00
Jeff Ames
c8349e21c4
Update svn properties, minor formatting cleanup.
2008-09-21 02:41:22 +00:00
Melanie Thielker
70be30fbaa
Completely revert the notecard uploading changes I made, since they
...
appear to break script saves in prims for some.
2008-09-21 00:05:33 +00:00
Melanie Thielker
82d79e3b0b
Partially implement notecard saves in task inventory. Still makes the
...
notecard go read-only, but changes are saved.
2008-09-20 20:56:39 +00:00
Melanie Thielker
5557fb9dd2
XEngine: Fix loading lists from saved state
2008-09-20 20:07:10 +00:00
Justin Clarke Casey
41728f8a33
* Tidy up OGS1GridServices
...
* Remove what should be unnecessary RemoteException catches when executing local backend calls
2008-09-20 19:55:49 +00:00
Justin Clarke Casey
23ea8f5221
* refactor: remove unnecessary packet null check in LLClientView
...
* if a packet was really null it would be caught by the general exception handler at the top of the client thread, which would also provide more information and attempt a clean
shutdown
2008-09-20 19:05:00 +00:00
Melanie Thielker
e7064c0b19
Fix up some ScriptBase details
2008-09-20 18:17:04 +00:00
Homer Horwitz
f352d6ed9b
- Consistency fix: Like llGetNumberOfNotecardLines, llGetNotecardLine returns NULL_KEY on error now
...
- Conformance fix: If the notecard can't be found, shout on DEBUG_CHANNEL as the docs state
- Bug fix: Don't let llGetNotecardLine throw an exception on freshly created notecards
2008-09-20 17:32:58 +00:00
Teravus Ovares
42f04233a4
* Fix build error, (maybe)
...
* Might break something.. hard to say.. 0.o
2008-09-20 17:17:41 +00:00
Melanie Thielker
5a1be7835c
XEngine: Fix llGetListEntryType to return the correct type for the LSL types.
...
Change serialization to omit types it can't deal with.
2008-09-20 16:24:36 +00:00
Melanie Thielker
f8f1bc6199
Add <expire> tag to data snapshot to give the search server an idea
...
of when to query this node again
2008-09-20 16:15:10 +00:00
Homer Horwitz
4d8544dada
Fix Mantis #2215 : llGetNotecardLine() not detecting EOF under DNE
2008-09-20 14:46:09 +00:00
Teravus Ovares
12946e3327
* One more tweak in the OGP module to support OGP draft3.
...
* Recognize the proper cap message for rez_avatar/rez in the response cap.
2008-09-19 23:59:49 +00:00
Teravus Ovares
293a822f74
* Implements an experimental method to define which region you want to go to in your 'region domain' in OGP.
2008-09-19 21:37:49 +00:00
Justin Clarke Casey
7eb3b5a578
* minor: eliminate the current warnings
...
* you'd think from all this that I was one of those fanatically tidy people. I can assure you from looking around my bedroom/study that this is not the case :)
2008-09-19 20:39:30 +00:00
Justin Clarke Casey
e518fe5d34
* Enables logins to regions on a grid once they have finished starting up (this does not include script startup).
2008-09-19 20:02:19 +00:00
Justin Clarke Casey
fb5014cf5b
* Duh, forgot I had undone some of the changes I meant to include in the previous commit
2008-09-19 19:07:20 +00:00
Justin Clarke Casey
4c7ddd2c71
* Remove one possible deadlock situation as seen today
...
* On script rez, XEngine was taking an m_scripts lock and then later on an m_parts lock when looking for a part by local id
* In the meantime, a scene object being deleted would take an m_parts lock and then later on try to take an m_scripts lock when it tried to trigger script removal
* There may be better ways to resolve this, but I believe that in general, we must always take an m_parts lock before an m_scripts lock
2008-09-19 18:50:19 +00:00
Justin Clarke Casey
5fb7b485b2
* Only allow logins on standalone when the sim has completed it's initial startup (script startup doesn't count here)
...
* There was a small window where region logins were allowed before modules were loaded - avatars logins that hit this window could have caused bad things to happen.
* A similar change will follow for grid mode sometime soon
2008-09-19 17:41:21 +00:00
Melanie Thielker
5d3fe9f8cd
Guard LLRezObject against NaN
2008-09-19 17:34:35 +00:00
Melanie Thielker
592f98c4aa
Mantis #2217
...
Guard against NaN being returned from llRotBetween. Return a zero rotation
if the result is NaN.
2008-09-19 17:00:17 +00:00
Melanie Thielker
092ad53dc7
Fix issue introduces by a fix in 6256. Fixes mantis #2214
2008-09-19 13:11:55 +00:00
Dahlia Trimble
e6afb28355
re-enabled some ODE internal proxies for some simple prim types to try to save some more memory
2008-09-19 09:13:27 +00:00
Teravus Ovares
610313ea64
* Added null exception handler where we couldn't locate a user data record in the cache for the user
...
* More OGP tweaks to make it play nice in an error condition.
* Still Experimental.
2008-09-19 01:11:40 +00:00
Teravus Ovares
a1217410e5
* Switches content type from application/xml+llsd to application/llsd+xml on outgoing requests.
...
* Monitors / for getting the seed cap for rez_avatar/request on application/llsd+xml && application/xml+llsd && !application/xml
* Experimental, this might break LibOMV temporarily.
2008-09-19 00:13:16 +00:00
Melanie Thielker
48c2ef7e12
Fix llParcelMedia queries. Correct types and add a missing ToString() (XEngine)
2008-09-18 20:23:18 +00:00
Homer Horwitz
1c08f46ec3
- Add Dispose method to IRegionDataStore
...
- Add necessary dummy Dispose-methods where they are missing
- Implement the SQLite Dispose-methods
(currently only used for unit tests, in the next commit)
2008-09-18 20:10:09 +00:00
Justin Clarke Casey
48978ba3e0
* Apply http://opensimulator.org/mantis/view.php?id=2212
...
* Update llGetNumberOfNotecardLines() and llGetNotecardLine() to use dataserver on dotnetengine
* Thanks M.Igarashi
2008-09-18 18:58:39 +00:00
Justin Clarke Casey
8ff1bc5b03
* Make the ode simulation update loop print out the stack if an exception occurs (at least, this is what will happen on linux)
2008-09-18 18:54:42 +00:00
Melanie Thielker
6cfe4784cb
Reverse yes and no for the parcel's "public" property to make it accurately
...
reflect parcel status
2008-09-18 18:54:27 +00:00
Melanie Thielker
903fbd1f06
XEngine: fix collisions, add event coalescing for collision events.
...
Fix a nasty concurrency issue that could cause a high event frequency
to start more than one thread pool job for a single script.
2008-09-18 18:50:39 +00:00
Teravus Ovares
e6f3181d3a
* Updates the SQLite region database to support the same properties that the MySQL version does for the table, prims.
...
* If this causes any unit tests to fail, the tests need to be updated.
2008-09-18 17:47:29 +00:00
Melanie Thielker
584704edd3
Remove redundant permissions check in OSSL_Api.cs
2008-09-18 17:06:47 +00:00
Melanie Thielker
f856977c7b
Fix list reset behavior, and thereby squash one warning
2008-09-18 17:04:02 +00:00
Dr Scofield
0dff3f2383
From: Robert Smart (SMARTROB@uk.ibm.com)
...
Patch for new scripting method osParseJSON.
also, a couple of warning bugs killed.
2008-09-18 16:53:26 +00:00
Jeff Ames
ac083becd9
Update svn properties, minor formatting cleanup.
2008-09-18 16:07:06 +00:00
Dr Scofield
e3a3ce7628
code formatting cleanup.
2008-09-18 15:54:27 +00:00
Dr Scofield
03f246d6fe
adds support to delete a region completely and offers that
...
functionality via the console command "delete-region" and also via
RemoteAdminPlugin.
minor typo fix.
2008-09-18 15:44:05 +00:00
Melanie Thielker
23c217dd7b
Kan-Ed fix series.
...
Correct a condition where a prim is linked before it has been persisted
for the first time and is then persisted through it's former SOG with
a bad offset position.
2008-09-18 15:24:16 +00:00
Melanie Thielker
4cb430eb33
Mantis #2213
...
Thank you, nlin, for a patch that prevents physical prims from being
created twice when rezzed from a script.
2008-09-18 12:50:01 +00:00
Melanie Thielker
bf0b7eaecb
Another pointless multiplication/division removed
2008-09-18 12:44:18 +00:00
Melanie Thielker
1160731100
XEngine API refactor. Fully implement ALL_SIDES with sanity checks.
...
Correct color handling functions to no longer return the inverse color.
Remove pointless * 256 / 256 legacy constructs.
2008-09-18 12:37:44 +00:00
Melanie Thielker
deaf0e3814
Kan-Ed fix series.
...
XEngine: Change a number of methods to use the new link part method.
Fix ALL_SIDES for llSetColor, llSetTexture, llSetAlpha, llSetPrimitiveParams,
llGetPrimitiveParams(PRIM_TEXTURE, PRIM_COLOR).
2008-09-18 03:38:20 +00:00
Melanie Thielker
553d554e2c
Kan-Ed fix series.
...
XEngine: Introduce a common method to determine link parts to work on.
Fix llSetLinkColor method.
2008-09-18 02:54:17 +00:00
Melanie Thielker
66febc47ad
Kan-Ed fix series. Fix up llRezAtRoot and llRezObject, fix llCreateLink
...
to send a full update and do a persistence save.
2008-09-17 23:50:21 +00:00
Melanie Thielker
386c3e41f0
Add various XML elements to the data snapshot. Changes by Fly-Man and
...
myself. Fix a crash in DataSnapshot when no master avatar and no
estate owner is set (e.g. "Mainland").
2008-09-17 23:08:46 +00:00
Melanie Thielker
7e8320bada
Kan-Ed fix series. Fix llTakeControls to behave as documented.
...
XEngine fixes: prevent queue overruns, prevent spamming when no key
is down. Release controls when conflicting permissions are requested
or permissions are refused later. Release when prim or script are deleted.
Fixes Scene script instance deletion semantics.
2008-09-17 22:00:56 +00:00
Justin Clarke Casey
c9c59c68f1
* Apply http://opensimulator.org/mantis/view.php?id=2207
...
* Attached patch implements llRequestAgentData for DotNetEngine. (It already is implemented in XEngine.)
* Thanks Y. Nitta
2008-09-17 13:18:48 +00:00
Justin Clarke Casey
6bcdc82a46
* Apply http://opensimulator.org/mantis/view.php?id=2206
...
* Fix/implement LSL group-related functions llDetectedGroup, llSameGroup
* Thanks nlin
2008-09-17 13:14:07 +00:00
Jeff Ames
5c165c9bdd
Update svn properties, minor formatting cleanup.
2008-09-16 23:21:50 +00:00
Justin Clarke Casey
0e6e8624ad
* Apply http://opensimulator.org/mantis/view.php?id=2205 with a few small tweaks
...
* LSL Conformance: llSetPayPrice should accept more than four arguments in list
* Thanks kcozens!
2008-09-16 18:49:57 +00:00
Justin Clarke Casey
ad7df5b500
* Apply http://opensimulator.org/mantis/view.php?id=2204 (with a small tweak)
...
* Attached patch implements LSL llGetAgentSize() for DotNetEngine and XEngine.
* Thanks Y. Nitta!
2008-09-16 17:57:34 +00:00
Justin Clarke Casey
c6dfc99f22
* Apply http://opensimulator.org/mantis/view.php?id=2203
...
* Implementation of LSL llBreakLink and llBreakAllLinks
* Thanks Y. Nitta!
2008-09-16 17:48:57 +00:00
Justin Clarke Casey
6b0097039a
* Apply http://opensimulator.org/mantis/view.php?id=2202
...
* llGround causes Array out of bounds exception in KanEd#11 script
* Thanks Y. Nitta!
2008-09-16 17:41:01 +00:00
Justin Clarke Casey
f437c4d8c9
* minor: oops, remove a warning I just inserted myself - naughty boy
2008-09-16 17:35:35 +00:00
Justin Clarke Casey
ec4189b722
* If an individual scene object throws an exception while storing, deal with this locally rather than letting it propogate up the stack
...
* This will allow other scene objects to persist and stop the exception taking down the whole region server
2008-09-16 17:30:30 +00:00
Justin Clarke Casey
0b52453762
* Change XEngine default configuration values to match those in OpenSim.example.ini
...
* Particularly important for max threads since setting this to 2 was causing all events to wait behind the regularly sleeping maintenance event
2008-09-16 16:41:46 +00:00
Justin Clarke Casey
7f3bfa277b
* minor: method documentation
2008-09-16 16:37:16 +00:00
Melanie Thielker
f46fc508d1
Mantis #1843
...
Applying DotNetEnine part of this patch. Thank you, nlin!
Corrects ad hoc key list comparison.
2008-09-16 10:26:54 +00:00
Jeff Ames
eee31c6f28
Minor formatting cleanup.
2008-09-16 10:15:09 +00:00
Dr Scofield
03e3f88059
From: mike pitman <pitman@us.ibm.com>
...
New patch (terrainedit2.patch) is attached that passes unit tests (
and in fact supplies the new unit test to pass..:) The previous
failure was due to the change of the brush size to be linear instead
of exponential, and the fact that the test parameters were assuming
the exponentional brush size.
This patch also removes dependency on 'duration' argument for
adjustment step size. This should address the widely differing reports
of instability with terrain editing.
Note: 'doing this right' implies ultimately reading the parameters
from the ini file, which this patch does not do.
2008-09-16 07:19:22 +00:00
Melanie Thielker
ae63b2d2ca
Finish up OSSL enable/disable options in XEngine.
...
Now each function can be allowed, subject to threat level, disabled,
or restricted to certain UUIDs.
2008-09-15 23:50:07 +00:00
Melanie Thielker
2df0499da7
Refactor the os functions allowed check into the threat check method
2008-09-15 22:52:23 +00:00
Justin Clarke Casey
a28a478546
* minor: recomment the console c# script printout I accidentally left in on the last ocmmit
2008-09-15 20:58:16 +00:00
Justin Clarke Casey
2b9e115fd7
* minor: eat up some yummy warnings
2008-09-15 20:50:57 +00:00
Justin Clarke Casey
ddaa90d270
* refactor: collapse UpdateUserProfileProperties() into existing UpdateUserProfile
...
* the methods were identical except that the Properties one did a check for the user profile beforehand. However, every caller was doing this already anyway.
2008-09-15 19:02:34 +00:00
Justin Clarke Casey
c2ee263999
* refactor: Break out IUserServiceAdmin out of IUserService since admin methods don't need to be implemented on Grid hosted region servers
2008-09-15 18:23:36 +00:00
Justin Clarke Casey
9170361bee
* Complete refactoring accidentally left unfinished so that all server help requests flow through the ShowHelp() method
2008-09-15 17:45:48 +00:00
Justin Clarke Casey
6d289c3ae0
* Add "reset user password" command to standalone region console
...
* Grid user server implementation to follow shortly
2008-09-15 17:29:11 +00:00
Melanie Thielker
bf8b70ebeb
Add the option to use Allow_osFunction = false for each OS function
...
in the XEngine section
2008-09-15 15:36:51 +00:00
Melanie Thielker
2eac6c17f4
Add more granularity and a risk asessment system to the OSSL API in XEngine.
...
Adds the fix from Mantis #2197 in it's new form.
Stage one of the scripting security changes, more to come.
2008-09-15 15:25:48 +00:00
Dr Scofield
4d88246a3f
reverting r6302
2008-09-15 14:49:22 +00:00
Charles Krinke
5164fa2411
Mantis#2197. Thank you kindly, Tyre, for a patch that:
...
adds the new function osTeleportAgent().
2008-09-15 14:32:02 +00:00
Dr Scofield
0e2edbb5d4
From: mike pitman <pitman@us.ibm.com>
...
fixes the terrain spikes, and is the result of mostly a tuning
operation on the smooth and flatten tools. I dug in and found that the
spikes apparently result from smooth's overly aggressive iteration
steps toward the average curvature, which leads to an instability that
blows up the heights. I introduced a scaling factor to dampen the
'duration' parameter which tames progress and seems to keep things
stable.
2008-09-15 13:44:58 +00:00
Teravus Ovares
e4ca8e613a
* Remove a hack I put into OGP so that I could test OGP over SSL with the SeedCap response not being SSL
2008-09-14 23:46:38 +00:00
Teravus Ovares
dbbbec48df
* This update makes configuring SSL a little easier on Windows XP. It also makes it possible to run a HTTPS server on the region. It also has a junk Certification authority for test purposes.
...
* There are still a lot of things that are hard coded to use http. They need to be fixed.
* Also includes directions
* A standard junk PEM file to append to app_settings/CA.pem in the client so SSL will work
2008-09-14 18:39:17 +00:00
Homer Horwitz
4ba7ce5981
Added some further clipping to color- and alpha-values.
2008-09-14 15:46:54 +00:00
Melanie Thielker
de44f765e3
Mantis #2186
...
Prevent illegal color values from being set.
2008-09-14 15:18:58 +00:00
Adam Frisby
3476dd56ea
* Converted a number of methods within the login processes from private to protected.
...
* Made several methods virtual to allow derivative overrides.
* Minor cleanups.
2008-09-14 04:13:15 +00:00
Charles Krinke
1d5e870ee2
Thank you kindly, CMickeyb for a patch that:
...
Moved intialization of appearance from the SendInitialData
event handler into CompleteMovement handler. That ensures
that m_appearance is initialized before the inventory is
retrieved (so there is a place to check on attachments).
2008-09-14 02:56:51 +00:00
Adam Frisby
e946b40fdd
* Minor fixes and cleanups around code being used for Rex Module work.
2008-09-14 01:49:47 +00:00
Charles Krinke
f2d60976d0
Mantis#2183. Thank you kindly, Ewe Loon for a patch that addresses:
...
after using llTakeControls my sim receives about 200 messages per second,
l of which get queued , this could be because there is no lag as the viewer
and sim are on the same computer. The patch I have included checks to see if
the "Changed" param is 0 then searches the EventQueue for Control messages
being sent to the same localid, if it finds a message already in the Queue
and Changed==0 then the new message is only notifing you the key is being held,
since there is already a message the new one isnt needed so it isnt added
to the queue.
2008-09-14 00:47:45 +00:00
Homer Horwitz
37e6ce24a2
Fixed several cases of inverted colors and alpha in DNE and XEngine.
...
Added clamping to 0.0 - 1.0 for R, G, B, and A.
2008-09-13 22:48:30 +00:00
Jeff Ames
b4141f9e56
Formatting cleanup.
2008-09-13 22:07:07 +00:00
Homer Horwitz
54e1988d85
Fixing a bug in DNE which caused the face-colors to be inverted when set via script.
2008-09-13 21:54:07 +00:00
Jeff Ames
6e6465f6c1
Update svn properties. Minor formatting cleanup. Fix some minor typos. Remove some old dead code.
2008-09-13 21:39:26 +00:00
Homer Horwitz
1ab0c0192f
Fix another missing UUID before a ToString().
2008-09-13 21:14:24 +00:00
Melanie Thielker
8830b8b72c
Mantis #2018
...
Read animation data from avataranimations.xml to allow default animations
to be started and stopped by name from scripts.
2008-09-13 19:51:56 +00:00
Homer Horwitz
ae9e4e8144
Update avatar-position while avatar is sitting and the prim is moved ( #2159 ).
...
I decided to make ParentPosition a public property in ScenePresence, because
that's exactly what happens (the parent position changes on prim move).
2008-09-13 18:42:09 +00:00
Melanie Thielker
91e3463582
Remove the cruft of accessing a private member of another module's class
...
from DataSnapshot and replace it with a best practices approach, making
it much less dependent on the land module's internal structure and types.
2008-09-13 17:50:02 +00:00
Melanie Thielker
e45db5917b
Fix a typo in the DataSnapshot module
2008-09-13 16:53:58 +00:00
Melanie Thielker
99f1e1d107
Mantis #2182
...
Thank you, tyre, for a patch that fixes the sender UUID in scripted IM
2008-09-13 16:34:29 +00:00
Melanie Thielker
dccdeb57bb
Fix some string to float casting nastiness. The "train script" now
...
works. Also makes llGetFreeMemory return the constant 16384.
LLGetFreeMemory is useless in SL, as it never goes up, only down.
So, the only thing it is used for, in practice, is to detect an imminent
stack/heap collision, a danger we don't have.
2008-09-13 16:16:08 +00:00
Melanie Thielker
fdb24c46ac
Provide a GetApi method on the IScriptEngine to get a named API reference
...
This allows cross-api method calls on the implementation and also allows
"Meta APIs" that only provide common functionality to other APIs
2008-09-13 14:40:42 +00:00
Melanie Thielker
9222c5154e
Change all LSL functions to return LSL types instead of base types.
...
Remove some unused osFunctions that were left in the LSL function
file from the separation way back when. Inline the osSetParcelMediaURL
code to get rid of the osFunction. Really need to add a way for one API
to call another.
2008-09-13 13:47:23 +00:00
Melanie Thielker
7f3a98b76d
Fix string parameters to functions taking lists as arguments. LSL
...
functions return CLI strings, which, in the case of lists, don't
get wrapped. Therefore, the list had to be able to deal with
that CLI type here. The correct fix would be to change all LSL
function returns to LSL types.
2008-09-13 12:58:44 +00:00
Dahlia Trimble
8a8b01d1b8
Circular path prim meshes are now joined where the path ends meet if they match. This may have a minor improvement in memory and speed performance, but it's mainly for viewer applications and it also syncs the c# version of PrimMesher with my python sandbox version.
2008-09-13 10:22:17 +00:00
Homer Horwitz
8ae8bec4d1
Changed "show users" command to display only root agents, "show users full" to
...
display root and child agents (mantis #2171 ).
2008-09-12 22:39:17 +00:00
Justin Clarke Casey
9cdd9e215c
* Patch http://opensimulator.org/mantis/view.php?id=2172
...
* Patch attached that adds the check for uninitialized appearance when inventory items are received and processed. Also attempts to ensure that appearance is initialized even
when the profile cache has not been built.
* This will not fix the race condition, but should at least remove the unhandled exception that is being reported in Mantis 0002126.
* Thanks cmickeyb
2008-09-12 21:32:45 +00:00
Justin Clarke Casey
0dc1018ca1
* minor: Remove warnings
...
* leaving in the ones to do with ScriptBase since these actually indicate coding bugs that I don't have the time/brainpower to fix at the moment
2008-09-12 21:20:24 +00:00
Justin Clarke Casey
62d1eba3b2
* Patch http://opensimulator.org/mantis/view.php?id=2167
...
* Force ClickAction persistence even if other object properties are not edited
* Thanks nlin!
2008-09-12 20:42:04 +00:00
Justin Clarke Casey
52a4c4d82f
* Check in first part of http://opensimulator.org/mantis/view.php?id=2073
...
* This patch aims to introduce look at direction persistence between logins. It won't be active until the second part of the patch is committed in about two weeks time. At
this point, region servers that haven't upgraded past this revision may run into problems
* This checkin upgrades the user database. As always, we recommend you have backups in case something goes wrong.
* Many thanks to tyre for this patch.
2008-09-12 20:12:03 +00:00
Dahlia Trimble
febb781779
remove hidden faces inside prim meshes to improve memory use and startup time
2008-09-12 19:42:26 +00:00
Tedd Hansen
85a0e03984
Note to self: VisualSVN not fully compatible with OpenSim prebuild :)
2008-09-12 18:46:52 +00:00
Tedd Hansen
b41acfb4cf
Cut of remote server as AppDomains and even WCF can do it better (better means less code in this case)
2008-09-12 18:42:02 +00:00
Teravus Ovares
18f490a30c
* Fix a missing .UUID in llInstantMessage
2008-09-12 18:17:01 +00:00
Sean Dague
a408b58209
add the m_host.AddScriptLPS(1); line. I'm not actually sure what it
...
does, but it seems every other function here has it, so it is probably
needed.
2008-09-12 15:04:16 +00:00
Sean Dague
1b333a0f58
From: Rob Smart <SMARTROB@uk.ibm.com>
...
Implement an osParseJSON method useful for handling simple JSON returns
from http requests. This will only work in C# at this point.
2008-09-12 15:04:13 +00:00
Justin Clarke Casey
90ec9c46d5
* Move the ResetChildPrimPhysics() calls to after physics have been applied to the parts rather than after each individual part
...
* From looking at the code there shouldn't be any difference, and this appears to speed up prim loading and make a certain failure case (where prims seem to be going out of
bounds on startup) less of a problem.
* However, if I've been bad please revert this patch
2008-09-12 00:45:24 +00:00
Justin Clarke Casey
3f1dbae8e4
* minor: various doc and tidy up, logging increase to make it clearer which prim is failing a border crossing
2008-09-12 00:37:59 +00:00
Melanie Thielker
ecc24c3c63
Revert 6242 because of a possible licensing issue
2008-09-12 00:33:24 +00:00
Melanie Thielker
7a63fe7c07
Add the UUIDs of the standard animations. Thanks, Ewe Loon!
2008-09-12 00:23:41 +00:00
Teravus Ovares
23e52993fb
* This updates the OGP module to support both the revision 2 and revision 3 of the OGP protocol. (Assuming I understood it correctly)
...
* This also removes the host--> ip pre-resolve workaround.
2008-09-11 18:21:00 +00:00
Justin Clarke Casey
f3497d9f57
* Start loading prims after region module configuration rather than before
...
* In some circumstances, loading prims can invoke region modules
2008-09-11 13:56:25 +00:00
Charles Krinke
9af5a44c91
Revert the two debug log statements from r6212 as described in Mantis 2126.
2008-09-10 14:12:56 +00:00
Melanie Thielker
a68e34b558
Mantis #511
...
Allow parsing of hexadecimal int constants from strings.
Also fixes a DBNull value in the touch type field crashing the sim
2008-09-10 06:14:38 +00:00
Jeff Ames
b9b996be38
Update svn properties, minor formatting cleanup.
...
Fix unreachable code due to typo in llDetectedGroup.
2008-09-10 05:17:28 +00:00
Charles Krinke
03672c35e4
Thank you kindly, CMickeyB for a patch that adds a
...
couple of debug statements for null items while we
diagnose our interrmittent inventory issues. I looked
at this and it seems helpful to others. We can back it
later if desired.
2008-09-10 03:27:09 +00:00
Charles Krinke
7305dadba2
Mantis#2153. Thank you kindly, Godfrey for a patch that solves:
...
osSetDynamicTextureData() produces error on console if
ExtraParams passed empty string
2008-09-10 03:19:57 +00:00
Charles Krinke
291aa9fa10
Implementation of llDetectedGroup for DotNetEngine.
2008-09-10 02:25:02 +00:00
Charles Krinke
796fedb1e9
*Almost* have a complete implementation of llDetectedGroup.
...
One member missing, so a portion is commented out.
2008-09-10 02:10:25 +00:00
Charles Krinke
6b10725f20
Implementation for llDetectedLinkNumber in DotNetEngine.
2008-09-10 01:54:25 +00:00
Mike Mazur
e0d092ec53
Thanks, nlin, for a patch implementing persistence for "When Left Clicked"
...
object property. Fix issue 2149.
2008-09-10 00:19:36 +00:00
Sean Dague
f141751cf9
From: alan_webb@us.ibm.com
...
Make CHANGED constants consistent with LSL, and consistent across the
code base
2008-09-09 14:51:41 +00:00
Sean Dague
37557da706
From: alan_webb@us.ibm.com
...
Fix an invalid bounds check in Builtin_Commands
2008-09-09 14:51:30 +00:00
Adam Frisby
c95bdb83c0
* Adds OnGenericMessage and SendGenericMessage functionality to IClientAPI.
...
* Please don't break the build. *fingers crossed*
2008-09-09 05:25:29 +00:00
Melanie Thielker
4f85a9aa72
Fix llResetScript() and the reset button to actually restore global
...
variables to their initializer values, rather then zeroing them.
Also handles lists properly now.
2008-09-09 04:16:52 +00:00
Melanie Thielker
3ee91cb3c6
Preserve link numbers when items are taken into inventory and re-rezzed.
2008-09-09 03:48:09 +00:00
Jeff Ames
fae34bb10c
Update svn properties, formatting cleanup.
2008-09-09 01:26:48 +00:00
Melanie Thielker
3e1441afe1
Fix state xxx within state xxx itself triggering a state "change" to
...
same state
2008-09-09 01:24:58 +00:00
Melanie Thielker
084ea99be6
Fix string -> int cast to variable
2008-09-09 01:01:45 +00:00
Melanie Thielker
75380bc1aa
Fix delimiter access from list for llParseStringKeepNulls
2008-09-09 00:43:14 +00:00
Melanie Thielker
19c9ea8ca0
Fix an inventory naming regression
2008-09-08 23:54:52 +00:00
Melanie Thielker
6ca7afabca
Remove casting nastiness in LSL_Api
2008-09-08 23:13:59 +00:00
Melanie Thielker
1034c1cdc1
Correct state handling and state event masks. Prims will now show
...
touch, pay, etc script states correctly.
2008-09-08 22:19:06 +00:00
Sean Dague
ce0a8d7bef
changes to Test directory structure per opensim-dev conversation
2008-09-08 20:34:45 +00:00
Melanie Thielker
41a68ca5db
Fix component order on a quaternion for the sit target. This caused
...
sit positions to be upside down until the script was reset.
2008-09-08 19:57:28 +00:00
Melanie Thielker
6447d7132f
Adapt the unit tests to the new list rules, change some casts to
...
new method for testing
2008-09-08 19:29:16 +00:00
Melanie Thielker
e7abde70a2
Mantis #2147
...
Thank you, ralphos, for a patch the adapts llSetColor and friends to
a change in the underlying types.
Also, thank you for a much cleaner way of casting types out of
lists, which I will adopt throughout.
2008-09-08 18:15:36 +00:00
lbsa71
8388fe0669
* some if inversions and added {}'s for readability
2008-09-08 14:30:35 +00:00
Melanie Thielker
f2de15bffc
Mantis #2144
...
Adjust XEngine llSetAlpha to a change in the underlying type
2008-09-08 12:30:48 +00:00
Melanie Thielker
1732baca0e
Mantis #2145
...
Fix a number of casting issues in XEngine's API
2008-09-08 11:49:17 +00:00
Dr Scofield
3f9cc28103
fix: warnings from libomv
2008-09-08 10:28:59 +00:00
Melanie Thielker
490ac0be00
Implement proper persistence of the following prim properties:
...
Floating text, Rotation, Texture animation, Particle System
This will make "Eye Candy" scripts work without modification in
XEngine. The use of the CHANGED_REGION_RESTART hack is no longer
needed. Implemented in MySQL only, hovertext also in SQLite.
2008-09-08 02:40:20 +00:00
Charles Krinke
4822e79759
Implement llEjectFromLand.
2008-09-08 02:24:30 +00:00
Charles Krinke
13f7d5a4b2
I inadvertently edited out llGroundSlope, llGroundNormal
...
and llGroundContour in the last checkin and this replaces
them again in LSL_BuiltIn_Commands.cs.
2008-09-08 02:05:56 +00:00
Charles Krinke
d0920a2247
Add implementation for llSetSoundRadius().
2008-09-08 02:01:36 +00:00
Charles Krinke
9ef43d3e22
Add Adam's llGroundSlope, llGroundNormal and
...
llGroundContour into our Common/LS:L_BuiltIn_Commands
file.
2008-09-08 01:27:16 +00:00
Adam Frisby
f3d4f62d0a
* Implements llGroundSlope, llGroundNormal and llGroundContour in LSL_Api.cs - these functions are orthogonal to each other and the core implementation is in GroundSlope.
...
* Please note that this implementation has not been mathematically verified to be correct-as-described, it is probable that this implementation may produce differing results to Linden Lab. Testing (and test data) would be appreciated.
2008-09-07 22:56:43 +00:00
Charles Krinke
68e8f3a160
Revert the removal of the commented out
...
scriptsleep calls.
2008-09-07 22:08:40 +00:00
Melanie Thielker
669f553400
Xengine patch to force a persistence save on script creation. This prevents
...
duplicate delivery of state_entry if a region is restarted just after
saving the script. Changes script state saves to no longer abort long-
running event handlers. Queues the save instead. Adds shutdown handler
to save script state on irderly shutdown
2008-09-07 22:01:25 +00:00
Melanie Thielker
e3338bac20
Mantis #2138
...
Thank you, HomerHorwitz, for a patch that fixes llGetKey()
2008-09-07 20:15:15 +00:00
Melanie Thielker
58d79b33ff
Mantis #2142
...
Thank you, HomerHorwitz, for a patch that fixes landmark teleport
and about landmarks with the new OMV types.
2008-09-07 20:09:11 +00:00
Charles Krinke
0c7e87ee5e
Return 0 for no wind and 0 for no clouds from
...
both llWind and llCloud and remove the
"NotImplemented" status leaving us with about
74 "NotImplemented" LSL-C# wrapper functions.
2008-09-07 17:32:38 +00:00
Teravus Ovares
3f55b03bbf
* Fixes linking using the new types.
...
quaternions are not communicative!
2008-09-07 13:24:23 +00:00
Justin Clarke Casey
815278531a
* Improve login failure handling.
...
* Now it should properly inform the user and stop a login if a region server could not be contacted in order to expect a user (the last commit didn't actually quite work correctly)
2008-09-07 05:07:57 +00:00
Charles Krinke
94195c4927
Clean up some of the nonsensical use of ScriptSleep
...
inside our LSL-C# wrapper subroutines.
2008-09-07 04:00:44 +00:00
Justin Clarke Casey
78f831ef52
* minor: Clean up of logging messages to make following the client login process easier
...
* documentation
2008-09-07 03:22:33 +00:00
Justin Clarke Casey
ea8c18f63d
* minor: just minor doc and tidy up
2008-09-07 00:47:08 +00:00
Charles Krinke
aaf7f80dd1
Remove a few of the commented out "NotImplemented"
...
calls from our LSL-C# wrappers.
2008-09-07 00:42:46 +00:00
Teravus Ovares
3378b502c5
* This changes gridcomms types back to our home grown wholy controlled types.
...
* These are different types then the OMV types because changing them causes just about all grid comms to break. If these were the libOMV types, then libOMV couldn't change them ever again after that.. or we'd have a breakage whenever they changed them.
* This might introduce a map issue. Still checking it out.
2008-09-06 22:28:51 +00:00
Teravus Ovares
a97155b106
* Addresses the same issue as last commit on SceneObjectGroup border crossings
2008-09-06 19:40:04 +00:00
Teravus Ovares
6fc23adbc2
* Fixes a few type changes that caused the XML Format to break.
...
* Testers, please try rezzing your inventory on this revision and sending me feedback in mantis.
* Users, it's not time to update yet. The dust still hasn't settled.
2008-09-06 19:21:41 +00:00
Tedd Hansen
e0264f67d6
Brushing rust of ye old commit
2008-09-06 18:49:36 +00:00
Melanie Thielker
9e545c9984
Mantis #2133
...
Thank you, Xugu Madison and ChrisDown, for a patch that
fixes linux filename extensions from .Xml back to .xml
2008-09-06 14:58:23 +00:00
Teravus Ovares
f342bd1e96
* Replace a Try/catch I commented out while testing/fixing issues.
2008-09-06 08:10:40 +00:00
Teravus Ovares
7d89e12293
* This is the fabled LibOMV update with all of the libOMV types from JHurliman
...
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle.
* This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big!
* Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-09-06 07:52:41 +00:00
Melanie Thielker
a7e2d14454
Rolling back #6139 because there is no consensus on it's application.
...
Reverted pending further discussion.
2008-09-06 04:35:33 +00:00
Melanie Thielker
b6b1e9e214
Mantis #624
...
Thank you, openlifegrid, for a patch to move new user connections to
thread pool threads.
Reworked by me to fit current trunk.
I believe that that patch may be beneficial in reducing the cases
in which regions become unresponsive and will no longer accept
new logins.
2008-09-06 04:21:36 +00:00
Justin Clarke Casey
bb2b1b1f61
* Add SampleMoneyModule patch from mantis #2079
...
* Thanks noralbion
2008-09-06 03:22:09 +00:00
Justin Clarke Casey
03581c17e6
* refactor: Make SOG itself responsible for checking whether it's already been deleted on an update request from the regular sweep
2008-09-06 01:10:47 +00:00
Justin Clarke Casey
4d86a324f8
* minor: change hard tabs back to spaces in previous commit
...
* my excuse is that I hadn't used this monodevelop exe before...
2008-09-06 00:55:16 +00:00
Justin Clarke Casey
01878b886c
* Fix mantis 2130 - nre occuring sometimes when the regular prim update sweep occurs
...
* Fold m_deleted and m_isDeleted together (ugh!)
2008-09-06 00:44:50 +00:00
Justin Clarke Casey
de467f4903
* Remove lots of warnings from the CMS module
...
* Remove a few other miscellaneous warnings
2008-09-06 00:09:24 +00:00
Charles Krinke
0054bce5ae
Mantis#2093. Thank you kindly, Ewe Loon for a patch that:
...
Solves SetPrimitiveParams, Revolutions not calculated
properly.
2008-09-05 23:53:44 +00:00
Charles Krinke
947242f476
Mantis#2126. Thank you kindly, Ralphos for a patch that addresses:
...
Types extracted from a LSL_Types.list have to be down-cast initially
to the exact type of value type object that the Object actually is.
This would make for very cumbersome, ugly code when extracting list
parameter items in ll functions where a few implicit conversions
should be applied such as key -> LSLString and LSLInteger -> LSLFloat
(but not LSLFloat -> LSLInteger). This patch adds a set of GetXXXItem
member functions to the LLS_Type.list class, where XXX is the name
of the LSL_Type to be extracted: LSLFLoat, LSLInteger etc. All take
a single, int parameter that is the item number to be extracted.
2008-09-05 23:26:35 +00:00
Charles Krinke
271bbb2557
Thank you kindly, KrTaylor for a patch that adds:
...
llParseString functions throw exception when passed a
list of variables and this patch adds logic to solve
this to LSL_Api.cs
2008-09-05 23:21:02 +00:00
Charles Krinke
24a95507d4
Mantis#2104. Thank you kindly, Godfrey for a patch that:
...
If the parcel pointed to by the landmark has nothing in the
Description field (of the General tab in About Land...), a
NullReferenceException is thrown and the client is logged out.
I added a check to the calls to Helpers.StringToField() in OpenSim.Region.ClientStack.LindenUDP.SendParcelInfo to avoid
this issue.
2008-09-05 23:04:20 +00:00
Teravus Ovares
f5c82186c1
* Adds configurable OGP Name prefix and suffix. See OpenSim.ini.example at the bottom for details. Defaults to an empty string for prefix and '_EXTERNAL' for suffix
2008-09-05 16:54:31 +00:00
Dahlia Trimble
0fc618e7b2
Replaced a lot of trig calls with lookup tables for common prim types in an attempt to improve meshing speed.
...
Added a new between points interpolation method to improve accuracy of profile cuts in triangle and square profile prims.
2008-09-05 16:38:51 +00:00
Sean Dague
a0f2e46836
added in find calls
...
added logging of exceptions, which we'll get quite a few of at this
point most likely
2008-09-04 22:06:16 +00:00
Sean Dague
6e1bcbcf48
remove calls
2008-09-04 22:06:13 +00:00
Sean Dague
ff4b6fc1b5
start in on an EntityList class so we can stop doing lots of manipulating
...
of Entities as a dictionary directly
2008-09-04 17:52:53 +00:00
Sean Dague
d8c9e3a7a3
fix some indenting
2008-09-04 15:49:24 +00:00
Sean Dague
afac1953a2
minor fixes
2008-09-04 15:35:30 +00:00
Sean Dague
2d6e9139a4
added rollback bit to the help menu
2008-09-04 15:35:29 +00:00
Sean Dague
d508b1f082
add some stubbing for ini.example for CMS module
2008-09-04 15:34:09 +00:00
Melanie Thielker
eee9c114cb
Mantis #2111
...
Eliminate gretuitious KillObject packets. KillObject is sent to the
viewer for the root part only.
Also prevents the full update on deselect that makes a deleted object
reappear and stay visible until the background deleter got around to it.
We still send 2 KillObject packets for the root prim, that could be
avoided only at a cost in reliability. One packet seems an acceptable
price to pay for consistency.
2008-09-03 19:28:46 +00:00
Melanie Thielker
ef27c8817f
Mantis #2112
...
Thannk you, ralphos, for a patch to clean up list item type handling
and add a missing explicit cast in Shared/
2008-09-03 18:57:06 +00:00
Sean Dague
cf7f3df4c2
add standard copyright headers for the project
2008-09-03 18:23:59 +00:00
Sean Dague
8741c58dc6
remove non code files
2008-09-03 18:23:51 +00:00
Sean Dague
af5c7e52b1
narrange to do basic cleanup of the CMS module
2008-09-03 18:11:44 +00:00
Sean Dague
eee0fa73e0
white space fixes
2008-09-03 18:04:44 +00:00
Sean Dague
9082316757
come up nicer on startup if the opensim.ini section isn't there
2008-09-03 18:04:42 +00:00
Sean Dague
4ddc7d66d6
type change from ChatFromViewerArgs -> OSChatMessage to line up with trunk.
2008-09-03 18:04:41 +00:00
Sean Dague
12beaccec7
Merge branch 'cms' of http://pokgsa.ibm.com/~jbongio/public/opensim
2008-09-03 18:04:37 +00:00
Melanie Thielker
b0965a41d6
Mantis #2097
...
Thank you, ralphos, for a patch that fixes an InvalidCastException
in llSetPrimitveParams.
2008-09-03 13:22:18 +00:00
Dr Scofield
3d101de375
clean up and fixing a typo.
2008-09-03 11:58:36 +00:00
Melanie Thielker
dba779862d
Mantis #2107
...
Thank you, lulurun, for a patch to fix a possible crash when a received
packet contains a quaternion with all members zeroed.
2008-09-03 11:25:11 +00:00
Melanie Thielker
0fc55818ca
Mantis #2109
...
Prevent a null reference exception when reset is pressed on a script
while it's being compiled.
2008-09-03 10:53:25 +00:00
Charles Krinke
e044d83679
Mantis#2106. Thank you kindly, HomerHorwitz for a patch that:
...
The attached patch fixes connectivety checking of root- and
child-agents. If an agent's client isn't sending any packets
for some time (not even to StartPingCheck packets), we assume
that we lost connection and try to log them out.
2008-09-03 03:35:54 +00:00
Charles Krinke
98da84c851
Mantis#2105. Thank you kindly, HomerHorwitz for a patch that addresses:
...
Due to the many problems with not cleaned up child-agents, I thought it
might make sense to be able to see them on the console. 'show users' on
the region-server's console now outputs root- and child-agents (with
"root" or "child" column)
2008-09-03 03:32:29 +00:00
Sean Dague
36dcedce31
a piece of LSL_API changes got checked in incorectly with 6091. This
...
fixes that, and should get us back to compile state.
2008-09-02 20:45:46 +00:00
Melanie Thielker
9806c0b374
Committing the missing resource file for MSSQL. Sorry...
2008-09-02 20:05:20 +00:00
Melanie Thielker
52a5425628
Small fix to a cast in list parsing
2008-09-02 14:08:15 +00:00
Dr Scofield
109aa00150
fix: PostInitialise() not being called on script engines (nasty one that)
...
cleanup: warnings, readability
2008-09-02 12:07:23 +00:00
Melanie Thielker
f13a48fe1c
Fix regex for string->int cast to accept leading spaces and a sign
2008-09-02 06:43:16 +00:00
Melanie Thielker
2fbebbb644
First batch of the unit test changes for the new constants semantics
...
in XEngine. This turned out to be a lot of work to catch up.
2008-09-02 06:02:14 +00:00
Melanie Thielker
b7a4613a0d
Correct the representation of the automatic null string
2008-09-02 04:23:01 +00:00
Melanie Thielker
e2a0a04beb
Remove the ((bool)()) cast, since it can make c# barf
2008-09-02 04:15:06 +00:00
Melanie Thielker
61978649ec
Change some chat output functions so that text is truncated at
...
1000 chars to avoid the exception thrown by libomv at 1100 chars.
Change string->int conversion so it copes with non-numeric chars
after the number and no longer uses a float to parse the value.
2008-09-02 03:43:18 +00:00
Dahlia Trimble
a5e7807612
Y top shear accuracy improvements in circular path prim meshes
2008-09-02 01:54:08 +00:00
Melanie Thielker
146f469524
Add an explicit cast to bool for the if expression so that any base types
...
that slip in will not cause it to break
2008-09-02 00:03:16 +00:00
Melanie Thielker
0e7bac07f6
Thank you, Ewe Loon, for a patch that fixes various aspects of
...
llSetPrimitiveParams and llSetLinkPrimitiveParams
2008-09-01 23:35:52 +00:00
Melanie Thielker
a5d2674a43
This is an attempt to fix the handling of constants in LSL.
...
It wraps constants in new LSLType(x), so that lists with
constant values are processed correctly. Contains changes to
the lsl.parser.cs that are not (yet) reflected in opensim-libs,
since this experimental patch affects XEngine only. Also contains
nuts.
2008-09-01 23:33:12 +00:00
Melanie Thielker
bfeb3881f2
Another attempt at fixing XEngine llSetPrimitiveParams: Make it accept
...
LSLIntegers in lists, and attempt to address the scope issue on TRUE
and FALSE with readonly static linkage
2008-09-01 21:54:04 +00:00
Melanie Thielker
ddd68a0537
Mantis #2072
...
Griefer protection! When running without serverside permissions, let only
the owner edit attachments. Having everyone able to do it just isn't right.
2008-09-01 12:56:53 +00:00
Dahlia Trimble
f4035840d2
compensates profile placement effects of Y hole size on X top shear for circular path prim meshes
2008-09-01 08:19:47 +00:00
Dahlia Trimble
9cf9c08696
Improvement in mesh accuracy in X Top Shear parameter for circular path prims
2008-09-01 06:00:07 +00:00
Justin Clarke Casey
cd5f8cf9ec
* Pragma out deprecation warning and comment out to remove other warnings in the OGP module
...
* Thanks to Teravus for the heads up on this.
2008-08-30 22:02:04 +00:00
Justin Clarke Casey
d3510def00
* If a general alert message is sent out, only send it to avatars in the scene (not child agents).
...
* This foxed me in the osgrid meeting last week
2008-08-30 21:52:09 +00:00
Justin Clarke Casey
c713ec8223
* Committed patch in mantis 623
...
* Unpatched code certainly looks bizarre - attempts to add a new client if we encountered a failure in processing a packet. No apparant ill effects on a sniff test.
* Thanks openlifegrid
2008-08-30 21:33:55 +00:00
Justin Clarke Casey
e4ec9829cd
* Apply cmickeyb's patch from mantis 2068
...
* llParseString functions throw exception when passed a list of variables
* Thanks!
2008-08-30 21:12:58 +00:00
Justin Clarke Casey
d2344b5626
* Oops, add landmarks to region archive loading/saving
...
* Hopefully this will resolve mantis 2049
2008-08-30 21:05:09 +00:00
Justin Clarke Casey
49ec6dd882
* squash some obvious warnings
...
* a couple more remain that preferably the original coders should look at in more detail (obsolete warnings in the ogp module and not overriding warnings in the script
engine)
2008-08-30 18:09:38 +00:00
Justin Clarke Casey
8f31c47f2f
* Apply patch in mantis 2083
...
* TimeStamp field of the AgentMovementCompletePacket in LLClientView.MoveAgentIntoRegion contained a fixed number. The attached patch changes this to a current
timestamp.
* Thanks HomerHorwitz
2008-08-30 17:51:12 +00:00
Adam Frisby
f57f4d1ab8
* Added "File Asset Client" to OpenSim Asset Server-types.
...
* You can replace "grid" as the asset system with "file" to save and load all your assets from a directory on your hard disk. Files are serialised to XML and saved in the format "/<dir>/0x/0x/0x/0000-0000-000000-0000-0000.xml"
* Directory <dir> is sharing the Asset Server URL path, use a normal path here instead (ie C:\xyz or /var/assets/).
* This probably wont work well in grid mode unless every sim has access to the same directory. This is mostly intended for standalone usage where quick and convenient access to assets is required.
2008-08-30 04:42:23 +00:00
Charles Krinke
e3308c0fa5
Mantis#2084. Thank you kindly, HomerHorwitz for a patch that:
...
Addresses the problem of ghost avatars. The problem was child-agents
sending data. Due to symmetry reasons, I considered that wrong.
Whenever an avatar A1 in region R1 looks at avatar A2 in adjacent
region R2, we have two possibilities to communicate: A2-root sends
to A1-child (both in region R2), or A2-child sends to A1-root
(both in region R1). Currently, the children send data in some cases,
and I guess the viewer gets puzzled about that and switches the child
to root as consequence (at least partly), so it becomes visible.
2008-08-30 01:21:18 +00:00
Melanie Thielker
fda5457996
Maintis #2078
...
Thank you, ralphos, for a patch that corrects the handling of compiler
warnings in the XEngine, which were erronoeously reported as errors!
2008-08-29 19:57:01 +00:00
Charles Krinke
9fc67f1908
Mantis#2067. Thank you kindly, HomerHorwitz for a patch that:
...
Found that during my ghost-hunt: Add some logging and you see that the
counting down happens twice (once at the place that is removed by the
patch, and once caused by the actual removal of the root-/child-agent
during LLClientView.Close). With the patch applied, I end up with correct
numbers, i.e. with 0 roots and 0 children after everyone has logged out.
2008-08-29 14:21:31 +00:00
Melanie Thielker
ee0a5caa30
Fix an issue where the client supplies an empty name and it was applied
...
to the inventory item, causing the item to wind up without a name.
2008-08-29 11:03:58 +00:00
Dahlia Trimble
35ad484b6b
fixed some ugliness in the conversion from the new mesher format to the old that should speed up region startup a little and maybe even use less memory if the GC decides to play friendly with the other kids.
2008-08-29 08:19:47 +00:00
Melanie Thielker
10b2a4597a
Mantis #1903
...
Thank you, cmickeyb, for a patch that fixes inventory folder retrieval.
2008-08-28 20:56:53 +00:00
Jeff Ames
3bf8858727
Update svn properties, formatting cleanup.
2008-08-28 14:41:54 +00:00
Melanie Thielker
086284da55
Thannk you, Ralphos, for a patch the corrects an improper cast in
...
llSetPrimitiveParams
2008-08-28 14:08:09 +00:00
Melanie Thielker
5dac6242bd
Thank you, salahzar, for a patch that adds some more functions
...
from DotNetEngine into XEngine.
2008-08-28 10:42:22 +00:00
Dr Scofield
1828091528
create-region didn't know about regionload_regionsdir...
2008-08-28 10:01:56 +00:00
Teravus Ovares
47127abfb6
* Added hack so that if the default OpenSimulator ParentEstateId(100) is being sent through rez_avatar, it'll be swapped out with 1. This ensures that when the map recognizes the parent estate id parameter on the linden grid, it'll work as expected. This also has the effect of making it impossible to send a Parent Estate ID with 100 over OGP from OpenSimulator (Sorry Owner of estate 100).
2008-08-28 08:25:47 +00:00
Teravus Ovares
88b3df9d52
* OGP update, deserialize the parameter array properly in rez_avatar
...
* Tweak rez_avatar data so it's easier to update when OGPr3 comes out
2008-08-28 08:13:35 +00:00
Dahlia Trimble
49f9bd8b68
Added some exceptions for bad profile cut parameters
2008-08-28 06:41:32 +00:00
Melanie Thielker
53f78a1087
Thank you, A_Biondi, for patch to porperly apply the new item name
...
when copying within agent inventory
2008-08-28 02:36:40 +00:00
Melanie Thielker
bf4d1fbb8d
Refactor IScriptInstance / IScriptEngine to use a generic IScriptWorkItem,
...
which is a thin wrapper around a IWorkItemResult from the SmartThreadPool.
However, it is very easy to reimplement on top of basic threading and therefore
makes the IScriptInstance class independent of the specific threading
implementation.
2008-08-28 00:37:22 +00:00
Dahlia Trimble
1a83384f90
re-enable new PrimMesher module for mesh creation for standard (non-flexy) prims.
2008-08-27 23:43:53 +00:00
Dahlia Trimble
2c842652c1
ODEPlugin now frees source mesh data after conversion to pinned lists to save memory
2008-08-27 23:39:50 +00:00
Dahlia Trimble
e593a333c7
adds releaseSourceMeshData() method to IMesh and Mesh for freeing mesh data after conversion to pinned lists.
2008-08-27 23:37:14 +00:00
Melanie Thielker
5525a3ecb4
Thank you, salahazar, for a patch that corrects the behavior of
...
llDetectedLink(). Also a small refactor to remove an interface member
from IScriptEngine.
2008-08-27 22:53:58 +00:00
Melanie Thielker
6e3367d68c
Refactor XScriptInstance to IScriptInstance and move into Shared/. Now
...
engines that want to use the XEngine's instance handling and state
persistence can do so. IScriptInstance is optional, but it does
require the SmartThreadPool if it is used.
2008-08-27 22:38:36 +00:00
Melanie Thielker
a2985b5655
Refactor Executor into the script app domain and IScript. This changes
...
an implicit reference into a proxied one and further reduces memory
consumption of XEngine
2008-08-27 21:36:03 +00:00
Teravus Ovares
f900553b58
* Updates OGP module to define a default starting point
...
* An attempt to solve an intermittan SSL Certificate validation error causing communications havok.
2008-08-27 20:27:18 +00:00
Melanie Thielker
1a3f83c94b
Erm - make the distanc factor really work....
...
(wipes egg off face)
2008-08-27 19:12:17 +00:00
Melanie Thielker
bc78a6335b
Mantis #2058
...
Remove the physics representation of link set child prims when the
link set is deleted.
2008-08-27 19:06:07 +00:00
Melanie Thielker
a12f652347
Make the check on inventory cache clearing more robust. Addresses
...
Mantis #1975 in a broader way. This may or may not prop up
secure inventory a bit better, but I still recommend to disable it
2008-08-27 17:50:07 +00:00
Melanie Thielker
788dff7090
Implements the r6005 foes for XEngine as well
2008-08-27 17:19:56 +00:00
Melanie Thielker
1ac6bb3107
Add ScriptDistanceLimitFactor to OpenSim.ini to allow modifcation of
...
LSL's arbitrary 10 m limit on object movement.
Also implements the 10 m maximum rezzing distance, subhect to the same
factor.
2008-08-27 17:12:55 +00:00
Dahlia Trimble
36d1720fde
reverting to prior meshing methods until some physics timing issues can be resolved
2008-08-27 09:49:13 +00:00
Dahlia Trimble
65c82c2494
Added some exception trapping to PrimMesher
2008-08-27 08:03:52 +00:00
Dahlia Trimble
cf951d4d04
Added some exception handling to help catch some possibly corrupt prims
2008-08-27 07:30:14 +00:00
Dahlia Trimble
3481a977f0
Meshmerizer now uses new PrimMesher class for meshing all standard (non-sculpty) prims. This should result in more accurate meshes, lower memory consumption, and eliminate several lockup modes.
2008-08-27 06:53:09 +00:00
Dahlia Trimble
8be249bc68
Completion of new PrimMesher class
2008-08-27 06:39:39 +00:00
Dahlia Trimble
fce83731ad
Modified Mesh object to allow alternative mesher interfacing
2008-08-27 06:29:34 +00:00
Charles Krinke
363989195a
Mantis#1518. Thank you kindly, Zaki for a patch that:
...
Issue is caused by the terrain height not being queried before
teleporting within the region. Teleporting between regions is
correct. Adding the neccessary checking to intra-region TP code.
2008-08-27 02:49:47 +00:00
Charles Krinke
84cdebe470
Mantis#2047. Thank you kindly, Simsim for a patch that addresses:
...
avatar sitting on the object can not telport to other regions.
2008-08-27 02:40:14 +00:00
Justin Clarke Casey
8462c8c497
* Eliminate commented out code no longer needed, as discussed on the ml
2008-08-26 18:44:34 +00:00
Justin Clarke Casey
f0448e299d
* On loading archives, report an error if an asset does not have the expected filename format
2008-08-26 18:14:10 +00:00
Teravus Ovares
1015ca3863
* It turns out that Mono doesn't currently support setting the Certificate validation handler, however, it throws a NotImplemented exception.
...
* Added Try/Catch/Message
2008-08-26 05:41:07 +00:00
Teravus Ovares
b3a6f8d688
* Workaround for application/llsd+xml requests coming in as application/xml
...
* When OGP is active, disable SSL certificate chain validation. I'll add more options here to come, as well as a way to test against a group of known certificate subjects.
2008-08-26 05:20:46 +00:00
Teravus Ovares
9f635e354b
* Fixed a bug that occurred if your home region wasn't logged in, in standalone. It wouldn't let you in even if your destination region is online with a 'region x not found' message.
...
* The purpose of the check was to ensure that your home region was sent to your client properly when you connected. However, the desired result is that if the home region is down, but the destination region is online, the user should still get in.
* Changes: if the home region isn't available, set the message to the client so that the home region is the destination region.
2008-08-26 03:07:24 +00:00
Justin Clarke Casey
4aa204c8ea
* minor: zap some more compilation warnings
2008-08-25 23:32:06 +00:00
Teravus Ovares
43ab833be0
Documentation, headers and all the normal stuff
2008-08-25 23:31:50 +00:00
Justin Clarke Casey
4a475ca2be
* minor: refactor thread report into a method that returns a string rather than displays information directly
2008-08-25 23:21:07 +00:00
Justin Clarke Casey
ba2130046f
* minor: Comment out the remaining unhandled packet messages in LLClientView, except for unidentified packets
...
* These make it more difficult to read the logs, and I don't think they help all that much
2008-08-25 22:01:51 +00:00
Justin Clarke Casey
ad262444dc
* minor: some logging conformance, code documenting
2008-08-25 21:55:44 +00:00
Charles Krinke
a055d3c2e8
Mantis#2045. Thank you kindly, Tyre for a patch that:
...
This patch adds even more LSL compatibility to llSetPos() As stated in the
wiki http://wiki.secondlife.com/wiki/LlSetPos , [^] movement should also be
capped to 10m per call for unattached root prims.
Beside this issue the attached patch adds (hopefully) all known LSL script
delays (as ScriptSleep(), but still commented out) to LSL_BuiltIn_Commands.cs
and LSL_Api.cs and a lot of format cleanup.
2008-08-25 21:39:36 +00:00
Justin Clarke Casey
3d2069f3d9
* zap compilation warnings
2008-08-25 21:35:22 +00:00
Justin Clarke Casey
7402c2d288
* Deal with a WebException thrown if a grid server cannot be contacted for region information
2008-08-25 21:26:58 +00:00
Melanie Thielker
24456e846c
Add the same delay factor in the XEngine section for the XEngine
2008-08-25 18:07:29 +00:00
Melanie Thielker
64e4c34c1a
Add ScriptDelayFactor under LL-Functions in OpenSim.ini. Defaulted
...
at 1.0, it allows delays to function as coded. Smaller values will
reduce, larger values will increase the delays. A value of 0 is
permitted and results in on delay being applied.
2008-08-25 17:50:44 +00:00
Jeff Ames
41f616627f
Update svn properties.
2008-08-25 14:40:10 +00:00
Melanie Thielker
fc9a1f0f45
Fix osAvatarPlayAnimation to actually do what it says on the box
2008-08-25 13:53:49 +00:00
Melanie Thielker
cf7020d73c
Mantis #2044
...
Thank you, salahzar, for a patch that corrects the behavior
of PRIM_TYPE in llGetPrimitiveParams() and improves LSL
conformance in llGetNumberOfSides();
2008-08-25 11:58:55 +00:00
Teravus Ovares
c67c56ca94
* Fix to OGP Region to Region teleports. Yay.
2008-08-25 09:13:52 +00:00
Teravus Ovares
2912aafe25
* This commit incorporates the heart of the OpenGridProtocol patch that is currently on Forge in a nice, friendly modular format.
...
* There are a lot of changes and this is quite experimental. It's off by default, but you can turn it on by examining the bottom of the opensim.ini.example for the proper OpenSim.ini settings. Remember, you still need an agent domain..
* Furthermore, it isn't quite right when it comes to teleporting to remote regions (place_avatar)
2008-08-25 07:35:17 +00:00
Charles Krinke
032a4ee9b5
Mantis#2043. Thank you kindly, Ralphos for a patch that addresses:
...
The version of llSetLinkPrimitiveParams in LSL_BuiltIn_Commands.cs
has not been kept in sync with the additional functionality made
recently to the llSetLinkPrimitiveParams implementation in
LSL_Api.cs which includes support for setting glow, full bright and
other privative parameters. A patch to LSL_BuiltIn_Commands.cs is
provided the incorperates this functionality (duplicated).
2008-08-24 18:37:51 +00:00
Melanie Thielker
a7a385937e
Completing the item sale series, this one implements sell contents.
...
All item sale modes are now complete.
2008-08-24 16:41:23 +00:00
Melanie Thielker
ec9137c4fa
Mantis #2028
...
Thank you, salahzar, for a patch that implements llGetNumberOfSides()
for the DotNetEngine.
2008-08-24 14:04:02 +00:00
Melanie Thielker
d5b48ecbe1
Selling a copy of a prim (prim vendor) now works.
...
Sack of bolts to go with the nuts?
2008-08-24 07:16:47 +00:00
Melanie Thielker
07cb1d4f0e
Selling an object in-place (as original) now works. Builders can
...
now ply their trade. Is that nuts?
2008-08-24 06:39:54 +00:00
Melanie Thielker
c9b5641c49
Plumb the data path for all those eye candy values. Saves texture
...
animation, target omega, looped sound, script access pin, allowed
drop state and sale data. Loads it, too. Not all tested.
Code: No Nuts. Data: Cannot Guarantee Nut Free.
2008-08-24 05:25:26 +00:00
Dahlia Trimble
29407a43f5
more progress on new meshing routines
2008-08-24 01:23:04 +00:00
Melanie Thielker
63b6ab467a
Implements 80% of object buy (prim vendor). You can't buy the object yet,
...
and the for sale setting doesn't survive a sim restart, but this is most
of the plumbing.
2008-08-24 00:51:21 +00:00
Melanie Thielker
bfc911f814
Change to no longer check funds on temp texture uploads.
...
This fixes the "no funds" message on rebake.
2008-08-23 16:43:34 +00:00
Melanie Thielker
d2d9808742
Thank you, salahzar, for a patch that adds llGetNumberOfSides and will
...
also enable LSLconformance on some texture functions as well.
Applied the part of the patch in Shared/.
The part for Common/ needs to be reworked to remove the reference
into Shared/
2008-08-23 16:15:17 +00:00
Dahlia Trimble
72f74acdbf
more work on new meshing routines...
2008-08-23 10:28:35 +00:00
Dahlia Trimble
df14889635
some initial work on new prim meshing routines (incomplete)
2008-08-23 08:33:00 +00:00
Melanie Thielker
ccd74f888b
Some complex re-ordering to make prebuild do what needed to be done.
...
It is now possible to use module interfaces without referencing Scene.
Place those interfaces in OpenSim/Region/Interfaces. They may not
use any refs from OpenSim.Region.Environment as parameters.
This resolves a circular library ref introduced in r5949
2008-08-23 02:30:07 +00:00
Melanie Thielker
5d6f92fb96
Patch #9171
...
Disallow bulk uploads if money module is present and upload cost
is set and the user hasn't got sufficient funds.
2008-08-23 00:44:06 +00:00
Teravus Ovares
50bf3618a3
* Homer's amazing terrain MapTileRenderer. Thanks Homer!
...
* By default, texture rendering is on. This may be affected by using secure assets since your region hasn't registered with the gridserver before it asks for texture assets. It might also be affected by a slow asset server, so consider this release experimental.
* Defined interface IMapTileTerrainRenderer.
* Extracted "old" shaded maptile terrain rendering into ShadedMapTileRenderer;
streamlined it a bit and added "highlight" rendering to its "shadow"
rendering.
* Added "new" terrain-texture based maptile terrain rendering
(TexturedMapTileRenderer); made TerrainUtil.InterpolatedNoise public
* Adapted MapImageModule to allow switching between those two by configuration
* Added configuration option to OpenSim.ini.example
2008-08-22 22:04:43 +00:00
Justin Clarke Casey
f0ffbf5b38
* Allow an exception generated in ProcessOutPacket to travel up the stack
...
* It is dealt with correctly further up, at which point the user is also notified and the failure recorded as a statistic
2008-08-22 21:41:05 +00:00
Dr Scofield
d972d22788
bug fixes:
...
- GridInfoServices was not paying attention to location of ini file
- typo in RemoteAdminPlugin
2008-08-22 11:09:38 +00:00
Dahlia Trimble
0f6b899ec7
Cleaned up some warnings
2008-08-22 07:25:53 +00:00
Dahlia Trimble
261876fd47
Commented out the float array "normals" in the Mesh object and all references to save memory as it was unused
2008-08-22 07:06:33 +00:00
Charles Krinke
d433567178
Mantis#904. Thank you kindly, Jonc for a patch that solves:
...
LocalLoginService does not send the last position coords in
the login response. This patch fixes the issue.
2008-08-21 14:23:29 +00:00
Charles Krinke
5a85f22110
Mantis#1990. Thank you kindly, Nlin and M.Igarashi for a patch that:
...
This patch improves LSL conformance by inserting a 0.2 second delay
into llSetPos/llSetRot, as the function specification states.
Thanks to M. Igarashi for the patch.
2008-08-21 14:18:40 +00:00
Melanie Thielker
f206ffd5a8
Mantis #2003 - thank you, SachaMagne, for a patch that implements
...
the first part of gesture persistence.
----------------------------------------------------------
Attachments no longer vanish on walking crossing. Teleport is still
problematic, but will now be blocked with message "Inconsistent
attachment state" rather than losing the attachment. Detach to be
able to TP in that case.
2008-08-20 01:48:51 +00:00
Jeff Ames
07b04213d7
Update svn properties, minor formatting cleanup.
2008-08-19 22:41:39 +00:00
Melanie Thielker
b28bac016a
Fixes the previous commit of llMakeLink for Shared/
2008-08-19 22:01:59 +00:00
Melanie Thielker
f2055a3524
Mantis #2001
...
Thank you, nlin, for a patch that implements part of llCreateLink
- DotNetEngine implementation by nlin.
- Shared/ port by me.
2008-08-19 21:37:12 +00:00
Melanie Thielker
40fa68d3e5
Mantis #1999
...
Allow the sim owner to add estate managers to any estate on the sim
2008-08-19 20:55:34 +00:00
Melanie Thielker
5cb0d4fcac
Packet type exclusion (Mantis #2004 )
...
Exclude SimStats packets from ack appending.
2008-08-19 19:44:49 +00:00
Melanie Thielker
41440e184b
Attachment persistence (Mantis #1711 )
...
Change user server to handle attachment assets record properly. Ensure
that attachments are not re-rezzed on region crossing. Persistence
will NOT WORK with earliser UGAI!!
Change region server to match.
2008-08-19 18:34:46 +00:00
Melanie Thielker
c71d6f05a7
Moves one file to it's proper location
2008-08-19 15:16:48 +00:00
Melanie Thielker
e5cdba1cb4
Fix region crossings and access to inventory after changing regions within
...
the same simulator
2008-08-19 15:09:35 +00:00
Jeff Ames
5c360e7374
Update svn properties, minor formatting cleanup.
...
Remove old comment in SnapshotStore pointed out by ChrisDown (bug #2000 )
2008-08-19 13:07:24 +00:00
Melanie Thielker
29530f3029
Attachment persistence!!! Patch #9170 (Mantis #1171 )
...
Attachments now persist across logouts. Mostly untested.
2008-08-19 07:11:58 +00:00
Teravus Ovares
b4355e4564
* This reverts a change where m_regions[RegionHandle] was replaced instead of removed in LocalBackEndServices It used to be like the change above a long long time ago but we found that it caused intermittent neighbor connectivity issues. I added comments above it so that it's looked at more closely next time.
2008-08-19 07:04:47 +00:00
Mike Mazur
225067d8b6
Sync OpenSim/Region/ScriptEngine/{Common,Shared}/LSL_Types.cs.
2008-08-19 05:30:10 +00:00
Mike Mazur
a513cba60b
Apply Godfrey's patch (originally in r5872) to Shared/LSL_Types.cs as well.
2008-08-19 05:25:07 +00:00
Jeff Ames
bea7d4d81a
Update svn properties, formatting cleanup.
2008-08-19 02:59:27 +00:00
Melanie Thielker
6d2e1ad6ba
Attachment persistence!!! Patch #9169 (Mantis #1171 )
...
Attachments now save to MySQL. No reattach on login yet.
2008-08-19 02:12:40 +00:00
Justin Clarke Casey
9650632cd1
* It appears that sometimes some IClientAPI reference is not being released, resulting in continual execution of the CheckConnectivity timer method
...
* For now, just turn off this timer when we close the connection
* Also some minor help refactoring creeps in to this revision.
2008-08-18 21:14:38 +00:00
Melanie Thielker
6614eee4d4
Change LowpriorityTask to be ThrottleType.Task | ThrottleType.LowPriority to make the flag nature of this value more clear.
2008-08-18 18:59:06 +00:00
Teravus Ovares
eaeed632e0
* maptile - just flatten it.. we'll worry about projection later..
2008-08-18 10:58:54 +00:00
Teravus Ovares
2ef4ccf89e
* Slightly better implementation of prim volume drawing on the maptile using projection of an oriented bounding box. This isn't quite right yet. Experimental. It takes about 3 times longer then the previous version, however produces better results.
2008-08-18 08:25:58 +00:00
Teravus Ovares
f842ad4192
* Maptile prim volume drawing change from manually drawing the rectangles using Bitmap.setpixel to a drawing2d graphics context.
...
* Z-sort the prim volumes before drawing.
2008-08-18 03:25:23 +00:00
Teravus Ovares
c31b0a54a4
* Text/comment cleanup in MapImageModule
2008-08-18 01:38:11 +00:00
Jeff Ames
84a0a6645e
Fix another compiler warning, based on a patch submitted by Leaf. (bug #1978 )
2008-08-18 01:30:42 +00:00
Jeff Ames
6ef9d4da90
Formatting cleanup.
2008-08-18 00:39:10 +00:00
Jeff Ames
531f6c01eb
Update svn properties, minor formatting cleanup.
2008-08-17 23:07:14 +00:00
Melanie Thielker
35dde94f01
Change the deselect processing to prevent gratuituous full update
...
when an attachment is deselected.
2008-08-17 22:38:52 +00:00
Charles Krinke
c200644bd9
Mantis#1974. Thank you BlueWall for a patch that:
...
adds handling for PRIM_PHYSICS, PRIM_PHANTOM in
llSetPrimitiveParams()
2008-08-17 20:38:40 +00:00
Melanie Thielker
fe1d78bb78
Add some locking on m_undo in SceneObjectPart
2008-08-17 19:17:44 +00:00
Teravus Ovares
0683a07081
* Turned on the MapImageModule as opposed to the code in Scene for generating the map image. Copied the code in Scene into the MapImageModule, made a few tweaks to get it to work with the module's interface.
...
* Refactored a few things in Scene to make maptile saving easier to understand.
* Added comments to describe the 'clever code' assetcache update without the gridasset being updated so as to lessen possible confusion in patches in the future.
* If the MapImageModule isn't loaded, default to the code in Scene still.
2008-08-17 18:59:58 +00:00
Melanie Thielker
40abeed7d4
Add the IInventoryModule interface and a sample method call
...
to Scene.INventory.cs
2008-08-17 18:41:13 +00:00
Melanie Thielker
1db8f6fbad
Patch for Adam: Add two new permissions options to Opensim.ini.example
...
and the permissions module
2008-08-17 05:05:06 +00:00
Teravus Ovares
910f9d10d6
* half of the attachmentpoint skull fix
...
* There's still a full object update coming when you release the attachment after modifying it that's killing it sometimes.
2008-08-17 03:09:47 +00:00
Jeff Ames
796ccd3d37
Update svn properties, minor formatting cleanup.
2008-08-17 02:31:45 +00:00
Charles Krinke
60a676251a
Mantis#1971. Thank you kindly, BlueWall for a patch that:
...
The included patch enable handling for PRIM_FULLBRIGHT in
llSetPrimitiveParams().
2008-08-16 21:31:36 +00:00
Teravus Ovares
7c8cc345cd
* re-order an operation to check for NaNs in the maptile shadow routine.
2008-08-16 20:54:51 +00:00
Justin Clarke Casey
992b04a23e
* Move GridInfoService into Framework.Communications and eliminate Common.Communications for now (since this was the only class in that project)
2008-08-16 20:42:43 +00:00
Justin Clarke Casey
c602d76b79
* Insert a new 'set log level [level] command on the console'
...
* The primary immediate use is to provide a means of temporarily reducing log output on the console when executing console commands
* Changing the log level on the console is not permanent and does not affect the log information being put into OpenSim.log
* This could have been done by putting in a threshold level on the Console appeneder in OpenSim.exe.config and implementing config watching in the code.
* But I think that it's a little more user friendly to make this doable via the console.
2008-08-16 20:24:08 +00:00
Teravus Ovares
a6fdcffa3b
* One more terrain shadow debug helper.
2008-08-16 19:58:25 +00:00
Charles Krinke
7a90385f1c
Mantis#1970. Thank you kindly, HomerHorwitz for a patch that:
...
This patch improves fetching of inventory from several minutes
to a few seconds.
2008-08-16 19:37:30 +00:00
Charles Krinke
b6c6572ee1
Mantis#1969. Thank you kindly, Tyre for a patch that:
...
Type casting the normalized vector 'lookat' to int results to <0,0,0>.
This patch also adds an overload to RequestNeighbourInfo (currently unused)
that will come handy for some features I'm working on.
2008-08-16 19:34:12 +00:00
Charles Krinke
d9cc908471
Mantis#1965. Thank you kindly, HomerHorwitz for a patch that:
...
Places touched:
- Added two events for in-packets to LLCLientView: RegionHandleRequest and
ParcelInfoRequest
- Added sending of two out-packets to LLCLientView: RegionIDAndHandleReply and
ParcelInfoReply.
- Scene handles the RegionHandleRequest, LandManagementModule the
ParcelInfoRequest
- Added inter-region request for LandData by RegionHandle and local position.
This was implemented as XML-RPC request. The returned LandData isn't
complete, it only contains the data necessary for answering the
ParcelInfoRequest
- Added new CAPS (0009) for RemoteParcelRequest and some methods for LandData
handling to LandManagementModule
- Added methods for fake parcelID creation and parsing to Util
- Fixed missing implementation of interface methods.
- Added new file:
OpenSim/Framework/Communications/Capabilities/LLSDRemoteParcelResponse.cs
NOTE: This is part of the patch, too.
Due to the many places touched, I would consider this patch as experimental.
2008-08-16 19:20:14 +00:00
Teravus Ovares
f191f38a3e
* Fix a rare maptile shading error, terrain difference mod 1 = 0 + abs = oops.
2008-08-16 19:03:29 +00:00
Jeff Ames
6fa26f5b41
Update svn properties, minor formatting cleanup.
2008-08-16 17:26:25 +00:00
Teravus Ovares
80186a68df
* Adds Slightly better terrain shading to maptile generation.
2008-08-16 06:09:45 +00:00
Melanie Thielker
682ffef101
Reshuffle to eliminate prim owner lookups unless gridgods are enabled
2008-08-16 05:41:40 +00:00
Melanie Thielker
9807a86398
Guard against a null ref in the permissions module when a profile
...
fetch fails.
2008-08-16 02:57:47 +00:00
Charles Krinke
5ed5d0788b
Mantis#1890. Thank you kindly, Godfrey, for a patch that addresses:
...
llListSort() sorts integers and floats in ASCII order rather than numeric order
2008-08-16 02:39:46 +00:00
Charles Krinke
35f0e6f6f4
Mantis#1964. Thank you kindly, BlueWall for a patch that:
...
Parch adds PRIM_BUMP_SHINY handling to llSetPrimitiveParams
2008-08-16 02:33:26 +00:00
Charles Krinke
9a6bdd9701
Mantis#1963. Thank you kindly, Krtaylor for a patch that solves:
...
XEngine missing string constructor for LSLInteger and LSLFloat
2008-08-16 02:28:30 +00:00
Melanie Thielker
328ab79b78
Refactor a lot of direct calls to OGS1 to use the cached version instead.
...
Scripts can now no longer DOS the user server and there are a lot fewer
gratuitious lookups of user profile data.
2008-08-16 02:00:36 +00:00
Melanie Thielker
437b4a8aaa
Perils of copypaste. Missing references.
2008-08-15 23:35:01 +00:00
Melanie Thielker
32f90a028f
Fix repeated user profile info lookups. Redirect those lookups to cache.
2008-08-15 23:29:34 +00:00
Melanie Thielker
04488d9d38
Plumb in the partner and the account title fields for profile info.
2008-08-15 22:49:26 +00:00
Melanie Thielker
c1fa7592c7
Pantis #1957
...
Thank you, Leaf, for a patch that implements llGetAnimationList()
XEngine implementation added by myself.
2008-08-15 21:18:08 +00:00
Melanie Thielker
72b8c1af1c
Plumb the user flags all the way through to the profile. userFlags in
...
the database is now intepreted as follows: low byte = user flags.
Next byte, low nibble: Deternines the text (Resident, Lifetime, etc)
shown. No customn text support yet.
2008-08-15 19:19:24 +00:00
Melanie Thielker
63856f6330
Mantis #1951
...
Trigger a persistence save when only name or description have
changed.
2008-08-15 16:51:26 +00:00
Melanie Thielker
9f8ff36348
Mantis #1961
...
Thank you, BlueWall, for a patch that adds PRIM_GLOW
2008-08-15 16:26:56 +00:00
Melanie Thielker
dfc553d0a4
Fix up master avatar handling for estate owners. Introduces a new
...
hierarchical rights structure. MasterAvatar: Owner of the region server
(may be null), net gods (users with GodLevel 200), Estate owner
(from database). Look at Opensim.ini.example to enable net gods.
Estate owner will default to master avatar.
2008-08-15 13:13:39 +00:00
Jeff Ames
53b0ef82b3
Minor formatting cleanup.
2008-08-15 10:29:17 +00:00
Melanie Thielker
6717839d65
Fixes a case where neighboring region info cannot be obtained
...
and the region server tries to output the region information
using the unobtainable RegionInfo.
Caused a crash in GS1GridServices.cs, line 928
2008-08-15 10:26:03 +00:00
Jeff Ames
dde21314e7
Update svn properties, formatting cleanup, fix a couple compiler warnings.
2008-08-15 10:24:04 +00:00
Melanie Thielker
e1620c5cc3
Fixes a case where, when inventory is not currently accessible due
...
to other issues, detaching an attachment would cause an exception.
2008-08-15 10:07:45 +00:00
Dr Scofield
8d479fe5af
From: Richard Alimi <ralimi@us.ibm.com>
...
The following patch makes some enhancements to loading/saving the Xml2
format.
- Add streamed version of functionality for saving prims to Xml2
format. The streamed version (optionally) allows for saving the
prims whose positions appear within a particular bounding box.
- Expose stream versions of LoadPrimsFromXml2 and SavePrimsToXml2 in
the Scene class
- Extend loading from Xml2 (the streamed version) to optionally start
scripts for the loaded scene objects)
2008-08-15 07:20:38 +00:00
Mike Mazur
60acc370fc
Thanks, krtaylor, for a patch that fixes llListSort() and llListRandomize() failing with stride less than 1. Fix issue 1893.
2008-08-15 00:55:16 +00:00
Melanie Thielker
4041194db9
Refactor: Make the tree creation function take a UUID for the owner
...
Change the tree populator module to supply a sensible value
2008-08-14 21:31:38 +00:00
Melanie Thielker
7161689a97
Adds UserFlags and GodLevel to the user data store and plumbs then in.
...
This will have no effect unless both the UGAI and the region are
this revision or later
2008-08-14 19:59:32 +00:00
Melanie Thielker
c2f1771c63
Make the estate owner work. Changes permissions checks to allow the
...
estate owner user the ability to add and remove estate managers,
and have EM rights outside of that.
2008-08-14 18:08:22 +00:00
Dahlia Trimble
1bf60fa1ac
updated some prim parameters to project maintained versions
2008-08-14 08:59:13 +00:00
Melanie Thielker
e3157e61aa
Mantis #1946
...
Thank you, HomerHorwitz, for a patch that corrects and improves TP
to landmark and home position handling.
2008-08-14 00:04:37 +00:00
Justin Clarke Casey
fb4eb05ae1
* minor: make it clear on the console when a client is being logged out because that client has not responded to pings
2008-08-13 21:45:17 +00:00
Melanie Thielker
0a18d544c5
Mantis #1936
...
Thank you, gsky, for a patch that corrects the threading model
to use the multithreaded apartment in the grid servers and
region server.
2008-08-13 19:22:32 +00:00
Charles Krinke
9f9e7d98ea
Mantis#1942. Thank you kindly, Tyre for a patch that:
...
updates llTriggerSound() so it accepts an object inventory name too
This adds the same functionality like Xantor's patch for llPlaySound()
2008-08-13 15:01:45 +00:00
Charles Krinke
4a2d5d92cc
Mantis#1941. Thank you kindly, Tyre for a patch that
...
makes progress in extracting the line number of LSL
script execution errors.
2008-08-13 14:58:26 +00:00
Charles Krinke
3278ab8397
Mantis#1856. Thank you kindly, HomerHorwitz for a patch that:
...
Fixes this Mantis bug with llTakeControls() & ControllingClient() API.
2008-08-13 14:52:14 +00:00
Charles Krinke
bf363c0ded
Mantis#1934. Thank you Tyre for a patch that:
...
This patch implements the LSL script function
llTeleportAgentHome()
2008-08-13 14:24:37 +00:00
Charles Krinke
9d93668a0a
mantis#1927. Thank you kindly, Leaf for a patch that:
...
Makes progress on fixing scripts in child prims of
attachments not being scheduled for execution.
2008-08-13 14:19:59 +00:00
Charles Krinke
323ada012d
Mantis#1931. Thank you kindly, Kinoc for a patch that:
...
* Yield Prolog 1.0.1 Released : it passes all but 9 of the
421 tests in the ISO Prolog test suite (97.8%) .
* support dynamic predicates and rules.
* support 'import' to use external static functions
improves connection to C# functions
* Matches Yield Prolog r831
2008-08-13 14:13:49 +00:00
Melanie Thielker
e46248ab17
Thank you, tyre, for a patch that fixes a null reference in LSL
...
function llOverMyLand().
2008-08-13 14:13:46 +00:00
Charles Krinke
6ccb9948ab
Mantis#1925. Thank you, homerHorwitz for a patch that:
...
This fixes the coordinates returned by doing a
llRequestInventoryData on a landmark.
2008-08-13 14:06:21 +00:00
Melanie Thielker
4b6097756f
Port the llParcelMediaQuery forward to the new Shared/ directory
...
Add a Dictionary for faster lookup of cached items.
2008-08-13 12:20:49 +00:00
Dr Scofield
db2481e62a
From: Omar Vera Ustariz <ustariz@de.ibm.com>
...
This patch implements a subset of the llParcelMediaCommandList()
function.
2008-08-13 10:29:27 +00:00
Mike Mazur
ba822fe2ab
Revert "Thanks, lulurun, for a patch that clears and refreshes and outdated user"
...
This reverts commit r5823.
2008-08-13 07:51:59 +00:00
Mike Mazur
cd89864f4c
Thanks, lulurun, for a patch that clears and refreshes and outdated user
...
profile cache (issue 1919).
2008-08-13 06:08:26 +00:00
Melanie Thielker
71cc458610
Make the estate owner UUID from the database have the same rights
...
as the region master avatar, unless it's LLUUID.Zero (the default).
2008-08-13 01:17:44 +00:00
Melanie Thielker
fa9afd4c91
Fix data format for last commit
2008-08-12 23:15:51 +00:00
Melanie Thielker
b0fbef81d0
Minor patch: fix an instance where the estate name, as displayed on the
...
Covenant page of the estate dialog, could be shown as the master avatar's
name, or even as Test User
2008-08-12 22:55:47 +00:00
Jeff Ames
c65415d320
Thanks HomerHorwitz for a patch to enable the Stand Up button when sitting on the ground. (bug #1932 )
2008-08-12 21:38:52 +00:00
Justin Clarke Casey
4e555b87f3
* Stop warnings about non existent scene presences/entities being removed on client log off
...
* This is being done by preventing close from being called twice on child agent closure (nres which would have been thrown are being swallowed).
* However, it should be possible to do much better cleanup on this code in the future
2008-08-12 19:00:13 +00:00
Mike Mazur
8ea92c0669
Thanks, lulurun, for a patch that addresses inventory problems that occur
...
occasionally, but are fixed on restart (issue 1919).
This patch introduces the following changes:
1. when a user teleports out of Region A, remove that user's profile
from the Region A user profile cache
2. when a user crosses between regions out of Region A, remove that
user's profile from the Region A user profile cache
3. the user profile cache's session ID member can now be set (written),
and is updated each time a connection with a new avatar is established (ie: a
new avatar enters the region)
4. when a region server looks up a user profile and a cache miss
occurs, fetch the user profile from the user server first instead of
immediately returning null
2008-08-12 06:21:02 +00:00
Melanie Thielker
44adeb4ec8
Remove "static" from the AsyncCommand Manager to make it work properly
...
in multiple region per sim setups
2008-08-12 02:31:57 +00:00
Jeff Ames
f894f5d87b
Minor formatting cleanup.
2008-08-12 00:08:41 +00:00
Melanie Thielker
f9945bf87f
Patch #9163 - Refactor initial packet sending out of InnerScene into
...
ScenePresence. Pace prim delivery to about 200 updates/s max. Break
a long-held lock that caused the notorious MapBlockQuery XMLRPC timeout
on agent login. Eliminate 60 second timeout at "Waiting for region handshake".
Fix region crossing/teleport response. Fix appearance in primmy regions.
2008-08-11 23:20:14 +00:00
Justin Clarke Casey
b627c9c066
* minor: replace hard tabs with soft 4 space tabs in previous patch
2008-08-11 21:33:04 +00:00
Charles Krinke
2cee5abcac
Mantis#1921. Thank you kindly, Leaf for a patch that:
...
llRezObject changed to llRezAtRoot. llRezObject implemented
to call llRezAtRoot until I can figure out how to calculate
a bounding box. Partial implementation of llPushObject
(no angular impulse applied)
2008-08-11 21:27:31 +00:00
Charles Krinke
a9f1561380
Mantis#1910. Thank you kindly, HomerHorwitz for a patch that:
...
In case you run the server with mono --debug OpenSim.exe
line numbers are reported as <filename>:<linenumber>, so no
"at line" is found. That led to an exception, which is caught
since r5766. The attached patch fixes this for mono;
2008-08-10 16:39:04 +00:00
Melanie Thielker
9b7e66ceda
Attempt to address Mantis #1905 , #1909
...
Prevent re-sequencing of resent packets. Thanks, ckrinke, for
catching that, it is what was happening.
2008-08-10 16:37:45 +00:00
Melanie Thielker
5acfc79c50
Patch #9024
...
Bringing in an old private patch, increasing region registration timeout
to 90 seconds. That allows regions witj > 10000 prims to register
successfully. Running them.... well, YMMV
2008-08-10 12:51:31 +00:00
Jeff Ames
20e8e0ebae
Update svn properties, minor formatting cleanup.
2008-08-10 00:44:33 +00:00
Justin Clarke Casey
5b5159d1ec
* Resolve mantis 1911 without reintroducing warnings
2008-08-09 22:34:04 +00:00
Justin Clarke Casey
03f9a3e1d6
* if the user uuid is present, preserve ownership information when loading an archive
...
* if the uuid isn't present, ownership is given to the region's master avatar
2008-08-09 22:04:42 +00:00
Justin Clarke Casey
d0480a87c3
* Remove warnings
2008-08-09 21:24:27 +00:00
lbsa71
d4b8e06d55
* Added a little more log info in LLUDPServer
2008-08-09 18:37:20 +00:00
lbsa71
6849f45660
* Shielded against various forms of Malformed data crashes - if there is an error in packet creation, we just log and ignore it
...
* If there's a Socket.AlreadyInProgress, just silently ignore this one
* Tried to refactor the Reset and BeginRecieve logic into something a little more readable, little less duplicated
2008-08-09 05:26:33 +00:00
Charles Krinke
87c5b0b926
Mantis#1521. Thank you kindly, HomerHorwitz for a patch that:
...
Increases the functionality of the particle system on both
script engines.
2008-08-08 18:27:24 +00:00
Charles Krinke
10822a139f
Mantis#1521. Thank you kindly, Lmmz for a patch that:
...
Improves the implementation of the particle system.
2008-08-08 15:16:30 +00:00
Melanie Thielker
2248ad2ed2
Patch #9161
...
Increase GetUserProfile timeout from 6 to 30 seconds. Because
the worker thread fo the XMLRPC data pump sits on a lock
while the system starts, regions with upwards of 6000 prims
throw and exception when that thread gets blocked for more
than 6 seconds, due to this timeout, and won't start.
2008-08-08 13:46:24 +00:00
lbsa71
96fa85cd9f
* Removed unused m_bAvailable
2008-08-08 11:38:21 +00:00
Melanie Thielker
eaff580abe
Patch #9160
...
Refactor proxy encode/decode methods out of the PacketPool into
their own class.
2008-08-08 11:04:24 +00:00
lbsa71
22f09fbd21
* All CheckRegion within an instance would use the same, global, bool for 'Available', which would lead to intermittent failures on parallell teleport requests.
...
* Solidified CheckRegion somewhat, adding a second try if the first failed.
2008-08-08 10:59:32 +00:00
Mike Mazur
97d5b5a1eb
De-coupling the IClientAPI interface and ClientManager class from the
...
libsl/libomv Packet, as other client stacks could use other data types to pass
packets around. Starting with InPacket() here, more to come.
2008-08-08 09:19:23 +00:00
Jeff Ames
657af5e611
Update svn properties, minor formatting cleanup.
2008-08-08 06:39:35 +00:00
Mike Mazur
1040f3f454
Remove FunSL client stack as it's under development and often won't compile.
...
This effectively undoes commits 5771 and 5769 as well as parts of the
formatting cleanup commits 5774 and 5775.
2008-08-08 05:57:14 +00:00
Melanie Thielker
39e68833b2
Patch #9159
...
Complete the support for dupe tracking. Eliminate one of the "Eternal
caches".
2008-08-07 15:32:39 +00:00
Charles Krinke
6b7fb1712c
Mantis#1894. Thank you kindly, HomerHorwitz for a patch that:
...
When a region is re-registered (e.g. because of region restart),
it is removed from m_regions. If I understood that correctly,
the old entry should be replaced, instead.
2008-08-07 15:21:50 +00:00
Charles Krinke
e8293801c5
Mantis#1901. Thank you kindly, Nlin for a patch that:
...
More sitting fixes: Inconsistent sitting position on
rezzed prims that have no sit target set.
2008-08-07 15:15:57 +00:00
Charles Krinke
9a8569160f
Mantis#1899. Thank you kindly, Cmickeyb for a patch that:
...
attached are some patches to either comment out direct
console writes or to convert them to log writes
2008-08-07 15:12:33 +00:00
Charles Krinke
b72cc7df01
Mantis#1888. Thank you kindly, Tyre for a patch that:
...
This patch adds the missing parcel and region flag constants
for LSL scripts. Tested with .Net and XEngine
2008-08-07 15:02:29 +00:00
Melanie Thielker
51f90af4b7
Patch #9158
...
Refactor packet sending into LLPacketHandler. Change packet sequencing
and ack lists to ensure packet sequences conform to wire order.
2008-08-07 14:48:45 +00:00
Jeff Ames
0718aa0b7f
Minor formatting cleanup.
2008-08-07 12:55:46 +00:00
Dr Scofield
5248c18b7d
From: alan webb <alan_webb@us.ibm.com>
...
This fixes a sitting problem which popped up on loading regions from
archive and turned out to be caused by the fact that the archiving
mechanisms all preserve the sit-target information that is set in the
object at the time the image is captured. This caused the new region
to pick a sit-target prim that did not correspond to the prim on which
the script was running, so the script's changed event is driven with
an invalid avatar UUID.
I have modified the ArchiveReadRequest class so that any sit information
that survives the archiving process is deleted before the object is
instantiated. This change has just been checked in.
2008-08-06 14:46:38 +00:00
Mike Mazur
548bcc265f
Rename namespace to FunSL.
2008-08-06 01:38:25 +00:00
Mike Mazur
f180fa57e7
Create FunSLUDP client stack. At the moment it's only a copy of the LindenUDP
...
client stack.
2008-08-06 01:34:50 +00:00
Justin Clarke Casey
b018d6e84f
* oops, fix build break from last checkin
2008-08-05 20:50:53 +00:00
Justin Clarke Casey
200c77ad15
* possible fix for event queue problems (exceptions and event count max exceeded issues) seen in osgrid meeting today
...
* From the logs, I'm guessing probable cause is that an exception generated by a bad index given to substring error line number conversion stopped the script being killed, leading to continuous events that filled up the log (maybe)
* Someone will need to go back and fix this properly
2008-08-05 20:47:36 +00:00
Justin Clarke Casey
6b1a5c33af
* Fix probable cause of one of the bugs seen in the osgrid office hours today
...
* If a text string is too long we actually need to truncate to 254 chars rather than 255, since the Helpers.StringToField conversion will stick a \0 on the end
2008-08-05 20:34:34 +00:00
Justin Clarke Casey
9e6fadddcc
* Add / as a shortcut to select the root region
2008-08-05 18:16:09 +00:00
Justin Clarke Casey
de0a6e7f2b
* Try and make the contents of the region prompt more obvious by returning to printing the selected region after a change attempt has been made.
2008-08-05 17:52:06 +00:00
Justin Clarke Casey
f2c456c23d
* Make currently selected region appear in the region console prompt
...
* This region is used for single region commands (such as save-xml2)
2008-08-05 17:28:23 +00:00
Justin Clarke Casey
b46e6e2130
* refactor: change method name
2008-08-05 17:03:06 +00:00
Justin Clarke Casey
1da9902294
* refactor: clean up code for selecting regions on the region console
2008-08-05 17:00:35 +00:00
Justin Clarke Casey
07019c6a84
* minor: slightly pointlessly increase the verbosity of the message given when a queued deletion from scene to inventory fails because the root part of the group has been zapped
2008-08-05 16:37:06 +00:00
Melanie Thielker
5469c0d6f8
Fix one more instance of a bad bit value for the collision event
2008-08-04 21:30:12 +00:00
Melanie Thielker
c1e7b45e18
Fix wrong bitmask value in script engine that would make a mess of
...
the ObjectFlags. Good catch, gsky, thank you!
2008-08-04 17:52:00 +00:00
Melanie Thielker
244a9282d0
Addresses Mantis #1886
...
Forces the landmark and menu flags to be always set, like in previous
releases. This will cause the parcel based restriction on setting
landmarks to have no effect, until it is implemented properly
2008-08-04 15:19:10 +00:00
Charles Krinke
dba4d357c8
Mantis#1877. Thank you kindly, Sache Magne for a patch that:
...
This patch allows the operator to see the region currently served.
A message "Serving region : xxxxx" appears under help or any show commands.
2008-08-02 02:53:11 +00:00
Melanie Thielker
12c5bfa3e0
Estate series, patch 9 ( #9157 )
...
Adds the new access semantics and the new flag (allow only age verified)
Plumbs in the abuse email address from sim to viewer. The other way around,
libomv appears to be lacking support for the data field in the packet.
Includes a migration, run prebuild!
2008-08-01 21:08:00 +00:00
Justin Clarke Casey
3fc942558e
* start tracking viewer session threads
2008-08-01 20:16:28 +00:00
Justin Clarke Casey
5350cec0b3
* minor: log message twiddling
2008-08-01 20:05:26 +00:00
Justin Clarke Casey
10e0df0a2d
* correct bug from last commit - for now don't drop cached user profile when an agent is downgraded to a child agent
...
* since upgrading to a root agent doesn't currently re-retrieve the user profile
2008-08-01 19:24:48 +00:00
Justin Clarke Casey
43b2ff1d11
* Drop cached inventory from the local region when a user crosses out into a remote region
...
* May resolves inventory problems that occur when the user moves between two regions`
* e.g. if the user moves to a second region, adds an inventory item, moves back to the original region then tries to manipulate that item
* Not yet implemented for teleport
2008-08-01 18:49:48 +00:00
Dahlia Trimble
88fba448a1
reinstates torus profile zflip which was mistakenly removed in patch 1870
2008-08-01 05:48:24 +00:00
Dahlia Trimble
1d3677eb9b
Thank you jhurliman for a meshmerizer patch that replaces the quaternion->matrix->vertex*matrix->vertex code with a direct transformation.
2008-08-01 05:45:58 +00:00
Charles Krinke
ab778c4114
Mantis#1859. Thank you kindly, Lmmz for a patch that:
...
Implements llForceMouselook().
2008-08-01 02:33:28 +00:00
Justin Clarke Casey
6d15f25026
* Allow an individual item to be specified as well as a folder in save-inv
...
* No user functionality yet (and not for some time)
2008-07-31 18:32:57 +00:00
Justin Clarke Casey
900a656420
* refactor: rearrange path inventory manipulation so that input tidying can be used for item paths as well
2008-07-31 18:23:17 +00:00
Justin Clarke Casey
a62b906a7b
* allow inventory folders to be located by path
...
* first pass method impl
2008-07-31 17:32:13 +00:00
Justin Clarke Casey
078643a017
* refactor: Change CachedUserInfo.HasInventory to HasReceivedInventory to make actual function clearer
2008-07-31 16:05:50 +00:00
Justin Clarke Casey
58af0fabeb
* minor: reduce coupling by passing in only session id to CachedUserInfo
2008-07-31 15:53:07 +00:00
Charles Krinke
1f7fde9436
Mantis#1868. Thank you kindly, HomerHorwitz for a patch that:
...
0001868: llXorBase64StringsCorrect leads to error if second string
shorter than first which was an off by one error.
2008-07-31 15:11:44 +00:00
Melanie Thielker
c441a03ea3
Thank you, HomerHorwitz, for a patch that implements llSetCameraParams/llClearCameraParams.
...
Fixes Mantis #1867
2008-07-31 12:31:31 +00:00
Melanie Thielker
244ad2e614
Thank you, HomerHorwitz, for a patch that add PERMISSION_CONTROL_CAMERA
...
Fixes Mantis #1861
2008-07-31 12:25:18 +00:00
Melanie Thielker
b3e19359d9
Thank you, sacha magne, for a patch that prevents sim chat from
...
being heard across whole grids.
Fixes Mantis #1855
2008-07-31 10:58:15 +00:00
Melanie Thielker
af3e2c6e1c
Thank you, sacha magne, for a patch that implements
...
llRequestSimulatorData("simname", DATA_SIM_RELEASE)
Fixes Mantis #1866
2008-07-31 10:51:30 +00:00
Mike Mazur
ddf126321c
Thanks, M. Igarashi & nlin, for a patch that implements unary minus operator
...
for Vector3 type. Fix issue 1872.
2008-07-31 09:34:13 +00:00
Mike Mazur
16cf5aa2b8
Allow the list hack from issue 1863 to compile, however its behavior is
...
different than in SL. See http://opensimulator.org/mantis/view.php?id=1863 for
details.
2008-07-31 07:11:49 +00:00
Mike Mazur
57ec7a26cd
-make ZERO_VECTOR and ZERO_ROTATION static readonly properties so they can be
...
used in scripts
-cast from bool to LSL{Integer,Float,String} so functions such as `integer
isZero(integer x) { return (x == 0); }` work
-progress on issue 1863
2008-07-31 07:11:41 +00:00
Mike Mazur
56c4cc39ff
Allow assignments in if/while/do-while control statements. Fix issue 1862.
2008-07-31 04:13:46 +00:00
Mike Mazur
eef3864278
Fix issue 1860; exception thrown in the parser on if/if-else/for/while/do-while
...
statements with no body.
2008-07-31 01:27:33 +00:00
Mike Mazur
1c8f490573
More LSL_Types implicit/explicit cast changes. Fix issue 1854.
2008-07-31 00:29:19 +00:00
Melanie Thielker
3a2caa1f9a
Thank you, HomerHorwitz, for a patch that
...
implements llSetLinkTexture. Heavily influenced by llSetLinkPrimitiveParams.
2008-07-30 22:37:42 +00:00
Dr Scofield
5095b4c212
From: Richard Alimi <ralimi@us.ibm.com>
...
The following is a patch that causes the ensuing http_response event (after
an llHTTPRequest) to include the HTTP status code returned from the server
(if available). The patch also sets the body parameter for the
http_response event to be set as the status description returned by the
server.
2008-07-30 16:47:25 +00:00
Dr Scofield
96d1891c71
From: Richard Alimi <ralimi@us.ibm.com>
...
The following is a patch that causes HTTP connections made by llHTTPRequest
to be closed once the response is read.
2008-07-30 16:21:01 +00:00
Melanie Thielker
c80493ed4d
Prevent acks from being appended to viewer effect packets, since
...
that has been known to cause an exception in libomv ^^
2008-07-29 22:40:23 +00:00
Justin Clarke Casey
d84a6bca55
* minor: temporarily command out variables to prevent compile warnings
2008-07-29 18:16:17 +00:00
Justin Clarke Casey
19a5e56d55
* add file path parameter to save-inv (in development)
2008-07-29 18:14:58 +00:00
Justin Clarke Casey
d13c9161c9
* find user on save-inv
2008-07-29 18:11:58 +00:00
Justin Clarke Casey
aa59dfb1d2
* minor: route create user through underlying super class method rather than calling communications manager directly
2008-07-29 18:01:12 +00:00
Justin Clarke Casey
e595959d97
* refactor: move create user console command parsing down to OpenSim.cs from CommunicationsManager
2008-07-29 17:39:15 +00:00
Justin Clarke Casey
e7b3e7b749
* Put in stub code for inventory backup.
...
* No user functionality yet (and not for quite some time)
2008-07-29 14:28:08 +00:00
Dr Scofield
03efaff60e
moving GridInfo application plugin into a common standalone/grid
...
service, adding a plain REST GET handler returning XML (no LLSD),
adding appropriate add handler calls to OpenSimBase and UserServer.
2008-07-28 12:18:48 +00:00
Mike Mazur
f6fa4ada4e
When casting strings to int, use double.Parse() as strings may be floats. With
...
this commit, issue 1822 should be fixed.
2008-07-28 07:46:53 +00:00
Mike Mazur
d959c65b91
-implement LSLString -> Quaternion explicit cast
...
-sync Shared/LSL_Types.cs with Common/LSL_Types.cs
-get the test script in issue 1822 to compile
2008-07-28 02:36:26 +00:00
Mike Mazur
a61e1ea7dc
Adding explicit cast from LSLFloat to LSLInteger. Work on issue 1822.
2008-07-28 02:36:22 +00:00
Mike Mazur
82fa53a486
-copy LSL_Types tests from Common/ to Shared/
...
-fix some whitespace/formatting
2008-07-28 02:36:18 +00:00
Melanie Thielker
40bb4edf8c
Refresh LSLTypes.cs in Shared/ from the one in Common/, which was
...
more complete.
2008-07-28 01:33:21 +00:00
Adam Frisby
e2ce142669
* Added a check for Infinite or NaN values before updating a heightfield. This may slow down terraforming when it debug mode - feedback appreciated.
2008-07-28 00:43:01 +00:00
Melanie Thielker
9fca0aca64
Reinstate the configuration option on XEngine's use of the lexical
...
compiler. Changes the default in OpenSim.ini.example to "true" to
allow for a broader user base for testing.
2008-07-28 00:40:35 +00:00
Mike Mazur
9e58ce60c0
Use new LSL compiler by default in DotNetEngine and XEngine. Fix issues 1651, 1339.
2008-07-27 23:53:18 +00:00
Melanie Thielker
50f2e88c99
Re-fix r5681. Sorry for the inconvenience. We will now return you
...
to your scheduled scripting.
2008-07-27 20:32:22 +00:00
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
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
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
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
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
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
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
24e15088ea
renaming the increasingly ill-named ChatFromViewerArgs to OSChatMessage
2008-07-25 10:05:50 +00:00
Mike Mazur
19ad7db5e1
Add casts from integer to float. Fix issue 1822.
2008-07-25 07:50:31 +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
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
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
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
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
c38b811f5d
catch a null case in the convenience RegionID property
2008-07-23 22:14:35 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
788c3c497b
removes a Console.WriteLine(...) remnant.
2008-07-15 13:02:10 +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
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
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
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
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
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
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
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
Charles Krinke
81af87545e
Mantis#1391. Thank you kindly, Phrearch for a patch that:
...
Solves svnbackup svn add directory failure.
2008-07-10 13:51:56 +00:00
Charles Krinke
7fd63d9dc8
Mantis#1682. Thank you kindly, Sempuki for a patch that:
...
Move control of Mono.Addins from source attributes to external XML files.
This removes a lot of coupling of the source with Mono.Addins
2008-07-10 13:45:46 +00:00
Johan Berntsson
d41c1f40a8
Patch from Mike: errors from the LSL/C# compilers are now reported to the user in-world
2008-07-10 05:40:45 +00:00
Charles Krinke
38da8960e9
Mantis#1707. Thank you, Melanie for a patch that:
...
This patch limits the maximum size of prims that can be created using libsl bots
or modified clients to 65536mper side. It also limits LSL functions to that size.
If a prim is already physical, the enforced constraint is 10m.
A prim that is larger than 10m cannot be turned physical, either via script or UI.
Linksets are handled correctly, so scaling of physical linksets is constrained by
the size of it's largest component prim. Also, turning linksets physical is based
on the size of it's largest ptim.
2008-07-10 03:13:29 +00:00
Charles Krinke
c9a7bf7e58
Mantis#1673. Thank you kindly, Matth for a patch that:
...
LSLInteger + literal integer is not an LSLInteger.
The included patch fixes the issue: LSLInteger + literal
integer is not an LSLInteger (also fixed for -,*,/)
2008-07-10 00:40:38 +00:00
mingchen
817a0fa40c
*Patch as supplied in Mantis #0001705 by melanie. Fixes: Locked prims allow *any avatar* to deposit scripts in them, regardless of permissions
2008-07-09 19:53:22 +00:00
Charles Krinke
96b64d6973
Mantis#1127. Thank you kindly, Grumly57 for a patch that:
...
Addresses HTTP_METHOD parameter does not work for POST requests.
2008-07-09 18:42:34 +00:00
Charles Krinke
130cbd4376
Mantis#1704. Thank you kindly, Mjm for a patch that:
...
The attached patch implements llRemoveInventory().
2008-07-09 18:03:22 +00:00
Charles Krinke
9f68bcd80b
Mantis#1700. Thank you, Melanie for a patch that:
...
Lets osSetParcelMediaTime honor the AllowOSComamnds setting
2008-07-09 14:32:21 +00:00
MW
58ce018625
for testing purposes only:
...
added void osSetParcelMediaTime(double time) command to script engines.
which sets the position of the media that is playing. Time is in seconds.
Doesn't do any security checking (should be checking that the object/script is owned by the parcel owner). So could be abused, if it is then we should remove it, or add the security.
Only tested in dotnet scripting engine, but should work in XEngine too.
2008-07-09 12:02:01 +00:00
MW
7db2e19500
corrected the params types on IClientAPI.SendParcelMediaCommand. the command parameter should be set to the the ParcelMediaCommandEnum value. While flags seems to need to be set to (uint)(1<<[value of the command enum])
2008-07-09 11:01:26 +00:00
Johan Berntsson
5609292101
Patch from Mike which removes a lexer warning in the LSL compiler.
2008-07-09 07:37:42 +00:00
Justin Clarke Casey
79f68e571f
* Don't fail the archive operation if exceptions are encountered while analyzing prims
2008-07-08 17:58:45 +00:00
Justin Clarke Casey
00a38df75a
* Guard against a failure to find an inventory item in a move request by complaining in the log rather than terminating the session
2008-07-08 16:57:48 +00:00
Charles Krinke
01904e66f2
Mantis#1690. Thank you kindly, Melanie for a patch that:
...
esets script permissions when a script is recompiled.
2008-07-08 15:16:43 +00:00
Charles Krinke
27e3fee1cd
Mantis#1690. Thank you, Malanie for a patch that:
...
addresses "recompiles clear perms:
2008-07-08 15:10:53 +00:00
Charles Krinke
71666a894a
Mantis#1691. Applied Melanie's modification of
...
Phrearch's iiGetCameraPos() patch, but not the original
yet. Thank you Phrearch and Melanie.
2008-07-08 15:05:23 +00:00
lbsa71
b7fc172254
* Added experimental SendParcelMediaCommand and SendParcelMediaUpdate to IClientAPI. These methods have not been tested, but feel free to start wiring them to llParcelMediaCommandList.
2008-07-08 14:17:59 +00:00
lbsa71
6c13d68489
* Changed casing of some archaic methods to conform with code standards
2008-07-08 11:30:08 +00:00
lbsa71
b1b529f94e
* Moved script packet handlers from 'unimplemented' to 'Script Packets'
2008-07-08 11:02:53 +00:00
Johan Berntsson
a73e3b4e3f
another patch from Mike: the llscript compiler is now available in XEngine as well. Thanks Mike
2008-07-08 03:02:11 +00:00
Johan Berntsson
e75ff8f0a3
llscript compiler patch from Mike: adds LSL jumps and implicit variable initializations
2008-07-08 02:34:45 +00:00
Sean Dague
867d72c956
change SitTarget calls from functions to properties
2008-07-07 20:12:14 +00:00
Justin Clarke Casey
0b2fcbfec4
* Start scripts loaded from an archive
2008-07-07 18:54:11 +00:00
Justin Clarke Casey
9362d9b231
* switch terrain archiving to raw32 rather than png to avoid unnecessary posterization. Thanks to Adam for the tip.
2008-07-07 16:37:02 +00:00
Dahlia Trimble
c5333af7a2
added a hollow size constraint to box, cylinder, and prism prim meshes to prevent a possible sim lockup
2008-07-07 10:09:35 +00:00
Dahlia Trimble
56c6bdcb26
Addresses more problem box cut angles
2008-07-07 05:42:37 +00:00
Dahlia Trimble
063365c0dc
fix some Meshmerizer problem angles for sphere dimple and box path cut
2008-07-07 04:32:05 +00:00
Dahlia Trimble
6914fb6f13
disables changes in r5356 until I have more time to do further characterization
2008-07-06 19:44:59 +00:00
Charles Krinke
dfd5e675c0
Mantis#1678. Thank you kindly, Vytek for a patch that:
...
Changes ...TimeOfDay.Milliseconds to ...TimeOfDay.TotalMilliseconds
for llGetTimeOfDay() in both LSL_Api.cs and LSL_BuiltIn_Commands.cs
2008-07-06 18:39:37 +00:00
Dahlia Trimble
ae468bfc9b
Corrects errors in sphere mesh with dimple start angle > 0 and hollow == 0
2008-07-06 17:18:59 +00:00
Justin Clarke Casey
ca97dda603
* In archiver, scan scripts for embedded asset uuids and save these out
2008-07-06 16:19:04 +00:00
Justin Clarke Casey
238f2274e3
* refactor: archiver code clean up so that it's more readable for the next functionality addition
2008-07-06 15:38:39 +00:00
Charles Krinke
18c8bf99a4
Mantis#1677. Thank you, Melanie for a patch that:
...
Patch propagates the permissionToTake flag into the timer handler,
so that "take copy" and delete permissions are honored.
2008-07-06 14:19:55 +00:00
Jeff Ames
d470d30c09
Copyright notices and formatting cleanup.
2008-07-06 14:02:22 +00:00
Justin Clarke Casey
1b69714c44
* minor: documentation in SceneObjectPart.Inventory.cs. Refactor AddInventoryItem methods to reduce code duplication
2008-07-06 13:08:52 +00:00
Justin Clarke Casey
666626db6d
* minor: remove unnecessary locking from SOP.GetInventoryItem()
2008-07-06 12:46:17 +00:00
Justin Clarke Casey
0b16f9eee2
* minor: Stop spurious 'item not found' messages when placing things into a prim's inventory
2008-07-06 12:35:00 +00:00
Charles Krinke
f6375fceb4
Mantis#1674. Thank you kindly, Matth for a patch that:
...
This patch fixes an error in llSetPrimitiveParams() that
prevents correctly setting the type of the prim to SCULPT_TYPE.
2008-07-06 03:47:21 +00:00
Adam Frisby
55dda82180
* Moves sending items to inventory via a delete into a seperate thread (this thread can be expanded to support all sends to inventory from inworld easily enough). Thread is temporary and only exists while items are being returned.
...
* This should remove the "lag" caused by deleting many objects.
* Patch brought to you by Joshua Nightshade's bitching at me to fix it.
2008-07-06 02:27:10 +00:00
Dahlia Trimble
fd69251bcd
alters a problem path cut angle for the cylinder prim profile
2008-07-06 02:04:24 +00:00
Charles Krinke
fdbf0c39d2
Add implementation of llGetTimeOfDay()
2008-07-05 16:46:03 +00:00
Justin Clarke Casey
e45fa5d32d
* extend archiving asset analysis to clothing
2008-07-04 20:18:00 +00:00
Justin Clarke Casey
8179b472c3
* On archiving, analyze body parts and save textures referenced from them
2008-07-04 20:01:55 +00:00
Justin Clarke Casey
e1782bc249
* refactor: break out archiver's combined sync-async asset request routine ready for analysis of inventory item types other than objects
2008-07-04 18:36:12 +00:00
Dr Scofield
6265a09ff9
Renaming UserManagerBase.SetUserProfile(UserProfileData) to
...
UserManager.UpdateUserProfile(UserProfileData).
Adding UpdateUserProfile(UserProfileData) to IUserService interface.
Adding RemoteAdminPlugin.XmlRpcUpdateUserAccountMethod(...) to provide
a remote update capability.
2008-07-04 11:13:25 +00:00
Dr Scofield
2dadbc2f70
mini-warnings-safari, plus cleanup of IUserServices method naming.
2008-07-04 10:19:58 +00:00
Johan Berntsson
382fb8cea6
The new llScript-cs parser. Thanks Mike
2008-07-04 08:59:41 +00:00
Charles Krinke
23ec21e44a
Mantis#1647. Thank you very much, Sempuki for a patch that:
...
Updates the previous module loader work.
2008-07-04 03:11:53 +00:00
Charles Krinke
ce5122ebf3
Mantis#1659. Thank you, Melanie for a patch that:
...
In LSL, the state command should have an immediate effect.
The OpenSim script engine seems to wait until the function
ends to process the state transition.
2008-07-04 00:59:38 +00:00
Charles Krinke
cf87a9c5fe
Mantis#1660. Thank you, kindly, Melanie for a patch that:
...
Attached patch changes TRUE and FALSE to be LSLIntegers.
2008-07-03 23:06:38 +00:00
Justin Clarke Casey
8251508412
* On client login, send only one terrain patch at a time (with pauses) instead of 4 at a time
...
* Certain terrains which are fine went patches are sent singly cause a libsecondlife failure when patches are sent in batches
* See http://opensimulator.org/mantis/view.php?id=1662 for more details
2008-07-03 23:04:12 +00:00
Charles Krinke
af82b1e710
Mantis#1463. Thank you, Melanie for a patch that addresses:
...
sometimes, incorrect sit rotation is sent to other clients
2008-07-03 22:24:31 +00:00
mingchen
a5e3439cf0
*.Raw files should now be loadable using "terrain load-tile" functionality
2008-07-03 22:16:09 +00:00
Charles Krinke
b1ab680a66
Mantis#1658. Thank you, Melanie for a patch that:
...
Adds IEmailModule and a module skelaton
2008-07-03 20:58:29 +00:00
Sean Dague
f0f1e00ec3
add a couple of LL conversion properties to SOP. I'll wait to clean
...
up the sit target usage until the sit target fix patch goes in, but it should
be cleaned.
Get prims table mappings to the point where nhibernate likes them enough
to start.
Remove field from asset mapping so it will start
2008-07-03 18:25:18 +00:00
Charles Krinke
103093cf11
Mantis#1654. Thank you kindly, Matth for a patch that:
...
Updates llGetPrimitiveParams() and associated files.
2008-07-03 15:34:05 +00:00
Charles Krinke
e3a583f4b4
Mantis#1653. Thank you kindly, Vytek for a patch that:
...
Implements llGetTimeOfDay().
2008-07-03 14:25:43 +00:00
mingchen
ba2afef0f1
*Parcel Claim date is no longer Epoch (Jan 1, 1970). Now shows the actual creation/reclaim/sale date.
2008-07-03 01:29:18 +00:00
Charles Krinke
c1456936a6
Mantis#1652. Thank you, Melanie for a patch that:
...
Applies the patch to LSL_Api.cs
2008-07-03 00:40:02 +00:00
Charles Krinke
35ec3b7a3f
Mantis#1649. Thank you kindly, Matth for a patch that:
...
This patch adds the ability to set the prim type using llSetPrimitiveParams().
Seems to work ok, but there are a staggering number of cases to test,
so I have not yet tested them all.
2008-07-02 23:19:00 +00:00
Justin Clarke Casey
bc20c88a0a
* Allow archiver to operate even if there are 0 scene objects to save
2008-07-02 23:07:52 +00:00
Justin Clarke Casey
3183a20632
* Start writing out control file in archive. Only contains version information right now.
2008-07-02 22:53:36 +00:00
Sean Dague
2c113c00cf
property encapsulation for SOP
2008-07-02 20:31:17 +00:00
Justin Clarke Casey
79f937612e
* Twiddle with archive asset extensions yet again
...
* Reintroducing asset type but this time in a long form, and with _ rather than .
2008-07-02 17:35:33 +00:00
Dahlia Trimble
13d6615263
Adds experimental Meshmerizer support for "prim torture" effects of sphere dimple on prim types box, cylinder, and prism
2008-07-02 17:08:52 +00:00
Justin Clarke Casey
9052c43319
* Drop InvType from the assets table since it is no longer used
...
* Migration should be automatic on sqlite and mysql
* Migration is not automatic on mssql, you will need to drop the invType column manually
* Migration should be fine, but as for any db change, I would recommend making sure you have backups before moving past this revision
2008-07-02 16:20:54 +00:00
Charles Krinke
7580fa5c0a
Mantis#1648. Thank you, Melanie for a patch that:
...
Fix a script Xengine deadlock/hang if llResetScript is used in changed()
2008-07-02 13:31:39 +00:00
Charles Krinke
e4d68a8b64
Mantis#1643. Thank you Melanie for a patch that:
...
In the new runtime, there is a flag to diable all os* comamnds.
The implementation of osGetScriptEngineName ignored it.
This patch fixes this.
2008-07-01 21:57:36 +00:00
Sean Dague
f162f4544c
merge rotational and angular velocity
2008-07-01 21:31:02 +00:00
MW
c9fe500212
Added "save-prims-xml2 <PrimName> <FileName>", as we were lacking a method to save a single primitive or small group of them. This command will save all prims in the current scene that name matches the "PrimName" parameter. The saved file is in standard xml2 format, so can be loaded using load-xml2
2008-07-01 19:23:45 +00:00
Charles Krinke
0aaf0c4565
Mantis#1640. Thank you, Chernega for a patch that addresses:
...
It would appear that calling llResetScript() in state_entry() causes deadlock of region.
Probably due to llResetScript calling state_entry again. llResetScript should see who called it,
and not recall state_entry() after a state/variable reset. Once this script is in a prim,
the region/world/debug/script window shows it consuming the server (from 2,400 to 800,000 milliseconds).
2008-07-01 13:42:47 +00:00
Charles Krinke
b8a3a27221
Mantis#1641. Thank you, Lulurun for a patch that addresses:
...
The 1st "GetAvatarAppearance" *always* fails and returns default
avatarappearance. Avatarappearance seems to be working well because
the 2nd "GetAvatarAppearance" gets the right appearance.
2008-07-01 13:34:05 +00:00
Dr Scofield
5e63206018
From: kurt taylor (krtaylor)
...
Another new OSSL function for returning the name of the script engine
currently running, osGetScriptEngineName, added to both DotNet and XEngine
OSSL API.
2008-07-01 07:16:02 +00:00
Charles Krinke
bf34f65125
Mantis#1639. Thank you, Melanie for a patch that:
...
Reads estate_settings.xml and populates the database from it.
If there is no record, just passes the defaults to the application.
2008-07-01 02:16:58 +00:00
Sean Dague
32ca6b6035
attempt to expire out old dynamic textures, so they don't grow forever.
2008-06-30 18:27:01 +00:00
Charles Krinke
4cb42d4c35
Mantis#1637. Thank you kindly, Melanie for a patch that:
...
Make each region load it's settings from the database on startup.
No user functionality yet.
2008-06-30 14:09:19 +00:00
Dr Scofield
313f7f60fd
properly explaining each #pragma warning disable
...
massaging OSHttpRequestPump to not abort on exceptions...
2008-06-30 11:57:47 +00:00
Dahlia Trimble
b0287a43bd
disables spam-like debugging messages inadvertently left on in last commit (oops)
2008-06-30 06:11:43 +00:00
Dahlia Trimble
7077cffe52
Corrects Meshmerizer orientation of profile cut angles for ring type prim
2008-06-30 06:08:43 +00:00
Dahlia Trimble
a944ef4947
Corrects meshmerizer profile cut angle orientation for tube type prims
2008-06-30 02:08:27 +00:00
Justin Clarke Casey
d8e18ad0f0
* Reload terrain from archive if there is one
2008-06-29 20:08:58 +00:00
Justin Clarke Casey
f8d9ccc70e
* Save terrain information in archive
...
* Not yet reloading
* Terrain saving will be optional a little further down the line
2008-06-29 19:53:33 +00:00
Charles Krinke
ca06387123
Add minor comments.
2008-06-29 19:30:01 +00:00
Justin Clarke Casey
7d5a21ddbf
* Allow terrains to be loaded and saved from streams as well as directly to and from files
...
* Should be making use of this in the next revisions
2008-06-29 19:21:43 +00:00
MW
7917398451
added patch 1633, thanks Melanie.
...
Although I think a bit of abstraction needs to be done to make it easy to override the deleting off the inventory item when rezzing a object.
2008-06-29 13:52:03 +00:00
MW
037b31f9db
patch from mantis #1632 , thanks Melanie
2008-06-29 12:33:45 +00:00
MW
f3f31744ab
patch and files from mantis #1630 , Thanks Melanie
2008-06-29 11:48:58 +00:00
Teravus Ovares
7f847166a9
* Syncs the current revision XML Schema(xsd) to the XML Schema of revision 5251.
...
* This should resolve creating content, taking it, and being able to rez it again.
2008-06-29 02:04:44 +00:00
Charles Krinke
1091f78e04
Mantis#1626. Thank you kindly, Melanie for a patch that:
...
Fixes IAvatarService for grid and standalone modes
2008-06-28 19:04:28 +00:00
Dahlia Trimble
0260b33517
Altered prim description/debugging message code to be more warning friendly
2008-06-28 18:04:04 +00:00
MW
5cfc468d95
more work on the support for multiple inventory servers.
...
The Login service should now read/create new inventory on the inventory server that is set in a users profile.
Also added "Add-InventoryHost" console command to add a support for a new server to a region.
So it would be good if someone could test this. Set up the grid as normal, but then also run extra inventory server on a different computer (well actually it just has to be on a different network hostname, so one using "http://localhost:8004 " and one using "http://127.0.0.1:8005 " should work) then you need to manually edit the user profile database to set the new servers url in a user's "userInventoryURI" field.
Then on a region server, use the Add-InventoryHost to add the new server url (always include the full url, including http, but don't add a final /)
Login with that account and see if the inventory works.
Of course these needs to be made more user friendly.
2008-06-28 17:52:06 +00:00
Charles Krinke
590df180a4
Manti#1624. Thank you, Melanie for a patch that:
...
Sets XEngine threads to en-US culture before calling script events,
fixes i18n issues with european locales.
2008-06-28 17:47:06 +00:00
MW
a9347b6ceb
Extracted the Avatar appearance functions out of the IUserService interface and moved them into a IAvatarService
...
Although "out of the box", there is no actual functional change to behavior
2008-06-28 17:43:20 +00:00
Charles Krinke
7a255d4404
Comment out StringTest until we use it somewhere.
2008-06-28 17:01:26 +00:00
Charles Krinke
2f70baee52
Mantis#1623. Thank you, Melanie for a patch that:
...
Fully defines the equality operators on the lsl types and plubs
in the script engine side of the work begun in 0001616 (aly, this one's for you)
2008-06-28 16:18:47 +00:00
Charles Krinke
c06dbf4fe5
Mantis#1620. Applied Melanie's patch
2008-06-28 16:13:11 +00:00
Charles Krinke
9a0ef22ed9
Mantis#1616. Applied Melanie's patch. This may or may
...
not break trunk.
2008-06-28 16:08:12 +00:00
MW
86defd0a69
plumbing for multiple inventory servers. Mostly done on the region server side.
...
TODO next is to make the login server read/write a users inventory from the correct server (the inventory url set in a userprofile)
On the region side, although not tested with multiple servers it should work if that inventory url was set, and the inventory servers urls have been added to the CommunicationsManager, using CommunicationsManager.AddInventoryService(string hostUrl)
2008-06-28 15:13:17 +00:00
Charles Krinke
42e892140c
Remove one warning. We are now down to 16 warnings in
...
a build with VS2005.
2008-06-28 14:46:20 +00:00
Dr Scofield
55a4cf33a3
From: Kurt Taylor <krtaylor@us.ibm.com>
...
Patch to fix the passed parms and properly show llTakeCamera and
llReleaseCamera as deprecated. Patch for both XEngine and DotNetEngine.
2008-06-28 07:30:49 +00:00
Teravus Ovares
ec7110f2cf
* Melanie adds the event manager back to the XEngine so all yr events are hers, I mean, fire.
2008-06-28 03:45:52 +00:00
Teravus Ovares
e5649e0dd5
* Various documentation to some black magic parts of LLClientView
...
* Added IClientAPI.SendTexture stub.
2008-06-28 00:33:17 +00:00
Dahlia Trimble
8b8b45267e
altered prior warning fix to Meshmerizer.cs to allow mesh debugging code to function
2008-06-28 00:16:41 +00:00
Sean Dague
30592156c8
tart the property wrapping in SOP. This will be a long process
...
will do more next week.
2008-06-27 23:22:14 +00:00
Dr Scofield
748f72326d
last round of warning squashing. calling it a day now.
2008-06-27 23:03:39 +00:00
Dr Scofield
20940951b2
more warnings to go.
2008-06-27 20:40:25 +00:00
Justin Clarke Casey
810d3da2b9
* Experiment with not bothering with a seperate assets metadata file - extract necessary minimum metadata from asset filenames
...
* Make all file extensions single - double extensions look ugly and probably aren't good for Windows
2008-06-27 20:08:29 +00:00
Dr Scofield
3d26e6ede0
move along, nothing to see here. just a couple of lazy variables.
2008-06-27 19:57:06 +00:00
Sean Dague
333b741e30
run NArrange on SOP to stack together the attributes,
...
properties, private methods, public methods, etc.
2008-06-27 19:21:15 +00:00
Charles Krinke
1646f42a80
Mantis#1615. Thank you, Matth for a patch that:
...
causes deprecated LSL functions to throw the deprecated
exception rather than not-implemented.
2008-06-27 19:13:42 +00:00
Dr Scofield
2f6a5f5575
dr scofield's continuing warnings safari:
...
* code caught lingering around with no real purpose other than causing warnings
will be taken down.
2008-06-27 18:32:32 +00:00
Justin Clarke Casey
442a938a3f
* fix a bug where I was assuming all entities would be SceneObjectGroups - of course, some are ScenePresences
...
* would be nice to have a separate list in InnerScene in the future since a lot of methods end up screen entities for SOGs
2008-06-27 18:18:44 +00:00
Dr Scofield
7d55dfba8a
dr scofield's warnings safari:
...
* commenting out unused variables
2008-06-27 17:25:03 +00:00
Dr Scofield
feb30217de
dr scofield's warning safari:
...
* commented out [Obsolete(....)] attributes where no replacement feature
was available: if we want to attribute code that we think needs to be
reworked, we should define a new attribute and use that instead
(together with a little tool to retrieve all the attributed code then)
* commenting out unused variables
2008-06-27 16:58:21 +00:00
Justin Clarke Casey
9bf67201c3
* Remove responsibilty for signalling scene object change from SceneObjectPart.SendFullUpdate()
...
* This means that we will no longer pointlessly repersist all the prims in the scene when OpenSim first starts up
* This also means that force-update on the console will not trigger repersistence.
* Also, in other places persistence is no longer done where it wasn't actually necessary
* I think I changed the code for all instances correctly, but it's not possible that I missed some and some things which did persist properly have stopped
* Please patch or mantis if this is the case
2008-06-27 16:36:19 +00:00
Justin Clarke Casey
6175021300
* refactor: Remove group changed responsibilty from ScheduleGroupForTerseUpdate
2008-06-27 15:04:35 +00:00
Justin Clarke Casey
c299953ce5
* Remove SOG.SendGroupFullUpdate() group changed responsibility
2008-06-27 14:46:44 +00:00
Justin Clarke Casey
d34a46eae1
* refactor: Move responsibility for deciding whether a group should be repersisted on to callers of SceneObjectGroup.SendGroupTeruseUpdate()
2008-06-27 14:39:21 +00:00
Justin Clarke Casey
836557a2f7
* refactor: fission InnerScene.AddSceneObject()
2008-06-27 14:25:36 +00:00
Justin Clarke Casey
c9b41bdc4e
* Add extra backup parameter to InnerScene.AddRestoredSceneObject()
2008-06-27 14:15:14 +00:00
Charles Krinke
3697e0898c
Mantis#1612. Thank you, kindly, Matth for a patch that:
...
Adds the beginnints of llRemoteLoadScriptPin() and
llSetRemoteScriptAccessPin().
2008-06-27 02:22:33 +00:00
Charles Krinke
ca8d1d57e1
Mantis#1591. Thank you graciously, Sempuki for a patch that:
...
Currently module loading is done ad-hoc. I propose creating a simple
loader class that leverages Mono.Addins (and perhaps the new .NET
addins when they become available in mono). Attached is a basic
patch for review that compiles into HEAD, but doesn't yet replace
any existing ad-hoc loaders.
2008-06-27 02:15:57 +00:00
Charles Krinke
176efe3f06
Mantis#1610. Thank you, Melanie for a patch that:
...
Implements the beginning of llInventoryDrop. Doesn't cover
the actual dropping yet, just the permissions for it.
2008-06-26 23:37:21 +00:00
Charles Krinke
751150100b
Mantis#1603. Thank you, Matth for a patch to llGiveInventory
...
and Melanie for helping to finish it.
2008-06-26 20:52:05 +00:00
Jeff Ames
56802afff4
Update svn properties. Minor formatting cleanup.
2008-06-26 20:04:06 +00:00
Justin Clarke Casey
fa5f27acfa
* Put extensions on all assets in an archive
...
* Choice of extensions is a scratch set, may not yet be correct
* This facility is not useable yet - not least because I've just come across a significant save bug I need to investigate
2008-06-26 17:36:54 +00:00
MW
314181a70d
small change to last commit
2008-06-26 17:23:05 +00:00
MW
682ec53420
As per the suggestion on the mailing list, added support for a OpenSim.xml config file, instead of a ini file. INI files still work the same as they did before, just now if a ini file isn't found, it looks for a OpenSim.xml file (of course in xml format) and if found uses that.
...
Includes a OpenSim.Example.xml for reference (the default settings saved as a xml file).
2008-06-26 17:20:08 +00:00
Charles Krinke
6d5d911f3f
Mantis#1600. Thank you, Melanie for a patch that:
...
Fixes persistence of variable values to address
broken persistence in the big refactor.
2008-06-26 13:49:11 +00:00
Charles Krinke
a58a47a759
Mantis#1597. Thank you, Melanie for a patch that:
...
Adds handlers for the reclaim land functionality,
plus all needed permissions checks.
2008-06-26 13:45:36 +00:00
Charles Krinke
cf00df106d
Mantis#1602. Thank you, Kinoc for a patch to:
...
Patch to activate YieldProlog on Xengine.
Only adds YieldProlog to assembly if required.
2008-06-26 13:42:18 +00:00
Charles Krinke
1cd6b71b60
Mantis#1594. Thank you, Melanie for a patch that:
...
Fixes:
- Wearable icon and name sreset to default on copy/paste
- Cache is not updated when renaming/moving folders
- Partial refactor to make inventory less dependen on AssetBase having a "Name" field
- Add llGiveInventoryList() function
2008-06-26 02:46:29 +00:00
Jeff Ames
76e24d02ad
Minor refactoring of POS. Adds a Util.Clamp(x, min, max) function.
2008-06-26 02:03:40 +00:00
Jeff Ames
e75dc1bd23
Separate POS classes into mutiple files.
2008-06-26 00:30:33 +00:00
MW
cf1cf73839
added the flag param to IClientAPI.SendMapBlock
2008-06-25 20:14:47 +00:00
MW
35e1a2fdfc
first part of Requestmapblocks fixes: Adds uint flags param to the OnRequestMapBlocks event (and handler), as when a client sends a map block request it also sends what layer it wants it for 0,1,2. It will always send two requests, one of them being for layer 2 (the overlay layer) and the other one either 0 or 1 depending on the tab that is selected in the client worldmap window. We should also be sending what layer the reply is for in IClientAPI.SendMapBlock (current always set to 0). That will come in next part (most likely at the weekend).
2008-06-25 20:03:16 +00:00
MW
e4f85bcbe7
forgotten methods in SceneManager for the terrain serialising.
2008-06-25 19:46:48 +00:00
MW
7a9922af27
Added support for terrain map to be serialised to xml(as base64 binary). useful for places that the terrain map is needed in a serialised form. Also could add console commands to save and load from files, which should be faster than .raw files (these load/save commands are not included/implemented)
...
Add util functions to compress and uncompress strings.
Fixed a couple of modules so they use SceneCommunicationService rather than directly call functions on the CommsManager.
2008-06-25 19:33:19 +00:00
Dr Scofield
b7c81ff166
the prefix "fix" turned out to be bollocks. sorry about that. hope this one
...
fares better.
2008-06-25 16:43:42 +00:00
Jeff Ames
a2b1a1787d
Minor formatting cleanup.
2008-06-25 14:30:28 +00:00
Jeff Ames
80f5eb21ea
More svn properties. Minor cleanup in POS.
2008-06-25 13:32:27 +00:00
Jeff Ames
52a18954bb
Update svn properties. Add copyright notices.
2008-06-25 13:19:42 +00:00
Dr Scofield
b713f4a540
taking another look at mantis #1502 : adding necessary locks, checking for empty list.
2008-06-25 12:21:51 +00:00
lbsa71
903dbcadd0
* Deleted some genned files
2008-06-25 07:25:54 +00:00
Dahlia Trimble
bc66a851d6
Modifies box prim profile cut parameters to avoid angles which cause spurious triangles in mesh
2008-06-25 07:17:36 +00:00
Charles Krinke
ab927231d7
Mantis#1590. Thank you, Melanie for a preserve type patch.
2008-06-25 01:37:11 +00:00
Charles Krinke
c7edabd2d3
Mantis#1590. Thank you kindly, Melanie for a patch that:
...
Makes items appear in the item type folder, rather than in the root
2008-06-25 01:24:00 +00:00
Charles Krinke
f6bf4c39be
Mantis#1587. Thank you kindly, Melanie for a patch that:
...
Add permissions magling to llGiveInventoryItem,
correct some corner case functionality
2008-06-24 23:55:33 +00:00
Charles Krinke
dc0d089bf5
Mantis#5189. Thank you kindly, Matth for your patch
...
to add the beginnings of llGiveInventory().
2008-06-24 21:23:28 +00:00
lbsa71
6b7930104b
* Applied patch from Melanie, mantis issue #1581 - "Refactor LSL language, api and compiler out of XEngine"
...
"First stage in a major Script Engine refactor, that will result in the LSL implementaions ebing reconverged. Not there yet, but one major part is done."
Thank you, Melanie!
2008-06-24 21:09:49 +00:00
Charles Krinke
8f5a8e4f9f
Mantis#1569. Thank you kindly, Nebadon for a patch that
...
addresses: Rotation of terrains varies between all the formats,
Raw and R32 seem to be the same, while PNG, JPG, BMP all seem
to be rotated 180 degrees different.
2008-06-23 20:15:39 +00:00
Justin Clarke Casey
de24380233
* Remove all use of asset.InvType, as outlined in mailing list discussion
...
* This is stage 1, the field will be removed from AssetType and the assets table if this change doesn't prove problematic
2008-06-23 18:01:58 +00:00
Dahlia Trimble
064a2ea460
changed kickuser console command to use caseless compared substrings for first and last name parameters
2008-06-23 09:31:08 +00:00
Dahlia Trimble
eecaf327b9
Changed the kickuser command to use the new console RegisterCmd feature.
2008-06-22 05:08:58 +00:00
Dahlia Trimble
55e7e7fc74
Added an experimental "kickuser" console command to log off a user by name.
2008-06-22 04:36:34 +00:00
Justin Clarke Casey
ca88e3580b
* archive each object as a separate xml file rather than put them all in one single large file
...
* this is being done for reasons of compositionality
2008-06-21 23:45:22 +00:00
Charles Krinke
5b159e957a
Mantis#1580. Thank you kindly, Dmiles for a patch that:
...
solves an incorectly spliting and rejoining the passed in
string[] cmdArgs and losing the double quoted separation
of command arguments.
2008-06-21 23:17:15 +00:00
Justin Clarke Casey
908d91be78
* refactor: Making some of the serialization names consistent, both within their pairings and with the others
...
* This does make some of the names less ideal than others - this should change in the future
2008-06-21 21:20:59 +00:00
Justin Clarke Casey
91ffb6722f
* Remove redundant <scene> tag from individual object xml representation
...
* WARNING: Until both regions upgrade to this revision, prim crossings from regions on this revision to earlier region revisions will not work properly
* e.g. in the attachments cases, the attachments will remain visible but won't be individually detachable
* This change may seem to have more costs than benefits, but I'm doing it because I can soon reuse this changed existing code in another context - it seems better not to
proliferate similar but slightly different xml serializations.
2008-06-21 20:43:13 +00:00
Justin Clarke Casey
e19a76377c
* Refactor: Fold sog.DeleteParts() functionality into existing sog.DeleteGroup()
2008-06-21 20:12:01 +00:00
Justin Clarke Casey
b290ce405f
* Remove a bug I created in r5171 where taking an object would terminate the client session
...
* change code to use an explicit state variable instead of using SOG.Name = null to signal deletion
2008-06-21 19:56:19 +00:00
Justin Clarke Casey
ff56cb730b
* minor: start saving current prims xml to an objects/ directory in the archive
2008-06-21 18:44:17 +00:00
Justin Clarke Casey
3a111650cb
* minor: override the name of the sog such that it gets/sets the root part name
2008-06-21 18:11:45 +00:00
Dahlia Trimble
7b4991430b
Changes selection criteria to allow meshing of more sphere prim configurations.
...
Adds comments to some functions in Meshmerizer.cs.
2008-06-21 08:50:56 +00:00
Teravus Ovares
a5860ad438
* Adds Region ban capability to Regions. You access this by going to World->Region/Estate. Then on the Estate tab, at the lower right hand corner, clicking the 'Add' button and picking an avatar.
...
* It only persists across reboots for the mySQL datastore currently.
* Currently have stubs in the other datastores.
2008-06-21 03:29:08 +00:00
Teravus Ovares
e02a2e31e0
* Patch from nlin to enable DIF state file writing from the ODEPlugin
...
* Rebuilt libode.so, ode.dll
* If you roll your own ODE library, make sure to update your opensim-libs.
2008-06-20 04:57:32 +00:00
Johan Berntsson
20e4036853
Implemented plugin support for ClientStack, with LindenUDP as the default plugin. This makes it easy for developers to experiment with alternative communication protocols
2008-06-20 01:35:54 +00:00
Charles Krinke
d976ee477b
Mantis#1573. Thank you kindly, Mikem for a patch to our
...
LSL subroutine implementation to solve an infinite loop
in llParseString2List() under certain circumstances.
2008-06-20 00:00:09 +00:00
Charles Krinke
838ffd7792
Mantis#1543. Thank you kindly, Jonc for a patch that:
...
Implements terrain bake from Region/Estate dialog and
respects estate settings during terraforming
2008-06-19 20:57:00 +00:00
Teravus Ovares
1d91613679
* Patch from Dahlia - 0001576: Exception of type 'System.OutOfMemoryException' was thrown .Void set_Capacity(Int32), with regards to sphere mesh. Thanks Dahlia!
...
* Also allows a sphere to be hollow with no cuts or dimples. (walking around inside the sphere).
2008-06-19 17:21:17 +00:00
Justin Clarke Casey
f69f696181
* Temporary workaround for mantis 1568. If the avatar apperance factory now throws any exception, we will carry on with the default appearance rather than terminating the client login
2008-06-19 17:03:59 +00:00
Teravus Ovares
e6ce30d4f1
* 0001571: (PATCH) patch to implement editable sphere meshes for meshmerizer/ode (Initial Implementation) from Dahlia! Thanks Dahlia!!!
...
* The included patch implements the editor parameters twist, dimple, path cut, and profile cut to the sphere mesh for meshmerizer. The mesh will default back to the geodesic sphere if the parameters are adjusted to beyond a reasonable arbitrarily chosen threshold that would expose too many inverted normals on the mesh.
2008-06-19 04:17:04 +00:00
Teravus Ovares
cb29926e3c
* Refactors call to OutPacket out of AssetCache and into LLClientView
2008-06-18 23:04:15 +00:00
Charles Krinke
b6667e7224
Mantis#1567. Thank you kindly, Dmiles for a patch that addresses:
...
Add a .Trim() that was forgotten in a previous patch titled:
[PATCH] Adds an API for for plugins to create new Console commands and Help
2008-06-18 21:07:40 +00:00
Teravus Ovares
1fcb7c2db4
* By popular demand, skipping trees from the map tile generation routine. Skipping these because we have no good representation, they just appear as blocks that obscure the rest of the map items.
2008-06-18 16:27:27 +00:00
Sean Dague
eda34a6d3a
revert 5134. Changing these bitmaps to 24bit just breaks things, and they never display
...
on the client.
2008-06-18 14:04:24 +00:00
Jeff Ames
a728417eda
Minor formatting cleanup.
2008-06-18 03:50:39 +00:00
Sean Dague
7a11f6f1e2
make neb happy. I found where we initialized the dynamic textures to
...
32bit images and changed them to 24bit images.
2008-06-18 02:35:53 +00:00
Sean Dague
6d30d71256
change the default drawing font from Times -> Arial, as
...
san serif fonts are a bit easier on the eyes on textures.
Add a new "FontName" attribute that can be used to override
the font type.
2008-06-18 02:23:27 +00:00
Sean Dague
c01ebb281b
tweak dynamic texture stuff after the meeting today. This should
...
now preserve the bulk of the texture attributes, and force on full
bright. Not tested yet, but shouldn't bother most people.
2008-06-17 23:01:48 +00:00
Justin Clarke Casey
16d0a895cb
* Refactor: Move the responsibility for applying physics and sending the initial client update to Scene.AddSceneObject() from some of the SceneObjectGroup constructors
...
* I think this has been done cleanly from inspection and testing, but if prim creation or load suddenly starts playing up more than usual, please open a mantis
* This also has the effect of stopping the archiver generating ghost in-world prims
* Some code dupliction also removed
2008-06-17 20:36:21 +00:00
Justin Clarke Casey
33d32355a1
* refactor: Remove largely duplicate code from SceneXmlLoader.CreatePrimFromXml2()
2008-06-17 17:23:00 +00:00
Jeff Ames
255b87464a
Update svn properties.
2008-06-17 08:14:58 +00:00
Teravus Ovares
a401b03ab0
* Increase WEBMAP tile jpeg quality.
...
* I'm not sure if this method works on Linux.. but I guess I'll find out :P
2008-06-17 00:55:30 +00:00
Justin Clarke Casey
cb70299092
* Fix a bug in the archiver where I didn't realize a shape still needs its default texture as well as its face textures
2008-06-16 22:43:30 +00:00
Teravus Ovares
53c9ce46b3
* Enables binary data in BaseHttpServer with 'image' in content type.
...
* Enables regular jpeg map images to be served directly from the region.
* EX: http://192.168.1.127:9000/index.php?method=regionImagecc4583cd269b41bfa525dd198e19a5c5
* This is actually HTTP server address + port + index.php?method=regionImage<REGIONUUID, no dashes>
* The Webmap image location gets printed on the console when the simulator starts up.
* JPEG data is cached so we only create the webjpeg once.
2008-06-16 22:06:55 +00:00
Justin Clarke Casey
1898674254
* minor: Get rid of rogue "Current node RootPart" message in the SceneObjectGroup
2008-06-16 22:03:15 +00:00
Justin Clarke Casey
4c2171ec82
* Allow archiver to save and load objects within other objects to arbitrary levels
...
* This currently has various bugs which are more to do with the way its been hacked together than the feature itself (e.g. on save-oar, ghost prims will appear of the saved
contained items). These will be found and eliminated in subsequent patches.
* Not yet ready for use
2008-06-16 21:59:39 +00:00
Justin Clarke Casey
e31de6707f
* refactor: Fission ArchiveWriteRequest into prepare and execute classes
2008-06-16 17:13:28 +00:00
Justin Clarke Casey
ba69cc31e5
* Refactor: Break out AssetsRequest to a separate file in the Archiver module
2008-06-16 15:36:01 +00:00
Teravus Ovares
11d68ce0f5
* 0001558: [PATCH] Add support for full collision geometry feature set for linear path prims (patch attached) By Dahlia. Thanks Dahlia!
...
* This update re-does the cube/cylinder/prism prims to dynamically add faces as twist is used.
2008-06-15 19:34:48 +00:00
Justin Clarke Casey
c9a983a85e
* minor: A few miscellaneous doc comments before I break and start on something else
2008-06-14 20:52:42 +00:00
Teravus Ovares
5cccd4f6e5
* Vintage 2, a good year.
2008-06-14 20:33:03 +00:00
Teravus Ovares
7ca868dca5
* Fixes: 0001554: r5106 update fails to load on some regions with NullRef error on volume portion of maptile drawing routine.
2008-06-14 20:04:48 +00:00
Teravus Ovares
6bea792436
* Enables maptile display in grid mode for simulators that are not on the same instance.
...
* Only generates a new maptile after a refresh interval
* Maptile names have the UnixTimeSinceEpoch that they were generated and the regionUUID they're from, so you can know which ones are no longer necessary.
* Updates RegionInfo, so backup your /bin/Region/*.xml files.
2008-06-14 02:39:27 +00:00
Justin Clarke Casey
ea52e71205
* minor: Remove LINK_SET debug Console Writeline
...
* only appeared in DotNetEngine's LSL_BuildIn_Commands.cs
* Nice spot Ewe Loon (http://opensimulator.org/mantis/view.php?id=1548 )
2008-06-13 17:11:33 +00:00
Justin Clarke Casey
34746f5485
* Double timeout on region registration XMLRPC call to the grid service
2008-06-13 16:32:32 +00:00
Charles Krinke
3b4c2c1ff1
A little minor cleanup and harmonizing between LSL_BuiltIn_Commands.cs
...
and its copy LSL_ScriptCommands.cs
2008-06-13 01:54:53 +00:00
Jeff Ames
64f01ade04
Update svn properties, clean up formatting, refactor out duplicate hard-coded port numbers.
2008-06-13 00:21:53 +00:00
Teravus Ovares
5219eb7420
* Split the World Map code into a module.
...
* Implemented a hack so regions beyond the 10,000m range will show the map without having to click on the map before they'll start to show. The hack shows regions around the one you're in, but it won't show the one you're in.. you still need to click on the map to get that (not sure why yet). Additionally, the map still only shows pictures for regions that are hosted on the same instance (no change).
2008-06-12 20:19:42 +00:00
Justin Clarke Casey
7cdedcaf0e
* minor: Remove and tidy duplicate 'storing object to scene' messages in log
2008-06-12 18:18:59 +00:00
Justin Clarke Casey
8714833986
* refactor: For new objects, move attach to backup to occur when adding to a scene, rather than on creation of the group
...
* Adding to a scene is now parameterized such that one can choose not to actually persist that group
* This is to support a use case where a module wants a scene which consists of both objects which are persisted, and ones which are just temporary for the lifetime of that server instance
2008-06-12 17:49:08 +00:00
Justin Clarke Casey
74017a4331
* refactor: rename CreatePrimFromXml to CreatePrimFromXml2
2008-06-12 16:54:04 +00:00
Teravus Ovares
049cfe80e4
* Insulate maptile volume draw routine against TextureEntry oddities.
2008-06-12 11:06:31 +00:00
Teravus Ovares
2b6487c832
* Added Prim drawing to the mainmap tile generation.. you can see blocks representing the prim now on the mainmap.
...
* It isn't perfect since the blocks are square, however it's pretty good.
* Performance is also pretty good, however, if it takes too long for you, you can disable it in the OpenSim.ini
* You can see how long it takes in milliseconds on the console when it finishes.
2008-06-12 01:11:57 +00:00
Teravus Ovares
2883656bbc
For people receiving: Exception: System.ArgumentException: Value of -2147483648 is not valid for red, I've added the following message;
...
[MAPIMAGE]: Your terrain is corrupted in region {0}, it might take a few minutes to generate the map image depending on the corruption level
And, I've also kept it from crashing...
2008-06-11 19:45:17 +00:00
mingchen
0896cb53d4
*Parcel Prim Count Maximums moved to their own functions so modules can override the default method of calculating how many prims a parcel can have.
2008-06-11 17:31:43 +00:00
Charles Krinke
7821cca2f5
Mantis#1514. Thank you kindly, Boscata for an InventoryServer patch
...
to allow the InventoryServer to work with MSSQL..
2008-06-11 14:02:16 +00:00
Johan Berntsson
6b77f1141d
Mantis 1370. Thanks lulurun for the patch
2008-06-11 04:19:30 +00:00
Justin Clarke Casey
3356423e50
* Fix the string substitutions in the last commit
2008-06-11 01:33:08 +00:00
Justin Clarke Casey
42e54537aa
* From inspecting OSGrid WP logs, it appears one particular client is failing because they are giving an illegal initial position to ScenePresence.MakeRootAgent()
...
* If we detected an illegal position (x, y outside region bounds or z < 0), then print out the illegal position and substitute an emergency <128, 128, 128> instead
2008-06-11 01:31:39 +00:00
Charles Krinke
9b43668bf3
Mantis#1529. Thank you kindly, Grumly57 for a patch to
...
xengine to:
Replaces "presence.Name" => "presence.ControllingClient.Name" to return avatar's name.
2008-06-10 22:41:39 +00:00
Jeff Ames
5910a49da6
Update svn properties. Formatting cleanup.
2008-06-10 08:35:46 +00:00
Teravus Ovares
8a93358405
* This completes ObjectDuplicateOnRay.
...
* In English, that means that Copy Selection works now, including Copy Centers and Copy Rotates.
2008-06-10 00:18:00 +00:00
mingchen
db151bcec7
*Fixed bug that caused failure when System.Console.Readline returns null (no stdin)
...
*Fixed bug that would crash the simulator if there were two physics/meshing engines loaded with the same name.
2008-06-09 15:20:08 +00:00
Jeff Ames
dfb63b5623
Update svn properties. Formatting cleanup.
2008-06-09 08:46:33 +00:00
Charles Krinke
0d07cf9ddd
Mantis#1469. Thank you kindly, Mikem for a patch that addresses:
...
Currently LSL code such as below does not compile on OpenSim, but compiles fine in Second Life:
list mylist = [];
mylist += [1, 2, 3];
mylist += "four";
list newlist = mylist + 5.0;
The problem is that the LSL_Types.list class does not have an operator for adding a string to a list.
I am including a patch which implements adding a string, integer or float to a list.
I am also including tests. The file LSL_TypesTestList.cs belongs in
OpenSim/Tests/OpenSim/Region/ScriptEngine/Common/.
2008-06-09 01:06:59 +00:00
Teravus Ovares
6ecb7c05b3
* Fixed it so you can do a lot more llDetected* methods in many additional situations and have it work.
...
* script Collision reporting works now in DotNetEngine
2008-06-08 22:53:52 +00:00
Teravus Ovares
c53892aa90
* Added compiler pre-processor, #if SPAM to SensorRepeat... so if you really want to see, "[AsyncLSL]: GetSensorList missing localID" and SetSensorEvent, then you can #define SPAM
2008-06-08 21:15:44 +00:00
Teravus Ovares
524998ba3e
* Fixes llDetectedKey.
2008-06-08 19:54:49 +00:00
Charles Krinke
aca872499f
Added a "if(entity != null)" before the call to
...
UpdateEntityMovement() to try to preclude the
occaisional System.NullReferenceException in scene.
2008-06-08 17:36:41 +00:00
Charles Krinke
de11c09794
Mantis#1498. Thank you Melanie for an XEngine patch that addresses:
...
The attatched patch makes the changed() event fire properly and
lets scripts run properly.
NOTE: All existing state files must be deleted:
rm ScriptEngines/*/*.state
2008-06-08 14:51:59 +00:00
Charles Krinke
4ea9183b66
Mantis#1499. Thank you kindly, DMiles for a patch that:
...
was incorrectly sending the command along with the args to the CommandDelegate
help was getting lost on top of normal help & help was getting missed except
in an exact match (and only returning the first)
2008-06-08 00:34:00 +00:00
Charles Krinke
0e5f2b3293
Mantis#1496. Thank you kindly, Melanie for a patch that:
...
Adds full implementation of all llDetected* functions for sensors,
collisions and touches. Adds changed(CHANGED_REGION_RESTART) event
to allow restarting of eye-candy functionality not currently
persisted with the prim.
2008-06-07 22:37:48 +00:00
Charles Krinke
6ce9a8ecdd
Mantis#1495. Thank you kindly, Kinoc for:
...
0001495: [PATCH] Adds an API for for plugins to create
new Console commands and Help
2008-06-07 22:02:28 +00:00
mingchen
cde42cdbfd
Potential Fix #1 for 0001392: Shift+Drag now causes an unhandled 'Object reference not set to an instance of object' exception
2008-06-07 17:48:45 +00:00
Adam Johnson
990225a4ba
Patch for mantis#1493: Several patches to xengine. Thanks Melanie!
2008-06-07 17:43:07 +00:00
Charles Krinke
2b83aa931c
Mantis#1476. Thank you kindly, Melanie for a patch that:
...
0001476: [PATCH] Allow larger script state files to be loaded
The previous limitation on load file size was too small for
larger script projects
2008-06-07 15:46:43 +00:00
Charles Krinke
80079e14e3
Mantis#1475. Thank you kindly, Kinoc for a patch that:
...
This patch brings the Yield Prolog in sync with the YP r669.
Biggest item is support for functions asserta and assertz ,
providing dynamic databases.
2008-06-07 15:43:16 +00:00
mingchen
5ab5991676
*Fixing another object counting bug
2008-06-07 00:24:43 +00:00
mingchen
0fe363ba65
*Made Object Counting correct with linked objects and turned the previously protected functions that only return object counts to public so it can be easily used by outside classes.
2008-06-06 23:20:02 +00:00
Teravus Ovares
bd2361ae33
* llSetPrimitiveParams PRIM_FLEXIBLE is now supported.
2008-06-06 22:44:48 +00:00
Teravus Ovares
8c507b633b
* Added Light control from script in LLSetPrimitiveParams.
2008-06-06 22:28:52 +00:00
Teravus Ovares
ed41ba8a3d
* Added a configuration option for allowing god script lsl methods.. such as llSetObjectPermMask. By default it's off.
2008-06-06 21:39:42 +00:00
Sean Dague
6a66caa02e
revert 5028, as this approach to 1 nick per avatar isn't going to work,
...
however, I think I understand now how to make it work. I just don't want
to have this broken for people this weekend.
2008-06-06 20:42:12 +00:00
Sean Dague
2cfdfaeaa5
experimental IRC changes, because it's friday, and I'm curious if this
...
will work.
2008-06-06 20:21:25 +00:00
Teravus Ovares
be44969927
* Adds semi broken PRIM_FLEXIBLE support for prim. It's semi-broken because it won't do the setting of the prim flexi from not-flexi, however, it'll tweak the parameters of an already existing flexi prim.
2008-06-06 19:58:39 +00:00
Teravus Ovares
e099d5b013
* How tall are you? Certainly not 127 meters!
2008-06-06 14:33:01 +00:00
Teravus Ovares
37373dbde2
* true and not true or - not true and not true and.
2008-06-06 13:33:45 +00:00
Teravus Ovares
7137b13498
* This limits avatar to the heightfield height if they teleport or cross a border to a position below it. After teleporting, you can go under the terrain if you like as usual.
2008-06-06 13:24:40 +00:00
Teravus Ovares
c892ddcd20
* This wraps the autopilot request to the client's sit response. An interesting, but successful way to do it.
...
* This also takes care of a few error situations that were previously never seen.
2008-06-06 12:51:20 +00:00
Teravus Ovares
e9a444917a
Fixes scale property with regards to the physics engine.
2008-06-06 08:03:12 +00:00
Jeff Ames
fbd37c420f
Minor formatting cleanup.
2008-06-06 01:19:15 +00:00
Charles Krinke
f9a67ab5f0
Mantis#1460. Thank you, CMickeyb for a patch that addresses:
...
I'm getting an unhandled exception in openxmlrpcchannel during simulator initialization.
I have two objects in different regions that open remote data channels in the state_entry event.
It appears that the state_entry call is executing before the postinitialize method is called in
xmlrpcmodule (the exception occurs because m_openChannels is not initialized).
2008-06-05 20:18:15 +00:00
Charles Krinke
d66de83938
Mantis#1459. Thank you kindly, CMickeyb for a patch that:
...
the function that reports errors in event handling is not computing the
line numbers correctly for windows paths (and probably linux paths).
As a result, the conversion to int throws an exception.
note... i'm not sure why we extract the line number, convert it to an int,
then convert it back to a string... but hey... :-)
2008-06-05 19:30:35 +00:00
lbsa71
901b9365ba
* Applied 9085B_[5004]_xengine_abort_regression.patch from #1437
...
Thank you, Melanie. And Thank you ckrinke. Bigups!
2008-06-05 14:31:07 +00:00
Charles Krinke
3b764dd34f
Mantis#1438. Thank you kindly, Melanie for a patch that:
...
This patch implements the llLoopSound patch from Xantor for the XEngine
2008-06-05 14:22:53 +00:00
Charles Krinke
dab3a53920
Mantis#1437. Patch 3 of 4. Thank you kindly, Melanie for:
...
Corrects the XEngine's script startup semantics.
Completes llRequestAgentData
Implements llDetectedLink
Fixes a few minor issues
2008-06-05 14:18:53 +00:00
Charles Krinke
bbabd68c7c
Mantis#1437. Patch 2 of 4. Thank you kindly, Melanie for:
...
Corrects the XEngine's script startup semantics.
Completes llRequestAgentData
Implements llDetectedLink
Fixes a few minor issues
2008-06-05 14:17:22 +00:00
Charles Krinke
e3c14e9b24
Mantis#1437. Patch one of four. Thank you kindly, Melanie for:
...
Corrects the XEngine's script startup semantics.
Completes llRequestAgentData
Implements llDetectedLink
Fixes a few minor issues
2008-06-05 14:15:15 +00:00
Charles Krinke
e2d87b04e3
Mantis#1455. Thank you kindly, Mikem for a patch that addresses
...
the client thread terminating when creating a new script.
2008-06-05 14:03:08 +00:00
Charles Krinke
3a4b54adaa
Mantis#1451. Thank you kindly, Mikem for a patch that addresses:
...
LSL scripts in which a float type is cast to a string or a string type
is cast to a float do not compile. When the script is translated from
LSL to C#, the LSL float type is translated into double. There is no
string <-> double cast in C#, so compilation fails.
There is a LSLFloat type, however it seems unfinished and is not used.
I am attaching a patch that implements the LSLFloat type. I have also
added two methods to the LSLString type to facilitate float <-> string casts.
2008-06-05 13:54:20 +00:00
Teravus Ovares
e12baa5eb3
* This sends collision events to the script engine.
...
* Unfortunately, there's some kludges with the Async manager and the llDetected functions that I have yet to decipher... so llDetected functions don't work with collision events at the moment....
2008-06-05 13:24:59 +00:00
Teravus Ovares
622cd3db8b
* Don't create ghost prim when rezzing objects from inventory
2008-06-05 10:44:46 +00:00
Jeff Ames
3b9fb61bde
Update svn properties.
2008-06-05 05:43:22 +00:00
Justin Clarke Casey
78d7d6edb0
* minor: Yet another minor logging message tweak following on from the last commit
2008-06-05 02:12:44 +00:00
Justin Clarke Casey
7f10e5f338
* minor: Increase verbosity of "new user request denied" incoming session warning for debugging purposes
2008-06-05 01:55:45 +00:00
Justin Clarke Casey
677e2ca330
* refactor: rename now inaccurate textureUuids to assetUuids
...
* 5000 commits in this repository!
2008-06-05 01:29:52 +00:00
Justin Clarke Casey
1f605da761
* If a client thread crashes, make an attempt to notify the client and clean up the resources
2008-06-05 01:20:17 +00:00
Justin Clarke Casey
73c1157027
* exprimental: Export and reimport all items within a prim except Objects
...
* Not yet ready for public use
2008-06-05 00:29:02 +00:00
Justin Clarke Casey
7352bd7b99
* Change archiver 'textures' dir back to 'assets'
2008-06-05 00:01:38 +00:00
Justin Clarke Casey
168f9367cb
* Dearchive using assets metadata rather than assuming everything is a texture
...
* However, still not actually archiving anything except textures
2008-06-04 23:57:27 +00:00
Jeff Ames
ed19c429b1
Update svn properties.
2008-06-04 22:31:47 +00:00
Justin Clarke Casey
1d745cca17
* Start writing out assets metadata file for archiver
...
* Ignoring it on reload as of yet
2008-06-04 18:50:58 +00:00
Sean Dague
0cacdd370c
change clientCircuits_reverse to a synchronized hash table. This
...
removes a lock on every SendPacketTo call, which was shown to have
good performance benefits by the IBM China Research Lab.
2008-06-04 17:43:07 +00:00
Justin Clarke Casey
6e2f3bd3fb
* Start recording abnormal client thread terminations
2008-06-04 16:30:44 +00:00
Teravus Ovares
11246c284f
* Added a check for a non-finite heightfield array value passed to the ODEPlugin. This may, or may not fix anything.
2008-06-04 16:27:35 +00:00
Charles Krinke
994932bb60
Mantis#1447. Thank you kindly, Kinoc for a patch that:
...
llKey2Name fix to show avatar name instead of "Basic Entity"
One line fix. Replaces "presence.Name" =>
"presence.ControllingClient.Name" to return avatar's name.
2008-06-04 14:47:12 +00:00
Charles Krinke
687090f79a
Mantis#1441. Thank you kindly, Kinoc for a patch that:
...
This patch adds the prolog interperter helper object ONLY for YP code,
and not every script compiled.
Mirrors the other languages like JS and VB more closely.
2008-06-04 14:40:17 +00:00
Charles Krinke
e75cccec76
Mantis#1440. Thank you kindly, Melanie for a patch that
...
"Hooks up the plumbing from previous patch"
2008-06-04 14:37:16 +00:00
Charles Krinke
bc32395775
Mantis#1446. Thank you kindly, Grumly57 for a patch
...
that solves "trees are too small when rezzed"
2008-06-04 14:34:35 +00:00
Charles Krinke
d635b526e5
Mantis#1439. Thank you kindly, Melanie for a patch that
...
plumbs in the events for on_rez.
2008-06-04 14:31:36 +00:00
MW
964ce083ff
applied patch from mantis #1268 , thanks mikem
2008-06-04 12:16:26 +00:00
Teravus Ovares
99e7a2a380
* From Dahlia
...
* Committing : 0001449: Patch implements X and Y Top Shear parameters for torus prim physical mesh generation (PATCH attached)
* The included patch implements the X and Y Top Shear parameter adjustments to the mesh generator for the torus prim physical mesh. These are approximations as I was unable to determine their exact function but they appear to generate meshes which quite closely duplicate their counterparts in the viewer.
* Thanks Dahlia!!!!
2008-06-04 10:57:05 +00:00
Jeff Ames
4ec4e16c80
Formatting cleanup, minor refactoring, svn properties.
2008-06-04 09:59:27 +00:00
Justin Clarke Casey
0a2d399cad
* If a ThreadAbortException reaches AuthUser() then let it pass through unmolested
...
* These are only thrown on client shutdown anyway
* This stops the console (harmlessly) spewing stack traces when a client logs off
2008-06-04 01:25:31 +00:00
Justin Clarke Casey
8983877664
* minor: Remove my own stupidity in the last doc comment - it wouldn't actually be all that tricky to try better clean up on a client thread crash. Haven't actually implemented
...
this, though
2008-06-03 21:00:37 +00:00
Justin Clarke Casey
723c9eccad
* minor: Change comment on last commit. My English - not so good.
2008-06-03 20:55:56 +00:00
Justin Clarke Casey
a987840191
* Stop the crash to bash of the entire region server when a client thread fails by catching the exception in AuthUser() instead of letting it propogate out of the thread
2008-06-03 20:27:52 +00:00
Justin Clarke Casey
48322cec96
* experimental: archive out and reload textures within a prim's inventory
...
* no other prim items are archived yet
2008-06-03 17:17:24 +00:00
Justin Clarke Casey
4106b2a601
* Change single assets/ archiver directory to be textures/ instead
2008-06-03 16:52:44 +00:00
Sean Dague
afd59e862e
temporarily disable the last bit of code as it prevents startup on
...
mono. Need to sort that out with DJ shortly.
2008-06-03 13:58:54 +00:00
Sean Dague
e713a3c62a
From: Dong Jun Lan <landj@cn.ibm.com>
...
Set udp flags correctly to prevent "Socket forcibly closed by host"
errors.
2008-06-03 13:49:58 +00:00
Justin Clarke Casey
1a60fe7a4e
* minor: Attempted method documentation clarifications related to last two commits
2008-06-03 08:34:38 +00:00
Justin Clarke Casey
512c0c67a6
* Remove what should be unnecessary locking in InnerScene.GetEntitites()
2008-06-03 08:17:33 +00:00
Justin Clarke Casey
f45fa84905
* Remove what should be unnecessary locking of GetScenePresences()
...
* May help with mantis 1434 though I doubt it
2008-06-03 08:11:04 +00:00
Teravus Ovares
61e2254be2
* This should fix presence issues.
2008-06-03 07:12:09 +00:00
Teravus Ovares
52491d4fca
* It's probably safe to remove the 'Warning Duplicate packet detected Packet Dropping.' message
2008-06-03 05:44:28 +00:00
Sean Dague
7f6fcdc77b
remove the prolog parser from all LSL/C# scripts (it was adding overhead
...
to every script in most environments). This will break prolog
support. Prolog code needs to generate it's template script more like
how javascript does.
2008-06-02 20:27:40 +00:00
Justin Clarke Casey
615e64696f
* experimental: Once we've received all the required assets from the asset service, launch the actual writing of the archive on a separate thread (to stop tieing up the asset cache received notifier thread)
2008-06-02 17:54:43 +00:00
Justin Clarke Casey
4453c8bc5c
* experimental: Make OpenSim archiver save and reload all prim textures when not all faces have the same texture
2008-06-02 17:23:13 +00:00
Teravus Ovares
3991908db5
* This update enables grid wide presence updates.
...
* You'll need to start-up the MessageingServer and set it up. It sets up like any of the other grid servers.
* All user presence data is kept in memory for speed, while the agent is online. That means if you shutdown the messaging server or the messaging server crashes, it forgets who's online/offline.
* Occasionally the region-cache will get stale if regions move around a lot. if it gets stale, run clear-cache on the messaging server console to clear the region cache.
2008-06-02 16:16:07 +00:00
Teravus Ovares
42c5dca989
* Fixes a bug saving the current sun phase to the estate_settings file.
2008-06-02 10:01:02 +00:00
Teravus Ovares
832d609b44
PATCH : 0001431: corrections to torus physical mesh for default hollow shape and taper orientation along path.
...
--------- From Dahlia! Thanks Dahlia!!!
the attached patch reinstates the default hollow shape of the physics mesh of the torus prim type and corrects the orientation of the effects of taper on the profile along the path.
2008-06-02 08:31:34 +00:00
Teravus Ovares
c0f631dbdb
* While I couldn't reproduce it, I was able to see how it *might* happen, so therefore; fix to: 0001058: Physics crash when changing Type of Prim intersecting with ground.
2008-06-02 08:13:13 +00:00
Teravus Ovares
e0b821f875
* This enables grid-wide instant messaging in a peer to peer with tracker style way over XMLRPC.
...
* Friend status updates are still only local, so you still won't know before instant messaging someone if they're online.
* The server each user is on and the user server must be updated or the instant message won't get to the destination.
2008-06-01 14:13:29 +00:00
Teravus Ovares
d20cae2d03
* Committing more unfinished stuff. Nothing significant at the moment. IM related.
2008-06-01 10:05:22 +00:00
Teravus Ovares
52c55c8c23
* Applying Dahlia's patch : 0001429: Patch to fix prism physical mesh and add path start and end to skew z offset of circular path prim meshes (PATCH attached)
...
* Apparently this fixed a bug in my code that caused PushX to appear to work and pushX didn't appear to work after the patch.. so I fixed that after applying this patch and PushX actually works now.
2008-06-01 04:33:07 +00:00
Jeff Ames
d22a54a195
Update svn properties.
2008-06-01 03:01:33 +00:00
Teravus Ovares
ff6c89f199
* Committing some stuff I'm working to make it so I can commit an upcoming patch from Dahlia. IM type stuff. No big deal, not done.
2008-06-01 02:43:50 +00:00
Justin Clarke Casey
fbaeb081aa
* Move most bookending startup/shutdown messages to BaseOpenSimServer so they appear in non-console servers too
2008-06-01 02:02:20 +00:00
Justin Clarke Casey
15d41c2fc2
* Fix build break by eliminating remaining IScenePermissions references - must remember to nant clean
...
* Hook all server startups into base opensim server startup method
2008-06-01 01:34:46 +00:00
Justin Clarke Casey
0392b4fdc3
* Put IScenePermissions out of its misery
2008-06-01 01:25:03 +00:00
Justin Clarke Casey
45fef8589d
* Move log version printing up into BaseOpenSimServer
2008-06-01 01:22:19 +00:00
Justin Clarke Casey
8e1d338656
* Refactor: Split opensim background server into a separate class
2008-06-01 01:01:16 +00:00
Teravus Ovares
65db9eadef
* Updates permission module so that GenericCommunicationPermission returns true. Instant messages, inventory transfers use this.. and it was always returning false.
2008-06-01 00:37:44 +00:00
Justin Clarke Casey
8bc5cbb2bc
* Enable loading of textures in OpenSim archives with load-oar/save-oar
...
* Right now, this only saves and reloads textures that have been applied to the entire prim (not ones which have been applied to individual faces).
* This is work in progress - it is currently experimental, hacky, inefficient, completely unsupported and liable to change rapidly at short notice :)
2008-05-31 21:48:14 +00:00
Justin Clarke Casey
abaf8e7a37
* Put in preparatory code to restore whole prim textures on archive load
...
* No user functionality yet
2008-05-31 21:20:04 +00:00
Charles Krinke
47cc1fcf46
Mantis#1428. Thank you kindly, fdg for a patch that solves:
...
When you copy an item in inventory and paste it, the name gets lost.
Also when you use "Save as" in the Appearance Editing window the
created item in inventory has always the name "New <item-type>",
regardless of what you typed in as name.
2008-05-31 20:47:14 +00:00
Justin Clarke Casey
8cb5ec5fdd
* Make version information common to all servers
...
* Now all servers respond to the "show version" command on the console
2008-05-31 20:35:12 +00:00
lbsa71
ce234eee37
* Made UpdateUserCurrentRegion a bit more forgiving.
2008-05-31 20:01:09 +00:00
Justin Clarke Casey
01f933c273
* Propogate OpenSimMain hack to stop mono-addins scanning warnings to the grid managing
...
* This hack just temporarily sends console output to /dev/null when we make the relevant addins calls, restoring it afterwards
2008-05-31 19:13:38 +00:00
lbsa71
7f9967d310
* Enabled the Yield Prolog Script Engine
2008-05-31 18:47:26 +00:00
Justin Clarke Casey
5873ad3760
* minor: Add copyright statement
2008-05-31 18:43:19 +00:00
Justin Clarke Casey
6e5b416d14
* Remove rogue ? to get things compiling again
2008-05-31 18:36:45 +00:00
Charles Krinke
25b7d9944d
Mantis#1314. Thank you kindly, Kinoc for YieldProlog.
...
I have added everything *except* the patch to
.../LSL/Compiler.cs. The Compiler.cs patch has a
namespace issue. Lets make a second patch to close
the gap.
2008-05-31 17:52:44 +00:00
Teravus Ovares
febe78d062
* Implements UserServer logoff in a few situations
...
* User tries to log-in but is already logged in. Userserver will send message to simulator user was in to log the user out there.
* From the UserServer, admin types 'logoff-user firstname lastname message'.
* Some regions may not get the message because they're not updated yet.
2008-05-31 12:18:29 +00:00
Charles Krinke
f2f183b307
Mantis#1425. Thank you kindly, Melanie for a patch that:
...
0001425: [PATCH] Correct llResetOtherScript() behavoir in XEngine
2008-05-31 00:45:37 +00:00
Teravus Ovares
2d540514f4
* If you check fixed sun, in the estate tools 'terrain tab', the sun will fix in the location you set. (however the checkbox doesn't get re-populated properly yet, so it'll uncheck again even though the message got through to the server)
2008-05-30 23:53:20 +00:00
Teravus Ovares
f433927722
* You can set the sun phase via the estate tools now. It doesn't persist across reboots though.
2008-05-30 23:41:51 +00:00
Justin Clarke Casey
bc56efd1d2
* Hook up archive loading to load in prim xml data
...
* This now has equivalent functionality to load-xml2 - no asset data is restored yet
2008-05-30 18:32:18 +00:00
Justin Clarke Casey
83f390e421
* Refactor: Change multiple requests for a module interface to use a stored reference instead.
2008-05-30 18:01:28 +00:00
Justin Clarke Casey
4f237f3ae3
* Crudely migrate SceneXmlLoader into the Serializer module
2008-05-30 17:52:14 +00:00
Charles Krinke
84b4158205
Mantis#1422. Thank you kindly, Xantor for your llLoopSound()
...
patch and I apologize for my confusion with the interim
patch earlier.
2008-05-30 16:37:17 +00:00
Justin Clarke Casey
6265ea371e
* Stop the IRC module throwing a nre on shutdown if it isn't actually being used
2008-05-30 16:16:03 +00:00
Justin Clarke Casey
ea4982e453
* Successfully pick out prims.xml file from archive
2008-05-30 16:08:28 +00:00
Charles Krinke
48d0084e53
Mantis#1422. Thank you kindly, Xantor for a patch that :
...
- volume doesn't change with a new llLoopSound(same sound, new volume);
- SendFullUpdateToClients sends 0's in all sound related fields when
there's no sound on the prim, thereby improving the amount of data being
sent out on these prims (fixes zeropack)
- Removed some code duplication between llStartSound, llLoopSound and llParticleSystem() calls
2008-05-30 15:34:54 +00:00
Justin Clarke Casey
f26eeab3d4
* Read all files from tar archive
...
* No reload functionality implemented yet
2008-05-30 15:18:40 +00:00
Dr Scofield
9590e671e6
while investigating why IRCBridgeModule.Close() was having no effect, i
...
noticed that Scene.Close() will only call Close on non-shared region
modules. i've now added code to SceneManager.Close() to collect all
shared region module from each scene before calling Scene.Close()
on it and then, once, all Scenes are closed, go through the list of
collected shared region modules and close them as well. SceneManager.Close()
is only called when we initiate a shutdown --- i've verified that a
Scene restart does not trigger the shutdown of shared modules :-)
also, this adds a couple of bug fixes to the IRCBridgeModule (which
after all didn't take kindly to being closed) as well as a check to
InterregionModule's Close() call.
finally, this fixes the RestPlugin's XmlWriter so that it no longer
includes the "xsd=..." and "xsi=..." junk.
2008-05-30 12:29:30 +00:00
Teravus Ovares
1a47ff8094
* This is Melanie's XEngine script engine. I've not tested this real well, however, it's confirmed to compile and OpenSimulator to run successfully without this script engine active.
2008-05-30 12:27:06 +00:00
Teravus Ovares
334d05db05
* Fixed a dangling event hook that I added.
...
* Added a Non-finite avatar position reset. This will either handle the <0,0,0> avatar gracefully, or send the avatar to 127,127,127 if that also doesn't work. ( I've only been able to reproduce this error once on my development workstation )
2008-05-30 11:25:21 +00:00
Jeff Ames
0462510956
Update svn properties. Formatting cleanup.
2008-05-30 08:35:57 +00:00
Dr Scofield
5b0d47dddb
thanks krtaylor for a
...
Patch to cleanup some incorrect parsing, boundry conditions
and error checking in the llGetNotecardLine and
llGetNumberOfNotecardLines functions.
2008-05-30 07:38:45 +00:00
Teravus Ovares
d2aa2be788
* Added helper method to the Sun module to Get the Linden hour based on the math in the sun module. This populates the sun phase slider on the terrain tab in the estate tools according to the current sun phase. Display purposes only for now. Need to go the other way for setting the sun phase based on the linden hour in the estate tools.
2008-05-30 05:25:50 +00:00
Teravus Ovares
cdfb1f3623
* Updated sun module to only send sun updates to root agents. Because it was sending updates to both root and child agents, you'll still get sun jitter until this revision is adopted by every region nearby.
2008-05-30 00:48:57 +00:00
Teravus Ovares
9cefda83d6
* Caches UUIDName requests
...
* Looks up UUIDNames for script time and colliders in a separate thread.
* Hopefully this'll allow you to look at top scripts on a region that has a lot of scripts without crashing your client thread.
2008-05-29 23:36:37 +00:00
Teravus Ovares
45c6523904
* Fixes a few taper/top-sheer situations that were previously having issues.
2008-05-29 20:50:38 +00:00
Teravus Ovares
918f887c0c
* Applying Dahlia's interim path curve patch. it adds initial support for some tori/ring parameters. Thanks Dahlia!
...
* Some situations do not match the client's render of the tori, we know and are working on it. This is an initial support patch, so expect it to not be exact.
* Some tapers are acting slightly odd. Will fix.
2008-05-29 20:20:50 +00:00
Charles Krinke
e2361548cb
Mantis#1416. Thank you very much, Melanie for a patch that:
...
Createa a method to find out if a prim inventory contains scripts
2008-05-29 19:09:21 +00:00
Teravus Ovares
61c7130341
* Ruling out another potential cause of zombie-ism
2008-05-29 16:36:11 +00:00
Teravus Ovares
83bd85ce7f
* Fix string literal with URL + LLcommand();
...
* Added 'detected around: value' when a x.Y detect occurs to help debug.
* Fixed object text is too long to store to the database (wikilith)
2008-05-29 16:21:41 +00:00
Charles Krinke
a84456c239
Mantis#1411. Thank you kindly for Dataserver.cs and a patch
...
that adds function stub to request region info by name and
adds llRequestSimulatorData() and the dataserver event
2008-05-29 13:55:02 +00:00
Charles Krinke
91b75eda85
Mantis#852. Thank you kindly, cmickeyb for a patch that:
...
There appears to be a problem with the mapping of scripts when an llHTTPRequest completes.
CheckHttpRequests() looks for a function that maps to the localID associated with the http
request. However, the only context in which it looks is that of the first region. That is,
m_CmdManager.m_ScriptEngine.m_ScriptManager is the same no matter where the script executed
that initiated the llHTTPRequest. Since scripts appear to be loaded into a region specific
scriptmanager on startup, the event handler is only found for requests coming from the first region.
2008-05-29 13:42:29 +00:00
Teravus Ovares
3e0244c633
* Added a child agent check to the ChildAgentData Update to make sure that you're a child agent before applying the changes from the grid comms. Doing this to rule it out as a source of a few bugs such as the Zombie bug and the Express Train to 0,0,0 bug.
2008-05-29 02:14:27 +00:00
Adam Frisby
3c47fd2cb2
* Fixed a slight issue with the LLRAW exporter.
...
* Linden uses a neutral height channel of 128.0 on their multiplier. OpenSim was using a neutral of 127.0 - this has been changed to 128.0, this may cause files exported to the .RAW format to look slightly different when loaded back in - it is highly recommended to use the R32 format instead which avoids these sorts of issues.
* Made a tweak to the Terrain Plugin loading process.
2008-05-28 23:52:24 +00:00
mingchen
1d38510bd2
*Added a Few External Checks relating to scripts including the seperation of runscript into 3 different situations (Rez, start stop)
2008-05-28 23:20:01 +00:00
Sean Dague
b0be8075cd
From: Kurt Taylor <krtaylor@us.ibm.com>
...
Attached is an initial implementation of llGetNotecardLine and
llGetNumberOfNotecardLines. I decided to go ahead an send these out for
comment while I continue to work on the second part of the proper
implementation. These functions work and return the values requested, as
initially defined in the code, but should be properly implemented to return
the requested information via a dataserver event. This
event will be added and these functions fixed and included in a second
patch shortly.
2008-05-28 21:43:41 +00:00
Justin Clarke Casey
a8b8bacf28
* Minor: Another small log adjustment
2008-05-28 17:56:00 +00:00
Justin Clarke Casey
45b26d4540
* Minor: Log message clean up in archiver code
2008-05-28 17:54:12 +00:00
Justin Clarke Casey
fb91a1aa49
* Put in stubs for "load-oar" command, including ultra-primitive temporary tar loading code
...
* Currently as a test, this will successfully load only the first file of an opensim archive and do absolutely nothing with it
2008-05-28 17:49:34 +00:00
Justin Clarke Casey
51a43b30a2
* Put textures into a separate assets/ directory in the opensim archive
...
* Fix nre where the asset couldn't be found
* Not ready yet
2008-05-28 16:37:43 +00:00
Charles Krinke
06147d0492
Mantis#1406. Thank you kindly, Xantor for a patch that:
...
llLoopSound sends out one packet to clients in view, so it doesn't work anymore
when clients enter later on, or the prim is modified in any way.
Solution: Stored sound data on prim, send full update instead.
llStartSound and llLoopSound now accept both LLUUIDs to a sound as well as object
inventory sound names. llStopSound clears prim data and sends full update.
2008-05-28 14:03:08 +00:00
Charles Krinke
de43c2db57
Mantis#1398. Thank you kindly, cmickeyb for a patch that:
...
small patch to encode and send the outbound_body parameter
in an http request. this enables post messages to send a body
2008-05-28 13:56:15 +00:00
Teravus Ovares
715fbecd79
* Implements duplicate packet tracking. This virtually eliminates object duplication causing 2-3 duplicates depending on the UDP connection quality. This also eliminates duplicated chat, etc.
...
* It's verbose currently since this is new. You'll see: [CLIENT]: Warning Duplicate packet detected X Dropping. After this is sufficiently tested we'll remove that m_log.info line.
2008-05-28 08:40:22 +00:00
Jeff Ames
5752c1f5c2
Formatting cleanup.
2008-05-28 03:44:49 +00:00
Charles Krinke
e34f537a1a
Thank you kindly, Melanie for a patch that:
...
When renaming items in task inventory, they become useless. Fix attached
2008-05-28 02:47:24 +00:00
Charles Krinke
82e3698f59
Thank you very much, ChrisIndigo for a patch that:
...
If a script updates an object to the same position or rotation offset,
the object triggers an update and storage of the object. This become
more prevalent in sensor and timer events which may be firing frequently.
2008-05-28 02:10:16 +00:00
mingchen
00751ab6f1
*Hiding the warnings about scanning assemblies when initialising
2008-05-28 02:07:43 +00:00
Charles Krinke
6d51eef9ce
Thank you, Grumly57 kindly for:
...
This patch proposes a new function : osOpenRemoteDataChannel(key channeID)
that allow to open an XMLRPC channel for remote_data event. The difference
is that the channelID can be customized instead of being randomly generated.
2008-05-28 02:06:56 +00:00
Charles Krinke
5f2b8fd5e1
Thank you kindly, Melanie for a patch that adds a two-stage
...
check. It seems there may be a race. For me, this patch,
just as it is here, fixes it.
2008-05-28 02:00:43 +00:00
Teravus Ovares
fb1c7e62d2
* Resolves comment removal in string literals in the LSL2CSConverter
2008-05-28 01:47:33 +00:00
Jeff Ames
efeba85662
Change a couple Windows directory separators in SVN module to be platform agnostic.
2008-05-28 00:35:10 +00:00
Jeff Ames
eed2f7ac18
Update svn properties. Fix inconsistent newlines.
2008-05-28 00:26:00 +00:00
Justin Clarke Casey
fdf4de419f
* Include prims.xml file in archive
2008-05-27 23:29:59 +00:00
Justin Clarke Casey
e116c94482
* Add .jp2 extension to archived textures
2008-05-27 23:20:53 +00:00
Justin Clarke Casey
69fdd0d3e8
* Write prim archives out as v7 tar files temporarily for testing purposes - not even gzipping yet!
...
* Using hacked up code to create the correct tar archive headers - this stuff should really go away again before too long
* No user functionality yet
2008-05-27 22:49:34 +00:00
Sean Dague
46d91df2a8
another take on the whole string cleansing, by adding specific poison
...
keywords in foo.bar strings. Add items to the poison array to block them.
2008-05-27 22:25:14 +00:00
Adam Frisby
7a77a069dd
* Added new InstallPlugin interface to ITerrainModule.
...
* This is to allow other region modules to install Terrain Effects.
2008-05-27 21:06:48 +00:00
Teravus Ovares
1487699045
* Revert last commit as it opens sim owners up to all sorts of nasty scripts.
...
* If the regex that we're using isn't good enough, we really need to make it better.
2008-05-27 19:07:57 +00:00
Sean Dague
e436120d60
comment out the x.y security check in the script engine because it's so aggressive
...
it blocks string = "http://osgrid.org ", amoung other things.
2008-05-27 18:40:49 +00:00
Charles Krinke
e2e692c583
Thank you kindly, Melanie for a patch that adds:
...
GetSerializationData() and CreateFromData() methods
2008-05-27 14:36:23 +00:00
Justin Clarke Casey
64821ac0a1
* Implement asynchronous assets request for archiving
...
* No user functionality yet
2008-05-27 14:21:32 +00:00
Dr Scofield
1d3d739da4
fixes a CTB when IRCBridgeModule is not configured.
2008-05-27 13:16:44 +00:00
Dr Scofield
34f1741866
cleaning up: coding style guidelines violation in RestPlugin.cs.
...
adding support for enabled = true|false for IRCBridgeModule
2008-05-27 12:24:29 +00:00
Dr Scofield
a2f8f58f7d
I'm dropping the ISimChat interface as that has now been
...
replaced by EventManager events.
also, i've added instructions to README.txt about running
runprebuild.sh and on how to report bugs.
plus some minor fixes (dropping m_log statement left over
from debugging llOwnerSay, nicer catch of exception in
IRCBridgeModule
2008-05-27 08:21:59 +00:00
Adam Frisby
de06c85259
* Patch from jhurliman - Implements a binary search in the LLRAW exporter which dramatically speeds up exports.
2008-05-26 21:39:01 +00:00
Charles Krinke
ed717ec181
Thank you kindly, Melanie for a patch for script reset
...
that creates the event handler chain ready to hook by script engines
2008-05-26 16:16:48 +00:00
Dr Scofield
30a9469757
disabling m_log again.
2008-05-26 15:53:04 +00:00
Dr Scofield
1bb1d5d9b0
This cleans up a merge mess from the earlier checkin and implements llOwnerSay()
...
via the newly created Scene.SimBroadcast() call.
2008-05-26 15:37:31 +00:00
Dr Scofield
42cdf3c240
Adding OnChatBroadcast event logic to EventManager providing
...
a clean interface for Sim broadcasts. Added SimBroadcast support to
ChatModule.
Removing all code from IRCBridgeModule dealing with agent/client directly.
Cleaning up ChatModule.
Polishing IRC messages, adding support for "/me" (both directions).
2008-05-26 11:56:04 +00:00
Justin Clarke Casey
bf7c557f57
* Minor: method documentation fiddling in SceneObjectGroup
2008-05-26 02:17:03 +00:00
Justin Clarke Casey
0719c87b83
* Break out baby archiving code into separate class ready for async asset requesting
...
* No user functionality yet
2008-05-26 02:12:32 +00:00
Justin Clarke Casey
5c8a93c426
* Extract and boil down necessary texture UUIDs for an archive of the scene prims
...
* no user functionality yet
2008-05-26 01:50:40 +00:00
Justin Clarke Casey
d500209da0
* Refactor: Where possible, change visibility on InnerScene methods to protected internal on the basis that they shouldn't be manipulated by outsiders
2008-05-26 01:06:50 +00:00
Justin Clarke Casey
a28ca7b78b
* Refactor: remove code duplication between add ScenePresence methods in InnerScene
2008-05-26 00:47:36 +00:00
Justin Clarke Casey
73a28a56da
* Refactor: Separate out RemoveScenePresence and add into InnerScene to match existing AddScenePresence
2008-05-26 00:38:04 +00:00
Jeff Ames
5d77625e9a
Update svn properties. Formatting cleanup.
2008-05-25 23:27:38 +00:00
Teravus Ovares
c20f7d6171
* A hacky Top Scripts display. It isn't accurate as far as ms accounting, however you can use it to help find out what scripts are causing your simulator to cry.
...
* Access it from the Estate tools/Debug tab.
2008-05-25 20:50:45 +00:00
Charles Krinke
76a3bde76e
Thank you very much, Melanie for a patch that:
...
If the m_controllingClient member if a ScenePresence is
null, that would cause a CTB. This patch fixes it.
2008-05-25 19:29:25 +00:00
Charles Krinke
83bfd29af8
Thank you very much, Xantor for a patch that:
...
Copying, reseting, dragging scripts cause unnecessary recompilation,
slowing down the simulator and filling up the ScriptEngines directory
with compiled .dll and misc. files.
This patch keeps track of compiled assets since the last simulator restarts,
and only recompiles new assets. (editing a script generates a new asset,
so no problems there).
2008-05-25 19:26:21 +00:00
Charles Krinke
36b8196f7a
Thank you kindly, Tiffany for a patch that helps:
...
Drag copy a prim and the prim that is moved, persists.
The prim that is created does not survive a restart.
2008-05-25 19:21:21 +00:00
Charles Krinke
5ac682ddf9
Thank you kindly, Grumly57 for a patch to improve
...
XMLRPCModule.cs: RemoteDataReply() and XMLRpcResponse()
2008-05-25 17:58:10 +00:00
Teravus Ovares
042c9ed4d8
* Adds Top Colliders when using ODE. Access it from the estate tools/debug tab.
2008-05-25 11:22:05 +00:00
Teravus Ovares
29092d3999
* phantom sculpties don't request the sculpt texture anymore.
2008-05-25 04:15:32 +00:00
Teravus Ovares
c29409dc24
* Yet another way to optimize the sculpt mesh generator
2008-05-25 02:56:00 +00:00
Teravus Ovares
f57cb17494
* kill a potentially large float array.
2008-05-25 02:50:17 +00:00
Teravus Ovares
d3b013be1c
* Releases Pinned vertex/index list in ODE on next mesh request.
2008-05-25 02:39:58 +00:00
Justin Clarke Casey
86c46e92cd
* Disabling isSelected check on object persistence backup (at least temporarily), since it appears we sometimes either don't receive or don't register deselect packets when
...
prims are shift copied.
* A better long term solution may be to address the problem of why we're not always seeing the deselects
2008-05-25 01:09:14 +00:00
Justin Clarke Casey
bc92d72828
* Refactor: Collapses parts of different code paths in scene used when deleting and unlinking an object
2008-05-25 00:09:08 +00:00
Justin Clarke Casey
0ee69707ea
* Refactor: Collapse some multiple remove object paths
...
* Push some delete functionality into InnerScene to match what's already there for adding objects
2008-05-24 23:11:07 +00:00
Justin Clarke Casey
10564469c8
* Refactor: Remove some unused methods in Scene/InnerScene
2008-05-24 22:48:21 +00:00
Justin Clarke Casey
f3067ce6f9
* Refactor: Change previous commits Object methods to SceneObject methods instead, on the basis that this is less likely to cause confusion with c#'s base object type
2008-05-24 22:45:13 +00:00
Justin Clarke Casey
79eecd3d25
* Refactor: Renaming various *Entity*() methods to *Object*() methods on the basis that they all take SOG parameters to improve code readability for now
2008-05-24 22:10:14 +00:00
Justin Clarke Casey
42693f3b20
* Refactor: Push some dictionary initialization down from Scene into InnerScene
2008-05-24 21:57:00 +00:00
Justin Clarke Casey
d53db1d69b
* Refactor: Make some inner scene dictionaries internal rather than public
2008-05-24 21:36:27 +00:00
Teravus Ovares
cd79be569c
* Fixes endless loop in the Land Module when selecting any object.
...
* Fixes returning objects when the object owner hasn't been in the simulator since the simulator started up last.
2008-05-24 21:13:44 +00:00
Justin Clarke Casey
dd4100db4c
* Get the xml2 entities serialization representation in the archiver module
...
* Not yet reusing serialization module - this will happen in the future
* No user functionality yet
2008-05-24 19:21:57 +00:00
Justin Clarke Casey
58e71b8507
* If the SVN build version is not available, state this in the About box explicitly, rather than leaving it out completely and possible engendering confusion
2008-05-24 18:27:57 +00:00
Justin Clarke Casey
e5e666bb41
* Bump reported svn trunk revision number up to 0.5.7
2008-05-24 18:21:28 +00:00
Justin Clarke Casey
0b7f82153b
* Temporary fix for mantis 1374
...
* If the agent throttle byte array is unexpectedly empty, then log a warning and drop the packet
2008-05-24 18:17:31 +00:00
Teravus Ovares
375673ec90
This enables return from the parcel object owner display.
...
There's some oddness with the parcel counts, but if you can get past the oddness, you can return objects under an owner that you have permission to return.
2008-05-24 11:10:21 +00:00
Teravus Ovares
3965fa2ff3
* Implements selected object return.
...
* If user is in the same sim with you, they'll get an inventory update, if not.... oh well, they'll have to clear their cache potentially before they'll see it.
2008-05-24 09:40:14 +00:00
Teravus Ovares
c98fb26789
* an attempt to resolve the teleport + attachment = crash
2008-05-24 03:19:57 +00:00
Dr Scofield
b3e413bef7
forgot to actually remove IRCBridgeModule.FindClientRegion()
2008-05-23 16:10:11 +00:00
Dr Scofield
09188d5d10
IRCBridgeModule (and ChatModule before the refactoring) didn't succeed in
...
finding out which region a new avatar was logging in to; the same problem
occurred when the client/avatar logged out. the reason was mani-fold:
- Scene.AddNewClient(...) would call SubscribeToClientEvents(client)
which would subscribe to all client events and then call
TriggerOnNewClient(...) BEFORE the ScenePresence object had even been
created and added. i've moved the TriggerOnNewClient() call to the
end of Scene.AddNewClient()
- Scene.AddNewClient(...) is called with child == true; a later call
to ScenePresence.MakeRootAgent() will turn child to false. When
OnNewClient is triggered, child is still true, causing IRCBridgeModule's
FindClientRegion to ignore the ScenePresence of the new avatar.
i've changed IRCBridgeModule to still use OnNewClient and also OnLogout
and OnConnectionClosed but only to signal that the avatar has logged on
(logged off respectively). to track whether an avatar has actually entered
a region i've added EventManager.OnMakeRootAgent (complementing
OnMakeChildAgent).
also, i've cleaned up the internal IRCModule code a bit. currently it
still uses IClientAPI.SendChatMessage() which replicates the code in
ChatModule, that needs to be changed to use TriggerOnChatFromWorld().
2008-05-23 16:07:47 +00:00
mingchen
d04443b4fe
*Refactor of the LandManagementModule that allows OpenSim to run without it
2008-05-23 15:12:15 +00:00
Dr Scofield
bf23e5d66c
i've refactored the ChatModule into two modules: ChatModule and IRCBridgeModule.
...
ChatModule is now only doing in-world chat. IRCBridgeModule is only doing, well,
bridging chat to/from IRC. Both modules are now using a new OnChatFromWorld event
handler (which Scene.PacketHandler is feeding for chat from in-world instead of
going via the Interface method). This refactoring will allow us to easily add
other bridge modules (e.g., an XMPP bridge module).
there is still a bug in IRCBridgeModule (inherited from the old ChatModule)
where FindClientRegion does not really find the client region...
2008-05-23 10:24:26 +00:00
Charles Krinke
066b350d20
Thank you kindly, Melanie, for:
...
Nothing huge, but the new button code for producing
a new script does well, but the script will not allow
for name change once created. It reverts back to new script.
2008-05-23 02:45:52 +00:00
Charles Krinke
7dcaa409b3
Thank you kindly, Melanie, for a patch which:
...
Previously, upload charging was possible only for UPD uploads.
This is because UDP uploads are charged by the viewer, while in CAPS,
this was changed to be server side, so hackers couldn't avoid
paying the upload charge. This patch adds a method to allow
implementation of this serverside charge.
2008-05-23 01:38:20 +00:00
Justin Clarke Casey
8cde4a1c28
* minor: Remove unused variables causing warnings in Scene
2008-05-22 22:31:42 +00:00
Justin Clarke Casey
0c94da8305
* Plug in stubbed out archiver module
2008-05-22 22:21:58 +00:00
Justin Clarke Casey
4e33906973
* Add (DEPRECATED) to load-xml/save-xml region console help
2008-05-22 21:26:00 +00:00
Sean Dague
b27ae0e8dc
make VS compile Scene.cs
2008-05-22 20:59:40 +00:00
Sean Dague
1c49752a44
don't trust appearance assetid, instead do an inventory
...
lookup any time we get it from the server. This should
preventent unwearable appearance.
2008-05-22 20:07:31 +00:00
MW
811cd3e0bf
change to how initial terrain data is sent. Instead of sending the 64 packets in rapid fire as quickly as possible. The terrain data sending is now done in a threadpool worker thread over ~10 seconds with a thread.sleep between each packet sending. this hasn't been tested thoroughly, so it might not actually help with the atom bomb terrain (missing patches) but its a simple thing to revert if it makes things worse for anyone.
...
10 seconds is roughly the time between the region handshake completing and you being in world where you can see your avatar. So normally the terrain still should have loaded by time you get in the region, although it is possible that sometimes you might see the very end of the terrain load just after you arrive.
2008-05-22 19:44:57 +00:00
Teravus Ovares
c124bb58ec
* Limiting the Quaternion reset to x=y=z=w=0
2008-05-22 19:09:51 +00:00
Sean Dague
36bfa66719
we should be return null in these 2 places, though this won't
...
help with the timeouts.
2008-05-22 17:55:28 +00:00
Sean Dague
fb120e3e23
catch case where avatar might have been child agent
2008-05-22 17:39:13 +00:00
Justin Clarke Casey
401e9bc3b9
* Documentation for load/save xml methods
...
* Insert the very rough beginning stubs for a save/load OpenSim archive facility that will load/save prim assets (textures & inventory) as well as the prim details themselves
(our existing xml facilities).
* This won't be ready for even rough testing for quite some time.
* I'm doing this directly in the region server for now since this will be quicker to get something working (hence giving me the Serotonin boost that I need). However, there are
very good arguments for later also including it (or moving it entirely) to the separate export executable which Sean stubbed out some time ago.
2008-05-22 17:09:33 +00:00
Dr Scofield
a97fa3f43e
changing more 'raw' HTTP status codes to OSHttpStatusCodes.
2008-05-22 12:59:42 +00:00
Adam Johnson
9915fa13fb
Fix for Mantis 1340. Thanks Melanie!
2008-05-22 12:21:34 +00:00
Adam Johnson
336c761ba0
Mantis 1357 Patch - Thanks mikem!
2008-05-22 12:07:47 +00:00
Adam Johnson
f22a63bd1c
Added "show regions" to the CL help screen. Mantis 1123
2008-05-22 08:37:49 +00:00
Adam Johnson
5bfdb8c003
Adding basic show users functionality back in to console. Mantis 1212
2008-05-22 04:55:23 +00:00
Teravus Ovares
bdcfc2e322
* Prevent an error from stopping startup when decoding the sculpt mesh j2k fails.
2008-05-22 02:40:19 +00:00
Justin Clarke Casey
1f57fd4bec
* Minor: Tidy ups and logging tweaks.
2008-05-22 00:41:03 +00:00
Justin Clarke Casey
203017f554
* Refactor: Move enhancement of version string with operating system information from Scene to OpenSimMain
...
* This also means the operating system info will show up in the region console (and hence the logs)
2008-05-22 00:32:04 +00:00
Justin Clarke Casey
2e758172f0
* Fix circular dependency from last checkin by passing version as a parameter to Scene rather than referencing VersionInfo directly
...
* Butt ugly solution
2008-05-22 00:18:33 +00:00
Justin Clarke Casey
9263f07d70
* Send VersionInfo string instead of the hardcoded Scene string to the "About Second Life" box
...
* This is the same string as printed out on the opensim region console at startup, so it should now include the svn revision number (if available)
* This dialog box takes an awful long time to come up on my local system - no idea why that is. However, that also seems to have been the case before this revision.
2008-05-21 23:52:02 +00:00
Justin Clarke Casey
cca1563a78
* Deprecate load-xml and save-xml in favour of load-xml2/save-xml2.
...
* Please file a mantis if you are not able to use load-xml2/save-xml2 but can successfully use load-xml/save-xml
2008-05-21 22:57:29 +00:00
Teravus Ovares
c8857daf52
* Going to the C# syntactic sugar way of handling the backup event delegates.
2008-05-21 22:06:38 +00:00
Teravus Ovares
8afd93c943
* Sets backup bool volatile for extra protection against two backup processes running.
2008-05-21 21:47:03 +00:00
Teravus Ovares
5af108a029
* This update causes the backup process to run in a separate thread.
...
* Concurrency issues are resolved because each object makes a memory-only copy of itself and backs up the copy.
* Because of the way this is done, the latest at the time of the backup gets backed up (no functionality change)
* You can move *thousands of objects at a time* and the sim doesn't freeze and wait for the backup to complete.
* This can be enhanced more by dedicating the thread as opposed to starting it when the backup process starts.
2008-05-21 21:22:56 +00:00
Sean Dague
9389429ed3
Clean out some crufty in AvatarFactoryModule
...
Fix RequestUpdateInventoryItem so that asset changes
generate a new asset, which is needed for editing
appearance to do the right thing. Persistant appearance
seems to work after this, except you need to rebake textures
some times.
2008-05-21 20:18:40 +00:00
Sean Dague
53bcf2139e
this removes use of the mapper for wearables, and I can confirm things
...
get saved to the database. There are still issues on wearing things
after a cleared cache that I'm looking at now.
2008-05-21 18:02:09 +00:00
Teravus Ovares
0b719286a4
IZ QUATERNION NORMALIZE TO 0? NOWAI! KTHXBYE
2008-05-21 17:29:03 +00:00
Teravus Ovares
8217bbe484
* Fixed needing to alter your sculptie sometimes to get physics to generate a collision mesh for it.
...
* Sculpties load on startup reliably now and successfully generate a collision mesh as soon as the sculpt texture is available.
2008-05-21 05:46:32 +00:00
Sean Dague
e3efe1de16
attempt to fix mysql mapper usage
2008-05-20 22:37:18 +00:00
Sean Dague
70ada9181d
move SceneEvents.cs to EventManager.cs, as that's actually
...
the name of the contained class.
2008-05-20 20:39:44 +00:00
Dr Scofield
a53cea6b7e
i'm extending the RestStreamHandler.Handler(...) signature to actually
...
provide OSHttpRequest and OSHttpResponse to our REST handler.
also, this adds proper RestPlugin.IsGod() checking against the X-OpenSim-Godkey
HTTP request header.
last, i added XML doc comments to RestPlugin.cs
2008-05-20 16:51:45 +00:00
Sean Dague
185eff8d0d
From: Jeremy Bongio <jbongio@us.ibm.com>
...
House cleaning ...
Rather than using the variable name EntityList, the variable name
EntitieList was being used. Here's a patch to fix it.
2008-05-20 16:19:35 +00:00
Jeff Ames
535d64b66b
Add copyright notices.
...
Fix spelling typo (Thanks ChrisDown for pointing this out)
2008-05-20 15:38:49 +00:00
Sean Dague
7a52b35c57
fix crash in standalone mode for initial appearance setup
2008-05-19 20:33:54 +00:00
Charles Krinke
01b5425a2d
Thank you kindly, Melanie for a patch that avoids a null
...
ref in inventory give and also now causes items to appear
in the correct folders now, no longer in the root folder.
2008-05-19 20:05:10 +00:00
Sean Dague
9808f39b6f
i can haz pantz?
...
You sure can. This change set restores pants (and the rest of the
default appearance) in grid mode. The
root issue had to do with serializing multi-faced textures to the
grid server. This also restores the lookup path through the avatar
factory module, as that seems the reasonable place to have it live.
Some clean up patches are coming later as well, plus testing on
standalone, but this should be in a good kicking around state for
grid users.
2008-05-19 19:08:59 +00:00
Jeff Ames
7b0ca6ea30
Attempt to fix incorrect animations when using ODE (bugs #1320 / #1321 )
2008-05-19 14:49:20 +00:00
Dr Scofield
d725d1208b
adding OSHttpRequest and OSHttpResponse which wrap HttpListenerRequest and HttpListenerResponse respectively.
...
enhancing IStreamHandler and IStreamedHandler interfaces so that OSHttp{Request,Response} get passed in,
allowing RestHandlers to set response status code, redirections, etc.
2008-05-19 11:38:35 +00:00
Jeff Ames
dfe8e2c502
Rework some of the animation logic in an attempt to resolve #1318
2008-05-19 04:14:43 +00:00
Jeff Ames
6ec680918b
Formatting cleanup, minor refactoring. Fixed some comparisons of value types and null.
2008-05-18 23:06:50 +00:00
Jeff Ames
901e97f821
Update svn properties.
2008-05-18 21:54:13 +00:00
Justin Clarke Casey
682fc23e32
* minor: Just a few documentation odds and ends
2008-05-18 19:51:58 +00:00
Tedd Hansen
aa5b26a4d3
Cleanup: Removed LSOEngine source again as it will not be used.
2008-05-18 14:10:51 +00:00
Adam Frisby
c22b388f83
* Patch #1312 from Melanie - Abstracts Money Module to IMoneyModule.
2008-05-18 10:23:31 +00:00
Teravus Ovares
529553c77e
* Fixed a logic error in previous commit. Darn these long client(param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param); methods!
2008-05-18 03:32:17 +00:00
Teravus Ovares
2bd03b7c8c
* Group type stuff. Nothing spectacular. two packets, sorta almost semi half tiny amount implemented.
2008-05-18 03:21:22 +00:00
Charles Krinke
89056c492d
Thank you very kindly, Melanie for:
...
The money module witll register (claim) an interface slot,
even when disabled. This patch fixes it so that it will not
register to supply this interface unless it's activated.
2008-05-17 22:06:11 +00:00
Charles Krinke
4fde2e602c
Thank you kindly, KMeisthax for: Moving the PostInitialize() code to the
...
Initialize() section that runs when the module is grabbing config data.
This is run before any Providers are created and thus makes sure we don't
get any more startup crashes.
2008-05-17 21:05:08 +00:00
Teravus Ovares
74fb5e1a94
* whoops, misplaced / where should have been \
2008-05-17 18:48:06 +00:00
Teravus Ovares
6bcb0e8685
* Update on the script engine LSL parser. Blocks all static objects and method references.
2008-05-17 18:37:51 +00:00
Charles Krinke
f6a4f8844f
Thank you very much KMeisthax for DataSnapshot 1.1
...
to enhance search capability on OpenSim sims using
external search engines such as Metaversink.com and
others.
2008-05-17 15:47:08 +00:00
Sean Dague
06b1535ec5
while this doesn't fix the initial no pants issue in grid (which still baffles me)
...
it does make setting appearance in grid stick.
2008-05-17 12:45:43 +00:00
Teravus Ovares
fbc98ca537
0001303: [PATCH] Make prim owner and data show for prims not owned. From Melanie. Thanks Melanie!
2008-05-17 02:07:38 +00:00
Teravus Ovares
349a17f664
* Tweaked patch mantis 1302 and committing it.
2008-05-17 00:16:16 +00:00
Jeff Ames
a5f08b430d
Formatting cleanup.
2008-05-17 00:06:35 +00:00
Teravus Ovares
aa5197304e
* Committing patch from mantis 0001297: [PATCH] Fix behavior of child prim inventories. Also enables 'New Script' button. from Melanie. Thanks Melanie!
2008-05-16 23:11:00 +00:00
Sean Dague
ebb0cc5dd7
minor change to justin's previous fix that should still
...
prevent his crashes
2008-05-16 23:03:36 +00:00
Teravus Ovares
abc06daefd
* Patch from Melanie. Mantis 1294: Fix broken wearables icon display in prim inventories. From Melanie! Thanks Melanie.
2008-05-16 22:57:46 +00:00
Teravus Ovares
a510033df5
* Applying patch in mantis 0001293: [PATCH] Fix a bug that corrupts uploaded assets on disk write from Melane. Thanks Melanie!
2008-05-16 22:50:37 +00:00
Teravus Ovares
00a1f0bab0
* This finishes the ODE options section of the OpenSim.ini.example. I've added 44 configurable options!
...
* This includes if you want to mesh sculpties and the Level of detail on the sculptie meshing for non physical and a separate LOD on physical sculpties.
* The options range from gravity.. to avatar movement speed, to friction management.. to object density.. to update throttling.
2008-05-16 20:16:33 +00:00
Sean Dague
7e17a444f0
it helps when both sides of the xml-rpc server agree on the method names
2008-05-16 19:06:58 +00:00
Sean Dague
843be1e93d
some more wrapping of errors in user service on appearance for
...
safety
2008-05-16 18:40:16 +00:00
Justin Clarke Casey
63ddbfb979
* Eliminate occurences of "Got a texture uuid ... with no sender object to handle it..." by properly dealing with the situation where a client still has queued texture requests when it logs out
2008-05-16 18:10:04 +00:00
Sean Dague
244c776487
front end of OGS1 Appearance bits. Now I need to write the
...
back end.
2008-05-16 18:02:20 +00:00
Justin Clarke Casey
772f88d2e5
* Removing unnecessary LLUUID.Zero check from AssetCache
...
* This revision also includes a very temporary fix for the fact that NREs are received because of a missing avatar apperance in grid mode
2008-05-16 16:37:31 +00:00
Sean Dague
a3b10caa07
starting to put appearance into grid comms. now I know why
...
everyone hates OGS1
2008-05-16 14:48:09 +00:00
Sean Dague
e6d4c8f0c9
move AppearanceTableMapper to OpenSim.Data.Base. The mapper
...
stuff should probably be collapsed soon, as it takes up 4 assemblies
now.
2008-05-16 14:05:12 +00:00
Jeff Ames
7fefb80abb
Minor cleanup.
2008-05-16 13:33:57 +00:00
Jeff Ames
65c5efe43b
Formatting cleanup.
2008-05-16 01:22:11 +00:00
Charles Krinke
e25818d832
Thank you very much, mjm for :
...
Fixing LSL multiplication and division operators for quaternions
2008-05-16 00:56:55 +00:00
Sean Dague
fc77364972
appearance now survives logout. Tommorrow will involve moving
...
the MSSQL and MYSQL mappers back in under datastores and looking at doing
gid bits for this
2008-05-16 00:04:46 +00:00
Teravus Ovares
afd5da6851
* Adds various tweakable avatar control options to the OpenSim.ini.example.
2008-05-15 23:11:31 +00:00
Teravus Ovares
0976949ad4
* Committing half of patch mantis 001291 from Melanie! Thanks Melanie.
...
* Fixes perms on take-copy assuming you have a specific flag set.. which is still in discussion.
2008-05-15 20:29:28 +00:00
Sean Dague
4a9ee9f870
testing avatar appearance as a user service
2008-05-15 20:25:42 +00:00
Teravus Ovares
bbaf2fe75e
Committing Xantor's LLEuler3Rot still broken fix patch. Mantis 001235. Thanks Xantor!
2008-05-15 19:36:13 +00:00
Teravus Ovares
d60e457463
Committing patch from Melanie. 0001290: [PATCH] implement permissions propagation and script module hooks. Thanks Melanie!
...
* Implements quite a few inventory related perms.
* (from Teravus) Fixes Take Copy
2008-05-15 19:28:10 +00:00
Sean Dague
4ff4475d02
remove my UserAppearance object, switch all code to use
...
AvatarAppearance instead.
2008-05-15 18:42:27 +00:00
Sean Dague
0c509ecdde
minor refactor of some properties for readability
2008-05-15 15:10:13 +00:00
Sean Dague
8e7f2d6d0e
refactoring to move AvatarAppearance into Framework and
...
move the appearance sending bits to ScenePresence
2008-05-15 14:39:54 +00:00
Sean Dague
3079cf7beb
add some additional bits to AvatarAppearance to make this
...
a more data friendly object
2008-05-15 14:15:51 +00:00
Teravus Ovares
173d13b0a4
* Added about half of the planned ODE physics options to OpenSim.ini.example.
...
* Some will do cool things, some will make your scene explode dramatically if you're not careful.
2008-05-15 06:35:01 +00:00
Teravus Ovares
bc177b1c37
* Committing Patch mantis 0001275: [PATCH] Add more perms-fu. From Melanie. Thanks Melanie!
...
* Adds hooks in the permission module for CanReadScript, CanEditScript, CanCopyInventory, CanDeleteInventory, CanEditNotecard, CanViewNotecard, CanViewScript.. and a few more. The functionality in the default module returns true.
2008-05-15 03:14:48 +00:00
Teravus Ovares
66e6711f3e
* Got rid of an old crufty sleep that was being called. Thanks for your support in load testing Adam's simulator was what pointed this old crufty sleep out.
...
* Please, we need more load tests with profilers running. :D
2008-05-15 02:48:32 +00:00
Teravus Ovares
a4efa93993
* Comitting 0001271: [PATCH] Refactor permissions to fully allow stacking permissions modules. From Melanie. Thanks Melanie!
2008-05-14 23:25:07 +00:00
Teravus Ovares
2a988f187e
* Refactored IConfigSource into Physics plug-ins and Scene. We can get rid of some of the parameters we pass to it's constructor now like, 'm_allowPhysicalPrim', 'seeIntoOtherRegions', etc.. so on
...
* The main purpose of this is to provide configuration options for ODE and other physics plug-ins that are advanced enough to be able to be configured.
2008-05-14 23:15:25 +00:00
Justin Clarke Casey
e246d6e515
* Start recording as a statistic the number of times we start blocking repetitive client requests for the same missing texture
...
* This is to maintain some visibility on the problem, since I removed the intentionally irritating log messages for this
2008-05-14 23:09:17 +00:00
Justin Clarke Casey
1b90238f28
* Start recording initial complete avatar inventory retrieval failures from the region server
...
* In theory, this should be a somewhat useless statistic since the user server will already have tried to use the inventory service to retrieve the avatar's skeleton. If this
fails, login is halted completely.
* Nonetheless I'm recording it anyway just to see whether it happens (yes, I'm too lazy to scan the logs...)
2008-05-14 22:23:17 +00:00
Justin Clarke Casey
0f50162961
* Refactor additional stats collection common code into base opensim server
...
* If extra stats not sent to the viewer are available on an opensim server, they are now uniformly accessible using the 'show stats' command
2008-05-14 21:53:40 +00:00
Teravus Ovares
e45ace9b54
* Fixed attaching objects that are in-world.
2008-05-14 21:17:57 +00:00
Justin Clarke Casey
587f6ab645
* Refactor: Remove SceneObjectGroup.GetScenePresences() in favour of a direct call to Scene
2008-05-14 21:09:41 +00:00
Teravus Ovares
b7d0aa7cb5
* Fixed deleting prim.
2008-05-14 20:25:09 +00:00
Justin Clarke Casey
74b5f6b14a
From: Dr Schofield <hud@zurich.ibm.com>
...
* small patch that fixes a compiler warning (struct comparison against
null again, my favourites) in LSL_BuiltIn_Commands. LSL_Types.key has a
Boolean operator that can be used here.
2008-05-14 20:03:40 +00:00
Teravus Ovares
be99ca6bc0
* Fixed situations where objects would jump back or scale incorrectly with Scale both sides checked.
...
* This probably makes build tools work again. yay.
2008-05-14 19:37:33 +00:00
Sean Dague
4a07038bbe
From: Dr Scofield <DrScofield@xyzzyxyzzy.net>
...
the attached patch set adds the (still work-in-progress but already
working) RestPlugin base class and the RestRegionPlugin code. we are using
XML serialization.
currently working:
GET /admin/regions/ -> returns UUID list of known regions
GET /admin/regions/<UUID> -> returns detailed region information
we'll be adding support for POST/DELETE/PUT and also for
/admin/regions/<UUID>/name etc.
2008-05-14 19:13:54 +00:00
Justin Clarke Casey
8fe9943293
From: Dr Schofield <hud@zurich.ibm.com>
...
Rename SearializableRegionInfo to SerializableRegionInfo (class was already named correctly)
2008-05-14 17:03:25 +00:00
Adam Frisby
cbb15ff446
* Applying patch from Melanie to expose godlevel to modules.
2008-05-14 16:52:22 +00:00
Adam Frisby
c9c016e26a
* Applying patches from Melanie to cover permissions module. Thanks!
2008-05-14 16:51:16 +00:00
Justin Clarke Casey
d104b75116
From: Kurt Taylor <krtaylor@us.ibm.com>
...
More scipt engine cleanup - removed not needed or improper use of NotImplemented and Console.WriteLine
2008-05-14 11:42:09 +00:00
Teravus Ovares
820bce16fc
* Added standard copyright and removed un-necessary using of libsecondlife.Packets
2008-05-14 07:00:42 +00:00
Teravus Ovares
5b4d7922ea
* Adding the very bare minimum for the client to register user as having the group OpenSimulator Tester. This allows us to start examining and implementing the vary many unhandled group packets.
2008-05-14 06:58:32 +00:00
Jeff Ames
b7a0855c3a
More formatting cleanup. Minor refactoring.
2008-05-14 06:09:39 +00:00
Teravus Ovares
39eb39c0d5
Applied Patch mantis 1220. Implements llGetStartParameter. Thanks!
2008-05-14 05:43:21 +00:00
Jeff Ames
6a1b787436
More formatting cleanup.
2008-05-14 05:33:32 +00:00
Jeff Ames
c995d60d37
Formatting cleanup.
2008-05-14 05:11:23 +00:00
Teravus Ovares
eff470c0de
* Added 3 warnings in response to the warnings. Adam, read the warnings.
2008-05-14 05:08:22 +00:00
Teravus Ovares
9e8dd941f1
* Refactored OutPacket out of ScenePresence
...
* Down to 65 warnings.
2008-05-14 04:57:32 +00:00
Teravus Ovares
8fd0378ae6
* Removed 19 warnings
2008-05-14 04:06:33 +00:00
Teravus Ovares
9e1cc72c6e
* Refactored OutPacket and FirstName/LastName out of Friends Module.
2008-05-14 03:57:30 +00:00
Teravus Ovares
60146691ea
* Added the same catch on the 2nd place that objects fail to lock.
2008-05-14 02:16:51 +00:00
Teravus Ovares
fd035ec1f8
* Applying Melanie's FriendList related crash patch. She discovered that .NET throws a different error then mono does. Thanks Melanie!
2008-05-14 02:14:05 +00:00
Teravus Ovares
3c7e6b0c1e
* Tweaked a regex that was returning invalid results in some cases.
2008-05-13 23:19:18 +00:00
mingchen
ed4ea9b4b8
*Locked objects can now be unlocked
2008-05-13 21:43:52 +00:00
mingchen
fe6c626501
*Locked objects now delete after accepting warning as expected
2008-05-13 21:27:53 +00:00
Justin Clarke Casey
16621fb37f
* Refactor: Remove locking from InnerScene.GetScenePresence()
2008-05-13 18:40:36 +00:00
Justin Clarke Casey
3025dafa92
* Refactor: Stop exposing the inner scene's ScenePresence dictionary directly to the world
2008-05-13 18:25:15 +00:00
mingchen
91aa7fa4fe
*Fixed compile error on last commit
2008-05-13 18:14:12 +00:00
mingchen
5972e93449
*Objects now delete correctly
2008-05-13 17:39:21 +00:00
Adam Frisby
d90022b4d8
* Applying Mantis #970 - Revert brush does stupid things. Thanks tglion for fixing a really dumb bug.
2008-05-13 17:14:04 +00:00
Adam Frisby
5548dd6b06
* Some more bulletx physics fixes from Jed (DeepThink)
2008-05-13 17:05:52 +00:00
mingchen
32785921d0
*Complete redo of the permissions module
...
*Removed hardcoded permissions checks
*Added permissions checks where needed
2008-05-13 16:22:57 +00:00
Teravus Ovares
bfce23dcf4
* Implemented ChildAgentDataUpdate throttle multiplier based on an inaccurate count of neighbors.
...
* The neighbor count is always lower then the actual number of neighbors unless your region was up the longest.
* The region you're in is un-affected by this, though, you'll get less packet loss, maybe not get logged off immediately when you log in, and possibly see more prim if your internet connection is semi-unreliable.
2008-05-13 06:05:45 +00:00
Teravus Ovares
fcc23be577
* Fixed directory not found when saving Mesh previews (my bad, I was testing)
2008-05-13 05:06:58 +00:00
Teravus Ovares
e70da2e174
* Committing meshmerizer patch from Dahlia. Thanks Dahlia!
...
* 0001241: physics cylinder proxy distorted and square hollow misaligned (patch attached)
* The included patch corrects the outer shell of the meshmerizer proxy for the cylinder prim to eliminate spurious vertices and shape distortion, and corrects the orientation of the square hollow.
* The size and orientation of the square hollow for the prism prim has been corrected also.
2008-05-13 04:16:16 +00:00
Sean Dague
e826f5808b
my last patch didn't actually get the sun to possition correctly, but
...
now we are correctly using the timezone offset. If you set day_length to 24.0
you'll get a sun progression that roughly follows your real world day on your
server.
2008-05-12 18:39:19 +00:00
Sean Dague
552d862264
move the sun based on localtime instead of utc. Now it won't set for me at
...
3pm any more.
2008-05-12 18:13:58 +00:00
Jeff Ames
dce5c470b6
Move animation handling from ScenePresence into its own class.
2008-05-12 17:00:47 +00:00
Justin Clarke Casey
d3fb6039ca
* If a region running in grid mode fails to login to the grid service, startup will now terminate instead of carrying on (and thus burying the error message)
2008-05-12 16:57:56 +00:00
Justin Clarke Casey
6a5be03a80
* Minor: Initial cleaning up of some of the grid sim login messages
2008-05-12 16:16:50 +00:00
Justin Clarke Casey
d8a6c89a44
From: Alan M Webb <awebb@vnet.ibm.com>
...
This is a diagnostic patch in support of Mantis bug 1186.
It affects only SubModule and will not affect normal usage.
2008-05-12 13:44:25 +00:00
Jeff Ames
b34d5716a8
Thanks Melanie for a patch to stop sending unnecessary animation updates (bug #1239 ).
2008-05-12 09:07:07 +00:00
Jeff Ames
dc67264f6d
Refactoring animation handling in ScenePresence.
2008-05-12 04:31:28 +00:00
Jeff Ames
2382342c65
Formatting cleanup.
2008-05-12 01:23:03 +00:00
Jeff Ames
71f074839c
Update svn properties.
2008-05-11 23:48:40 +00:00
Teravus Ovares
6cda15a53f
* Un-break the NPC avatar.. you know.. the one that sits in your sim and shouts, 'This is my sim, get out!'
2008-05-11 22:03:01 +00:00
Teravus Ovares
a01b415d6c
0001199: [PATCH] Add support for default animations
...
From Melanie... Thanks Melanie!
.
2008-05-11 21:27:12 +00:00
Teravus Ovares
8f26427055
* Fixed null reference exception when rezzing an object from inventory with a rootpart that isn't found. Added a way to tell if it's an attachment.
2008-05-11 13:30:47 +00:00
Teravus Ovares
efc680f45b
* Changed implicit string conversion to LSL_Types.LSLString in money event of the key of the payer to an Explicit one.
...
* Fixes Mantis: #1045
2008-05-11 12:01:12 +00:00
Adam Frisby
0c831a0c2e
* Mantis #1127 - Patch to implement depreciated patches. Thanks middlelink!
2008-05-11 04:38:02 +00:00
Adam Frisby
ee352ebc79
* Added NPCModule and NPCAvatar classes for NPCs. Primitive, but we can grow them out.
...
* Fix for Scene.Inventory.cs - It assumes every entity at startup is a SceneObjectGroup. (Actually, this shouldn't have compiled[!] without a warning.)
* Fix for LandManager at startup - it assumes there's a land channel when perhaps there isnt. (Bug that needs another refactor to fix. [Mike - I've assigned a ticket to you about this])
2008-05-11 04:32:43 +00:00
Teravus Ovares
05de723e51
* Refactored two more OutPackets. ObjectPropertiesFamily, and Object Properties.
2008-05-10 20:25:40 +00:00
Teravus Ovares
1ba51dd2fd
* More OutPacket refactors.
...
* Added back a sleep to the kick routine so users get a 'you have been logged off message' when they get kicked from the simulator for various reasons (like 'the simulator is going down')
2008-05-10 13:11:09 +00:00
Teravus Ovares
b67f88a3a2
* Two more OutPacket refactors. TextureSender.
...
* The split image packet sender doesn't like to be refactored (images don't load after it's been refactored), so left that as is for the moment.
2008-05-10 12:45:41 +00:00
Teravus Ovares
536a92ca84
Refactored out a few warnings related to Adam's bane OutPacket
2008-05-10 12:01:36 +00:00
Teravus Ovares
e8478dadc8
* Experiment in Zerocoding.
2008-05-10 10:28:49 +00:00
Justin Clarke Casey
893d40639c
* Resolve mantis 1182. Doesn't actually implement llGiveInventoryList - merely corrects the signature so that "not implemented" message is displayed rather than a script
...
compile failure
2008-05-09 22:45:40 +00:00
Sean Dague
835e44b987
m_logs always need to be private static readonly otherwise we
...
get close errors.
2008-05-09 18:57:19 +00:00
mingchen
3900a165bc
*Land/Parcel upates are now correct with a significant movement by the Client
...
*Moved OnSignificantClientMovement to where it is supposed to be - SceneEvents and not ScenePresence
2008-05-09 17:40:39 +00:00
Justin Clarke Casey
87a519837e
* Removing console notifications of missing texture request sending (which ironically, was disabled, though it wasn't making much difference).
...
* These messages keep getting confused with other problems - just going to have to try to remember to add these to stats or something so at least they don't completely disappear
2008-05-09 17:32:26 +00:00
Justin Clarke Casey
d9dffc4a9a
From: Michael Osias <mosias@us.ibm.com>
...
Stop .net generating ambiguous operator errors when two integers are compared for equality in LSL
2008-05-09 17:23:27 +00:00
Adam Frisby
93ec7f0c3c
* Patch from Jed (DeepThink) - More optimisations for BulletX renderer. Trimesh collisions should now work relatively efficiently. BulletX plugin should now be functional - feedback would be appreciated as to how it performs vs ODE.
2008-05-09 17:17:54 +00:00
Jeff Ames
f9c6cc36e1
Update svn properties.
2008-05-09 16:24:28 +00:00
Justin Clarke Casey
313a635d1e
* Fix opensim region server shutdown.
2008-05-09 13:21:12 +00:00
Teravus Ovares
b7baa3cd2a
* Valid Sculpted prim now collide properly.
...
* The first time you set the sculpted texture of a prim you might have to futz with it to get it to generate a sculpted physics proxy
* Note that there are already issues in Trunk, (such as the prim scaling issue and prim jumping issue. Essentially editing is difficult right now)
* This just adds to the experimental nature of trunk. :D
2008-05-09 07:50:00 +00:00
Charles Krinke
74df815630
Thank you, Melanie for a patch that helps conversion
...
from a string to a vector in OSSL.
2008-05-09 03:23:52 +00:00
Charles Krinke
6ce00ce460
Thank you, Melanie for a patch that:
...
Patch fixes the pesky "Cannot implicitly convert to bool" issue for function returns
2008-05-09 03:20:29 +00:00
Adam Frisby
9f1c033757
* Minor tweak to TerrainChannel
...
* Minor tweak to Permissions/PermissionsModule.cs
2008-05-09 03:19:20 +00:00
Teravus Ovares
6bb4ab0563
* Applying Dahlia's Triangular hole in a cube peg patch. Fixes the hollow orientation in a cube in the meshmerizer. Thanks Dahlia!
...
* See mantis 0001203 for more details!
2008-05-09 02:00:55 +00:00
Teravus Ovares
7e275bfa37
* Wrote a method to get the OpenJpeg data of a sculpt texture asset and save it to the prim shape.
...
* Added some stuff around sculpted prim meshes.. but it's just there so the project compiles now.
2008-05-09 01:28:54 +00:00
Teravus Ovares
646df0dc2c
* remove 2 warnings.
2008-05-08 20:45:50 +00:00
mingchen
6c71a04da8
*Added all the permission checks to the sceneexternalchecks and modified permission module to follow this.
...
*This makes permission checking much more modular; allows restrictive and granting module to be made without modifying the existing permission module
2008-05-08 19:37:57 +00:00
Teravus Ovares
4b924f2eb6
* Committing an extra bit of permissions for attaching to ensure that the perms are in line with project goals.
2008-05-08 19:22:20 +00:00
Teravus Ovares
08ec34e4d3
* Removed ODELock message since it wasn't telling us anything important and people seemed to think it was the cause of their issues rather then a message to help locate a situation where physics stalls for a second and then kicks.
...
* This was simply a message added when an avatar was added/removed from the scene.
2008-05-08 16:07:41 +00:00
Adam Frisby
afd08c7477
* Proper fix for 1191 - Missing TypeData in ViewerEffectEventHandlerArg.
2008-05-08 14:09:12 +00:00
Adam Frisby
31c4d599a0
* Applying patch #1156 - More implementation work on llGetPrimitiveParams (Thanks middlelink!)
2008-05-08 13:49:19 +00:00
Adam Frisby
dc21e8d5e2
* Applying patch #1121 - Fixes for llListen() (Thanks Middlelink!)
2008-05-08 13:41:10 +00:00
Adam Frisby
cf7560d1aa
* Commit from Jed Zhu (DeepThink) - Initial implementation of mesh collision into BulletX plugin. Additional work to come in the next few days.
2008-05-08 13:32:15 +00:00
Sean Dague
8bd1924aaa
From: Michael Osias <mosias@us.ibm.com>
...
Patch to schedule terse update on deselect, specifically so llTargetOmega
sets rotational velocity on deselect.
This should complete our llTargetOmega support and fix:
http://opensimulator.org/mantis/view.php?id=1178
2008-05-08 12:48:29 +00:00
Sean Dague
a1f1c7f5c2
From: Alan M Webb <awebb@vnet.ibm.com>
...
Introduce time dilation in scripts.
2008-05-08 12:23:47 +00:00
Adam Frisby
4fa0cbdfbb
* You can haz more spring cleaning.
...
* Eventually this codebase will be clean. >_>
2008-05-08 05:35:01 +00:00
Adam Frisby
8a48516bcf
* Spring cleaning, round 3029
2008-05-08 05:09:35 +00:00
Teravus Ovares
92c03978e1
* Fixes Prim ExtraParams
...
* Fixes Sculpty handling
* Fixes Light handling
* Fixes Flexi handling
* Fixes Sculpty + Flexi handling
* Fixes handling of Flexi type
* Fixes Changing prim type after changing to sculpty corrupting prim.
* Ugly code.
2008-05-08 04:58:44 +00:00
Adam Frisby
ba8ff761c0
* Reduced sleep durations in a number of files.
2008-05-08 04:47:38 +00:00
Adam Frisby
80cbd468ea
* Some refactorings.
...
* Added shell of new Python scripting engine. Similar in design to the one used by Rex, but will be structured at a region rather than object level, also is a region module.
2008-05-08 04:34:02 +00:00
Justin Clarke Casey
d8aaf2ccf1
* For no good reason (since there are a hundred million other things to fix), change formatting of version information printed to the log
...
* Push printing down into OpenSimMain so both console and consoleless configurations will get it
2008-05-07 23:59:57 +00:00
Justin Clarke Casey
e49bdd2628
* Change LSL -> C# translated script console output to use the logger (at DEBUG level) rather than Console.Writeline
2008-05-07 23:21:24 +00:00
Justin Clarke Casey
be02107ea8
* Increasing ScenePresences locking to prevent race conditions such as those seen in one of the crashes of mantis 1163
...
* It's not impossible that this could lead to deadlock where sessions simply appear to freeze, even though the region console still responds.
* If this is the case, please file a mantis
2008-05-07 22:59:30 +00:00
Adam Frisby
95fbf63b3b
* Temporary fix for Mantis 1177.
2008-05-07 22:19:30 +00:00
mingchen
e364c64583
*Fixed bug causing Object Duplication to not correctly follow permissions
2008-05-07 21:52:11 +00:00
Teravus Ovares
28e6e018a2
* Doh! scripts that get controls should get controls even when you're sitting on an object.
2008-05-07 21:50:37 +00:00
Justin Clarke Casey
611a1634f4
* Fix minor local inventory service log typo
2008-05-07 21:45:25 +00:00
Adam Frisby
a95f13a646
* Removes references to libsecondlife.Packets from IClientAPI. BAD PROGRAMMERS. NAUGHTY.
...
* Thanks to Andrew (DeepThink) for working on this one.
2008-05-07 20:31:48 +00:00
Sean Dague
02b1d908e8
enable velocity on our full update, as I think I know why
...
this didn't previously work
2008-05-07 19:48:34 +00:00
Sean Dague
0574355b4b
seriously hope this gives us rotation and rotational velocity
2008-05-07 19:44:22 +00:00
Teravus Ovares
86669a1664
* Other then the prim update experiments that are going on now, llTakeControls works now along with the 'release controls button'. llReleaseControls() works mostly :D.
2008-05-07 19:41:03 +00:00
Sean Dague
b77aa39d64
check in a new approach to this
2008-05-07 19:37:37 +00:00
Sean Dague
30077bf717
ok, reverting the bad packet fill in, going to try this again
...
slightly differently
2008-05-07 19:34:06 +00:00
Sean Dague
37172afe31
make prims reliable to see how that effects this update path
2008-05-07 19:19:38 +00:00
Sean Dague
fd8defcebb
this change probably causes an earthshattering kaboom, and
...
sends all your prims to mars. or it fixes llTargetOmega.
place your bets quickly before I have a chance to test it.
2008-05-07 18:57:43 +00:00
Sean Dague
5ff3c03c12
get all the right bits to SendPrimitiveToClient so we can actually
...
set vel, acc, and rvel in the packet (though this isn't done yet).
2008-05-07 18:40:18 +00:00
Teravus Ovares
ab5556055e
* Theoretically, everything is in place for scripted take controls... Theoretically.
...
* I've still got to test, it's still theoretical code :D. Good thing it isn't enabled by default!
2008-05-07 18:23:46 +00:00
Sean Dague
edd6577f84
while I'm not convinced this is causing my current run away
...
loop, this queue manipulation is dead wrong as Queue is not
a synchronized data structure. Hopefully this helps.
2008-05-07 18:10:18 +00:00
mingchen
1b2415325a
*Fixed Missing SceneExternalChecks.cs
2008-05-07 18:06:55 +00:00
Sean Dague
7203648588
if we are aborting the client loop we should tell someone
2008-05-07 18:05:18 +00:00
mingchen
d8e33ec914
*Added CanRunScript to SceneExternalChecks
2008-05-07 17:44:48 +00:00
mingchen
6551f17966
*Added SceneExternalChecks.cs that is used to manage checking the results of multiple functions that register with the class and return the result (usually true/false) based on those results. This is useful for module wanting to put their opinion in decisions such as 'can the user rez this object?'
2008-05-07 17:33:57 +00:00
Justin Clarke Casey
5afe6c3ed9
From: Kurt Taylor <krtaylor@us.ibm.com>
...
Implements the show version command.
If you type show version at the console, you will get the revision that opensim is running, assuming you have the .svn/entries file in your base directory (e.g. you are running from code extracted from our SVN repository)
A patch to also send this to the client should follow shortly
2008-05-07 16:48:29 +00:00
Justin Clarke Casey
250fb6f5db
* Move shutdown processing to base OpenSimServer, overriding the method where appropriate
...
* This also means that the command quit (as well as shutdown) will now close down grid servers (instead of only being in place for the region server)
2008-05-07 16:24:15 +00:00
Charles Krinke
2cf025d9cb
Thank you very much, Xantor for a patch to improve
...
llParticleSystem().
2008-05-07 16:05:42 +00:00
Charles Krinke
dc80fd2048
Thank you, Middelink for a patch that fixes the regular expresion
...
missing the numbers after the initial letter of the identifier.
2008-05-07 15:51:50 +00:00
Sean Dague
e1e4fe7361
replace 2 instances of "0000...." with LLUUID.Zero.ToSting() because
...
I was in the file and noticed them.
2008-05-07 15:07:46 +00:00
Sean Dague
3792827cf3
revert 4546, I definitely didn't understand what I was doing here
...
and awebb says he's close to a functional patch for 1166
2008-05-07 15:01:02 +00:00
Sean Dague
4999b00294
attempted fix of http://opensimulator.org/mantis/view.php?id=1166 . This
...
is currently untested and may result in weirdness. Beware this changeset.
2008-05-07 14:41:59 +00:00
Justin Clarke Casey
382b9c18ed
From: Alan M Webb <awebb@vnet.ibm.com>
...
The attached patch moves the sun module incrementally nearer where it
needs to be. Default behavior, i.e. no overriding configuration is to
match Second Life's diurnal/nocturnal rhythm.
All designated values are now sent to the client.There remain a couple
of unanswered questions about how this SHOULD be implemented though.
2008-05-07 14:15:59 +00:00
Jeff Ames
0ea48cf786
De-tabify source.
2008-05-06 22:41:38 +00:00
Sean Dague
0b09966c7e
send actual velocity and angular velocity in terse updates
...
instead of hardcoding to zero when the primitive is non physical.
llTargetOmega should work now.
2008-05-06 22:17:00 +00:00
mingchen
d8e02d9e5c
*LLClientView is now pushed the EstateSettings instead of pulling it from the scene...more to standards
...
*LandChannel no longer requires libsecondlife.Packets (it should have never needed it in the first place)
2008-05-06 18:29:58 +00:00
Adam Frisby
31cd162d34
* Cleaning up code, making it conform to OpenSim standards.
2008-05-06 04:56:48 +00:00
Teravus Ovares
add13276a9
* Committing a bunch of work for control snatching. Not done yet. No visible features.
2008-05-06 02:47:14 +00:00
Teravus Ovares
240e8646da
* If you llApplyImpulse on an attachment, it applies impulse on the avatar, not the attachment.
2008-05-06 00:23:19 +00:00
Justin Clarke Casey
9655cf2807
* Refactor: Break out permissions code into a separate region PermissionsModule
2008-05-05 20:14:53 +00:00
Justin Clarke Casey
60a83574f4
* Just some tidy up and documentation before I make my first ever attempt to extract a lump of code out to a region module
2008-05-05 18:53:07 +00:00
mingchen
c535f3947d
*Standardized the Land module by removing all references to libsecondlife.packets
2008-05-05 17:44:40 +00:00
Teravus Ovares
ce19234dc8
* Unraveled the DEBUG_CHANNEL mystery.
...
* Moved script errors to the debug channel.
* Typing '/2147483647 OK' results in a debug_channel message.
* Expanded the available parameters that are send-able through IClientAPI
2008-05-05 15:53:11 +00:00
Teravus Ovares
1130c3067c
* A bit of spice from here, a pinch of salt from there, some brains that attracts zombies.. a recipe for llRezObject
...
* Original patch by YZh Thanks YZH!!!!
* object_rez event patch by Melanie, Thanks Melanie!!!
* Some fixups, some missing things(velocity,rotation)
* script delay
* Recoil
* Standard error messages
* Standard silent failures
* Easter egg management
2008-05-05 00:03:30 +00:00
Teravus Ovares
7b446aba91
* Implemented DIE_AT_EDGE and Temporary objects don't save to the database.
2008-05-04 22:55:52 +00:00
Jeff Ames
0e31eb8314
Update svn properties.
2008-05-04 21:59:29 +00:00
Adam Frisby
9752669011
* Reformatted EstateManagementModule
2008-05-04 19:30:26 +00:00
Adam Frisby
07098978b9
* Updating some file locations.
2008-05-04 19:21:14 +00:00
mingchen
ddb3a9bdf8
*Fixed a mistake in the EstateManagementModule that messed up the trunk.
2008-05-04 19:19:18 +00:00
mingchen
63c104efde
*Fixed up EstateManagementModule to the module standard - no more packets allowed!
...
*Started cleaning up the land module
2008-05-04 18:59:18 +00:00
Justin Clarke Casey
27a7391d6b
* Add ability to defer item actions for AddItem() and DeleteItem(). This won't be useful until we let the client cache (again?)
2008-05-03 23:33:20 +00:00
Justin Clarke Casey
56827894e9
* Refactor RemoveItem()
2008-05-03 23:23:46 +00:00
Justin Clarke Casey
688940e810
* Refactor: Renaming item and folder tree search methods to have Find*() prefixes
2008-05-03 22:39:33 +00:00
Adam Frisby
87b3137928
* Cleaned up code in Terrain, Tree and Map modules.
...
* Fixed a bug with Terragen loader where it would do bad things on a non 256x256 sized terrain. Now loads the array correctly.
* Moved MapImageModule.cs to Modules/World/WorldMap
* Changed Location.RegionHandle to use Helpers.GetUlong instead of doing it ourselves.
2008-05-03 20:00:35 +00:00
Justin Clarke Casey
1087542705
* Refactor: Move bulk of CreateFolder from UserProfileCacheService into CachedUserInfo
...
* Remove unused/superseded methods from GridInventoryService
2008-05-03 18:57:02 +00:00
Justin Clarke Casey
a5dfca8958
* Refactor: remove redundant userId parameter from UpdateItem() and DeleteItem()
...
* Put warning in remove folder method about non implementation (not that this is used anyway - may be legacy)
2008-05-03 18:13:32 +00:00
Justin Clarke Casey
f5609ba452
* Refactor: remove pointless agentId parameter from CachedUserInfo.AddItem()
...
* Remove old framework asset transactions files which were region modularized
2008-05-03 18:01:38 +00:00
mingchen
4a87d96c17
*Moved EstateManager into a region module
2008-05-03 17:11:21 +00:00
Teravus Ovares
e8acb49fef
* For your fragging desire, damage enabled land works, but watch out!, life does not regenerate until you're dead!
2008-05-03 15:39:40 +00:00
Teravus Ovares
07167c9a3f
* Committing some collision stuffs that I'm working on.
...
* Nothing user facing yet.
2008-05-03 04:33:17 +00:00
Charles Krinke
18362b25bf
Thank you kindly, Melanie for a patch to solve
...
llParticleSystem and osDynamicTexture issues.
2008-05-02 23:23:39 +00:00
Sean Dague
1edb7992f1
fixed the dos line endings
2008-05-02 19:21:33 +00:00
Sean Dague
1b7f1c956c
plumb in connection string to the user database paths. mysql and mssql
...
just ignore this for now, but it lets us get connect strings to sqlite
and nhibernate.
2008-05-02 18:59:12 +00:00
Adam Frisby
776b4cedf6
* Small fixes to Scene.cs
2008-05-02 18:36:41 +00:00
Adam Frisby
67bbfadc06
* More refactorings of UDPServer.
...
* Removed all references where possible.
* Renamed lots of variables from UDPServerXYZ to clientServerXYZ
2008-05-02 18:26:19 +00:00
Adam Frisby
4dc75e4b76
* More clientstack abstractions - We now only have a single constructor call to UDPServer. Going to reduce this with an abstracted constructor in a bit.
2008-05-02 18:18:43 +00:00
Adam Frisby
29b8c84cea
* Commit 2/3 - Please dont attempt to update to this revision until all 3 are in.
2008-05-02 16:41:08 +00:00
Justin Clarke Casey
8cf2630dc9
From: Kurt Taylor <krtaylor@us.ibm.com>
...
Adds "not implemented" stubs for llSetVehicleFloatParam() and llSetLinkTexture()
Some cleanup of LSO script enums
2008-05-02 15:29:09 +00:00
Jeff Ames
b1aacfe0d4
Minor formatting and documentation cleanup.
2008-05-02 03:40:38 +00:00
Teravus Ovares
412ca26565
* DuplicateOnRay with copy center works in two directions... Still fighting with it.
...
* DuplicateOnRay without copy center works in all directions.
2008-05-02 02:31:22 +00:00
Sean Dague
7cace57ecc
revert changeset 4469 as this breaks the script engine.
2008-05-01 21:53:14 +00:00
Justin Clarke Casey
f16c997a74
* Minor: Normalise prim inventory log headers
2008-05-01 21:53:02 +00:00
Justin Clarke Casey
a81edef2b9
* Refactor: Remove redundant userID from further up the inventory request chain
2008-05-01 21:22:03 +00:00
Justin Clarke Casey
1de6cffa28
* Refactor: Remove the unused userID parameter that was being passed into almost every inventory method
...
* This allows lots of redundant inventory methods with only slightly different names to be eliminated.
2008-05-01 20:47:33 +00:00
Sean Dague
b5be9da727
removed last db4o ref
2008-05-01 20:36:16 +00:00
Justin Clarke Casey
d21b3ea9c7
From: Kurt Taylor <krtaylor@us.ibm.com>
...
MInor patch - more script function cleanup and comments
2008-05-01 19:22:17 +00:00
Adam Frisby
bcab39831e
* Applied Mantis#1106 - fix missing cast from LSLInteger to uint, make int cast more generic (Thanks Melanie!)
2008-05-01 18:55:36 +00:00
Adam Frisby
76d8eaa406
* Thanks to Mic Bowman for inspiring me to look at that we are still using ASCIIEncoder in places we shouldn't.
2008-05-01 18:50:44 +00:00
Sean Dague
70f7672dad
added in IUserService functions. These don't do anything yet,
...
but the set all compiles together fine, and it provides people
an idea of where we are heading.
2008-05-01 18:36:43 +00:00
Adam Frisby
20a9bf08f5
* Rolled back a few changes.
2008-05-01 18:04:42 +00:00
Teravus Ovares
c803e0cca1
* Deletes my EventReader ScriptRewriter. It isn't required to rewrite the script to publish the events anymore.
...
* Introduces a language(regex) independent event recognizer and publishes the events the script listens.
2008-05-01 16:39:02 +00:00
Adam Frisby
13526097f2
* Spring cleaning on Region.Environment.
...
* Converted a large number of read-only fields to be actually, readonly.
* Reformatted code sections.
* Removed redundant code.
2008-05-01 16:35:00 +00:00