Dahlia Trimble
88fba448a1
reinstates torus profile zflip which was mistakenly removed in patch 1870
2008-08-01 05:48:24 +00:00
Dahlia Trimble
1d3677eb9b
Thank you jhurliman for a meshmerizer patch that replaces the quaternion->matrix->vertex*matrix->vertex code with a direct transformation.
2008-08-01 05:45:58 +00:00
Melanie Thielker
c9b39972ca
Add the missing migration files :/
2008-08-01 02:54:28 +00:00
Charles Krinke
ab778c4114
Mantis#1859. Thank you kindly, Lmmz for a patch that:
...
Implements llForceMouselook().
2008-08-01 02:33:28 +00:00
Melanie Thielker
43f3b9ad7b
Patch #8 in the estate series. Introduces the concept of an estate
...
owner (alongside the master avatar) and provides storage fo the
abuse email address. No user functionality yet.
This patch includes a migration.
2008-08-01 02:14:34 +00:00
Mike Mazur
6f975f6eeb
Thanks, Zaki, for a patch that addresses unhandled exceptions in the
...
PluginLoader when servers are started in parallel.
2008-08-01 01:14:40 +00:00
Mike Mazur
15669281fa
Apply updated patch from issue 1871. Thanks sempuki.
2008-07-31 23:53:24 +00:00
Justin Clarke Casey
6d15f25026
* Allow an individual item to be specified as well as a folder in save-inv
...
* No user functionality yet (and not for some time)
2008-07-31 18:32:57 +00:00
Justin Clarke Casey
900a656420
* refactor: rearrange path inventory manipulation so that input tidying can be used for item paths as well
2008-07-31 18:23:17 +00:00
Justin Clarke Casey
465e77b618
* refactor: eliminate unused SubFoldersCount
2008-07-31 17:35:47 +00:00
Justin Clarke Casey
a62b906a7b
* allow inventory folders to be located by path
...
* first pass method impl
2008-07-31 17:32:13 +00:00
Justin Clarke Casey
078643a017
* refactor: Change CachedUserInfo.HasInventory to HasReceivedInventory to make actual function clearer
2008-07-31 16:05:50 +00:00
Justin Clarke Casey
58af0fabeb
* minor: reduce coupling by passing in only session id to CachedUserInfo
2008-07-31 15:53:07 +00:00
Charles Krinke
1f7fde9436
Mantis#1868. Thank you kindly, HomerHorwitz for a patch that:
...
0001868: llXorBase64StringsCorrect leads to error if second string
shorter than first which was an off by one error.
2008-07-31 15:11:44 +00:00
Melanie Thielker
c441a03ea3
Thank you, HomerHorwitz, for a patch that implements llSetCameraParams/llClearCameraParams.
...
Fixes Mantis #1867
2008-07-31 12:31:31 +00:00
Melanie Thielker
244ad2e614
Thank you, HomerHorwitz, for a patch that add PERMISSION_CONTROL_CAMERA
...
Fixes Mantis #1861
2008-07-31 12:25:18 +00:00
Melanie Thielker
b3e19359d9
Thank you, sacha magne, for a patch that prevents sim chat from
...
being heard across whole grids.
Fixes Mantis #1855
2008-07-31 10:58:15 +00:00
Melanie Thielker
af3e2c6e1c
Thank you, sacha magne, for a patch that implements
...
llRequestSimulatorData("simname", DATA_SIM_RELEASE)
Fixes Mantis #1866
2008-07-31 10:51:30 +00:00
Mike Mazur
ddf126321c
Thanks, M. Igarashi & nlin, for a patch that implements unary minus operator
...
for Vector3 type. Fix issue 1872.
2008-07-31 09:34:13 +00:00
Mike Mazur
2270b25265
Thanks, sempuki, for a patch that moves all Grid Server's plugins to
...
PluginLoader. Fix issue 1871.
2008-07-31 09:24:28 +00:00
Mike Mazur
16cf5aa2b8
Allow the list hack from issue 1863 to compile, however its behavior is
...
different than in SL. See http://opensimulator.org/mantis/view.php?id=1863 for
details.
2008-07-31 07:11:49 +00:00
Mike Mazur
57ec7a26cd
-make ZERO_VECTOR and ZERO_ROTATION static readonly properties so they can be
...
used in scripts
-cast from bool to LSL{Integer,Float,String} so functions such as `integer
isZero(integer x) { return (x == 0); }` work
-progress on issue 1863
2008-07-31 07:11:41 +00:00
Mike Mazur
56c4cc39ff
Allow assignments in if/while/do-while control statements. Fix issue 1862.
2008-07-31 04:13:46 +00:00
Mike Mazur
eef3864278
Fix issue 1860; exception thrown in the parser on if/if-else/for/while/do-while
...
statements with no body.
2008-07-31 01:27:33 +00:00
Mike Mazur
1c8f490573
More LSL_Types implicit/explicit cast changes. Fix issue 1854.
2008-07-31 00:29:19 +00:00
Melanie Thielker
3a2caa1f9a
Thank you, HomerHorwitz, for a patch that
...
implements llSetLinkTexture. Heavily influenced by llSetLinkPrimitiveParams.
2008-07-30 22:37:42 +00:00
Dr Scofield
5095b4c212
From: Richard Alimi <ralimi@us.ibm.com>
...
The following is a patch that causes the ensuing http_response event (after
an llHTTPRequest) to include the HTTP status code returned from the server
(if available). The patch also sets the body parameter for the
http_response event to be set as the status description returned by the
server.
2008-07-30 16:47:25 +00:00
Dr Scofield
96d1891c71
From: Richard Alimi <ralimi@us.ibm.com>
...
The following is a patch that causes HTTP connections made by llHTTPRequest
to be closed once the response is read.
2008-07-30 16:21:01 +00:00
Adam Frisby
2f8acdbe50
* Applying Mantis #1852 - Plugin Provider refactoring. Courtesy of Ryan/Sempuki.
2008-07-30 08:17:19 +00:00
Melanie Thielker
c80493ed4d
Prevent acks from being appended to viewer effect packets, since
...
that has been known to cause an exception in libomv ^^
2008-07-29 22:40:23 +00:00
lbsa71
8edab95bad
* Refactored some heavily duplicated RequestSimProfileData functions
...
* Changed InventoryUrl and GridServerURL type to Uri instead of string - to address '/' issues.
2008-07-29 19:52:58 +00:00
Justin Clarke Casey
d84a6bca55
* minor: temporarily command out variables to prevent compile warnings
2008-07-29 18:16:17 +00:00
Justin Clarke Casey
19a5e56d55
* add file path parameter to save-inv (in development)
2008-07-29 18:14:58 +00:00
Justin Clarke Casey
d13c9161c9
* find user on save-inv
2008-07-29 18:11:58 +00:00
Justin Clarke Casey
aa59dfb1d2
* minor: route create user through underlying super class method rather than calling communications manager directly
2008-07-29 18:01:12 +00:00
Justin Clarke Casey
e595959d97
* refactor: move create user console command parsing down to OpenSim.cs from CommunicationsManager
2008-07-29 17:39:15 +00:00
Justin Clarke Casey
e7b3e7b749
* Put in stub code for inventory backup.
...
* No user functionality yet (and not for quite some time)
2008-07-29 14:28:08 +00:00
Charles Krinke
bfa1fd768b
Mantis#1849. Thank you kindly, Kinoc for a patch that:
...
- LLSDLoginMethod should error out in similar way to XMLRPC login for already logged in condition
- Have LLSDLoginMethod mirror the sequence of the XMLRPC for easier side by side compare
- Log messages report which process XML or LLSD generated them for easier debugging
2008-07-29 03:43:31 +00:00
Dr Scofield
0512895eea
Trying to guestimate sensible default values for GridInfoService if no
...
[GridInfo] section is supplied by OpenSim.ini; also adding log warning
if that is the case.
2008-07-28 14:28:26 +00:00
Dr Scofield
f25af1f9e6
dropping GridInfo prototype, now properly implemented as
...
GridInfoService.
2008-07-28 12:31:46 +00:00
Dr Scofield
03efaff60e
moving GridInfo application plugin into a common standalone/grid
...
service, adding a plain REST GET handler returning XML (no LLSD),
adding appropriate add handler calls to OpenSimBase and UserServer.
2008-07-28 12:18:48 +00:00
Mike Mazur
f6fa4ada4e
When casting strings to int, use double.Parse() as strings may be floats. With
...
this commit, issue 1822 should be fixed.
2008-07-28 07:46:53 +00:00
Mike Mazur
d959c65b91
-implement LSLString -> Quaternion explicit cast
...
-sync Shared/LSL_Types.cs with Common/LSL_Types.cs
-get the test script in issue 1822 to compile
2008-07-28 02:36:26 +00:00
Mike Mazur
a61e1ea7dc
Adding explicit cast from LSLFloat to LSLInteger. Work on issue 1822.
2008-07-28 02:36:22 +00:00
Mike Mazur
82fa53a486
-copy LSL_Types tests from Common/ to Shared/
...
-fix some whitespace/formatting
2008-07-28 02:36:18 +00:00
Melanie Thielker
40bb4edf8c
Refresh LSLTypes.cs in Shared/ from the one in Common/, which was
...
more complete.
2008-07-28 01:33:21 +00:00
Adam Frisby
e2ce142669
* Added a check for Infinite or NaN values before updating a heightfield. This may slow down terraforming when it debug mode - feedback appreciated.
2008-07-28 00:43:01 +00:00
Melanie Thielker
9fca0aca64
Reinstate the configuration option on XEngine's use of the lexical
...
compiler. Changes the default in OpenSim.ini.example to "true" to
allow for a broader user base for testing.
2008-07-28 00:40:35 +00:00
Mike Mazur
9e58ce60c0
Use new LSL compiler by default in DotNetEngine and XEngine. Fix issues 1651, 1339.
2008-07-27 23:53:18 +00:00
Melanie Thielker
50f2e88c99
Re-fix r5681. Sorry for the inconvenience. We will now return you
...
to your scheduled scripting.
2008-07-27 20:32:22 +00:00
Melanie Thielker
8cd0c90dab
Addresses Mantis #1611
...
Set thread culture for event processing threads in DotNetEngine.
XEngine already had this. Maybe someone with a French OS can verify
the fix.
2008-07-27 19:54:43 +00:00
Melanie Thielker
6c3db99a27
Addresses Mantis #1688
...
Changes erroneous return value of llGetLinkname() to "" for nonexistent
prims. Corrects an issue where the root prim of a linked set, upon
delink, retains the part number 1.
2008-07-27 19:32:43 +00:00
Melanie Thielker
839e9c94e8
Prevents Mantis #1829
...
Add array size check to packet from viewer to prevent OOB exception
2008-07-27 19:12:40 +00:00
Jeff Ames
2ec23f934a
Update svn properties.
2008-07-27 17:15:41 +00:00
Charles Krinke
e4ef774875
Mantis#1831.Thank you kindly, Francis for a patch that addresses:
...
Not all combinations of list order equally likely with llListRandomize()
2008-07-27 16:21:51 +00:00
lbsa71
f417a03414
Mantis#1817. Thank you kindly, sacha magne, for a patch that:
...
* Fixes a simulator crash when an asset file is missing on loading asset library.
2008-07-27 13:59:07 +00:00
lbsa71
1784918034
* Added safeguard to ensure valid inventoryserver uri.
2008-07-27 13:34:34 +00:00
Mike Mazur
e17520621c
Log to console if C# line/column lookup fails.
2008-07-27 10:41:44 +00:00
Mike Mazur
11a3fbf4aa
Conversion from double to LSLInteger needs to be explicit. Fix issue 1826.
2008-07-27 07:09:33 +00:00
Mike Mazur
6267db0c4c
Implement LSLFloat {+,-,*,/} LSLFloat operations. Fix issues 1532, 1701, 1824 &
...
1832.
2008-07-27 05:42:47 +00:00
lbsa71
8e869b2fff
* Changed a number of field names to ccc (public members shouldn't be called m_)
2008-07-26 21:22:15 +00:00
Dahlia Trimble
c12d4d21e3
Modified ResetChildPrimPhysicsPositions() to allow archiving and physics to coexist peacefully (as per justincc's recommendations)
2008-07-26 19:51:17 +00:00
Melanie Thielker
2a1bc318b0
The hazards if unclean sourc trees. Yours truly got bitten this time.
...
Re-fix the re-fix from a clean build. This makes the region based
settings work as advertised
2008-07-26 18:54:59 +00:00
Melanie Thielker
3b1efa4348
Re-Fix the fix
2008-07-26 18:46:04 +00:00
Melanie Thielker
1321bd25b8
Fix Mantis #1830
...
Makes region settings save on second and subsequent sim restarts
after upgrading.
2008-07-26 18:03:50 +00:00
Dahlia Trimble
287674296e
reinstated ResetChildPrimPhysicsPositions() as some prims had bad/missing proxies without it
2008-07-26 01:58:13 +00:00
Dahlia Trimble
c512120389
Attempt to update viewer for some physics status changes in SOP
2008-07-25 20:45:06 +00:00
Dahlia Trimble
3035f5cb64
Re-enables testing for config option mesh_sculpted_prim which was inadvertently disabled in a prior modification (oops) :)
2008-07-25 20:29:37 +00:00
Justin Clarke Casey
0d488ad489
* minor: just realized I managed to get the save xml/xml2 messages the wrong way around
2008-07-25 18:08:45 +00:00
MW
a7db55717b
enabled a config option to inventory server to be able to stop it doing the SessionId lookup to the user server. As this ties a inventory server to one userserver/grid.
...
doing the look up is still enabled by default.
2008-07-25 17:59:34 +00:00
Justin Clarke Casey
d954f46a0a
* Stop the HasGroupChanged flag being reverted for newly restored prims which need to be persisted to the db
...
* This should stop the problem where linked prims loaded via an archive did not survive server restart
* It may address mantis 1819 though the symptoms don't look consistent
2008-07-25 17:48:58 +00:00
Dr Scofield
c724e38433
oops. forgot to add addin.xml for GridInfoPlugin. also, slight
...
reordering of plugin initialisation to ensure that it will return base
information about grid, even if [GridInfo] config section is not
there.
2008-07-25 17:06:26 +00:00
Dr Scofield
b5f23b4c9c
first cut at a GridInfo plugin (mantis #1825 ). Currently just spits
...
out everything in the [GridInfo] section :-D Also, not yet LLSD but
XmlRpc, LLSD via GET will follow. OpenSim.ini.example contains sample
values and explanation. Oh, and default values provided are
platform: OpenSim
mode: standalone | grid
have fun.
2008-07-25 16:56:46 +00:00
Justin Clarke Casey
fd4e703f25
* Remove dumb bug I put in which meant that an archive save would never complete if there were any missing assets
2008-07-25 15:18:24 +00:00
Dr Scofield
f2bc404e70
squasing warning.
2008-07-25 12:59:41 +00:00
Dr Scofield
81cb72b5ad
squashing warning.
2008-07-25 12:59:18 +00:00
Dr Scofield
f7e636570f
adding copyright statement.
2008-07-25 11:31:33 +00:00
Dr Scofield
031e140761
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The LL Server sets the CreateSelected flag for a prim when sending a
property update when objects are linked. The following patch
gets OpenSim to do the same.
2008-07-25 10:13:26 +00:00
Dr Scofield
2d727ebc63
completing rename of ChatFromViewerArgs to OSChatMessage
2008-07-25 10:09:02 +00:00
Dr Scofield
24e15088ea
renaming the increasingly ill-named ChatFromViewerArgs to OSChatMessage
2008-07-25 10:05:50 +00:00
Dr Scofield
50bc51b642
From: awebb
...
test code for REST handlers.
2008-07-25 10:02:21 +00:00
Dr Scofield
7025a8040e
From: awebb
...
Further improvements to the REST handlers.
2008-07-25 09:56:35 +00:00
Mike Mazur
19ad7db5e1
Add casts from integer to float. Fix issue 1822.
2008-07-25 07:50:31 +00:00
Mike Mazur
84cc69573b
Thanks, lulurun, for a patch that adds an authenticated session cache to reduce
...
"check_auth_session" requests from inventory server to user server.
2008-07-25 07:16:27 +00:00
Melanie Thielker
5998fb712a
Patch #9155 (Mantis #1793 )
...
Fix a regression that caused the region settings not to save.
Still no SQLite support for region settings. MySQL now functional.
2008-07-25 06:17:43 +00:00
Teravus Ovares
1e7c9e4810
* Fix the ODEPlugin unit test
2008-07-25 05:23:10 +00:00
Mike Mazur
e60cf0e67d
-add test for newly introduced cast operators (issue 1818)
...
-fix formatting
-remove CompilerTest test since it seems to fail randomly
2008-07-25 04:47:11 +00:00
Melanie Thielker
ac9a221993
Add mingchen's fix for string->float cast to Shared/
2008-07-25 03:47:55 +00:00
Melanie Thielker
06e0e513cf
Add GetGroupPowers() and a dictionary to hold them to ClientView and
...
IClientAPI. No user functionality
2008-07-25 03:45:17 +00:00
mingchen
6554c7bac5
*Fixes #0001818 : typecast string to float
2008-07-25 03:39:38 +00:00
mingchen
f2742fb604
*Added CommandIntentions that is used to describe a console commands hazard. HAZARDOUS if it modifies the simulator, NON_HAZARDOUS if it does a command that doesn't modify the simulator but does a background command such as a forced backup, and STATISTICAL if it returns debug or more information.
...
*This is useful for implementing a protection system from unwanted script execution or for application modules needing to know what a command does.
2008-07-25 02:30:07 +00:00
Dahlia Trimble
c1e239dedc
llApplyImpulse now accepts any non-zero integer as not FALSE
2008-07-25 02:06:40 +00:00
Dahlia Trimble
c67198299e
Changed application of constant forces to after PID force is applied. llSetForce() should behave identical to the Linden implementation now.
2008-07-24 21:05:30 +00:00
Justin Clarke Casey
cdd3537706
* refactor: Remove now redundant inventory server url being passed to GetInventorySkeleton
2008-07-24 17:19:33 +00:00
Justin Clarke Casey
918c0a4826
* refactor: move remaining user service -> inventory service OGS1 calls into the specific inter service class
2008-07-24 17:10:07 +00:00
Justin Clarke Casey
11385c53e6
* minor: eliminate warnings from LindenUDP
2008-07-24 16:03:17 +00:00
Justin Clarke Casey
77297ed6cc
* Separate out OGS1 calls used between services (rather than from region to services) into a separate assembly to parallel OpenSim.Region.Communications.OGS1
2008-07-24 15:56:50 +00:00
Melanie Thielker
740a9a7374
Thank you, Neopallium, for a patch that addresses ack issues in the
...
client stack. Committed with changes, see Mantis #1810 for details.
2008-07-24 15:52:36 +00:00
Justin Clarke Casey
e5e1666c84
* Fix spelling mistake in OGS1SecureInvenotryService
2008-07-24 15:27:21 +00:00
Justin Clarke Casey
29e8fcd13c
* minor: Rename IInterGridInventoryServices since it's inter service rather than inter grid
2008-07-24 15:20:57 +00:00
Jeff Ames
a4ad6a67b7
Update svn properties. Minor formatting cleanup.
2008-07-24 15:20:47 +00:00
Dr Scofield
1d7e29cc2c
oops...forgot to svn add OSHttpHttpHandler.cs last week.
...
NOTE: this code is work-in-progress, it's not live. it's so far
harmless and just wants to play. it should not bite anyone (yeah,
that's what they all say, i know...)
2008-07-24 14:35:04 +00:00
Dr Scofield
e9144b1a3a
From: Christopher Yeoh <cyeoh@au1.ibm.com>
...
The problem I noticed is that when child prims are selected unlike
the Linden server, OpenSim does not return property information - it
only searches the root prims for matches.
What I'm not sure about is whether the parcel prim count taint should
be set or if the root prim should be set as selected (doesn't
seem possible to set the child prim as selected). It does
however fix the problem of the property information
not being sent, so its an improvement (I think!).
2008-07-24 14:18:07 +00:00
Dahlia Trimble
f74a9bcdc7
Implements llSetForce() and llGetForce(). These are experimental and the units may not match the Linden implementation.
2008-07-24 07:45:58 +00:00
Mike Mazur
d58346e798
Refactor some tests.
2008-07-24 07:23:36 +00:00
Mike Mazur
bb777a9c3c
Replace the try/catch with a null check.
2008-07-24 05:23:42 +00:00
Mike Mazur
117cc09edc
Replace implicit casts from LSLFloat to int and uint which were removed in
...
r5487.
Also put the unit tests back for Bamboo to execute them, let's see how this
goes.
2008-07-24 05:23:38 +00:00
Melanie Thielker
cc5d49d9c1
Addresses Mantis #1810
...
Collapses two locks into one to avoid a situation were a List is
cloned under two different locks, resulting in a bad index in
.NET code.
2008-07-24 01:38:58 +00:00
Mike Mazur
635b715880
Thanks, cmickeyb, for a patch that addresses secure inventory assuming IP addresses in configuration. Fix issue 1812.
2008-07-24 00:32:06 +00:00
Justin Clarke Casey
9af05d0bc3
* refactor: break out inter grid inventory services further
...
* more to follow
2008-07-23 22:18:09 +00:00
Sean Dague
1c9551eaae
few additional fixed to get prim inventory up on nhibernate
2008-07-23 22:14:37 +00:00
Sean Dague
c38b811f5d
catch a null case in the convenience RegionID property
2008-07-23 22:14:35 +00:00
Sean Dague
30a77b5b9f
implemented prim inventories for nhibernate
2008-07-23 22:14:34 +00:00
Sean Dague
47ad705675
fix column mapping
2008-07-23 22:14:32 +00:00
Sean Dague
6720f4c289
complete the prim inventory mapping
2008-07-23 22:14:31 +00:00
Sean Dague
cf317f5c33
refactor TaskInventoryItem Mask -> Permissions to be consistant with how things
...
are stored in the db.
2008-07-23 22:14:29 +00:00
Sean Dague
3c227390c0
add primitems migration for nhibernate
2008-07-23 22:14:23 +00:00
Justin Clarke Casey
4452ed60f8
* refactor: split out inventory services which are only used between non-region services
...
* more to follow
2008-07-23 21:40:06 +00:00
Sean Dague
aad92e1368
turn fields -> properties in TaskInventoryItem
2008-07-23 19:28:18 +00:00
Melanie Thielker
db06e628de
Attempt to fix Mantis #1804
...
Fetches the correct link part to chenge.
Please provide feedback, since I was not able to test all variants of this huge function.
2008-07-23 18:37:43 +00:00
Melanie Thielker
f079af87dc
Fix Mantis #1759
...
Corrects reported agent positions.
2008-07-23 18:08:16 +00:00
Sean Dague
df361be35f
make privates private
2008-07-23 15:58:44 +00:00
Sean Dague
090159defc
refactored LandData to use properties, and cleaned up the naming on
...
the properties a bit to be more consistant with other objects (having things
like .Name .Description, etc).
2008-07-23 15:50:32 +00:00
MW
ecd296ad67
Send Animation data for other avatars to new users joining the region (tested on new logins, but need to test that it is triggered on teleports).
...
This should fix the sitting avatars appearing in a T pose to new users. And possible other animation problems.
2008-07-23 14:26:30 +00:00
Melanie Thielker
76d8cceb92
Fix a race causing a buffer overflow under moderate load
2008-07-23 14:26:08 +00:00
Jeff Ames
80d8e2889e
Update svn properties. Formatting cleanup. Remove a compiler warning.
2008-07-23 13:24:25 +00:00
Sean Dague
9e8b456bbc
get rid of some LLQuaternion == null checks. Because LLQuaternion is
...
a struct and not a class, it can't be null. So these checks were just
generating compiler warnings on unreachable code.
2008-07-23 12:39:16 +00:00
MW
9b51bb545e
Changed it so the avatar's rotation is now sent as part of a full avatar update.
...
This should fix the wrong rotation on existing sitting avatar when logging in bug.
2008-07-23 11:07:59 +00:00
Johan Berntsson
ce4bcb5065
The new secure inventory server mode (in r5590) can now be disabled from OpenSim.ini. Default is to use the new mode.
2008-07-23 09:46:04 +00:00
Mike Mazur
003487631d
Fix issue 1760. If the inventory item is not found, llSay() and throw an exception.
2008-07-23 08:03:32 +00:00
Johan Berntsson
3b35332957
adding files that were not included in r5589
2008-07-23 07:27:11 +00:00
Johan Berntsson
344c9caeb6
thanks lulurun for a security patch that blocks unathorized access to the inventory server (see http://opensimulator.org/wiki/Security_vulnerability_brought_by_non-check_inventory_service )
2008-07-23 06:59:02 +00:00
Mike Mazur
f9e2f41d7c
Enable LSL <-> C# source location mapping when reporing compiler errors to the user in-world. This method is not yet perfect but is an improvement in accuracy over the existing method.
2008-07-23 06:53:38 +00:00
Mike Mazur
6256078876
Thanks, sempuki, for a patch that adds .addin.xml for MSSQL and SQLite users.
2008-07-23 05:53:54 +00:00
Mike Mazur
a0930aa80d
Thanks, sempuki, for a patch that moves control of Mono.Addins from source attributes to external XML files. Fix issues 1682 and 1786.
2008-07-23 03:08:31 +00:00
Mike Mazur
ba17b0df27
First version of position mapping between LSL <-> C# implemented.
2008-07-23 02:51:45 +00:00
Melanie Thielker
e1c6563174
Guard against wrong packet types being passed into AddNewClient.
...
Actually, the exception handler seems to be a valid execution
path here, this needs some love.
2008-07-23 01:16:01 +00:00
Melanie Thielker
e09ff343fb
Make QueuePacket() lock free. Eliminates an unneeded lock()
2008-07-22 22:49:13 +00:00
Melanie Thielker
7fb103d374
Change one packet optimization to cover a case where the resend
...
queue may block indefinitely when a single packet is not acked
by the viewer and no others cwfromfor that region are pending.
2008-07-22 22:21:20 +00:00
MW
b942d18379
renamed ScenePresence.SendFullUpdateToAllClients() to SendInitialFullUpdateToAllClients(), and added a replacement SendFullUpdateToAllClients() method. As the old one (now "Initial") has extra steps in it for sending initial updates/date, Not only was this leading to a lot more data being sent than needed to be, every time it was called. It also seems to have been causing the "other Avatars rotating when you sit down" bug.
2008-07-22 19:56:30 +00:00
Melanie Thielker
f112cebde2
Refactor the packet scheduling out of ClientView. Add intelligent
...
resending, timeouts, packet discarding. Add notification event for
packet discarding. Add priority scheduling for packet queues.
Add outgoing duplicate detection facility. Correct packet sequencing.
Make provisions for automatic server side throttle adjustments (comes
in next installment)
2008-07-22 17:58:42 +00:00
Justin Clarke Casey
b2b5675bd4
* refactor: move new inventory service call by user server to OGS1 with all the other service calls
...
* will post to mailing list about moving this shortly
2008-07-22 17:43:09 +00:00
Justin Clarke Casey
a1d481d0f6
* minor: Make create user command appear on the region console only if the region is running standalone
2008-07-22 16:21:16 +00:00
Jeff Ames
186f83692c
Update svn properties. Squash a couple of warnings.
2008-07-22 15:01:04 +00:00
Dahlia Trimble
492b25362c
Clean up Meshmerizer.cs a bit to make it more readable
2008-07-21 23:08:23 +00:00
Justin Clarke Casey
714e1f6786
* Give new uuids to all the objects loaded in from an archive.
...
* This should allow multiple copies of an archive to be loaded into different regions on the same region server
* This shouldn't affect existing operations.
2008-07-21 21:10:15 +00:00
Charles Krinke
1ef7a05b3e
Mantis#1544. Thank you kindly, Jonc, for a patch that:
...
Terrain revert using the PaintBrushes appears to work OK,
however when using 'apply to selection' the RevertArea
FloodEffect calculates the revert height incorrectly
unless the strength passed in from the viewer is 1.0
Attaching a patch to correctly reset the selected area
to the heights in the revertmap.
2008-07-21 19:29:55 +00:00
Justin Clarke Casey
d9db56d86b
* minor: stick filename being loaded/saved from in save/load xml/oar information messages
2008-07-21 17:52:53 +00:00
Justin Clarke Casey
8948ecbd8b
* minor: Make it clearer the region on which save and load xml/oar commands are operating
2008-07-21 17:42:13 +00:00
Justin Clarke Casey
b798a9b7a0
* minor: add wiki link to archiving function invocation
2008-07-21 17:33:03 +00:00
Justin Clarke Casey
5bceab785f
* Minor: correct change-region typo
2008-07-21 17:23:32 +00:00
Justin Clarke Casey
a13a4c6144
* minor: change misleading 'all assets found' message to instead tell how many were actually located
2008-07-21 17:13:32 +00:00
MW
6784cebf57
added support so that the packet tracker can resend packets itself as well as triggering a event. Next step to change the terrain packet resending to use these feature.
2008-07-21 16:21:59 +00:00
MW
fb096dfbd5
added experimental packet tracker (LLPacketTracker.cs), which can be told to track a packet and if it hasn't been acked within a set time, trigger a IClientAPI event, that the application/scene can handle. Currently only terrain packet tracking is finished, Tracking for initial Prim packets (first full update for a prim) is being worked on. Future improvements would be to make it a more generic packet tracker with callback delegates instead of events.
...
Add a test event handler (which would fire after a minute if a terrain packet hadn't been acked) to scene to handle the OnUnackedTerrain event, which currently just resends the terrain patch.
The idea of this packet tracking is for the region level application to be able to know if the client stack gave up on sending a packet.
2008-07-21 15:13:34 +00:00
Charles Krinke
cda3206633
Mantis#1801. Thank you kindly, Junta_Kohime for a patch that:
...
I found a problem trying to get s value directly from a quaternion q.
Compiling a script which directly access to q.s value, caused the
following error:
CS0103: 'The . symbol cannot be used in LSL except in float values
or vector components'. Detected around: q.s
I did a small change to allow alphabetic letter "s" to be interpretated
as valid identifier. This solves the problem.
2008-07-21 13:44:56 +00:00
Charles Krinke
a432a07005
Mantis#1798. Thank you kindly, StrawberryFride for a patch that:
...
Fixes a couple of places where null reference exceptions were
being caught and ignored rather than null checks being performed.
2008-07-21 13:40:08 +00:00
lbsa71
9dbb6f28bc
* eliminated some warnings and added some const and readonlies
...
* refactored some member names for readability and ccc (code convention conformance)
* took away two refs from Rest.Inventory since
* System.IO is part of System
* System.Xml.Serialization is part of System.Xml
2008-07-21 10:02:55 +00:00
Dahlia Trimble
ce90e2ecce
some optimizations in quaternion normalization in llRot2Fwd, llRot2Left, and llRot2Up. llAxes2Rot now uses these functions for sign error correction instead of vector*quat products.
2008-07-21 09:36:22 +00:00
Dahlia Trimble
08f3d212ce
does some verification of the quaternion returned by llAxes2Rot and modifies the sign of the s term if a discrepency is found. This helps llAxes2Rot more closely match the Linden implementation.
2008-07-21 05:34:31 +00:00
Charles Krinke
bedd28e02e
Mantis#1797. Thank you kindly, StrawberryFride for a patch that solves:
...
Shutdown command on region server was presenting an error, failing to
send detach region for all regions, and failing to shut down
2008-07-20 22:19:39 +00:00
Charles Krinke
681433c4b7
Mantis#1796. Thank you kindly, StrawberryFride for a patch that:
...
Agent table code (INSERT / UPDATE, etc) now added to MSSQL provider.
2008-07-20 22:16:50 +00:00
Melanie Thielker
8ae7dc628b
Make the max sizes of physical and nonphysical prims configurable in OpenSim.ini
...
Defaulted to 65536 and 10, respectively
2008-07-20 15:19:26 +00:00
Melanie Thielker
212ab8c6d9
Change SQLite argument marker from the more standard '@' to the ':' supported
...
but earlier versions of the SQLite dll
2008-07-19 21:01:10 +00:00
Charles Krinke
9ff9279a7c
Mantis#1785. Thank you kindly, Junta_Kohime for a patch that"
...
llAxes2Rot now implemented. Important note: quaternion <x,y,z,s>
is equal to <-x,-y,-z,-s>. The result may be different from LSL
output, but it is correct. A problem of rounding caused an error
of square rooting of zero as negative number, corrected by squaring
again. Function tested 360° along 3 axes. Vector fwd, left and up
have to be normalized.
2008-07-19 14:45:10 +00:00
Jeff Ames
19fd2230bf
Update svn properties. Fix some inconsistent newlines.
2008-07-19 09:35:48 +00:00
Melanie Thielker
351ee78d2a
Quick fix to make the estate ban list effective again, when the region
...
crossing is also a sim crossing. Prevents the CAPS handler from being set
up for a banned user,making them redmap out.
Dirty hack, temporary until I can work out how to do it right.
2008-07-19 06:20:57 +00:00
Melanie Thielker
bcf74416a1
Fix prim link numbers (Mantis #1781 )
...
Implements additional unlink modes (unlink root prim from link set, some
multi-set operations). Linking (single and mutiple) fully implemented.
Consistent numbering of links while in world. Link/delink with predictable
link numbering. Correct link numbers in LSL.
Not all multi-set ops implemented. Link numbers still change when taken and
re-rezzed.
2008-07-19 04:05:34 +00:00
Melanie Thielker
a73d87ef16
Introduce a separate connection string for estates, which defaults to the one gi
...
ven for the region datastore. Removes the flag to store prim inventories, which are now always stored.
2008-07-18 20:50:47 +00:00
Melanie Thielker
bbd076544d
Patch to fix saving of estate managers list loaded during migration.
...
No longer teleports an agent home unless their root agent is being banned.
Visual blocking is still in effect.
2008-07-18 19:32:05 +00:00
Dr Scofield
6a7d544497
pulling query handling through the handlers. adding (non-functional,
...
work-in-progress) HttpHandler.
NOTE: non-active code. does not glow in the dark. non-combustible.
2008-07-18 19:28:52 +00:00
Charles Krinke
c0e389cfff
Mantis#1778. Thank you kindly, Junta_Kohime for a patch that:
...
llRot2Left and llRot2Up functions modified, using fast algebric
calculations instead of vectors and quaternions products.
The accuracy is the same. Normalization is now implemented.
2008-07-18 19:09:51 +00:00
Melanie Thielker
76840906b5
Patch adds bool IsManager(LLUUID) to IEstateModule.
...
Returns true whenever the LLUUID references a user who is either an EM or
the region owner.
Please note that ownership is region-scoped, while EM is estate-scoped.
2008-07-18 18:08:34 +00:00
Dr Scofield
449c09234d
fixing copy & paste artefact.
2008-07-18 15:36:38 +00:00
Sean Dague
611b56070b
add some locks back into the sqlite asset path, as something changed
...
that is causing a lot of out of order execution on asset fetches on
multi region sims.
2008-07-18 15:34:32 +00:00
Dr Scofield
0ea73384d4
simplifying OSHTtpHandler (a bit), adding query string matching,
...
adapting OSHttpXmlRpcHandler accordingly.
NOTE: this code is not live.
2008-07-18 15:31:28 +00:00
Sean Dague
df1485fc51
remove all the odd quoting, on the off chance this was causing some
...
of the issue.
2008-07-18 15:19:52 +00:00
Sean Dague
d9ba7c8339
put the entire thing inside a transaction. This probably doesn't
...
help much, but it might.
2008-07-18 15:13:19 +00:00
Sean Dague
e2a3be254f
fix typo in create index that caused the entire migration to fail.
...
put some drop table if exist clauses in here to hopefully let this
migration work for people that are in an intermediary broken state
right now.
2008-07-18 15:10:20 +00:00
Sean Dague
aec5f0ceed
found a better pattern for SaveOrUpdate with nhibernate
...
cleaned up the asset path a bit
2008-07-18 15:06:24 +00:00
Justin Clarke Casey
f8721c3c1c
* refactor: break out sog loading code into two parts so that post-deserialization changes can be carried out before adding it to a scene
2008-07-18 14:42:06 +00:00
Dr Scofield
a6e2589537
force Culture to en-US in BaseHttpserver.HandleRequest() --- this
...
fixes mantis #1748 and #1771 .
2008-07-18 14:40:07 +00:00
Sean Dague
d44dcdf97b
remove NHPrim, this turned out to be a bad idea
2008-07-18 13:44:16 +00:00
Justin Clarke Casey
03bd6c91a9
* Fix http://opensimulator.org/mantis/view.php?id=1761
...
* Now llGetLinkNumber() returns 0 if the prim is not linked, instead of 1
2008-07-18 11:51:27 +00:00
Dr Scofield
0171e76246
squashing further warnings.
2008-07-18 10:57:18 +00:00
Dr Scofield
3fb0a08619
fixing warnings in EstateSettings and correcting coding style:
...
* warning was:
OpenSim/Framework/EstateSettings.cs(277): warning CS0472: The result of comparing `libsecondlife.LLUUID' against null is always `false'. This operation is undocumented and it is temporary supported for compatibility reasons only
* coding style: space before flow control statements please! http://blogs.msdn.com/brada/articles/361363.aspx
2008-07-18 10:33:10 +00:00
Dahlia Trimble
473059905f
Commented out a readline that was preventing the sim from shutting down in some cases
2008-07-18 08:22:05 +00:00
Mike Mazur
8b613e677f
Implement cast to LSL_Types.LSLInteger from double. Fix issue 1770.
2008-07-18 07:52:44 +00:00
Mike Mazur
e0e0db3660
Thanks, sempuki, for a patch that moves all grid plugins to new PluginLoader (issue 1763).
2008-07-18 04:51:41 +00:00
Dahlia Trimble
230a7ecaec
masks MySQL password from console startup messages
2008-07-18 03:23:40 +00:00
Melanie Thielker
263633e274
Patch #9151
...
Makes the estate dialog fully functional. Implements all client facing functionality. Moves estate data from estate_settings.xml, which is used to provide defaults, to the region data store. Creates one estate for each region, and places the region in it. Converts all region bans to estate bans.
2008-07-18 02:40:47 +00:00
Dahlia Trimble
f87d2d8a92
added region port number to output of "show regions" command
2008-07-18 02:08:14 +00:00
Mike Mazur
0b92ff4fde
Treat LSL_Types as special cases in llList2Integer and llList2Float. This could be implemented many other places, but let's do that on a case-by-case basis.
2008-07-18 02:05:20 +00:00
Charles Krinke
bc24c0e5d7
Mantis#1768. Thank you kindly, Junta_Kohime for a patch that:
...
llRot2Fwd function modified, using fast algebric calculations
instead of vectors and quaternions products. The accuracy is
the same. Normalization is now implemented.
2008-07-18 01:20:06 +00:00
Dahlia Trimble
49adb6e09f
refactor - commenting out needsMeshing() and all references as createMesh() has the same logic and obsoletes the need for it.
2008-07-18 00:03:28 +00:00
Sean Dague
f54828c957
fix build break
2008-07-17 21:07:39 +00:00
Sean Dague
18a5cfd10f
terrain is close to working, but I still end up at the bottom of the sea
...
right now.
2008-07-17 20:58:24 +00:00
Sean Dague
50eab18590
need to synchronize the terrain updates
2008-07-17 20:58:23 +00:00
Sean Dague
4663999c24
first pass at Terrain implementation
2008-07-17 20:58:20 +00:00
Sean Dague
366e09b543
add a Terrain object for the purpose of mapping. This may make sense
...
to stick up in framework later, but for now we'll just keep it close
to the data.
2008-07-17 19:58:47 +00:00
Sean Dague
8f2154916b
if no texture, make it plywood
2008-07-17 19:58:45 +00:00
Sean Dague
a580d7ee35
add plywood texture as a constant, as we need it in a couple of places
...
and it's super cryptic to have random UUIDs hanging out.
2008-07-17 19:58:41 +00:00
Charles Krinke
26fd0595d7
Mantis#1598. Thank you kindly, Matth for a patch that addresses:
...
The previous implementation of llEuler2Rot was not mathematically
incorrect, but it was an awkward way of posing the problem that
led to a few degenerate cases which were not handled correctly -
for example, PI rotations around X and Z axes were wrong. I put
some comments in the source about how I arrived at the current
implementation, which I think is easier to read, and gives
results that match SL.
2008-07-17 19:11:56 +00:00
Sean Dague
6084a7ea3e
Revert "git merge"
...
This reverts commit 80e1c3742a3ba7eb9aa1686a242b36f64331095a.
2008-07-17 18:59:10 +00:00
Sean Dague
dd144e12ba
git merge
2008-07-17 18:59:06 +00:00
Sean Dague
1c0f27b013
finish NHibernate mapping for prims, and it even seems to work
2008-07-17 18:59:04 +00:00
Sean Dague
43df32c52c
fix the null case for deep copy
2008-07-17 18:59:02 +00:00
Sean Dague
0a01be9a86
more safety checks
2008-07-17 18:59:01 +00:00
Sean Dague
db9e6584bf
add a null check for safety
2008-07-17 18:58:58 +00:00
Sean Dague
d5e0a3a184
got basic region object saves working time for lunch
2008-07-17 18:58:47 +00:00
Sean Dague
9aa0302e5b
early remove calls
2008-07-17 18:53:38 +00:00
Dr Scofield
6ca23c1123
rearranging variables in OSHttpRequest and adding Query property.
2008-07-17 16:51:23 +00:00
Charles Krinke
e8412dcd42
Mantis#1736. Thank you kindly, StrawberryFride for a patch that:
...
Many issues with handling connections in MSSQL, have rearchitected to
ensure that connections are always opened and closed in a timely fashion
& disposed of cleanly, and removed unnecessary lock statements. SQL
Server performance seems to have improved considerably as a result,
and various timeout errors seem to have been fixed.
2008-07-17 13:43:31 +00:00
Dr Scofield
ed4241583f
morphing OSHttpHandler interface into an abstract base class. adding
...
HTTP method matching support. adapting OSHttpXmlRpcHandler
accordingly. dropping OSHttpXmlProcessor delegate in favour of good
old XmlRpcMethodHandler delegate (was the same signature).
2008-07-17 12:54:15 +00:00
Sean Dague
2a30e85c97
added index to ParentID on prims, as this is sorted on for prim loading.
...
This should speed up initial load of prims, especially on primy regions.
2008-07-16 22:16:46 +00:00
Sean Dague
40ab5f2085
clean up mappings for parent id
2008-07-16 21:28:01 +00:00
Sean Dague
6adac3bd5a
getting close on saving prims via nhibernate
2008-07-16 21:27:59 +00:00
Sean Dague
44d0b7c724
make ParentUUID be a cached value, but allow setting it for
...
short term storage (needed to rebuild SOGs)
2008-07-16 21:27:57 +00:00
Sean Dague
d3190236cc
fix RegionStore creation so that the .sql file works
2008-07-16 21:27:55 +00:00
Sean Dague
194ffb4d88
made SOP have a blank setter for 2 convenience properties.
...
Got RegionStore mapping to the point that nhibernate would start, though
definitely not complete
2008-07-16 21:27:52 +00:00
Sean Dague
58a0d0bb32
be a little more discriminating on firing ShapeChanged script events
...
so that we don't get them on every object construction.
2008-07-16 18:29:03 +00:00
Sean Dague
d9523b4e1a
change fields to private so everyone will use properties
2008-07-16 15:18:13 +00:00
Sean Dague
f3173735fa
Revert "refactoring of PrimitiveBaseShape to properties"
...
This reverts commit 60e13a9997da89d224fbe8a97ab42bfc6114a45f.
2008-07-16 15:10:35 +00:00
Sean Dague
1e447478b8
refactoring of PrimitiveBaseShape to properties
2008-07-16 14:41:57 +00:00
Sean Dague
e2d02cbf65
further property refactoring of PrimitiveBaseShape
2008-07-16 14:41:53 +00:00
Sean Dague
c6b1a190bc
refactoring primitive base shape to use properties
2008-07-16 14:41:49 +00:00
Sean Dague
309e479ac4
work in progress on nhibernate
2008-07-16 14:40:19 +00:00
Charles Krinke
0106f96716
Mantis#1755. Thank you kindly, Matth for a patch that solves:
...
When using math operators +,-,*,/ in an LSL script with an LSLFloat
and an integer literal the wrong result is returned. This patch
adds operators to the LSLFloat type to handle this case.
2008-07-16 14:30:22 +00:00
Dr Scofield
1e39bfb036
squashing warnings critters
2008-07-16 09:42:14 +00:00
Charles Krinke
4350613f1d
Mantis#1746. Thank you kindly, nlin for pointing out that
...
I needed to apply the patch a little better then last night
for: Dot product operator in LSL_Types.cs incorrectly returns
a component-wise vector multiplication; it should return a
scalar dot product. Thanks to M. Igarashi for the patch.
2008-07-16 03:07:54 +00:00
Mike Mazur
18aa58c63b
Fix issue 1582. The maximum allowable length for a string passed to SimChat is 1500. If it was longer than 1500, it was being truncated to 1501 characters. This caused an exception and prevented the errors from reaching the console and the user in-world.
2008-07-16 01:19:32 +00:00
Charles Krinke
620f7926f3
Mantis#1753. Thank you kindly, Kinoc for a patch that:
...
Brings Yield Prolog up to date with sourceforge version 0.9.10
Patched applies to both DotNet and XEngine.
2008-07-16 01:00:40 +00:00
Sean Dague
2f46ab5096
add migration for SceneGroupID to char(36) plus add an index. This
...
should actually speed up deletes substantially, especially for large
regions, as this was a table scan before.
2008-07-15 20:06:58 +00:00
Sean Dague
b5efb49d74
added new ParentUUID property to map out from SOP.
...
Updated some nhibernate parts, started in on migration.
2008-07-15 18:57:18 +00:00
Justin Clarke Casey
d75cacb050
* Expose client statistics to the console via 'show stats'
...
* Potentially useful for diagnostics without needing to log in a client
* Packet queue statistics commented out for now pending a better way to cope with the information overload
2008-07-15 18:07:23 +00:00
Dr Scofield
00c15eb0c4
cleanup: fixing CamelCase issue with RestDeserialiseHandler.
2008-07-15 13:33:31 +00:00
Dr Scofield
8b933e53c0
fixes handler scoring method. XmlRpc code path now fully working with
...
HttpServer. :-)
2008-07-15 13:06:30 +00:00
Dr Scofield
788c3c497b
removes a Console.WriteLine(...) remnant.
2008-07-15 13:02:10 +00:00
Dr Scofield
5d0b6343a0
killing a lonesome warning that managed to creep in...
2008-07-15 12:02:49 +00:00
Dr Scofield
b77bcb6660
fixes a couple of issues i introduced yesterday, one of them MapBlock queries crashing.
2008-07-15 11:46:13 +00:00
Charles Krinke
4848dcf0e3
I had to revert the Mantis#1746 patch as although the local build
...
with Windows compiled, the automated build failed.
2008-07-15 03:17:45 +00:00
Charles Krinke
ff16a886c1
Mantis#1746. Thank you kindly, nlin & M.Igarashi for a patch that:
...
Dot product operator in LSL_Types.cs incorrectly returns a
component-wise vector multiplication; it should return a scalar
dot product. Thanks to M. Igarashi for the patch.
2008-07-15 03:06:38 +00:00
Charles Krinke
8fcd9532ab
Mantis#1745. Thank you kindly, Lulurun for a patch that:
...
Fixes simulator webmap functionality.
2008-07-15 02:59:23 +00:00
Sean Dague
edbf997e29
added RegionID get property
2008-07-14 21:39:30 +00:00
Justin Clarke Casey
8e3f83b1c8
* Change load-oar/save-oar status to highly experimental.
...
* See http://opensimulator.org/wiki/OpenSim_Archives for more details.
* These commands can now be used on an experimental basis. save-oar saves the entire current region (prim data, assets, prim inventory items, terrain) to a single tar.gz file.
* load-oar loads an opensim archive and entirely replaces the current region (at the moment).
2008-07-14 20:56:53 +00:00
Charles Krinke
b100b841b3
Mantis#1739. Thank you kindly, Grumly57 for an additional patch that:
...
Changed code to include Melanie's advice about X-SecondLife-Region,
then put the exact same content format as a llHTTPRequest issued by
other grids.
2008-07-14 17:47:12 +00:00
Justin Clarke Casey
177001cdfc
* On an archive load, make the master avatar the owner of all scene objects for now
2008-07-14 16:44:50 +00:00
Justin Clarke Casey
9cb4ba9d6b
* For now, when loading an archive all the existing scene objects get deleted by default
2008-07-14 16:23:59 +00:00
Dr Scofield
31e5d348f6
adding support for Xml2 serialization format to XmlRpcLoadXMLMethod.
2008-07-14 14:40:39 +00:00
Charles Krinke
00791594ad
Mantis#1739. Thank you kindly, Grumly57 for a patch that:
...
Implements X-SecondLife-* HTTP Headers for llHTTPRequest
2008-07-14 13:51:54 +00:00
Dr Scofield
4476d484c3
fixing warning in IRCBridgeModule and logging the exception cause now.
2008-07-14 12:32:34 +00:00
Dr Scofield
7692f3e18f
further work in progress on the HttpServer side: XmlRpc handler path
...
almost complete and soon to be ready for testing; OSHttpResponse code
out.
2008-07-14 12:18:32 +00:00
Dahlia Trimble
d262fb5650
adds a default value of true to the new IRC bridge configuration option "nicknum" to provide backwards compatibility for existing OpenSim.ini files
2008-07-14 09:16:07 +00:00
Melanie Thielker
07bd749ac5
Patch #9150
...
Patch 7 of the region patches. Finish off the region parts of the estate dialog. Full user functionality. Terrain textures, heights, water, avatar counts, prim bonus, debug settings and region toggles can now be set from the dialog on a per-region basis. Estate stuff defaults to sane values where there are no defaults, to estate_settings.xml otherwise. Sun still b0rked :(
2008-07-14 01:39:36 +00:00
Melanie Thielker
eaf9383b59
Patch #9149
...
Make all of the toggles go live. Utilizes the new database table for almost everything. Remove lots of now unneeded settings from the EstateSettings class
2008-07-14 01:32:16 +00:00
Melanie Thielker
12173034d9
Patch #9148
...
Patch 5 in the region settings series. Adds a migration to ensure corrupted
data is purged and re-read from defaults. Some changes. Still no full
functionality
2008-07-14 01:29:48 +00:00
Melanie Thielker
e712678689
Patch #9147
...
Patch #4 of the region settings series. Partial functionality of the new
storage system. More patches to follow.
2008-07-14 01:27:47 +00:00
Charles Krinke
476e08286e
Mantis#1728. Thank you kindly, Mikem for a patch that solves:
...
The compiler was missing grammar rules for += etc. operators on
vector.member variables, which the attached patch implements.
2008-07-14 01:07:21 +00:00
Charles Krinke
d0fb5e8c90
Mantis#1638. Thank you kindly, Salahzar for a patch that:
...
Addresses an unused field in the asset server but never get filled up.
It also makes working the recent items tab in inventory :))))
2008-07-13 18:57:13 +00:00
Justin Clarke Casey
92cac0c6de
* minor: make scene closing log message info rather than warn
2008-07-13 00:21:23 +00:00
Justin Clarke Casey
eb63b9bbc1
* Actually persist restored archives to the database - wasn't actually doing this before (doh)
...
* Not quite perfect yet
2008-07-13 00:18:29 +00:00
Justin Clarke Casey
bd9736c9f8
* Elminate most of the debugging log output from the archive commands
2008-07-12 22:31:46 +00:00
Justin Clarke Casey
da55f4d2ae
* minor: comment out a couple of lines to eliminate nhibernate compile warnings for now
2008-07-12 22:18:54 +00:00
Justin Clarke Casey
a89385818d
* On archive loading, tell the user how many objects we are ignoring because they already exist in the scene
...
* (ability to give objects new uuids will come later)
2008-07-12 22:14:38 +00:00
Justin Clarke Casey
23c4a409b7
minor: method documentation
2008-07-12 21:43:35 +00:00
Justin Clarke Casey
7d97169351
* minor: thought up a better name for the last allocated local id
2008-07-12 21:07:42 +00:00
Justin Clarke Casey
000d5e8b93
* minor: just some null guards and name changes to make it clearer that prim count is actually a prim local id dispenser
2008-07-12 21:03:12 +00:00
Justin Clarke Casey
e30ca523ae
* refactor: Move xml/archive loading and saving code into separate methods ready for future modularization
2008-07-12 20:14:17 +00:00
Justin Clarke Casey
b835b1d7ec
* refactor: collapse scene debug settings into same format as packet debug settings
2008-07-12 20:04:31 +00:00
Justin Clarke Casey
91a208b6a5
* Refactor: Minor cleanup of Debug method in OpenSim.cs
2008-07-12 19:47:45 +00:00
Justin Clarke Casey
451c3d1dd7
* Hive off ConsolePluginCommand into its own framework class
2008-07-12 19:29:49 +00:00
Justin Clarke Casey
35d5b3991b
* Make archive default tar file modes more permissive
2008-07-12 19:19:22 +00:00
Justin Clarke Casey
77723f8b8d
* Remove warning
2008-07-12 19:08:46 +00:00
Justin Clarke Casey
654b3424c7
* Remove warning and tidy up logic in SceneObjectGroup.UpdatePrimFlags()
2008-07-12 19:05:12 +00:00
Justin Clarke Casey
4e7dd0d919
* Start compressing archives
2008-07-12 18:54:21 +00:00
Melanie Thielker
4ff529bdaf
Patch #9146 (No Mantis)
...
Prevent an exception caused by inventory server fetch requests
2008-07-12 18:26:25 +00:00
Charles Krinke
932ed5ec54
Mantis#1726. Thank you kindly, StrawberryFride for a patch that:
...
On an MSSQL-based Grid OpenSim installation, users could log in to the sim once,
then log off - after a short time before retrying users would be unable to log in,
and would see an empty alert box on the client with just a "close" button and no text.
Despite no users being logged into the sim, user server would report a higher number
of logins than logouts.
2008-07-12 18:05:57 +00:00
Charles Krinke
33971a7ce8
Mantis#1681. Thank you kindly, Vytek for a patch that:
...
Adds additional support for llEmail().
2008-07-12 17:23:30 +00:00
Charles Krinke
0b28cf84f1
Mantis#1718. Thank you kindly, Mircea for a patch that:
...
Adds some IRC bridge improvement.
2008-07-12 17:19:24 +00:00
Charles Krinke
132b95ec95
Mantis#1714. Thank you kindly, Krtaylor for a patch that:
...
Solves llGetListLength fails scripts when list is not initialized.
2008-07-12 17:11:43 +00:00
Charles Krinke
bdec1aea92
Mantis#1716. Thank you kindly, Nlin for a patch that:
...
Addresses the Gap when sitting on single prims with
a sit target (discrepancy with SL)
2008-07-12 17:08:34 +00:00
Charles Krinke
e6d3f7c39d
Mantis#1691. Thank you kindly, Phrearch for a pactch that:
...
Solves llGetCameraPos() implementation + permission bug.
2008-07-12 17:04:56 +00:00
Melanie Thielker
9e20318667
Patch #9145 (Mantis #1723 )
...
Allows direct viewing of library scripts from inventory again
2008-07-12 13:42:32 +00:00
Melanie Thielker
f629fdb88d
Patches #9143 and #9144 (Mantis #1723 )
...
Changes the permissions module to make scripts permissive only when intended
Adds security checks to asset transfers to prevent hacked clients fron
requesting script sources.
Adds security checks to llClientView to verify all aspects of ownership
and permissions for inventory based script retrieval.
2008-07-12 06:24:43 +00:00
Dahlia Trimble
13399ff439
Passes prim physical status to mesher from physics plugins
...
Small prims now get a full mesh if they are physical
Fixed a logic bug that was preventing many prim meshes from having excess memory cleaned up
Switched to more conservative method of vertex and triangle list trimming to prevent possible crash
2008-07-12 01:58:20 +00:00
Melanie Thielker
d85774c101
Patch #9142 (No mantis)
...
Add a config option to OpenSim.ini to select between script compilers
in the XEngine without recompile.
Set UseNewCompiler=true in OpenSim.ini and try it out.
Creates the ICodeConverter interface and adapts the new compiler to it.
2008-07-12 01:34:36 +00:00
Dahlia Trimble
f6c7f167b9
Overloads CreateMesh method of interface IMesher to pass prim physical status to mesher
2008-07-12 01:02:41 +00:00
Melanie Thielker
746c6fb1a2
Patch #9141 (Mantis #1655 )
...
Untangles llDie handling in XEngine, which resulted in a thread being
aborted while executing inside of Scene.
2008-07-12 00:06:45 +00:00
Dahlia Trimble
b42770bf7a
Trim out nulls from mesh vertex and triangle lists to try and save more memory
2008-07-11 20:32:58 +00:00
Justin Clarke Casey
da68f18a6b
* Guard against a null point passed to RemoveClientCircuit (odd that this happens at all)
...
* Patch from Kurt Taylor (IBM) in http://opensimulator.org/mantis/view.php?id=1720
* Thanks Kurt!
2008-07-11 17:58:26 +00:00
Melanie Thielker
53461fad2c
Patch #9140 (Mantis #1683 )
...
Add LifetimeService overrides to all MarshalByRef derived classes
to prevent the remoting interfaces from expiring.
2008-07-11 17:52:39 +00:00
Dahlia Trimble
3646cc32c4
Experimental physics optimization: prims with all 3 dimensions less than 0.2 meters will be meshed as a simple box
2008-07-11 17:22:37 +00:00
Justin Clarke Casey
297ca095df
* Oops, turn off permissions debugging I stupidly hardcoded
2008-07-11 17:16:03 +00:00
Justin Clarke Casey
f7d9b0bab7
* Move thread tracking code to base opensim server so that it's available for all servers (UGAIM as well as Region)
...
* This will work as long as those servers are actually registering any threads they use (does not include stuff plucked from the thread pool)
* command is now "show threads" rather than threads
2008-07-11 16:24:52 +00:00
Justin Clarke Casey
8535cb52e0
* Put an info entry in the log if permissions are being bypassed
...
* might help to diagnose mantis 1712
2008-07-11 16:03:12 +00:00
Charles Krinke
1472cee72f
Mantis#1005. Thank you kindly, Mircea for a two patches that:
...
Addresses both locale issues and setting the waterHeight correctly.
2008-07-11 15:40:56 +00:00
Justin Clarke Casey
aad55e5034
* Comment out body of experimental ParcelMediaSetTime() since MW says it causes a mono 1.2.4 compile to fail
...
and MW says it will soon be replaced anyway.
2008-07-11 14:51:02 +00:00
Dr Scofield
eec67d7402
trying to fix mantis #1711 .
2008-07-11 14:33:47 +00:00
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
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