Justin Clark-Casey (justincc)
75dcd721de
use common part1 creation in ArchiverTests.TestLoadOarV0_2()
2010-01-29 21:27:14 +00:00
Justin Clark-Casey (justincc)
115e66218e
refactor out scene object 1 creation n ArchiverTetss
2010-01-29 21:10:14 +00:00
Justin Clark-Casey (justincc)
c1da07e4eb
factor out scene setup in ArchiverTests
2010-01-29 20:59:56 +00:00
Justin Clark-Casey (justincc)
968b9e160d
improve locking of m_items in SceneObjectPartInventory
2010-01-29 20:36:13 +00:00
Justin Clark-Casey (justincc)
ae2174d8f5
Add method to get all items with the same name from a particular prim
...
Extend load oar test to check loading of a sound item
2010-01-29 18:11:53 +00:00
Diva Canto
0c81966c0a
Works for grid login.
2010-01-29 09:12:22 -08:00
Melanie
536a6bac72
Resolve one more conflict I overlooked
2010-01-29 07:42:45 +00:00
Melanie
a87a247f05
Revert "Updates all IRegionModules to the new style region modules."
...
This reverts commit ec3c31e61e
.
2010-01-29 07:21:06 +00:00
Diva Canto
00f7d622cb
HG 1.5 is in place. Tested in standalone only.
2010-01-28 19:19:42 -08:00
Melanie
ee12b00cfa
Fixes inconsistencies in the permissions module. Adds a region_manager_is_god
...
configurable. Previously, estate managers could enter god mode, but would
not have any powers. Now estate managers can enter god mode only if this
option is true, and then will have real god powers.
2010-01-28 14:34:31 +00:00
Melanie
6478bc9fb0
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
2010-01-28 02:05:32 +00:00
Revolution
c26f1d1bfa
Changes WorldCommModule to ISharedRegionModule.
...
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-28 02:05:05 +00:00
Diva Canto
7c00469cd2
Added ExternalName config on Gatekeeper.
2010-01-27 08:00:29 -08:00
Teravus Ovares (Dan Olivares)
bc68f77396
* A few other endlines...
2010-01-26 12:41:37 -05:00
Teravus Ovares (Dan Olivares)
8284fc8e22
* Fix Endlines in IRCClientView.cs
2010-01-26 12:19:38 -05:00
Teravus Ovares (Dan Olivares)
5e58bca86d
* Fix Endlines in MyNpcCharacter.cs
2010-01-26 12:15:49 -05:00
Melanie
72dd680dd3
Replace dome tabs with spaces
2010-01-26 14:46:53 +00:00
Melanie
19484891bb
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
2010-01-26 14:44:07 +00:00
Justin Clark-Casey (justincc)
38cfc9366c
Fix a problem where llDie() calls were sometimes leaving dead objects behind.
...
When an object was deleted, the remove script instance call was aggregating the scripting events as normal.
This would queue a full update of the prim before the viewer was notifed of the deletion of that prim (QuitPacket)
On some occasions, the QuitPacket would be sent before the full update was dequeued and sent.
In principle, you would think that a viewer would ignore updates for deleted prims. But it appears that in the Linden viewer (1.23.5),
a prim update that arrives after the prim was deleted instead makes the deleted prim persist in the viewer. Such prims have no properties
and cannot be removed from the viewer except by a relog.
This change stops the prim event aggregation call if it's being deleted anyway, hence removing the spurious viewer-confusing update.
2010-01-25 21:51:58 +00:00
Diva Canto
70465f4c90
Removed obsolete interface IHyperlink.
2010-01-24 16:23:18 -08:00
Diva Canto
ea3d287f70
Some method implementations were missing from LocalGridServiceConnector.
2010-01-24 15:04:41 -08:00
Diva Canto
48b03c2c61
Integrated the hyperlinking with the GridService.
2010-01-24 14:30:48 -08:00
Revolution
fe06f0dd05
Fixes Region Crossings on a prim.
2010-01-24 11:35:30 +00:00
Melanie
1254a5e50c
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
2010-01-23 15:19:05 +00:00
Revolution
ec3c31e61e
Updates all IRegionModules to the new style region modules.
...
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-23 15:18:52 +00:00
Justin Clark-Casey (justincc)
1df69be9a6
Add first part of test for checking restore of task inventory items on oar load
...
Passes but not yet complete
2010-01-22 20:32:34 +00:00
Justin Clark-Casey (justincc)
a0e4665077
complete assertion checks of all other oar loaded region settings
2010-01-22 17:17:25 +00:00
Justin Clark-Casey (justincc)
2308b375a7
minor: remove warning from LLClientView
2010-01-22 16:26:42 +00:00
Justin Clark-Casey (justincc)
5f5fdc3624
Allow oar loading to work even if an estate module is not present
...
Write bare bones unit test for region setting loads
2010-01-22 16:22:23 +00:00
unknown
e61f42ad3a
add a target position to agent updates to ScenePresence to support alternative client protocols
2010-01-21 23:59:04 -08:00
Revolution
14e62c096d
Fixes llSetDamage. Patch from Revolution
2010-01-21 23:30:49 +00:00
mbowman
c211a120a5
Console output no longer requires loglevel to be set to info; you can run the simulator with log level WARN or ERROR and see the output of console commands
...
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-20 00:16:08 +00:00
Melanie
5908b8ed7c
Change a member of the friendslist module to better reflect the client side
...
data storage paradigm of the friends list and avoid repeated, unneccessary
fetches of the entire friends list.
2010-01-19 11:33:42 +00:00
Diva Canto
3d53694415
Go Home works. With security!!
2010-01-18 16:34:23 -08:00
Diva Canto
fd64823466
* Added missing GatekeeperServiceConnector
...
* Added basic machinery for teleporting users home. Untested.
2010-01-18 10:37:11 -08:00
Diva Canto
bbbe9e73cc
* Fixed misspelling of field in GridService
...
* Moved TeleportClientHome to EntityTransferModule
2010-01-18 09:14:19 -08:00
CasperW
3ff28e7a8f
Fix a major security problem with osSetDynamicTexture which allowed the deletion of /any/ asset.
2010-01-18 16:52:06 +00:00
Diva Canto
b5fcb5e872
HG teleports through gatekeeper are working.
2010-01-17 20:10:42 -08:00
Diva Canto
b2e6ec9e12
Agent gets there through the Gatekeeper, but still a few quirks to fix.
2010-01-17 18:04:55 -08:00
Diva Canto
5e034f5933
Oops, forgot this one.
2010-01-17 11:35:27 -08:00
Diva Canto
f276ba57bf
HG agent transfers are starting to work. Gatekeeper handlers are missing.
2010-01-17 11:33:47 -08:00
Diva Canto
bd4d94a4f5
Hyperlinking minimally tested and working.
2010-01-17 07:54:03 -08:00
Diva Canto
04e29c1bac
Beginning of rewriting HG. Compiles, and runs, but HG functions not restored yet.
2010-01-16 21:42:44 -08:00
Diva Canto
ee1fb81376
Finished moving object crossings into EntityTransferModule
2010-01-16 08:42:20 -08:00
Diva Canto
bd6d1a2444
Moved prim crossing to EntityTransferModule. Not complete yet.
2010-01-16 07:46:07 -08:00
Melanie
74b3ce8572
Let monitor data be requested using either the short form of the name or the
...
full, namespace qualified version.
2010-01-16 04:57:49 +00:00
Melanie
dc6d37d2fe
Merge branch 'master' into presence-refactor
2010-01-16 04:40:33 +00:00
Melanie
c9276f2051
Shorten the names of the tags in monitorstats summary to the immediate type
...
name sans namespace. Needs adjustment of scripts using these!.
Request my name still uses full namespace path.
2010-01-16 04:38:24 +00:00
Diva Canto
32bfbdab6f
Merge branch 'presence-refactor' of ssh://diva@opensimulator.org/var/git/opensim into presence-refactor
2010-01-15 17:24:41 -08:00
Diva Canto
f5cba18600
Comment
2010-01-15 17:17:24 -08:00
Diva Canto
4ac3c0e81b
Renamed IAgentTransferModule to IEntityTransferModule -- accounts for objects too.
2010-01-15 17:14:48 -08:00
Melanie
10f8c2ea9b
Merge branch 'master' into presence-refactor
...
This merge was very conflicted. I think I got them all, but I can't be sure.
I had to merge to master or risk divergence to the point of unmergeability.
2010-01-16 00:05:08 +00:00
Diva Canto
f1c30784ac
* General cleanup of Teleports, Crossings and Child agents. They are now in the new AgentTransferModule, in line with what MW started implementing back in May -- ITeleportModule. This has been renamed IAgentTransferModule, to be more generic.
...
* HGSceneCommunicationService has been deleted
* SceneCommunicationService will likely be deleted soon too
2010-01-15 15:11:58 -08:00
Diva Canto
e9d376972f
Added a UserAccountCache to the UserAccountServiceConnectors. Uses a CenomeCache.
2010-01-14 08:05:08 -08:00
Diva Canto
e90a5895ad
Bug fix in releasing agent. In Scene, always use SimulatonService, and not m_SimulationService, because it may be null...
2010-01-13 21:32:48 -08:00
Diva Canto
daa9866a9a
Omit AuthorizationService from the default configurations, because the service doesn't exist in the distribution.
2010-01-13 19:25:33 -08:00
Diva Canto
640712fe88
* Removed debug messages.
...
* Everything works! (everything that was tested; lots of things to test)
2010-01-13 09:38:09 -08:00
Diva Canto
4de82891a9
Bug in Teleport fixed -- Appearance was missing from AgentCircuitData.
2010-01-13 09:34:08 -08:00
Diva Canto
7356860b48
Several more buglets removed.
2010-01-13 09:17:30 -08:00
Melanie
e3a04fcb7b
Change the error messages on region region registration. This changes URM
...
and region. The non-error case should be compatible, so no version bump.
Untested.
2010-01-13 03:08:34 +00:00
John Hurliman
a8b1a57cd1
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2010-01-12 10:27:21 -08:00
Dan Lake
a4a0512011
Bug in llGetNumberOfPrims always returns to script when no clients are connected to the simulator.
2010-01-12 10:23:36 -08:00
Diva Canto
011a1b3798
More appearance woes fixed, this time for child agents. Tested on a grid with 2 simulators. Everything seems to be working, including border crosses. TPs (prim crossing) need love now.
2010-01-12 09:49:27 -08:00
Diva Canto
66920a9047
Fixed more appearance woes that showed up using remote connectors. Appearance is now being passed with AgentCircuitData, as it should be.
2010-01-12 09:22:58 -08:00
Diva Canto
77e43f4801
Fixed a couple of bugs with Appearance. Appearance is all good now.
2010-01-11 17:30:05 -08:00
Diva Canto
4e7c449c5a
This fixes the problem that region modules (new style) weren't being recognized.
2010-01-11 14:39:15 -08:00
Justin Clark-Casey (justincc)
07aaad0d10
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2010-01-11 21:00:28 +00:00
Justin Clark-Casey (justincc)
b88bee9d48
add interface/method documentatio nto IScriptModuleComms
2010-01-11 17:17:58 +00:00
dr scofield (aka dirk husemann)
d86c0d406a
more specific config error logging
2010-01-11 17:15:49 +01:00
Diva Canto
19ad68e5e4
Moved MainServer.Instance.AddStreamHandler(new OpenSim.SimStatusHandler()); around, because it was crashing. Now it crashes elsewhere.
2010-01-11 08:11:04 -08:00
Diva Canto
c5ea783526
OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.
2010-01-11 07:51:33 -08:00
Diva Canto
001d369568
CommunicationsManager deleted.
2010-01-11 07:45:47 -08:00
Justin Clark-Casey (justincc)
9c668558d4
minor: formatting
2010-01-11 15:00:16 +00:00
Melanie
ff55ae0eb2
Make console_port work.
2010-01-11 07:59:13 +00:00
Melanie
bfddd75ca8
Refactor. Instantiate sim status handlers in opensim base, not in a plugin
2010-01-11 05:12:01 +00:00
Melanie
15a11e9745
Refactor. Move MainServer init to a place with greener grass
2010-01-11 05:03:56 +00:00
Diva Canto
751e70af78
NetworkServersInfo removed from CommsManager.
2010-01-10 21:37:36 -08:00
Diva Canto
dc4bbf6065
All Framework.Communications.Clients and Framework.Communications.Services deleted, including old LoginService.
2010-01-10 20:29:09 -08:00
Diva Canto
2415d36bed
OpenSim.Region.Communications.* is no more. Thanks to everyone who contributed to these!
2010-01-10 19:50:09 -08:00
Diva Canto
0c2946031b
CommunicationsManager is practically empty. Only NetworkServersInfo is there.
2010-01-10 19:42:36 -08:00
Melanie
e966e51b89
Add a console_port setting to let the rest console use a different port
...
from the region server
2010-01-11 03:29:24 +00:00
Diva Canto
49618dc102
Moved GridInfo service from where it was to Handlers/Grid
2010-01-10 19:19:34 -08:00
Melanie
2320b17ca9
Whitespace cleanup
2010-01-11 02:04:05 +00:00
Revolution
a0859754c0
Adds llRotTarget and the events at_rot_target and not_at_rot_target.
...
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-11 02:00:40 +00:00
Diva Canto
53e83e5dbb
* Starting to clean the house...
...
* Fixed circular dependency
2010-01-10 16:20:59 -08:00
Diva Canto
e31131b40f
Some typos fixed related to master avie removal
2010-01-10 15:41:49 -08:00
Diva Canto
e3d1d824e1
Merge branch 'presence-refactor' of ssh://diva@opensimulator.org/var/git/opensim into presence-refactor
2010-01-10 15:39:49 -08:00
Diva Canto
c0642bf7e0
Merge branch 'presence-refactor' of ssh://diva@opensimulator.org/var/git/opensim into presence-refactor
2010-01-10 15:35:15 -08:00
Diva Canto
4dd523b45d
* Changed IPresenceService Logout, so that it takes a position and a lookat
...
* CommsManager.AvatarService rerouted
2010-01-10 15:34:56 -08:00
Melanie
b5f1857d34
Remove a little bit more if master avatar
2010-01-10 22:55:43 +00:00
Melanie
3c90d834ea
Remove all references to master avatar, replacing with estate owner where
...
appropriate. This changes the behavior of the REST plugins and RemoteAdmin's
region creation process.
2010-01-10 22:41:42 +00:00
Diva Canto
6998668bbc
* Last reference to CommsManager.UserProfileCacheService removed
...
* Grided-sims added the Library module
2010-01-10 14:12:03 -08:00
Melanie
2bf49cc1bb
Clean CRs from previous patch
2010-01-10 19:58:44 +00:00
Revolution
038ec133e6
Adds land collision events.
...
CRs cleaned from patch
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-10 19:58:18 +00:00
Diva Canto
1e1b2ab221
* OMG! All but one references to UserProfileCacheService have been rerouted!
...
* HG is seriously broken here
* Compiles. Untested.
2010-01-10 10:40:07 -08:00
Melanie
45b19e5e2d
Fix a small bug in login disable code
2010-01-10 04:05:19 +00:00
Melanie
b9e6f4583c
Implement access module commands
2010-01-10 03:48:10 +00:00
Melanie
b0a7bcb2c8
Add "StartDisabled" to [Startup] to make all regions start up with
...
logins disabled until enabled from the console. Add the AccessModule (WIP)
2010-01-10 03:17:40 +00:00
Melanie
81d5a4b6d8
Remove "login disable", "login enable" and "login status" commands.
2010-01-10 03:03:18 +00:00
Diva Canto
7cb66de2e0
* Moved command reset password from OpenSim to UserAccountService.
2010-01-09 18:16:14 -08:00
Diva Canto
96ecdcf9c5
* Added SetPassword to IAuthenticationService.
...
* Added create user command to UserAccountService. Works.
* Deleted create user command from OpenSim.
2010-01-09 18:04:50 -08:00
Revolution
49c09ef24c
Fixes prim to prim collision.
...
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-09 20:47:58 +00:00
Melanie
28d6705358
Preliminary work on the new default region setting mechanism
2010-01-09 20:46:32 +00:00
Diva Canto
25fdbd6cbc
Less refs to UserProfileCacheService. Compiles but likely doesn't run.
2010-01-09 09:09:32 -08:00
Melanie
bc558788c2
A last fix for estate access by group. One should send the correct list.
2010-01-09 16:32:14 +00:00
Melanie
673a52fa7a
Implement the groups module query to make the estate allowed groups work
2010-01-09 15:58:18 +00:00
Melanie
332463ca94
Fix up the weird Lindenish "setaccess" message. Talk about strange....
2010-01-09 15:28:52 +00:00
Melanie
063f106cbb
Add functionality to estate "Allowed Users" and "Allowed Groups". Allowed users
...
will be honored now, while allowed groups will not. This requires additional
groups module integration work
2010-01-09 14:17:44 +00:00
Diva Canto
6b60f3cce5
A few more inches... Old friends things removed. Less references to UserProfileService.
2010-01-08 20:31:29 -08:00
Revolution
c76c80a28a
Adds IClientAPI voids for GroupProposals.
...
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-08 18:27:49 +00:00
Diva Canto
b63405c1a7
Inching ahead... This compiles, but very likely does not run.
2010-01-08 10:43:34 -08:00
Melanie
bba557aff6
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
2010-01-08 05:31:31 +00:00
Melanie
17efecd6c5
Moving the new group data structures out of LLClientView into GroupData.
...
The new methods are still not in IClientAPI, so some work remains to be done.
2010-01-08 05:29:29 +00:00
Revolution
452be5e546
Second Fix to the new Packets as per Melanie's request.
...
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-08 05:17:02 +00:00
Diva Canto
f11a97f12d
* Finished SimulationServiceConnector
...
* Started rerouting calls to UserService.
* Compiles. May run.
2010-01-07 15:53:55 -08:00
dahlia
1e899704c1
Adds config option "ForwardOfflineGroupMessages" to allow disabling of group messages forwarded while offline. Addresses Mantis #4457
2010-01-07 11:28:38 -08:00
Revolution
b67470af91
Fixes the newly added packets as per Melanie's request.
...
Provisionally applied to fix the naming. Signatures are still subject to change.
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-07 15:09:13 +00:00
Revolution
7dd43bef8c
Fixes the Collision errors and adds more to llGetStatus
...
Signed-off-by: Melanie <melanie@t-data.com>
2010-01-07 10:14:59 +00:00
Melanie
a542871c15
Allow estate managers (if estate_owner_is_god is set) to actually enter
...
god mode. Allow god modification of objects if the object owner is the
same god that wants to modify, this allows you to regain perms on your
own objects after IAR import messed them up.
2010-01-05 16:04:57 +00:00
Melanie
7f960cd595
Merge branch 'master' into presence-refactor
2010-01-04 21:41:33 +00:00
Melanie
3740775472
When rezzing a no-copy object on a no-rez parcel, the object vanishes from
...
inventory until relog. This patch corrects this and puts the item back into
inventory.
2010-01-04 06:16:04 +00:00
Melanie
e69ec1108f
Cause llSetText to send prim updates.
2010-01-03 21:42:22 +00:00
Jeff Ames
70d5b1c34c
Formatting cleanup. Add copyright headers.
2010-01-04 06:17:30 +09:00
Diva Canto
99efa99585
Successfully logged into a grid.
2010-01-03 11:44:57 -08:00
Diva Canto
c268e342d1
* Changed ISimulation interface to take a GridRegion as input arg instead of a regionHandle.
...
* Added the RemoteSimulationConnectorModule, which is the replacement for RESTComms. Scenes is not using this yet, only (standalone) Login uses these region modules for now.
* Completed SimulationServiceConnector and corresponding handlers.
2010-01-03 09:35:12 -08:00
Diva Canto
28702f585f
* Avatar service connectors all in place, but untested.
...
* Fixed a typo in RemoteUserAccountServiceConnector module.
2010-01-02 15:07:38 -08:00
Melanie
9f273717a2
Add virtual method StateChange to ScriptBaseClass
2010-01-02 19:43:54 +00:00
Diva Canto
8a9677a531
The Library Service is now working. UserProfileCacheService.LibraryRoot is obsolete. Didn't delete it yet to avoid merge conflicts later -- want to stay out of core as much as possible.
2010-01-01 21:12:46 -08:00
Diva Canto
ec53301e63
Forgotten modules in prior commit.
2010-01-01 18:59:54 -08:00
Diva Canto
4240f2dec6
New LL login service is working! -- tested in standalone only. Things still missing from response, namely Library and Friends. Appearance service is also missing.
2010-01-01 16:54:24 -08:00
Diva Canto
1387919c20
Yes! First test of new login service done still in 2009! Bombs in auth, because the data migration is missing. Will fix it next year...
...
* HAPPY NEW YEAR!
2009-12-31 20:51:35 -08:00
Melanie
20318dba05
Finally restire the EMPTY friends module (what a mess)
2010-01-01 02:05:19 +00:00
Melanie
872387d278
Merge branch 'master' into presence-refactor
2009-12-31 23:30:41 +00:00
Revolution
3ec502f551
Readds llCollisionFilter and adds llPassCollision.
...
Applied with whitespace cleanup
Signed-off-by: Melanie <melanie@t-data.com>
2009-12-31 23:29:32 +00:00
Revolution
e6cd7f28de
Readds llCollisionFilter and adds llPassCollision.
...
Applied with whitespace cleanup
Signed-off-by: Melanie <melanie@t-data.com>
2009-12-31 21:42:52 +00:00
Melanie
004c751a1b
Whitespace cleanup (changed hard tabs to 4 spaces)
2009-12-31 21:36:04 +00:00
Revolution
8ca37dbefa
Adds Friend Finding functionality.
...
Signed-off-by: Melanie <melanie@t-data.com>
2009-12-31 21:31:04 +00:00
Revolution
234d4e1105
Adds tons of packets.
...
Applied with change: Changed spelling to Summary (from Summery)
Signed-off-by: Melanie <melanie@t-data.com>
2009-12-31 21:24:56 +00:00
Diva Canto
a8901a40f4
Simulation handlers (agents & objects) completed.
2009-12-31 09:25:16 -08:00
Melanie
9c4e6f060a
This patch caused serialization errors and needs to be reexamined
...
Revert "[PATCH] Adds llCollisionFilter"
This reverts commit eab2b4c6a9
.
2009-12-31 06:41:10 +00:00
Diva Canto
c664307126
Merge branch 'presence-refactor' of ssh://diva@opensimulator.org/var/git/opensim into presence-refactor
2009-12-30 21:00:52 -08:00
Diva Canto
b29ae72460
First pass at the new login service. Still incomplete, but doesn't disrupt the existing code.
2009-12-30 21:00:16 -08:00
Melanie
eab2b4c6a9
[PATCH] Adds llCollisionFilter
...
Thank you, Revolution. Applied with minor changes.
2009-12-31 04:48:59 +00:00
unknown
87959464c9
Adds osKickUser and osSetSpeed
...
Signed-off-by: Melanie <melanie@t-data.com>
2009-12-31 03:56:55 +00:00
Melanie
3507005d9d
Remove CreateUserAccount. Rename SetUserAccount to StoreUserAccount.
...
Implement the fetch operations fully. Rename one last UserService file to
UserAccountService
2009-12-31 01:16:16 +00:00
Melanie
a21ce9151b
Merge branch 'master' into presence-refactor
2009-12-30 22:24:14 +00:00
Diva Canto
1d2a332b96
Unit tests for presence. They helped fix a couple of wrongnesses.
2009-12-30 14:17:18 -08:00
Teravus Ovares (Dan Olivares)
e6c71d6df6
* Fixes Sitting on the ground.
2009-12-30 15:55:49 -05:00
Teravus Ovares (Dan Olivares)
16a64c400b
* Makes forward and backward key reactions faster by responding to the NUDGE type movements.
2009-12-30 15:01:14 -05:00
Teravus Ovares (Dan Olivares)
2205d1c486
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-12-29 22:00:01 -05:00
Teravus Ovares (Dan Olivares)
25544ac04a
* Attempts to resolve the megaregion terrain edit rebound.
...
* It does this by tweaking the throttles on child agent connection to a megaregion and multiplying the land throttle by 50. (various bit and byte magic ensue)
* While, I doubt this will cause terrain crater sized potholes.. since it actually increases the bandwidth available for land in child regions when MegaRegions area active, more testing would be good.
* This, in theory, also shouldn't cause missing objects in child regions.. because all objects are in the root region anyway. As I said, more testing would be good.
2009-12-29 21:59:19 -05:00
Melanie
917fad40da
Fix an omission in LSL that causes a viewer crash
2009-12-30 00:36:54 +00:00
Melanie
6a4c578e5e
Fix an omission in LSL that causes a viewer crash
2009-12-30 00:36:16 +00:00
Diva Canto
88d2df597e
* Fixed names.
...
* Added configs for Standalone
* Changed UserSericeBase to use useraccounts instead of user
2009-12-29 16:34:02 -08:00
Diva Canto
81bcedda83
Renamed user account modules to be consistent
2009-12-29 16:06:21 -08:00
Diva Canto
b4483df270
* All modules and connectors for user account service are in place. Untested.
...
* Cleaned up a few things on presence connectors
2009-12-29 15:58:40 -08:00
Melanie
0b5cdc539c
Change teleports so the TeleportFlags are sent to the destination sim. It
...
can now determine if a connection is from login, teleport or crossing.
Needed for a meaningful banlines implementation
2009-12-29 18:35:06 +00:00
Melanie
e0fc854f05
Adding new fields and home location methid to presence. Adding cleanup
...
(deleting all but one presence record) on logout so that they don't pile up.
2009-12-28 23:42:08 +00:00
Diva Canto
43691e8270
Added some more log messages. This is beginning to work.
2009-12-28 11:46:34 -08:00
Melanie
92a40129b5
Database and presence changes. Untested
2009-12-28 17:34:42 +00:00
Diva Canto
f43a648052
* Added the new modules to Resources, making them active.
...
* Added their configs to standalone for testing. This crashes, because the DB is still not ready.
2009-12-28 09:22:35 -08:00
Diva Canto
531f998ed2
* Deleted HGPresenceBroker, since it won't be needed
...
* Linked the remote presence module to the corresponding remote connector
2009-12-28 07:16:43 -08:00
Diva Canto
42122388ef
Merge branch 'presence-refactor' of ssh://diva@opensimulator.org/var/git/opensim into presence-refactor
2009-12-27 20:35:05 -08:00
Diva Canto
3ef513e863
Presence remote connector and handler. Presence HG Broker. Nothing tested, just compiles.
2009-12-27 20:34:42 -08:00
Melanie
3a953dfc98
This is somewhat major-like..... Change the intialization order of
...
Application plugins so that MainServer.Instance gets assigned before
RegionModulesController loads the new style shared modules. This
is needed because otherwise no new style shared module could
register a HTTP method.... if it breaks, you get to keep both pieces
2009-12-28 01:56:30 +00:00
Melanie
eebddcd5e6
Change FriendsModule, InstantMessageModule, MessageTransferModule, MuteListModule, OfflineMessageModule, PresenceModule, InventoryTransferModule and LureModule to new style. Reduce FriendsModule and PresenceModule to shells.
2009-12-28 01:24:15 +00:00
Diva Canto
b8dfccb227
Changed GetAgents to take string[] instead of UUID[]
2009-12-27 16:07:16 -08:00
Diva Canto
aa45262c3c
Merge branch 'presence-refactor' of ssh://diva@opensimulator.org/var/git/opensim into presence-refactor
2009-12-27 08:47:18 -08:00
Diva Canto
49d6cfad2b
Merge branch 'presence-refactor' of ssh://diva@opensimulator.org/var/git/opensim into presence-refactor
2009-12-27 08:40:43 -08:00
Diva Canto
2248d2ff32
Merge branch 'presence-refactor' of ssh://diva@opensimulator.org/var/git/opensim into presence-refactor
2009-12-27 08:38:44 -08:00
Diva Canto
ad8ee18090
First pass at the local connector for presence. No cache yet. Just the connector to the local service and a presence detector object.
2009-12-27 08:38:05 -08:00
Melanie
bca2afdb3c
One should not copy/paste so much :)
2009-12-27 16:08:12 +00:00
Melanie
26599e0906
One should not copy/paste so much :)
2009-12-27 16:07:13 +00:00
Melanie
3ec8e8e40b
Fix the spelling :/
2009-12-27 16:02:31 +00:00
Melanie
ec4d639a28
Fix the spelling :/
2009-12-27 16:01:36 +00:00
Melanie
e063f0d592
Encode the published and mature checkboxes into the user flags for
...
profiles
2009-12-27 15:47:14 +00:00
Melanie
88b3b98811
Add AvatarInterestsReply
2009-12-26 04:12:51 +00:00
Melanie
d5618fbcc3
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
2009-12-25 23:10:44 +00:00
Melanie
8d36d7beed
Enable the profile module to be replaced completely, even for the base
...
profile data
2009-12-25 23:10:07 +00:00
dahlia
7a06ab834d
Clear Shape.SculptEntry if prim type is not a sculptie in llSetPrimitiveParams() - addresses Mantis #4462
2009-12-24 11:00:08 -08:00
Melanie
0ce3d4b0a9
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
2009-12-24 16:44:47 +00:00
Melanie
86a429bc44
Add the LSL List Size property
2009-12-24 16:44:12 +00:00
Diva Canto
2c3d7972b9
No-op in this commit. Just increasing the tag number due to weirdnesses.
2009-12-23 19:43:50 -08:00
Diva Canto
1fa938aab0
Library Module: allows adding folders/items to the Library from IAR files placed under bin/Library. This works only for standalones.
2009-12-23 17:31:30 -08:00
Diva Canto
908992a105
Fixes the broken build of the previous commit.
2009-12-23 17:10:37 -08:00
Melanie
53386b6f1f
Add saving assets from gestures to IAR
2009-12-23 23:09:41 +00:00
Melanie
f2d2073f2b
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
2009-12-23 21:21:22 +00:00
Melanie
c05a35cc71
Fix a bounds exception I came across in IAR restore
2009-12-23 21:20:48 +00:00
Charles Krinke
fddefff284
Thank you kindly, Ziah for a patch that adds the channel to the class ChatEventArgs and retrieves it's value along with the others from the OSChatMessage in HandleChatPackage. With this the MRM Script can check if a ChatEvent is coming in on a specifc Channel. The Second Part adds the Method say(string msg , int channel) to send a chat message on the specified channel. The idea behind this is to enable MRM's to communicate with regular LSL or OSSL Scripts so that they may can act as a Backend to access a Database or do business Logic for those Scripts.
...
Signed-off-by: Charles Krinke <cfk@pacbell.net>
2009-12-23 10:34:11 -08:00
Diva Canto
f45a69821b
Added Close() to Inventory/Archiver/InventoryArchiveReadRequest, so that the stream can be closed.
2009-12-22 21:00:46 -08:00
Melanie
c11f259e15
Remove GetState. It is really unused and was reinstated by the revert
2009-12-22 15:46:55 +00:00
Melanie
a24d9bff03
Revert "Remove an insterface member that was never used"
...
It was used. By the API, which is dynamically loaded. So it didn't complain
until it hit Bamboo
This reverts commit 33d5018e94
.
2009-12-22 15:45:56 +00:00
Melanie
33d5018e94
Remove an insterface member that was never used
2009-12-22 15:35:39 +00:00
Melanie
1876ce90af
FINALLY! Script compile errors now appear in the script error pane,
...
not in a funky debug window.
2009-12-22 09:24:01 +00:00
root
05e8b4e72c
Add a data path for error messages
...
Committed from my other box where git is not configured properly
Signed-off-by: Melanie <melanie@t-data.com>
2009-12-22 04:55:43 +00:00
Melanie
e530180c1e
Glue code for a couple of new LSL function implementations
2009-12-22 00:26:12 +00:00
Melanie
32904c0ce8
When a script has been loaded, remove it's state entry, so recompiling
...
doesn't pick up the old state again.
2009-12-21 22:05:43 +00:00
Melanie
51ecdf0148
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
2009-12-21 15:48:46 +00:00
Jeff Lee
d04f6688e4
Fixes some incorrect values returned by llGetPrimitiveParams() and osGetLinkPrimitiveParams().
...
Signed-off-by: Melanie <melanie@t-data.com>
2009-12-21 15:48:30 +00:00
Diva Canto
641a789bbc
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-12-21 07:46:33 -08:00
Diva Canto
68187f7245
Bug fix: in standalone, HGInventoryBroker needs to get the local inventory server URL from NetworkServersInfo.
2009-12-21 07:44:17 -08:00
Melanie
de59910758
Patch from Ziah.
...
Mantis #4456 : Patch to implement some minor MRM Functions : SitTarget,
SitTargetText, TouchText and Text
2009-12-21 14:46:07 +00:00
Melanie
27453890d5
Script State Fix: Part 2
...
Change the reader to wrap old-style definitions in new style wrappers.
Change importer to not check irrelevant data that can't be reconstructed
This removes the last bit of knowledge of XEngine's .state files from core.
2009-12-21 10:26:52 +00:00
Melanie
83d8ba5775
Remove extra checking on the itemID of saved state, since it changes during
...
rez from inventory.
2009-12-21 06:41:10 +00:00
Melanie
f6ef487413
Script State Fix: Step 1
...
Add Engine=xxx attribute and check for it's presence. Ignore state data
written bby another engine
2009-12-21 06:29:23 +00:00
Melanie
37b07aa9ec
Fix a case where an idle sim can eat 100% of a core
2009-12-20 16:44:31 +00:00
Diva Canto
26e3a8ee4b
* Bug fix in HG: preserve the home region coordinates across multiple HG TPs.
...
* Removed unnecessary debug messages.
2009-12-19 10:16:07 -08:00
dahlia
9485f17bf9
random drive-by minor math optimization. No need for concern, bitshed was within acceptable limits
2009-12-15 19:12:24 -08:00
Justin Clark-Casey (justincc)
6bd087a8f9
minor: remove some mono compiler warnings
2009-12-15 16:42:42 +00:00
Melanie
0f616d2ffe
Prevent OSSL from crashing if the sim was loaded from a remote config and
...
osGetGridName, osGetGridNick or osGetGridLoginURI is used.
2009-12-15 15:42:51 +00:00
Diva Canto
9e54e61a43
Make the HG map search recognize host names without ports.
2009-12-14 08:27:16 -08:00
Melanie
0813dc8c1d
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
2009-12-14 00:32:00 +00:00
Melanie
c426549f53
Add an option to exit an instance rather than restarting a region within it
2009-12-14 00:31:15 +00:00
Teravus Ovares (Dan Olivares)
f046457249
Tweaking the ModifyLand packet to be async. Advice from Adam
2009-12-13 04:02:18 -05:00
Teravus Ovares (Dan Olivares)
4ef8dc7d96
* Add some glue that allows LocalPacketHandlers to decide if they want the packet to be processed asynchronously or not.
...
* Make several packets not asynchronous (such as AgentUpdate). In theory, all fast returning packet handling methods should not be asynchronous. Ones that wait on an external resource or a long held lock, should be asynchronous.
2009-12-13 02:08:28 -05:00
Adam Frisby
87e89efbf9
* Mistaken ThreatLevel classification on osGetSimulatorMemory - should have been MODERATE.
2009-12-13 03:49:22 +11:00
Adam Frisby
963cf25813
* Implements OSSL function: osGetSimulatorMemory - returns the current amount of memory allocated to the simulator process (Moderate Threat Level).
...
* Cleans redundant information out of the Simulator Version. Versions now look like:
"OpenSimulator 0.6.9(dev) Unix/Mono"
* [Minor] additional log info for MySQLInventoryData
2009-12-13 03:04:16 +11:00
Teravus Ovares (Dan Olivares)
0639e90f56
* Bugfix mantis 4441, "Use of Autopilot isn't playing any animations."
...
* Turns out the new animator used a different movement bitflag then the one used in the code to autopilot the avatar
2009-12-12 02:41:59 -05:00
Teravus Ovares (Dan Olivares)
35961caec6
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-12-12 01:24:25 -05:00
Kunnis
d89f3e9811
Getting rid of SimpleRegionInfo and SerializableRegionInfo per Mel
...
Signed-off-by: Melanie <melanie@t-data.com>
2009-12-12 04:44:32 +00:00
Diva Canto
81debdfebe
A few more guards along the path to user server.
2009-12-11 20:20:18 -08:00
Diva Canto
4bbe9a51ac
Added an image uuid to objects marked "Show in search". Only works for boxes.
2009-12-11 09:09:36 -08:00
Diva Canto
decd51f081
Attempt at fixing mantis #4411 .
2009-12-11 08:11:26 -08:00
Teravus Ovares (Dan Olivares)
2f8b9cbf2b
* Commit some sit code that's commented out for now.
2009-12-08 11:28:13 -05:00
Melanie
dd5696e8bd
Same for the remote auth connector
2009-12-07 14:31:55 +00:00
Kunnis
4c61fcfc40
Getting rid of the dead field RootInventoryFolderId on UserProfileData, It's not even stored in mysql.
...
Signed-off-by: Melanie <melanie@t-data.com>
2009-12-06 03:57:15 +00:00
Melanie
a44749b9d2
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
2009-12-06 02:54:47 +00:00
Teravus Ovares (Dan Olivares)
8d196dbd14
* Adds Normal to the fields returned by the Physics Raycaster
...
* Fixes recognizing when a sit target is and isn't set.
* * 1. Vector3.Zero.
* * 2. Orientation: x:0, y:0, z:0, w:1 - ZERO_ROTATION
* * (or) Orientation: x:0, y:0, z:0, w:0 - Invalid Quaternion
* * (or) Orientation: x:0, y:0, z:1, w:0 - Invalid mapping, some older objects still exist with it
2009-12-05 22:18:00 -05:00
Melanie
9453c42631
Experimental: Remove explicit property sends
2009-12-06 02:54:19 +00:00
Melanie
1a695875a7
Skip single prims in unlink selections
2009-12-06 02:54:09 +00:00
Melanie
f71025aeed
Change locking to not mix explicit Monitor.* calls with lock()
2009-12-06 02:54:00 +00:00
Melanie
5259a32319
Remove extra forced updates. They're not needed for each prim. Really.
2009-12-06 02:53:50 +00:00
Melanie
46d5add175
Lock updates out while linking and unlinking
2009-12-06 02:53:42 +00:00
Melanie
e3a22ff37d
Eliminate multiple updates on link/unlink
2009-12-06 02:53:34 +00:00
Melanie
f8cc409034
Cause better packing of ObjectProperties
2009-12-06 02:53:24 +00:00
Teravus Ovares (Dan Olivares)
c4b6010fb3
* Fixes mantis 4416. Animator is dereferenced on logout
2009-12-05 13:01:21 -05:00
Justin Clark-Casey (justincc)
c0f3a4c833
Allow terrain heightmaps to be loaded directly from URIs via the remote admin plugin
...
See http://opensimulator.org/mantis/view.php?id=4418
Thanks StrawberryFride
See
2009-12-04 18:26:58 +00:00
Teravus Ovares (Dan Olivares)
781db43a76
* Fixes the 10x10x10 hard physics limitation. (wierdly, you have to set this for each region in your Regions.ini[PhysicalPrimMax = 10(default)])
...
* Adds a configurable maximum object mass before the mass is clamped. Default is 10000.01. Configurable by changing maximum_mass_object in the [ODEPhysicsSettings] section.
* Clamping the mass is important for limiting the amount of CPU an object can consume in physics calculations. Too high, and the object overcomes restitution forces by gravity alone. This generates more collisions potentially leading to 'deep think'.
2009-12-03 20:21:10 -05:00
Teravus Ovares (Dan Olivares)
d9a20edfb0
* Move code from that last commit to LLClientView since it's a linden client specific limitation, it moves to the Linden Specific client handler.
2009-12-03 02:02:04 -05:00
Teravus Ovares (Dan Olivares)
af04cd1ae0
* If the position that comes in on Scene.SetHomeRezPoint has a component that is 255.5, replace the component with the user's position in the simulator.
...
* Fixes mantis 4414: http://opensimulator.org/mantis/view.php?id=4414
2009-12-03 01:50:54 -05:00
Justin Clark-Casey (justincc)
f7b2f0e61e
Add position and region of prim items with missing assets in log reports
2009-12-02 18:15:33 +00:00
Adam Frisby
30fe88b808
* Terrain uploads via the Estate Tools now support a multitude of file formats. Specifically: . bmp, .raw, .r32 & .r64. (in ascending order of precision)
...
* It uses file length as the detection routine (as each of these formats has a distinct size in bytes for a 256x256 array.) - more formats should be possible to add.
2009-12-03 02:44:12 +11:00
Melanie
5ee79c62bf
Change default destination of deleted items to the trash folder. Everything
...
else still goes to L&F
2009-12-02 10:21:24 +00:00
Teravus Ovares (Dan Olivares)
d2c1610d17
* Test Autoconvert line ending on my repo..
2009-12-01 11:35:32 -05:00
Teravus Ovares (Dan Olivares)
75e28b3a16
* Fix Inconsistent line ending style on Scene
2009-12-01 10:48:11 -05:00
Teravus Ovares (Dan Olivares)
7a2e8cb05f
* Fix Inconsistent line ending style on ScenePresenceAnimator
2009-12-01 10:47:18 -05:00
Teravus Ovares (Dan Olivares)
56dca3b5a4
* Fix Inconsistent line ending style on SimStatsReporter
2009-12-01 10:45:36 -05:00
Teravus Ovares (Dan Olivares)
d4073d9bd5
* Fix Inconsistent line ending style in LLUDPClient
2009-12-01 10:19:39 -05:00
Teravus Ovares (Dan Olivares)
475d23741d
* Fix Inconsistent line ending style in ScenePresence
2009-12-01 10:17:17 -05:00
Teravus Ovares (Dan Olivares)
83694e5578
* Add a close method to the ScenePresenceAnimator that dereferences the class variables and make the ScenePresence Close method call it.
2009-11-30 14:03:20 -05:00
Teravus Ovares (Dan Olivares)
0cb4ff1b68
* Modified ScenePresence to use the Util version of the EnvironmentTickCount method (and it's subtract method). Remove redundant EnvironmentTickCount definitions in ScenePresence.
2009-11-30 13:53:43 -05:00
dahlia
5b0bb1eff9
Merge branch 'master' of ssh://dahlia@myConnection01/var/git/opensim
2009-11-30 01:09:46 -08:00
dahlia
e987e85c0c
add agent position to output of "show users" console command
2009-11-30 01:09:03 -08:00
Teravus Ovares (Dan Olivares)
4338f4e1d7
* Patch from Misterblue to fix Environment.TickCount for statistics purposes. Resolves the wrap-around of the 32 bit uint.
...
* Teravus moved the Environment methods to the Util class
2009-11-29 05:06:25 -05:00
Melanie
9fd9211a38
Add some conditionals to references to the WorldComm module, so that the
...
module can be disabled without crashing the sim
2009-11-28 09:23:26 +00:00
Teravus Ovares (Dan Olivares)
e7333515d9
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-11-27 19:17:54 -05:00
Teravus Ovares (Dan Olivares)
8296413add
* Re-enable lightweight packet tracking stats on a 3000 ms interval.
2009-11-27 19:17:36 -05:00
Justin Clark-Casey (justincc)
66f511c76a
Remove unused GetDefaultAppearance() static function that is also available on AvatarFactoryModule
2009-11-27 19:45:33 +00:00
Justin Clark-Casey (justincc)
e5661e5609
Remove stub Python module and DLLs since this was never fully implemented
...
It may be possible to reintroduce this if someone wants to implement a Python hookup for OpenSim scripting (I'm sure it can't be too hard).
Might be possible to import wholesale from modrex
See http://opensimulator.org/mantis/view.php?id=4395
Thanks mpallari
2009-11-27 19:31:19 +00:00
Justin Clark-Casey (justincc)
55a0896918
minor: remove mono compiler warning
2009-11-27 19:28:26 +00:00
Justin Clark-Casey (justincc)
e078fb2e71
Implement god mode user freezing and unfreezing
...
See http://opensimulator.org/mantis/view.php?id=4356
Thanks Revolution
I performed a subsequent probable bug fix in this patch
2009-11-27 19:23:51 +00:00
Justin Clark-Casey (justincc)
2e47e51475
Make locking of timers and listeners in script related functions consistent
...
See http://opensimulator.org/mantis/view.php?id=4316
Thanks KittyLiu!
2009-11-27 19:01:45 +00:00
Justin Clark-Casey (justincc)
25e2b16451
Apply patch to stop failure of llParcelMediaCommandList() on group deeded land
...
See http://opensimulator.org/mantis/view.php?id=3999
2009-11-27 17:52:23 +00:00
Justin Clark-Casey (justincc)
32ef1b9e23
remove stringent content type checking to make it easier to load oars directly from urls
2009-11-27 15:10:12 +00:00
Justin Clark-Casey (justincc)
1f71523a5a
minor: make irc bridge logging less verbose if it isn't actually enabled
2009-11-27 14:47:49 +00:00
Melanie
b9eb244d6d
Reset update flag when a SOG is deleted. This fixes llDie();
2009-11-27 08:59:03 +00:00
Melanie
3ae3cd0a5b
Make llDie virtual, since it's functionality is engine specific
2009-11-27 08:16:47 +00:00
Teravus Ovares (Dan Olivares)
f84da8e642
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-11-26 17:03:19 -05:00
Teravus Ovares (Dan Olivares)
e2200026ca
* Fixes a case of d.BodyEnable with IntPtr.Zero passed as the parameter in linkset where EnableBody was called and the body is immediately disabled. The previous functionality assumed that a body was received in EnableBody but.. in some cases, it wasn't.
2009-11-26 17:03:00 -05:00
Jeff Lee
9d05962029
Added osGetRegionStats() function, to return a number of sim statistics
2009-11-26 17:43:17 +00:00
Jeff Lee
d39c300d11
Added osGetRegionStats() function, to return a number of sim statistics
2009-11-26 17:43:00 +00:00
Melanie
c6bfecccaa
Fix a small bug. Trusted script crossings now work again
2009-11-26 17:16:22 +00:00
Melanie
41226dc991
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
2009-11-26 17:05:48 +00:00
Melanie
9d63f90467
Remove the old (Remoting) region crossing code. Fix the new code to
...
pass script state and assembly again properly. Reintroduce respecting tht
TrustBinaries flag. Changes the interregion protocol! No version bump
because it was broken anyway, so with a version mismatch it will simply
stay broken, but not crash. Region corssing still doesn't work because
there is still monkey business with both rezzed prims being pushed across
a border and attached prims when walking across a border. Teleport is
untested by may work.
2009-11-26 17:03:09 +00:00
Justin Clark-Casey (justincc)
ee0b5abc62
minor: reduce region ready logging verbosity
2009-11-26 16:51:10 +00:00
Justin Clark-Casey (justincc)
2bc19a1e23
Resolve issue where an iar load fails to preserve original item creators
...
See http://opensimulator.org/mantis/view.php?id=4394
This change preserves the uuid when a profile is found rather than the ospa
2009-11-26 16:39:30 +00:00
Melanie
05fc504ff3
Remove the old remoting-type interregion code for prim/script crossing
2009-11-26 12:16:42 +00:00
Melanie
88842edc95
Remove GetAssemblyName and friends from the SE interface. It's now handled
...
internally
2009-11-26 12:08:20 +00:00
Teravus Ovares (Dan Olivares)
a5f2803c79
* Re-enable the AbsolutePosition = AbsolutePosition in the LSL_Api in the SetRot method if the object is not active physical. This is important for scripted rotating doors. without AbsolutePosition = AbsolutePosition, the door won't rotate. It's also important that we do not use AbsolutePosition = AbsolutePosition if the object is active physical because that would cause a complete rebuild of the object which would break vehicles. This is the best of both worlds right now. Doors as child prim should work again so long as you don't check the Physical box.
...
* Thanks talentraspel
* Thanks NixNerd
* Thanks KittoFlora
* Thanks lockd
2009-11-26 01:34:46 -05:00
Teravus Ovares (Dan Olivares)
dac9c6fb23
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-11-25 14:13:51 -05:00
OpenSim Master
a3755d831d
Patch: Fix a bug in LAND animation when the TickCount wraps into negative numbers
...
by Mic Bowman
Signed-off-by: Teravus Ovares (Dan Olivares) <teravus@gmail.com>
2009-11-25 14:13:29 -05:00
Melanie
cc3617f74f
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
2009-11-25 17:03:11 +00:00
Justin Clark-Casey (justincc)
59caa68e08
minor: add doc to a few parcel methods
2009-11-25 17:49:38 +00:00
Melanie
0b380f68d8
Change osTeleportAgent parameters from long to int. That numerical range is
...
not even supported by the underlying type, so there is no need to ask
for a type the script can not even supply.
2009-11-25 17:02:45 +00:00
Justin Clark-Casey (justincc)
40464f6cc6
Change chat config code so that enabled = false actually does disable the chat module
2009-11-25 16:23:37 +00:00
Justin Clark-Casey (justincc)
a4d2a97bc6
minor: remove some mono compiler warnings, add --merge load oar switch to help information
2009-11-25 16:14:08 +00:00
Justin Clark-Casey (justincc)
c18422ad3a
Implement oar merging
...
An oar can now be merged with existing region contents by using the --merge option
For example, load oar --merge my.oar
Existing terrain, region settings and parcel data is left in place when an oar is merged.
See http://opensimulator.org/wiki/OpenSim_Archives#Usage for more information
2009-11-25 16:02:47 +00:00
Justin Clark-Casey (justincc)
f9807884a4
Add MIT/X11 licensed NDesk.Options ( http://www.ndesk.org/Options ) DLL to aid command line parsing
2009-11-25 15:28:43 +00:00
Teravus Ovares (Dan Olivares)
a642968fd5
* Reverting last commit.. because it just made it worse.
2009-11-25 04:00:52 -05:00
Teravus Ovares (Dan Olivares)
abddb60b8d
* Attempt number 1 to stop the repeating crouch animation that sometimes happens.
...
* This tries to address it by correcting one potential bug where it never resets the falltimer.
* This tries to address it by telling Physics that we're not flying this step.. instead of waiting until the next step when the next agent update comes along.
2009-11-25 02:51:11 -05:00
Justin Clark-Casey (justincc)
f605d59136
Make load/save iar slightly better in the face of io failures by always attempting to close the streams
2009-11-24 18:27:31 +00:00
Justin Clark-Casey (justincc)
c083ab6824
make save and load oar slightly more robust by always closing the archive streams even if there has been an error
2009-11-24 17:47:09 +00:00
Justin Clark-Casey (justincc)
73dcbbd57a
minor: remove some mono compiler warnings
2009-11-24 17:32:14 +00:00
Justin Clark-Casey (justincc)
88ead9ee63
pass all command parameters to load/save oar, not just the filename
...
unfortunately, these commands cannot yet be properly relocated to the region modules due to deficiencies in the region module infrastructure
2009-11-24 17:28:38 +00:00
Justin Clark-Casey (justincc)
52952a75ca
minor: remove experimental tags from load iar and save iar commands
2009-11-24 15:20:02 +00:00
Teravus Ovares (Dan Olivares)
cf36420d19
* This concludes the packet migrations from the big nasty switch into packet handler delegates.
2009-11-23 22:20:51 -05:00
Teravus Ovares (Dan Olivares)
3bfbd2952d
* Moved 60 more packet handlers to Packet Handler Delegates.
2009-11-23 20:19:00 -05:00
Teravus Ovares (Dan Olivares)
3ebb528c79
* Resolves mantis 4390 http://opensimulator.org/mantis/view.php?id=4390
2009-11-23 11:44:22 -05:00
Teravus Ovares (Dan Olivares)
976728029b
* Moved 40 more Packet handlers to the PacketDelegate and out of the 5000 line switch.
2009-11-23 01:12:46 -05:00
Teravus Ovares (Dan Olivares)
94cb4b486a
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-11-22 22:05:26 -05:00
Teravus Ovares (Dan Olivares)
21f80b6507
* Adds a test for if the collision is at the bottom of the capsule on avatar. This prevents the 'double jump' capability that's been occurring for ages when avatar collide with prim on the side.
2009-11-22 22:04:52 -05:00
Jeff Ames
9f5c2acd12
Formatting cleanup.
2009-11-23 11:26:06 +09:00
Teravus Ovares (Dan Olivares)
9ba10af6b2
* Added missing lock to m_forcelist when AddForce is called. When a user dragged a prim, in some cases, it would corrupt the datatype in memory and throw spurious IndexOutOfRangeExceptions.
...
* Physics a situation that causes physics to spew redline messages to the console forever.
2009-11-22 21:08:54 -05:00
Teravus Ovares (Dan Olivares)
0ff3c28f90
* This doesn't fix mantis 3522, but it should mitigate it.
...
* If the start position is outside of the region on the X and Y, put the user in the center of the region and then damp the Z position at 720 if necessary. If the start position is not outside of the region on the X or Y, then don't check the Z.
2009-11-22 20:21:33 -05:00
Teravus Ovares (Dan Olivares)
c155099faf
* The client prevents the avatar from landing if the avatar is going above an unknown certain speed, so, add a speed check on the server.
...
* This addresses the 'hump the prim' animation playing while you're moving forward full speed and pressing page down over a prim to land.
2009-11-22 19:26:00 -05:00
Teravus Ovares (Dan Olivares)
8db97f7dab
* Switched over 15 more packet types from the 5000 line switch to the Packet handler delegate
2009-11-22 05:13:50 -05:00
Teravus Ovares (Dan Olivares)
968b7310f4
* Moved 13 more packet type handlers to PacketHandler Delegates.. and out of of that giant 5000 line switch, ProcessInPacket.
2009-11-22 03:48:56 -05:00
Teravus Ovares (Dan Olivares)
2c8fbc15e8
* Comment out some example code for later.
2009-11-21 21:59:31 -05:00
Teravus Ovares (Dan Olivares)
079691b98f
* Move a few of the ProcessInPacket switch case blocks into packet handler delegates
2009-11-21 21:58:11 -05:00
Teravus Ovares (Dan Olivares)
f7916d10f3
* This fixes landing on Prim and removes the hack from yesterday. Landing on prim should work fine again.
2009-11-21 19:38:38 -05:00
Teravus Ovares (Dan Olivares)
247fc00ce7
* Hack to get avatar to land on prim. This is a big nasty hack that tricks the client into thinking you're landing on the terrain. There are some visual artifacts when you land. It's only temporary until we figure out how this broke.
2009-11-21 06:39:28 -05:00
Teravus Ovares (Dan Olivares)
7760da1a4c
* Fixes the second of two terse update issues. Physical objects should react normally again.
2009-11-21 04:39:41 -05:00
Teravus Ovares (Dan Olivares)
0ffda7128e
* Fixes one of two terse update issues. There's still one left, but this one fixes the situation where the object on the server is moving but no updates are being sent.
2009-11-21 04:33:34 -05:00
Justin Clark-Casey (justincc)
8f0db68424
Fix http://opensimulator.org/mantis/view.php?id=3874 - parenthesis in for statements cause script compile failures
...
This fixes a problem in OpenSim where statements of the form
for ((i = 0); (i < 10); (++i)) { ... }
do not compile even though they are valid lsl.
2009-11-20 18:39:39 +00:00
Justin Clark-Casey (justincc)
622003ab09
minor: tweak log message to say which region is being enabled for logins
2009-11-18 20:27:37 +00:00
Justin Clark-Casey (justincc)
4baac71a5e
refactor: Eliminate redundant CreateSceneViewer call on ScenePresence constructors since this is also done on other called constructors
2009-11-17 18:44:57 +00:00
Justin Clark-Casey (justincc)
710a2afd12
Add scene animator set up to apparantly uncalled no-arg ScenePresence constructor
2009-11-17 16:40:59 +00:00
Justin Clark-Casey (justincc)
da255be05a
refactor: move AvatarAnimations, BinBVHAnimation
2009-11-17 16:25:52 +00:00
Justin Clark-Casey (justincc)
de054bc583
minor: remove mono compiler warning due to unreachable code in GroupsModule
2009-11-17 15:21:29 +00:00
Justin Clark-Casey (justincc)
61c76d1810
refactor: move AnimationSet
2009-11-17 15:20:02 +00:00
Justin Clark-Casey (justincc)
1324082b90
refactor: move most animation methods from ScenePresence into a new ScenePresenceAnimator class
2009-11-17 15:05:40 +00:00
Justin Clark-Casey (justincc)
2606bf4a53
minor: very minor formatting change
2009-11-16 19:16:24 +00:00
Diva Canto
d5c18f6149
Make GroupRootUpdate be a terse update. This method is not used by opensim (it should), but it's used by external modules.
2009-11-14 14:14:08 -08:00
dahlia
2e24415077
undo previous changes
...
add a GetGroupByPrim() method to Scene.cs
delete a redundant method
2009-11-13 22:13:40 -08:00
dahlia
e7d0aa75ba
expose SceneGraph.GetGroupByPrim(UUID)
2009-11-13 20:52:03 -08:00
Justin Clark-Casey (justincc)
96be5e5a88
minor: A further minor tweak to reduce iar load logging verbosity
2009-11-13 20:24:45 +00:00
Justin Clark-Casey (justincc)
fe82471c2b
Apply patch http://opensimulator.org/mantis/view.php?id=4369
...
Adds osGetMapTexture() and osGetRegionMapTexture() methods to retrieve region map texture uuids
2009-11-12 19:42:35 +00:00
Justin Clark-Casey (justincc)
e2b1fb8ff9
refactor: extract another test asset helper method
2009-11-12 19:15:08 +00:00
Justin Clark-Casey (justincc)
ed1089d892
refactor some test asset creation into a helper class
...
remove mono compiler warning
2009-11-12 19:08:00 +00:00
Justin Clark-Casey (justincc)
2f092d271e
Rename test services to mock services, since this is a more accurate description
...
remove duplicate mock inventory service
2009-11-12 18:44:03 +00:00
Justin Clark-Casey (justincc)
d21fc1cefb
minor: for now stop iar tests spewing log messages when running testsuite
2009-11-12 18:33:40 +00:00
Justin Clark-Casey (justincc)
bb92ba97c6
Stop iar save failing on corrupt assets
...
Not ideal since one will still have to watch out for big 'corrupt asset' messages in the log, but better than an outright fail
2009-11-12 18:26:22 +00:00
Justin Clark-Casey (justincc)
cbe1cc1bc8
minor: refactor common setup in uuid gatherer test
2009-11-12 17:50:09 +00:00
Justin Clark-Casey (justincc)
55a40694e7
minor: remove mono compiler warning
2009-11-12 17:42:26 +00:00
Adam Frisby
cedd827f7f
* Added some new syntax options for the Monitor Module's HTTP poll.
2009-11-12 11:17:04 +11:00
dahlia
8ae3df22a2
clean up some cruft
2009-11-11 11:10:42 -08:00
Justin Clark-Casey (justincc)
6d88c96e01
minor: remove mono compiler warning
2009-11-11 18:49:05 +00:00
Justin Clark-Casey (justincc)
00102e73a6
Add basic new uuid gatherer tests to check behaviour when the gather seed is a missing asset
2009-11-11 18:46:04 +00:00
Teravus Ovares (Dan Olivares)
4a2d82e14b
* Thanks to a little help from jhurliman, jradford, diva, mono's brajkovic, miguel, and the fabulous bug reports by our community members.. The workaround fix for the "ERROR:metadata.c:3211:mono_metadata_token_from_dor: code should not be reached" bug in the RegionCombinerModule.
2009-11-11 02:47:17 -05:00
Teravus Ovares (Dan Olivares)
c8268a270f
* Fix resources file mapping
2009-11-11 00:00:21 -05:00
Teravus Ovares (Dan Olivares)
1bb510ab17
* Update namespace in the regioncombinermodule.
2009-11-10 23:43:18 -05:00
Teravus Ovares (Dan Olivares)
2e514bfb1b
* Move RegionCombinerModule to it's own project
...
* Moves the mono_metadata_token_from_dor message to a different module on loading.
2009-11-10 22:40:08 -05:00
Diva Canto
05f7fa1543
Broke the monster RegionLoaded method in RegionCombinerModule into 4 smaller methods. Let's see if this avoids a mono bug that is making megaregions not work in mono. Long shot, but worth a try.
2009-11-10 10:39:16 -08:00
Diva Canto
3294714099
Updated HGUserServices with AuthenticateUserByPassword, so that iar works.
2009-11-10 07:57:54 -08:00
Adam Frisby
90b15aa440
* Added HTTP polling for Statistics Monitor Module (access via http://sim.com:httpport/monitorstats/regionUUID/ )
...
* Returns simple formatted XML document containing statistical data on the current sim.
* Example:
<data>
<AgentCountMonitor>5.0000</AgentCountMonitor>
...
</data>
2009-11-11 00:22:06 +11:00
Mic Bowman
167c15db9d
Fixed XMLRPC return params
...
Signed-off-by: Melanie <melanie@t-data.com>
2009-11-10 04:14:41 +00:00
Melanie
ba99081bbe
Add IScriptModuleComms interface and region module to handle dispatch of
...
script messages to region modules and sending back replies.
Hook IScriptModuleComms.OnScriptCommand to see commands and use
DispatchReply to reply to the script. It is recommended to pass the "id"
parameter from the event as the "k" parameter of the reply.
The script will receive the reply as a link message from link -1.
2009-11-10 03:36:43 +00:00
dahlia
af9b0dcc20
Merge branch 'master' of ssh://dahlia@myConnection01/var/git/opensim
2009-11-09 18:49:13 -08:00
dahlia
3e22bb24f5
add an overload to _SculptMesh for meshing from a list of coordinates
...
add conditional compilation for System.Drawing dependency
2009-11-09 18:44:03 -08:00
Melanie
7df7e6a0bb
Add modSendCommand function (note, this is a new API module, using the API
...
extension mechanism, it's not a osFunction!
2009-11-10 01:22:14 +00:00
John Hurliman
5145dfa53c
* Removing the redundant SendPrimitiveTerseData.State field, it duplicates AttachPoint
...
* LLClientView.CreateImprovedTerseBlock() now uses AttachPoint and does the proper high-low swap (this should fix disappearing attachment pieces)
2009-11-09 17:13:56 -08:00
Justin Clark-Casey (justincc)
a88a463b50
Following various discussions on irc and in the OpenSim dev OSGrid meeting last week, change av_capsule_tilted to false by default
...
This appears to now give better ODE physics response (less sinking into the ground, etc.)
Please change it back if this is actually a bad idea for some reason
2009-11-09 19:26:42 +00:00
Justin Clark-Casey (justincc)
3274bc39c8
minor: remove some mono compiler warnings
2009-11-09 17:43:32 +00:00
Justin Clark-Casey (justincc)
7f5d0a6735
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-11-09 17:36:28 +00:00
Justin Clark-Casey (justincc)
716f70cd31
refactor out iar escaping
2009-11-09 17:34:07 +00:00
Justin Clark-Casey (justincc)
1ded7edde2
minor: correct slightly over-enthusiastic load iar logging message
2009-11-09 17:24:06 +00:00
Justin Clark-Casey (justincc)
7c5dc94cc8
fix load iar regression accidentally introduced in last commit
2009-11-09 17:22:18 +00:00
Justin Clark-Casey (justincc)
3c1f50127c
minor: tweak load iar messages to be slightly less verbose
2009-11-09 17:20:30 +00:00
Justin Clark-Casey (justincc)
fbcf6ffc18
minor: provide updates on number of assets loaded while executing "load iar"
2009-11-09 17:17:25 +00:00
Justin Clark-Casey (justincc)
1afe5a528c
minor: remove some mono compiler warnings
2009-11-09 17:09:56 +00:00
Justin Clark-Casey (justincc)
ae92bbcb95
refactor: break actual item load in iar into separate method
2009-11-09 17:04:05 +00:00
Justin Clark-Casey (justincc)
a0c1836fde
minor: remove some old commented out load iar code
2009-11-09 16:43:35 +00:00
Justin Clark-Casey (justincc)
678a74e4f7
Tell the user when a 'save iar' has failed because the inventory path could not be found
2009-11-09 16:42:17 +00:00
Justin Clark-Casey (justincc)
a3105a34ca
Implement human / escaping for inventory folders as well as items
2009-11-09 16:12:13 +00:00
Justin Clark-Casey (justincc)
6820cc93ec
refactor path delimiter in iar utils
2009-11-09 16:08:17 +00:00
Justin Clark-Casey (justincc)
a7af92d5d0
minor: remove some mono compiler warnings
2009-11-09 16:03:15 +00:00
Justin Clark-Casey (justincc)
9b2592a960
refactor: make human iar escape char a constant rather than a magic char
2009-11-09 15:54:43 +00:00
Justin Clark-Casey (justincc)
668850b974
* for iars, allow item names/folders including "/" to be escaped using "\/"
...
* also, "\" has to be escaped as "\\"
* add item name unit test for escaped characters
2009-11-09 15:49:09 +00:00
Melanie
f8bcbe5492
remove the debug stuff
2009-11-08 22:39:00 +00:00
Melanie
aff5fe10b0
test commit with debug output per folder fetch. NOT FOR PRODUCTION, SPEWY
2009-11-08 22:29:36 +00:00
Melanie
81c439bcaa
Patch from Snoopy2. Fixes Mantis #4342
...
fixes problems when group owned land was abandoned by the land owner or reclaimed by the estate manager or by god.
Beside that this new patch makes it possible, that users can buy land directly for a group, if the buyer has the required permissions.
2009-11-08 20:36:00 +00:00
John Hurliman
1cddc85078
Fixing the build break
2009-11-06 00:06:49 -08:00
John Hurliman
dfe4dc735a
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-11-05 23:50:42 -08:00
John Hurliman
6ed57814c1
* Clamp the CoarseLocationUpdate packet at a maximum of 60 positions per packet. This is a limitation of LLUDP, nothing we can really do about it
...
* Marking CoarseLocationUpdate as *not* zerocoded. Zerocoding can only save space when a packet contains three or more contiguous zeroes, and will use more space if it contains single zeroes randomly scattered through the packet (which is what you see when you send a long list of UUIDs)
2009-11-05 23:50:17 -08:00
John Hurliman
afef1ac191
Changing the AssetBase constructors to avoid initializing assets with an unknown asset type, and log an error if it ever does happen
2009-11-05 13:10:58 -08:00
John Hurliman
e6d7303b29
Applying #4332 , optional packet statistics logging
2009-11-05 12:01:40 -08:00
Justin Clark-Casey (justincc)
f8f1e94cf8
add unit test for iar & escaping
2009-11-05 19:32:24 +00:00
Justin Clark-Casey (justincc)
6f4a588397
minor test var name tweak
2009-11-05 19:09:32 +00:00
Justin Clark-Casey (justincc)
bae03dfcbd
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-11-05 18:53:57 +00:00
Justin Clark-Casey (justincc)
345ddcd0d8
* Escape / character when saving items and folders in an iar so that the loader doesn't barf
2009-11-05 18:53:25 +00:00
Melanie
ec0d5b408a
Change the permissions module to use the friend list cache already in the
...
friends module instead of requesting the entire friends list over the
network each time a prim is touched.
2009-11-05 17:29:52 +00:00
Melanie
b098572525
Remove a spammy debug message from friends list check in the perms module.
...
Replace the integer compares with proper bitflags checking from libOMV.
Friends rights are now functional.
2009-11-05 16:46:39 +00:00
Melanie
83b4b4440b
Patch by revolution, thank you. Mantis #1789 . Implement friends permissions.
...
Applied with major changes. Core functionality commented pending review
for possible rights escalation. No user functionality yet.
2009-11-05 02:09:07 +00:00
Melanie
30a2411e58
Separate folder and item limit for UDP inventory packets. Folder limit is
...
now 6, as before, item limit is 5. This should avoid most, if not
all, oversized packets.
2009-11-04 23:54:19 +00:00
Melanie
a431f346e7
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
2009-11-04 23:29:42 +00:00
John Hurliman
a13e25ebbe
Initialize SceneObjectPart.RotationOffset to Quaternion.Identity
2009-11-04 16:19:56 -08:00
John Hurliman
f57a646638
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-11-04 16:08:23 -08:00
John Hurliman
ec2ebf2598
Removing EntityBase.Rotation
2009-11-04 16:08:10 -08:00
Melanie
b6ea7c26ac
Refine oversized packet handling as per jhurliman. Reallocate the buffer to
...
actual packet size only for oversized packets.
2009-11-04 23:12:56 +00:00
Melanie
58be90d2b1
Add some length to the backet buffer for packet sending so oversize
...
inventory packets don't make us barf
2009-11-04 22:47:40 +00:00
Justin Clark-Casey (justincc)
9dd5d63495
minor: remove some mono compiler warnings
2009-11-04 19:44:28 +00:00
Melanie
535f4597c1
Add an overload to OutPacket as per jhurliman. Switch hacky workaround
...
for InventoryDescendents to the proper way
2009-11-04 04:36:19 +00:00
Melanie
cfcb5faa4e
Bounce the pacjet items limit back up to 6
2009-11-04 04:09:46 +00:00
Melanie
5bcc02c97b
Prevent autosplitting of inventory descendents packets. Also reduces the
...
number of items per packet to 5 to prevent asserts
2009-11-04 03:56:31 +00:00
Melanie
4d2ecd1236
Correctly set the totall number of descendents in inventory retrieval
2009-11-04 03:07:21 +00:00
Melanie
c72f78215b
Backport the fixes to WebFetchInventoryDescendents to the UDP
...
InventoryDescendents packet. Testing has shown that UDP inventory now
works flawlessly and, unlike CAPS inventory, doesn't download the entire
agent inventory on start. Neither does it incessantly re-request folder
NULL_KEY. Therefore, I have disabled CAPS inventory.
2009-11-04 01:56:19 +00:00
Melanie
00130841db
Remove parallel loading from XEngine, but retain the new design where
...
all scripts are loaded from the same thread, rather than launching a
new one for each script. This is only marginally slower, but avoids the
race condition that led to script engine failure.
2009-11-03 20:23:50 +00:00
Justin Clark-Casey (justincc)
af0e5d0974
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-11-03 19:11:09 +00:00
Justin Clark-Casey (justincc)
1d737b010c
minor: remove some mono compiler warnings
2009-11-03 18:52:20 +00:00
Diva Canto
9e6f01321e
Fixed a couple of NREs in corner cases.
2009-11-03 10:24:02 -08:00
dahlia
82554e9a89
Delete depricated extrusion methods and redirect to universal extrude method.
...
Sync with PrimMesher.cs r47 on forge.
2009-11-02 22:24:58 -08:00
John Hurliman
1927945053
Another race condition fix in SceneObjectGroup
2009-11-02 15:09:07 -08:00
John Hurliman
0e8b5c7ffa
Fixing race conditions in the SceneObjectPart properties
2009-11-02 11:40:57 -08:00
John Hurliman
67ac9881fa
Removing duplicate SceneObjectPart.RotationalVelocity property
2009-11-02 11:28:35 -08:00
Adam Frisby
3c0881c83c
* Committing missing file from last commit.
2009-11-02 00:20:41 +11:00
Adam Frisby
838bc80ab9
* Implemented some tweaks to monitoring module.
...
* Output is prettier & more useful.
* Added 'Alerts' to allow rules to be constructed using Monitors to detect for events such as deadlocks. This will be translated to SNMP Traps when I get SNMP implemented.
2009-11-02 00:05:49 +11:00
Adam Frisby
711dde34e4
* Implements new 'Monitoring' system for reporting performance.
...
* Mostly the same set as the StatsMonitor used for Viewer notification, but exposes some new frametimes - including EventMS, PhysicsUpdateMS, LandUpdateMS; new memory monitoring - both GC.TotalMemory and Process.PrivateWorkingMemory64; also exposes ThreadCount (using System.Diagnostics.Process)
* Type 'monitor report' on the console to see output.
* SNMP Implementation forthcoming.
2009-11-01 19:37:40 +11:00
Diva Canto
58c260140c
Patch + minor formatting fixes.
2009-10-31 19:10:33 -07:00
Douglas R. Miles
7f4d646aea
http://opensimulator.org/mantis/view.php?id=4337
2009-10-31 19:05:02 -07:00
Melanie
c6246050d9
Make the default and max RTO configurable int he linden client stack
2009-10-30 22:07:56 +00:00
Melanie
92f4835ba6
Convert the AvatarGroupsReply message to the event queue.
2009-10-30 19:54:56 +00:00
Melanie
39f95e8cf0
Add a using for OSD to the client view
2009-10-30 19:44:01 +00:00
John Hurliman
cb1492aaf0
Fixed a regression in SendAvatarGroupsReply()
2009-10-30 13:18:18 -07:00
John Hurliman
5d5d0e699a
* Disables automatic packet splitting on AvatarGroupsReply packets. This packet is a mess and shouldn't be used at all (in favor of the event queue message)
...
* Clean up the way we send AvatarGroupsReply packets, including clamping the group name and group title
2009-10-30 11:12:32 -07:00
John Hurliman
8a73dc0f8a
* Fix for a potential race condition in ScenePresence.AbsolutePosition
...
* Unified the way region handles are stored and used in ScenePresence
* Fixed camera position for child agents
* CheckForSignificantMovement now checks avatar and camera position (both are important for scene prioritization)
* Removing debug code from the previous commit
2009-10-30 03:01:15 -07:00
John Hurliman
7965b6eb61
* Moving parcel media and avatar update packets from the unthrottled category to task
...
* Fixing a bug where the max burst rate for the state category was being set as unlimited, causing connections to child agents to saturate bandwidth
* Upped the example default drip rates to 1000 bytes/sec, the minimum granularity for the token buckets
2009-10-30 00:43:46 -07:00
John Hurliman
a05c67bebb
* Fixes issue #4329 "llDialog fails silently" by updating OpenMetaverse.dll
...
* Prints a warning for any future packet splitting failures
2009-10-30 00:08:41 -07:00
John Hurliman
aecaa51063
* Fixed a NullReferenceException in GetMovementAnimation() and added more protection against NREs in AddNewMovement()
...
* Removed the three second limit on ImprovedTerseObjectUpdate. With the latest fixes I don't think this is necessary, and it generates a lot of unnecessary updates in a crowded sim
2009-10-29 16:31:48 -07:00
John Hurliman
2913c24c8a
* Commented out two noisy debug lines in the LLUDP server
...
* Misc. cleanup in ScenePresence.HandleAgentUpdate()
2009-10-29 15:24:31 -07:00
John Hurliman
ec7fd8b1f8
More performance improvements to XEngine script loading
2009-10-29 06:42:40 -07:00
John Hurliman
dd13fa361b
* Misc. formatting cleanup for the previous patch
...
* Added the new AppDomainLoading variable to the [XEngine] section in the example config
2009-10-29 05:56:37 -07:00
Dan Lake
33448e4ba8
Optimizations
2009-10-29 05:39:18 -07:00
John Hurliman
5c894dac8b
* Implemented foot collision plane for avatars
...
* Fixed a NullReferenceException regression
2009-10-29 05:34:40 -07:00
John Hurliman
3f2d6fe470
Ported the Simian avatar animation system to OpenSim. Landing is currently not working
2009-10-29 04:13:51 -07:00
John Hurliman
fd2c99f184
Fixing NullReferenceException regression in the previous commit
2009-10-29 02:10:48 -07:00
John Hurliman
7132877075
* Log progress messages when loading OAR files with a lot of assets
...
* Change the PhysicsCollision callback for objects to send full contact point information. This will be used to calculate the collision plane for avatars
* Send the physics engine velocity in terse updates, not the current force being applied to the avatar. This should fix several issues including crouching through the floor and walking through walls
2009-10-29 01:46:58 -07:00
John Hurliman
59eb378d16
Small performance tweaks to code called by the heartbeat loop
2009-10-28 23:10:16 -07:00
John Hurliman
1c9696a9d2
Always send a time dilation of 1.0 while we debug rubberbanding issues
2009-10-28 15:11:01 -07:00
John Hurliman
a069a1ee68
Limit physics time dilation to 1.0
2009-10-28 14:44:05 -07:00
John Hurliman
b81c829576
* Standalone logins will now go through the sequence of "requested region, default region, any region" before giving up
...
* Hip offset should have been added not subtracted (it's a negative offset). This puts avatar feet closer to the ground
* Improved duplicate checking for terse updates. This should reduce bandwidth and walking through walls
2009-10-28 14:13:17 -07:00
John Hurliman
c003f49432
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-10-28 12:45:56 -07:00
John Hurliman
a65c8cdc38
* Reduce the velocity tolerance on sending terse updates to avoid slowly drifting prims/avatars
...
* Added contacts_per_collision to the ODE config section. This allows you to reduce the maximum number of contact points ODE will generate per collision and reduce the size of the array that stores contact structures
2009-10-28 12:45:40 -07:00
John Hurliman
ee0f7e10c8
Fixed a bad check on velocity in the ODE near() callback (it was only checking for velocity in certain directions, and was calling the get_Velocity() function three times)
2009-10-28 12:20:34 -07:00
Melanie
184e85cdec
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-10-28 18:26:31 +00:00
Melanie
c17359fea5
Adding changes to previous patch to make it fit into core better
2009-10-28 18:25:37 +00:00
Fredo Chaplin
bff0d75e0f
patch kill by UUID
...
Signed-off-by: Melanie <melanie@t-data.com>
2009-10-28 18:09:50 +00:00
John Hurliman
cdbeb8b83b
Track timestamps when terse updates were last sent for a prim or avatar to avoid floating away forever until a key is pressed (deviates from SL behavior in a hopefully good way)
2009-10-28 03:21:53 -07:00
John Hurliman
587c35f6b6
Marking ImprovedTerseObjectUpdate packets for avatars as unthrottled to test
2009-10-28 02:30:16 -07:00
John Hurliman
2d470f8bde
Switching sculpty from CSJ2K back to OpenJPEG for now until more kinks are ironed out
2009-10-28 01:48:53 -07:00
John Hurliman
e31024f08b
Print the exception message when CSJ2K decoding fails for sculpty textures
2009-10-28 01:30:39 -07:00
Mikko Pallari
8254256fe9
Modified visibilities of properties and methods. This is so that SL client based clients can use UDP server that is inherited from LLUDPServer.
2009-10-28 00:41:13 -07:00
Diva Canto
6a6a8df1ba
Make map search work also for hyperlinked regions.
2009-10-27 20:32:48 -07:00
John Hurliman
0c466b28bb
Move the calculation of time dilation from the scene to the physics engine. The scene is still the one reporting dilation so this does not break the API or remove flexibility, but it gets the calculation happening in the right place for the normal OpenSim usage. The actual calculation of physics time dilation probably needs tweaking
2009-10-27 16:24:43 -07:00
John Hurliman
f89c2cac0f
Experimental test to rate limit the incoming packet handler and try to always leave a worker thread available for other tasks
2009-10-27 14:16:01 -07:00
John Hurliman
2525810e2a
Removed the DotNetEngine scripting engine. You will need to create a fresh checkout or clean out all *DotNet*.dll assemblies from the bin/ directory to run OpenSim moving forward
2009-10-27 13:31:04 -07:00
John Hurliman
fefe767476
Lowering the position tolerance of terse updates for ScenePresences to mitigate some of the rubberbanding issues while we are sending incorrect time dilation values
2009-10-27 13:16:58 -07:00
John Hurliman
a718d7d56a
Making the defaults for interest management variables match whether you have the [InterestManagement] section in your config or not
2009-10-27 10:17:20 -07:00
John Hurliman
bcd7593dfb
Forgot a line in the previous commit
2009-10-27 10:07:35 -07:00
John Hurliman
3a1ee79ee4
Finally hunted down the Parallel deadlock. Packets were being handled asynchronously (filling up the threadpool with handlers), which would turn around and try to do parallel operations on the starved threadpool. The solution for now is to disable Parallel.cs operations until we can gracefully handle parallel operations with a potentially starved threadpool
2009-10-27 02:36:57 -07:00
John Hurliman
c75d415648
* Converts ClientManager.ForEach() (and as a result, Scene.ForEachClient()) to use a non-blocking parallel method when operating in async mode
...
* Minor code readability cleanup
2009-10-27 00:26:56 -07:00
John Hurliman
f5cad91578
* Switched from OpenJPEG to CSJ2K in Meshmerizer
...
* Tested the previous patch and found no regressions
2009-10-26 19:03:55 -07:00
John Hurliman
d199767e69
Experimental change of PhysicsVector to Vector3. Untested
2009-10-26 18:23:43 -07:00
John Hurliman
b6651ce790
* Double the priority on avatar bake texture requests to get avatars rezzing in faster than the surrounding scene
...
* Adds duplicate tracking for SceneObjectParts and ScenePresences to avoid sending out duplicate ImprovedTerseObjectUpdate packets
2009-10-26 18:22:32 -07:00
John Hurliman
0b1726b524
Removing the ClientManager reference from IScene and hiding it entirely inside Scene as an implementation detail. This will reduce programming error and make it easier to refactor the avatar vs client vs presence mess later on
2009-10-26 16:48:43 -07:00
John Hurliman
4847e62e9f
* Switched all operations on the list of clients that could be either sync or async to use Scene.ForEachClient() instead of referencing ClientManager directly
...
* Added a new [Startup] config option called use_async_when_possible to signal how to run operations that could be either sync or async
* Changed Scene.ForEachClient to respect use_async_when_possible
* Fixing a potential deadlock in Parallel.ForEach by locking on a temporary object instead of the enumerator (which may be shared across multiple invocations on ForEach). Thank you diva
2009-10-26 16:33:04 -07:00
John Hurliman
119cf80e13
Added calls to GC.AddMemoryPressure() when unmanaged memory is allocated for ODE (helps the GC make better scheduling choices), and a call to GC.Collect() right before logins are enabled for a region. Although this doesn't change actual memory usage, it improves the reported usage from OpenSim and the operating system
2009-10-26 15:52:59 -07:00
Dan Lake
428bd7a74b
No need to create dupe TriMeshData for ODE. A previous patch created a dictionary to store unique meshes in Meshmerizer based on creation params. This patch contains a dictionary to map each of those unique meshes to its ODE TriMeshData. This eliminated hundreds of megabytes of memory consumption in the unmanaged heap when there are lots of the same prim (roof tiles, bricks, siding, decks, chairs, etc). The objects do not need to be physical to benefit from this patch.
2009-10-26 15:14:19 -07:00
Dan Lake
ad624f703d
ParcelObjectOwnersReplyPacket has null DataBlock when a client requests a list of their prims in the region and none exist. Instead of leaving pack.Data null, this patch sets a new DataBlock[0];
2009-10-26 15:14:13 -07:00
John Hurliman
ff4b45a1e3
Do case-insensitive comparisons on region names in LLStandaloneLoginModule
2009-10-26 15:12:43 -07:00
John Hurliman
ac7ccdf7d7
* Changed the watchdog timer to improve the speed of UpdateThread(), only track threads once the first call to UpdateThread() has been made, and allow re-tracking of threads that timed out but revived later
...
* Added a commented out call to Watchdog.UpdateThread() in OdeScene. If it turns out that loading a large OAR file or some other operation is timing out the heartbeat thread, we'll need to uncomment it
2009-10-26 14:41:27 -07:00
John Hurliman
c04775bf68
Changed UseCircuitCode handling to be synchronous or asynchronous depending on the async_packet_handling config option, and added a debug log message when a UseCircuitCode packet is handled
2009-10-26 13:38:07 -07:00
John Hurliman
ff65b50236
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-10-26 11:28:43 -07:00
John Hurliman
2222172afa
Removed an unnecessary lock in LLUDPClient.UpdateRTO() and LLUDPClient.BackoffRTO()
2009-10-26 11:28:02 -07:00
Melanie
1209db6dcd
Thank you, RemedyTomm, for an update to your previous patch. Garbage-collect
...
the transfers that never happen.
2009-10-26 15:51:28 +00:00
Melanie
7df54d4ad2
Thank you, RemedyTomm, for a patch to handle Xfer requests being dropped
...
before the file data to be transfered is ready.
2009-10-26 04:52:11 +00:00
John Hurliman
de25dcfb7b
Minor tweaks to get OpenSim compiling against both the current libomv and the upcoming 0.8.0
2009-10-25 01:10:02 -07:00
John Hurliman
730930955a
Changing Scene.ForEachClient to use the synchronous for loop instead of Parallel. This is quite possibly the source of some deadlocking, and at the very least the synchronous version gives better stack traces
...
* Lock the LLUDPClient RTO math * Add a helper function for backing off the RTO, and follow the optional advice in RFC 2988 to clear existing SRTT and RTTVAR values during a backoff
* Removing the unused PrimitiveBaseShape.SculptImage parameter * Improved performance of SceneObjectPart instantiation * ZeroMesher now drops SculptData bytes like Meshmerizer, to allow the texture data to be GCed * Improved typecasting speed in MySQLLegacyRegionData.BuildShape()
* Improved the instantiation of PrimitiveBaseShape
2009-10-25 00:40:21 -07:00
John Hurliman
2c34619aea
* Changed various modules to not initialize timers unless the module is initialized. Ideally, the timers would not initialize unless the module was actually enabled, but Melanie's work on configuring module loading from a config file should make that unnecessary
...
* Wrapped the Bitmap class used to generate the world map tile in a using statement to dispose of it after the JPEG2000 data is created
2009-10-23 14:22:21 -07:00
John Hurliman
a41cd1d069
* Unregister Mono.Addins event handlers in PluginLoader.Dispose() and always handle PluginLoader with the using pattern. This freed up 121,634,796 bytes on my system
...
* Avoid allocating an Action<IClientAPI> object every round of the OutgoingPacketHandler
* Removed unnecessary semi-colon endings from OpenSim.ini.example [InterestManagement] section
2009-10-23 13:14:29 -07:00
John Hurliman
c749cf0061
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-10-23 10:37:01 -07:00
John Hurliman
4c45b5fd3c
Cleaning up OpenSim.ini.example for LLUDP. The [LLClient] section has been removed and several new parameters have been added to [ClientStack.LindenUDP]
2009-10-23 10:35:47 -07:00
dslake
8ba3afb59b
Patch from dslake http://opensimulator.org/mantis/view.php?id=4291 0004291: Inconsistent locking of ODE tainted prims
2009-10-23 12:14:05 -04:00
unknown
71c929137f
Inconsistent locking of SenseRepeaters in Script Engine.
...
When I attempt to 'save oar' on a region with thousands of scripts with timers, I get a NullReferenceException every time. The problem comes from inconsistent locking in SensorRepeat.cs of the SenseRepeaters List. It is iterated and modified in many places and these places are all wrapped in a lock except in the GetSerializationData(). This is the function throwing the exception because an item in the list becomes null during iteration.
The attached patch locks SenseRepeatListLock in GetSerializationData()
2009-10-23 11:25:06 +01:00
John Hurliman
62f1a5e36d
Implemented a "FrontBack" prioritizer, using distance plus the plane equation to give double weight to prims/avatars in front of you
2009-10-23 02:38:59 -07:00
John Hurliman
37f7277378
Uncommented the resend log line so the previous commit can be seen in action
2009-10-23 01:33:43 -07:00
John Hurliman
ac0acb0296
* Changed the max RTO value to 60 seconds to comply with RFC 2988
...
* Implemented section 5.5, exponential backoff of the RTO after a resend
2009-10-23 01:33:05 -07:00
John Hurliman
53bf479bab
Commented out noisy debugging about resent packets (normal) and agents setting throttles (normal)
2009-10-23 01:11:40 -07:00
John Hurliman
588361e2a2
Experimental change to use an immutable array for iterating ScenePresences, avoiding locking and copying the list each time it is accessed
2009-10-23 01:02:36 -07:00
Teravus Ovares (Dan Olivares)
f34e8adffb
* Moved Copyrights above the comments in ODEPrim and ODEDynamics so they're consistent with the rest (and so chi11ken's auto copyright adding script doesn't duplicate the copyright.
2009-10-22 18:28:42 -04:00
John Hurliman
ba2972eaf6
* Send out m_bodyRot everywhere instead of m_rotation. Still have no clue which is right
...
* Fix WorldMapModule.process() to not trip the watchdog timer
2009-10-22 14:33:54 -07:00
John Hurliman
4ba3842d71
Forgot to hit save in the last commit
2009-10-22 13:24:24 -07:00
John Hurliman
167d8e39fa
* Sending (position - hipoffset) instead of position
...
* Sending m_rotation instead of m_bodyRot in full updates to match terse updates (no idea which one is right!)
2009-10-22 13:14:41 -07:00
John Hurliman
a16c3bf446
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-10-22 12:34:47 -07:00
John Hurliman
b2ed348aa2
Implemented a Watchdog class. Do not manually create Thread objects anymore, use Watchdog.StartThread(). While your thread is running call Watchdog.UpdateThread(). When it is shutting down call Watchdog.RemoveThread(). Most of the threads in OpenSim have been updated
2009-10-22 12:33:23 -07:00
KittoFlora
227c832d3b
Commented out instrumentation in ODEPrim.cs
2009-10-22 19:15:35 +01:00
Melanie
fc4ff09181
Merge branch 'vehicles'
2009-10-22 17:39:19 +01:00
Snowcrash
84ac0f56f5
Fixing the patch to the patch
2009-10-22 17:36:52 +01:00
Snowcrash
47d8b6c5f5
Fix rounding error in PRIM_SIZE portion of llSetPrimitiveParams
2009-10-22 17:36:49 +01:00
Jeff Ames
d756fa01ae
Add copyright header. Formatting cleanup.
2009-10-22 18:57:24 +09:00
John Hurliman
5d07e18980
A synchronous call to the messaging server was blocking the process of promoting an agent to a root agent (logins and teleports). Changed to an async method
2009-10-22 02:27:06 -07:00
John Hurliman
2f394b7e7e
* Allow SmartThreadPool to be initialized without setting max stack size (like the original implementation)
...
* Only initialize Util's SmartThreadPool if it is actually being used
* No longer initializing Util's SmartThreadPool with a custom max stack size. From MSDN: "Avoid using this constructor overload. The default stack size used by the Thread(ThreadStart) constructor overload is the recommended stack size for threads."
2009-10-22 01:30:12 -07:00
Melanie
c4969d47d9
Merge branch 'master' into vehicles
2009-10-22 07:12:10 +01:00
Melanie
b35fbe1f98
Merge branch 'melanie_test' into prioritization
...
This makes SmartThreadPool configurable and also makes it the default, since
the regular thread pool simply stinks.
2009-10-22 07:02:21 +01:00
John Hurliman
32ccd5bb40
* Changed the misc. methods calling ThreadPool.UnsafeQueueUserWorkItem() to Util.FireAndForget()
...
* Changed Util.FireAndForget() to use any of five different methods set with async_call_method in the [Startup] section of OpenSim.ini. Look at the example config for possible values
2009-10-21 23:03:18 -07:00
Melanie
624af66c35
Make the LSL scripting delays take full effect. To tune, tweat the
...
ScriptDelayFactor in config
2009-10-22 05:42:34 +01:00
Melanie
8ce4fd7234
Reduce the default pool threads to 15 (from 30) and the minimum from 5 to 2
2009-10-22 04:02:26 +01:00
Melanie
8a336c6860
Add MaxPoolThreads in startup to limit the size of the thread pool used
...
for FireAndForget. This lets us limit concurrency to make OpenSim play nice
2009-10-22 02:28:53 +01:00
John Hurliman
6492640e72
* Change the OnQueueEmpty signature to send the flags of the queues that are empty instead of firing once per empty queue
...
* Change the OnQueueEmpty firing to use a minimum time until next fire instead of a sleep
* Set OutgoingPacket.TickCount = 0 earlier to avoid extra resends when things are running slowly (inside a profiler, for example)
2009-10-21 18:03:41 -07:00
John Hurliman
4e04f6b3a5
* Clarified what FireQueueEmpty is doing with a MIN_CALLBACK_MS constant and upped it to 30ms
...
* Removed the unused PacketSent() function
* Switched UnackedPacketCollection from a SortedDictionary to a Dictionary now that the sorting is no longer needed. Big performance improvement for ResendUnacked()
2009-10-21 17:02:55 -07:00
John Hurliman
2b39ff0a39
Merged master into prioritization
2009-10-21 16:24:17 -07:00
John Hurliman
b06f258319
* FireQueueEmpty now checks if a measurable amount of time has passed, and if not it sleeps for a small amount of time. This throttles OnQueueEmpty calls where there is no callback or the callback is doing very little work
...
* Changed HandleQueueEmpty()'s Monitor.TryEnter() calls to locks. We want to take our time in this function and do all the work necessary, since returning too fast will induce a sleep anyways
2009-10-21 16:21:08 -07:00
John Hurliman
2752a3525c
* Changed the timing calculations for sending resends/acks/pings from per-client back to per-scene
...
* Testing a fix from Jim to make the cpu usage fix cleaner
2009-10-21 15:22:23 -07:00
John Hurliman
62f1bfd136
Testing out a hack to identify the source of the high cpu usage
2009-10-21 14:25:22 -07:00
John Hurliman
bb4da417ad
Removing the Sleep(0) call from the OutgoingPacketHandler
2009-10-21 14:03:49 -07:00
John Hurliman
7ee422a344
* Handle UseCircuitCode packets asynchronously. Adding an agent to a scene can take several seconds, and was blocking up packet handling in the meantime
...
* Clamp retransmission timeout values between three and 10 seconds
* Log outgoing time for a packet right after it is sent instead of well before
* Loop through the entire UnackedPacketCollection when looking for expired packets
2009-10-21 13:47:16 -07:00
Melanie
d88bb83136
Fix llParticleSystem to accept LSL variables and LSL constants in place
...
of the named constants for the rule selector.
Information provided by Snowcrash
2009-10-21 20:47:24 +01:00
John Hurliman
9178537e94
* Replaced the UnackedPacketCollection with a lockless implementation. The tiny amount of time spent in the locks turned into a lot of time when the rest of the LLUDP implementation went lockless
...
* Changed the timer tracking numbers for each client to not have "memory". It will no longer queue up calls to functions like ResendUnacked
* Reverted Jim's WaitHandle code. Although it was technically more correct, it exhibited the exact same behavior as the old code but spent more cycles. The 20ms has been replaced with the minimum amount of time before a token bucket could receive a drip, and an else { sleep(0); } was added to make sure the outgoing packet handler always yields at least a minimum amount
2009-10-21 11:59:48 -07:00
Melanie
8dd15fd5a5
Patch by mcortez: Remove lock from scene presence updating in groups module
2009-10-21 18:45:37 +01:00
John Hurliman
c0c845aea4
Fixed the way OnQueueEmpty is called to prevent simultaneous calls for the same category
2009-10-21 01:07:40 -07:00
John Hurliman
cde47c2b3d
Committing Jim's optimization to replace the 20ms sleep in outgoing packet handling with an interruptible wait handle
2009-10-21 00:18:35 -07:00
John Hurliman
45dc4e0a54
* Added a sanity check to GetScriptAssemblies() and GetScriptStates() for the case where no scripting engine is enabled
...
* Added TokenBucket.cs to OpenSim, with some fixes for setting a more accurate MaxBurst value and getting a more accurate Content value (by Drip()ing each get)
2009-10-20 18:19:17 -07:00
John Hurliman
1833c69568
* Removed the unused m_agentUpdates collection and some extra work that was being done for AgentUpdate packets
...
* Start LLUDPClients unpaused (this variable is not being used yet)
2009-10-20 15:19:19 -07:00
John Hurliman
d38f33736c
* Removed the throttle speed optimizations to see if it brings stability back
...
* Changed the outgoing packet handler to use a real function instead of a closure and to track time on a per-client basis instead of a global basis
2009-10-20 14:41:20 -07:00
John Hurliman
d1ab11dc2a
Added try/catches in the outgoing packet handler to match the one in the incoming packet handler
2009-10-20 12:43:09 -07:00
John Hurliman
99abe885c8
Fixing position/rotation/collisionplane in ObjectUpdate packets for avatars
2009-10-20 12:30:34 -07:00
John Hurliman
edd393ff30
Reverting the deletion of files related to texture sending until we figure out exactly what is and isn't needed
2009-10-20 11:58:23 -07:00
John Hurliman
8151190a45
* Removing ODEPrim and ODECharacter GetHashCode() overrides since they were based on something that could change
...
* Tweaked a few other GetHashCode() overrides to bring them in line with MSDN recommendations
2009-10-20 10:56:15 -07:00
John Hurliman
9a5e7222ce
* Removing cruft left over from the conversion to the new texture sending and UDP code
...
* Changing the cache modules to only initialize the caches if they are actually enabled. Should save a bit of resources from unused cache systems
2009-10-20 10:33:23 -07:00
Melanie
26863c04a5
Change "config save" to "config save <filename>", which is mandatory.
...
File name is enforced to NOT be OpenSim.ini
2009-10-20 14:02:11 +01:00
Snowcrash
182693628c
Fix for index error in llList2String
2009-10-20 02:09:24 -07:00
John Hurliman
0a6ea33ac8
* Optimized sending of terrain data
...
* Send terrain data in a spiral pattern instead of a typewriter pattern (placeholder until terrain data becomes part of the interest list management)
* Added a debug line when resent packets are being sent
2009-10-19 18:50:31 -07:00
John Hurliman
fdce1be3db
* Removed OpenSim.Data.NHibernate
...
* Replaced calls to ThreadPool.QueueUserWorkItem() with ThreadPool.UnsafeQueueUserWorkItem() since OpenSim does not use Code Access Security sandboxing
2009-10-19 16:52:27 -07:00
John Hurliman
72078195c2
Merge branch 'prioritization' of ssh://opensimulator.org/var/git/opensim into prioritization
2009-10-19 15:20:38 -07:00
John Hurliman
bd03cbd815
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into prioritization
2009-10-19 15:19:37 -07:00
John Hurliman
142008121e
* Change Util.FireAndForget to use ThreadPool.UnsafeQueueUserWorkItem(). This avoids .NET remoting and a managed->unmanaged->managed jump. Overall, a night and day performance difference
...
* Initialize the LLClientView prim full update queue to the number of prims in the scene for a big performance boost
* Reordered some comparisons on hot code paths for a minor speed boost
* Removed an unnecessary call to the expensive DateTime.Now function (if you *have* to get the current time as opposed to Environment.TickCount, always use DateTime.UtcNow)
* Don't fire the queue empty callback for the Resend category
* Run the outgoing packet handler thread loop for each client synchronously. It seems like more time was being spent doing the execution asynchronously, and it made deadlocks very difficult to track down
* Rewrote some expensive math in LandObject.cs
* Optimized EntityManager to only lock on operations that need locking, and use TryGetValue() where possible
* Only update the attachment database when an object is attached or detached
* Other small misc. performance improvements
2009-10-19 15:19:09 -07:00
Diva Canto
590d91e572
Forgot {} on last commit.
2009-10-19 15:03:55 -07:00
Diva Canto
2dd8a6beac
More instrumentation in physics.
2009-10-19 14:48:17 -07:00
Melanie
ffd59868f5
Merge branch 'master' into vehicles
2009-10-19 21:58:51 +01:00
John Hurliman
6d04a213d6
Merge branch 'prioritization' of ssh://opensimulator.org/var/git/opensim into prioritization
2009-10-18 20:25:16 -07:00
John Hurliman
233e16b99c
* Rewrote the methods that build ObjectUpdate and ImprovedTerseObjectUpdate packets to fill in the data more accurately and avoid allocating memory that is immediately thrown away
...
* Changed the Send*Data structs in IClientAPI to use public readonly members instead of private members and getters
* Made Parallel.ProcessorCount public
* Started switching over packet building methods in LLClientView to use Util.StringToBytes[256/1024]() instead of Utils.StringToBytes()
* More cleanup of the ScenePresences vs. ClientManager nightmare
* ScenePresence.HandleAgentUpdate() will now time out and drop incoming AgentUpdate packets after three seconds. This fixes a deadlock on m_AgentUpdates that was blocking up the LLUDP server
2009-10-18 20:24:20 -07:00
Jeff Ames
0d29614ca1
Formatting cleanup.
2009-10-19 08:58:03 +09:00
Diva Canto
baed19d068
A bit of instrumentation to figure out what's going on with physics actors.
2009-10-18 16:48:44 -07:00
John Hurliman
1dbbf6edb6
* Process the avatar terse update priority queue as soon as an update for our own avatar is ready to send
...
* Reduce the scope of the locks when processing the update queues
* Reuse the ImprovedTerseObjectUpdate.RegionData block
2009-10-18 03:15:36 -07:00
John Hurliman
2f2eeb6731
Zero out PrimitiveBaseShape.SculptData after the JPEG2000 data has been decoded to allow garbage collection on it
2009-10-18 02:53:36 -07:00
John Hurliman
b4526a5a6d
* Big performance increase in loading prims from the region database with MySQL
...
* Handle the AgentFOV packet
* Bypass queuing and throttles for ping checks to make ping times more closely match network latency
* Only track reliable bytes in LLUDPCLient.BytesSinceLastACK
2009-10-18 02:00:42 -07:00
John Hurliman
a3f93cffb4
* Committing Nini.dll with the patch from #3773 applied
...
* Fixing a log message typo
2009-10-17 22:06:36 -07:00
John Hurliman
fdb2a75ad3
Committing the second part of Jim Greensky @ Intel Lab's patch, re-prioritizing updates
2009-10-17 18:01:22 -07:00
John Hurliman
e28ac42486
Wrapped the contents of the IncomingPacketHandler loop in a try/catch statement
2009-10-17 17:19:18 -07:00
Melanie
66923983a7
Add support for display of the script compilation errors in the script editor's
...
debug pane. This will still use DEBUG_CHANNEL currently, since it is not
fully implemented. This also removes the "Compiled successfully" message
that pops up in the viewer.
2009-10-17 22:36:44 +01:00
Melanie
cdcbd22ba8
Merge branch 'master' into prioritization
2009-10-17 14:51:17 +01:00
Melanie
c7da13eb23
Adds SendAvatarInterestsUpdate to IClientAPI
...
Thank you, Fly-Man
2009-10-17 14:50:21 +01:00
John Hurliman
9c21d672d4
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into prioritization
2009-10-16 18:32:12 -07:00
Teravus Ovares (Dan Olivares)
01051daaab
* One more tweak to inform the user that they may not be able to move until relogging.
2009-10-16 21:24:08 -04:00
Teravus Ovares (Dan Olivares)
d49424c421
* After seeing it repeat over and over again.. again, We won't inform the scenepresence that there was an issue so it doesn't try to make the capsule again. I have a feeling that this is some kind of object leak. We'll know for sure.. soon.
2009-10-16 21:20:55 -04:00
John Hurliman
c81378dc22
Changing avatar movement updates to the Task throttle category until we get finer grained prioritization of avatars vs. prims
2009-10-16 17:33:41 -07:00
John Hurliman
7d6d94a7b5
More debugging of RegionCombinerModule.RegionLoaded() by making RegionLoaded() a two line function
2009-10-16 16:49:13 -07:00
John Hurliman
31dfe87570
Prevent oversized packets from crashing the LLUDP server. It will now print a friendly error message and drop the packet
2009-10-16 14:26:58 -07:00
John Hurliman
1bd9202f24
* Simplified the prioritization packet creation code to reduce CPU usage and increase throughput. Apologies to Jim for hacking on your code while it's only halfway done, I'll take responsibility for the manual merge
...
* Changed LLUDP to use its own MTU value of 1400 instead of the 1200 value pulled from the currently shipped libomv
2009-10-16 14:17:13 -07:00
John Hurliman
b813058635
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into prioritization
2009-10-16 13:29:12 -07:00
Teravus Ovares (Dan Olivares)
f5964347bd
* fix previous commit
2009-10-16 16:25:48 -04:00
John Hurliman
e776dfb1d7
* Changing the "clean dropped attachments" MySQL command to a using statement inside a try/catch. This statement times out for me very frequently
...
* More verbose logging when zerocoding fails on an outbound packet
2009-10-16 13:22:45 -07:00
Teravus Ovares (Dan Olivares)
ac31cb89d5
* Ensure that at least 20 frames run before letting avatar in.
2009-10-16 16:22:10 -04:00
John Hurliman
eee1318597
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into prioritization
2009-10-16 12:42:53 -07:00
John Hurliman
a18489dc9b
* Change appearance packets from State to Task. This will hopefully fix the cloud issues
...
* Changed the throttling logic to obey the requested client bandwidth limit but also share bandwidth between some of the categories to improve throughput on high prim or heavily trafficked regions
2009-10-16 12:20:01 -07:00
Teravus Ovares (Dan Olivares)
0079d0a7c4
* One more attempt at the NullRef In The OdePlugin. This might fix it, but it will definitely get us closer to the root cause.
2009-10-16 14:30:55 -04:00
John Hurliman
5a4fda9dc3
Updating OpenSim.ini.example with the section required to enable a useful prioritization scheme
2009-10-16 11:09:18 -07:00
John Hurliman
06354a093d
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into prioritization
2009-10-16 10:09:19 -07:00
Melanie
5de657cf5d
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-10-16 13:29:07 +01:00
Melanie
0487092d15
Thank you, Fly man, for plumbing the AvatarInterestsUpdate packet
2009-10-16 13:28:40 +01:00
Teravus Ovares (Dan Olivares)
67afa9e633
* Make sure to unregister the OutOfBounds Physics event in RemoveFromPhysicalScene or we'll be leaking
2009-10-16 03:52:57 -04:00
Teravus Ovares (Dan Olivares)
1f28c6208b
* Added a message for when the null reference exception occurs to make debugging easier. Without this, from the user's perspective.. they cannot move, fly or otherwise do anything physical and without a message on the console, it would be hard to tell that this is what is occurring.
2009-10-16 03:40:44 -04:00
Teravus Ovares (Dan Olivares)
ac2f98b846
* A hacky attempt at resolving mantis #4260 . I think ODE was unable to allocate memory, and therefore the unmanaged wrapper call fails or worse.. there's some unmanaged resource accounting in the ODEPlugin for ODECharacter that isn't being done properly now.
...
* The broken avatar may not be able to move, but it won't stop simulate from pressing on now. And, the simulator will try to destroy the avatar's physics proxy and recreate it again... but if this is what I think it is, it may not help.
2009-10-16 03:32:30 -04:00
John Hurliman
4b75353cbf
Object update prioritization by Jim Greensky of Intel Labs, part one. This implements a simple distance prioritizer based on initial agent positions. Re-prioritizing and more advanced priority algorithms will follow soon
2009-10-15 16:35:27 -07:00
jjgreens
df2d5a460f
Replaced the update lists with a priority queue implementation in LLClientView
...
Replaced the update lists with a priority queue implementation in LLClientView.
The priority queues are based on the MinHeap implementation also included in
this commit within the OpneSim.Framework namespace. Initially setup to exactly
mimic the behavior beofre the change which was a first come first serve queue.
2009-10-15 15:52:53 -07:00
John Hurliman
d44b50ee46
* Removed some of the redundant broadcast functions in Scene and SceneGraph so it is clear who/what the broadcast is going to each time
...
* Removed two redundant parameters from SceneObjectPart
* Changed some code in terse update sending that was meant to work with references to work with value types (since Vector3 and Quaternion are structs)
* Committing a preview of a new method for sending object updates efficiently (all commented out for now)
2009-10-15 15:25:02 -07:00
Melanie
642084c2a9
Merge branch 'master' into vehicles
2009-10-15 21:16:05 +01:00
Melanie
6deef7d0f3
Merge branch 'master' into vehicles
2009-10-15 21:14:13 +01:00
Teravus Ovares (Dan Olivares)
6d3d985511
* Request from lkalif to have the Sim send a coarselocationupdate for each avatar in the sim, including yourself.
...
* Apparently the LLClientView should have been doing this previously.. Also fixed the 'You' on the index block.. so the client doesn't display an extra green dot.
* Thanks lkalif for bringing it to our attention.
2009-10-15 02:01:29 -04:00
John Hurliman
b1c93cd3b1
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-10-14 19:24:09 -07:00
John Hurliman
4790f8576c
* Replaced (possibly broken?) math for calculating the unix timestamp in MySQLAssetData with Utils.DateTimeToUnixTime()
...
* Disabled UpdateAccessTime() function since it was only writing zeros anyways. This gave me a significant performance improvement for startup times and avatar logins in standalone mode
* Load attachments asynchronously so avatars with lots of attachments don't have to race the timeout clock to login
2009-10-14 19:23:44 -07:00
Diva Canto
cd321ec4d2
Moved some code up to AddRegion, so that other modules that depend on it don't crash. This code needs to be removed as soon as user services is refactored.
2009-10-14 19:15:11 -07:00
John Hurliman
fe4109a5b0
Merge branch 'htb-throttle' of ssh://opensimulator.org/var/git/opensim into htb-throttle
2009-10-14 16:48:42 -07:00
John Hurliman
06990b074c
Allow the LLUDP server to run in either synchronous or asynchronous mode with a config setting, defaulting to synchronous mode
2009-10-14 16:48:27 -07:00
John Hurliman
82012ec4e3
* Clean up the SetThrottle() code and add a maxBurstRate parameter to allow more tweaking in the future
2009-10-14 16:21:48 -07:00
Melanie
6bdd6ae0a0
Merge branch 'master' into htb-throttle
2009-10-14 23:31:38 +01:00
John Hurliman
1e9e9df0b3
* Switched to a plain lock for the ClientManager collections and protected the TryGetValues with try/catch instead of a lock
...
* Added ClientManager.ForEachSync() for operations that need to run synchronously, such as "show connections"
2009-10-14 14:25:58 -07:00
John Hurliman
25878d6828
* Added the "show connections" command to print out all of the currently tracked IClientAPIs
2009-10-14 13:00:42 -07:00
John Hurliman
c033477d2f
* Read scene_throttle_bps from the config file and use it
...
* Minor formatting cleanup
2009-10-14 11:52:48 -07:00
John Hurliman
4b5a2f8c02
Merge branch 'htb-throttle' of ssh://opensimulator.org/var/git/opensim into htb-throttle
2009-10-14 11:44:17 -07:00
John Hurliman
0d2e6463d7
* Minimized the number of times textures are pulled off the priority queue
...
* OnQueueEmpty is still called async, but will not be called for a given category if the previous callback for that category is still running. This is the most balanced behavior I could find, and seems to work well
* Added support for the old [ClientStack.LindenUDP] settings (including setting the receive buffer size) and added the new token bucket and global throttle settings
* Added the AssetLoaderEnabled config variable to optionally disable loading assets from XML every startup. This gives a dramatic improvement in startup times for those who don't need the functionality every startup
2009-10-14 11:43:31 -07:00
Diva Canto
bea13e3709
Setting changeY in border crossing.
2009-10-14 11:01:46 -07:00
Melanie
3795cface2
Enable LSL dialogs to display group names properly
2009-10-14 17:39:38 +01:00
Melanie
d83ace0d3b
Merge branch 'master' into htb-throttle
2009-10-14 05:10:43 +01:00
John Hurliman
4135b0c4dc
* Split Task category into Task and State
...
* Crude prioritization hack
2009-10-13 19:45:38 -07:00
Dan Lake
5976ac16b0
Optimized heartbeat by calling Update() only on updated objects.
...
During the heartbeat loop, Update() is called on every SceneObjectGroup which in turn checks if any SceneObjectPart has changed. For large regions (> 100k prims) this work consumes 20-30% of a CPU even though there are only a few objects updating each frame.
There is only one other reason to check every object on every frame, and that is the case where a script has registered the object with an "at target" listener. We can easily track when an object is registered or unregistered with an AtTarget, so this is not a reason to check every object every heartbeat.
In the attached patch, I have added a dictionary to the scene which tracks the objects which have At Targets. Each heartbeat, the AtTarget() function will be called on every object registered with a listener for that event. Also, I added a dictionary to SceneGraph which stores references to objects which have been queued for updates during the heartbeat. At each heartbeat, Update() is called only on the objects which have generated updates during that beat.
2009-10-13 19:32:59 -07:00
Teravus Ovares (Dan Olivares)
31a61bbeec
* Fixes some prim crossings on megaregions with regions beyond the 512m mark
...
* There's a slight chance that this could cause a problem with regular prim crossings.. but hopefully not. Revert if it does.
2009-10-13 22:03:53 -04:00
John Hurliman
e8c1e69a0d
* Copied LocklessQueue.cs into OpenSim.Framework and added the .Count property and .Clear() method
...
* Changed the way the QueueEmpty callback is fired. It will be fired asynchronously as soon as an empty queue is detected (this can happen immediately following a dequeue), and will not be fired again until at least one packet is dequeued from that queue. This will give callbacks advanced notice of an empty queue and prevent callbacks from stacking up while the queue is empty
* Added LLUDPClient.IsConnected checks in several places to prevent unwanted network activity after a client disconnects
* Prevent LLClientView.Close() from being called twice every disconnect
* Removed the packet resend limit and improved the client timeout check
2009-10-13 18:56:54 -07:00
John Hurliman
dc11643c00
* Consolidated adding / removing ClientManager IClientAPIs to two places in Scene
...
* Added some missing implementations of IClientAPI.RemoteEndPoint
* Added a ClientManager.Remove(UUID) overload
* Removed a reference to a missing project from prebuild.xml
2009-10-13 17:33:45 -07:00
John Hurliman
395a8680c3
* Fixed a bug where clients were being added to ClientManager twice
...
* Changed the ClientManager interface to reduce potential errors with duplicate or mismatched keys
* Added IClientAPI.RemoteEndPoint, which can (hopefully) eventually replace IClientAPI.CircuitCode
* Changed the order of operations during client shutdown
2009-10-13 16:53:19 -07:00
John Hurliman
23a334b9f5
* Rewrote ClientManager to remove Lindenisms from OpenSim core, improve performance by removing locks, and replace LLUDPClientCollection
...
* Removed the confusing (and LL-specific) shutdowncircuit parameter from IClientAPI.Close()
* Updated the LLUDP code to only use ClientManager instead of trying to synchronize ClientManager and m_clients
* Remove clients asynchronously since it is a very slow operation (including a 2000ms sleep)
2009-10-13 14:50:03 -07:00
John Hurliman
c893761319
* Unregister event handlers in LLUDPServer when a client logs out and disconnects
...
* Move ViewerEffect handling to Scene.PacketHandlers
* Removing the unused CloseAllAgents function
* Trimming ClientManager down. This class needs to be reworked to keep LLUDP circuit codes from intruding into the abstract OpenSim core code
2009-10-13 12:50:59 -07:00
John Hurliman
f55b282078
Avoid checking m_clients collection twice when a UseCircuitCode packet is received
2009-10-13 11:28:08 -07:00
John Hurliman
82ace481c9
* Broke the circular reference between LLClientView and LLUDPClient. This should speed up garbage collection on the large LLClientView objects, and also prevents handling packets for disconnected clients
...
* Renamed local LLUDPClient variables to udpClient to avoid naming confusion between LLUDPClient and LLClientView
2009-10-13 11:14:45 -07:00
John Hurliman
3828b3c0e8
* Eliminated unnecessary parameters from LLUDPServer.SendPacketData()
...
* Changed PrimMesher's Quat.Identity to return <0,0,0,1> instead of <0,0,0,1.1>
2009-10-13 10:38:35 -07:00
Diva Canto
e3d5beebfb
Better handling of missing assets.
2009-10-13 06:39:11 -07:00
Diva Canto
f3d2192cd4
Better handling of missing assets.
2009-10-12 18:30:06 -07:00
Diva Canto
63ed605eba
Stop the recurring texture requests for textures that truly don't exist.
2009-10-12 17:36:13 -07:00
Diva Canto
0cfbdf3894
Added this one file for the previous commit to work.
2009-10-12 17:01:03 -07:00
Diva Canto
c0beeb929e
* Fixes http://opensimulator.org/mantis/view.php?id=4225
...
* Fixes http://opensimulator.org/mantis/view.php?id=3959
* Allows for viewing inventory textures outside home grid
2009-10-12 17:00:01 -07:00
Melanie
bf68dad643
0004246: [Patch] FlotsamAssetCache deep scan & cache
...
Thank you, mcortez.
2009-10-12 23:21:32 +01:00
Melanie
170d2c4660
Merge branch 'master' into htb-throttle
2009-10-12 15:25:42 +01:00
Melanie
70553a979e
Merge branch 'master' into vehicles
2009-10-12 15:12:15 +01:00
Melanie
50f509d600
Merge branch 'master' into vehicles
2009-10-12 15:11:01 +01:00
unknown
fe0940a22f
Optimize ODE mesh by removing sleep. On a region with 100,000 prims and ODE enabled, the first Heartbeat loop call to UpdatePhysics takes 20 minutes. 75% of that time is spent in this sleep. (100k prims * 10ms)
2009-10-12 01:53:57 -07:00
Diva Canto
ef6aa444bf
Fixed tree crossing. This will alleviate
...
http://opensimulator.org/mantis/view.php?id=4163
2009-10-11 13:46:19 -07:00
Diva Canto
36dcfd2b80
* Changed logic of enabling LLProxyLoginModule to follow the new style -- true/false on the name, rather than gridmode=true.
...
* Better error messages on Add/Remove clients.
2009-10-11 10:23:16 -07:00
dahlia
7b4183d7a0
sync PrimMesher with r46
2009-10-11 02:12:17 -07:00
dahlia
41b27ef064
disambiguate System.Path (preparation for new PrimMesher)
2009-10-11 01:30:24 -07:00
Melanie
5e6e31591c
Merge branch 'master' into htb-throttle
...
This is hand-edited to not let master changes creep into here and may cause a
somewhat rocky merge to master later.
2009-10-10 10:26:47 +01:00
Melanie
ef03b2d936
Fix selling objects
2009-10-10 10:18:16 +01:00
Teravus Ovares (Dan Olivares)
8271528b1f
* comment out the velocity test, using updates every 500 ms as set in ScenePresence.AddToPhysicalScene.
...
* This causes time to be counted in ODECharacter and, when a collision occurs, the physics scene will report the collisions only if the the difference of last time it reported the collisions from now was more then the set ms.
* This is cool because the time accrues while collisions are not taking place and when they do take place again, you get an immediate update.
2009-10-10 04:01:36 -04:00
Teravus Ovares (Dan Olivares)
3f0dc88c46
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-10-10 03:54:10 -04:00
Teravus Ovares (Dan Olivares)
4ffe936ba8
* Make ODECharacter respect the scene's requested collision update time
...
* Set the Scene collision update time to 500 ms
2009-10-10 03:53:53 -04:00
dahlia
d7654c3bda
Adjust velocity threshold for triggering flailing. Thanks to KittoFlora for researching this.
2009-10-10 00:26:43 -07:00
Teravus Ovares (Dan Olivares)
5f94889044
* Fix incorrect math on the Velocity check in PhysicsCollisionUpdate. This may reduce avatar flailing.
2009-10-10 01:49:06 -04:00
Teravus Ovares (Dan Olivares)
798bce592f
* Move the 'On Collision Update Movement Animation' routine to above the 'm_invulnerable' test. It doesn't fix anything but it should really be there anyway.
2009-10-10 01:16:34 -04:00
Diva Canto
3f78ff6ee0
Slight variation on the locking scheme: now locking always, except the ForEach, which gets a copy of the Array. I think the ForEach was the big gorilla.
2009-10-09 19:16:03 -07:00
John Hurliman
29543514e6
* Changed the "Packet exceeded buffer size" log line to debug and include the packet type. This message is normal, but could be evidence of a message marked for zerocoding that probably shouldn't be
...
* Changing OpenSimUDPBase back to high concurrency. High concurrency mode seems to make other problems happen faster, so it's helpful for working out other bugs and will probably
2009-10-09 16:33:50 -07:00
Diva Canto
c8cc14a98b
This is to *try* to avoid the exception we are seeing repeatedly:
...
#13:53:03 - [LLUDPSERVER]: Packet exceeded buffer size during zerocoding. Removing MSG_ZEROCODED flag
#13:53:03 - [Scene]: Failed with exception System.ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.
# at System.Buffer.BlockCopy (System.Array src, Int32 srcOffset, System.Array dst, Int32 dstOffset, Int32 count) [0x000b7] in /home/grid/install/mono24/mono-2.4.2.3/mcs/class/corlib/System/Buffer.cs:116
# at OpenSim.Region.ClientStack.LindenUDP.LLUDPServer.SendPacketData (OpenSim.Region.ClientStack.LindenUDP.LLUDPClient client, System.Byte[] data, Int32 dataLength, PacketType type, Boolean doZerocode, ThrottleOutPacketType category) [0x00060] in /home/grid/PLAZA/wrightplaza/opensim/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs:290
# at OpenSim.Region.ClientStack.LindenUDP.LLUDPServer.SendPacket (OpenSim.Region.ClientStack.LindenUDP.LLUDPClient client, OpenMetaverse.Packets.Packet packet, ThrottleOutPacketType category, Boolean allowSplitting) [0x00077] in /home/grid/PLAZA/wrightplaza/opensim/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs:265
# at OpenSim.Region.ClientStack.LindenUDP.LLClientView.OutPacket (OpenMetaverse.Packets.Packet packet, ThrottleOutPacketType throttlePacketType) [0x00000] in /home/grid/PLAZA/wrightplaza/opensim/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs:5244
# at OpenSim.Region.ClientStack.LindenUDP.LLClientView.SendCoarseLocationUpdate (System.Collections.Generic.List`1 users, System.Collections.Generic.List`1 CoarseLocations) [0x0012a] in /home/grid/PLAZA/wrightplaza/opensim/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs:3424
# at OpenSim.Region.Framework.Scenes.ScenePresence.SendCoarseLocationsDefault (UUID sceneId, OpenSim.Region.Framework.Scenes.ScenePresence p) [0x000fa] in /home/grid/PLAZA/wrightplaza/opensim/OpenSim/Region/Framework/Scenes/ScenePresence.cs:2536
# at OpenSim.Region.Framework.Scenes.ScenePresence.SendCoarseLocations () [0x0000d] in /home/grid/PLAZA/wrightplaza/opensim/OpenSim/Region/Framework/Scenes/ScenePresence.cs:2491
# at OpenSim.Region.Framework.Scenes.ScenePresence.Update () [0x00011] in /home/grid/PLAZA/wrightplaza/opensim/OpenSim/Region/Framework/Scenes/ScenePresence.cs:2404
# at OpenSim.Region.Framework.Scenes.SceneGraph.UpdateEntities () [0x0001b] in /home/grid/PLAZA/wrightplaza/opensim/OpenSim/Region/Framework/Scenes/SceneGraph.cs:164
# at OpenSim.Region.Framework.Scenes.Scene.Update () [0x000dc] in /home/grid/PLAZA/wrightplaza/opensim/OpenSim/Region/Framework/Scenes/Scene.cs:1031 On Region: Wright Plaza
2009-10-09 14:25:01 -07:00
Diva Canto
8231cb2231
Putting this to exactly what it was yesterday around this time, so we can do the 100-ppl load test in WP. We need to carefully play with this code in order to understand all the problems.
2009-10-09 11:32:53 -07:00
Melanie
527c94825b
Merge branch 'master' into htb-throttle
2009-10-09 17:23:18 +01:00
Justin Clark-Casey (justincc)
f1f239758f
Apply http://opensimulator.org/mantis/view.php?id=4066
...
If XEngine compile fails, show script name in error message in-world as well as the exception itself
Thanks Luca Peck
2009-10-09 17:43:25 +01:00
Justin Clark-Casey (justincc)
b6678faf34
* Apply http://opensimulator.org/mantis/view.php?id=3933
...
* Remove client servers when regions are closed or removed
* Thanks randomhuman!
2009-10-09 17:28:16 +01:00
Melanie
23586b69a1
Slow down the packet receiving code again after new reports of thread storms.
2009-10-09 12:17:55 +01:00
John Hurliman
77e48a6725
Change the backup thread to run on a BackgroundWorker instead of a Thread. I don't have an explanation, but this seems to stop a slow but steady memory leak I was experiencing
2009-10-09 02:49:55 -07:00
John Hurliman
76a5cae0b4
Forgot to initialize m_writeLock
2009-10-09 02:18:25 -07:00
John Hurliman
a3e31cdeaf
Added more debugging output to the "unrecognized source" warning
2009-10-09 02:13:21 -07:00
John Hurliman
494a1e922d
Calling .Close() on AutoResetEvent and ManualResetEvent (those classes contain an unmanaged resource that will not automatically be disposed when they are GCed), and commenting out some ManualResetEvents that are not in use yet
2009-10-09 02:10:53 -07:00
John Hurliman
a5b9971fd7
* Added a lock object for the write functions in LLUDPClientCollection (immutable != concurrent write safety)
...
* Allow the UDP server to bind to a user-specified port again
* Updated to a newer version of OpenSimUDPBase that streamlines the code even more. This also reintroduces the highly concurrent packet handling which needs more testing
2009-10-09 01:53:06 -07:00
John Hurliman
56a27c37d3
Simplified LLUDPClientCollection from three collections down to one. This will prevent any potential problems from inconsistency between the internal collections
2009-10-08 21:51:53 -07:00
John Hurliman
3a04d706c9
Fear the lockless LLUDP implementation!
2009-10-08 17:34:51 -07:00
Diva Canto
51ea39199b
Putting the lock back in TryGetValue.
2009-10-08 15:42:08 -07:00
Melanie
a0dd9f4bb4
Fork UDPBase from libOMV into opensim
2009-10-08 22:25:14 +01:00
Diva Canto
fc41f2e461
Added guards against the exception reported:
...
#2009-10-08 12:58:34,462 ERROR - OpenSim.Application [APPLICATION]:
#APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs
#
#Exception: System.Exception: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
# at OpenSim.Region.ClientStack.LindenUDP.J2KImage.SendFirstPacket(LLClientView client) in c:\Opensim\OpenSim\Region\ClientStack\LindenUDP\J2KImage.cs:line 230
# at OpenSim.Region.ClientStack.LindenUDP.J2KImage.SendPackets(LLClientView client, Int32 maxpack) in c:\Opensim\OpenSim\Region\ClientStack\LindenUDP\J2KImage.cs:line 84
2009-10-08 07:55:06 -07:00
Melanie
f6b8bac0fa
Merge branch 'master' into vehicles
2009-10-08 10:32:15 +01:00
Diva Canto
68961ec092
One last attempt at tunning the locking/no locking behaviour. The previous one was too lax and made the important login packets fail.
2009-10-07 20:36:24 -07:00
Diva Canto
dd80380df5
Another go at the deadlock: not locking TryGetValue, and just catch/ignore exceptions.
2009-10-07 19:45:57 -07:00
Diva Canto
c71b3e730d
Changed the locking mechanism, because the existing one is causing deadlocks to occur.
2009-10-07 18:54:08 -07:00
Melanie
d06c7d90a1
Correct a build break caused by an optimization in trunk
2009-10-07 06:56:00 +01:00
Melanie
a52f6c56b1
Merge branch 'master' into htb-throttle
2009-10-07 05:19:20 +01:00
Diva Canto
d344ca932d
A small change in FetchInventoryDescendantsCAPS.
2009-10-06 22:19:20 -07:00
Diva Canto
8c255b374a
Uncommented log message on CAPs FetchInventoryDescendants
2009-10-06 21:32:15 -07:00
Melanie
d33b6fef2b
replace LLClientView with proper version
2009-10-07 04:37:12 +01:00
Melanie
adc208e568
Replace LLClientView on the branch with master. UNCOMPILABLE!
2009-10-07 04:36:36 +01:00
Diva Canto
58c33fbc89
Uncommented log message on CAPs FetchInventoryDescendants
2009-10-07 04:32:35 +01:00
Diva Canto
b5b53dd3eb
* One more debug message on FetchInventoryDescendants
...
* More streams close on finally
2009-10-06 19:55:35 -07:00
Melanie
6f2d183107
Merge branch 'master' into htb-throttle
2009-10-07 03:01:11 +01:00
Melanie
89d23a1fa2
Revert "Rewrote parts of the code that were double-locking different objects. This is about half of the code base reviewed."
...
This reverts commit e992ca0255
.
2009-10-07 01:45:49 +01:00
Melanie
9618c196c2
Revert "Merging in diva's locking fixes"
...
This reverts commit 832cc68513
.
2009-10-07 01:44:36 +01:00
John Hurliman
312438f145
Commented noisy debugging about packet splitting
2009-10-06 15:55:39 -07:00
John Hurliman
832cc68513
Merging in diva's locking fixes
2009-10-06 15:54:00 -07:00
John Hurliman
7199976d48
Checks the number of ThreadPool and IOCP threads on startup and bumps up the numbers to .NET defaults of 500/1000 if need be
2009-10-06 15:51:56 -07:00
Diva Canto
e992ca0255
Rewrote parts of the code that were double-locking different objects. This is about half of the code base reviewed.
2009-10-06 15:39:53 -07:00
John Hurliman
9cb5db3621
Applying the real fix (thank you for tracking that MSDN doc down Melanie)
2009-10-06 15:08:09 -07:00
John Hurliman
74fe284a20
Trying Melanie's fix
2009-10-06 14:50:46 -07:00
John Hurliman
eb205ef4f0
Added a debug line for nebadon
2009-10-06 14:07:04 -07:00
John Hurliman
25676ac5cf
* Added a sanity check for Mono before trying to enumerate over an empty SortedDictionary
...
* Changed the order of a log line from DotNetEngine so you can tell whether or not it is actually loading
2009-10-06 13:39:10 -07:00
John Hurliman
fa6027aa09
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into htb-throttle
2009-10-06 12:15:24 -07:00
John Hurliman
61b5372153
* Added missing references to prebuild.xml and commented out the LindenUDP tests until a new test harness is written
...
* Clients are no longer disconnected when a packet handler crashes. We'll see how this works out in practice
* Added documentation and cleanup, getting ready for the first public push
* Deleted an old LLUDP file
2009-10-06 12:13:16 -07:00
Diva Canto
77b4abaa25
* Removed verbose debug message
...
* Restored HG inventory access which had been lost upon adding a 3rd argument to inventory and asset server handlers
* Fixed a stupid bug in the InventoryConnector which was making move items do things twice
2009-10-06 11:08:11 -07:00
John Hurliman
fb19d1ca0a
* Try/catch around EndInvoke() when Util.FireAndForget() returns to catch exceptions thrown in the async method
...
* Added packet stats handling to the new LLUDP implementation
* Attempting to avoid a race condition when creating a new LLUDPClient
2009-10-06 10:12:59 -07:00
Diva Canto
3db4d38645
Removing dependencies on System.Runtime.Remoting.
2009-10-06 09:54:15 -07:00
Melanie
0374f1b144
Merge branch 'master' into vehicles
2009-10-06 17:44:59 +01:00
Melanie
40d0018d66
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-10-06 15:29:46 +01:00
Diva Canto
d4d060b57d
Commenting the DEBUG code that I added yesterday, because it's causing mono to fail with
...
https://bugzilla.novell.com/show_bug.cgi?id=538854
2009-10-06 07:49:05 -07:00
Melanie
2a060136bd
Lock the heartbeat against multiple invocations. May prevent deadlocks and/or
...
runaway thread use
2009-10-06 15:28:38 +01:00
John Hurliman
2519f071f2
Fixing a few compile errors in the previous commit
2009-10-06 02:50:59 -07:00
John Hurliman
e7c877407f
* Continued work on the new LLUDP implementation. Appears to be functioning, although not everything is reimplemented yet
...
* Replaced logic in ThreadTracker with a call to System.Diagnostics that does the same thing
* Added Util.StringToBytes256() and Util.StringToBytes1024() to clamp output at byte[256] and byte[1024], respectively
* Fixed formatting for a MySQLAssetData error logging line
2009-10-06 02:38:00 -07:00
Diva Canto
0c46df973a
Correction on the DEBUG code.
2009-10-05 21:02:10 -07:00
Diva Canto
e36a54ee2a
#if DEBBUG code for monitoring the ThreadPool.
2009-10-05 20:39:23 -07:00
John Hurliman
7ddb6fbced
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into htb-throttle
2009-10-05 17:38:27 -07:00
John Hurliman
429a84f390
Beginning work on the new LLUDP implementation
2009-10-05 17:38:14 -07:00
Michael Cortez
f4726f4bcc
Make sure that keys exist in arrays before trying to access them.
2009-10-05 20:52:07 +01:00
Michael Cortez
90d1ef9e4a
Ensure the specified imSessionID exists in the DroppedSession collection before attempting to access it.
2009-10-05 20:52:01 +01:00
Michael Cortez
d4a6d9191a
Make sure that keys exist in arrays before trying to access them.
2009-10-05 20:47:00 +01:00
Michael Cortez
544675d0f0
Ensure the specified imSessionID exists in the DroppedSession collection before attempting to access it.
2009-10-05 20:47:00 +01:00
Diva Canto
05c1ec7faf
Changed the lock object, to see if this helps at all. Also switched the order of lock and try/catch in RemoveImageFromQueue.
2009-10-05 11:01:45 -07:00
Justin Clark-Casey (justincc)
2a19187e01
* minor: tweak asset cache logging levels downwards
2009-10-05 18:32:19 +01:00
Justin Clark-Casey (justincc)
10c4b88ccf
minor: remove mono compile warning
2009-10-05 18:20:37 +01:00
Diva Canto
ad81b453b3
GetRegionByPosition: use the cache, Luke.
2009-10-05 09:02:52 -07:00
Melanie
8d5a40aad0
Merge branch 'master' into vehicles
2009-10-05 12:58:52 +01:00
Dan Lake
6d52974c5f
Eliminate pinned Mesh data on managed heap by using IntPtrs to memory allocated on the unmanaged heap. This prevents fragmentation of the managed heap and the resulting stress on GC. A region with ~150,000 prims using ODE and Meshmerizer saw memory remain flat around 1.2GB as opposed to 1.5GB and continually growing due to pinned memory. This patch complements the unique mesh dictionary patch applied to Meshmerizer but is independent. The net effect is a 60-75% reduction in memory for our largest regions.
2009-10-05 12:45:41 +01:00
Melanie
dcdcbb314e
Fix build break
2009-10-05 11:08:02 +01:00
Melanie
0744292b47
Merge branch 'master' into vehicles
2009-10-05 10:17:23 +01:00
dahlia
5c593f3892
only cache mesh if meshing was successful
...
re-enable sculpt mesh caching
2009-10-04 20:01:44 -07:00
Diva Canto
362e94a022
* KeepAlive set to false in expect_user and log_off.
...
* Check for null SP in PermissionsModule.
2009-10-04 16:30:12 -07:00
Diva Canto
08d3650138
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-10-04 14:06:28 -07:00
Diva Canto
5b19d5a7b7
Reduced locking.
2009-10-04 14:05:58 -07:00
John Hurliman
29a4614529
* MySQL data tests now pass by fixing a bad fix for a bad cast on the asset Local member in MySQLAssetData
...
* First pass at applying the using(){} pattern to IDisposable objects. Always use the using pattern on IDisposable objects whenever possible, do not manually call .Close() or .Dispose() unless there is no other way to write the code. This pass mostly covers OpenSim.Data.MySQL, and should have no functional change (tests still pass)
2009-10-04 13:57:51 -07:00
Diva Canto
d93e0a0503
Guarding a line that is sometimes throwing a null pointer exception.
2009-10-04 10:30:21 -07:00
Diva Canto
fe9cca64de
Stream needs to be closed before the file can be moved...
2009-10-04 09:56:54 -07:00
Diva Canto
b803d5ab9b
Make sure to close the file streams on the FlotsamCache, even if something fails.
2009-10-04 09:44:04 -07:00
Diva Canto
366bfe17ae
Trying to avoid the null pointer exception in J2KImage, RunUpdate.
2009-10-04 07:41:10 -07:00
dahlia
95ebb7794c
flexible extrusion shape defaults to linear
2009-10-04 02:59:12 -07:00
dahlia
efebc809ce
disable physics actors for flexible prims
2009-10-04 02:54:36 -07:00
dahlia
0cbd9eee2f
Exclude sculpt proxies from mesh caching
2009-10-04 02:14:13 -07:00
Melanie
6878b26b0d
Merge branch 'diva-textures-osgrid'
2009-10-04 05:49:16 +01:00
Melanie
874e423141
Fix my build break
2009-10-03 15:37:31 +01:00
Melanie
b4d1cf0009
Small permissions tweak
2009-10-03 14:22:29 +01:00
John Hurliman
387e9f7a7f
* Creates Util.UTF8 and switches some references of Encoding.UTF8 to Util.UTF8 (not all references were switched since not all OpenSim libraries reference OpenSim.Framework)
...
* Shrinks the largest in-memory object, the LLRAW.HeightmapLookupValue struct (only used for exporting to LLRAW terrain files), to the minimum possible size. This seems to have the odd side effect of cutting the size of the two double[256,256] terrain objects in half. Possibly an alignment optimization?
2009-10-02 18:31:08 -07:00
John Hurliman
332d3eb1bb
* Removed code that is no longer used with Melanie's queue callback optimization
...
* Moved all priority queue access to helper functions to improve reliability and readability
* New version of CSJ2K.dll (from libomv source tree) that fixes a JPEG2000 comment decoding bug
2009-10-02 16:53:35 -07:00
Melanie
36c8d55827
Merge branch 'diva-textures-osgrid'
2009-10-03 00:03:09 +01:00
Melanie
73fa409318
Merge branch 'diva-textures-osgrid'
2009-10-02 23:25:17 +01:00
John Hurliman
bdc1345501
* Removed even more unnecessary state variables from J2KImage
...
* Fixed the incorrect "out of memory?" exception messages and replaced them with useful information
* Cleaned up J2KImage and LLImageManager to conform to coding conventions
2009-10-02 13:08:15 -07:00
John Hurliman
9b342d3e0d
* Changed the flush logic to drop packets in non-transactional streams, and to not fire any "put more data in the queues" callbacks
...
* Minor tweaks to code formatting to make the callback chain for packet queuing easier to follow
2009-10-02 12:00:42 -07:00
Melanie
9eccea5777
Merge branch 'master' into vehicles
2009-10-02 19:53:42 +01:00
Melanie
46955f4260
Merge branch 'master' into vehicles
2009-10-02 19:04:46 +01:00
Melanie
ce8974539e
Merge branch 'master' into diva-textures
2009-10-02 19:03:22 +01:00
Melanie
6def897556
Merge branch 'diva-textures-osgrid' into diva-textures
2009-10-02 19:02:38 +01:00
dr scofield (aka dirk husemann)
6c068eaf12
reducing script engine log spam
2009-10-02 12:38:13 +02:00
dr scofield (aka dirk husemann)
2107b67f1b
- cleaning up LandData/ILandObject capitalization issues
...
- adding LandDataSerializer to OAR mechanics
2009-10-02 11:31:30 +02:00
Melanie
31d8cec0f8
Merge branch 'master' into diva-textures
2009-10-02 08:23:38 +01:00
Melanie
3ba36bb4d8
Restore the missing image handling to the image manager. The missing
...
image packet crashes Hippo without a message.
2009-10-02 05:49:27 +01:00
Melanie
9a429610e2
Merge branch 'diva-textures-osgrid' into texturetest
2009-10-02 04:19:22 +01:00
Diva Canto
746dad7b74
Locking the priority queue to see if it gets pass that exception.
2009-10-01 20:32:22 -07:00
Melanie
18a744cac1
Change texture sending to be driven by the queue empty event from the
...
packet queue, rather than a timer
2009-10-02 04:04:14 +01:00
John Hurliman
54ff84050f
Removing console debug spew
2009-10-01 18:12:13 -07:00
Adam Frisby
a2cdbd784d
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-10-02 10:54:01 +10:00
John Hurliman
aaf8fbcef9
Merge branch 'diva-textures-osgrid' of ssh://opensimulator.org/var/git/opensim into diva-textures-osgrid
2009-10-01 17:53:28 -07:00
Adam Frisby
a030e3d61b
* Attempting to fix a issue with console commands & the estate module. Again.
2009-10-02 10:53:21 +10:00
John Hurliman
6e0c79b8fe
* Rewrote LLImageManager to use a real priority queue and hold minimal state
...
* Rewrote the logic in J2KImage.RunUpdate()
* Added a default avatar texture (I made it myself)
2009-10-01 17:42:13 -07:00
Diva Canto
24d5b57503
Added messages to assertions in the failing tests, so that we know which ones are failing.
2009-10-01 17:28:42 -07:00
Melanie
212e132e79
Revert "* Adding Scale to EntityBase * Fixing the incorrect initialization of EntityBase.Rotation * Removed SceneObjectGroup.GroupRotation and added overrides for Scale/Rotation/Velocity"
...
This reverts commit 39842eb4af
.
2009-10-02 00:47:01 +01:00
Melanie
4a1076128c
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-10-02 00:45:43 +01:00
Melanie
d6301db382
Revert "* Adding Scale to EntityBase * Fixing the incorrect initialization of EntityBase.Rotation * Removed SceneObjectGroup.GroupRotation and added overrides for Scale/Rotation/Velocity"
...
This reverts commit 39842eb4af
.
2009-10-02 00:45:31 +01:00
Melanie
54a912bb9c
Add a method to determine the count of packets in a throttle
2009-10-01 22:35:57 +01:00
Melanie
5e9da4daab
Add OnQueueEmpty event to the packet layers. No user functinality yet
2009-10-01 21:08:17 +01:00
Melanie
d0cc0985fa
Fix a merge conflict
2009-10-01 14:45:06 +01:00
Melanie
41ff39414b
Merge branch 'master' into vehicles
2009-10-01 14:08:15 +01:00
James J Greensky
44776fea72
Fixing LLClientView memory leak
...
Fixing LLClientView memory leak by disposing of all timers utilized
in LLClientView as they contain references to the callback method.
This required the use of the Terminate and Close infrastructure that
was already in place but was not being utilized.
2009-10-01 04:11:32 +01:00
Diva Canto
1eb6f99d19
Create j2k cache directory if it doesn't exist. The Meshmerizer needs it there.
2009-09-30 20:27:40 -07:00
James J Greensky
8e3dd64282
Removed an innefficent List.Contains lookup from UpdateQueue
...
Changed the underlying data structure used to detected duplicate
in OpenSim.Region.Framework.Scenes.Types.UpdateQueue from a
List to a Dictionary.
2009-09-30 17:53:32 -07:00
John Hurliman
cb26878f96
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-09-30 17:51:34 -07:00
Jeff Ames
606e831ff5
Formatting cleanup.
2009-10-01 09:38:36 +09:00
John Hurliman
5dfd2643df
* Change the signature of the agent set appearance callback to prevent unnecessary serialization/deserialization of TextureEntry objects and allow TextureEntry to be inspected for missing bakes
...
* Inspect incoming TextureEntry updates for bakes that do not exist on the simulator and request the missing textures
* Properly handle appearance updates that do not have a TextureEntry set
2009-09-30 15:53:03 -07:00
John Hurliman
acfe2d9f4e
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-09-30 15:28:23 -07:00
Melanie
041aaaa62c
Prevent null data being sent to the decoder
2009-09-30 22:21:22 +01:00
Melanie
400abed271
Add RebakeAvatarTexturesPacket to the client view
2009-09-30 21:33:20 +01:00
Melanie
67fefdb5a0
Remove predecode-j2k and it's assoaciated logic
2009-09-30 21:33:00 +01:00
Melanie
b0c0d6f9d1
Squelch the debug noise from diva's patch
2009-09-30 20:36:20 +01:00
John Hurliman
f56dc5fcda
Attempting to improve the robustness of texture decoding by always ignoring LayerInfo.End values and creating guessed default layer boundaries on failed decodes Changed a noisy J2K decode log message from Info to Debug Replacing openjpeg-dotnet decoding with managed CSJ2K decoding. Should be much more reliable, faster, and use less memory
...
* Re-added openjpeg-dotnet files since they are used elsewhere in OpenSim * Updated prebuild.xml with a reference to CSJ2K
* Renamed IJ2KDecoder and J2KDecoder member names to follow standard naming conventions * Removed j2kDecodeCache cruft and replaced it with the OpenSim cache system * Rewrote the default layer boundary algorithm to use percentages instead of an exponent * Switched from an infinite in-memory cache to an expiring cache (10 minute timeout) * Slightly quieted logging errors for failed texture decodes
2009-09-30 19:26:53 +01:00
Melanie
f908e32f62
Revert "Attempting to improve the robustness of texture decoding by always ignoring LayerInfo.End values and creating guessed default layer boundaries on failed decodes Changed a noisy J2K decode log message from Info to Debug"
...
This reverts commit 22cc31135e
.
2009-09-30 19:26:26 +01:00
John Hurliman
22cc31135e
Attempting to improve the robustness of texture decoding by always ignoring LayerInfo.End values and creating guessed default layer boundaries on failed decodes Changed a noisy J2K decode log message from Info to Debug
...
Replacing openjpeg-dotnet decoding with managed CSJ2K decoding. Should be much more reliable, faster, and use less memory
* Re-added openjpeg-dotnet files since they are used elsewhere in OpenSim * Updated prebuild.xml with a reference to CSJ2K
2009-09-30 18:42:45 +01:00
Diva Canto
4bf47fa592
This releases the texture assets from LLImageManager cache, and re-requests them later if the client asks for them again. Needs more testing in texture-rich sims.
2009-09-30 18:41:41 +01:00
Kitto Flora
07df0e0ab0
Merge branch '0.6.7-post-fixes' into vehicles
2009-09-30 19:07:18 +02:00
Kitto Flora
d43f739cef
And another merge issue
2009-09-30 19:05:39 +02:00
Kitto Flora
11750a272e
And another
2009-09-30 19:04:06 +02:00
Kitto Flora
6b65eb76d0
Another small change to avoid later merge conflict
2009-09-30 19:01:55 +02:00
Kitto Flora
53fbc970ca
Small chaneg to adapt to trunk
2009-09-30 18:58:52 +02:00
opensim
827b0fb199
Commit initial version of KittoFlora's vehicle changes
2009-09-30 18:51:02 +02:00
Jeff Ames
ee205e7e81
Formatting cleanup.
2009-10-01 01:17:47 +09:00
Melanie
377a8b5229
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-09-30 11:17:27 +01:00
Melanie
94aa7e677c
Change command help text to show .ini in place of .xml when creating regions
2009-09-30 09:12:43 +01:00
Diva Canto
89016203de
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-29 16:13:31 -07:00
Diva Canto
b1d204802f
Minor bug fixes.
2009-09-29 16:13:07 -07:00
dr scofield (aka dirk husemann)
09cb8a594b
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into x-opensim
2009-09-29 17:00:02 +02:00
Diva Canto
37a8b2b8b7
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-29 07:56:29 -07:00
Alan M Webb
2a7bedb5e9
This fix addresses the problem where phantom objects do not
...
always behave like they are phantom, and llVolumeDetect
seems to operate in a random fashion.
Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-29 16:55:03 +02:00
Diva Canto
bc892c1d4c
A little hack to see if this fixes the problems with ~20% of SOG's becoming phantom after an import to megaregions.
2009-09-29 07:54:56 -07:00
Alan M Webb
a43706862c
Given the perverse way that strided works, if
...
there is only one element in the range, it must
also coincide with the specified stride. The
existing code assumes that the stride starts at
start ( which is the expected and most useful
behavior).
Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-29 15:40:41 +02:00
Diva Canto
95981776dd
Fixed bug in Check4096 (HG).
2009-09-28 20:11:10 -07:00
Diva Canto
a60ed0562c
I think I have fixed something that was broken in the scene setup (tests) and that needs to be reflected in all other services setups. But the teleport test still doesn't work. Commenting it for now.
2009-09-28 17:42:35 -07:00
Diva Canto
51d9f7ebd4
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-28 17:35:26 -07:00
Diva Canto
4eca59ec13
Improved the Local grid connector to fetch data from the DB when it doesn't find it in the cache.
...
Commented out the Standalone teleport test because it's failing, and the scene setup is very confusing. I suspect it may be wrong -- the connectors-as-ISharedRegionModules are being instantiated several times when there are several scenes.
2009-09-28 17:33:34 -07:00
Jeff Ames
f00126dc2d
Add copyright header. Formatting cleanup.
2009-09-29 08:32:59 +09:00
Diva Canto
e15a9b8484
Fixed an issue with the PresenceModule in "gridmode", introduced by my fixing the notifications of the messaging service in standalone.
2009-09-27 17:01:30 -07:00
Diva Canto
689eea3bad
Guarding the methods under if (m_Enabled)
2009-09-27 15:06:44 -07:00
Diva Canto
2432cc607e
Neighbours cache working.
2009-09-27 13:43:57 -07:00
Diva Canto
5d09c53a1a
Unpacking the mess with OtherRegionUp, so we can have a real cache of the neighbours in the grid service modules.
2009-09-27 10:14:10 -07:00
Diva Canto
68e40a87ca
Poof! on LocalBackend. CommsManager.GridServices deleted.
2009-09-26 21:29:54 -07:00
Diva Canto
620fa2b772
Poof! on OGS1 GridServices.
2009-09-26 21:21:06 -07:00
Diva Canto
989382352d
Poof! on Region.Communications.Hypergrid. Grid code deleted.
2009-09-26 21:14:41 -07:00
Diva Canto
f4bf581b96
Moved all HG1 operations to HGGridConnector.cs and HypergridServerConnector.cs/HypergridServiceConnector.cs, away from Region.Communications and HGNetworkServersInfo.
...
Fixed small bugs with hyperlinked regions' map positions.
2009-09-26 21:00:51 -07:00
Diva Canto
dcfd08b8dd
Fixed a bug with link-region.
2009-09-26 11:01:18 -07:00
Diva Canto
b5163889b9
Fixed the order of params to GetRegionRange.
2009-09-26 10:30:45 -07:00
Diva Canto
632bb71262
Fixed MapBlocks bug, wrong order of arguments. First version that seems completely functional.
...
Also fixed the notification of the message server in standalone -- that server doesn't usually exist.
2009-09-26 08:49:48 -07:00
Diva Canto
d39e67d5b2
More redirects to HGGridConnector-as-HyperlinkService.
2009-09-26 08:06:14 -07:00
Diva Canto
7253a9453e
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-26 07:49:04 -07:00
Diva Canto
5757afe766
First pass at the heart surgery for grid services. Compiles and runs minimally. A few bugs to catch now.
2009-09-26 07:48:21 -07:00
Teravus Ovares (Dan Olivares)
a7f3d01f8a
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-25 16:06:40 -04:00
Teravus Ovares (Dan Olivares)
2bb513329a
* Does a full battery of tests to ensure that the object isn't an attachment before border crossing
...
* Fixes 'Inconsistent Attachment State' when teleporting into another region besides the SW most region slot on a MegaRegion.
* Fixes a host of other unintended attachment border cross edge cases that lead to Inconsistent attachment state.
2009-09-25 16:06:04 -04:00
dahlia
fb2cabd6b3
corrections to viewerMode AddPos()
2009-09-25 13:01:48 -07:00
Teravus Ovares (Dan Olivares)
0a0b532270
* Fixes teleporting within megaregions on HG enabled regions. You can teleport around now. (but it still doesn't fix the inconsistent attachment state when teleporting into region slots that are not the south west region on megaregions)
2009-09-25 15:31:19 -04:00
Justin Clark-Casey (justincc)
0bdf75637f
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-09-25 19:19:01 +01:00
Diva Canto
eed8a61559
More small changes to FlotsamAssetCache as per mcortez' request.
2009-09-25 08:47:45 -07:00
Diva Canto
902279f0fd
Moved the property RegionLoginsEnabled from GridComms to the Scene -- not the scene itself but SceneCommunicationService, for now. Beginning to clear the code from using Region.Communications. grid stuff.
2009-09-25 08:39:09 -07:00
Justin Clark-Casey (justincc)
9249c026f2
Don't preserve full user profile details within iars for now
...
This information was not being used in the load process
2009-09-25 16:22:43 +01:00
Justin Clark-Casey (justincc)
613cb417c0
add control files containing version info to iars
2009-09-25 14:52:53 +01:00
Justin Clark-Casey (justincc)
730458be1f
minor: remove some mono compiler warnings
2009-09-25 14:31:29 +01:00
Dan Lake
1b2828f5d8
Meshmerizer stores dictionary of unique Meshes keyed on construction parameters. CreateMesh() returns a Mesh from the dictionary or creates a new Mesh if it has not been created before. Meshes are never purged from the dictionary. The raw Mesh data is discarded once the memory is pinned for ODE use. All copies of the same prim/mesh use the same pinned memory. ONLY IMPLEMENTED AND TESTED WITH MESHMERIZER AND ODE
...
Signed-off-by: dahlia <dahliaTrimble@gmailDotCom>
2009-09-24 18:20:59 -07:00
dahlia
daffb69174
modify BulletDotNETPrim.cs in preparation for Mantis #4181
2009-09-24 18:16:29 -07:00
Justin Clark-Casey (justincc)
ad753d784c
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-09-24 17:35:03 +01:00
Justin Clark-Casey (justincc)
e1abc3d4c4
re-enable registration of user service authentication method I accidentally disabled a few commits ago
...
load/save iar on a grid should now work, provided that the user service is this revision or newer
2009-09-24 15:22:47 +01:00
Justin Clark-Casey (justincc)
f62b5e6cec
Produce a different error message if the user service does not have the authenticate method available
2009-09-24 15:19:47 +01:00
Justin Clark-Casey (justincc)
7870152d23
Allow load/save iar password checks to be done in grid mode
...
This should allow load/save iar to work for grid mode as long as the grid user service is later than this revision
Grid services of earlier revisions will always erroneously report incorrect password. This will be addressed shortly.
2009-09-24 14:54:12 +01:00
Adam Frisby
ca69fac13e
* Send Updated Information Packet to Clients after updating estate settings.
2009-09-24 22:02:29 +10:00
Adam Frisby
8605c5d2eb
* Establishing why new console commands fail to work. >_>
2009-09-24 21:46:41 +10:00
Adam Frisby
57429423bb
* Fixing typo.
2009-09-24 21:29:57 +10:00
Adam Frisby
aca9fd182e
* Added two new commands to EstateManagementModule
...
* Also, I hate git.
2009-09-24 20:27:11 +10:00
Diva Canto
1260c81a9c
More tests. Seems to be working.
...
Grid connector modules are enabled for standalones only, but nothing in the simulator uses them yet, so it's safe to go in.
2009-09-23 20:51:04 -07:00
Diva Canto
fd8fb7735b
First test passes -- regions being registered and retrieved correctly in Data.Null.
2009-09-23 20:39:25 -07:00
Diva Canto
3c19bd5142
Unit tests for the grid service. Yey!
2009-09-23 20:35:16 -07:00
Diva Canto
67276589c8
Changed IGridService to use the new GridRegion data structure instead of old SimpleRegionInfo.
...
Added grid configs to standalones.
2009-09-23 17:20:07 -07:00
Diva Canto
b8f039897b
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-23 15:40:35 -07:00
Teravus Ovares (Dan Olivares)
c592a60f46
Fix endlines on UrlModule.cs
2009-09-23 15:00:18 -04:00
Teravus Ovares (Dan Olivares)
9c2ffa8f2e
* fix endlines in LSL_api.cs
2009-09-23 14:55:22 -04:00
Diva Canto
35deff7ec4
Modules active. Tested HGGridConnector in standalone only for now. Modules commands work.
2009-09-23 09:27:01 -07:00
Diva Canto
486a9a5b61
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-23 07:54:13 -07:00
Alan M Webb
b7265abfae
Added delay loop to give a newly created assembly time to appear. On
...
Linux (as an example), it is possible for the existence check to fail
because the file is not yet recognized by the file system. Although
the loop has a 250mS delay, in practise, the existence test in the for
loop is successful and no delay is introduced.
Next, this takes care of the two, unpredictable, situations where a
script fails to compile. The first is caused by an occasional SEGV in
the underlying mono VM while mcs is running, the second is caused by
file system latency.
Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-23 14:49:34 +02:00
Diva Canto
882d2c9cc3
Added hg console commands to the module.
...
Added the IN connector module for link-region and corresponding handler to be used in the regions only. No service as such is needed.
This will replace the current link-region machinery. Compiles but not tested.
2009-09-22 20:25:00 -07:00
Adam Frisby
5dc3e560d3
* Makes SimulatorEnable messages 'reliable' and subject to redelivery.
2009-09-23 10:30:18 +10:00
Diva Canto
ffd30b8ac3
Moved RegionName from RegionInfo to SimpleRegionInfo.
2009-09-22 14:46:05 -07:00
Diva Canto
0fc2b73e7b
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-22 14:15:53 -07:00
Diva Canto
34f4738159
Added HGGridConnector and related code.
2009-09-22 11:58:40 -07:00
Melanie
97c18caa76
Thank you, Intari, for a patch that implements the missing pieces of
...
Http-in and makes the host name for URL generation configurable.
Applied with changes:
llGetSimulatorHostname was not changed, because the change breaks
existing behavior and carries a data exposure risk. That value needs
to be configurable, the proposed fixed change is not acceptable.
2009-09-22 17:04:34 +01:00
Melanie
dafe5bf05f
Completely remove the prior implementation of the request event handling
...
on poll handlers. Introduce a new delegate on the PollServiceEventArgs that
allow access to the request headers and body.
2009-09-22 06:19:02 +01:00
Diva Canto
a9ced0fe79
Added Remote grid connector module.
2009-09-21 19:33:56 -07:00
Melanie
69b76acce1
Make the poll service handler call the handler method on incoming requests.
2009-09-21 19:46:29 +01:00
Melanie
5511c62580
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-09-21 18:12:12 +01:00
Diva Canto
6d0e7b6a6c
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-21 11:05:20 -07:00
Diva Canto
390137d540
Added grid handler and grid remote connector.
2009-09-21 11:05:01 -07:00
Melanie
bc9e4cfd96
Add a RequestID (UUID.Random()) to the PollRequest and pass it to all
...
even hander delegates.
2009-09-21 18:11:40 +01:00
Melanie
04170521f0
Add a UUID param to NoEvents in PollServiceEventArgs to make it more generic
2009-09-21 14:59:31 +01:00
BlueWall (James Hughes)
d835485a1f
Updatate llOpenRemoteDataChannel to provide the external hostname configured in the Regions.ini (or xml) to the XmlRpcGridRouterModule
2009-09-19 08:16:10 +01:00
Diva Canto
66f8166bd0
First pass at LocalGridServiceConnector. Nothing of this is used by the simulator yet.
2009-09-18 20:01:33 -07:00
Justin Clark-Casey (justincc)
967cbde055
correct off-by-one error in save iar command handling
2009-09-18 22:25:32 +01:00
Justin Clark-Casey (justincc)
33ea86374a
provide intelligble warning of why load/save iar doesn't work on grid mode, pending a fix
2009-09-18 22:22:00 +01:00
Michael Cortez
4eb07232e0
Group Membership information is sent out from two different locations, refactored out the filtered membership list code and used it in both locations.
2009-09-18 20:54:03 +01:00
Michael Cortez
65b9084c65
Add a little debugging for filtered groups lists based on requester
2009-09-18 20:54:01 +01:00
Michael Cortez
3b511d5138
Try to filter the groups list returns for User A, when sending to User B, based on User A's preferences for ShowInProfile.
2009-09-18 20:53:58 +01:00
Michael Cortez
247fdd1a4d
Add additional instrumentation so that when there is an xmlrpc call failure, the actual xml that was returned from the groups service can be logged.
2009-09-18 20:53:56 +01:00
Michael Cortez
841cd69af7
Remove debug messages from some areas that have been highly tested, and debug info is no longer nessesary.
2009-09-18 20:53:53 +01:00
Michael Cortez
0e07a7ef10
Adding additional debug to output the group powers specified when updating a group role. This will be used to solve some issues with the Group Powers enum.
2009-09-18 20:53:50 +01:00
Michael Cortez
61699275ed
Add additional debugging to help track down bug with notices not going to group owner/founder.
2009-09-18 20:53:47 +01:00
Michael Cortez
0cb012aae5
Revert "Thank you, mcortez, for a patch to address showing users in group list"
...
This reverts commit 69ef95693a
.
2009-09-18 20:53:44 +01:00
Rob Smart
4f3975f04e
addition of a new script function osSetParcelSIPAddress(string SIPAddress), now including iVoiceModule
...
This patch allows the land owner to dynamically set the SIP address of a particular land parcel from script. This allows predetermined SIP addresses to be used, making it easier to allow non OpenSim users to join a regions voice channel.
Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-18 15:47:15 +02:00
nlin
56edbe9b60
Alternate algorithm for fixing avatar capsule tilt (Mantis #2905 )
...
Eliminate dynamic capsule wobble. Instead introduce a small, fixed
tilt, and allow the tilt to rotate with the avatar while moving; the
tilt always faces away from the direction of avatar movement. The
rotation while moving should eliminate direction-dependent behavior
(e.g. only being able to climb on top of prims from certain directions).
Falling animation is still too frequently invoked.
Ideally the tilt should be completely eliminated, but doing so
currently causes the avatar to fall through the terrain.
2009-09-18 11:39:08 +09:00
Alan M Webb
88294d9ebf
While running a test case I had written to pursue problems with
...
llDie() not always completely working, I discovered I was
getting a lot (60+ over 6000 iterations of the test case)
null pointer exceptions in various physics related checks in
SceneObjectPart. It was apparent that the (frequent) checks for
PhysActor being non-null is an insufficient protection in a
highly asynchronous environment. The null reference exceptions
are one example of failure, but it could also happen that a
sequence started with one instance of a PhysicsActor might
finish with another?
Anyway, I have implemented a safer mechanism that should
stop the errors. I re-ran my test case with the fix in place,
and completed nearly 1000 iterations without a single occurrence.
SceneObjectPart is seriously in need of rejigging, if not for
this reason, then for its ridiculous size.
Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-17 17:49:13 +02:00
Melanie
69ef95693a
Thank you, mcortez, for a patch to address showing users in group list
...
Removed patch 0005, which was unrelated and likely accidental, and further
didn't apply.
2009-09-17 15:38:17 +01:00
John Hurliman
39842eb4af
* Adding Scale to EntityBase * Fixing the incorrect initialization of EntityBase.Rotation * Removed SceneObjectGroup.GroupRotation and added overrides for Scale/Rotation/Velocity
2009-09-16 17:17:40 -07:00
John Hurliman
f42d085ab1
SceneObjectGroup cleanup. Removes the default constructor and unnecessary null checks on m_rootPart
2009-09-16 15:06:08 -07:00
Justin Clark-Casey (justincc)
077d01c225
switch default physics engine to ODE and default meshmerizer to Meshmerizer in code and in OpenSim.ini.example
2009-09-16 18:44:55 +01:00
Justin Clark-Casey (justincc)
a4c093469a
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-09-16 18:21:46 +01:00
Justin Clark-Casey (justincc)
35260faead
on iar save/load, let the user know if they put in the wrong password
...
refactor GetUserInfo() to eliminate copypasta
2009-09-16 18:20:55 +01:00
Rob Smart
281ad1251c
updated the IAuthorizationService interface so that a message is passed back and can be displayed at the client when an avatar is denied access to a region
2009-09-16 10:04:07 -07:00
Alan M Webb
9cbb865985
This fix allows you to configure a script-to-console-log channel
...
association. Then, whenever there is an llSay to that channel,
the message is directed to the OpenSim console log (and NOT
forwarded to the client). This is a great way to capture scripting
events to the log. To enable, add ScriptConsoleChannel = -xxx to
the ScriptEngine parameters in the .ini file. Note that the
message is written using Console.WriteLine rather than
the rather more fragile log4net service. The console channel is
also not subjected to the 1024 character limit imposed on regular
say traffic.
Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-16 17:07:53 +02:00
Alan M Webb
3b1ef2bfd2
This fixes a boundary case error in the strided list
...
implementation. If the range included only a single item
an empty list was always returned (has no-one been using
this function?)
Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-16 16:38:29 +02:00
Alan M Webb
3403ae81e8
Stop a loaded OAR from generating on_rez events. This brings
...
the OAR loader in line with region restart (and the correct
behavior).
2009-09-16 16:29:52 +02:00
Melanie
c5455d4fe7
And another go
2009-09-15 08:24:51 +01:00
Melanie
cec296543c
Attempt to fix the tests
2009-09-15 08:12:53 +01:00
Melanie
7c925744f6
Some OSGrid specific changes, please use this or later for OSGrid use
2009-09-15 07:55:29 +01:00
Teravus Ovares (Dan Olivares)
1ad35f65b3
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-14 16:30:36 -04:00
Teravus Ovares (Dan Olivares)
dc925416d7
* fix missing lock on XMLRPC GroupsModule
2009-09-14 16:30:14 -04:00
Justin Clark-Casey (justincc)
a964bc3ca4
Apply http://opensimulator.org/mantis/view.php?id=4142
...
Re-enable XMLRPC scripting calls
Moves XMLRPC scripting setup to a separate section
Thanks Fly-Man-
2009-09-14 18:31:34 +01:00
Justin Clark-Casey (justincc)
5a64ca4642
label load and save iar commands as experimental.
2009-09-14 16:57:47 +01:00
Justin Clark-Casey (justincc)
dd4d70eafe
re-enable load and save iar commands
2009-09-14 16:54:36 +01:00
dr scofield (aka dirk husemann)
19c5c8b98d
fix to preserve UTF8 encoding in saved script state.
2009-09-14 16:14:59 +02:00
Teravus Ovares (Dan Olivares)
feccfe4096
* Add the RegionCombinerModule back
...
* Yay anonymous delegate in an anonymous delegate.
2009-09-13 19:09:48 -04:00
Teravus Ovares (Dan Olivares)
3a9e1cf0a3
Temporarily removing the RegionCombinerModule to debug a mono assert on linux
2009-09-13 18:43:20 -04:00
Teravus Ovares (Dan Olivares)
ed475f21ee
* Use the BeginInvoke methodology instead of the FireAndForget methodology to try to mitigate a mono assert. Same functionality done a different way.
2009-09-13 18:28:45 -04:00
Teravus Ovares (Dan Olivares)
3562d75c17
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-13 18:12:44 -04:00
Teravus Ovares (Dan Olivares)
eadea36142
* Move nested classes from the RegionCombinerModule into their own file.
...
* Rename the RegionCombinerModuleIndividualForwarder to RegionCombinerIndividualEventForwarder so there's no possibility that mono.addins sees any names similar
2009-09-13 18:12:24 -04:00
Melanie
efc43aa0d9
Change the type value for given folders to -1. Prevents inventory blowups
2009-09-13 18:24:00 +01:00
Teravus Ovares (Dan Olivares)
fe4f312d55
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-13 07:28:08 -04:00
Teravus Ovares (Dan Olivares)
4241cdc929
* More comments in the RegionCombinerModule
...
* Changed the Destination ID to 0 in the TeleportFinish Event (why did we have it as 3?)
* Added border based trigger teleports
* Fix MakeRootAgent border cross tests for ensuring that the position is inside the region to use the borders to figure out if it's outside the Region
2009-09-13 07:20:18 -04:00
Jeff Ames
01ec93945e
Formatting cleanup.
2009-09-13 13:56:09 +09:00
Diva Canto
40c3ac4aeb
Guarding the unpacking of the email field introduced by Robsmart. Most profiles don't have it. This may fix mantis #4134 .
2009-09-12 09:30:14 -07:00
Melanie
496b368334
Add a using() block around the timer script
2009-09-11 21:52:49 +01:00
Justin Clark-Casey (justincc)
c573a32529
Disable non-user ready load/save iar for now pending possible format change
2009-09-11 20:38:08 +01:00
Justin Clark-Casey (justincc)
f20a052ef5
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-09-11 18:20:41 +01:00
Justin Clark-Casey (justincc)
212efc0c76
Remove bug where iar created folders could not be deleted after relog
...
New folders need to be created with AssetType.Unknown rather than AssetType.Folder!
2009-09-11 16:51:57 +01:00
Diva Canto
ca0810a103
Minor indentation cleanup.
2009-09-11 06:59:10 -07:00
Rob Smart
eaec7cf39c
Changed RemoteAuthorizationServiceConnector so that it implements the IAuthorization interface method isAuthorizedForRegion looks up user and region data and delegates the remote authorization check to the AuthorizationServiceConnector
...
This keeps the IAuthorization as clean as possible and moves the dependency of using a UserProfileData object out to the connector from the scene.
2009-09-11 06:50:24 -07:00
Diva Canto
ce332f235c
Changed the interface of IAuthorizationService to get less data.
2009-09-10 19:56:08 -07:00
Rob Smart
953ef780c5
adding in working functionality for the remote connector
2009-09-10 17:52:42 -07:00
Rob Smart
16940097be
The stubs for an authorization service, at the moment the service will always grant access to an avatar entering the region if requested.
2009-09-10 17:51:28 -07:00
Justin Clark-Casey (justincc)
552ba5334f
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-09-10 18:14:34 +01:00
Justin Clark-Casey (justincc)
eabf5b6c3d
refactor: Replace some iar item name generation in tests with helper function
2009-09-10 17:40:07 +01:00
Justin Clark-Casey (justincc)
f5feb25dd1
fix spurious loading... messages on iar load by creating folders as version 1 rather than version 0
2009-09-10 17:08:26 +01:00
Teravus Ovares (Dan Olivares)
729fbee287
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-10 04:07:08 -04:00
Teravus Ovares (Dan Olivares)
1c878ec425
* Fix an off by one error on visible neighbors in the 'RequestNeighbors' method. This off by one error showed one extra row of neighbors on the north and east side
2009-09-10 03:25:55 -04:00
Jeff Ames
c41387b864
Formatting cleanup.
2009-09-10 15:57:53 +09:00
Teravus Ovares (Dan Olivares)
dc3798ddc3
* Another Timer lock
2009-09-10 00:31:14 -04:00
Teravus Ovares (Dan Olivares)
df9f80aabd
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-09 16:20:46 -04:00
Teravus Ovares (Dan Olivares)
c605509da3
* Lock timers when Calling Start() and Stop() when the Thread Context is murky. This affects Mono only.
2009-09-09 16:20:19 -04:00
Diva Canto
5bf288745d
De-hardcode default home locations on create user (standalone).
2009-09-09 11:02:31 -07:00
Justin Clark-Casey (justincc)
0cdec1fbc3
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-09-09 18:11:02 +01:00
Justin Clark-Casey (justincc)
bb1f64fe51
minor: suppress mono warning 0162 generated when comparing const RegionSize against a literal number
2009-09-09 18:09:23 +01:00
Justin Clark-Casey (justincc)
0683cf6e0d
Add test to check behaviour if an iar is loaded where no user profile exists for the creators
...
Disable generation of temporary profiles for now, instead record loading user as creator
2009-09-09 18:03:49 +01:00
dr scofield (aka dirk husemann)
62358014ed
reformatting.
2009-09-09 09:56:07 +02:00
dr scofield (aka dirk husemann)
d8a787bd89
fix: unicode notecards not surviving script treatment ( fixes #4119 ---
...
perhaps).
2009-09-09 09:56:07 +02:00
Melanie
5c606d0233
Thank you, mcortez, for a patch to fix errors in FlotsamCache and expand
...
functionality, adding console commands.
2009-09-08 21:31:09 +01:00
Justin Clark-Casey (justincc)
2bb2a0ec44
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-09-08 17:50:45 +01:00
Justin Clark-Casey (justincc)
b7256f2567
extend load iar test to loading into a deeply nested directory
...
correct bug associated with this
2009-09-08 17:42:07 +01:00
Justin Clark-Casey (justincc)
36a40e0295
refactor: change method argument name
2009-09-08 16:29:31 +01:00
Justin Clark-Casey (justincc)
46d64da830
minor: remove warning
2009-09-08 16:14:52 +01:00
Justin Clark-Casey (justincc)
76b21860e9
refactor iar name generation
...
slightly change the format of item archive names
2009-09-08 16:12:15 +01:00
Teravus Ovares (Dan Olivares)
f0e2fd426b
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-08 04:43:17 -04:00
Teravus Ovares (Dan Olivares)
9a06056c9a
* Fixes a 'take object from mega region' and rez it in a regular region.. and have it appear 5 regions over bug by limiting the stored position in the asset to Constants.RegionSize. The stored position in the asset gets overwritten anyway by the rezzing routine, but at least this way, there's no chance of the objects border crossing before the rezzing routine finishes.
2009-09-08 04:43:00 -04:00
dahlia
665cf0194a
llRot2Euler() now returns angles -PI < angle < PI
2009-09-07 18:02:02 -07:00
dahlia
7a67b726d5
random drive-by maths optimization in llRot2Euler() and llEuler2Rot()
2009-09-07 17:12:17 -07:00
Justin Clark-Casey (justincc)
fa1d79533e
Only allow iar load/save if user is logged in to the region simulator
2009-09-07 19:57:44 +01:00
Justin Clark-Casey (justincc)
71f1628578
make oar module logging a little less noisy
2009-09-07 19:11:16 +01:00
Justin Clark-Casey (justincc)
10b075a33d
change default iar filename
2009-09-07 18:42:53 +01:00
Justin Clark-Casey (justincc)
116933bee5
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-09-07 18:26:53 +01:00
Teravus Ovares (Dan Olivares)
326c3ee14f
* Enables Child Agents for all virtual regions in the region and their neighbors. There still may be issues with crossing into the mentioned neighbors of the virtual regions. This makes regions larger then 512x512 (3 virtual regions) display fully to clients.
...
* Uses a grid request multiple times, so the more regions are in the instance, the longer logging in takes. Consider this temporary until there's a RegionInfo request similar to the MapItem Request.
2009-09-07 12:57:30 -04:00
Teravus Ovares (Dan Olivares)
c4edefd9a0
minor: organizational
...
* Move the neighbor region lookup to another method from where it was before in EnableNeighbourChildAgents.
2009-09-06 21:26:59 -04:00
Justin Clark-Casey (justincc)
61c286f5d6
change iar load to make discrete inventory service requests rather than the cache
2009-09-06 22:07:35 +01:00
Justin Clark-Casey (justincc)
5640cac8e0
Add convenience functions to InventoryArchiveUtils for locating folders by assuming we're starting from the root
...
Change test methods to use convenience functions
2009-09-06 21:34:20 +01:00
Justin Clark-Casey (justincc)
a92afe8dca
change load iar test to use non-cache find item by path function
2009-09-06 21:26:27 +01:00
Justin Clark-Casey (justincc)
d8316810a1
remove now unnecessary parts of save iar test
2009-09-06 21:20:41 +01:00
Teravus Ovares (Dan Olivares)
8797a82098
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-06 16:15:20 -04:00
Justin Clark-Casey (justincc)
1cc0c94f79
remove warning
2009-09-06 21:15:18 +01:00
Teravus Ovares (Dan Olivares)
511bddc8bc
* Moves another Legacy avatar inbounds check to Border
2009-09-06 16:15:06 -04:00
Justin Clark-Casey (justincc)
881051c8cc
Convert iar write request to use inventory service requests rather than cache
2009-09-06 21:14:42 +01:00
Justin Clark-Casey (justincc)
766d775625
remove warning
2009-09-06 20:17:30 +01:00
Justin Clark-Casey (justincc)
79c22651d7
refactor: use direct scene reference in inventory archive read request
2009-09-06 20:16:56 +01:00
Justin Clark-Casey (justincc)
8616230fcf
refactor: replace some uses of iar module reference with scene instead
2009-09-06 20:04:18 +01:00
Justin Clark-Casey (justincc)
304c78bbbb
Temporarily re-enable save iar test by manually insert the item into the old cache during the test
2009-09-06 19:30:03 +01:00
Melanie
998624544c
Addendum to last commit. With the last commit, some other code that should
...
have been in this commit slipped in. If the last heartbeat is more than
2 seconds ago, kill that thread and start a new one. Untested.
his commit adds support to let the first heartbeat complete unconditionally,
since it is almost always longer.
2009-09-06 16:14:45 +01:00
Melanie
dcebbc3f1b
Remove the encryption from the IAuthenticationService interface. That
...
is too high up for that type of stuff. It needs to be at the
connector/handler level
2009-09-06 15:55:14 +01:00
Melanie
2303945b4e
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-09-06 04:29:21 +01:00
Melanie
2a8f66b221
Revising the user account data interfaces. No user functionality yet
2009-09-06 04:28:42 +01:00
Diva Canto
babe392709
uh-hum. It might help if I remembered to save the file.
2009-09-05 17:16:43 -07:00
Diva Canto
7d9d8eb90f
This should get rid of the infinite loop upon looking up users/agents by UUID in grid mode. Grr.
2009-09-05 16:56:33 -07:00
Teravus Ovares (Dan Olivares)
8855c2e54c
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-05 03:00:50 -04:00
Teravus Ovares (Dan Olivares)
855fb58c96
* Moves ScenePresence SendCourseLocations to a delegate and provide a method to replace the delegate
...
* RegionCombinerModule replaces this delegate and distributes the CoarseLocationUpdates through the client connection in the region where the user would be if it was a separate region.
* Fixes Mini Map display on combined regions.
2009-09-05 02:58:35 -04:00
Diva Canto
b6744a6566
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-04 22:31:10 -07:00
Diva Canto
c48ec97817
Fixed some long-standing issues with appearance in HG1.
2009-09-04 22:30:30 -07:00
Teravus Ovares (Dan Olivares)
2c09634aed
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-04 20:19:50 -04:00
Teravus Ovares (Dan Olivares)
016a648a30
* Fixes various quirks rezzing in virtual regions.
...
* Breaks up the Client event registrations in Scene into methods of similar event types. The generic event registration registers all of the event types.
*Created symmetrical Un-Registration methods.
* Made the Registration and Unregistration methods public
* Hooks The events required for creating new prim and rezzing new prim into the proper scene.
2009-09-04 20:19:34 -04:00
Justin Clark-Casey (justincc)
7ca61e0174
Add ids to iar requests
...
Stop save iar test wrongly relying on thread pulsing (still disabled though)
2009-09-04 21:10:56 +01:00
Justin Clark-Casey (justincc)
4c560df8ac
If running tests manually, fail immediately on error
2009-09-04 19:22:09 +01:00
Teravus Ovares (Dan Olivares)
50a9e01dfa
* Last commit was a bit of a fail, it registered the root region for it's own permissions events again.
...
* This commit fixes that and does what the last one intended.
2009-09-04 04:41:43 -04:00
Teravus Ovares (Dan Olivares)
f7861a6bad
* Make the RegionCombinerModule also register to handle permissions for the virtual region scenes.
2009-09-04 04:25:56 -04:00
Teravus Ovares (Dan Olivares)
b93f512433
* Fix for GetTerrainHeightAtXY to make it compatible when Constants.RegionSize isn't 256
2009-09-04 02:48:07 -04:00
Teravus Ovares (Dan Olivares)
bb5857c4bb
* Fixes the function 'GetTerrainHeightAtXY'
2009-09-04 00:03:54 -04:00
Diva Canto
639bf79aec
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-09-03 12:42:25 -07:00
John Hurliman
33133e23b1
Fixes seven leaky .BeginInvoke() calls
2009-09-03 12:36:51 -07:00
Justin Clark-Casey (justincc)
64fa23df7c
If a test dll fails, stop immediately rather than trying all the other test dlls
...
This is very useful behaviour if debugging test failures otherwise it's hard to pick out the test output
Also, some minor method shuffling in the iar module
2009-09-03 19:41:38 +01:00
dahlia
6cf610bc44
eliminate unnecessary storage of mesh objects which are no longer necessary after recent startup optimizations
2009-09-02 17:40:55 -07:00
Jeff Ames
56ddd6828c
Add copyright headers. Formatting cleanup.
2009-09-03 02:04:17 +09:00
dr scofield (aka dirk husemann)
bb0cbdc064
switching LandManagementModule to "new" region module scheme; cleaning
...
up method names in LandManagementModule (was a bit of a
mess). suppressing warnings re Constants.RegionSize.
2009-09-02 11:06:18 +02:00
dr scofield (aka dirk husemann)
05756e1fb9
warnings safari.
2009-09-02 11:06:18 +02:00
Teravus Ovares (Dan Olivares)
9505297fb1
* One last attempt to get the bordercrossing/primcrossing/attachmentcrossing right in the new border framework.
...
* This also contains some inactive preliminary code for disconnecting combined regions that will be used to make one root region a virtual region of a new root region.
2009-09-02 04:39:00 -04:00
Melanie
f32de6fe88
Thank you, dslake, for a set of patches to improve OpenSim startup
...
and idle performance.
2009-09-02 03:33:31 +01:00
Teravus Ovares (Dan Olivares)
2fc3f61a42
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-09-01 19:39:07 -04:00
Teravus Ovares (Dan Olivares)
afc72cc10e
* Fixes diagonal teleporting when in RegionCombining mode by adding 4 additional borders that have infinite distances perpendicular to the cardinal of the border surrounding the entire combined region. Recalculates this boundary each time AddScene is called.
2009-09-01 19:38:45 -04:00
dr scofield (aka dirk husemann)
39726f0fda
switching SerialiserModule to "new" region module scheme
2009-09-01 10:28:29 +02:00
dr scofield (aka dirk husemann)
ef6c0bd7d8
cleanup.
2009-09-01 10:28:29 +02:00
Teravus Ovares (Dan Olivares)
2245e2977e
* The return of fuzzy borders!
2009-08-31 23:16:24 -04:00
Teravus Ovares (Dan Olivares)
3718bbc6a5
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-31 22:51:03 -04:00
Teravus Ovares (Dan Olivares)
c09884a467
No more fuzzy borders
2009-08-31 22:50:27 -04:00
Teravus Ovares (Dan Olivares)
2068b6714a
* -2 on the south and west side, -1 on the north and east side. Fuzzy borders! yay
2009-08-31 21:40:06 -04:00
Melanie
c89fc36f28
Applying Mantis #4079 . Thank you, dslake
2009-09-01 02:17:08 +01:00
Teravus Ovares (Dan Olivares)
de1c2a51e2
* Put Borders back the way they were to resolve the endless ----> crossing into region X,Y
2009-08-31 21:11:04 -04:00
Melanie
29df190a3f
Baad git, baad baad git.
2009-09-01 02:02:52 +01:00
Melanie
22457c9843
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-09-01 01:56:59 +01:00
Melanie
e458a87e91
Experimental. Set attachment flag early on rezzing from inventory.
2009-09-01 01:53:54 +01:00
Teravus Ovares (Dan Olivares)
fed089971e
* Previously south and west border were required to be -1 for border crossings diagonally to work.. but.. seems they're working now without it.. and maybe it will help attachments.
2009-08-31 20:36:06 -04:00
Teravus Ovares (Dan Olivares)
b8d21d9eae
* Get rid of some debug info and kill the code to make a large AABB until I can figure out how to detect the fact that the system is done starting up new regions.
2009-08-31 20:10:08 -04:00
Teravus Ovares (Dan Olivares)
b997174d08
* Fix attachment cross issues with new borders.
2009-08-31 20:07:33 -04:00
Teravus Ovares (Dan Olivares)
895c612647
* When the RegionCombinerModule is active add an extra set of borders with Infinite distances around the whole AABB of the region
2009-08-31 16:29:27 -04:00
dr scofield (aka dirk husemann)
27b378ca8b
switching Archiver to "new" region module scheme
2009-08-31 17:25:16 +02:00
dr scofield (aka dirk husemann)
3581b9abce
Merge branch 'regionready' into opensim
2009-08-31 15:02:21 +02:00
dr scofield (aka dirk husemann)
3195af39a7
cleaning up RegionReadyModule:
...
- wrong namespace
- converted to "new" region module
2009-08-31 14:59:28 +02:00
Melanie
9e6684661a
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-08-31 11:58:49 +01:00
Melanie
090868ff4a
Change the return value if the compiler to "object" to allow compilers
...
to return dynamic method objects
2009-08-31 11:42:54 +01:00
dr scofield (aka dirk husemann)
5209305615
oops. fixing missing argument.
2009-08-31 12:05:14 +02:00
dr scofield (aka dirk husemann)
86521adb7e
adding log message to vector render to inform about default font being used
2009-08-31 11:35:49 +02:00
dr scofield (aka dirk husemann)
953581698d
- making font name used by VectorRenderModule configurable: can be set
...
via
[VectorRender]
font_name = "Comic Sans MS"
in OpenSim.ini
- adding osSetFontName OSSL function
2009-08-31 10:30:10 +02:00
Jeff Ames
bbef5c344e
Remove typo version of ReplaceableInterface property from RegionCombinerModule.
2009-08-31 14:16:16 +09:00
Teravus Ovares (Dan Olivares)
9f2f3afe22
* Fixes a teleport issue when teleporting out of a region to a different one.
2009-08-30 02:49:50 -04:00
Teravus Ovares (Dan Olivares)
d4dd179547
* whoops, forgot the other class initializer.
2009-08-30 00:29:43 -04:00
Teravus Ovares (Dan Olivares)
59c8a02a24
* When the RegionCombinerModule is off, make borders have an infinite aabb perpendicular to the cardinal
2009-08-30 00:22:38 -04:00
Teravus Ovares (Dan Olivares)
2f40161f38
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-29 23:50:24 -04:00
Teravus Ovares (Dan Olivares)
efe737b895
Ok, merging the RegionCombinerModule with master.
2009-08-29 23:49:48 -04:00
Teravus Ovares (Dan Olivares)
33f36c9010
* Rename the RegionCombiner Module from PhysicsCombiner
2009-08-29 23:39:27 -04:00
Teravus Ovares (Dan Olivares)
44b7c39c93
* Fix the reason why physical vehicles have a problem in virtual regions.
2009-08-29 21:47:28 -04:00
Teravus Ovares (Dan Olivares)
3ccf3aba89
* Fixes looking up parcel permissions in virtual regions.
2009-08-29 16:24:03 -04:00
Teravus Ovares (Dan Olivares)
d45f871d8f
* Only lock the Borders when they're being changed, otherwise one avatar's movement could hinder another avatar's movement.
2009-08-29 03:36:41 -04:00
Melanie
1a6b30e092
Add a slow cache cleaner thread. By default, the thread starts a cleanup
...
sweep every 10 minutes. If any texture data is older than 12 hours, it is
regenerated and the memory cache is refreshed. After each decode, the thread
delays for 5 seconds.
2009-08-29 05:54:38 +01:00
Melanie
2a5b9f7740
the beginning of some changes to the decode cache to address concerns about
...
system load. This commit effectively disables expiration.
2009-08-29 05:29:54 +01:00
Melanie
4b2e62fd3c
Make the j2kDecodeCache expire after 50 minutes (configurable). Alse allows
...
setting the path for it. This commit introduces NEW DEFAULT BEHAVIOR. To
retain the old behavior (eternal cache) you will need to change your OpenSim.ini
and set the timeout to 0.
2009-08-29 04:35:18 +01:00
Melanie
976cf4284b
Fix up WebFetchInventoryDescendents to really return all data needed,
...
especially the folder version and the subfolders. Fixes inventory search
hang and folders not loading.
2009-08-29 03:26:44 +01:00
Teravus Ovares (Dan Olivares)
9eb8c14e87
* Deal with teleports to other virtual regions in the same scene.
2009-08-28 19:42:28 -04:00
Melanie
22a0dff226
Modify CAPS inventory code. Currently this is not executed
2009-08-28 23:28:32 +01:00
Arthur Valadares
3d6edc04a3
Implements osDrawPolygon, similar to already implemented osDrawFilledPolygon
2009-08-28 17:48:03 -03:00
Teravus Ovares (Dan Olivares)
ac718843d9
* Allow corner prim crossings. Previously this was only on a single cardinal direction
...
* Some leg work in getting avatar teleports into 'virtual regions' moved to the proper region.
2009-08-28 14:45:17 -04:00
Justin Clark-Casey (justincc)
33004b613d
Standardize FlotsamAssetCache header
...
Add mcortez to CONTRIBUTORS
Other minor tidy of CONTRIBUTORS
2009-08-28 18:12:30 +01:00
Justin Clark-Casey (justincc)
18c5dc0953
Try to cache system folders if they aren't already there when one is requested
...
This operation can be performed legitimately on standalones without a logged in user
2009-08-28 17:19:45 +01:00
Justin Clark-Casey (justincc)
7ff4c2e50b
Pull out distinct cache system folders and drop cache methods in InventoryCache
2009-08-28 17:07:17 +01:00
Justin Clark-Casey (justincc)
7f8df4242b
Correct build break
2009-08-28 12:58:10 +01:00
Justin Clark-Casey (justincc)
d649194be3
minor: formatting and comments
2009-08-28 12:52:40 +01:00
Justin Clark-Casey (justincc)
cf58c0ab08
minor: remove some commented out iar test code
2009-08-28 12:01:21 +01:00
Teravus Ovares (Dan Olivares)
65dda8a795
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-27 19:36:52 -04:00
Justin Clark-Casey (justincc)
d704e62b39
Remove OpenSim.ini comments from the top of FlotsamAssetCache.cs to avoid duplication and divergence with config-include/FlotsamCache.ini.example
2009-08-27 21:49:32 +01:00
Justin Clark-Casey (justincc)
40fbdaaac4
Apply http://opensimulator.org/mantis/view.php?id=3829
...
Fix file access violation on Flotsam cache
Thanks mcortez
2009-08-27 21:25:16 +01:00
Teravus Ovares (Dan Olivares)
6f077d5e5f
* Another attempt at fixing the random spurious test error.
...
* This time it might be the listening socket thread from HttpServer aborting with a non blocking thread abort exception. Hopefully calling Stop() on MainServer.Instance will solve that.
2009-08-26 21:05:46 -04:00
Teravus Ovares (Dan Olivares)
54e05a083d
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-26 11:48:05 -04:00
Jeff Ames
cf2d1b5c10
Add copy constructor to PhysicsVector.
2009-08-26 14:28:54 +09:00
Jeff Ames
256624566f
Formatting cleanup, minor refactoring.
2009-08-26 14:02:01 +09:00
Arthur Valadares
efb287f28f
Implemented osPenCap, that sets EndCap and StartCap to Pen. This allows using arrow, diamond, round and flat caps.
...
* Made image request safer, if it can't find an image for any reason, draws a square where the image should be and a message alerting the user.
2009-08-25 10:32:45 -03:00
Arthur Valadares
9c9fa51b0f
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into arthursv
2009-08-25 10:28:22 -03:00
Diva Canto
b03eeeb9f6
* Fixes mantis http://opensimulator.org/mantis/view.php?id=4044 . Turns out folders were never being removed from trash when they were singled out for purging in trash. They were being removed when Trash was purged as a whole. That behavior is now fixed for the new InventoryService set.
...
* Removed left-overs from AssetInventoryServer.
2009-08-22 10:24:26 -07:00
Arthur Valadares
7923fd29a0
Adds osDrawPolygon to OSSL. Works a little different then other OS Drawing functions, this one has no start and end point, but a number of points that will form the desired polygon. Only FilledPolygon implemented so far.
...
* Also added some LSL transparent type conversion, as it's done in LSL scripting (string to integer, float to string, etc)
2009-08-21 21:12:22 -03:00
Teravus Ovares (Dan Olivares)
e1b38ff001
* It turns out that Physics heightmap values were being stored in managed memory in _heightmap and using multiple heightmaps caused them all to overwrite each other and the last one was the heightmap for all of the regions. This fixes that. It also reduces the terrain resolution to half.
2009-08-21 13:22:49 -04:00
Jeff Ames
158ad39df0
Add copyright header. Formatting cleanup.
2009-08-21 15:47:55 +09:00
Diva Canto
31e7e1b5f9
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-20 22:37:06 -07:00
Diva Canto
e4f64dd714
Made HandleFetchInventoryDescendents async, so that the client thread doesn't wait for the download of the entire inventory.
2009-08-20 22:36:47 -07:00
Adam Frisby
bd7757de22
* oops. Mistake with value return.
2009-08-21 15:15:15 +10:00
Adam Frisby
f7c5eca978
* Moves NPC Creation across AppDomains to prevent a major perfomance issue.
2009-08-21 15:12:50 +10:00
Diva Canto
9e64427262
Putting the inventory packets back to ThrottleOutPacketType.Asset, because that didn't work.
2009-08-20 21:56:06 -07:00
Diva Canto
922007443e
Changed most of inventory packets to LowPriority, to see if that helps with freezing on searching large inventories.
2009-08-20 21:36:57 -07:00
Adam Frisby
98da8e9b16
* Make cache, actually cache.
2009-08-21 14:20:05 +10:00
Adam Frisby
29e2067ec3
* Implements a cache in NPCModule for Appearance.
2009-08-21 14:10:21 +10:00
Adam Frisby
25dbf16cfb
* Once more into the breach!
2009-08-21 13:44:20 +10:00
Adam Frisby
d4600eec4d
* Attempting to diagnose a connection bug.
2009-08-21 13:35:13 +10:00
Teravus Ovares (Dan Olivares)
64dcb71c14
* Fixes Terrain issues with combined regions.
2009-08-20 23:26:40 -04:00
Teravus Ovares (Dan Olivares)
c9b52cd0b6
* Adds PhysicsCombiner Module
...
* May rename this later
2009-08-20 23:25:40 -04:00
Adam Frisby
bce98f9670
* Fixing an issue with NPC's and Circuit Codes.
2009-08-21 13:12:51 +10:00
Adam Frisby
7ef3e5f41c
* Protip: Declare publically accessible functions, as public functions.
2009-08-21 11:43:45 +10:00
Adam Frisby
c7e140171e
* Addendum to previous
2009-08-21 11:35:19 +10:00
Adam Frisby
1740fd60b3
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-08-21 11:15:48 +10:00
Adam Frisby
01f394d203
* Fleshes more of NPCModule out.
...
* Implements some OSSL commands:
key osNpcCreate(string user, string name, vector position, key cloneFrom);
void osNpcMoveTo(key npc, vector position);
void osNpcSay(key npc, string message);
void osNpcRemove(key npc);
* Untested. Requires ThreatLevel.High.
2009-08-21 11:14:55 +10:00
Teravus Ovares (Dan Olivares)
181b992b4a
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-20 19:25:52 -04:00
Teravus Ovares (Dan Olivares)
b8d7663f54
* Deal with git thinking that file was changed even though it wasn't and it's blocking a pull
2009-08-20 19:25:37 -04:00
Teravus Ovares (Dan Olivares)
66c40dd3de
* Switch border cross tests over to the new Border class.
...
* Use List<Border> for each cardinal to allow for irregular regions.
2009-08-20 19:24:31 -04:00
Diva Canto
a3d895908f
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-20 16:19:02 -07:00
Diva Canto
118f710a79
Fixed a missing field in SendBulkInventoryFolderUpdate.
2009-08-20 16:18:32 -07:00
Adam Frisby
e83b00a3df
* Implements a bunch of stuff in NPCModule
2009-08-21 08:51:43 +10:00
Melanie
297393f349
Remove a load-order dependency in inventory transfer that was biting
...
Windows users
2009-08-20 21:05:00 +01:00
Melanie
4c8bcd2ff6
Add some output (at DEBUG level) to the message transfer module to aid
...
in tracking down an initialization failure.
2009-08-20 20:19:08 +01:00
Diva Canto
1604c9d19e
One more place fixed for setting the inventory folder owner. Thanks jhurliman.
2009-08-20 10:14:53 -07:00
Diva Canto
948c7ea20b
Commented T021_TestCrossToNewRegion because (1) it can fail on panda, and (2) it is not a meaningful representation of region crossing.
2009-08-19 18:08:20 -07:00
Diva Canto
6e35ddb0e9
Fixes GetItem and GetFolder for SQLite. Turns out some methods were no-op in SQlite. Fixes most grief in
...
http://opensimulator.org/mantis/view.php?id=4035
http://opensimulator.org/mantis/view.php?id=4027
2009-08-19 17:35:42 -07:00
Teravus Ovares (Dan Olivares)
289439c832
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-19 14:43:18 -04:00
Teravus Ovares (Dan Olivares)
de543002aa
Add Border (a virtual border management class)
...
Move Cardinals to it's own file.
2009-08-19 14:43:03 -04:00
Diva Canto
d519f1885f
Added MoveItems, which is most useful upon viewer-delete inventory operation. Moving a batch of items is a 1-time operation. Made it async anyway, so that the viewer doesn't wait in case the DB layer is dumb (which is the case currently).
2009-08-19 10:56:08 -07:00
Diva Canto
4382f28efc
Async purge so that the client thread doesn't wait.
2009-08-19 00:33:02 -07:00
Diva Canto
4818d11b9d
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-19 00:31:51 -07:00
Diva Canto
c5af39239f
A better purge of trash folder.
2009-08-19 00:13:51 -07:00
Diva Canto
e5f33e7505
GetFolderItems implemented. It's not being called, but it might.
2009-08-18 22:36:03 -07:00
Diva Canto
124f66bfc2
jhurliman's patch in http://opensimulator.org/mantis/view.php?id=4024
2009-08-18 22:17:47 -07:00
Jeff Lee
32cc00ec7b
osGetLinkPrimitiveParams fix
2009-08-18 20:05:27 -07:00
dahlia
465d1095dd
Added new OpenSim.ini setting: "client_throttle_max_bps" which overrides user's viewer network throttle settings
2009-08-18 17:06:14 -07:00
Teravus Ovares (Dan Olivares)
311b51a184
*remove conflicts
2009-08-18 11:09:43 -04:00
Teravus Ovares (Dan Olivares)
c54cb59a71
* Some Physics Scene Changes to prepare for larger regions
2009-08-18 11:05:07 -04:00
Diva Canto
d95d3b949b
Fixes mantis #4020 ( http://opensimulator.org/mantis/view.php?id=4020 )
2009-08-18 07:05:22 -07:00
Diva Canto
89cd8a99ed
Commented 2 tests in ScenePresenceTests, one because things were being done in the wrong order, and the other because it NEEDS the inventory service set up. Test-writers, please please please do the scene setup properly EVERYWHERE. It's close to impossible to rely on tests that don't setup resource service references!
2009-08-17 18:52:10 -07:00
Diva Canto
d7aa622050
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-17 15:28:16 -07:00
Diva Canto
df889855ec
Commented out one IAR test, because it's failing and needs attention from justincc or arthursv. I think the mock inventory service needs a little bit more beef.
2009-08-17 15:16:21 -07:00
Melanie
9ad3e72ae1
Did I say that i don't like git? Remove some stuff that shouldn't have
...
gone in.
2009-08-17 22:06:51 +01:00
Diva Canto
59b4cf2d5b
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-17 13:27:22 -07:00
Justin Clark-Casey (justincc)
0d7bcee560
no-op to poke panda
2009-08-17 20:25:14 +01:00
Justin Clark-Casey (justincc)
eb78ac343e
Apply http://opensimulator.org/mantis/view.php?id=3538
...
Add ability to silence IRC relay of region joins and quits from certain users
This is useful for admins who wish to remain hidden, or service bots.
Thanks RemedyTomm
2009-08-17 19:48:32 +01:00
Adam Frisby
30c4aa55e6
Added additional configuration options for MRM Security. See OpenSim.ini.example under the [MRM] section.
2009-08-18 00:58:42 +10:00
Adam Frisby
58d9d6026e
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-08-18 00:23:27 +10:00
Adam Frisby
8c101d24df
* Implementing a bunch of Unimplemented MRM stubs.
2009-08-18 00:23:02 +10:00
Diva Canto
fa8a94577a
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-17 05:55:38 -07:00
Melanie
644db1e540
Add System.Xml reference to the console project
2009-08-17 09:40:38 +01:00
Melanie
3d7bb7567c
Add the ability to use -console=rest to the region server. User
...
and pass are specified the same way as for the ROBUST server
2009-08-17 09:21:39 +01:00
Diva Canto
50056871b8
IAvatarFactory.UpdateDatabase gets the assetID and not the object's inworld UUID.
2009-08-16 19:35:14 -07:00
Diva Canto
550d0e434f
Removing the conditional for assetID=Zero upon rezzing attachments on login.
2009-08-16 19:21:19 -07:00
Jeff Ames
82c888fc6c
Add copyright headers. Formatting cleanup. Fix a compiler warning.
2009-08-17 10:29:06 +09:00
Diva Canto
5d47e08dad
Removed some debug messages
2009-08-16 17:11:20 -07:00
Diva Canto
e02062051d
Making attachments work again. Tons of debug more. This needs more testing and a lot of cleaning.
2009-08-16 16:17:19 -07:00
Jeff Ames
58d2775ff2
Add copyright header. Formatting cleanup.
2009-08-17 02:05:12 +09:00
Jeff Ames
ad02aefaee
Fix argument index in log4net call. ( fixes #4003 )
2009-08-17 01:46:00 +09:00
Adam Frisby
e5b94346b6
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-08-17 02:25:24 +10:00
Adam Frisby
fa921ec147
* Implements AppDomain Security for MRM Scripts.
...
* Added permissionLevel attribute to [MRM] section in OpenSim.ini. Default is 'Internet', however may be any of the following (case sensitive), FullTrust, SkipVerification, Execution, Nothing, LocalIntranet, Internet, Everything. For previous functionality, set to FullTrust or Execution.
2009-08-17 02:25:00 +10:00
Teravus Ovares (Dan Olivares)
acc14c472d
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-16 12:15:14 -04:00
Teravus Ovares (Dan Olivares)
5e391b9f7c
* ShortVersion, another attempt at fixing the test thread death that randomly occurs.
...
* LongVersion nIni may be causing the test thread death. Pausing OpenSimulator during startup causes a nIni error that makes debugging startup operations difficult for users. It might be because when it's in pause mode, something else reads from the nini config passed? If it is, it might not be fixable.. however, if it's concurrency that causes nini death it would make sense to give each section of the tests a new IConfigSource so that they don't read from the same configsource at the same time.
2009-08-16 12:14:49 -04:00
Teravus Ovares (Dan Olivares)
4eeab4097a
* minor: comments
2009-08-16 12:10:06 -04:00
Diva Canto
6808b9109e
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim into inventory-connector
2009-08-16 08:59:58 -07:00
Adam Frisby
cbd454d692
* Implements ISecurityCredential member on SPAvatar, SPAvatarAttachment
...
* Disables 'event not used' warning for IRCClientView; cuts OpenSim total warnings back.
2009-08-16 22:01:18 +10:00
Adam Frisby
c2be3edd2d
* Refactor: Moves IAvatarAttachment into IAvatarAttachment.cs instead of IAvatar.cs
2009-08-16 21:49:53 +10:00
Adam Frisby
b28e826541
* Implements ISecurityCredential on all uses of SOPObject.cs except Avatar Attachments.
2009-08-16 21:41:57 +10:00
Adam Frisby
adae13cd18
* [MRM] Added permission checks to MRM Events (ie, requires edit permission to bind to OnTouch)
2009-08-16 21:36:33 +10:00
Adam Frisby
8621dc405e
* Fixes potential NulRef in MRM Security Checks.
2009-08-16 21:23:39 +10:00
Adam Frisby
aea4d7c63b
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-08-16 21:21:38 +10:00
Adam Frisby
975c49a399
* [MRM] Implements permission checks on IObject implementations in SOPObject.cs. Does not implement security on IObjectInventory yet.
2009-08-16 21:20:45 +10:00
Jeff Ames
2b630470b0
Add copyright headers. Formatting cleanup.
2009-08-16 17:30:13 +09:00
Jeff Ames
9d9fcac038
Misc cleanup.
2009-08-16 17:14:21 +09:00
Adam Johnson
a42569d896
Thanks dmiles for a patch that adds PacketType.RequestMultipleObjects Packet Handler - ref mantis #4010
2009-08-16 15:06:06 +09:00
Diva Canto
710a15845c
Merge branch 'master' into inventory-connector
2009-08-15 15:08:04 -07:00
Diva Canto
19e45466f2
Changed one word in a comment
2009-08-15 14:57:24 -07:00
Melanie
973be65945
Merge branch 'master' of ../opensim-diva/ into inventory-connector
2009-08-15 19:00:56 +01:00
Adam Frisby
8b6d79aa3c
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2009-08-16 03:50:12 +10:00
Adam Frisby
9090a90769
* Beginnings of a Security Credential system in MRM. This will eventually lead to trusted execution of untrusted MRMs.
2009-08-16 03:48:16 +10:00
Teravus Ovares (Dan Olivares)
30ce56e721
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-15 13:10:21 -04:00
Teravus Ovares (Dan Olivares)
8000812700
* part one of adding physics combining
2009-08-15 13:10:10 -04:00
Diva Canto
1bbf06405c
Changed FromAssetID to FromItemID
2009-08-15 09:36:45 -07:00
Diva Canto
dd8b9d5810
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-15 08:21:15 -07:00
Teravus Ovares (Dan Olivares)
ddac88da6a
* whoops, missing a /
2009-08-15 00:29:34 -04:00
Teravus Ovares (Dan Olivares)
72c2819c53
* Comment out XEngineTest that doesn't appear to test anything. It just creates a scene named 'My Test' which just happens to be the last scene displayed in the nunit log before it goes boom.
2009-08-15 00:22:18 -04:00
Teravus Ovares (Dan Olivares)
95be3eccd2
* minor: comments
...
* also re-trigger panda
2009-08-15 00:01:58 -04:00
Teravus Ovares (Dan Olivares)
f208628667
* minor : Comments
...
* Also re-trigger Panda.
2009-08-14 21:37:25 -04:00
Teravus Ovares (Dan Olivares)
2f61fb0243
* minor : comments
...
* also re-trigger panda
2009-08-14 21:19:04 -04:00
Teravus Ovares (Dan Olivares)
1b933c9116
* Put the StandaloneTeleportTest in a new thread and call Thread.Join() inside a try/Catch (ThreadAbortException) to try and get around scene code aborting the testing thread. Use a Messenger class to report the results back to the test thread.
2009-08-14 19:12:42 -04:00
Diva Canto
cd444c1e82
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-14 14:04:15 -07:00
Justin Clark-Casey (justincc)
e17a2331a0
* Re-enable TestLoadIarV0_1ExistingUsers()
2009-08-14 20:38:56 +01:00
Justin Clark-Casey (justincc)
ff28ecee1b
Re-enable TestSaveIarV0_1()
...
Implement more parts of TestAssetService
2009-08-14 20:07:13 +01:00
Justin Clark-Casey (justincc)
3e94eecc5c
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-08-14 20:00:24 +01:00
Justin Clark-Casey (justincc)
a668a5b0d3
Add standard doc and standard doc formatting to IAssetService
2009-08-14 19:59:42 +01:00
Diva Canto
46116864b9
Returning UUID.Zero is scene and user profile service are null in GetSession. This doesn't fix the underlying problem of these things being null -- they shouldn't be.
2009-08-14 11:50:42 -07:00
Diva Canto
bb513c1d88
Changed the way to get to the profile service. Changed GetSystemsFolder in HGBroker.
2009-08-14 11:32:25 -07:00
Teravus Ovares (Dan Olivares)
7554641703
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-14 14:16:02 -04:00
Teravus Ovares (Dan Olivares)
dce81225c5
* allocate the dictionary for AgentCircuitData.ChildrenCapSeeds when creating the circuitdata object to see if it's the cause of a null reference exception in the TestAddNeighbourRegio test
2009-08-14 14:15:49 -04:00
Justin Clark-Casey (justincc)
957962b482
Remove NRE catching on TestReplicateArchivePathToUserInventory() since race failure now appears to have gone
2009-08-14 19:06:24 +01:00
Diva Canto
c56e51a6e3
More debug messages.
2009-08-14 10:29:29 -07:00
Diva Canto
70d7c97e94
Doing session lookup in the right way.
2009-08-14 09:57:18 -07:00
Diva Canto
332d1b5f2f
Additional debug messages, and bug fix in RemoteInventoryServiceConnector.cs, where the scene reference wasn't being set.
2009-08-14 08:43:46 -07:00
Melanie
a851b68333
Remove one more sponsor reference
2009-08-14 14:27:56 +01:00
Melanie
7a2a2e68e7
Remove the script sponsor logic because scripts are timing out again.
...
This needs to be looked into. This commit, unfortunately, reinstates
a memory leak in regions that see significant script fluctuation,
e.g. lots of scripted attachments, or script development.
2009-08-14 14:18:56 +01:00
Teravus Ovares (Dan Olivares)
6ece8d86e0
Deal with possible race in TestAddNeighborRegion in ScenePresenceTests
2009-08-13 23:06:29 -04:00
Diva Canto
21b5ebdc1f
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-13 19:11:38 -07:00
Melanie
73b0cf492d
Add some extra info to script load messages
2009-08-14 01:35:14 +01:00
Diva Canto
034c9cf606
Added GetAssetPermissions. Few last bugs nixed. This is ready for testing.
2009-08-13 17:34:15 -07:00
Diva Canto
5246dc33dc
Renamed QueryItem/QueryFolder to GetItem/GetFolder. The word 'query' starting to get on my nerves.
2009-08-13 14:10:12 -07:00
Diva Canto
6b9cc6c48d
Inventory redirects from CachedUserInfo to InventoryService COMPLETE!
2009-08-13 11:30:29 -07:00
Diva Canto
6a0f7c2275
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-13 06:31:24 -07:00
Melanie
3669115d60
Some small fixes
2009-08-13 13:25:33 +01:00
Melanie
0f3f2e1dc0
Add reference to the profile module in the avatar profiles handler, plus
...
an example of how to override legacy core data with data retrieved from
the profile module
2009-08-13 13:19:12 +01:00
Jeff Ames
1123a326ab
Formatting cleanup. Fix some compiler warnings.
2009-08-13 15:43:24 +09:00
Diva Canto
b0292d59a5
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-12 20:40:49 -07:00
Diva Canto
7aa54593e0
Redirected all calls to CachedUserProfile methods to the inventory service. Redirection of the RootFolder property is still todo. This compiles but probably inventory will be inconsistent.
2009-08-12 20:39:48 -07:00
Teravus Ovares (Dan Olivares)
6c1adbf9a5
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-12 22:55:21 -04:00
Teravus Ovares (Dan Olivares)
b47e405420
* minor: Comments
2009-08-12 22:54:57 -04:00
Jeff Ames
50f29752f5
Formatting cleanup. Add copyright headers.
2009-08-13 11:48:39 +09:00
Diva Canto
41ad610f3e
* Added two new packet handler implementations for inventory ops. This is starting to work! - but can't be activated incrementally, the flip needs to be global for all inventory ops.
...
* Added a base inventory connector that does common processing of inventory among all reference connector implementations. E.g. AddItem requires additional processing before being forwarded to service.
* Added if (m_Enabled) upon RemoveRegion
2009-08-12 13:11:15 -07:00
Diva Canto
b3b506cba2
Better test for dropping inventory cache and writing out debug messages.
2009-08-12 09:31:33 -07:00
Diva Canto
10d923dbea
Fixes a race condition in EQ processing that was making EQs pop up again upon client close.
...
Commented remote call on GetSystemFolders again, so that it's not live yet.
2009-08-11 16:47:36 -07:00
Diva Canto
bf3f376b10
Fixed test for detecting when user is no longer in sim.
2009-08-11 12:55:46 -07:00
Diva Canto
764ec7ba0a
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-11 12:31:02 -07:00
Justin Clark-Casey (justincc)
fdd0ce68b3
Do new inventory module setup, which is why the test was failing (not the original race condition, hopefully!)
...
Still always catching the NRE for now pending analysis
2009-08-11 20:09:35 +01:00
Diva Canto
dc897b2288
Merged with origin, and resolved one conflict in LoginServiceTests.cs
2009-08-11 10:51:49 -07:00
Diva Canto
263f32a493
Improved test for system folders. Removed log messages.
2009-08-11 10:42:44 -07:00
Diva Canto
31419a70ce
System folders inventory cache added to OUT inventory modules. This tracks agents in and out of *sims* in order to fetch/drop their system folders from the cache. Also added region-side support for fetching the system folders from the inventory service. Nothing of this is called yet.
2009-08-11 10:30:03 -07:00
Justin Clark-Casey (justincc)
2dbdb7e036
Re-enable TestReplicateArchivePathToUserInventory() but stop it failing on the NRE for now
...
Add temporarily logging for diagnosis
2009-08-11 17:49:52 +01:00
Justin Clark-Casey (justincc)
655438a59d
Apply http://opensimulator.org/mantis/view.php?id=1448
...
Store and retrieve user profile url at runtime
Not yet persisted
Thanks Fly-Man
2009-08-11 17:29:15 +01:00
Justin Clark-Casey (justincc)
f9b60f5c34
Disable test again. Ho hum.
2009-08-11 17:05:01 +01:00
Justin Clark-Casey (justincc)
39c9f681ab
re-enable just TestReplicateArchivePathToUserInventory() for now to find out if the race condition has been vanquished
2009-08-11 16:55:45 +01:00
Justin Clark-Casey (justincc)
226c082ed4
Establish CachedUserInfo.OnInventoryReceived event so that region/test inventory code can be written with the async inventory fetch
2009-08-11 16:45:16 +01:00
Arthur Valadares
18aa2ea0c5
* Improves SceneSetupHelper to allow the tester to choose a real or mock, inventory and asset, service modules. The boolean startServices was replaced with realServices string. If the string contains the word asset, it will start a real asset module, if it contains inventory, it starts a real inventory. Otherwise, it use mock (NullPlugin-like) objects, for tests that don't really need functionality.
...
* SetupScene is now actually sharing the asset and inventory modules if the tester wishes to have multiple regions connected. To link regions, just start SetupScene with the same CommunicationManager for all scenes. SceneSetupHelper will hold a static reference to the modules and won't initialize them again, just run the scenes through the modules AddRegion, RegionLoaded and PostInitialize.
* With the recent changes, both asset and inventory (and in the future, user) services should always be asked from the scene, not instantiated alone. The tests should reflect this new behavior and always start a scene.
2009-08-11 12:07:54 -03:00
Diva Canto
cdcbc48534
Added two new methods to IIventoryService -- GetFolderForType and GetFolderContent. Some meat to it, but not completed. None of this code is called anywhere yet.
2009-08-10 20:31:51 -07:00
Diva Canto
9f95ec4998
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-10 16:02:33 -07:00
Diva Canto
0c47f8e7ab
Changed RequestRootFolder to GetRootFolder
2009-08-10 16:02:09 -07:00
Melanie
eba23048ca
Replace the Replaceable modules name
2009-08-10 23:08:22 +01:00
Diva Canto
43b7e67288
Et voila! - Old inventory code removed.
2009-08-10 10:58:43 -07:00
Diva Canto
5d2a157e64
First pass at cleaning up old OGS1 and Local Inventory: removed everything-inventory in CommsManager, which wasn't actively used anymore.
2009-08-10 10:48:21 -07:00
Jeff Ames
3e247a8eaa
Minor: formatting cleanup.
2009-08-11 00:32:59 +09:00
Jeff Ames
8863092f7c
Split BasicPhysics classes into separate files.
2009-08-11 00:32:59 +09:00
Diva Canto
0d8284c7a1
Removed IAssetCache.
...
WARNING: PLEASE MAKE SURE TO USE THIS NEW bin/OpenSim.addin.xml
2009-08-10 08:14:57 -07:00
Diva Canto
a5a5e44246
Re-removing 2 lines that got added back on Melanie's commits. git hickup.
2009-08-09 15:17:42 -07:00
Melanie
474f58faf5
Finish the renaming and mae things compile again
2009-08-09 22:25:15 +01:00
Melanie
11d72f270d
Rename UserData to UserAccount data
2009-08-09 21:53:11 +01:00
Diva Canto
6a6dd66129
More removal of HG2 code, this time authentication module and handlers.
2009-08-09 14:21:47 -07:00
Jeff Ames
bc6ec3b564
Formatting cleanup.
2009-08-09 00:43:13 +09:00
Teravus Ovares (Dan Olivares)
e88903f481
* Fix one physics crash for regions larger then 512mx512m
2009-08-08 10:38:53 -04:00
Teravus Ovares (Dan Olivares)
b5727a1d77
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-08 00:10:38 -04:00
Teravus Ovares (Dan Olivares)
bff26ccdbb
* More tweaking of the various services to work with nonstandard region sizes. * Now, what's available of the terrain will show and it'll be truncated if it's larger on Linden Clients. Parcel minimum is 64 (256/4) for the client to accept it.
2009-08-08 00:10:19 -04:00
Melanie
7fc9358ec3
Patch from otakup0pe:
...
A better solution for making the FreeSwitch module cooperate with
existing installations
2009-08-08 03:29:00 +01:00
Melanie
0b0ed200f6
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-08-08 01:43:28 +01:00
Teravus Ovares (Dan Olivares)
d842c1d459
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-07 20:32:23 -04:00
Teravus Ovares (Dan Olivares)
2b990a61bf
This is the second part of the 'not crash on regionsize changes'. This lets you configure region sizes to be smaller without crashing the region. I remind you that regions are still square, must be a multiple of 4, and the Linden client doesn't like anything other then 256. If you set it bigger or smaller, the terrain doesn't load in the client, the map has issues, and god forbid you connect it to a grid that expects 256m regions.
2009-08-07 20:31:48 -04:00
Melanie
0d2167b6db
Update threat level description
2009-08-08 00:53:34 +01:00
Teravus Ovares (Dan Olivares)
c8a68fb3fb
* Remove hard coded 256 limitations from various places. There's no more 256m limitation within the OpenSimulator framework, however, the LLClient ClientView does not support regions larger then 256 meters so, if you try and make your region larger by setting Constants.RegionSize = 512; in OpenSim.Framework.Constants.cs, the terrain will not display on clients using the LLUDP protocol
2009-08-07 18:40:56 -04:00
Melanie
9337a94f33
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-08-07 23:06:52 +01:00
Melanie
257ed4c4ac
Remove debugging output frm ini file loading. Make it collect matching
...
files only from last path component.
2009-08-07 23:05:16 +01:00
Melanie
a1a09297bc
Silly error, simple fix
2009-08-07 22:40:58 +01:00
Melanie
e1427b4c3f
Try another way to canonicalize the path that may work in Windoze
2009-08-07 22:37:41 +01:00
Melanie
6c6527caae
Thank you, Godfrey, for a patch that implements osGetLinkPrimitiveParams
...
Fixes Mantis #3979
Applied with changes. Changed ThreatLevel to High since all discovery
functions are a high threat. Overriding that is the responsibility
of the grid owner.
2009-08-07 21:51:03 +01:00
Melanie
ad0d2fea20
Experimental! Implement ISponsor in ScriptInstance
2009-08-07 21:30:21 +01:00
Melanie
d10f157183
Remove GetFullPath call from config includes, because it barfs in Windoze
2009-08-07 20:51:07 +01:00
Melanie
4ee8d8a813
Another stab at cmickeyb's patch for script GC.
...
Moved the Close() for the appdomain-hosted parts into a new destructor
on ScriptInstance.
2009-08-07 20:43:23 +01:00
Melanie
2148f84e1e
Temporailiy add some info output in config load
2009-08-07 20:18:04 +01:00
Melanie
178b40971a
Add a method to init the OSSL Api's m_LSL_Api member back to the OSSL Api
2009-08-07 19:50:47 +01:00
Melanie
3219e648cc
From: Snowcrash <Snowcrash.short@gmail.com>
...
Date: Wed, 5 Aug 2009 12:45:56 +0200
Subject: [PATCH] A few minor tweaks to the MRM API's in order to make it possible for MRM's to run in a separate AppDomain without poluting the primary appdomain of OpenSim
Specifically:
Added an explicit method for getting the "globals" of the MRM, removing the need to have the MRM script code loaded into the primary domain, in order to set up proxies
Added a [Serializable] attribute to TouchEventArgs, again in order to remove the need to have MRM script code loaded into the primary domain.
---------
Applied with whitespace changes
2009-08-07 19:04:20 +01:00
Melanie
7811bceb8f
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-08-07 19:01:27 +01:00
Sean Dague
ca5da5face
Merge branch 'groups-core-contrib' of git://github.com/mcortez/opensim into incoming
2009-08-07 11:07:41 -04:00
Melanie
cb10700a1f
Make the opensim.ini logfile option really work (port of a fix from ROBUST)
2009-08-07 14:15:59 +01:00
Adam Frisby
270ae50d70
* Implements MRM's Stop() interface member.
...
* MRM Scripts should do appropriate cleanup within this event, to allow for clean shutdowns and script updates. This means unbinding from events you are listening to, and releasing any resources.
2009-08-07 14:17:51 +10:00
Melanie
e49abf446a
Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim
2009-08-07 03:05:46 +01:00
Melanie
f8d8366bfa
Revert the XEngine memleak patch, it causes premature GC.
...
This matches behavior seen with an earlier attempt to do this, apparently
the sponsor mechanism does't work in Mono
2009-08-07 03:04:06 +01:00
Diva Canto
53ba245967
HGAuthenticationService must be a singleton, because it has in-memory state. This makes this singleton register with IScene, so that other parts can retrieve its reference.
2009-08-06 18:43:53 -07:00
Diva Canto
ea940d98f9
Added ToXml2() to ISceneObject, so that components other than regions can use this abstraction.
2009-08-06 16:41:24 -07:00
Melanie
91f6898b26
|From: James J Greensky <jame.j.greensky@intel.com>
...
|Date: Wed, 5 Aug 2009 09:51:52 -0700
|Subject: [PATCH] Closed two major memory leaks for scripted objects
|
|Two major memory leaks for the scripted objects were fixed
|- One leak had to do with remoting acrossing app domains. When a script and
| its controlling agent communicate across an application boundary, it calls
| functions on a stub proxy object that then invokes the remote method on
| the object in the other app domain. These stub objects (two for each script)
| were setup to have infinate lifetimes and were never being garbage collected.
|- The second leak was the result of adding a scene object part instance method
| to a scene event and never removing it. This cause the event's delegate list
| to maintain a link to that object which is then never freed as the scene event
| object is never destroyed.
Patch applied, please direct feedback to me. Possible issue: Longtime idle
scripts like vendors may fail.
2009-08-06 22:03:20 +01:00
Justin Clark-Casey (justincc)
615e1ed285
goose panda
2009-08-06 20:04:40 +01:00
Justin Clark-Casey (justincc)
07e6a492a1
Disable all IAR tests for now due to possible failure-causing race condition
2009-08-06 19:35:52 +01:00
Michael Cortez
2ac04cb624
Merge branch 'master' into groups-core-contrib
2009-08-06 09:38:51 -07:00
Michael Cortez
6244b8c384
Fixing comments re: INI file.
2009-08-06 09:34:30 -07:00
Melanie
efc57bc3d7
Allow arbitrary wildcards in config includes. Things like
...
Include-Modules = "addin-modules/*/config/*.ini" will now work.
Adds Util.Glob, which will resolve a globbed path into a string list.
2009-08-06 02:29:12 +01:00
Michael Cortez
c73a6ab7e0
Continue with renaming of Groups module components
2009-08-05 14:56:48 -07:00
Michael Cortez
6c65b990a2
Fixes mono Add-In references for the OptionalModules add-in so that groups doesn't throw errors, and so that the add-in is correctly reported as "OptionalModules" rather then as "SampleMoney"
2009-08-05 13:20:46 -07:00
Melanie
e8b0f7cf5d
Remove bad assembly identification tag
2009-08-05 20:37:10 +01:00
Justin Clark-Casey (justincc)
bc6de6f5f0
Disable TestReplicateArchivePathToUserInventory() pending more investigation
2009-08-05 20:05:22 +01:00
Justin Clark-Casey (justincc)
07e00e110d
Reinstate TestLoadIarV0_1ExistingUsers(), removing unnecessary wait
2009-08-05 19:38:45 +01:00
Michael Cortez
989517725d
Begin refactoring XmlRpcGroups to a more generic Groups module that allows for replaceable Groups Service Connectors.
2009-08-05 11:15:53 -07:00
Justin Clark-Casey (justincc)
9e5736eeec
insert a little more debug info for TestReplicateArchivePathToUserInventory()
2009-08-05 19:06:07 +01:00
Justin Clark-Casey (justincc)
f8d8f07cb4
Remove waiting in TestReplicateArchivePathToUserInventory() since local inventory loading is synchronous
...
Insert a little more debugging info in case the occasional failure reoccurs
2009-08-05 18:59:44 +01:00
Justin Clark-Casey (justincc)
1b65bd5861
Recomment TestReplicateArchivePathToUserInventory() for now due to occasional test fail
2009-08-05 18:21:22 +01:00
Justin Clark-Casey (justincc)
9e0f1b7fef
reinstate TestSaveIarV0_1()
2009-08-05 18:01:18 +01:00
Justin Clark-Casey
e5904c3883
remove some more mono compiler warnings
2009-08-05 17:39:32 +01:00
Justin Clark-Casey
190bdc8a2e
* Remove some mono compiler warnings
2009-08-05 17:33:23 +01:00
Justin Clark-Casey
3323413f53
reinstate TestReplicateArchivePathToUserInventory()
2009-08-05 17:17:20 +01:00
Justin Clark-Casey
bfc705766b
Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
2009-08-04 19:01:01 +01:00
Justin Clark-Casey
7f5a4bbc26
* Small commented out debug message for module loading, partly to test my ability to commit with git
2009-08-04 19:00:20 +01:00
dr scofield (aka dirk husemann)
4ffc284a36
trying to fix rare timer related exception.
2009-08-04 17:24:32 +02:00
Alan Webb
068f54725b
Slight change to state management for attach scheduling.
...
Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-08-04 11:44:22 +02:00
Alan Webb
9ffe4d850e
This change adds support for the attach event in scripts.
...
[1] Added a new OnAttach event to Scene/EventManager
[2] Hooked up existing attach event handler in XEngine.
[3] Modified SceneGraph and Scene.Inventory to trigger
attach events at the appropriate places. I was forced
to distribut the changes across two files because of
the way attach processing is distributed across the
two files.
[4] In the case of RezSingleAttachmentFromInventory it is
necessary to handle event scheduling in a special way.
There is no synchronous path available, so the fact
that this object is attached, and who it is attached to,
is cached when the ScriptInstance is created. When
the script is started, the attached handler is driven
after on_rez (but before changed, this should be reviewed).
Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-08-04 11:41:06 +02:00
dahlia
21e62e87c7
starting to refactor path generation out of prim extrusion
2009-08-03 22:59:47 -07:00
Melanie
c3dd98b016
Revert the #3899 patch and it's two follow ups
2009-08-04 05:03:32 +01:00
Melanie
1d8df738f6
Update a misspelled name
2009-08-04 04:57:08 +01:00
Melanie
2b8c3f8519
Change the freeswitch out connector (which is pointless) to an in connector
2009-08-04 04:32:44 +01:00
Melanie
afc318f30b
Add the region module shell for the new freeswitch service
2009-08-04 04:25:17 +01:00
Melanie
17bdc45c5c
Add plumbing for the SceneObjectDeleter to wait for the script engine to
...
allow final deletion of objects. Meant to support the attach(NULL_KEY) event,
2009-08-04 03:17:13 +01:00
Melanie
1f90d2a2c6
If the FreeSwitch context is unset or "public", then accept any context.
...
This restores the "out of the box" functionality.
2009-08-04 00:43:49 +01:00
Melanie
fa20a2685b
Output the Freeswitch context received and the context set up in the
...
debugging message so a mismatch can be corrected more easily
2009-08-04 00:38:20 +01:00
Teravus Ovares
4cbf0444df
* Tweak the caps manager so that the NPCAvatar works again.
2009-08-01 14:26:00 +00:00
Jeff Ames
4ce5c894cf
Add copyright header. Formatting cleanup.
2009-08-01 05:11:47 +00:00
Teravus Ovares
ae8d3ab22e
* Fix a locking issue in the EventQueue
2009-07-31 20:53:35 +00:00
Teravus Ovares
23a8895d29
* Fixed another potential httpserver leak.
2009-07-30 18:16:00 +00:00
Melanie Thielker
22a533b675
Thank you, dmiles, for a patch that allows more differentiated script
...
permissions for YP scripts.
2009-07-30 15:38:42 +00:00
Dahlia Trimble
6c94ce1cca
Flag certain meshes to avoid vertex list compaction. This should help speed up meshing time at startup.
2009-07-30 07:06:23 +00:00
Teravus Ovares
a8246bc57e
* Remove and comment out old and unneeded parts of the old TextureDownload and UserTextureDownloadService modules.
...
* These have been mostly replaced by the PriorityQueue sender in LLClientView (it was still using threads and poll processing!)
* Thread Reduction!
* Might have been sending more image packets then necessary previously, texture times 2. We'll see if this reduces the texture packet load.
2009-07-30 06:27:45 +00:00
Teravus Ovares
f727f26bcc
* An attempt to fix mantis #3953
2009-07-29 20:32:54 +00:00
Melanie Thielker
cbeebc209d
Thank you, coyled, for a patch to change Flotsamcache path generation
...
to avoid directory overflow.
2009-07-29 17:21:36 +00:00
Melanie Thielker
cabda86615
Patch from Kai Ludwig: Fix prim drawing on maptile.
2009-07-29 16:32:56 +00:00
Teravus Ovares
032aeb8b5d
* Adds the ability to have a thread efficient long poll service (such as the eventqueue)
...
* If this doesn't melt the Http Server, this will significantly reduce the number of threads in use on regions with many users.
* Adds AddPollServiceHTTPHandler, and RemovePollServiceHTTPHandler to BaseHttpServer
* Generic enough to be used for many long poll services, not only the EventQueue.
2009-07-29 02:15:45 +00:00
Melanie Thielker
f94985a939
Add the missing block to the alert message
2009-07-28 20:27:31 +00:00
Melanie Thielker
aa06d9f98b
Add the new StatusData block to the other two searchh packets
2009-07-28 19:28:01 +00:00
Melanie Thielker
64c874a951
Fix a null data block in DirClassifiedReply packet, preventing a session
...
crash in search.
Fixes Mantis #3952
2009-07-28 18:46:45 +00:00
Melanie Thielker
b008865110
Thank you, mcortez, for a patch to correct a folder bloat issue in the
...
Flotsam Asset Cache.
Fixes mantis #3950
2009-07-28 17:20:51 +00:00
Jeff Ames
a1786d4c39
Formatting cleanup.
2009-07-28 09:40:07 +00:00
Melanie Thielker
aec16c2a0a
Than you, otakup0pe, for a patch to correct llSetPos & friends' behavior
...
for child prims.
Fixes Mantis #3931
2009-07-27 23:13:31 +00:00
Melanie Thielker
3038efcc47
Preserve the creator of items copied in inventory.
...
Fixes Mantis #3946
2009-07-27 21:25:33 +00:00
diva
5ca02f0a08
This does NOT address the issue in mantis #3940 , but it may avoid the exception reported there by WiLLuMPJuH Huisman pertaining to TeleportFailedPacket.
2009-07-27 19:20:48 +00:00
Teravus Ovares
5ae1ad995d
* Fix Groups Module Null Reference when you were not a member of any group.
2009-07-25 17:29:25 +00:00
Melanie Thielker
7317bd7675
Correct an issue in group packet sending that causes a nullref with
...
libomv-0.7.
2009-07-25 16:55:11 +00:00
Teravus Ovares
64bd9a3354
* Updates libOMV to version 0.7.0
...
* Uses mantis #3811 as a base (thanks jhuliman) with changes.
* E-mail regarding interface changes sent to the opensim-dev list
* Archive: https://lists.berlios.de/pipermail/opensim-dev/2009-July/007219.html
2009-07-25 15:49:10 +00:00
Justin Clarke Casey
a7c8948292
* Apply http://opensimulator.org/mantis/view.php?id=3855
...
* Prevent session crashes when something goes wrong with group invite.
* Thanks mcortez.
2009-07-24 20:08:26 +00:00
lbsa71
169a353cca
* minor ccc
2009-07-24 06:59:27 +00:00
Arthur Valadares
7bf59c551e
* Updates RESTInterregionComms and LocalInterregionComms to the new region module interface. This fixes an issue where region references were being added but weren't being deleted,
...
causing those "unnotified circuit" messages.
* Also fixes tests accordingly
- Fixes Mantis #3452
- Fixes Mantis #3388
- Fixes Mantis #3871
- Related to Mantis #3493
2009-07-23 16:57:41 +00:00
Jeff Ames
a133e83f3a
Formatting cleanup.
2009-07-23 15:32:11 +00:00
Melanie Thielker
4b84bdb77e
Thank you, patnad, for a patch to advance the UrlModule's functionality.
...
Mantis #3712
2009-07-22 22:16:37 +00:00
Teravus Ovares
c42d5feee3
* Fix SStats under the new HttpServer. (.ajax files are apparently reserved)
2009-07-22 15:48:58 +00:00
Teravus Ovares
e2e43f1ab7
* Whoops, forgot the water heightfield.
2009-07-22 04:11:51 +00:00
Teravus Ovares
9f4b8260c2
* Exclude heightfield geom from the raycast test.
...
* Fixes mantis #3922
2009-07-22 04:04:30 +00:00
Melanie Thielker
7c747035ff
Thank you, MarcelEdward, for a patch to add paying group join fees.
...
Applied with changes (original patch would not compile)
Whitespace changes removed
Fixes Mantis #3926
2009-07-21 23:57:56 +00:00
Teravus Ovares
c243ae43f2
* Updated C# WebServer to the latest available source download (r19869) and applied a few mods from the old version (now up on opensim-libs (VS 3.5 project).
...
* Made various changes to BaseHttpServer to accommodate the new interfaces.
* This version has been significantly re-architected and may fail in unusual and insidious ways.
* Please pay attention to any errors you get and post a Mantis if you can reproduce an issue with the HTTPServer. I'm including the pdb and having the http server compiled in debug for a few weeks so that when an error occurs, it'll print the pertenant data.
* Once again, this is the full C# WebServer, not the lite branch that is included in LibOMV (we need SSL!)
2009-07-21 06:47:29 +00:00
Teravus Ovares
156c393a44
* nothing in this commit, re-triggering panda.. which crashed while testing.
2009-07-21 03:28:12 +00:00
Teravus Ovares
5c8fe5c01c
* Fixed a case where a prim was a NullPhysicsActor instead of an OdePrim
...
* Commented logic that wasn't being used.
* This should fix the errors in OdeScene.near
2009-07-21 03:18:19 +00:00
Teravus Ovares
cf712075e5
* Remove a noisy debug console message that was used for testing the camera constraints. Ooops.
2009-07-19 02:41:32 +00:00
Teravus Ovares
08819bcbea
* Created a way that the OpenSimulator scene can ask the physics scene to do a raycast test safely.
...
* Test for prim obstructions between the avatar and camera. If there are obstructions, inform the client to move the camera closer. This makes it so that walls and objects don't obstruct your view while you're moving around. Try walking inside a hollowed tori. You'll see how much easier it is now because your camera automatically moves closer so you can still see.
* Created a way to know if the user's camera is alt + cammed or just following the avatar.
* Changes IClientAPI interface by adding SendCameraConstraint(Vector4 CameraConstraint)
2009-07-19 02:32:02 +00:00
Melanie Thielker
52f983613c
Thank you, otakup0pe, for a patch that enables basic auth with LSL
2009-07-18 20:10:19 +00:00
Teravus Ovares
bb4b81d70f
* patch from jonc
...
* Fixes scaling a group in some situations.
* fixes mantis #3886
* Thanks jonc!
2009-07-17 21:32:35 +00:00
Teravus Ovares
b6caf1606d
* If the world map module encounters an error, not all of the objects will be created and will therefore be null in the finally clause. Therefore, only dispose of objects that are not null in the finally clause.
...
* fixes mantis #3848
2009-07-17 21:13:50 +00:00
Teravus Ovares
eb1a6e9b87
* Patch from otakup0pe to help freeswitch play nice with complex existing freeswitch configurations.
...
* Thanks! fixes mantis #3899
2009-07-17 21:06:28 +00:00
Teravus Ovares
05c24a648d
* Another attempt to remedy the 'ghost prim' situation. This time for attachments on teleport.
2009-07-17 18:38:03 +00:00
Teravus Ovares
ebb03e2aab
* This should fix the phantom prim from attachments rezzing.
...
* fixes mantis #3896
* fixes mantis #3898
2009-07-17 17:53:22 +00:00
MW
acea31518b
fixed the bug where changing the rotation of a selection of prims in a linkset, made each of those prims rotate around its own centre rather than around the geometric centre of the selection like they should do (and like the client expects).
...
This involved adding a new OnUpdatePrimSingleRotationPosition event to IClientAPI so that we can get the changed position from the client.
Btw adding new events to IClientAPI is really tedious where you have to copy the change across to at least 5 or 6 other files.
[Note this doesn't fix the bug where any rotation changes to the root prim (but not the whole linkset) cause rotation errors on the child prims.]
2009-07-17 14:58:54 +00:00
Teravus Ovares
f74622c65f
* Change the order of Update so Physics processes a frame before the scene manipulates the physics Scene.cs
...
* Remove the draconic locking around adding an avatar to the Scene
* Handle an extreme error case when border crossing fails and user uses map to teleport to a different region on the same instance causing control commands to go to a child agent.
* Make the Set Appearance method use the proper 'remove from physics scene' method.
* It *may* help border crossings.
* It *may* help the 'on avatar rez' lag, that people have been seeing the past week.
* It may also cause physics to crash more often on failed teleports (though.. I think I got the cases covered).
2009-07-17 07:28:09 +00:00
Melanie Thielker
01446074b1
Revert the nonessential part of r10033 to restore sanity to trampolines
2009-07-16 19:09:03 +00:00
Melanie Thielker
b79e23dc5c
Allow OpenSim to run without script engines enabled
...
Fixes Mantis #3893
2009-07-16 08:45:52 +00:00
Teravus Ovares
8e1ab33ed3
* Tweaking collision reporting a little more in ScenePresence to not check if the collisions will affect health if the avatar is invulnerable. (saves 3 loops)
2009-07-16 04:50:49 +00:00
MW
5f68b5b82e
There was possible a locking issue in revision 9951 so reverting that revision until further testing can be done.
2009-07-16 00:05:07 +00:00
Justin Clarke Casey
5815162d7e
minor: remove some mono compiler warnings
2009-07-15 20:49:58 +00:00
MW
a266e6dc4b
Bounding Box/find rez from inventory point code now seems to be working correctly.
...
So next step is to clean up that code and wait for bug reports.
2009-07-15 19:46:32 +00:00
MW
856d5f4375
Yet more work on fixing the boundingbox code.
2009-07-15 18:55:28 +00:00
MW
3a72531e4c
More fixing of the boundingbox code.
...
Still more work needed to get linksets to rezz correctly (not in the ground)
2009-07-15 10:42:27 +00:00
MW
08d4fffdfd
A attemp to fix the boundingBox code that I committed the other day.
2009-07-15 10:26:12 +00:00
MW
75bfbc14fc
Test commit to see if commit is working for me, as another core developer is reporting problems.
2009-07-15 10:11:00 +00:00
nlin
56d295cfb5
Fix for avatar falling through terrain when av_capsule_tilted=false, Mantis #2905
...
This fix re-introduces a small tilt into the capsule to prevent
avatar falling through terrain. Re-introduction of the tilt means
that some direction-dependent behavior when walking over prims, but
I have tried to minimize this.
Additionally this commit allows the capsule to wobble slightly when
being pushed around the terrain. This should make walking over prims
easier, as the capsule can wobble and glide diagonally over the prim's
edge, instead of rigidly being stopped vertically against the prim's
face.
2009-07-15 10:09:37 +00:00
Melanie Thielker
fb4067c844
A stab at implementing llSetDamage. Not persistent.
2009-07-15 00:10:01 +00:00
Melanie Thielker
750f75c514
Thank you, Twitch, for a patch to restore mayhem and murder to OpenSim
...
Fixes Mantis #3888
2009-07-14 23:20:59 +00:00
Melanie Thielker
e53596f607
Remove redundant distance limitaion in llRezAtRoot
...
Fixes Mantis #3887
2009-07-14 22:10:46 +00:00
Dahlia Trimble
73251ed346
add a constructor overload and an AddPos method to SculptMesh
2009-07-14 06:09:18 +00:00
MW
58b05e5cbe
A commit to retrigger panda
2009-07-13 15:14:44 +00:00
MW
c4318136ba
Changed it so that when rezzing prims from inventory, a bounding box containing all the prims in the group is used for working out the rezzing point. So that none of the child prims are underground. Or at least thats what it is meant to do, still needs more testing and there are still some issues with link sets getting rezzed too high above the ground/target prim.
2009-07-13 14:42:46 +00:00
MW
a7043ebf53
Attempt to make it so items rezzed from inventory aren't half in the ground or half in the prim they are being rezzed on top off. This is currently only correct for single prims (not link groups) and unrotated prims. Next step is to fix for link sets and rotated prims.
...
This needs a lot more testing to find use cases where it might be wrong (like half way up a hill?)
2009-07-13 12:08:14 +00:00
MW
d9a8ecf238
Changed the DeRezObject event so it passes a list<uint> of localIDs in one event trigger rather than triggering the event once for every localid in the derez packet.
2009-07-12 12:32:39 +00:00
Adam Frisby
71ab7a1e2d
* Workaround for a bug in Vivox Server r2978, whereby channel-search.channels.count returns 0 instead of the actual channel count. Should not affect more recent versions of Vivox where this issue has been fixed.
2009-07-12 02:16:49 +00:00
Adam Frisby
50ccf914ca
* More Vivox Fiddling
2009-07-12 01:56:38 +00:00
Adam Frisby
a8b40d47d6
* Patch for previous revision.
2009-07-12 01:31:33 +00:00
Adam Frisby
c20a4032e2
* More VivoxModule debugging.
2009-07-12 01:23:49 +00:00
Adam Frisby
199984cbea
* Added some noisy debug information to VivoxModule to try debug why GetChannel fails on LBSA/Zaius Plaza.
2009-07-12 01:04:32 +00:00
Jeff Ames
cce451d9de
Formatting cleanup.
2009-07-11 11:47:33 +00:00
Dr Scofield
ab03772d94
fixing addin.xml
2009-07-11 08:17:09 +00:00
Dr Scofield
d123c74e37
fixing missing ReplacableInterface
2009-07-11 08:16:59 +00:00
Dr Scofield
7a4abf0def
From: Dr Scofield <hud@zurich.ibm.com> & Alan Webb <alan_webb@us.ibm.com>
...
this commit finally adds the VivoxVoiceModule: it supports positional
as well as conference call type voice (currently only per region
server), region and parcel voice, speaker indication (LL client
family), direct avtar-to-avatar voice chat. NOTE: you need to obtain
an customer admin account from Vivox to be able to use this module ---
DON'T ask me about how to about an admin account, i've NO clue, we
just wrote this code.
2009-07-11 08:16:47 +00:00
Dr Scofield
16b4e38f68
fixing warning re ReplacableInterface()
2009-07-11 08:10:54 +00:00
Dahlia Trimble
3f2ee8915d
Some improvements to prim face numbering - only affects viewers using PrimMesher
2009-07-11 04:53:41 +00:00
Teravus Ovares
d54aac41d2
* Added a user friendly message to the sqlite regionsettings saver giving them troubleshooting options and telling them to restart the simulator. This situation, hopefully is temporary and generates an exception when sqlite users first start OpenSimulator because of an unexpected condition in the database layer. Restart and all is well.
...
* Added a user friendly message to the 'No IInventoryService available' condition with troubleshooting options.
2009-07-10 21:47:54 +00:00
Melanie Thielker
ec1a5d8933
Some module reshuffling, no user functionality yet
2009-07-10 20:46:16 +00:00
Melanie Thielker
8ecfc9a717
Committing the interface change and the addition to the modules to get
...
the ball rolling on replacable modules. No user functionality yet
2009-07-10 20:17:13 +00:00
Justin Clarke Casey
18ffbf6342
* minor format changes and message additions
2009-07-10 19:18:05 +00:00
Justin Clarke Casey
d7d2de3a08
* minor: standardize some logging messages
2009-07-10 18:57:16 +00:00
MW
78d7f4696e
Now we are past revision 10000, I think its time to start to fix that massive bug that was introduced in revision 1. So here is the first part of that fix.
2009-07-10 11:03:38 +00:00
Melanie Thielker
c310fb11f4
Remove all references to HttpServer from CommsManager (all incarnations)
...
Change all uses of the HttpServer properties to use the new singleton
2009-07-10 02:22:26 +00:00
Teravus Ovares
e15ffe31e3
* Commit some BinBVH rotation convenience. Calculates the W element of the joint rotation quaternion and provides a property so consumer doesn't have to.
2009-07-10 00:13:42 +00:00
Charles Krinke
dc0a19f737
Thank you kindly, Godfrey, for a patch that:
...
The vector parameter to llSetPos() specifies an absolute position for
an unlinked prim or the root prim of a linkset; however, when the
function is used by a child prim, the vector specifies a relative
offset from the root prim. The changed introduced in llSetPos() treats
this value as an absolute position in all cases, which has the unintended
effect of mangling the position of child prims.
2009-07-09 16:53:55 +00:00
Charles Krinke
61008c9c13
Thank you kindly, SnowDrop, for a patch that:
...
This add a configuration option to the MRM module called "hidden".
if MRM is marked as enabled, the module will additionally check for
the "Hidden" flag, before registering for client side scriping events.
When MRM is running hidden, it will not respond to client side
scripting events, giving serverside scripting modules, like MRMLoader
and MRMAddin the ability to leverage the MRM engine. This way, even
a possible clientside exploit will not be possible, while still
allowing the MRM engine to run.
2009-07-08 20:57:26 +00:00
Charles Krinke
525ab2c278
Thank you kindly, RandomHuman for a patch that:
...
The admin_close_region method removes a region from the simulator without deleting it.
The region can then be recreated by calling admin_create_region with the same UUID.
There is also a change to admin_create_region to facilitate this.The reason I want
to have this functionality is to make it possible to detach regions when they are
idle and recreate them on demand through a web interface. It's probably doable
using the existing methods by saving and loading oars, but it also doesn't seem
like that should be necessary.
2009-07-08 20:53:22 +00:00
Melanie Thielker
2d949c1f25
Add DisableUndergroundMovement to scrpting API to allow underground movement
...
if needed. Defaults to true, so those who want to continue using underground
scripted prims need to add that option and set it.
2009-07-08 14:36:00 +00:00
Melanie Thielker
f4498983aa
Prevent scripts from moving prims underground
2009-07-08 10:22:51 +00:00
Melanie Thielker
d8fe7777bf
Prevent teleports from ending underground
2009-07-08 08:38:23 +00:00
nlin
0ec6dfb1a1
Experimental fix for tilted avatar capsule, Mantis #2905
...
Set av_capsule_tilted to false in opensim.ini. Default is true, so there is
no change in avatar behavior (and no breaking of existing content which
relies on the tilted capsule).
This commit straightens up the avatar capsule so it behaves consistently
(e.g. same collision behavior against prims regardless of which direction
the avatar is coming from; ability to fit through narrow doorways).
Please note this introduces other side effects which have not been fixed.
In particular:
* The avatar frequently falls through the terrain if it is not flat, though
the avatar behaves pretty well on flat terrain. This requires investigation
of the ode terrain collider.
* The apparent foot position of the avatar with respect to the ground
is changed. This requires investigation of the avatar height/capsule height.
Please consider this as work in progress.
2009-07-08 01:41:05 +00:00
Melanie Thielker
6458858575
Change fields and methods in LSL API from private to protected, make some
...
methods virtual
2009-07-06 13:09:03 +00:00
Dahlia Trimble
5ba499a759
comment out some excessively verbose eventqueue debugging messages
2009-07-05 07:17:12 +00:00
Charles Krinke
8344df886b
Thank you kindly, AnakinLohner, for a patch that addresses:
...
The patch included updates the root and child prims' AttchedAvatar
with the right UUID. It also cleans the AttachedAvatar properties
for the root and child prims on Drop and Detach
2009-07-02 16:02:18 +00:00
Sean Dague
49f89dd758
make methods surounding backup virtual so they could be override for server side created objects
2009-07-02 12:00:39 +00:00
Melanie Thielker
412b555c27
Restore some lost functionality tot he combat module. Code that used to
...
reside in the economy module was lost in the shuffle when that was moved
to forge. Now it's where it belongs.
2009-07-02 02:46:40 +00:00
Jeff Ames
1d01d6d919
Formatting cleanup.
2009-07-01 23:37:09 +00:00
Jeff Ames
a0a44d8ebc
Add copyright headers.
2009-07-01 23:25:59 +00:00
Melanie Thielker
3564271c2d
Restore the functionality that was removed in r9928. This lets the load
...
balancer plugin work again. Create a new method, GetClientEP, to retrieve
only the EndPoint for script usage. Marked the purpose of the method
in IClientAPI.cs with a warning. Also restored the corresponding SetClientInfo
functionality.
2009-07-01 15:47:52 +00:00
Jeff Ames
3f2fba610e
Update svn properties.
2009-07-01 10:26:43 +00:00
Charles Krinke
6942eaed5b
Thank you kindly, Snowdrop, for a patch that solves:
...
The current API for MRM is quite sparse, this patch
supplies basic support for accessing the task
inventory of object.
2009-06-29 21:47:47 +00:00
Arthur Valadares
4f6efa0249
* C# compiler is not smart enough to understand ClientLoop is under very heavy usage and inline DebugPacket, so DebugPacket is run as a method, causing Packet
...
to be constantly pushed and popped uselessly, if you are not debugging packets. This showed some really big difference in a mock test, let's see how it behaves here.
2009-06-29 19:24:30 +00:00
Charles Krinke
7bb070be55
Thank you kindly, Snowdrop/Snowcrash for a patch that:
...
This patch makes the worn attachments accessible to MRM scripting
2009-06-29 18:07:30 +00:00
Arthur Valadares
6da88dceb0
* Changing List to Dictionary in PacketQueue.Dequeue for great justice (and performance)
2009-06-29 16:55:00 +00:00
Jeff Ames
715f2f2798
Update svn properties, add copyright header, formatting cleanup.
2009-06-29 15:40:00 +00:00
Sean Dague
3dc2010da6
From: Chris Yeoh <yeohc@au1.ibm.com>
...
Attached is a patch that changes the oar file saving of creation date/time to an integer
instead of a string. I did this after justincc emailed me saying there is a problem
with internationalisation doing it the old way and I said I'd fix it. Its been
tested with MySQL and I've made the changes for MSSQL but that hasn't been well tested.
2009-06-29 15:05:12 +00:00
Charles Krinke
7545f12c5f
Thank you kindly, Godfrey, for a patch that:
...
The new IRCd module causes an error when multiple instances of OpenSim
are run on the same machine; since the port number (6666) is hardcoded,
the second and subsequent instances crash upon startup because the port
is already in use. Attached is a patch which adds a Port specifier to the
[IRCd] section of the config file, which defaults to 6666 if not present.
2009-06-29 14:01:08 +00:00
Charles Krinke
c7c4bc8cd5
Thank you kindly, Grumly57 for a patch that solves:
...
When a sit position is modified by llSitTarget and the
sim is restarted, the object sit position is lost until
llSitTarget is applied again.
2009-06-28 18:19:11 +00:00
MW
706286b7fb
Removed the List<NewForce> m_forceList from ScenePresence, as there wasn't any need for a list, as only the last entry in it was acted on. So it now has a single NewForce m_nextVelocity , which is updated (rather than a NewForce object being created every AgentUpdate). So as well as cutting out all the adds and clearing of the list, it also removes the creation of upto 100+ new objects per second per avatar.
2009-06-28 11:07:26 +00:00
Jeff Ames
2d173d7556
Update svn properties.
2009-06-27 04:31:49 +00:00
MW
9e4d077d70
Fixed null bug, which was making unit tests fail
2009-06-26 12:30:54 +00:00
MW
7a2c41dea0
Extracted the code that handles the sending of prim updates to the client, from ScenePresence into ISceneViewer/SceneViewer. Currently ScenePresence "has" a ISceneViewer, although if we had a proper Node based scenegraph then it would most likely be attached directly to the nodes.
...
By extracting this code, it should make it easier to experiment with different ways of managing the update process. [Next step to make this module based, could be to create a SceneViewerFactoryModule]
2009-06-26 12:09:43 +00:00
Melanie Thielker
5869598c4c
Make delete-region delete the section from an ini file. Will delete the whole
...
file if it has no sections left.
2009-06-26 00:00:20 +00:00
Melanie Thielker
7cc69ac97f
Make create region save the new region to ini file format if the name
...
specifies an ini file.
If the ini file exists, the region will be added.
2009-06-25 23:31:55 +00:00
MW
934b291f59
Added a note to the ScenePresence.UpdateMovement() method, to remind everyone that the so called "forces" are actually velocities.
2009-06-25 13:12:48 +00:00
MW
684286f097
Applied patch from mantis #3820 which changed the clearing of the ScenePresence.m_forcesList, so it used the List.Clear method rather than doing a loop through the list and manually removing each item. Thanks dslake.
...
I also fixed the issue where the code also loops through the m_forcesList and copies each force to the ScenePresence's movementVector. Which resulted in only the last force in the list actually be acted on. As each copy overrode the last one. So now it only copies the last force in the list.
2009-06-25 12:26:23 +00:00
Dr Scofield
c1976d1200
moving the m_PendingAcksMap.Remove() out of the foreach and clearing
...
it instead after the foreach as we are going through the whole
m_PendingAcks list anyhow
2009-06-25 11:30:31 +00:00
Dr Scofield
aba4b0bd20
have to clear m_PendingAcks not m_PendingAcksMap
2009-06-25 11:30:16 +00:00
Dr Scofield
e2db6c07ba
hmph: missing '{'/'}', thx to nebadon for reporting it and rob smart
...
for spotting it!
2009-06-25 10:26:10 +00:00
Dr Scofield
74f7b586d3
fixing windows specific compile error.
2009-06-25 08:28:59 +00:00
Dr Scofield
98ea70644a
From: Alan Webb <alan_webb@us.ibm.com>
...
After noticing on several occasions that the thread counts
we see when running OpenSIm were bordering on the astronomical
I decided to seriously investigate.
After much poking I discovered that the problem is actually very
simple. The XEngine secition of the example ini says that the
timeout for an iden thread is in seconds, and an example value
of 60 is specified. In fact, this is actually resulting in a 60mS
idle timeout, which is not normally enough for a smart thread
to survive. I have added a multiplier to the XEngine constructor
so that the number now matches the published behavior.
2009-06-25 08:17:37 +00:00
Dr Scofield
17d37aa60d
cosmetic change
2009-06-25 08:01:02 +00:00
Dr Scofield
1b06da0c54
streamlining m_NeedAck logic
2009-06-25 08:00:43 +00:00
Dr Scofield
9f83f124c7
streamling m_PendingAcks logic to get rid of gratuitous List<...>
...
instantiations and object copies.
2009-06-25 08:00:18 +00:00
Dr Scofield
b84834c45b
commenting out expensive bits (who in the world even uses SetClientInfo()?)
2009-06-25 07:59:58 +00:00
Dr Scofield
e8e0ce5fc6
changing DropSend()'s foreach loop so that it does not copy the
...
LLQueItem m_NeedAck queue each time.
2009-06-25 07:59:47 +00:00
Dr Scofield
fa060a7282
commenting out rather expensive bits of GetClientInfo() --- the only
...
bit of GetClientInfo that is actually used seems to be userEP as part of the
OSSL osGetAgentIP() script function. Now commented are the parts where
we serialize and copy out the *entire* packet queue of the client
(locking the packet handler in the process).
2009-06-25 07:59:38 +00:00
Dr Scofield
77122d7861
more efficient way of checking for already seen packets:
...
- uses Environment.TickCount for all timestamps (instead of more
costly Util.UnixTimeSinceEpoch()
- takes care of Environment.TickCount overflow (which will happens
after 24.8 days of system uptime)
- avoids instantiating List copies for each check
- gets rid of one lock() invocation
- moves calculation of loop invariant variable out of the loop itself
2009-06-25 07:59:25 +00:00
Dr Scofield
a1ba9dee8d
adding logging statement for receive buffer size
2009-06-25 07:50:19 +00:00
Dr Scofield
8f5efc4994
- adds the possibility of setting the socket receive buffer size
...
option for LLUDPServer. On windows .NET the default socket receive
buffer size is 8192 bytes, on recent linux systems it's about
111K. both value can be a bit small for an OpenSim instance serving
many clients. The socket receive buffer size can be configured via
an OpenSim.ini config option
- adds a general catch clause to LLUDPServer.OnReceivedData() to
prevent it submerging when an unexpected Exception occurs.
2009-06-25 07:50:02 +00:00
Dr Scofield
afd5f76648
From: Alan Webb <alan_webb@us.ibm.com>
...
This change moves texture send processing out of the main
packet processing loop and moves it to a timer based
processing cycle.
Texture packets are sent to the client consistently over
time. The timer is discontinued whenever there are no
textures to transmit.
The behavior of the texture sending mechanism is controlled
by three variables in the LLCLient section of the config
file:
[1] TextureRequestRate (mS) determines how many times per second
texture send processing will occur. The default is 100mS.
[2] TextureSendLimit determines how many different textures
will be considered on each cycle. Textures are selected
by priority. The old mechanism specified a value of 10 for
this parameter and this is the default
[3] TextureDataLimit determines how many packets will be sent for
each of the selected textures. The old mechanism specified a
value of 5, so this is the default.
So the net effect is that TextureSendLimit*TextureDataLimit
packets will be sent every TextureRequestRate mS.
Once we have gotten a reasonable feeling for how these parameters
affect overall processing, it would be nice to autonmically manage
these values using information about the current status of the
region and network.
Note that this also resolves the pathologcal problem that
previously existed which was that a seated avatar generated very
few in-bound packets (theoretically) and would therefore be the
least able to retrieve the images being displayed by a
projector script.
2009-06-25 07:42:06 +00:00
Dr Scofield
652bcf91d5
- fixes a "collection out of sync" exception in the ODE physics
...
engine, caused by an "avatar infinite position" occurring under
heavy load.
- fixes "value too small" exception in ChatModule
2009-06-25 07:39:48 +00:00
Melanie Thielker
9d07584ea1
Allow "Take Copy" with copy only permissions if you own the object. Trans
...
is only required when taing an object you don't own, now.
Fixes Mantis #3838
2009-06-24 23:45:21 +00:00
Melanie Thielker
fa786c480b
Reading GroupPosition, but setting OffsetPosition in undo doesnt' seem right.
...
This may fix the Mantii where individual prims ctrl-z to nirvana, but
it's not tested.
2009-06-24 09:49:49 +00:00
Melanie Thielker
41b8e2de9e
Also fix group role membership packet sizes to stay safely below MTU
2009-06-23 22:11:34 +00:00
Melanie Thielker
8cf16f6ea4
Can I be this dumb?
2009-06-23 21:17:20 +00:00
Melanie Thielker
2a766b9082
Fix an error in group membership sending when the memebr count exceeds 60
...
Also reduce limit to 40 to allow for last logon dates and titles
2009-06-23 20:27:35 +00:00
Melanie Thielker
a2635e43da
Allow the member list of groups with more than 70 members to be viewed
...
without crashing
2009-06-23 14:37:51 +00:00
Melanie Thielker
56d0966a32
Commenting out the jhurliman fix, since our libOMV doesnt' have those fields
...
yet.
2009-06-23 08:56:45 +00:00
Melanie Thielker
2d7dd5f63e
Correct an uninitialized field in a packet. Thanks, jhurliman.
...
Fixes Mantis #3831
2009-06-23 08:51:35 +00:00
Melanie Thielker
77ebb7c9f3
Committing RemoteUserServiceConnector out connector, local user service
...
connector and the glue code.
2009-06-22 13:14:48 +00:00
Jeff Ames
65d48a5e60
Formatting cleanup, ignore some generated files.
2009-06-22 11:04:09 +00:00
Jeff Ames
142b481e03
Update svn properties.
2009-06-22 10:07:27 +00:00
lbsa71
5ee2125bb6
* Panda no like LongRunningAttribute, no? Me now reverting minuscule fix, yes? Panda happy, eh?
2009-06-22 08:34:50 +00:00
lbsa71
e9d0f48a5b
* Minuscule CC fix
2009-06-22 07:40:31 +00:00
lbsa71
e365440461
* Added SceneTests and SceneBaseTests
...
* Changed some fields to protectesd to enable faking
2009-06-22 07:39:04 +00:00
Melanie Thielker
7d4f541d43
Suppress exception dump when informing friends in another region about login
...
or logoff. Regions come and go and we can't throw just because someone
took their region off the grid, or crashed.
2009-06-21 22:40:21 +00:00
Melanie Thielker
bc1dce071a
Correct the behaviro of group deeding and llGetOwner() within deeded objects
2009-06-21 19:49:11 +00:00
Homer Horwitz
04444d408f
Do llEscapeURL with Uri.EscapeDataString instead of Uri.EscapeUriString.
...
Not exactly right, according to the LSL docs, but similar enough, I hope.
Fixes Mantis #3825 .
2009-06-21 19:06:19 +00:00
Melanie Thielker
2c3a1995fc
Publish a method on ICompiler to generate the CIL assembly path
...
Cause group deeding to apply next owner perms
2009-06-21 18:38:12 +00:00
Melanie Thielker
034de5ecd6
Properly reset a vehicle's status to VEHICLE_TYPE_NONE when requested
2009-06-19 22:32:02 +00:00
Melanie Thielker
e4d26d7bfa
When a shared module hooks OnClientClosed, it has no way of finding
...
out which client connection has closed. So, in multi-region sims, things
can get messy fast.
This introduces a second parameters, which is a Scene object ref. Minor
adjustments to custom modules may be required due to this change.
2009-06-19 20:46:17 +00:00
Dahlia Trimble
19b52d13e2
Thanks cmickeyb for a patch that checks for null assets in Cenome asset cache - Mantis #3819
2009-06-19 17:08:23 +00:00
Sean Dague
dfd4e78fc0
From: Rob Smart <SMARTROB@uk.ibm.com>
...
Makes an avatars personal voice indicator work with Freeswitch (though not other avatars indicators)
2009-06-19 12:21:33 +00:00
Sean Dague
1adeb8ad77
From: Chris Yeoh <yeohc@au1.ibm.com>
...
This patch ensures that the touch positions are set during touch_end
events (currently only working for touch_start and touch events).
2009-06-19 12:21:20 +00:00
Dahlia Trimble
00d042f3d1
Thanks Michelle Argus for Mantis #0003742 : Terrain editor - Flatten tool lowers Land
2009-06-18 23:02:12 +00:00
Arthur Valadares
f243dddc04
* Corrected CAPS namespaces
...
* "luke, use the sed"
2009-06-18 14:33:35 +00:00
Melanie Thielker
8aaeec598e
Fix an uninitialized data block. Thanks, jhurliman
2009-06-17 23:46:13 +00:00
diva
ce7de3581c
Implementation of a simple authentication service + in connector in route to making HGInventory (client access) work in standalone again. This is the refactoring of what was/is there, but done in the new model. Not complete yet, but key authentication works. It should be enough to make HGInventory work again soon.
2009-06-17 03:52:39 +00:00
diva
6cb7ecd99c
Renamed two of the in connector modules, to make things consistent.
2009-06-15 00:29:37 +00:00
diva
54d44e370b
Removing the OpenSim.SimulatorServices project. All of those region modules are now in CoreModules/ServiceConnectorsIn, where they belong.
2009-06-15 00:17:17 +00:00
diva
380f59d0ff
Factoring out "land_data" / RequestLandData that was hanging off of IGridServices, erroneously. Not sure when this is used, but now it is implemented in the new model of service connectors. Hopefully it works.
2009-06-14 23:00:23 +00:00
Melanie Thielker
664dd58cd9
Fixes Mantis #3793 . Committing thomax/Snoopy's patch to allow deeding of objects, with changes:
...
- Set OwnerID = GroupID for deeded objects.
- Close a security loophole that would have allowed a user with deed rights in a group to deed ANY object to that group, even if it's not owned by them and/or not set to that group
- Set LastOwnerID correctly. Handle objects vs. prims correctly.
2009-06-14 21:44:34 +00:00
Jeff Ames
8d0eb3307f
Update svn properties.
2009-06-14 21:37:50 +00:00
diva
6abffedab5
Renamed Region/CoreModules/ServiceConnectors to Region/CoreModules/ServiceConnectorsOut. No functional changes.
2009-06-14 19:44:56 +00:00
Charles Krinke
8d24168bef
Thank you kindly, M1sha, for a patch that improves the treePopulator module:
...
(a) Implements the ICommandableModule interface to clean up the user interface
(b) Uses a specification for a 'copse' (collected group of trees) which permits via an xml file: Tree type; Tree Line (high and low), Seed point; Radius of Copse; Number of required trees; Initial size of seeded tree; maximum size of seeded tree; growth rate; freeze growth state
(c) Multiple Copse may be defined for a region
(d) Growth on individual copse may be frozen or restarted, or all growth disabled/enabled
(e) Copse definitions are persistant, they are reloaded from the trees present on a region restart
(f) All trees in a copse may be removed and the copse definition deleted in one command
2009-06-14 16:32:50 +00:00
diva
a0b68178b8
Bug fix in remote neighbour connector.
2009-06-14 16:26:14 +00:00
diva
7a9c85526c
Pulled out HelloNeighbour into its own service, INeighbourService, which may get more functions as we go along. It's a very simple service and service connectors, and it served primarily to establish the design of services that dependent on Scenes and that must always have a local connector. More refactoring coming, as this showed how to do it right.
2009-06-14 15:35:09 +00:00
Justin Clarke Casey
9f2ddfd167
* Temporarily resolve another problem in http://opensimulator.org/mantis/view.php?id=3741 by disabling the loading of OAR creation information
2009-06-12 20:00:26 +00:00
Justin Clarke Casey
f9782a1085
* minor: removing some logging stuff accidentally left in on the last commit
2009-06-12 15:45:38 +00:00
Justin Clarke Casey
45342067f5
* Move standalone login setup in LLStandaloneLoginmodule to RegionLoaded() from AddRegion()
...
* This is necessary to avoid a dependency problem where LLStandaloneLoginModule references IInventoryService before the LocalInventoryServiceConnector is registered
* Correct some copypasta log messages in LocalInventoryServiceConnector
2009-06-12 15:41:53 +00:00
Mike Mazur
e6e88ac126
Give m_test* methods more reasonable names
...
Changing the names of these methods because they were being picked up by
nunit as tests even though they were marked private. Naming them Check*
after the original Test*.
2009-06-12 15:00:08 +00:00
Justin Clarke Casey
3b4151b042
* remove long unused interregion optional module code
2009-06-12 14:37:56 +00:00
Justin Clarke Casey
cb6baacc31
* minor: remove one mono warning
2009-06-12 14:29:42 +00:00
Justin Clarke Casey
874df490fb
* fix build break: sigh, must remember to build before committing
2009-06-12 14:23:31 +00:00
Justin Clarke Casey
4e526778b7
* minor: make control file loading code consistent
2009-06-12 14:18:01 +00:00
Justin Clarke Casey
15b8641bef
* minor: if OAR saving receives assets after timeout, just print warning, don't accidentally go on to process them
2009-06-12 14:00:50 +00:00
Justin Clarke Casey
86043c431f
* minor: remove warning from unused field
2009-06-12 13:37:08 +00:00
Arthur Valadares
d4ed7b03af
* Fixed a few more async calls. Still not uncommented, some asserts still failing
2009-06-11 20:50:23 +00:00
diva
2afd733229
Fixes mantis #3803 . Thanks jhurliman.
2009-06-11 20:27:13 +00:00
diva
6c1d6283e6
Small improvement in the IAR tests, but these tests are still showing random behavior, so they are still commented out.
2009-06-11 19:12:20 +00:00
diva
156604e28e
InterServiceInventoryService references *almost* completely removed from the simulator. Only a couple left, not important. Also updated the login tests -- Justin, this time I was able to fix this by myself :)
2009-06-11 03:00:25 +00:00
diva
59c1796353
Small bug fix in HG.
2009-06-10 18:02:49 +00:00
diva
6242b01ac8
Removing the default reading of AssetCaching on all cache modules.
2009-06-10 16:48:26 +00:00
Melanie Thielker
b465dd7eb3
Reverse the default setting in Flotsam Asset Cache. Nothing should be the default
2009-06-10 15:36:44 +00:00
diva
1874c635ea
Commenting the IAR tests for now until we understand how to set up things in this new inventory model.
2009-06-10 15:18:07 +00:00
diva
0f367bd7bb
Heart surgery no.2: the inventory service hooks.
...
Several improvements in the connectors themselves.
Several improvements in configurations.
Needed to add a hack in IUserService and UserManagerBase, to be removed when that service is refactored.
2009-06-10 13:18:32 +00:00
Dr Scofield
8045ed28ec
From: Alan Webb <alan_webb@us.ibm.com>
...
Eat collision errors --- NOTE: this fix might be naive, it seems to
have helped us getting to 81 avatars (whereas we'd crash with 20
before), but it sure would benefit from some check-over by a person
skilled in the art of ODE physics.
2009-06-10 11:48:13 +00:00
Jeff Ames
a23d64dec1
Formatting cleanup.
2009-06-10 04:28:56 +00:00
diva
ca52c3ef26
Letting the Flotsam cache be enabled even when [AssetCache] section is missing. Thank you mcortez!
2009-06-09 20:20:30 +00:00
Jeff Ames
a7fcacf8f3
Formatting cleanup. Ignore some generated files.
2009-06-09 18:07:35 +00:00
Jeff Ames
135ff63c3d
Update svn properties.
2009-06-09 17:48:22 +00:00
Melanie Thielker
9c726fb178
Thank you Snoopy, for a patch that implements group permissions.
...
Applied with changes:
- removed spammy debug message
- corrected tab formatting
2009-06-09 08:15:34 +00:00
Dr Scofield
759636f37e
From: Alan Webb <alan_webb@us.ibm.com>
...
This change addresses two issues:
[1] It adds a flag field to the blendface call which allows the
caller to indicate whether or not the generated asset is
temporary, and whether or not the asset being replaced should
be explicitly retired fromt the memory cache. The decimal
values correspond to:
0 - Permanent asset, do not expire old asset
1 - Permanent asset, expire old asset
2 - Temporary asset, do not expire old asset
3 - Temporary asset, expire old asset
'3' corresponds to the default behavior seen today, and is
the continued behavior of the non-blendface calls.
[2] The dynamic texture routines are highly-asynchronous and can
be scheduled simultaneously on a multi-core machine. The nature
of the texture management interfaece is such that updates may
be lost, and the nature of asynchornous operation means that
they may be processed out of order. A lock has been added to
ensure that updates are at least atomic. No attempt has been
made to enforce ordering. The lock applies to the SceneObjectPart
being updated and is held for the lifetime of the TextureEntry
used to carry texture updates (the one instance carries all
faces supported by the prim).
Users of these services should remember that the dynamic texture
call is asynchronous and control will be returned *before* the
texture update has actually occurred. As a result, a isubsequent
GetTexture call may not return the expected asset id. A script
must wait for the corresponding TEXTURE_CHANGED event before
retrieving any texture information.
2009-06-09 06:39:27 +00:00
Melanie Thielker
0356fef9ab
Updating the flotsam asset cache. Thank you, mcortez!
...
Fixes Mantis #3784
2009-06-08 20:09:49 +00:00
diva
b87f982a7e
Bug fix. Adding the asset to the cache after a DB get.
2009-06-08 19:35:36 +00:00
diva
16d5003274
Added more functions to IInventoryService. Unsure about whether all of these are really necessary.
2009-06-08 03:09:24 +00:00
diva
1ad237a8a7
First draft of inventory service connectors, and service implementation. No handlers yet, this is just the OUT part for now. It's not active and nothing in the simulator uses this yet. Just checking it in to start sharing with others. There are a couple of interesting software design points that could use other devs opinions.
...
Hopefully I added all needed files.
2009-06-07 19:00:55 +00:00
Mike Mazur
cda6b24668
Skip lone ident statments or for-loop assignments
...
SL's LSL supports lone idents:
integer x;
x;
as well as lone idents in for-loop assignments:
for (x; x < 10; x++) { ... }
while those are errors in C# (MONO at least). This patch skips lone
idents in such places.
Fixes Mantis #3042 .
2009-06-07 10:22:55 +00:00
Mike Mazur
48bc2f3a42
Allow empty assignment in for-loop
...
For loops with no assignment are no longer syntax errors. For example,
this is now valid:
for ( ; i < 10; i++) { ... }
Corresponding changes to lsl.{lexer,parser} in r99 in opensim-libs.
Fixes Mantis #2501 . Fixes Mantis #2884 .
2009-06-07 10:22:41 +00:00
lbsa71
6267f939c5
* Reverting the test restructuring as, on second thought, this is not at all how the tests are structured.
...
(pt1)
2009-06-07 08:50:43 +00:00
Mike Mazur
d25b9151c8
Rename private TestllAngleBetween method
...
It seems overloading the method TestllAngleBetween confused nunit a bit
and caused it to try running the private TestllAngleBetween method. The
method's access modified prevented that from happening, and nunit
complained.
2009-06-07 08:32:07 +00:00
Melanie Thielker
5139160ce4
Correct an error where the config file name was always considered to be a
...
local file. This caused llHttpRequest and llSetInventoryPermsMask to fail
on regions that load their config from a web server
2009-06-06 16:39:28 +00:00
Dahlia Trimble
f94e192b86
some code cleanup
...
test commit with cygwin svn
2009-06-06 08:41:27 +00:00
Justin Clarke Casey
4234e49445
* minor: tiny tweak just to trigger another panda build
2009-06-05 19:53:24 +00:00
Justin Clarke Casey
ccbe049287
* A bug fix for the last mantis 3741 bugfix
...
* Hopefully now, the nre should not occur and the lock should be correctly unlocked during the initial save oar process
2009-06-05 19:34:35 +00:00
Justin Clarke Casey
fbd0f5491b
* A further fix for mantis 3641 (oar saves do not complete)
...
* For some reason, if a null was recieved (indicating a missing asset), the code had stopped passing that on to the waiting lock, resulting in a perpetual freeze
* This change passes the null on correctly
* Many thanks to thomax for being insistent in presenting his analysis of the problem :)
2009-06-05 19:20:31 +00:00
Justin Clarke Casey
c20f31beff
* refactor: split out part xml writing in SceneObjectSerializer
2009-06-05 18:44:44 +00:00
Justin Clarke Casey
593942b195
* Fix problem where known missing assets would stop save oar ever completing
...
* Issue was that region server was silently dropping an XmlException caused by trying to deserialize the blank asset service response
* So make asset service return http status NOT FOUND rather than OK in accordance with REST
* and interpret this correctly in the async response so that a null object is sent back
* This means that this fix won't be active until both region simulator and server reach this revision
2009-06-05 16:14:22 +00:00
Justin Clarke Casey
bfea077508
* Add oar saving timeout
...
* If an oar save fails to get responses to all asset requests to the asset service then timeout after 60 seconds
* Timeout executes abort, since missing assets in an OAR seems bad
* This means that oar saves won't permanently hang and instead can be retried if something goes wrong with the asset service
* This is not a solution to mantis 3714. Hopefully a fix will be along shortly since I can now consistently reproduce that problem
2009-06-05 13:48:43 +00:00
Melanie Thielker
9f932a4205
Thank you, thomax, for a patch to provide finer-grained access control to
...
scripting.
Fixes Mantis #2862
2009-06-05 09:47:42 +00:00
lbsa71
fd5e45733c
* Restructured Scenes Tests to follow (what I conceive of as being) current directory standards. (pt 1 - thank you, svn. not.)
2009-06-05 06:22:08 +00:00
Melanie Thielker
f992db6807
Committing mcortez's FlotsamAssetCache after several positive reviews.
...
Thank you, mcortez!
2009-06-05 04:58:55 +00:00
diva
ffac6f94f0
Changed a comment to reflect changes in config.
2009-06-04 18:41:19 +00:00
Jeff Ames
c6cef4bad5
Comment out unused variables / private fields to avoid compiler warnings.
2009-06-04 03:58:04 +00:00
Jeff Ames
2a855a6457
Comment out unused private functions to avoid compiler warnings.
2009-06-04 01:37:31 +00:00
Jeff Ames
1e3f378c57
Fix comparison of UUID with null.
2009-06-04 01:26:31 +00:00
Jeff Ames
5f923f0632
Add copyright headers.
2009-06-04 01:09:18 +00:00
Jeff Ames
007016ecd2
Update svn properties.
2009-06-04 00:51:02 +00:00
lbsa71
9b619043ce
* Making sure we fail a bit earlier if we have no AssetService
2009-06-03 17:29:21 +00:00
Dr Scofield
717fd3b5b9
From: Chris Yeoh <yeohc@au1.ibm.com>
...
This patch adds oar file date and time (UTC) meta data to an oar file
when it is created. It also adds a unique ID, though this id does not
in anyway identify the machine that the oar file was created on.
When an oar file with this meta data is loaded this extra information
is saved with the region settings and available via LSL through:
- osLoadedCreationDate()
- osLoadedCreationTime()
- osLoadedCreationID()
If there is no meta data these fields will be blank. Subsequent oar
file loads will erase the information for the previous oar file
load. Persistence has only been implemented for MySQL, the other
backends need updating.
Overall this allows us to much more easily identify the specific version of
software that clients are using. Its very straightforward to edit the oar file
to change the ID string to be something more human friendly.
Included in the patch is a new file OpenSim/Data/MySQL/Resources/030_RegionStore.sql
required for the MySQL DB migration.
btw I had a chat with justincc about this a few weeks ago since he
wrote the oar file import/export and he sounded happy to accept
something that included date/time information but didn't want anything
that would silently leak private information like machine names.
2009-06-03 12:48:04 +00:00
Dr Scofield
074b66ddcf
From: Chris Yeoh <yeohc@au1.ibm.com>
...
- fixes wild swings in memory usage related to usage of GetDrawStringSize()
We've been seeing wild swings in memory usage and a large chunk of
memory leak. From analysing this it's pretty clear that the mono
garbage collector is rather buggy! When exercised heavily it looks
like it frees more than its meant to resulting in crashes.
GetDrawStringSize() measures the size in pixels of text. To do this
memory for an image is allocated and used to call the GDI text
measure functions. Although no reference to the temporary memory
for the measuring is kept, it takes quite a while for the mono
garbage collector to clean up - so if lots calls to
GetDrawStringSize() are made at once there can be a spike in memory
usage. If the garbage collector is not fast enough then the GDI
layer runs out of memory. It also looks like the garbage collector
is not always reclaiming all of the memory.
I've attached an OpenSim patch which works around the garbage collector
issues. Instead of dynamically allocating memory for measuring
text sizes, it serialises (on a per region basis) access to a single
block of memory. The effect of this is to be nicer to the garbage
collector as it has a lot less work to do, at the cost of some
theoretical loss in performance (nothing noticeable with our tests
which hit it pretty hard).
OpenSim still does leak memory slowly, but it is a lot more stable
with this patch. I suspect that either the garbage collector misses
bits of freed memory or the GDI/cairo layer leaks a bit each time a
texture is created. Thats going to be a lot harder to hunt down, but
for reference if someone has OpenSim running on Windows it would be
interesting to see if it has the same problem as it would tell us if
its a mono/GDI problem or an OpenSim problem.
2009-06-03 12:39:44 +00:00
Dr Scofield
25a0a56570
From: Alan Webb <alan_webb@us.ibm.com>
...
Modify dynamic texture handling so that an explicitly targetted
face is not scheduled for immediate expiration. The requirement
for precaching explicitly requires these assets to persist. They
do however remain temporary.
This approach leaves the legacy mode of operation (ALL_SIDES)
unchanged in this respect.
2009-06-03 12:21:14 +00:00
Dahlia Trimble
9e3b592fa3
Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache (Mantis #3759 )
...
See the files: bin/config-include/GridCommon.ini.example and bin/config-include/StandaloneCommon.ini.example to configure and enable this caching method.
2009-06-03 08:41:08 +00:00
Dahlia Trimble
b64c484d26
Thanks aduffy70 for Mantis #3762 : A patch to fix llGround, llGroundNormal, and llGroundSlope
2009-06-03 05:31:53 +00:00
Dahlia Trimble
528db43326
revert r9765 due to too many errors on some compilers. Affects Mantis #3759
2009-06-03 02:03:11 +00:00
Dahlia Trimble
b38be1a7fd
Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache (Mantis #3759 )
...
See the files: bin/config-include/GridCommon.ini.example and bin/config-include/StandaloneCommon.ini.example to configure and enable this caching method.
2009-06-02 22:42:47 +00:00
Charles Krinke
23bf1bf6e0
Thank you kindly, MattSetzer, for a patch that solves a Mantis:
...
This appears to be due to the fact that no asset cache has been
configured, possibly as a result of the configuration changes that
have been made recently. I've attached a patch to display a message
to that effect rather than throwing an error.
2009-06-02 21:13:29 +00:00
lbsa71
6f37fd8399
* Pried apart the ODE tests. This fixes mantis #3212
2009-06-02 18:12:34 +00:00
Justin Clarke Casey
5c42143a7b
* Add simple original xml serialization test
2009-06-02 15:24:29 +00:00
Melanie Thielker
aec5dc677d
Explicitly set the changed status of the prim groups affected in a delink
...
Mantis #2484
2009-06-02 08:19:32 +00:00
Arthur Valadares
63a499c569
* Allow for lowercase searching in standalone mode, when case sensitive
...
search fails. This allows compability to libOMV bots, that always lowercase
region names.
* Uncertain if this should/could propagate to grids
2009-06-01 20:51:40 +00:00
Jeff Ames
c6f616049c
Only save crashes to disk if save_crashes in OpenSim.ini is true (false by default).
2009-06-01 18:45:36 +00:00
Justin Clarke Casey
412295ccde
* Add simple original sog xml serialization test
2009-06-01 18:03:51 +00:00
Justin Clarke Casey
f6badc528b
* minor: change the name of one serialization method to match its counterpart
2009-06-01 17:38:11 +00:00
Justin Clarke Casey
ecbeb5cea1
* Fix race condition in save oar
2009-06-01 16:00:46 +00:00
Jeff Ames
840de6c036
Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt.
2009-06-01 06:37:14 +00:00
Dahlia Trimble
be41a2cb7e
reduce verbosity of sculpt map cache messages to reporting cache failures only
2009-05-31 23:57:52 +00:00
Jeff Ames
35b450d41d
Add copyright headers, formatting cleanup, ignore some generated files.
2009-05-31 18:35:00 +00:00
Jeff Ames
db2c4ab94c
Update svn properties.
2009-05-31 16:26:18 +00:00
Adam Frisby
dc15190365
* Adds MRM scripting commands, World.Objects.Create(Vector3 position) and World.Objects.Create(Vector3 position, Quaternion rotation). These rez a 'default box' object at the specified coordinates, and return the associated IObject.
2009-05-31 12:53:05 +00:00
Mike Mazur
07a94fdf89
Fix IRCd init check for config section
...
The IRCStackModule used Nini.Config.ConfigCollection.Contains() to
determine whether the "IRCd" section was present in the config. This
ConfigCollection, however, stores an ArrayList of IConfig objects, not
strings, so calling Contains("IRCd") always returns false since "IRCd"
is a string, not an IConfig object.
2009-05-31 11:50:42 +00:00
diva
822c2176df
Forgot to add this to my last commit 2 days ago. Async in the HGBroker too.
2009-05-30 16:22:15 +00:00
Adam Frisby
e70910c3e3
* Tweaks to /WHO listings.
2009-05-30 09:37:11 +00:00
Adam Frisby
449e167dce
* You are likely to be eaten by a grue.
...
* Enable with [IRCd] Enabled=true (will listen on port 6666).
2009-05-30 07:02:38 +00:00
Adam Frisby
1bb98a1eb0
* More Tweaks
2009-05-30 04:07:58 +00:00
Adam Frisby
29bc2962ad
* More IRCClientView fiddling. Now implements IClientAPI & IClientCore.
2009-05-30 03:53:04 +00:00
Adam Frisby
ac80b6539f
* May partially implement a C# IRCd & IRCClientStack.
2009-05-30 03:18:09 +00:00
Adam Frisby
c30b5ee014
* Adds World.Audio.* to MRM
...
* This includes methods such as PlaySound which take a Position as an argument, allowing you to trigger sounds arbitrarily across the scene without needing a parent object in the position.
2009-05-29 23:49:48 +00:00
Adam Frisby
433ee75775
* Protip: When you click 'make public' in resharper, note to save before committing.
2009-05-29 22:48:34 +00:00
Adam Frisby
78bec42225
* Implements Sound on Objects for IObject in MRM
...
* Method: IObject.Sound.Play(UUID sound, double volume)
* More feature-packed API to come soon. (I want a World.Sound with arbitrary positioning)
2009-05-29 22:44:49 +00:00
Arthur Valadares
8545621d9b
* Bug fix: Fixes an exception when Scene.RemoveClient is called to remove on a
...
non-existing ScenePresence avatar. Also removed trailing white spaces.
2009-05-29 21:12:55 +00:00
Justin Clarke Casey
95643971be
* refactor: little tweaks to trigger another build
2009-05-29 21:10:17 +00:00
Justin Clarke Casey
4aad6a07ff
* refactor: Remove redundent prim id attribute on Scene.AddSceneObject()
2009-05-29 21:01:18 +00:00
Justin Clarke Casey
6eb191c87b
* Add save xml2 serialization test
2009-05-29 20:20:47 +00:00
Justin Clarke Casey
9021bb231c
* minor: move common serialization test code into fixture setup
2009-05-29 16:27:43 +00:00
Justin Clarke Casey
fa04937a82
* Add xml2 load test
2009-05-29 16:11:33 +00:00
Dahlia Trimble
179724b4fc
some clean up of sculpt map caching code
...
remove a redundant debug message
2009-05-29 08:57:10 +00:00
Dahlia Trimble
05cbf0b502
reinstate a hopefully more robust experimental decoded sculpt map caching scheme
2009-05-29 06:50:15 +00:00
Dahlia Trimble
1609e7eac0
disable sculpt map caching until a better method of avoiding asset requests can be found
2009-05-29 05:11:50 +00:00
Dahlia Trimble
9493de7f4e
null test for texture assets when using cached sculpt map
...
addresses mantis #3735
2009-05-29 04:29:55 +00:00
Dahlia Trimble
db4f8d1298
Experimental decoded sculpt map caching
2009-05-29 02:46:35 +00:00
diva
1e9cb2f8fc
Making the delegate handlers async in async Get, to make things consistent. Them being synchronous in certain cases (asset in cache, for example) may account for slowness reported by folks in osgrid when they have the cache module on. Turns out that some of the provided handlers do non-trivial processing (the ones coming from J2KImage, for example), which means that the several asset requests that hit the cache end up being synchronous. The jury is still out on this.
2009-05-29 01:26:53 +00:00
diva
0094556d04
Instrumenting GlynnTuckerCache to find out the hit rate.
2009-05-28 21:04:10 +00:00
Adam Frisby
5db649538a
* Tweak to above
2009-05-28 19:20:49 +00:00
Adam Frisby
2feb218817
* Makes grid announcements more prominent.
2009-05-28 19:19:10 +00:00
Adam Frisby
4b151b83a8
* Oops. Forgot Initialise needs tweaking between IRegionModule and ISharedRegionModule.
2009-05-28 19:03:27 +00:00
Adam Frisby
561d6c1cdc
* Converts recently added OGSRadmin to IRegionModule because I cant be arsed figuring out Mono.Addins.
2009-05-28 18:59:18 +00:00
Adam Frisby
940b5567a0
* Adds OGS RAdmin class. Adds primitive remote admin functions for gridservers to perform on region servers. Used for grid-wide announcements, etc.
2009-05-28 18:27:08 +00:00
Adam Frisby
a7b49084ad
* May make the terrain flatten brush behave like Second Life(tm)'s client expects. May break everything. You decide!
2009-05-28 15:27:15 +00:00
diva
275e53b126
This may bring the missing texture back.
2009-05-28 15:05:00 +00:00
Dr Scofield
901fdca13b
From: Chris Yeoh <cyeoh@au1.ibm.com>
...
The attached patch implements llPassTouches. It has been added
to the export/import XML along with the flag for AllowedInventoryDrop.
The MySQL backend has been updated as well, though I haven't
done one of those before so could do with a check. I added
the migration mysql file as well.
The other data backends need updating as well.
2009-05-27 18:01:06 +00:00
diva
e0ef697402
Adding the GlynnTucker cache module as the default choice in .ini's.
...
Minor log message change in the module itself.
2009-05-27 16:11:23 +00:00
Jeff Ames
a576cca59e
Update svn properties.
2009-05-27 14:30:33 +00:00
Sean Dague
85e91ddb67
Revert "* Added IntegrationTest Attribute and tagged the ODETestClass"
...
This reverts commit 8f0096cc7b112fea8f69f391224911f624482747.
To get us back to compiling on fresh checkouts.
2009-05-27 12:53:29 +00:00
lbsa71
17f0a4be53
* Added IntegrationTest Attribute and tagged the ODETestClass
2009-05-27 12:36:58 +00:00
diva
ce5225e6dc
Experimental alternative cache module implementation, using GlynnTucker.Cache.dll.
2009-05-26 21:24:18 +00:00
diva
c061b4cb49
Changed the order of things in Scene creation. This piece of code is very jibbery, widely different results with slightly different orders. This particular order produces the best results in the UC Irvine sim in osgrid. But clearly there's something messed up here.
...
Addresses mantis #3707 , mantis #3713 , mantis #3686 .
2009-05-26 16:45:30 +00:00
diva
c66ef94a7b
Commented a log message related to users not found, because it floods the log when the sims have prims from foreign users.
2009-05-26 02:47:02 +00:00
Melanie Thielker
0b9076cd17
Revert a change I made to get a better URL because it failes under mono
2009-05-26 01:38:32 +00:00
Melanie Thielker
2f74a7e3a6
Couple of tweaks to the URL module: handle script reset gracefully and
...
stop crashing http server threads.
2009-05-26 01:27:22 +00:00
Justin Clarke Casey
582c20b1c4
* reseparate inventory item creator id and creator uuid
...
* unfortunately, while the client requires uuids and we want to be able to have arbitrary string ids, these cannot be kept in sync
* I think the problems last time were due to a serialization change
* So the major inteface version has been bumped to take care of any lingering issues here.
* This means that region servers beyond this revision can only connect to similarly uptodate grid services, and vice versa
2009-05-25 19:54:47 +00:00
Dr Scofield
eaa89f5a03
oops: wrong "path" in addin.xml
2009-05-25 12:27:17 +00:00
lbsa71
ba360ede8b
* Upped version number to 0.6.5
2009-05-25 11:43:56 +00:00
Dr Scofield
c18c1f6c7c
Revert "From: Chris Yeoh <cyeoh@au1.ibm.com>"
...
This reverts r9666. for some reason the mysql update does not work.
2009-05-25 11:32:31 +00:00
Dr Scofield
0bff818d39
From: Chris Yeoh <cyeoh@au1.ibm.com>
...
The attached patch implements llPassTouches. It has been added
to the export/import XML along with the flag for AllowedInventoryDrop.
The MySQL backend has been updated as well, though I haven't
done one of those before so could do with a check. I added
the migration mysql file as well.
The other data backends need updating as well.
2009-05-25 11:26:36 +00:00
Dr Scofield
d4d9d8ed8f
converting CapabilitiesModule to new region module scheme
2009-05-25 11:11:04 +00:00
Dr Scofield
b840535622
dropping attendee list keeping from Concierge, relying on
...
Scene.GetAvatars() instead now. [test #487 ]
2009-05-25 09:32:44 +00:00
Jeff Ames
d4957dd9be
Update svn properties.
2009-05-25 01:59:50 +00:00
Melanie Thielker
4e64bf9360
Prevent group deeded objects from being returned by the group return option
...
unless the user has that permission through the group.
2009-05-24 17:29:40 +00:00
Melanie Thielker
ca75c101ec
Allow the perms module to inspect and modify the list of objects to return
...
for more fine-grained control
2009-05-24 17:20:47 +00:00
Melanie Thielker
c028d0a3c1
Make group permissions control what a user can return.
2009-05-24 16:55:34 +00:00
Melanie Thielker
f3f7d60367
Add a new permissions check for bulk object returns.
2009-05-24 16:11:35 +00:00
diva
006c2c2e8f
Fixes map image on link-region (HG).
2009-05-24 02:09:20 +00:00
diva
fb6d314d4d
This should make HG asset transfers work much better. It now uses HGUuidGatherer, which is a subclass of UuidGatherer. Hence, on-line HG asset transfers use exactly the same UUID collection code as save oar/xml. If it doesn't work, it's Justin's fault :D
2009-05-23 17:51:13 +00:00
Adam Frisby
6b312d9340
* Implements automatic loopback handling for standalone regions.
...
* This /should/ make OpenSim behave properly when hosting behind a NAT router and utilizing port forwarding (but the router doesn't support Loopback)
2009-05-23 06:29:08 +00:00
Adam Frisby
31baeef469
* Pipes requestors IP address through all XmlRpcRequest delegates. This is needed to be able to 'NAT-wrap' the login sequence.
...
* If you have something using XmlRpc that isn't in core, change your method signature from:
(XmlRpcRequest request)
to:
(XmlRpcRequest request, IPEndPoint remoteClient)
2009-05-23 06:05:20 +00:00
Adam Frisby
3b1b3ac9bb
* Breaks OpenSim.. err I mean.. adds NAT translation support to EnableSimulator EventQueue methods.
...
* NB: This may actually break logins on certain regions. Shake well before consuming.
2009-05-23 05:44:18 +00:00
Adam Frisby
f8c569dc7c
* NetworkUtil now handles an error case in a way which is easier to debug.
2009-05-23 05:18:37 +00:00
Justin Clarke Casey
a3145e4e5a
* Reintroduce save iar test, which wasn't working because the asset service hadn't been manually post intiailized
2009-05-22 19:59:45 +00:00
Dr Scofield
3b689e506f
From: Alan Webb <alan_webb@us.ibm.com>
...
Changes to support client-side image pre-caching in the region. This
commit adds an additional calling sequence to the DynamicTexture data
and URL calls. The new interface allows a dynamic image to be loaded
into a specific object face (rather than the mandatory ALL_SIDES
supported today.
This is in part fulfilment of ticket #458 .
2009-05-22 16:22:49 +00:00
Dr Scofield
55442f3644
From: Alan Webb <alan_webb@us.ibm.com>
...
RequestUserInventory is supposed to drive a supplied callback
when it completes. In fact, it fails to do so if the user's
inventory does not exist (e.g. the inventory database is
unavailable for some reason), and the requestor is left
sleeping forever.
The code has been modified to return empty lists via the
callback as an accurate reflection of what is there: nothing.
2009-05-22 15:18:41 +00:00
Dr Scofield
1d02636c27
cleaning out warnings.
...
NOTE: we currently have a gazillion warnings caused stuff flagged as
"obsolete" (OGS1 stuff) --- what's up with that?
2009-05-22 14:57:00 +00:00
Dr Scofield
912be7a2ac
converting Chat module and Concierge module to new style region modules
2009-05-22 14:25:50 +00:00
Dr Scofield
1df80943b0
dropping sex from SceneBanner...
2009-05-22 14:21:44 +00:00
Dr Scofield
37726764be
changing IRCBridgeModule to new region module scheme
2009-05-22 11:37:26 +00:00
diva
da170cde46
Cleaning up a few HG things. HG Posts may now work in grids, but if the home grid is a standalone, this still doesn't work -- something wrong with RegionAssetService's DB connection.
2009-05-22 04:23:59 +00:00
Melanie Thielker
8f8e20b39d
Small update to make the command line work again
2009-05-21 23:07:26 +00:00
Melanie Thielker
e5f3337c3f
Implement .ini file includes. Anything that begins with "Include-" will be
...
treated as another ini source to load.
For example:
Include-Asset = AssetSetup.ini
will load AssetSetup.ini after all other ini files are done.
This works recursively, too
2009-05-21 23:06:10 +00:00
Dahlia Trimble
3d0f110f21
normalize quats before applying llSetRot()
2009-05-21 19:44:20 +00:00
MW
e4d68964dd
Added ITeleportModule interface, and added a hook into scene so if a module has registered this interface then that handles teleport requests rather the SceneCommunicationService.
...
As by default there is no ITeleportModule registered, Teleports by default will still be handled by SceneCommunicationService.
2009-05-21 10:41:16 +00:00
Melanie Thielker
4065ebff15
Remove the pre-log4net, discrete output methods from the consoles
2009-05-20 13:50:33 +00:00
Dr Scofield
4c7da1421f
refactoring instantiation of Location object: moving it out of the for
...
loop as it really is a "constant"
2009-05-20 13:37:25 +00:00
Melanie Thielker
20383a61b8
Thank you, StrawberryFride, for a patch to fix SceneBan behavior.
...
Applied with changes (commented the logging entirely, since Linux defaults
to debug level)
Fixes Mantis #3689
2009-05-20 11:27:15 +00:00
Melanie Thielker
a3fed17956
Fix a slight oversight in SceneInventory that would not enable copy to
...
inventory when permissions are bypassed
2009-05-20 10:54:35 +00:00
Jeff Ames
e0bc5c5db2
Add copyright headers, formatting cleanup.
2009-05-20 01:32:06 +00:00
Justin Clarke Casey
cd90ea377e
* minor: Tweak the command exception catcher of last resort to make a little more sense
2009-05-19 19:57:45 +00:00
Justin Clarke Casey
01ca3a91ad
* Take another attempt at http://opensimulator.org/mantis/view.php?id=3191
...
* Return something more sensible if a file isn't found
2009-05-19 19:41:01 +00:00
Dr Scofield
14f0d5e77f
trying to fix exception with in LLPacketQueue probably caused by
...
missing locks where the queue was modified.
2009-05-19 18:46:20 +00:00
Dr Scofield
8559f9bbba
From: Alan Webb <alan_webb@us.ibm.com>
...
The image render module is returning everything twice. Once with
data, once with null. This change adds a return to stop this
behavior. This was not apparent until I added a message to the
catching routine which issued a warning message when no data was
returned.
2009-05-19 18:34:04 +00:00
Melanie Thielker
88f17010b7
Add initializing m_scene if it's not null. Marking MyScene as [Obsolete]
...
because it will be removed soonish. This is NOT the way to go.
Thanks, mpallari, for pointing this out.
Fixes Mantis #3684
2009-05-19 16:26:20 +00:00
Dahlia Trimble
87b95e324e
Sculpt mesher refactor
...
adds some previously missing geometry to sculpties
new LOD improves vertex accuracy
fix torus mode mesh edge joining
sync with primmesher r37
2009-05-19 10:09:33 +00:00
Melanie Thielker
23d902be42
Remove the old asset cache and local services and the configurations for them
2009-05-18 23:18:04 +00:00
diva
df16532858
Bug fix and config rename.
2009-05-18 23:15:50 +00:00
diva
75b8b60aa1
Removing the last reference to CommsManager.AssetCache.
2009-05-18 22:22:09 +00:00
diva
13da5a9fba
Finished HG Service Store. Not fully functional because of problems with asset.ID insisting on being a UUID string.
2009-05-18 20:04:59 +00:00
Justin Clarke Casey
1cc9d1fd8d
* minor: another attempt at http://opensimulator.org/mantis/view.php?id=3191
...
* didn't realize that we were getting back plain old exceptions
2009-05-18 18:44:55 +00:00
Justin Clarke Casey
29671fc103
* Resolve http://opensimulator.org/mantis/view.php?id=3191
...
* Catch directory exception on load oar as well as file exception
2009-05-18 18:22:15 +00:00
Justin Clarke Casey
ad7214620f
* Re-enable save oar test by loading asset data plugins from test mock class
...
* Actually spit out the exception caught by the plugin loader - not much point having plugins throw exceptions if we are just going to ignore them
2009-05-18 17:46:14 +00:00
Dr Scofield
a885556063
From: Chris Yeoh <yeohc@au1.ibm.com>
...
We've encountered problems with textures never fully downloading and
objects not moving or being deleted (from the client's point of view)
even when the bandwidth settings on the client have been set very
low. This can happen over reasonably lossy links (eg you're on the
other side of the world from the server) as the server retries 3 times
and then gives up.
Whilst its possible to set ReliableIsImportant, this forces the server
to keep retrying no matter what which potentially could lead to
problems. This patch allows for the setting of MaxReliableResends
explicitly (is set to 3 normally) in OpenSim.ini so if you know you
will have clients connecting with poor connections you can set it a
bit higher (10-15 works quite well even for very poor connections).
2009-05-18 16:10:48 +00:00
Dr Scofield
e1a1d38aff
From: Alan Webb <alan_webb> & Dr Scofield<drscofield@xyzzyxyzzy.net>
...
Disable use of log4net in script domains to avoid mono 2.4 aborts.
2009-05-18 15:32:06 +00:00
Melanie Thielker
2534078380
Refactor: Change "Servers" to "Server", since the can only be one. Break
...
the handlers out of the asset server context into a generic scope.
2009-05-18 12:36:59 +00:00
Melanie Thielker
cb2ce61876
Move the connectors under services for reasons of application logic. Remove
...
the user server skeleton in preparation for introducing a generic server
2009-05-18 11:43:37 +00:00
Dr Scofield
e3f2cfa1ca
From: Alan Webb <alan_webb@us.ibm.com>
...
Fixes:
[1] Sharing exception on remote OAR management
[2] Occasional 505 error talking to Tomcat
[3] Occasional mono aborts caused by mlog in the
script engine's app domain (mono 2.4)
2009-05-18 10:04:28 +00:00
Charles Krinke
74f1c16c49
Thank you kindly, Jonc, for a patch that solves
...
the issue of a console command 'export-map file.jpg'
having the map flipped when exported.
2009-05-17 18:09:39 +00:00
diva
720e2bc5d9
Renaming [ServiceConnectors] back to [Modules].
2009-05-17 15:37:50 +00:00
Jeff Ames
5cfd84c924
Update svn properties.
2009-05-17 10:26:00 +00:00
diva
0379dbe2fd
Removing a superfluous message, just to make bamboo run again.
2009-05-17 02:15:08 +00:00
diva
aac8ca0411
HG asset transfers starting to work -- GETs only for now.
2009-05-17 01:38:43 +00:00
Homer Horwitz
99cf8e3f5a
Send the owner name, not the client name on SendDialog.
...
This modifies IClientAPI.SendDialog slightly.
Fixes Mantis #3661 .
2009-05-16 16:01:25 +00:00
diva
d8931def06
Another minor bug fix for making notecard/script savings work with old asset servers.
2009-05-16 00:23:32 +00:00
Justin Clarke Casey
c11e047410
* Resolve bug where save oar would never complete if any assets were missing
2009-05-15 20:20:55 +00:00
diva
5e4fc6e91e
Heart surgery on asset service code bits. Affects OpenSim.ini configuration -- please see the example. Affects region servers only.
...
This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing.
Known problems:
* HG asset transfers are borked for now
* missing texture is missing
* 3 unit tests commented out for now
2009-05-15 05:00:25 +00:00
Dahlia Trimble
14c1e991c6
some sculpted prim geometry accuracy and meshing speed improvements
2009-05-15 03:14:04 +00:00
Melanie Thielker
786ff98f6d
Remove all messages from the groups module that would be output when it is
...
NOT enabled.
2009-05-14 21:38:17 +00:00
Melanie Thielker
9248300596
Remove a misleading event that was only used internally
2009-05-14 21:28:02 +00:00
Justin Clarke Casey
6277156044
* When saving an oar, save assets when immediately received rather than storing them all up in memory
...
* Hopefully this will remove out of memory problems when saving large oars on machines without much memory
* It may also speed up saving of large oars
2009-05-14 20:37:54 +00:00
Justin Clarke Casey
02bac7fea4
* refactor: move SceneXmlLoader into subpackage
2009-05-14 18:46:17 +00:00
MW
80c1c10407
Added a bool variable to OGS1GridServices to be able to turn off the use of the remoteRegionInfoCache as caching region data like that stops a dynamic grid (where regions could change port or host at any time, useful for load balancing among other things) from working.
...
The bool is currently hardcoded to be true (to use the cache). So need to hook this up to a config option later.
2009-05-14 18:29:47 +00:00
Justin Clarke Casey
303aa4b65e
* refactor: move bottom part of 'xml2' serializaton to separate class
2009-05-14 18:08:54 +00:00
Justin Clarke Casey
d10b5e29bc
* refactor: break some of xml2 serialization out of sog
2009-05-14 16:33:04 +00:00
Melanie Thielker
d843b897b2
Move the connector for the new asset server to a connectors project. Inherit
...
the region module version from this. This enables inter-server connections
to reuse connetor code from region modules.
2009-05-14 06:18:18 +00:00
Melanie Thielker
50b305b006
Honor the temp and local asset flags
2009-05-14 03:07:00 +00:00
Melanie Thielker
13298fef0b
Fix up some URL details
2009-05-13 20:57:26 +00:00
Melanie Thielker
8bea196b5b
Add the port to the generated URL. For some reson this still doesn't want to
...
receive requests.
2009-05-13 20:45:28 +00:00
Melanie Thielker
fb3d5770dd
Make the LSL HTTP server create and give out URLs to scripts
2009-05-13 20:32:14 +00:00
Melanie Thielker
1196f3eac7
Add most of the meat to the LSL HTTP server
2009-05-13 04:04:26 +00:00
Melanie Thielker
ba8850f254
Plumb request and return URL functions.
...
Implements llRequestURL, llRequestSecureURL, llReleaseURL
2009-05-13 03:09:30 +00:00
Melanie Thielker
80ce08d8b2
Add a skeleton for the LSLHttpServer
2009-05-13 02:54:13 +00:00
Melanie Thielker
6c2302637f
Implement llAttachToAvatar()
2009-05-13 02:21:21 +00:00
Melanie Thielker
4cce1cc26e
Implement llDetachFromAvatar()
2009-05-13 02:06:12 +00:00
Charles Krinke
94e2768cc7
Add interface, stub implementation and
...
script stub for llGetHTTPHeader().
2009-05-13 01:58:17 +00:00
Charles Krinke
6257bb8b09
Add interface, implementation stub and
...
script stub for llGetFreeURLs().
2009-05-13 01:47:29 +00:00
Charles Krinke
a5feb0682a
Thank you kindly, BlueWall sir, for a patch that:
...
Adding a jsonp wrapper to the user supplied status report
uri if the key "callback" exists. It will work with many
javascript toolkits to provide an ajax callback to allow
the browser to update stats reports without the
intervention of an intermediate server.
2009-05-13 01:27:23 +00:00
Charles Krinke
4db2f71c45
Added interface, implementation stub and
...
script stub for llReleaseURL().
2009-05-13 01:21:50 +00:00
Charles Krinke
2776afd83d
Remove incorrect semicolon
2009-05-13 01:13:59 +00:00
Charles Krinke
c23bd2d6ea
Add interface, stubbed implementation and
...
script stub for llRequestSecureURL().
2009-05-13 01:06:06 +00:00
Melanie Thielker
e206a9ce88
Remove some no longer needed debug.
...
Fixes Mantis #9520
2009-05-13 00:58:10 +00:00
Charles Krinke
f63b83b085
Added interface, stub implementation and script
...
stub for llRequestURL().
2009-05-13 00:58:01 +00:00
Charles Krinke
ba99f2a1a5
Add interface, stub and bare implmentation for llHTTPResponse().
2009-05-13 00:29:50 +00:00
Melanie Thielker
88371e4f98
Fix interface registration/deregistration mechanics
2009-05-12 23:49:42 +00:00
Melanie Thielker
55dd6d4334
Make the accet cache module actually register the interface
2009-05-12 23:21:03 +00:00
diva
7bf1d111e2
Bug fix in SceneBase.RequestModuleInterface. Check that the list's count is greater than 0.
2009-05-12 23:06:43 +00:00
diva
12a470e6a7
Making SimStatsReporter a little more restrained in requesting the IEstateModule interface.
2009-05-12 22:48:54 +00:00
Adam Frisby
12d7063b0b
* Adds additional check to MRM rezzing - the host object must be created by the sim owner, not just owned by it.
2009-05-12 21:42:20 +00:00
Adam Frisby
3a28f748d5
* Adds ScenePresence.TeleportWithMomentum - same as .Teleport, but preserves velocity.
2009-05-12 21:21:33 +00:00
Adam Frisby
9f5679e60f
* EventManager's OnNewPresence event now fires correctly again.
2009-05-12 20:59:38 +00:00
Melanie Thielker
c582d54272
Correct addin XML
2009-05-12 19:50:09 +00:00
Melanie Thielker
c2bcd5845f
Commit the addin XML for the Core Asset Cache
2009-05-12 17:01:04 +00:00
Melanie Thielker
fca73f3ae4
Add more group notify glue
2009-05-12 15:52:28 +00:00
Melanie Thielker
1b7d0a6c93
Paving the way for syncing group permissions across a grid
2009-05-12 14:59:11 +00:00
Dr Scofield
c81c9e712c
fixing SocketException when IP address cannot be resolved
2009-05-12 14:57:42 +00:00
Melanie Thielker
68da7d1a43
Correctly reset the group ownership flag when a parcel is reclaimed.
2009-05-12 13:48:55 +00:00
Melanie Thielker
e1750c8c7c
Hook up deed permissions checking to the land module
2009-05-12 13:41:30 +00:00
Melanie Thielker
32ac388363
Add permission mechanisms for group deeding land
2009-05-12 13:29:38 +00:00
Adam Frisby
559355189a
* Applies Mantis #3630 - Adds support for outside MRM initialisation, makes MRMModule compatible with the Visual Studio MRMLoader ( http://forge.opensimulator.org/gf/project/mrmloader/ )
2009-05-12 13:10:04 +00:00
Charles Krinke
e08d0a7ba5
Thank you kindly, Patnad, for a patch that:
...
This patch allow you to see region rating from
the console. Type "show ratings" and it will
show you the rating of all your regions.
2009-05-12 03:35:07 +00:00
Charles Krinke
c1d680b6c3
Thank you kindly, Patnad, for a patch that:
...
This is to handle the changes in the v1.23 viewer
of LL regarding the adult rating. With this patch
a region can be changed to the adult rating from
LL viewer v1.23 and above.
2009-05-12 03:30:37 +00:00
Melanie Thielker
16efb78698
Changes to the new user system to add the modularity developed for the asset
...
system
2009-05-11 22:54:09 +00:00
Melanie Thielker
f948fab4da
Add AssetService of type IAssetService to Scene
2009-05-11 21:04:27 +00:00
Adam Frisby
6dcafec22d
* Implements IP and DNS based ban facilities to OpenSim.
...
* User interface is ... primitive at best right now.
* Loads bans from bans.txt and region ban DB on startup, bans.txt is in the format of one per line. The following explains how they are read;
DNS bans are in the form "somewhere.com" will block ANY matching domain (including "betasomewhere.com", "beta.somewhere.com", "somewhere.com.beta") - make sure to be reasonably specific in DNS bans.
IP address bans match on first characters, so, "127.0.0.1" will ban only that address, "127.0.1" will ban "127.0.10.0" but "127.0.1." will ban only the "127.0.1.*" network
2009-05-11 19:23:51 +00:00
Melanie Thielker
d7b2beea18
Add selling for $0 back to the sample economy module. This is disabled by
...
default but can be enabled in OpenSim.ini. If enabled, things can be sold
for $0. Other amounts will cause the buyer to see a message and the transaction
will fail.
2009-05-11 18:23:39 +00:00
Melanie Thielker
91bfd25ef8
Add a blue box to the stub money module to alert users that buying is
...
unimplemented
2009-05-11 18:06:50 +00:00
Jeff Ames
5164403676
Update svn properties.
2009-05-11 15:14:15 +00:00
Dr Scofield
ecc876bc18
Squashed commit of the following:
...
further ACL stuff:
- adding StrictAccessControl variable: DON'T set this to false if you
want to enforce ACL, it will disable ACLs right now. Default is
true.
once we've got code added to allow child agents but prevent them
from becoming root agents when the ACL denies access to the avatar,
setting this to false will then allow avatars to see into a
neighboring region but not enter it (currently ACL prevent both,
seeing and entering).
- enhancing log statements
2009-05-11 07:46:12 +00:00
Melanie Thielker
461e213a39
Plumb the HG asset broker. More naming changes to clarify things. Lots more
...
config options.
2009-05-11 02:59:26 +00:00
Melanie Thielker
225252f48e
Add the HG asset module skeleton
2009-05-10 22:55:44 +00:00
Adam Frisby
53a350573e
* Further testing against core packet issue.
2009-05-10 20:31:45 +00:00
Adam Frisby
da948a992a
* Attempting to diagnose a core packet issue on Windows/.NET. Adding additional locks to see if it fixes the problem.
2009-05-10 20:25:05 +00:00
Melanie Thielker
65c0996a9c
Use the new async handling class to actually make the new asset service's
...
async request perform asynchronously
2009-05-10 16:51:14 +00:00
Melanie Thielker
dc4f31db1a
Create an async form of the RestObjectPoster. Rename the file (but not the
...
class!) to SynchronousRestObjectRequester. Add CacheBuckets parameter to
cache
2009-05-10 16:20:25 +00:00
Melanie Thielker
1a910b6e1d
Connect up the new asset cache and introduce an asynchronous call path
...
for asset retrieval (full asset only) to ease migration to the new system
2009-05-10 14:03:06 +00:00
Melanie Thielker
d8e1842d25
Add some asset cache plumbing. Change the generic cache from UUID to string
...
keys to allow caching the new crop of URI identified objects.
2009-05-10 12:27:05 +00:00
Melanie Thielker
14a6880352
Fix the build break
2009-05-10 00:40:08 +00:00
Melanie Thielker
13b2ff83df
Small asset cache addition. Comment a debug output left in CAPS
2009-05-10 00:30:51 +00:00
Melanie Thielker
89d921c3b2
COmmitting the asset cache skeleton
2009-05-09 23:47:20 +00:00
Homer Horwitz
1d234ca83f
Fixed handling of inventory a bit
...
- AssetType isn't InventoryType. Those enums contain different numbers. Use AssetType for the asset type, InventoryType for the inventory type.
- The ToString method (or ToLower) of AssetType/InventoryType doesn't necessarily return the correct LLSD string.
- Replaced several magic numbers by their corresponding enum.
- Fixed the invType for gestures and animations in the library.
This should fix Mantis #3610 and the non-terminating inventory loading
2009-05-09 21:11:12 +00:00
Adam Frisby
c534d7f614
* Code to make MRM debugging easier.
2009-05-09 17:44:12 +00:00
Melanie Thielker
93d54d7652
Prevent normal (Text) IM from being logged by the group message module in
...
debug mode.
Fixes Mantis #3609
2009-05-09 17:02:03 +00:00
Melanie Thielker
e4236a4233
Fox a boo-boo in ExtraParams - a packet with no data blocks could crash
...
the session. Also allow multiple data blocks.
2009-05-09 12:04:40 +00:00
Teravus Ovares
b76405f50a
* Cripples the SampleMoneyModule code.
...
* The OpenSimulator core developers have voted to remove all currency functionality from OpenSimulator leaving the 'IMoneyModule' interface in. This affects all systems that used the example money module. This effects All systems that used the XMLRPC External Money Module Hooks interface. If you previously used this interface, please consult with the OpenSimWi Redux folk who are keeping the old module with this interface up to date.
* A notice to the opensim-dev mailing list to come as well.. since this is likely a breaking change for some.
2009-05-09 05:56:10 +00:00
Teravus Ovares
dac793ea47
* Break out the SampleMoneyModule to a new namespace
...
* Create the OpenSim.Region.ReplaceableModules namespace for modules that we intend to have people replace (see readme)
* Create the OpenSim.Region.ReplaceableModules.MoneyModule namespace
* Put our current Sample MoneyModule in this namespace. (more modifications here next commit)
2009-05-09 05:21:56 +00:00
Melanie Thielker
b3d29aaeb3
Make remote assets work through the new server system
2009-05-09 04:03:32 +00:00
Melanie Thielker
b2b13c5a42
Plumb the remote asset hookup, all but the actual requests
2009-05-09 03:08:11 +00:00
Melanie Thielker
c1e7352d75
Add the asset service connectors and sample config. READ WARNINGS!!!
2009-05-09 02:49:55 +00:00
Justin Clarke Casey
567e0d032c
* break out 'xml2' deserialization from sog
2009-05-08 19:18:37 +00:00
Justin Clarke Casey
9f39a490b5
* refactor: break out sog original xml serialization to a separate class
2009-05-08 18:05:54 +00:00
Justin Clarke Casey
fcfc97a4bf
* minor: rename xml sog serialization method for readability
2009-05-08 16:44:00 +00:00
Justin Clarke Casey
032e3b49eb
* refactor: Break out original xml object serialization into a separate class
...
* No functional change
2009-05-08 15:47:59 +00:00
Sean Dague
6b88a205d6
another possible cause of some of the inventory wierdness is the 1/2 implemented
...
OSP resolver, and the caching of the uuid seperate from the string that is a UUID.
Change this behavior back to something that ensures the data for the 2 is the same.
Put the 2 unit tests that depend on the new behavior into ignore state.
2009-05-08 15:40:39 +00:00
Dahlia Trimble
bd3a4e5f01
Added a Copy() method to PrimMesh and SculptMesh as suggested by dmiles. Sync PrimMesher.cs and SculptMesh.cs with PrimMesher.dll r36.
2009-05-08 03:04:45 +00:00
Sean Dague
6d36985bbc
remove misleading comment
2009-05-07 19:37:25 +00:00
Sean Dague
ce0a84cbc0
instrument most of the tests with a new InMethod function that may help us figure
...
out where that pesky deadlock is during test runs.
2009-05-07 19:07:08 +00:00
Justin Clarke Casey
7440681062
minor: Inconsquential change to provoke another build
2009-05-07 13:59:38 +00:00
Melanie Thielker
aa4e42069b
Change avatar updates to be processed the same way object updates are, e.g.
...
packet length check. More changes to come
2009-05-07 12:06:07 +00:00
Dr Scofield
3312938f6b
From: Alan Webb <alan_webb@us.ibm.com>
...
logs error message on empty data in DynamicTextureModule
2009-05-07 11:58:45 +00:00
Dr Scofield
1352a19838
refactoring Scene.NewUserConnection() to be simpler and clearer.
2009-05-06 20:02:49 +00:00
Charles Krinke
c84abfa9b1
Thank you kindly, Fly-Man- for a patch that:
...
Adding more SL likeness for Email module in CORE.
I've added some SL likeness to the Email module so
that it looks more like emails going out in the
same standard as SL uses
2009-05-06 02:29:29 +00:00
Homer Horwitz
7e731b024a
Allow temp-on-rez prims to take part in physics (e.g. temp-on-rez bullets)
...
This makes re-rezzed temp-on-rez objects visible, too. Fixes Mantis #3405
2009-05-05 19:44:19 +00:00
Justin Clarke Casey
f8e0653e73
* If an item creator id contains an iar loaded name, create a temporary profile and hashed UUID to represent the user
2009-05-05 16:45:21 +00:00
Dr Scofield
e0a06f6416
- moving banned check and public/private check to
...
Scene.NewUserConnection()
- adding reason reporting
this enforces estate bans very early on and prevents us from
circulating client objects that we'd then have to retract once we
realize that the client is not allowed into the region
2009-05-05 16:17:52 +00:00
Jeff Ames
8ea12ad6c0
Add copyright header. Formatting cleanup. Ignore some generated files.
2009-05-05 09:59:15 +00:00
Jeff Ames
6ae88d129a
Update svn properties.
2009-05-05 09:32:30 +00:00
Melanie Thielker
4c828e503c
Add the remote user connector skeleton
2009-05-05 05:48:29 +00:00
Melanie Thielker
26efb55f37
Change local user connector into a shared module
2009-05-05 05:42:48 +00:00
Melanie Thielker
8b9f8be512
Some refactoring. Database is now active in the new user server
2009-05-05 05:35:22 +00:00
Melanie Thielker
d1c9a41be0
Plumb the new server connector logic
2009-05-05 04:37:06 +00:00
Melanie Thielker
acfb5051cd
Intermediate commit. WILL NOT COMPILE!
2009-05-04 20:15:39 +00:00
Justin Clarke Casey
b3178c8079
* Resolve http://opensimulator.org/mantis/view.php?id=3573
...
* Override add user for HG user services to hit local services if present
2009-05-04 19:15:44 +00:00
Justin Clarke Casey
3a27a05607
* refactor: move OspResolver to a different namespace
2009-05-04 17:32:20 +00:00
Justin Clarke Casey
a61cbab799
* Insert profile references for creators for items saved into iars
2009-05-04 16:15:30 +00:00
Justin Clarke Casey
257fc5515a
* minor: remove some mono compiler warnings, minor cleanup
2009-05-04 15:38:36 +00:00
Justin Clarke Casey
509ec2637b
* Refactor: Simplify InventoryFolderImpl. No functional change.
2009-05-04 15:02:14 +00:00
Melanie Thielker
36dd346a91
Add a method to flush the prim update buffers once a frame, since the timer
...
appear to be too slow to be useful, or fail too fire. I may remove the timers
as a consequence if this.
2009-05-04 14:25:19 +00:00
Melanie Thielker
1b877234da
Refactor. Make ConsoleBase a true base class. Create CommandConsole as a simple
...
console capable of processing commands. Create LocalConsole as a console
that uses cursor control and context help. Precursor to a distributed
console system for the new grid services. No functional change intended :)
2009-05-04 12:15:55 +00:00
Melanie Thielker
b44a56e0b4
Add a parameter that limits the max size of the outbound packet. Defaulted
...
at 1400 since the headers get added to that (32 bytes plus UDP headers)
2009-05-04 02:24:30 +00:00
Melanie Thielker
8ac4ec738b
Create a working configuration hook to allow LLClient parameters from
...
Opensim.ini to take force
2009-05-04 01:57:18 +00:00
Melanie Thielker
0ecd965b8c
Some reorganization around service connectors. No functional change
2009-05-03 23:13:33 +00:00
Charles Krinke
e957a29ab0
Thank you kindly, Thomax, for a patch that:
...
Does not set prims to fullbright when an
ossl dynamic texture function is called.
2009-05-03 17:53:43 +00:00
Melanie Thielker
e8b532b26a
Make a race condition in packet resending smaller
2009-05-03 09:43:52 +00:00
Dahlia Trimble
09522743cb
alter behavior of sculpted prim "Inside out" setting. Addresses Mantis #3514
2009-05-03 06:25:52 +00:00
Adam Frisby
0c639e08ea
* Reversing experimental change in previous rev.
2009-05-02 23:00:51 +00:00
Adam Frisby
1027668359
* Experimental: Speeds maximum resend per second from 80 packets to 400. (From maximum 117kbit to 585kbit)
2009-05-02 22:01:47 +00:00
Melanie Thielker
229a4d54ca
If a packet pooling blows up, fail gracefully instead of disconnecting
...
the user
2009-05-02 21:21:20 +00:00
Melanie Thielker
780f34275b
Handle resends better
2009-05-02 20:08:26 +00:00
Adam Frisby
0b2a34438c
* Makes ObjectUpdate compressing tweakable in OpenSim.ini - introduces:
...
TerseUpdatesPerPacket=10
FullUpdatesPerPacket=14
TerseUpdateRate=10
FullUpdateRate=14
2009-05-02 19:09:48 +00:00
Melanie Thielker
66e25abbfe
Plumb conifg into the client views. Add config option to configure packet
...
dropping.
2009-05-02 17:31:49 +00:00
Charles Krinke
011448f69a
Thank you kindly, Fly-Man, for a patch that:
...
* Added the hostname so the email gets the
right hostname when going outbound
2009-05-02 16:42:35 +00:00
Charles Krinke
61d3c551fd
Thank you kindly, Thomax, for a patch that solves:
...
ConfigurableWind module doesn't show any effect as
time = DateTime.Now.TimeOfDay.Seconds / 86400;
calculates 0.
2009-05-02 16:38:59 +00:00
Charles Krinke
280d2cbf4a
Thank you kindly, BlueWall, for a patch that:
...
Move json stats to non-published resource name
Remove well-known resource name for json stats,
creating dynamic uris with private keys and add
a user configurable resource name for region owner usage.
2009-05-02 16:28:30 +00:00
Charles Krinke
47640aca22
Thank you kindly, MCortez for a patch that solves:
...
Different people using Hippo 0.5.1 report that trying
to send group instant messages crashes the viewer
(Hippo 0.5.1). This is the case even for empty groups
or if all group members are online.
2009-05-02 16:16:27 +00:00
diva
c4e6397a92
Rename CoreModules.Communications to CoreModule.ServiceConnectors and, inside it, REST to Remote.
2009-05-02 14:47:33 +00:00
Melanie Thielker
74ce07e971
Move a lock to attempt to cut down packet loss
2009-05-02 14:47:01 +00:00
diva
bdef6d71f1
Change of word in log message.
2009-05-02 14:12:35 +00:00
Melanie Thielker
62bcf0e694
Numerous packet improvements.
...
Don't allow packets to be resent before they have actually been sent for the
first time. Switch from serializing a packet to get it's length to the LibOMV
provided Length property. Fix resend timing. Fix the use of dangling references
to Acked packets. Fix the packet handler to play nice with the packet pool.
Fix the packet pool. Add data block recycling to the packet pool. Packet pool
is now ENABLED by default. Add config option to disable packet and data block
reuse. Add ObjectUpdate and ImprovedTerseObjectUpdate to the packets being
recycled.
2009-05-02 13:16:41 +00:00
Melanie Thielker
ac944def3f
Fix the issue that stopped the packet pool from working. Add a mechanism
...
to recycley data blocs within a packet. Recycle the ObjectUpdate* data
blocks. Speeds up loading even more.
This may mean that the packet pool is now viable.
2009-05-02 00:14:04 +00:00
Melanie Thielker
0f721da5f1
Add a tweakable for the prim queue preload
2009-05-01 19:33:18 +00:00
Melanie Thielker
52d80249d3
Throttle prim sending a bit (again) to ensure the queues don't overrun and
...
clog
2009-05-01 18:24:56 +00:00
Melanie Thielker
8020af6184
Add methods to block and queue agent updates during region crossing and TP
...
This is to ensure integrity of animations and script states with regard
to controls pressed or released. No user functionality yet.
2009-05-01 17:10:42 +00:00
Melanie Thielker
13c597baba
Send the animations of all already present avatar to an avatar entering a sim
...
to stop the "folded legs" on simcross
2009-05-01 16:47:53 +00:00
Melanie Thielker
55a69f3f2d
Improve prim sending by combining multiple prim updates into a single packet
2009-05-01 16:29:15 +00:00
Justin Clarke Casey
e7078520db
* refactor: move iar name hashing into a method
2009-04-30 19:57:07 +00:00
Melanie Thielker
c7fd036b35
Estate owners who are not administrators, even in god mode, should not be
...
able to edit a real god's objects. Minor tweak.
2009-04-30 15:38:10 +00:00
Melanie Thielker
e901c8be17
Thank you, mpallari, for a patch that correct the behavior of the avatar
...
performance patch.
Fixes Mantis #3562
2009-04-30 15:26:37 +00:00
MW
ceb4db5272
Fixed a bug in the permissions module, where if there were multiple admins, the client permissions flags were sent incorrectly, which stopped one admin being able to edit another admin's objects. Even thought the comments in the code said that admins should be able to edit each other's objects.
2009-04-30 14:56:26 +00:00
Melanie Thielker
334738fca9
Thank you, mpallari, for a patch that increses efficiency by combining
...
avatar updates into a single packet.
Applied with changes.
Fixes Mantis #3136
2009-04-30 11:58:23 +00:00
Charles Krinke
8944ab910c
Thank you kindly, MCortez for a patch that:
...
The attached patch provides the necessary infrastructure to support
security and authentication features of the xmlrpc server.
* Read/Write keys for accessing a Group's xmlrpc service.
* Requiring user session verification for write operations.
2009-04-29 22:31:00 +00:00
Melanie Thielker
e2327384e0
Catch another j2k decode exception that can be caused by a bad asset
2009-04-29 21:01:01 +00:00
Melanie Thielker
98cdc1efdd
Fix a crash that will hit when an image asset is truncated in storage
2009-04-29 20:32:40 +00:00
Justin Clarke Casey
10415c579b
* Correct log message format
...
* Fix XmlRpcGroupData.XmlRpcCall() to correctly handle response
2009-04-29 19:38:20 +00:00
Justin Clarke Casey
40c2e2e84f
* Add test to check temp profile creation on iar load
2009-04-29 19:31:48 +00:00
Justin Clarke Casey
1bf0bc8bb3
* Apply further groups xmlrpc to stop an exception in the exception handler
...
* Thanks mcortez
2009-04-29 18:52:10 +00:00
Justin Clarke Casey
517a454086
* Apply http://opensimulator.org/mantis/view.php?id=3557
...
* Stops XmlRpcGroups crashing client sessions if there is an XMLRPC failure
* Thanks mcortez
2009-04-29 18:22:49 +00:00
Justin Clarke Casey
978f98fe7e
* Apply http://opensimulator.org/mantis/view.php?id=3554
...
* Stop converting serviceURL to all lower case.
* Thanks mcortez
2009-04-29 18:14:34 +00:00
Justin Clarke Casey
af73bcd363
* Actually change the default oar file name to region.oar instead of scene.oar, for clarity
2009-04-29 18:12:50 +00:00
Justin Clarke Casey
c320dca2db
* minor: remove some mono compiler warnings
2009-04-29 18:11:41 +00:00
Justin Clarke Casey
23aa85b75d
* Make scene.oar the default oar target rather than scene.oar.tar.gz, in an attempt to reduce confusion
2009-04-29 18:03:31 +00:00
Justin Clarke Casey
7d11434a9c
* Add missing System.Reflection reference from last commit
2009-04-29 17:56:25 +00:00
Justin Clarke Casey
c56f928c80
* Adjust load iar unit test to check load of items with creator names that exist in the system but which are not the loading user
2009-04-29 17:46:13 +00:00
Melanie Thielker
d604cd284e
Again, completely revamp the unlink code to finally allow unlinking
...
arbitrary combinations of root and child prims from one or multiple
link sets. Please test throughly and consider things UNSTABLE until
this is proven out.
2009-04-29 15:54:16 +00:00
Dr Scofield
84701701ef
fixes exception thrown when client session is shutdown while
...
packethandler still active
2009-04-29 12:31:43 +00:00
diva
ff0684a9f3
Flipping check_session xmlrpc's keep-alive to false, because some clients hang.
2009-04-29 03:01:19 +00:00
Melanie Thielker
7e972b304b
Let estate owners and managers enter nonpublic estates unconditionally.
...
Let gods go to nonpublic estates as well.
2009-04-28 22:53:10 +00:00
Justin Clarke Casey
cac6971099
* Get rid of some extraneous debug log output from the last commit
2009-04-28 19:54:57 +00:00
Justin Clarke Casey
898326b5e9
* Stop oar loading barfing if the archive contains directory entries
2009-04-28 19:40:02 +00:00
Justin Clarke Casey
52d5628806
* Add preliminary code for resolving iar profile names
...
* Not yet active
2009-04-28 17:47:09 +00:00
Melanie Thielker
1fdebf361f
Correctly handle group owned land in the Datasnapshot module. Will return
...
owner uuid = grou uuid ans owner name = group anme for group land now.
Group name is now filled in
2009-04-28 00:37:23 +00:00
Melanie Thielker
c856f21231
Thank you, Fly-Man, for a patch that fixes propagating the group
...
id into the data snapshot properly
Fixes Mantis #3545
2009-04-28 00:08:17 +00:00
Melanie Thielker
6b5a110857
Make sure that, on "Anyone can copy" the person copying the object
...
has transfer perms as well as copy perms.
This may block some cases where the owner would normally be able to take
copy.
Fixes Mantis #3464
2009-04-27 23:12:35 +00:00
diva
4ec9979475
Another attempt at mantis #3527 .
2009-04-27 17:19:29 +00:00
diva
81bc38708a
Thanks Tommil for a patch that adds a caching option to GetAssetStreamHandler. It is used in the RegionAssetService.
2009-04-27 15:23:18 +00:00
Melanie Thielker
36a02441c5
Thank you, Orion_Shamroy, for a patch to expand notecard reading
...
capabilities in OSSL.
Fixes Mantis #3543
2009-04-27 14:16:01 +00:00
Dr Scofield
c91a79c3d2
From: Alan Webb <alan_webb@us.ibm.com>
...
If an avatar is sitting when the client disconnects, the avatar
is not disassociated from the SOG on which (s)he was sat. This
produces any, and varied, effects.
I have updated RemoveCLient in Scene, to check, and stand the
client up immediately prior to disconnect. This seems like the
most robust way to handle the situation. Though in this case
it might be worth factoring out the animations from other
standup processing. It does no harm, but in this case it is
entirely redundant.
2009-04-27 14:04:01 +00:00
Melanie Thielker
d98a916006
Thank you, Orion_Shamroy, for a patch that adds osGetNotecardLine and
...
osGetNumberOfNotecardLines
Fixes Mantis #2942
2009-04-27 12:05:49 +00:00
Dr Scofield
515e62dc2f
From: Alan M Webb <alan_webb@us.ibm.com>
...
Added support for access control lists.
Scene: Added test to AddNewClient for an entry in the access
list when connecting to a region with limited access.
EstateSettings: Added an HasAccess(UUID) property to test for
an entry in the estate's access list.
RemoteAdmin: Add RPC calls for admin_acl_list, clear, add,
and remove.
2009-04-27 11:51:25 +00:00
Jeff Ames
8dbcfc70bf
Add copyright headers. Formatting cleanup.
2009-04-27 05:22:44 +00:00
Jeff Ames
6077bbda30
Update svn properties.
2009-04-27 03:22:31 +00:00
diva
d8313e314f
Getting rid of -hypergrid=true on the command line. This config now goes inside OpenSim.ini in the Startup section. This makes the HG compatible with -background, and prepares the way for further work on HG-related config vars. Might help with mantis #3527 .
2009-04-27 00:16:59 +00:00
diva
1ce362323e
HGWorldMap got a bit out of sync during the introduction of the new module system. Should work now. Fixes mantis #3533 .
2009-04-26 23:57:18 +00:00
diva
d95bfc8eec
Bug fix in initialization of RegionAssetServer/MXP. Sometimes the MXP section in ini doesn't exist.
2009-04-26 23:21:56 +00:00
Homer Horwitz
ac3154e6b7
- Setting groups-messaging module to by disabled by default (groups module already is).
...
- Make sure it really is Close()d when the configuration isn't sane.
2009-04-26 18:26:01 +00:00
Melanie Thielker
647368f53f
Thank you, mcortez, for a patch to fix group notice delivery
2009-04-26 18:19:14 +00:00
Charles Krinke
c3d619498f
Thank you kindly, Ewe Loon, for a patch that solves:
...
PRIM_TEXGEN not in llSetPrimitiveParams. Patch has
been included to implement it.
2009-04-26 00:45:48 +00:00
Charles Krinke
ad4738ff33
Thank you kindly, RemedyTomm, for a patch that fixes:
...
llSetPrimitiveParams in a large linkset can disrupt the
entire region. However, when the script is in a large
linkset, it appears to totally lag out the scene and
stops updates from being sent.
2009-04-25 19:54:51 +00:00
Melanie Thielker
2a64a1ead4
Remove second timestamp in offline IM, the client already adds one
2009-04-25 19:02:23 +00:00
Charles Krinke
c17a125445
Thank you kindly, MCortez for a patch that:
...
The attached patch fixes a few problems that people were
having with the Messaging provided by the XmlRpcGroups
optional module, namely:
* Fixes 2x echo in group messaging
* Fixes problems with cross instance, non-neighbor, messaging
2009-04-25 18:58:18 +00:00
Dahlia Trimble
4792e6139a
Thanks Bluewall for Mantis #3519 : a patch that adds simulator uptime and version to REST/json statistics reporting
2009-04-25 05:06:01 +00:00
Teravus Ovares
917849eaac
* More debug warning message removal in the FreeSwitchVoiceModule
2009-04-25 01:15:34 +00:00
Homer Horwitz
6a08accde0
- Moved WorldMapModule and HGWorldMapModule to the new region-module system
...
- Cleaned up some whitespace
2009-04-24 20:37:15 +00:00
Justin Clarke Casey
2246b4daaa
* Write separate unit test for replicating iar structure to a user inventory
2009-04-24 19:43:54 +00:00
Dahlia Trimble
6f3437b77e
some code cleanup
...
sync with primmesher r35
2009-04-24 19:43:15 +00:00
Dahlia Trimble
9c13a93583
Limit hollow size of physics proxy to 95%
2009-04-24 19:28:29 +00:00
Justin Clarke Casey
8fe70c826d
* minor: move user profile test utils to test/common/setup for future reuse
2009-04-24 19:19:19 +00:00
Justin Clarke Casey
eeb1908bce
* Refactor: break out loading of archive paths into inventory into a separate method
2009-04-24 19:10:13 +00:00
Justin Clarke Casey
35c7aae455
* correct spelling mistake in item seiralization
2009-04-24 15:56:41 +00:00
Justin Clarke Casey
d69a018ba8
* Write basic, incomplete load iar test
2009-04-24 15:02:48 +00:00
Adam Frisby
883f7dde38
* Implements Microthreading for MRM scripting.
...
* This is achieved through two new keywords "microthreaded" and "relax". example:
public microthreaded void MyFunc(...) {
...
relax;
...
}
2009-04-24 05:33:23 +00:00
Jeff Ames
8afeee9ff6
Update svn properties, add copyright headers, formatting cleanup.
2009-04-24 00:58:48 +00:00
Justin Clarke Casey
1ccc99a3f9
* refactor: move archive user inventory item serialization out to a separate file
2009-04-23 20:15:05 +00:00
Justin Clarke Casey
0d51c22620
* Allow interested user data plugins to store temporary user profiles
...
* Database and the OGS1 plugins are not interested and hence ignore these calls
2009-04-23 18:57:39 +00:00
Justin Clarke Casey
ef9d140022
* Add user data plugin to store temporary profiles (which are distinct from cached)
...
* Plugin not yet used
* Existing functionality should not be affected in any way
2009-04-23 18:24:39 +00:00
Dr Scofield
07b435b2b9
From: Alan Webb <alan_webb@us.ibm.com>
...
Cleanup tabs and spacing.
2009-04-23 14:38:55 +00:00
Dr Scofield
4b7a208559
From: Alan M Webb <alan_webb@us.ibm.com>
...
Some other IRC timing wrinkles showed up:
[1] If connect processing blocked in socket activation, then
the watch dog saw the session as connected, and eventually
tried to ping, but because the socket create was still
blocked, it barfed on a null reference. This then drove
reconnect. Changed the watchdog handler so that it only
tries to ping connections that are connected and not pending.
[2] If the socket creation actually fails, then the connect and
pending flags were reset. This resulted in the connection
being retried at the earliest possible opportunity. The
longer login-timeout is preferrable, so the status flags
are not reset, and the failed login is eventually timed
out.
[3] The Inter-connection interval is primed so that the first
session can connect without delay.
2009-04-23 09:06:36 +00:00
Teravus Ovares
77bd7da9cc
* Fix another crash bug in the FreeSwitchVoiceModule
2009-04-23 06:31:32 +00:00
Teravus Ovares
dc640465a8
* Tweaking the dialstring so the sip_contact_user variable is set to the dialed user. This stops the client from complaining and might be useful later. Resolves the 'unable to parse id from mod_sofia@ip:port' message.
2009-04-23 05:22:02 +00:00
Justin Clarke Casey
bd8e4a8892
* Fix hypergrid standalone login by overriding AddNewUserAgent in HGUserServices
2009-04-22 23:04:32 +00:00
Justin Clarke Casey
342126b7b9
* Resolve http://opensimulator.org/mantis/view.php?id=3509 by putting some service initialization into CommsManager
...
* What is really needed is a plugin and interface request system as being done for region modules
2009-04-22 22:19:43 +00:00
Justin Clarke Casey
4254733e8a
* Resolve http://opensimulator.org/mantis/view.php?id=3509 by passing up the comms manager rather than null
2009-04-22 20:09:45 +00:00
Justin Clarke Casey
c25ceb009e
* minor: remove some compiler warnings
2009-04-22 19:43:58 +00:00
Justin Clarke Casey
3ace45a839
* Fix windows build from last commit
2009-04-22 18:36:45 +00:00
Justin Clarke Casey
2c81e41c8a
* Fission OGS1UserServices into user service and OGS1 user data plugin components
...
* Make OGS1UserServices inherit from UserManagerBase
* This allows grid mode regions to use the same user data plugin infrastructure as grid servers and standalone OpenSims
2009-04-22 18:15:43 +00:00
Dr Scofield
7dbcf0570f
From: Alan Webb <alan_webb@us.ibm.com>
...
Changes to enable script state persistence across non-restart
serialization situations (inventory/OAR/attachments)
Also fixing test cases for OAR and IAR so they don't barf with the new code.
2009-04-22 18:09:55 +00:00
Dr Scofield
d455d579d0
more cleanup
2009-04-22 18:00:59 +00:00
Charles Krinke
84602c9480
Thank you kindly, Marcus Llewellyn, for a patch that:
...
An attachment with the physical checkbox checked will not allow the
phantom checkbox to be cleared. This interfers with scripting
functions such as llMoveToTarget(), which won't work while an object
is phantom. If the prim containing the script is rezzed to the ground,
it will then allow the phantom checlbox to be cleared, and the script
works as expected.
2009-04-22 14:44:19 +00:00
Adam Frisby
d6b62b677c
* Committing stub VW-over-HTTP ClientStack. (2/2)
...
* Minor MRM tweak.
2009-04-22 10:11:12 +00:00
Dr Scofield
956be49238
further cleanup (lower casing non-public vars and local vars)
2009-04-22 10:03:38 +00:00
Dr Scofield
458f7eb9b3
cleaning up, fixing warnings
2009-04-22 09:42:44 +00:00
Teravus Ovares
c397f05be7
* Some tweaks to the FreeSwitchModule to allow a well known hostname and avoid a double // in a path which causes account verification to fail
...
* The change shouldn't affect anyone who has it working currently and makes it a ton easier for everyone else to get it working.
* Handle a case when there's no Event-Calling-Function but it's obviously a REGISTER method
2009-04-22 06:07:39 +00:00
Melanie Thielker
338655e9d5
Fix loading notecards from LSL. The first time a notecard was accessed, the
...
ID returned from the call would differ from the one later sent
via dataserver(), causing AOs to fail.
2009-04-22 01:43:07 +00:00
Jeff Ames
6aa5d3904d
Add copyright headers. Formatting cleanup.
2009-04-22 00:48:56 +00:00
Charles Krinke
5ea4faa6f2
Thank you kindly, MCortez, for a patch that:
...
* Refactors the xmlrpc calls to a single location to
make it easier to debug and include alternative
xmlrpc call mechanisms
* Includes an alternative xmlrpc call mechanism that
sets HTTP Keep-Alive to false which solves nearly all
System.Net exceptions on some windows environments
2009-04-21 20:44:17 +00:00
Charles Krinke
27c8cc5b1f
Thank you kindly, TLaukkan for a patch that:
...
Added support for loading bare asset binaries (as opposed to
xml encoded asset base) to both sandbox asset service and cable beach.
* Added support for enabling region asset service when mxp is enabled.
* Moved base http server content type defaulting before invocation of
request handle method to allow for variable content type in the response.
2009-04-21 19:42:36 +00:00
Dr Scofield
4a8313f14c
culling AsteriskVoiceModule and SIPVoiceModule, now that we have
...
working FreeSwitchVoiceModule and soon will have a fully working
VivoxVoiceModule.
2009-04-21 16:06:16 +00:00
Charles Krinke
6bd8e1eb99
Thank you kindly, MPallari for a patch that:
...
This patch adds few properties to ScenePresence and
thus allows region module or MRM script:
1. Force flying for avatar or,
2. Disable flying from avatar
2009-04-21 15:52:35 +00:00
Jeff Ames
13f5dd5f35
Update svn properties.
2009-04-21 15:30:03 +00:00
Dr Scofield
f31a60bad7
From: Alan Webb <alan_webb@us.ibm.com>
...
Fixes IRC reconnect problem
When a session fails to establish, the login attempt eventually
times out and the login is retried. This should occur once every
25 seconds (to give the server plenty of time to respond). In fact
the interval was typically only 10 seconds, this was being caused
by a second reset that was being scheduled when the failed
listener thread was terminated. Because the second reset occurred
inside the ICC timeout, it eventually gets scheduled after only
10 seconds.
In addition to this, the connector was being added to the monitoring
twice. This was harmless, but entirely redundant.
Both of these problems have been fixed and tested. Each connector
now maintains a count of how often it has been reset. The listener
thread records this value on entry and checks for a change on exit.
If the counts are the same, then the listener is exiting and can
potentially reschedule the connection.
2009-04-21 13:17:34 +00:00
Adam Frisby
594c7c3eb1
* Implements Extensions to MRM. This allows Region Modules to insert new classes into OpenSim MRM's.
...
* Example in region module:
Scene.GetModuleInterface<IMRMModule>.RegisterExtension<IMyInterface>(this);
* In the MRM:
//@DEPENDS:MyExtensionModule.dll
...
Host.Extensions<IMyInterface>.DoStuff();
2009-04-21 04:55:53 +00:00
Melanie Thielker
01a22d940f
Change a bad use of a type name as a variable. Thanks, Fly-Man
...
Fixes Mantis #3497
2009-04-20 21:58:32 +00:00
Melanie Thielker
d91330ea35
Add PlacesQuery packet
2009-04-20 20:43:48 +00:00
Teravus Ovares
c5a3ff231f
* It turns out vehicle Angular Motor direction is always in global space.
2009-04-20 17:46:37 +00:00
Melanie Thielker
dd0fa5745e
It is possible that apacket is recieved before the clint stack is fully ready.
...
This causes a nullref we need to catch here.
2009-04-20 17:24:09 +00:00
Melanie Thielker
3340217320
Also make GroupsMessaging quit trying to run and reduce it's debug
...
spamming somewhat
2009-04-20 13:59:18 +00:00
Melanie Thielker
6a8fe8a84e
Prevent a null ref if a notecard is not found
2009-04-20 13:56:16 +00:00
Melanie Thielker
489758f68a
Make sure that the groups module is really disabled when it's not configured.
...
Fixes an issue where the presence of any groups section will make XmlRpcGroups
think it should hook client events.
2009-04-20 13:39:41 +00:00
Teravus Ovares
b98f93212b
* Prevent a vehicle crash
2009-04-20 06:56:53 +00:00
Teravus Ovares
21d4423030
* Allow passing of material type to physics engine
...
* Define low friction and medium bounce for Glass
2009-04-20 03:07:53 +00:00
Charles Krinke
aff38e2dd2
Thank you kindly, MPallari, for a patch that:
...
This patch adds new property to ScenePresence: SpeedModifier.
With this, one can modify avatars speed from region module
or MRM script.
2009-04-19 17:19:31 +00:00
Charles Krinke
088ed68562
Fixes Mantis#3489. Thank you kindly, MCortez for a patch that:
...
Group profile page is showing an empty dropdown for titles and
this patch fixes this.
2009-04-19 16:22:26 +00:00
diva
4f07370d94
Accounting for the changes introduced in AssetServerBase in r9143 related to starting the thread manually. Fixes mantis #3490 .
2009-04-19 15:07:29 +00:00
Homer Horwitz
33e1316ced
Terrain changes done via osTerrainSetHeight aren't shown immediately to the clients in
...
that region. I decided against sending the terrain on every call to osTerrainSetHeight
(which makes it abysmally slow), and added a osTerrainFlush instead, which should be
called after all the terrain-changes have been done. Changed some return types to
LSL types, too, and removed some end-of-line spaces.
2009-04-19 13:34:28 +00:00
Homer Horwitz
9c3ec87b97
Moved ITerrainModule and ITerainEffect to OpenSim.Region.Framework.Interfaces and added a TaintTerrain method
2009-04-19 13:33:46 +00:00
idb
716e1fe0e1
Keep IsColliding updated for the recent changes in ScenePresence so that walk/stand animations will get used instead of just falling
2009-04-19 12:28:29 +00:00
Teravus Ovares
03901c8c0d
* Rudimentary angular motor implementation for the LSL Vehicle API
2009-04-19 08:12:10 +00:00
Dahlia Trimble
5f1fa0d3d7
Added a "force_simple_prim_meshing" option to the ODE settings in OpenSim.ini which will use meshes for collisions with simple prim shapes rather than internal ODE algorithms. This may help with Mantis #2905 and Mantis #3487 for those experimenting with capsule settings.
...
Note that this will increase memory usage and region startup time.
2009-04-19 01:21:38 +00:00
Charles Krinke
a416e75ddb
Thank you kindly, MCortez, for a patch that:
...
This hooks up the LandManagementModule to handle the DeedParcelToGroup
packet. Now people can start testing land assigned to and owned by groups.
Also fixes a viewer crash issue when searching for and then joining a group
with an agent that is not already being tracked by groups server.
2009-04-19 00:11:14 +00:00
diva
06f0515d14
Bug fix in HG asset posts. Get the inner assets not just from mem cache but from asset service, because the inner ones may not be in mem cache.
2009-04-18 22:46:48 +00:00
diva
5ae8ad55cd
Little bug fix on the Groups module to get over an exception upon login.
2009-04-18 22:31:38 +00:00
Charles Krinke
659b55905d
Thank you kindly, MCortez, for a patch that:
...
Added is a patch that adds a rough Groups implementation. This patch allows
the creation, adding and maintaining Groups, Roles and Members. Work has begun
on a very naive implementation of messaging, and minimal support for notifications
{no attachments yet}. Proposals are not yet supported, but are on the to-do list.
This implementation is not active by default, and must be configured in
OpenSim.ini to become active.
2009-04-18 21:33:48 +00:00
Melanie Thielker
d285ccb5cf
Allow reading of notecards by asset ID.
...
Fixes Manthis #3420
2009-04-18 19:08:35 +00:00
Charles Krinke
2578db3dfa
Thank you kindly, RemedyTomm for a patch that:
...
Following feedback from 0003440, i've made some changes to the new texture pipeline to optimise
performance. The changes are:
- Fixed a math issue where a small percentage of images with a certain size (on the packet boundary) would not have their final data delivered. This issue has been present since pre- 0003440
- It was suggested that a discardlevel of -1 and a prioriy of 0 meant to abandon the transfer, this is incorrect and caused some textures to clog.
- The texture throttle blocking queue is now only filled in relation to the actual throttle amount.. i.e, on a connection throttled to 300k, only twenty packets will be placed in the queue at a time, on a larger connection it will be much more. This is to balance responsiveness to requests and speed, and to minimise wasted packets.
- The engine now keeps track of the number of pending textures, and the stack will not be walked if there's no textures pending, saving CPU. Textures are only considered "pending" when they've already been decoded.
- As part of the above, some textures may receive twice as much data per cycle if the number of pending textures is below the cycle threshold, this should prevent loading from slowing down when there are fewer textures in the queue.
2009-04-18 18:35:03 +00:00
Dahlia Trimble
15b9c528c5
Add some documentation. (note this is *not* a thinly veiled attempt to increase my commit frequency *wink*)
2009-04-18 17:15:56 +00:00
Charles Krinke
aa86305a41
Thank you kindly, StrawberryFride, for a patch that:
...
Adds a test to see if the first option on osDynamicTextureData is "AltDelim",
then picks up the first character after the whitespace and uses as a delimiter
instead of ;. If this string does not appear at the start of the data, the
default ; will be used, hence this should not break existing code.
2009-04-18 17:05:51 +00:00
diva
8e08dd20dc
Thank you dslake for diagnosing and fixing a race condition in OGS1SecureInventoryServer (mantis #3483 ). The provided patch was slightly modified to narrow the locking scope to smaller portions of the functions. Applied the same locking to HGInventoryService, which suffered from the same race condition.
2009-04-18 16:37:05 +00:00