Melanie Thielker
c1e7b45e18
Fix wrong bitmask value in script engine that would make a mess of
...
the ObjectFlags. Good catch, gsky, thank you!
2008-08-04 17:52:00 +00:00
Melanie Thielker
244a9282d0
Addresses Mantis #1886
...
Forces the landmark and menu flags to be always set, like in previous
releases. This will cause the parcel based restriction on setting
landmarks to have no effect, until it is implemented properly
2008-08-04 15:19:10 +00:00
Charles Krinke
dba4d357c8
Mantis#1877. Thank you kindly, Sache Magne for a patch that:
...
This patch allows the operator to see the region currently served.
A message "Serving region : xxxxx" appears under help or any show commands.
2008-08-02 02:53:11 +00:00
Justin Clarke Casey
ec8f2d836c
* minor: correct spelling, remove warning
2008-08-01 21:15:38 +00:00
Melanie Thielker
12c5bfa3e0
Estate series, patch 9 ( #9157 )
...
Adds the new access semantics and the new flag (allow only age verified)
Plumbs in the abuse email address from sim to viewer. The other way around,
libomv appears to be lacking support for the data field in the packet.
Includes a migration, run prebuild!
2008-08-01 21:08:00 +00:00
Justin Clarke Casey
c952dd465c
* minor: add to the thread tracker the thread with which the thread tracker tracks threads
2008-08-01 20:52:32 +00:00
Justin Clarke Casey
e32c0930c2
* Register main thread as console thread with thread tracker
2008-08-01 20:29:05 +00:00
Justin Clarke Casey
89898a2a6a
* minor: get rid of count number from 'show threads' display since they all have IDs
2008-08-01 20:21:49 +00:00
Justin Clarke Casey
3fc942558e
* start tracking viewer session threads
2008-08-01 20:16:28 +00:00
Justin Clarke Casey
5350cec0b3
* minor: log message twiddling
2008-08-01 20:05:26 +00:00
Justin Clarke Casey
10e0df0a2d
* correct bug from last commit - for now don't drop cached user profile when an agent is downgraded to a child agent
...
* since upgrading to a root agent doesn't currently re-retrieve the user profile
2008-08-01 19:24:48 +00:00
Justin Clarke Casey
43b2ff1d11
* Drop cached inventory from the local region when a user crosses out into a remote region
...
* May resolves inventory problems that occur when the user moves between two regions`
* e.g. if the user moves to a second region, adds an inventory item, moves back to the original region then tries to manipulate that item
* Not yet implemented for teleport
2008-08-01 18:49:48 +00:00
Justin Clarke Casey
de4e3bfede
* minor: eliminate some unused variables in InventoryFolderImpl
2008-08-01 16:22:26 +00:00
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