Jeff Ames
3b9cf65234
Update svn properties.
2008-07-11 09:18:17 +00:00
Johan Berntsson
130d8047a2
Thanks Mike for another LSL compiler patch which fixes a bug where 'vector v=<0, 0, -0.5>' caused a syntax error, and implements multiple assignments in one line (x = y = 3;)
2008-07-11 08:33:53 +00:00
Charles Krinke
cda5269391
Mantis#1682. Revert temporarily, Sempuki's mono addins patch
...
while he studies the issues in Windows a little bit.
2008-07-11 02:04:02 +00:00
Charles Krinke
14a6656948
Mantis#1541. Thank you kindly, Phrearch for a patch that:
...
Solves Remote Admin create_region type Casting failure.
2008-07-10 13:55:01 +00:00
Charles Krinke
81af87545e
Mantis#1391. Thank you kindly, Phrearch for a patch that:
...
Solves svnbackup svn add directory failure.
2008-07-10 13:51:56 +00:00
Charles Krinke
7fd63d9dc8
Mantis#1682. Thank you kindly, Sempuki for a patch that:
...
Move control of Mono.Addins from source attributes to external XML files.
This removes a lot of coupling of the source with Mono.Addins
2008-07-10 13:45:46 +00:00
Johan Berntsson
d41c1f40a8
Patch from Mike: errors from the LSL/C# compilers are now reported to the user in-world
2008-07-10 05:40:45 +00:00
Charles Krinke
38da8960e9
Mantis#1707. Thank you, Melanie for a patch that:
...
This patch limits the maximum size of prims that can be created using libsl bots
or modified clients to 65536mper side. It also limits LSL functions to that size.
If a prim is already physical, the enforced constraint is 10m.
A prim that is larger than 10m cannot be turned physical, either via script or UI.
Linksets are handled correctly, so scaling of physical linksets is constrained by
the size of it's largest component prim. Also, turning linksets physical is based
on the size of it's largest ptim.
2008-07-10 03:13:29 +00:00
Charles Krinke
c9a7bf7e58
Mantis#1673. Thank you kindly, Matth for a patch that:
...
LSLInteger + literal integer is not an LSLInteger.
The included patch fixes the issue: LSLInteger + literal
integer is not an LSLInteger (also fixed for -,*,/)
2008-07-10 00:40:38 +00:00
mingchen
817a0fa40c
*Patch as supplied in Mantis #0001705 by melanie. Fixes: Locked prims allow *any avatar* to deposit scripts in them, regardless of permissions
2008-07-09 19:53:22 +00:00
Charles Krinke
96b64d6973
Mantis#1127. Thank you kindly, Grumly57 for a patch that:
...
Addresses HTTP_METHOD parameter does not work for POST requests.
2008-07-09 18:42:34 +00:00
Charles Krinke
130cbd4376
Mantis#1704. Thank you kindly, Mjm for a patch that:
...
The attached patch implements llRemoveInventory().
2008-07-09 18:03:22 +00:00
Charles Krinke
9f68bcd80b
Mantis#1700. Thank you, Melanie for a patch that:
...
Lets osSetParcelMediaTime honor the AllowOSComamnds setting
2008-07-09 14:32:21 +00:00
MW
58ce018625
for testing purposes only:
...
added void osSetParcelMediaTime(double time) command to script engines.
which sets the position of the media that is playing. Time is in seconds.
Doesn't do any security checking (should be checking that the object/script is owned by the parcel owner). So could be abused, if it is then we should remove it, or add the security.
Only tested in dotnet scripting engine, but should work in XEngine too.
2008-07-09 12:02:01 +00:00
MW
7db2e19500
corrected the params types on IClientAPI.SendParcelMediaCommand. the command parameter should be set to the the ParcelMediaCommandEnum value. While flags seems to need to be set to (uint)(1<<[value of the command enum])
2008-07-09 11:01:26 +00:00
Johan Berntsson
5609292101
Patch from Mike which removes a lexer warning in the LSL compiler.
2008-07-09 07:37:42 +00:00
Justin Clarke Casey
79f68e571f
* Don't fail the archive operation if exceptions are encountered while analyzing prims
2008-07-08 17:58:45 +00:00
Justin Clarke Casey
00a38df75a
* Guard against a failure to find an inventory item in a move request by complaining in the log rather than terminating the session
2008-07-08 16:57:48 +00:00
MW
af825dae40
small console message change related to last revision
2008-07-08 15:37:52 +00:00
MW
9a5a7b2614
Added option to userserver config, to be able disable/enable the LLSD Login support. As far as I know, the LLSD login method is currently only used by libsl based clients/bots. So could be useful to be able to disable this if a grid comes under a griefing attack from libsl bots.
2008-07-08 15:36:27 +00:00
Charles Krinke
01904e66f2
Mantis#1690. Thank you kindly, Melanie for a patch that:
...
esets script permissions when a script is recompiled.
2008-07-08 15:16:43 +00:00
Charles Krinke
27e3fee1cd
Mantis#1690. Thank you, Malanie for a patch that:
...
addresses "recompiles clear perms:
2008-07-08 15:10:53 +00:00
Charles Krinke
71666a894a
Mantis#1691. Applied Melanie's modification of
...
Phrearch's iiGetCameraPos() patch, but not the original
yet. Thank you Phrearch and Melanie.
2008-07-08 15:05:23 +00:00
lbsa71
b7fc172254
* Added experimental SendParcelMediaCommand and SendParcelMediaUpdate to IClientAPI. These methods have not been tested, but feel free to start wiring them to llParcelMediaCommandList.
2008-07-08 14:17:59 +00:00
lbsa71
6c13d68489
* Changed casing of some archaic methods to conform with code standards
2008-07-08 11:30:08 +00:00
lbsa71
d9b802bb26
* Split out various classes from IClientAPI into their own files, in accordance with code standards
2008-07-08 11:25:18 +00:00
Dr Scofield
c1d5291ae0
RegionInfo.configMember can be null for dynamically created regions
...
that are not backed by a file.
2008-07-08 11:13:26 +00:00
lbsa71
b1b529f94e
* Moved script packet handlers from 'unimplemented' to 'Script Packets'
2008-07-08 11:02:53 +00:00
Johan Berntsson
27d9aeab0c
Patch from Mike: added unit tests for the LSL compiler
2008-07-08 08:42:17 +00:00
Johan Berntsson
a73e3b4e3f
another patch from Mike: the llscript compiler is now available in XEngine as well. Thanks Mike
2008-07-08 03:02:11 +00:00
Johan Berntsson
e75ff8f0a3
llscript compiler patch from Mike: adds LSL jumps and implicit variable initializations
2008-07-08 02:34:45 +00:00
Charles Krinke
1122f3f693
Mantis#1685. Thank you kindly, Mjm for a patch that:
...
The attached patch tries to read the SVN revision from local file
"svn_revision" before checking "../.svn/entries".
This allows simulators not running from the source tree to properly
display the SVN revision, if the installer generates the
"svn_revision" file.
2008-07-08 01:11:52 +00:00
Sean Dague
19c4c9798b
changes to use NHPrim instead of SOP directly
2008-07-07 21:50:45 +00:00
Sean Dague
b2febd03f0
add NHPrim to subclass SOP so we can stick region uuid in there.
...
I think the only place we need it is in NHibernate so a subclass
is probably appropriate.
2008-07-07 20:52:13 +00:00
Sean Dague
7634c1311e
added skeleton (no function) region store component
2008-07-07 20:40:14 +00:00
Sean Dague
867d72c956
change SitTarget calls from functions to properties
2008-07-07 20:12:14 +00:00
Justin Clarke Casey
7fa00f9ecd
* remove redundant sync locking in AssetServerBase since this is already being done by the lower database layers
2008-07-07 19:32:21 +00:00
Justin Clarke Casey
1813946937
* remove unused CommitAssets() hook for now
2008-07-07 19:18:44 +00:00
Justin Clarke Casey
0b2fcbfec4
* Start scripts loaded from an archive
2008-07-07 18:54:11 +00:00
Justin Clarke Casey
9362d9b231
* switch terrain archiving to raw32 rather than png to avoid unnecessary posterization. Thanks to Adam for the tip.
2008-07-07 16:37:02 +00:00
Dr Scofield
aaf8fff57e
adding support for IP EndPoint whitelisting in HttpServer code.
2008-07-07 11:25:09 +00:00
Dahlia Trimble
c5333af7a2
added a hollow size constraint to box, cylinder, and prism prim meshes to prevent a possible sim lockup
2008-07-07 10:09:35 +00:00
Dr Scofield
7420f96128
switching to safer locks.
2008-07-07 09:58:01 +00:00
Dr Scofield
7f0bcc5aa1
further progress on HttpServer integration: OSHttpRequest can now be
...
instantiated from both .NET and HttpServer code path.
2008-07-07 09:47:36 +00:00
Dahlia Trimble
56c6bdcb26
Addresses more problem box cut angles
2008-07-07 05:42:37 +00:00
Dahlia Trimble
063365c0dc
fix some Meshmerizer problem angles for sphere dimple and box path cut
2008-07-07 04:32:05 +00:00
Dahlia Trimble
6914fb6f13
disables changes in r5356 until I have more time to do further characterization
2008-07-06 19:44:59 +00:00
Charles Krinke
dfd5e675c0
Mantis#1678. Thank you kindly, Vytek for a patch that:
...
Changes ...TimeOfDay.Milliseconds to ...TimeOfDay.TotalMilliseconds
for llGetTimeOfDay() in both LSL_Api.cs and LSL_BuiltIn_Commands.cs
2008-07-06 18:39:37 +00:00
Dahlia Trimble
ae468bfc9b
Corrects errors in sphere mesh with dimple start angle > 0 and hollow == 0
2008-07-06 17:18:59 +00:00
Justin Clarke Casey
ca97dda603
* In archiver, scan scripts for embedded asset uuids and save these out
2008-07-06 16:19:04 +00:00
Justin Clarke Casey
238f2274e3
* refactor: archiver code clean up so that it's more readable for the next functionality addition
2008-07-06 15:38:39 +00:00
Charles Krinke
18c8bf99a4
Mantis#1677. Thank you, Melanie for a patch that:
...
Patch propagates the permissionToTake flag into the timer handler,
so that "take copy" and delete permissions are honored.
2008-07-06 14:19:55 +00:00
Jeff Ames
d470d30c09
Copyright notices and formatting cleanup.
2008-07-06 14:02:22 +00:00
Justin Clarke Casey
1b69714c44
* minor: documentation in SceneObjectPart.Inventory.cs. Refactor AddInventoryItem methods to reduce code duplication
2008-07-06 13:08:52 +00:00
Justin Clarke Casey
666626db6d
* minor: remove unnecessary locking from SOP.GetInventoryItem()
2008-07-06 12:46:17 +00:00
Justin Clarke Casey
0b16f9eee2
* minor: Stop spurious 'item not found' messages when placing things into a prim's inventory
2008-07-06 12:35:00 +00:00
Charles Krinke
f6375fceb4
Mantis#1674. Thank you kindly, Matth for a patch that:
...
This patch fixes an error in llSetPrimitiveParams() that
prevents correctly setting the type of the prim to SCULPT_TYPE.
2008-07-06 03:47:21 +00:00
Adam Frisby
55dda82180
* Moves sending items to inventory via a delete into a seperate thread (this thread can be expanded to support all sends to inventory from inworld easily enough). Thread is temporary and only exists while items are being returned.
...
* This should remove the "lag" caused by deleting many objects.
* Patch brought to you by Joshua Nightshade's bitching at me to fix it.
2008-07-06 02:27:10 +00:00
Dahlia Trimble
fd69251bcd
alters a problem path cut angle for the cylinder prim profile
2008-07-06 02:04:24 +00:00
Charles Krinke
fdbf0c39d2
Add implementation of llGetTimeOfDay()
2008-07-05 16:46:03 +00:00
Dahlia Trimble
8465f378ac
changes prompting of create user console command to only ask for unspecified parameters and avoid an exception if the wrong number of parameters are supplied
2008-07-05 08:13:22 +00:00
Dahlia Trimble
c0af057588
Changed default terrain lower limit to -100 instead of 100
2008-07-05 06:31:13 +00:00
Justin Clarke Casey
e45fa5d32d
* extend archiving asset analysis to clothing
2008-07-04 20:18:00 +00:00
Justin Clarke Casey
8179b472c3
* On archiving, analyze body parts and save textures referenced from them
2008-07-04 20:01:55 +00:00
Justin Clarke Casey
e1782bc249
* refactor: break out archiver's combined sync-async asset request routine ready for analysis of inventory item types other than objects
2008-07-04 18:36:12 +00:00
Justin Clarke Casey
35bd6e8760
* Make default inventory grid server db mysql rather than sqlite
...
* This is to match all the other grid servers
2008-07-04 17:05:41 +00:00
Dr Scofield
6265a09ff9
Renaming UserManagerBase.SetUserProfile(UserProfileData) to
...
UserManager.UpdateUserProfile(UserProfileData).
Adding UpdateUserProfile(UserProfileData) to IUserService interface.
Adding RemoteAdminPlugin.XmlRpcUpdateUserAccountMethod(...) to provide
a remote update capability.
2008-07-04 11:13:25 +00:00
Dr Scofield
2dadbc2f70
mini-warnings-safari, plus cleanup of IUserServices method naming.
2008-07-04 10:19:58 +00:00
Johan Berntsson
382fb8cea6
The new llScript-cs parser. Thanks Mike
2008-07-04 08:59:41 +00:00
Charles Krinke
23ec21e44a
Mantis#1647. Thank you very much, Sempuki for a patch that:
...
Updates the previous module loader work.
2008-07-04 03:11:53 +00:00
Charles Krinke
ce5122ebf3
Mantis#1659. Thank you, Melanie for a patch that:
...
In LSL, the state command should have an immediate effect.
The OpenSim script engine seems to wait until the function
ends to process the state transition.
2008-07-04 00:59:38 +00:00
Charles Krinke
cf87a9c5fe
Mantis#1660. Thank you, kindly, Melanie for a patch that:
...
Attached patch changes TRUE and FALSE to be LSLIntegers.
2008-07-03 23:06:38 +00:00
Justin Clarke Casey
8251508412
* On client login, send only one terrain patch at a time (with pauses) instead of 4 at a time
...
* Certain terrains which are fine went patches are sent singly cause a libsecondlife failure when patches are sent in batches
* See http://opensimulator.org/mantis/view.php?id=1662 for more details
2008-07-03 23:04:12 +00:00
Charles Krinke
7fea52be35
Mantis#1661. Thank you kindly, CMickeyb for a patch that:
...
patch attached to check for timeouts on mysql connections *before*
operations occur that are likely to timeout. if timeout occurs or
the connections is down, it is reconnected before the operation fails.
2008-07-03 22:30:16 +00:00
Charles Krinke
af82b1e710
Mantis#1463. Thank you, Melanie for a patch that addresses:
...
sometimes, incorrect sit rotation is sent to other clients
2008-07-03 22:24:31 +00:00
mingchen
a5e3439cf0
*.Raw files should now be loadable using "terrain load-tile" functionality
2008-07-03 22:16:09 +00:00
Charles Krinke
b1ab680a66
Mantis#1658. Thank you, Melanie for a patch that:
...
Adds IEmailModule and a module skelaton
2008-07-03 20:58:29 +00:00
Sean Dague
a9b3c2582a
add 3 migrations, 1 each for prims, primshapes, and primitems
...
to move all their UUID stores from varchar(255) -> char(36). Based
on past evidence, this should help with performance.
2008-07-03 19:41:01 +00:00
Sean Dague
8eb57b68f3
migrate the myisam mysql regions to innodb
2008-07-03 18:45:32 +00:00
Sean Dague
f0f1e00ec3
add a couple of LL conversion properties to SOP. I'll wait to clean
...
up the sit target usage until the sit target fix patch goes in, but it should
be cleaned.
Get prims table mappings to the point where nhibernate likes them enough
to start.
Remove field from asset mapping so it will start
2008-07-03 18:25:18 +00:00
Sean Dague
b9bba13c39
playing with multicolumn mapping of vectors using a custom type
2008-07-03 16:37:44 +00:00
Charles Krinke
103093cf11
Mantis#1654. Thank you kindly, Matth for a patch that:
...
Updates llGetPrimitiveParams() and associated files.
2008-07-03 15:34:05 +00:00
Charles Krinke
e3a583f4b4
Mantis#1653. Thank you kindly, Vytek for a patch that:
...
Implements llGetTimeOfDay().
2008-07-03 14:25:43 +00:00
Jeff Ames
fde6983cce
Update svn properties.
2008-07-03 03:01:02 +00:00
mingchen
ba2afef0f1
*Parcel Claim date is no longer Epoch (Jan 1, 1970). Now shows the actual creation/reclaim/sale date.
2008-07-03 01:29:18 +00:00
Charles Krinke
c1456936a6
Mantis#1652. Thank you, Melanie for a patch that:
...
Applies the patch to LSL_Api.cs
2008-07-03 00:40:02 +00:00
Charles Krinke
35ec3b7a3f
Mantis#1649. Thank you kindly, Matth for a patch that:
...
This patch adds the ability to set the prim type using llSetPrimitiveParams().
Seems to work ok, but there are a staggering number of cases to test,
so I have not yet tested them all.
2008-07-02 23:19:00 +00:00
Justin Clarke Casey
bc20c88a0a
* Allow archiver to operate even if there are 0 scene objects to save
2008-07-02 23:07:52 +00:00
Justin Clarke Casey
3183a20632
* Start writing out control file in archive. Only contains version information right now.
2008-07-02 22:53:36 +00:00
Sean Dague
2c113c00cf
property encapsulation for SOP
2008-07-02 20:31:17 +00:00
Justin Clarke Casey
79f937612e
* Twiddle with archive asset extensions yet again
...
* Reintroducing asset type but this time in a long form, and with _ rather than .
2008-07-02 17:35:33 +00:00
Dahlia Trimble
13d6615263
Adds experimental Meshmerizer support for "prim torture" effects of sphere dimple on prim types box, cylinder, and prism
2008-07-02 17:08:52 +00:00
Justin Clarke Casey
9052c43319
* Drop InvType from the assets table since it is no longer used
...
* Migration should be automatic on sqlite and mysql
* Migration is not automatic on mssql, you will need to drop the invType column manually
* Migration should be fine, but as for any db change, I would recommend making sure you have backups before moving past this revision
2008-07-02 16:20:54 +00:00
Charles Krinke
1deaa50240
Mantis#1647. Thank you kindly, Sempuki for a patch that:
...
attached patch adds support to constrain the number of
plugins that can be loaded per extension point.
2008-07-02 14:14:29 +00:00
Charles Krinke
7580fa5c0a
Mantis#1648. Thank you, Melanie for a patch that:
...
Fix a script Xengine deadlock/hang if llResetScript is used in changed()
2008-07-02 13:31:39 +00:00
Dr Scofield
d40bea4a8e
From: Alan M Webb <awebb@vnet.ibm.com>
...
This adds REST services for inventory access. It also allows inventory
uploads.
2008-07-02 09:02:30 +00:00
Charles Krinke
e4d68a8b64
Mantis#1643. Thank you Melanie for a patch that:
...
In the new runtime, there is a flag to diable all os* comamnds.
The implementation of osGetScriptEngineName ignored it.
This patch fixes this.
2008-07-01 21:57:36 +00:00
Sean Dague
f162f4544c
merge rotational and angular velocity
2008-07-01 21:31:02 +00:00
MW
c9fe500212
Added "save-prims-xml2 <PrimName> <FileName>", as we were lacking a method to save a single primitive or small group of them. This command will save all prims in the current scene that name matches the "PrimName" parameter. The saved file is in standard xml2 format, so can be loaded using load-xml2
2008-07-01 19:23:45 +00:00
Charles Krinke
0aaf0c4565
Mantis#1640. Thank you, Chernega for a patch that addresses:
...
It would appear that calling llResetScript() in state_entry() causes deadlock of region.
Probably due to llResetScript calling state_entry again. llResetScript should see who called it,
and not recall state_entry() after a state/variable reset. Once this script is in a prim,
the region/world/debug/script window shows it consuming the server (from 2,400 to 800,000 milliseconds).
2008-07-01 13:42:47 +00:00