Sean Dague
6e1bcbcf48
remove calls
2008-09-04 22:06:13 +00:00
Sean Dague
ff4b6fc1b5
start in on an EntityList class so we can stop doing lots of manipulating
...
of Entities as a dictionary directly
2008-09-04 17:52:53 +00:00
Sean Dague
d8c9e3a7a3
fix some indenting
2008-09-04 15:49:24 +00:00
Sean Dague
afac1953a2
minor fixes
2008-09-04 15:35:30 +00:00
Sean Dague
2d6e9139a4
added rollback bit to the help menu
2008-09-04 15:35:29 +00:00
Sean Dague
d508b1f082
add some stubbing for ini.example for CMS module
2008-09-04 15:34:09 +00:00
Melanie Thielker
eee9c114cb
Mantis #2111
...
Eliminate gretuitious KillObject packets. KillObject is sent to the
viewer for the root part only.
Also prevents the full update on deselect that makes a deleted object
reappear and stay visible until the background deleter got around to it.
We still send 2 KillObject packets for the root prim, that could be
avoided only at a cost in reliability. One packet seems an acceptable
price to pay for consistency.
2008-09-03 19:28:46 +00:00
Melanie Thielker
ef27c8817f
Mantis #2112
...
Thannk you, ralphos, for a patch to clean up list item type handling
and add a missing explicit cast in Shared/
2008-09-03 18:57:06 +00:00
Sean Dague
cf7f3df4c2
add standard copyright headers for the project
2008-09-03 18:23:59 +00:00
Sean Dague
8741c58dc6
remove non code files
2008-09-03 18:23:51 +00:00
Sean Dague
af5c7e52b1
narrange to do basic cleanup of the CMS module
2008-09-03 18:11:44 +00:00
Sean Dague
eee0fa73e0
white space fixes
2008-09-03 18:04:44 +00:00
Sean Dague
9082316757
come up nicer on startup if the opensim.ini section isn't there
2008-09-03 18:04:42 +00:00
Sean Dague
4ddc7d66d6
type change from ChatFromViewerArgs -> OSChatMessage to line up with trunk.
2008-09-03 18:04:41 +00:00
Sean Dague
12beaccec7
Merge branch 'cms' of http://pokgsa.ibm.com/~jbongio/public/opensim
2008-09-03 18:04:37 +00:00
Jeff Ames
9053e8510c
Update svn properties.
2008-09-03 14:05:49 +00:00
Melanie Thielker
b0965a41d6
Mantis #2097
...
Thank you, ralphos, for a patch that fixes an InvalidCastException
in llSetPrimitveParams.
2008-09-03 13:22:18 +00:00
Dr Scofield
3d101de375
clean up and fixing a typo.
2008-09-03 11:58:36 +00:00
Melanie Thielker
dba779862d
Mantis #2107
...
Thank you, lulurun, for a patch to fix a possible crash when a received
packet contains a quaternion with all members zeroed.
2008-09-03 11:25:11 +00:00
Melanie Thielker
0fc55818ca
Mantis #2109
...
Prevent a null reference exception when reset is pressed on a script
while it's being compiled.
2008-09-03 10:53:25 +00:00
Charles Krinke
e044d83679
Mantis#2106. Thank you kindly, HomerHorwitz for a patch that:
...
The attached patch fixes connectivety checking of root- and
child-agents. If an agent's client isn't sending any packets
for some time (not even to StartPingCheck packets), we assume
that we lost connection and try to log them out.
2008-09-03 03:35:54 +00:00
Charles Krinke
98da84c851
Mantis#2105. Thank you kindly, HomerHorwitz for a patch that addresses:
...
Due to the many problems with not cleaned up child-agents, I thought it
might make sense to be able to see them on the console. 'show users' on
the region-server's console now outputs root- and child-agents (with
"root" or "child" column)
2008-09-03 03:32:29 +00:00
Melanie Thielker
e98780fea5
Mantis #2099
...
Thank you, cmickeyb, for a patch that corrects the database connection
handling in the multithreaded user server.
2008-09-03 02:51:34 +00:00
Sean Dague
36dcedce31
a piece of LSL_API changes got checked in incorectly with 6091. This
...
fixes that, and should get us back to compile state.
2008-09-02 20:45:46 +00:00
Sean Dague
abb0ad36bd
apparently I missed one of the old version routines that could be
...
removed. Removing that now.
2008-09-02 20:17:57 +00:00
Melanie Thielker
9806c0b374
Committing the missing resource file for MSSQL. Sorry...
2008-09-02 20:05:20 +00:00
Melanie Thielker
52a5425628
Small fix to a cast in list parsing
2008-09-02 14:08:15 +00:00
Melanie Thielker
930b2ec602
Mantis #2102
...
Thank you, RuudL, for a patch that supplements the previous MSSQL
patch.
2008-09-02 13:43:49 +00:00
Melanie Thielker
2e4a5aa98a
Fix and reactivate the unit tests on the XEngine
2008-09-02 13:38:14 +00:00
Dr Scofield
109aa00150
fix: PostInitialise() not being called on script engines (nasty one that)
...
cleanup: warnings, readability
2008-09-02 12:07:23 +00:00
Melanie Thielker
f13a48fe1c
Fix regex for string->int cast to accept leading spaces and a sign
2008-09-02 06:43:16 +00:00
Melanie Thielker
14a218dbc9
Temporarily disable the unit tests for Shared/ until they can be updated.
2008-09-02 06:19:55 +00:00
Melanie Thielker
2fbebbb644
First batch of the unit test changes for the new constants semantics
...
in XEngine. This turned out to be a lot of work to catch up.
2008-09-02 06:02:14 +00:00
Melanie Thielker
b7a4613a0d
Correct the representation of the automatic null string
2008-09-02 04:23:01 +00:00
Melanie Thielker
e2a0a04beb
Remove the ((bool)()) cast, since it can make c# barf
2008-09-02 04:15:06 +00:00
Melanie Thielker
61978649ec
Change some chat output functions so that text is truncated at
...
1000 chars to avoid the exception thrown by libomv at 1100 chars.
Change string->int conversion so it copes with non-numeric chars
after the number and no longer uses a float to parse the value.
2008-09-02 03:43:18 +00:00
Dahlia Trimble
a5e7807612
Y top shear accuracy improvements in circular path prim meshes
2008-09-02 01:54:08 +00:00
Melanie Thielker
146f469524
Add an explicit cast to bool for the if expression so that any base types
...
that slip in will not cause it to break
2008-09-02 00:03:16 +00:00
Melanie Thielker
0e7bac07f6
Thank you, Ewe Loon, for a patch that fixes various aspects of
...
llSetPrimitiveParams and llSetLinkPrimitiveParams
2008-09-01 23:35:52 +00:00
Melanie Thielker
a5d2674a43
This is an attempt to fix the handling of constants in LSL.
...
It wraps constants in new LSLType(x), so that lists with
constant values are processed correctly. Contains changes to
the lsl.parser.cs that are not (yet) reflected in opensim-libs,
since this experimental patch affects XEngine only. Also contains
nuts.
2008-09-01 23:33:12 +00:00
Melanie Thielker
bfeb3881f2
Another attempt at fixing XEngine llSetPrimitiveParams: Make it accept
...
LSLIntegers in lists, and attempt to address the scope issue on TRUE
and FALSE with readonly static linkage
2008-09-01 21:54:04 +00:00
Melanie Thielker
b6bb5f944f
Mantis #2095
...
Thank you, RuudL, for a complete adaptation of migration and estate
data to MSSQL, and the updating of the RegionData handling in MSSQL.
2008-09-01 17:10:01 +00:00
Melanie Thielker
ddd68a0537
Mantis #2072
...
Griefer protection! When running without serverside permissions, let only
the owner edit attachments. Having everyone able to do it just isn't right.
2008-09-01 12:56:53 +00:00
Dahlia Trimble
f4035840d2
compensates profile placement effects of Y hole size on X top shear for circular path prim meshes
2008-09-01 08:19:47 +00:00
Dahlia Trimble
9cf9c08696
Improvement in mesh accuracy in X Top Shear parameter for circular path prims
2008-09-01 06:00:07 +00:00
Melanie Thielker
805deb5a9b
Attempt to fix an issue I havebeen seeing, where asset server failure
...
results in a memory leak which will make the region crash and burn
after a while.
2008-08-31 10:42:35 +00:00
Justin Clarke Casey
cd5f8cf9ec
* Pragma out deprecation warning and comment out to remove other warnings in the OGP module
...
* Thanks to Teravus for the heads up on this.
2008-08-30 22:02:04 +00:00
Justin Clarke Casey
d3510def00
* If a general alert message is sent out, only send it to avatars in the scene (not child agents).
...
* This foxed me in the osgrid meeting last week
2008-08-30 21:52:09 +00:00
Justin Clarke Casey
c713ec8223
* Committed patch in mantis 623
...
* Unpatched code certainly looks bizarre - attempts to add a new client if we encountered a failure in processing a packet. No apparant ill effects on a sniff test.
* Thanks openlifegrid
2008-08-30 21:33:55 +00:00
Justin Clarke Casey
e4ec9829cd
* Apply cmickeyb's patch from mantis 2068
...
* llParseString functions throw exception when passed a list of variables
* Thanks!
2008-08-30 21:12:58 +00:00
Justin Clarke Casey
d2344b5626
* Oops, add landmarks to region archive loading/saving
...
* Hopefully this will resolve mantis 2049
2008-08-30 21:05:09 +00:00
Adam Frisby
2133fa56e7
* Added new MySQLSuperManager support for the grid servers.
...
* In theory, login and a large number of grid functions should now at least be multithreaded.
2008-08-30 19:35:22 +00:00
Justin Clarke Casey
3faadb3f5c
* minor: Tiny doc addition to trigger another build that hopefully won't fail
...
* I can't see why the last compile failed - hoping it's some kind of glitch
2008-08-30 18:29:37 +00:00
Justin Clarke Casey
49ec6dd882
* squash some obvious warnings
...
* a couple more remain that preferably the original coders should look at in more detail (obsolete warnings in the ogp module and not overriding warnings in the script
engine)
2008-08-30 18:09:38 +00:00
Justin Clarke Casey
645d2c49e1
* Remove unused OpenSim/Framework/RegionHandle.cs as per Homer's suggestion in mantis 2082. Thanks.
2008-08-30 17:57:48 +00:00
Justin Clarke Casey
8f31c47f2f
* Apply patch in mantis 2083
...
* TimeStamp field of the AgentMovementCompletePacket in LLClientView.MoveAgentIntoRegion contained a fixed number. The attached patch changes this to a current
timestamp.
* Thanks HomerHorwitz
2008-08-30 17:51:12 +00:00
Adam Frisby
72b0a53ada
* Fixed #2807 Again, Whoops.
2008-08-30 16:46:51 +00:00
Adam Frisby
e471a33961
* Fix for Mantis #2087 , Standalone MySQL broken with threading improvements. (Didnt realise this code was being shared with the gridservers)
2008-08-30 14:27:28 +00:00
Adam Frisby
b63922dcfe
* Minor fix to previous threading patch, every nTH request would previously have been delayed for 1000ms. This has been fixed.
2008-08-30 13:46:04 +00:00
Adam Frisby
0a5280edb5
* Added new "SuperManager" class for MySQL connections, for allowing multiple concurrent MySQL threads.
...
* Implemented SuperManager inside of UserData. This means the userserver when running on MySQL will use 10 connections (+1 system connection) to handle requests, preventing the previous mire of locking resulting in singlethreadedness.
* This requires testing and grids relying on stability should not upgrade to this revision until it's been properly tested.
2008-08-30 13:38:46 +00:00
Adam Frisby
618ccd4ebc
* Ditto, UserServer/Main.cs
2008-08-30 13:06:58 +00:00
Adam Frisby
d0397af998
* More cleanup, including UserManager.
2008-08-30 13:03:38 +00:00
Adam Frisby
50a62145ad
* Initial inspection of UserLoginService.cs, cleaned up source code slightly to make it easier to work with.
2008-08-30 12:58:54 +00:00
Adam Frisby
f57f4d1ab8
* Added "File Asset Client" to OpenSim Asset Server-types.
...
* You can replace "grid" as the asset system with "file" to save and load all your assets from a directory on your hard disk. Files are serialised to XML and saved in the format "/<dir>/0x/0x/0x/0000-0000-000000-0000-0000.xml"
* Directory <dir> is sharing the Asset Server URL path, use a normal path here instead (ie C:\xyz or /var/assets/).
* This probably wont work well in grid mode unless every sim has access to the same directory. This is mostly intended for standalone usage where quick and convenient access to assets is required.
2008-08-30 04:42:23 +00:00
Charles Krinke
e3308c0fa5
Mantis#2084. Thank you kindly, HomerHorwitz for a patch that:
...
Addresses the problem of ghost avatars. The problem was child-agents
sending data. Due to symmetry reasons, I considered that wrong.
Whenever an avatar A1 in region R1 looks at avatar A2 in adjacent
region R2, we have two possibilities to communicate: A2-root sends
to A1-child (both in region R2), or A2-child sends to A1-root
(both in region R1). Currently, the children send data in some cases,
and I guess the viewer gets puzzled about that and switches the child
to root as consequence (at least partly), so it becomes visible.
2008-08-30 01:21:18 +00:00
Melanie Thielker
fda5457996
Maintis #2078
...
Thank you, ralphos, for a patch that corrects the handling of compiler
warnings in the XEngine, which were erronoeously reported as errors!
2008-08-29 19:57:01 +00:00
Charles Krinke
9fc67f1908
Mantis#2067. Thank you kindly, HomerHorwitz for a patch that:
...
Found that during my ghost-hunt: Add some logging and you see that the
counting down happens twice (once at the place that is removed by the
patch, and once caused by the actual removal of the root-/child-agent
during LLClientView.Close). With the patch applied, I end up with correct
numbers, i.e. with 0 roots and 0 children after everyone has logged out.
2008-08-29 14:21:31 +00:00
Melanie Thielker
ee0a5caa30
Fix an issue where the client supplies an empty name and it was applied
...
to the inventory item, causing the item to wind up without a name.
2008-08-29 11:03:58 +00:00
Dahlia Trimble
35ad484b6b
fixed some ugliness in the conversion from the new mesher format to the old that should speed up region startup a little and maybe even use less memory if the GC decides to play friendly with the other kids.
2008-08-29 08:19:47 +00:00
Melanie Thielker
10b2a4597a
Mantis #1903
...
Thank you, cmickeyb, for a patch that fixes inventory folder retrieval.
2008-08-28 20:56:53 +00:00
Jeff Ames
3bf8858727
Update svn properties, formatting cleanup.
2008-08-28 14:41:54 +00:00
Melanie Thielker
086284da55
Thannk you, Ralphos, for a patch the corrects an improper cast in
...
llSetPrimitiveParams
2008-08-28 14:08:09 +00:00
Sean Dague
605ceb6176
Fix for Bug #2065 : New check out crashes on sqlite migration
...
I apparently missed one drop tables statement that was actually needed
when I did the cleaning to make this work for old sqlite versions.
2008-08-28 12:47:55 +00:00
Melanie Thielker
5dac6242bd
Thank you, salahzar, for a patch that adds some more functions
...
from DotNetEngine into XEngine.
2008-08-28 10:42:22 +00:00
Dr Scofield
1828091528
create-region didn't know about regionload_regionsdir...
2008-08-28 10:01:56 +00:00
Dr Scofield
0921dafddf
adds XmlRcpLoadOAR support to RemoteAdminPlugin.cs
2008-08-28 09:34:47 +00:00
Teravus Ovares
47127abfb6
* Added hack so that if the default OpenSimulator ParentEstateId(100) is being sent through rez_avatar, it'll be swapped out with 1. This ensures that when the map recognizes the parent estate id parameter on the linden grid, it'll work as expected. This also has the effect of making it impossible to send a Parent Estate ID with 100 over OGP from OpenSimulator (Sorry Owner of estate 100).
2008-08-28 08:25:47 +00:00
Teravus Ovares
88b3df9d52
* OGP update, deserialize the parameter array properly in rez_avatar
...
* Tweak rez_avatar data so it's easier to update when OGPr3 comes out
2008-08-28 08:13:35 +00:00
Dr Scofield
4a3523bc67
this fixes the crash reported by mantis #2046 : user server crashing if
...
no OpenSim.ini file found by GridInfoService. GridInfoService now will
just issue a warning that GridInfo will NOT be available to your users
if no OpenSim.ini file is available. due to the static nature of
UserConfig (configuration options hardcoded) i don't think it's currently
an option to move GridInfo into user_server.xml but if anyone wants to
look into this i'd be delighted...
2008-08-28 07:37:16 +00:00
Dahlia Trimble
49f9bd8b68
Added some exceptions for bad profile cut parameters
2008-08-28 06:41:32 +00:00
Melanie Thielker
53f78a1087
Thank you, A_Biondi, for patch to porperly apply the new item name
...
when copying within agent inventory
2008-08-28 02:36:40 +00:00
Melanie Thielker
bf4d1fbb8d
Refactor IScriptInstance / IScriptEngine to use a generic IScriptWorkItem,
...
which is a thin wrapper around a IWorkItemResult from the SmartThreadPool.
However, it is very easy to reimplement on top of basic threading and therefore
makes the IScriptInstance class independent of the specific threading
implementation.
2008-08-28 00:37:22 +00:00
Dahlia Trimble
1a83384f90
re-enable new PrimMesher module for mesh creation for standard (non-flexy) prims.
2008-08-27 23:43:53 +00:00
Dahlia Trimble
2c842652c1
ODEPlugin now frees source mesh data after conversion to pinned lists to save memory
2008-08-27 23:39:50 +00:00
Dahlia Trimble
e593a333c7
adds releaseSourceMeshData() method to IMesh and Mesh for freeing mesh data after conversion to pinned lists.
2008-08-27 23:37:14 +00:00
Melanie Thielker
5525a3ecb4
Thank you, salahazar, for a patch that corrects the behavior of
...
llDetectedLink(). Also a small refactor to remove an interface member
from IScriptEngine.
2008-08-27 22:53:58 +00:00
Melanie Thielker
6e3367d68c
Refactor XScriptInstance to IScriptInstance and move into Shared/. Now
...
engines that want to use the XEngine's instance handling and state
persistence can do so. IScriptInstance is optional, but it does
require the SmartThreadPool if it is used.
2008-08-27 22:38:36 +00:00
Melanie Thielker
a2985b5655
Refactor Executor into the script app domain and IScript. This changes
...
an implicit reference into a proxied one and further reduces memory
consumption of XEngine
2008-08-27 21:36:03 +00:00
Teravus Ovares
f900553b58
* Updates OGP module to define a default starting point
...
* An attempt to solve an intermittan SSL Certificate validation error causing communications havok.
2008-08-27 20:27:18 +00:00
Sean Dague
3465a5772a
cleaning out cruft from pre-Migration days
2008-08-27 19:24:48 +00:00
Sean Dague
066715415a
getting rid of pre-Migration cruft
2008-08-27 19:24:46 +00:00
Sean Dague
c75f1fcde8
we are now past change 6000, so getting rid of pre-Migration cruft
2008-08-27 19:24:45 +00:00
Sean Dague
b625a36ae5
we are now past change 6000, so getting rid of the pre-Migration
...
upgrade cruft
2008-08-27 19:24:40 +00:00
Melanie Thielker
1a3f83c94b
Erm - make the distanc factor really work....
...
(wipes egg off face)
2008-08-27 19:12:17 +00:00
Melanie Thielker
bc78a6335b
Mantis #2058
...
Remove the physics representation of link set child prims when the
link set is deleted.
2008-08-27 19:06:07 +00:00
Sean Dague
fc81ddc1d1
From: Richard Alimi <ralimi@us.ibm.com>
...
The following patch fixes the import of assets via the REST interface to
use the proper Base64->Bytes conversion. The previous conversion did not
work correctly for binary data, in particular for textures.
2008-08-27 18:59:42 +00:00
Sean Dague
5bf5e1c320
remove legacy pre-Migration database upgrade routines
2008-08-27 18:51:43 +00:00
Sean Dague
49df787665
remove the legacy pre-Migration database upgrade paths
2008-08-27 18:51:42 +00:00
Sean Dague
ba16a27ab0
remove pre-Migration upgrade paths
2008-08-27 18:51:40 +00:00
Sean Dague
53afa23608
we're past checkin 6000, so now cleaning up all the cruft of the pre
...
migration database upgrade paths. This is coming in in stages.
2008-08-27 18:51:36 +00:00