Charles Krinke
14a6656948
Mantis#1541. Thank you kindly, Phrearch for a patch that:
...
Solves Remote Admin create_region type Casting failure.
2008-07-10 13:55:01 +00:00
Charles Krinke
81af87545e
Mantis#1391. Thank you kindly, Phrearch for a patch that:
...
Solves svnbackup svn add directory failure.
2008-07-10 13:51:56 +00:00
Charles Krinke
7fd63d9dc8
Mantis#1682. Thank you kindly, Sempuki for a patch that:
...
Move control of Mono.Addins from source attributes to external XML files.
This removes a lot of coupling of the source with Mono.Addins
2008-07-10 13:45:46 +00:00
Johan Berntsson
d41c1f40a8
Patch from Mike: errors from the LSL/C# compilers are now reported to the user in-world
2008-07-10 05:40:45 +00:00
Charles Krinke
38da8960e9
Mantis#1707. Thank you, Melanie for a patch that:
...
This patch limits the maximum size of prims that can be created using libsl bots
or modified clients to 65536mper side. It also limits LSL functions to that size.
If a prim is already physical, the enforced constraint is 10m.
A prim that is larger than 10m cannot be turned physical, either via script or UI.
Linksets are handled correctly, so scaling of physical linksets is constrained by
the size of it's largest component prim. Also, turning linksets physical is based
on the size of it's largest ptim.
2008-07-10 03:13:29 +00:00
Charles Krinke
c9a7bf7e58
Mantis#1673. Thank you kindly, Matth for a patch that:
...
LSLInteger + literal integer is not an LSLInteger.
The included patch fixes the issue: LSLInteger + literal
integer is not an LSLInteger (also fixed for -,*,/)
2008-07-10 00:40:38 +00:00
mingchen
817a0fa40c
*Patch as supplied in Mantis #0001705 by melanie. Fixes: Locked prims allow *any avatar* to deposit scripts in them, regardless of permissions
2008-07-09 19:53:22 +00:00
Charles Krinke
96b64d6973
Mantis#1127. Thank you kindly, Grumly57 for a patch that:
...
Addresses HTTP_METHOD parameter does not work for POST requests.
2008-07-09 18:42:34 +00:00
Charles Krinke
130cbd4376
Mantis#1704. Thank you kindly, Mjm for a patch that:
...
The attached patch implements llRemoveInventory().
2008-07-09 18:03:22 +00:00
Charles Krinke
9f68bcd80b
Mantis#1700. Thank you, Melanie for a patch that:
...
Lets osSetParcelMediaTime honor the AllowOSComamnds setting
2008-07-09 14:32:21 +00:00
MW
58ce018625
for testing purposes only:
...
added void osSetParcelMediaTime(double time) command to script engines.
which sets the position of the media that is playing. Time is in seconds.
Doesn't do any security checking (should be checking that the object/script is owned by the parcel owner). So could be abused, if it is then we should remove it, or add the security.
Only tested in dotnet scripting engine, but should work in XEngine too.
2008-07-09 12:02:01 +00:00
MW
7db2e19500
corrected the params types on IClientAPI.SendParcelMediaCommand. the command parameter should be set to the the ParcelMediaCommandEnum value. While flags seems to need to be set to (uint)(1<<[value of the command enum])
2008-07-09 11:01:26 +00:00
Johan Berntsson
5609292101
Patch from Mike which removes a lexer warning in the LSL compiler.
2008-07-09 07:37:42 +00:00
Justin Clarke Casey
79f68e571f
* Don't fail the archive operation if exceptions are encountered while analyzing prims
2008-07-08 17:58:45 +00:00
Justin Clarke Casey
00a38df75a
* Guard against a failure to find an inventory item in a move request by complaining in the log rather than terminating the session
2008-07-08 16:57:48 +00:00
MW
af825dae40
small console message change related to last revision
2008-07-08 15:37:52 +00:00
MW
9a5a7b2614
Added option to userserver config, to be able disable/enable the LLSD Login support. As far as I know, the LLSD login method is currently only used by libsl based clients/bots. So could be useful to be able to disable this if a grid comes under a griefing attack from libsl bots.
2008-07-08 15:36:27 +00:00
Charles Krinke
01904e66f2
Mantis#1690. Thank you kindly, Melanie for a patch that:
...
esets script permissions when a script is recompiled.
2008-07-08 15:16:43 +00:00
Charles Krinke
27e3fee1cd
Mantis#1690. Thank you, Malanie for a patch that:
...
addresses "recompiles clear perms:
2008-07-08 15:10:53 +00:00
Charles Krinke
71666a894a
Mantis#1691. Applied Melanie's modification of
...
Phrearch's iiGetCameraPos() patch, but not the original
yet. Thank you Phrearch and Melanie.
2008-07-08 15:05:23 +00:00
lbsa71
b7fc172254
* Added experimental SendParcelMediaCommand and SendParcelMediaUpdate to IClientAPI. These methods have not been tested, but feel free to start wiring them to llParcelMediaCommandList.
2008-07-08 14:17:59 +00:00
lbsa71
6c13d68489
* Changed casing of some archaic methods to conform with code standards
2008-07-08 11:30:08 +00:00
lbsa71
d9b802bb26
* Split out various classes from IClientAPI into their own files, in accordance with code standards
2008-07-08 11:25:18 +00:00
Dr Scofield
c1d5291ae0
RegionInfo.configMember can be null for dynamically created regions
...
that are not backed by a file.
2008-07-08 11:13:26 +00:00
lbsa71
b1b529f94e
* Moved script packet handlers from 'unimplemented' to 'Script Packets'
2008-07-08 11:02:53 +00:00
Johan Berntsson
27d9aeab0c
Patch from Mike: added unit tests for the LSL compiler
2008-07-08 08:42:17 +00:00
Johan Berntsson
a73e3b4e3f
another patch from Mike: the llscript compiler is now available in XEngine as well. Thanks Mike
2008-07-08 03:02:11 +00:00
Johan Berntsson
e75ff8f0a3
llscript compiler patch from Mike: adds LSL jumps and implicit variable initializations
2008-07-08 02:34:45 +00:00
Charles Krinke
1122f3f693
Mantis#1685. Thank you kindly, Mjm for a patch that:
...
The attached patch tries to read the SVN revision from local file
"svn_revision" before checking "../.svn/entries".
This allows simulators not running from the source tree to properly
display the SVN revision, if the installer generates the
"svn_revision" file.
2008-07-08 01:11:52 +00:00
Sean Dague
19c4c9798b
changes to use NHPrim instead of SOP directly
2008-07-07 21:50:45 +00:00
Sean Dague
b2febd03f0
add NHPrim to subclass SOP so we can stick region uuid in there.
...
I think the only place we need it is in NHibernate so a subclass
is probably appropriate.
2008-07-07 20:52:13 +00:00
Sean Dague
7634c1311e
added skeleton (no function) region store component
2008-07-07 20:40:14 +00:00
Sean Dague
867d72c956
change SitTarget calls from functions to properties
2008-07-07 20:12:14 +00:00
Justin Clarke Casey
7fa00f9ecd
* remove redundant sync locking in AssetServerBase since this is already being done by the lower database layers
2008-07-07 19:32:21 +00:00
Justin Clarke Casey
1813946937
* remove unused CommitAssets() hook for now
2008-07-07 19:18:44 +00:00
Justin Clarke Casey
0b2fcbfec4
* Start scripts loaded from an archive
2008-07-07 18:54:11 +00:00
Justin Clarke Casey
9362d9b231
* switch terrain archiving to raw32 rather than png to avoid unnecessary posterization. Thanks to Adam for the tip.
2008-07-07 16:37:02 +00:00
Dr Scofield
aaf8fff57e
adding support for IP EndPoint whitelisting in HttpServer code.
2008-07-07 11:25:09 +00:00
Dahlia Trimble
c5333af7a2
added a hollow size constraint to box, cylinder, and prism prim meshes to prevent a possible sim lockup
2008-07-07 10:09:35 +00:00
Dr Scofield
7420f96128
switching to safer locks.
2008-07-07 09:58:01 +00:00
Dr Scofield
7f0bcc5aa1
further progress on HttpServer integration: OSHttpRequest can now be
...
instantiated from both .NET and HttpServer code path.
2008-07-07 09:47:36 +00:00
Dahlia Trimble
56c6bdcb26
Addresses more problem box cut angles
2008-07-07 05:42:37 +00:00
Dahlia Trimble
063365c0dc
fix some Meshmerizer problem angles for sphere dimple and box path cut
2008-07-07 04:32:05 +00:00
Dahlia Trimble
6914fb6f13
disables changes in r5356 until I have more time to do further characterization
2008-07-06 19:44:59 +00:00
Charles Krinke
dfd5e675c0
Mantis#1678. Thank you kindly, Vytek for a patch that:
...
Changes ...TimeOfDay.Milliseconds to ...TimeOfDay.TotalMilliseconds
for llGetTimeOfDay() in both LSL_Api.cs and LSL_BuiltIn_Commands.cs
2008-07-06 18:39:37 +00:00
Dahlia Trimble
ae468bfc9b
Corrects errors in sphere mesh with dimple start angle > 0 and hollow == 0
2008-07-06 17:18:59 +00:00
Justin Clarke Casey
ca97dda603
* In archiver, scan scripts for embedded asset uuids and save these out
2008-07-06 16:19:04 +00:00
Justin Clarke Casey
238f2274e3
* refactor: archiver code clean up so that it's more readable for the next functionality addition
2008-07-06 15:38:39 +00:00
Charles Krinke
18c8bf99a4
Mantis#1677. Thank you, Melanie for a patch that:
...
Patch propagates the permissionToTake flag into the timer handler,
so that "take copy" and delete permissions are honored.
2008-07-06 14:19:55 +00:00
Jeff Ames
d470d30c09
Copyright notices and formatting cleanup.
2008-07-06 14:02:22 +00:00
Justin Clarke Casey
1b69714c44
* minor: documentation in SceneObjectPart.Inventory.cs. Refactor AddInventoryItem methods to reduce code duplication
2008-07-06 13:08:52 +00:00
Justin Clarke Casey
666626db6d
* minor: remove unnecessary locking from SOP.GetInventoryItem()
2008-07-06 12:46:17 +00:00
Justin Clarke Casey
0b16f9eee2
* minor: Stop spurious 'item not found' messages when placing things into a prim's inventory
2008-07-06 12:35:00 +00:00
Charles Krinke
f6375fceb4
Mantis#1674. Thank you kindly, Matth for a patch that:
...
This patch fixes an error in llSetPrimitiveParams() that
prevents correctly setting the type of the prim to SCULPT_TYPE.
2008-07-06 03:47:21 +00:00
Adam Frisby
55dda82180
* Moves sending items to inventory via a delete into a seperate thread (this thread can be expanded to support all sends to inventory from inworld easily enough). Thread is temporary and only exists while items are being returned.
...
* This should remove the "lag" caused by deleting many objects.
* Patch brought to you by Joshua Nightshade's bitching at me to fix it.
2008-07-06 02:27:10 +00:00
Dahlia Trimble
fd69251bcd
alters a problem path cut angle for the cylinder prim profile
2008-07-06 02:04:24 +00:00
Charles Krinke
fdbf0c39d2
Add implementation of llGetTimeOfDay()
2008-07-05 16:46:03 +00:00
Dahlia Trimble
8465f378ac
changes prompting of create user console command to only ask for unspecified parameters and avoid an exception if the wrong number of parameters are supplied
2008-07-05 08:13:22 +00:00
Dahlia Trimble
c0af057588
Changed default terrain lower limit to -100 instead of 100
2008-07-05 06:31:13 +00:00
Justin Clarke Casey
e45fa5d32d
* extend archiving asset analysis to clothing
2008-07-04 20:18:00 +00:00
Justin Clarke Casey
8179b472c3
* On archiving, analyze body parts and save textures referenced from them
2008-07-04 20:01:55 +00:00
Justin Clarke Casey
e1782bc249
* refactor: break out archiver's combined sync-async asset request routine ready for analysis of inventory item types other than objects
2008-07-04 18:36:12 +00:00
Justin Clarke Casey
35bd6e8760
* Make default inventory grid server db mysql rather than sqlite
...
* This is to match all the other grid servers
2008-07-04 17:05:41 +00:00
Dr Scofield
6265a09ff9
Renaming UserManagerBase.SetUserProfile(UserProfileData) to
...
UserManager.UpdateUserProfile(UserProfileData).
Adding UpdateUserProfile(UserProfileData) to IUserService interface.
Adding RemoteAdminPlugin.XmlRpcUpdateUserAccountMethod(...) to provide
a remote update capability.
2008-07-04 11:13:25 +00:00
Dr Scofield
2dadbc2f70
mini-warnings-safari, plus cleanup of IUserServices method naming.
2008-07-04 10:19:58 +00:00
Johan Berntsson
382fb8cea6
The new llScript-cs parser. Thanks Mike
2008-07-04 08:59:41 +00:00
Charles Krinke
23ec21e44a
Mantis#1647. Thank you very much, Sempuki for a patch that:
...
Updates the previous module loader work.
2008-07-04 03:11:53 +00:00
Charles Krinke
ce5122ebf3
Mantis#1659. Thank you, Melanie for a patch that:
...
In LSL, the state command should have an immediate effect.
The OpenSim script engine seems to wait until the function
ends to process the state transition.
2008-07-04 00:59:38 +00:00
Charles Krinke
cf87a9c5fe
Mantis#1660. Thank you, kindly, Melanie for a patch that:
...
Attached patch changes TRUE and FALSE to be LSLIntegers.
2008-07-03 23:06:38 +00:00
Justin Clarke Casey
8251508412
* On client login, send only one terrain patch at a time (with pauses) instead of 4 at a time
...
* Certain terrains which are fine went patches are sent singly cause a libsecondlife failure when patches are sent in batches
* See http://opensimulator.org/mantis/view.php?id=1662 for more details
2008-07-03 23:04:12 +00:00
Charles Krinke
7fea52be35
Mantis#1661. Thank you kindly, CMickeyb for a patch that:
...
patch attached to check for timeouts on mysql connections *before*
operations occur that are likely to timeout. if timeout occurs or
the connections is down, it is reconnected before the operation fails.
2008-07-03 22:30:16 +00:00
Charles Krinke
af82b1e710
Mantis#1463. Thank you, Melanie for a patch that addresses:
...
sometimes, incorrect sit rotation is sent to other clients
2008-07-03 22:24:31 +00:00
mingchen
a5e3439cf0
*.Raw files should now be loadable using "terrain load-tile" functionality
2008-07-03 22:16:09 +00:00
Charles Krinke
b1ab680a66
Mantis#1658. Thank you, Melanie for a patch that:
...
Adds IEmailModule and a module skelaton
2008-07-03 20:58:29 +00:00
Sean Dague
a9b3c2582a
add 3 migrations, 1 each for prims, primshapes, and primitems
...
to move all their UUID stores from varchar(255) -> char(36). Based
on past evidence, this should help with performance.
2008-07-03 19:41:01 +00:00
Sean Dague
8eb57b68f3
migrate the myisam mysql regions to innodb
2008-07-03 18:45:32 +00:00
Sean Dague
f0f1e00ec3
add a couple of LL conversion properties to SOP. I'll wait to clean
...
up the sit target usage until the sit target fix patch goes in, but it should
be cleaned.
Get prims table mappings to the point where nhibernate likes them enough
to start.
Remove field from asset mapping so it will start
2008-07-03 18:25:18 +00:00
Sean Dague
b9bba13c39
playing with multicolumn mapping of vectors using a custom type
2008-07-03 16:37:44 +00:00
Charles Krinke
103093cf11
Mantis#1654. Thank you kindly, Matth for a patch that:
...
Updates llGetPrimitiveParams() and associated files.
2008-07-03 15:34:05 +00:00
Charles Krinke
e3a583f4b4
Mantis#1653. Thank you kindly, Vytek for a patch that:
...
Implements llGetTimeOfDay().
2008-07-03 14:25:43 +00:00
Jeff Ames
fde6983cce
Update svn properties.
2008-07-03 03:01:02 +00:00
mingchen
ba2afef0f1
*Parcel Claim date is no longer Epoch (Jan 1, 1970). Now shows the actual creation/reclaim/sale date.
2008-07-03 01:29:18 +00:00
Charles Krinke
c1456936a6
Mantis#1652. Thank you, Melanie for a patch that:
...
Applies the patch to LSL_Api.cs
2008-07-03 00:40:02 +00:00
Charles Krinke
35ec3b7a3f
Mantis#1649. Thank you kindly, Matth for a patch that:
...
This patch adds the ability to set the prim type using llSetPrimitiveParams().
Seems to work ok, but there are a staggering number of cases to test,
so I have not yet tested them all.
2008-07-02 23:19:00 +00:00
Justin Clarke Casey
bc20c88a0a
* Allow archiver to operate even if there are 0 scene objects to save
2008-07-02 23:07:52 +00:00
Justin Clarke Casey
3183a20632
* Start writing out control file in archive. Only contains version information right now.
2008-07-02 22:53:36 +00:00
Sean Dague
2c113c00cf
property encapsulation for SOP
2008-07-02 20:31:17 +00:00
Justin Clarke Casey
79f937612e
* Twiddle with archive asset extensions yet again
...
* Reintroducing asset type but this time in a long form, and with _ rather than .
2008-07-02 17:35:33 +00:00
Dahlia Trimble
13d6615263
Adds experimental Meshmerizer support for "prim torture" effects of sphere dimple on prim types box, cylinder, and prism
2008-07-02 17:08:52 +00:00
Justin Clarke Casey
9052c43319
* Drop InvType from the assets table since it is no longer used
...
* Migration should be automatic on sqlite and mysql
* Migration is not automatic on mssql, you will need to drop the invType column manually
* Migration should be fine, but as for any db change, I would recommend making sure you have backups before moving past this revision
2008-07-02 16:20:54 +00:00
Charles Krinke
1deaa50240
Mantis#1647. Thank you kindly, Sempuki for a patch that:
...
attached patch adds support to constrain the number of
plugins that can be loaded per extension point.
2008-07-02 14:14:29 +00:00
Charles Krinke
7580fa5c0a
Mantis#1648. Thank you, Melanie for a patch that:
...
Fix a script Xengine deadlock/hang if llResetScript is used in changed()
2008-07-02 13:31:39 +00:00
Dr Scofield
d40bea4a8e
From: Alan M Webb <awebb@vnet.ibm.com>
...
This adds REST services for inventory access. It also allows inventory
uploads.
2008-07-02 09:02:30 +00:00
Charles Krinke
e4d68a8b64
Mantis#1643. Thank you Melanie for a patch that:
...
In the new runtime, there is a flag to diable all os* comamnds.
The implementation of osGetScriptEngineName ignored it.
This patch fixes this.
2008-07-01 21:57:36 +00:00
Sean Dague
f162f4544c
merge rotational and angular velocity
2008-07-01 21:31:02 +00:00
MW
c9fe500212
Added "save-prims-xml2 <PrimName> <FileName>", as we were lacking a method to save a single primitive or small group of them. This command will save all prims in the current scene that name matches the "PrimName" parameter. The saved file is in standard xml2 format, so can be loaded using load-xml2
2008-07-01 19:23:45 +00:00
Charles Krinke
0aaf0c4565
Mantis#1640. Thank you, Chernega for a patch that addresses:
...
It would appear that calling llResetScript() in state_entry() causes deadlock of region.
Probably due to llResetScript calling state_entry again. llResetScript should see who called it,
and not recall state_entry() after a state/variable reset. Once this script is in a prim,
the region/world/debug/script window shows it consuming the server (from 2,400 to 800,000 milliseconds).
2008-07-01 13:42:47 +00:00
Charles Krinke
b8a3a27221
Mantis#1641. Thank you, Lulurun for a patch that addresses:
...
The 1st "GetAvatarAppearance" *always* fails and returns default
avatarappearance. Avatarappearance seems to be working well because
the 2nd "GetAvatarAppearance" gets the right appearance.
2008-07-01 13:34:05 +00:00
Dr Scofield
0a657b9416
making XmlRpcs of RemoteController more robust; this fixes mantis #1467
2008-07-01 08:50:22 +00:00
Dr Scofield
5e63206018
From: kurt taylor (krtaylor)
...
Another new OSSL function for returning the name of the script engine
currently running, osGetScriptEngineName, added to both DotNet and XEngine
OSSL API.
2008-07-01 07:16:02 +00:00
Charles Krinke
bf34f65125
Mantis#1639. Thank you, Melanie for a patch that:
...
Reads estate_settings.xml and populates the database from it.
If there is no record, just passes the defaults to the application.
2008-07-01 02:16:58 +00:00
Sean Dague
32ca6b6035
attempt to expire out old dynamic textures, so they don't grow forever.
2008-06-30 18:27:01 +00:00
Sean Dague
721988adcd
add the ability to cherry pick expire something from the asset
...
cache. Bandaid until we rethink the caches a bit more.
2008-06-30 15:05:30 +00:00
Charles Krinke
4cb42d4c35
Mantis#1637. Thank you kindly, Melanie for a patch that:
...
Make each region load it's settings from the database on startup.
No user functionality yet.
2008-06-30 14:09:19 +00:00
Jeff Ames
2dfaa3c5e4
Update svn properties.
2008-06-30 12:41:32 +00:00
Dr Scofield
313f7f60fd
properly explaining each #pragma warning disable
...
massaging OSHttpRequestPump to not abort on exceptions...
2008-06-30 11:57:47 +00:00
Dahlia Trimble
b0287a43bd
disables spam-like debugging messages inadvertently left on in last commit (oops)
2008-06-30 06:11:43 +00:00
Dahlia Trimble
7077cffe52
Corrects Meshmerizer orientation of profile cut angles for ring type prim
2008-06-30 06:08:43 +00:00
Dahlia Trimble
a944ef4947
Corrects meshmerizer profile cut angle orientation for tube type prims
2008-06-30 02:08:27 +00:00
MW
b0330a0bb5
disabled the multiple inventory server support in login service again.
...
And reverted CachedUserInfo back to revision 5262.
I don't think most of the inventory problems that people are reporting are due to these, but its easier to deal with one set of potential problems at a time, and I'm not going to get any time in the week to work on this anyway.
2008-06-29 20:39:34 +00:00
Justin Clarke Casey
d8e18ad0f0
* Reload terrain from archive if there is one
2008-06-29 20:08:58 +00:00
Justin Clarke Casey
f8d9ccc70e
* Save terrain information in archive
...
* Not yet reloading
* Terrain saving will be optional a little further down the line
2008-06-29 19:53:33 +00:00
Charles Krinke
ca06387123
Add minor comments.
2008-06-29 19:30:01 +00:00
Justin Clarke Casey
7d5a21ddbf
* Allow terrains to be loaded and saved from streams as well as directly to and from files
...
* Should be making use of this in the next revisions
2008-06-29 19:21:43 +00:00
Justin Clarke Casey
31c63558c8
* Fix for http://opensimulator.org/mantis/view.php?id=1512
...
* Introduce experimental wait timeout checking to mysql region datastore code
* This should mean that if the mysql connection has timed out, we should automatically reconnect and not fail or drop queries on region database manipulations
2008-06-29 18:10:38 +00:00
MW
7917398451
added patch 1633, thanks Melanie.
...
Although I think a bit of abstraction needs to be done to make it easy to override the deleting off the inventory item when rezzing a object.
2008-06-29 13:52:03 +00:00
MW
037b31f9db
patch from mantis #1632 , thanks Melanie
2008-06-29 12:33:45 +00:00
MW
f3f31744ab
patch and files from mantis #1630 , Thanks Melanie
2008-06-29 11:48:58 +00:00
MW
68bec3f69f
couple of small fixes to try to fix support for multiple inventory servers in the loginservice
2008-06-29 10:27:22 +00:00
Teravus Ovares
7f847166a9
* Syncs the current revision XML Schema(xsd) to the XML Schema of revision 5251.
...
* This should resolve creating content, taking it, and being able to rez it again.
2008-06-29 02:04:44 +00:00
MW
031b3d5314
small change to see if that helps with the inventory problems.
2008-06-28 23:05:08 +00:00
MW
85f893f0b3
more disabling multiple inventory server support in LoginService
2008-06-28 22:19:48 +00:00
MW
2efdeda79f
disabled multiple Inventory server support in loginservice until I get more time to look into the problems people are having.
2008-06-28 22:17:07 +00:00
MW
6480d4ae80
small fix
2008-06-28 21:14:01 +00:00
Charles Krinke
1091f78e04
Mantis#1626. Thank you kindly, Melanie for a patch that:
...
Fixes IAvatarService for grid and standalone modes
2008-06-28 19:04:28 +00:00
Dahlia Trimble
0260b33517
Altered prim description/debugging message code to be more warning friendly
2008-06-28 18:04:04 +00:00
MW
5cfc468d95
more work on the support for multiple inventory servers.
...
The Login service should now read/create new inventory on the inventory server that is set in a users profile.
Also added "Add-InventoryHost" console command to add a support for a new server to a region.
So it would be good if someone could test this. Set up the grid as normal, but then also run extra inventory server on a different computer (well actually it just has to be on a different network hostname, so one using "http://localhost:8004 " and one using "http://127.0.0.1:8005 " should work) then you need to manually edit the user profile database to set the new servers url in a user's "userInventoryURI" field.
Then on a region server, use the Add-InventoryHost to add the new server url (always include the full url, including http, but don't add a final /)
Login with that account and see if the inventory works.
Of course these needs to be made more user friendly.
2008-06-28 17:52:06 +00:00
Charles Krinke
590df180a4
Manti#1624. Thank you, Melanie for a patch that:
...
Sets XEngine threads to en-US culture before calling script events,
fixes i18n issues with european locales.
2008-06-28 17:47:06 +00:00
MW
a9347b6ceb
Extracted the Avatar appearance functions out of the IUserService interface and moved them into a IAvatarService
...
Although "out of the box", there is no actual functional change to behavior
2008-06-28 17:43:20 +00:00
Charles Krinke
7a255d4404
Comment out StringTest until we use it somewhere.
2008-06-28 17:01:26 +00:00
Charles Krinke
2f70baee52
Mantis#1623. Thank you, Melanie for a patch that:
...
Fully defines the equality operators on the lsl types and plubs
in the script engine side of the work begun in 0001616 (aly, this one's for you)
2008-06-28 16:18:47 +00:00
Charles Krinke
c06dbf4fe5
Mantis#1620. Applied Melanie's patch
2008-06-28 16:13:11 +00:00
Charles Krinke
9a0ef22ed9
Mantis#1616. Applied Melanie's patch. This may or may
...
not break trunk.
2008-06-28 16:08:12 +00:00
MW
86defd0a69
plumbing for multiple inventory servers. Mostly done on the region server side.
...
TODO next is to make the login server read/write a users inventory from the correct server (the inventory url set in a userprofile)
On the region side, although not tested with multiple servers it should work if that inventory url was set, and the inventory servers urls have been added to the CommunicationsManager, using CommunicationsManager.AddInventoryService(string hostUrl)
2008-06-28 15:13:17 +00:00
Charles Krinke
42e892140c
Remove one warning. We are now down to 16 warnings in
...
a build with VS2005.
2008-06-28 14:46:20 +00:00
Dr Scofield
55a4cf33a3
From: Kurt Taylor <krtaylor@us.ibm.com>
...
Patch to fix the passed parms and properly show llTakeCamera and
llReleaseCamera as deprecated. Patch for both XEngine and DotNetEngine.
2008-06-28 07:30:49 +00:00
Teravus Ovares
ec7110f2cf
* Melanie adds the event manager back to the XEngine so all yr events are hers, I mean, fire.
2008-06-28 03:45:52 +00:00
Teravus Ovares
e5649e0dd5
* Various documentation to some black magic parts of LLClientView
...
* Added IClientAPI.SendTexture stub.
2008-06-28 00:33:17 +00:00
Dahlia Trimble
8b8b45267e
altered prior warning fix to Meshmerizer.cs to allow mesh debugging code to function
2008-06-28 00:16:41 +00:00
Sean Dague
30592156c8
tart the property wrapping in SOP. This will be a long process
...
will do more next week.
2008-06-27 23:22:14 +00:00
Dr Scofield
748f72326d
last round of warning squashing. calling it a day now.
2008-06-27 23:03:39 +00:00
Dr Scofield
20940951b2
more warnings to go.
2008-06-27 20:40:25 +00:00
Justin Clarke Casey
810d3da2b9
* Experiment with not bothering with a seperate assets metadata file - extract necessary minimum metadata from asset filenames
...
* Make all file extensions single - double extensions look ugly and probably aren't good for Windows
2008-06-27 20:08:29 +00:00
Dr Scofield
3d26e6ede0
move along, nothing to see here. just a couple of lazy variables.
2008-06-27 19:57:06 +00:00
Sean Dague
333b741e30
run NArrange on SOP to stack together the attributes,
...
properties, private methods, public methods, etc.
2008-06-27 19:21:15 +00:00
Charles Krinke
1646f42a80
Mantis#1615. Thank you, Matth for a patch that:
...
causes deprecated LSL functions to throw the deprecated
exception rather than not-implemented.
2008-06-27 19:13:42 +00:00
Dr Scofield
2f6a5f5575
dr scofield's continuing warnings safari:
...
* code caught lingering around with no real purpose other than causing warnings
will be taken down.
2008-06-27 18:32:32 +00:00
Justin Clarke Casey
442a938a3f
* fix a bug where I was assuming all entities would be SceneObjectGroups - of course, some are ScenePresences
...
* would be nice to have a separate list in InnerScene in the future since a lot of methods end up screen entities for SOGs
2008-06-27 18:18:44 +00:00
Dr Scofield
7d55dfba8a
dr scofield's warnings safari:
...
* commenting out unused variables
2008-06-27 17:25:03 +00:00
Dr Scofield
feb30217de
dr scofield's warning safari:
...
* commented out [Obsolete(....)] attributes where no replacement feature
was available: if we want to attribute code that we think needs to be
reworked, we should define a new attribute and use that instead
(together with a little tool to retrieve all the attributed code then)
* commenting out unused variables
2008-06-27 16:58:21 +00:00
Justin Clarke Casey
ba989e9fd1
* restore suppression of mono addins manager warnings
2008-06-27 16:51:24 +00:00
Justin Clarke Casey
9bf67201c3
* Remove responsibilty for signalling scene object change from SceneObjectPart.SendFullUpdate()
...
* This means that we will no longer pointlessly repersist all the prims in the scene when OpenSim first starts up
* This also means that force-update on the console will not trigger repersistence.
* Also, in other places persistence is no longer done where it wasn't actually necessary
* I think I changed the code for all instances correctly, but it's not possible that I missed some and some things which did persist properly have stopped
* Please patch or mantis if this is the case
2008-06-27 16:36:19 +00:00
Dr Scofield
cea6e03ae0
dr scofield's warning safari: hunting down those little buggers
2008-06-27 16:18:56 +00:00
Dr Scofield
92e04ea587
status: work-in-progress, non-functional
...
fleshing out OSHttpRequestPump code.
2008-06-27 15:57:33 +00:00
Justin Clarke Casey
6175021300
* refactor: Remove group changed responsibilty from ScheduleGroupForTerseUpdate
2008-06-27 15:04:35 +00:00
Sean Dague
afd2a4b206
somehow, I seem to have actually made appearance persistant
...
correctly with nhibernate. Go figure. :)
User services still remain partial, but I'm going to move
on to Region Store to get that chunk out of the way.
2008-06-27 14:53:56 +00:00
Justin Clarke Casey
c299953ce5
* Remove SOG.SendGroupFullUpdate() group changed responsibility
2008-06-27 14:46:44 +00:00
Justin Clarke Casey
d34a46eae1
* refactor: Move responsibility for deciding whether a group should be repersisted on to callers of SceneObjectGroup.SendGroupTeruseUpdate()
2008-06-27 14:39:21 +00:00
Justin Clarke Casey
836557a2f7
* refactor: fission InnerScene.AddSceneObject()
2008-06-27 14:25:36 +00:00
Sean Dague
c8cd381c56
added in new type for mapping texture objects to the db
2008-06-27 14:22:18 +00:00
Justin Clarke Casey
c9b41bdc4e
* Add extra backup parameter to InnerScene.AddRestoredSceneObject()
2008-06-27 14:15:14 +00:00
Dr Scofield
63a1a2739a
status: work in progress, non-functional
...
having OSHttpHandler as a delegate was not too hot, i'm
refactoring it into an interface.
2008-06-27 09:29:41 +00:00
Charles Krinke
3697e0898c
Mantis#1612. Thank you, kindly, Matth for a patch that:
...
Adds the beginnints of llRemoteLoadScriptPin() and
llSetRemoteScriptAccessPin().
2008-06-27 02:22:33 +00:00
Charles Krinke
ca8d1d57e1
Mantis#1591. Thank you graciously, Sempuki for a patch that:
...
Currently module loading is done ad-hoc. I propose creating a simple
loader class that leverages Mono.Addins (and perhaps the new .NET
addins when they become available in mono). Attached is a basic
patch for review that compiles into HEAD, but doesn't yet replace
any existing ad-hoc loaders.
2008-06-27 02:15:57 +00:00
Charles Krinke
176efe3f06
Mantis#1610. Thank you, Melanie for a patch that:
...
Implements the beginning of llInventoryDrop. Doesn't cover
the actual dropping yet, just the permissions for it.
2008-06-26 23:37:21 +00:00
Charles Krinke
751150100b
Mantis#1603. Thank you, Matth for a patch to llGiveInventory
...
and Melanie for helping to finish it.
2008-06-26 20:52:05 +00:00
Jeff Ames
f8ccf00f1c
Apply patch from bug #1609 -- Documentation for Data/MSSQL. Thanks kerunix_Flan!
2008-06-26 20:25:57 +00:00
Jeff Ames
d96caaa14e
Apply patch from bug #1606 -- Documentation for Data/Null, Data/Base. Thanks kerunix_Flan!
2008-06-26 20:20:30 +00:00
Jeff Ames
9fae975a53
Apply patch from bug #1605 -- Documentation for Data/SQLite. Thanks kerunix_Flan!
2008-06-26 20:14:33 +00:00
Jeff Ames
56802afff4
Update svn properties. Minor formatting cleanup.
2008-06-26 20:04:06 +00:00
Justin Clarke Casey
fa5f27acfa
* Put extensions on all assets in an archive
...
* Choice of extensions is a scratch set, may not yet be correct
* This facility is not useable yet - not least because I've just come across a significant save bug I need to investigate
2008-06-26 17:36:54 +00:00
MW
314181a70d
small change to last commit
2008-06-26 17:23:05 +00:00
MW
682ec53420
As per the suggestion on the mailing list, added support for a OpenSim.xml config file, instead of a ini file. INI files still work the same as they did before, just now if a ini file isn't found, it looks for a OpenSim.xml file (of course in xml format) and if found uses that.
...
Includes a OpenSim.Example.xml for reference (the default settings saved as a xml file).
2008-06-26 17:20:08 +00:00
Dr Scofield
744b44dc8b
WORK-IN-PRGRESS: beware of falling pieces and shifting
...
tectonic plates: starting AddHandler() code.
2008-06-26 16:10:04 +00:00
Charles Krinke
6d5d911f3f
Mantis#1600. Thank you, Melanie for a patch that:
...
Fixes persistence of variable values to address
broken persistence in the big refactor.
2008-06-26 13:49:11 +00:00
Charles Krinke
a58a47a759
Mantis#1597. Thank you, Melanie for a patch that:
...
Adds handlers for the reclaim land functionality,
plus all needed permissions checks.
2008-06-26 13:45:36 +00:00
Charles Krinke
cf00df106d
Mantis#1602. Thank you, Kinoc for a patch to:
...
Patch to activate YieldProlog on Xengine.
Only adds YieldProlog to assembly if required.
2008-06-26 13:42:18 +00:00
Jeff Ames
ca724636d4
Apply patch from bug #1601 -- more documentation for Data/MySQL. Thanks kerunix_Flan!
2008-06-26 12:38:03 +00:00
Charles Krinke
1c6bf4fe77
Mantis#1595. Thank you, Melanie for a patch that:
...
Adds pipes for the prim item flags field
2008-06-26 02:51:59 +00:00
Charles Krinke
1cd6b71b60
Mantis#1594. Thank you, Melanie for a patch that:
...
Fixes:
- Wearable icon and name sreset to default on copy/paste
- Cache is not updated when renaming/moving folders
- Partial refactor to make inventory less dependen on AssetBase having a "Name" field
- Add llGiveInventoryList() function
2008-06-26 02:46:29 +00:00
Jeff Ames
76e24d02ad
Minor refactoring of POS. Adds a Util.Clamp(x, min, max) function.
2008-06-26 02:03:40 +00:00
Jeff Ames
8a0a0f9bb5
Add patch from bug #1596 - adds Doxygen documentation in OpenSim.Data.MySQL files. Thanks kerunix_Flan!
2008-06-26 01:12:28 +00:00
Jeff Ames
e75dc1bd23
Separate POS classes into mutiple files.
2008-06-26 00:30:33 +00:00
MW
cf1cf73839
added the flag param to IClientAPI.SendMapBlock
2008-06-25 20:14:47 +00:00
MW
35e1a2fdfc
first part of Requestmapblocks fixes: Adds uint flags param to the OnRequestMapBlocks event (and handler), as when a client sends a map block request it also sends what layer it wants it for 0,1,2. It will always send two requests, one of them being for layer 2 (the overlay layer) and the other one either 0 or 1 depending on the tab that is selected in the client worldmap window. We should also be sending what layer the reply is for in IClientAPI.SendMapBlock (current always set to 0). That will come in next part (most likely at the weekend).
2008-06-25 20:03:16 +00:00
MW
e4f85bcbe7
forgotten methods in SceneManager for the terrain serialising.
2008-06-25 19:46:48 +00:00
Sean Dague
d1d846f23f
chugging away on nhibernate, more incremental process
2008-06-25 19:45:56 +00:00
MW
7a9922af27
Added support for terrain map to be serialised to xml(as base64 binary). useful for places that the terrain map is needed in a serialised form. Also could add console commands to save and load from files, which should be faster than .raw files (these load/save commands are not included/implemented)
...
Add util functions to compress and uncompress strings.
Fixed a couple of modules so they use SceneCommunicationService rather than directly call functions on the CommsManager.
2008-06-25 19:33:19 +00:00
Sean Dague
5158aad662
make lots of properties virtual, which lets nhibernate do
...
some proxy object optimizations.
2008-06-25 19:18:51 +00:00
Sean Dague
ce9c584341
add migrations to mysql and sqlite for flags on embedded inventory
2008-06-25 18:57:21 +00:00
Sean Dague
ee4d7703a2
lazy=true for these mappings, as we don't do full lists very often
2008-06-25 18:51:48 +00:00
Dr Scofield
b7c81ff166
the prefix "fix" turned out to be bollocks. sorry about that. hope this one
...
fares better.
2008-06-25 16:43:42 +00:00
Jeff Ames
a2b1a1787d
Minor formatting cleanup.
2008-06-25 14:30:28 +00:00
Charles Krinke
c4641d7005
Mantis#1584. Thank you kindly, Lulurun for a patch that:
...
The (de)serialization of extraparams is wrong.
prims with scuplt texture won't be seen as it expected.
This patch fixes the problem .
2008-06-25 13:55:06 +00:00
Jeff Ames
80f5eb21ea
More svn properties. Minor cleanup in POS.
2008-06-25 13:32:27 +00:00
Jeff Ames
52a18954bb
Update svn properties. Add copyright notices.
2008-06-25 13:19:42 +00:00
Dr Scofield
daca971bf6
further work on the HttpServer stuff. not functional yet. just sharing
...
what crimes i'm committing.
2008-06-25 13:10:12 +00:00
Dr Scofield
b713f4a540
taking another look at mantis #1502 : adding necessary locks, checking for empty list.
2008-06-25 12:21:51 +00:00
lbsa71
903dbcadd0
* Deleted some genned files
2008-06-25 07:25:54 +00:00
Dahlia Trimble
bc66a851d6
Modifies box prim profile cut parameters to avoid angles which cause spurious triangles in mesh
2008-06-25 07:17:36 +00:00
Charles Krinke
ab927231d7
Mantis#1590. Thank you, Melanie for a preserve type patch.
2008-06-25 01:37:11 +00:00
Charles Krinke
c7edabd2d3
Mantis#1590. Thank you kindly, Melanie for a patch that:
...
Makes items appear in the item type folder, rather than in the root
2008-06-25 01:24:00 +00:00
Charles Krinke
f6bf4c39be
Mantis#1587. Thank you kindly, Melanie for a patch that:
...
Add permissions magling to llGiveInventoryItem,
correct some corner case functionality
2008-06-24 23:55:33 +00:00
Charles Krinke
dc0d089bf5
Mantis#5189. Thank you kindly, Matth for your patch
...
to add the beginnings of llGiveInventory().
2008-06-24 21:23:28 +00:00
lbsa71
6b7930104b
* Applied patch from Melanie, mantis issue #1581 - "Refactor LSL language, api and compiler out of XEngine"
...
"First stage in a major Script Engine refactor, that will result in the LSL implementaions ebing reconverged. Not there yet, but one major part is done."
Thank you, Melanie!
2008-06-24 21:09:49 +00:00
Sean Dague
c0a083ad38
based on positive feedback on performance of making keys fixed length
...
for assets, make all the indexed columns in the inventory fixed length
via migration.
2008-06-24 18:01:28 +00:00
Charles Krinke
8f5a8e4f9f
Mantis#1569. Thank you kindly, Nebadon for a patch that
...
addresses: Rotation of terrains varies between all the formats,
Raw and R32 seem to be the same, while PNG, JPG, BMP all seem
to be rotated 180 degrees different.
2008-06-23 20:15:39 +00:00
Sean Dague
ca7aac1c27
fix typo in Inventory nhibernate mappings. nhibernate should
...
load now.
2008-06-23 20:02:15 +00:00
Justin Clarke Casey
ac46c89c89
* minor: Remove crusty old unused agent inventory classes
2008-06-23 18:13:04 +00:00
Justin Clarke Casey
de24380233
* Remove all use of asset.InvType, as outlined in mailing list discussion
...
* This is stage 1, the field will be removed from AssetType and the assets table if this change doesn't prove problematic
2008-06-23 18:01:58 +00:00
Sean Dague
8b6bd93d68
add migration to go from varchar -> char for uuid. Tested
...
on my machine, and works, but backing up before migrations
is always a good idea.
2008-06-23 16:00:18 +00:00
Dahlia Trimble
064a2ea460
changed kickuser console command to use caseless compared substrings for first and last name parameters
2008-06-23 09:31:08 +00:00
Dahlia Trimble
eecaf327b9
Changed the kickuser command to use the new console RegisterCmd feature.
2008-06-22 05:08:58 +00:00
Dahlia Trimble
55e7e7fc74
Added an experimental "kickuser" console command to log off a user by name.
2008-06-22 04:36:34 +00:00
Justin Clarke Casey
ca88e3580b
* archive each object as a separate xml file rather than put them all in one single large file
...
* this is being done for reasons of compositionality
2008-06-21 23:45:22 +00:00
Charles Krinke
5b159e957a
Mantis#1580. Thank you kindly, Dmiles for a patch that:
...
solves an incorectly spliting and rejoining the passed in
string[] cmdArgs and losing the double quoted separation
of command arguments.
2008-06-21 23:17:15 +00:00
Justin Clarke Casey
908d91be78
* refactor: Making some of the serialization names consistent, both within their pairings and with the others
...
* This does make some of the names less ideal than others - this should change in the future
2008-06-21 21:20:59 +00:00
Justin Clarke Casey
91ffb6722f
* Remove redundant <scene> tag from individual object xml representation
...
* WARNING: Until both regions upgrade to this revision, prim crossings from regions on this revision to earlier region revisions will not work properly
* e.g. in the attachments cases, the attachments will remain visible but won't be individually detachable
* This change may seem to have more costs than benefits, but I'm doing it because I can soon reuse this changed existing code in another context - it seems better not to
proliferate similar but slightly different xml serializations.
2008-06-21 20:43:13 +00:00
Justin Clarke Casey
e19a76377c
* Refactor: Fold sog.DeleteParts() functionality into existing sog.DeleteGroup()
2008-06-21 20:12:01 +00:00
Justin Clarke Casey
b290ce405f
* Remove a bug I created in r5171 where taking an object would terminate the client session
...
* change code to use an explicit state variable instead of using SOG.Name = null to signal deletion
2008-06-21 19:56:19 +00:00
Justin Clarke Casey
ff56cb730b
* minor: start saving current prims xml to an objects/ directory in the archive
2008-06-21 18:44:17 +00:00
Justin Clarke Casey
3a111650cb
* minor: override the name of the sog such that it gets/sets the root part name
2008-06-21 18:11:45 +00:00
Dahlia Trimble
7b4991430b
Changes selection criteria to allow meshing of more sphere prim configurations.
...
Adds comments to some functions in Meshmerizer.cs.
2008-06-21 08:50:56 +00:00
Teravus Ovares
2758bc81ad
* Persists region banlists across reboots for the sqlite datastore also now.
2008-06-21 06:50:38 +00:00
Teravus Ovares
a5860ad438
* Adds Region ban capability to Regions. You access this by going to World->Region/Estate. Then on the Estate tab, at the lower right hand corner, clicking the 'Add' button and picking an avatar.
...
* It only persists across reboots for the mySQL datastore currently.
* Currently have stubs in the other datastores.
2008-06-21 03:29:08 +00:00
Sean Dague
17fd6cf661
lots of futzing with nhibernate to make it more efficient. I
...
don't think this works, but I don't want to loose the work before
the weekend, and it doesn't break the build.
2008-06-20 20:23:55 +00:00
Teravus Ovares
4448fd4b2f
* Handle parcel telehub location corruption gracefully. DBNull
...
* mySQL this time.
2008-06-20 18:46:43 +00:00
Teravus Ovares
f8b1785467
* Handle parcel telehub location corruption gracefully. DBNull
2008-06-20 17:07:01 +00:00
Teravus Ovares
e02a2e31e0
* Patch from nlin to enable DIF state file writing from the ODEPlugin
...
* Rebuilt libode.so, ode.dll
* If you roll your own ODE library, make sure to update your opensim-libs.
2008-06-20 04:57:32 +00:00
Johan Berntsson
20e4036853
Implemented plugin support for ClientStack, with LindenUDP as the default plugin. This makes it easy for developers to experiment with alternative communication protocols
2008-06-20 01:35:54 +00:00
Charles Krinke
d976ee477b
Mantis#1573. Thank you kindly, Mikem for a patch to our
...
LSL subroutine implementation to solve an infinite loop
in llParseString2List() under certain circumstances.
2008-06-20 00:00:09 +00:00
Sean Dague
ccc2adb331
fixed to inventory for nhibernate that actually make it so I can
...
log in using it as the driver for users, assets, inventory. User
driver is still missing a lot of function.
2008-06-19 22:11:04 +00:00
Sean Dague
c2e2997a99
more work towards nhibernate working with mysql, not there yet,
...
but moving in the right direction.
2008-06-19 21:20:23 +00:00
Charles Krinke
786fd3534d
Mantis#1572. Thank you kindly, Lulurun for a patch that addresses:
...
In function "ReadInExtraParamsBytes", parameter "data" is used without a boundary check.
if data.Length==0, an "out of index" exception will be thrown.
2008-06-19 21:00:09 +00:00
Charles Krinke
838ffd7792
Mantis#1543. Thank you kindly, Jonc for a patch that:
...
Implements terrain bake from Region/Estate dialog and
respects estate settings during terraforming
2008-06-19 20:57:00 +00:00
Teravus Ovares
1d91613679
* Patch from Dahlia - 0001576: Exception of type 'System.OutOfMemoryException' was thrown .Void set_Capacity(Int32), with regards to sphere mesh. Thanks Dahlia!
...
* Also allows a sphere to be hollow with no cuts or dimples. (walking around inside the sphere).
2008-06-19 17:21:17 +00:00
Justin Clarke Casey
f69f696181
* Temporary workaround for mantis 1568. If the avatar apperance factory now throws any exception, we will carry on with the default appearance rather than terminating the client login
2008-06-19 17:03:59 +00:00
Sean Dague
40f32a9271
oops, build break. needed to include another reference.
2008-06-19 15:44:33 +00:00
Sean Dague
d28a5a4de7
add migrations support for mysql log store. This should complete
...
all the mysql bits for migration.
2008-06-19 15:42:57 +00:00
Sean Dague
fcd7cf5e4a
fix an edge case with migrations in the region store.
...
Add migration support to gridstore.
2008-06-19 15:03:00 +00:00
Sean Dague
c2dc1636a6
oops, it helps to reference the *right* migration
2008-06-19 14:46:54 +00:00
Teravus Ovares
e6ce30d4f1
* 0001571: (PATCH) patch to implement editable sphere meshes for meshmerizer/ode (Initial Implementation) from Dahlia! Thanks Dahlia!!!
...
* The included patch implements the editor parameters twist, dimple, path cut, and profile cut to the sphere mesh for meshmerizer. The mesh will default back to the geodesic sphere if the parameters are adjusted to beyond a reasonable arbitrarily chosen threshold that would expose too many inverted normals on the mesh.
2008-06-19 04:17:04 +00:00
Teravus Ovares
cb29926e3c
* Refactors call to OutPacket out of AssetCache and into LLClientView
2008-06-18 23:04:15 +00:00
Sean Dague
6dea8f3435
clean up the nhibernate definitions to work with mysql
...
integrate migration support into nhibernate
2008-06-18 21:14:19 +00:00
Sean Dague
b58dc7fb33
add mysql migrations for nhibernate driver
2008-06-18 21:08:16 +00:00
Charles Krinke
b6667e7224
Mantis#1567. Thank you kindly, Dmiles for a patch that addresses:
...
Add a .Trim() that was forgotten in a previous patch titled:
[PATCH] Adds an API for for plugins to create new Console commands and Help
2008-06-18 21:07:40 +00:00
Sean Dague
6711adb8b1
add inventory store migration
2008-06-18 20:51:42 +00:00
Teravus Ovares
1fcb7c2db4
* By popular demand, skipping trees from the map tile generation routine. Skipping these because we have no good representation, they just appear as blocks that obscure the rest of the map items.
2008-06-18 16:27:27 +00:00
Sean Dague
eda34a6d3a
revert 5134. Changing these bitmaps to 24bit just breaks things, and they never display
...
on the client.
2008-06-18 14:04:24 +00:00
Jeff Ames
a728417eda
Minor formatting cleanup.
2008-06-18 03:50:39 +00:00
Sean Dague
7a11f6f1e2
make neb happy. I found where we initialized the dynamic textures to
...
32bit images and changed them to 24bit images.
2008-06-18 02:35:53 +00:00
Sean Dague
6d30d71256
change the default drawing font from Times -> Arial, as
...
san serif fonts are a bit easier on the eyes on textures.
Add a new "FontName" attribute that can be used to override
the font type.
2008-06-18 02:23:27 +00:00
Sean Dague
c01ebb281b
tweak dynamic texture stuff after the meeting today. This should
...
now preserve the bulk of the texture attributes, and force on full
bright. Not tested yet, but shouldn't bother most people.
2008-06-17 23:01:48 +00:00
Justin Clarke Casey
16d0a895cb
* Refactor: Move the responsibility for applying physics and sending the initial client update to Scene.AddSceneObject() from some of the SceneObjectGroup constructors
...
* I think this has been done cleanly from inspection and testing, but if prim creation or load suddenly starts playing up more than usual, please open a mantis
* This also has the effect of stopping the archiver generating ghost in-world prims
* Some code dupliction also removed
2008-06-17 20:36:21 +00:00
Justin Clarke Casey
33d32355a1
* refactor: Remove largely duplicate code from SceneXmlLoader.CreatePrimFromXml2()
2008-06-17 17:23:00 +00:00
Jeff Ames
255b87464a
Update svn properties.
2008-06-17 08:14:58 +00:00
Teravus Ovares
a401b03ab0
* Increase WEBMAP tile jpeg quality.
...
* I'm not sure if this method works on Linux.. but I guess I'll find out :P
2008-06-17 00:55:30 +00:00
Justin Clarke Casey
cb70299092
* Fix a bug in the archiver where I didn't realize a shape still needs its default texture as well as its face textures
2008-06-16 22:43:30 +00:00
Teravus Ovares
53c9ce46b3
* Enables binary data in BaseHttpServer with 'image' in content type.
...
* Enables regular jpeg map images to be served directly from the region.
* EX: http://192.168.1.127:9000/index.php?method=regionImagecc4583cd269b41bfa525dd198e19a5c5
* This is actually HTTP server address + port + index.php?method=regionImage<REGIONUUID, no dashes>
* The Webmap image location gets printed on the console when the simulator starts up.
* JPEG data is cached so we only create the webjpeg once.
2008-06-16 22:06:55 +00:00
Justin Clarke Casey
1898674254
* minor: Get rid of rogue "Current node RootPart" message in the SceneObjectGroup
2008-06-16 22:03:15 +00:00
Justin Clarke Casey
4c2171ec82
* Allow archiver to save and load objects within other objects to arbitrary levels
...
* This currently has various bugs which are more to do with the way its been hacked together than the feature itself (e.g. on save-oar, ghost prims will appear of the saved
contained items). These will be found and eliminated in subsequent patches.
* Not yet ready for use
2008-06-16 21:59:39 +00:00
Sean Dague
be79b56cc3
I really didn't expect that one to work out of the box, but just managed
...
to get NHibernate + MySQL + Assets working.
2008-06-16 19:58:48 +00:00
Sean Dague
bdb0dddfcf
set CommandTimeout = 0 in the migration commands so that long
...
migrations (like converting asset ids) don't run into the
normal 30 second kill switch.
2008-06-16 19:39:08 +00:00
Sean Dague
e1409e0c04
be a bit more verbose about what we are doing on the migration
...
side so that people don't think we're hung.
2008-06-16 19:33:08 +00:00
Sean Dague
340ef33e2e
fix nhibernate driver so that it starts (based on the appearance
...
changes it wouldn't come up).
include embedded dialect specific sql files for nhibernate migrations
figure out how to get the raw db connection so that migrations can
work with nhibernate.
create initial migration for NHibernate + SQLite + Assets.
2008-06-16 19:22:00 +00:00
Sean Dague
caa6b8467d
futzing around on the NHibernate side again trying to connect
...
migrations into it.
2008-06-16 18:53:55 +00:00
Justin Clarke Casey
e31de6707f
* refactor: Fission ArchiveWriteRequest into prepare and execute classes
2008-06-16 17:13:28 +00:00
Sean Dague
94034d665d
change some messages on the migrations front to be
...
more clear
2008-06-16 16:03:37 +00:00
Justin Clarke Casey
ba69cc31e5
* Refactor: Break out AssetsRequest to a separate file in the Archiver module
2008-06-16 15:36:01 +00:00
Sean Dague
ec78a2871b
the beginning of the great id format migration. This makes
...
asset uuids no longer binary. I've tested this migration a
few times, and it seems working in all the scenarios I've found
but it wouldn't hurt to backup your asset db before running this
as it does touch a very sensitive part of our content system.
2008-06-16 14:10:51 +00:00
Teravus Ovares
11d68ce0f5
* 0001558: [PATCH] Add support for full collision geometry feature set for linear path prims (patch attached) By Dahlia. Thanks Dahlia!
...
* This update re-does the cube/cylinder/prism prims to dynamically add faces as twist is used.
2008-06-15 19:34:48 +00:00
Charles Krinke
c04e284854
Change VersionInfo string from
...
"Opensimulator release (0.5.8)" to
"Opensimulator trunk (post 0.5.8)"
as we move forward with trunk again.
2008-06-15 01:08:55 +00:00
Charles Krinke
b226855d34
Change VersionInfo string from:
...
"OpenSimulator trunk (post 0.5.7)" to
"OpenSimulator release 0.5.8" in preparation
for tagging this minor release.
2008-06-14 23:51:35 +00:00
Justin Clarke Casey
c9a983a85e
* minor: A few miscellaneous doc comments before I break and start on something else
2008-06-14 20:52:42 +00:00
Teravus Ovares
5cccd4f6e5
* Vintage 2, a good year.
2008-06-14 20:33:03 +00:00
Teravus Ovares
7ca868dca5
* Fixes: 0001554: r5106 update fails to load on some regions with NullRef error on volume portion of maptile drawing routine.
2008-06-14 20:04:48 +00:00
Justin Clarke Casey
4af6286512
* Start recording asset request failures
...
* This includes problems such as connection failures and timeouts. It does not include 'asset not found' replies from the asset service.
2008-06-14 17:47:25 +00:00
Teravus Ovares
6bea792436
* Enables maptile display in grid mode for simulators that are not on the same instance.
...
* Only generates a new maptile after a refresh interval
* Maptile names have the UnixTimeSinceEpoch that they were generated and the regionUUID they're from, so you can know which ones are no longer necessary.
* Updates RegionInfo, so backup your /bin/Region/*.xml files.
2008-06-14 02:39:27 +00:00
Sean Dague
b47dd07932
save_assets_to_file path shouldn't always assume uploaded
...
content are images and use .jp2 for the file extension.
2008-06-13 19:41:13 +00:00
Justin Clarke Casey
d6519924ba
* refactor: catch asset service request exceptions at the AssetServerBase level rather than in the GridAssetClient
...
* this is to enable logging of asset request exceptions soon
2008-06-13 18:04:01 +00:00
Justin Clarke Casey
ea52e71205
* minor: Remove LINK_SET debug Console Writeline
...
* only appeared in DotNetEngine's LSL_BuildIn_Commands.cs
* Nice spot Ewe Loon (http://opensimulator.org/mantis/view.php?id=1548 )
2008-06-13 17:11:33 +00:00
Justin Clarke Casey
b799031010
* minor: Print out uptime as well as stats in periodic diagnostics logging, so it's easier to tell which isntances each print out of information is from
2008-06-13 16:58:24 +00:00
Justin Clarke Casey
34746f5485
* Double timeout on region registration XMLRPC call to the grid service
2008-06-13 16:32:32 +00:00
Justin Clarke Casey
520da0d9ff
* minor: comment out confusing DefaultTimeout field in RestClient, which is currently not actually used
2008-06-13 16:23:31 +00:00
Justin Clarke Casey
8f69a0ab3d
* If appropriate, start printing out the inner exception from the grid -> region status check, so we can tell a bit better what the problem was
2008-06-13 16:17:27 +00:00
Sean Dague
6c23acf41b
add indexes for sqlite inventory
2008-06-13 14:27:46 +00:00
Charles Krinke
3b4c2c1ff1
A little minor cleanup and harmonizing between LSL_BuiltIn_Commands.cs
...
and its copy LSL_ScriptCommands.cs
2008-06-13 01:54:53 +00:00
Jeff Ames
64f01ade04
Update svn properties, clean up formatting, refactor out duplicate hard-coded port numbers.
2008-06-13 00:21:53 +00:00
Sean Dague
1451d6fb9a
look mom, migrations in action. This adds a couple of indexes
...
to mysql regions that should help on performance of some of the
selects. We should start capturing more data on performance bits
to figure out where else we are missing indexes and add them via
migrations as well.
2008-06-12 20:48:06 +00:00
Teravus Ovares
5219eb7420
* Split the World Map code into a module.
...
* Implemented a hack so regions beyond the 10,000m range will show the map without having to click on the map before they'll start to show. The hack shows regions around the one you're in, but it won't show the one you're in.. you still need to click on the map to get that (not sure why yet). Additionally, the map still only shows pictures for regions that are hosted on the same instance (no change).
2008-06-12 20:19:42 +00:00
Sean Dague
202a4bec13
Fix mysql migrations. This is tested with an existing up to date schema,
...
and no schema. It should also work with a non up to date schema as well.
Btw, meetings in which I can get code done are the right kind of meetings.
2008-06-12 18:44:58 +00:00
Justin Clarke Casey
7cdedcaf0e
* minor: Remove and tidy duplicate 'storing object to scene' messages in log
2008-06-12 18:18:59 +00:00
Justin Clarke Casey
8714833986
* refactor: For new objects, move attach to backup to occur when adding to a scene, rather than on creation of the group
...
* Adding to a scene is now parameterized such that one can choose not to actually persist that group
* This is to support a use case where a module wants a scene which consists of both objects which are persisted, and ones which are just temporary for the lifetime of that server instance
2008-06-12 17:49:08 +00:00
Justin Clarke Casey
74017a4331
* refactor: rename CreatePrimFromXml to CreatePrimFromXml2
2008-06-12 16:54:04 +00:00
Sean Dague
e1140a4f9b
this, in theory, adds migration support to mysql for all
...
data sources besides the grid store. It is only lightly tested
so the less adventurous should wait a couple of checkins before
upgrading.
2008-06-12 15:47:33 +00:00
Sean Dague
cee071ea60
check in region store initial migration definition,
...
now on to integrating this approach into the mysql
driver. Beware the next couple of checkins.
2008-06-12 15:21:34 +00:00
Sean Dague
4387744a78
check in migration files for mysql
2008-06-12 14:44:52 +00:00
Teravus Ovares
049cfe80e4
* Insulate maptile volume draw routine against TextureEntry oddities.
2008-06-12 11:06:31 +00:00
Teravus Ovares
2b6487c832
* Added Prim drawing to the mainmap tile generation.. you can see blocks representing the prim now on the mainmap.
...
* It isn't perfect since the blocks are square, however it's pretty good.
* Performance is also pretty good, however, if it takes too long for you, you can disable it in the OpenSim.ini
* You can see how long it takes in milliseconds on the console when it finishes.
2008-06-12 01:11:57 +00:00
Sean Dague
6c1fce6147
check in working migration code fore SQLite. This
...
is now using migrations instead of the old model to
create tables. Tested for existing old tables,
and for creating new ones.
2008-06-11 21:01:33 +00:00
Sean Dague
68b98aecab
updated resources for current sqlite schema for migrations
2008-06-11 20:04:01 +00:00
Teravus Ovares
2883656bbc
For people receiving: Exception: System.ArgumentException: Value of -2147483648 is not valid for red, I've added the following message;
...
[MAPIMAGE]: Your terrain is corrupted in region {0}, it might take a few minutes to generate the map image depending on the corruption level
And, I've also kept it from crashing...
2008-06-11 19:45:17 +00:00
mingchen
0896cb53d4
*Parcel Prim Count Maximums moved to their own functions so modules can override the default method of calculating how many prims a parcel can have.
2008-06-11 17:31:43 +00:00
Charles Krinke
7821cca2f5
Mantis#1514. Thank you kindly, Boscata for an InventoryServer patch
...
to allow the InventoryServer to work with MSSQL..
2008-06-11 14:02:16 +00:00
Charles Krinke
aba396cb32
Mantis#1528. Thank you kindly, Boscata for:
...
MSSQL Avatar appearance solved.
Appearance functions and modified table.
2008-06-11 13:57:32 +00:00
Justin Clarke Casey
f07b761583
* Drop periodic stats logging back down to 60 minutes to reduce console spam.
...
* Please feel free to comment if the periodic logging is causing you problems in some way - I'm loathe to add yet another switch to OpenSim.ini but will if it proves necessary
2008-06-11 11:25:29 +00:00
Johan Berntsson
6b77f1141d
Mantis 1370. Thanks lulurun for the patch
2008-06-11 04:19:30 +00:00
Justin Clarke Casey
3356423e50
* Fix the string substitutions in the last commit
2008-06-11 01:33:08 +00:00
Justin Clarke Casey
42e54537aa
* From inspecting OSGrid WP logs, it appears one particular client is failing because they are giving an illegal initial position to ScenePresence.MakeRootAgent()
...
* If we detected an illegal position (x, y outside region bounds or z < 0), then print out the illegal position and substitute an emergency <128, 128, 128> instead
2008-06-11 01:31:39 +00:00
Justin Clarke Casey
ce9d0799ae
* Add 'show info' command to all servers, which prints the directory in which the server was started
...
* This is potentially useful if you're using screen on a region console without knowing where it was originally started from
2008-06-11 00:41:07 +00:00
Justin Clarke Casey
c2054d225e
* minor: Reduce statistic log snapshots to every 20 minutes to get more information
2008-06-10 23:47:33 +00:00
Justin Clarke Casey
928b32054c
* minor: Report cache figures in rounded up KB instead of with decimal places in show stats
...
* trade easier readability for pointless accuracy
2008-06-10 23:42:42 +00:00
Justin Clarke Casey
3794f25ebd
* minor: Properly clear the pushed asset cache statistics where the clear-assets command is used on the region console
...
* stop waiting for garbage collection when GC total memory used is requested, in case the periodic request of this lags the sim
2008-06-10 23:35:04 +00:00
Justin Clarke Casey
686f16cedd
* If a server has statistics, print these out to the log every hour to get some idea of how these evolve
...
* When returning GC.GetTotalMemory(), force collection first in order to get more accurate figures
2008-06-10 23:19:38 +00:00
Sean Dague
be400d1bd0
I'm going to need the Version property to manage
...
migrating from the old to the new system. Silly legacy
code.
2008-06-10 23:17:18 +00:00
Sean Dague
68cda63761
update of migration code to be more sane on version
...
tracking, and support sub types that we'll need for
nhibernate.
2008-06-10 22:57:20 +00:00
Jeff Ames
fb9a338bc4
Update svn properties.
2008-06-10 22:54:19 +00:00
Charles Krinke
9b43668bf3
Mantis#1529. Thank you kindly, Grumly57 for a patch to
...
xengine to:
Replaces "presence.Name" => "presence.ControllingClient.Name" to return avatar's name.
2008-06-10 22:41:39 +00:00
Justin Clarke Casey
184a288b4d
* Add memory currently allocated to OpenSim to 'show stats' statistics
...
* This is the GC.GetTotalMemory() method, which I'm guessing does not include memory used by the VM (hence the memory usage reported in top on linux would be much higher)
2008-06-10 18:10:57 +00:00
Charles Krinke
53cc63e243
Mantis#1501. Thank you kindly, Nebadon, for a patch that
...
addresses the 'terrain fill 0' error.
2008-06-10 16:02:18 +00:00
Jeff Ames
5910a49da6
Update svn properties. Formatting cleanup.
2008-06-10 08:35:46 +00:00
Teravus Ovares
8a93358405
* This completes ObjectDuplicateOnRay.
...
* In English, that means that Copy Selection works now, including Copy Centers and Copy Rotates.
2008-06-10 00:18:00 +00:00
Sean Dague
c62f081380
actually create and populate the migrations table correctly.
2008-06-09 22:20:28 +00:00
Sean Dague
69fb4ee208
migrations seem to not break anything at this point.
...
Tomorrow I'll start trying to integrate them into sqlite
to see if this works right for table migration.
2008-06-09 22:01:21 +00:00
Sean Dague
504ab4477d
move Migration support into OpenSim.Data, because it
...
really turned out to be small enough to not need it's own
assembly
2008-06-09 21:40:16 +00:00
Sean Dague
2e2dde71f2
fill out some more migration facilities
2008-06-09 19:37:13 +00:00
Sean Dague
c30e9ff0f1
more work in progress migration code, still a while before
...
this becomes useful
2008-06-09 19:11:49 +00:00
Sean Dague
283cc90566
start in on the shell for a generic database versioning module. My
...
intent is to create an easier way to manage database table versions
like the model used for ruby on rails migrations.
2008-06-09 18:24:07 +00:00
mingchen
db151bcec7
*Fixed bug that caused failure when System.Console.Readline returns null (no stdin)
...
*Fixed bug that would crash the simulator if there were two physics/meshing engines loaded with the same name.
2008-06-09 15:20:08 +00:00
mingchen
c3292a9afa
*Patched CreateItemsTable.sql (MSSQL). Patch by Kyle and Chris from G2.
2008-06-09 14:48:28 +00:00
Jeff Ames
dfb63b5623
Update svn properties. Formatting cleanup.
2008-06-09 08:46:33 +00:00
Charles Krinke
0d07cf9ddd
Mantis#1469. Thank you kindly, Mikem for a patch that addresses:
...
Currently LSL code such as below does not compile on OpenSim, but compiles fine in Second Life:
list mylist = [];
mylist += [1, 2, 3];
mylist += "four";
list newlist = mylist + 5.0;
The problem is that the LSL_Types.list class does not have an operator for adding a string to a list.
I am including a patch which implements adding a string, integer or float to a list.
I am also including tests. The file LSL_TypesTestList.cs belongs in
OpenSim/Tests/OpenSim/Region/ScriptEngine/Common/.
2008-06-09 01:06:59 +00:00
Teravus Ovares
6ecb7c05b3
* Fixed it so you can do a lot more llDetected* methods in many additional situations and have it work.
...
* script Collision reporting works now in DotNetEngine
2008-06-08 22:53:52 +00:00
Teravus Ovares
c53892aa90
* Added compiler pre-processor, #if SPAM to SensorRepeat... so if you really want to see, "[AsyncLSL]: GetSensorList missing localID" and SetSensorEvent, then you can #define SPAM
2008-06-08 21:15:44 +00:00
Teravus Ovares
524998ba3e
* Fixes llDetectedKey.
2008-06-08 19:54:49 +00:00
Charles Krinke
aca872499f
Added a "if(entity != null)" before the call to
...
UpdateEntityMovement() to try to preclude the
occaisional System.NullReferenceException in scene.
2008-06-08 17:36:41 +00:00
Charles Krinke
de11c09794
Mantis#1498. Thank you Melanie for an XEngine patch that addresses:
...
The attatched patch makes the changed() event fire properly and
lets scripts run properly.
NOTE: All existing state files must be deleted:
rm ScriptEngines/*/*.state
2008-06-08 14:51:59 +00:00
Charles Krinke
4ea9183b66
Mantis#1499. Thank you kindly, DMiles for a patch that:
...
was incorrectly sending the command along with the args to the CommandDelegate
help was getting lost on top of normal help & help was getting missed except
in an exact match (and only returning the first)
2008-06-08 00:34:00 +00:00
Charles Krinke
0e5f2b3293
Mantis#1496. Thank you kindly, Melanie for a patch that:
...
Adds full implementation of all llDetected* functions for sensors,
collisions and touches. Adds changed(CHANGED_REGION_RESTART) event
to allow restarting of eye-candy functionality not currently
persisted with the prim.
2008-06-07 22:37:48 +00:00
Charles Krinke
6ce9a8ecdd
Mantis#1495. Thank you kindly, Kinoc for:
...
0001495: [PATCH] Adds an API for for plugins to create
new Console commands and Help
2008-06-07 22:02:28 +00:00
mingchen
cde42cdbfd
Potential Fix #1 for 0001392: Shift+Drag now causes an unhandled 'Object reference not set to an instance of object' exception
2008-06-07 17:48:45 +00:00
Adam Johnson
990225a4ba
Patch for mantis#1493: Several patches to xengine. Thanks Melanie!
2008-06-07 17:43:07 +00:00
Charles Krinke
2b83aa931c
Mantis#1476. Thank you kindly, Melanie for a patch that:
...
0001476: [PATCH] Allow larger script state files to be loaded
The previous limitation on load file size was too small for
larger script projects
2008-06-07 15:46:43 +00:00
Charles Krinke
80079e14e3
Mantis#1475. Thank you kindly, Kinoc for a patch that:
...
This patch brings the Yield Prolog in sync with the YP r669.
Biggest item is support for functions asserta and assertz ,
providing dynamic databases.
2008-06-07 15:43:16 +00:00
mingchen
5ab5991676
*Fixing another object counting bug
2008-06-07 00:24:43 +00:00
mingchen
0fe363ba65
*Made Object Counting correct with linked objects and turned the previously protected functions that only return object counts to public so it can be easily used by outside classes.
2008-06-06 23:20:02 +00:00
Teravus Ovares
bd2361ae33
* llSetPrimitiveParams PRIM_FLEXIBLE is now supported.
2008-06-06 22:44:48 +00:00
Teravus Ovares
8c507b633b
* Added Light control from script in LLSetPrimitiveParams.
2008-06-06 22:28:52 +00:00
Teravus Ovares
ed41ba8a3d
* Added a configuration option for allowing god script lsl methods.. such as llSetObjectPermMask. By default it's off.
2008-06-06 21:39:42 +00:00
Sean Dague
6a66caa02e
revert 5028, as this approach to 1 nick per avatar isn't going to work,
...
however, I think I understand now how to make it work. I just don't want
to have this broken for people this weekend.
2008-06-06 20:42:12 +00:00
Sean Dague
2cfdfaeaa5
experimental IRC changes, because it's friday, and I'm curious if this
...
will work.
2008-06-06 20:21:25 +00:00
Teravus Ovares
be44969927
* Adds semi broken PRIM_FLEXIBLE support for prim. It's semi-broken because it won't do the setting of the prim flexi from not-flexi, however, it'll tweak the parameters of an already existing flexi prim.
2008-06-06 19:58:39 +00:00
Teravus Ovares
e099d5b013
* How tall are you? Certainly not 127 meters!
2008-06-06 14:33:01 +00:00
Teravus Ovares
37373dbde2
* true and not true or - not true and not true and.
2008-06-06 13:33:45 +00:00
Teravus Ovares
7137b13498
* This limits avatar to the heightfield height if they teleport or cross a border to a position below it. After teleporting, you can go under the terrain if you like as usual.
2008-06-06 13:24:40 +00:00
Teravus Ovares
c892ddcd20
* This wraps the autopilot request to the client's sit response. An interesting, but successful way to do it.
...
* This also takes care of a few error situations that were previously never seen.
2008-06-06 12:51:20 +00:00
Teravus Ovares
3cbc01ee88
* Fixes incorrect message server startup prompt
2008-06-06 08:05:09 +00:00
Teravus Ovares
e9a444917a
Fixes scale property with regards to the physics engine.
2008-06-06 08:03:12 +00:00
Johan Berntsson
9002329a7d
Fixed a build problem with r5019 (Mikems patch)
2008-06-06 05:28:26 +00:00
Jeff Ames
fbd37c420f
Minor formatting cleanup.
2008-06-06 01:19:15 +00:00
mingchen
de0bd2b5a0
MSSQL Inventory Fix. Patch by Kyle and Chris from G2
2008-06-06 00:56:51 +00:00
Jeff Ames
2818dd800e
Update svn properties.
2008-06-06 00:25:43 +00:00
Charles Krinke
16707b741e
Mantis#1451. Thank you kindly, mikem for additional
...
tests for LSL types and strings.
2008-06-05 23:36:59 +00:00
Charles Krinke
f9a67ab5f0
Mantis#1460. Thank you, CMickeyb for a patch that addresses:
...
I'm getting an unhandled exception in openxmlrpcchannel during simulator initialization.
I have two objects in different regions that open remote data channels in the state_entry event.
It appears that the state_entry call is executing before the postinitialize method is called in
xmlrpcmodule (the exception occurs because m_openChannels is not initialized).
2008-06-05 20:18:15 +00:00
Charles Krinke
d66de83938
Mantis#1459. Thank you kindly, CMickeyb for a patch that:
...
the function that reports errors in event handling is not computing the
line numbers correctly for windows paths (and probably linux paths).
As a result, the conversion to int throws an exception.
note... i'm not sure why we extract the line number, convert it to an int,
then convert it back to a string... but hey... :-)
2008-06-05 19:30:35 +00:00
lbsa71
901b9365ba
* Applied 9085B_[5004]_xengine_abort_regression.patch from #1437
...
Thank you, Melanie. And Thank you ckrinke. Bigups!
2008-06-05 14:31:07 +00:00
Charles Krinke
3b764dd34f
Mantis#1438. Thank you kindly, Melanie for a patch that:
...
This patch implements the llLoopSound patch from Xantor for the XEngine
2008-06-05 14:22:53 +00:00
Charles Krinke
dab3a53920
Mantis#1437. Patch 3 of 4. Thank you kindly, Melanie for:
...
Corrects the XEngine's script startup semantics.
Completes llRequestAgentData
Implements llDetectedLink
Fixes a few minor issues
2008-06-05 14:18:53 +00:00
Charles Krinke
bbabd68c7c
Mantis#1437. Patch 2 of 4. Thank you kindly, Melanie for:
...
Corrects the XEngine's script startup semantics.
Completes llRequestAgentData
Implements llDetectedLink
Fixes a few minor issues
2008-06-05 14:17:22 +00:00
Charles Krinke
e3c14e9b24
Mantis#1437. Patch one of four. Thank you kindly, Melanie for:
...
Corrects the XEngine's script startup semantics.
Completes llRequestAgentData
Implements llDetectedLink
Fixes a few minor issues
2008-06-05 14:15:15 +00:00
Charles Krinke
e2d87b04e3
Mantis#1455. Thank you kindly, Mikem for a patch that addresses
...
the client thread terminating when creating a new script.
2008-06-05 14:03:08 +00:00
Charles Krinke
c289c2b6d4
Mantis#1450. Thank you kindly, Boscata for a patch that addresses:
...
I have detected a bug of conversion data type in OpenSim.Data.MSSQL.MSSQLInventoryData.addInventoryItem(InventoryItemBase item)
in the GroupOwned field.
My sollution is to change the flield to bit in the table. In the
readInventoryItem(IDataReader reader) change too item.Flags =
(uint) reader["flags"]; to item.Flags = Convert.ToUInt32(reader["flags"]);
Now Inventory runs fine.
2008-06-05 13:57:58 +00:00
Charles Krinke
3a4b54adaa
Mantis#1451. Thank you kindly, Mikem for a patch that addresses:
...
LSL scripts in which a float type is cast to a string or a string type
is cast to a float do not compile. When the script is translated from
LSL to C#, the LSL float type is translated into double. There is no
string <-> double cast in C#, so compilation fails.
There is a LSLFloat type, however it seems unfinished and is not used.
I am attaching a patch that implements the LSLFloat type. I have also
added two methods to the LSLString type to facilitate float <-> string casts.
2008-06-05 13:54:20 +00:00
Teravus Ovares
e12baa5eb3
* This sends collision events to the script engine.
...
* Unfortunately, there's some kludges with the Async manager and the llDetected functions that I have yet to decipher... so llDetected functions don't work with collision events at the moment....
2008-06-05 13:24:59 +00:00
Teravus Ovares
622cd3db8b
* Don't create ghost prim when rezzing objects from inventory
2008-06-05 10:44:46 +00:00
Jeff Ames
3b9fb61bde
Update svn properties.
2008-06-05 05:43:22 +00:00
Justin Clarke Casey
78d7d6edb0
* minor: Yet another minor logging message tweak following on from the last commit
2008-06-05 02:12:44 +00:00
Justin Clarke Casey
7f10e5f338
* minor: Increase verbosity of "new user request denied" incoming session warning for debugging purposes
2008-06-05 01:55:45 +00:00
Justin Clarke Casey
677e2ca330
* refactor: rename now inaccurate textureUuids to assetUuids
...
* 5000 commits in this repository!
2008-06-05 01:29:52 +00:00
Justin Clarke Casey
1f605da761
* If a client thread crashes, make an attempt to notify the client and clean up the resources
2008-06-05 01:20:17 +00:00
Justin Clarke Casey
73c1157027
* exprimental: Export and reimport all items within a prim except Objects
...
* Not yet ready for public use
2008-06-05 00:29:02 +00:00
Justin Clarke Casey
7352bd7b99
* Change archiver 'textures' dir back to 'assets'
2008-06-05 00:01:38 +00:00
Justin Clarke Casey
168f9367cb
* Dearchive using assets metadata rather than assuming everything is a texture
...
* However, still not actually archiving anything except textures
2008-06-04 23:57:27 +00:00
Jeff Ames
ed19c429b1
Update svn properties.
2008-06-04 22:31:47 +00:00
Justin Clarke Casey
1d745cca17
* Start writing out assets metadata file for archiver
...
* Ignoring it on reload as of yet
2008-06-04 18:50:58 +00:00
Dr Scofield
caee0288fb
* adding XmppPresenceStanza and deserialization/reification support
...
having reached the intermediate level of .NET's XmlSudoku, i've
now figured out how to do deserialization using different
XmlSerializers (this stuff begins to grow on me, sigh).
[still not used code, work-in-progress]
* adding convenience property on OSHttpRequest.cs (from awebb)
2008-06-04 18:09:55 +00:00
Sean Dague
0cacdd370c
change clientCircuits_reverse to a synchronized hash table. This
...
removes a lock on every SendPacketTo call, which was shown to have
good performance benefits by the IBM China Research Lab.
2008-06-04 17:43:07 +00:00
Justin Clarke Casey
6e2f3bd3fb
* Start recording abnormal client thread terminations
2008-06-04 16:30:44 +00:00
Teravus Ovares
11246c284f
* Added a check for a non-finite heightfield array value passed to the ODEPlugin. This may, or may not fix anything.
2008-06-04 16:27:35 +00:00
Charles Krinke
994932bb60
Mantis#1447. Thank you kindly, Kinoc for a patch that:
...
llKey2Name fix to show avatar name instead of "Basic Entity"
One line fix. Replaces "presence.Name" =>
"presence.ControllingClient.Name" to return avatar's name.
2008-06-04 14:47:12 +00:00
Charles Krinke
687090f79a
Mantis#1441. Thank you kindly, Kinoc for a patch that:
...
This patch adds the prolog interperter helper object ONLY for YP code,
and not every script compiled.
Mirrors the other languages like JS and VB more closely.
2008-06-04 14:40:17 +00:00
Charles Krinke
e75cccec76
Mantis#1440. Thank you kindly, Melanie for a patch that
...
"Hooks up the plumbing from previous patch"
2008-06-04 14:37:16 +00:00
Charles Krinke
bc32395775
Mantis#1446. Thank you kindly, Grumly57 for a patch
...
that solves "trees are too small when rezzed"
2008-06-04 14:34:35 +00:00
Charles Krinke
d635b526e5
Mantis#1439. Thank you kindly, Melanie for a patch that
...
plumbs in the events for on_rez.
2008-06-04 14:31:36 +00:00
Dr Scofield
67dee6410d
* fleshing out XMPP entities, adding XmppWriter and XmppSerializer
...
having spent the last couple of days wrestling with .NET XmlSerializer
and trying to get it to do what is required by XMPP (RFC 3920 & 3921)
this is the preliminary result of that wrestling (you should see the
other guy!): XmppSerializer allows us to serialize Xmpp stanza (and
theoretically deserialize [or reify] them), XmppWriter helps avoiding
various gratuitous crap added in by off-the-shelf XmlSerializer.
this is currently not used anywhere but the plan is to use it for
at least an XMPPBridgeModule.
2008-06-04 13:06:24 +00:00
MW
964ce083ff
applied patch from mantis #1268 , thanks mikem
2008-06-04 12:16:26 +00:00
Teravus Ovares
99e7a2a380
* From Dahlia
...
* Committing : 0001449: Patch implements X and Y Top Shear parameters for torus prim physical mesh generation (PATCH attached)
* The included patch implements the X and Y Top Shear parameter adjustments to the mesh generator for the torus prim physical mesh. These are approximations as I was unable to determine their exact function but they appear to generate meshes which quite closely duplicate their counterparts in the viewer.
* Thanks Dahlia!!!!
2008-06-04 10:57:05 +00:00
Jeff Ames
4ec4e16c80
Formatting cleanup, minor refactoring, svn properties.
2008-06-04 09:59:27 +00:00
Justin Clarke Casey
0a2d399cad
* If a ThreadAbortException reaches AuthUser() then let it pass through unmolested
...
* These are only thrown on client shutdown anyway
* This stops the console (harmlessly) spewing stack traces when a client logs off
2008-06-04 01:25:31 +00:00
Justin Clarke Casey
8983877664
* minor: Remove my own stupidity in the last doc comment - it wouldn't actually be all that tricky to try better clean up on a client thread crash. Haven't actually implemented
...
this, though
2008-06-03 21:00:37 +00:00
Justin Clarke Casey
723c9eccad
* minor: Change comment on last commit. My English - not so good.
2008-06-03 20:55:56 +00:00
Justin Clarke Casey
a987840191
* Stop the crash to bash of the entire region server when a client thread fails by catching the exception in AuthUser() instead of letting it propogate out of the thread
2008-06-03 20:27:52 +00:00
Justin Clarke Casey
48322cec96
* experimental: archive out and reload textures within a prim's inventory
...
* no other prim items are archived yet
2008-06-03 17:17:24 +00:00
Justin Clarke Casey
4106b2a601
* Change single assets/ archiver directory to be textures/ instead
2008-06-03 16:52:44 +00:00
Sean Dague
afd59e862e
temporarily disable the last bit of code as it prevents startup on
...
mono. Need to sort that out with DJ shortly.
2008-06-03 13:58:54 +00:00
Sean Dague
e713a3c62a
From: Dong Jun Lan <landj@cn.ibm.com>
...
Set udp flags correctly to prevent "Socket forcibly closed by host"
errors.
2008-06-03 13:49:58 +00:00
Justin Clarke Casey
1a60fe7a4e
* minor: Attempted method documentation clarifications related to last two commits
2008-06-03 08:34:38 +00:00
Justin Clarke Casey
512c0c67a6
* Remove what should be unnecessary locking in InnerScene.GetEntitites()
2008-06-03 08:17:33 +00:00
Justin Clarke Casey
f45fa84905
* Remove what should be unnecessary locking of GetScenePresences()
...
* May help with mantis 1434 though I doubt it
2008-06-03 08:11:04 +00:00
Teravus Ovares
61e2254be2
* This should fix presence issues.
2008-06-03 07:12:09 +00:00
Teravus Ovares
52491d4fca
* It's probably safe to remove the 'Warning Duplicate packet detected Packet Dropping.' message
2008-06-03 05:44:28 +00:00
Sean Dague
5f6b26d9ba
provide slightly more sane defaults in the file based asset loader
2008-06-02 20:28:26 +00:00
Sean Dague
7f6fcdc77b
remove the prolog parser from all LSL/C# scripts (it was adding overhead
...
to every script in most environments). This will break prolog
support. Prolog code needs to generate it's template script more like
how javascript does.
2008-06-02 20:27:40 +00:00
Teravus Ovares
1f2ad8c525
* Fixed default ports on the MessagingServer config.
2008-06-02 18:22:15 +00:00
Justin Clarke Casey
615e64696f
* experimental: Once we've received all the required assets from the asset service, launch the actual writing of the archive on a separate thread (to stop tieing up the asset cache received notifier thread)
2008-06-02 17:54:43 +00:00
Justin Clarke Casey
4453c8bc5c
* experimental: Make OpenSim archiver save and reload all prim textures when not all faces have the same texture
2008-06-02 17:23:13 +00:00
Teravus Ovares
f6ac7f7f61
* Submitting 3 files for the messagingserver that I've kept to myself.
2008-06-02 16:37:28 +00:00
Justin Clarke Casey
a1395b90be
* Add 'show version' help information into base OpenSim server
2008-06-02 16:28:04 +00:00
Teravus Ovares
3991908db5
* This update enables grid wide presence updates.
...
* You'll need to start-up the MessageingServer and set it up. It sets up like any of the other grid servers.
* All user presence data is kept in memory for speed, while the agent is online. That means if you shutdown the messaging server or the messaging server crashes, it forgets who's online/offline.
* Occasionally the region-cache will get stale if regions move around a lot. if it gets stale, run clear-cache on the messaging server console to clear the region cache.
2008-06-02 16:16:07 +00:00
Teravus Ovares
42c5dca989
* Fixes a bug saving the current sun phase to the estate_settings file.
2008-06-02 10:01:02 +00:00
Dr Scofield
1fb16688d1
cleanup: uncommenting null-op else tree in TaskInventoryItem.cs
2008-06-02 08:43:05 +00:00
Teravus Ovares
832d609b44
PATCH : 0001431: corrections to torus physical mesh for default hollow shape and taper orientation along path.
...
--------- From Dahlia! Thanks Dahlia!!!
the attached patch reinstates the default hollow shape of the physics mesh of the torus prim type and corrects the orientation of the effects of taper on the profile along the path.
2008-06-02 08:31:34 +00:00
Teravus Ovares
c0f631dbdb
* While I couldn't reproduce it, I was able to see how it *might* happen, so therefore; fix to: 0001058: Physics crash when changing Type of Prim intersecting with ground.
2008-06-02 08:13:13 +00:00
Teravus Ovares
e0b821f875
* This enables grid-wide instant messaging in a peer to peer with tracker style way over XMLRPC.
...
* Friend status updates are still only local, so you still won't know before instant messaging someone if they're online.
* The server each user is on and the user server must be updated or the instant message won't get to the destination.
2008-06-01 14:13:29 +00:00
Teravus Ovares
d20cae2d03
* Committing more unfinished stuff. Nothing significant at the moment. IM related.
2008-06-01 10:05:22 +00:00
Teravus Ovares
52c55c8c23
* Applying Dahlia's patch : 0001429: Patch to fix prism physical mesh and add path start and end to skew z offset of circular path prim meshes (PATCH attached)
...
* Apparently this fixed a bug in my code that caused PushX to appear to work and pushX didn't appear to work after the patch.. so I fixed that after applying this patch and PushX actually works now.
2008-06-01 04:33:07 +00:00
Jeff Ames
d22a54a195
Update svn properties.
2008-06-01 03:01:33 +00:00
Teravus Ovares
ff6c89f199
* Committing some stuff I'm working to make it so I can commit an upcoming patch from Dahlia. IM type stuff. No big deal, not done.
2008-06-01 02:43:50 +00:00
Justin Clarke Casey
fbaeb081aa
* Move most bookending startup/shutdown messages to BaseOpenSimServer so they appear in non-console servers too
2008-06-01 02:02:20 +00:00
Justin Clarke Casey
15d41c2fc2
* Fix build break by eliminating remaining IScenePermissions references - must remember to nant clean
...
* Hook all server startups into base opensim server startup method
2008-06-01 01:34:46 +00:00
Justin Clarke Casey
0392b4fdc3
* Put IScenePermissions out of its misery
2008-06-01 01:25:03 +00:00
Justin Clarke Casey
45fef8589d
* Move log version printing up into BaseOpenSimServer
2008-06-01 01:22:19 +00:00
Justin Clarke Casey
8e1d338656
* Refactor: Split opensim background server into a separate class
2008-06-01 01:01:16 +00:00
Teravus Ovares
65db9eadef
* Updates permission module so that GenericCommunicationPermission returns true. Instant messages, inventory transfers use this.. and it was always returning false.
2008-06-01 00:37:44 +00:00
Justin Clarke Casey
0c21f90ba7
* Duh, actually returning from the CreateAsset method once we know the asset exists would be better than carrying on
2008-05-31 21:54:13 +00:00
Justin Clarke Casey
7752211376
* Remove the mysql logging noise I accidentally left in a few commits ago
2008-05-31 21:53:17 +00:00
Justin Clarke Casey
8bc5cbb2bc
* Enable loading of textures in OpenSim archives with load-oar/save-oar
...
* Right now, this only saves and reloads textures that have been applied to the entire prim (not ones which have been applied to individual faces).
* This is work in progress - it is currently experimental, hacky, inefficient, completely unsupported and liable to change rapidly at short notice :)
2008-05-31 21:48:14 +00:00
Justin Clarke Casey
d703e2004f
* Change MySQL to check whether an asset already exists before inserting it into the database
2008-05-31 21:44:57 +00:00
Justin Clarke Casey
161dfe9b68
* minor: comment out old debugging messages in task inventory item restoration routines
2008-05-31 21:21:46 +00:00
Justin Clarke Casey
abaf8e7a37
* Put in preparatory code to restore whole prim textures on archive load
...
* No user functionality yet
2008-05-31 21:20:04 +00:00
Charles Krinke
47cc1fcf46
Mantis#1428. Thank you kindly, fdg for a patch that solves:
...
When you copy an item in inventory and paste it, the name gets lost.
Also when you use "Save as" in the Appearance Editing window the
created item in inventory has always the name "New <item-type>",
regardless of what you typed in as name.
2008-05-31 20:47:14 +00:00
Justin Clarke Casey
8cb5ec5fdd
* Make version information common to all servers
...
* Now all servers respond to the "show version" command on the console
2008-05-31 20:35:12 +00:00
lbsa71
ce234eee37
* Made UpdateUserCurrentRegion a bit more forgiving.
2008-05-31 20:01:09 +00:00
Justin Clarke Casey
01f933c273
* Propogate OpenSimMain hack to stop mono-addins scanning warnings to the grid managing
...
* This hack just temporarily sends console output to /dev/null when we make the relevant addins calls, restoring it afterwards
2008-05-31 19:13:38 +00:00
lbsa71
7f9967d310
* Enabled the Yield Prolog Script Engine
2008-05-31 18:47:26 +00:00
Justin Clarke Casey
5873ad3760
* minor: Add copyright statement
2008-05-31 18:43:19 +00:00
Justin Clarke Casey
6e5b416d14
* Remove rogue ? to get things compiling again
2008-05-31 18:36:45 +00:00
Charles Krinke
25b7d9944d
Mantis#1314. Thank you kindly, Kinoc for YieldProlog.
...
I have added everything *except* the patch to
.../LSL/Compiler.cs. The Compiler.cs patch has a
namespace issue. Lets make a second patch to close
the gap.
2008-05-31 17:52:44 +00:00
Teravus Ovares
febe78d062
* Implements UserServer logoff in a few situations
...
* User tries to log-in but is already logged in. Userserver will send message to simulator user was in to log the user out there.
* From the UserServer, admin types 'logoff-user firstname lastname message'.
* Some regions may not get the message because they're not updated yet.
2008-05-31 12:18:29 +00:00
Charles Krinke
f2f183b307
Mantis#1425. Thank you kindly, Melanie for a patch that:
...
0001425: [PATCH] Correct llResetOtherScript() behavoir in XEngine
2008-05-31 00:45:37 +00:00
Teravus Ovares
2d540514f4
* If you check fixed sun, in the estate tools 'terrain tab', the sun will fix in the location you set. (however the checkbox doesn't get re-populated properly yet, so it'll uncheck again even though the message got through to the server)
2008-05-30 23:53:20 +00:00
Teravus Ovares
f433927722
* You can set the sun phase via the estate tools now. It doesn't persist across reboots though.
2008-05-30 23:41:51 +00:00
Justin Clarke Casey
bc56efd1d2
* Hook up archive loading to load in prim xml data
...
* This now has equivalent functionality to load-xml2 - no asset data is restored yet
2008-05-30 18:32:18 +00:00
Justin Clarke Casey
83f390e421
* Refactor: Change multiple requests for a module interface to use a stored reference instead.
2008-05-30 18:01:28 +00:00
Justin Clarke Casey
4f237f3ae3
* Crudely migrate SceneXmlLoader into the Serializer module
2008-05-30 17:52:14 +00:00
Charles Krinke
84b4158205
Mantis#1422. Thank you kindly, Xantor for your llLoopSound()
...
patch and I apologize for my confusion with the interim
patch earlier.
2008-05-30 16:37:17 +00:00
Justin Clarke Casey
6265ea371e
* Stop the IRC module throwing a nre on shutdown if it isn't actually being used
2008-05-30 16:16:03 +00:00
Justin Clarke Casey
ea4982e453
* Successfully pick out prims.xml file from archive
2008-05-30 16:08:28 +00:00
Charles Krinke
48d0084e53
Mantis#1422. Thank you kindly, Xantor for a patch that :
...
- volume doesn't change with a new llLoopSound(same sound, new volume);
- SendFullUpdateToClients sends 0's in all sound related fields when
there's no sound on the prim, thereby improving the amount of data being
sent out on these prims (fixes zeropack)
- Removed some code duplication between llStartSound, llLoopSound and llParticleSystem() calls
2008-05-30 15:34:54 +00:00
Justin Clarke Casey
f26eeab3d4
* Read all files from tar archive
...
* No reload functionality implemented yet
2008-05-30 15:18:40 +00:00
Dr Scofield
9590e671e6
while investigating why IRCBridgeModule.Close() was having no effect, i
...
noticed that Scene.Close() will only call Close on non-shared region
modules. i've now added code to SceneManager.Close() to collect all
shared region module from each scene before calling Scene.Close()
on it and then, once, all Scenes are closed, go through the list of
collected shared region modules and close them as well. SceneManager.Close()
is only called when we initiate a shutdown --- i've verified that a
Scene restart does not trigger the shutdown of shared modules :-)
also, this adds a couple of bug fixes to the IRCBridgeModule (which
after all didn't take kindly to being closed) as well as a check to
InterregionModule's Close() call.
finally, this fixes the RestPlugin's XmlWriter so that it no longer
includes the "xsd=..." and "xsi=..." junk.
2008-05-30 12:29:30 +00:00
Teravus Ovares
1a47ff8094
* This is Melanie's XEngine script engine. I've not tested this real well, however, it's confirmed to compile and OpenSimulator to run successfully without this script engine active.
2008-05-30 12:27:06 +00:00
Teravus Ovares
334d05db05
* Fixed a dangling event hook that I added.
...
* Added a Non-finite avatar position reset. This will either handle the <0,0,0> avatar gracefully, or send the avatar to 127,127,127 if that also doesn't work. ( I've only been able to reproduce this error once on my development workstation )
2008-05-30 11:25:21 +00:00
Jeff Ames
0462510956
Update svn properties. Formatting cleanup.
2008-05-30 08:35:57 +00:00
Dr Scofield
5b0d47dddb
thanks krtaylor for a
...
Patch to cleanup some incorrect parsing, boundry conditions
and error checking in the llGetNotecardLine and
llGetNumberOfNotecardLines functions.
2008-05-30 07:38:45 +00:00
Teravus Ovares
d2aa2be788
* Added helper method to the Sun module to Get the Linden hour based on the math in the sun module. This populates the sun phase slider on the terrain tab in the estate tools according to the current sun phase. Display purposes only for now. Need to go the other way for setting the sun phase based on the linden hour in the estate tools.
2008-05-30 05:25:50 +00:00
Teravus Ovares
cdfb1f3623
* Updated sun module to only send sun updates to root agents. Because it was sending updates to both root and child agents, you'll still get sun jitter until this revision is adopted by every region nearby.
2008-05-30 00:48:57 +00:00
Teravus Ovares
9cefda83d6
* Caches UUIDName requests
...
* Looks up UUIDNames for script time and colliders in a separate thread.
* Hopefully this'll allow you to look at top scripts on a region that has a lot of scripts without crashing your client thread.
2008-05-29 23:36:37 +00:00
Teravus Ovares
45c6523904
* Fixes a few taper/top-sheer situations that were previously having issues.
2008-05-29 20:50:38 +00:00
Teravus Ovares
918f887c0c
* Applying Dahlia's interim path curve patch. it adds initial support for some tori/ring parameters. Thanks Dahlia!
...
* Some situations do not match the client's render of the tori, we know and are working on it. This is an initial support patch, so expect it to not be exact.
* Some tapers are acting slightly odd. Will fix.
2008-05-29 20:20:50 +00:00
Charles Krinke
e2361548cb
Mantis#1416. Thank you very much, Melanie for a patch that:
...
Createa a method to find out if a prim inventory contains scripts
2008-05-29 19:09:21 +00:00
Teravus Ovares
61c7130341
* Ruling out another potential cause of zombie-ism
2008-05-29 16:36:11 +00:00
Teravus Ovares
83bd85ce7f
* Fix string literal with URL + LLcommand();
...
* Added 'detected around: value' when a x.Y detect occurs to help debug.
* Fixed object text is too long to store to the database (wikilith)
2008-05-29 16:21:41 +00:00
Dr Scofield
d7ec686691
this is a snapshot of the OSHttpServer work-in-progress. it's an initial skeleton,
...
far from complete, just want to check in early and often.
2008-05-29 15:46:54 +00:00
Sean Dague
22c7845e0c
attempting to get to the bottom of unresponsive grids servers by
...
adding back in a few messages on exceptions.
2008-05-29 15:01:26 +00:00
Charles Krinke
a84456c239
Mantis#1411. Thank you kindly for Dataserver.cs and a patch
...
that adds function stub to request region info by name and
adds llRequestSimulatorData() and the dataserver event
2008-05-29 13:55:02 +00:00
Dr Scofield
c2925dcd40
cleaning up returned XML REST doclet (no more xsi, xsd)
2008-05-29 13:55:01 +00:00
Charles Krinke
91b75eda85
Mantis#852. Thank you kindly, cmickeyb for a patch that:
...
There appears to be a problem with the mapping of scripts when an llHTTPRequest completes.
CheckHttpRequests() looks for a function that maps to the localID associated with the http
request. However, the only context in which it looks is that of the first region. That is,
m_CmdManager.m_ScriptEngine.m_ScriptManager is the same no matter where the script executed
that initiated the llHTTPRequest. Since scripts appear to be loaded into a region specific
scriptmanager on startup, the event handler is only found for requests coming from the first region.
2008-05-29 13:42:29 +00:00
Teravus Ovares
3e0244c633
* Added a child agent check to the ChildAgentData Update to make sure that you're a child agent before applying the changes from the grid comms. Doing this to rule it out as a source of a few bugs such as the Zombie bug and the Express Train to 0,0,0 bug.
2008-05-29 02:14:27 +00:00
Adam Frisby
3c47fd2cb2
* Fixed a slight issue with the LLRAW exporter.
...
* Linden uses a neutral height channel of 128.0 on their multiplier. OpenSim was using a neutral of 127.0 - this has been changed to 128.0, this may cause files exported to the .RAW format to look slightly different when loaded back in - it is highly recommended to use the R32 format instead which avoids these sorts of issues.
* Made a tweak to the Terrain Plugin loading process.
2008-05-28 23:52:24 +00:00
mingchen
1d38510bd2
*Added a Few External Checks relating to scripts including the seperation of runscript into 3 different situations (Rez, start stop)
2008-05-28 23:20:01 +00:00
Sean Dague
b0be8075cd
From: Kurt Taylor <krtaylor@us.ibm.com>
...
Attached is an initial implementation of llGetNotecardLine and
llGetNumberOfNotecardLines. I decided to go ahead an send these out for
comment while I continue to work on the second part of the proper
implementation. These functions work and return the values requested, as
initially defined in the code, but should be properly implemented to return
the requested information via a dataserver event. This
event will be added and these functions fixed and included in a second
patch shortly.
2008-05-28 21:43:41 +00:00
Sean Dague
858ddfa605
update the nhibernate inventory item base definition
2008-05-28 19:40:42 +00:00
Sean Dague
11d83cb737
actually user the database_connect string for mysql.
...
This means you can run all the OpenSim grid services without
needing a mysql_connection.ini
2008-05-28 18:12:32 +00:00
Sean Dague
89c164fbc1
let Grid Servers specify a connect string in their configuration.
2008-05-28 17:59:46 +00:00
Justin Clarke Casey
a8b8bacf28
* Minor: Another small log adjustment
2008-05-28 17:56:00 +00:00
Justin Clarke Casey
45b26d4540
* Minor: Log message clean up in archiver code
2008-05-28 17:54:12 +00:00
Justin Clarke Casey
fb91a1aa49
* Put in stubs for "load-oar" command, including ultra-primitive temporary tar loading code
...
* Currently as a test, this will successfully load only the first file of an opensim archive and do absolutely nothing with it
2008-05-28 17:49:34 +00:00
Sean Dague
c4868b0eda
spring cleaning, remove a bit of db4o grid server
...
code that was still in tree.
2008-05-28 17:35:34 +00:00
Justin Clarke Casey
51a43b30a2
* Put textures into a separate assets/ directory in the opensim archive
...
* Fix nre where the asset couldn't be found
* Not ready yet
2008-05-28 16:37:43 +00:00
Sean Dague
7ddf183da4
remove terrain bloat, only keep last terrain revision
...
for mysql. For active terraformers this should return
a lot of database space.
2008-05-28 15:02:04 +00:00
Sean Dague
a28a6e9aaa
remove an erroneous line to fetch the terrain table in a way that
...
isn't actually used.
2008-05-28 14:57:24 +00:00
Charles Krinke
06147d0492
Mantis#1406. Thank you kindly, Xantor for a patch that:
...
llLoopSound sends out one packet to clients in view, so it doesn't work anymore
when clients enter later on, or the prim is modified in any way.
Solution: Stored sound data on prim, send full update instead.
llStartSound and llLoopSound now accept both LLUUIDs to a sound as well as object
inventory sound names. llStopSound clears prim data and sends full update.
2008-05-28 14:03:08 +00:00
Charles Krinke
de43c2db57
Mantis#1398. Thank you kindly, cmickeyb for a patch that:
...
small patch to encode and send the outbound_body parameter
in an http request. this enables post messages to send a body
2008-05-28 13:56:15 +00:00
Teravus Ovares
715fbecd79
* Implements duplicate packet tracking. This virtually eliminates object duplication causing 2-3 duplicates depending on the UDP connection quality. This also eliminates duplicated chat, etc.
...
* It's verbose currently since this is new. You'll see: [CLIENT]: Warning Duplicate packet detected X Dropping. After this is sufficiently tested we'll remove that m_log.info line.
2008-05-28 08:40:22 +00:00
Jeff Ames
5752c1f5c2
Formatting cleanup.
2008-05-28 03:44:49 +00:00
Charles Krinke
e34f537a1a
Thank you kindly, Melanie for a patch that:
...
When renaming items in task inventory, they become useless. Fix attached
2008-05-28 02:47:24 +00:00
Charles Krinke
82e3698f59
Thank you very much, ChrisIndigo for a patch that:
...
If a script updates an object to the same position or rotation offset,
the object triggers an update and storage of the object. This become
more prevalent in sensor and timer events which may be firing frequently.
2008-05-28 02:10:16 +00:00
mingchen
00751ab6f1
*Hiding the warnings about scanning assemblies when initialising
2008-05-28 02:07:43 +00:00
Charles Krinke
6d51eef9ce
Thank you, Grumly57 kindly for:
...
This patch proposes a new function : osOpenRemoteDataChannel(key channeID)
that allow to open an XMLRPC channel for remote_data event. The difference
is that the channelID can be customized instead of being randomly generated.
2008-05-28 02:06:56 +00:00
Charles Krinke
5f2b8fd5e1
Thank you kindly, Melanie for a patch that adds a two-stage
...
check. It seems there may be a race. For me, this patch,
just as it is here, fixes it.
2008-05-28 02:00:43 +00:00
Teravus Ovares
fb1c7e62d2
* Resolves comment removal in string literals in the LSL2CSConverter
2008-05-28 01:47:33 +00:00
Jeff Ames
efeba85662
Change a couple Windows directory separators in SVN module to be platform agnostic.
2008-05-28 00:35:10 +00:00
Jeff Ames
eed2f7ac18
Update svn properties. Fix inconsistent newlines.
2008-05-28 00:26:00 +00:00
Justin Clarke Casey
fdf4de419f
* Include prims.xml file in archive
2008-05-27 23:29:59 +00:00
Justin Clarke Casey
e116c94482
* Add .jp2 extension to archived textures
2008-05-27 23:20:53 +00:00
Justin Clarke Casey
69fdd0d3e8
* Write prim archives out as v7 tar files temporarily for testing purposes - not even gzipping yet!
...
* Using hacked up code to create the correct tar archive headers - this stuff should really go away again before too long
* No user functionality yet
2008-05-27 22:49:34 +00:00
Sean Dague
46d91df2a8
another take on the whole string cleansing, by adding specific poison
...
keywords in foo.bar strings. Add items to the poison array to block them.
2008-05-27 22:25:14 +00:00
Adam Frisby
7a77a069dd
* Added new InstallPlugin interface to ITerrainModule.
...
* This is to allow other region modules to install Terrain Effects.
2008-05-27 21:06:48 +00:00
Teravus Ovares
1487699045
* Revert last commit as it opens sim owners up to all sorts of nasty scripts.
...
* If the regex that we're using isn't good enough, we really need to make it better.
2008-05-27 19:07:57 +00:00
Sean Dague
e436120d60
comment out the x.y security check in the script engine because it's so aggressive
...
it blocks string = "http://osgrid.org ", amoung other things.
2008-05-27 18:40:49 +00:00
Charles Krinke
e2e692c583
Thank you kindly, Melanie for a patch that adds:
...
GetSerializationData() and CreateFromData() methods
2008-05-27 14:36:23 +00:00
Justin Clarke Casey
64821ac0a1
* Implement asynchronous assets request for archiving
...
* No user functionality yet
2008-05-27 14:21:32 +00:00
Charles Krinke
2cea74181a
Thank you very much, Xantor for a patch that:
...
If a request is made for an asset which is not in the cache yet,
but has already been requested by something else, queue up the
callbacks on that requester instead of swamping the asset server
with multiple requests for the same asset.
2008-05-27 13:40:00 +00:00
Dr Scofield
1d3d739da4
fixes a CTB when IRCBridgeModule is not configured.
2008-05-27 13:16:44 +00:00
Dr Scofield
34f1741866
cleaning up: coding style guidelines violation in RestPlugin.cs.
...
adding support for enabled = true|false for IRCBridgeModule
2008-05-27 12:24:29 +00:00
Dr Scofield
077c6b816b
updating URL for LSL status.
2008-05-27 08:42:48 +00:00
Dr Scofield
a2f8f58f7d
I'm dropping the ISimChat interface as that has now been
...
replaced by EventManager events.
also, i've added instructions to README.txt about running
runprebuild.sh and on how to report bugs.
plus some minor fixes (dropping m_log statement left over
from debugging llOwnerSay, nicer catch of exception in
IRCBridgeModule
2008-05-27 08:21:59 +00:00
Adam Frisby
392375d34b
* Assigns a random UUID to a region if the Sim UUID is null.
2008-05-26 22:11:56 +00:00
Adam Frisby
77281ed85c
* Potential fix for Mantis#167, 332 - MySQL Thread collision.
2008-05-26 21:53:32 +00:00
Adam Frisby
de06c85259
* Patch from jhurliman - Implements a binary search in the LLRAW exporter which dramatically speeds up exports.
2008-05-26 21:39:01 +00:00
Charles Krinke
ed717ec181
Thank you kindly, Melanie for a patch for script reset
...
that creates the event handler chain ready to hook by script engines
2008-05-26 16:16:48 +00:00
Dr Scofield
30a9469757
disabling m_log again.
2008-05-26 15:53:04 +00:00
Dr Scofield
1bb1d5d9b0
This cleans up a merge mess from the earlier checkin and implements llOwnerSay()
...
via the newly created Scene.SimBroadcast() call.
2008-05-26 15:37:31 +00:00
Dr Scofield
42cdf3c240
Adding OnChatBroadcast event logic to EventManager providing
...
a clean interface for Sim broadcasts. Added SimBroadcast support to
ChatModule.
Removing all code from IRCBridgeModule dealing with agent/client directly.
Cleaning up ChatModule.
Polishing IRC messages, adding support for "/me" (both directions).
2008-05-26 11:56:04 +00:00
Justin Clarke Casey
bf7c557f57
* Minor: method documentation fiddling in SceneObjectGroup
2008-05-26 02:17:03 +00:00
Justin Clarke Casey
0719c87b83
* Break out baby archiving code into separate class ready for async asset requesting
...
* No user functionality yet
2008-05-26 02:12:32 +00:00
Justin Clarke Casey
5c8a93c426
* Extract and boil down necessary texture UUIDs for an archive of the scene prims
...
* no user functionality yet
2008-05-26 01:50:40 +00:00
Justin Clarke Casey
d500209da0
* Refactor: Where possible, change visibility on InnerScene methods to protected internal on the basis that they shouldn't be manipulated by outsiders
2008-05-26 01:06:50 +00:00
Justin Clarke Casey
a28ca7b78b
* Refactor: remove code duplication between add ScenePresence methods in InnerScene
2008-05-26 00:47:36 +00:00
Justin Clarke Casey
73a28a56da
* Refactor: Separate out RemoveScenePresence and add into InnerScene to match existing AddScenePresence
2008-05-26 00:38:04 +00:00
Jeff Ames
5d77625e9a
Update svn properties. Formatting cleanup.
2008-05-25 23:27:38 +00:00
Teravus Ovares
c20f7d6171
* A hacky Top Scripts display. It isn't accurate as far as ms accounting, however you can use it to help find out what scripts are causing your simulator to cry.
...
* Access it from the Estate tools/Debug tab.
2008-05-25 20:50:45 +00:00
Charles Krinke
76a3bde76e
Thank you very much, Melanie for a patch that:
...
If the m_controllingClient member if a ScenePresence is
null, that would cause a CTB. This patch fixes it.
2008-05-25 19:29:25 +00:00
Charles Krinke
83bfd29af8
Thank you very much, Xantor for a patch that:
...
Copying, reseting, dragging scripts cause unnecessary recompilation,
slowing down the simulator and filling up the ScriptEngines directory
with compiled .dll and misc. files.
This patch keeps track of compiled assets since the last simulator restarts,
and only recompiles new assets. (editing a script generates a new asset,
so no problems there).
2008-05-25 19:26:21 +00:00
Charles Krinke
36b8196f7a
Thank you kindly, Tiffany for a patch that helps:
...
Drag copy a prim and the prim that is moved, persists.
The prim that is created does not survive a restart.
2008-05-25 19:21:21 +00:00
Charles Krinke
5ac682ddf9
Thank you kindly, Grumly57 for a patch to improve
...
XMLRPCModule.cs: RemoteDataReply() and XMLRpcResponse()
2008-05-25 17:58:10 +00:00
Teravus Ovares
042c9ed4d8
* Adds Top Colliders when using ODE. Access it from the estate tools/debug tab.
2008-05-25 11:22:05 +00:00
Teravus Ovares
29092d3999
* phantom sculpties don't request the sculpt texture anymore.
2008-05-25 04:15:32 +00:00
Teravus Ovares
c29409dc24
* Yet another way to optimize the sculpt mesh generator
2008-05-25 02:56:00 +00:00
Teravus Ovares
f57cb17494
* kill a potentially large float array.
2008-05-25 02:50:17 +00:00
Teravus Ovares
d3b013be1c
* Releases Pinned vertex/index list in ODE on next mesh request.
2008-05-25 02:39:58 +00:00
Justin Clarke Casey
86c46e92cd
* Disabling isSelected check on object persistence backup (at least temporarily), since it appears we sometimes either don't receive or don't register deselect packets when
...
prims are shift copied.
* A better long term solution may be to address the problem of why we're not always seeing the deselects
2008-05-25 01:09:14 +00:00
Justin Clarke Casey
bc92d72828
* Refactor: Collapses parts of different code paths in scene used when deleting and unlinking an object
2008-05-25 00:09:08 +00:00
Justin Clarke Casey
0ee69707ea
* Refactor: Collapse some multiple remove object paths
...
* Push some delete functionality into InnerScene to match what's already there for adding objects
2008-05-24 23:11:07 +00:00
Justin Clarke Casey
10564469c8
* Refactor: Remove some unused methods in Scene/InnerScene
2008-05-24 22:48:21 +00:00
Justin Clarke Casey
f3067ce6f9
* Refactor: Change previous commits Object methods to SceneObject methods instead, on the basis that this is less likely to cause confusion with c#'s base object type
2008-05-24 22:45:13 +00:00
Justin Clarke Casey
79eecd3d25
* Refactor: Renaming various *Entity*() methods to *Object*() methods on the basis that they all take SOG parameters to improve code readability for now
2008-05-24 22:10:14 +00:00
Justin Clarke Casey
42693f3b20
* Refactor: Push some dictionary initialization down from Scene into InnerScene
2008-05-24 21:57:00 +00:00
Justin Clarke Casey
d53db1d69b
* Refactor: Make some inner scene dictionaries internal rather than public
2008-05-24 21:36:27 +00:00
Teravus Ovares
cd79be569c
* Fixes endless loop in the Land Module when selecting any object.
...
* Fixes returning objects when the object owner hasn't been in the simulator since the simulator started up last.
2008-05-24 21:13:44 +00:00
Justin Clarke Casey
dd4100db4c
* Get the xml2 entities serialization representation in the archiver module
...
* Not yet reusing serialization module - this will happen in the future
* No user functionality yet
2008-05-24 19:21:57 +00:00
Justin Clarke Casey
58e71b8507
* If the SVN build version is not available, state this in the About box explicitly, rather than leaving it out completely and possible engendering confusion
2008-05-24 18:27:57 +00:00
Justin Clarke Casey
e5e666bb41
* Bump reported svn trunk revision number up to 0.5.7
2008-05-24 18:21:28 +00:00
Justin Clarke Casey
0b7f82153b
* Temporary fix for mantis 1374
...
* If the agent throttle byte array is unexpectedly empty, then log a warning and drop the packet
2008-05-24 18:17:31 +00:00
Teravus Ovares
375673ec90
This enables return from the parcel object owner display.
...
There's some oddness with the parcel counts, but if you can get past the oddness, you can return objects under an owner that you have permission to return.
2008-05-24 11:10:21 +00:00
Teravus Ovares
3965fa2ff3
* Implements selected object return.
...
* If user is in the same sim with you, they'll get an inventory update, if not.... oh well, they'll have to clear their cache potentially before they'll see it.
2008-05-24 09:40:14 +00:00
Teravus Ovares
c98fb26789
* an attempt to resolve the teleport + attachment = crash
2008-05-24 03:19:57 +00:00
Dr Scofield
b3e413bef7
forgot to actually remove IRCBridgeModule.FindClientRegion()
2008-05-23 16:10:11 +00:00
Dr Scofield
09188d5d10
IRCBridgeModule (and ChatModule before the refactoring) didn't succeed in
...
finding out which region a new avatar was logging in to; the same problem
occurred when the client/avatar logged out. the reason was mani-fold:
- Scene.AddNewClient(...) would call SubscribeToClientEvents(client)
which would subscribe to all client events and then call
TriggerOnNewClient(...) BEFORE the ScenePresence object had even been
created and added. i've moved the TriggerOnNewClient() call to the
end of Scene.AddNewClient()
- Scene.AddNewClient(...) is called with child == true; a later call
to ScenePresence.MakeRootAgent() will turn child to false. When
OnNewClient is triggered, child is still true, causing IRCBridgeModule's
FindClientRegion to ignore the ScenePresence of the new avatar.
i've changed IRCBridgeModule to still use OnNewClient and also OnLogout
and OnConnectionClosed but only to signal that the avatar has logged on
(logged off respectively). to track whether an avatar has actually entered
a region i've added EventManager.OnMakeRootAgent (complementing
OnMakeChildAgent).
also, i've cleaned up the internal IRCModule code a bit. currently it
still uses IClientAPI.SendChatMessage() which replicates the code in
ChatModule, that needs to be changed to use TriggerOnChatFromWorld().
2008-05-23 16:07:47 +00:00
mingchen
d04443b4fe
*Refactor of the LandManagementModule that allows OpenSim to run without it
2008-05-23 15:12:15 +00:00
Dr Scofield
bf23e5d66c
i've refactored the ChatModule into two modules: ChatModule and IRCBridgeModule.
...
ChatModule is now only doing in-world chat. IRCBridgeModule is only doing, well,
bridging chat to/from IRC. Both modules are now using a new OnChatFromWorld event
handler (which Scene.PacketHandler is feeding for chat from in-world instead of
going via the Interface method). This refactoring will allow us to easily add
other bridge modules (e.g., an XMPP bridge module).
there is still a bug in IRCBridgeModule (inherited from the old ChatModule)
where FindClientRegion does not really find the client region...
2008-05-23 10:24:26 +00:00
Charles Krinke
066b350d20
Thank you kindly, Melanie, for:
...
Nothing huge, but the new button code for producing
a new script does well, but the script will not allow
for name change once created. It reverts back to new script.
2008-05-23 02:45:52 +00:00
Charles Krinke
7dcaa409b3
Thank you kindly, Melanie, for a patch which:
...
Previously, upload charging was possible only for UPD uploads.
This is because UDP uploads are charged by the viewer, while in CAPS,
this was changed to be server side, so hackers couldn't avoid
paying the upload charge. This patch adds a method to allow
implementation of this serverside charge.
2008-05-23 01:38:20 +00:00
Justin Clarke Casey
8cde4a1c28
* minor: Remove unused variables causing warnings in Scene
2008-05-22 22:31:42 +00:00
Justin Clarke Casey
0c94da8305
* Plug in stubbed out archiver module
2008-05-22 22:21:58 +00:00
Justin Clarke Casey
4e33906973
* Add (DEPRECATED) to load-xml/save-xml region console help
2008-05-22 21:26:00 +00:00
Sean Dague
b27ae0e8dc
make VS compile Scene.cs
2008-05-22 20:59:40 +00:00
Sean Dague
1c49752a44
don't trust appearance assetid, instead do an inventory
...
lookup any time we get it from the server. This should
preventent unwearable appearance.
2008-05-22 20:07:31 +00:00
MW
811cd3e0bf
change to how initial terrain data is sent. Instead of sending the 64 packets in rapid fire as quickly as possible. The terrain data sending is now done in a threadpool worker thread over ~10 seconds with a thread.sleep between each packet sending. this hasn't been tested thoroughly, so it might not actually help with the atom bomb terrain (missing patches) but its a simple thing to revert if it makes things worse for anyone.
...
10 seconds is roughly the time between the region handshake completing and you being in world where you can see your avatar. So normally the terrain still should have loaded by time you get in the region, although it is possible that sometimes you might see the very end of the terrain load just after you arrive.
2008-05-22 19:44:57 +00:00
Teravus Ovares
c124bb58ec
* Limiting the Quaternion reset to x=y=z=w=0
2008-05-22 19:09:51 +00:00
Sean Dague
1ebc6bfd0a
add a lock on the update, this should have been there before.
...
still not convinced this will help, but it was wrong.
2008-05-22 18:31:47 +00:00
Sean Dague
36bfa66719
we should be return null in these 2 places, though this won't
...
help with the timeouts.
2008-05-22 17:55:28 +00:00
Sean Dague
fb120e3e23
catch case where avatar might have been child agent
2008-05-22 17:39:13 +00:00
Justin Clarke Casey
401e9bc3b9
* Documentation for load/save xml methods
...
* Insert the very rough beginning stubs for a save/load OpenSim archive facility that will load/save prim assets (textures & inventory) as well as the prim details themselves
(our existing xml facilities).
* This won't be ready for even rough testing for quite some time.
* I'm doing this directly in the region server for now since this will be quicker to get something working (hence giving me the Serotonin boost that I need). However, there are
very good arguments for later also including it (or moving it entirely) to the separate export executable which Sean stubbed out some time ago.
2008-05-22 17:09:33 +00:00
Dr Scofield
a97fa3f43e
changing more 'raw' HTTP status codes to OSHttpStatusCodes.
2008-05-22 12:59:42 +00:00
Adam Johnson
9915fa13fb
Fix for Mantis 1340. Thanks Melanie!
2008-05-22 12:21:34 +00:00
Adam Johnson
336c761ba0
Mantis 1357 Patch - Thanks mikem!
2008-05-22 12:07:47 +00:00
Dr Scofield
bdc792d319
here are further enhancements to the IHttpAgentHandler and to BaseHttpServer (from awebb)
...
i've added the OSHttpStatusCodes enumeration of HTTP status codes, have adapted
BaseHttpServer to use those.
then RestPlugin now has proper Failure handling returning proper HTTP status
codes. Regions/POSTHandler is work-in-progress.
2008-05-22 12:00:01 +00:00
Adam Johnson
f22a63bd1c
Added "show regions" to the CL help screen. Mantis 1123
2008-05-22 08:37:49 +00:00
Adam Johnson
5bfdb8c003
Adding basic show users functionality back in to console. Mantis 1212
2008-05-22 04:55:23 +00:00
Teravus Ovares
bdcfc2e322
* Prevent an error from stopping startup when decoding the sculpt mesh j2k fails.
2008-05-22 02:40:19 +00:00
Justin Clarke Casey
61bba6375c
* Fix mantis 1325. This is a minor issue where 'show assets' would not work fully in the region console
2008-05-22 00:49:17 +00:00
Justin Clarke Casey
1f57fd4bec
* Minor: Tidy ups and logging tweaks.
2008-05-22 00:41:03 +00:00
Justin Clarke Casey
203017f554
* Refactor: Move enhancement of version string with operating system information from Scene to OpenSimMain
...
* This also means the operating system info will show up in the region console (and hence the logs)
2008-05-22 00:32:04 +00:00
Justin Clarke Casey
2e758172f0
* Fix circular dependency from last checkin by passing version as a parameter to Scene rather than referencing VersionInfo directly
...
* Butt ugly solution
2008-05-22 00:18:33 +00:00
Justin Clarke Casey
9263f07d70
* Send VersionInfo string instead of the hardcoded Scene string to the "About Second Life" box
...
* This is the same string as printed out on the opensim region console at startup, so it should now include the svn revision number (if available)
* This dialog box takes an awful long time to come up on my local system - no idea why that is. However, that also seems to have been the case before this revision.
2008-05-21 23:52:02 +00:00
Justin Clarke Casey
cca1563a78
* Deprecate load-xml and save-xml in favour of load-xml2/save-xml2.
...
* Please file a mantis if you are not able to use load-xml2/save-xml2 but can successfully use load-xml/save-xml
2008-05-21 22:57:29 +00:00
Justin Clarke Casey
42ac35ba7d
* Provide relief for mantis 1263, 1202, 679
...
* If a caller attempts to set PrimitiveBaseShape.ProfileCurve with a HollowShape or ProfileShape component which is not a valid enum, a warning is spat out and a default shape
subtituted
* This does not solve any underlying problem if we're missing some enum values (though it's not obvious what these are), but it should allow save-xml2/load-xml2 to be used
without causing invalid enum value related exceptions. The checks will also guard against badly behaved clients.
* This change alters the order of shape values in the xml, since it appears properties are serialized after fields (at least this is the case in mono). .net native
deserialization can cope with this it appears, though people manipulating xml manually may need to adapt (if there are any).
* This may be a good argument against relying on .net [de]serialization for our xml format.
2008-05-21 22:17:28 +00:00
Teravus Ovares
c8857daf52
* Going to the C# syntactic sugar way of handling the backup event delegates.
2008-05-21 22:06:38 +00:00
Teravus Ovares
8afd93c943
* Sets backup bool volatile for extra protection against two backup processes running.
2008-05-21 21:47:03 +00:00
Teravus Ovares
5af108a029
* This update causes the backup process to run in a separate thread.
...
* Concurrency issues are resolved because each object makes a memory-only copy of itself and backs up the copy.
* Because of the way this is done, the latest at the time of the backup gets backed up (no functionality change)
* You can move *thousands of objects at a time* and the sim doesn't freeze and wait for the backup to complete.
* This can be enhanced more by dedicating the thread as opposed to starting it when the backup process starts.
2008-05-21 21:22:56 +00:00
Sean Dague
3e997772ea
implement in memory appearance cache for sqlite. This
...
isn't db backed, but will hang around between reboots.
2008-05-21 20:36:34 +00:00
Sean Dague
9389429ed3
Clean out some crufty in AvatarFactoryModule
...
Fix RequestUpdateInventoryItem so that asset changes
generate a new asset, which is needed for editing
appearance to do the right thing. Persistant appearance
seems to work after this, except you need to rebake textures
some times.
2008-05-21 20:18:40 +00:00
Sean Dague
53bcf2139e
this removes use of the mapper for wearables, and I can confirm things
...
get saved to the database. There are still issues on wearing things
after a cleared cache that I'm looking at now.
2008-05-21 18:02:09 +00:00
Teravus Ovares
0b719286a4
IZ QUATERNION NORMALIZE TO 0? NOWAI! KTHXBYE
2008-05-21 17:29:03 +00:00
Dr Scofield
aa348c4804
renaming GETRestRegionPlugin to GETHandler as that's what it really is.
2008-05-21 16:20:21 +00:00
Sean Dague
0e39250506
create some direct sql calls for appearance
2008-05-21 14:34:52 +00:00
Teravus Ovares
8217bbe484
* Fixed needing to alter your sculptie sometimes to get physics to generate a collision mesh for it.
...
* Sculpties load on startup reliably now and successfully generate a collision mesh as soon as the sculpt texture is available.
2008-05-21 05:46:32 +00:00
Sean Dague
e3efe1de16
attempt to fix mysql mapper usage
2008-05-20 22:37:18 +00:00
Sean Dague
70ada9181d
move SceneEvents.cs to EventManager.cs, as that's actually
...
the name of the contained class.
2008-05-20 20:39:44 +00:00
Dr Scofield
a53cea6b7e
i'm extending the RestStreamHandler.Handler(...) signature to actually
...
provide OSHttpRequest and OSHttpResponse to our REST handler.
also, this adds proper RestPlugin.IsGod() checking against the X-OpenSim-Godkey
HTTP request header.
last, i added XML doc comments to RestPlugin.cs
2008-05-20 16:51:45 +00:00
Sean Dague
185eff8d0d
From: Jeremy Bongio <jbongio@us.ibm.com>
...
House cleaning ...
Rather than using the variable name EntityList, the variable name
EntitieList was being used. Here's a patch to fix it.
2008-05-20 16:19:35 +00:00
Jeff Ames
535d64b66b
Add copyright notices.
...
Fix spelling typo (Thanks ChrisDown for pointing this out)
2008-05-20 15:38:49 +00:00
Dr Scofield
60ceef7ea2
my last "simplification" of the the if-then-else logic in BaseHttpServer placed the return in
...
the "if (request.UserAgent != null)" branch in the wrong place: as a result BaseHttpServer would not do
anything if the user agent header field was present....ARGH! BAAAAAAD.
2008-05-20 12:58:27 +00:00
Sean Dague
6d2f6be82b
autocreate appearance table if it isn't there
2008-05-19 21:47:31 +00:00
Sean Dague
419adadc46
prep for changes need to create the appearance tables
...
by default
2008-05-19 21:39:02 +00:00
Sean Dague
29fb93d243
fix a constant that meant pants still weren't working. now
...
you really can have pants.
2008-05-19 21:24:39 +00:00
Sean Dague
d1c4fc94e7
make the super class conveniance appearance stuff virtual
...
so they can be overrided correctly by subclasses
2008-05-19 20:49:57 +00:00
Sean Dague
7a52b35c57
fix crash in standalone mode for initial appearance setup
2008-05-19 20:33:54 +00:00
Charles Krinke
01b5425a2d
Thank you kindly, Melanie for a patch that avoids a null
...
ref in inventory give and also now causes items to appear
in the correct folders now, no longer in the root folder.
2008-05-19 20:05:10 +00:00
Sean Dague
9808f39b6f
i can haz pantz?
...
You sure can. This change set restores pants (and the rest of the
default appearance) in grid mode. The
root issue had to do with serializing multi-faced textures to the
grid server. This also restores the lookup path through the avatar
factory module, as that seems the reasonable place to have it live.
Some clean up patches are coming later as well, plus testing on
standalone, but this should be in a good kicking around state for
grid users.
2008-05-19 19:08:59 +00:00
Dr Scofield
4b622ec881
(from awebb)
...
Fixes a bug in BaseRequestHandler.
If the length of the patter is equal to, or greater than, the length of
the actual request path, then an exception is thrown. System using is
added to support use of String.Empty. Exception is used to ensure most
efficient operation on (assumed to be most common) successful case.
2008-05-19 18:30:25 +00:00
Dr Scofield
af46963176
i'm dropping VerifyGod() and adding IsGod(OSHttpRequest) instead, which actually now
...
takes a look at the HTTP request header and retrieves x-opensim-godkey (if it exists)
and compares that against the godkey from OpenSim.ini.
also, this makes AddStreamHandler() virtual so that it can be overridden.
2008-05-19 17:54:31 +00:00
Dr Scofield
3e8adc0d78
(from awebb)
...
This patch adds an additional handler to the existing BaseHttpServer.
It does not affect any of the existing behaviors except insofar as the
new handler may be selected.
It is selected first because its Agent-oriented nature means that it
should not be pre-empted. The new handler type is defined by IHttpAgentHandler
in Framework/Servers and has two interface methods: Match and Handle.
The Match function returns a boolean result based upon examination of
information presented in the User-Agent header.
The Handle function expects to get the request and response instances
associated with the flow. The handler is responsible for ALL activity
associated with the request except in the event of an unhandled exception,
in which case the HandleAgentRequest routine will generate a 500 status
message and close the stream.
There are two immediateley apparent (and VERY easy to implement)
improvements that could be made:
1. The Match call could be allowed to operate over the entire
request context., rather than just agent identity.
2. The Handler could return a boolean indication of whether or not
the request was actually handled, and if not, the remaining handler
mechanism could take a shot at it. This would eliminate issues
arising from pre-empted streams.
2008-05-19 17:35:29 +00:00
Jeff Ames
7b0ca6ea30
Attempt to fix incorrect animations when using ODE (bugs #1320 / #1321 )
2008-05-19 14:49:20 +00:00
Jeff Ames
259ddcfe1a
Update svn properties. Minor formatting cleanup.
2008-05-19 13:26:42 +00:00
Dr Scofield
4e93228e25
fixing exception when RestPlugin not configured. refactors RestRegionPlugin, adds error checking.
2008-05-19 11:52:51 +00:00
Dr Scofield
d725d1208b
adding OSHttpRequest and OSHttpResponse which wrap HttpListenerRequest and HttpListenerResponse respectively.
...
enhancing IStreamHandler and IStreamedHandler interfaces so that OSHttp{Request,Response} get passed in,
allowing RestHandlers to set response status code, redirections, etc.
2008-05-19 11:38:35 +00:00
Jeff Ames
dfe8e2c502
Rework some of the animation logic in an attempt to resolve #1318
2008-05-19 04:14:43 +00:00
Jeff Ames
6ec680918b
Formatting cleanup, minor refactoring. Fixed some comparisons of value types and null.
2008-05-18 23:06:50 +00:00
Jeff Ames
901e97f821
Update svn properties.
2008-05-18 21:54:13 +00:00
Teravus Ovares
e57c2b47a8
* This fixes the Sculpty seam. Unfortunately not all sculpties will survive. A tiny fraction of them will turn into a torus.
2008-05-18 21:05:48 +00:00
Justin Clarke Casey
f6add412d6
* Refactor: Eliminate empty if clause from AssetCache.GetAsset()
2008-05-18 19:56:25 +00:00
Justin Clarke Casey
682fc23e32
* minor: Just a few documentation odds and ends
2008-05-18 19:51:58 +00:00
Tedd Hansen
aa5b26a4d3
Cleanup: Removed LSOEngine source again as it will not be used.
2008-05-18 14:10:51 +00:00
Adam Frisby
c22b388f83
* Patch #1312 from Melanie - Abstracts Money Module to IMoneyModule.
2008-05-18 10:23:31 +00:00
Teravus Ovares
529553c77e
* Fixed a logic error in previous commit. Darn these long client(param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param); methods!
2008-05-18 03:32:17 +00:00
Teravus Ovares
2bd03b7c8c
* Group type stuff. Nothing spectacular. two packets, sorta almost semi half tiny amount implemented.
2008-05-18 03:21:22 +00:00
Charles Krinke
89056c492d
Thank you very kindly, Melanie for:
...
The money module witll register (claim) an interface slot,
even when disabled. This patch fixes it so that it will not
register to supply this interface unless it's activated.
2008-05-17 22:06:11 +00:00
Charles Krinke
4fde2e602c
Thank you kindly, KMeisthax for: Moving the PostInitialize() code to the
...
Initialize() section that runs when the module is grabbing config data.
This is run before any Providers are created and thus makes sure we don't
get any more startup crashes.
2008-05-17 21:05:08 +00:00
Teravus Ovares
74fb5e1a94
* whoops, misplaced / where should have been \
2008-05-17 18:48:06 +00:00
Teravus Ovares
6bcb0e8685
* Update on the script engine LSL parser. Blocks all static objects and method references.
2008-05-17 18:37:51 +00:00
Charles Krinke
f6a4f8844f
Thank you very much KMeisthax for DataSnapshot 1.1
...
to enhance search capability on OpenSim sims using
external search engines such as Metaversink.com and
others.
2008-05-17 15:47:08 +00:00
Sean Dague
06b1535ec5
while this doesn't fix the initial no pants issue in grid (which still baffles me)
...
it does make setting appearance in grid stick.
2008-05-17 12:45:43 +00:00
Teravus Ovares
fbc98ca537
0001303: [PATCH] Make prim owner and data show for prims not owned. From Melanie. Thanks Melanie!
2008-05-17 02:07:38 +00:00
Teravus Ovares
349a17f664
* Tweaked patch mantis 1302 and committing it.
2008-05-17 00:16:16 +00:00
Jeff Ames
a5f08b430d
Formatting cleanup.
2008-05-17 00:06:35 +00:00
Teravus Ovares
aa5197304e
* Committing patch from mantis 0001297: [PATCH] Fix behavior of child prim inventories. Also enables 'New Script' button. from Melanie. Thanks Melanie!
2008-05-16 23:11:00 +00:00
Sean Dague
ebb0cc5dd7
minor change to justin's previous fix that should still
...
prevent his crashes
2008-05-16 23:03:36 +00:00
Teravus Ovares
abc06daefd
* Patch from Melanie. Mantis 1294: Fix broken wearables icon display in prim inventories. From Melanie! Thanks Melanie.
2008-05-16 22:57:46 +00:00
Teravus Ovares
a510033df5
* Applying patch in mantis 0001293: [PATCH] Fix a bug that corrupts uploaded assets on disk write from Melane. Thanks Melanie!
2008-05-16 22:50:37 +00:00
Teravus Ovares
00a1f0bab0
* This finishes the ODE options section of the OpenSim.ini.example. I've added 44 configurable options!
...
* This includes if you want to mesh sculpties and the Level of detail on the sculptie meshing for non physical and a separate LOD on physical sculpties.
* The options range from gravity.. to avatar movement speed, to friction management.. to object density.. to update throttling.
2008-05-16 20:16:33 +00:00
Sean Dague
f99b4cbe3b
prime the wearables structure, which should fix the exception
...
FluxOne found.
2008-05-16 19:24:28 +00:00
Sean Dague
7e17a444f0
it helps when both sides of the xml-rpc server agree on the method names
2008-05-16 19:06:58 +00:00
Sean Dague
8a7ae313be
it helps to actually create the database if the connect
...
string is provided. My bad.
2008-05-16 18:43:53 +00:00
Sean Dague
843be1e93d
some more wrapping of errors in user service on appearance for
...
safety
2008-05-16 18:40:16 +00:00
Sean Dague
a5fb011041
in theory implement the backend of appearance for grid.
...
testers encouraged so I can track down issues.
2008-05-16 18:23:13 +00:00
Justin Clarke Casey
6812de9af2
* Minor: For no particularly good reason, make all console prompts conform to the same prompt scheme
2008-05-16 18:19:02 +00:00
Justin Clarke Casey
63ddbfb979
* Eliminate occurences of "Got a texture uuid ... with no sender object to handle it..." by properly dealing with the situation where a client still has queued texture requests when it logs out
2008-05-16 18:10:04 +00:00
Sean Dague
244c776487
front end of OGS1 Appearance bits. Now I need to write the
...
back end.
2008-05-16 18:02:20 +00:00
Justin Clarke Casey
c2581c9577
* Cache knowledge in the region server that the asset service has reported an asset to be missing
...
* This prevents repeated requests for the same missing asset to the asset server, hopefully reducing the load a little
2008-05-16 17:47:34 +00:00
Justin Clarke Casey
772f88d2e5
* Removing unnecessary LLUUID.Zero check from AssetCache
...
* This revision also includes a very temporary fix for the fact that NREs are received because of a missing avatar apperance in grid mode
2008-05-16 16:37:31 +00:00
Sean Dague
6a526fcb6f
add to / from hash mapping for grid serialization
2008-05-16 16:01:36 +00:00
Sean Dague
a3b10caa07
starting to put appearance into grid comms. now I know why
...
everyone hates OGS1
2008-05-16 14:48:09 +00:00
Sean Dague
0076ed40ff
in theory, this moves the appearance mapper to live
...
under the MySQLUserData. There is a lot of in theory here
so testing would be appreciated.
2008-05-16 14:30:25 +00:00
Sean Dague
e6d4c8f0c9
move AppearanceTableMapper to OpenSim.Data.Base. The mapper
...
stuff should probably be collapsed soon, as it takes up 4 assemblies
now.
2008-05-16 14:05:12 +00:00
Jeff Ames
7fefb80abb
Minor cleanup.
2008-05-16 13:33:57 +00:00
Jeff Ames
9040213366
Set svn:ignore. Minor formatting cleanup.
2008-05-16 05:30:39 +00:00
Jeff Ames
65c5efe43b
Formatting cleanup.
2008-05-16 01:22:11 +00:00
Charles Krinke
e25818d832
Thank you very much, mjm for :
...
Fixing LSL multiplication and division operators for quaternions
2008-05-16 00:56:55 +00:00
Sean Dague
fc77364972
appearance now survives logout. Tommorrow will involve moving
...
the MSSQL and MYSQL mappers back in under datastores and looking at doing
gid bits for this
2008-05-16 00:04:46 +00:00
Teravus Ovares
afd5da6851
* Adds various tweakable avatar control options to the OpenSim.ini.example.
2008-05-15 23:11:31 +00:00
Sean Dague
129e7e19c5
fixed the key issue that caused appearance to go wonky
2008-05-15 21:14:42 +00:00
Sean Dague
30202542c0
fix bad default initialization
2008-05-15 20:39:34 +00:00
Teravus Ovares
0976949ad4
* Committing half of patch mantis 001291 from Melanie! Thanks Melanie.
...
* Fixes perms on take-copy assuming you have a specific flag set.. which is still in discussion.
2008-05-15 20:29:28 +00:00
Sean Dague
4a9ee9f870
testing avatar appearance as a user service
2008-05-15 20:25:42 +00:00
Teravus Ovares
bbaf2fe75e
Committing Xantor's LLEuler3Rot still broken fix patch. Mantis 001235. Thanks Xantor!
2008-05-15 19:36:13 +00:00
Teravus Ovares
d60e457463
Committing patch from Melanie. 0001290: [PATCH] implement permissions propagation and script module hooks. Thanks Melanie!
...
* Implements quite a few inventory related perms.
* (from Teravus) Fixes Take Copy
2008-05-15 19:28:10 +00:00
Sean Dague
4ff4475d02
remove my UserAppearance object, switch all code to use
...
AvatarAppearance instead.
2008-05-15 18:42:27 +00:00
Sean Dague
c45218e275
add the rest of my UserAppearance created methods to
...
AvatarAppearance
2008-05-15 15:30:03 +00:00
Sean Dague
0c509ecdde
minor refactor of some properties for readability
2008-05-15 15:10:13 +00:00
Sean Dague
8e7f2d6d0e
refactoring to move AvatarAppearance into Framework and
...
move the appearance sending bits to ScenePresence
2008-05-15 14:39:54 +00:00
Sean Dague
3079cf7beb
add some additional bits to AvatarAppearance to make this
...
a more data friendly object
2008-05-15 14:15:51 +00:00
Sean Dague
0307ad1153
Damn, forgot to manually add these as I keep forgetting that
...
svn patches don't do adds. :(
2008-05-15 11:32:28 +00:00
Teravus Ovares
173d13b0a4
* Added about half of the planned ODE physics options to OpenSim.ini.example.
...
* Some will do cool things, some will make your scene explode dramatically if you're not careful.
2008-05-15 06:35:01 +00:00
Teravus Ovares
bc177b1c37
* Committing Patch mantis 0001275: [PATCH] Add more perms-fu. From Melanie. Thanks Melanie!
...
* Adds hooks in the permission module for CanReadScript, CanEditScript, CanCopyInventory, CanDeleteInventory, CanEditNotecard, CanViewNotecard, CanViewScript.. and a few more. The functionality in the default module returns true.
2008-05-15 03:14:48 +00:00
Teravus Ovares
66e6711f3e
* Got rid of an old crufty sleep that was being called. Thanks for your support in load testing Adam's simulator was what pointed this old crufty sleep out.
...
* Please, we need more load tests with profilers running. :D
2008-05-15 02:48:32 +00:00
Teravus Ovares
a4efa93993
* Comitting 0001271: [PATCH] Refactor permissions to fully allow stacking permissions modules. From Melanie. Thanks Melanie!
2008-05-14 23:25:07 +00:00
Teravus Ovares
2a988f187e
* Refactored IConfigSource into Physics plug-ins and Scene. We can get rid of some of the parameters we pass to it's constructor now like, 'm_allowPhysicalPrim', 'seeIntoOtherRegions', etc.. so on
...
* The main purpose of this is to provide configuration options for ODE and other physics plug-ins that are advanced enough to be able to be configured.
2008-05-14 23:15:25 +00:00
Justin Clarke Casey
e246d6e515
* Start recording as a statistic the number of times we start blocking repetitive client requests for the same missing texture
...
* This is to maintain some visibility on the problem, since I removed the intentionally irritating log messages for this
2008-05-14 23:09:17 +00:00
Justin Clarke Casey
1ef37b196c
* Minor: Fussy little wording change on inventory service failure
2008-05-14 22:30:43 +00:00
Justin Clarke Casey
1b90238f28
* Start recording initial complete avatar inventory retrieval failures from the region server
...
* In theory, this should be a somewhat useless statistic since the user server will already have tried to use the inventory service to retrieve the avatar's skeleton. If this
fails, login is halted completely.
* Nonetheless I'm recording it anyway just to see whether it happens (yes, I'm too lazy to scan the logs...)
2008-05-14 22:23:17 +00:00
Justin Clarke Casey
0f50162961
* Refactor additional stats collection common code into base opensim server
...
* If extra stats not sent to the viewer are available on an opensim server, they are now uniformly accessible using the 'show stats' command
2008-05-14 21:53:40 +00:00
Justin Clarke Casey
56faeafdae
* Refactor: Renaming non viewer statistics classes from Reporters to Collectors - this seems more intuitive
2008-05-14 21:27:54 +00:00
Teravus Ovares
e45ace9b54
* Fixed attaching objects that are in-world.
2008-05-14 21:17:57 +00:00
Justin Clarke Casey
587f6ab645
* Refactor: Remove SceneObjectGroup.GetScenePresences() in favour of a direct call to Scene
2008-05-14 21:09:41 +00:00
Teravus Ovares
b7d0aa7cb5
* Fixed deleting prim.
2008-05-14 20:25:09 +00:00
Justin Clarke Casey
74b5f6b14a
From: Dr Schofield <hud@zurich.ibm.com>
...
* small patch that fixes a compiler warning (struct comparison against
null again, my favourites) in LSL_BuiltIn_Commands. LSL_Types.key has a
Boolean operator that can be used here.
2008-05-14 20:03:40 +00:00
Teravus Ovares
be99ca6bc0
* Fixed situations where objects would jump back or scale incorrectly with Scale both sides checked.
...
* This probably makes build tools work again. yay.
2008-05-14 19:37:33 +00:00
Sean Dague
4a07038bbe
From: Dr Scofield <DrScofield@xyzzyxyzzy.net>
...
the attached patch set adds the (still work-in-progress but already
working) RestPlugin base class and the RestRegionPlugin code. we are using
XML serialization.
currently working:
GET /admin/regions/ -> returns UUID list of known regions
GET /admin/regions/<UUID> -> returns detailed region information
we'll be adding support for POST/DELETE/PUT and also for
/admin/regions/<UUID>/name etc.
2008-05-14 19:13:54 +00:00
Justin Clarke Casey
8fe9943293
From: Dr Schofield <hud@zurich.ibm.com>
...
Rename SearializableRegionInfo to SerializableRegionInfo (class was already named correctly)
2008-05-14 17:03:25 +00:00
Adam Frisby
cbb15ff446
* Applying patch from Melanie to expose godlevel to modules.
2008-05-14 16:52:22 +00:00
Adam Frisby
c9c016e26a
* Applying patches from Melanie to cover permissions module. Thanks!
2008-05-14 16:51:16 +00:00
Sean Dague
b1327dda01
fix for a change in inventory that meant I was returning a lot
...
of empty inventory folders
2008-05-14 15:43:19 +00:00
Justin Clarke Casey
d104b75116
From: Kurt Taylor <krtaylor@us.ibm.com>
...
More scipt engine cleanup - removed not needed or improper use of NotImplemented and Console.WriteLine
2008-05-14 11:42:09 +00:00
Teravus Ovares
820bce16fc
* Added standard copyright and removed un-necessary using of libsecondlife.Packets
2008-05-14 07:00:42 +00:00
Teravus Ovares
5b4d7922ea
* Adding the very bare minimum for the client to register user as having the group OpenSimulator Tester. This allows us to start examining and implementing the vary many unhandled group packets.
2008-05-14 06:58:32 +00:00
Jeff Ames
b7a0855c3a
More formatting cleanup. Minor refactoring.
2008-05-14 06:09:39 +00:00
Teravus Ovares
39eb39c0d5
Applied Patch mantis 1220. Implements llGetStartParameter. Thanks!
2008-05-14 05:43:21 +00:00
Jeff Ames
6a1b787436
More formatting cleanup.
2008-05-14 05:33:32 +00:00
Jeff Ames
c995d60d37
Formatting cleanup.
2008-05-14 05:11:23 +00:00
Teravus Ovares
eff470c0de
* Added 3 warnings in response to the warnings. Adam, read the warnings.
2008-05-14 05:08:22 +00:00
Teravus Ovares
9e8dd941f1
* Refactored OutPacket out of ScenePresence
...
* Down to 65 warnings.
2008-05-14 04:57:32 +00:00
Teravus Ovares
8fd0378ae6
* Removed 19 warnings
2008-05-14 04:06:33 +00:00
Teravus Ovares
9e1cc72c6e
* Refactored OutPacket and FirstName/LastName out of Friends Module.
2008-05-14 03:57:30 +00:00
Jeff Ames
92128d4ef9
Update svn properties.
2008-05-14 03:09:02 +00:00
Teravus Ovares
60146691ea
* Added the same catch on the 2nd place that objects fail to lock.
2008-05-14 02:16:51 +00:00
Teravus Ovares
fd035ec1f8
* Applying Melanie's FriendList related crash patch. She discovered that .NET throws a different error then mono does. Thanks Melanie!
2008-05-14 02:14:05 +00:00
Teravus Ovares
3c7e6b0c1e
* Tweaked a regex that was returning invalid results in some cases.
2008-05-13 23:19:18 +00:00
mingchen
ed4ea9b4b8
*Locked objects can now be unlocked
2008-05-13 21:43:52 +00:00
mingchen
fe6c626501
*Locked objects now delete after accepting warning as expected
2008-05-13 21:27:53 +00:00
Justin Clarke Casey
16621fb37f
* Refactor: Remove locking from InnerScene.GetScenePresence()
2008-05-13 18:40:36 +00:00
Justin Clarke Casey
3025dafa92
* Refactor: Stop exposing the inner scene's ScenePresence dictionary directly to the world
2008-05-13 18:25:15 +00:00
mingchen
91aa7fa4fe
*Fixed compile error on last commit
2008-05-13 18:14:12 +00:00
mingchen
5972e93449
*Objects now delete correctly
2008-05-13 17:39:21 +00:00
Adam Frisby
d90022b4d8
* Applying Mantis #970 - Revert brush does stupid things. Thanks tglion for fixing a really dumb bug.
2008-05-13 17:14:04 +00:00
Adam Frisby
5548dd6b06
* Some more bulletx physics fixes from Jed (DeepThink)
2008-05-13 17:05:52 +00:00
mingchen
32785921d0
*Complete redo of the permissions module
...
*Removed hardcoded permissions checks
*Added permissions checks where needed
2008-05-13 16:22:57 +00:00
Justin Clarke Casey
8293be6811
* Remove old historical grid inventory code
2008-05-13 14:59:18 +00:00
Justin Clarke Casey
550018f02d
* As part of the region registration process, the grid service now requests the status of the region using the region http uri just passed in
...
* If the status cannot be retrieved, then the region startup will terminate.
* The aim of this is for earlier detection of situations where the region can send messages out but cannot accept incoming requests (often due to firewall issues)
* This is currently an extremely simplistic check which completely trusts whatever http uri is given by the region
* This contact may be problematic, though since the user service needs to be able to contact the region http uri, it doesn't seem unreasonable for the grid to have to be able to do so too at this stage
* This change will require a prebuild
2008-05-13 13:36:21 +00:00
Teravus Ovares
bfce23dcf4
* Implemented ChildAgentDataUpdate throttle multiplier based on an inaccurate count of neighbors.
...
* The neighbor count is always lower then the actual number of neighbors unless your region was up the longest.
* The region you're in is un-affected by this, though, you'll get less packet loss, maybe not get logged off immediately when you log in, and possibly see more prim if your internet connection is semi-unreliable.
2008-05-13 06:05:45 +00:00
Teravus Ovares
fcc23be577
* Fixed directory not found when saving Mesh previews (my bad, I was testing)
2008-05-13 05:06:58 +00:00
Teravus Ovares
e70da2e174
* Committing meshmerizer patch from Dahlia. Thanks Dahlia!
...
* 0001241: physics cylinder proxy distorted and square hollow misaligned (patch attached)
* The included patch corrects the outer shell of the meshmerizer proxy for the cylinder prim to eliminate spurious vertices and shape distortion, and corrects the orientation of the square hollow.
* The size and orientation of the square hollow for the prism prim has been corrected also.
2008-05-13 04:16:16 +00:00
Justin Clarke Casey
c8b59f7a31
* Refactor: Creating grid login exceptions to try and break up a large method.
...
* This in preparation for further login validation to check that the region logging in is properly contactable.
* Also increase verbosity of some error messages
2008-05-12 22:00:33 +00:00
Adam Frisby
56e5dc49f9
* Committing sample IClientAPI2.cs
...
* This is not functional anywhere, but is a incomplete proposed replacement class for IClientAPI. Assistance filling this out would be appreciated. Use IClientAPI.cs as a reference, but make sure not to copy it - instead rewrite and abstract.
2008-05-12 20:50:38 +00:00
Adam Frisby
f78c5aedbf
* Added some build warnings for Teravus. :)
2008-05-12 20:29:56 +00:00
Sean Dague
e826f5808b
my last patch didn't actually get the sun to possition correctly, but
...
now we are correctly using the timezone offset. If you set day_length to 24.0
you'll get a sun progression that roughly follows your real world day on your
server.
2008-05-12 18:39:19 +00:00
Sean Dague
552d862264
move the sun based on localtime instead of utc. Now it won't set for me at
...
3pm any more.
2008-05-12 18:13:58 +00:00
Justin Clarke Casey
bcf018a98c
* Minor: Make some direct grid server console output into logged messages instead
2008-05-12 17:06:37 +00:00
Jeff Ames
dce5c470b6
Move animation handling from ScenePresence into its own class.
2008-05-12 17:00:47 +00:00
Justin Clarke Casey
d3fb6039ca
* If a region running in grid mode fails to login to the grid service, startup will now terminate instead of carrying on (and thus burying the error message)
2008-05-12 16:57:56 +00:00
Justin Clarke Casey
690294c578
* Minor: Change 'delete region' message to region logout message
2008-05-12 16:24:52 +00:00
Justin Clarke Casey
6df35bac3f
* Minor: Commenting out message detailing all individual map information dispatch for now
2008-05-12 16:21:11 +00:00
Justin Clarke Casey
6a5be03a80
* Minor: Initial cleaning up of some of the grid sim login messages
2008-05-12 16:16:50 +00:00
Justin Clarke Casey
d8a6c89a44
From: Alan M Webb <awebb@vnet.ibm.com>
...
This is a diagnostic patch in support of Mantis bug 1186.
It affects only SubModule and will not affect normal usage.
2008-05-12 13:44:25 +00:00
Justin Clarke Casey
b4d128c811
From: Alan M Webb <awebb@vnet.ibm.com>
...
This patch just tightens up console handling in BasOpenSimServer
and removes (or redirects) a couple of messages that were being issued
using Console.Writeline.
2008-05-12 13:39:46 +00:00
Jeff Ames
b34d5716a8
Thanks Melanie for a patch to stop sending unnecessary animation updates (bug #1239 ).
2008-05-12 09:07:07 +00:00
Jeff Ames
dc67264f6d
Refactoring animation handling in ScenePresence.
2008-05-12 04:31:28 +00:00
Jeff Ames
2382342c65
Formatting cleanup.
2008-05-12 01:23:03 +00:00
Jeff Ames
71f074839c
Update svn properties.
2008-05-11 23:48:40 +00:00
Teravus Ovares
6cda15a53f
* Un-break the NPC avatar.. you know.. the one that sits in your sim and shouts, 'This is my sim, get out!'
2008-05-11 22:03:01 +00:00
Teravus Ovares
a01b415d6c
0001199: [PATCH] Add support for default animations
...
From Melanie... Thanks Melanie!
.
2008-05-11 21:27:12 +00:00
Teravus Ovares
8f26427055
* Fixed null reference exception when rezzing an object from inventory with a rootpart that isn't found. Added a way to tell if it's an attachment.
2008-05-11 13:30:47 +00:00
Teravus Ovares
efc680f45b
* Changed implicit string conversion to LSL_Types.LSLString in money event of the key of the payer to an Explicit one.
...
* Fixes Mantis: #1045
2008-05-11 12:01:12 +00:00
Adam Frisby
0c831a0c2e
* Mantis #1127 - Patch to implement depreciated patches. Thanks middlelink!
2008-05-11 04:38:02 +00:00
Adam Frisby
ee352ebc79
* Added NPCModule and NPCAvatar classes for NPCs. Primitive, but we can grow them out.
...
* Fix for Scene.Inventory.cs - It assumes every entity at startup is a SceneObjectGroup. (Actually, this shouldn't have compiled[!] without a warning.)
* Fix for LandManager at startup - it assumes there's a land channel when perhaps there isnt. (Bug that needs another refactor to fix. [Mike - I've assigned a ticket to you about this])
2008-05-11 04:32:43 +00:00
Teravus Ovares
05de723e51
* Refactored two more OutPackets. ObjectPropertiesFamily, and Object Properties.
2008-05-10 20:25:40 +00:00
Teravus Ovares
1ba51dd2fd
* More OutPacket refactors.
...
* Added back a sleep to the kick routine so users get a 'you have been logged off message' when they get kicked from the simulator for various reasons (like 'the simulator is going down')
2008-05-10 13:11:09 +00:00
Teravus Ovares
b67f88a3a2
* Two more OutPacket refactors. TextureSender.
...
* The split image packet sender doesn't like to be refactored (images don't load after it's been refactored), so left that as is for the moment.
2008-05-10 12:45:41 +00:00