Melanie Thielker
0460c19bcd
Add error handling to catch the WebExceptions thrown if you have
...
no messaging server
2008-11-23 00:36:39 +00:00
Melanie Thielker
e082f10884
Adding root agent position messages to the message server
2008-11-22 23:54:53 +00:00
Melanie Thielker
7aa32ac6e0
Add root agent tracking to presence module
2008-11-22 23:38:25 +00:00
Melanie Thielker
2fa072b579
Next step in the presence module - some core plumbing included at
...
no extra cost
2008-11-22 22:56:00 +00:00
Dahlia Trimble
336fc239bb
Increase IRC login timeout to 25 - it was 10 which was causing reconnect loops on slow responding servers.
2008-11-22 21:12:10 +00:00
Melanie Thielker
bf885b2035
Adding region up/down notifications to the PresenceModule. Messaging
...
Server portion remains to be implemented
2008-11-22 20:29:00 +00:00
Melanie Thielker
84db1e1290
Change the presence event signatures
2008-11-22 19:40:15 +00:00
Melanie Thielker
29803efda4
Check in the presence module skeleton
2008-11-22 19:25:12 +00:00
Melanie Thielker
26cbe5649d
Move user server -> message server notifications into a separate thread
...
to make the user server more responsive
2008-11-22 18:54:58 +00:00
Homer Horwitz
a7b01140db
Enclose the inter-region IM sending in a try-catch for now to find possibly missed exceptions.
2008-11-22 18:33:02 +00:00
Homer Horwitz
6566da2962
- Add a warning if the agent data of the destination of an IM isn't found
...
- Add a warning if the region info of the region the user is in isn't found
- Remove one possibility for a silently dropped IM.
2008-11-22 18:10:59 +00:00
Homer Horwitz
1148d9a11c
Removing some direct console output for outputting ImprovedInstantMessage packets.
2008-11-22 17:42:23 +00:00
Melanie Thielker
1c89c348b7
Fix build break
2008-11-22 16:09:58 +00:00
Melanie Thielker
e982a24f77
Remove a redundant check and add checking for attachments in parcels that
...
have no entry set, part 1
2008-11-22 15:58:52 +00:00
Jeff Ames
25d6b18bcd
Update svn properties, minor formatting cleanup.
2008-11-22 02:33:18 +00:00
Melanie Thielker
c71863d83e
First stage group permissions plumbing
2008-11-22 01:58:36 +00:00
Melanie Thielker
691c4bc756
Mantis #2442
...
Attempt to reinstate the Object Entry flag in parcel settings
2008-11-22 00:23:48 +00:00
Melanie Thielker
48cf76efe7
Introducing IPresenceModule
2008-11-21 22:47:24 +00:00
Homer Horwitz
0d2e5827c5
- No need to build a list of regions and then only the first one.
...
- I first did lock on m_scenes for that access, but as m_scenes (currently) is
only changed in Initialise (and locked there), and PostInitialise is called
after the calls to Initialise, there shouldn't be a need to lock here.
- Trying out git-svn dcommit. Hope this works.
2008-11-21 22:21:49 +00:00
Melanie Thielker
ba723a4cf6
Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make all
...
the internals of the permissions module adapter sane
2008-11-21 22:14:57 +00:00
Justin Clarke Casey
c0cd681608
* Comment out unused access time method in MSSQL
...
* This should probably be being called in FetchAsset() instead as for all the other databases, but I lack the means to test MSSQL
2008-11-21 21:24:39 +00:00
Justin Clarke Casey
915593bfbc
* refactor: Rip out SOP inventory from the partial into a separate class
...
* SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life
* A proper inventory interface to follow
* Parallel changes for other inventory partial classes to follow at a later date
2008-11-21 21:16:42 +00:00
Justin Clarke Casey
02105c9c2a
* Extend sog delete to inventory test to crank the normally async sog deleter by hand
...
* After the crank, assert that the object has now been removed from the scene
2008-11-21 18:46:24 +00:00
Jeff Ames
ecac5c9c5a
Update svn properties, minor formatting cleanup.
2008-11-21 18:44:48 +00:00
Justin Clarke Casey
7dce464113
* Largely revert the last revision and improve on the previous way of doing things
...
* Deleting the object before the async to inventory is bad since if OpenSim crashes (or is shutdown!) in the time inbetween, then the object is lost
* Also now delete the object from the scene only after it has gone to inventory - in the old way there was still a race condition
* This is still not ideal since the 'deleted' object remains in the scene and probably could be manipulated. But this is better than the alternative
2008-11-21 18:33:09 +00:00
Justin Clarke Casey
e261c97470
* On delete to inventory, actually remove the group from the scene before the async stage.
...
* Last time I accidentally left the existing code in place that merely wiped the group from the client (but not the scene)
* Put in an incomplete 'delete object o inventory' test to assert that this happens
2008-11-21 18:17:01 +00:00
Justin Clarke Casey
82aa8e0327
* minor: Remove comparison of UUID struct against null picked up as a warning
2008-11-21 17:35:34 +00:00
Justin Clarke Casey
c2d3d8d88e
* Improve and correct messages given to the user when permission is denied for a particular OSSL function
...
* I don't believe that the extra information given is anything that couldn't be worked out by trial and error
2008-11-21 17:28:57 +00:00
Melanie Thielker
ee4d4d784e
Fully implement object return from the parcel dialog
2008-11-21 07:33:13 +00:00
Melanie Thielker
46278b34b1
Allow selecting group objects and selecting objects by owner from the
...
parcel dialog.
2008-11-21 05:35:35 +00:00
Melanie Thielker
e9ad6f7913
Plumb in the list if user IDs to the land module to allow selection
...
of objects by owner name
2008-11-21 04:41:39 +00:00
Melanie Thielker
0092ecbce7
Prevent a null reference when giving items.
2008-11-21 00:54:32 +00:00
Justin Clarke Casey
b9c07730f5
* refactor: change some method names and doc in the physics plugin manager
...
* move the directory choice for plugins outside into RegionApplicationBase
2008-11-20 19:52:55 +00:00
Justin Clarke Casey
d625095959
* Allow physics dlls to be loaded separately, rather than just the contents of bin/Physics
...
* This is primarily to see if not loading ODE in the unit tests will allow them to proceed, though the option of separate loading is probably a good thing in itself
2008-11-20 18:28:30 +00:00
Justin Clarke Casey
00d9c3c2cc
* Add a scratch test for removing a client from a scene
2008-11-20 17:27:45 +00:00
Justin Clarke Casey
890beb442a
* Add forgotton tag to existing remove scene object test
2008-11-20 17:18:39 +00:00
Justin Clarke Casey
81dcf223bf
* Add enough infrastructure code to run an extremely basic and flaky add root agent scene test
2008-11-20 16:58:40 +00:00
Sean Dague
e6f92044ca
From: Christopher Yeoh <cyeoh@au1.ibm.com>
...
Attached is a patch which fixes mantis bug 2645 where scripts in child
prims
freeze after being unlinked from the root prim. This got introduced
some time after the 0.6 freeze. Have checked test suites
pass even after nant clean ;-)
http://opensimulator.org/mantis/bug_update_page.php?bug_id=2645
Also removes a redundant ResetIDs call
Regards,
Chris
2008-11-20 00:13:15 +00:00
Charles Krinke
b0ee8fc271
Mantis#2658. Thank you kindly, StrawberryFride for a patch that:
...
Keeping up with MySQL and SQLite. Small code changes and
another resource file to add.
2008-11-19 23:57:19 +00:00
Justin Clarke Casey
14f3ac1440
* Add just enough to allow the scene presences test to establish a new user connection (though not yet an actual ScenePresence)
2008-11-19 20:13:51 +00:00
Melanie Thielker
6f0e068cf1
Guard against a strange nullref in ODE
2008-11-19 20:04:41 +00:00
Charles Krinke
164ed57ad3
Mantis#2638. Thank you kindly, Sacha Magne for a patch that:
...
Implementing "Play sound inworld". Currently a WIP .
2008-11-19 18:41:10 +00:00
Charles Krinke
9babdb1095
Mantis#2657. Thank you kindly, StrawberryFride for a patch that:
...
Added access_time and create_time, plus the new sun position
data to MSSQL code.
2008-11-19 18:36:04 +00:00
Charles Krinke
44c56a974c
Mantis#2656. Thank you kindly, Nlin for a patch that:
...
Attached patch implements llCollisionSound. Thanks T. Sado.
2008-11-19 18:30:16 +00:00
Melanie Thielker
778d83d9f0
Adjust to the Helpers->Utils rename
2008-11-19 07:03:39 +00:00
Melanie Thielker
f518ca7feb
Reapply r7369 r7367 r7366 r7370 r7381. This brings it back up to the new
...
libOMV.
2008-11-19 06:25:34 +00:00
Melanie Thielker
3234472d62
Reverting the texture sending patch and the new libOMV. This makes this
...
release a direct descendant of the stable 7364, with all the features and
none of the issues.
This omits the following patch chain: r7383 r7382 r7381 r7377 r7375 r7373
r7372 r7370 r7369 r7368 r7367 r7366
2008-11-19 06:15:21 +00:00
Melanie Thielker
44a94055a4
Ensure that the physics representation of a deleted object is also removed
2008-11-19 02:13:15 +00:00
Melanie Thielker
a104cc2c62
Fix deleting object that have been persisted already from the DB
2008-11-19 01:37:39 +00:00
Melanie Thielker
0abb762ecc
Patch from jhurliman. Fixing the texture decoding issues in progressive
...
texture sending. Grain of salt not included.
2008-11-18 20:02:25 +00:00
Melanie Thielker
18b6250f40
Remove perts of jhurliman's AD security patch that had slipped in
2008-11-18 18:14:15 +00:00
Melanie Thielker
9d7e503ce3
Prevent a nullref when building new prims while others watch
2008-11-18 17:21:33 +00:00
Sean Dague
5517ea3dfd
Fixed MySQL and SQLite so they will save the
...
variable sun vector, adding 3 new fields on both.
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-18 12:48:36 +00:00
Sean Dague
99fb0d7b33
Extended Agent Tests
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-18 12:48:29 +00:00
Melanie Thielker
92517b48e9
Apply JHurliman's texture sender patch
2008-11-18 02:14:06 +00:00
Adam Frisby
434afaf717
* Added and removed debug information relating to client connections
...
* Minor client fixes
* Added the ability for a client to login without a UserProfile, allowing certain alternate clients to connect to the region.
2008-11-18 00:47:30 +00:00
Melanie Thielker
6fd8960064
Prevent the texture downloader from locking a null object when a download
...
hits bad data
2008-11-17 23:48:29 +00:00
Melanie Thielker
2b8915d679
Make newly created prims be the correct group
2008-11-17 23:43:46 +00:00
Melanie Thielker
ece27a3631
Make texture decode errors nonfatal. The texture send is simply dropped
2008-11-17 23:08:37 +00:00
Homer Horwitz
5972eb8848
Fix a few small issues with the progressive texture-download:
...
- The initial priority wasn't passed in, so a discardLevel of -1 in the first
request automatically cancelled texture-download.
- One-packet textures weren't handled, as CurrentPacket starts at 1 and
StopPacket == 0 in that case.
- Increased MAX_ALLOWED_TEXTURE_REQUESTS to 15; incremental texture downloads
will cause more requests.
2008-11-17 22:15:02 +00:00
Melanie Thielker
a8e40bed52
Set group on newly rezzed objects to the rezzer's (or rezzing object's)
...
group
2008-11-17 21:44:09 +00:00
Justin Clarke Casey
93b18d7323
* Remove Appdomain code in XEngine.cs
2008-11-17 21:36:12 +00:00
Justin Clarke Casey
f26f5f6eff
* Apply http://opensimulator.org/mantis/view.php?id=2611
...
* Progressive texture delivery (ported from jhurliman's Simian code)
* Thanks jhurliman!
2008-11-17 21:10:08 +00:00
Justin Clarke Casey
c25a0ea792
* Update libOMV to r2359. This is necessary for the progressive texture patch
...
* Update libopenjpeg as well for this patch.
* Appears to be okay on a very short sniff test
* Source code will be placed in opensim-libs shortly
2008-11-17 21:00:34 +00:00
Justin Clarke Casey
072624b19d
* minor: add interface version to 'show version' command output
2008-11-17 20:22:22 +00:00
Justin Clarke Casey
6052ed4707
* Add allowed_script_editors to OpenSim.ini in the same fashion as allowed_script_creators.
...
* This allows one to override normal OpenSim permissions and prevent non-gods from editing any scripts. This allows edit ability
to be rescinded after it has been given, and prevents the security hole where a single script with liberal perms would allow code changes.
* The default setting remains the existing one of never overruling normal edit permissions.
* These two settings may be enough to stop non-gods entering artbirary script code in a closed grid/standalone configuration.
2008-11-17 19:55:32 +00:00
Melanie Thielker
7ced8d136a
Add a few comments
2008-11-17 19:42:21 +00:00
Melanie Thielker
0a01826843
Change some comments that have been superseded
2008-11-17 18:16:08 +00:00
Melanie Thielker
30b626024c
Fix the PAY_HIDE and PAY_DEFAULT constants to be LSLIntegers and get
...
accepted in the quick buttons list
2008-11-17 17:59:15 +00:00
Justin Clarke Casey
de526d0274
* refactor: move user set permissions parsing code into a separate method ready for reuse
2008-11-17 17:59:10 +00:00
Justin Clarke Casey
99bd7cce2b
* Make sure that deleted objects do not send further object updates to the client
2008-11-17 16:33:41 +00:00
Justin Clarke Casey
dcfd343a1e
minor: remove mono compiler warnings
2008-11-17 16:22:21 +00:00
Justin Clarke Casey
558704be8b
* Remove the TransferRequest and hip debugging console output that crept in recently
2008-11-17 16:14:23 +00:00
Justin Clarke Casey
c41903077d
* Eliminate SOG.FakeDeleteGroup() since it is now identical with DeleteGroup() (except that is didn't lock the parts, which was a potential race condition)
...
* Removed fake delete code from LSL_Api.SetFlexi - this code was never activiated anyway and didn't appear to make much sense on the surface
2008-11-17 16:06:50 +00:00
Justin Clarke Casey
48a72f51a8
* minor: eliminate propogation of now unused permissionToDelete flag
2008-11-17 15:58:12 +00:00
Justin Clarke Casey
f16cf12840
* Fix probable partial breakage of delete to inventory in last commit
...
* Not nulling out parts and the root part allows the code to be simplified
2008-11-17 15:52:27 +00:00
Justin Clarke Casey
d54b6608a7
* Stop nulling SOG.m_rootPart and parts on object deletion
...
* This renders RootPart == null checks useless - the replacement is to check SOG.IsDeleted. However, in many cases this will not be necessary since updates to deleted parts
will not be sent to the client
* This should remove any remaining race conditions where an object is deleted while another thread is yet to obtain the root part to perform some operation
* Doing this is probably a necessary prerequisite to moving to a model without a separate SOG and SOP
* Unfortunately it's not possible to eliminate all RootPart == null checks since in some contexts it is currently used to check whether an object was created successfully
2008-11-17 15:40:27 +00:00
Dr Scofield
dd37fbb137
fixing warnings in YProlog language support
2008-11-17 11:16:24 +00:00
Dr Scofield
bc72f0a9a5
commenting out unused variable.
2008-11-17 11:14:49 +00:00
Dr Scofield
a67dccefbf
cleaning up warning
2008-11-17 11:10:32 +00:00
Dr Scofield
68019e8d98
cleaning up warnings in MSSQL code.
2008-11-17 11:07:18 +00:00
Dr Scofield
ae0bcab35e
adding #pragma warnings to yprolog language support
2008-11-17 11:06:24 +00:00
Melanie Thielker
05fb40dc0b
Use the message transfer module to pass items across the grid via the profile
2008-11-17 08:29:37 +00:00
Melanie Thielker
bb936d8a2f
Correct prim counts for group land. Correct MessageTransferModule startup
2008-11-17 08:15:43 +00:00
Melanie Thielker
598316c890
Make object chat come from the root prim's center, rather than trying to make
...
it come from a child prim position.
2008-11-17 05:57:58 +00:00
Melanie Thielker
2a8020b9d9
Back out the attachment location patch to debug a crash
2008-11-17 05:47:36 +00:00
Melanie Thielker
3f4aeccca3
Try to fix login crash
2008-11-17 05:37:24 +00:00
Melanie Thielker
fa50156b4c
Make the messageing server re-register with all it's user servers every five
...
minutes. This ensures that things don't get messy if a user server is restarted
and the user server's operator has no control over the host the message servers
run on.
2008-11-17 05:04:33 +00:00
Melanie Thielker
08b1e1a1f6
Fix previous build break
2008-11-17 04:34:19 +00:00
Melanie Thielker
928d003bf5
Change the semantics of the Allow_* os function control. Omitting a function
...
causes defautlt behavior. "true" now means usable unconditionally, "false"
means disabled, and a list of UUIDs restricts it.
This changes SECURITY! If you used "true" here before, you shoudl review
your setup!
2008-11-17 04:23:03 +00:00
Melanie Thielker
840ef17b8d
Allow more then one user server in the user server config of the
...
message server. This is needed for larger grids
2008-11-17 03:28:38 +00:00
Melanie Thielker
0e7b6879d2
Add some null checks
2008-11-17 00:45:56 +00:00
Melanie Thielker
74ba1bb180
Fix child prims in attachments chatting from near 0,0,0 rather than
...
the avatar position. Fixes "silent" child prim scripts
2008-11-17 00:28:47 +00:00
Homer Horwitz
4343ddeec1
Fix NRE on TP-to-home, if the home-region is unavailable.
2008-11-16 23:53:00 +00:00
Homer Horwitz
07afe9c137
Fix friends again. Friends-handling is now stateless and, thanks to
...
MessageTransferModule, much easier to understand (I hope).
2008-11-16 23:50:18 +00:00
Melanie Thielker
4d23d22fb1
Remove a redundant parameter
2008-11-16 23:25:36 +00:00
Melanie Thielker
5e2e05a1c1
Megapatch. Completely remove the multiparameter IM methods. Remove the insecure
...
fromAgentSession field.
2008-11-16 22:04:01 +00:00
Homer Horwitz
78d42a7fc8
- Fix a formatting error in a log message (Mantis#2635).
2008-11-16 21:32:10 +00:00
Melanie Thielker
3f818e001d
First step tidy-up of IM packing/unpacking/repacking
2008-11-16 20:32:00 +00:00
Homer Horwitz
e1ccbed982
GridIMs don't have a (sending) client, which led to a NRE on access.
...
Doesn't use client now in that case.
2008-11-16 19:45:46 +00:00
Melanie Thielker
9e7d00c1e6
Add MessageTransferModule interface to all scenes, not only the first
2008-11-16 18:59:58 +00:00
Melanie Thielker
ca8a2cad53
Fix 2 bugs in the message transfer module, thanks, Homer Horwitz!
2008-11-16 18:53:17 +00:00
Melanie Thielker
e46719e8f1
Make return object actually use the return object permissions
2008-11-16 18:27:24 +00:00
Melanie Thielker
5aa10a8ab1
Add group prim count support to land properties
2008-11-16 04:57:37 +00:00
Adam Frisby
29eec33506
* Abstracted some methods from SceneObjectGroup to allow them to be overridden more easily. Specifically object creation from XML.
2008-11-16 04:40:36 +00:00
Melanie Thielker
8e119130c5
Make a quick stab at the "Open data reader" issue.
...
MySqlDataReader needs to be Close()d explicitly. Disposing it or letting
it fall out of scope will not free it's hold on the connection.
2008-11-16 04:39:41 +00:00
Melanie Thielker
3de41ea377
Reinstate the IM sending from scripts and from autoreturn
2008-11-16 04:31:52 +00:00
Jeff Ames
55e2ede065
Update svn properties, minor formatting cleanup.
2008-11-16 02:55:24 +00:00
Melanie Thielker
4f293aa99c
Adds the missing interface to fix the build
2008-11-16 00:54:10 +00:00
Melanie Thielker
27e557eb98
Introduces the message transfer module. It splits the transfer mechanics off
...
the IM module and makes it into a module of it's own, which can be used by
all other modules. Removes some ugly hacks. Refer to the IM module to see
how it's used. Also fixes the persistence issue (Mantis #2598 )
2008-11-16 00:47:21 +00:00
Dahlia Trimble
a3f785e978
Changed sculpted prim texture scaling method to bilinear to reduce scaling artifacts
2008-11-16 00:24:10 +00:00
Homer Horwitz
9a6cdf662b
Mantis#2626: Thank you Ruud Lathrop, for a patch that cleans up MSSQL code.
2008-11-15 21:27:10 +00:00
Homer Horwitz
448e4b0beb
- Change llSetRot behavior so it matches the SL behavior (in particular, the
...
rather strange behavior if used in a child prim).
- Small refactoring.
2008-11-15 21:03:06 +00:00
Homer Horwitz
e26169f0b0
Mantis#2552: Thanks idb, for a patch that fixes persistence of physical prims.
...
(added a fix for the broken build from last commit, too)
2008-11-15 18:00:34 +00:00
Homer Horwitz
21b69ac515
Mantis #2621 : Thanks idb, for a patch that will persist regularily changed objects better.
...
Objects will be persisted now MinimumTimeBeforePersistenceConsidered seconds
after the last change, but latest MaximumTimeBeforePersistenceConsidered after
the first change (both are configurable in OpenSim.ini.example and are set to
60 and 600 as default).
2008-11-15 17:52:00 +00:00
Homer Horwitz
3fdc445dd1
Prevent NRE if you do a llSetStatus(STATUS_ROTATION...) on an object that isn't physical.
2008-11-15 17:19:35 +00:00
Homer Horwitz
1f06532b82
Hack to temporarily fix friends-handling. This will be redone as soon as
...
Melanie's CommunicationModule is in.
Please note: imSession is a transaction-ID, *not* the agent's session.
2008-11-15 16:25:30 +00:00
Jeff Ames
e40fe2db26
Update svn properties, minor formatting cleanup.
2008-11-15 02:21:52 +00:00
Justin Clarke Casey
00d6114525
* test: Add scene root agent test stub, since I'll be picking up with something else the next time I start coding on OpenSim
2008-11-14 21:06:40 +00:00
Justin Clarke Casey
a760586f26
* minor: remove mono compiler warnings
2008-11-14 20:15:22 +00:00
Justin Clarke Casey
95a5bfc560
* refactor: Have the entity list tests use the infrastructure method rather than cut n paste
2008-11-14 20:09:12 +00:00
Justin Clarke Casey
2bb4b45626
* Move test scene construction infrastructure methods to a separate class for future common use
2008-11-14 20:06:44 +00:00
Melanie Thielker
5214d39e7c
Mantis #2618
...
Thank you, StrawberryFride, for a patch that adds group permission support
to MSSQL. Contains a migration, back up your database.
2008-11-14 19:36:29 +00:00
Melanie Thielker
1bd0721dbe
Add SQLite and the missing migrations files for last commit
2008-11-14 19:00:14 +00:00
Melanie Thielker
d66f3993de
Add group permissions to agent inventory.
...
Contains a migration. May contain nuts.
Please back up your inventory data store. This revision changes the interface
version!! No older regions can connect to these new UGAIM, and the new regions
can't connect to the old UGAIM. Fixes a long-standing issue of permissions loss
Currently persisted on MySQL only.
2008-11-14 18:54:38 +00:00
Justin Clarke Casey
e3770cfee6
* Allow new script creation to be locked down to only gods if specified in OpenSim.ini
...
* This doesn't allow complete script lockdown of a sim, many avenues (copying, editing) are still uncloseable at the moment
* Default remains to allow all users to create scripts (subject to existing permissions if enabled)
2008-11-14 18:43:40 +00:00
Melanie Thielker
9960637545
Try to make the test pass again
2008-11-14 17:53:58 +00:00
Melanie Thielker
edee11ff87
Reapplying a revised version of Christopher Yeoh's (IBM) patch for allow
...
inventory drop. Also adds a new flags, "propagate_permissions" to
OpenSim.ini to control that feature.
2008-11-14 17:24:56 +00:00
Justin Clarke Casey
165fcd1aac
* Switch default permissions back to false (so they are not on) as they were two revisions ago, since it sounds like this was our agreed position from some time back
...
* Make the default also false (to match what is in OpenSim.ini.example)
2008-11-14 15:48:34 +00:00
Justin Clarke Casey
8372880c75
* Hook up create new object event in the permissions module
...
* Switch default for serverside_object_permissions from false to true - it seems more natural that we enforce permissions by default rather than not!
* Add some explanation in OpenSim.ini.example for serverside_object_permissions
2008-11-14 15:36:46 +00:00
Melanie Thielker
b43c056c5f
Detach dropped attachments from the scene presence so they don't get cleaned
...
on logout
2008-11-14 15:30:15 +00:00
Teravus Ovares
3e4b094921
* Implements terrain raw upload. You can now upload your .raw terrain files using the Estate Tools.
...
* Could this be extended in the future to support .oar uploads too? Only time will tell!
2008-11-14 14:42:00 +00:00
Dr Scofield
5c21ec6d10
reverting #7295 , as it still fails a test case (as pointed out very
...
kindly by sean) --- lesson learned: just running a "make test" is not
sufficient, you need to precede it by a "make clean".
2008-11-14 13:03:18 +00:00
Dr Scofield
5e20e32b69
From: Christopher Yeoh <cyeoh@au1.ibm.com>
...
This patch makes llAllowInventoryDrop work with the permissions module
enabled. Changes include:
- Enabled PropagatePermissions when permissions module serverside perms
is on
- change ownership of item when item is dropped into an object.
Ownership changes to the owner of the object the item is dropped into
- propagation of permissions if the permissions module enabled (eg
next-owner mask applied)
- CHANGED_ALLOWED_DROP is now passed to the change script event if an
item was allowed to be dropped into the object only because
llAllowInventoryDrop is enabled (instead of CHANGED_INVENTORY being
passed).
- Sets object flags correctly when llAllowInventoryDrop is called so
clients are notified immediately of the change in state. Am not
sure that calling aggregateScriptEvents is the right way to do it,
but it works and seems to be the only way without making further
changes to update LocalFlags
2008-11-14 10:55:14 +00:00
Dr Scofield
62317ded9f
From: Alan Webb (alan_webb@us.ibm.com)
...
Fixed the IRC code so that it deals with regions coming and
going.
2008-11-14 10:50:36 +00:00
Melanie Thielker
4e0a424f9f
Some changes to the money module to allow a more flexible system of
...
applying charges
2008-11-14 07:56:34 +00:00
Melanie Thielker
4f91da2488
More groups plumbing
2008-11-14 05:18:39 +00:00
Melanie Thielker
c79a11cbd1
Lots of experimentation yielded a fair approximation of a hip offset from the
...
physical center of an avatar, for display purposes. This should keep the
avatar feet above ground visually in most cases. Tweaked for both height
extremes and various leg lengths. Improvements welcome
2008-11-14 03:32:20 +00:00
Sean Dague
cc5ccfb315
make inventory item listing more robust. It turns out that a bad item
...
(one that won't parse right) will prevent all other items in that folder
to load when inventory is requested. This is very careful to no longer
add inventory items that return as null to the hash table for
getInventoryInFolder, as well as be more careful parsing UUIDs for
fields that aren't marked not null in MySQL.
The net result, you may see previously missing inventory items return
after this checkin. Folders probably need to be hardened in the same
way, but I'm out of time for today.
2008-11-13 22:53:49 +00:00
Sean Dague
c268a3c84e
From: awebb@us.ibm.com
...
Fix the long-standing "lost clothing" bug by making AvatarFactory a non
shared module (which it should have been all along).
2008-11-13 21:31:03 +00:00
Justin Clarke Casey
1fd32a5ab2
* Rename all the previous methods to be User rather than Avatar (for extra bonus points)
...
public bool ExternalChecksCanCreateUserInventory(int invType, UUID userID)
public bool ExternalChecksCanCopyUserInventory(UUID itemID, UUID userID)
public bool ExternalChecksCanCopyUserInventory(UUID itemID, UUID userID)
public bool ExternalChecksCanDeleteUserInventory(UUID itemID, UUID userID)
2008-11-13 20:52:06 +00:00
Justin Clarke Casey
bd61b946df
* Add
...
public bool ExternalChecksCanCreateAvatarInventory(int invType, UUID userID)
public bool ExternalChecksCanCopyAvatarInventory(UUID itemID, UUID userID)
public bool ExternalChecksCanCopyAvatarInventory(UUID itemID, UUID userID)
public bool ExternalChecksCanDeleteAvatarInventory(UUID itemID, UUID userID)
to ExternalChecks to handle avatar inventory checks (as opposed to object inv checks).
* opensim-dev e-mail to follow concerning this shortly
2008-11-13 20:29:41 +00:00
Justin Clarke Casey
bf68255b86
* refactor: rename object inventory permission checks to distinguish between task inventory and agent inventory
2008-11-13 19:16:15 +00:00
Melanie Thielker
ca35b49b70
Make scripts in objects rezzed from script compile synchronously to close
...
a timing gap. Still not 100%, but getting there
2008-11-13 19:00:46 +00:00
Justin Clarke Casey
ef601d805a
* First part of a series of patches
...
* Intension is to provide a way to lock down script creation to administrators/gods only
* Defaults will remain as they are at the moment
2008-11-13 18:52:16 +00:00
Justin Clarke Casey
219015d699
* Attempt to make OpenSim.ini.example a bit more readable by
...
* Some rearrangement within sections
* Indenting section contents
* Also, correct indentation levels in PermissionsModule
2008-11-13 17:22:18 +00:00
Charles Krinke
8a3d9ea2db
Mantis#2597. Thank you kindly, Idb for a patch that:
...
Solves the problem of changes to objects not
persisted on server shutdown.
2008-11-13 04:23:31 +00:00
Melanie Thielker
c18ce34d06
Update avatar picker search to work with OpenSearch people search
2008-11-13 03:24:23 +00:00
Justin Clarke Casey
424792b39b
* Rename scene tests to scene object tests since that is what they are actually concerned with
2008-11-12 21:12:46 +00:00
Justin Clarke Casey
2c7ac33650
* test: Add basic synchronous object remove test
2008-11-12 20:35:35 +00:00
Justin Clarke Casey
cec112c87a
* refactor: as per a recent opensim-dev thread, rename InnerScene to SceneGraph to make it more descriptive of its intended function
2008-11-12 20:16:46 +00:00
Justin Clarke Casey
b636bb0f9e
* Stop the pointless passing of a scene's own region handler back to it in region comms
...
* Some scene methods ignored it, others did nothing if the region handler given did not match their own (which would never be triggered)
2008-11-12 19:12:33 +00:00
Melanie Thielker
724390e413
Change HTTP server backlog/acceptors to 64, per Adam Z
2008-11-12 18:59:38 +00:00
Justin Clarke Casey
e2ab576572
* Stop locking the scene presences dictionary for the entire agent crossing part of the login sequence
...
* This may alleviate a little the freezing experienced by existing avatars when a new client logs in
* Race condition risks look minimal since one wouldn't expect another thread to start fiddling with that presence
2008-11-12 18:12:18 +00:00
Dr Scofield
4b5e09a36b
From: Alan Webb (alan_webb@us.ibm.com)
...
Fix the broken llSetTimerEvent implementation (sec == 0 was not
possible anymore).
2008-11-12 11:02:55 +00:00
Melanie Thielker
c71f0899c2
Revamp inventory transfer module, step 1. Inventory will now be saved if
...
destination user is offline/out of range. No more eternal cache is needed
for tracking IDs. Code cleanup. Removed some casts from IScene to Scene.
Decline now properly places item in trash rather than deleting it outright.
2008-11-12 06:22:31 +00:00
Teravus Ovares
c453a41fb5
* Set defaults on the allowed LSL Compilers to 'lsl' unless you've specified otherwise.
2008-11-12 04:49:06 +00:00
Melanie Thielker
c34805d573
Add the missing bits that got lost in the prim clamping commit. This should
...
actually make it work
2008-11-12 01:40:38 +00:00
Justin Clarke Casey
70ad3ecd5e
* Create TestScene to get at the async object deleter for use in a future test
2008-11-11 21:31:39 +00:00
Justin Clarke Casey
a814ac3d67
* Put an Enabled switch on the async object deleter for future testing purposes
2008-11-11 20:33:29 +00:00
Melanie Thielker
47a5d71b7e
Prevent pieces from other people's HUDs from displaying at the center of
...
every user's HUD
2008-11-11 19:08:59 +00:00
Justin Clarke Casey
4245cd90de
minor: refactor some SceneTests code for future tests
2008-11-11 18:21:43 +00:00
Justin Clarke Casey
2b97c84d1d
* minor: remove log message that gives wrong user server 'version'
2008-11-11 18:15:30 +00:00
Justin Clarke Casey
50e3eb31b0
* Restore storing null to represent 'missing asset' requests in the AssetCache
...
* If we don't do this then callers to the polling GetAsset wait the full polling time before returning
2008-11-11 17:54:21 +00:00
Adam Frisby
1493f7349f
* Minor typing fixes in AssetCache - now uses base types for nearly everything.
...
* Code Cleanliness Fixes in LLClientView
* Using field instead of local variable for handlerUpdatePrimGroupRotation (if you notice any new oddities with prim group rotation after this patch, please mantis)
2008-11-11 17:48:36 +00:00
Justin Clarke Casey
97816f8c90
* Implement basic region filtering as described in https://lists.berlios.de/pipermail/opensim-dev/2008-November/003468.html
...
* This is done by sending a 'major interface version' number on sim registration. Developers must increment this every time they make a change that would make the previous
OpenSim revision failure incompatible with the new one (non-fatal incompatibilities are fine).
* This number resides in OpenSim.Framework.Servers.VersionInfo.MajorInterfaceVersion
* This allows the grid service to stop older, incompatible regions from connecting
2008-11-11 17:02:46 +00:00
Charles Krinke
851b72570a
Mantis#2604. Thank you kindly, Diva for a patch that:
...
This patch changes a couple of methods in Scene.Inventory to virtual,
so they can be overridden in subclasses. DeleteToInventory now returns
the UUID of the newly created asset, so that further actions on it can
be pursued in subclasses. This will make my life easier for making
inventory accessible in the hypergrid.
2008-11-11 15:18:16 +00:00
Mike Mazur
32b9975468
If the proxy is on, we need to ignore the extra 6 bytes in the packet.
2008-11-11 03:41:28 +00:00
Melanie Thielker
89570e1637
Add ClampPrimSize option to ensure no prim can exceed the set size. This
...
will allow people who don't want megaprims in their sim to prevent them
from being created. Any prim rezzed or pulled across the border will be
clamped to the size specified in OpenSim.ini if this option is set.
2008-11-11 03:10:28 +00:00
Melanie Thielker
7af1afb6df
Fix a nullref in attachment packing
2008-11-11 02:24:33 +00:00
Melanie Thielker
302d65569f
Allow gods to terraform without limits. Respect the Allow Others To
...
Terraform flag in land.
2008-11-11 01:47:40 +00:00
Melanie Thielker
7eda940e7f
Fix llList2Integer to have the same semantics as an (integer) cast. Handle
...
mixed number/letter content properly.
2008-11-11 01:02:48 +00:00
Jeff Ames
5276c4bdf8
Update svn properties, minor formatting cleanup.
2008-11-11 00:52:47 +00:00
Teravus Ovares
d145700115
* Commit allows downloading of the .raw terrain from the estate tools.
...
* Implements the SendInitiateDownload method in IClientAPI
* Uses the ITerrainModule Interface to write a terrain file to disk then uses a FileStream to read the binary file from the disk and put it in a byte array. and save to the xFer list.
* It then tells the client to download the file and the client initiates an Xfer request.
2008-11-10 23:56:58 +00:00
Justin Clarke Casey
4c731dd44e
* Remove mono warnings
...
* Remove duplicate test part
2008-11-10 21:12:53 +00:00
Justin Clarke Casey
0bda2cf5bc
* refactor: clean up SOG xml2 reloading to reuse more code
2008-11-10 21:06:26 +00:00
Melanie Thielker
58e74b554f
Restore the independent LocalID numbering for avatars. Fixes an issue where
...
it becomes impossible to cross back into a region you came from, or freeze
several seconds after region crossings.
2008-11-10 20:58:24 +00:00
Justin Clarke Casey
b044a0f139
* refactor: Make xml (orig format) loading method reuse existing set root part method
...
* miscellaneous doc/log message changes
2008-11-10 20:54:34 +00:00
Sean Dague
d52946dd0d
fix unit tests use SetRootPart now
...
From: Sean Dague <sdague@gmail.com>
2008-11-10 20:46:47 +00:00
Sean Dague
03382c55cb
make things compile, but the test still fails because of the root part
...
changes
2008-11-10 20:42:23 +00:00
Sean Dague
60299d172b
Lock tests on EntityList.cs, multithreaded object addition
...
and removal.
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-10 20:28:57 +00:00
Justin Clarke Casey
13cf89bf3b
* minor: remove useless exception catch
2008-11-10 20:10:23 +00:00
Justin Clarke Casey
0e180b0ad3
* refactor: Expose SOG.SetRootPart for outsiders to use rather than setting RootPart and adding the part separately
...
* Make RootPart read only
2008-11-10 20:04:55 +00:00
Homer Horwitz
014eb26426
Removed some debug output I forgot to remove...
2008-11-10 19:55:30 +00:00
Justin Clarke Casey
adf1c40ba3
* Take out the 1 second sleep debugging line in ScenePresence
2008-11-10 19:48:06 +00:00
Justin Clarke Casey
2d89e562d7
* Refactor the callers of SOG.SetPartAsRoot() to use common code
2008-11-10 19:47:13 +00:00
Justin Clarke Casey
c220b4b8b4
* minor: Remove old dead and buried datastore code
2008-11-10 19:32:18 +00:00
Justin Clarke Casey
0f22013ae4
minor: remove mono compiler warnings
2008-11-10 19:06:01 +00:00
Justin Clarke Casey
5d1d5a22a9
* Extend basic scene test to retrieve the object from the scene and match uuids
...
* Decouple sog and sop by removing the need to pass the sog to the sop when it is created - most of the code was doing this operation (and hence duplicating it) anyway
* Remove unused constructors
2008-11-10 18:10:00 +00:00
Dr Scofield
6df113845e
this changeset adds an option to RemoteAdmin to limit the number of
...
regions that XmlRpcCreateRegion will create: if region_limit is != 0
then XmlRpcCreateRegion will only create a new region if the number of
regions already existing is below region_limit.
2008-11-10 17:37:28 +00:00
Melanie Thielker
2589acc5d1
Keep dropped prims from being temp-on-rez and getting cleaned up
2008-11-10 16:11:22 +00:00
MW
d01cd9c84f
another small bit of startup refactoring
2008-11-10 15:17:50 +00:00
Sean Dague
bfc2d8c231
From: Christopher Yeoh <cyeoh@au1.ibm.com>
...
This patch addresses mantis bug 2576.
http://opensimulator.org/mantis/view.php?id=2576
Briefly, if you call llDie from many scripts at the same time (say a
build is cleaning up excess objects) then OpenSim deadlocks. Avatars
are unable to move, and whilst the console is active you can't do much
without it also locking up. This only occurs with the XEngine script
engine enabled.
I have attached a patch which works, but I'm not sure its the right way
to address the problem. The fundamental problem is that a lock on a
SceneObjectGroup's m_parts is taken when the object is deleted, a
callback to the script engine occurs and a fair way down the callchain,
potentially there are locks taken on several other SceneObjectGroup's
m_parts. Deadlock then occurs if you get unlucky enough
to get in the situation where with several llDie's are called and
SceneObjectGroups
have taken a lock on their own m_parts, and end up waiting on each
other's
locks to become available.
The patch adds a lock at a high level so that that the removal of script
instances
from an object only occurs once per scene at a time. This avoids the
potential
of deadlock. Theoretically there could be some performance hit but
AFAICT
the path taken is not a common occurrence.
Would welcome any suggestions for a better solution, otherwise feel free
to apply :-)
Note this patch was built against the 0.6.0 freeze as trunk was
rather broken for me this morning (creating a script killed the client
connection).
2008-11-10 12:42:22 +00:00
Johan Berntsson
22b70495ab
The region proxy for the load balancer module works again. The incoming proxy messages were not properly decoded.
2008-11-10 09:50:05 +00:00
Melanie Thielker
0d02f53f87
Prevent AO from crashing the sim if the user logs out before the script
...
stops
2008-11-10 05:42:02 +00:00
Melanie Thielker
dd688e95e0
Add a MinTimerInterval, defaulted at 0.5s, to the scripting configuration
2008-11-10 05:33:36 +00:00
Melanie Thielker
fc6f3edec6
Stop attachments from causing an update to be sent on every frame in which
...
an avatar moves.
2008-11-10 05:21:51 +00:00
Melanie Thielker
ce37b80c68
Thank you, idb, for a patch that fixes avatar height calculation
...
Our feet will now be above ground
2008-11-10 01:28:37 +00:00
Adam Frisby
e0498e1638
* Fixed asset bug.
2008-11-09 23:05:08 +00:00
Melanie Thielker
298ab2f9cb
Prevent updates about other people's HUD objects being sent
2008-11-09 22:52:00 +00:00
Charles Krinke
087d2f9147
Enabled SoftERP for the contact structure but not SoftCFM.
...
A tube on a pole is a bit less "flubbery" so maybe this is
the right direction.
2008-11-09 20:20:20 +00:00
Melanie Thielker
664e8a464e
Script region crossing. This has not user functionality, but lays all the
...
groundwork.
2008-11-09 19:30:40 +00:00
Melanie Thielker
6c27321949
Cause llGetInventoryType to return the asset type, which corresponds with
...
the LSL constants.
2008-11-09 19:10:33 +00:00
Charles Krinke
c6ed72b4fa
Clean up a few comments.
2008-11-09 18:43:46 +00:00
Charles Krinke
8ed4821c47
Clean up the mass < 0 logic a tiny bit when
...
calculating mass.
2008-11-09 18:22:36 +00:00
Adam Frisby
df8b92cc1e
* Applying EventQueueGetModule patch to try debug the case of the missing EQG.
2008-11-09 15:44:12 +00:00
Adam Frisby
c43e466301
* Enabled GTCache for AssetCache
...
* Items will now be locally cached for only 24 hours from last access. (Rather than until restart)
* Caveat: Implementing the new caching mechanism means statistics gathering on AssetCache is no longer functional. (Justin - you might want to take a look and see if you can somehow get that back and running if you still need it)
2008-11-09 15:00:26 +00:00
Tedd Hansen
853ba745b5
Refactoring: Moved component creation to "ComponentFactory" as dictated by convention
2008-11-09 10:30:46 +00:00
Jeff Ames
8da726c3a8
Update svn properties. Add copyright headers. Minor formatting cleanup.
2008-11-09 01:31:38 +00:00
Melanie Thielker
bdf9add8d1
Reintroduce transactionID to the parameter list for SendInstantMessage.
...
It is required by group IM and also for a proper implementation of item
give, group notice attachments and offline IM.
2008-11-09 01:16:42 +00:00
Charles Krinke
62bc9c2e8e
Mantis#2591. Thank you kindly, Ruud Lathrop for a patch that:
...
This patch is two script that fixes a issue when adding more
then 1 avatar to estateban/estatemanager list. It removes a
key and adds a index to the tables.
2008-11-09 00:53:54 +00:00
Charles Krinke
83d83ebbc4
Refactor the detectparams variable from 'd' to
...
a more meaningful name of 'detectedParams'.
2008-11-08 23:55:40 +00:00
Adam Frisby
ddca72530d
* Quick test for Dahlia, returns Packet Processing Loop to Infinite Loop.
2008-11-08 23:17:30 +00:00
Charles Krinke
41979f292b
Mantis#2590. Thank you kindly, Diva for a patch that solves:
...
When the given address to CheckRegion is wrong, it crashes
the whole server. Patch included.
2008-11-08 21:49:40 +00:00
Charles Krinke
edb2344796
Mantis#2583. Thank you kindly, Idb for a patch that solves:
...
PRIM_TEMP_ON_REZ and PRIM_MATERIAL are not implemented in
llSetPrimitiveParams so support for these is in the patch.
Also two deprecated functions throw errors. They are changed
to behave as in SL: llSetPrimURL - Does nothing except the sleep
(currently commented out) & llRefreshPrimURL shouts
"llRefreshPrimURL - not yet supported" on the error channel
2008-11-08 21:25:26 +00:00
Homer Horwitz
5e4def3ee7
Mantis#2589: Thanks StrawberryFride, for a patch that fixes the build on VS2005.
2008-11-08 21:18:23 +00:00
Adam Frisby
7308f35a96
* Fixed issue where incorrect braces nesting resulted in a section of PacketQueue getting disabled.
...
* This means the recent memory fix should now be working correctly - so the current largest memory leak should be fixed. AssetCache still needs to be addressed however.
2008-11-08 21:08:01 +00:00
Adam Frisby
fb2a1a6b7c
* Fixed a major memory leak in packet processing - PacketQueue.Close is never called, causing the PacketQueue for dead clients to be preserved (including it's contents).
...
* This patch is highly experimental and may cause clients to not be able to connect, if this is the case, it will be rolled back in approximately 5 minutes.
2008-11-08 20:52:48 +00:00
Adam Frisby
cbda728183
* "Fixed" a NRE with the new script engine Tedd committed
...
* Tedd will need to fix properly.
2008-11-08 20:31:47 +00:00
Homer Horwitz
344b725d3b
Mantis#2598: Thanks Fly-Man- for a patch that fixes a client-thread crash by
...
allowing landFlags bit 31 to be used (Int32 -> UInt32).
2008-11-08 20:04:28 +00:00
Homer Horwitz
4da4941065
Mantis #2553 : Thank you, idb, for a fix that helps to persist changes in prim attributes.
2008-11-08 19:55:33 +00:00
Adam Frisby
f1aa849dff
* Missed a file from previous checkin.
2008-11-08 19:37:08 +00:00
Adam Frisby
4e94989106
* Added IClientChat to IClientCore
...
* Updated LLClientView
* Removed defunct SendChatMessage(bytes[]...) method, see http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide
2008-11-08 19:29:35 +00:00
Adam Frisby
bec51a9580
* Ported InstantMessageModule to IClientCore
...
* See http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#InstantMessageModule.cs
2008-11-08 18:07:33 +00:00
Adam Frisby
5a5e132a96
* Implemented OnClientConnect in Scene EventManager
...
* Identical to OnNewClient except it passes IClientCore instead of IClientAPI
* See http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide
2008-11-08 17:46:10 +00:00
Tedd Hansen
9511a8c763
Work in progress on SECS stuff. Have been holding it off until after 0.6 release. Still messy as hell and doesn't really work yet. Will undergo dramatic changes. AND MOST IMPORTANTLY: Will be conformed to work in coop with todays DNE and XEngine, hopefully one day providing a common interface for all components.
2008-11-08 17:35:48 +00:00
Adam Frisby
cf0a14bec9
* Added IClientIM to IClientCore interfaces
...
* Changed SendInstantMessage, dropped fromAgentSession and imSessionID as security precaution, see http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide for details on porting.
* Removed unused usings from Framework.*
2008-11-08 17:20:54 +00:00
Homer Horwitz
718425e7dc
Added necessary locking to LandManagementModule. As it is used by several
...
threads concurrently, you'll get bad Heisenbugs without correct locking.
This might fix Mantis#2413
2008-11-08 17:00:42 +00:00
Homer Horwitz
38b99e998e
Small bugfix for RemoveNeighbourRegion
2008-11-08 16:55:59 +00:00
Adam Frisby
b0a90642de
* Made ClientLoop non-infinite, ClientLoop will now disengage when the client has logged out.
...
* Cleaned up a section of LLClientView
* Removed unused 'using' from HTTPServer
* Please test this patch.
2008-11-08 16:22:36 +00:00
Adam Frisby
6d5248441d
* Implementing first of the 0.6 IClientAPI Changes
...
* Introducing IClientCore - this will be the key replacement for IClientAPI in the long run, it has a very minimal set of methods designed to allow you to access specialist API's.
* See https://lists.berlios.de/pipermail/opensim-dev/2008-September/003049.html for the early discussion on this.
2008-11-08 16:09:15 +00:00
Melanie Thielker
5c0fd512e8
Fix llParseString* to create LSLStrings. This makes llListFindList work
...
on lists created by parsing
2008-11-08 15:31:02 +00:00
Melanie Thielker
e93828fe00
Add some discovery code, laying groundwork for region-crossing scripts
...
No user functionality yet
2008-11-08 14:35:52 +00:00
Charles Krinke
69afefa788
Change Version string from 0.5.11 to 0.6.0 for release.
2008-11-08 14:32:56 +00:00
Jeff Ames
bbb8d6fc51
Remove empty OSUUID.cs file. Add copyright headers. Minor formatting cleanup.
2008-11-08 14:28:43 +00:00
Melanie Thielker
0fc57de7de
Remove part of another patch that would cause DNE to nuke the sim in it's
...
current form
2008-11-08 02:31:57 +00:00
Melanie Thielker
833f5e8bed
Refactor IEventReceiver back into IScriptEngine
2008-11-08 02:24:34 +00:00
Justin Clarke Casey
8699c2b3b9
* Correct catch changed on last commit, since I just realized I started making it catch a little too much, in principle
2008-11-07 23:08:51 +00:00
Justin Clarke Casey
1effc31b14
* minor: Remove mono compiler warning
2008-11-07 23:04:25 +00:00
Justin Clarke Casey
bf9384d594
* Apply http://opensimulator.org/mantis/view.php?id=2582
...
* Send prim flags as booleans from LLClientView rather than in the native LL array
* Thanks idb
2008-11-07 22:57:32 +00:00
Justin Clarke Casey
4ace67a81d
* Fix bug in r7162 where avatars could not move
...
* Was caused by the lack of a local id. Local ids are now given from the same sequence as prims, rather than a separate one
* I don't believe this will cause any problems, but please revert to a separate sequence if it does
2008-11-07 22:49:36 +00:00
Justin Clarke Casey
ba1d9ca26b
* refactor: cleanup AllocateLocalPrimId() a bit more
2008-11-07 22:08:58 +00:00
Justin Clarke Casey
fb694fb177
* Rename PrimIDAllocate() to more effectively convey what it does, and put the verb at the front
2008-11-07 21:50:03 +00:00
Justin Clarke Casey
47e3d4d1f0
* Remove next local id from SceneBase
...
* This was only reference by ScenePresence and not used anyway - Scene itself had it's own copy
2008-11-07 21:33:11 +00:00
Justin Clarke Casey
a943b7dc7d
* minor: Just some tidy up of log messages, etc.
2008-11-07 21:25:47 +00:00
Justin Clarke Casey
54e10e5b61
* Stop requiring local ids in the SOG constructors.
...
* These are assigned when the object is attached to the scene
2008-11-07 21:07:14 +00:00
Justin Clarke Casey
af35f4cb4a
* refactor: stop unnecessary passing of scene to sog copy constructor
...
* this is now done in AttachToScene()
2008-11-07 19:49:22 +00:00
Justin Clarke Casey
f3edbcfa3b
* Stop prim attach being signalled twice (it is already been done outside AttachToScene())
2008-11-07 19:30:20 +00:00
Justin Clarke Casey
e34eaec553
* Remove more UpdateParentIDs() calls that are now duplicates
2008-11-07 19:17:24 +00:00
Justin Clarke Casey
e08c4376f7
* Apply http://opensimulator.org/mantis/view.php?id=1883
...
* Fix llSetStatus() and llSetPrimitiveParams()
* Thanks idb
2008-11-07 19:02:55 +00:00
Justin Clarke Casey
cd96a33976
* Stop now unnecessary separate local id allocation for restored objects
...
* remove a debug line I accidentally left in there
2008-11-07 18:52:28 +00:00
Justin Clarke Casey
ebd9f22b29
* refactor: allocate local ids to prims only when an object is attached to a scene
2008-11-07 18:46:11 +00:00
Justin Clarke Casey
2184f4b2a9
* Apply patch in http://opensimulator.org/mantis/view.php?id=2397
...
* Fix from 7139 also needed in the Estate Menu teleport home functions
* Thanks idb
2008-11-07 16:54:57 +00:00
Dr Scofield
c93c42cd49
adding region_port field to /admin/rest/regions/UUID/ to convey the
...
port of the region (used for region planning)
2008-11-07 15:30:38 +00:00
Melanie Thielker
506a3aa215
Change teleport timings
2008-11-07 07:35:51 +00:00
Melanie Thielker
106904152a
Fixing up some remaining attachment issues
2008-11-07 07:13:52 +00:00
Melanie Thielker
48c6d052d9
Attachments, attachments, and, did I say attachments?
...
Too many fixes to list.
2008-11-07 05:48:44 +00:00
Teravus Ovares
f0bf3df024
* Fix half of the issue behind the long standing 'UseCircuitCode' packet spam from libOMV clients. AckPacket.Header.Sequence was 0. This caused LibOMV to ignore it.
...
* There's another patch over at http://jira.openmv.org/browse/LIBOMV-415 to fix the 'resend forever' issue.
2008-11-07 01:05:22 +00:00
Justin Clarke Casey
eec8c6cd6e
* Remove SceneObjectPart.AttachToScene() since the remaining instruction can be done by other means
2008-11-06 23:40:58 +00:00
Justin Clarke Casey
1e527f3e86
* Fix test failure in CSCodeGeneratorTest.TestJumps()
...
* Need new NoOp(); generated part
* Not Homer's fault - this test ain't running under Windows! (needs fixing!)
2008-11-06 23:32:39 +00:00
Justin Clarke Casey
275048490c
* eliminate unnecessary ScheduleFullUpdate()
2008-11-06 23:22:38 +00:00
Melanie Thielker
9e4fc8e03a
Mantis #2571
...
Thank you, idb, for a patch that fixes the jump function in LSL.
2008-11-06 23:10:49 +00:00
Jeff Ames
486ac1e12f
Update svn properties, minor formatting cleanup.
2008-11-06 22:24:34 +00:00
Justin Clarke Casey
0d17ba2a76
* refactor: Attach a scene object to a scene separately from its construction
2008-11-06 22:21:25 +00:00
Sean Dague
629b0d9f28
add create_time and access_time to asset db for mysql, as well
...
as the code to update these at the appropriate time. This isn't
surfaced in AssetBase yet.
Change the replace into to an insert into for asset create. Assets
are not supposed to be updatable, and the replace into is more
expensive.
From: Sean Dague <sdague@gmail.com>
2008-11-06 21:21:46 +00:00
Justin Clarke Casey
c6dad833f5
* minor: remove some mono compiler warnings
2008-11-06 21:01:16 +00:00
Homer Horwitz
1df67a37dc
Add missing TeleportStart packets to llTeleportAgentHome and osTeleportAgent.
...
As those aren't viewer-initiated TPs, the viewer has to be informed.
This should fix Mantis #2351 and #2397 .
2008-11-06 20:38:34 +00:00
Justin Clarke Casey
9770cf778e
* minor: Make some 'startup config failed to load' log messages more consistent
2008-11-06 20:38:04 +00:00
MW
c932aae4c3
a little bit more refactoring of startup
2008-11-06 20:17:20 +00:00
Justin Clarke Casey
d31d02c373
* refactor: Split BeginRecieve() into BeginReceive() and BeginRobustReceive()
2008-11-06 20:10:39 +00:00
Justin Clarke Casey
5a852321e0
* Stop passing along epSender explicitly where we are really using the constantly reused ep sender field
2008-11-06 19:59:59 +00:00
Justin Clarke Casey
427a80bba5
* test: Add assert checking that the circuit which trigger the socket exception has been closed
2008-11-06 19:52:06 +00:00
Justin Clarke Casey
29691a3d36
* Test to ensure that the udp server stays active after receiving a SocketException on BeginReceive
2008-11-06 19:35:57 +00:00
Charles Krinke
17e43dcc0f
Mantis#2566. Thank you kindly, Diva for a patch that:
...
This patch introduces a couple of read-only properties,
so that I can grab the asset server plugin from a region
module. This is needed to set up an http service for
accessing standalone assets remotely.
2008-11-06 19:27:18 +00:00
Charles Krinke
557c7de2ec
Thank you kindly, Diva, for a patch that:
...
Removed unnecessary dependency from
Get/PostAssetHandlers to OpenAsset_Main
2008-11-06 19:24:42 +00:00
Charles Krinke
c8db23d456
Thank you kindly, Diva for a patch that:
...
Makies OpenSimBase even more friendly to subclassing
2008-11-06 19:21:50 +00:00
Charles Krinke
9efc4e303b
Mantis#2423. Thank you kindly, Godfrey for a patch that:
...
Included patch fixes error: Z and W terms in the quaternion were
swapped (ZERO_ROTATION is <0,0,0,1>, it was checking for <0,0,1,0>).
There is an issue with older prims: it seems their default sit
target was not always set to ZERO_ROTATION;
2008-11-06 19:18:30 +00:00
Charles Krinke
563d583973
Mantis#2514 & 1375. Thank you kindly, Thomas for a patch that:
...
Improves ScenePresence.cs for attachments when crossing boundaries
between regions.
2008-11-06 19:04:56 +00:00
Justin Clarke Casey
8477aab8e0
* refactor: factor out test packet send method in client stack unit tests
2008-11-06 18:27:56 +00:00
Sean Dague
46492f3c11
From: arthursv@linux.vnet.ibm.com
...
Add more unit tests for user cases
Persist more user fields into mysql that already had columns
defined but weren't getting passed to the mysql manager.
2008-11-06 17:07:08 +00:00
Melanie Thielker
f79e7597b6
Disable distance sorting for child agents. It makes no sense there, as the
...
base point for the sort is 128,128,128, causing funny visuals
2008-11-06 16:25:11 +00:00
Melanie Thielker
4cd7907314
Change threat level of osMakeNotecard to High because of it's griefing
...
potential (asset bloat, asset server DOS due to no enforced delay)
Formatting cleanup. Change default permissions on the notecard to
not include "anyone can copy" and "anyone can move", as they are
meaningless on non-prim items.
2008-11-06 14:37:41 +00:00
Dr Scofield
09f86d7e99
- fixes comparison of struct against null (no no no)
...
- fixes IRCBridgeModule's XmlRpc method really paying attention to
region parameter
- cleans up indentation in IRCBridge code
- fixes ConciergeModule exception on client logout
2008-11-06 13:13:08 +00:00
Dr Scofield
44b0c59ba9
From: Christopher Yeoh <cyeoh@au1.ibm.com>
...
The following patch implements osMakeNotecard as specified on the OpenSim website
2008-11-06 09:12:14 +00:00
Mike Mazur
5d8e08a072
- create entries in avatarattachments table when first attaching an object; fix issue 2512
...
- correct attachment offset; fix issue 2513
- thanks Thomas for the patches
2008-11-06 06:23:58 +00:00
Jeff Ames
397b608af5
Thanks Diva for a patch that makes WorldMapModule friendly to subclassing.
2008-11-06 02:11:51 +00:00
Jeff Ames
1c4d6544d5
Update svn properties.
2008-11-06 01:56:42 +00:00
Justin Clarke Casey
f7f448bc78
* Fix capitalization typoes in packet throttle that happened to be the name of existing fields
...
* This should (hopefully) allow TestClient and stuff built on top of it to work again
* Will probably come back later and change variable names to stop this happening again
2008-11-05 22:17:47 +00:00
Justin Clarke Casey
892e7bf9fb
* Properly use the default value if the LindenUDP.ClientStack section exists by the client throttle setting does not
...
* Old behaviour was to throw an exception on startup
* Print out client stack setting temporarly for debug purposes
2008-11-05 20:42:37 +00:00
MW
571b94f537
moved the initial loading/setting of the config settings to its own class, ConfigurationLoader. To make it easier to customise the loading of those settings and possible in the future move it to a plugin.
2008-11-05 20:14:52 +00:00
Justin Clarke Casey
590cff9956
* Zap the letters that accidentally crept in to the license in EventQueueThreadClass
...
* (damn, Teravus spotted my plan to slowly change all the licenses in OpenSim letter by letter)
2008-11-05 20:13:53 +00:00
MW
6e017ca842
fixed/refactored the Get/Set Config console commands.
2008-11-05 19:47:29 +00:00
Justin Clarke Casey
fc36d7fdf2
* Set default client throttle multiplier to 2 (old value was effectively 8). See OpenSim.ini.example for details as to what this means
...
* Really this should be 1, but I think that this would be too slow compared to a Second Life server until we improve our ability to send textures of variable quality
* This may improve one aspect of sim performance where there are many avatars. However, there are still other performance problems that are unrelated to this change
* Value may be further tuned
* Removed temporary decals since the multipler setting will stick around now
2008-11-05 19:23:59 +00:00
MW
204ef95843
Moved a couple of more configuration fields to ConfigSettings
2008-11-05 18:00:45 +00:00
MW
079469b3f5
more startup/initialisation refactoring
2008-11-05 17:45:56 +00:00
MW
2a249373d3
Moved most of the configuration fields from Opensimbase to their own Class... Framework/ConfigSettings.
2008-11-05 17:18:16 +00:00
Justin Clarke Casey
8f3c5dbe5c
* Apply second patch in http://opensimulator.org/mantis/view.php?id=2561
...
* Inserts proper animation state names into data/avataranimations.xml file so that llGetAnimation() works as one would expect.
* Thanks StrawberryFride!
2008-11-05 15:26:10 +00:00
Jeff Ames
638fe7a7b5
Update svn properties, minor formatting cleanup.
2008-11-05 15:15:41 +00:00
Justin Clarke Casey
b84417a220
* Apply http://opensimulator.org/mantis/view.php?id=2561
...
* This is a partial implementation of llGetAnimation that returns the name of the animation as stored in data/avataranimations.xml but not its state name (since we don't yet
have these).
* Thanks StrawberryFride
2008-11-05 14:02:36 +00:00
Sean Dague
8bacdbd49c
add a test that ensures that databases work if email is null.
...
From: Sean Dague <sdague@gmail.com>
2008-11-05 13:23:25 +00:00
Dahlia Trimble
6d195ce3ce
added missing file from mantis #2555
2008-11-05 10:38:37 +00:00
Dahlia Trimble
5fffc04ae6
Add more vertex normals and UV coordinates. Sync with primmesher.dll forge project.
2008-11-05 10:22:41 +00:00
Charles Krinke
d664192dfe
Mantis#2557. Thank you kindly, Diva for a patch that:
...
This patch changes a method from private to public.
Will make life easier for the asset mapper for
the hypergrid.
2008-11-05 02:23:44 +00:00
Justin Clarke Casey
349f6ec3e5
* Apply http://opensimulator.org/mantis/view.php?id=2555
...
* Add new e-mail field to users table for MSSQL
* Thanks StrawberryFride
2008-11-04 21:44:57 +00:00
Justin Clarke Casey
41232ee921
* Correct build break from last commit - how on earth did it compile last time? Bizarre
2008-11-04 21:42:31 +00:00
Justin Clarke Casey
e1e2622e92
* Stop an exception in the thread tracker cleanup loop from terminating the sim
2008-11-04 21:35:12 +00:00
Justin Clarke Casey
8851db0a0a
* Stop an exception in the Content Management module main loop from crashing the whole sim
2008-11-04 21:30:57 +00:00
Justin Clarke Casey
09dabb2aec
* Prevent texture sender thread termination from immediately crashing the sim
2008-11-04 21:26:40 +00:00
Justin Clarke Casey
9848dc77cc
* Stop an exception in getting assets for the archiver from crashing the sim
2008-11-04 21:19:00 +00:00
Sean Dague
ea27b95f8e
From: Rob Smart <SMARTROB@uk.ibm.com>
...
This patch allows an object to directly message another object given its
key using the method osMessageObject(key objectUUID,string message).
to communicate with an object it must implement the dataserver listener
method. The dataserver method is passed the key of the calling object
and a string message.
2008-11-04 20:48:35 +00:00
Justin Clarke Casey
c4fbb6453c
* Stop a non WebException in an XMLRPC request from bringing down the whole sim
2008-11-04 20:47:59 +00:00
Justin Clarke Casey
03c402842a
* Stop a problem in the DotNetEngine event queue thread from immediately bringing down the whole sim, though the sim will need a reboot
2008-11-04 20:43:11 +00:00
Justin Clarke Casey
97d320d7d1
* Practise some defensive programming - gracefully terminate the thread if there is a problm in the world map module rather than bringing down the whole server.
2008-11-04 20:23:18 +00:00
Justin Clarke Casey
21c0df53a2
* Improve the previous fix by pushing the exception catching down into OGS1 grid services
2008-11-04 20:14:57 +00:00
Justin Clarke Casey
f793f93817
* Temporary fix to stop a problem in getting neighbour info in the world map module from crashing the entire server
2008-11-04 19:56:02 +00:00
Justin Clarke Casey
78bfe7a3e3
* minor: doc and log message tweaking for wearables
2008-11-04 19:51:35 +00:00
Sean Dague
7d6dc3b099
add some null protection on email
...
From: Sean Dague <sdague@gmail.com>
2008-11-04 19:26:17 +00:00
Sean Dague
972143b592
- Added stronger persistence tests for BasicUserTests
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-04 18:53:13 +00:00
Sean Dague
45dd97a262
- Stronger inventory tests
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-11-04 18:53:06 +00:00
Justin Clarke Casey
67315ef106
* Stop sending wearables back to the client on set appearance
...
* Now I've had time to analyze this, the Second Life grid doesn't appear to send this to the client (which in principle should know what wearables it has already)
2008-11-04 18:33:54 +00:00
Justin Clarke Casey
5330838b15
* minor: appearance related doc and log message tweaking
2008-11-04 18:29:37 +00:00
MW
1c2a0c78d9
Added a (xmlIgnored) SitAnimation property to SceneObjectPart. That allows the setting of the name of the animation to be used when a avatar sits on that object. At some point in the future this should be persisted.
...
So basically simplifies what a lsl script that detects a avatar sitting on a prim, then stopping the sit animation and playing a custom animation, does.
Also added another ScenePresence.HandleAgentRequestSit() method , that accepts the name of the sit animation. So that modules can override the animation used, when they are doing a server controlled sit.
Started some work on making the stand pose be played as soon as a user logs into a region. Rather than them starting with their arms stretched. This still needs more work
2008-11-04 16:39:28 +00:00
Dr Scofield
f57d1307ab
fix: ArchiveReadRequest.URIFetch stumbles over absent content length field
...
fix: region parameter in IRCBridgeModule XmlRpc was check for presence but not actually used...
2008-11-04 16:17:27 +00:00
Sean Dague
702249358b
implement email field for MySQL and SQLite
...
From: Sean Dague <sdague@gmail.com>
2008-11-04 14:54:42 +00:00
Mike Mazur
6e14d1005a
Prefix LSL variables which are C# keywords with @ instead of _ when translating from LSL to C#. Thanks idb for the patch. Fix issue 2546.
2008-11-04 01:30:39 +00:00
Jeff Ames
a66081f562
Update svn properties, minor formatting cleanup.
2008-11-04 00:54:16 +00:00
Sean Dague
a9d0642fca
add email field to UserProfileData object
...
remove virtual setting from properties, as that was legacy that I put in
there a while back
From: Sean Dague <sdague@gmail.com>
2008-11-04 00:35:32 +00:00
Justin Clarke Casey
ee178c76ae
* Apply http://opensimulator.org/mantis/view.php?id=2535
...
* Catch and report deserialization exceptions on rest handlers
* Thanks Diva!
2008-11-03 22:29:19 +00:00
Homer Horwitz
39691e61a2
Small fix for a possible NRE in standalone mode, killing the
...
client-thread. Will hopefully fix Mantis#2536.
2008-11-03 22:02:52 +00:00
Justin Clarke Casey
4ff0c39153
* Expose a client_throttle_multiplier setting in OpenSim.ini. This multiplier is applied to all the client throttle settings received by the client
...
* This should probably be 1, but currently by default it is 8, to reflect what was being eon3 in OpenSim before this revision. So if the client requested a maximum throttle
of 1500 kilobits per second, we would actually send out 1500 kilobytes per second
* Adjusting this multiplier down towards 1 may improve your OpenSim experience, though in other situations it may degrade (e.g. if you're using a standalone over high bandwidth
links)
* This is currently a user setting because adjusting it down may currently reveal other OpenSim bugs.
2008-11-03 21:09:30 +00:00
Justin Clarke Casey
c789a9d02a
* mionr: correct CONTRIBUTORS file for Plugh
2008-11-03 20:16:47 +00:00
Justin Clarke Casey
1e56bda487
* minor: fussy little change to put colons in some log output
2008-11-03 20:10:54 +00:00
Homer Horwitz
580b11779a
On TP, child-agents weren't closed down properly, as the list of child-regions
...
was cleared before using it to find the children.
2008-11-03 19:56:47 +00:00
Homer Horwitz
a64d6eccd0
Add a bit more error-checking to GetFriendRegionInfos.
2008-11-03 19:13:42 +00:00
Justin Clarke Casey
8dbd0118a8
* Pull client throttle multipler setting out of config source. Not an adjustable setting yet (and then only for debug purposes)
2008-11-03 19:02:44 +00:00
Justin Clarke Casey
6ea24799dd
* minor: don't need to null check config source in clientstack settings since this is always non null
2008-11-03 18:49:25 +00:00
Justin Clarke Casey
a88e850ccf
* minor: eliminate unused config field
2008-11-03 18:36:04 +00:00
Justin Clarke Casey
8c71954e08
* Use nini to pass config information to the client stack, rather than the ClientStackUserSettings class
...
* This conforms better to other module usage
2008-11-03 18:33:35 +00:00
Dr Scofield
add42f5e9b
completing move to refactored multi-channel capable IRCBridgeModule
2008-11-03 17:17:57 +00:00
Dr Scofield
69ae33db1a
dropping old IRCBridgeModule.
2008-11-03 17:11:28 +00:00
Justin Clarke Casey
57caef119c
* Use the UUID regex sitting in utils for detection of uuids embedded in scripts
...
* Replaces the one in the module itself, which had a dumb bug in it anyway
2008-11-03 16:57:03 +00:00
Dr Scofield
d6d2a38e76
merging changes from IRCBridgeModule in to XIRCBridgeModule; swapping
...
OpenSim.ini config tags in preparation for merge of IRCBridgeModule
and XIRCBridgeModule.
2008-11-03 16:20:13 +00:00
Dahlia Trimble
d0c8d7a177
Thanks diva for a patch that removes an unnecessary dependency on CommunicationsOGS1 from OGS1UserServices
2008-11-03 05:40:43 +00:00
Dahlia Trimble
8aa16a9acf
Thanks diva for patch that makes a bunch of methods in InventoryServiceBase virtual, so that they can be overriden in subclasses.
2008-11-03 05:22:36 +00:00
Charles Krinke
07ba2f4363
Mantis #2530 . Thank you kindly, Idb for a patch that:
...
The attached patch changes the casts from explicit to implicit.
2008-11-03 01:57:10 +00:00
Homer Horwitz
499f1428f7
- Add Util.isUUID
...
- Add tests for Util.isUUID
- First part of the fix for protocol interoperability between viewer 1.20 and 1.21 for friend offers.
2008-11-02 13:07:57 +00:00
Melanie Thielker
6d4f8b38aa
Cause inventory to be fetched on scripted item gives if the destination
...
avatar is remote or offline.
2008-11-02 08:53:03 +00:00
Jeff Ames
88d6557071
Update svn properties, formatting cleanup.
2008-11-02 01:29:56 +00:00
Melanie Thielker
44852158f2
Mantis #2518
...
Thank you, idb, for a patch that fixes the conflicts of lsl identifiers
with c# keywords
2008-11-01 23:50:19 +00:00
Justin Clarke Casey
87b8f327aa
* Apply http://opensimulator.org/mantis/view.php?id=2440
...
* The attached patch changes the LSLInteger operator overrides for == and != to return LSLIntegers 1 or 0 instead of a bool and adds similar operator overrides for >, <, >= and
<=
* Thanks idb!
2008-11-01 23:15:16 +00:00
Adam Frisby
4c24b1bc9b
* Massive cleanup of LLClientView, removed a few hundred unnecessary value initialisers, etc.
2008-11-01 22:34:04 +00:00
Adam Frisby
84136c70d8
* Minor cleanup
...
* Added additional error message when a Object/SOG DB save fails so we can trace why.
2008-11-01 22:20:54 +00:00
Justin Clarke Casey
e3864de621
* Apply http://opensimulator.org/mantis/view.php?id=2521
...
* Fix not tests in LSL which require implicit casting (see mantis for an example)
2008-11-01 22:18:26 +00:00
Homer Horwitz
38e8853e57
Megapatch that fixes/adds: friend offer/deny/accept, friendship termination,
...
on-/offline updates, calling cards for friends.
This adds methods in the DB layer and changes the MessagingServer, so a full
update (incl. UGAIM) is necessary to get it working. Older regions shouldn't
break, nor should older UGAIM break newer regions, but friends/presence will
only work with all concerned parts (UGAIM, source region and destination
region) at this revision (or later).
I added the DB code for MSSQL, too, but couldn't test that.
BEWARE: May contain bugs.
2008-11-01 22:09:48 +00:00
Justin Clarke Casey
e3a1ccf0b2
* minor: Remove mono compiler warning
2008-11-01 22:07:55 +00:00
Justin Clarke Casey
9366a234cf
* refactor: Convert most non SOP methods to use SOG.IsAttachment rather than SOP.IsAttachment
2008-11-01 22:04:35 +00:00
Homer Horwitz
44e377d1fb
Fix a compile warning about unreachable code
2008-11-01 21:55:48 +00:00
Justin Clarke Casey
7c04d27875
* Introduce an IsAttachment property on the group level (which just returns false if the group is already deleted)
...
* This is to avoid repetitive null checks - I'm beginning to think that blasting away the root part on object deletion is actually a bad move. Perhaps we should leave it around
and let the client ignore any superfluous packets (which it may well do anyway), since we're constantly exposing a race condition
2008-11-01 21:50:07 +00:00
Justin Clarke Casey
b03e34dd2d
* Fix http://opensimulator.org/mantis/view.php?id=2517
...
* Don't save attachments on saving oar, which stops them coming back as ghost prims
2008-11-01 21:28:52 +00:00
Melanie Thielker
388c053dcb
Make the IM and friends modules optional. Clean up some code that dealt
...
with the old Grid Instant Message over OGS1. Refactor the EventManager
to be independent of the rigid module structure design imposed by
the current implementation. Message routing is now done in the destination
module rather than in the event manager. This way, more or less granular
solutions are possible without core changes.
2008-11-01 18:18:19 +00:00
Charles Krinke
9299be0080
Revert last checkin. Avatars fall through non-physical prims now.
...
There is more to the solution then just enabling soft_erp and
soft_cfm for all d.Contact cases.
2008-11-01 17:58:34 +00:00
Charles Krinke
1e376deedd
Added soft_cfm and soft_erp to the general "contact" initialization
...
for physical prim interactions. They were not previously enabled
for prim-prim interactions.
2008-11-01 17:30:06 +00:00
Melanie Thielker
865b5bb317
Make the inventory transfer module replacable in config.
2008-11-01 17:05:28 +00:00
Melanie Thielker
0bff4215fe
Correct the handling of the creator field on inventory gives
2008-11-01 16:49:52 +00:00
Melanie Thielker
4fb2d70373
A stab a getting the user server to act right. Move acquisition of the
...
locks to just before the try/catch/finally block, so that an exception
thrown between taking the lock and entering the try doesn't leave a mutex
locked
2008-11-01 15:10:45 +00:00
Jeff Ames
337da2a7a3
Update svn properties, minor formatting cleanup.
2008-11-01 07:21:40 +00:00
Justin Clarke Casey
465a931c05
* In the client stack, if the BeginReceive() throws an exception then do print this out to the log once
...
* This may help us detect if mysterious UDP disconnects are happening because of this.
* Shouldn't be any functional change but I would appreciate a buddy check from Teravus if he has time (as for all client stack changes)
2008-10-31 19:41:07 +00:00
Justin Clarke Casey
4df3a19be6
* Reinstate sending wearables back to the client in response to set appearance
...
* Since the client sets the appearance in the first place (in response to receiving wearables information originally) this seems a little redundant
* But I've realized I didn't actually test this assumption, so I'm going to reinstate it for now
2008-10-31 18:58:30 +00:00
Justin Clarke Casey
269303d97d
* test: Add basic scene test which merely instantiates the scene right now
...
* set debug scene name on scene registration, rather than within the Scene constructor
2008-10-31 18:39:51 +00:00
Adam Frisby
1f52ca97c7
* Enables PrimitiveBaseShape to be used inside a libOpenMV project by adding some alternate codepaths that avoid triggering OpenSim specific code. Probably not useful for most people, but might be for those working on interop projects.
2008-10-31 08:54:54 +00:00
Adam Frisby
129610e797
* Added some debug information to MySQL UserDataManager to help diagnose a potential issue when in high load. Related to mantis #2508 .
2008-10-31 04:58:14 +00:00
Justin Clarke Casey
5feaff8524
test: Extend malformed packet test to actually check that a valid packet can get through after the malformed ones have been sent
2008-10-30 22:32:23 +00:00
Justin Clarke Casey
419775c72b
* test: Test that the client stack doesn't completely blow up if a client passes it malformed data
2008-10-30 20:17:30 +00:00
Justin Clarke Casey
2fb8089d8c
* Slightly tweak to teardown test, try a circuit which never existed in the first place
2008-10-30 19:46:52 +00:00
Justin Clarke Casey
22ec3e7952
* minor: spacing adjustment before next commit
2008-10-30 19:43:58 +00:00
Justin Clarke Casey
bc1b69b2fd
* test: fill out circuit teardown test
2008-10-30 19:42:25 +00:00
Justin Clarke Casey
9f9d97c57b
* minor: remove mono warning
2008-10-30 19:32:36 +00:00
Justin Clarke Casey
80e87747f3
* test: Refactor test infrastructure for future client teardown test
2008-10-30 19:26:38 +00:00
Dr Scofield
b222d11b12
From: Alan Webb (alan_webb@us.ibm.com)
...
XIRCBrigeModule is transient, will merge it with IRCBridgeModule:
extends/refactors IRCBridgeModule to support channel-per-region (if
desired).
2008-10-30 15:31:44 +00:00
Dr Scofield
3a6037b421
From: Alan Webb (alan_webb@us.ibm.com)
...
Cleanups in REST inventory and asset services.
2008-10-30 15:26:23 +00:00
Dr Scofield
e8615f0fee
From: Alan Webb (alan_webb@us.ibm.com)
...
Adding support to set start region and lookat for an avatar via
XmlRpc.
2008-10-30 15:24:52 +00:00
Dr Scofield
537cd4708f
From: Chris Yeoh (yeohc@au1.ibm.com)
...
Here's the patch that clamps llGround to using sane values avoiding
runtime errors.
2008-10-30 15:09:43 +00:00
Charles Krinke
87e7ff5932
Thank you kindly, NLin for an implementation patch
...
for llSetHoverHeight() and llStopHover(). I believe
this gets is to less then 50 LSL functions left to
implement.
2008-10-30 14:06:00 +00:00
Sean Dague
9e353d5713
- Includes consistency test for new and updated objects, as
...
some fixes in MySQL and SQLite
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-10-30 12:56:10 +00:00
Sean Dague
409e7262df
Mid-work, trying to fix region part insertion and retrieval
...
SQLite reports System NUll Reference, but works, inside
LoadItems, on SQLiteRegionData.cs
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2008-10-30 12:56:04 +00:00
Justin Clarke Casey
742514b0d7
* Apply http://opensimulator.org/mantis/view.php?id=2492
...
* object_rez event should now be sent to all scripts in the prim
* Thanks idb!
2008-10-29 20:58:11 +00:00
Justin Clarke Casey
7fdd6b74e3
* Apply patch in http://opensimulator.org/mantis/view.php?id=2494
...
* Introduces missing casts for float, integer, vector, quaterion and string to list
* Thanks idb
2008-10-29 20:09:02 +00:00
Justin Clarke Casey
8367353ea3
minor: indentation corrections
2008-10-29 20:05:16 +00:00
Justin Clarke Casey
f8c2efbe70
* Instead of putting 0.5.11.00000 if there is no revision, just put 0.5.11 instead
...
* This is to make things less confusing to users (and maybe a little easier to do future version filtering for grid connections)
* If there's disagreement about this, then please say so (preferably in the opensim-dev mailing list)
2008-10-29 19:57:30 +00:00
Justin Clarke Casey
b21734d4d9
* Stop the DataSnapShot module trying to call home on shutdown even if it isn't enabled.
...
* Please let's check such patches carefully - we don't want info leaking out unless the user has requested it
2008-10-29 18:53:24 +00:00
Justin Clarke Casey
8a3157aa6a
* Check in (disabled) results of not persisting avatar textures but rather sending ImageNotFound to clients if avatar textures are missing
...
* Whilst this does automatically get the client to rebake, on crossing a region border the 'local' assets are left behind
* There may be a cunning solution (such as squirting the assets on region crossing, or having them fetched from the original region) but
instead I'm going to opt for the easy solution of keeping them in the asset database, for now
2008-10-29 18:38:10 +00:00
Dahlia Trimble
5cf6a7f118
Viewer side normals and UV fixes on profile cuts. Sync with primmesher.dll forge project.
2008-10-29 09:47:45 +00:00
Jeff Ames
395a0f7977
Minor formatting cleanup.
2008-10-29 03:22:54 +00:00
Mike Mazur
3fd35f9fbe
GridManager.GetRegions() now returns a List, not a Dictionary. Also removed some trailing whitespace.
2008-10-29 02:27:39 +00:00
Melanie Thielker
f9eb3712ed
Remove a debug output
2008-10-29 00:32:41 +00:00
Melanie Thielker
766269a59b
Plumbing along....
2008-10-29 00:15:39 +00:00
Melanie Thielker
0c6db79a8e
Mantis #2489
...
Thank you, Diva, for a patch that helps keep the list of sims to index clean
by allowing sims to deregister.
2008-10-29 00:10:59 +00:00
Justin Clarke Casey
7beeaf51f8
* minor: remove mono compiler warnings
2008-10-28 21:47:43 +00:00
Justin Clarke Casey
1ff9709ea3
* Possibly fix grey avatar appearance problems
...
* And hopefully rebaking all the time should no longer be necessary now
* It turns out that when the client baked the texture, the uploaded asset had the Temporary flag to true (Temporary is actually deprecated).
* It also had the StoreLocal flag set to true, which signifies that the asset should be stored locally. If it disappears we should reply to the asset request with
ImageNotInDatabasePacket
* However, last time this was enabled some clients started crashing. This may well no longer be the case and needs to be tested, but in the mean time we will store
the asset instead.
* This needs to be resolved in a better way, possibly by starting to send the ImageNotInDatabase packet again instead
2008-10-28 21:31:23 +00:00
Justin Clarke Casey
247b806134
* minor: Add documentation to some of the appearance methods, change some logging messages
2008-10-28 17:35:36 +00:00
Justin Clarke Casey
f34079cc8c
* Eliminate an extra unnecessary appearance fetch on login
...
* This shouldn't fix the existing appearance bugs, but neither should it make them worse.
2008-10-28 16:04:25 +00:00
Justin Clarke Casey
baa29fcbff
* minor: Doc and log message tidy up
...
* reinstate debug level log message indicating when a child agent is made a root for future debugging purposes
2008-10-28 15:46:30 +00:00
Justin Clarke Casey
2a9796e2aa
* Apply http://opensimulator.org/mantis/view.php?id=2482
...
* Stop 'show threads' throwing an exception if a thread is dead
2008-10-28 15:01:43 +00:00
Charles Krinke
d8a6971a35
Thank you kindly, Mircea Kitsune for a patch that solves:
...
When the avatar stops flying in mid air, it stays still
while it falls to the ground. Normally, the avatar would
use the falling animation (when it spins its arms and legs
while falling) until it reaches the ground.
2008-10-28 14:57:31 +00:00
Dr Scofield
1a06045c98
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The attached patch fixes the bug where when linking in a new set of
prims to an already linked set of objects the prims were placed at the
end of the list rather than just after the root prim. ie. link prim
order result was different on OpenSim compared to an LL server. This
causes a few issues with respect to compatibility of scripts,
especially when using llCreateLink.
2008-10-28 11:26:23 +00:00
Melanie Thielker
8ea4553d39
Mantis #2486
...
Thank you, nlin, for a patch that fixes serialization of vector and
quaternion types for script state.
2008-10-28 10:14:44 +00:00
Dahlia Trimble
ae5d92a167
some sorely needed extruder code simplification and refactoring, also some fixes to cut face UV coordinates
2008-10-28 08:57:15 +00:00
Jeff Ames
1342e89a8f
Update Sun options in OpenSim.ini.example. Minor cleanup in SunModule.cs.
2008-10-28 02:34:03 +00:00
Melanie Thielker
9a36afec6e
Experimental patch (suggested by diva) to kill off WP teleport ghosts.
2008-10-27 23:46:34 +00:00
Justin Clarke Casey
e6a141b0f5
* Remove the OpenSim GUI.
...
* A better version can now be found on the forge at http://forge.opensimulator.org/gf/project/osgui
2008-10-27 21:29:22 +00:00
Justin Clarke Casey
4b929804dc
* cleanup: Update the avatar factory (appearance module) in Region/Environment and use that instead of the Region/Modules/AvatarFactory
...
* Remove the AvatarFactory dll
2008-10-27 20:48:18 +00:00
Justin Clarke Casey
754f6ba2a2
* minor: remove mono compiler warnings
2008-10-27 20:16:42 +00:00
Justin Clarke Casey
6ec9c2d706
* Apply http://opensimulator.org/mantis/view.php?id=2468
...
* This time there are accompanying changes to the unit test to adapt it to the changes
* Thanks tglion
2008-10-27 17:06:47 +00:00
Justin Clarke Casey
0d69e06779
* Temporarily revert terrain changes in r6976 and reinstate unit test from r6977.
...
* If a change is going to affect a unit test, then please could we change the unit test at the same time? Otherwise this will never get done
* It also seems a bad idea to disable tests which start failing unless there's a very good reason
2008-10-27 14:27:45 +00:00
Jeff Ames
b2d6b0a3d4
Update svn properties, minor formatting cleanup.
2008-10-27 01:43:59 +00:00
Charles Krinke
a59ca765fe
Thank you kindly, Idb for a patch that solves:
...
LSL - Bitwise operators OR and XOR do not work
on integer variables
2008-10-27 00:59:26 +00:00
Charles Krinke
8a6042f063
Thank you kindly, Idb for a patch that solves:
...
llGetRot and llGetRootRotation return the wrong
values when the object is attached
2008-10-27 00:51:50 +00:00
Charles Krinke
8cb889cb0e
Thank you kindly, Ruud Lathrop for a patch that solves:
...
Primary Key violation when just linked a lot of prims using MSSQL.
2008-10-27 00:46:17 +00:00
Melanie Thielker
cc48110a03
Mantis #2428
...
Thank you, miceakitsune, for a patch that makes terraforming tools usable again
2008-10-26 23:09:00 +00:00
Melanie Thielker
f7e44250bf
Committing a small fix for EventData along with more plumbing work
2008-10-26 19:32:41 +00:00
Charles Krinke
ba79c26d2d
Thank you kindly, Idb for a patch that solves:
...
The following should silently fail when attached,
llBreakAllLinks, llBreakLink, llCreateLink.
The following should be restricted to avatars in the same sim,
llGetAgentInfo, llSameGroup, llGetAgentSize, llGetAnimationList.
Comment added to the following unimplemented functions,
llGetAgentLanguage, llGetAnimation.
2008-10-26 18:26:56 +00:00
Charles Krinke
b552e8ebe3
Thank you kindly, Idb for a patch that solves:
...
llGetBoundingBox is completely unimplemented. The attached
patch contains a partial implementation for single prim
objects and standing, flying and ground sitting avatars.
In the case of an avatar sat on an object or multi-prim
objects only the bounding box of the root prim is returned.
llRezObject and llRezAtRoot ignored any velocity parameter.
The attached patch makes use of it if it is not a zero vector.
2008-10-26 17:09:26 +00:00
Charles Krinke
2462108bfb
Thank you kindly, Ewe Loon for a patch that solves:
...
m_ScriptDelayFactor and m_ScriptDistanceFactor are
being read from XEngine settings not the settings
for the scriptengine being used
2008-10-26 17:01:15 +00:00
Melanie Thielker
c25f3ced04
Disable terrain brush test until someone with terrain-fu can look
...
at it and determine the new test parameters needed for the terrain
brush with strength support
2008-10-25 14:47:09 +00:00
Charles Krinke
4e14aa44c7
Thank you kindly, Tglion for a patch that:
...
Support of strength-slider in latest sl-client (1.21.6)
Added a patch, which includes the support of strength-slider
in latest sl-client (1.21.6) for Raise- and LowerSphere.
2008-10-25 14:07:35 +00:00
Melanie Thielker
c49e1b8fb6
A few more bots to yesterday's plumbing: change instant message method
...
signature
2008-10-25 13:53:17 +00:00
Homer Horwitz
5e6954dfe6
Fixed the cause of a hidden Exception which prevented BaseHttpServer to answer
...
when a non-existing XmlRpc method was called. Now, it will correctly respond
with a faultCode/faultMessage.
2008-10-25 13:45:26 +00:00
Melanie Thielker
dc1214e46f
Make ScenePresence.Close public to allow subclassing of SceneComms
2008-10-25 13:44:26 +00:00
Melanie Thielker
26643c4a9d
More plumbing and some wires
2008-10-25 01:42:43 +00:00
Melanie Thielker
f85be9b39a
Fix a leak in the plumbing
2008-10-24 23:55:28 +00:00
Dahlia Trimble
3447bed8be
Add end faces when radius setting is non-zero
2008-10-24 23:37:09 +00:00
Melanie Thielker
64f9f03e9a
Plumb some more
2008-10-24 23:04:55 +00:00
Justin Clarke Casey
c519b80680
* minor: eliminate some mono compiler warnings
2008-10-24 21:40:05 +00:00
Justin Clarke Casey
7b224677c1
* Stop passing in unnecessary pameters to CreateNewCircuit
2008-10-24 21:34:18 +00:00
Justin Clarke Casey
dc6724ddde
* minor: Remove now unused startpos method
2008-10-24 21:26:59 +00:00
Justin Clarke Casey
3340a579e7
* Stop creating a circuit if the client fails authentication (i.e. the region server wasn't told that it was coming)
...
* This moves authentication from the client thread (where failure was difficult to detect) to the particular thread handling that packet
* I've kept the authentication outside of the crucial clientCircuits lock (though any delay here is probably swamped by the other delays associated with login)
* Also added more to the unit test to ensure this doesn't regress
2008-10-24 21:22:54 +00:00
Dahlia Trimble
71660003de
un-double-flipped some double-flipped normals in circular path prim end caps
2008-10-24 20:04:34 +00:00
Justin Clarke Casey
91c2e53277
* Change AddClient test such that we now successfully authenticate
...
* The fact that the assert passed even when authentication failed reveals a bug in the code that will be corrected soonish
2008-10-24 19:40:45 +00:00
Justin Clarke Casey
9fa7264c73
* minor: refactor out AddUser test setup to common method
2008-10-24 19:10:25 +00:00
Melanie Thielker
a9b1119e49
Remove a debug output dump
2008-10-24 15:04:35 +00:00
Melanie Thielker
6775b7d02d
Lotsa plumming :)
2008-10-24 14:53:13 +00:00
Dahlia Trimble
a11fa9055a
Fixed a floating point error accumulation that was causing missing end faces on some twisted prims
2008-10-24 05:31:43 +00:00
Justin Clarke Casey
369aa8f46b
* minor: Remove unused public PacketServer variable.
...
* If this was important to you please reinsert and we can put it in a recognized interface.
2008-10-23 20:10:19 +00:00
Justin Clarke Casey
5c2d400235
* Apply http://opensimulator.org/mantis/view.php?id=2459
...
* Implements the rest of llGetAgentInfo() with the exception of AGENT_BUSY.
* Thanks nlin
2008-10-23 20:06:23 +00:00
Justin Clarke Casey
c379c66c7c
* Reenable assert for the add circuit test
...
* This checks that a client circuit is established when the udp server is given a use client circuit code packet
* And checks that other circuit codes do not exist
2008-10-23 19:51:10 +00:00
Justin Clarke Casey
6101202403
* Revert to executing existing setup if an added circuit did not already exist
...
* Not sure why things still worked in the presence of this bug - possibly the problem is compensated for later on. If you are having udp session problems this bug fix may help
(though no guarantees).
2008-10-23 19:25:40 +00:00
Justin Clarke Casey
d30a596989
* Add missing file from last commit. Yay for continuous integration!
2008-10-23 19:16:33 +00:00
Justin Clarke Casey
f4ad99f89d
* Introduce a basic udp circuit test for adding a client
...
* Temporarily disabled assert because it just picked up an existing bug. Yay for tests!
2008-10-23 19:08:54 +00:00
Justin Clarke Casey
ee3c428040
* Refactor LLUDPServer slightly so that unit tests can pass in data synchronously. Shouldn't be any functional change
2008-10-23 17:16:13 +00:00
Dr Scofield
f5371b6635
adding documentation for region_master_uuid to XML doc comments
2008-10-23 12:19:11 +00:00
Dr Scofield
44052a1423
fix: allowing explicit setting of UUID for master avatar in
...
CreateRegion (and documenting it).
2008-10-23 12:10:58 +00:00
Dr Scofield
dc7e3ddc3e
fix: recent patch to XmlRpcCreateRegionMethod introduced master avatar
...
UUID parameter without checking for it at the method entry. this patch
adds logic to obtain the master UUID via the user profile service,
and, if the master avatar does not exist, will create the user. in any
case the UUID is then the one supplied by the user profile service.
2008-10-23 11:14:25 +00:00
Dr Scofield
4dcafab286
removing unused method from ConciergeModule. adding attendee list
...
logic to ConciergeModule. adding XmlRpc method to allow update of
welcome template for a region. documenting [Concierge] "password"
option in OpenSim.ini.example.
2008-10-23 10:21:03 +00:00
Dr Scofield
b91857b8f7
Adding AddXmlRpcHandler(name, method, bool) to selectively disable
...
KeepAlive for certain XmlRpc handlers.
Making use of new AddXmlRpcHandler method in RemoteAdminPlugin to
avoid clients waiting indefinitely for response.
taking note of BaseHttpServer parameter in CommunicationsManager
constructor (was passed it but then just ignored so far).
2008-10-23 10:15:19 +00:00
Dr Scofield
dbd8e1edb5
cleaning up commented lines in IRCConnector; changing access_password
...
logic to use a regexp.
2008-10-23 09:58:12 +00:00
Charles Krinke
f919b86156
Thank you kindly, Idb for a patch that:
...
Added AGENT_ATTACHMENTS and AGENT_SCRIPTED to llGetAgentInfo
Added to llGetAgentSize to include shoes in avatar height calculation.
2008-10-22 23:07:45 +00:00
Homer Horwitz
80689c98b4
- Added BaseHttpServer.Stop
...
- Added "register" command to MessagingServer to re-register with the
UserServer after that crashed/was restarted.
2008-10-22 17:06:23 +00:00
Charles Krinke
809a1d3367
Thank you kindly, Nlin for a patch that:
...
Attached patch adds detection of AGENT_WALKING
status to LSL function llGetAgentInfo()
2008-10-22 14:09:58 +00:00
Charles Krinke
3c99f027b5
Thank you both Nlin and M.Igarashi for a patch that:
...
Attached patch protects against a NullReferenceException
in SceneObjectGroup.stopMoveToTarget (used by LSL function
llStopMoveToTarget). Thanks to M. Igarashi.
2008-10-22 14:06:07 +00:00
Melanie Thielker
659ad99993
And fix it
2008-10-22 03:50:45 +00:00
Melanie Thielker
a8523dddb6
Prevent an object with a null RootPart in delete queue from stopping
...
the deleting of other, valid objects
2008-10-22 03:49:38 +00:00
Melanie Thielker
f9b3ef32c6
Remove the gratuitious prim deletes caused by linking. This makes linking
...
a bit faster.
2008-10-22 03:32:45 +00:00
Teravus Ovares
dfc12d591c
* Add a config option for filtering collisions. Sometimes, under load, this seems to cause bouncing on really thin flat prim.
2008-10-22 01:52:12 +00:00
Melanie Thielker
f44742f75f
Pare the groups module down to basics. Adjust dependent files so that a
...
real groups module can even be implemented.
2008-10-21 22:54:31 +00:00
Dr Scofield
2a506f0cb2
adding "welcome" support to Concierge: allows to specify via
...
welcomes = /path/to/welcome/files/directory
a directory in which you can place welcome templates for concierged
regions (those regions that match the "regions" regexp). you can use
format substitution:
0: will be replaced by avatar name of the avatar entering the region
1: will be replaced by region name
2: will be replaced the name of the concierge
2008-10-21 17:55:25 +00:00
Dr Scofield
d0cc193456
cleanup.
2008-10-21 17:45:18 +00:00
Jeff Ames
0d4e391f75
Update svn properties, minor formatting cleanup.
2008-10-21 14:08:30 +00:00
Dr Scofield
4218744a26
fixing real cause of #2445 & #2449 : Position was <0, 0, 0> for
...
OSChatMessage coming from client.
2008-10-21 13:34:43 +00:00
Dr Scofield
fd108872d8
fixes #2445 & #2449 . interim fix that will make listeners work
...
again. need to investigate why chat position is catastrophically off.
2008-10-21 08:51:27 +00:00
Dahlia Trimble
931b04485d
More work in vertex normals and texture UVs. Syncing code with pyov.
2008-10-21 01:35:05 +00:00
Melanie Thielker
5865a2b8f8
Set a default creation date on inventory and task inventory items
2008-10-21 00:44:57 +00:00
Melanie Thielker
81e220af8d
Mantis #2439
...
MemberwiseClone() also clones the "already backed up" flag, preventing prims
created by drag-copying from being persisted. If such a prim is made the root
prims of a link set, the entire set will not be persisted. Fixed now.
2008-10-20 22:14:24 +00:00
Dr Scofield
12042cdc2b
From: Alan Webb <alan_webb@us.ibm.com>
...
cleanups and assorted fixes to REST inventory, asset, and appearance
services.
2008-10-20 18:07:06 +00:00
Dr Scofield
1fc6872f20
actually enabling SaveOAR XmlRpc ;-)
2008-10-20 17:53:15 +00:00
Dr Scofield
72a388a7b6
cleaning up IRCBridgeModule to allow for configuration from in-world,
...
chat relaying via private channels, and old IRCBridgeModule
behaviour. also cleaning up IRCBridgeModule's OpenSim.ini
configuration variable names (still supporting "old" variable
names). refactored IRCChatModule into IRCConnector and incorporating
watchdog from IRCBridgeModule into IRCConnector.
enabling ChatModule to be used as a super-class and utilizing it in
ConciergeModule.
2008-10-20 17:31:54 +00:00
Melanie Thielker
caf10245af
Mantis #2438
...
Fix llSetVehicleFloatParam to accept LSL_Float
2008-10-20 07:47:20 +00:00
Charles Krinke
e9134a050a
Thank you kindly, Idb for a patch that solves:
...
lsl conformity, llPushObject incorrectly
restricts the pushing of objects based
on region and parcel flags
2008-10-20 01:42:02 +00:00
Charles Krinke
a5d945e199
Thank you kindly, Idb for a patch that solves:
...
llWind always returns a zero vector. In the attached
patch the WindModule has been changed slightly to
make wind data available for llWind
2008-10-19 21:11:13 +00:00
Justin Clarke Casey
923f9fb749
* minor: remove mono warnings
2008-10-19 18:45:41 +00:00
Justin Clarke Casey
3b381523eb
* refactor: move loadInv and saveInv command line param functions up to the interactive OpenSim class
...
* direct module import is temporary
2008-10-19 18:26:44 +00:00
Justin Clarke Casey
6e98233b2e
* Restore loaded inventory items to the given folder
...
* Among many other deficiencies, currently a cache clear and relog is needed to see them, which is highly unsatisfactory
* No user funcionality yet
2008-10-19 18:19:18 +00:00
Justin Clarke Casey
f7205da1d9
* move command line parsing code from inventory archive modules to opensim server
...
* use default inventory archive name if none is given
* other minor cleanups
* this facility is not useable yet
2008-10-19 17:51:42 +00:00
Teravus Ovares
ed8a20dd60
* Fixed UDP server (again)
...
* Guys, there's an endless loop there *ON PURPOSE*. Please don't try to *fix* it. We must continue to process the UDP stream buffer on clients that disconnected nastily until it ends or the UDP server accept thread will die a horrible death.
2008-10-19 17:02:39 +00:00
Homer Horwitz
1ee10d919a
Added calling cards. Fixes Mantis#2409 and part of #1515 .
2008-10-19 16:49:10 +00:00
Dahlia Trimble
b6396bc9a7
More progress towards implementing vertex normals - not complete yet.
2008-10-19 09:04:25 +00:00
Teravus Ovares
6362760d30
* Null check before UseCircuitCode Check or the server crashes on packet loss!
2008-10-19 01:06:50 +00:00
Teravus Ovares
692f4259fb
* Add root agent list/check for mapitem requests.
2008-10-19 00:29:37 +00:00
Melanie Thielker
16d8c40a93
A small attempt to make persisting prims more reliable
2008-10-19 00:06:33 +00:00
Melanie Thielker
af7fcb540c
Add a resource file on Strawberry's patch I missed
2008-10-18 16:31:05 +00:00
Teravus Ovares
11fd935038
* Changed the dupe collision depth limiter to be slightly more restrictive. (less chance for a dupe)
2008-10-18 16:20:02 +00:00
Melanie Thielker
1bd33aa51a
Prevent a null root part from stopping objects from being persisted, also
...
remove any such objectsd from backup
2008-10-18 15:43:02 +00:00
Homer Horwitz
3a75a54da1
- Fix Util.UnixTimeSinceEpoch:
...
* Unix epoch starts at midnight, not at 8:00am
* All date/time handling should be done in UTC in the server, not in
the local timezone.
* Refactor out repeated computation of a constant value
- Added setting of CreationTime to some places where inventoryitems
are created
This fixes Mantis#2390.
2008-10-18 15:26:41 +00:00
Melanie Thielker
48890ea349
Guard against a null ref that can prevent objects from being persisted
2008-10-18 15:23:29 +00:00
Melanie Thielker
c3ba97c80a
Thank you, Strawberry Fride, for a patch that brings MSSQL even with MySQL
2008-10-18 13:04:35 +00:00
Melanie Thielker
264eeffd02
Fix thingd so that autoreturn also works when the user is not in the sim.
...
Also add experimental distance ordering for prims
2008-10-18 07:27:39 +00:00
Melanie Thielker
efe3f3eb2a
Megapatch. :) Fix skull attachment editing. Streamline Object terse updates.
...
Add rezzing time to objects. Add Object return and traffic fields to land
database. Add plumbing for auto return. Implement auto return.
Contains a migration. May contain nuts.
2008-10-18 05:51:36 +00:00
Teravus Ovares
0916b38b83
* Fix an over compensation for bounciness on flat Primitive
...
* Implement the linear impulse portion of llPushObject. We should have a lsl compatible implementation of that portion of the push. Angular.. well. still have yet to implement a torque accumulator.
* llPushObject respects the region and parcel settings for Restrict Push, it also respects GodMode as is defined in the LSL spec.
2008-10-17 23:19:00 +00:00
Justin Clarke Casey
739f1591da
* Remove mono warnings
2008-10-17 20:45:07 +00:00
Justin Clarke Casey
400314e884
* Finally, don't worry about doing containment checks on other dictionaries if we are adding a client
...
* Regarding an earlier change, I think it would be possible to eliminate the creation of new IPEndPoints on every end receive if we did the client circuit lookup before starting
the next receive. However, this would be a performance trade off and hence not worth trying without performance testing
2008-10-17 20:38:00 +00:00
Justin Clarke Casey
4ccac88cf6
* Don't worry about trying to populate the other dictionaries if a client's circuitcode is already found in the first one
2008-10-17 20:30:50 +00:00
Justin Clarke Casey
90d69a0523
* close two potential race conditions where a new asynchronous UDP recieve could overwrite an existing endpoint that had not yet been used by the previous thread
...
* in practice these race conditions were probably pretty rare
2008-10-17 20:14:31 +00:00
Justin Clarke Casey
84492fee01
* Temporarily resume creation of IPEndPoint on every call
...
* This widened what I think is an existing race condition where asynchronous recieves could potentially stomp on each other's end points (though this must occur very rarely, if at
all, in reality)
2008-10-17 19:08:53 +00:00
Homer Horwitz
9e46d5e207
Fixed llDeleteSubList; the indices were swapped (Fixes Mantis#2399).
2008-10-17 19:01:01 +00:00
Justin Clarke Casey
7891f821e2
* Instead of creating a new IPEndPoint on every udp packet receive, reuse the existing one
...
* This requires copying details into a new endpoint when it needs to be stored in client/circuit code hashes
2008-10-17 17:57:18 +00:00
Justin Clarke Casey
e4b8912296
* reverse part of a change that accidentally crept in with the last revision
2008-10-17 17:08:14 +00:00
Justin Clarke Casey
138bcf6fff
* Apply a modified version of http://opensimulator.org/mantis/view.php?id=2290
...
* This allows multiple user profile providers to be specified in OpenSim.ini separated by commas
* If multiple providers are specified then a request for a user profile will query each in turn until the profile is either found or all have been queried
* Unfortunately I don't believe this order can currently be specified, which if true is something that will need to be fixed.
* Thanks to smeans for the original patch.
2008-10-17 16:44:05 +00:00
Teravus Ovares
a6df2011f7
* Adds a lot of stability and performance to the physics engine. The avatar bounces less and things are a bit less explosive.
...
* Additionally, you can probably get more physical prim now together.. though, I think this puts us back on par with where we were in the beginning of the year on number of physical objects. Experiment. Make videos. Send Feedback. Enjoy.
2008-10-17 05:09:23 +00:00
Jeff Ames
f5c9600eb7
Update svn properties, minor formatting cleanup.
2008-10-17 02:50:39 +00:00
Teravus Ovares
c26d0ebc19
* Added missing dependencies that was causing build to fail in windows. Mono doesn't seem to care.
2008-10-17 01:59:43 +00:00
Homer Horwitz
ae9e38bf3f
Fixed (mono-)script handling for SL viewer 1.21:
...
- Added two missing caps (UpdateScriptAgent, UpdateScriptTask)
- Added one missing EventQueue event (ScriptRunningReply)
- Changed DNE and XEngine to use this new event
As we only use the mono engine anyway, the "Mono" checkbox is set by
default but doesn't have any function.
2008-10-16 21:46:03 +00:00
Melanie Thielker
4bbc28e445
Split the currency module into currency and a new Combat module, because
...
the combat function really doesn't belong into currency
2008-10-16 20:50:28 +00:00
Justin Clarke Casey
82b7374ed2
* minor: get rid of pointless ipeSender
2008-10-16 19:50:12 +00:00
Sean Dague
a29d8b9abb
- Removed debug print method
2008-10-16 19:05:32 +00:00
Sean Dague
b61f124cc3
more fun with rebasing
2008-10-16 18:41:24 +00:00
Sean Dague
43928d5253
resorting out this merge from arthur, sorry for so many commits here.
2008-10-16 17:46:46 +00:00
Sean Dague
8795bb623d
- Enforced no user or agent with UUID 0 on agent DB insertion
2008-10-16 17:46:43 +00:00
Justin Clarke Casey
4df08aed30
* Apply http://opensimulator.org/mantis/view.php?id=2401
...
* Removes spacers that are also separators in llParseString2List
* Thanks idb
2008-10-16 17:14:02 +00:00
Sean Dague
7f721ae20c
fix line endings, as apparently the bot didn't do this yet
2008-10-16 15:58:07 +00:00
Sean Dague
24822ab890
- New attempt after merging problem
2008-10-16 15:58:06 +00:00
Sean Dague
fa3d8220f2
- Enforced no user or agent with UUID 0 on agent DB insertion
2008-10-16 15:58:05 +00:00
Sean Dague
b9a736f0b8
- Removed a Console.Writeline and added a Test that will be changed
...
if the last commit is accepted
2008-10-16 15:58:03 +00:00
Sean Dague
8621303ea9
- Removed debug print method
2008-10-16 15:58:01 +00:00
Sean Dague
72725a0894
- Enforced no user or agent with UUID 0 on agent DB insertion
2008-10-16 15:57:59 +00:00
Tedd Hansen
9a200da0d2
Updated 32Bit launcher so it works in Visual Studio again. (So developers on 64-bit os can run OpenSim in 32-bit mode)
2008-10-16 15:09:02 +00:00
Justin Clarke Casey
6789234335
* Apply http://opensimulator.org/mantis/view.php?id=2405
...
* Implement llGetRegionFPS()
* Thanks idb
2008-10-16 13:17:31 +00:00
Teravus Ovares
68d85497ad
* Releases the inter-region thread synchronization between physics in ODE on the same instance.
...
* If you are hosting many regions on a single instance, you will probably notice a decrease in region startup time and maybe a slight increase in performance.
* Single regions won't notice anything different
2008-10-16 12:57:29 +00:00
Homer Horwitz
641de2f404
Check for terrain size=256x256 on "terrain load <file>". This fixes
...
(the rest of) Mantis#1813.
2008-10-15 21:20:07 +00:00
Sean Dague
ceb5830142
clean up a merge conflict and remove a console message
2008-10-15 21:00:08 +00:00
Homer Horwitz
d77ebb5761
Thanks, idb, for a patch that fixes Mantis#2400:
...
llSensor() range ignored with AGENT.
2008-10-15 20:49:28 +00:00
Justin Clarke Casey
98245e4bfa
* minor: Oh go on, one more warning. Oooh, you are naughty
2008-10-15 20:46:39 +00:00
Justin Clarke Casey
98fdf504d9
* Truncate outgoing media and music urls to 254 characters.
...
* Hopefully this will resolve http://opensimulator.org/mantis/view.php?id=2383
2008-10-15 20:24:44 +00:00
Justin Clarke Casey
fac4d02d7e
* minor: comment out persisting prim inventory log messages
2008-10-15 19:54:07 +00:00
Sean Dague
63ef14bd8c
- Added User Appearance Set and Get tests
2008-10-15 18:15:46 +00:00
Sean Dague
f2eca571b8
- Removed a Console.Writeline and added a Test that will be changed
...
if the last commit is accepted
2008-10-15 18:15:45 +00:00
Sean Dague
fa8c0d7683
- Makes MySQL reject inserting UUID 0
...
- Makes SQLite mimick MySQL default behavior on first
and last name already on db: it does not insert the
new record.
- Added tests for UUID 0 and for new UUID with existing
first and last name.
2008-10-15 18:15:43 +00:00
Sean Dague
8e3c10234a
Removed some comments
2008-10-15 18:15:40 +00:00
Justin Clarke Casey
b1248004f0
* minor: remove some warnings
2008-10-15 17:19:02 +00:00
Justin Clarke Casey
230835dbaa
* refactor: Remove OutPacket from the IClientAPI
...
* I believe this is reasonable since code outside the Linden client stack shouldn't be aware of the packet format being used
* I would love to have made the method protected, but the LoadBalancerPlugin is still calling it and resolving that would require more work
2008-10-15 17:06:47 +00:00
Justin Clarke Casey
87e85489f3
* refactor: move viewer effect packet into LLClientView
2008-10-15 16:52:48 +00:00
Justin Clarke Casey
eb07a40870
* minor: disable a couple of other lines of image not found, which are pointless anyway since we aren't currently sending the packet
2008-10-15 16:38:24 +00:00
Justin Clarke Casey
9324c3f110
* refactor: Move error logging from GetUserDetails up to callers, since there are some circumstances in which not finding a user is not an error
2008-10-15 16:35:27 +00:00
Justin Clarke Casey
9c4d868167
* minor: oops, small textual tweak
2008-10-15 15:50:37 +00:00
Justin Clarke Casey
d1068d738a
* minor: during opensim archive creation, tell the user that it may take some time
2008-10-15 15:50:05 +00:00
Justin Clarke Casey
2226626fec
* refactor: move code concerned with creating a subsequent image packet to LLClientView
2008-10-15 15:30:27 +00:00
Justin Clarke Casey
063ba29ff8
* refactor: rename SendImagePart to SendImageFirstPart since this is more descriptive of its actual function
2008-10-15 14:56:58 +00:00
Justin Clarke Casey
8ba8b0300a
* Create a new ViewerEffectPacket for each viewer rather than reusing the packet structure
...
* This would have been a source of out_of_order messages for different sequences, which still appear to be happening
2008-10-15 14:41:12 +00:00
Dahlia Trimble
227fd4eb11
Thanks to T. Sado and nlin for a patch that partially implements llGetAgentInfo (AGENT_FLYING, AGENT_ALWAYS_RUN, AGENT_AWAY, AGENT_MOUSELOOK, AGENT_TYPING).
2008-10-15 04:55:13 +00:00
Dahlia Trimble
901acddbdd
Thanks to M. Igarashi and nlin for a patch that implements llGetCameraRot().
2008-10-15 04:42:28 +00:00
Justin Clarke Casey
b70a285373
* Send an avatar update to other clients when an avatar rotates, as well as when it moves
...
* This should fix a long standing issue where you often wouldn't see other people simply turn around without moving at all
* Arguably lastPhysRot (to mirror lastPhysPos) is not a good name, may change variable names later
2008-10-14 20:28:34 +00:00
Sean Dague
7d6426f156
move from index based to exists strategy here
2008-10-14 20:07:11 +00:00
Sean Dague
a27352010a
Merge commit 'arthur/master'
2008-10-14 19:00:43 +00:00
Justin Clarke Casey
58f8c042f6
* minor: change m_debug to m_debugPacketLevel since that's what it is
2008-10-14 18:53:56 +00:00
Justin Clarke Casey
0d6eb37ac5
* minor: Make it clear that non-scheduled updates can happen outside of the per frame update heartbeat
2008-10-14 15:56:14 +00:00
Justin Clarke Casey
3b9400bcea
* refactor: rename SendKiPrimitive to SendKillObject since this appears more descriptive of what it actually does
2008-10-14 14:43:46 +00:00
Justin Clarke Casey
8ab50fe3ee
* Make KillObjectPackets reliable
...
* This may help http://opensimulator.org/mantis/view.php?id=2377 where large linksets do not always correctly delete - since a lost kill packet to the client could result in
the symptoms described
2008-10-14 14:27:00 +00:00
Mike Mazur
3e124a3dba
- convert comments into documentation
...
- minor formatting adjustments
- remove some trailing whitespace
2008-10-14 09:40:05 +00:00
Mike Mazur
4da1901ed9
- move comment about assetID and 'attached' in inventory where it belongs
...
- objectGroup isn't needed here, just use the passed in argument
2008-10-14 09:40:01 +00:00
Adam Frisby
54d7be8a49
* Adding CrytoGridAssetClient support - allows encrypting assets that are stored on a potentially hostile grid. This is not DRM, not should be relied on until after it's been security audited. I'll write a blog post on this explaining how/why/when you should use this, and what it does.
2008-10-14 08:54:46 +00:00
Teravus Ovares
180e3de50f
* Cleaned up tons of code duplication in ODEPrim
...
* Re-enabled the native ODE prim types when possible
* Fixed several invalid assumptions in the prim recycle process.
* Added better message for 'reused a disposed physicsactor'
* Added a way to recover from errors during collision_optimized
* Added a way to recover from an error condition where prim_geom wasn't reset properly
2008-10-14 02:48:30 +00:00
Teravus Ovares
55fa9c7378
* Remove a warning from BaseHttpServer
2008-10-14 02:45:44 +00:00
Dahlia Trimble
138a3924e0
Committing more work towards implementing vertex normals. Also added some (hopefully) helpful messages for identifying corrupt prims and some fixup code for corrupt profile cut data.
2008-10-13 22:52:39 +00:00
Justin Clarke Casey
308a0bc2e4
* Apply http://opensimulator.org/mantis/view.php?id=2249
...
* Calculate an agents height in LLGetAgentSize() from apperance parameters rather than physics avatar numbers
* Another good looking patch from idb - thanks!
2008-10-13 20:56:56 +00:00
Justin Clarke Casey
9d6f043a79
* Remove warnings, including one which pointed out a bug
2008-10-13 20:45:13 +00:00
Justin Clarke Casey
97f4226666
* Apply a modified version of the part of http://opensimulator.org/mantis/view.php?id=2361 that allows region registration to be enabled/disabled on the grid server
...
* Region registration is enabled by default in the configuration unless the user chooses otherwise
* On the console
* show status - shows grid status
* enable-reg - enables region registration to the grid
* disable-reg - disables region registration
* Enabling or disabling region registration will not affect any other grid functions or regions already on the grid
2008-10-13 20:35:45 +00:00
Teravus Ovares
f344f26bd8
* Based on user reports, it looks like the OS specific settings have been unified as far as tuning (thank heavens).
...
* If you're experiencing knee bendiness try the windows settings, as the *nix settings seem to now be incorrect. (this update does that, but you may have your own opensim.ini settings active.
2008-10-13 01:54:13 +00:00
Teravus Ovares
2ede1a3ce7
* This updates ODE to the most up-to-date version as of today. 1558
...
* Mac users, pray to chi11ken to make you a .dylib version
* This is semi-tuned and post teravus hack. (Though I didn't apply the terrain pitting fix hack. I'm still deciding if it's necessary as there was a lot of work over the past several months on the heightfield collider.
* Please use '--enable-shared --disable-demos --disable-asserts' if you are building your own libode in the configure step. Asserts are pretty much useless for use with .NET
* This also updates ODE.NET as, there were some API changes in May that were just added to ODE.NET today.
2008-10-12 23:47:39 +00:00
Melanie Thielker
905fb969f5
Add a configuration section for groups modules
2008-10-12 18:54:43 +00:00
Homer Horwitz
b8a50c40b1
- Added helper method to compute global coordinates from a fake parcelID
...
- Some formatting cleanups
2008-10-12 18:07:39 +00:00
Melanie Thielker
d1dec0cbbd
Fix copypaste error in last commit
2008-10-12 16:43:24 +00:00
Melanie Thielker
cc72ea532a
Fix linking phantom and nonphantom prims. Make the error message more friendly
...
when estate_settings.xml is empty or missing
2008-10-12 16:40:18 +00:00
Homer Horwitz
f52c5febd3
Add EventInfoRequest and EventInfoReply packets.
...
Note: New file, run prebuild.
2008-10-12 16:29:29 +00:00
Dahlia Trimble
f2700590d7
removed some more extraneous hidden faces
2008-10-12 09:36:01 +00:00
Dahlia Trimble
116a08f42e
Fixed a missing face on a profile cut
2008-10-12 08:52:42 +00:00
Dahlia Trimble
216787ee1d
Optimization: calculation of profile vertex normals is now disabled as default.
2008-10-12 07:04:52 +00:00
Jeff Ames
fdec8390c1
Update svn properties, minor formatting cleanup.
2008-10-12 03:16:49 +00:00
Melanie Thielker
166690d539
Add one more check for key presence
2008-10-12 01:16:35 +00:00
Adam Frisby
765fc6c289
* Removed a lock in a high performance section of OpenSim, in cases when it is not necessary.
2008-10-12 01:12:07 +00:00
Adam Frisby
d7aedf343a
* Small fix for when PacketPool is disabled to prevent it from crashing immedietly.
2008-10-12 01:09:58 +00:00
Melanie Thielker
11477db59e
Fix LSL bitwise Or
2008-10-12 01:00:26 +00:00
Adam Frisby
dcdfde834f
LLUDP Client View
...
* Experimenting with the PacketPool mechanism.
* It's still disabled in the code, however there's now a flag to enable it.
* Converted to use Generic Collections vs Hashtables, also now uses a list of 'OK to pool' packets, starting with the high volume PacketAck packet.
2008-10-12 00:56:54 +00:00
Adam Frisby
d10a578096
* Fixed two major unhandled exceptions discovered during the Pub Quiz on friday.
2008-10-12 00:11:22 +00:00
Melanie Thielker
acce65457c
Fix the fix. Child prims were failing to load.
2008-10-11 23:59:46 +00:00
Melanie Thielker
6f2d077356
Fix llSetPos to handle child prims correctly. This will fix linked
...
sliding doors
2008-10-11 23:47:35 +00:00
Homer Horwitz
b48885ece4
The "About Landmark" code with the fake parcelIDs had a serious bug.
...
- Fix that bug. It will work with OSSearch now, too
- Add some caching to reduce inter-region requests.
2008-10-11 22:42:59 +00:00
Melanie Thielker
82b2b2dccb
Implement the hook needed for the CanTeleport check
2008-10-11 22:11:48 +00:00
Homer Horwitz
38a0a68091
* Change permission check for llParcelMediaCommandList to use the permissions
...
module, thus including estate owners and gods.
2008-10-11 20:53:33 +00:00
Melanie Thielker
8bc724a418
Fix a path issue i caused in a prior commit
2008-10-11 20:23:54 +00:00
Melanie Thielker
143419ebb2
Add a "inimaster" switch to OpenSim.ini. It will load a master ini file
...
and then the OpenSim.ini only needs to contain instance specific data
2008-10-11 17:51:16 +00:00
Homer Horwitz
4c337c48c7
Add logging in case of a SOG without rootpart
2008-10-11 17:48:37 +00:00
Melanie Thielker
bd05b932b1
Add shift operator overloads to LSLInteger. If you get error messages when
...
using << and >> in scripts, this will fix it.
rm bin/*.dll ; rm bin/ScriptEngines/*.dll ; rm bin/ScriptEngines/*/*.dll
then rebuild and reinstall
2008-10-11 17:09:26 +00:00
Homer Horwitz
628e3a9553
- Patching a symptom of the failed WP start. We really need to find the reason
...
for that...
2008-10-11 16:58:05 +00:00
Melanie Thielker
44b2ecf29d
2nd stab at that prim loading nasty
2008-10-11 16:32:31 +00:00
Melanie Thielker
625c67de54
Fix Nebadon's WP crash (invalid root part from database null-ref)
2008-10-11 16:23:15 +00:00
Melanie Thielker
94558603e5
Make a missing or read-only estate_settings.xml non-fatal
2008-10-11 15:41:25 +00:00
Homer Horwitz
bed6c763a5
* Rework llParcelMediaCommandList
...
* Add missing PARCEL_MEDIA_COMMAND_* constants
* Fix a copy/paste error in SendParcelMediaUpdate
llParcelMediaCommandList should work now
2008-10-11 15:18:55 +00:00
Homer Horwitz
6452c6c20b
Add a + operator to LSLString, otherwise you will end up with CIL strings if
...
you have expressions with strings.
2008-10-11 15:17:49 +00:00
Teravus Ovares
abc6424c51
* Removed Heartbeat timer
...
* Implemented a proper update thread
* Removed the UpdateLock Mutex as it's no longer needed because updates can only happen one at a time now.
* This should actually improve performance significantly.. But, see the warning on the next line!
* Warning: If there are deadlocks that the threadpool timer method was hiding, this will expose them for all the nastiness they are.
2008-10-11 11:43:42 +00:00
Melanie Thielker
dd5746fb8a
Add the 4 missing events
2008-10-11 06:25:48 +00:00
Melanie Thielker
544daf1c76
Plumb the remaining search packets and replies.
2008-10-11 05:59:12 +00:00
Dahlia Trimble
37d42890e7
Thanks cmickyb for a patch that enhances the IRC module.
...
See mantis #2379 for some useful scripts that work with this.
Note that I added another configuration parameter in addition to the patch to allow for legacy behavior in the absence of new configuration settings.
2008-10-11 02:56:03 +00:00
Melanie Thielker
d633cadb5f
Remove a UUID fudge that broke "Abandon Land"
2008-10-11 01:33:57 +00:00
Melanie Thielker
2214b2f578
Commit Diva's new patch for the DataSnapshot. Comment the default
...
metaverseink search provider to prevent accidental data exposure.
2008-10-11 00:39:43 +00:00
Dahlia Trimble
09c8713801
Eliminate some unnecessary polygons
2008-10-11 00:30:27 +00:00
Melanie Thielker
ab87a987f5
Fix an exception handling issue in XEngine
2008-10-10 23:18:52 +00:00
Justin Clarke Casey
dd886a035b
* minor: remove warnings
2008-10-10 21:05:44 +00:00
Justin Clarke Casey
e062b28606
* minor: Remove highly experimental tags from oar loading and saving functions
2008-10-10 20:25:22 +00:00
Melanie Thielker
85ae8e3e94
Committing diva's LandSnapshot update patch. Also included is a small
...
fix for the LandManagementModule. I changed LandSnapshot to use
CachedUserInfo to take a load off the user server. Also, missing owner
profiles are legit, warning removed.
2008-10-10 20:23:49 +00:00
MW
0644977819
added a list of SurfaceTouchEventArgs to the IClientAPI.OnGrab event, for the new surface touch parameters in 1.21 viewers.
2008-10-10 17:05:43 +00:00
MW
5be7442736
added a list of SurfaceTouchEventArgs to the IClientAPI.OnGrabUpdate event, for the new surface touch parameters in 1.21 viewers.
...
TODO: add the touch args to OnGrabObject and OnDeGrabObject.
2008-10-10 16:01:59 +00:00
MW
1edfbc652a
very tiny change
...
XmlIgnored the SceneObjectPart.SitTargetAvatar property, as (afaik) this is only used to indicate that a avatar is sitting (or about to sit) on the prim.
And there are situations where it might not be cleared, like if a client crashes while sitting on the prim. Which results in that avatar's id getting stored in any xml backup or taking the prim into inventory. And then its always classed as a avatar is sitting on that prim.
2008-10-10 15:02:40 +00:00
Adam Frisby
596366324a
* Added NullReference check to EventQueueGetModule.
2008-10-10 14:46:01 +00:00
Adam Frisby
fa55fc89d8
* Fixed a potential threading issue with EventQueueGet leading to spontaneous crashes.
2008-10-10 13:46:43 +00:00
Teravus Ovares
d19400db44
* Just some OGP maintenance. Standards adherence type stuff.
2008-10-10 12:59:16 +00:00
Dahlia Trimble
62f3e11b4e
Some more decrufting
2008-10-10 09:16:36 +00:00
Dahlia Trimble
726e0045d9
Some decrufting
2008-10-10 09:00:52 +00:00
Dahlia Trimble
7fbe942792
refactoring PrimMesher to add viewer compatable features and some code cleanup
2008-10-10 08:22:13 +00:00
Melanie Thielker
5c5a640aba
A bit more estate fudging
2008-10-10 02:06:34 +00:00
Melanie Thielker
96689723e5
Add the beginnings of a sim health check (through remote admin)
2008-10-10 01:10:33 +00:00
Homer Horwitz
8178f78095
Fixed renaming of in-prim items (Mantis #2366 )
2008-10-09 22:45:28 +00:00
Justin Clarke Casey
4e3bc9a63e
* Apply http://opensimulator.org/mantis/view.php?id=2373
...
* Many llSensor() improvements, though sensoring isn't perfect yet
* thanks idb!
2008-10-09 22:41:07 +00:00
Justin Clarke Casey
7bdfc16535
* fix windows build break - it helps if one actually puts in using statements and spells dlls correctly
2008-10-09 21:43:43 +00:00
Melanie Thielker
d016d82f0c
Small remote admin cleanups/additions
2008-10-09 20:27:41 +00:00
Justin Clarke Casey
997eec671a
* minor: get rid of an unecessary casting and logic check
2008-10-09 20:02:40 +00:00
Justin Clarke Casey
997f1d465d
* Apply http://opensimulator.org/mantis/view.php?id=2370
...
* Refactor lLMessageLinked() to use internal method GetLinkParts
* thanks ralphos
2008-10-09 18:59:01 +00:00
Homer Horwitz
ddfff68c20
Clean up webmap-generation a bit:
...
- Remove some duplicated code
- Avoid unnecessary allocation of variables/values if only used once anyway.
2008-10-09 18:46:09 +00:00
Justin Clarke Casey
c692c14a2f
* Bump server info number to 0.5.11
2008-10-09 18:40:54 +00:00
Justin Clarke Casey
c26f177cd4
* Fix http://opensimulator.org/mantis/view.php?id=2368
...
* This returns to writing the OpenSim.ini using default values if it (or OpenSim.xml) isn't found
2008-10-09 18:33:42 +00:00
Melanie Thielker
c101dd2bad
Provide a sane value for DefaultScriptEngine (ScriptEngine.DotNetEngine)
...
rather then the previous invalid string "DotNetEngine". Remove the
script_engine options, as it is not used anymore.
2008-10-09 18:12:15 +00:00
Justin Clarke Casey
8ad0249969
* refactor: separate process of extracting packet from received data from actually processing that packet
2008-10-09 18:09:25 +00:00
Justin Clarke Casey
285ae803e2
* minor: initialize udp server in unit test
2008-10-09 18:00:38 +00:00
Justin Clarke Casey
919d907a3d
* Create project for LindenUDP ClientStack tests
...
* No functional tests yet
2008-10-09 16:52:33 +00:00
Justin Clarke Casey
db0d90c737
* minor: very small doc addition
2008-10-09 16:23:11 +00:00
Teravus Ovares
ac674ccbfc
* Fixes simstats reporter. I'm sure this issue caused all sorts of things related to regionflags and capacity. I'm sorry, the object capacity that you dialed is not valid.. please check the number and dial again.
2008-10-09 11:44:26 +00:00
Justin Clarke Casey
2be8380831
* minor: remove compile warning
2008-10-08 20:02:27 +00:00
Homer Horwitz
ac89e89da3
- Fix wrong order of max/min usage for clipping. Uses Util.Clamp now
...
- Add support for immediate switching of Music/Media URLs. Radio-scripts should work now.
2008-10-08 18:52:50 +00:00
Homer Horwitz
31107385b6
- removed some unnecessary conversions (double -> double)
2008-10-08 18:48:49 +00:00
Justin Clarke Casey
9b68428058
* minor: Comment out initial regularly occuring EventQueueGet log debug message for now, as previously discussed with Ter
2008-10-08 17:56:37 +00:00
Justin Clarke Casey
1b7405dca1
* On deselection of objects, stop every object id passed triggering an update for the entire group
...
* This was not a problem with objects consisting of less than 30 prims, since the extra schedules would be ignored
* However, above approximately 30 prims extra schedules would actually occur.
* For instance, a 140 prim object would end up triggering approximately 2500 ObjectUpdates to every avatar in range rather than 140
* Hopefully, this change will improve client responsiveness on deselect and was one of the reasons that the AgentThrottle restriction started causing problems yesterday.
2008-10-08 17:36:17 +00:00
Charles Krinke
ac443559d1
Mantis#2354. Thank you kindly, Tglion for a patch that:
...
The average-value of modify.ModifyBlock.Height in LLClientView.cs:4170
seem to be incorrect or it isn't the average? Mhhh...
So the terrain build -> Flaten Sphere is unuseable.
I have put in a patch that contains a workaround while
the main problem is not solved.
2008-10-08 14:51:55 +00:00
Dr Scofield
1e8533772f
adding OSHttpResponse test case (yeah, very primitive still)
2008-10-08 13:45:42 +00:00
Teravus Ovares
2c5497fa3a
* Re-enables map item requests.
...
* Puts remote requests in a single worker thread
* Worker thread only starts when there are agents to serve
* When there are no agents to serve, it shuts down
* A good example of how to deal with threads in non-shared modules so they don't end up consuming threads per regions
2008-10-08 11:53:35 +00:00
Dr Scofield
2947ef9c00
warning squashing
2008-10-08 11:15:25 +00:00
Melanie Thielker
c4d741180f
Add some permissions checks and fixes
2008-10-08 02:45:23 +00:00
Charles Krinke
e4fc55f71e
Mantis#2352. Thank you kindly, Jonc for a patch that:
...
If prim is part of SOG, then ask the SOG to update the
position, rather than asking the part itself.
Ghosted child prims should no longer result from llSetPos.
Not sure if this is the right approach for all cases ,
would appreciate feedback on the patch.
2008-10-08 01:49:58 +00:00
Charles Krinke
e87195d1bd
Mantis#1906. Thank you kindly, Idb for a patch that:
...
Removed cache accesses to obtain sensed object/avatar
name, it is already available.
2008-10-08 01:44:35 +00:00
Melanie Thielker
4bb9f0f429
Fix friendly errors in DNE as well
2008-10-08 00:04:28 +00:00
Melanie Thielker
8d2ec1ac71
Adapt tests to new friendly errors and correct line numbers
2008-10-07 22:25:55 +00:00
Melanie Thielker
638cce09d1
Restore "friendly errors" to the XEngine
2008-10-07 21:59:56 +00:00
Justin Clarke Casey
4ed6e78d1a
* Comment out debug throttle output that I had accidentally left in
2008-10-07 21:44:29 +00:00
Justin Clarke Casey
914c733505
* Temporarily revert r6714 which changed agent throttle number interpretation
...
* I suspect the restriction stopped the very large number of packet resends that occur on certain operations, which led to other failures.
2008-10-07 20:04:43 +00:00
Teravus Ovares
bb7fcf378b
* Disabling mapitem requests for surrounding regions as it's probably using up a lot of threads right now when regions are inaccessable
2008-10-07 15:08:44 +00:00
Justin Clarke Casey
f085d53be2
* Apply http://opensimulator.org/mantis/view.php?id=2345
...
* Bring llSetLinkTexture into line with llSetLinkColor and lLSetLinkPrimitiveParams() implementations
* Thanks ralphos
2008-10-07 14:58:56 +00:00
Justin Clarke Casey
48d86fb23f
* Apply http://opensimulator.org/mantis/view.php?id=1207
...
* Implmements llModifyLand() and a check for the "Allow others to terraform flag"
* Thanks tglion!
2008-10-07 14:49:12 +00:00
Dr Scofield
e5a50b6a3b
From: chris yeoh <yeohc@au1.ibm.com>
...
The attached patch fixes mantis bug 2312 (llGetPos() returns incorrect
values for child prims where the root prim is rotated). Regression
tests still pass.
Incidentally AbsolutePosition which was used before looks a little
suspicious to me as its always going to return the wrong value if the
root prim is rotated. GetWorldPosition does take the rotation into
account, but AbsolutePosition is used in a lot of places. Though i
don't understand why there is both GetWorldPosition as well as
AbsolutePosition so I've left the latter alone.
[i also cleaned up some indent problems, --- dr scofield]
2008-10-07 11:41:43 +00:00
Dr Scofield
7d525843d0
From: chris yeoh <yeohc@au1.ibm.com>
...
Attached is a patch for LLGround which was just plain broken and could
cause a runtime error. It now returns valid data with valid input (ie
the offset does not take the position off the edge of the sim), but a
runtime error will occur if invalid data is given.
On invalid data the LL servers return the ground height based on a
valid point closest to the effective position calculated using the
supplied offset. Is the OpenSim convention to replicate the LL servers
as closely as possible? If so I can submit an additional patch to
replicate the LL behaviour.
2008-10-07 11:33:41 +00:00
Dr Scofield
47c2bd2b95
From: chris yeoh <yeohc@au1.ibm.com>
...
If you use load-oar to transfer region data from one sim to another
then currently inventory items can be left with unknown owner
permission which results in them being no-mod/no-copy for
everyone. The attached patch fixes things up so if the owner uuid does
not exist on the destination system then it assigns ownership (and the
creator for completeness) to the master avatar id. This will make it
much more practical to share copies of regions :-)
2008-10-07 11:28:45 +00:00
Jeff Ames
18d4216cf4
Update svn properties, minor formatting cleanup.
2008-10-06 23:08:52 +00:00
Dr Scofield
ad04626737
cleaning up OSHttpResponse: note that read access to extra header
...
fields is GONE (HttpServer does not support that), you can read the
"normal" HTTP headers available via properties, and you can add
headers. also, it is now possible to set a timeout for KeepAlive (for
those clients that pay attention to it).
this also fixes the broken REST inventory/assets/appearance services,
they should be working again.
testcase for OSHttpResponse will follow.
2008-10-06 21:59:43 +00:00
Dr Scofield
348893ccac
oops. forgot testcase
2008-10-06 21:47:06 +00:00
Justin Clarke Casey
cb7a9eaa09
* Stop the sim stats reporter reusing the same SimStatsPacket for all clients
...
* I believe this was the cause of the remaining packet_out_of_order messages in the Linden client logs
* There were race conditions where multiple clientstacks would overwrite each other's sequence numbers
2008-10-06 19:52:54 +00:00
Dr Scofield
a1f3409032
cleaning up OSHttpRequest removing old Http stuff. also adding test
...
case for OSHttpRequest (not very fancy yet, but still).
2008-10-06 19:42:03 +00:00
Teravus Ovares
600721d480
* Made Mapitems more failure friendly
2008-10-06 18:29:25 +00:00
Justin Clarke Casey
d18aff3310
* restore Header.Resent field setting for resent packets
...
* without this, the client appears to reset the sequence of packets its expecting
2008-10-06 16:57:58 +00:00
Justin Clarke Casey
33d957207c
* Change interpretation of asset throttle values to bits per second rather than bytes per second
...
* Changing network bandwidth in the preferences will now have a much more noticeable effect - a user may want to increase this if data is being slow to download from opensim
2008-10-06 16:48:41 +00:00
Charles Krinke
68021fa8ff
Mantis#2342. Thank you kindly, Ralphos for a patch that solves:
...
llSetLinkApha is not fully implemented and has not been updated
to use the recently added GetLinkParts and associated implementation
pattern as per llSetLinkColor and llSetLinkPrimitiveParams.
2008-10-06 14:50:58 +00:00
Charles Krinke
f2ec151328
Mantis#2340. Thank you kindly, Sacha Magne for a patch that:
...
adding default_loginLevel in USerServer.xml to set a default
login level to acces to the grid. Fixing one bug in login_reset
2008-10-06 14:02:42 +00:00
Dr Scofield
ec2970f6b4
adds admin_exists_user XmlRpc call.
2008-10-06 09:42:31 +00:00
Melanie Thielker
d834996bbe
Implement Parcel -> ForceOwnerToMe god mode packet
2008-10-06 08:19:18 +00:00
Melanie Thielker
03a41e5f8b
Exclude attachments from parcel prim counts
2008-10-06 07:50:26 +00:00
Melanie Thielker
c65b10caa2
Implement ForceOwnerPermissive and God TakeCopy
2008-10-06 07:21:13 +00:00
Melanie Thielker
8887bde499
Cause inventory items to also be sold when a prim is sold
2008-10-06 06:15:19 +00:00
Melanie Thielker
1b678f062a
Fix a number of errors in transfer of objects
2008-10-06 06:08:45 +00:00
Melanie Thielker
195893b06d
Remove an unnecessary perms check. This caused prim movement to be disabled
...
on parcels that had prim entry turned off. This needs to be reintroduced
with proper parcel boundary checks.
2008-10-06 05:23:48 +00:00
Teravus Ovares
78073fa440
MapItems/Green Dots
...
* Fixes 1 too large count in region you're in (Region no longer reports the green dot about yourself to you)
* For all local requests, the region will check itself instead of going to it's web service. (optimization)
2008-10-06 04:29:48 +00:00
Melanie Thielker
b55c9761b4
Fix a nullref
2008-10-06 04:20:27 +00:00
Melanie Thielker
fd96bb6f43
One should not commit even the smallest fox without compile. Fix build break
2008-10-06 03:27:16 +00:00
Melanie Thielker
c4ab9482b5
More perms fixes. Reinstate the move flag
2008-10-06 03:23:55 +00:00
Melanie Thielker
1f7966d6e8
Fix a privilege escalation with linked sets
2008-10-06 02:29:38 +00:00
Charles Krinke
e575ef7ad2
Revert r6697 patch as the build fails.
2008-10-06 00:58:43 +00:00
Charles Krinke
dedc1baeb7
Mantis#2336. Thank you kindly, Ralphos for a patch that:
...
Prevent EventAbortException inner exceptions of
TargetInvocationException being re-thrown from
OpenSim.Region.ScriptEngine.Shared.ScriptBase.
Executor.ExecuteEvent
2008-10-06 00:51:36 +00:00
Charles Krinke
4f6cdc08d6
Mantis#1207. Thank you, TGlion for a patch that addresses:
...
Implementation of llModifyLand() and There is a bug on
permission-check of land-terraforming: x an y-coordinates
are interchanged on function-call ExternalChecksCanTerraformLand.
Correct: x is west, and y is north. 2) Missing check of
"Other allow to terraform-flag" (Parcel.ParcelFlags.AllowTerraform)
2008-10-06 00:46:27 +00:00
Melanie Thielker
559a4f7496
Patch by Fly-Man, with modifications. Add more fields to DataSnapshot.
...
This changes yes/no to true/false. Will likely break Metaverseink in some way.
2008-10-06 00:20:27 +00:00
Melanie Thielker
6ab5b523f8
Implements ObjectOwner god mode packet (Set Owner To Me admin option)
2008-10-06 00:09:49 +00:00
Teravus Ovares
f8acdeb437
* Green dots on the mainmap for avatar.
...
* Initial implementation
* You'll only be able to seen green dots on regions on the map that have been updated.
2008-10-06 00:00:55 +00:00
Homer Horwitz
6bf72c95cb
For symmetry reasons, I think this probably is a bug.
2008-10-05 20:06:42 +00:00
Homer Horwitz
1e6db41931
Small optimization: Don't ask gridserver about regions on the local instance.
2008-10-05 19:43:04 +00:00
Teravus Ovares
2cc028e965
* Fix sitting avatar showing up properly on the minimap
2008-10-05 19:38:04 +00:00
Homer Horwitz
b9e603f8d8
Fixed small coordinate issue: The center is (min+max)/2, not (max-min)/2
2008-10-05 19:12:58 +00:00
Homer Horwitz
5a31fb9df4
Fix a problem with land-search and non-convex parcels.
...
You'll need to update your snapshots.
2008-10-05 19:06:00 +00:00
Teravus Ovares
3ac76db76b
* Fixes the last snag with the EventQueue. The situation where the seedcap gets lost on teleport.
2008-10-05 18:42:05 +00:00
Melanie Thielker
a3136d2bb1
Revert the packet resend timing changes. They caused login issues in primmy
...
regions.
2008-10-05 16:43:58 +00:00
Melanie Thielker
1794a56ce0
Add parcel info "UUID" to snapshot
2008-10-05 16:23:21 +00:00
Melanie Thielker
c84987426b
Craters, take 2. Remove old discard logic and absolute discard timer.
...
Introduce a resend counter on the ack queue. The header "Resent" field is
now obsolete. Implement 3 resends on reliable packets, variable.
Increase default resend timeout to 3000ms and default silence threshold
to 350ms.
2008-10-05 14:44:26 +00:00
Jeff Ames
aab6cdd8b0
Update svn properties, minor formatting cleanup.
2008-10-05 14:15:39 +00:00
Teravus Ovares
a243a4aaf5
* An update to the UDP Packet handler which might make the giant sized craters go away.
2008-10-05 13:06:03 +00:00
Melanie Thielker
e5929f4a1c
Remove a console debug output
2008-10-05 05:00:30 +00:00
Melanie Thielker
c3d7d7bb51
Change category in snapshot to a number, to match the one in search
2008-10-05 04:26:26 +00:00
Melanie Thielker
ae2c0e2d78
Add a dummy "dwell" value to the data snapshot
2008-10-05 03:48:51 +00:00
Melanie Thielker
2cb89124c7
Small bug fix
2008-10-05 03:01:19 +00:00
Melanie Thielker
13e3ffada3
Plumb in the DirPlacesReply packet
2008-10-05 02:25:53 +00:00
Homer Horwitz
649cd16fb4
Fix Mantis #2281 : touch events in non-default states in DNE work again.
2008-10-04 22:57:54 +00:00
Melanie Thielker
f52d779550
Plumb packet DirPlacesQuery for search module
2008-10-04 22:29:37 +00:00
Justin Clarke Casey
31362a67df
* Tidy up configuration stuff, eliminated default setting duplication along the way
...
* This revision also makes the exception catcher of last resort print to the log instead of just the console
* This means logs should now capture sim crashing exceptions, though not those which are caused by a crash of the virtual machine itself
2008-10-04 20:27:55 +00:00
Justin Clarke Casey
344e33b8fc
* minor: both OpenSimBase and the Voice and RemoteAdmin modules were checking whether any config was set
...
* Resolve redundancy by removing the OpenSimBase check - if modules are recieve nini config directly they should probably be the ones to do the checking
2008-10-04 19:17:39 +00:00
Charles Krinke
2fdb42aec0
Mantis#2316. Thank you kindly, CMickeyb for a patch that:
...
Addresses llDie issues. The attached patch catches run time
exceptions that occur during method invocation (of type
TargetInvocationException) and exposes the internal exception.
This makes it possible to pass out the SelfDeleteException.
Also added handlers in a couple places to make sure that
exception was being passed out far enough to be handled
correctly. Tested on DNE.
2008-10-04 19:04:58 +00:00
Charles Krinke
275d4d30a2
Remove two warnings by assigning string provider = ""
...
and string type = "". Currently we are down to 14 warnings
in the VS2005 C# build which is pretty good.
2008-10-04 19:00:10 +00:00
Justin Clarke Casey
a924fbae72
* minor: Remove warning
2008-10-04 18:54:50 +00:00
Justin Clarke Casey
0b594a072c
* Check in the second part of http://opensimulator.org/mantis/view.php?id=2334 since enough time has passed such that servers following head have probably updated
...
* This patch aims to store look at data when an avatar logs off in grid mode
* However, in my short test it doesn't appear to be working yet - numbers are being stored but they don't look correct
* But this doesn't appear to cause any login problems
* Thanks tyre
2008-10-04 18:46:34 +00:00
Homer Horwitz
63d7a92fb4
Added immediate TP failure message for TPs to regions that aren't there,
...
instead of the 130s timeout somewhere. Additionally, mark the map-tile as
offline. This partly fixes the TP problems of Mantis 2332; the rest is a viewer
problem (just relogin).
2008-10-04 18:08:35 +00:00
Dahlia Trimble
979a354ba0
Cap proxy mesh scale minimum to 0.01 meter for X, Y, and Z terms.
2008-10-04 17:39:03 +00:00
Melanie Thielker
68c0393c51
Cause a request to a different attachment point to taint the attachment so
...
that the attachment point is saved even if nothing else changed
2008-10-04 16:58:34 +00:00
Melanie Thielker
603c9af52b
Prevent a new asset being created on every detach of an attachment
2008-10-04 16:52:42 +00:00
Melanie Thielker
52963c180e
Mantis #2330
...
Fixes use of the saved attachment point from asset
2008-10-04 16:45:38 +00:00
Melanie Thielker
c28e8fcd67
Unclutter rezzing methods by removing the ad hoc permissions parameters.
...
Thise were client supplied untrusted values we never used anyway.
2008-10-04 15:54:21 +00:00
Melanie Thielker
6bf521c7df
Guard against negative scale set through LSL functions
2008-10-04 14:23:33 +00:00
Melanie Thielker
5b901c7031
Remove type="owner" from the data snapshot. Made the parser choke and there
...
is no need for it, as there is no other type
2008-10-04 13:41:36 +00:00
Melanie Thielker
ee4c01f5e6
Tiny performance tweak
2008-10-04 06:57:20 +00:00
Melanie Thielker
439589260c
Avoid a gratuitious KillObject storm on region crossing
2008-10-04 05:38:16 +00:00
Melanie Thielker
a489fdfb4f
Add some needed fields to data snapshot
2008-10-04 03:47:31 +00:00
Melanie Thielker
4672ea6e49
Cause "Show in search" to trigger a persistence save
2008-10-04 03:04:00 +00:00
Melanie Thielker
74f89fb22d
Add "Drop" functionality to pie menu
2008-10-04 01:09:22 +00:00
Homer Horwitz
16d68749a4
Add the missing bits for the new region-search:
...
- Added lookup in the data-layer
- MySQL works
- SQLite doesn't have a grid-db, so it won't work there
- I added MSSQL-code to the best of my knowledge; but I don't know MSSQL :-)
- Added the plumbing up to OGS1GridServices. This speaks with the grid-server
via XMLRPC.
- Modified MapSearchModule to use the new data. It's backward compatible; if
used with an old grid-server, it just returns one found region instead of a
list.
- Refactored a bit.
Note: This updates data, grid-server and region code. No new files.
2008-10-03 23:00:42 +00:00
Melanie Thielker
ab260b5d23
Fix: Mantis#2326: Fix: privilege escalation through attach from ground
...
Fix: objects being duplicated inventory on detach. Fix: Mad jumping around of
attachments while editing. Fix: Attachments being persisted to database on
login. Fix: Attachments being persisted when changed by a script like
invisprim refresh. Fix: Attachpoint set, but not reset correctly. Fix: prevent
spurious full updates while editing attachments. Several other fixes
2008-10-03 21:44:33 +00:00
Dahlia Trimble
61c17a251b
Disabled some thread aborts in the IRC module that I added earlier and don't seem necessary
2008-10-03 21:13:06 +00:00
Teravus Ovares
ca125bcf15
* Committing a few keep-alive changes. Cleaned up some log messages
2008-10-03 20:38:32 +00:00
Teravus Ovares
ae265e2f76
* Fixes a http protocol violation in HttpServer in Linux. StringWriter.Append() vs StringWriter.Append("\r\n"); StringWriter.Append() produces "\n" in *nix*
...
* This doesn't solve anything. Just gets the protocol right.
2008-10-03 19:54:48 +00:00
Justin Clarke Casey
0f77a334bd
* minor: slightly simplify code in setting up the default configuration
...
* we appear to both setup a default configuration and provude identical defaults when we later try to read the values - this is probably not really necessary
2008-10-03 19:52:29 +00:00
Justin Clarke Casey
4920e52f11
* oops, fix build break.
...
* refactoring
2008-10-03 19:42:35 +00:00
Justin Clarke Casey
743e336bf3
* Put in some infrastructure to allow tweaking of packet queue throttle values for the total throttle (the one that throttles all packet output)
...
* Not complete yet
2008-10-03 18:06:45 +00:00
Melanie Thielker
1b2380db84
Cause objects to be removed from the database when they go temp or get
...
attached. Also make sure that parcel prim counts get updated
2008-10-03 16:18:38 +00:00
Justin Clarke Casey
170cb935cd
* refactor: make shutdown a template method in the same manner as startup, for consistency's sake
2008-10-03 16:06:00 +00:00
Justin Clarke Casey
0487c3158b
* minor: restore the standard startup logo text now I understand why things were appearing in the wrong order
2008-10-03 15:44:44 +00:00
Justin Clarke Casey
3ffd77f70b
* oops, fix region startup to be in the correct sequence (though it appeared to work anyway)
2008-10-03 15:41:27 +00:00
Melanie Thielker
3902149e1b
Implement temp-on-rez objecte really being temporary
2008-10-03 15:32:44 +00:00
Justin Clarke Casey
fbc813e658
* For shits and giggles, print out the time taken for a server to start up (which doesn't include stuff such as script starting time on the region server).
...
* Yes, you could work this out from timestamps in the logs, but that's far too much work
2008-10-03 15:23:35 +00:00
Justin Clarke Casey
70124a3213
* refactor: make startup a template method
2008-10-03 15:11:29 +00:00
Dr Scofield
5c0a0bc2e0
This changeset changes the way chat from client is routed:
...
old way: each region module interested in chat from client had to
- subscribe to scene.EventManager.OnNewClient
- then in its OnNewClient delegate it would subscribe to
client.OnChatFromViewer to capture chat messages coming
new way: ChatModule is the only region module that uses the "old
way" approach but is now forwarding all client chat via
scene.EventManager.OnChatFromClient
- each region module interested in chat from client now only
subscribes to scene.EventManager.OnChatFromClient
this not only simplifies code, but also allows us to substitute
ChatModule with derived classes (ConciergeModule is going to be one
example).
Also, this changeset changes ChatFromViewer to ChatFromClient as it
doesn't necessarily have to be a viewer that is a chat source.
i've taken great care to only comment out those OnNewClient delegates
that were only used for getting at the client chat --- hope it's not
breaking anything.
2008-10-03 14:53:11 +00:00
Justin Clarke Casey
8c55f3eaa6
* minor: remove warnings (the code cleaners strike again)
2008-10-03 14:18:17 +00:00
Melanie Thielker
36097a8198
Prevent attachments to be persisted in the destination region when the
...
avatar is not present there.
2008-10-03 13:45:54 +00:00
Sean Dague
5f8e241e81
fix the sqlite break. There were two issue here:
...
1. type issues on column create in ado.net
2. not setting a field in the ado.net row translates into explicitely
setting it to null in sqlite land (because it can't read the defaults
stanzas out of the database)
Things should work again after this.
2008-10-03 12:36:54 +00:00
Melanie Thielker
ec47a1bff2
Add database persistence for material setting
2008-10-03 12:11:38 +00:00
Melanie Thielker
7f007d8ed0
Mantis #1360
...
Thank you, idb, for a patch to implement the packet and plumbing for
the material settings.
2008-10-03 12:00:13 +00:00
Teravus Ovares
8de395d379
* EventQueueGet is now working.
...
* Switched it on by default
* Updated OpenSim.ini.example to reflect this
* Caught a UDP Server issue that occurs when the network pipe is saturated
* Still experimental :D
2008-10-03 09:53:49 +00:00
Melanie Thielker
cffd73c59f
Reintroduces the discovery mechanism to use llRequestSimulatorData("", 128)
...
Causes the dataserver event to return "OpenSim" when running on OpenSim.
Requires ThreatLevel to be "High" or above to function.
2008-10-03 06:15:23 +00:00
Melanie Thielker
1cf0798863
Plumb in the start parameter in DNE
2008-10-03 05:32:51 +00:00
Melanie Thielker
c9fbc03a18
Attempt to prevent attached prims from being persisted. Attachments with
...
invisiprim refresh scripts get sent to the database and remain there when
the agent logs out. This tries to prevent that.
2008-10-03 05:23:30 +00:00
Charles Krinke
d5b3a66f52
Mantis#2307. Thank you kindly, Godfrey for a patch that solves:
...
In Second Life's implementation of llParseString2List(), all spacer
strings which occur within the source string are included in the
resulting list. In OpenSim's implementation, any spacers occurring
at the beginning of the string are discarded; furthermore, if multiple
spacers occur between non-spacer elements, or at the end of the source
string, only the first spacer is added to the resulting list;
the remainder are discarded.
2008-10-03 02:33:59 +00:00
Melanie Thielker
6bd5c6bfc0
Check for empty string as well, just as illegal.
2008-10-03 02:27:22 +00:00
Melanie Thielker
189c3e5a82
Prevent an exception when the directory given for XML save is read only
...
and region config is loaded from the web
2008-10-03 02:21:12 +00:00
Melanie Thielker
e30856a32f
Mantis #2317
...
Thank you, fusspawn, for an implementation of osGetSimulatorVersion.
This patch removes the llRequestSimulatorData(..., 128) hack and
implements the functionality as an osFunction.
2008-10-03 01:30:22 +00:00
Homer Horwitz
4e3a3417c7
Mantis #2282 .
...
Thanks tglion for the necessary info to solve an ArgumentOutOfRangeException during region start.
2008-10-02 22:57:07 +00:00
Homer Horwitz
35a23ab74f
Added the first version of the MapSearchModule, which allows you to search for
...
regions in the in-world map. It currently only returns the first region that
matches the search string; in a future version it will return more search
results.
Note: File added; run runprebuild.
2008-10-02 22:20:17 +00:00
Homer Horwitz
423d950a69
- Fixed a small off by one error in sending MapBlocks
...
- Removed MapBlockData.Flags; it isn't used anywhere (maybe MapBlockData.RegionFlags replaced it?)
2008-10-02 22:14:34 +00:00
Homer Horwitz
fb9acb80ef
- Fix invalid cast in OSHttpRequest
...
- Web-map should work again :)
2008-10-02 22:10:49 +00:00
Melanie Thielker
8963522aab
Mantis #2314
...
Thank you, sacha magne, for a patch to add login level and message
commands to the user server
2008-10-02 15:36:10 +00:00
Dahlia Trimble
cf9835130a
Square hollow size in cylinder meshes were a little too small - fixed.
2008-10-02 02:33:45 +00:00
Homer Horwitz
b1c1de2fbe
- Added SendScriptTeleportRequest to IClientView and classes implementing it.
...
- Implemented llMapDestination.
2008-10-01 21:30:48 +00:00
Sean Dague
9d7a9d3461
stick a TODO in here about land tests, which really can't be done in
...
the current state as the Land Object has all these live references back
to Scene.
2008-10-01 21:10:08 +00:00
Sean Dague
b7454b1a2b
enhance boundary tests for no terrain. Put in a null load
...
test for land.
2008-10-01 21:10:02 +00:00
Justin Clarke Casey
7e35e4c816
* minor: oh, and comment out the now unused logger as well
2008-10-01 20:56:34 +00:00
Justin Clarke Casey
231b8c2a67
* minor: Comment out temporarily statistical counter I accidentally left in from the last commit
2008-10-01 20:55:09 +00:00
Justin Clarke Casey
cbb9693ef4
* Try bumping packet resend timeout up to 2 seconds instead of 1
...
* This actually probably doesn't make a huge difference. We still end up resending a massive number of packets in quite a few situations, but it's not easy to consistently
reproduce this.
* Might really need some throttling of packet send to the client on the OpenSim end.
2008-10-01 20:54:28 +00:00
Justin Clarke Casey
4d32cd34e8
* refactor: rename interface to put standard I prefix in front
2008-10-01 20:30:30 +00:00
Sean Dague
7b1e82a8aa
remove tests for inventory
2008-10-01 19:29:06 +00:00
Sean Dague
0f7f3b45cc
add basic store retrieve prim inventory test. the prim
...
inventory interfaces definitely need some rethinking.
2008-10-01 18:51:12 +00:00
Sean Dague
1389461854
one class per file please.
...
This puts the TaskInventoryDictionary in it's own file.
2008-10-01 18:51:09 +00:00
Justin Clarke Casey
95a3d6372d
* Fix bug in LLPacketHandler where the tickcount when a packet was approximately sent was not being stored in the ack record
...
* This meant that acks were being sent out every 250ms when the ack timer fired, rather than when they had actually aged past m_ResendTimeout
2008-10-01 17:18:20 +00:00
Sean Dague
d009927194
add delete prim tests. Found and fixed bugs where region
...
is not respected by sqlite or mysql drivers so that deleting
and object in a region actually deletes that object from any
region.
2008-10-01 15:41:36 +00:00
Melanie Thielker
fecbb2febd
Add a user server XMLRPC method to set the MOTD and the minimum GodLevel
...
required to log in. set_login_params accepts avatar_uuid and password of a
user with god level 200 or more, and allows setting either or both the
login_motd or login_level
2008-10-01 15:17:37 +00:00
Dahlia Trimble
dabe61f283
a little (incomplete) hackery in the IRC module to allow run-time connection changes
2008-10-01 08:24:44 +00:00
Johan Berntsson
513ce9caee
Added functions to find prims by name
2008-10-01 06:39:36 +00:00
Teravus Ovares
6754681e5b
* Adds error handlers for errors parsing the querystring passed on the OSHttpRequest constructor.
...
* maybe.. it was a key that was null. Obviously you can't still a null key in a string key'ed collection.
2008-10-01 04:26:51 +00:00
Teravus Ovares
f49ba0cbfe
* Fixed a mangled Seed caps handler definition on login to region in standalone where port wasn't the http port.
...
* Removed spurious warning message
* More debug in EventQueueGet Module to figure out why we're loosing the handlers.
2008-10-01 04:16:41 +00:00
Teravus Ovares
79b2e5ac71
* Replacing Net.HttpListener with HttpServer.
...
* This is a HUGE update.. and should be considered fraut with peril.
* SSL Mode isn't available *yet* but I'll work on that next.
* DrScofld is still working on a radical new thread pump scheme for this which will be implemented soon.
* This could break the Build! This could break your Grid!
2008-09-30 16:56:33 +00:00
Dr Scofield
a57533b6d7
initial version of a meeting concierge module.
2008-09-30 16:14:47 +00:00
Dr Scofield
63b2e3575a
- a couple of minor code cleanups in RestInventoryServices
...
- cleanups and more comments in ChatModule and IRCBridgeModule
- adding Name support in ScenePresence
2008-09-30 16:14:09 +00:00
Melanie Thielker
57a862bc01
And one more. lThat should make all scripts start for everyone
2008-09-30 14:58:11 +00:00
Melanie Thielker
f0564549a9
Add two more default script engine params
2008-09-30 14:57:05 +00:00
Melanie Thielker
76f7fcba7d
Add the default script engine to the script creation from archive loading
...
to make scripts loaded from oar start
2008-09-30 14:51:15 +00:00
Adam Frisby
d4c1751285
* Fixed minor issue while building: If you do a raytraced object placement and a target isn't found, the object is rezzed at 0,0,0 - instead now it will place according to the position sent by the client.
...
* We may instead want to abort and send a "Cannot Rez Here" message?
2008-09-30 14:42:25 +00:00
Melanie Thielker
f00b24ff9e
Allow create-region to load files from arbitrary locations
2008-09-30 10:50:41 +00:00
Teravus Ovares
6ea5b515d0
* Get the code up to speed with my -#dev e-mail example. (uncomment out lines 227 - 235 to test.
2008-09-30 05:39:52 +00:00
Jeff Ames
f6699892dc
Update svn properties, minor formatting cleanup.
2008-09-30 05:26:57 +00:00
Charles Krinke
68ae63e546
Mantis#2300. Thank you kindly, Idb for a patch that solves:
...
A number of the deprecated functions had missing parameters
causing compile errors. These included:
llSound, llMakeExplosion, llMakeFountain, llMakeSmoke,
llMakeFire, llPointAt, llXorBase64Strings, llSetPrimURL
2008-09-30 01:59:51 +00:00
Sean Dague
97107961e0
add a test for updating region settings and fix a bug in uuid
...
translation in sqlite uncovered by this test.
2008-09-29 21:55:59 +00:00
Justin Clarke Casey
464c3c7091
* Add missing mssql migration files from http://opensimulator.org/mantis/view.php?id=2295
...
* Sorry about that
2008-09-29 20:26:34 +00:00
Charles Krinke
307f26e80e
Mantis#2299. Thank you kindly, Idb for a patch that:
...
OS/SL script conformance, implement llSoundPreload and
llRemoteLoadScript to behave as in SL. In SL
llSoundPreload appears to do nothing. In OS
llRemoteLoadScript shouts an error when invoked
"Deprecated. Please use llRemoteLoadScriptPin instead."
2008-09-29 20:24:59 +00:00
Justin Clarke Casey
5e238be255
* minor: forgot this small tidy in the last checkin
2008-09-29 19:56:26 +00:00
Justin Clarke Casey
374947cf01
* minor: tidy up async sog deleter
2008-09-29 19:55:45 +00:00
Justin Clarke Casey
75b6011a24
* minor: remove warning
2008-09-29 19:11:48 +00:00
Justin Clarke Casey
941e20c463
* refactor: move asynchronous scene object deletion to inventory queueing out to a separate class
2008-09-29 19:09:49 +00:00
Dahlia Trimble
5eb433ae26
ApplyImpulse now forwards impulse in both local and global modes.
2008-09-29 19:01:45 +00:00
Dr Scofield
87ac46c1c5
From: rob smart (smartrob@uk.ibm.com)
...
minor fixes to osParseJSON.
2008-09-29 17:47:17 +00:00
Justin Clarke Casey
a888dbc60a
* Fix http://opensimulator.org/mantis/view.php?id=2189 for real this time
...
* Ignore any exception encountered during shutdown rather than aborting the quit command
2008-09-29 15:40:16 +00:00
Justin Clarke Casey
0b2bc26bfe
* minor: remove warnings
2008-09-29 15:33:58 +00:00
Justin Clarke Casey
4daaac662f
* Apply http://opensimulator.org/mantis/view.php?id=2295
...
* Updated MSSQL to reflect resend changes
* Added the new columns in prims table.
* Created a implementation for getting gestures.
* Remove configurable table names for user.
* Thanks Ruud Lathorp
2008-09-29 15:22:48 +00:00
Justin Clarke Casey
104039b6c6
* reactor: move inventory archive classes into separate Inventory/Archiver directory
...
* This is not yet a real module (and is arguably not a region module anyway)
2008-09-29 15:14:57 +00:00
Justin Clarke Casey
e768602681
* refactor: Rename InventoryModule to InventoryTransferModule
2008-09-29 15:09:35 +00:00
Justin Clarke Casey
3fc86cb578
* Move existing inventory module into a 'Transfer' namespace, since that is the functional it actually fulfills
2008-09-29 15:02:03 +00:00
Justin Clarke Casey
4a5e1c7547
* check in missing files that caused the previous build break
2008-09-29 14:55:26 +00:00
Justin Clarke Casey
7ec065198a
* Apply http://opensimulator.org/mantis/view.php?id=2294
...
* This is an initial basic experimental code for inventory import and export from the region server
* Probably not yet ready for general use
* Thanks Kayne!
2008-09-29 14:41:16 +00:00
Dr Scofield
e0795e44ac
fixes future mantis from SachaMagne.
2008-09-29 12:29:11 +00:00
Melanie Thielker
fe06f37e6b
Mantis #2293
...
Same fix for the DNE
2008-09-29 10:35:07 +00:00
Melanie Thielker
538f51f36d
Mantis #2293
...
Fix a null reference exception when the exception thrown by a script
is not a TargetInvocationException
2008-09-29 10:30:01 +00:00
Charles Krinke
6758ecc403
Implement the plumbing for llSetVehicleType from the LSL
...
subroutine down through the physics modules through PhysActor
and SceneObjectPart. No connection to the physics simulators.
2008-09-28 22:38:59 +00:00
Charles Krinke
5ddba2a3a7
Mantis#2291. Thank you kindly, StrawberryFride for a patch that solves:
...
User server won't start up for a MSSQL grid migrating from a significantly
older version to current version due to duplication in three of the
migrations code files. Patch included takes out the duplicated code from
the three files so a smooth update should happen on start up.
2008-09-28 22:07:05 +00:00
Charles Krinke
04be8726d3
Mantis#296. Thank you kindly, Idb for a patch that resolves:
...
Estate/ Manager Owner Uses the Region/Estate Menu Region TAB,
and uses "Teleport Home All Users..." (Action Button), the
action will complete but no one will be teleported and all
users still function in the region ok.
2008-09-28 22:01:37 +00:00
Charles Krinke
ebbbd37605
Added the plumbing for llSetVehicleRotationParam
...
in the classes between the LSL implementation and the
underlying physics engines.
2008-09-28 21:53:56 +00:00
Charles Krinke
d68d631dc0
A little bit further with LLSetVehicleVectorParam.
2008-09-28 21:20:25 +00:00
Melanie Thielker
c2308d8a7d
Add explicit CultureInfo to the script compile thread in DotNetEngine to
...
ensure that scripts will compile on nonenglish systems
2008-09-28 20:29:56 +00:00
Charles Krinke
3747862999
Plumb the connection though from llSetVehicleVectorParam
...
to the various physics engines. No connection to the
underlying physics simulator yet, just plumbing through
the various classes.
2008-09-28 20:20:32 +00:00
Melanie Thielker
3012bfa2a2
Mantis #1922
...
Thank you, idb, for a patch that addresses hex digits erroneously being
recognized as valid and parsed in a decimal number
2008-09-28 19:58:54 +00:00
Melanie Thielker
1d5b2bb8bc
Add some methods to allow modules so set client view options
2008-09-28 19:45:42 +00:00
Charles Krinke
9709d01358
Remove llSetVehicledoubleParam. It does not exist.
...
It was a mistake a year ago to add it in.
2008-09-28 19:31:58 +00:00
Charles Krinke
3397236c6c
Plumb the connection through from llSetVehicleFloatParam
...
to the various physics engines. No connection to the
underlying physics simulator yet, just plumbing through
the various classes.
2008-09-28 18:36:30 +00:00
Melanie Thielker
95c3e0883c
Mantis #2288
...
Correct a typo in namespace declaration
Also adds a new flag to the PacketManager to force retention of packets
marked reliable (default off)
2008-09-28 18:07:06 +00:00
Charles Krinke
d3bb8e42a6
Mantis#2289. Thank you kindly, SMeans for a patch that:
...
Corrects the spurious reference to MySQL namespace in
GridManager.cs.
2008-09-28 17:17:14 +00:00
Charles Krinke
ee9033e2c7
Mantis#2288. Thank you kindly, SMeans, for a patch that:
...
Corrects the typo of namespace Opensim.Framework to
OpenSim.Framework in Cache.cs.
2008-09-28 17:11:10 +00:00
Homer Horwitz
1cc927ad97
- Further cleanups
...
- Added TeleportFinish event to the event-queue. It works better than
before (you can teleport), but it doesn't work quite right yet (you
start TPing after the TP again).
Beware: Still experimental and non-working.
2008-09-28 14:19:26 +00:00
Homer Horwitz
4452121227
Refactor to avoid some duplicate code.
2008-09-28 12:44:49 +00:00
Jeff Ames
0b4415849a
Update svn properties. Minor formatting cleanup. Fix a compiler warning. Fix a UUID vs null comparison.
2008-09-28 03:21:11 +00:00
Teravus Ovares
e78cdd9690
eol-style native; on EventQueueHelper
2008-09-28 02:59:42 +00:00
Teravus Ovares
25a998feb4
* okay.. Now you can do border crossings with the security 'fixed' client.. with EventQueue enabled.
...
* You occasionally loose the event queue if you cross back and forth between the same regions many multiples of times.
* But Don't try to teleport!
2008-09-28 02:57:53 +00:00
Charles Krinke
6a863311f7
Mantis#2287. Thank you kindly, Idb for a patch that solves:
...
The current llGetLinkName returns an empty string if a prim
with the given link number is not found in the link set. In
SL an empty string is only returned if the prim name is actually
blank, a NULL_KEY is returned instead with a couple of exceptions.
2008-09-28 01:12:57 +00:00
Teravus Ovares
4f0c759fb0
* With EventQueueGet enabled.. we can see into neighbor regions again on the Security 'fixed' client.. But don't try to cross yet!
2008-09-27 23:54:08 +00:00
Teravus Ovares
21bf26e9b4
* Adds flag to enable/disable EventQueueGet.
...
* If EventQueueGet is enabled, use that instead of a few UDP packets, if it's disabled use the UDP packets like normal.
* We *really* suggest users do not turn on EventQueueGet yet.. as it's highly experimental, broken, and resource intensive
* Updated OpenSim.ini.example
* Testers of EventQueueGet.. in OpenSim.ini, it's in the [Startup] Section.. change EventQueue = false, to EventQueue = true.
2008-09-27 23:06:28 +00:00
Teravus Ovares
07b32c9320
* Replace a generic error handler.
2008-09-27 22:06:51 +00:00
Teravus Ovares
98632ee594
* Event queue is now polling..
...
* returns FAKEEVENT instead of the connection returning a 502. It doesn't like our 502's for some reason.. so, in leau of this.. send it a fake event.
* Once again, this is still 'really early' code, so please don't blame us if you have no more threads left.
2008-09-27 22:05:36 +00:00
Homer Horwitz
0e10c85617
Continue working on the new EventQueueGetModule. Not finished (or even working)
...
yet. This shouldn't break anything, but is work in progress, so be careful.
Contains a new file; do your runprebuilds.
2008-09-27 18:33:54 +00:00
Homer Horwitz
358bc41b03
- adding Dequeue with a timeout to the BlockingQueue
2008-09-27 18:29:17 +00:00
Melanie Thielker
c0b60bb8cf
Stop DNE saying "Loading script" when it's actually unloading.
2008-09-27 14:19:03 +00:00
Teravus Ovares
85b280385f
* This is the very very early beginnings of an EventQueue:get module.
...
* This won't function yet as far as the client can tell.. because it doesn't respond to the first query with a 200 message.
* We have to figure out how to encode those binary values in the example code in the module...
* Committing this so we have a start point. Will continue to work on this more today.
2008-09-27 09:42:31 +00:00
Melanie Thielker
1f8888a287
Update unit tests
2008-09-27 05:58:52 +00:00
Melanie Thielker
85068dae60
Add friendly error messages to both engines.
2008-09-27 05:31:43 +00:00
Melanie Thielker
ec16750a87
Mantis #2277
...
Patch up a type name change in libomv. Thanks for tracking that down, idb
2008-09-26 23:38:59 +00:00
Melanie Thielker
5a9bb2eafb
And actually do what I intended to do with the last commit. Message is gone.
2008-09-26 20:44:41 +00:00
Melanie Thielker
b416422349
Kill "Compile successful" message when rezzing prims/wearing attachments
...
Changes behavior to send on_rez event to prims when rezzed from agent
inventory.
2008-09-26 20:18:31 +00:00
Melanie Thielker
415520cea6
Fix listeners in multi-region instances
2008-09-26 20:12:11 +00:00
Melanie Thielker
54ef88c12c
Thank you, idb, for a patch that implements the stubs for llGetAgentLanguage()
2008-09-26 18:40:16 +00:00
Melanie Thielker
698ecec6f7
Remove another interface that is no longer needed
2008-09-26 18:37:53 +00:00
Melanie Thielker
4a69791875
Add "Notecard saved" message to saves of notecards into prims
2008-09-26 18:16:13 +00:00
Melanie Thielker
e5db6a75d0
Finishing the code cleanup in DNE, make llDie work again in DNE.
...
Add some compile messages from XEngine into DNE as well.
2008-09-26 17:59:36 +00:00
Teravus Ovares
16b6738cda
* Patch from JHurliman
...
* Updates to libomv r2243,
* Remove lots of unnecessary typecasts
* Improves SendWindData()
Thanks jhurliman.
* Will update OpenSim-libs in 10 minutes..
2008-09-26 17:25:22 +00:00
Melanie Thielker
34cfd710ce
DNE code cleanups
2008-09-26 17:01:33 +00:00
Melanie Thielker
e8d1235e91
Adds support for the "Running" checkbox and the "Reset" button, as well as
...
ResetScripts In Selection, Set Script to [not] Running In Selection from
the tools menu. Allows DNE script reset without a full recompile.
2008-09-26 16:37:29 +00:00
Melanie Thielker
6e9d7484d0
Pluggable API module (XEngine style) support for DNE
2008-09-26 16:19:50 +00:00
Melanie Thielker
d8c470343e
Compiler Connection! One world, one compiler!
2008-09-26 16:11:53 +00:00
Melanie Thielker
0313a1d439
After the last commit, the old Common assembly was still being loaded.
...
Removing it made DNE scripts crash. Fixed here.
Now on to converge the compilers.
2008-09-26 15:44:14 +00:00
Melanie Thielker
12a6b7c835
Yay! Common/ is gone! One API is achieved!
2008-09-26 15:34:23 +00:00
Justin Clarke Casey
055ea73b57
* minor: fix lolbug in RestInventoryService spotted by jhurliman
2008-09-26 15:29:30 +00:00
Justin Clarke Casey
97323345ee
* minor: remove warnings
2008-09-26 15:28:14 +00:00
Justin Clarke Casey
4b78aa50e6
* Apply http://opensimulator.org/mantis/view.php?id=2274
...
* Reapply homer's click action implementation, which accidentally got blatted
* Thanks tyre
2008-09-26 15:18:22 +00:00
Justin Clarke Casey
1278563482
* refactor: do a tiny bit of cleanup
2008-09-26 15:15:19 +00:00
Melanie Thielker
24628928c3
Add per-instance date to DNE to avoid serializing stuff 10 times a second.
...
Clode cleanup and removal of commented stuff in ScriptManager.
2008-09-26 15:01:03 +00:00
Justin Clarke Casey
77eac708fa
* refactor: split out AssetXferUploader
2008-09-26 15:01:01 +00:00
Justin Clarke Casey
1f53099136
* refactor: split out AgentAssetTransactionsManager
2008-09-26 14:41:57 +00:00
Justin Clarke Casey
7ee1f3dff6
* Implment task inventory item asset update for the old non CAPS transaction system
...
* This means that saving notecards in prim inventories should now work.
* Not the nicest code in the world - the transactions system is pretty fugly right now
* PLEASE NOTE: Currently, the prim will not repersist until up to 15 seconds after it is unselected.
* What we really need is a proper mechanism so that any prim updates still waiting when the simulator is quit are performed before exit.
2008-09-26 14:28:24 +00:00
Melanie Thielker
9c26c8c8da
And another file
2008-09-26 13:46:46 +00:00
Melanie Thielker
b2d60ef91d
Pushing the missing file
2008-09-26 13:41:20 +00:00
Melanie Thielker
824283ca3c
Remove all the subclassing complexity and script server interfaces from
...
DNE and move all of DNE into the DotNetEngine directory. Remove references
that would cause the script runtime to load the entire engine + scene into
each script appdomain. This might help DNE memory consumption.
2008-09-26 13:16:11 +00:00
Teravus Ovares
6b13730bc7
* Wind updates. Still random.. but in 4 directions instead of two!
...
* It seems kind of silly to be building a 256x256 array just to use two 16 float blocks.. but for now the layerdata routine requires it so we'll go along with that.
* We only fill a 32x16 area of the 256x256 float array with data.
* We use patches 0,0 and 0,1 for the first and second patch to determine the direction and magnitude of the wind.
2008-09-26 12:56:17 +00:00
Melanie Thielker
92ebbd1420
Remove interfaces that are no longer used from DNE
2008-09-26 12:04:16 +00:00
Melanie Thielker
b65d2139c8
Bringing the OSSLPrim back. Prim.Rotation, etc, will now work again.
...
As a bonus, the OSSLPrim has now come to XEngine, too!
2008-09-26 03:04:36 +00:00
Melanie Thielker
c21a8b9969
Full API convergence. Api is back in LSL_Api.cs and OSSL_Api.cs.
...
The binaries are still different, but that is only a small step away now.
The OSSLPrim has been removed. This commit will breal all scripts
using Prim.Scale(), etc, syntax. It was not secure and will have to
be brought back in another form.
2008-09-26 02:51:00 +00:00
Charles Krinke
33add28b51
Mantis#2265. Thank you kindly, Idb for a patch that:
...
Implements the LSL function llGetAttached().
2008-09-26 01:49:06 +00:00
Homer Horwitz
91e0369f83
Implement LSL-function llSetClickAction.
2008-09-25 20:37:56 +00:00
Melanie Thielker
c713dcbada
Some script engine interface changes
2008-09-25 20:04:59 +00:00
Homer Horwitz
0e6237739a
Implement LSL-function llGetRegionAgentCount.
2008-09-25 19:02:14 +00:00
Melanie Thielker
f926d917cb
Fix script engine name parsing for DotNetEngine to make that actually work
...
Add a reference for Windows builds
2008-09-25 17:54:44 +00:00
Melanie Thielker
f11107821e
Add an extension to allow registering multiple interfaces of a type with
...
Scene. Make the script engines check that the engine name in the
//Engine:language comment is a valid engine and treat it as a normal
comment if it's not.
//DotNetEngine: needs to be written as //ScriptEngine.DotNetEngine: now, since
that is it's real internal name. //XEngine: still works
2008-09-25 17:26:32 +00:00
Charles Krinke
339671afc6
Mantis#2017. Thank you kindly, Tyre, for a patch that solves:
...
Check the client dialog box (from top menu) WORLD / REGION ESTATE
/ REGION tab. The client dialog box seems to have a hard limit of
about 32 characters per line available for displaying the region
version number. Our regions are sending a string which is greater
than the limit, causing the client to wrap the text and look ugly.
2008-09-25 14:57:40 +00:00
Melanie Thielker
f6650d33cc
Fixes an exception that is seen on regions running XEngine, where DNE
...
tries to stop a script that is not run by it
2008-09-25 14:20:31 +00:00
Teravus Ovares
4004172106
* Adds some Wind
...
* A little wind wouldn't hurt anyone, right? This is the 'slightly breezy' setting.. hopefully you won't notice 'much' of a difference.
* It turns out the terrain patch routine is similar enough to the wind version that it can be used to hack together a breeze generator with a few mods.
* Not much configuration.. yet. You only get breeze updates in the general vicinity of your camera now to keep bandwidth usage down.. and we're not talking about 'much' movement at the moment.
* initial version... could use improvement I'm sure.
2008-09-25 11:46:05 +00:00
Dr Scofield
b0192ea139
fixes a slight copy and paste bug in OGP module.
2008-09-25 11:04:52 +00:00
Dr Scofield
60618c1895
temporarily disabling HttpServer related stuff (take #2 : Exclude takes
...
regex not shell glob)
2008-09-25 09:20:01 +00:00
Teravus Ovares
17be1b736d
* In Standalone, add a persistant account for the OGP user.
...
* Gridmode, this has no effect at all.
2008-09-25 08:42:48 +00:00
Melanie Thielker
a3fcaef890
CONVERGENCE!!!!!!
...
The entire LSL API is now in the single, shared file
OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api_Base.cs
This is for both engines. The OSSL function are still separate.
2008-09-25 06:04:47 +00:00
Melanie Thielker
f3c8963c86
Convergence is almost complete. This brings the diff between the API to < 10k
...
and makes it use a common set of types in both engine. Fixes the issues with
running both engines and HTTP requests / listens / timers etc..
Also fixes a couple of minor Scene issues and a CTB by nullref.
2008-09-25 05:13:44 +00:00
Charles Krinke
5edaddce6d
Mantis#2123. Thank you kindly, Idb for a patch that solves:
...
Under both DotNetEngine and XEngine, if an agent's UUID
is passed as the parameter to llGetObjectMass(),
it throws an exception.
2008-09-25 03:58:03 +00:00
Teravus Ovares
031eb08b8e
* Remove a message handler
...
* Add a more specific error handler for when we're unable to pull the OGP state
* rez_avatar/derez ?
2008-09-25 02:39:53 +00:00
Sean Dague
7117f8b680
removal of more dead alter table code
2008-09-25 00:20:57 +00:00
Melanie Thielker
9131ba23e1
Add a module selection option for the MapImage Module as well
2008-09-24 22:24:10 +00:00
Melanie Thielker
1d7095fbce
Correct a capitalization error
2008-09-24 22:07:55 +00:00
Melanie Thielker
c009da3508
Add WorldMapModule = "name" to OpenSim.ini. Default is "WorldMap".
2008-09-24 21:48:55 +00:00
Sean Dague
c3f66be405
light mysql user tests
2008-09-24 21:17:00 +00:00
Sean Dague
2ef1b194fd
expose it for real, missed the public keyword
2008-09-24 21:16:58 +00:00
Sean Dague
b4f204e526
expose MySQLUserData class so that it can be tested
2008-09-24 21:16:56 +00:00
Sean Dague
dabb311711
remove configurable table names from the mysql user driver. That
...
doesn't work in a world of migrations anyway, and is only cruft that
will confuse people.
2008-09-24 21:16:47 +00:00
Homer Horwitz
fe9aea258f
Add persistence of active gestures. This needs an UGAIM update to work.
...
Active gestures are sent as part of the login-response. Added
fetchActiveGestures to SQLite and MySQL; added an empty one for MSSQL and
NHibernate. Using the empty ones won't cause errors, but doesn't provide
persistence either, of course.
2008-09-24 21:12:21 +00:00
Sean Dague
cffb975dd9
light the mysql region tests
2008-09-24 21:03:11 +00:00
Sean Dague
6392671335
let the asset tests run on MySQL. Interesting difference here, the
...
sqlite driver can handle .Data = Null, the mysql driver can not. We
should decide which is the right behavior and adjust code for it.
2008-09-24 20:43:32 +00:00
Sean Dague
70d6cb8570
remove a bunch of out of date inline ALTER table commands that would only
...
confuse people.
2008-09-24 20:43:27 +00:00
Melanie Thielker
fb7a29a5ef
Rename lots of stuff in DNE to reduce source code differences in the
...
LSL implementation files. Rename lots of stuff in XEngine for the same
reason. Move methods between interfaces. Just refactor stuff.
2008-09-24 13:18:06 +00:00
Dr Scofield
5787480655
From: alan webb (alan_webb@us.ibm.com)
...
cleanups.
2008-09-24 12:04:58 +00:00
Dr Scofield
201805172f
cleanups, fixing REST appearance services.
2008-09-24 11:39:08 +00:00
Melanie Thielker
a042302100
Mantis #2250
...
Make ambiguous implicit conversion from LSLInteger to uint explicit
2008-09-24 11:16:53 +00:00
Melanie Thielker
218902bedc
Decouple AsyncCommands from XEngine and the script instance. Make
...
all methods needed outside the API ststic. Async command processing
is now wholly internal to the API. This sets the stage for the next
convergence step.
2008-09-24 02:58:05 +00:00
Jeff Ames
3f79e6b3e7
Update svn properties, formatting cleanup.
2008-09-23 23:14:00 +00:00
Sean Dague
1aab81e235
couple of minor test cleanups to see if this gets us past the bamboo hump
2008-09-23 21:56:38 +00:00
Teravus Ovares
ab4e48e57d
leyla found a capitalization error in one of the OGP messages. Thanks leyla!
2008-09-23 21:24:38 +00:00
Melanie Thielker
48da2c24a2
Add the missing file
2008-09-23 21:23:23 +00:00
Sean Dague
a70efd1fdf
create the first attempted mysql test. This only runs locally if you
...
have a database configured as opensim-nunit with user opensim-nunit /
password opensim-nunit that has full perms on the database.
2008-09-23 21:03:03 +00:00
Melanie Thielker
bbb962f64e
Refactor BuiltIn_Commands_BaseClass to ScriptBaseClass to ease the later
...
code merging and transition to Shared/
2008-09-23 20:20:40 +00:00
Melanie Thielker
1e7a820bd1
Remove some debug output
2008-09-23 20:04:03 +00:00
Melanie Thielker
88277366bf
Switches the direct event postings in the API file over to the Shared/
...
new style of parameter passing, using the IEventReceiver interface.
2008-09-23 20:02:32 +00:00
Teravus Ovares
0651efaafa
* OGP GET, look for Accept header application/llsd+xml with an optional ?q=
2008-09-23 19:28:24 +00:00
Teravus Ovares
480377e853
* Fix a null reference exception that I introduced
2008-09-23 19:16:02 +00:00
Sean Dague
9a17d2b1fd
remove log4net references, see if that helps fix bamboo
2008-09-23 19:11:06 +00:00
Teravus Ovares
439dd6cf8f
* Get Requests for OGP don't have a Content-type: application/llsd+xml, they have an Accept: application/llsd+xml.
2008-09-23 18:41:26 +00:00
Sean Dague
908f1bcbe2
check in stubbing for mysql tests. This is ignored with
...
Assert.Ignore() for now, so it won't change anything, but
I want to make sure it doesn't break the bamboo infrastructure
in it's current state.
2008-09-23 18:38:25 +00:00
Melanie Thielker
6425680cff
Add IEventReceiver to DNE - a consolidation series patch
2008-09-23 17:33:00 +00:00
Melanie Thielker
420a645036
Remove Common/LSL_Types.cs. Both script engines now use a single version
...
of the types, located in OpenSim/Region/ScriptEngines/Shared/LSL_Tyoes.cs
Also changes the compiler in DotNetEngine to use that. You _will_ need to
let your region recompile all your scripts!
2008-09-23 15:14:15 +00:00
Dr Scofield
29950ba419
this add POST support for asset services (howto forthcoming) and fixes
...
a couple of minor bugs.
2008-09-23 15:07:20 +00:00
Melanie Thielker
8ac4437d9a
Add constants wrapping code from XEngine to DNE. This syncs up the parsers
...
between the engines again. Also, committed r60 in opensim libs with the
parser source changes.
2008-09-23 14:17:32 +00:00
Melanie Thielker
d95794d05c
Refactor XEngine parser as per suggestions from mikem
2008-09-23 13:28:17 +00:00
Melanie Thielker
aef2afd3be
Add file missed in last commit (which never completed)
2008-09-23 12:49:31 +00:00
Melanie Thielker
dffa6567e8
Alter tests to match up with the results after tyre's patch
2008-09-23 12:17:21 +00:00
Melanie Thielker
44e566260c
Mantis #2243
...
Thank you, tyre, for a patch that refactors LSL to use a unified set of
method signatures and type names, reorders methods and removes unused
and adds new method stubs.
2008-09-23 11:41:34 +00:00
Melanie Thielker
525f66b6f1
Small fix to eliminate a beauty spot
2008-09-23 03:49:07 +00:00
Melanie Thielker
70d264ee6c
Update the permissions system to handle scripts and notecards the way
...
it was meant to. No functional changes, just better code
2008-09-23 03:36:16 +00:00
Teravus Ovares
611ffa3f60
* Update in OGP draft 3 protocol spec with regards to seed region requests running over GET instead of POST and the rez_avatar/request cap being wrapped in the capabilities map.
2008-09-23 01:54:04 +00:00
Melanie Thielker
48672c7fd6
Move script and notecard open perms checks from ClientView to the
...
perms module
2008-09-22 22:33:00 +00:00
Justin Clarke Casey
878166622b
* Remove some old libsecondlife workarounds as suggested by jhurliman in http://opensimulator.org/mantis/view.php?id=2236
2008-09-22 20:16:11 +00:00
Justin Clarke Casey
8e00e933a4
* Apply http://opensimulator.org/mantis/view.php?id=2234
...
* Exceptions can thrown by llGetOwnerKey()
* Thanks idb
2008-09-22 20:09:06 +00:00
Melanie Thielker
c64551710e
Remove the ugly-as-sin "interop" hack script perms fudging in
...
object inventory
2008-09-22 14:03:42 +00:00
Melanie Thielker
a882fddb07
Remove comment in perms module after consulting with awebb
2008-09-22 14:01:41 +00:00
Melanie Thielker
908a1932a8
Fix a small logic error in my perms module changes
2008-09-22 13:03:54 +00:00
Melanie Thielker
d7a98925ce
Create CanEditObjectInventory to preserve the ability
...
to have different permissions on inventory and object
edits. This may be needed by the viewer on public grids
2008-09-22 12:52:56 +00:00
Dr Scofield
7def786ef4
cleanups in inventory REST code. also, disables digest authentications
...
for inventory REST calls for the time being, as firefox, curl, and
also python's urllib2 cannot authenticate using digest auth.
fix permission checking for prim inventory to be the same as for
normal edit ops.
2008-09-22 11:20:09 +00:00
Melanie Thielker
b8a39a4dde
Remove the script engine identifier tag, so the compiler just sees
...
the language specifier. Makes language specifiers work again with
script engine specifiers.
2008-09-22 11:18:49 +00:00
Dahlia Trimble
232aa783ad
Disabled use of ODE internal geometry to see if it affects the "waves finger" error
2008-09-22 02:33:48 +00:00
Melanie Thielker
79ac01fb0c
Prevent scripts from running under multiple engines at once
2008-09-22 02:11:40 +00:00
Melanie Thielker
1602ba6175
Allows to use the new script engine feature. Begin your script with
...
//XEngine: or //DotNetEnine: , optionally followed by a language
like //XEngine:lsl, and it will be run on the chosen engine.
2008-09-21 22:16:17 +00:00
Melanie Thielker
94aaf67dfa
Change the scirpt engine loading mechanism. Script engines are now
...
ordinary region modules and are able to coexist in one instance.
See http://opensimulator.org/wiki/ScriptEngines for details. There were
changes to OpenSim.ini.example, please note DefaultScriptEngine.
Also see the User docs and FAQ on the Wiki. Default is DotNetEngine.
2008-09-21 21:47:00 +00:00
Justin Clarke Casey
451bd5a0ca
* minor: warnings removal
2008-09-21 20:56:39 +00:00
Charles Krinke
37da083de5
Mantis#2233. Thank you kindly, Idb, for a patch that solves:
...
The constants for llGetParcelDetails were missing
for DotNetEngine and XEngine.
2008-09-21 20:51:55 +00:00
Justin Clarke Casey
3782d6aab7
* minor: Remove some of the redundant asset id storage for now
2008-09-21 20:44:54 +00:00
Justin Clarke Casey
8fb3523ef7
* Start recording asset request times after a cache miss. This is very primtive at the moment - only the last time is kept for some classes of request
...
* This can be seen as "Latest asset request time after cache miss" in show stats on the region console
2008-09-21 20:29:06 +00:00
Justin Clarke Casey
70e8097e31
* Eliminate the need to copy asset request lists in the asset cache when an asset is received or missing
...
* Also eliminates a race condition
2008-09-21 18:53:58 +00:00
Justin Clarke Casey
52f0c8d15d
* minor: tidy up of AssetCache, remove currently pointless storing of thread reference
2008-09-21 17:49:52 +00:00
Homer Horwitz
0f020a7cd2
Fix another reason for #2218
2008-09-21 17:01:58 +00:00
Justin Clarke Casey
1a71a3a567
* Fix http://opensimulator.org/mantis/view.php?id=2189
...
* Allow a grid mode region simulator to properly shutdown even if the grid service is offline
2008-09-21 16:58:14 +00:00
Homer Horwitz
f6071c030d
Don't attach attachements to child agents. This coincidentially fixes a race
...
condition that was the reason for mantis #2218 .
2008-09-21 16:07:41 +00:00
Melanie Thielker
83b030229e
Mantis #2232
...
Thank you, idb, for a patch that fixes an overflow issue in casting
string -> int for both engines, and adds tests!
2008-09-21 15:54:58 +00:00
Homer Horwitz
0105171fc4
The viewer only stores a screenshot on "Set home to here" if the alert that
...
follows show the text "Home position set.". Changed the message accordingly.
2008-09-21 13:31:30 +00:00
Melanie Thielker
8407d7fbd2
Mantis #2230
...
The result of constants arithmetic can be a CLI type. This allows floating
point CLI types to be parsed out of lists properly.
2008-09-21 12:18:30 +00:00
Tedd Hansen
4ce0e6d822
bugfix for shutdown
2008-09-21 09:04:39 +00:00
Dahlia Trimble
52af9b3fd7
ODE was using a box collision shape for some spheres - changed those cases to now use a mesh instead.
2008-09-21 08:12:52 +00:00
Melanie Thielker
85586bb7b2
Change XEngine startup to enable it to run as a normal region module
...
rather than a special one
2008-09-21 02:52:12 +00:00
Jeff Ames
c8349e21c4
Update svn properties, minor formatting cleanup.
2008-09-21 02:41:22 +00:00
Melanie Thielker
b597cbf39d
Fix an exception in new ScriptEngine loader where a region would
...
throw on quit if there was no script engine loaded by the loader
2008-09-21 02:26:08 +00:00
Tedd Hansen
ec494275a2
More locks, try's and disable some things in SEC - maybe it won't crash now. :)
2008-09-21 01:09:54 +00:00
Tedd Hansen
9c8aeff27c
Some error handling to avoid errors in SEC
2008-09-21 00:42:27 +00:00
Melanie Thielker
70be30fbaa
Completely revert the notecard uploading changes I made, since they
...
appear to break script saves in prims for some.
2008-09-21 00:05:33 +00:00
Tedd Hansen
752d3f3879
EXPERIMENTAL: Early commit of new Script Engine Component System
2008-09-21 00:03:13 +00:00
Melanie Thielker
a8785f5b2c
And re-reverse the names from last commit
2008-09-20 22:11:53 +00:00
Melanie Thielker
e4bead4edc
Remove CAPS notecard updating, as LL isn't supporting it and the viewer
...
is not playing nice
2008-09-20 22:04:59 +00:00
Melanie Thielker
82d79e3b0b
Partially implement notecard saves in task inventory. Still makes the
...
notecard go read-only, but changes are saved.
2008-09-20 20:56:39 +00:00
Melanie Thielker
5557fb9dd2
XEngine: Fix loading lists from saved state
2008-09-20 20:07:10 +00:00
Justin Clarke Casey
41728f8a33
* Tidy up OGS1GridServices
...
* Remove what should be unnecessary RemoteException catches when executing local backend calls
2008-09-20 19:55:49 +00:00
Justin Clarke Casey
23ea8f5221
* refactor: remove unnecessary packet null check in LLClientView
...
* if a packet was really null it would be caught by the general exception handler at the top of the client thread, which would also provide more information and attempt a clean
shutdown
2008-09-20 19:05:00 +00:00
Melanie Thielker
e7064c0b19
Fix up some ScriptBase details
2008-09-20 18:17:04 +00:00
Homer Horwitz
f352d6ed9b
- Consistency fix: Like llGetNumberOfNotecardLines, llGetNotecardLine returns NULL_KEY on error now
...
- Conformance fix: If the notecard can't be found, shout on DEBUG_CHANNEL as the docs state
- Bug fix: Don't let llGetNotecardLine throw an exception on freshly created notecards
2008-09-20 17:32:58 +00:00
Teravus Ovares
42f04233a4
* Fix build error, (maybe)
...
* Might break something.. hard to say.. 0.o
2008-09-20 17:17:41 +00:00
Melanie Thielker
5a1be7835c
XEngine: Fix llGetListEntryType to return the correct type for the LSL types.
...
Change serialization to omit types it can't deal with.
2008-09-20 16:24:36 +00:00
Melanie Thielker
f8f1bc6199
Add <expire> tag to data snapshot to give the search server an idea
...
of when to query this node again
2008-09-20 16:15:10 +00:00
Homer Horwitz
4d8544dada
Fix Mantis #2215 : llGetNotecardLine() not detecting EOF under DNE
2008-09-20 14:46:09 +00:00
Sean Dague
6a691df1a6
remove some extraneous debug messages from migrations
2008-09-20 12:44:39 +00:00
Teravus Ovares
12946e3327
* One more tweak in the OGP module to support OGP draft3.
...
* Recognize the proper cap message for rez_avatar/rez in the response cap.
2008-09-19 23:59:49 +00:00
Teravus Ovares
293a822f74
* Implements an experimental method to define which region you want to go to in your 'region domain' in OGP.
2008-09-19 21:37:49 +00:00
Homer Horwitz
025441d722
Small formatting cleanup, before chi11ken notices. Me bad.
2008-09-19 21:32:41 +00:00
Sean Dague
6dd2841ed8
add in bits to attempt to enable log4net on these tests to help when debugging
2008-09-19 20:53:42 +00:00
Justin Clarke Casey
7eb3b5a578
* minor: eliminate the current warnings
...
* you'd think from all this that I was one of those fanatically tidy people. I can assure you from looking around my bedroom/study that this is not the case :)
2008-09-19 20:39:30 +00:00
Justin Clarke Casey
e518fe5d34
* Enables logins to regions on a grid once they have finished starting up (this does not include script startup).
2008-09-19 20:02:19 +00:00
Sean Dague
858d8416b4
add a region settings test
2008-09-19 20:00:09 +00:00
Justin Clarke Casey
fb5014cf5b
* Duh, forgot I had undone some of the changes I meant to include in the previous commit
2008-09-19 19:07:20 +00:00
Justin Clarke Casey
4c7ddd2c71
* Remove one possible deadlock situation as seen today
...
* On script rez, XEngine was taking an m_scripts lock and then later on an m_parts lock when looking for a part by local id
* In the meantime, a scene object being deleted would take an m_parts lock and then later on try to take an m_scripts lock when it tried to trigger script removal
* There may be better ways to resolve this, but I believe that in general, we must always take an m_parts lock before an m_scripts lock
2008-09-19 18:50:19 +00:00
Sean Dague
7ac264c2f0
convert to using proper .net tempfiles, should have done this
...
initially.
2008-09-19 17:47:37 +00:00
Justin Clarke Casey
5fb7b485b2
* Only allow logins on standalone when the sim has completed it's initial startup (script startup doesn't count here)
...
* There was a small window where region logins were allowed before modules were loaded - avatars logins that hit this window could have caused bad things to happen.
* A similar change will follow for grid mode sometime soon
2008-09-19 17:41:21 +00:00
Melanie Thielker
5d3fe9f8cd
Guard LLRezObject against NaN
2008-09-19 17:34:35 +00:00
Melanie Thielker
592f98c4aa
Mantis #2217
...
Guard against NaN being returned from llRotBetween. Return a zero rotation
if the result is NaN.
2008-09-19 17:00:17 +00:00
Melanie Thielker
092ad53dc7
Fix issue introduces by a fix in 6256. Fixes mantis #2214
2008-09-19 13:11:55 +00:00
Dahlia Trimble
e6afb28355
re-enabled some ODE internal proxies for some simple prim types to try to save some more memory
2008-09-19 09:13:27 +00:00
Teravus Ovares
468b7426c3
* Tweaked handler code to recognize LibOMV's LLSD Login by post content.
...
* OK for public consumption.
2008-09-19 01:36:02 +00:00
Teravus Ovares
610313ea64
* Added null exception handler where we couldn't locate a user data record in the cache for the user
...
* More OGP tweaks to make it play nice in an error condition.
* Still Experimental.
2008-09-19 01:11:40 +00:00
Teravus Ovares
a1217410e5
* Switches content type from application/xml+llsd to application/llsd+xml on outgoing requests.
...
* Monitors / for getting the seed cap for rez_avatar/request on application/llsd+xml && application/xml+llsd && !application/xml
* Experimental, this might break LibOMV temporarily.
2008-09-19 00:13:16 +00:00
Melanie Thielker
48c2ef7e12
Fix llParcelMedia queries. Correct types and add a missing ToString() (XEngine)
2008-09-18 20:23:18 +00:00
Homer Horwitz
e2564f2563
Add a db.Dispose before calling Delete on the SQLite database.
...
On Windows, you are not able to delete a file while there is
still a handle to it open.
2008-09-18 20:15:04 +00:00
Homer Horwitz
1c08f46ec3
- Add Dispose method to IRegionDataStore
...
- Add necessary dummy Dispose-methods where they are missing
- Implement the SQLite Dispose-methods
(currently only used for unit tests, in the next commit)
2008-09-18 20:10:09 +00:00
Justin Clarke Casey
48978ba3e0
* Apply http://opensimulator.org/mantis/view.php?id=2212
...
* Update llGetNumberOfNotecardLines() and llGetNotecardLine() to use dataserver on dotnetengine
* Thanks M.Igarashi
2008-09-18 18:58:39 +00:00
Justin Clarke Casey
8ff1bc5b03
* Make the ode simulation update loop print out the stack if an exception occurs (at least, this is what will happen on linux)
2008-09-18 18:54:42 +00:00
Melanie Thielker
6cfe4784cb
Reverse yes and no for the parcel's "public" property to make it accurately
...
reflect parcel status
2008-09-18 18:54:27 +00:00
Melanie Thielker
903fbd1f06
XEngine: fix collisions, add event coalescing for collision events.
...
Fix a nasty concurrency issue that could cause a high event frequency
to start more than one thread pool job for a single script.
2008-09-18 18:50:39 +00:00
Teravus Ovares
e6f3181d3a
* Updates the SQLite region database to support the same properties that the MySQL version does for the table, prims.
...
* If this causes any unit tests to fail, the tests need to be updated.
2008-09-18 17:47:29 +00:00
Melanie Thielker
584704edd3
Remove redundant permissions check in OSSL_Api.cs
2008-09-18 17:06:47 +00:00
Melanie Thielker
f856977c7b
Fix list reset behavior, and thereby squash one warning
2008-09-18 17:04:02 +00:00
Dr Scofield
0dff3f2383
From: Robert Smart (SMARTROB@uk.ibm.com)
...
Patch for new scripting method osParseJSON.
also, a couple of warning bugs killed.
2008-09-18 16:53:26 +00:00
Jeff Ames
ac083becd9
Update svn properties, minor formatting cleanup.
2008-09-18 16:07:06 +00:00
Dr Scofield
e3a3ce7628
code formatting cleanup.
2008-09-18 15:54:27 +00:00
Dr Scofield
eeb5381bbb
and this actually adds the appearance code itself (and not just the
...
check-in message)
2008-09-18 15:50:52 +00:00
Dr Scofield
978b8af777
Adds REST interface for setting avatar appearance. cleans up a couple
...
of places in the REST inventory code.
2008-09-18 15:49:52 +00:00
Dr Scofield
03f246d6fe
adds support to delete a region completely and offers that
...
functionality via the console command "delete-region" and also via
RemoteAdminPlugin.
minor typo fix.
2008-09-18 15:44:05 +00:00
Sean Dague
232d1af663
add some comments and some try blocks around object storage
...
in the hopes this will help debug why this is failing for some people.
2008-09-18 15:39:22 +00:00
Melanie Thielker
23c217dd7b
Kan-Ed fix series.
...
Correct a condition where a prim is linked before it has been persisted
for the first time and is then persisted through it's former SOG with
a bad offset position.
2008-09-18 15:24:16 +00:00
Melanie Thielker
4cb430eb33
Mantis #2213
...
Thank you, nlin, for a patch that prevents physical prims from being
created twice when rezzed from a script.
2008-09-18 12:50:01 +00:00
Melanie Thielker
bf0b7eaecb
Another pointless multiplication/division removed
2008-09-18 12:44:18 +00:00
Melanie Thielker
1160731100
XEngine API refactor. Fully implement ALL_SIDES with sanity checks.
...
Correct color handling functions to no longer return the inverse color.
Remove pointless * 256 / 256 legacy constructs.
2008-09-18 12:37:44 +00:00
Melanie Thielker
deaf0e3814
Kan-Ed fix series.
...
XEngine: Change a number of methods to use the new link part method.
Fix ALL_SIDES for llSetColor, llSetTexture, llSetAlpha, llSetPrimitiveParams,
llGetPrimitiveParams(PRIM_TEXTURE, PRIM_COLOR).
2008-09-18 03:38:20 +00:00
Melanie Thielker
553d554e2c
Kan-Ed fix series.
...
XEngine: Introduce a common method to determine link parts to work on.
Fix llSetLinkColor method.
2008-09-18 02:54:17 +00:00
Melanie Thielker
66febc47ad
Kan-Ed fix series. Fix up llRezAtRoot and llRezObject, fix llCreateLink
...
to send a full update and do a persistence save.
2008-09-17 23:50:21 +00:00
Melanie Thielker
386c3e41f0
Add various XML elements to the data snapshot. Changes by Fly-Man and
...
myself. Fix a crash in DataSnapshot when no master avatar and no
estate owner is set (e.g. "Mainland").
2008-09-17 23:08:46 +00:00
Melanie Thielker
7e8320bada
Kan-Ed fix series. Fix llTakeControls to behave as documented.
...
XEngine fixes: prevent queue overruns, prevent spamming when no key
is down. Release controls when conflicting permissions are requested
or permissions are refused later. Release when prim or script are deleted.
Fixes Scene script instance deletion semantics.
2008-09-17 22:00:56 +00:00
Homer Horwitz
0ad5d8c0e7
Adding currentLookAt to useragents table in SQLite. This complements the
...
MySQL change from http://opensimulator.org/mantis/view.php?id=2073
2008-09-17 19:21:28 +00:00
Tedd Hansen
e94d6f12ee
More ScriptEngine cleanup
2008-09-17 16:46:23 +00:00
Justin Clarke Casey
c9c59c68f1
* Apply http://opensimulator.org/mantis/view.php?id=2207
...
* Attached patch implements llRequestAgentData for DotNetEngine. (It already is implemented in XEngine.)
* Thanks Y. Nitta
2008-09-17 13:18:48 +00:00
Justin Clarke Casey
6bcdc82a46
* Apply http://opensimulator.org/mantis/view.php?id=2206
...
* Fix/implement LSL group-related functions llDetectedGroup, llSameGroup
* Thanks nlin
2008-09-17 13:14:07 +00:00
Jeff Ames
5c165c9bdd
Update svn properties, minor formatting cleanup.
2008-09-16 23:21:50 +00:00
Sean Dague
ad379ed136
Added some terrain tests, and found a fun race condition in the sqlite
...
terrain driver in the process, which is now fixed. yay for unit tests!
2008-09-16 19:51:14 +00:00
Sean Dague
fe7a1af2bd
we can use equals on strings because they are comparible, and
...
this is the prefered way of doing these tests.
2008-09-16 19:48:21 +00:00
Homer Horwitz
e3cbde0f39
Mantis #904 : Thanks jonc, for a patch that adds "useragents" table to
...
SQLite and stores the logout position in standalone mode.
Note: This adds a migration for SQLite, so do your runprebuild
2008-09-16 18:59:13 +00:00
Justin Clarke Casey
0e6e8624ad
* Apply http://opensimulator.org/mantis/view.php?id=2205 with a few small tweaks
...
* LSL Conformance: llSetPayPrice should accept more than four arguments in list
* Thanks kcozens!
2008-09-16 18:49:57 +00:00
Sean Dague
2ff91dac41
add an inventory change test.
2008-09-16 18:33:49 +00:00
Justin Clarke Casey
ad7df5b500
* Apply http://opensimulator.org/mantis/view.php?id=2204 (with a small tweak)
...
* Attached patch implements LSL llGetAgentSize() for DotNetEngine and XEngine.
* Thanks Y. Nitta!
2008-09-16 17:57:34 +00:00
Justin Clarke Casey
c6dfc99f22
* Apply http://opensimulator.org/mantis/view.php?id=2203
...
* Implementation of LSL llBreakLink and llBreakAllLinks
* Thanks Y. Nitta!
2008-09-16 17:48:57 +00:00
Justin Clarke Casey
6b0097039a
* Apply http://opensimulator.org/mantis/view.php?id=2202
...
* llGround causes Array out of bounds exception in KanEd#11 script
* Thanks Y. Nitta!
2008-09-16 17:41:01 +00:00
Justin Clarke Casey
f437c4d8c9
* minor: oops, remove a warning I just inserted myself - naughty boy
2008-09-16 17:35:35 +00:00
Justin Clarke Casey
ec4189b722
* If an individual scene object throws an exception while storing, deal with this locally rather than letting it propogate up the stack
...
* This will allow other scene objects to persist and stop the exception taking down the whole region server
2008-09-16 17:30:30 +00:00
Justin Clarke Casey
0b52453762
* Change XEngine default configuration values to match those in OpenSim.example.ini
...
* Particularly important for max threads since setting this to 2 was causing all events to wait behind the regularly sleeping maintenance event
2008-09-16 16:41:46 +00:00
Justin Clarke Casey
7f3bfa277b
* minor: method documentation
2008-09-16 16:37:16 +00:00
Melanie Thielker
f46fc508d1
Mantis #1843
...
Applying DotNetEnine part of this patch. Thank you, nlin!
Corrects ad hoc key list comparison.
2008-09-16 10:26:54 +00:00
Jeff Ames
eee31c6f28
Minor formatting cleanup.
2008-09-16 10:15:09 +00:00
Dr Scofield
03e3f88059
From: mike pitman <pitman@us.ibm.com>
...
New patch (terrainedit2.patch) is attached that passes unit tests (
and in fact supplies the new unit test to pass..:) The previous
failure was due to the change of the brush size to be linear instead
of exponential, and the fact that the test parameters were assuming
the exponentional brush size.
This patch also removes dependency on 'duration' argument for
adjustment step size. This should address the widely differing reports
of instability with terrain editing.
Note: 'doing this right' implies ultimately reading the parameters
from the ini file, which this patch does not do.
2008-09-16 07:19:22 +00:00
Melanie Thielker
ae63b2d2ca
Finish up OSSL enable/disable options in XEngine.
...
Now each function can be allowed, subject to threat level, disabled,
or restricted to certain UUIDs.
2008-09-15 23:50:07 +00:00
Melanie Thielker
2df0499da7
Refactor the os functions allowed check into the threat check method
2008-09-15 22:52:23 +00:00
Justin Clarke Casey
a28a478546
* minor: recomment the console c# script printout I accidentally left in on the last ocmmit
2008-09-15 20:58:16 +00:00
Justin Clarke Casey
2b9e115fd7
* minor: eat up some yummy warnings
2008-09-15 20:50:57 +00:00
Justin Clarke Casey
d0aabcb186
* Add "reset user password" command to user server
...
* Some copy and pasting has occurred because it's difficult to properly refactor some bits at present. I'm very ashamed and it will disappear at some future point.
2008-09-15 19:17:10 +00:00
Justin Clarke Casey
ddaa90d270
* refactor: collapse UpdateUserProfileProperties() into existing UpdateUserProfile
...
* the methods were identical except that the Properties one did a check for the user profile beforehand. However, every caller was doing this already anyway.
2008-09-15 19:02:34 +00:00
Justin Clarke Casey
6791ac3958
* oops! Add interface file I forgot in the last checkin
2008-09-15 18:35:52 +00:00
Justin Clarke Casey
c2ee263999
* refactor: Break out IUserServiceAdmin out of IUserService since admin methods don't need to be implemented on Grid hosted region servers
2008-09-15 18:23:36 +00:00
Justin Clarke Casey
9170361bee
* Complete refactoring accidentally left unfinished so that all server help requests flow through the ShowHelp() method
2008-09-15 17:45:48 +00:00
Justin Clarke Casey
6d289c3ae0
* Add "reset user password" command to standalone region console
...
* Grid user server implementation to follow shortly
2008-09-15 17:29:11 +00:00
Melanie Thielker
bf8b70ebeb
Add the option to use Allow_osFunction = false for each OS function
...
in the XEngine section
2008-09-15 15:36:51 +00:00
Melanie Thielker
2eac6c17f4
Add more granularity and a risk asessment system to the OSSL API in XEngine.
...
Adds the fix from Mantis #2197 in it's new form.
Stage one of the scripting security changes, more to come.
2008-09-15 15:25:48 +00:00
Dr Scofield
4d88246a3f
reverting r6302
2008-09-15 14:49:22 +00:00
Charles Krinke
5164fa2411
Mantis#2197. Thank you kindly, Tyre, for a patch that:
...
adds the new function osTeleportAgent().
2008-09-15 14:32:02 +00:00
Jeff Ames
ab30c6dc62
Update svn properties, minor formatting cleanup, fix a compiler warning.
2008-09-15 14:21:57 +00:00
Dr Scofield
0e2edbb5d4
From: mike pitman <pitman@us.ibm.com>
...
fixes the terrain spikes, and is the result of mostly a tuning
operation on the smooth and flatten tools. I dug in and found that the
spikes apparently result from smooth's overly aggressive iteration
steps toward the average curvature, which leads to an instability that
blows up the heights. I introduced a scaling factor to dampen the
'duration' parameter which tames progress and seems to keep things
stable.
2008-09-15 13:44:58 +00:00
Teravus Ovares
e4ca8e613a
* Remove a hack I put into OGP so that I could test OGP over SSL with the SeedCap response not being SSL
2008-09-14 23:46:38 +00:00
Teravus Ovares
cdced699fb
* Made Seed CAP response respect the SSL setting.
2008-09-14 23:39:35 +00:00
Teravus Ovares
dbbbec48df
* This update makes configuring SSL a little easier on Windows XP. It also makes it possible to run a HTTPS server on the region. It also has a junk Certification authority for test purposes.
...
* There are still a lot of things that are hard coded to use http. They need to be fixed.
* Also includes directions
* A standard junk PEM file to append to app_settings/CA.pem in the client so SSL will work
2008-09-14 18:39:17 +00:00
Homer Horwitz
4ba7ce5981
Added some further clipping to color- and alpha-values.
2008-09-14 15:46:54 +00:00
Melanie Thielker
de44f765e3
Mantis #2186
...
Prevent illegal color values from being set.
2008-09-14 15:18:58 +00:00
Homer Horwitz
d7d1bee4a7
MessageServer gets the agent position (positionx/y/z) as float, not as int in
...
the login_to_simulator message. Changed parsing accordingly (#2190 ).
2008-09-14 13:57:25 +00:00
Melanie Thielker
2819559499
Mantis #2124
...
Thank you, RuudL, for a patch that brings MSSQL up to the same
implementation level as MySQL.
2008-09-14 13:23:02 +00:00
Adam Frisby
3476dd56ea
* Converted a number of methods within the login processes from private to protected.
...
* Made several methods virtual to allow derivative overrides.
* Minor cleanups.
2008-09-14 04:13:15 +00:00
Charles Krinke
1d5e870ee2
Thank you kindly, CMickeyb for a patch that:
...
Moved intialization of appearance from the SendInitialData
event handler into CompleteMovement handler. That ensures
that m_appearance is initialized before the inventory is
retrieved (so there is a place to check on attachments).
2008-09-14 02:56:51 +00:00
Adam Frisby
e946b40fdd
* Minor fixes and cleanups around code being used for Rex Module work.
2008-09-14 01:49:47 +00:00
Charles Krinke
f2d60976d0
Mantis#2183. Thank you kindly, Ewe Loon for a patch that addresses:
...
after using llTakeControls my sim receives about 200 messages per second,
l of which get queued , this could be because there is no lag as the viewer
and sim are on the same computer. The patch I have included checks to see if
the "Changed" param is 0 then searches the EventQueue for Control messages
being sent to the same localid, if it finds a message already in the Queue
and Changed==0 then the new message is only notifing you the key is being held,
since there is already a message the new one isnt needed so it isnt added
to the queue.
2008-09-14 00:47:45 +00:00
Homer Horwitz
37e6ce24a2
Fixed several cases of inverted colors and alpha in DNE and XEngine.
...
Added clamping to 0.0 - 1.0 for R, G, B, and A.
2008-09-13 22:48:30 +00:00
Teravus Ovares
af899e50c2
* Adds regiondata and estatedata persistence in Sqlite. This commit is actually an assist. 99% of the work was already done by Melanie.
2008-09-13 22:29:36 +00:00
Jeff Ames
b4141f9e56
Formatting cleanup.
2008-09-13 22:07:07 +00:00
Homer Horwitz
54e1988d85
Fixing a bug in DNE which caused the face-colors to be inverted when set via script.
2008-09-13 21:54:07 +00:00
Jeff Ames
6e6465f6c1
Update svn properties. Minor formatting cleanup. Fix some minor typos. Remove some old dead code.
2008-09-13 21:39:26 +00:00
Homer Horwitz
1ab0c0192f
Fix another missing UUID before a ToString().
2008-09-13 21:14:24 +00:00
Teravus Ovares
e8d51b76fe
* Fixes SQLite load crash.
...
* added primary key to regionsettings table in the cached table
* initialized the data adapter.
* Still untested fully, so watch out!
2008-09-13 21:01:21 +00:00
Melanie Thielker
9b9f1bc191
Add region settings support to SQLite (untested!)
2008-09-13 20:37:36 +00:00
Melanie Thielker
8830b8b72c
Mantis #2018
...
Read animation data from avataranimations.xml to allow default animations
to be started and stopped by name from scripts.
2008-09-13 19:51:56 +00:00
Homer Horwitz
ae9e4e8144
Update avatar-position while avatar is sitting and the prim is moved ( #2159 ).
...
I decided to make ParentPosition a public property in ScenePresence, because
that's exactly what happens (the parent position changes on prim move).
2008-09-13 18:42:09 +00:00
Melanie Thielker
91e3463582
Remove the cruft of accessing a private member of another module's class
...
from DataSnapshot and replace it with a best practices approach, making
it much less dependent on the land module's internal structure and types.
2008-09-13 17:50:02 +00:00
Melanie Thielker
e45db5917b
Fix a typo in the DataSnapshot module
2008-09-13 16:53:58 +00:00
Melanie Thielker
99f1e1d107
Mantis #2182
...
Thank you, tyre, for a patch that fixes the sender UUID in scripted IM
2008-09-13 16:34:29 +00:00
Melanie Thielker
dccdeb57bb
Fix some string to float casting nastiness. The "train script" now
...
works. Also makes llGetFreeMemory return the constant 16384.
LLGetFreeMemory is useless in SL, as it never goes up, only down.
So, the only thing it is used for, in practice, is to detect an imminent
stack/heap collision, a danger we don't have.
2008-09-13 16:16:08 +00:00
Melanie Thielker
fdb24c46ac
Provide a GetApi method on the IScriptEngine to get a named API reference
...
This allows cross-api method calls on the implementation and also allows
"Meta APIs" that only provide common functionality to other APIs
2008-09-13 14:40:42 +00:00
Melanie Thielker
9222c5154e
Change all LSL functions to return LSL types instead of base types.
...
Remove some unused osFunctions that were left in the LSL function
file from the separation way back when. Inline the osSetParcelMediaURL
code to get rid of the osFunction. Really need to add a way for one API
to call another.
2008-09-13 13:47:23 +00:00
Melanie Thielker
7f3a98b76d
Fix string parameters to functions taking lists as arguments. LSL
...
functions return CLI strings, which, in the case of lists, don't
get wrapped. Therefore, the list had to be able to deal with
that CLI type here. The correct fix would be to change all LSL
function returns to LSL types.
2008-09-13 12:58:44 +00:00
Dahlia Trimble
8a8b01d1b8
Circular path prim meshes are now joined where the path ends meet if they match. This may have a minor improvement in memory and speed performance, but it's mainly for viewer applications and it also syncs the c# version of PrimMesher with my python sandbox version.
2008-09-13 10:22:17 +00:00
Sean Dague
39902fef77
wrap log4net configure in try block so that it will run if you don't have a
...
.config (which no one does). Dropping in the .config lets you see that debug
messages, which is handy while writing tests and figuring out why things don't
behave like you would guess.
2008-09-13 02:29:04 +00:00
Sean Dague
fcc716104b
2 more InventoryItem tests, plus see if I can leave the log4net
...
configure in there to help me get debug messages while developing.
2008-09-13 02:06:23 +00:00
Homer Horwitz
8ae8bec4d1
Changed "show users" command to display only root agents, "show users full" to
...
display root and child agents (mantis #2171 ).
2008-09-12 22:39:17 +00:00
Justin Clarke Casey
9cdd9e215c
* Patch http://opensimulator.org/mantis/view.php?id=2172
...
* Patch attached that adds the check for uninitialized appearance when inventory items are received and processed. Also attempts to ensure that appearance is initialized even
when the profile cache has not been built.
* This will not fix the race condition, but should at least remove the unhandled exception that is being reported in Mantis 0002126.
* Thanks cmickeyb
2008-09-12 21:32:45 +00:00
Justin Clarke Casey
1edee634ca
* minor: spelling mistake and message tidying on Migration messages
2008-09-12 21:24:11 +00:00
Justin Clarke Casey
0dc1018ca1
* minor: Remove warnings
...
* leaving in the ones to do with ScriptBase since these actually indicate coding bugs that I don't have the time/brainpower to fix at the moment
2008-09-12 21:20:24 +00:00
Sean Dague
ecc2a0f866
add first round of folder tests
2008-09-12 21:00:40 +00:00
Sean Dague
5557f0b772
reformat spacing on some property declarations. Take away the virtual
...
attribute as that was a left over of an nhibernate approach that
isn't used in the current nhibernate code anyway.
2008-09-12 21:00:29 +00:00
Justin Clarke Casey
bf3190538e
* Patch http://opensimulator.org/mantis/view.php?id=2158
...
* RemoteAdmin SaveXMLMethod
* My tiny mind isn't quite sure how this is useful, but the load xml equivalent is already there, so what the hell :)
* Thanks Olish.
2008-09-12 21:00:05 +00:00
Justin Clarke Casey
f1e4001c90
* Make fix to MSSQLRegionData.cs in LoadLandObjects as recommended by Garrett Hussey in Re: [Opensim-dev] MSSQL runtime error in latest build..
...
* Thanks!
2008-09-12 20:53:21 +00:00
Justin Clarke Casey
62d1eba3b2
* Patch http://opensimulator.org/mantis/view.php?id=2167
...
* Force ClickAction persistence even if other object properties are not edited
* Thanks nlin!
2008-09-12 20:42:04 +00:00
Justin Clarke Casey
2d7aca6d9d
* Add userstore sql upgrade I carelessly forgot to check in a couple of revisions ago
...
* Hopefully there wasn't a problem anyway, since the look at stuff isn't enabled yet
2008-09-12 20:38:20 +00:00
Justin Clarke Casey
2fcc131ef3
* Patch http://opensimulator.org/mantis/view.php?id=2163
...
* Add prim ClickAction persistence to SQLite
* This will require a prebuild
* Thanks nlin!
2008-09-12 20:37:07 +00:00
Justin Clarke Casey
52a4c4d82f
* Check in first part of http://opensimulator.org/mantis/view.php?id=2073
...
* This patch aims to introduce look at direction persistence between logins. It won't be active until the second part of the patch is committed in about two weeks time. At
this point, region servers that haven't upgraded past this revision may run into problems
* This checkin upgrades the user database. As always, we recommend you have backups in case something goes wrong.
* Many thanks to tyre for this patch.
2008-09-12 20:12:03 +00:00
Dahlia Trimble
febb781779
remove hidden faces inside prim meshes to improve memory use and startup time
2008-09-12 19:42:26 +00:00
Sean Dague
4b7e287ab2
because UUID supports equality, we can do a straight equals instead of
...
convert to string and match.
2008-09-12 18:46:55 +00:00
Tedd Hansen
85a0e03984
Note to self: VisualSVN not fully compatible with OpenSim prebuild :)
2008-09-12 18:46:52 +00:00
Sean Dague
d312f10420
use new style asserts. They are much easier to read.
2008-09-12 18:46:44 +00:00
Tedd Hansen
b41acfb4cf
Cut of remote server as AppDomains and even WCF can do it better (better means less code in this case)
2008-09-12 18:42:02 +00:00
Teravus Ovares
18f490a30c
* Fix a missing .UUID in llInstantMessage
2008-09-12 18:17:01 +00:00
Sean Dague
9349cf3149
move the actual [Test] methods for databases to OpenSim.Data.Tests
...
classes. This did mean loosing 1 unit test that was actually testing
an sqlite function directly instead of the interface.
2008-09-12 18:13:43 +00:00
Sean Dague
1f42c89480
change order in prebuild.xml so this works in nant on a clean
...
checkout.
2008-09-12 17:45:02 +00:00
Sean Dague
96c720b04a
be more clever and move the bulk of the db tests for inventory into
...
OpenSim.Data.Tests, then subclass with custom init bits for sqlite.
As I've only been testing the plugin interfaces anyway, this should
make it very easy to write only a little bit of code to use these
tests for other databases. It will also give us the framework for
definining the datastore behavior and making sure that all the databases
do the same thing.
2008-09-12 16:05:06 +00:00
Sean Dague
a408b58209
add the m_host.AddScriptLPS(1); line. I'm not actually sure what it
...
does, but it seems every other function here has it, so it is probably
needed.
2008-09-12 15:04:16 +00:00
Sean Dague
1b333a0f58
From: Rob Smart <SMARTROB@uk.ibm.com>
...
Implement an osParseJSON method useful for handling simple JSON returns
from http requests. This will only work in C# at this point.
2008-09-12 15:04:13 +00:00
Charles Krinke
8d6096b815
Mantis#2165. Thank you kindly, CMickeyB for a patch that:
...
patch is attached that replaces the o(n^2) algorithm currently
used to build the inventory cache with an o(n) algorithm using
hash tables. the patch also adds some additional error handling.
2008-09-12 03:33:26 +00:00
Justin Clarke Casey
90ec9c46d5
* Move the ResetChildPrimPhysics() calls to after physics have been applied to the parts rather than after each individual part
...
* From looking at the code there shouldn't be any difference, and this appears to speed up prim loading and make a certain failure case (where prims seem to be going out of
bounds on startup) less of a problem.
* However, if I've been bad please revert this patch
2008-09-12 00:45:24 +00:00
Justin Clarke Casey
3f1dbae8e4
* minor: various doc and tidy up, logging increase to make it clearer which prim is failing a border crossing
2008-09-12 00:37:59 +00:00
Melanie Thielker
ecc24c3c63
Revert 6242 because of a possible licensing issue
2008-09-12 00:33:24 +00:00
Melanie Thielker
7a63fe7c07
Add the UUIDs of the standard animations. Thanks, Ewe Loon!
2008-09-12 00:23:41 +00:00
Sean Dague
7d61559058
more inventory folder tests
2008-09-11 20:52:35 +00:00
Sean Dague
45df1aaa64
add some folder create and list tests
2008-09-11 18:49:37 +00:00
Sean Dague
380af0b939
added simple add / exists folder check
2008-09-11 18:49:10 +00:00
Teravus Ovares
23e52993fb
* This updates the OGP module to support both the revision 2 and revision 3 of the OGP protocol. (Assuming I understood it correctly)
...
* This also removes the host--> ip pre-resolve workaround.
2008-09-11 18:21:00 +00:00
Sean Dague
7ba9bfc8ad
add a few more SQLite Asset tests.
2008-09-11 17:52:11 +00:00
Justin Clarke Casey
f3497d9f57
* Start loading prims after region module configuration rather than before
...
* In some circumstances, loading prims can invoke region modules
2008-09-11 13:56:25 +00:00
lbsa71
e04ce96cee
* Removed some legacy commenting
2008-09-11 11:41:52 +00:00
lbsa71
aa12787a17
* Added small convenience function to recursively calculate total amounts of items loaded under library inventory node
2008-09-11 11:39:43 +00:00
Sean Dague
0a9c6aecb5
added very basic stubs for User and Inventory db creates and empty
...
calls to make sure they worked
2008-09-10 21:36:20 +00:00
Sean Dague
a90d2b491f
fix typo in name of test db
2008-09-10 21:36:12 +00:00
Sean Dague
121398732a
add basic sniff tests for SQLite Asset store. Initializes a db,
...
stores an asset, fetches that asset, make sure it has the name
we gave it. All simple stuff, but should catch the more egregious
breaks.
2008-09-10 20:33:13 +00:00
Sean Dague
71f2176c4b
add a simple update attribute test for SOG & SQLite
2008-09-10 20:33:02 +00:00
Sean Dague
cc7ff3ac2e
added in a few more tests
2008-09-10 19:14:12 +00:00
Sean Dague
3f73884674
the explicit log4net configure attempt was maybe breaking bamboo, get
...
rid of that.
2008-09-10 18:17:10 +00:00
Sean Dague
f970597194
added the first couple of sqlite tests. we'll see how bamboo
...
handles them.
2008-09-10 17:49:41 +00:00
Sean Dague
1799913593
add shell for SQLite testing. No tests yet.
...
add another nant target for test-xml to get the verbose
version
2008-09-10 17:49:37 +00:00
Charles Krinke
9af5a44c91
Revert the two debug log statements from r6212 as described in Mantis 2126.
2008-09-10 14:12:56 +00:00
Melanie Thielker
a68e34b558
Mantis #511
...
Allow parsing of hexadecimal int constants from strings.
Also fixes a DBNull value in the touch type field crashing the sim
2008-09-10 06:14:38 +00:00
Jeff Ames
b9b996be38
Update svn properties, minor formatting cleanup.
...
Fix unreachable code due to typo in llDetectedGroup.
2008-09-10 05:17:28 +00:00
Charles Krinke
03672c35e4
Thank you kindly, CMickeyB for a patch that adds a
...
couple of debug statements for null items while we
diagnose our interrmittent inventory issues. I looked
at this and it seems helpful to others. We can back it
later if desired.
2008-09-10 03:27:09 +00:00
Charles Krinke
7305dadba2
Mantis#2153. Thank you kindly, Godfrey for a patch that solves:
...
osSetDynamicTextureData() produces error on console if
ExtraParams passed empty string
2008-09-10 03:19:57 +00:00
Charles Krinke
291aa9fa10
Implementation of llDetectedGroup for DotNetEngine.
2008-09-10 02:25:02 +00:00
Charles Krinke
796fedb1e9
*Almost* have a complete implementation of llDetectedGroup.
...
One member missing, so a portion is commented out.
2008-09-10 02:10:25 +00:00
Charles Krinke
6b10725f20
Implementation for llDetectedLinkNumber in DotNetEngine.
2008-09-10 01:54:25 +00:00
Mike Mazur
e0d092ec53
Thanks, nlin, for a patch implementing persistence for "When Left Clicked"
...
object property. Fix issue 2149.
2008-09-10 00:19:36 +00:00
Teravus Ovares
fac18f608d
* Fixes Sqlite crash bug when saving a prim.
2008-09-09 23:42:44 +00:00
Sean Dague
6f15ec2d46
possible fix for EARTH SHATTERING KABOOM! when trying to save a prim
2008-09-09 20:45:21 +00:00
Sean Dague
017a6f5511
fix an automatically stripped out UUID from SQLiteManager
...
fix some spacing in SQLiteRegionData
2008-09-09 20:23:10 +00:00
Sean Dague
66dad4ab03
hopefully fix embedded inventory for sqlite
2008-09-09 18:44:54 +00:00
Sean Dague
f141751cf9
From: alan_webb@us.ibm.com
...
Make CHANGED constants consistent with LSL, and consistent across the
code base
2008-09-09 14:51:41 +00:00
Sean Dague
37557da706
From: alan_webb@us.ibm.com
...
Fix an invalid bounds check in Builtin_Commands
2008-09-09 14:51:30 +00:00
Adam Frisby
c95bdb83c0
* Adds OnGenericMessage and SendGenericMessage functionality to IClientAPI.
...
* Please don't break the build. *fingers crossed*
2008-09-09 05:25:29 +00:00
Melanie Thielker
4f85a9aa72
Fix llResetScript() and the reset button to actually restore global
...
variables to their initializer values, rather then zeroing them.
Also handles lists properly now.
2008-09-09 04:16:52 +00:00
Melanie Thielker
3ee91cb3c6
Preserve link numbers when items are taken into inventory and re-rezzed.
2008-09-09 03:48:09 +00:00
Jeff Ames
fae34bb10c
Update svn properties, formatting cleanup.
2008-09-09 01:26:48 +00:00
Melanie Thielker
3e1441afe1
Fix state xxx within state xxx itself triggering a state "change" to
...
same state
2008-09-09 01:24:58 +00:00
Melanie Thielker
084ea99be6
Fix string -> int cast to variable
2008-09-09 01:01:45 +00:00
Melanie Thielker
75380bc1aa
Fix delimiter access from list for llParseStringKeepNulls
2008-09-09 00:43:14 +00:00
Melanie Thielker
19c9ea8ca0
Fix an inventory naming regression
2008-09-08 23:54:52 +00:00
Melanie Thielker
6ca7afabca
Remove casting nastiness in LSL_Api
2008-09-08 23:13:59 +00:00
Melanie Thielker
1034c1cdc1
Correct state handling and state event masks. Prims will now show
...
touch, pay, etc script states correctly.
2008-09-08 22:19:06 +00:00
Sean Dague
ce0a8d7bef
changes to Test directory structure per opensim-dev conversation
2008-09-08 20:34:45 +00:00
Melanie Thielker
41a68ca5db
Fix component order on a quaternion for the sit target. This caused
...
sit positions to be upside down until the script was reset.
2008-09-08 19:57:28 +00:00