Commit Graph

5252 Commits (8ae7dc628b2681b02c43a5acd1e1bdf4f33b1f3e)

Author SHA1 Message Date
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
Teravus Ovares 08ab283b8a * Current XML Schema for SceneObjectPart 2008-06-29 22:45:14 +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