Charles Krinke
e4ef774875
Mantis#1831.Thank you kindly, Francis for a patch that addresses:
...
Not all combinations of list order equally likely with llListRandomize()
2008-07-27 16:21:51 +00:00
lbsa71
f417a03414
Mantis#1817. Thank you kindly, sacha magne, for a patch that:
...
* Fixes a simulator crash when an asset file is missing on loading asset library.
2008-07-27 13:59:07 +00:00
lbsa71
1784918034
* Added safeguard to ensure valid inventoryserver uri.
2008-07-27 13:34:34 +00:00
Mike Mazur
e17520621c
Log to console if C# line/column lookup fails.
2008-07-27 10:41:44 +00:00
Mike Mazur
11a3fbf4aa
Conversion from double to LSLInteger needs to be explicit. Fix issue 1826.
2008-07-27 07:09:33 +00:00
Mike Mazur
6267db0c4c
Implement LSLFloat {+,-,*,/} LSLFloat operations. Fix issues 1532, 1701, 1824 &
...
1832.
2008-07-27 05:42:47 +00:00
lbsa71
8e869b2fff
* Changed a number of field names to ccc (public members shouldn't be called m_)
2008-07-26 21:22:15 +00:00
Dahlia Trimble
c12d4d21e3
Modified ResetChildPrimPhysicsPositions() to allow archiving and physics to coexist peacefully (as per justincc's recommendations)
2008-07-26 19:51:17 +00:00
Melanie Thielker
2a1bc318b0
The hazards if unclean sourc trees. Yours truly got bitten this time.
...
Re-fix the re-fix from a clean build. This makes the region based
settings work as advertised
2008-07-26 18:54:59 +00:00
Melanie Thielker
3b1efa4348
Re-Fix the fix
2008-07-26 18:46:04 +00:00
Melanie Thielker
1321bd25b8
Fix Mantis #1830
...
Makes region settings save on second and subsequent sim restarts
after upgrading.
2008-07-26 18:03:50 +00:00
Dahlia Trimble
287674296e
reinstated ResetChildPrimPhysicsPositions() as some prims had bad/missing proxies without it
2008-07-26 01:58:13 +00:00
Dahlia Trimble
c512120389
Attempt to update viewer for some physics status changes in SOP
2008-07-25 20:45:06 +00:00
Dahlia Trimble
3035f5cb64
Re-enables testing for config option mesh_sculpted_prim which was inadvertently disabled in a prior modification (oops) :)
2008-07-25 20:29:37 +00:00
Justin Clarke Casey
0d488ad489
* minor: just realized I managed to get the save xml/xml2 messages the wrong way around
2008-07-25 18:08:45 +00:00
MW
a7db55717b
enabled a config option to inventory server to be able to stop it doing the SessionId lookup to the user server. As this ties a inventory server to one userserver/grid.
...
doing the look up is still enabled by default.
2008-07-25 17:59:34 +00:00
Justin Clarke Casey
d954f46a0a
* Stop the HasGroupChanged flag being reverted for newly restored prims which need to be persisted to the db
...
* This should stop the problem where linked prims loaded via an archive did not survive server restart
* It may address mantis 1819 though the symptoms don't look consistent
2008-07-25 17:48:58 +00:00
Dr Scofield
c724e38433
oops. forgot to add addin.xml for GridInfoPlugin. also, slight
...
reordering of plugin initialisation to ensure that it will return base
information about grid, even if [GridInfo] config section is not
there.
2008-07-25 17:06:26 +00:00
Dr Scofield
b5f23b4c9c
first cut at a GridInfo plugin (mantis #1825 ). Currently just spits
...
out everything in the [GridInfo] section :-D Also, not yet LLSD but
XmlRpc, LLSD via GET will follow. OpenSim.ini.example contains sample
values and explanation. Oh, and default values provided are
platform: OpenSim
mode: standalone | grid
have fun.
2008-07-25 16:56:46 +00:00
Justin Clarke Casey
fd4e703f25
* Remove dumb bug I put in which meant that an archive save would never complete if there were any missing assets
2008-07-25 15:18:24 +00:00
Dr Scofield
f2bc404e70
squasing warning.
2008-07-25 12:59:41 +00:00
Dr Scofield
81cb72b5ad
squashing warning.
2008-07-25 12:59:18 +00:00
Dr Scofield
f7e636570f
adding copyright statement.
2008-07-25 11:31:33 +00:00
Dr Scofield
031e140761
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The LL Server sets the CreateSelected flag for a prim when sending a
property update when objects are linked. The following patch
gets OpenSim to do the same.
2008-07-25 10:13:26 +00:00
Dr Scofield
2d727ebc63
completing rename of ChatFromViewerArgs to OSChatMessage
2008-07-25 10:09:02 +00:00
Dr Scofield
24e15088ea
renaming the increasingly ill-named ChatFromViewerArgs to OSChatMessage
2008-07-25 10:05:50 +00:00
Dr Scofield
50bc51b642
From: awebb
...
test code for REST handlers.
2008-07-25 10:02:21 +00:00
Dr Scofield
7025a8040e
From: awebb
...
Further improvements to the REST handlers.
2008-07-25 09:56:35 +00:00
Mike Mazur
19ad7db5e1
Add casts from integer to float. Fix issue 1822.
2008-07-25 07:50:31 +00:00
Mike Mazur
84cc69573b
Thanks, lulurun, for a patch that adds an authenticated session cache to reduce
...
"check_auth_session" requests from inventory server to user server.
2008-07-25 07:16:27 +00:00
Melanie Thielker
5998fb712a
Patch #9155 (Mantis #1793 )
...
Fix a regression that caused the region settings not to save.
Still no SQLite support for region settings. MySQL now functional.
2008-07-25 06:17:43 +00:00
Teravus Ovares
1e7c9e4810
* Fix the ODEPlugin unit test
2008-07-25 05:23:10 +00:00
Mike Mazur
e60cf0e67d
-add test for newly introduced cast operators (issue 1818)
...
-fix formatting
-remove CompilerTest test since it seems to fail randomly
2008-07-25 04:47:11 +00:00
Melanie Thielker
ac9a221993
Add mingchen's fix for string->float cast to Shared/
2008-07-25 03:47:55 +00:00
Melanie Thielker
06e0e513cf
Add GetGroupPowers() and a dictionary to hold them to ClientView and
...
IClientAPI. No user functionality
2008-07-25 03:45:17 +00:00
mingchen
6554c7bac5
*Fixes #0001818 : typecast string to float
2008-07-25 03:39:38 +00:00
mingchen
f2742fb604
*Added CommandIntentions that is used to describe a console commands hazard. HAZARDOUS if it modifies the simulator, NON_HAZARDOUS if it does a command that doesn't modify the simulator but does a background command such as a forced backup, and STATISTICAL if it returns debug or more information.
...
*This is useful for implementing a protection system from unwanted script execution or for application modules needing to know what a command does.
2008-07-25 02:30:07 +00:00
Dahlia Trimble
c1e239dedc
llApplyImpulse now accepts any non-zero integer as not FALSE
2008-07-25 02:06:40 +00:00
Dahlia Trimble
c67198299e
Changed application of constant forces to after PID force is applied. llSetForce() should behave identical to the Linden implementation now.
2008-07-24 21:05:30 +00:00
Justin Clarke Casey
cdd3537706
* refactor: Remove now redundant inventory server url being passed to GetInventorySkeleton
2008-07-24 17:19:33 +00:00
Justin Clarke Casey
918c0a4826
* refactor: move remaining user service -> inventory service OGS1 calls into the specific inter service class
2008-07-24 17:10:07 +00:00
Justin Clarke Casey
11385c53e6
* minor: eliminate warnings from LindenUDP
2008-07-24 16:03:17 +00:00
Justin Clarke Casey
77297ed6cc
* Separate out OGS1 calls used between services (rather than from region to services) into a separate assembly to parallel OpenSim.Region.Communications.OGS1
2008-07-24 15:56:50 +00:00
Melanie Thielker
740a9a7374
Thank you, Neopallium, for a patch that addresses ack issues in the
...
client stack. Committed with changes, see Mantis #1810 for details.
2008-07-24 15:52:36 +00:00
Justin Clarke Casey
e5e1666c84
* Fix spelling mistake in OGS1SecureInvenotryService
2008-07-24 15:27:21 +00:00
Justin Clarke Casey
29e8fcd13c
* minor: Rename IInterGridInventoryServices since it's inter service rather than inter grid
2008-07-24 15:20:57 +00:00
Jeff Ames
a4ad6a67b7
Update svn properties. Minor formatting cleanup.
2008-07-24 15:20:47 +00:00
Dr Scofield
1d7e29cc2c
oops...forgot to svn add OSHttpHttpHandler.cs last week.
...
NOTE: this code is work-in-progress, it's not live. it's so far
harmless and just wants to play. it should not bite anyone (yeah,
that's what they all say, i know...)
2008-07-24 14:35:04 +00:00
Dr Scofield
e9144b1a3a
From: Christopher Yeoh <cyeoh@au1.ibm.com>
...
The problem I noticed is that when child prims are selected unlike
the Linden server, OpenSim does not return property information - it
only searches the root prims for matches.
What I'm not sure about is whether the parcel prim count taint should
be set or if the root prim should be set as selected (doesn't
seem possible to set the child prim as selected). It does
however fix the problem of the property information
not being sent, so its an improvement (I think!).
2008-07-24 14:18:07 +00:00
Dahlia Trimble
f74a9bcdc7
Implements llSetForce() and llGetForce(). These are experimental and the units may not match the Linden implementation.
2008-07-24 07:45:58 +00:00
Mike Mazur
d58346e798
Refactor some tests.
2008-07-24 07:23:36 +00:00
Mike Mazur
bb777a9c3c
Replace the try/catch with a null check.
2008-07-24 05:23:42 +00:00
Mike Mazur
117cc09edc
Replace implicit casts from LSLFloat to int and uint which were removed in
...
r5487.
Also put the unit tests back for Bamboo to execute them, let's see how this
goes.
2008-07-24 05:23:38 +00:00
Melanie Thielker
cc5d49d9c1
Addresses Mantis #1810
...
Collapses two locks into one to avoid a situation were a List is
cloned under two different locks, resulting in a bad index in
.NET code.
2008-07-24 01:38:58 +00:00
Mike Mazur
635b715880
Thanks, cmickeyb, for a patch that addresses secure inventory assuming IP addresses in configuration. Fix issue 1812.
2008-07-24 00:32:06 +00:00
Justin Clarke Casey
9af05d0bc3
* refactor: break out inter grid inventory services further
...
* more to follow
2008-07-23 22:18:09 +00:00
Sean Dague
1c9551eaae
few additional fixed to get prim inventory up on nhibernate
2008-07-23 22:14:37 +00:00
Sean Dague
c38b811f5d
catch a null case in the convenience RegionID property
2008-07-23 22:14:35 +00:00
Sean Dague
30a77b5b9f
implemented prim inventories for nhibernate
2008-07-23 22:14:34 +00:00
Sean Dague
47ad705675
fix column mapping
2008-07-23 22:14:32 +00:00
Sean Dague
6720f4c289
complete the prim inventory mapping
2008-07-23 22:14:31 +00:00
Sean Dague
cf317f5c33
refactor TaskInventoryItem Mask -> Permissions to be consistant with how things
...
are stored in the db.
2008-07-23 22:14:29 +00:00
Sean Dague
3c227390c0
add primitems migration for nhibernate
2008-07-23 22:14:23 +00:00
Justin Clarke Casey
4452ed60f8
* refactor: split out inventory services which are only used between non-region services
...
* more to follow
2008-07-23 21:40:06 +00:00
Sean Dague
aad92e1368
turn fields -> properties in TaskInventoryItem
2008-07-23 19:28:18 +00:00
Melanie Thielker
db06e628de
Attempt to fix Mantis #1804
...
Fetches the correct link part to chenge.
Please provide feedback, since I was not able to test all variants of this huge function.
2008-07-23 18:37:43 +00:00
Melanie Thielker
f079af87dc
Fix Mantis #1759
...
Corrects reported agent positions.
2008-07-23 18:08:16 +00:00
Sean Dague
df361be35f
make privates private
2008-07-23 15:58:44 +00:00
Sean Dague
090159defc
refactored LandData to use properties, and cleaned up the naming on
...
the properties a bit to be more consistant with other objects (having things
like .Name .Description, etc).
2008-07-23 15:50:32 +00:00
MW
ecd296ad67
Send Animation data for other avatars to new users joining the region (tested on new logins, but need to test that it is triggered on teleports).
...
This should fix the sitting avatars appearing in a T pose to new users. And possible other animation problems.
2008-07-23 14:26:30 +00:00
Melanie Thielker
76d8cceb92
Fix a race causing a buffer overflow under moderate load
2008-07-23 14:26:08 +00:00
Jeff Ames
80d8e2889e
Update svn properties. Formatting cleanup. Remove a compiler warning.
2008-07-23 13:24:25 +00:00
Sean Dague
9e8b456bbc
get rid of some LLQuaternion == null checks. Because LLQuaternion is
...
a struct and not a class, it can't be null. So these checks were just
generating compiler warnings on unreachable code.
2008-07-23 12:39:16 +00:00
MW
9b51bb545e
Changed it so the avatar's rotation is now sent as part of a full avatar update.
...
This should fix the wrong rotation on existing sitting avatar when logging in bug.
2008-07-23 11:07:59 +00:00
Johan Berntsson
ce4bcb5065
The new secure inventory server mode (in r5590) can now be disabled from OpenSim.ini. Default is to use the new mode.
2008-07-23 09:46:04 +00:00
Mike Mazur
003487631d
Fix issue 1760. If the inventory item is not found, llSay() and throw an exception.
2008-07-23 08:03:32 +00:00
Johan Berntsson
3b35332957
adding files that were not included in r5589
2008-07-23 07:27:11 +00:00
Johan Berntsson
344c9caeb6
thanks lulurun for a security patch that blocks unathorized access to the inventory server (see http://opensimulator.org/wiki/Security_vulnerability_brought_by_non-check_inventory_service )
2008-07-23 06:59:02 +00:00
Mike Mazur
f9e2f41d7c
Enable LSL <-> C# source location mapping when reporing compiler errors to the user in-world. This method is not yet perfect but is an improvement in accuracy over the existing method.
2008-07-23 06:53:38 +00:00
Mike Mazur
6256078876
Thanks, sempuki, for a patch that adds .addin.xml for MSSQL and SQLite users.
2008-07-23 05:53:54 +00:00
Mike Mazur
a0930aa80d
Thanks, sempuki, for a patch that moves control of Mono.Addins from source attributes to external XML files. Fix issues 1682 and 1786.
2008-07-23 03:08:31 +00:00
Mike Mazur
ba17b0df27
First version of position mapping between LSL <-> C# implemented.
2008-07-23 02:51:45 +00:00
Melanie Thielker
e1c6563174
Guard against wrong packet types being passed into AddNewClient.
...
Actually, the exception handler seems to be a valid execution
path here, this needs some love.
2008-07-23 01:16:01 +00:00
Melanie Thielker
e09ff343fb
Make QueuePacket() lock free. Eliminates an unneeded lock()
2008-07-22 22:49:13 +00:00
Melanie Thielker
7fb103d374
Change one packet optimization to cover a case where the resend
...
queue may block indefinitely when a single packet is not acked
by the viewer and no others cwfromfor that region are pending.
2008-07-22 22:21:20 +00:00
MW
b942d18379
renamed ScenePresence.SendFullUpdateToAllClients() to SendInitialFullUpdateToAllClients(), and added a replacement SendFullUpdateToAllClients() method. As the old one (now "Initial") has extra steps in it for sending initial updates/date, Not only was this leading to a lot more data being sent than needed to be, every time it was called. It also seems to have been causing the "other Avatars rotating when you sit down" bug.
2008-07-22 19:56:30 +00:00
Melanie Thielker
f112cebde2
Refactor the packet scheduling out of ClientView. Add intelligent
...
resending, timeouts, packet discarding. Add notification event for
packet discarding. Add priority scheduling for packet queues.
Add outgoing duplicate detection facility. Correct packet sequencing.
Make provisions for automatic server side throttle adjustments (comes
in next installment)
2008-07-22 17:58:42 +00:00
Justin Clarke Casey
b2b5675bd4
* refactor: move new inventory service call by user server to OGS1 with all the other service calls
...
* will post to mailing list about moving this shortly
2008-07-22 17:43:09 +00:00
Justin Clarke Casey
a1d481d0f6
* minor: Make create user command appear on the region console only if the region is running standalone
2008-07-22 16:21:16 +00:00
Jeff Ames
186f83692c
Update svn properties. Squash a couple of warnings.
2008-07-22 15:01:04 +00:00
Dahlia Trimble
492b25362c
Clean up Meshmerizer.cs a bit to make it more readable
2008-07-21 23:08:23 +00:00
Justin Clarke Casey
714e1f6786
* Give new uuids to all the objects loaded in from an archive.
...
* This should allow multiple copies of an archive to be loaded into different regions on the same region server
* This shouldn't affect existing operations.
2008-07-21 21:10:15 +00:00
Charles Krinke
1ef7a05b3e
Mantis#1544. Thank you kindly, Jonc, for a patch that:
...
Terrain revert using the PaintBrushes appears to work OK,
however when using 'apply to selection' the RevertArea
FloodEffect calculates the revert height incorrectly
unless the strength passed in from the viewer is 1.0
Attaching a patch to correctly reset the selected area
to the heights in the revertmap.
2008-07-21 19:29:55 +00:00
Justin Clarke Casey
d9db56d86b
* minor: stick filename being loaded/saved from in save/load xml/oar information messages
2008-07-21 17:52:53 +00:00
Justin Clarke Casey
8948ecbd8b
* minor: Make it clearer the region on which save and load xml/oar commands are operating
2008-07-21 17:42:13 +00:00
Justin Clarke Casey
b798a9b7a0
* minor: add wiki link to archiving function invocation
2008-07-21 17:33:03 +00:00
Justin Clarke Casey
5bceab785f
* Minor: correct change-region typo
2008-07-21 17:23:32 +00:00
Justin Clarke Casey
a13a4c6144
* minor: change misleading 'all assets found' message to instead tell how many were actually located
2008-07-21 17:13:32 +00:00
MW
6784cebf57
added support so that the packet tracker can resend packets itself as well as triggering a event. Next step to change the terrain packet resending to use these feature.
2008-07-21 16:21:59 +00:00
MW
fb096dfbd5
added experimental packet tracker (LLPacketTracker.cs), which can be told to track a packet and if it hasn't been acked within a set time, trigger a IClientAPI event, that the application/scene can handle. Currently only terrain packet tracking is finished, Tracking for initial Prim packets (first full update for a prim) is being worked on. Future improvements would be to make it a more generic packet tracker with callback delegates instead of events.
...
Add a test event handler (which would fire after a minute if a terrain packet hadn't been acked) to scene to handle the OnUnackedTerrain event, which currently just resends the terrain patch.
The idea of this packet tracking is for the region level application to be able to know if the client stack gave up on sending a packet.
2008-07-21 15:13:34 +00:00
Charles Krinke
cda3206633
Mantis#1801. Thank you kindly, Junta_Kohime for a patch that:
...
I found a problem trying to get s value directly from a quaternion q.
Compiling a script which directly access to q.s value, caused the
following error:
CS0103: 'The . symbol cannot be used in LSL except in float values
or vector components'. Detected around: q.s
I did a small change to allow alphabetic letter "s" to be interpretated
as valid identifier. This solves the problem.
2008-07-21 13:44:56 +00:00
Charles Krinke
a432a07005
Mantis#1798. Thank you kindly, StrawberryFride for a patch that:
...
Fixes a couple of places where null reference exceptions were
being caught and ignored rather than null checks being performed.
2008-07-21 13:40:08 +00:00
lbsa71
9dbb6f28bc
* eliminated some warnings and added some const and readonlies
...
* refactored some member names for readability and ccc (code convention conformance)
* took away two refs from Rest.Inventory since
* System.IO is part of System
* System.Xml.Serialization is part of System.Xml
2008-07-21 10:02:55 +00:00
Dahlia Trimble
ce90e2ecce
some optimizations in quaternion normalization in llRot2Fwd, llRot2Left, and llRot2Up. llAxes2Rot now uses these functions for sign error correction instead of vector*quat products.
2008-07-21 09:36:22 +00:00
Dahlia Trimble
08f3d212ce
does some verification of the quaternion returned by llAxes2Rot and modifies the sign of the s term if a discrepency is found. This helps llAxes2Rot more closely match the Linden implementation.
2008-07-21 05:34:31 +00:00
Charles Krinke
bedd28e02e
Mantis#1797. Thank you kindly, StrawberryFride for a patch that solves:
...
Shutdown command on region server was presenting an error, failing to
send detach region for all regions, and failing to shut down
2008-07-20 22:19:39 +00:00
Charles Krinke
681433c4b7
Mantis#1796. Thank you kindly, StrawberryFride for a patch that:
...
Agent table code (INSERT / UPDATE, etc) now added to MSSQL provider.
2008-07-20 22:16:50 +00:00
Melanie Thielker
8ae7dc628b
Make the max sizes of physical and nonphysical prims configurable in OpenSim.ini
...
Defaulted to 65536 and 10, respectively
2008-07-20 15:19:26 +00:00
Melanie Thielker
212ab8c6d9
Change SQLite argument marker from the more standard '@' to the ':' supported
...
but earlier versions of the SQLite dll
2008-07-19 21:01:10 +00:00
Charles Krinke
9ff9279a7c
Mantis#1785. Thank you kindly, Junta_Kohime for a patch that"
...
llAxes2Rot now implemented. Important note: quaternion <x,y,z,s>
is equal to <-x,-y,-z,-s>. The result may be different from LSL
output, but it is correct. A problem of rounding caused an error
of square rooting of zero as negative number, corrected by squaring
again. Function tested 360° along 3 axes. Vector fwd, left and up
have to be normalized.
2008-07-19 14:45:10 +00:00
Jeff Ames
19fd2230bf
Update svn properties. Fix some inconsistent newlines.
2008-07-19 09:35:48 +00:00
Melanie Thielker
351ee78d2a
Quick fix to make the estate ban list effective again, when the region
...
crossing is also a sim crossing. Prevents the CAPS handler from being set
up for a banned user,making them redmap out.
Dirty hack, temporary until I can work out how to do it right.
2008-07-19 06:20:57 +00:00
Melanie Thielker
bcf74416a1
Fix prim link numbers (Mantis #1781 )
...
Implements additional unlink modes (unlink root prim from link set, some
multi-set operations). Linking (single and mutiple) fully implemented.
Consistent numbering of links while in world. Link/delink with predictable
link numbering. Correct link numbers in LSL.
Not all multi-set ops implemented. Link numbers still change when taken and
re-rezzed.
2008-07-19 04:05:34 +00:00
Melanie Thielker
a73d87ef16
Introduce a separate connection string for estates, which defaults to the one gi
...
ven for the region datastore. Removes the flag to store prim inventories, which are now always stored.
2008-07-18 20:50:47 +00:00
Melanie Thielker
bbd076544d
Patch to fix saving of estate managers list loaded during migration.
...
No longer teleports an agent home unless their root agent is being banned.
Visual blocking is still in effect.
2008-07-18 19:32:05 +00:00
Dr Scofield
6a7d544497
pulling query handling through the handlers. adding (non-functional,
...
work-in-progress) HttpHandler.
NOTE: non-active code. does not glow in the dark. non-combustible.
2008-07-18 19:28:52 +00:00
Charles Krinke
c0e389cfff
Mantis#1778. Thank you kindly, Junta_Kohime for a patch that:
...
llRot2Left and llRot2Up functions modified, using fast algebric
calculations instead of vectors and quaternions products.
The accuracy is the same. Normalization is now implemented.
2008-07-18 19:09:51 +00:00
Melanie Thielker
76840906b5
Patch adds bool IsManager(LLUUID) to IEstateModule.
...
Returns true whenever the LLUUID references a user who is either an EM or
the region owner.
Please note that ownership is region-scoped, while EM is estate-scoped.
2008-07-18 18:08:34 +00:00
Dr Scofield
449c09234d
fixing copy & paste artefact.
2008-07-18 15:36:38 +00:00
Sean Dague
611b56070b
add some locks back into the sqlite asset path, as something changed
...
that is causing a lot of out of order execution on asset fetches on
multi region sims.
2008-07-18 15:34:32 +00:00
Dr Scofield
0ea73384d4
simplifying OSHTtpHandler (a bit), adding query string matching,
...
adapting OSHttpXmlRpcHandler accordingly.
NOTE: this code is not live.
2008-07-18 15:31:28 +00:00
Sean Dague
df1485fc51
remove all the odd quoting, on the off chance this was causing some
...
of the issue.
2008-07-18 15:19:52 +00:00
Sean Dague
d9ba7c8339
put the entire thing inside a transaction. This probably doesn't
...
help much, but it might.
2008-07-18 15:13:19 +00:00
Sean Dague
e2a3be254f
fix typo in create index that caused the entire migration to fail.
...
put some drop table if exist clauses in here to hopefully let this
migration work for people that are in an intermediary broken state
right now.
2008-07-18 15:10:20 +00:00
Sean Dague
aec5f0ceed
found a better pattern for SaveOrUpdate with nhibernate
...
cleaned up the asset path a bit
2008-07-18 15:06:24 +00:00
Justin Clarke Casey
f8721c3c1c
* refactor: break out sog loading code into two parts so that post-deserialization changes can be carried out before adding it to a scene
2008-07-18 14:42:06 +00:00
Dr Scofield
a6e2589537
force Culture to en-US in BaseHttpserver.HandleRequest() --- this
...
fixes mantis #1748 and #1771 .
2008-07-18 14:40:07 +00:00
Sean Dague
d44dcdf97b
remove NHPrim, this turned out to be a bad idea
2008-07-18 13:44:16 +00:00
Justin Clarke Casey
03bd6c91a9
* Fix http://opensimulator.org/mantis/view.php?id=1761
...
* Now llGetLinkNumber() returns 0 if the prim is not linked, instead of 1
2008-07-18 11:51:27 +00:00
Dr Scofield
0171e76246
squashing further warnings.
2008-07-18 10:57:18 +00:00
Dr Scofield
3fb0a08619
fixing warnings in EstateSettings and correcting coding style:
...
* warning was:
OpenSim/Framework/EstateSettings.cs(277): warning CS0472: The result of comparing `libsecondlife.LLUUID' against null is always `false'. This operation is undocumented and it is temporary supported for compatibility reasons only
* coding style: space before flow control statements please! http://blogs.msdn.com/brada/articles/361363.aspx
2008-07-18 10:33:10 +00:00
Dahlia Trimble
473059905f
Commented out a readline that was preventing the sim from shutting down in some cases
2008-07-18 08:22:05 +00:00
Mike Mazur
8b613e677f
Implement cast to LSL_Types.LSLInteger from double. Fix issue 1770.
2008-07-18 07:52:44 +00:00
Mike Mazur
e0e0db3660
Thanks, sempuki, for a patch that moves all grid plugins to new PluginLoader (issue 1763).
2008-07-18 04:51:41 +00:00
Dahlia Trimble
230a7ecaec
masks MySQL password from console startup messages
2008-07-18 03:23:40 +00:00
Melanie Thielker
263633e274
Patch #9151
...
Makes the estate dialog fully functional. Implements all client facing functionality. Moves estate data from estate_settings.xml, which is used to provide defaults, to the region data store. Creates one estate for each region, and places the region in it. Converts all region bans to estate bans.
2008-07-18 02:40:47 +00:00
Dahlia Trimble
f87d2d8a92
added region port number to output of "show regions" command
2008-07-18 02:08:14 +00:00
Mike Mazur
0b92ff4fde
Treat LSL_Types as special cases in llList2Integer and llList2Float. This could be implemented many other places, but let's do that on a case-by-case basis.
2008-07-18 02:05:20 +00:00
Charles Krinke
bc24c0e5d7
Mantis#1768. Thank you kindly, Junta_Kohime for a patch that:
...
llRot2Fwd function modified, using fast algebric calculations
instead of vectors and quaternions products. The accuracy is
the same. Normalization is now implemented.
2008-07-18 01:20:06 +00:00
Dahlia Trimble
49adb6e09f
refactor - commenting out needsMeshing() and all references as createMesh() has the same logic and obsoletes the need for it.
2008-07-18 00:03:28 +00:00
Sean Dague
f54828c957
fix build break
2008-07-17 21:07:39 +00:00
Sean Dague
18a5cfd10f
terrain is close to working, but I still end up at the bottom of the sea
...
right now.
2008-07-17 20:58:24 +00:00
Sean Dague
50eab18590
need to synchronize the terrain updates
2008-07-17 20:58:23 +00:00
Sean Dague
4663999c24
first pass at Terrain implementation
2008-07-17 20:58:20 +00:00
Sean Dague
366e09b543
add a Terrain object for the purpose of mapping. This may make sense
...
to stick up in framework later, but for now we'll just keep it close
to the data.
2008-07-17 19:58:47 +00:00
Sean Dague
8f2154916b
if no texture, make it plywood
2008-07-17 19:58:45 +00:00
Sean Dague
a580d7ee35
add plywood texture as a constant, as we need it in a couple of places
...
and it's super cryptic to have random UUIDs hanging out.
2008-07-17 19:58:41 +00:00
Charles Krinke
26fd0595d7
Mantis#1598. Thank you kindly, Matth for a patch that addresses:
...
The previous implementation of llEuler2Rot was not mathematically
incorrect, but it was an awkward way of posing the problem that
led to a few degenerate cases which were not handled correctly -
for example, PI rotations around X and Z axes were wrong. I put
some comments in the source about how I arrived at the current
implementation, which I think is easier to read, and gives
results that match SL.
2008-07-17 19:11:56 +00:00
Sean Dague
6084a7ea3e
Revert "git merge"
...
This reverts commit 80e1c3742a3ba7eb9aa1686a242b36f64331095a.
2008-07-17 18:59:10 +00:00
Sean Dague
dd144e12ba
git merge
2008-07-17 18:59:06 +00:00
Sean Dague
1c0f27b013
finish NHibernate mapping for prims, and it even seems to work
2008-07-17 18:59:04 +00:00
Sean Dague
43df32c52c
fix the null case for deep copy
2008-07-17 18:59:02 +00:00
Sean Dague
0a01be9a86
more safety checks
2008-07-17 18:59:01 +00:00
Sean Dague
db9e6584bf
add a null check for safety
2008-07-17 18:58:58 +00:00
Sean Dague
d5e0a3a184
got basic region object saves working time for lunch
2008-07-17 18:58:47 +00:00
Sean Dague
9aa0302e5b
early remove calls
2008-07-17 18:53:38 +00:00
Dr Scofield
6ca23c1123
rearranging variables in OSHttpRequest and adding Query property.
2008-07-17 16:51:23 +00:00
Charles Krinke
e8412dcd42
Mantis#1736. Thank you kindly, StrawberryFride for a patch that:
...
Many issues with handling connections in MSSQL, have rearchitected to
ensure that connections are always opened and closed in a timely fashion
& disposed of cleanly, and removed unnecessary lock statements. SQL
Server performance seems to have improved considerably as a result,
and various timeout errors seem to have been fixed.
2008-07-17 13:43:31 +00:00
Dr Scofield
ed4241583f
morphing OSHttpHandler interface into an abstract base class. adding
...
HTTP method matching support. adapting OSHttpXmlRpcHandler
accordingly. dropping OSHttpXmlProcessor delegate in favour of good
old XmlRpcMethodHandler delegate (was the same signature).
2008-07-17 12:54:15 +00:00
Sean Dague
2a30e85c97
added index to ParentID on prims, as this is sorted on for prim loading.
...
This should speed up initial load of prims, especially on primy regions.
2008-07-16 22:16:46 +00:00
Sean Dague
40ab5f2085
clean up mappings for parent id
2008-07-16 21:28:01 +00:00
Sean Dague
6adac3bd5a
getting close on saving prims via nhibernate
2008-07-16 21:27:59 +00:00
Sean Dague
44d0b7c724
make ParentUUID be a cached value, but allow setting it for
...
short term storage (needed to rebuild SOGs)
2008-07-16 21:27:57 +00:00
Sean Dague
d3190236cc
fix RegionStore creation so that the .sql file works
2008-07-16 21:27:55 +00:00
Sean Dague
194ffb4d88
made SOP have a blank setter for 2 convenience properties.
...
Got RegionStore mapping to the point that nhibernate would start, though
definitely not complete
2008-07-16 21:27:52 +00:00
Sean Dague
58a0d0bb32
be a little more discriminating on firing ShapeChanged script events
...
so that we don't get them on every object construction.
2008-07-16 18:29:03 +00:00
Sean Dague
d9523b4e1a
change fields to private so everyone will use properties
2008-07-16 15:18:13 +00:00
Sean Dague
f3173735fa
Revert "refactoring of PrimitiveBaseShape to properties"
...
This reverts commit 60e13a9997da89d224fbe8a97ab42bfc6114a45f.
2008-07-16 15:10:35 +00:00
Sean Dague
1e447478b8
refactoring of PrimitiveBaseShape to properties
2008-07-16 14:41:57 +00:00
Sean Dague
e2d02cbf65
further property refactoring of PrimitiveBaseShape
2008-07-16 14:41:53 +00:00
Sean Dague
c6b1a190bc
refactoring primitive base shape to use properties
2008-07-16 14:41:49 +00:00
Sean Dague
309e479ac4
work in progress on nhibernate
2008-07-16 14:40:19 +00:00
Charles Krinke
0106f96716
Mantis#1755. Thank you kindly, Matth for a patch that solves:
...
When using math operators +,-,*,/ in an LSL script with an LSLFloat
and an integer literal the wrong result is returned. This patch
adds operators to the LSLFloat type to handle this case.
2008-07-16 14:30:22 +00:00
Dr Scofield
1e39bfb036
squashing warnings critters
2008-07-16 09:42:14 +00:00
Charles Krinke
4350613f1d
Mantis#1746. Thank you kindly, nlin for pointing out that
...
I needed to apply the patch a little better then last night
for: Dot product operator in LSL_Types.cs incorrectly returns
a component-wise vector multiplication; it should return a
scalar dot product. Thanks to M. Igarashi for the patch.
2008-07-16 03:07:54 +00:00
Mike Mazur
18aa58c63b
Fix issue 1582. The maximum allowable length for a string passed to SimChat is 1500. If it was longer than 1500, it was being truncated to 1501 characters. This caused an exception and prevented the errors from reaching the console and the user in-world.
2008-07-16 01:19:32 +00:00
Charles Krinke
620f7926f3
Mantis#1753. Thank you kindly, Kinoc for a patch that:
...
Brings Yield Prolog up to date with sourceforge version 0.9.10
Patched applies to both DotNet and XEngine.
2008-07-16 01:00:40 +00:00
Sean Dague
2f46ab5096
add migration for SceneGroupID to char(36) plus add an index. This
...
should actually speed up deletes substantially, especially for large
regions, as this was a table scan before.
2008-07-15 20:06:58 +00:00
Sean Dague
b5efb49d74
added new ParentUUID property to map out from SOP.
...
Updated some nhibernate parts, started in on migration.
2008-07-15 18:57:18 +00:00
Justin Clarke Casey
d75cacb050
* Expose client statistics to the console via 'show stats'
...
* Potentially useful for diagnostics without needing to log in a client
* Packet queue statistics commented out for now pending a better way to cope with the information overload
2008-07-15 18:07:23 +00:00
Dr Scofield
00c15eb0c4
cleanup: fixing CamelCase issue with RestDeserialiseHandler.
2008-07-15 13:33:31 +00:00
Dr Scofield
8b933e53c0
fixes handler scoring method. XmlRpc code path now fully working with
...
HttpServer. :-)
2008-07-15 13:06:30 +00:00
Dr Scofield
788c3c497b
removes a Console.WriteLine(...) remnant.
2008-07-15 13:02:10 +00:00
Dr Scofield
5d0b6343a0
killing a lonesome warning that managed to creep in...
2008-07-15 12:02:49 +00:00
Dr Scofield
b77bcb6660
fixes a couple of issues i introduced yesterday, one of them MapBlock queries crashing.
2008-07-15 11:46:13 +00:00
Charles Krinke
4848dcf0e3
I had to revert the Mantis#1746 patch as although the local build
...
with Windows compiled, the automated build failed.
2008-07-15 03:17:45 +00:00
Charles Krinke
ff16a886c1
Mantis#1746. Thank you kindly, nlin & M.Igarashi for a patch that:
...
Dot product operator in LSL_Types.cs incorrectly returns a
component-wise vector multiplication; it should return a scalar
dot product. Thanks to M. Igarashi for the patch.
2008-07-15 03:06:38 +00:00
Charles Krinke
8fcd9532ab
Mantis#1745. Thank you kindly, Lulurun for a patch that:
...
Fixes simulator webmap functionality.
2008-07-15 02:59:23 +00:00
Sean Dague
edbf997e29
added RegionID get property
2008-07-14 21:39:30 +00:00
Justin Clarke Casey
8e3f83b1c8
* Change load-oar/save-oar status to highly experimental.
...
* See http://opensimulator.org/wiki/OpenSim_Archives for more details.
* These commands can now be used on an experimental basis. save-oar saves the entire current region (prim data, assets, prim inventory items, terrain) to a single tar.gz file.
* load-oar loads an opensim archive and entirely replaces the current region (at the moment).
2008-07-14 20:56:53 +00:00
Charles Krinke
b100b841b3
Mantis#1739. Thank you kindly, Grumly57 for an additional patch that:
...
Changed code to include Melanie's advice about X-SecondLife-Region,
then put the exact same content format as a llHTTPRequest issued by
other grids.
2008-07-14 17:47:12 +00:00
Justin Clarke Casey
177001cdfc
* On an archive load, make the master avatar the owner of all scene objects for now
2008-07-14 16:44:50 +00:00
Justin Clarke Casey
9cb4ba9d6b
* For now, when loading an archive all the existing scene objects get deleted by default
2008-07-14 16:23:59 +00:00
Dr Scofield
31e5d348f6
adding support for Xml2 serialization format to XmlRpcLoadXMLMethod.
2008-07-14 14:40:39 +00:00
Charles Krinke
00791594ad
Mantis#1739. Thank you kindly, Grumly57 for a patch that:
...
Implements X-SecondLife-* HTTP Headers for llHTTPRequest
2008-07-14 13:51:54 +00:00
Dr Scofield
4476d484c3
fixing warning in IRCBridgeModule and logging the exception cause now.
2008-07-14 12:32:34 +00:00
Dr Scofield
7692f3e18f
further work in progress on the HttpServer side: XmlRpc handler path
...
almost complete and soon to be ready for testing; OSHttpResponse code
out.
2008-07-14 12:18:32 +00:00
Dahlia Trimble
d262fb5650
adds a default value of true to the new IRC bridge configuration option "nicknum" to provide backwards compatibility for existing OpenSim.ini files
2008-07-14 09:16:07 +00:00
Melanie Thielker
07bd749ac5
Patch #9150
...
Patch 7 of the region patches. Finish off the region parts of the estate dialog. Full user functionality. Terrain textures, heights, water, avatar counts, prim bonus, debug settings and region toggles can now be set from the dialog on a per-region basis. Estate stuff defaults to sane values where there are no defaults, to estate_settings.xml otherwise. Sun still b0rked :(
2008-07-14 01:39:36 +00:00
Melanie Thielker
eaf9383b59
Patch #9149
...
Make all of the toggles go live. Utilizes the new database table for almost everything. Remove lots of now unneeded settings from the EstateSettings class
2008-07-14 01:32:16 +00:00
Melanie Thielker
12173034d9
Patch #9148
...
Patch 5 in the region settings series. Adds a migration to ensure corrupted
data is purged and re-read from defaults. Some changes. Still no full
functionality
2008-07-14 01:29:48 +00:00
Melanie Thielker
e712678689
Patch #9147
...
Patch #4 of the region settings series. Partial functionality of the new
storage system. More patches to follow.
2008-07-14 01:27:47 +00:00
Charles Krinke
476e08286e
Mantis#1728. Thank you kindly, Mikem for a patch that solves:
...
The compiler was missing grammar rules for += etc. operators on
vector.member variables, which the attached patch implements.
2008-07-14 01:07:21 +00:00
Charles Krinke
d0fb5e8c90
Mantis#1638. Thank you kindly, Salahzar for a patch that:
...
Addresses an unused field in the asset server but never get filled up.
It also makes working the recent items tab in inventory :))))
2008-07-13 18:57:13 +00:00
Justin Clarke Casey
92cac0c6de
* minor: make scene closing log message info rather than warn
2008-07-13 00:21:23 +00:00
Justin Clarke Casey
eb63b9bbc1
* Actually persist restored archives to the database - wasn't actually doing this before (doh)
...
* Not quite perfect yet
2008-07-13 00:18:29 +00:00
Justin Clarke Casey
bd9736c9f8
* Elminate most of the debugging log output from the archive commands
2008-07-12 22:31:46 +00:00
Justin Clarke Casey
da55f4d2ae
* minor: comment out a couple of lines to eliminate nhibernate compile warnings for now
2008-07-12 22:18:54 +00:00
Justin Clarke Casey
a89385818d
* On archive loading, tell the user how many objects we are ignoring because they already exist in the scene
...
* (ability to give objects new uuids will come later)
2008-07-12 22:14:38 +00:00
Justin Clarke Casey
23c4a409b7
minor: method documentation
2008-07-12 21:43:35 +00:00
Justin Clarke Casey
7d97169351
* minor: thought up a better name for the last allocated local id
2008-07-12 21:07:42 +00:00
Justin Clarke Casey
000d5e8b93
* minor: just some null guards and name changes to make it clearer that prim count is actually a prim local id dispenser
2008-07-12 21:03:12 +00:00
Justin Clarke Casey
e30ca523ae
* refactor: Move xml/archive loading and saving code into separate methods ready for future modularization
2008-07-12 20:14:17 +00:00
Justin Clarke Casey
b835b1d7ec
* refactor: collapse scene debug settings into same format as packet debug settings
2008-07-12 20:04:31 +00:00
Justin Clarke Casey
91a208b6a5
* Refactor: Minor cleanup of Debug method in OpenSim.cs
2008-07-12 19:47:45 +00:00
Justin Clarke Casey
451c3d1dd7
* Hive off ConsolePluginCommand into its own framework class
2008-07-12 19:29:49 +00:00
Justin Clarke Casey
35d5b3991b
* Make archive default tar file modes more permissive
2008-07-12 19:19:22 +00:00
Justin Clarke Casey
77723f8b8d
* Remove warning
2008-07-12 19:08:46 +00:00
Justin Clarke Casey
654b3424c7
* Remove warning and tidy up logic in SceneObjectGroup.UpdatePrimFlags()
2008-07-12 19:05:12 +00:00
Justin Clarke Casey
4e7dd0d919
* Start compressing archives
2008-07-12 18:54:21 +00:00
Melanie Thielker
4ff529bdaf
Patch #9146 (No Mantis)
...
Prevent an exception caused by inventory server fetch requests
2008-07-12 18:26:25 +00:00
Charles Krinke
932ed5ec54
Mantis#1726. Thank you kindly, StrawberryFride for a patch that:
...
On an MSSQL-based Grid OpenSim installation, users could log in to the sim once,
then log off - after a short time before retrying users would be unable to log in,
and would see an empty alert box on the client with just a "close" button and no text.
Despite no users being logged into the sim, user server would report a higher number
of logins than logouts.
2008-07-12 18:05:57 +00:00
Charles Krinke
33971a7ce8
Mantis#1681. Thank you kindly, Vytek for a patch that:
...
Adds additional support for llEmail().
2008-07-12 17:23:30 +00:00
Charles Krinke
0b28cf84f1
Mantis#1718. Thank you kindly, Mircea for a patch that:
...
Adds some IRC bridge improvement.
2008-07-12 17:19:24 +00:00
Charles Krinke
132b95ec95
Mantis#1714. Thank you kindly, Krtaylor for a patch that:
...
Solves llGetListLength fails scripts when list is not initialized.
2008-07-12 17:11:43 +00:00
Charles Krinke
bdec1aea92
Mantis#1716. Thank you kindly, Nlin for a patch that:
...
Addresses the Gap when sitting on single prims with
a sit target (discrepancy with SL)
2008-07-12 17:08:34 +00:00
Charles Krinke
e6d3f7c39d
Mantis#1691. Thank you kindly, Phrearch for a pactch that:
...
Solves llGetCameraPos() implementation + permission bug.
2008-07-12 17:04:56 +00:00
Melanie Thielker
9e20318667
Patch #9145 (Mantis #1723 )
...
Allows direct viewing of library scripts from inventory again
2008-07-12 13:42:32 +00:00
Melanie Thielker
f629fdb88d
Patches #9143 and #9144 (Mantis #1723 )
...
Changes the permissions module to make scripts permissive only when intended
Adds security checks to asset transfers to prevent hacked clients fron
requesting script sources.
Adds security checks to llClientView to verify all aspects of ownership
and permissions for inventory based script retrieval.
2008-07-12 06:24:43 +00:00
Dahlia Trimble
13399ff439
Passes prim physical status to mesher from physics plugins
...
Small prims now get a full mesh if they are physical
Fixed a logic bug that was preventing many prim meshes from having excess memory cleaned up
Switched to more conservative method of vertex and triangle list trimming to prevent possible crash
2008-07-12 01:58:20 +00:00
Melanie Thielker
d85774c101
Patch #9142 (No mantis)
...
Add a config option to OpenSim.ini to select between script compilers
in the XEngine without recompile.
Set UseNewCompiler=true in OpenSim.ini and try it out.
Creates the ICodeConverter interface and adapts the new compiler to it.
2008-07-12 01:34:36 +00:00
Dahlia Trimble
f6c7f167b9
Overloads CreateMesh method of interface IMesher to pass prim physical status to mesher
2008-07-12 01:02:41 +00:00
Melanie Thielker
746c6fb1a2
Patch #9141 (Mantis #1655 )
...
Untangles llDie handling in XEngine, which resulted in a thread being
aborted while executing inside of Scene.
2008-07-12 00:06:45 +00:00
Dahlia Trimble
b42770bf7a
Trim out nulls from mesh vertex and triangle lists to try and save more memory
2008-07-11 20:32:58 +00:00
Justin Clarke Casey
da68f18a6b
* Guard against a null point passed to RemoveClientCircuit (odd that this happens at all)
...
* Patch from Kurt Taylor (IBM) in http://opensimulator.org/mantis/view.php?id=1720
* Thanks Kurt!
2008-07-11 17:58:26 +00:00
Melanie Thielker
53461fad2c
Patch #9140 (Mantis #1683 )
...
Add LifetimeService overrides to all MarshalByRef derived classes
to prevent the remoting interfaces from expiring.
2008-07-11 17:52:39 +00:00
Dahlia Trimble
3646cc32c4
Experimental physics optimization: prims with all 3 dimensions less than 0.2 meters will be meshed as a simple box
2008-07-11 17:22:37 +00:00
Justin Clarke Casey
297ca095df
* Oops, turn off permissions debugging I stupidly hardcoded
2008-07-11 17:16:03 +00:00
Justin Clarke Casey
f7d9b0bab7
* Move thread tracking code to base opensim server so that it's available for all servers (UGAIM as well as Region)
...
* This will work as long as those servers are actually registering any threads they use (does not include stuff plucked from the thread pool)
* command is now "show threads" rather than threads
2008-07-11 16:24:52 +00:00
Justin Clarke Casey
8535cb52e0
* Put an info entry in the log if permissions are being bypassed
...
* might help to diagnose mantis 1712
2008-07-11 16:03:12 +00:00
Charles Krinke
1472cee72f
Mantis#1005. Thank you kindly, Mircea for a two patches that:
...
Addresses both locale issues and setting the waterHeight correctly.
2008-07-11 15:40:56 +00:00
Justin Clarke Casey
aad55e5034
* Comment out body of experimental ParcelMediaSetTime() since MW says it causes a mono 1.2.4 compile to fail
...
and MW says it will soon be replaced anyway.
2008-07-11 14:51:02 +00:00
Dr Scofield
eec67d7402
trying to fix mantis #1711 .
2008-07-11 14:33:47 +00:00
Jeff Ames
3b9cf65234
Update svn properties.
2008-07-11 09:18:17 +00:00
Johan Berntsson
130d8047a2
Thanks Mike for another LSL compiler patch which fixes a bug where 'vector v=<0, 0, -0.5>' caused a syntax error, and implements multiple assignments in one line (x = y = 3;)
2008-07-11 08:33:53 +00:00
Charles Krinke
cda5269391
Mantis#1682. Revert temporarily, Sempuki's mono addins patch
...
while he studies the issues in Windows a little bit.
2008-07-11 02:04:02 +00:00
Charles Krinke
14a6656948
Mantis#1541. Thank you kindly, Phrearch for a patch that:
...
Solves Remote Admin create_region type Casting failure.
2008-07-10 13:55:01 +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
MW
af825dae40
small console message change related to last revision
2008-07-08 15:37:52 +00:00
MW
9a5a7b2614
Added option to userserver config, to be able disable/enable the LLSD Login support. As far as I know, the LLSD login method is currently only used by libsl based clients/bots. So could be useful to be able to disable this if a grid comes under a griefing attack from libsl bots.
2008-07-08 15:36:27 +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
d9b802bb26
* Split out various classes from IClientAPI into their own files, in accordance with code standards
2008-07-08 11:25:18 +00:00
Dr Scofield
c1d5291ae0
RegionInfo.configMember can be null for dynamically created regions
...
that are not backed by a file.
2008-07-08 11:13:26 +00:00
lbsa71
b1b529f94e
* Moved script packet handlers from 'unimplemented' to 'Script Packets'
2008-07-08 11:02:53 +00:00
Johan Berntsson
27d9aeab0c
Patch from Mike: added unit tests for the LSL compiler
2008-07-08 08:42:17 +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
Charles Krinke
1122f3f693
Mantis#1685. Thank you kindly, Mjm for a patch that:
...
The attached patch tries to read the SVN revision from local file
"svn_revision" before checking "../.svn/entries".
This allows simulators not running from the source tree to properly
display the SVN revision, if the installer generates the
"svn_revision" file.
2008-07-08 01:11:52 +00:00
Sean Dague
19c4c9798b
changes to use NHPrim instead of SOP directly
2008-07-07 21:50:45 +00:00
Sean Dague
b2febd03f0
add NHPrim to subclass SOP so we can stick region uuid in there.
...
I think the only place we need it is in NHibernate so a subclass
is probably appropriate.
2008-07-07 20:52:13 +00:00
Sean Dague
7634c1311e
added skeleton (no function) region store component
2008-07-07 20:40:14 +00:00
Sean Dague
867d72c956
change SitTarget calls from functions to properties
2008-07-07 20:12:14 +00:00
Justin Clarke Casey
7fa00f9ecd
* remove redundant sync locking in AssetServerBase since this is already being done by the lower database layers
2008-07-07 19:32:21 +00:00
Justin Clarke Casey
1813946937
* remove unused CommitAssets() hook for now
2008-07-07 19:18:44 +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
Dr Scofield
aaf8fff57e
adding support for IP EndPoint whitelisting in HttpServer code.
2008-07-07 11:25:09 +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
Dr Scofield
7420f96128
switching to safer locks.
2008-07-07 09:58:01 +00:00
Dr Scofield
7f0bcc5aa1
further progress on HttpServer integration: OSHttpRequest can now be
...
instantiated from both .NET and HttpServer code path.
2008-07-07 09:47:36 +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
Dahlia Trimble
8465f378ac
changes prompting of create user console command to only ask for unspecified parameters and avoid an exception if the wrong number of parameters are supplied
2008-07-05 08:13:22 +00:00
Dahlia Trimble
c0af057588
Changed default terrain lower limit to -100 instead of 100
2008-07-05 06:31:13 +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
Justin Clarke Casey
35bd6e8760
* Make default inventory grid server db mysql rather than sqlite
...
* This is to match all the other grid servers
2008-07-04 17:05:41 +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
7fea52be35
Mantis#1661. Thank you kindly, CMickeyb for a patch that:
...
patch attached to check for timeouts on mysql connections *before*
operations occur that are likely to timeout. if timeout occurs or
the connections is down, it is reconnected before the operation fails.
2008-07-03 22:30:16 +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
a9b3c2582a
add 3 migrations, 1 each for prims, primshapes, and primitems
...
to move all their UUID stores from varchar(255) -> char(36). Based
on past evidence, this should help with performance.
2008-07-03 19:41:01 +00:00
Sean Dague
8eb57b68f3
migrate the myisam mysql regions to innodb
2008-07-03 18:45:32 +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
Sean Dague
b9bba13c39
playing with multicolumn mapping of vectors using a custom type
2008-07-03 16:37:44 +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
Jeff Ames
fde6983cce
Update svn properties.
2008-07-03 03:01:02 +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
1deaa50240
Mantis#1647. Thank you kindly, Sempuki for a patch that:
...
attached patch adds support to constrain the number of
plugins that can be loaded per extension point.
2008-07-02 14:14:29 +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
Dr Scofield
d40bea4a8e
From: Alan M Webb <awebb@vnet.ibm.com>
...
This adds REST services for inventory access. It also allows inventory
uploads.
2008-07-02 09:02:30 +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
0a657b9416
making XmlRpcs of RemoteController more robust; this fixes mantis #1467
2008-07-01 08:50:22 +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
Sean Dague
721988adcd
add the ability to cherry pick expire something from the asset
...
cache. Bandaid until we rethink the caches a bit more.
2008-06-30 15:05:30 +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
Jeff Ames
2dfaa3c5e4
Update svn properties.
2008-06-30 12:41:32 +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
MW
b0330a0bb5
disabled the multiple inventory server support in login service again.
...
And reverted CachedUserInfo back to revision 5262.
I don't think most of the inventory problems that people are reporting are due to these, but its easier to deal with one set of potential problems at a time, and I'm not going to get any time in the week to work on this anyway.
2008-06-29 20:39:34 +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
Justin Clarke Casey
31c63558c8
* Fix for http://opensimulator.org/mantis/view.php?id=1512
...
* Introduce experimental wait timeout checking to mysql region datastore code
* This should mean that if the mysql connection has timed out, we should automatically reconnect and not fail or drop queries on region database manipulations
2008-06-29 18:10:38 +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
MW
68bec3f69f
couple of small fixes to try to fix support for multiple inventory servers in the loginservice
2008-06-29 10:27:22 +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
MW
031b3d5314
small change to see if that helps with the inventory problems.
2008-06-28 23:05:08 +00:00
MW
85f893f0b3
more disabling multiple inventory server support in LoginService
2008-06-28 22:19:48 +00:00
MW
2efdeda79f
disabled multiple Inventory server support in loginservice until I get more time to look into the problems people are having.
2008-06-28 22:17:07 +00:00
MW
6480d4ae80
small fix
2008-06-28 21:14:01 +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
ba989e9fd1
* restore suppression of mono addins manager warnings
2008-06-27 16:51:24 +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
Dr Scofield
cea6e03ae0
dr scofield's warning safari: hunting down those little buggers
2008-06-27 16:18:56 +00:00
Dr Scofield
92e04ea587
status: work-in-progress, non-functional
...
fleshing out OSHttpRequestPump code.
2008-06-27 15:57:33 +00:00
Justin Clarke Casey
6175021300
* refactor: Remove group changed responsibilty from ScheduleGroupForTerseUpdate
2008-06-27 15:04:35 +00:00
Sean Dague
afd2a4b206
somehow, I seem to have actually made appearance persistant
...
correctly with nhibernate. Go figure. :)
User services still remain partial, but I'm going to move
on to Region Store to get that chunk out of the way.
2008-06-27 14:53:56 +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
Sean Dague
c8cd381c56
added in new type for mapping texture objects to the db
2008-06-27 14:22:18 +00:00
Justin Clarke Casey
c9b41bdc4e
* Add extra backup parameter to InnerScene.AddRestoredSceneObject()
2008-06-27 14:15:14 +00:00
Dr Scofield
63a1a2739a
status: work in progress, non-functional
...
having OSHttpHandler as a delegate was not too hot, i'm
refactoring it into an interface.
2008-06-27 09:29:41 +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
f8ccf00f1c
Apply patch from bug #1609 -- Documentation for Data/MSSQL. Thanks kerunix_Flan!
2008-06-26 20:25:57 +00:00
Jeff Ames
d96caaa14e
Apply patch from bug #1606 -- Documentation for Data/Null, Data/Base. Thanks kerunix_Flan!
2008-06-26 20:20:30 +00:00
Jeff Ames
9fae975a53
Apply patch from bug #1605 -- Documentation for Data/SQLite. Thanks kerunix_Flan!
2008-06-26 20:14:33 +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
Dr Scofield
744b44dc8b
WORK-IN-PRGRESS: beware of falling pieces and shifting
...
tectonic plates: starting AddHandler() code.
2008-06-26 16:10:04 +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
Jeff Ames
ca724636d4
Apply patch from bug #1601 -- more documentation for Data/MySQL. Thanks kerunix_Flan!
2008-06-26 12:38:03 +00:00
Charles Krinke
1c6bf4fe77
Mantis#1595. Thank you, Melanie for a patch that:
...
Adds pipes for the prim item flags field
2008-06-26 02:51:59 +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
8a0a0f9bb5
Add patch from bug #1596 - adds Doxygen documentation in OpenSim.Data.MySQL files. Thanks kerunix_Flan!
2008-06-26 01:12:28 +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
Sean Dague
d1d846f23f
chugging away on nhibernate, more incremental process
2008-06-25 19:45:56 +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
Sean Dague
5158aad662
make lots of properties virtual, which lets nhibernate do
...
some proxy object optimizations.
2008-06-25 19:18:51 +00:00
Sean Dague
ce9c584341
add migrations to mysql and sqlite for flags on embedded inventory
2008-06-25 18:57:21 +00:00
Sean Dague
ee4d7703a2
lazy=true for these mappings, as we don't do full lists very often
2008-06-25 18:51:48 +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
Charles Krinke
c4641d7005
Mantis#1584. Thank you kindly, Lulurun for a patch that:
...
The (de)serialization of extraparams is wrong.
prims with scuplt texture won't be seen as it expected.
This patch fixes the problem .
2008-06-25 13:55:06 +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
daca971bf6
further work on the HttpServer stuff. not functional yet. just sharing
...
what crimes i'm committing.
2008-06-25 13:10:12 +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
Sean Dague
c0a083ad38
based on positive feedback on performance of making keys fixed length
...
for assets, make all the indexed columns in the inventory fixed length
via migration.
2008-06-24 18:01:28 +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
Sean Dague
ca7aac1c27
fix typo in Inventory nhibernate mappings. nhibernate should
...
load now.
2008-06-23 20:02:15 +00:00
Justin Clarke Casey
ac46c89c89
* minor: Remove crusty old unused agent inventory classes
2008-06-23 18:13:04 +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
Sean Dague
8b6bd93d68
add migration to go from varchar -> char for uuid. Tested
...
on my machine, and works, but backing up before migrations
is always a good idea.
2008-06-23 16:00:18 +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
2758bc81ad
* Persists region banlists across reboots for the sqlite datastore also now.
2008-06-21 06:50:38 +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
Sean Dague
17fd6cf661
lots of futzing with nhibernate to make it more efficient. I
...
don't think this works, but I don't want to loose the work before
the weekend, and it doesn't break the build.
2008-06-20 20:23:55 +00:00
Teravus Ovares
4448fd4b2f
* Handle parcel telehub location corruption gracefully. DBNull
...
* mySQL this time.
2008-06-20 18:46:43 +00:00
Teravus Ovares
f8b1785467
* Handle parcel telehub location corruption gracefully. DBNull
2008-06-20 17:07:01 +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
Sean Dague
ccc2adb331
fixed to inventory for nhibernate that actually make it so I can
...
log in using it as the driver for users, assets, inventory. User
driver is still missing a lot of function.
2008-06-19 22:11:04 +00:00
Sean Dague
c2e2997a99
more work towards nhibernate working with mysql, not there yet,
...
but moving in the right direction.
2008-06-19 21:20:23 +00:00
Charles Krinke
786fd3534d
Mantis#1572. Thank you kindly, Lulurun for a patch that addresses:
...
In function "ReadInExtraParamsBytes", parameter "data" is used without a boundary check.
if data.Length==0, an "out of index" exception will be thrown.
2008-06-19 21: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
Sean Dague
40f32a9271
oops, build break. needed to include another reference.
2008-06-19 15:44:33 +00:00
Sean Dague
d28a5a4de7
add migrations support for mysql log store. This should complete
...
all the mysql bits for migration.
2008-06-19 15:42:57 +00:00
Sean Dague
fcd7cf5e4a
fix an edge case with migrations in the region store.
...
Add migration support to gridstore.
2008-06-19 15:03:00 +00:00
Sean Dague
c2dc1636a6
oops, it helps to reference the *right* migration
2008-06-19 14:46:54 +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
Sean Dague
6dea8f3435
clean up the nhibernate definitions to work with mysql
...
integrate migration support into nhibernate
2008-06-18 21:14:19 +00:00
Sean Dague
b58dc7fb33
add mysql migrations for nhibernate driver
2008-06-18 21:08:16 +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
Sean Dague
6711adb8b1
add inventory store migration
2008-06-18 20:51:42 +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
Sean Dague
be79b56cc3
I really didn't expect that one to work out of the box, but just managed
...
to get NHibernate + MySQL + Assets working.
2008-06-16 19:58:48 +00:00
Sean Dague
bdb0dddfcf
set CommandTimeout = 0 in the migration commands so that long
...
migrations (like converting asset ids) don't run into the
normal 30 second kill switch.
2008-06-16 19:39:08 +00:00
Sean Dague
e1409e0c04
be a bit more verbose about what we are doing on the migration
...
side so that people don't think we're hung.
2008-06-16 19:33:08 +00:00
Sean Dague
340ef33e2e
fix nhibernate driver so that it starts (based on the appearance
...
changes it wouldn't come up).
include embedded dialect specific sql files for nhibernate migrations
figure out how to get the raw db connection so that migrations can
work with nhibernate.
create initial migration for NHibernate + SQLite + Assets.
2008-06-16 19:22:00 +00:00
Sean Dague
caa6b8467d
futzing around on the NHibernate side again trying to connect
...
migrations into it.
2008-06-16 18:53:55 +00:00
Justin Clarke Casey
e31de6707f
* refactor: Fission ArchiveWriteRequest into prepare and execute classes
2008-06-16 17:13:28 +00:00
Sean Dague
94034d665d
change some messages on the migrations front to be
...
more clear
2008-06-16 16:03:37 +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
Sean Dague
ec78a2871b
the beginning of the great id format migration. This makes
...
asset uuids no longer binary. I've tested this migration a
few times, and it seems working in all the scenarios I've found
but it wouldn't hurt to backup your asset db before running this
as it does touch a very sensitive part of our content system.
2008-06-16 14:10:51 +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
Charles Krinke
c04e284854
Change VersionInfo string from
...
"Opensimulator release (0.5.8)" to
"Opensimulator trunk (post 0.5.8)"
as we move forward with trunk again.
2008-06-15 01:08:55 +00:00
Charles Krinke
b226855d34
Change VersionInfo string from:
...
"OpenSimulator trunk (post 0.5.7)" to
"OpenSimulator release 0.5.8" in preparation
for tagging this minor release.
2008-06-14 23:51:35 +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
Justin Clarke Casey
4af6286512
* Start recording asset request failures
...
* This includes problems such as connection failures and timeouts. It does not include 'asset not found' replies from the asset service.
2008-06-14 17:47:25 +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
Sean Dague
b47dd07932
save_assets_to_file path shouldn't always assume uploaded
...
content are images and use .jp2 for the file extension.
2008-06-13 19:41:13 +00:00
Justin Clarke Casey
d6519924ba
* refactor: catch asset service request exceptions at the AssetServerBase level rather than in the GridAssetClient
...
* this is to enable logging of asset request exceptions soon
2008-06-13 18:04:01 +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
b799031010
* minor: Print out uptime as well as stats in periodic diagnostics logging, so it's easier to tell which isntances each print out of information is from
2008-06-13 16:58:24 +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
Justin Clarke Casey
520da0d9ff
* minor: comment out confusing DefaultTimeout field in RestClient, which is currently not actually used
2008-06-13 16:23:31 +00:00
Justin Clarke Casey
8f69a0ab3d
* If appropriate, start printing out the inner exception from the grid -> region status check, so we can tell a bit better what the problem was
2008-06-13 16:17:27 +00:00
Sean Dague
6c23acf41b
add indexes for sqlite inventory
2008-06-13 14:27:46 +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
Sean Dague
1451d6fb9a
look mom, migrations in action. This adds a couple of indexes
...
to mysql regions that should help on performance of some of the
selects. We should start capturing more data on performance bits
to figure out where else we are missing indexes and add them via
migrations as well.
2008-06-12 20:48:06 +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
Sean Dague
202a4bec13
Fix mysql migrations. This is tested with an existing up to date schema,
...
and no schema. It should also work with a non up to date schema as well.
Btw, meetings in which I can get code done are the right kind of meetings.
2008-06-12 18:44:58 +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
Sean Dague
e1140a4f9b
this, in theory, adds migration support to mysql for all
...
data sources besides the grid store. It is only lightly tested
so the less adventurous should wait a couple of checkins before
upgrading.
2008-06-12 15:47:33 +00:00
Sean Dague
cee071ea60
check in region store initial migration definition,
...
now on to integrating this approach into the mysql
driver. Beware the next couple of checkins.
2008-06-12 15:21:34 +00:00
Sean Dague
4387744a78
check in migration files for mysql
2008-06-12 14:44:52 +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
Sean Dague
6c1fce6147
check in working migration code fore SQLite. This
...
is now using migrations instead of the old model to
create tables. Tested for existing old tables,
and for creating new ones.
2008-06-11 21:01:33 +00:00
Sean Dague
68b98aecab
updated resources for current sqlite schema for migrations
2008-06-11 20:04:01 +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
Charles Krinke
aba396cb32
Mantis#1528. Thank you kindly, Boscata for:
...
MSSQL Avatar appearance solved.
Appearance functions and modified table.
2008-06-11 13:57:32 +00:00
Justin Clarke Casey
f07b761583
* Drop periodic stats logging back down to 60 minutes to reduce console spam.
...
* Please feel free to comment if the periodic logging is causing you problems in some way - I'm loathe to add yet another switch to OpenSim.ini but will if it proves necessary
2008-06-11 11:25:29 +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
Justin Clarke Casey
ce9d0799ae
* Add 'show info' command to all servers, which prints the directory in which the server was started
...
* This is potentially useful if you're using screen on a region console without knowing where it was originally started from
2008-06-11 00:41:07 +00:00
Justin Clarke Casey
c2054d225e
* minor: Reduce statistic log snapshots to every 20 minutes to get more information
2008-06-10 23:47:33 +00:00
Justin Clarke Casey
928b32054c
* minor: Report cache figures in rounded up KB instead of with decimal places in show stats
...
* trade easier readability for pointless accuracy
2008-06-10 23:42:42 +00:00
Justin Clarke Casey
3794f25ebd
* minor: Properly clear the pushed asset cache statistics where the clear-assets command is used on the region console
...
* stop waiting for garbage collection when GC total memory used is requested, in case the periodic request of this lags the sim
2008-06-10 23:35:04 +00:00
Justin Clarke Casey
686f16cedd
* If a server has statistics, print these out to the log every hour to get some idea of how these evolve
...
* When returning GC.GetTotalMemory(), force collection first in order to get more accurate figures
2008-06-10 23:19:38 +00:00
Sean Dague
be400d1bd0
I'm going to need the Version property to manage
...
migrating from the old to the new system. Silly legacy
code.
2008-06-10 23:17:18 +00:00
Sean Dague
68cda63761
update of migration code to be more sane on version
...
tracking, and support sub types that we'll need for
nhibernate.
2008-06-10 22:57:20 +00:00
Jeff Ames
fb9a338bc4
Update svn properties.
2008-06-10 22:54:19 +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
Justin Clarke Casey
184a288b4d
* Add memory currently allocated to OpenSim to 'show stats' statistics
...
* This is the GC.GetTotalMemory() method, which I'm guessing does not include memory used by the VM (hence the memory usage reported in top on linux would be much higher)
2008-06-10 18:10:57 +00:00
Charles Krinke
53cc63e243
Mantis#1501. Thank you kindly, Nebadon, for a patch that
...
addresses the 'terrain fill 0' error.
2008-06-10 16:02:18 +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
Sean Dague
c62f081380
actually create and populate the migrations table correctly.
2008-06-09 22:20:28 +00:00
Sean Dague
69fb4ee208
migrations seem to not break anything at this point.
...
Tomorrow I'll start trying to integrate them into sqlite
to see if this works right for table migration.
2008-06-09 22:01:21 +00:00
Sean Dague
504ab4477d
move Migration support into OpenSim.Data, because it
...
really turned out to be small enough to not need it's own
assembly
2008-06-09 21:40:16 +00:00
Sean Dague
2e2dde71f2
fill out some more migration facilities
2008-06-09 19:37:13 +00:00
Sean Dague
c30e9ff0f1
more work in progress migration code, still a while before
...
this becomes useful
2008-06-09 19:11:49 +00:00
Sean Dague
283cc90566
start in on the shell for a generic database versioning module. My
...
intent is to create an easier way to manage database table versions
like the model used for ruby on rails migrations.
2008-06-09 18:24:07 +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
mingchen
c3292a9afa
*Patched CreateItemsTable.sql (MSSQL). Patch by Kyle and Chris from G2.
2008-06-09 14:48:28 +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
3cbc01ee88
* Fixes incorrect message server startup prompt
2008-06-06 08:05:09 +00:00
Teravus Ovares
e9a444917a
Fixes scale property with regards to the physics engine.
2008-06-06 08:03:12 +00:00
Johan Berntsson
9002329a7d
Fixed a build problem with r5019 (Mikems patch)
2008-06-06 05:28:26 +00:00
Jeff Ames
fbd37c420f
Minor formatting cleanup.
2008-06-06 01:19:15 +00:00
mingchen
de0bd2b5a0
MSSQL Inventory Fix. Patch by Kyle and Chris from G2
2008-06-06 00:56:51 +00:00
Jeff Ames
2818dd800e
Update svn properties.
2008-06-06 00:25:43 +00:00
Charles Krinke
16707b741e
Mantis#1451. Thank you kindly, mikem for additional
...
tests for LSL types and strings.
2008-06-05 23:36:59 +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
c289c2b6d4
Mantis#1450. Thank you kindly, Boscata for a patch that addresses:
...
I have detected a bug of conversion data type in OpenSim.Data.MSSQL.MSSQLInventoryData.addInventoryItem(InventoryItemBase item)
in the GroupOwned field.
My sollution is to change the flield to bit in the table. In the
readInventoryItem(IDataReader reader) change too item.Flags =
(uint) reader["flags"]; to item.Flags = Convert.ToUInt32(reader["flags"]);
Now Inventory runs fine.
2008-06-05 13:57:58 +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
Dr Scofield
caee0288fb
* adding XmppPresenceStanza and deserialization/reification support
...
having reached the intermediate level of .NET's XmlSudoku, i've
now figured out how to do deserialization using different
XmlSerializers (this stuff begins to grow on me, sigh).
[still not used code, work-in-progress]
* adding convenience property on OSHttpRequest.cs (from awebb)
2008-06-04 18:09:55 +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
Dr Scofield
67dee6410d
* fleshing out XMPP entities, adding XmppWriter and XmppSerializer
...
having spent the last couple of days wrestling with .NET XmlSerializer
and trying to get it to do what is required by XMPP (RFC 3920 & 3921)
this is the preliminary result of that wrestling (you should see the
other guy!): XmppSerializer allows us to serialize Xmpp stanza (and
theoretically deserialize [or reify] them), XmppWriter helps avoiding
various gratuitous crap added in by off-the-shelf XmlSerializer.
this is currently not used anywhere but the plan is to use it for
at least an XMPPBridgeModule.
2008-06-04 13:06:24 +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
5f6b26d9ba
provide slightly more sane defaults in the file based asset loader
2008-06-02 20:28:26 +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
Teravus Ovares
1f2ad8c525
* Fixed default ports on the MessagingServer config.
2008-06-02 18:22:15 +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
f6ac7f7f61
* Submitting 3 files for the messagingserver that I've kept to myself.
2008-06-02 16:37:28 +00:00
Justin Clarke Casey
a1395b90be
* Add 'show version' help information into base OpenSim server
2008-06-02 16:28:04 +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
Dr Scofield
1fb16688d1
cleanup: uncommenting null-op else tree in TaskInventoryItem.cs
2008-06-02 08:43:05 +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
0c21f90ba7
* Duh, actually returning from the CreateAsset method once we know the asset exists would be better than carrying on
2008-05-31 21:54:13 +00:00
Justin Clarke Casey
7752211376
* Remove the mysql logging noise I accidentally left in a few commits ago
2008-05-31 21:53:17 +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
d703e2004f
* Change MySQL to check whether an asset already exists before inserting it into the database
2008-05-31 21:44:57 +00:00
Justin Clarke Casey
161dfe9b68
* minor: comment out old debugging messages in task inventory item restoration routines
2008-05-31 21:21:46 +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
Dr Scofield
d7ec686691
this is a snapshot of the OSHttpServer work-in-progress. it's an initial skeleton,
...
far from complete, just want to check in early and often.
2008-05-29 15:46:54 +00:00
Sean Dague
22c7845e0c
attempting to get to the bottom of unresponsive grids servers by
...
adding back in a few messages on exceptions.
2008-05-29 15:01:26 +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
Dr Scofield
c2925dcd40
cleaning up returned XML REST doclet (no more xsi, xsd)
2008-05-29 13:55:01 +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
Sean Dague
858ddfa605
update the nhibernate inventory item base definition
2008-05-28 19:40:42 +00:00
Sean Dague
11d83cb737
actually user the database_connect string for mysql.
...
This means you can run all the OpenSim grid services without
needing a mysql_connection.ini
2008-05-28 18:12:32 +00:00
Sean Dague
89c164fbc1
let Grid Servers specify a connect string in their configuration.
2008-05-28 17:59:46 +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
Sean Dague
c4868b0eda
spring cleaning, remove a bit of db4o grid server
...
code that was still in tree.
2008-05-28 17:35: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
Sean Dague
7ddf183da4
remove terrain bloat, only keep last terrain revision
...
for mysql. For active terraformers this should return
a lot of database space.
2008-05-28 15:02:04 +00:00
Sean Dague
a28a6e9aaa
remove an erroneous line to fetch the terrain table in a way that
...
isn't actually used.
2008-05-28 14:57:24 +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
Charles Krinke
2cea74181a
Thank you very much, Xantor for a patch that:
...
If a request is made for an asset which is not in the cache yet,
but has already been requested by something else, queue up the
callbacks on that requester instead of swamping the asset server
with multiple requests for the same asset.
2008-05-27 13:40:00 +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
077c6b816b
updating URL for LSL status.
2008-05-27 08:42:48 +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
392375d34b
* Assigns a random UUID to a region if the Sim UUID is null.
2008-05-26 22:11:56 +00:00
Adam Frisby
77281ed85c
* Potential fix for Mantis#167, 332 - MySQL Thread collision.
2008-05-26 21:53:32 +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
1ebc6bfd0a
add a lock on the update, this should have been there before.
...
still not convinced this will help, but it was wrong.
2008-05-22 18:31:47 +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
Dr Scofield
bdc792d319
here are further enhancements to the IHttpAgentHandler and to BaseHttpServer (from awebb)
...
i've added the OSHttpStatusCodes enumeration of HTTP status codes, have adapted
BaseHttpServer to use those.
then RestPlugin now has proper Failure handling returning proper HTTP status
codes. Regions/POSTHandler is work-in-progress.
2008-05-22 12:00:01 +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
61bba6375c
* Fix mantis 1325. This is a minor issue where 'show assets' would not work fully in the region console
2008-05-22 00:49:17 +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
Justin Clarke Casey
42ac35ba7d
* Provide relief for mantis 1263, 1202, 679
...
* If a caller attempts to set PrimitiveBaseShape.ProfileCurve with a HollowShape or ProfileShape component which is not a valid enum, a warning is spat out and a default shape
subtituted
* This does not solve any underlying problem if we're missing some enum values (though it's not obvious what these are), but it should allow save-xml2/load-xml2 to be used
without causing invalid enum value related exceptions. The checks will also guard against badly behaved clients.
* This change alters the order of shape values in the xml, since it appears properties are serialized after fields (at least this is the case in mono). .net native
deserialization can cope with this it appears, though people manipulating xml manually may need to adapt (if there are any).
* This may be a good argument against relying on .net [de]serialization for our xml format.
2008-05-21 22:17:28 +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
3e997772ea
implement in memory appearance cache for sqlite. This
...
isn't db backed, but will hang around between reboots.
2008-05-21 20:36:34 +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
Dr Scofield
aa348c4804
renaming GETRestRegionPlugin to GETHandler as that's what it really is.
2008-05-21 16:20:21 +00:00
Sean Dague
0e39250506
create some direct sql calls for appearance
2008-05-21 14:34:52 +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
Dr Scofield
60ceef7ea2
my last "simplification" of the the if-then-else logic in BaseHttpServer placed the return in
...
the "if (request.UserAgent != null)" branch in the wrong place: as a result BaseHttpServer would not do
anything if the user agent header field was present....ARGH! BAAAAAAD.
2008-05-20 12:58:27 +00:00
Sean Dague
6d2f6be82b
autocreate appearance table if it isn't there
2008-05-19 21:47:31 +00:00
Sean Dague
419adadc46
prep for changes need to create the appearance tables
...
by default
2008-05-19 21:39:02 +00:00
Sean Dague
29fb93d243
fix a constant that meant pants still weren't working. now
...
you really can have pants.
2008-05-19 21:24:39 +00:00
Sean Dague
d1c4fc94e7
make the super class conveniance appearance stuff virtual
...
so they can be overrided correctly by subclasses
2008-05-19 20:49:57 +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
Dr Scofield
4b622ec881
(from awebb)
...
Fixes a bug in BaseRequestHandler.
If the length of the patter is equal to, or greater than, the length of
the actual request path, then an exception is thrown. System using is
added to support use of String.Empty. Exception is used to ensure most
efficient operation on (assumed to be most common) successful case.
2008-05-19 18:30:25 +00:00
Dr Scofield
af46963176
i'm dropping VerifyGod() and adding IsGod(OSHttpRequest) instead, which actually now
...
takes a look at the HTTP request header and retrieves x-opensim-godkey (if it exists)
and compares that against the godkey from OpenSim.ini.
also, this makes AddStreamHandler() virtual so that it can be overridden.
2008-05-19 17:54:31 +00:00
Dr Scofield
3e8adc0d78
(from awebb)
...
This patch adds an additional handler to the existing BaseHttpServer.
It does not affect any of the existing behaviors except insofar as the
new handler may be selected.
It is selected first because its Agent-oriented nature means that it
should not be pre-empted. The new handler type is defined by IHttpAgentHandler
in Framework/Servers and has two interface methods: Match and Handle.
The Match function returns a boolean result based upon examination of
information presented in the User-Agent header.
The Handle function expects to get the request and response instances
associated with the flow. The handler is responsible for ALL activity
associated with the request except in the event of an unhandled exception,
in which case the HandleAgentRequest routine will generate a 500 status
message and close the stream.
There are two immediateley apparent (and VERY easy to implement)
improvements that could be made:
1. The Match call could be allowed to operate over the entire
request context., rather than just agent identity.
2. The Handler could return a boolean indication of whether or not
the request was actually handled, and if not, the remaining handler
mechanism could take a shot at it. This would eliminate issues
arising from pre-empted streams.
2008-05-19 17:35:29 +00:00
Jeff Ames
7b0ca6ea30
Attempt to fix incorrect animations when using ODE (bugs #1320 / #1321 )
2008-05-19 14:49:20 +00:00
Jeff Ames
259ddcfe1a
Update svn properties. Minor formatting cleanup.
2008-05-19 13:26:42 +00:00
Dr Scofield
4e93228e25
fixing exception when RestPlugin not configured. refactors RestRegionPlugin, adds error checking.
2008-05-19 11:52:51 +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
Teravus Ovares
e57c2b47a8
* This fixes the Sculpty seam. Unfortunately not all sculpties will survive. A tiny fraction of them will turn into a torus.
2008-05-18 21:05:48 +00:00
Justin Clarke Casey
f6add412d6
* Refactor: Eliminate empty if clause from AssetCache.GetAsset()
2008-05-18 19:56:25 +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
f99b4cbe3b
prime the wearables structure, which should fix the exception
...
FluxOne found.
2008-05-16 19:24:28 +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
8a7ae313be
it helps to actually create the database if the connect
...
string is provided. My bad.
2008-05-16 18:43:53 +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
Sean Dague
a5fb011041
in theory implement the backend of appearance for grid.
...
testers encouraged so I can track down issues.
2008-05-16 18:23:13 +00:00
Justin Clarke Casey
6812de9af2
* Minor: For no particularly good reason, make all console prompts conform to the same prompt scheme
2008-05-16 18:19:02 +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
c2581c9577
* Cache knowledge in the region server that the asset service has reported an asset to be missing
...
* This prevents repeated requests for the same missing asset to the asset server, hopefully reducing the load a little
2008-05-16 17:47:34 +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
6a526fcb6f
add to / from hash mapping for grid serialization
2008-05-16 16:01:36 +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
0076ed40ff
in theory, this moves the appearance mapper to live
...
under the MySQLUserData. There is a lot of in theory here
so testing would be appreciated.
2008-05-16 14:30:25 +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
9040213366
Set svn:ignore. Minor formatting cleanup.
2008-05-16 05:30:39 +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
Sean Dague
129e7e19c5
fixed the key issue that caused appearance to go wonky
2008-05-15 21:14:42 +00:00
Sean Dague
30202542c0
fix bad default initialization
2008-05-15 20:39:34 +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
c45218e275
add the rest of my UserAppearance created methods to
...
AvatarAppearance
2008-05-15 15:30:03 +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
Sean Dague
0307ad1153
Damn, forgot to manually add these as I keep forgetting that
...
svn patches don't do adds. :(
2008-05-15 11:32:28 +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
1ef37b196c
* Minor: Fussy little wording change on inventory service failure
2008-05-14 22:30:43 +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
Justin Clarke Casey
56faeafdae
* Refactor: Renaming non viewer statistics classes from Reporters to Collectors - this seems more intuitive
2008-05-14 21:27:54 +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
Sean Dague
b1327dda01
fix for a change in inventory that meant I was returning a lot
...
of empty inventory folders
2008-05-14 15:43:19 +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
Jeff Ames
92128d4ef9
Update svn properties.
2008-05-14 03:09:02 +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
Justin Clarke Casey
8293be6811
* Remove old historical grid inventory code
2008-05-13 14:59:18 +00:00
Justin Clarke Casey
550018f02d
* As part of the region registration process, the grid service now requests the status of the region using the region http uri just passed in
...
* If the status cannot be retrieved, then the region startup will terminate.
* The aim of this is for earlier detection of situations where the region can send messages out but cannot accept incoming requests (often due to firewall issues)
* This is currently an extremely simplistic check which completely trusts whatever http uri is given by the region
* This contact may be problematic, though since the user service needs to be able to contact the region http uri, it doesn't seem unreasonable for the grid to have to be able to do so too at this stage
* This change will require a prebuild
2008-05-13 13:36:21 +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
Justin Clarke Casey
c8b59f7a31
* Refactor: Creating grid login exceptions to try and break up a large method.
...
* This in preparation for further login validation to check that the region logging in is properly contactable.
* Also increase verbosity of some error messages
2008-05-12 22:00:33 +00:00
Adam Frisby
56e5dc49f9
* Committing sample IClientAPI2.cs
...
* This is not functional anywhere, but is a incomplete proposed replacement class for IClientAPI. Assistance filling this out would be appreciated. Use IClientAPI.cs as a reference, but make sure not to copy it - instead rewrite and abstract.
2008-05-12 20:50:38 +00:00
Adam Frisby
f78c5aedbf
* Added some build warnings for Teravus. :)
2008-05-12 20:29:56 +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
Justin Clarke Casey
bcf018a98c
* Minor: Make some direct grid server console output into logged messages instead
2008-05-12 17:06:37 +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
690294c578
* Minor: Change 'delete region' message to region logout message
2008-05-12 16:24:52 +00:00
Justin Clarke Casey
6df35bac3f
* Minor: Commenting out message detailing all individual map information dispatch for now
2008-05-12 16:21:11 +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
Justin Clarke Casey
b4d128c811
From: Alan M Webb <awebb@vnet.ibm.com>
...
This patch just tightens up console handling in BasOpenSimServer
and removes (or redirects) a couple of messages that were being issued
using Console.Writeline.
2008-05-12 13:39:46 +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
Justin Clarke Casey
57fea65c82
* Revert caps fetch inventory service back to UDP for now
...
* Linden client 1.19.1.4 appears to be happy using UDP for this request again, and Linden's own servers (1.21) don't appear to be supplying the CAPS version currently
* This should for now fix the bug where texture selection in the edit window both shows only already open textures, and later stops subsequent inventory requests from working.
2008-05-09 21:50:22 +00:00
Justin Clarke Casey
3f345bf685
* Removing polling delay for non-CAPS inventory fetch if the client has not yet received data from the inventory service
...
* Replaced instead with the system now used by other requests where the fetch request is placed on a queue and service when the data comes in
2008-05-09 21:33:19 +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
6e2c7da018
* Minor: Insert utility function to format raw xml strings into indented xml for debugging purposes
2008-05-09 15:51:02 +00:00
Justin Clarke Casey
fe8f9a4b25
* Restoring some initial inventory lookup polling delays in order to deal with situations seen on osgrid
2008-05-09 13:36:08 +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
2eecc9756a
* Attempted Fix for 1191 - Crash on ViewerEffectHandler. We are missing typedata data however it seems.
2008-05-08 14:06:48 +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
5843f595a7
* Fixed some compiler warnings
...
* Fixed prebuild.xml to remove DB4o references (more compiler warnings)
2008-05-07 21:42:23 +00:00
Adam Frisby
17366af846
* Added Obsolete() tag to IClientAPI.OutPacket.
...
* Increased compiler warnings by a whoppingly large number.
2008-05-07 21:31:15 +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
Justin Clarke Casey
e35e83312d
* Increase number of poll attempts an inventory items request will make under CAPS
2008-05-07 15:53:27 +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
Sean Dague
94a3442baf
this should fix zariok's issue
2008-05-06 19:22:05 +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
5ab392d0ee
* Refactor: A final root folder special case removal, this time in HandleFetchInventoryDescendents[CAPS]
2008-05-04 01:14:21 +00:00
Justin Clarke Casey
6c62985fd5
* Refactor: Do the root case removal thing again, this time in ItemReceive()
2008-05-04 01:04:49 +00:00
Justin Clarke Casey
9646258fdf
* Refactor: Simplify CachedUserInfo.FolderReceive() by removing root folder special case
2008-05-04 00:53:01 +00:00
Justin Clarke Casey
0f716e3ac4
* Simplify CreateFolder() by folding previous special root case into FindFolder()
2008-05-04 00:06:34 +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
068163b14b
* Refactor: Move MoveFolder() and PurgeFolder() into CachedUserInfo (which arguably should be split)
2008-05-03 19:50:49 +00:00
Justin Clarke Casey
45430a5403
* Refactor: move UpdateFolder into CachedUserInfo
2008-05-03 19:27:34 +00:00
Justin Clarke Casey
45a71bb045
* Make user profile cache service complain if the caller assumes a profile exists when in fact it does not
2008-05-03 19:12:17 +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
e538a34acc
fixed up a bunch of the nhibernate user driver. Friends are not
...
implemented, and something is still funny with agents, but this
at least got me logged in, so is good enough to plumb through
appearance and see how that goes.
2008-05-02 19:57:35 +00:00
Sean Dague
17496f3edf
in theory fix the user table mapping
2008-05-02 19:39:27 +00:00
Sean Dague
260927bf68
move it out of the Types namespace
2008-05-02 19:31:41 +00:00
Sean Dague
1edb7992f1
fixed the dos line endings
2008-05-02 19:21:33 +00:00
Sean Dague
286d681673
in theory this gives me a back end that will do persistance
...
to actually have something to test plumbing in appearance
saving.
2008-05-02 19:16:54 +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
Sean Dague
72a7c2e2bb
added user appearance mapping in nhibernate
2008-05-02 18:39:13 +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
Sean Dague
a1c0e89067
adding a few more prep parts for this object
2008-05-02 18:25:53 +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
Adam Frisby
c6236b5cf3
* Refactored ClientView into LLClientView. Removed all direct references to UDPServer and replaced with IClientNetworkServer.
...
* This should, in theory, let us make new servers with different protocols very easily (rather than the challenge we would have faced before).
* BREAKS LoadBalancing module for the moment.
* Commit 1/3 - Please dont attempt to update to this revision until all 3 are in.
2008-05-02 16:40:17 +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
Sean Dague
4a8f432441
minor refactoring. Change getName and GetVersion methods (yes the had different casings)
...
to Name and Version properties for the User stores.
2008-05-02 12:35:24 +00:00
Jeff Ames
b1aacfe0d4
Minor formatting and documentation cleanup.
2008-05-02 03:40:38 +00:00
Jeff Ames
058191e6cc
Update svn properties.
2008-05-02 03:34:06 +00:00
Jeff Ames
f94099b485
Minimize binary size and external dependencies in OS X LaunchSLClient.app creation script.
2008-05-02 03:30:44 +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
e41232bac5
create pass through of UserManagerBase to plugin calls
2008-05-01 20:36:43 +00:00
Sean Dague
b5be9da727
removed last db4o ref
2008-05-01 20:36:16 +00:00
Sean Dague
cc5351ec1b
remove the db4o asset server
2008-05-01 20:33:43 +00:00
Sean Dague
62c663c37b
remove DB4o, we're pretty sure no one uses this, and
...
no core developer supports it anyway.
2008-05-01 20:17:57 +00:00
Sean Dague
86d2e53d1f
added stubs for appearance bits to all the db layers
2008-05-01 20:16:26 +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
Jeff Ames
a5a16f6f49
Get LaunchSLClient window out of the way when launching SL.
2008-05-01 19:20:53 +00:00
Jeff Ames
6729d488a5
Minor cosmetic cleanup.
2008-05-01 19:00:12 +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
Jeff Ames
239228abd8
Attempt to locate SL client in LaunchSLClient under other Unices.
2008-05-01 18:49:42 +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
Jeff Ames
c1e901989a
Load grid list in LaunchSLClient from .ini file at run-time.
...
Add script to build LaunchSLClient.app on OS X.
2008-05-01 18:28:32 +00:00
Adam Frisby
20a9bf08f5
* Rolled back a few changes.
2008-05-01 18:04:42 +00:00
Jeff Ames
138e612300
More config cleanup in LaunchSLClient.
2008-05-01 17:26:35 +00:00
Jeff Ames
a0ccb1235a
Fix paths in LaunchSLClient prebuild.xml
2008-05-01 17:10:40 +00:00
Jeff Ames
e38ee199b9
Refactor machine-dependent configuration in LaunchSLClient.
2008-05-01 17:07:58 +00:00
Adam Frisby
fc6c4dc399
* Cleaning code still.
2008-05-01 16:41:01 +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
Adam Frisby
01f31fd933
* Breaking all the code, breaking all the code..!
...
* Made a bunch more members static, removed some dead code, general cleaning.
2008-05-01 16:23:53 +00:00
Adam Frisby
5231903778
* In ur code. Making it static.
...
* Converted a bunch of functions to static functions.
2008-05-01 16:03:53 +00:00
Jeff Ames
e9e97d69dc
Add basic OS X support to LaunchSLClient
2008-05-01 15:50:58 +00:00
Adam Frisby
5da028f6ef
* Removing duplicate files that somehow got undeleted from TortoiseSVN. Fixed.
2008-05-01 15:46:46 +00:00
Adam Frisby
a1c8aa4050
* Cleaned namespaces of entire solution. OpenSim directories now correspond with namespaces.
2008-05-01 15:36:39 +00:00
Jeff Ames
92fd719d7b
Moving LaunchSLClient source files so build works (2/2)
2008-05-01 15:28:48 +00:00
Jeff Ames
387d506590
Add prebuild stuff to LaunchSLClient. Moving LaunchSLClient source files so build works (1/2)
2008-05-01 15:26:13 +00:00
Teravus Ovares
56b4f5a2ea
* committing what I've got so far for DuplicateOnRay so I don't fight the conflict monster later. Not done yet, doesn't crash the server.
2008-05-01 15:17:49 +00:00
Adam Frisby
4692e92312
* Assorted spring cleanings.
2008-05-01 14:45:56 +00:00
Jeff Ames
d51ce47b2d
Update svn properties. Minor formatting cleanup.
2008-05-01 14:31:30 +00:00
Adam Frisby
4ef6f53a11
* Adding unit test support to Environment for modules.
...
* Written some unit tests for Terrain Module as an example.
2008-05-01 13:59:58 +00:00
Justin Clarke Casey
13e51b197c
* Add more class cast exceptions to mysql read inventory item to cover all new fields - not just those I think are initially failing.
...
* This is more likely to allow existing mysql databases to work temporarily, if the previous revision doesn't work
2008-05-01 13:41:36 +00:00
Justin Clarke Casey
d72bdf432a
* Align new fields upgrade sql to have the same 'not null' and default settings as when an inventoryitems table is newly created
...
* Normalize logging titles in database code, though this doesn't yet cover invoking code
2008-05-01 13:27:40 +00:00
Justin Clarke Casey
6e9042c3d3
* Change mysql inventory items table version 3 upgrade sql to provide explicit default values
2008-05-01 12:33:05 +00:00
Adam Frisby
7bcdec4e8f
* Applying Mantis#1097 - Thanks Xantor!
...
- Fix for llRound (now rounds in LL-compatible fashion, rather than using bankers rounding)
- Implementation of llAngleBetween
2008-05-01 12:11:34 +00:00
Justin Clarke Casey
9024fe68fc
* Insert temporary cast exception catching code to deal with mantis 1099 - mysql inventoryitems table problem
2008-05-01 12:08:22 +00:00
Teravus Ovares
1c697ef0d2
* You can now rez objects out of inventory at the correct offset from prim you rez it on. Including multi prim groups and prim that have different X/Y/Z scales.
2008-05-01 06:31:12 +00:00
Teravus Ovares
f4e22b1356
* Fix OBB raycaster to respond properly to rays cast from any direction.
2008-05-01 04:58:15 +00:00
Teravus Ovares
1d9c68969e
* ODE Tweak. See if this helps.
2008-05-01 00:54:21 +00:00
Teravus Ovares
4dfc9bdd0b
* Whoops, SQLite land data malfunction. Fixed.
2008-05-01 00:40:47 +00:00
Adam Frisby
25a49ac4de
* Spring cleaned a bunch of '//TODO: unused' marked functions.
2008-04-30 23:11:07 +00:00
Adam Frisby
be20f41637
* Cruft removal step #1 . Cleaning Modules directory.
2008-04-30 21:43:47 +00:00
Adam Frisby
3da6a05eaa
* Sometimes you know, you do something really stupid.
...
* This is one of those times (should fix build)
2008-04-30 21:32:14 +00:00
Adam Frisby
919aed1058
* And more
2008-04-30 21:23:37 +00:00
Adam Frisby
4a8c1e4393
* Commiting a bunch of missed files.
2008-04-30 21:22:29 +00:00
Adam Frisby
8b0c795a5e
* Previous commit managed to miss some files despite me hitting 'Select all'.
...
* Attached.
2008-04-30 21:17:32 +00:00
Adam Frisby
f5c312bc3c
* Refactored Environment/Modules directory - modules now reside in their own directory with any associated module-specific classes.
...
* Each module directory is currently inside one of the following category folders: Agent (Anything relating to do with Client<->Server communications.), Avatar (Anything to do with the avatar or presence inworld), Framework (Classes modules can use), Grid (Grid traffic, new OGS2 grid comms), Scripting (Scripting functions, etc), World (The enrivonment/scene, IE Sun/Tree modules.)
* This should be moved into a seperate project file.
2008-04-30 21:16:36 +00:00
Teravus Ovares
19723767a9
* Adds the AuthbuyerID field to sqlite and makes use of it.
...
* Includes a more user-friendly way of adding it saying, 'Your land table was recently updated. You need to restart the simulator. Exiting'
2008-04-30 21:15:48 +00:00
Teravus Ovares
b3f44fbb94
* Refactored the land table to be versionable in mySQL.
...
* Added AuthbuyerID so that if someone sets a land for sale to someone and then restarts the simulator, when the simulator comes back up, the setting persists.
2008-04-30 20:08:15 +00:00
Justin Clarke Casey
3508298ddf
* Refactor: Rename InventoryFolderImpl.HasSubFolder() to GetDescendentFolder()
2008-04-30 20:04:06 +00:00
Justin Clarke Casey
3984a7fda1
* Resolve mantis 1068, 1095
...
* The resolution takes the form of not crashing the session if the folder the user is attempting to add already exists (e.g. there is one already with the same UUID).
* Printing out warnings instead
2008-04-30 19:55:45 +00:00
Justin Clarke Casey
8ed9e57896
* Add a scratch implementation of the new inventory fields to the mssql database adapter
...
* I don't use mssql so this may not work, corrections (in the form of patches) are welcome.
* Unlike mysql, mssql requires manual updating of existing tables here (which should mean just adding the new fields manually)
2008-04-30 19:28:36 +00:00
Justin Clarke Casey
f57ff4c36b
* Change new inventory groupID field to 36 rather than 63
...
* Add updated stub mssql inventory sql (only really because I was in the middle of this when I spotted the numeric transposition)
2008-04-30 19:13:06 +00:00
Justin Clarke Casey
9817363b93
* Completely inconsequential inventory odds and ends (actual impact - only one log message changed)
2008-04-30 19:08:48 +00:00
Sean Dague
a9aee0162a
add a bunch of properties for User Appearance
2008-04-30 18:55:58 +00:00
Sean Dague
b2077b81eb
The beginnings of a UserAppearance container
2008-04-30 18:20:28 +00:00
Justin Clarke Casey
dbcd6112b9
* Actually enable the inventory upgrade sql if appropriate
2008-04-30 17:11:59 +00:00
Teravus Ovares
b70da6ac19
* Patch by Melanie. Implements proper objectflags on child objects. Thanks Melanie!
...
RE: 0001079: r4387. touch() event does not fire when touch script is in root prim and child prims are touched
2008-04-30 16:52:12 +00:00
Justin Clarke Casey
eac3fd51f0
* Deal with a situation where the new fields in the inventory store are null on sqlite
...
* This is due to a preparatory change I made yesterday
2008-04-30 16:41:05 +00:00
Justin Clarke Casey
f3b44deeee
* Trivial sqlite inventory db log message change so I can pick out the messages more easily
2008-04-30 16:28:29 +00:00
Teravus Ovares
a9cc76e0ef
* Long awaited patch from A_Biondi Mantis 923. Kept alive by Melanie. Thanks A_Biondi and Melanie!
...
* This builds but might not work. JustinCC will examine.. it may work out of the box.
2008-04-30 16:08:24 +00:00
Sean Dague
dd96158afe
move IUserService into the OpenSim.Framework.Communications assembly
...
because all the other I***Service interfaces are there.
2008-04-30 15:03:37 +00:00
Teravus Ovares
36bf16d35e
Patch from Melanie: 0001077: [PATCH] LSL types cannot be cast implicitly or explicitly in many cases Thanks Melanie!
...
* Also, I moved the event parser and re-writer to a separate static object. More work will be done here shortly.
2008-04-30 03:36:13 +00:00
Adam Frisby
0880abc402
* Disabled IntergridModule until a Mono bug can be isolated.
2008-04-29 19:10:15 +00:00
Adam Frisby
3bcb75acfe
* One more attempted fix.
2008-04-29 18:52:19 +00:00
Adam Frisby
d05c443b71
* Made a change to InterGrid module to prevent duplicate registrations.
2008-04-29 18:46:15 +00:00
Adam Frisby
faccbf4994
* Missed a file in previous commit. Sorry!
2008-04-29 18:00:25 +00:00
Adam Frisby
03155e362c
* Implemented new InterRegion comms method in the form of InterregionModule
...
* Interfaces and methods have been defined for basic operation, however a replacement grid module is required to share region URIs with neighbours for this module to work.
* Tackling that next.
2008-04-29 17:50:29 +00:00
Justin Clarke Casey
41207b5fa0
* Preparatory work for autoupgrade of sqlite inventory tables in preparation for patches in mantis #923
2008-04-29 17:21:17 +00:00
Teravus Ovares
3326effb5f
Stuck an exception handler in the friends routine until I have time to debug it more seriously.(or someone else does). It prints a 'Unable to enumerate' message on the console.. so it won't be forgotten.
...
It isn't critical data atm though.
2008-04-29 16:26:49 +00:00
Justin Clarke Casey
763ae779ff
From: Dr Scofield <hud@zurich.ibm.com>
...
* Fixes the admin_shutdown xmlrpc method
* Adds a share/python/console/shutdown.py script for shutting down a background OpenSim
* For more details see http://xyzzyxyzzy.net/2008/04/29/console-less-opensim/
* There should also be instructions in the opensimulator wiki soon as well
2008-04-29 14:50:27 +00:00
Teravus Ovares
97db1e8af0
Committing Dee100's balance update patch with a few bug fixes and a twist. Thanks Dee100!
2008-04-29 14:12:21 +00:00
Adam Frisby
de2ff8e626
* Little more spring cleaning.
2008-04-29 14:10:26 +00:00
Adam Frisby
375163a6fe
* Spring cleaning.
...
* Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
2008-04-29 14:04:55 +00:00
Teravus Ovares
9907c0fd10
Patch from Melanie: 0001087: Crash to bash de-linking objects. Thanks Melanie!
2008-04-29 13:53:24 +00:00
Teravus Ovares
2ae933a88b
* Applying Xantor's patch 0001089 - Added llRot2Angle, llRot2Axis,llAxisAngle2Rot. Re-implemented llRot2Euler, llEuler2Rot
2008-04-29 13:40:58 +00:00
Teravus Ovares
80ea0b94b9
* Fixes child prim not editable as an attachment. You can right click on child prim in an attachment and get the proper pie menu. You get the attachment axis scope in the edit box.
2008-04-29 13:12:36 +00:00
Teravus Ovares
06a367be19
* Applying melanie's List2Vector and List2Rot patch. Added a routine in the Quaternion constructors to catch 0,0,0,0 quaternions and convert them to 0,0,0,1 (as 0,0,0,0 is implicitly converted to 0,0,0,1 in LSL and will crash libsl if left which will in turn crash the simulator)
2008-04-29 12:09:55 +00:00
Justin Clarke Casey
dbdeb40d46
* Lash up mantis 1064 - nre thrown in LandObject.sendLandObjectOwners()
...
* From reading the code, the cause must be that a 'show objects on my parcel' is performed when there are objects belonging to more than 32 people
* I'm not sure why there is a hardcoded 32 limit but I'm leaving it in place for now. I don't regard this mantis as resolved.
2008-04-28 22:21:42 +00:00
Sean Dague
3ddbf28cd0
wrap a common exception that we get on shutdown of the script engine to keep
...
people from thinking it's a real issue.
2008-04-28 14:50:09 +00:00
Justin Clarke Casey
776b1f341a
From: Dr Scofield <hud@zurich.ibm.com>
...
Note: This is the first part of some changes from Dr Scofield to support console-less operation of an OpenSim region server.
The changes are not yet complete.
* refactors OpenSimMain into two classes: OpenSimMain and
OpenSimMainConsole. OpenSimMainConsole derives from OpenSimMain
and basically is the "old" OpenSimMain
* drops StartConsole from RegionApplicationBase (was only called
from the "old" OpenSimMain anyhow)
* reverts the changes to TryGetScene(string, out scene) as that
seems to work perfectly fine
* adds a check to region-remove to see whether
m_sceneManger.CurrentScene is non-null before comparing it against
the region-to-be-removed
2008-04-28 14:41:46 +00:00
Teravus Ovares
7e3506e296
* Fixed 'Welcome to Krynn' default that I missed and got stuck in by a patch.
...
* Changed it to 'Welcome to OpenSimulator' as opposed to 'Welcome to OpenSim'
2008-04-28 14:11:29 +00:00
Justin Clarke Casey
78ae258bb0
From: Dr Scofield <hud@zurich.ibm.com>
...
attached patch does a bit of reformatting and adds some more parameter
checking to RemoteAdmin.
2008-04-28 14:08:38 +00:00
Teravus Ovares
1fb54b074c
* Added basic 3-5 level undo on prim position/rotation/scale.
...
* In the future this should be a config option... and, hopefully this tides the builders over for a little while.
2008-04-28 01:48:21 +00:00
Adam Frisby
7693a7dac9
* Added String(FileExtension) property to ITerrainLoader to allow us to determine which file extension this loader is capable of handling.
...
* Added ITerrainLoader import capability to Terrain Plugins module - this allows you to write new terrain format plugins without modifying the terrain module directly.
2008-04-27 23:54:16 +00:00
Teravus Ovares
54563d8dea
* Patch from XenReborn to make remove-region work properly without needing to do a change-region first. Careful though. I still suggest you do a change-region first.
...
* Patch from Melanie to implement touch_end.
* Thanks XenReborn!. Thanks Melanie!
2008-04-27 22:15:38 +00:00
Teravus Ovares
911e63765c
* Single Attachments now work from inventory. You can attach from inventory and detach from inventory.
...
* Detaching from right clicking in world, detaches to your inventory.
* If you go up to a prim and attach it from in world, it appears in your inventory.
* Attachment placement is saved when you detach them.
* Choosing wear remembers your last attachment point from inventory.
* Wrote a method to update an inventory item's asset and sends the updated inventory item to the Client
* Wrote a recursive method to find the folder of a known existing inventory item.
* Removed a block on physics object position on creation. This might crash a region or two, let us know via Mantis if your region crashes because of a physics out of bounds error.
* Drop doesn't work. The menu item doesn't even come up. Don't know why :P.
2008-04-27 20:10:28 +00:00
Jeff Ames
56497c9615
Minor svn, formatting cleanup.
2008-04-27 18:35:00 +00:00
Teravus Ovares
f71871bca3
* More attachment stuff, reworked some of the inventory routines to be what I need them to be for attachments.
2008-04-27 14:37:51 +00:00
Charles Krinke
7cb78d73eb
Thank you Melanie for implementing
...
llListSort() in linear and strided modes.
2008-04-26 20:49:38 +00:00
Justin Clarke Casey
b1632bd222
* Tidy up and comments related to last inventory related commit
2008-04-26 20:44:27 +00:00
Justin Clarke Casey
accd89b3f1
* First draft implementation of copying prim inventory items back to agent inventory
...
* Now, if you own an item in a prim, you should be able to successfully drag it back into your inventory
* Temporarily, users which are not owners of the item cannot copy it, even if 'everyone can copy' is set
* This is pending fixes/implementation of upstream permission implementation
2008-04-26 20:31:01 +00:00
Teravus Ovares
323038ceb9
* Ooops, attachments now teleport/cross region borders along with your avatar. Those dastardly objects stick to you.
2008-04-26 17:36:30 +00:00
Adam Frisby
3dc60c1433
* Committing Mantis #1061 - llRegionSay and llSetPrimitiveParams implementations. Thanks Melanie!
2008-04-26 12:40:14 +00:00
Teravus Ovares
8f6d508b43
* For info about this commit, see last commit.
2008-04-26 07:43:11 +00:00
Teravus Ovares
a53cc8fbfa
* Error on System. references with 'CS20003: 'System' is null or not an object"
2008-04-26 06:56:50 +00:00
Teravus Ovares
a534257b0e
* Fixes prim crossing. See bug 1050.
...
* Causes the internal handling of attachments to put the prim group conceptually at the position of the avatar instead of 0,0,0
2008-04-25 21:41:55 +00:00
Justin Clarke Casey
6fec9c789b
* Check in odds and ends which remain as an attempt to get the item properties panel for a prim's contents working
...
* Temporarily hacked things to bring our protocol data flow to be pretty much completely identical to the Linden's for this - to absolutely no avail.
* Leaving commented code in as a springboard for some future attempt
2008-04-25 21:31:40 +00:00
Teravus Ovares
298870b177
* Fixes Mantis: 1049. Y Texture repeat not being applied to resulting animation.
2008-04-25 19:48:47 +00:00
Justin Clarke Casey
46c8d7a5e1
From: Dr Scofield <hud@zurich.ibm.com>
...
the patch below adds support for start_location = uri:region&x&y&z to
OpenSim which allows us to provide -url secondlife:///region/X/Y/Z to
the SecondLife client during start up --- which will take you directly
to region "region" at position X, Y, Z.
also, i did increase the default Z value from 70 to 128 as we otherwise
have the problem that on some regions we'd end up inside a mountain
instead of on top of it.
2008-04-25 13:37:43 +00:00
Teravus Ovares
d3811f4747
* Fixes the object pay box to default to -2,-2,-2,-2,-2. Fixes mantis 1045.
2008-04-25 11:17:43 +00:00
Adam Frisby
87e2793ca6
* Applying mantis#1048 - Patch for osSetRegionWaterHeight()
2008-04-25 10:37:22 +00:00
Teravus Ovares
421730d972
* Used thomas' patch m884 as an example to make HUD attachments work. While I didn't use the patch directly, I did use the following from the patch to convert the uint value into the byte: (byte)((m_attachmentPoint % 16) * 16 + (m_attachmentPoint / 16))
2008-04-25 09:47:21 +00:00
Teravus Ovares
9468917b5f
* Implements llTarget, llTargetRemove, at_target(), not_at_target()
2008-04-25 01:00:55 +00:00
Teravus Ovares
d023c331f8
* Tuned the llMove2Target PID controller to be more reasonable and not overshoot the target.
2008-04-24 22:26:26 +00:00
Sean Dague
03c7055902
do a max of 3 splits when first processing the nhibernate connect
...
strings so the ; in the db connect strings pass to the native
drivers correctly
2008-04-24 15:52:22 +00:00
Sean Dague
c6f6218f60
in theory, let you pass the mysql connection string into the
...
mysql manager class. This could use some testing of inventory
and asset services. Once this is prooved out, I'll do it for
mssql as well.
2008-04-24 15:23:49 +00:00
Teravus Ovares
5c660ea0c5
* Patch from Melanie. Mantis: 1040. Thanks Melanie!
...
* Implements llDeleteSubList in all it's modes. Corrects type selection in inventory functions. Adds support for INVENTORY_ALL selector
2008-04-24 15:11:19 +00:00
Sean Dague
56ef67ec6d
auto table creation for nhibernate backends
2008-04-24 15:00:42 +00:00
Sean Dague
2a2ef42e64
replace hard tabs with 4 spaces to be consistant in the source.
...
Please adjust your editors to not use hard tabs.
2008-04-24 12:27:24 +00:00
Teravus Ovares
aa8aee90a3
* Adds much better support for attachments that you right click on in world.
...
* Your friends can see your attachments now. People who appear in the sim after you've attached something can also see your attachments.
* You can position & rotate your attachments now. Positions do *not* save.
* You can detach attachments now the regular way.
* Attachments do not cross into other regions with you..(this isn't too far off)
* Updated ODE to not request terse updates on child prim.
2008-04-24 11:32:41 +00:00
Justin Clarke Casey
c49b25f19e
* From: Alan M Webb <awebb.vnet.ibm.com>
...
* Patch to fix negative indices bug in llListInsertList
2008-04-24 10:17:33 +00:00
Teravus Ovares
12bba3da4b
* Fixed an annoying pop-up box when crossing borders.
2008-04-23 23:55:02 +00:00
Teravus Ovares
1909d74d5f
* Patch from Melanie. Mantis 0001037: Add various internal plumbing to the example economy module, implements llSetPayPrice(), money() and llGiveMoney() in scripts. Thanks Melanie!
...
* Moves module loading before the script engine so the script engine can pick up events from modules registering interfaces with scene.
2008-04-23 22:44:59 +00:00
Justin Clarke Casey
40176c12f9
* Implement full grid mode Trash empty
...
* Now, emptying the trash should remove folders and the items they contain as well as items which were not in a subfolder.
* This will only work once both the region and grid servers have reached this revision.
* You may also need to clear your cache before this will work
* Refactoring to follow.
2008-04-23 22:13:57 +00:00
Teravus Ovares
e108133d91
* Fixes lsl scripts with no state_entry event at all
...
* Fixes event reporting on states with no state_entry in lsl scripts.
2008-04-23 22:04:45 +00:00
Sean Dague
361fbe97d4
fix for mantis 1036
2008-04-23 21:27:37 +00:00
Sean Dague
c5e0b376d0
fixed mantis: 1035, as well as ordering commands
...
alphabetically because out of order lists bother me. :)
2008-04-23 21:20:51 +00:00
Sean Dague
3f95804911
add a database_connect field for the asset server config
...
which will let you specify a connection string. Required
for Nhibernate, optional for sqlite (there is a sane default),
ignored for mysql and mssql until someone implements the
Iniatialise(string) method.
2008-04-23 20:57:18 +00:00
Sean Dague
3dd98a112f
allow for Inventory database source to be specified in main
...
configs. This works with sqlite and nhibernate backends, and
stays with default seperate ini files for mysql and mssql until
someone writes those.
2008-04-23 20:48:23 +00:00
Sean Dague
a1cc0e436f
changes to allow asset_source to be specified in the opensim.ini
...
this will work for sqlite and nhibernate, but will be ignored for
mysql and mssql (reverting to their ini files) until someone writes
that bit.
2008-04-23 19:13:06 +00:00
Teravus Ovares
d194f21a5d
* Fix a console issue where pressing return on some operating systems cause the console to crash and complain about 0 regex matches.
2008-04-23 18:41:39 +00:00
Justin Clarke Casey
4db839c3b8
* Implement proper emptying of trashcan on standalone
...
* On standalone, folders (and their items) should now be persistently deleted on trash emptying, as well as immediate child items
* An implementation for grid mode will follow.
2008-04-23 17:04:15 +00:00
Teravus Ovares
2a3bdde0fa
* Adds llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y | STATUS_ROTATE_Z,TF)
...
* Currently if you apply that to only one or two axis you get unpredictable and sometimes explosive results.
* Three axis works well enough to play with it anyway. More work is needed here.
* Fixed an incorrectly named method in ODE.NET
2008-04-23 15:32:19 +00:00
Sean Dague
d52fc2dc1a
Two small changes:
...
1. add addin-db-001 to the delete list
2. allow for connection strings for data sources in the config file
2008-04-23 15:15:11 +00:00
Charles Krinke
67f2b89bf6
Thank you kindly, Tyre for :
...
Commands with arguments enclosed in Double quotation marks (e.g. filenames or objects with embedded blanks) should be parsed correctly. e.g.:
console command "edit-scale" don't accept prim names with embedded blanks
edit-scale Prim 20x20x20 20 20 20
Region# :
edit-scale "Prim 20x20x20" 20 20 20
Region# :
edit-scale Prim20x20x20 20 20 20
Searching for Primitive: 'Prim20x20x20'
Edited scale of Primitive: Prim20x20x20
Region# :
2008-04-23 14:31:54 +00:00
Adam Frisby
e456cb7533
* Patch for #973 - Object Rez from Inventory ignores permissions - Thanks tglion!
2008-04-23 13:22:06 +00:00
Adam Frisby
3370d581e1
* Patch #1026 - llDialog support -- Thanks Melanie!
2008-04-23 12:21:54 +00:00
Adam Frisby
2b886ab9f0
* Fix for mantis #1025 - Region always reports that location is unavailable. Thanks Lulurun.
2008-04-23 12:00:23 +00:00
Adam Frisby
8425d53d68
* Applying Mantis #1022 - Thanks Melanie!
2008-04-23 11:54:35 +00:00
Adam Frisby
163d254bb9
* Applying Mantis #1021 (llStartAnimation/llStopAnimation) - Thanks Melanie!
2008-04-23 11:53:16 +00:00
Adam Frisby
bca7ab7e36
* Applying Mantis #1020 (Animations) - Thanks Melanie.
2008-04-23 11:52:25 +00:00
Justin Clarke Casey
41f9bbc26d
* Fix mantis #842 - folders which are created but left named "New Folder" in places other than directly under "My Inventory" should now be stored
2008-04-23 11:14:19 +00:00
Adam Frisby
7c897043ba
* Removing old libTerrainBSD and associated Plugin & Project.
...
* Updated prebuild.xml accordingly.
2008-04-23 10:55:04 +00:00
Justin Clarke Casey
2de6d09d74
* Get rid of missing texture notification drop messages for now - obscuring too many other debug messages.
2008-04-23 10:30:45 +00:00
Justin Clarke Casey
24cf685e55
From: Dr Schofield <hud@zurich.ibm.com>
...
the attached patch fixes http://opensimulator.org/mantis/view.php?id=936
aka load-xml/load-xml2 crashing. problem lies with basic physics not
creating physics actors. the solution was already present in
SceneObjectPart.cs.
2008-04-23 10:20:38 +00:00
Justin Clarke Casey
6efb16689a
From: Kurt Taylor <krtaylor@us.ibm.com>
...
Attached is a patch for adding the llGetSunDirection functionality. It was implemented by adding a parameter to estate settings for storing the sun position. The sun position is calculated and stored via the sun module everytime the client's sun position is updated. It was tested with several different srcipts on Linux and Windows
2008-04-23 10:16:26 +00:00
Jeff Ames
9fc6b783da
Update svn properties.
2008-04-23 01:04:44 +00:00
Justin Clarke Casey
cd29f90418
* Add folders and items locking in external manipulations of InventoryFolderImpl carried out by CachedUserInfo
...
* These will do temporarily pending refactoring
2008-04-22 20:59:08 +00:00
Justin Clarke Casey
8d8b4a314f
* Add DeleteAllContents() method to InventoryFolderImpl - not yet used but will be soon
...
* Add locking to InventoryFolderImpl class - need more though.
2008-04-22 20:47:54 +00:00
Sean Dague
cdcd092d9a
doh, forgot that hg diffs don't do the adds correctly to svn
2008-04-22 20:43:38 +00:00
Justin Clarke Casey
fc6e23371f
* Extend functionality to better handle delayed inventory service transfers to create folder, move folder and purge folder.
...
* Old 1.18 get folder functionality requires a little more consideration
2008-04-22 20:24:48 +00:00
Sean Dague
a66c43d450
From: Dr Scofield <hud@zurich.ibm.com>
...
some exceptional code ;-) i've added TerrainException and have modified
TerrainModule to now throw TerrainExceptions.
cheers,
dr scofield
2008-04-22 19:44:40 +00:00
Justin Clarke Casey
68c6b6ece3
* Replace previous specific inventory callback code with generic alternative
2008-04-22 18:58:09 +00:00
Justin Clarke Casey
269a2e4b88
* Allow folder renaming to complete after an agent inventory has been received by a region from the inventory service
...
* This replaces the old behaviour of failing straight away, which could cause lost updates if the inventory service was slow in responding
* This is the first baby step to making all inventory requests behave this way, to reduce inventory lossage
2008-04-22 17:24:13 +00:00
Teravus Ovares
61f23fa045
* Implements llScriptDanger
...
* Made the scene's scriptDanger method more generic so both the llScriptDanger method and the Script engine method use the same private method.
2008-04-22 10:11:29 +00:00
Teravus Ovares
809447ac32
* Implemented NoScript areas (without loosing script state).
2008-04-22 09:28:58 +00:00
Teravus Ovares
9b696a1d5c
* Patch from Mic Bowman(cmickeyb) that implements llUnsit. Thanks Mic!
...
* I expanded upon his patch just a bit to incorporate the following.
* if the avatar is sitting on this object, then we can unsit them.
* If the object owner also owns the parcel or if the land is group owned and the object is group owned by the same group or if the object is owned by a person with estate access, then we can unsit them.
2008-04-22 08:15:44 +00:00
Adam Frisby
c8eb8d66fd
* Committing new terrain plugin effects system. Loads DLLs in /bin/Terrain/ as terrain module extensions. Committing sample plugin library.
...
* prebuild.xml changes.
2008-04-22 07:53:32 +00:00
Adam Frisby
385c1f5184
* Added missing reference to OpenSim.Framework.Communications to RemoteAdminPlugin to fix a compile error introduced by the Radmin patch.
2008-04-21 14:11:36 +00:00
Adam Frisby
0d27832d44
* Various compiler warning cleanups.
2008-04-21 13:16:00 +00:00
Sean Dague
bf1580fba4
From: Dr Scofield <hud@zurich.ibm.com>
...
the attached patch set is centered around RemoteAdminPlugin and focuses
mainly on making it more robust (i.e. more parameter checking and better
error reporting) but also we've re-implemented the LoadTerrain stuff that
got disabled during the terrain code reworking:
* missing PostInitialize() calls on region modules that were loaded
for regions created via RemoteAdmin's CreateRegion XmlRpc call
* re-implements RemoteAdmin's LoadTerrain XmlRpc call (probably lost
during the TerrainModule rework)
* adds lots more parameter checking and error reporting to RemoteAdmin
* adds a read-only property to RegionApplicationBase so that we can
access the CommsManager
* adds Exceptions to TerrainModule so that we get better error case
feedback (and can report more meaningful errors in turn)
* adds a CheckForTerrainUpdate() call to
TerrainModule.LoadFromFile() to make terrain changes effective
* adds TryGetCurrentScene(LLUUID) to SceneManager so that we can
retrieve Scenes not only by name but also by LLUUID
cheers,
dr scofield
2008-04-21 12:42:56 +00:00
Adam Frisby
a0b8c46ef3
* Various refactorings.
2008-04-21 09:38:51 +00:00
Adam Frisby
f741a62d54
* Formatted ExportSerialiserModule and SvnBackupModule
...
* Added a form of GZip compression support to object.xml files produced by exportserialiser. Will look towards standard GZip support. File compression seems to be highly worthwhile reducing a 1.5mb sim state to 62kb.
2008-04-21 09:12:47 +00:00
Jeff Ames
a7cb2b8c30
Update svn properties.
2008-04-21 08:28:25 +00:00
Adam Frisby
01663cb612
* Committing fix for previous build breakage. Sorry!
...
* Committing namespace/usings fixes for ThirdParty directory, missed in previous commit.
2008-04-21 07:16:30 +00:00
Adam Frisby
fef3b36894
* Optimised using statements and namespace references across entire project (this took a while to run).
2008-04-21 07:09:17 +00:00
Adam Frisby
05e24c8f58
* Terrain Module code has been reformatted to comply with guidelines.
...
* Fixed a variety of code quality issues. (Yes, I've found ReSharper.)
2008-04-21 06:39:16 +00:00
Adam Frisby
20a4a402f6
* Written a improved self-contained version of the XML Object Serialiser for the ExportSerialisationModule.
...
* This now outputs properly indented XML, that is sorted before construction. This produces a file which proper .diffs can be generated from - the end result being smaller more compact revisions when saving to SVN.
* Files are a little heavy still however, compression looks like a good method for packing sim-states for transport outside of SVN. Zip seems to be a good candidate and is on the TODO.
2008-04-21 04:36:32 +00:00
Adam Frisby
8cf42ddb84
* Added support for periodic autosaves - added to SvnBackupModule. Will cause a SVN revision to be saved every X minutes. (Default = 15)
...
* Added 'Autosave' options to OpenSim.ini.Example
* Added 'ImportOnStartup' option to OpenSim.ini.example
2008-04-21 04:11:56 +00:00
Justin Clarke Casey
73f60f395a
* Extra log line to notify the user console when a new user inventory skeleton has been successfully created.
2008-04-20 23:07:20 +00:00
Justin Clarke Casey
3d3eec436a
* Remove user profile from cache when they log out from a region.
...
* A much more significant fix is required to clean up the cache when a user moves out of a region, but really better handling of delayed inventory cache updates needs to be
written first, and possibly better affinity to cut down agent inventory requests when the move is between two regions hosted on the same server.
2008-04-20 20:36:06 +00:00
Justin Clarke Casey
8b177bf4a8
* Tweak inventory login failure message to point to the region owner as first point of call rather than the grid owner
2008-04-20 19:39:24 +00:00
Justin Clarke Casey
dcaf457bb8
* Change user inventory create from explicit 'create user' command on the console from sync to async
...
* Catch more error conditions and provide more messages when things go wrong
2008-04-20 19:07:42 +00:00
Justin Clarke Casey
e755727a0f
* Change lazy user inventory creation on first login to synchronous rather than async.
...
* Add more error checking so that we don't proceed if there has been a problem with inventory retrieval
2008-04-20 18:45:03 +00:00
Justin Clarke Casey
d3cd2b0ae4
* On grid mode, if the inventory service is responding but returning an empty response to a whole agent inventory request, then post an inventory login failure message.
...
IMO, this is better than allowing the agent to login with an apparantly blank inventory.
2008-04-20 18:19:34 +00:00
Tedd Hansen
16275ca26d
Removed some script engine noise from console
2008-04-20 11:58:14 +00:00
Tedd Hansen
8a13edb115
Moved script engine os* commands to OSSL_BuilIn_Commands.cs and OSSL_BuilIn_Commands_Interface.cs where they belong.
2008-04-20 10:40:39 +00:00
Teravus Ovares
a5bf229cbd
* Fixed up event discovery regexes to work with a specific string format m#1012
2008-04-20 10:18:40 +00:00
Adam Frisby
93efd6ff39
* Added some more fixes, refactored SVNModule slightly.
2008-04-20 05:44:54 +00:00
Adam Frisby
b3e10debdd
* Added support for new "svn load-region <region name> [svn revision]" command to SVN Backup Module.
2008-04-20 04:21:18 +00:00
Teravus Ovares
3358d70c5b
* Updates LSL2CS converter
...
* All objects are not touchable by default now
* When a script listens for one of the touch events in the state, an object becomes touchable.
* All LSL scripts report which events they consume now
** This uses semi-complicated Regex to discover the events, stick them in a dictionary, and then write a method call into each script state's state_entry() event.
** Tedd may figure out a better way to do this in the future. For now, this works for LSL.
2008-04-20 04:19:44 +00:00
Adam Frisby
7d18a93c2e
* Added experimental "svn load <revision>" command to allow you to load a region from a specified SVN revision. Potentially useful for rollbacks.
2008-04-20 04:15:12 +00:00
Adam Frisby
1ca94ab5dd
* Fixed three compiler warnings introduced in the previous commit.
2008-04-20 04:10:52 +00:00
Adam Frisby
462d03d926
* Various SvnBackupModule fixes.
2008-04-20 04:04:59 +00:00
Justin Clarke Casey
70233d937f
* Start catching rogue SocketExceptions which occur (at least on mono) when a response stream for a request which actually required no response, is closed
2008-04-19 22:48:06 +00:00
Justin Clarke Casey
11f057f90b
* Insert an OpenSim warning telling the user to ignore the ERROR assembly scanning messages. This is a temporary measure.
2008-04-19 22:03:34 +00:00
Charles Krinke
6865f1c67d
Thank you kindly krtaylor for a patch to solve:
...
Linked objects won't scale together properly, only the root object scales.
This happens with scaling both up and down or inputting numbers in the edit dialog.
2008-04-19 21:01:26 +00:00
Justin Clarke Casey
b6f8777dde
* Fix build break in previous revision
2008-04-19 20:44:24 +00:00
Adam Frisby
6f810a0613
* Several fixes for SvnBackupModule
...
* SVNBackup module now works correctly when you have more than one region.
* Various textual and feature improvements, including new 'ImportOnStartup' option for OpenSim.ini (place in [SVN] section)
2008-04-19 15:18:54 +00:00
Justin Clarke Casey
f0896c263b
* Insert some missing database locks for inventory and user data on mysql
2008-04-18 22:46:03 +00:00
Justin Clarke Casey
cd09677469
From: Alan M Webb <awebb@vnet.ibm.com>
...
Robust implementations of GetSubString, InsertString, and
DeleteSubstring. The existing implementations only worked for arguments
consistent with the underlying .Net implementation and did not
accomodate LL's negative indices.
2008-04-18 19:03:28 +00:00
Justin Clarke Casey
afb06c7b88
* Refactor: Remove redundant try/catch from asset request since this is now handled by the base http server
2008-04-18 15:41:13 +00:00
Tedd Hansen
acb0b06fed
Mantis #851 , 100% CPU on unhandlet HTTP event. Thanks cmickeyb.
2008-04-18 15:25:43 +00:00
Adam Frisby
a2b32bdd6f
* Fixed two compiler warnings dealing with IPAddress equality.
2008-04-18 09:35:24 +00:00
Teravus Ovares
b280605237
* Added lock persistence
...
* Temporarily disabling click+drag+move for non physical things until more experimenting is done to figure out how to get a sideways hand cursor in the client.
2008-04-18 04:44:04 +00:00
Charles Krinke
ea8b6a28ed
Thank you, Melanie, very kindly for a patch that :
...
Implements llGetInventoryKey with perms checking.
Adds perms checking to llGetTexture, adds type checking to llStartSound,
allows llSetTexture to reference textures by name
2008-04-18 02:23:48 +00:00
Teravus Ovares
dd4deebbcb
* Re-Fixed caps
...
* This fixes chi11ken's/OpenViewer's libsl cap issue.
2008-04-17 19:42:54 +00:00
Teravus Ovares
4ee368785d
* Acks the first UseCircuitCode packet
...
* Implements Teleport One Agent Home
2008-04-17 15:58:50 +00:00
Justin Clarke Casey
15b36498be
From: Alan M Webb <awebb@vnet.ibm.com>
...
This provides fixed implementations for llListReplaceList and llList2CSV.
llListReplaceList was broken except for simple indices. llList2CSV did not handle processing of an empty list.
2008-04-17 14:34:30 +00:00
Adam Frisby
db9c919086
* Added "svn load" command to correspond "svn save". Will grab the latest revision.
...
* TODO: Specific revision support.
2008-04-17 14:26:19 +00:00
Adam Frisby
200b60bd48
* Added ITerrainModule interface to Terrain Module, and registered accordingly in Scene.
2008-04-17 14:22:48 +00:00
Adam Frisby
a0fc29878e
* Added a directory for the SVN module. More about to come.* SVNBackupModule
...
* See OpenSim.ini.example settings for how to use
* Only compatible with svn:// and http:// authentication for the moment (and only using simple authentication). SSL/SSH key support is supported by the library used (SvnDotNet), but is not yet supported in OpenSim.
* Use the command "svn save" to make a copy of your regions to SVN. Presently this is not an automatic process, but such a feature is on the todo list.
* It will in your repository create a subdirectory for each region with the regions UUID, inside there it will create a 'terrain load' compatible 'heightmap.r32', and a load-xml2 compatible 'objects.xml' plus information files.
* Untested on Linux, some compatibility work may be needed by Linux peoples. The dependencies will be the same as for SvnDotNet which is supposedly mono-compatible.
2008-04-17 13:20:06 +00:00
Jeff Ames
fe3265f491
Update svn properties. Add copyright info to some source files.
2008-04-17 12:16:19 +00:00
Adam Frisby
664d4fc8a0
* Missed a file while committing.
2008-04-17 12:07:54 +00:00
Adam Frisby
05708771bb
* Committing first version of SVN Backup Module
...
This is a module which allows you to periodically export a serialised version of your region to a SVN repository and store it there. It is still a work in progress and is currently disabled and incomplete, but some of the functionality is demonstratable.
* Enjoy.
2008-04-17 11:42:06 +00:00
Teravus Ovares
75df0c9000
* Patch from ChrisDown to fix odd results when using landmarks. Thanks Chris! (Tweaked slightly so avatar don't end up underground).
...
* Removed some testing notices I had in there that were obnoxious.
2008-04-17 05:23:43 +00:00
Teravus Ovares
244bfcde5b
* Implements 'Set Home to Here'
...
* Implements 'Teleport Home'
* User Server has to be updated for it to save your home in grid mode
* home position accuracy is in int because the grid comms ExpectUser method tries to convert to Uint and crashes if it gets a float. Added a convert to decimal in ExpectUser but to avoid a breaking change with old revisions, kept the save value in int for now. Eventually it needs to be a float, but lets release another incremental version before doing that.
2008-04-17 05:07:14 +00:00
MW
770c395e86
moved the Thread.Sleep(500), to the correct side of the ar.AsyncWaitHandle.WaitOne(timeOut*1000, false); call.
2008-04-16 16:28:02 +00:00
Justin Clarke Casey
e3a6a370fa
* From: Alan M Webb <awebb@vnet.ibm.com>
...
* Here's an updated ListInsertList implementation, tested to be LL
compliant.
2008-04-16 16:07:34 +00:00
Justin Clarke Casey
9cb9dcb9da
From: Alan M Webb <awebb@vnet.ibm.com>
...
This fixes a bug in LSL_Types.list GetSublist that was manifest if the
source list was empty and negative indices were used.
2008-04-16 15:57:55 +00:00
Justin Clarke Casey
4f8943da67
* From Kurt Taylor <krtaylor@us.ibm.com>
...
* Yet more script function cleanup - Patch fixes many different script functions: NotImplemented that weren't there at all, redundant or unneeded m_host.AddScriptLPS, etc
2008-04-16 15:54:32 +00:00
MW
54eaadeb82
added a thread.Sleep(500) to OGS1GridServices.CheckRegion() , to try to help avoid a potential race condition. As IAsyncResult.AsyncWaitHandle.WaitOne before a AsyncCallback is called. So in this case, its a race to see who sets or reads the bool m_bAvailable first.
2008-04-16 15:49:28 +00:00
Teravus Ovares
1b22c720a0
* Set default EstateSettings regionFlags to allow 'set home here', and 'create landmark'. This won't apply retroactively, so you'll need to replace the region_flags value in your estate_settings.xml file to 336723974 and then in the estate tools dialog, re-set your desired simulator setup if you want people to be able to create landmarks without viewing admin options.
2008-04-16 14:29:57 +00:00
Teravus Ovares
7c1f17b994
* Applying melanie's Landmark patch. Thanks Melanie!
...
* To make a landmark, you currently have to enable admin options in the advanced menu first. We're working on this.. however use the admin options solution in the mean time.
2008-04-16 14:10:54 +00:00
Sean Dague
1eb0fedd93
After reading Timer.cs in the mono source, I'm not
...
convinced that timer.Enabled modification is thread safe.
I suspect the statsHeartBeat call to be one of our hot spots
because is tries to synchronize not with a lock, but by
disabling and enabling itself. I've replaced that with a lock
in the hopes that this affects either the 100% bug, or the
invoke_void bugs.
2008-04-16 10:54:32 +00:00
Charles Krinke
bf7e7b2c57
Thank you very much, Kmeisthax for:
...
This patch makes the "Show in Search" checkbox on the viewer work. Additionally, I also discovered that show-in-search objects use the JointWheel flag, so this patch currently uses that flag. LibSL needs to add a flag to enum LLObject.ObjectFlags, "IncludeSearch = 32768" so we aren't using a legacy flag.
Additionally this patch also contains a small fix to BaseHTTPServer that lets the response content-type to be something other than text/html. For some reason this didn't get submitted with the DataSnapshot merge.
2008-04-16 03:55:21 +00:00
Teravus Ovares
e777f88028
* A tweak of the caps system so that new caps have random paths instead of a fixed path
...
* This allows caps requests to be routed to regions where the agent is currently a root agent instead of the region that they logged into as it did previously.
* This fixes a wide variety of bugs related to 'can't do X once i've crossed a border'.
* The first seed cap request fails, the second one works. (this generates an error message on the console)
* Experimental.
2008-04-15 23:10:12 +00:00
Sean Dague
3891b2f86f
fix types on nhibernate mappings for User bits
2008-04-15 23:01:42 +00:00
Justin Clarke Casey
550ed7b9ec
* Fix mantis 975 - prim text > 255 chars
2008-04-15 22:56:18 +00:00
Justin Clarke Casey
e65b6f4dcd
* Tiny, tiny, login message refinement to reduce human parsing requirements
2008-04-15 22:44:18 +00:00
Justin Clarke Casey
379ac9c92a
* Make it easier to follow logins on the user server by changing and tidying up log messages
2008-04-15 22:41:34 +00:00
Justin Clarke Casey
39165f3de4
* Send a meaningful response to both the user server console and the client if a login fails because the inventory service has failed.
2008-04-15 18:10:42 +00:00
Teravus Ovares
331f26548b
Fixed LSL State support.
...
* Re-applied Tedd's patch that got overwritten.
* Replaced (state)\s+([^;\n\r]+)([\r\n\s];) with (state)\s+([^;\n\r]+)(;[\r\n\s])
* Added a state(string) method to BuiltIn_Commands_BaseClass
2008-04-15 16:49:06 +00:00
Sean Dague
6f8ff32630
From: Dr Scofield <hud@zurich.ibm.com>
...
ansgar and i have been working on an asterisk voice module that will allow
us to couple opensim with an asterisk VoIP gateway.
the patch below consists of
* AsteriskVoiceModule region module: alternative to the plain-vanilla
VoiceModule, will make XmlRpc calls out to an asterisk-opensim
frontend
* asterisk-opensim.py frontend, living in share/python/asterisk, takes
XmlRpc calls from the AsteriskVoiceModule
* account_update: to update/create a new SIP account (on
ProvisionVoiceAccountRequest)
* region_update: to update/create a new "region" conference call
(on ParcelVoiceInfo)
* a asterisk-opensim test client, living in share/python/asterisk, to
exercise astersik-opensim.py
this still does not give us voice in OpenSim, but it's another step on
this path...
2008-04-15 14:24:15 +00:00
Sean Dague
62d02e079e
From: dirk husemann <hud@zurich.ibm.com>
...
attached is a patch set that
* adds further robustness checks for the CreateUser and CreateRegion
XmlRpc
* fixes SceneManager.TryGetScene(IPEndPoint, Scene) --- contrary to my
expectation IPEndPoint.Address is not sufficient for a comparision,
IPEndPoint.Address.Address (the long representation) does work
however.
* add [RemoteAdmin] section to OpenSim.ini.example
* fixes XML doc comments
good night,
dirk
2008-04-15 14:18:37 +00:00
Jeff Ames
06d05bd339
Update svn properties.
2008-04-15 10:02:06 +00:00
Adam Frisby
0bec9f0551
* Added support for serialising objects to ExportSerialisationModule via SerialiseObjects.cs
...
* Cleaned up using tags on SerialiseTerrain.cs
* Minor tweaks to ExportSerialisationModule.cs
2008-04-15 09:55:47 +00:00
Teravus Ovares
682f4e9257
* Fixes an issue with the BaseHttpServer in Linux
...
* Fixes an estate naming issue
* Fixes a land issue with the landobject not reporting the proper parcel prim.
* A few other tweaks.
2008-04-15 06:21:44 +00:00
Adam Frisby
00dbca468a
* Committing shell of a whole-region serialiser. This is not complete and will be worked on more over the next few days. Undocumented/trusted. Use at own risk, etc etc.
2008-04-15 04:26:39 +00:00
Adam Frisby
0b4a8191a1
* Quick patch before I start on a bigger project
...
* Renamed ITerrainTemp to IMapImageGenerator
* Renamed WriteJpegImage to WriteJpeg2000Image to better reflect it's function.
2008-04-15 03:07:31 +00:00
Justin Clarke Casey
b7ae8701ce
* Working towards notifying the client if the inventory service has failed, rather than simply returning 0 items.
...
* This is very early support which would only be triggered in a rather unlikely case (if the user server correctly received an inventory skeleton, but later on failed to return the whole inventory in a timely manner. Also, this only applies to the 1.19.1.4 client onwards
* Code cleanup and support for other failure cases (failure of inventory caching on region crossing, failure to actually add a folder/item, etc, should follow.
2008-04-14 18:43:23 +00:00
Teravus Ovares
e21886eea0
* Fixed a few warnings.
...
* Added license info to a few files it was missing from.
* Fleshed out the landbuy interfaces
* If you add '-helperuri http://127.0.0.1:9000/ ' to your list of parameters you tell the client to use when you start it up you can transfer ownership of parcels now in standalone. Structured gridmode requires a lot more work, see the documentation in the example money module. The example money module is not secure especially in standalone mode.
2008-04-14 17:13:38 +00:00
Justin Clarke Casey
5c52068dd7
* Get Util.GetHostFromDNS to tell us the dns address it was trying to resolve if it fails.
2008-04-14 15:32:39 +00:00
Sean Dague
1f5eb2ef65
make it so the IRC bridge only relays channel 0 messages
...
not all of them (like it was doing before)
2008-04-14 14:49:16 +00:00
Sean Dague
a3da86c6d7
Possible fix for the 100% CPU issue. I've not fully
...
confirmed that this fixes the issue, however functional
correctness of BlockingQueue requires that these locks be
put into place anyway.
2008-04-14 14:37:36 +00:00
Teravus Ovares
2b7419c7fb
#952 again
2008-04-14 03:20:36 +00:00
Teravus Ovares
30f93b2201
Fix for mantis 952
2008-04-14 01:10:48 +00:00
Justin Clarke Casey
665c5d89f8
* Correct comment from previous patch - I'm not reversing mantis #912 at all, which was in an entirely different location
2008-04-13 23:48:46 +00:00
Justin Clarke Casey
eacba916ec
* Reverse mantis #912 since it was causing inventory to disappear from the root folder on 1.19.1.4 non-cache clear relog.
...
* The folder version numbers probably do need to be non-zero, but there is a further subtlety of the protocol to understand first
2008-04-13 23:38:51 +00:00
Teravus Ovares
be93c0f29a
* Fix a bug in the friends module that causes a friend not to appear online when they were.
...
* A few things for testing.
* This makes a modification to the region registration with the grid server so that the region can send it a chosen password to identify itself. It will not cause any errors, if either one are not updated.
2008-04-13 22:47:12 +00:00
Justin Clarke Casey
7dec345d9a
* Temporarily, stop the exception of mantis #951 from killing the entire client session.
2008-04-13 22:25:23 +00:00
Justin Clarke Casey
451a5bbf30
* Put in crude poll waiting for 60 seconds for delayed user inventory delivery from the inventory service
...
* This will reduce failures where the inventory server is simply slow
* Still need to properly inform the user if the inventory service has failed altogether
2008-04-13 22:09:07 +00:00
Adam Frisby
17507404b5
* Added some comments to terrain module.
...
* Fixed a range issue in the GenericSystemDrawing saving mechanism.
2008-04-13 01:36:03 +00:00
Sean Dague
e46454afa6
first drop of user storage implementation for nhibernate.
...
This surely doesn't work yet, but it compiles, and I'm getting
close to a stopping point for the day.
2008-04-11 23:10:12 +00:00
Sean Dague
bcafd8c0a9
add some convenience properties to get floats out of
...
vectors for UserAgentData
2008-04-11 23:09:05 +00:00
Sean Dague
b43ffd12f5
add user agent mapping
2008-04-11 22:18:52 +00:00
Justin Clarke Casey
b3f783ae05
* Reduce publicly exposed fields on InventoryCollection, which was causing duplicate sets of inventory data to be sent over the grid
...
* Won't actually fix anything, since we were handling the problem anyway
* Also add more doc, fix up debugging messages, etc
2008-04-11 20:37:26 +00:00
Justin Clarke Casey
8f345d36d8
* Minor refactoring in OGS1InventoryService
2008-04-11 19:04:33 +00:00
Justin Clarke Casey
7bfd7e6f08
* Remove the worst excesses of my inventory debugging code
2008-04-11 18:58:09 +00:00
Justin Clarke Casey
7ac7f79f88
* Eliminate a class of errors where an inventory request could be made before the region had completely received the inventory for the user.
...
* A much larger race condition where the inventory request could be made before the region gets any data at all will also be fixed in the near future.
* This change also fixes a regression from two patches ago where items stopped appearing in standalone inventory
2008-04-11 18:46:54 +00:00
Justin Clarke Casey
649f304e76
* Minor inventory code cleanup following on from last patch
2008-04-11 18:19:21 +00:00
Justin Clarke Casey
a5176c2e2c
* Change inventory async response deliver to deliver all items and folders at once, rather than each individual
...
* This is required in order to work towards eliminating some inventory race conditions and to better deal with situations where a grid inventory server is slow or not responding.
2008-04-11 18:13:10 +00:00
Teravus Ovares
9c5d0f50fa
* fix bug 935
2008-04-11 17:51:36 +00:00
Teravus Ovares
5e1d8925fa
* Fix bug 934
2008-04-11 17:24:04 +00:00
Justin Clarke Casey
e26d4fc085
* minor: replace test of CachedUserInfo.RootFolder != null with something more readable, and make RootFolder get only
2008-04-11 17:02:20 +00:00
Justin Clarke Casey
205b95f2e8
* minor documenting, cleanup, renaming in user profile cache service
2008-04-11 16:49:20 +00:00
Justin Clarke Casey
576db5b72a
* documenting and minor refactoring in UserProfileCacheService
2008-04-11 16:30:58 +00:00
Justin Clarke Casey
9a7717743b
refactor: eliminate method in UserProfileCacheService
2008-04-11 16:13:33 +00:00
Justin Clarke Casey
b3892096f3
* From: Dr Scofield <hud@zurich.ibm.com>
...
* This patch adds support for saving a dynamically generated region to the filesystem (as a region xml file)
* Also adds some error checknig to make sure the dynamically generated region name, id or location are not already taken.
* Thanks Dr Scofield
2008-04-11 15:00:41 +00:00
Sean Dague
f337cb205d
From: Kurt Taylor <krtaylor@us.ibm.com>
...
Attached is the second half of the fix for 821 - this is the null reference
check for llDetectedName and the other *Detected* function.
2008-04-11 13:51:11 +00:00
lbsa71
cbf9fcfac5
* Discerned between AddProfile and UpdateProfile in region registration
...
:: Believe it or not, but INSERT/UPDATE is actually a better pattern than REPLACE, since, with INSERT/UPDATE you can catch erroneous UPDATES to non-INSERTed items as well as catch erroneous re-INSERTS. in 95% of the cases, you SHOULD have a clear INSERT context, and a clear and separate UPDATE context. If you think your case falls within the 5%, maybe you should re-evaluate your code. ::
2008-04-11 09:56:22 +00:00
Adam Frisby
00b8e04ece
* Added a "regionload_regionsdir" option to OpenSim.ini which determines where Region.XML files are stored. If not set, it will default to the usual location.
2008-04-11 04:21:29 +00:00
Adam Frisby
f100fc1b94
* Updated MapImageModule to support primitives showing on the world map image. As MapImageModule is of unknown use, this may or may not be reflected on the world map. See the ShadeBuildings function in MapImageModule for reference.
2008-04-11 03:33:51 +00:00
Sean Dague
3f47deab32
add user profile mapping for nhibernate
2008-04-10 23:52:23 +00:00
Sean Dague
f2bd8b4aed
add some convenience properties. Move all the fields
...
to the top of the file.
2008-04-10 23:51:42 +00:00
Teravus Ovares
50c5e6af10
* With Grid Comms up in the air.. I decided have the friends module update you when your friends come online if they're at least a child agent on the sim. offline status works the same also. So does Instant Message.
...
* This is until Grid Comms matures a bit more on this.
* This should also work in Standalone as it uses the IUserData interface.
2008-04-10 18:30:34 +00:00
Justin Clarke Casey
b41abbd50e
* Minor: really just comment and subsequent indentation adjustment. Preparation for handling inventory problems where the inventory server receives a request and never responds, or is late in responding
2008-04-10 17:44:19 +00:00
Justin Clarke Casey
5ad4c79a4e
* Refactor GetUsersInventory()
2008-04-10 16:04:19 +00:00
Charles Krinke
f565f44d89
Thank you Justin for a patch that solves the issue of: When a sensor detects an Avatar,
...
and llDetectedOwner is called on the script, the current implementation attempts to
find the detected avatar as a SceneObjectPart and return the owner of that part.
2008-04-10 15:38:33 +00:00
Charles Krinke
4bdb4a2646
Thank you kindly, A_Biondi for a patch that:
...
Handles the CreateItem cap request for all wearables,
setting the proper value in inType and assType.
2008-04-10 15:32:09 +00:00
Justin Clarke Casey
ba132f3a0b
* Minor: get CreateNewUserInventory() to return true on success
2008-04-10 15:28:52 +00:00
Teravus Ovares
f2d36186f0
* Slightly smoother transition between land, shallow water and deep water in map tile generation.
2008-04-10 15:27:02 +00:00
Justin Clarke Casey
ded704ef1f
* Minor inventory message cleanup and documentation
2008-04-10 15:22:01 +00:00
Sean Dague
55ac1c6dce
renaming of attributes in UserAgentData for readability
2008-04-10 14:50:52 +00:00
Sean Dague
ef7dfae41c
changing UserAgentData to use properties. This caused more
...
grief than expected, as monodevelop doesn't like to refactor
properties of properties.
2008-04-10 14:37:17 +00:00
Sean Dague
25fea01b92
further renaming of properties for clarity
2008-04-10 14:09:30 +00:00
Sean Dague
c176caeb05
moved fields to properties for UserDataProfile, which was
...
actually a little more work than I expected given the copious
use of out params.
2008-04-10 13:53:06 +00:00
Teravus Ovares
1178eddffc
* Brings back map tile generation based on the terrain. The algorithm produces a graphic that is a bit Dazzle-ish. A Dazzle-ish map tile is better then a grey map tile IMHO.
2008-04-10 13:37:39 +00:00
Teravus Ovares
b92c6901ad
* Fix a null reference when there's no [Economy] section in the opensim.ini
2008-04-10 13:05:01 +00:00
Teravus Ovares
9fec575b3e
* Made it safe again to use the restart button from the estate tools and the restart console command.
...
* It looks ugly on the console.. but it's really safe.. and restores some memory.
2008-04-10 10:27:03 +00:00
Teravus Ovares
a253ac0830
Patch by lulurun - 0000916: support secondlife client's "-url sim/x/y/z" option
...
Thanks lulurun!
2008-04-10 09:56:59 +00:00
Teravus Ovares
06967e230f
* Updates BetaGridLikeMoneyModule
...
* Several people have asked for a way to limit uploads, so I've decided to show people how to do this in the BetaGridLikeMoneyModule.
* Configure it in OpenSim.ini using the [Economy] header. See the bottom of the OpenSim.ini.example for more information.
* This also fleshes out the Economy API a bit more.
2008-04-10 09:36:55 +00:00
Teravus Ovares
b85624db18
* Adds twist support for Cubes, Cylinders, and Prisms in the Meshmerizer
...
* A tweak of the SimStatsReporter so it would report the prim capacity to be 45000.
2008-04-10 00:31:44 +00:00
Sean Dague
69d5eb3cb2
split out UserProfile
2008-04-09 20:38:25 +00:00
Sean Dague
ce5e51240f
NHibernate Inventory support. Lightly tested, but seems to work
...
well enough on my test environment. Will need to add some exception
catching down the road.
On to User Store.
2008-04-09 18:04:03 +00:00
Sean Dague
4cc3aad2f9
more futzing around here. None of this works yet because
...
bloody LLUUID isn't serializable, which is really annoying.
2008-04-09 16:01:57 +00:00
Justin Clarke Casey
8bd1f1c7c3
* Put explicit braces in for single line blocks
2008-04-09 15:36:10 +00:00
Justin Clarke Casey
f9646a0c81
From: Michael Osias <mosias@us.ibm.com>
...
"This is llDetectedKey for touch_start - it is already implemented for sensor."
Thanks Michael
2008-04-09 15:33:04 +00:00
Justin Clarke Casey
f512502e51
From: Kurt Taylor <krtaylor@us.ibm.com>
...
"a patch to add a deprecated call to throw an LSL deprecated specific exception, and the associated code cleanup in the functions."
Thanks!
2008-04-09 15:28:51 +00:00
Sean Dague
5861084e0b
make this a class
2008-04-09 15:20:26 +00:00
Sean Dague
f8cb4f993d
check in an OSUUID wrapper as potential replacement
...
for LLUUID in most of our code. Like LLUUID, this is
basically just a box type on the .NET Guid.
2008-04-09 14:38:23 +00:00
Sean Dague
0919df5cdc
checking in a chunk of work because I think I'm tackling
...
the UUID issue
2008-04-09 14:15:54 +00:00
Sean Dague
93d7c8bd31
oops, broke compile. This fixes it
2008-04-09 13:45:32 +00:00
Sean Dague
ff2184136d
match file to classname
2008-04-09 13:44:28 +00:00
Sean Dague
750291447e
changing around types a bit to make stuff more readable for
...
me.
2008-04-09 13:43:35 +00:00
Sean Dague
ea16221c1b
NHibernate Inventory getting close, except for some of the
...
complex folder queries.
2008-04-09 02:08:07 +00:00
Sean Dague
034255ac24
add a sample script for migrating from old inventory
2008-04-09 00:04:27 +00:00
Sean Dague
960d57090f
fix up Inventory hbm definitions to work. Adding indexes in
...
NHibernate is quite nice (though there will still need to be a
db creator bit carved out later).
2008-04-08 23:44:52 +00:00
Sean Dague
cb436ffe70
add comment for version field based on what Teravus said :)
2008-04-08 23:37:02 +00:00
Sean Dague
2aeeb4fe5f
move the mappings to .hbm.xml so NHibernate actually
...
sees them
2008-04-08 23:35:22 +00:00
Sean Dague
6d6af55108
added the folder mappings
2008-04-08 23:34:51 +00:00
Sean Dague
a6d27e0929
further refactor and rename of InventoryFolderBase properties
...
to reflect what they really are.
2008-04-08 23:26:31 +00:00
Sean Dague
8c82117207
added migration script for SqliteAssets
2008-04-08 23:04:16 +00:00
Sean Dague
d2744f5140
added Readme for migrations
2008-04-08 22:59:16 +00:00
Justin Clarke Casey
f5b254e0bf
* Minor: Show summary count of connected agents in 'show users' region console output
2008-04-08 20:54:18 +00:00
Justin Clarke Casey
8eab365e21
* Adjust some inventory lookup failure messages to reduce confusion as to what just went wrong
2008-04-08 20:31:36 +00:00
Justin Clarke Casey
f8faf18c66
* Following A_Biondi's suggestion, going to try returning a version number of 1 instead of 0 for the folder requested in a InventoryDescendentsPacket
...
* Can't hurt - it doesn't appear to cause any problems in a quick test.
2008-04-08 20:11:35 +00:00
Justin Clarke Casey
90422db35a
* Update code to use patched libsecondlife.dll which removes the problem where the AssetType enum was 'Primitive' rather than 'Object'
...
* The libsecondlife patch was also applied to libsecondlife itself in r1714
* Many, many thanks to Dr Schofield (IBM) for his help on this :)
2008-04-08 14:39:29 +00:00
Sean Dague
214bd204b1
LLUUID mapper actually appears to work now with
...
NHibernate for Assets.
2008-04-08 13:49:10 +00:00
Teravus Ovares
95e31c9f02
* Added stretchable ellipsoid support with configurable LOD. It's actually a split facet icosahedral geodesic sphere that's scaled.
...
* In other words, you can stretch spheres into oblong shapes now and watch them roll around like a football would.
* Still can't cut, twist or profile cut spheres yet.
2008-04-08 05:03:43 +00:00
Sean Dague
61daaa57a9
added mapping for InventoryItemBase
2008-04-08 03:09:56 +00:00
Sean Dague
32b8dd70d6
attempt to introduce custom LLUUIDString type for
...
NHibernate
2008-04-08 02:50:44 +00:00
Teravus Ovares
d0f7784101
* Adds poor support for ellipsis in the Meshmerizer. This will get better.. notice the huge nasty facets! Regular spheres still work as they did.
2008-04-08 01:29:45 +00:00
Sean Dague
a02b3fe015
refactor of InventoryCollection for good measure
2008-04-07 23:34:41 +00:00
Sean Dague
5ee75998ce
more refactoring, this time on InventoryFolderBase
...
* wrap attributes in properties
* clean up names a little bit
* clean up name styles
2008-04-07 23:27:05 +00:00
Sean Dague
f436815107
Refactor InventoryItemBase to do the following:
...
* wrap fields as Properties
* rename some fields/properties to more sensible names
* set style to PropName to match more standard C# approach
2008-04-07 23:15:35 +00:00
Sean Dague
bb2f163bf7
needed to add 4 characters to support the dashes
2008-04-07 23:03:09 +00:00
Teravus Ovares
e409892a9c
* Updated ODE.NET bindings to the ODE library.
...
* Fixed some Tapers with Cylinders in the Meshmerizer
2008-04-07 22:11:41 +00:00
Justin Clarke Casey
da9eeffc9e
* Objects which have their name or description changed while within inventory will now retain those details when rezzed to a scene
2008-04-07 21:33:25 +00:00
Sean Dague
c774cd1169
remove the debug files, these must have been added by accident
2008-04-07 21:08:40 +00:00
Justin Clarke Casey
033f0138c8
* Preserve original creator's name when an object is given
2008-04-07 21:03:03 +00:00
Sean Dague
79222a0b45
break out the 5 classes that were
...
InventoryItemBase into seperate .cs files 1 per class
2008-04-07 18:28:48 +00:00
Sean Dague
98b5276068
added swag #1 on Inventory NHibernate implementation. There
...
is no hbm.xml mapping yet, so this isn't going to do anything,
plus I'm sure I didn't get the list interfaces right. However
it now compiles, so worth getting into the tree.
2008-04-07 18:02:58 +00:00
Sean Dague
c5804cbb3a
fix bad indentation
2008-04-07 17:58:20 +00:00
Justin Clarke Casey
0e7c4046d3
* Nasty hack to reduce the incidence of spurious exceptions where a user deletes a newly rezzed object before the persistence thread gets to it from its queue.
...
* This should greatly reduce but not eliminate the problem - elimination probably requires a redesign of the prim persistence processes
2008-04-07 17:28:02 +00:00
Justin Clarke Casey
c5a5555d4f
* Minor: log message correction
2008-04-07 16:46:49 +00:00
Justin Clarke Casey
2caea75aa8
* Okay you can put down your pitchforks - this patch should fix rezzing of items (with inventory) on Windows
...
* Now properly dealing with prims which don't contain items - thanks to thomas for the patch which gave insight into this situation
* Also, an xml exception no longer crahes the client session
* Leaving in debugging lines in case there are further problems
* Not yet tested on Linux, though I'm just about to.
2008-04-07 16:30:29 +00:00
Sean Dague
2b23734a16
add some error messages for abuse of our IInventoryData interface
...
(i.e. using add to update, or update to add).
2008-04-07 15:01:00 +00:00
Jeff Ames
8833a72388
Update svn properties.
2008-04-07 14:19:08 +00:00
Charles Krinke
927003de33
Thank you kindly Diva & KMeisthax for adding the beginnings
...
of search capability to OpenSim in the form of a configurable
module.
2008-04-07 13:50:05 +00:00
Teravus Ovares
072b5faa34
* I XmlIgnored the TaskInventory Property as a temporary measure. Taking things and rezzing them works again. (though, I suggest waiting on taking things until justincc has an opportunity to look at the TaskInventory property causing the XML Serialization to overrun.) It's MinOccurs is 0 in the XML Schema, so it should work fine when he adds it back.
2008-04-07 11:21:44 +00:00
Jeff Ames
ac73033231
Remove some dead code.
2008-04-07 02:34:31 +00:00
Justin Clarke Casey
dfe5e9d4eb
* EXPERIMENTAL ROUGH DRAFT: First rough implementation of avatar to avatar item giving
...
* Now you can drag an object from your inventory and give it to another avatar
* !!! Use at your own risk !!! Many things are unimplemented as of yet, including permissions (the person receiving your item can probably do absolutely everything with it)
* Also, items for the receiving end up in their root folder rather than the objects folder
2008-04-07 01:46:00 +00:00
Jeff Ames
7149c8b0c6
Update svn properties.
2008-04-06 14:11:44 +00:00
Adam Frisby
0a0a3992cc
* Whoops, forgot to include all the new terrain file loaders and things.
...
* Added MapImageModule for handling world-map
* Added new DefaultTerrainGenerator.cs
* Added BMP loader
* Added GIF loader
* Added PNG loader
* Added TIFF loader
2008-04-06 14:04:59 +00:00
Adam Frisby
996309a6e1
* Various terrain engine fixes
...
* Includes patch #894 fixes for terrain load-tile
* Large number of other terrain fixes and new commands included.
2008-04-06 13:48:28 +00:00
Teravus Ovares
899f00b83d
* Fixed up some documentation
...
* Should help the sinking feeling when new avatar arrive in the scene.
2008-04-06 06:42:54 +00:00
Teravus Ovares
0340531ff0
* Implemented AgentPause and AgentResume. AgentPause extends the timeout for a client at the server by 3x. AgentResume restores the timeout to the normal amount.
...
* The linden client still doesn't like it when you have an image select box open for more then 100 or so seconds.
2008-04-06 02:05:19 +00:00
Teravus Ovares
9d299926dc
* Lowered the default throttle settings. They were way too high at 1.5MB/s!
...
* This will definitely help the missing prim problem (probably eliminate it entirely)!
* This will help the broken up land block problem (probably eliminate it entirely)!
* Warning, change the default throttle settings at your own risk ( and don't commit the throttle settings! )
2008-04-05 11:06:28 +00:00
Teravus Ovares
dbbb115c26
* The simulator now checks the parcel at the position that you get put by the grid server to see if you set it's landing point to a specified landing point. If you did, and the landing point isn't LLVector3.Zero, it puts you at the configured landing point.
...
* Currently the grid server sticks you at 128x128x128.. so that means it'll use whatever parcel is at that location to get this information. This allows greater customization of where people log-into and teleport-to if done right.
2008-04-05 09:47:05 +00:00
Justin Clarke Casey
57afbdbdbd
From: Kurt Taylor <krtaylor@us.ibm.com>
...
Patch to remove commented NotImpemented calls from within implemented script functions
2008-04-04 19:09:56 +00:00
Sean Dague
f010d398cf
make AssetBase use Properties instead of fields. This probably
...
breaks compatibility on grid ops because native serialization is
used here.
2008-04-04 18:14:00 +00:00
Justin Clarke Casey
f5ed635750
* Make objects appear in 1.19.1.4 inventory again
...
* You will probably need to clear your client's cache before this will take effect
* The problem was that the underlying libsecondlife.AssetType was returning "primitive" rather than "object". This fix is in lieu of correcting/updating our libsecondlife.dll
2008-04-04 17:43:29 +00:00
Justin Clarke Casey
cdff09d0bb
* Removing debugging goo for mantis 854 since the fix is reported to work.
2008-04-04 15:02:20 +00:00
Sean Dague
ae490c7d6f
From: Dr Scofield <hud@zurich.ibm.com>
...
ansgar and i have done a bit of clean up for the "create user" and "create
region" XmlRpc methods in RemoteController (contributed earlier by ansgar),
this add a bit of consistency checking, more error checking and also
documentation of the expected XmlRpc parameters.
2008-04-04 11:48:27 +00:00
Teravus Ovares
27876795f4
* Fixed up some documentation regarding the inventory descendants method XML. Cleaned up an error report. Noted at the top, why the two unused caps path variables must stay.
2008-04-04 08:33:29 +00:00
Teravus Ovares
42e4284277
* Fixes CAPS InventoryDescendants and the notorious 'LLSDParseException:expected </llsd>' error.
...
* Objects folder still exhibits strange behavior.
2008-04-04 08:07:49 +00:00
Teravus Ovares
75b192a2a0
* Fixing permissions on items returned via CAPS based inventory
2008-04-04 05:50:46 +00:00
Teravus Ovares
7bc0b7b6c1
* Fixes Region/Estate panel in current Linden Official client.
...
* Sets the default estate parentID to 1.. which means that all regions are treated like private estates in the client as opposed to Linden Mainland. (no space server hiccup message). If that message annoys you and you want to get rid of it, set your parentEstateID to 1.
2008-04-03 22:59:38 +00:00
Sean Dague
5e32d86b87
move NullStorage => OpenSim.Data.Null to be consistant with
...
where other data storage assemblies are.
2008-04-03 21:07:03 +00:00
Sean Dague
cd4348738a
Check in the remaining bits to do Asset store via NHibernate. Still
...
need to work out auto table creation in a reasonable way. Tommorrow
I'll work on getting the NHibernate bits in place to be able to put this
into the main tree.
2008-04-03 20:59:20 +00:00
Jeff Ames
4f174fbf57
Update svn properties.
2008-04-03 18:25:01 +00:00
Justin Clarke Casey
b9b99ee87c
* Attempted resolution for mantis 854
...
* Also adds more temporary debugging goo in case the fix didn't work
2008-04-03 17:13:45 +00:00
Justin Clarke Casey
042cd57e94
* From: Dr Scofield <hud@zurich.ibm.com>
...
* This patch removes voice code into a region module. This required the implementation of events and other code to allow region modules to register their own caps handlers, and should allow different voice module implementations.
* CAVEAT: This does not provide complete voice support, it merely provides the hooks so that it can be plugged in.
2008-04-03 15:44:20 +00:00
Justin Clarke Casey
4394c747f5
* Minor: fix doc glitch
2008-04-03 15:30:52 +00:00
Justin Clarke Casey
5fe4a39927
* Adding request time limiting strategy for texture requests, though this isn't useable yet
2008-04-03 15:28:50 +00:00
Justin Clarke Casey
6ef4f1bdae
* Resolve mantis 849
...
* Scripts in prims within linksets can now be properly edited using the 'edit linked parts' linden ui option
2008-04-03 13:33:46 +00:00
Sean Dague
fe14d65f07
point in time update of NHibernate Asset Mapping code
2008-04-03 12:29:25 +00:00
Teravus Ovares
2d33bf854f
* ODEPlugin: put a limit on the minimum size a prim can be ( scale <=0 ).
2008-04-03 04:02:46 +00:00
Sean Dague
341664eabc
from krtaylor
...
Fixe for Mantis 821
2008-04-02 18:58:57 +00:00
Sean Dague
1379d1bef8
remove really odd utf character at the front of this class
2008-04-02 18:20:48 +00:00
Sean Dague
fbc6c16fd7
starting to stub out NHibernate data source. This isn't in
...
prebuild yet so it's currently dead code in tree, and shouldn't
bother anyone. Once this does *something* I'll add it into the
main build. However it seemed like a good idea to commit work
as I go for people interested in it.
2008-04-02 18:12:33 +00:00
Justin Clarke Casey
272fbef65f
Minor: just some method comments
2008-04-02 17:34:53 +00:00
Justin Clarke Casey
f27f861072
* Attempt to resolve mantis 873 by placing caps removal operations in a critical section
2008-04-02 16:46:58 +00:00
Sean Dague
30ea28c3b1
fix ups to include OpenSim.Framework explicit includes (they
...
were implicitly included before). Everything builds again.
Now off to testing.
2008-04-02 16:00:40 +00:00
Sean Dague
849592391a
move signing file
2008-04-02 15:41:30 +00:00
Sean Dague
86cf07f1c4
changing more references to OpenSim.Data
2008-04-02 15:38:44 +00:00
Sean Dague
f52c8f3970
attempt to fix up all refernces to new directory structure
2008-04-02 15:36:01 +00:00
Sean Dague
c52c68f314
whole lot more moving
2008-04-02 15:24:31 +00:00
Sean Dague
35420b21a3
reorganizing namespaces to put all the Data stuff into it's own namespace
...
/ dir structure. This is coming in over a few changesets so consider trunk
broken for the next 30 minutes as these get pulled together.
2008-04-02 15:22:39 +00:00
Justin Clarke Casey
1038c244cf
* Add some temporary task inventory item inflation debug messages to investigate mantis 854
2008-04-02 15:16:32 +00:00
Sean Dague
b28ef3ca14
refactor, make the file name the class name
2008-04-02 14:49:35 +00:00
lbsa71
f210cf0195
* Added AvatarAppearance.sql for MSSQL
2008-04-02 13:06:52 +00:00
lbsa71
667ebc8ea2
* Reworked Data Framework so that MSSQL works
...
* Introduced uint as field type
* Removed what should be superfluous Guid handling
* Introduced stub MySQLDataReader if we need to fix the Guid handling anyway
2008-04-02 13:06:18 +00:00
MW
0e789a9a01
Set default terrain to complete flat terrain (at 26 height). Even flat terrain as default seems better than the messed up terrain I was getting.
2008-04-02 11:03:44 +00:00
Teravus Ovares
b790a16e98
* Updating the version of the ODE library. (big update). The Mac library needs to be updated still.
...
* Adding some XMPP stuff that's incomplete.
2008-04-02 01:03:31 +00:00
Justin Clarke Casey
7ec3bb71e6
* Remove the quit command from the inventory console which was actually adding a new inventory instead
2008-04-01 17:11:00 +00:00
Justin Clarke Casey
96ecb62197
* Fix for mantis #678
...
* Shift copied prims should now keep the script in both prims over region startups
2008-04-01 17:06:33 +00:00
MW
cdf27ece5f
few more minor changes, needs prebuild to be ran.
2008-04-01 13:34:33 +00:00
MW
f43e077150
a few small changes
2008-04-01 13:09:29 +00:00
Sean Dague
731dcbad5b
sadly, had to modify line by Ter because it caused mono cil compiler
...
to spin off into a seemingly infinite loop.
2008-04-01 13:04:29 +00:00
Teravus Ovares
a0a0229fdf
* Set Svn Properties eol-style: |337
2008-03-31 23:54:49 +00:00
Adam Frisby
15a1565bf8
* Fix for terrain issue whereby loading or manipulating a terrain item from the console would not cause the terrain to be saved to the Scene. (Mantis #845 )
2008-03-31 21:05:22 +00:00
Justin Clarke Casey
106fd2f616
* From: Dr Scofield <hud@zurich.ibm.com>
...
* (and Ansgar/Ansi)
* Fleshes out the voice stubs to better interact with the viewer CAPS requests - no actual voice support yet!
* In his own words
"the attached patch enhances the existing voice support by returning a proper voice account user and password and is preparing the config file so that we can specify a SIP server (not yet working). currently the SIP is hardcoded. the next step is to refactor voice support into a region module. working on that. "
2008-03-31 18:41:24 +00:00
Justin Clarke Casey
93303072dd
* Minor: If a user exists but has no inventory in standalone, automatically create new inventory folders
...
* This mirrors the grid behaviour
2008-03-31 18:29:08 +00:00
Justin Clarke Casey
48fc4ee059
* Log exceptions which make it up to the top of the http request frame, rather than having them disappear off into the ether
2008-03-31 17:34:32 +00:00
Justin Clarke Casey
af3118eccd
* Fix problem where inventory code throws a swallowed exception on grid mode if the avatar has never logged in before
2008-03-31 17:08:58 +00:00
Justin Clarke Casey
5f04cebb25
* Fix for mantis 131, 796
...
* Take copy now actually takes a copy into inventory rather than the original
2008-03-31 16:12:24 +00:00
Jeff Ames
e18d046d76
Fixed typo in AvatarFactoryModule.cs
2008-03-31 16:06:12 +00:00
Justin Clarke Casey
d53dd8a7cc
* Minor change on region grid asset client to change two store log messages to one
2008-03-31 14:19:40 +00:00
Jeff Ames
8af0c9a1af
Update svn properties.
2008-03-31 03:29:34 +00:00
lbsa71
f52886f8f5
* Added competely untested MSSQLMapper
...
* Added the new mapper to the mapper factory
* Made choice of mapper configurable
* This means, in hteory, that we can persist avatar appearance on MSSQL as well
2008-03-30 21:04:45 +00:00
Teravus Ovares
8aa4308097
* Minor cleanup
2008-03-30 19:58:14 +00:00
Adam Frisby
c502416548
* Quick fix. Re-enabled some code which registers the Terrain Module's Commander with the scene (whoops).
2008-03-30 09:07:57 +00:00
Adam Frisby
fadd19f314
**Big ass update warning**
...
* Renamed plugin console message, to send a message to a plugin, use either "plugin <message>", or any unrecognised message will be sent ("plugin" sends explicitly) This replaces the old "script <message>".
* Terrain commands - "terrain <command>" now works again. "Script terrain <command>" does not. Many of the commands have now been reimplemented, eg load-tile. However some have new syntax.
* New console command handler, you can now use things like "terrain help" or "terrain save help". See TerrainModule.cs for an example of how to use the new "Commander" class.
* Commander class - advanced processing of console input and also enables a script API to be generated from registered console commands.
2008-03-30 09:03:38 +00:00
Teravus Ovares
fd2caf5f16
This update has good news and bad news, first the bad.
...
* This update breaks inter-region communications, sorry.
* You will need to run prebuild.
Next, the good;
* This update solves the unexpected binary element when Linux simulators inform windows simulators and vice versa. So Linux Simulators and Windows simulators are 100% compatible again.
* This update introduces an Integer in the prim crossing method to tell the receiving simulator which XML method to use to load the prim that crossed the border. If the receiving prim doesn't support the method, the prim crossing fails and no prims are lost.
That being said, it's best to update all your simulators to this revision at once.
2008-03-30 08:01:47 +00:00
Justin Clarke Casey
2fddd775f4
* Stop the grid inventory service sending all folder and item details twice
...
* This change will have no functional impact - we were already filtering out the dupes on the other end.
2008-03-30 00:45:04 +00:00
Justin Clarke Casey
a6999f8a5d
* Refactor: Remove unused inventory methods, some of which weren't properly implemented anyway.
2008-03-29 23:07:48 +00:00
Justin Clarke Casey
7722a87b69
* Tidy up 'show users' display
2008-03-29 22:57:09 +00:00
Justin Clarke Casey
a90fbb308d
* Minor log message fix per mantis 829
2008-03-29 22:44:14 +00:00
Justin Clarke Casey
9acec3506f
* CODE: Add phat warning to RootFolders http request since it no longer does what it used to do (not that the name was actually accurate in the first place)
2008-03-29 22:27:55 +00:00
Justin Clarke Casey
875211b262
* Various 1.19.0.5 grid inventory request fixes. These will only take affect once the region and the grid servers have upgraded to this revision
...
* You may also need to clear your cache before seeing any effect.
* These fixes may or may not affect inventory on the RC client.
* These fixes should make non-root folders work better, stop inventory failure on first login, allow trash to be emptied and make texture picker in object edit view work properly
* Fixes are 1) make initial root folder request wait for async inventory delivery, 2) deliver all folders in the initial login skeleton, not just the root child ones and 3) deal
with situations where we receive child folders from the inventory service before their parent is received.
2008-03-29 22:18:44 +00:00
alondria
0e0445573e
Patches llAvatarOnSitTarget to return NULL_KEY opposed to a blank string. Should fix Mantis 838
2008-03-29 19:49:07 +00:00
MW
7fcffa3a3a
Re-enabled terrain texture generation for the world map. Adam can clean up/ sort it out when he gets time.
...
Most likely doesn't really work in grid mode as the generated textures are marked as temporary and I don't think they are updated to the asset server. We have to either live with these textures being sent to the asset server, and manually clean them out from time to time or wait until there is some asset management system in place.
Also currently the texture is only generated at region startup, it is not updated after terraforming.
2008-03-29 17:18:47 +00:00
Jeff Ames
86128ba4d4
Fix compiler warnings in BulletXPlugin.
2008-03-29 04:30:19 +00:00
Jeff Ames
bf7ef8c41a
Set svn:eol-style.
2008-03-29 04:25:52 +00:00
lbsa71
7f11079f57
* Refactored out common http handler operations
2008-03-28 21:43:46 +00:00
lbsa71
ca718b6f8d
* Introduced common abstract UserDataBase provider
...
* Weeded out multiple AvatarPickerAvatar classes
2008-03-28 19:58:45 +00:00
Justin Clarke Casey
0a47a75b88
* Send full inventory folder skeleton to standalone client logins rather than just the root child folders
...
* This may resolve some current problems with non root child folders on standalone installations.
* A fix for the same problem in grid mode will come soon.
2008-03-28 19:35:01 +00:00
Justin Clarke Casey
35dec2e53a
* Refactor: Eliminate RequestUsersRoot() redundant method
2008-03-28 17:37:55 +00:00
Justin Clarke Casey
c8f79eb9b4
* Refactor: Rename CreateInventoryData() to GetInventorySkeleton()
...
* Replace the unused default GetInventorySkeleton() impleemntation with an abstract declaration - less confusing this way imho
* Add some comments
2008-03-28 16:39:38 +00:00
Justin Clarke Casey
512e52be4c
* Remove pointless boolean on AgentInventory.CreateRootFolder()
2008-03-28 16:27:29 +00:00
MW
a13d68d98c
fixes mantis #778 and shoots himself for making such a mistake to begin with, but also blames Tedd for the way the script functions have wrapper methods that call the same named method in a different class, is it my fault if in two such functions, I forget to add "m_LSL_Functions." and instead cause a recursive loop until the stack overflows.
2008-03-28 15:32:46 +00:00
lbsa71
0e16488ca8
* Introduced base abstract provider class for GridData
2008-03-28 15:05:06 +00:00
MW
ac27d9250d
attempt to fix mantis # 779.
2008-03-28 14:59:52 +00:00
lbsa71
8c901e9347
* Introduced common abstract AssetDataBase implementing IAssetProvider
...
* changed the semantics of SQLiteBase to SQLiteUtils
* Added abstract placeholder files for the other db providers
2008-03-28 14:54:20 +00:00
MW
830626999c
Applied patch from mantis# 825, thanks A_Biondi
2008-03-28 14:47:51 +00:00
lbsa71
ed74b8af5f
* removed redundant constructor
2008-03-28 14:26:28 +00:00
lbsa71
88a14c9a76
* fixed pk_violation on rename for MSSQLInventoryData
...
("le fix le plus ugly for le problem trés dumb")
2008-03-28 14:19:17 +00:00
Sean Dague
2eda6a1296
From: Michael Osias <mosias@us.ibm.com>
...
This patch implements llMessageLinked.
I had to make a change to llGetLinkNumber to return m_host.LinkNum + 1 for
link sets of more than 1 prim, or 0 for a single object, since according
to:
http://rpgstats.com/wiki/index.php?title=LlMessageLinked
linksets with 2 or more prims start the link numbering at 1, but a single
prims link number is 0.
2008-03-28 12:47:03 +00:00
Justin Clarke Casey
0609970f2e
* Correct asset type of Lost and Found folder - this might stop it appearing twice
...
* Other minor corrections to initial inventory contents
* These will only take affect for new users
2008-03-27 18:26:01 +00:00
Justin Clarke Casey
14ee78b3af
* Tweaking master uuid exception to make it clearer what just went wrong (user server timeout)
...
* Increasing GetUserProfile requests only to 6 seconds from 3
* Not completely sure what effect this will have, though probably not much
* At some point one will have to accept that if the grid servers are taking many many seconds to respond, running using that grid will not be viable.
* Perhaps there should be a big warning up front if grid request times are slower than n seconds.
2008-03-26 18:06:29 +00:00
Justin Clarke Casey
c538ea5024
* Increase timeout for initial simulator login from 16 to 30 seconds
...
* Comments, capitalization
2008-03-26 17:21:46 +00:00
Justin Clarke Casey
bcd68fb6c4
* More log messages in the region registration process for debug purposes. Some of these may be temporary
2008-03-26 12:44:43 +00:00
Justin Clarke Casey
c00e56d3ee
* Increase information in simulator_login log messages
2008-03-26 12:34:02 +00:00
Justin Clarke Casey
35b1cae593
* Start printing the region simulator_login exception to the log
2008-03-26 12:28:59 +00:00
Johan Berntsson
7fe243e3d4
Committed patch from Lulurun to fix Mantis 817. Thanks Lulurun
2008-03-26 02:49:35 +00:00
Johan Berntsson
7f5e1546e2
Removing redundant code
2008-03-26 02:12:28 +00:00
Justin Clarke Casey
ad6783ff40
* Massaging CAPS setup/teardown log messages
...
* Leaving quite a few debug messages in for now to help deal with bugs arising
2008-03-25 22:04:41 +00:00
Justin Clarke Casey
ad808579a2
* Print out the exception stacks of resolution failures, temporarily
2008-03-25 20:05:02 +00:00
Justin Clarke Casey
ed9cdbe99f
* Temporary hack to swallow neighbour contact problems on startup (in response to osgrid issues)
...
* Not sure what the effect will be, but can't be any worse than the current constant sim crashes.
2008-03-25 19:39:41 +00:00
MW
13a077674c
checking that these two files are commented out
2008-03-25 19:03:23 +00:00
MW
c2ea7b99e1
Moved Avatar appearance Factory to its own project so that the reference to MySQLDatabaseMapper could be removed from Region.Environment.
...
Added a using OpenSim.Framework.Data statement to MySQLDatabaseMapper , to try to fix the build problem that has been reported on the mailing list.
2008-03-25 18:48:07 +00:00
Justin Clarke Casey
8c74cf7758
* Tear down CAPS and http handlers when an agent leaves a region (via crossing, teleport or logout)
2008-03-25 18:47:14 +00:00
Teravus Ovares
e74892ee44
* Use Face normal to offset new prim instead of the hard coded pos.Z += 0.25f; This allows proper positioning of prim based on the face you click. ( Yes, you can click the bottom face of a prim that's above you, and the new prim appears directly below it. )
...
( Remove ray caster Verbosity )
2008-03-25 17:31:40 +00:00
Teravus Ovares
e11e6dc308
* Use Face normal to offset new prim instead of the hard coded pos.Z += 0.25f; This allows proper positioning of prim based on the face you click. ( Yes, you can click the bottom face of a prim that's above you, and the new prim appears directly below it. )
2008-03-25 17:28:09 +00:00
Justin Clarke Casey
2517fe7acd
* Remove old CAPS http listeners when a client logs out from a scene
...
* Not yet removing listeners when a client leaves a region without logging out
2008-03-25 17:08:20 +00:00
Teravus Ovares
3d1b4f8578
* On Ray casting. Now returning the face normal of the collision face.
2008-03-25 16:09:43 +00:00
lbsa71
ba2de258f4
* Refactored out circular reference in Region.Environment <-> Framework.Data.Base
...
We REALLY need to get the db layer sorted soon...
2008-03-25 14:27:39 +00:00
Teravus Ovares
301c25950d
* Committing some voice related caps with hard coded responses so more debugging can occur.
2008-03-25 05:56:27 +00:00
Jeff Ames
9d1b42c39a
Comment out unused private methods.
2008-03-25 03:49:08 +00:00
Jeff Ames
a8d9a58dd2
Fix a couple more warnings.
2008-03-25 03:43:24 +00:00
Jeff Ames
a7556af7de
Fix a few compiler warnings.
2008-03-25 03:37:48 +00:00
Teravus Ovares
a21112ccee
* Adds llMoveToTarget and llStopMoveToTarget support to the ODEPlugin.
...
* It doesn't generate at_target events, because they don't exist yet in the script engine.
* The Tau is different, however, compatible with scripts I tested.
* Not perfect... but pretty good.
2008-03-25 03:36:31 +00:00
Jeff Ames
d2b1a8aa1e
Minor formatting / svn properties cleanup.
2008-03-25 01:45:23 +00:00
Teravus Ovares
dd6e6e7bdf
* Added llApplyImpulse in the local frame.
2008-03-24 22:48:34 +00:00
alondria
15a22e993d
Implements llGetInventoryPermMask()
2008-03-24 21:56:52 +00:00
Teravus Ovares
dd6a9ffbc7
* OBB: Flipped the -y face normal so ray casting against the -y face correctly results in the point of collision.
2008-03-24 21:48:33 +00:00
Justin Clarke Casey
e3949280b1
* Inflate my commits with yet another snippet of documentation... (j/k)
2008-03-24 21:28:45 +00:00
Justin Clarke Casey
3a5521d204
* Put in tiny doc snippet while I remember
2008-03-24 21:27:14 +00:00
Justin Clarke Casey
f14c102c7a
* Clean up Scene.AddCapsHandler(). There was a race condition warning, but I don't think this is now relevant...
...
* Remove some now extraneous CAPS related messages
2008-03-24 21:21:05 +00:00
alondria
2b4915ef27
Modified llGetInventoryName() so it indexes inventory in the same manner the LL grid does. (Thanks Teravus for pointing this out.)
2008-03-24 21:19:01 +00:00
Justin Clarke Casey
3aa843cea8
* Remove a spammy comment I meant to remove from the last commit
2008-03-24 20:25:48 +00:00
Justin Clarke Casey
6489746a6b
* Make standalone non-home region caps work again.
...
* When I removed the hard coding for the http port last night, I foolishly assumed standalone would be okay :)
2008-03-24 20:22:58 +00:00
alondria
3be815b206
Implements llGetInventoryName() - the order is based upon inventory key, which probably doesn't match 100% with LL's grid.
2008-03-24 19:58:53 +00:00
Justin Clarke Casey
45b9114df7
From: Michael Osias <mosias@us.ibm.com>
...
Fixes mantis 771 - multiple uses of llListen cause duplicate events
Thanks Michael!
2008-03-24 19:44:25 +00:00
alondria
9117dfc858
Implements llGetInventoryNumber()
2008-03-24 19:29:35 +00:00
alondria
8a39d04f6d
Implements llGetInventoryType()
2008-03-24 19:11:56 +00:00
alondria
3423ed4739
Implements llGetInventoryCreator()
2008-03-24 19:05:44 +00:00
Justin Clarke Casey
ca7c954a61
* Fix build break in last revision. Thanks to paulieFemto for pointing it out.
2008-03-24 18:45:21 +00:00
Justin Clarke Casey
185dbb06af
* Picky comment change
2008-03-24 18:26:43 +00:00
Justin Clarke Casey
1a970d8f2d
* Create null limit strategy
2008-03-24 18:25:50 +00:00
Justin Clarke Casey
8c0955321a
* Refactor: Genericise request limit strategies and move to OpenSim.Framework.Communications.Limit
2008-03-24 18:21:06 +00:00
Johan Berntsson
56dfa4e6da
Fixed a small XmlRpcCommand bug
2008-03-24 03:03:21 +00:00
Johan Berntsson
39f340e687
XmlRpcCommand refactoring
2008-03-24 01:37:00 +00:00
Johan Berntsson
12a32b0608
Added a plugin loader in GridServer
2008-03-24 01:21:01 +00:00
Justin Clarke Casey
ca6e557075
* minor: check in the rest of a comment I forgot to finish off in the last revision
2008-03-23 21:32:30 +00:00
Justin Clarke Casey
da531fa9e1
* Start passing around a region server's http port in RegionInfo.
...
* This means that caps methods (editing scripts, poss map functions, etc) on non-home regions should now work with servers which are listening for http ports on a non default
(9000) port.
* If you are running a region server, this may only work properly once your grid server upgrades to this revision
* PLEASE NOTE: This shouldn't cause inter-region problems if one end of the connection hasn't upgraded to this revision. However if it does, the instability will persist until
the grid and region (and possibly all the region's neighbours) have upgraded to this revision.
* This revision also adds extra login related messages, both for success and failure conditions
2008-03-23 21:21:39 +00:00
alondria
68d016517d
Implements llGetParcelPrimOwners()
2008-03-23 18:15:08 +00:00
Teravus Ovares
f82227a186
* Added a little more stability for getting the object list from the parcel box. (previously it crashed my simulator)
...
* Found and gracefully handled a few situations where null references occur. (m_rootPart again!)
2008-03-23 07:10:04 +00:00
Teravus Ovares
dc850df50a
* Implements Oriented Bounding Box raytracing.
...
* It's not perfect, but it's good enough. (rarely erroneously returns a backface collision)
* After updating to this revision, rez a prim on another prim and watch it appear where you'd expect it to appear.
2008-03-23 06:24:59 +00:00
alondria
5deca3f0c5
Implements (I hope): llRemoveFromLandBanList, llRemoveFromLandPassList, llAddToLandBanList, llAddToLandPassList, llResetLandPassList, llResetLandBanList
2008-03-23 06:08:52 +00:00
Jeff Ames
0d43aaa337
Fix llParseString2List bug when separator is longer than 1 character.
2008-03-23 00:39:35 +00:00
Jeff Ames
9a2b289e32
Fix compiler warnings in pCampBot, TestSuite, and ScriptEngine/RemoteServer. Thanks daTwitch!
2008-03-22 23:52:48 +00:00
Jeff Ames
37121bcf72
Update svn properties.
2008-03-22 23:39:07 +00:00
mingchen
71ca162821
*Moved LandManagement into its own region module (spiffy!)
2008-03-22 23:10:22 +00:00
alondria
5ebef6410e
Implements llLoopSound(), llStopSound(), and llAdjustSoundVolume().
2008-03-22 23:02:41 +00:00
Justin Clarke Casey
74023aa97c
* Miscellaneous comment before I found out that mantis 807 probably isn't an issue worth fixing.
2008-03-22 22:17:35 +00:00
Justin Clarke Casey
170e1a8a09
* Make master UUID exception a bit more useful by telling us which uuid it was trying to look up
2008-03-22 21:19:45 +00:00
Justin Clarke Casey
61ae75f364
* Catch the occasional resolution exception that comes out of SceneCommunicationService.EnableChildAgents so we can see what hostname is failing
2008-03-22 20:44:15 +00:00
Justin Clarke Casey
6ce79a0f78
* Downgrade 'texture not found' message to DEBUG and stop putting out 'already dispatched' message completely temporarily
...
* I believe that if the Linden client has not started to receive a texture after 15 seconds, it re-requests it.
* My hypothesis is that the texture packets are often still in the texture queue (esp. if the client has just cleared its cache), so another load of packets get added...
* If this is the cause, resolution is going to be rather complicated.
2008-03-22 19:15:01 +00:00
Justin Clarke Casey
936f961a53
* Reducing spam on console so we only notify once if we're dropping repeated requests for missing textures
...
* Also minor logic change so that we actually do retry missing texture requests (we weren't before)
2008-03-22 18:30:54 +00:00
Justin Clarke Casey
625e8f7700
* Minor log message change
2008-03-22 17:56:05 +00:00
Justin Clarke Casey
e211a3b00b
* Tell the user what the new terrain commands format is if they try to execute a deprecated one
...
* As per CharlieO's suggestion in #806 . Thanks!
2008-03-22 10:09:09 +00:00
Teravus Ovares
7854f6f4a2
* Committing some math to discover the Oriented Bounding Box and decomposing it into planes and normals.
...
* No obvious functionality difference as the Ray-cast code is incomplete for OBB right now.
2008-03-22 03:40:38 +00:00
Charles Krinke
2f3bb3b836
Remove a couple more compiler warnings by commenting unused variables.
...
This takes us down to 15 compiler warnings on a VS2005 C# build.
2008-03-21 23:31:32 +00:00
alondria
6ac21141c6
Adds in +, -, and / operators for Rotations (and fixes Mantis 671)
2008-03-21 21:31:18 +00:00
alondria
d3515bf22e
Woops - forgot to call m_host.AddScriptLPS(1) in llGetObjectDetails....
2008-03-21 20:20:39 +00:00
Justin Clarke Casey
be83ac37f9
* Small adjust to last commit's logging so we only print out one warning when we start dropping requests
2008-03-21 20:19:43 +00:00
alondria
181c5ab7d7
Implements llGetObjectDetails()
2008-03-21 20:04:52 +00:00
Justin Clarke Casey
45ea156804
* If a client session requests the same texture more than n times (currently n=5), we now drop the subsequent requests
...
* This may improve region memory usage
* This is a short-term response to a problem whereby some clients keep requesting the same texture even after we've sent it
* This treats the symptom rather than the cause.
* n can be adjusted by changing the constant at the top of UserTextureDownloadService if necessary
2008-03-21 19:16:29 +00:00
alondria
d76c6ee140
Implements llKey2Name().
2008-03-21 18:45:09 +00:00
Charles Krinke
1e452dacf4
Comment out an unused 'str' and add a WriteLine to use
...
an "Exception e" with e.ToString() to eliminate 2 warnings.
2008-03-21 17:06:31 +00:00
Charles Krinke
21e5e65bb7
Comment out "m_randomizeWater" and "ms" until we use them later.
2008-03-21 16:52:55 +00:00
alondria
5c41051fda
Implemented llOverMyLand() and correct llGetOwnerKey() to properly return the information for the argument key, opposed to the object the script is in.
2008-03-21 15:34:51 +00:00
Teravus Ovares
0cb05c1952
* Updated ray tracing code. It's now good enough to use when the XYZ vector components of the scale have a difference of less then 4.5 meters.
...
* When a new prim is created and raytracing is called for, raytrace from the camera position to the ground in the direction of the Norm(RayEnd - RayStart).
* If we got a hit based on our camera, create the new prim at the edge of the prim we hit.
* Don't raytrace if the difference between any component of the vector exceeds 4.5meters.
2008-03-21 05:54:56 +00:00
Adam Frisby
803670e6ea
* Removed more encoding faults.
2008-03-21 02:36:34 +00:00
Adam Frisby
fd8aa566b5
* Removed a bad encoder.
2008-03-21 02:32:56 +00:00
Adam Frisby
7286bd60b0
* Converted a large number of ASCII encodings to UTF8.
...
* We should not be using ASCII anywhere except for legacy compatibility reasons.
* A large number of UTF8 Encoders are being used in places where we should be using Util.StringToField instead. These have been tagged with // ENCODING FAULT
* This should fix Mantis#799 - Japanese Profile Text does not work.
2008-03-21 02:26:00 +00:00
Teravus Ovares
dc79146d01
* Fix for #499 : linked primsets don't rotate properly when using a door script that works OK on SL
...
* Fix for #693 : llSetRot malfunction in linked prims causing instance of invisible prim
2008-03-21 00:52:41 +00:00
Justin Clarke Casey
c1beb85315
* First draft resolution of mantis 777, 734, 389 - scripts do not save in non-home regions
...
* Should work in multi-region standalone and grid modes
* This should also solve other non-home region caps issues (map requests, RC client inventory requests, etc)
* We now pass CAPS information on to the destination region on region crossing, and set up a CAPS object when an agent becomes a master
* Current limitation is that this will only work if your http_listener_port is 9000
* This is a very early code cut (lots of bad practice, hard coding and inefficiency). However, I wanted to get this out there for feedback and my own sanity. Next few patches will clean up the mess.
2008-03-20 20:04:45 +00:00
MW
f61ea1998e
Added back a fix that lbsa71 did aqes ago to fix a buffer overflow in the packetpool, which somewhere through time got lost/reverted
2008-03-20 15:33:08 +00:00
Justin Clarke Casey
20473af892
Another poxy patch which consists mainly of logging changes (some already commented out) to find out what CAPS is doing
2008-03-20 13:03:26 +00:00
Jeff Ames
84289cfb4b
Fix server crash when setting prims physical under basic physics.
2008-03-19 19:33:38 +00:00
Justin Clarke Casey
2b78c40d89
* Adding log debugging messages and making others more explicit
...
* This reveals that the problem with saving scripts in a non-home region in multi-region configurations is due to a CAPS setup issue
* For some reason the client is still using the CAPS on the region it just came from, causing the ScenePresence lookup to fail (since the presence is now, correctly, a child agent).
2008-03-19 19:25:10 +00:00
Teravus Ovares
8d5bcc9da1
* Fix for if 782: Locked prims may still be moved by click+drag.
...
* Remember, your admin user and estate managers can move locked objects that are not owned by them. That functionality differs from the Linden way of thinking and it's by design! It is not a bug! Create a non-god user and use that as your normal account.
2008-03-19 18:32:25 +00:00
Justin Clarke Casey
f747687c8f
* Patch to add llSetLinkPrimitiveParams stub
...
* Thanks krtaylor
2008-03-19 17:28:21 +00:00
Jeff Ames
3f2ea4f647
Thanks Ahzzmandius for fix for overflow in user profile About box or First Life About box when using non-ASCII encodings (bug #769 ).
2008-03-19 15:12:48 +00:00
Justin Clarke Casey
93d05b8b1f
* Print a warning every 20 times a client requests a texture that it should already have received
...
* The warning will be
[USER TEXTURE DOWNLOAD SERVICE]: Received {0} requests for already dispatched texture {1} from client {2}
This is to see whether the texture packet queue memory leak is caused by clients continually re-requesting textures they should already have
2008-03-19 14:38:58 +00:00
Justin Clarke Casey
16cd6cd82e
* Documentation patch from krtaylor. Thanks!
2008-03-19 10:47:40 +00:00
Jeff Ames
a0e1be3280
Fixed some comparisons of LLUUIDs to null.
...
Thanks to DrSchofld for pointing this out.
2008-03-19 09:36:13 +00:00
Justin Clarke Casey
d135dad051
* Add a large amount of extra locking to m_parts in SceneObjectGroup
...
* Should help stop any InvalidOperationExceptions caused by concurrent read/write
* The extra locking should be okay, but I'm really surprised we've got away without mucho crashes due to this...
2008-03-18 20:42:01 +00:00
Justin Clarke Casey
f77ab46184
* Stop (which currently removes) all scripts in an object when that object is deleted from the region
2008-03-18 20:11:35 +00:00
Justin Clarke Casey
78e24380c8
* Stop grid inventory network failures crashing the client session
...
* Now the operation will just fail and post a message to the log instead, which may be mysterious to the client but isn't so brutal
2008-03-18 19:52:07 +00:00
Justin Clarke Casey
18f9f1410d
* Just inserting some exploratory comments into inventory code
2008-03-18 18:19:44 +00:00
Jeff Ames
e5b9144282
Formatting cleanup.
2008-03-18 15:30:38 +00:00
Adam Frisby
aad69b9018
* Applying Mantis Patch #518.2 - State not persisted in MySQL DataStore
2008-03-18 14:54:44 +00:00
Jeff Ames
bf8b5844f2
Formatting cleanup. Minor refactoring.
2008-03-18 14:51:42 +00:00
lbsa71
9c428d9935
* Applied Grumly57 patch for #781 ; Thanks, Grumly!
2008-03-18 13:39:29 +00:00
Justin Clarke Casey
0b7626b630
* Remove unused (and somewhat nonsensical) method in PhysicsActor
...
* Thanks for DrScofld for drawing attention to this
2008-03-18 11:37:34 +00:00
Justin Clarke Casey
f81c491725
Patch from DrSchofld (IBM). In his own words
...
structs (such as LLUUID) are considered values by mono. comparing them against null makes no sense and the mono compiler will flag that as evaluating to always false --- except if "cleverly" disguised. the attached patch fixes such an occurrence in OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandPlugins/SensorRepeat.cs.
[yes, i'm on a crusade against comparing structs against null, go ask jradford from libsl ;-)]
2008-03-18 11:32:44 +00:00
Teravus Ovares
443c66b432
Since we don't yet have a reliable way to release the lock that prevents a user from logging in a second time if they're already registered as logged in;
...
* If a user logs in and they are noted as agentOnline. Set agentOnline = false and send a 'you're already logged in' message to the user asking them to wait 5 minutes. These 5 minutes are not enforced (because there's no foolproof interlock release yet without the grid operator getting a support call for every little sim crash). When the user gets the message, they can log-in immediately after it, but the user can expect weird results if they don't wait 5 minutes and log-in to the region they were in previously.
2008-03-18 06:03:50 +00:00
Teravus Ovares
42857fe4e9
* Added the ability to type the partial name of a region in the start location box and go to that region if it's there. If no close match was found, it sends you home. This is tested on mySQL. There's untested code on grids that are based on sqlite and MSSQL. The SQL statements *should* be right, but your results may very.
...
* Ex, if you want to go to Wright Plaza, you simply need to type Wright Plaza in the start location in the client when you log-in.
2008-03-18 05:44:25 +00:00
Jeff Ames
47180080f0
Formatting cleanup.
2008-03-18 05:16:43 +00:00
Jeff Ames
175dc285ff
Added copyright messages. Set svn:eol-style. Minor cleanup.
2008-03-18 03:51:59 +00:00
Jeff Ames
9f7639fd6d
Formatting cleanup.
2008-03-18 03:41:05 +00:00
Teravus Ovares
4e30f862af
Building on Joha's update...
...
* Server now listens to the client's start location request for 'home' or 'last' and sends the user to the home location or the last location.
2008-03-18 03:09:38 +00:00
Johan Berntsson
040a887b9c
Last position will be stored in the DB on logout, and the avatar can continue from the same position in the next login (only with MySQL at the moment)
2008-03-18 01:38:07 +00:00
Justin Clarke Casey
bbddc0dbe7
* Move missing texture request forward so that we don't actually ask the AssetCache for it if we know it's missing.
2008-03-17 21:44:54 +00:00
Justin Clarke Casey
872184fa2a
* Inserting code to prepare to fix trash emptying and the edit texture inventory (again)
...
* Can't just do this fix since it stops subfolders working (though it appears subfolder renaming may be fubar at the moment)
2008-03-17 21:34:58 +00:00
Justin Clarke Casey
9122762dc8
* More almost completely unproductive log message fiddling
2008-03-17 19:13:15 +00:00
Justin Clarke Casey
37c32e1154
* Make it more obvious if local user services are being used
...
* Tell the log whether the sim is started in standalone or grid mode
2008-03-17 19:08:23 +00:00
Justin Clarke Casey
d137d4b907
* DEV: Remove client's CAPS handlers object when they log out
2008-03-17 18:16:36 +00:00
Jeff Ames
a8aeec29da
Fix a few mono compiler warnings. Minor cleanup.
2008-03-17 17:39:42 +00:00
Justin Clarke Casey
cd1978b424
* Reduce the annoyingness of clients that continually request unfound textures (probably for some good reason) by dropping all subsequent requests after the first reply.
...
* Print out a console message every 20 tries rather than every single one.
* This weakens the problem but does not eliminate it
2008-03-17 17:30:01 +00:00
Jeff Ames
7d1dcf3e68
Replaced some magic PCode numbers with enum values.
2008-03-17 17:23:49 +00:00
Jeff Ames
825c89e7ac
Replaced some Console.WriteLine calls with writes to log.
2008-03-17 17:10:53 +00:00
Justin Clarke Casey
5160733ba1
* Remove uninformative exception traces from remoting errors
...
* Indulge in my fetish for console message conformity
2008-03-17 16:55:12 +00:00
Sean Dague
dba37a8722
From: Alan M Webb <awebb@vnet.ibm.com>
...
Here's a diff of the changes I have made in support of the following LSL
script functions.
llSetScriptState
llGetScriptState
llCSV2List
llListRandomize
llList2ListStrided
llListFindList
llResetOtherScript
llGetScriptName
It was necessary to modify ExecutorBase in support of the ScriptState
implementations.
I also modified SceneObjectPart and SceneObjectPart.Inventory to
corrects a quoting mismatch in the commentary that through off live
parsing of the files.
I also simplified the State definition at the start of BuiltinCommands.
2008-03-17 15:11:36 +00:00
Teravus Ovares
76bf1f3654
* Fixed prim creation in basic physics mode. ( BasicPhysics returns null probably a lot more then it should? )
2008-03-16 18:55:56 +00:00
Jeff Ames
8a9d20facd
Update svn properties.
2008-03-16 06:59:31 +00:00
Charles Krinke
f7c5867723
Thank you kindly, Grumly57 for:
...
Added MSSQLDataStore.cs to OpenSim.Framework.Data.MSSQL and changed it
to reflect the actual capabilites of MySQLDataStore.cs
2008-03-15 20:53:39 +00:00
MW
58ce8f3818
added some os helper functions for the texture drawing module. see http://opensimulator.org/wiki/OSSL_TextureDrawing for function prototypes and example script. Will expand that page later.
2008-03-15 13:52:57 +00:00
MW
c04899b60a
Part 2 of fixing inventory for client 1.19.1 (RC), inventory items should now show up.
...
Most likely still some problems and most like needs some more work (and still a couple of things to finish off).
2008-03-15 12:53:03 +00:00
MW
70e55205a1
Part 1 of making inventory work again in the 1.19.1 (RC) client. Implemented the FetchInventoryDescendents CAPS handler. But currently returning empty folder details.
...
So this commit doesn't actually fix inventory in that client, it just stops the "loading" message being displayed forever next to a folder, and instead shows empty folders.
Next part will be to fill in the details of the items in the folders.
2008-03-15 11:48:27 +00:00
Adam Frisby
4746c26824
* Fix for Justincc's bug report #768 - Terrain looks rather phallic.
2008-03-14 19:50:11 +00:00
Justin Clarke Casey
1641e4ecb1
* Remove stupid bug I just introduced where delinking would only delink one prim at a time.
...
* Teaches me not to say stuff like 'this is now working'
2008-03-14 18:51:51 +00:00
Justin Clarke Casey
9341c71135
* Minor - error message should be a warning. Spelling
2008-03-14 18:30:28 +00:00
Justin Clarke Casey
87067bff1e
* The rest of the fix necessary for mantis #766 - terse updates broken
...
* Even very rapid linking/delinking should now behave normally. Terse updates still occur as before
* Hopefully this ends the recent linking problems - please let us know if there are more
2008-03-14 18:21:21 +00:00
Sean Dague
01faa86c1a
Fix Mantis 636
2008-03-14 18:09:20 +00:00
Justin Clarke Casey
dc84f350a7
* As yet incomplete fix for mantis #766 - terse updates broken
...
* Currently, terse updates are back, and extremely rapid linking and delinking will only break occasionally
* More work to do here
2008-03-14 16:28:33 +00:00
Teravus Ovares
ce9c2ecac8
* You can leave godmode if you want now.
...
* Fixed a compile error.
2008-03-14 15:52:32 +00:00
lbsa71
24aedf52c6
* Added null root part guard
...
* Normalized some UUID handling
* Compacted a few Contains/Add into Set
2008-03-14 15:28:34 +00:00
MW
7ab08f2ac4
Attempt to fix mantis #741 , could not replicate it myself. But the error was suggesting that the SceneObjectPart was null, so added a null check, to make sure the sceneobject to be attached is found before attempting the attachment.
2008-03-14 15:23:33 +00:00
MW
a5f5be8a0c
attempt to try to fix mantis issue # 613, which seems to be a threading issue. Queue is only threadsafe if its a public static member, which in this case it wasn't. And we were locking it during both enqueues and dequeues. So have added those locks to a syncObject. But it still needs testing on a high load region, as that seems to be when the exception happened.
2008-03-14 14:40:31 +00:00
Jeff Ames
3778840f36
Update svn properties.
2008-03-14 14:20:05 +00:00
Adam Frisby
53e8d91c06
* Fixed 'flatten area' brush, so it now has a 'force' instead of instantly flattening the selected area.
...
* Noise, and Noise-Area brushes now use Perlin noise, more closely simulating the method LL uses officially.
* TerrainModule has been cleaned up slightly.
* TerrainUtil class has several new functions related to seeded noise generation.
* Extracted ITerrainEffect, ITerrainFloodEffect, ITerrainLoader, ITerrainPaintableEffect, TerrainChannel to seperate files.
2008-03-14 13:37:39 +00:00
Teravus Ovares
ae9a98ceb1
* Added proper handling of llSetStatus(STATUS_PHYSICS,BOOL)
2008-03-14 06:20:50 +00:00
Teravus Ovares
abacfba287
* Preliminary work with the ODEPlugin to collect collision data.
2008-03-14 05:22:52 +00:00
Jeff Ames
94c39c793a
Update svn properties.
2008-03-14 00:41:09 +00:00
Sean Dague
4e588c715d
some hackery with the VectorRenderModule to let you pass in a canvas
...
size. Helps make the fonts crisp when using vector renderer as a
text board.
2008-03-13 20:47:36 +00:00
lbsa71
cb28cc686b
* Added cautionary README.txt
2008-03-13 20:00:41 +00:00
lbsa71
8b6d29ff2e
* SimpleApp is dead, long live OpenSim.Region.Examples.SimpleModule
...
* This module more or less crashes every region in the instance if you enable it by moving it from local /bin to global /bin
* But hey, it crashes in lots of interesting ways.
2008-03-13 19:55:18 +00:00
Justin Clarke Casey
12cb0d15f8
* Put back a comment I just inexplicably zapped
2008-03-13 18:42:57 +00:00
Justin Clarke Casey
429ecb8508
Just a few comments
2008-03-13 18:31:05 +00:00
Sean Dague
1ad041707a
this is a believed fix for some of the MySQL races. Testing would
...
be appreciated.
2008-03-13 17:42:07 +00:00
Justin Clarke Casey
67a59b62e3
* Very minor comment change to reflect the fact that eliminating spurious delink prim updates is low priority
2008-03-13 12:35:59 +00:00
Sean Dague
e7076d3d15
remove the rex based voice chat. No current client implements this,
...
and a seperate voice server approach compatible with SLVoice is needed here.
2008-03-13 12:29:56 +00:00
Justin Clarke Casey
297887e1fc
* Change opensim.ini.example guidance on asset_database setting to be "local" or "grid"
...
* See OpenSim.ini.example for more details
* The old sqlite/mssql settings were redundant and effectively ignored anyway. Hence, there's no need for you to change your current settings, which will still work
* In fact, asset_database should probably be moved to [Network] since it's meaningless for standalone installations
2008-03-13 01:01:28 +00:00
Justin Clarke Casey
a4304fb9e6
* Fix Mantis 761 (linking and delinking prims rapidly caused prims to 'disappear')
...
* Root cause was that if two updates occurred in the same second of time, the second one was never sent
* Linking/delinking appears to be okay now
2008-03-13 00:22:38 +00:00
Sean Dague
31cdb1afb0
there was a single instance where the log4net object was not
...
static readonly. I suspect this was the cause of mantis #500 .
2008-03-12 21:09:56 +00:00
Justin Clarke Casey
bbb9a21eb5
* Fix mantis 757.
...
* DelinkFromGroup was removing the parts from the delinked group, which later upset the update thread when it tried to do a queued update for that object
* Temporary fix is to stop deleting the parts, though it would be good later to stop sending out the now spurious updates
* This fix actually reveals another bug, where rapid linking and delinking will cause the non root prims to disappear (though they're actually still there if you relog). This is the next bug to tackle.
2008-03-12 18:59:50 +00:00
Justin Clarke Casey
b9ef6ed047
* Don't abort (and keep failing) the update if one Entity gives us an exception when we try to update it
...
* This doesn't remove bug 757, but does largely remove the worst consequences
2008-03-12 18:11:08 +00:00
Justin Clarke Casey
c310f2ab24
* Since remoting exceptions occur quite often in some cases (e.g. when a neighbouring region is down), put out only the source and message of the RemotingException (not the stack trace) to the console.
...
* It doesn't appear that the remoting stack trace yields any useful information anyway
2008-03-12 17:37:00 +00:00
Justin Clarke Casey
42123770de
* Add comments and slight corrections to ClientView.AgentTextureCached
...
* Reduce 'asset not found' console debug spam
2008-03-12 17:02:08 +00:00
MW
fc551ef127
Applied patch from mantis #749 , Grass now stays to set type when moved. thanks Grumly57.
2008-03-12 15:53:04 +00:00
MW
2fea38a5f2
Applied patch from mantis #610 , fixed invalid filenames with dump_assets_to_file set to true. thanks tyre.
2008-03-12 15:45:56 +00:00
Adam Frisby
be6d8f6d9a
* Switched Noise 'Flood Area' brush to use Perlin rather than random noise.
...
* Fixed a bug with the Smooth Area brush.
2008-03-12 13:49:38 +00:00
Adam Frisby
d626125825
* Fix for Smooth Area Flood Brush, now doesn't flood the entire sim.
2008-03-12 13:03:44 +00:00
Adam Frisby
1277f68f43
* Fix for SQLiteAssetData - We now ignore duplicate assets. We shouldn't support replacing a asset with a fixed UUID as this leads to potential collisions and revisioning issues when proxying down the road.
2008-03-12 12:59:09 +00:00
Jeff Ames
43148ffc23
Update svn properties.
2008-03-12 12:22:43 +00:00
Adam Frisby
935e67a783
* Updated Terrain Module
...
* Terrain Area-of-Effect brushes now should work properly.
* Updated the scale / effect of various brushes. Small & Medium brushes should now actually do something.
2008-03-12 11:47:34 +00:00
lbsa71
95e4d1ae5e
* made some privates protected
2008-03-12 11:18:43 +00:00
lbsa71
e2dfd919bc
* made GridManager class public
2008-03-12 11:11:52 +00:00
Adam Frisby
8e27656fcc
* Refactored some terrain brushes to move out some common functions into TerrainUtil class. More needs doing.
...
* Adjusted strength of brushes to Math.Pow(2,size), this should in theory work closer to how it was before.
2008-03-12 11:02:30 +00:00
lbsa71
df104e6f84
* Renamed Main.cs to GridServerBase.cs
2008-03-12 10:16:28 +00:00
lbsa71
3f45cfc591
* Refactored out exe bit out of Grid Server for great justice
2008-03-12 10:13:19 +00:00
lbsa71
f1b8712da3
* Refactored some internals in Grid Server Main
2008-03-12 09:50:12 +00:00
lbsa71
d873a043dd
* Refactored out creation of LoginResponse
...
* Refactored out ErrorResponse
2008-03-12 09:37:39 +00:00
lbsa71
47ed69c933
* Extracted RegionProfileData from Request
...
* Introduced ValidateNewRegion and ValidateOverwrite
2008-03-12 09:17:23 +00:00
lbsa71
da854b9691
* minor refactoring
2008-03-12 08:44:36 +00:00
Sean Dague
163a7cb6c8
better fix for 551, not sure why I missed this earlier
2008-03-12 02:48:08 +00:00
Jeff Ames
6da664edbe
Refactor out some duplicate code.
2008-03-11 22:15:28 +00:00
Sean Dague
6340fa0aab
Ensure resolution of mantis 113
2008-03-11 21:37:35 +00:00
Sean Dague
0159aa7048
get rid of artificial InventoryLock object in favor of
...
locking on the DataSet. This doesn't change any functionality
and leaves us with one less object.
2008-03-11 21:23:06 +00:00
Sean Dague
ed4710eda0
added early readme
2008-03-11 20:43:08 +00:00
Sean Dague
2827339345
Attempted fix for http://opensimulator.org/mantis/view.php?id=551
2008-03-11 20:38:55 +00:00
Sean Dague
1dfa382e44
moving everything into OpenSim.TestSuite namespace
2008-03-11 20:15:07 +00:00
Justin Clarke Casey
e7e157d95e
* Temporarily disabling sending of ImageNotInDatabasePacket when a texture isn't found, since this appears to be crashing Linden client 1.19.0(5)
2008-03-11 18:41:22 +00:00
Justin Clarke Casey
4ed96d9929
* Very temporarily put AgentCachedTexturePackets onto the wind rather than the texture queue
...
* This is in order to identify whether it is these which are somehow causing the massive texture packet bloat,
* since this is the only other packet put on to that queue other than the TextureSender ones
2008-03-11 18:37:06 +00:00
Sean Dague
fa79433d2e
clone off pCampBot to OpenSim.TestSuite, as I'm going to be
...
making enough breaking changes that I'd rather not mess up
people currently using pCampBot effectively.
2008-03-11 18:06:25 +00:00
Justin Clarke Casey
956f7cb4f9
* Very minor error message change in GridAssetClient
2008-03-11 17:55:49 +00:00
Adam Frisby
11ba471bcc
* Applying patch #754 - Fix for Vector Magnitude operation. Thanks cmickeyb!
2008-03-11 16:19:01 +00:00
Adam Frisby
b40957b57c
* Applying patch from Mantis #607 - Grid Server crash. Thanks Diva.
2008-03-11 15:48:50 +00:00
Johan Berntsson
f0bfb87979
Eliminated several compiler warning messages
2008-03-11 04:40:39 +00:00
Johan Berntsson
bec947cde3
The plugin loader can now handle plugin dependencies without hardcoding
2008-03-11 03:10:21 +00:00
Sean Dague
e128819b20
this fixes up the exponentially growing startup times caused
...
by not deleting the landaccesslist. If this triggers an
sqlite error on .NET, we'll need to track that down seperatly.
2008-03-11 00:22:56 +00:00
Teravus Ovares
f46fcbb9d2
* Added Linear Acceleration reporting to the ODEPlugin.
...
* Added support for LSL llGetOmega (Rotational/Angular Velocity)- ODEPlugin is the only physics plugin that reports it.
2008-03-10 14:14:44 +00:00
Teravus Ovares
d0123a796b
ODEPlugin
...
* Added osSetPrimFloatOnWater(BOOL) to make Physical prim float at the water level.
* osSetPrimFloatOnWater(TRUE); or osSetPrimFloatOnWater(FALSE);
* By default, prim do not float at the water level.
* More work is needed on the floating, but it's a start.
2008-03-10 05:56:58 +00:00
Teravus Ovares
8bea3dbdb9
* Added ODEPlugin Support for llSetBuoyancy. Set Buoyancy to 1 for space prim.
...
* Added WaterLevel support to the ODEPlugin. More on this later.
2008-03-10 05:23:43 +00:00
Teravus Ovares
8bba8e232c
* Fixed a few things and enabling Physical Prim border crossings again.
...
* Everyone try to push a physical prim across a region border now.
2008-03-09 20:29:59 +00:00
Adam Frisby
f89e7107bb
* Fix for hydraulic erosion brush. Still not working as planned, but getting closer. Bugs may be due to the water distribution pattern.
2008-03-09 19:22:21 +00:00
Teravus Ovares
7cae577094
ODE Plugin
...
* More cleanup
* Less noise
2008-03-09 17:50:24 +00:00
Jeff Ames
9bc6ee576e
Update svn properties.
2008-03-09 16:51:34 +00:00
Adam Frisby
42e1a6ee95
* Fix to the OlsenSphere brush to make it more powerful.
...
* W.I.P: Hydraulic Erosion (Spherical) paintbrush - code is all there, but some work is required on the initial parameters to get it to function correctly. Replaces the smooth brush when `newbrushes` is switched on.
2008-03-09 16:50:09 +00:00
Teravus Ovares
5b6eba968b
* Fixed the Link + Duplicate + Unlink both = 'ODE Invalid Argument in Collision Space Crash'
...
* Added: Console comment: [PHYSICS]: The scene reused a disposed PhysActor! *waves finger*, Don't be evil.
2008-03-09 16:32:44 +00:00
Teravus Ovares
081b2ac34e
* Cleaned up some locking on the ODEPlugin to make it more developer friendly
...
* Expect the occasional deadlock?
2008-03-09 15:43:01 +00:00
Jeff Ames
7981c45750
Update svn properties.
2008-03-09 15:08:03 +00:00
Adam Frisby
b46b152954
* New terrainmodule paint brush "Olsen Erosion"
...
* Implements the Optimised Erosion routine defined by Jacob Olsen in the paper 'Procedural Terrain Generation' (http://www.oddlabs.com/download/terrain_generation.pdf )
* Replaces the 'flatten' brush when 'newbrushes' is enabled.
2008-03-09 15:00:52 +00:00
Teravus Ovares
13a4d13d67
* Added a hack-ish routine to add the State column to the primshapes table if it wasn't already there.
...
* Started OpenSim on SQLite to a mass of red 'unable to load prim' messages.
* If you are getting this message, after this update, when you start OpenSimulator, you'll get it one more time and then it'll work again.
2008-03-09 14:27:44 +00:00
Teravus Ovares
7a9e572e8a
Linux Compile error if Color is compared against null. Documentation for System.Drawing.Color says it returns a Color with all Components as 0 if the String passed isn't a known color, so the null check has been commented out
2008-03-09 13:04:58 +00:00
Jeff Ames
3e47389f9a
Update svn properties.
2008-03-09 06:39:15 +00:00
Adam Frisby
1011bbf39d
* Small optimisation on Weathering paint brush.
...
* Added "script terrain newbrushes <true|false>" to enable experimental terraforming brushes. Presently the 'revert' brush is replaced with the Weathering brush, when enabled.
2008-03-08 23:28:29 +00:00
Adam Frisby
f88324d6cd
* Applying Mantis #737 - Fix for Terragen loader. Thanks Jonc.
2008-03-08 23:21:35 +00:00
Charles Krinke
39684496eb
Remove two warnings with unused variables.
2008-03-08 23:12:25 +00:00
Adam Frisby
6ecc1066b1
* Added Thermal Weathering paint brush to Terrain Module.
2008-03-08 22:53:10 +00:00
Charles Krinke
8d2d69dc88
Thank you kindly Grumly57 for a patch to solve:
...
Grass type is not persisted. Try to rez some grass several time to have different random grass types around, then immediately move a couple of them. Or restart the sim and logon again. You'll see all grass types reverted to a dull default one :-)
2008-03-08 22:52:17 +00:00
Charles Krinke
ff75ba99a9
Thank you very much, Ldviopeng for :
...
Patch to implement the following LSL functions:
llGetObjectPermMask()
llSetObjectPermMask()
2008-03-08 22:26:25 +00:00
MW
52d867e600
Added new drawing command "PenColour", with format "PenColour <colourname>;" colour name can be any of the predefined .net System.Drawing.Color names.
2008-03-08 22:06:24 +00:00
Adam Frisby
6eeb25ee33
* Slight tweak for the above.
2008-03-08 21:51:01 +00:00
Adam Frisby
54359ab17b
* By popular demand, implemented "script terrain fill <val>"
2008-03-08 21:49:26 +00:00
MW
d340820826
Added Frist basic version on the VectorRenderModule, that allows scripts to do some basic drawing onto textures. Currently the method the scripts have to use is most likely not the most user friendly, but this should improve soon. And hope to allow SVG files (either loaded from a web site, or even script created) to be used. I will add a page to the wiki tomorrow, until then http://www.pastebin.ca/934425 is a example c# script that can be used to get a bit of a idea.
...
Also added osSetDynamicTextureDataBlend and osSetDynamicTextureURLBlend that will allow the various textures to be blended together, but currently there are still a few bugs in them. So not ready for use yet.
2008-03-08 20:54:34 +00:00
Adam Frisby
8f6f85e530
* Implemented 'Revert' channel in Terrain Module.
...
* Added Revert Area, flood brush.
* Added Revert Sphere, paint brush.
2008-03-08 19:11:22 +00:00
Charles Krinke
3151e302ca
Thank you kindly, Ldviopeng for:
...
Patch to implement the following LSL / OS functions
llParcelPrimCount(60%)
osSetParcelMediaURL
2008-03-08 18:06:10 +00:00
Adam Frisby
e41b45d107
* Made a change to the loading mechanism to fix it's operation.
2008-03-08 01:58:59 +00:00