Commit Graph

3823 Commits (d85774c101f5509672fc8d791fa3c923fc2071c9)

Author SHA1 Message Date
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