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
idb
21d80b28aa
Obtain the owner name for the X-SecondLife-Owner-Name header in llHTTPRequest when the owner is offline/not in the region.
...
Fixes Mantis #3454
2009-04-18 14:21:54 +00:00
Adam Frisby
b2a7c1468e
* Adds IObject.Shape to MRM
...
* Implements Sculpty modification support to MRM
* Example: IObject.Shape.SculptMap = new UUID("0000-0000-0000....");
2009-04-18 05:43:40 +00:00
diva
c41d2a1e3d
Bug fix for standalone HG login. VerifySession should be local for local users.
2009-04-18 02:55:45 +00:00
diva
722be8f132
Thank you M1sha for diagnosing and patching a lock bug affecting region crossings introduced in r9110. Fixes mantis #3456 .
2009-04-17 23:55:59 +00:00
Teravus Ovares
68190617b4
* A few fixes to the Linear Motor
2009-04-17 23:04:33 +00:00
Charles Krinke
b4cb45bb79
Fixes Mantis # 3469. Thank you kindly, BlueWall, for a patch that:
...
This patch adds extended status reporting with the url
http://server:port/simstatusx/ [^] . The data is returned
in json format as "text/plain" type.
2009-04-17 21:48:48 +00:00
Teravus Ovares
07c113a766
* Add Implementation of Linear Motor and Linear friction from the LSL Vehicle API in Physics
2009-04-17 21:10:54 +00:00
Sean Dague
7f30be17d0
experimental freeswitch code, imported from Rob Smart's tree
2009-04-17 20:00:30 +00:00
idb
d9896ff71a
Correct detected rotation to return the same value as llGetRot in the object being detected.
...
Fixes Mantis #3467
2009-04-17 19:39:37 +00:00
Justin Clarke Casey
bd1b478f2c
* Change inventory archiver module to use profile cache
...
* Clean up some log messages
2009-04-17 19:11:03 +00:00
Justin Clarke Casey
a29d7c9040
* Use profile cache service for data snapshot
2009-04-17 18:06:40 +00:00
Justin Clarke Casey
e999c78600
* Also use the profile cache for osKey2Name()
2009-04-17 17:33:31 +00:00
Justin Clarke Casey
be1855f163
* Use cached user profiles in osAvatarName2Key()
2009-04-17 17:22:58 +00:00
Justin Clarke Casey
83c9a6a230
* Change profile check for add user to run through the cache service
2009-04-17 16:06:35 +00:00
Dr Scofield
91bd87add1
- disabling logging of non-system IRC messages
2009-04-17 16:00:02 +00:00
lbsa71
a189da844a
* Moved the DefaultConfig settings into already-existing ConfigSettings
2009-04-17 15:09:37 +00:00
Dr Scofield
96a22862d2
adding log statement on shutdown in background mode
2009-04-17 13:27:32 +00:00
Dr Scofield
3b70d14e62
fixes System.UnauthorizedAccessExceptions when trying to load OARs from
...
read-only files on linux.
2009-04-17 08:11:34 +00:00
lbsa71
bbe1e19696
* Some more work on refactoring configs;
...
* Moved the constants out into a separate DefaultConfig
* Pulled configMember up
* Some minor CCC
2009-04-17 05:52:46 +00:00
Teravus Ovares
e95fe66dd5
* Set some minimum values to avoid divide by zero errors.
2009-04-17 04:38:31 +00:00
Teravus Ovares
0d00a767bc
* Commit a few fixes to the Vehicle settings
...
* Vertical Attractor servo
2009-04-17 04:34:52 +00:00
Justin Clarke Casey
235ae95b50
* minor: Eliminate redundant argument in PreloadUserCache
2009-04-16 20:24:11 +00:00
Dr Scofield
4de3f9b597
trying to fix exception in Random.Next() probably caused through sharing of
...
WindModule plugins --- manifesting itself through:
2009-04-16 15:32:02,764 [Heartbeat for region sea 3] [Scene]: Failed with exception System.IndexOutOfRangeException: Array index is out of range.
at System.Random.Sample () [0x0003e] in /usr/local/src/mono/build/mono-2.0.1/mcs/class/corlib/System/Random.cs:91
at System.Random.NextDouble () [0x00000] in /usr/local/src/mono/build/mono-2.0.1/mcs/class/corlib/System/Random.cs:142
at OpenSim.Region.CoreModules.World.Wind.Plugins.SimpleRandomWind.WindUpdate (UInt32 frame) [0x00019] in /tmp/opensim-deploy-oTyFP12501/opensim-deploy/OpenSim/Region/CoreModules/World/Wind/Plugins/SimpleRandomWind.cs:92
2009-04-16 14:22:53 +00:00
Dr Scofield
bd2ca2d9c1
- turn private m_gui into protected m_gui to allow manipulation in
...
derived classes
- make OpenSimBackground inherit from OpenSim instead of OpenSimBase
so that it will have a MainConsole instance and we can use console
commands, setting m_gui to false
2009-04-16 12:10:50 +00:00
Teravus Ovares
8a7a0190e6
* Remove some super experimental stuff in BulletDotNETPlugin since it was causing issues.
...
* Tweak the ODEPrim PID a bit more.
2009-04-16 08:11:05 +00:00
Teravus Ovares
eac5d4015d
* Committing more BulletDotNETPlugin work
...
* Tweak the LLSetStatus results in the ODEPlugin. Hopefully it's a little less unstable.
* ODEPlugin is using experimental math for LLSetStatus, use with caution! :)
2009-04-16 07:31:48 +00:00
Melanie Thielker
4b85cbf0b6
Correctly flag group owned prims in the land prim list
2009-04-16 01:01:40 +00:00
Melanie Thielker
ac96722c1d
Fix build break and change some groups interfaces
2009-04-16 00:46:24 +00:00
Melanie Thielker
7e95783dd3
Expose the GroupRecord and it's accessor API
2009-04-16 00:15:57 +00:00
Melanie Thielker
c98287249e
Add the XML manifests needed to get the new style modules to load.
...
Scripting now works again
2009-04-15 23:59:15 +00:00
Melanie Thielker
5a0f1e9022
Prevent a nullref when no script engines are loaded
2009-04-15 23:17:25 +00:00
Melanie Thielker
7306b73f02
Commit the group deeding support, thank you, mcortez
2009-04-15 21:07:09 +00:00
Melanie Thielker
b018f45b70
Make sim health data more useful
2009-04-15 20:16:18 +00:00
Justin Clarke Casey
9f6b8ec9b0
minor: Remove some mono compiler warnings. Uncomment code when it's actually being used.
2009-04-15 19:46:37 +00:00
Justin Clarke Casey
63936d442c
* Make it possible to add a request id to load and save oar requests
...
* This allows specific requests to be identified.
2009-04-15 19:12:37 +00:00
Melanie Thielker
3c338e4e56
Convert both script engines to new region module format. Add proper unload
...
handling to XEngine. Add needed stubs to DotNetEngine.
2009-04-15 18:51:17 +00:00
Justin Clarke Casey
fa9b9126ee
* Resolve unit test failure introduced in r9148 (probably)
...
* Have the test scene always return success for session id authentication for now
2009-04-15 17:40:04 +00:00
Johan Berntsson
119aeeed7d
Another cleanup: Region_Status renamed to RegionStatus, and a usage comment added
2009-04-15 04:15:47 +00:00
Johan Berntsson
068127bf57
Renamed splitID in Scene and added comments on usage
2009-04-15 04:07:41 +00:00
diva
e3d4814971
One less vulnerability in the HG: detecting foreign users trying to come in with local user IDs. If that happened by accident, too bad, foreign user can't come in with that ID. This test is a consequence of not having truly global names yet.
2009-04-14 22:24:26 +00:00
diva
0413d052a3
Adds session authentication upon NewUserConnections. Adds user key authentication (in safemode only) upon CreateChildAgents. All of this for Hypergrid users too. This addresses assorted spoofing vulnerabilities.
2009-04-14 19:35:35 +00:00
Justin Clarke Casey
d0744f8eca
* Make archiver tests pump the asset server manually instead of starting the normal runtime thread
...
* This may eliminate the occasional archive test freezes, since they appeared to occur when somehow the asset server didn't pick up on the presence of a request in the asset
quque
2009-04-14 18:49:45 +00:00
diva
017faf0eff
Fix for minor bug introduced yesterday, HG only. Can't lookup the profile when we're looking up the profile...
2009-04-14 18:32:11 +00:00
Justin Clarke Casey
1894157dd3
* Explicitly start the asset server thread so that unit tests can run single rather than multi-threaded (which may be behind the occasional test freezes)
2009-04-14 17:15:09 +00:00
Justin Clarke Casey
ad2bd74057
* refactor: rename AssetCache.Initialize() to AssetCache.Reset() to avoid having Initialise() and Initialize() in the same class - very difficult to read.
2009-04-14 16:36:32 +00:00
Jeff Ames
cad0aab793
Formatting cleanup.
2009-04-14 11:38:33 +00:00
Jeff Ames
6e19fb8593
Add copyright headers.
2009-04-14 10:56:24 +00:00
Jeff Ames
fa29cf5c50
Update svn properties.
2009-04-14 10:00:13 +00:00
Teravus Ovares
d34d5eb3f7
* Adding some organization of vehicle type stuff in the ODEPlugin.
...
* Vehicles do NOT work. This is just organization and a bit of logical code to make doing vehicles easier
2009-04-14 09:03:18 +00:00
Melanie Thielker
a0417f5791
Thank you, Fly-Man, for a patch that adds the stub to handle the
...
avatar interests update.
2009-04-14 03:44:27 +00:00
Melanie Thielker
285dfe3055
Add the RegionLoaded(Scene) API to the new region module interface to allow
...
region modules to use another region module's interfaces and events in
a scene context
2009-04-14 03:22:02 +00:00
diva
23c88c2f4d
Making OGS1UserServices friendly to subclassing.
2009-04-14 02:58:09 +00:00
diva
6bd89f7dad
Cleaning up old circuit upon client close.
2009-04-14 02:21:40 +00:00
Teravus Ovares
c2e75aecd1
* Commit a variety of fixes to bugs discovered while trying to fix the NaN singularity.
...
* WebStatsModule doesn't crash on restart. GodsModule doesn't crash when there is no Dialog Module. LLUDPServer doesn't crash when the Operation was Aborted.
* ODEPlugin does 'Almost NaN' sanity checks.
* ODEPlugin sacrifices NaN avatars to the NaN black hole to appease it and keep it from sucking the rest of the world in.
2009-04-14 01:57:35 +00:00
Teravus Ovares
ab83af0341
* Set eol-style: native on J2KImage.cs
2009-04-13 23:06:29 +00:00
Homer Horwitz
6db21bbf97
- Moved TerrainModule to the new region-module system.
...
- Fixed some locking issues. Either lock, or don't (if you don't have to). Only locking access half of the time won't work reliably.
- Had to adapt test helpers that use the "old" IRegionModule. TerrainModule isn't one anymore.
2009-04-13 21:23:33 +00:00
Homer Horwitz
b717f991ed
Remove m_moduleCommands. It wasn't used anywhere; probably a left-over from before ICommander times
2009-04-13 21:23:24 +00:00
lbsa71
29355de6ee
* Some more experimental work on distributed assets. Nothing hotwired yet.
...
* Introduced preprocess step in FetchAsset (Might revert this later)
* Some minor CCC
* Added actual implementation of GetUserProfile( uri ) and the corresponding handler to OGS1.
* Introduced non-functioning GetUserUri( userProfile) awaiting user server wireup (this might move elsewhere)
2009-04-13 20:04:18 +00:00
Teravus Ovares
bd7d00db33
* Remove null reference exception in the J2KDecoderModule's J2K repair routine for when the asset we're looking up isn't an image at all. (did someone set the texture on the side of a primitive to some other kind of asset with the script engine?)
2009-04-13 16:06:53 +00:00
Teravus Ovares
9371df52cb
*Bypass J2kDecoder when asset is null
2009-04-13 15:18:38 +00:00
Sean Dague
532ae6d925
if Data is null, shortcut to client.SendImageNotFound, as any other
...
option at this point is going to give us a NullReferenceException
2009-04-13 15:08:06 +00:00
Sean Dague
15d39f33ca
scream out a bit warning if we failed to set default image
2009-04-13 14:52:29 +00:00
Sean Dague
b2e5f03942
catch for a null asset so we don't get an exception here, though this
...
probably just makes the decoder break somewhere else.
2009-04-13 14:52:23 +00:00
Sean Dague
58fd013929
put J2KImage into it's own file, please no doubling up on classes in
...
files
2009-04-13 14:52:14 +00:00
Melanie Thielker
cc86df4a3f
Thank you, dslake, for a patch that converts many of the linear searches
...
in SceneGraph to fast dictionary lookups.
Includes a regression fix for attachments by myself.
Fixes Mantis #3312
2009-04-12 15:18:04 +00:00
Melanie Thielker
87ce5ea0eb
Actually do what I promised in the previous commit :/
2009-04-12 12:49:59 +00:00
Melanie Thielker
9d31cfafb2
Funnel stored (offline) IMs through the Scene EventManager to make sure
...
they are processed by the modules rather than sent to the client
directly. Allows friends and group requests and responses to be saved, too
2009-04-12 12:44:41 +00:00
Melanie Thielker
2864c45678
Actually remove the script if it tries to remove itself.
...
Fixes Mantis #2929
2009-04-12 12:03:07 +00:00
Melanie Thielker
f6f3737fe8
Fix a regression where animations would only be sent if the avatar has
...
attachments. Convert base types to LSL types for event marshalling through
IScriptModule to avoid parameter errors.
2009-04-12 02:42:05 +00:00
Melanie Thielker
217b2d93ae
Adding a script event, changed(CHANGED_ANIMATION)
...
This is sent to all root prims of all attachments of an avatar when the
animation state changes. llGetAnimation() can thenbe used to find the
new movement animation. This eliminates the need for fast timers in AOs
2009-04-11 16:51:27 +00:00
Adam Frisby
b8619386eb
* Minor MRM Cleanup
...
* Interfaces now live in Interfaces subdirectory.
* Namespace does not yet reflect this change.
* Final namespace for MRMs will probably sit somewhere around OpenSim.Extend.MRM[?]
2009-04-11 10:21:04 +00:00
idb
988737b182
Correct Opensim.ini.example to reflect the default settings for clouds.
...
Fixes Mantis #3421
Change the agent/avatar events subscriptions to just OnNewClient. The data only needs to be sent once and keeping track of log ins/movements is not required. This will also send cloud data to child agents so that they can see clouds above neighbouring regions not just regions that they have visited.
2009-04-11 10:18:20 +00:00
Teravus Ovares
2dca78b2bf
* BulletDotNETPlugin supports Axis lock (LLSetStatus) from the script engine now.
2009-04-11 03:04:08 +00:00
Teravus Ovares
827117f0b1
* Add catch-all error handlers back to scene.
2009-04-11 00:12:57 +00:00
Teravus Ovares
53026affb3
* Instead of referencing mesh stuff in the physics plugin.. change the IMesh Interface. (blame prebuild)
2009-04-11 00:11:54 +00:00
Teravus Ovares
474b982eba
* Adds Physical/Active Linkset support to BulletDotNETPlugin
2009-04-10 23:26:42 +00:00
Melanie Thielker
3307f21706
Add XmlRpcGridRouter, a module that communicates URIs for XMLRPC channels
...
to a central server via REST, for centralized XMLRPC routing.
2009-04-10 22:05:37 +00:00
Melanie Thielker
a7de0ae9ec
Make the scrpt engines ignore any script that begins with //MRM:
2009-04-10 21:44:27 +00:00
Melanie Thielker
ae6f265729
Add an optional region module which will supply a script event,
...
xmlrpc_uri(string) in response to a OpenRemoteDataChannel call. The string
is the fully qualified URI to post XMLRPC requests for that script to.
2009-04-10 21:26:36 +00:00
Melanie Thielker
8902923b12
Introduce IXmlRpcRouter, an interface that allows registering XMLRPC
...
UUIDs with a central marshaller for grids, or publish the ULS for objects
elsewhere.
2009-04-10 21:08:33 +00:00
Melanie Thielker
b43226019a
Expose the XMLRPC listener port on the IXMLRPC interface to allow
...
publication
2009-04-10 19:27:47 +00:00
Melanie Thielker
0377ddb5de
Add events to IScriptEngine to notify scripting modules of the removal
...
of objects from the scene, and of scripts from objects. This facilitates
the development of modules that can register prims with externall servers
for inbound email and XMLRPC. Currently implemented in XEngine only.
Also applying cmickeyb's compiler locking patch, since it seems risk-free.
2009-04-10 19:07:41 +00:00
Melanie Thielker
292672675a
Thank you, OwenOyen, for a patch that corrects the behavior of llRot2Euler.
...
Committed with comment changes.
Fixes Mantis #3412
2009-04-10 17:26:00 +00:00
Justin Clarke Casey
7c04c1e44c
* Apply http://opensimulator.org/mantis/view.php?id=3427
...
* Return different values for llCloud() over time based on a cellular automation system.
* Thanks aduffy70!
2009-04-10 14:56:58 +00:00
Justin Clarke Casey
30d012b297
* Apply http://opensimulator.org/mantis/view.php?id=3432
...
* Make llGroundSlope() return correct results
* Thanks aduffy70!
2009-04-10 14:15:47 +00:00
Teravus Ovares
515bf6d7dc
* Patch from RemedyTomm Mantis 3440
...
* Revamps the server side texture pipeline
* Textures should load faster, get clogged less, and be less blurry
* Minor tweak to ensure the outgoing texture throttle stays private.
* Fixes mantis 3440
2009-04-10 08:30:21 +00:00
nlin
8e6c20b27f
Handle ObjectSpin* packets to spin physical prims on Ctrl+Shift+Drag
...
Addresses Mantis #3381
The current implementation works as expected if the object has no rotation or
only rotation around the Z axis; you can spin the object left or right (around
the world Z axis).
It works a little unexpectedly if the object has a non-Z-axis rotation; in this
case the body is spun about its local Z axis, not the world Z-axis. (But SL
also behaves oddly with a spin on an arbitrarily rotated object.)
2009-04-10 06:39:52 +00:00
Teravus Ovares
10f5615573
* Tweak the character controller some more
...
* Add cursory integration with script engine.
* LLMoveToTarget, LLSetBouyancy, LLSetStatus (Physical only), LLApplyImpulse, LLApplyTorque, LLPushObject.. etc.
* Still missing linked physical active and LLSetStatus with an axis lock.
2009-04-10 06:01:29 +00:00
Adam Frisby
b664566b8f
* Fixes a bug in MRM scripting whereby the Touch flag is never enabled for OnTouch capable scripts.
2009-04-10 05:13:02 +00:00
Teravus Ovares
b05a1aa4b7
* Whoops, never saved the BulletDotNETScene.. Last commit continued.....
2009-04-09 22:00:15 +00:00
Teravus Ovares
4050dec682
* Changes the timstep of the bullet world
...
* Enables border crossings when using the BulletDotNETPlugin
* Enabled variable time steps in BulletDotNETPlugin
* Still no 'linked physical objects' yet
* Still no script engine integration
2009-04-09 21:48:11 +00:00
Arthur Valadares
08f83f275d
* Reinstated Scene Crossing tests, now with timeouts to check for race conditions
2009-04-09 21:37:54 +00:00
Justin Clarke Casey
601fa22185
* minor: remove some mono compiler warnings
2009-04-09 20:06:30 +00:00
lbsa71
6af0751cc5
* Tagged long running tests with LongRunningAttribute.
...
* Now, the 144 unit tests takes roughly as long time to run (16s on my laptop) that the 10 long running takes. The database tests takes forever.
* Feel free to run the unit tests as you code, and the rest before commit.
2009-04-09 20:06:27 +00:00
Justin Clarke Casey
1066aa6998
* Remove Autooar module pending it's migration to the forge
2009-04-09 19:49:33 +00:00
Adam Frisby
f44694c28e
* Allows MRMs to import libraries in the OpenSim bin directory.
...
* Syntax: //@DEPENDS:library.dll
2009-04-09 15:46:02 +00:00
Sean Dague
a5ceb1a2a0
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The attached patch implements osKey2Name and osName2Key
which converts between a UUID key for an avatar and
an avatar name and vice-versa.
osKey2Name is similar to llKey2Name except that it will work
even if the avatar being looked up is not in the same region
as the script.
2009-04-09 15:04:02 +00:00
Adam Frisby
8ee81f98ea
* Implements IObject.Materials[].*
...
* This lets you do things like IObject.Materials[0].Texture = new UUID("0000-...");
2009-04-09 14:51:18 +00:00
Adam Frisby
c77e7fce9e
* Implements IGraphics interface for MRM Scripting.
...
* This allows you to utilize System.Drawing tools on textures within the region.
* Example: use System.Drawing.Bitmap to make your texture, then use Host.Graphics.SaveBitmap to make an asset from it in JPEG2K. You can edit (but not overwrite) existing textures using Host.Graphics.LoadBitmap.
2009-04-09 14:19:49 +00:00
Adam Frisby
98eda9ebdb
* Adds World.OnNewUser += delegate(IWorld sender, NewUserEventArgs e);
...
* This event fires when a new avatar is created within the Scene. (Internally corresponds to EventManager.OnNewPresence)
2009-04-09 13:22:27 +00:00
Adam Frisby
c91c24441b
* Limits MRM scripting to Region Master Avatar only.
...
* This makes MRM scripting ever so slightly more secure. If you have enforced Object Permissions enabled, it may be acceptable to enable MRM within your regions.
* Security bug reports on this feature are much appreciated (eg: anyone finding ways around this to execute a MRM as a basic user).
2009-04-09 13:14:25 +00:00
Adam Frisby
162dd5c65c
* World.OnChat no longer fires if there is no chat text (prevents the typing animation packet from firing OnChat)
2009-04-09 13:05:01 +00:00
Adam Frisby
03984e7304
* Added additional debug testing info to Scene
...
* Corrected issue with MRMs where it would attempt to overwrite an already loaded DLL. (and thus fail with cryptic UnauthorizedAccessException.)
* Made DrunkenTextAppreciationModule.cs MRM not crash with StackOverflowException
* Added some temporary logging to MRM World.*
2009-04-09 13:03:27 +00:00
Adam Frisby
0af0399198
* Forgot to commit IEntity in last commit.
...
* Added "DrunkenTextAppreciationModule" Demo MRM - behaves very similarly to the sobriety filter in WoW. ;)
2009-04-09 11:25:50 +00:00
Adam Frisby
b529750548
* Moves Name, GlobalID and WorldPosition into new IEntity interface.
...
* Avatar and Object now inherit from IEntity.
* Avatar.Position is now Avatar.WorldPosition to match IObject property.
* Implements event World.OnChat += delegate(IWorld sender, ChatEventArgs e);
2009-04-09 11:09:24 +00:00
Adam Frisby
1b56fff7c8
* Implements retrieving child primitives via World.Objects[id] (MRM)
...
* Optimizes SceneGraph - fetches on primitives via "GetGroupByPrim" wont search the entire list if the primitive is infact the root. (Core)
* Updates Test MRM.
2009-04-09 10:07:40 +00:00
Adam Frisby
232241ab25
* Implements IObject.OnTouch += delegate(IObject sender, TouchEventArgs e)
...
* This is equivalent to LSL 'touch(int senders)'
2009-04-09 07:46:05 +00:00
lbsa71
99bf4ce72f
* Fixed a number of culture-variant bugs in lsl implicit type conversions.
2009-04-09 07:33:05 +00:00
lbsa71
0366cc1601
* argh. reverted untested fix that snuck into the last commit
2009-04-09 07:14:20 +00:00
lbsa71
ed33878a0f
* tagged some more database tests as such
2009-04-09 07:11:49 +00:00
lbsa71
e93b782f9d
* Introduced some experimental code with regards to asset data substitution
2009-04-08 19:59:37 +00:00
Justin Clarke Casey
f3c7298fc5
* Make it possible to store creator strings in user inventory items as well as UUIDs
...
* All existing functionality should be unaffected.
* Database schemas have not been changed.
2009-04-08 17:50:57 +00:00
Teravus Ovares
8d8c45b659
* Fix the remainder of the packets that require sessionId checks.
2009-04-08 16:31:56 +00:00
Adam Frisby
5118f88bc4
* [SECURITY] Implements additional packet security checks for Object related packets.
...
* Note: as with the last commit, this requires additional testing.
* This represents 2/8ths of packets now being checked appropriately.
2009-04-08 06:41:52 +00:00
Adam Frisby
2bd6a915a0
* [SECURITY] Implements a large number of new security checks into Scene/Avatar packet processing within ProcessInPacket.
...
* Notes: this requires heavy testing, it may cause new issues where LL have recycled agent block data for non-security purposes. It can be disabled on Line 4421 of LLClientView.cs by changing m_checkPackets to false.
* This represents approx 1/8th of the packets being checked.
2009-04-08 06:31:19 +00:00
Dahlia Trimble
d5727c8c1a
Correct unit test for llAngleBetween()
...
Reinstate patch for Mantis #3007
2009-04-08 03:16:24 +00:00
Justin Clarke Casey
ad7b005784
* minor: remove some mono compiler warnings
2009-04-07 20:24:09 +00:00
Teravus Ovares
41fab69ad5
* Remove unnecessary build dependencies on the ExamplemoneyModule stub.
...
(??? using OpenSim.Region.CoreModules.Avatar.Currency.SampleMoney ???)
2009-04-07 19:37:54 +00:00
Justin Clarke Casey
0752dd65cc
* Ooops, really put this on the task queue and not texture
2009-04-07 19:30:10 +00:00
Justin Clarke Casey
952960e375
* Put AgentTextureCached? response packet on the task queue rather than the wind queue
...
* Thanks to rtomita for pointing this out.
2009-04-07 19:23:17 +00:00
Justin Clarke Casey
513ae92bbb
* Apply http://opensimulator.org/mantis/view.php?id=3406
...
* Makes Second Life environment sensor ranges and maximum response number configurable
* Thanks Intimidated
2009-04-07 19:15:26 +00:00
Justin Clarke Casey
d0d481a0ab
* Apply http://opensimulator.org/mantis/view.php?id=3418
...
* Prevents occasional wind module related exceptions on region server shutdown
* Thanks Intimidated!
2009-04-07 19:07:23 +00:00
Justin Clarke Casey
ed6165ab9c
* Apply http://opensimulator.org/mantis/view.php?id=3227
...
* Implement "Add To Outfit"
* Thanks FredoChaplin
2009-04-07 17:46:23 +00:00
Dahlia Trimble
ea5b120006
temporarily revert llanglebetween patch until unit test can be updated - affects Mantis #3007
2009-04-07 17:29:55 +00:00
Dahlia Trimble
e7a051d2be
remove defective test criteria from unit test for llAngleBetween
2009-04-07 17:03:00 +00:00
Dr Scofield
e540b66a86
From: Alan Webb <alan_webb@us.ibm.com>
...
Fix null reference exception during close down of IRC module if the
region was not actually initialized.
2009-04-07 16:53:41 +00:00
Teravus Ovares
b326b55bcd
* Added finite testing to the character and object constructor
2009-04-07 16:41:07 +00:00
Teravus Ovares
9bbc7e8bf6
* Added a routine to check if a PhysicsVector and Quaternion is finite
...
* Now validating input to the Physics scene and warning when something is awry.
* This should help nail down that Non Finite Avatar Position Detected issue.
2009-04-07 16:13:17 +00:00
Teravus Ovares
11f8ea30f9
* Tweak the BulletDotNETPlugin character controller so it feels more finished.
2009-04-07 15:01:46 +00:00
Dahlia Trimble
eb190905b5
Thanks Ewe Loon for Mantis #3007 - llAngleBetween is producing numbers greater then Pi Radians.
...
Also modified to use the system constant for Pi and prevent negative results.
2009-04-07 07:59:32 +00:00
Teravus Ovares
0d4880d5cf
* This fixes BulletDotNET so it can now be used on linux.
2009-04-07 03:33:28 +00:00
Teravus Ovares
9459b16cc2
* BulletDotNET Updates.
...
* Should react somewhat normally to editing, and setting physics now.
2009-04-07 00:13:08 +00:00
Homer Horwitz
39f5dd1973
Added some null-checks to Intimidated's patch in r9024.
...
Hopefully fixes Mantis #3415 .
2009-04-06 19:12:26 +00:00
Melanie Thielker
fb900f6055
Applying Intimidated's patch to fix anim handling.
...
Fixes Mantis #3417
2009-04-06 18:02:12 +00:00
Jeff Ames
465f1df592
Add copyright headers, formatting cleanup.
2009-04-06 14:36:44 +00:00
Jeff Ames
5f34bd73fb
Update svn properties.
2009-04-06 14:24:13 +00:00
Melanie Thielker
2a5d38a580
Thank you, Intimidated, for a patch too fix the movement animation handling
...
Fixes Mantis #3413
2009-04-06 10:44:41 +00:00
Adam Frisby
9e51c2db95
* Implements World.Parcels[] array for MRM scripting.
2009-04-06 07:17:23 +00:00
Adam Frisby
918c466881
* Adds AutoOAR module, this will automatically OAR your regions every 20 minutes to a directory called "autooar", if enabled. Default disabled. Use [autooar] Enabled=true in OpenSim.ini to enable.
...
* Adds some MRM XMLDOC
2009-04-06 04:17:55 +00:00
diva
5b103aab89
Changed the asynchronous call to get inventory in HG, so that it properly reports problems. OGS1 should also be changed, but I'm leaving it as is for now. RestSessionObjectPosterResponse is fairly broken and should not be used.
...
Minor changes in Get inventory item in HGAssetMapper.
2009-04-05 22:39:19 +00:00
Dahlia Trimble
f73d4f9735
unspecified sculpt stitching mode now defaults to plane instead of sphere. Addresses Mantis #3403
2009-04-05 19:25:39 +00:00
Homer Horwitz
d4e23e28ca
Ouch. Remove some test left over from r9013, which broke startup
2009-04-05 18:05:44 +00:00
Homer Horwitz
648452dd91
- Add new RegionModulesControllerPlugin to the application modules
...
- Change several classes to use the new plugin for handling of region-modules
(NOTE: No regionmodule is using this yet)
- Add necessary prebuild parts (don't forget to runprebuild)
Attention: Work in progress. This shouldn't break anything, but you never know...
2009-04-05 17:08:11 +00:00
Homer Horwitz
50aa775ea7
- Move IWindModule to OpenSim.Region.Framework.Interfaces
...
- Fix a dependency problem.
Hopefully fixes Mantis #3395
2009-04-05 17:08:01 +00:00
diva
75873b6253
Thanks BlueWall for a patch that adds Hypergrid dynamic linking to osTeleportAgent. Fixes mantis #3408 .
2009-04-05 16:41:27 +00:00
idb
4e8723ad3f
Directory defaults for region xml files when creating a new region got changed/lost with svn 8550 when a check was added for the file name having .xml extension. The extension check has been moved slightly earlier and the original directory logic restored.
...
Fixes Mantis #3386
2009-04-05 10:31:18 +00:00
Teravus Ovares
cf1e8b1723
* Fixing SVN properties
2009-04-05 08:43:29 +00:00
Teravus Ovares
e592d03843
* Committing what I have on the BulletDotNETPlugin that I have so far.
...
* It's not ready to try. It doesn't do what you expect in many ways.
* It throws errors and prints jibberish on the console
* Test it out only if you're brave and you've backed up first.
* The opensim.ini line is physics = BulletDotNETPlugin
2009-04-05 08:35:38 +00:00
diva
3c9cba1627
Added CreateObject(regionhandle, userID, itemID) to post objects that are to be fetched from the user's inventory server and rezzed in the region. Added all code necessary to fetch the item and the asset, and rez it inworld. The access to the item is uncap-ed and unverified -- I may place it later either under a cap or with auth verification. But in this model regions don't have the user's inventory, so they would have to guess the item IDs.
...
Added safemode config to Standalone Hypergrid, similar effect to AllowRegionAccessToInventory in Inventory Server. Everyone should have these vars set to their default values except me!
2009-04-05 03:27:50 +00:00
Adam Frisby
9a4192d14e
* Fixed copyright headers on HyperGrid source files. (Now match the rest of OpenSim, license text is unchanged)
...
* Added Bitmap[,] to IParcel for MRM
2009-04-05 02:51:10 +00:00
Adam Frisby
51419d21e4
* Minor cosmetic change to SEUser to get Bamboo to initiate another build. (grr)
...
* Adds basic IParcel interface. Soon to live on World.Parcels{[id],[x,y]}
2009-04-05 01:36:30 +00:00
Adam Frisby
dc967b16a4
* Typo in constructor during class rename (whoops!)
...
* OpenSim is now over 9000.
2009-04-05 01:29:58 +00:00
Adam Frisby
f094847c43
* Implements ISocialEntity - this represents the class of "user-like" objects such as Users, Groups, etc. Destined to be used as the return value of any "Owner" properties.
...
* Implements basic "SEUser" class which implements Avatar/Agent SE functions (primitive).
2009-04-05 01:28:23 +00:00
Adam Frisby
2e1646d368
* Removes IsPhysical, IsPhantom from IObject, since this is now represented in IObject.Physics.Enabled / IObject.Physics.Phantom instead.
2009-04-04 23:44:37 +00:00
Adam Frisby
e120876bd0
Implements on IObjectPhysics:
...
* SetMomentum
* AddAngularForce
* AddForce
* FloatOnWater
* Force
* Acceleration
* Torque
* Velocity
* RotationalVelocity
* CenterOfMass
* GeometricCenter
* Buoyancy
* Mass (Partial)
* Density (Partial)
2009-04-04 23:32:37 +00:00
Adam Frisby
746729b6ce
* Implements IObjectPhysics on SOPObject partially.
...
* Eg, IObject.Physics.* is now valid syntax and compiles (but will throw NotSupported at runtime)
2009-04-04 23:23:24 +00:00
Adam Frisby
39c3ccb93a
* Implements IObjectPhysics, this collects Physics attributes into one interface, will be referenced on IObject as IObject.Physics.*
...
* Eg; IObject.Physics.Torque = new Vector3(30.0,0.4,0.5);
* Maps loosely to internal PhysicsActor class.
2009-04-04 23:16:19 +00:00
Adam Frisby
d758753d7c
* More fiddling with MRM IPersistence, now stores <T> instead of Object.
2009-04-04 22:57:53 +00:00
idb
168752b81b
Give a meaningful message if terrain save fails because of a file IO error.
...
Fixes Mantis #3348
2009-04-04 22:26:38 +00:00
Homer Horwitz
8136cf4075
Thanks jonc, for a patch that adds rendering of classic clouds.
...
First part of Mantis #964 , the necessary clouds image will follow separately.
2009-04-04 15:43:02 +00:00
nlin
449bebf16e
Preliminary work to support ObjectSpin* packets when user invokes CTRL / SHIFT / MOUSE DRAG on a physical object
...
Addresses Mantis #3381
2009-04-04 13:13:14 +00:00
Adam Frisby
23193ab538
* Changed IPersistence interface so that passing the MRMBase is unessecary.
2009-04-04 08:36:45 +00:00
Adam Frisby
4e9403e6ef
* Renamed Heightmap.Height to Heightmap.Length to avoid confusion about axis.
...
* Added XMLDOC to MRM API code, this means we have usable programming docs being produced here: http://docs.opensimulator.org/namespaceOpenSim_1_1Region_1_1OptionalModules_1_1Scripting_1_1Minimodule.html (eg IObject, IHeightmap, etc)
2009-04-04 08:33:58 +00:00
Jeff Ames
5cf7b784ce
Add copyright headers, formatting cleanup.
2009-04-04 07:32:41 +00:00
Adam Frisby
c3e1756a48
* Removes IObject.Position, IObject.Rotation from IObject
...
* Adds IObject.WorldPosition and IObject.OffsetPosition - this is equivilent to AbsolutePosition and OffsetPosition in SOP respectively.
* Adds IObject.WorldRotation and IObject.OffsetRotation - as above.
2009-04-04 06:28:55 +00:00
Adam Frisby
fcbe7b9ed6
* Drops Heightmap.Get/Heightmap.Set from IHeightmap interface.
...
* Adds Heightmap[x,y] to interface.
* MRM Scripts should utilize World.Heightmap[x,y] = 0.0; to replace set, and Val = World.Heightmap[x,y] to get.
2009-04-04 05:51:26 +00:00
lbsa71
7f4bf5871d
* Proactively fixed bug-potential concerning the fact that m_httpServer property was differently referred to between RegionApplicationBase and all other grid services.
2009-04-03 20:56:36 +00:00
Arthur Valadares
0c544a85dc
* Fixes issue where of you force your avatar against a region corner, it gets stuck and NonFinite Avatar messages floods console
...
Addresses Mantis #3380
2009-04-03 19:20:23 +00:00
Justin Clarke Casey
5146cb7a72
* refactor: Call StatsReporter methods directly rather than through Scene (as WebStatsModule was doing)
...
* Assume that StatsReporter is always present (possibly as a no-op impl) rather than doing null checks
2009-04-03 17:14:51 +00:00
Dr Scofield
fc1b1bc797
- adding -logconfig option to allow configuration of log4net from
...
log4net config file other then bin/OpenSim.exe.config
- moving ArgvConfigSource initialization up to allow for configuration
of XmlConfigurator.Configure()
2009-04-03 12:47:56 +00:00
Adam Frisby
084ffc74c6
* Implements MRM IObject.Say - this is equivilent to llSay
...
Example:
public override void Start()
{
Host.Object.Say("Hello World!");
}
2009-04-03 10:42:39 +00:00
Adam Frisby
254d3099f0
* Implements Scene.SimChat(string,...) rather than byte[]. We should probably mark byte[] as obsolete.
...
* Implements SOPObject.Say for MRM. (Note, not IObject yet)
2009-04-03 10:40:14 +00:00
Adam Frisby
36bc485e7e
* MRM Scripts will now no longer disconnect the client if there was an error in compilation or script initialisation.
...
* Clarified some debug text for MRM Enabling
2009-04-03 10:30:51 +00:00
Adam Frisby
7e91f41535
* Implements "ID" semi-global within MRM scripts. This is tied to the 'state ID' for MRMs.
...
* Implements IPersistence interface, allows simple KeyValue access for MRM scripts to a more permanent datastore.
2009-04-03 09:22:34 +00:00
Dahlia Trimble
5f4cab6ed3
fix an error in hollow cylinder face number calculation
2009-04-03 08:45:32 +00:00
Melanie Thielker
f17732346e
Fix a nullref when compiling non-LSL scripts
2009-04-02 16:27:16 +00:00
idb
b45ac2bf8e
Correct llSetPrimitiveParams to check for a texture in inventory when setting the sculpt map.
...
This Fixes Mantis #3331
Also corrected the capping calculation in llApplyImpulse and several integer "boolean" comparisons from "== 1" to "!= 0" for true
2009-04-02 10:24:12 +00:00
Dahlia Trimble
b42fec5c74
partial support for sculpted prim "inside out" setting
2009-04-02 06:54:48 +00:00
diva
86c753a6bd
More refactoring. This time extracting the client-side of RESTInterregionComms into a RegionClient class.
2009-04-01 23:35:48 +00:00
diva
2e54f277d1
One more bit of refactoring, so this can be used outside region code.
2009-04-01 22:42:44 +00:00
diva
6e368c4b59
Refactoring, no functional changes. Moved ChildAgentDataUpdate data structures from OpenSim.Region.Framework.Scenes back to OpenSim.Framework, so they can be referenced more broadly. This involved having to move the small Animation data structure to OpenSim.Framework too.
2009-04-01 19:50:09 +00:00
lbsa71
958d764172
* Upped trunk version number to 0.6.4 as we just tagged 0.6.4-release
2009-04-01 19:44:46 +00:00
Teravus Ovares
74d5d44373
* Committing patch in mantis 3376 [Patch] Fix a minor animation handling glitch in ScenePresence
...
* ..
* ..
* err, okay, this was a stick-buggery April 1st joke by me. This removes it. Happy April 1st!
* fixes mantis 3376
2009-04-01 19:04:59 +00:00
Dahlia Trimble
8493123629
Hard code scaled image resolution to 96 dpi prior to sculpt meshing to prevent a mono 2.4 failure. Thanks to cmickeyb for pointing out the failure.
2009-04-01 18:38:51 +00:00
Jeff Ames
99cfcf405b
Update svn properties.
2009-04-01 14:50:18 +00:00
Melanie Thielker
a1fe54baa0
Add a "user" config option to the IRC module config. Like all other IRC
...
config options, this has NO default, if you use the IRC module, you MUST
add this setting to your ini file.
2009-04-01 12:28:46 +00:00
Melanie Thielker
76ca096384
Add a PIDFile in [Startup], which the PID will be written to
2009-04-01 12:13:42 +00:00
Adam Frisby
1a25969096
* MRM Adjustments
...
* Renamed 'Material' to PhysicsMaterial (Wood, Glass, Metal, etc.). May want to place in subclass with other physics specific properties. (We however need to support these features in ODE/etc first.)
* Renamed Faces to Materials. IObjectFace to IObjectMaterial - this is for clarity for those coming from a 3D Programming background (it also makes more sense if/when we support Meshes in core). Properties and members remain identical.
* Added XMLDoc comments to IObject to assist people writing MRMs in XMLDoc aware editors.
2009-04-01 11:03:42 +00:00
Adam Frisby
5cd70a8c0e
* MRM Adjustments
...
* Changes World.Objects from Array IObject[] to IObjectAccessor.
* Syntactically identical in most behaviour, however the indexer is now ranges not from 0..Count, but any valid internal LocalID. Additional indexers have been added for UUID.
* Example: for(int i=0;i<World.Objects.Count;i++) will not work any more, however foreach(World.Objects) will remain functional.
* This prevents us needing to create a list for each access to World.Objects which should [in theory] present a dramatic speed improvement to MRM scripts frequently accessing World.Objects.
2009-04-01 09:31:40 +00:00
Adam Frisby
7eccad05c9
* Adds World.Avatars[] to MRM Scripting. Contains an enumerable array containing IAvatar instances for each avatar in the region.
...
* Adds Test/TestModule.cs which demonstrates a very quick and simple MRM Test.
2009-04-01 06:55:39 +00:00
Adam Frisby
5225e40f9e
* Removes some hard-coded magic numbers relating to RegionSize. We now use Constants.RegionSize as expected. (Working towards enlarged or smaller regionsizes that arent multiples of 256m)
...
* Adds minor functionality to MRM Scripting.
2009-04-01 05:58:07 +00:00
Melanie Thielker
7ec85508ff
Finally clean up the Scene.Permissions and permissions module.
...
Permissions now use proper events and not delegate lists, which makes
for much easier reading and much less work adding new methods.
I finally found a way to raise events with return values without it becoming
late bound.
2009-04-01 01:41:40 +00:00
Melanie Thielker
a4ba587df7
Adding the Length override to the KillPacket
2009-03-31 21:34:29 +00:00
diva
cb74848f2d
Turning the wind module off by default.
2009-03-31 16:17:13 +00:00
Dr Scofield
aecb4fb72a
From: Alan M Webb <alan_webb@us.ibm.com>
...
Add sanity check to fly-height calculation so that it does
not attempt to retrieve information from non-existent
regions.
2009-03-31 12:45:34 +00:00
lbsa71
fb9a358b79
* Refactored out and de-duplicated Base64ToString(string)
...
* Fixed minor typo
2009-03-31 05:51:28 +00:00
Jeff Ames
20e1a8d7f6
Thanks rtomita for a patch to add a handler for the RemoveInventoryObjects packet. (bug #3304 )
2009-03-31 05:47:53 +00:00
Charles Krinke
54a27f9f5c
Thank you kindly, MCortez for a patch that:
...
With some support from HomerH, this patch adds support for Wind
Model plugins via the mono.Addin framework.
* Adds console & OSSL access to Wind Parameters
* Adds plug-in support for custom wind models
* Provides two example Wind Model plug-ins
Documentation for the wind module is temporarily located at http://code.google.com/p/flotsam/wiki/CoreWindModule [^]
-- will move this documentation to http://opensimulator.org [^]
after the patch has been committed.
2009-03-31 02:33:19 +00:00
Jeff Ames
54ccca1e2c
Update svn properties, add copyright header, formatting cleanup.
2009-03-31 02:00:33 +00:00
Justin Clarke Casey
2914bfe7b0
* Fix test breakage by always inserting a gods module when testing
2009-03-30 19:09:57 +00:00
Justin Clarke Casey
176f263d23
* minor: remove mono compiler warnings
2009-03-30 18:34:43 +00:00
Justin Clarke Casey
ac8fc02afc
* refactor: Move god related methods in Scene out to a module
2009-03-30 18:20:41 +00:00
Teravus Ovares
0318e824ae
* Remove a debug line of localIDs
2009-03-30 14:13:56 +00:00
Teravus Ovares
6522b4f5d4
* Fixing thread safety of avatar adding and removing from the Physics Scene in the ODEPlugin
...
* This may help one of the symptoms or mantis 3363 , however it probably won't solve the occasional NonFinite Avatar Position detected.. issues that some people see. That is probably an entirely different issue(NaN).
2009-03-30 14:10:24 +00:00
Melanie Thielker
f88d755f96
Add PickInfoReply packet.
...
Fixes Mantis #3324
2009-03-30 11:51:34 +00:00
Dahlia Trimble
d468b7f2d3
Thank you Flyte Xevious for Mantis #3361 - Implementation of llEdgeOfWorld
2009-03-29 23:59:14 +00:00
diva
f7eac63e01
Another bit of refactoring to try to make sense of OpenSim.Framework.Communications. Everything that looks like a service, with service handlers, moved to .Services -- i.e. LoginService and Response, and GridInfoService. The rest of the changes were to adapt to the new locations of those files.
2009-03-29 22:04:45 +00:00
diva
08732b65be
Moved some files around, so that it's easier to share code between standalone and the grid services. Should not affect any functionality.
2009-03-29 20:29:13 +00:00
Melanie Thielker
d857cf1335
Don't let a missing configuration cause a NRE
...
Fixes Mantis #3355
2009-03-29 15:24:50 +00:00
Melanie Thielker
03063375ee
Add AcceptNotices member to GroupMembershipData and an overload to
...
IGroupsModule interface
2009-03-29 11:18:45 +00:00
Melanie Thielker
8c4bcfb5d0
Module interface change
2009-03-29 06:14:54 +00:00
Melanie Thielker
c483206fd7
Change the client API to use GridInstantMessage for the "last mile" of IM
...
sending. With this change, all methods that handle IM now use GridInstantMessage
rather than individual parameters.
2009-03-29 05:42:27 +00:00
Melanie Thielker
404bfdc9a6
Finish the offline IM module (still needs a server). Add rudimentary
...
support for the mute list (no functionality yet, but allows the
RetrieveInstantMessages event to fire now).
2009-03-29 00:48:34 +00:00
diva
730b78114f
Minor bug fix in UpdateItem (meta data).
2009-03-28 23:50:37 +00:00
Teravus Ovares
b857635712
* Adding some heuristic error correction to the j2k decoder module to combat some of the situations that we see in mantis 3049 .
...
* This may help people on certain 64 bit systems where the end byte position of each layer data packet is incorrect but the start positions are correct.
* The console will still be extremely chatty with 'Inconsistent packet data in JPEG2000 stream:' messages, however.. if OpenSimulator was able to recover the data, it will say HURISTICS SUCCEEDED
2009-03-28 20:50:08 +00:00
Melanie Thielker
4f6c4378da
Add mute list request event and dummy response
2009-03-28 04:21:44 +00:00
Melanie Thielker
b40ec850bb
Fix the plumbing in the offline message module.
...
No functionality yet.
2009-03-28 04:02:30 +00:00
Melanie Thielker
0ff7c85a5d
Add a module skeleton for offline IM storage. No functionality yet.
2009-03-28 02:58:12 +00:00
Teravus Ovares
67be0213d4
* Remove redundancies in ScenePresence
2009-03-28 02:41:51 +00:00
Teravus Ovares
f5812b3702
* Adds AgentUUIDs into the CourseLocationUpdate to improve compatibility with LibOMV based clients.
...
* Modifies the IClientAPI! So client stacks will need to be modified!
2009-03-28 01:40:33 +00:00
diva
cd1bf3600d
Small bugs fixed related to ownership and permissions.
2009-03-28 00:08:13 +00:00
Melanie Thielker
cbef90fec6
Add the events needed for profiles.
...
Fixes Mantis #3324
2009-03-27 22:47:41 +00:00
Teravus Ovares
52c482a7a7
* This updates LibOMV to the current release 0.6.0 on March 19 2009
...
* Important: HttpServer.dll was changed to HttpServer_OpenSim.dll so that the HttpServer references do not conflict if you've copied the OpenMetaverse.Http.dll and requirements to the OpenSimulator bin folder.
This means that if you reference HttpServer.dll in any projects, you will need to change the reference to HttpServer_OpenSim.dll. It still uses the Same HttpServer namespace though.
2009-03-27 22:13:09 +00:00
Justin Clarke Casey
30ffefb67b
* refactor: call some EventManager triggers directly rather than through scene
2009-03-27 20:41:35 +00:00
diva
bce5ed5812
Moved a method GetDefaultVisualParameters from Scene to AvatarAppearance, where it belongs. Better error handling in ScenePresence.CopyFrom.
2009-03-27 20:18:55 +00:00
Justin Clarke Casey
3fe010d716
* minor: remove one mono compiler warning
2009-03-27 20:03:20 +00:00
Justin Clarke Casey
bd8d6fad45
* Implement * wildcard in save iar requests
...
* not yet ready for use
2009-03-27 19:45:07 +00:00
Justin Clarke Casey
053a6b355c
* Fix single item iar saving
...
* Not yet ready for use
2009-03-27 18:53:11 +00:00
Melanie Thielker
37e81c7d54
Remove a hardcoded flow/dependency on the money module from LLCLientView
2009-03-27 18:51:45 +00:00
Justin Clarke Casey
561f241564
* minor: move RegionSettingsSerializer into OpenSim.Framework.Serialization
2009-03-27 18:13:34 +00:00
Justin Clarke Casey
86cc0e86d4
* Also temporarily disable T032_CrossAttachments() since this relies on the execution of T021_TestCroswsToNewRegion()
2009-03-27 17:19:58 +00:00
Justin Clarke Casey
39bf59080b
* Temporarily disable ScenePresenceTests.T021_TestCrossToNewRegion() as this has both WaitOnes() which don't time out and tight loops
...
* Going to see if this stops the freeze failures where (though there may also be a separate occasional failure in the save oar test)
2009-03-27 17:01:07 +00:00
Justin Clarke Casey
355247c2b2
* For each test in OpenSim.Region.Framework.Scenes.Tests, tell the console when the test starts
...
* This is to help identify which test is freezing, since all the tests in the previous dll (coremodules) succeed
* Unfortunately they are not executed in the same order in which the results are listed in Bamboo
2009-03-27 16:33:15 +00:00
diva
06ad2244f0
svn:eol-style property set.
2009-03-27 16:13:25 +00:00
diva
6ddf932c7e
svn:eol-style property set.
2009-03-27 15:11:21 +00:00
diva
a423b3060b
Notecard updates bypassing the regions. (HGStandalone only)
2009-03-26 22:17:57 +00:00
Justin Clarke Casey
8a4464f44a
* correct iar root folder location for saving of individual items
...
* however, rest of the path components are still currently wrong so this is broke
2009-03-26 20:34:02 +00:00
Dahlia Trimble
ad012d4b46
add x-axis mirror capability to sculpted prim mesh - addresses Mantis #3342
2009-03-26 18:12:10 +00:00
Justin Clarke Casey
10d21afd9d
* Apply http://opensimulator.org/mantis/view.php?id=3343
...
* Removes long unused -useexecutepath switch
* Thanks coyled
2009-03-26 17:43:05 +00:00
Justin Clarke Casey
0db166ed3d
* Apply http://opensimulator.org/mantis/view.php?id=865
...
* Reimplements "terrain rescale <min> <max>" command which rescales current terrain to be inbetween min and max
* Thanks jonc
2009-03-26 17:42:02 +00:00
Justin Clarke Casey
93b26f8933
* iars: Serialize information about item creators to archive
2009-03-26 17:25:12 +00:00
Melanie Thielker
706a2df516
Read the .map files in on sim startup. Also clean them up when an assembly
...
is deleted.
2009-03-26 15:06:20 +00:00
Melanie Thielker
eb6c1ae0c1
Avoid preprocessing scripts on region restart just to generate the line
...
number map. Instead, write the map to a file for later use. That is not
yet used, so currently runtime errors after a sim restart will have wrong
line numbers
2009-03-26 14:49:39 +00:00
Melanie Thielker
fcab3510b3
Avoid writing script state to the filesystem if the state has not changed.
...
Remove the unneccessary double check that was only used to provide a
meaningless warning message for a corner case.
2009-03-26 14:28:00 +00:00
Dr Scofield
c8aaf538e4
- adding osGetAgents() which returns a list of all avatars in the region
...
in which the script is running.
- found a bag of space characters under my desk, thought i'd donate them
to the JSON OSSL function (aka clean up)
2009-03-26 12:08:18 +00:00
diva
de3971a8d3
One more -- CopyItem.
2009-03-26 04:14:33 +00:00
diva
3b08f17fc2
Half-way through supporting inventory access from outside the regions -- HG standalones only, for now.
2009-03-26 03:45:49 +00:00
Dahlia Trimble
3bedb59f50
make some arrays static to prevent excessive re-initialization - suggested by jhurliman
2009-03-26 03:10:30 +00:00
Melanie Thielker
8dfe8a0d1d
Make the error messages passed to RegionReady more descriptive
...
Patch by antont, thank you.
Fixes Mantis #3338
2009-03-26 01:02:19 +00:00
Sean Dague
6323516a83
* Appearance patches suite: These patches are applied to allow libomv bots to wear outfits in the future.
...
This functionality will be upstreamed later.
** Fixed call of new AvatarAppearance without arguments, which caused bots look like clouds of gas
** Added a SendAvatarData in ScenePresence.SetAppearance, which is expected after SetAppearance is run
** Fixed AssetXferUploader: CallbackID wasn't being passed on on multiple packets asset uploads
** Set VisualParams in AvatarAppearance to stop the alien looking bot from spawning and now looks a little better.
*** TODO: Set better VisualParams value then 150 to everything
2009-03-25 20:15:46 +00:00
Justin Clarke Casey
b52587ea6c
iar: centralize user uuid gathering
2009-03-25 19:54:07 +00:00
lbsa71
3cb06cc4cc
* Changed a recursive BeginRobustReceive loop to a flat while loop to avoid lethal stack overflows.
2009-03-25 19:30:36 +00:00
Justin Clarke Casey
e694e1a657
* minor: Adjust exception catching on load/save xml[2]/oar.
...
* Allow non FileNotFoundExceptions to propogate rather than post a misleading error message
2009-03-25 19:21:28 +00:00
Justin Clarke Casey
19595a2825
* minor: spit out creator name on save iar
...
* not yet ready for use
2009-03-25 19:14:36 +00:00
Dr Scofield
09d2c6fe5d
adding presence.ControllingClient.Kick(msg) to the brew.
2009-03-25 18:48:30 +00:00
Dr Scofield
0419f29856
enhances the console command "kick user" with an optional alert
...
message which will be dialog-ed to the user just before being kicked.
2009-03-25 18:04:33 +00:00
Melanie Thielker
21d14a7090
Thank you, dslake, for a patch that fixes passing the start param to scripts
...
Fixes Mantis #3330
2009-03-25 11:05:01 +00:00
Dr Scofield
0bb3d2e6d7
cleanup
2009-03-25 07:36:56 +00:00
diva
2afe3be2e6
HGStandaloneInventoryService now serves inventory assets. No need for clients to have direct access to the asset service.
2009-03-25 05:21:47 +00:00
Melanie Thielker
fb5f702e78
Change llGetOwnerKey to use another overload of GetSceneObject.
...
Fixes Mantis #3326
2009-03-24 22:12:48 +00:00
Justin Clarke Casey
6cad71d5ec
* minor: remove load oar logging I accidentally left in a few commits ago
...
* reduce noisiness of uuid gatherer
* stop bothering to pointless complain about directory tar entries when loading an oar
2009-03-24 21:05:20 +00:00
Justin Clarke Casey
0bf2177dfb
* Use memory more efficiently when loading oars
...
* This change starts the script immediately after an object is loaded, rather than waiting till they are all loaded
* This should be okay, but please report any new errors
2009-03-24 20:48:27 +00:00
Justin Clarke Casey
22a4d6acc2
* minor: remove mono compiler warnings
2009-03-24 20:36:32 +00:00
Justin Clarke Casey
5e9682cef7
* Fix edit scale command - was looking for one too few arguments
2009-03-24 19:04:28 +00:00
Melanie Thielker
c268b71f4b
Thank you, dslake, for a patch that speeds up the Delete Old Files option
...
in the compiler. Committed with changes.
Fixes Mantis #3325
2009-03-24 12:18:31 +00:00
Dr Scofield
b5f6aa6ff2
From: Alan Webb <alan_webb@us.ibm.com>
...
Changes to AssetCache and DynamicTextureModule to eliminate
opportunities for lost texture updates.
2009-03-24 08:21:50 +00:00
diva
5af63a6a5c
Root agent retrieval via http/REST. This is a pull, the caller gets the agent. This is not used by the regions yet, but it may be a better alternative to transfer agents even when that is done by the regions. The data is still trivial; soon it will have attachments, scripts and script state. Also, authorization tokens still to come. Serialization using OSD/json, as the other methods.
2009-03-23 02:37:19 +00:00
Melanie Thielker
e1ea3f05aa
Finish folder gives. With this commit, single item and folder gives now
...
work across regions and also to offline avatars. Scripted gives are not
yet tested and may not work.
2009-03-23 02:02:12 +00:00
Melanie Thielker
412112acba
Committing partial work on passing folders across instances. This may crash.
2009-03-23 00:11:34 +00:00
Melanie Thielker
f86c13f48e
Send proper creation date on item gives, so objects will appear at the top of
...
"Objects", not at the bottom
2009-03-22 20:05:11 +00:00
Melanie Thielker
48e87b6448
Make single item inventory gives work across regions
2009-03-22 18:25:04 +00:00
Melanie Thielker
e6bb86a224
Add QueryItem method to secure inventory and HG inventory, change method sig to
...
provide additional information the HG needs.
2009-03-22 15:42:22 +00:00
Melanie Thielker
ea1e38dd14
Cause the inventory give module to be more selective and not attempt to
...
deliver other modules' IM types
2009-03-22 14:32:15 +00:00
Melanie Thielker
b83ad8a97b
Thank you, dslake, for a patch that fixes XEngine linemap handling.
...
Fixes Mantis #3321
2009-03-22 11:57:00 +00:00
diva
047d753cd0
Explicit tests for local regions.
2009-03-22 06:31:32 +00:00
diva
9489ad57f9
Moving the LoginAuth service up, so that it can be shared among standalones and the User Server.
2009-03-22 04:39:16 +00:00
diva
09732b4d5d
Initial support for authentication/authorization keys in UserManagerBase, and use of it in HGStandaloneLoginService (producer of initial key for user, and of subsequent keys) and HGStandaloneInventoryService (consumer of a key).
...
Keys are of the form http://<authority>/<random uuid>
and they are sent over http header "authorization".
2009-03-21 20:16:35 +00:00
diva
b140988a1f
Minor changes in names inside.
2009-03-21 19:37:35 +00:00
Melanie Thielker
1e6587f1d3
Add code to the inventory transfer module to use the new DB functionality
...
Not tested!
2009-03-21 18:14:06 +00:00
diva
b0f2bcbe79
Moving HGStandaloneAssetService to a new place, and giving it a more generic name. MXP is going to use it too.
2009-03-21 18:03:44 +00:00
Melanie Thielker
1121a214b9
Add a QueryItem method to the inventory subsystem. Currently implemented for
...
MySQL only, stubs for the others. This allows updating the cache with a single
item from the database.
2009-03-21 17:46:58 +00:00
idb
2d387c25b8
Move a check for null PhysActor in applyImpulse so that attachments can move avatars.
...
Fixes Mantis #3160
2009-03-21 11:42:31 +00:00
Teravus Ovares
14b94b8d05
* Finishing up the last commit by adding ISunModule
2009-03-20 23:15:16 +00:00
Melanie Thielker
c6da0fda58
Thank you, mcortez, for patch to add functionality to the sun module.
...
Fixes Mantis #3313
2009-03-20 22:42:21 +00:00
idb
aab38c2cb2
Ensure the remembered velocity is zero when physical is turned off on a prim. Without this the velocity gets sent to the client and the prim appears to move.
...
Fixes Mantis #3303
2009-03-20 15:59:11 +00:00
Melanie Thielker
78a19528c6
Change DropObject to public. Fixes Mantis #3314
2009-03-20 13:57:22 +00:00
Justin Clarke Casey
4571a8b3fb
* Remove compiler warnings
...
* These have actually been removed from HGHyperLink.TryUnlinkRegion, because some parameters were parsed but never used.
* This might be a situation where the warnings have shown up an oversight
2009-03-19 21:16:02 +00:00
Justin Clarke Casey
8f1844665b
* Group OpenSim.Framework.Servers interfaces together
2009-03-19 19:21:17 +00:00
Justin Clarke Casey
bd2180d9af
* refactor: Create IHttpServer interface instead of accessing BaseHttpServer via CommunicationsManager directly
2009-03-19 18:11:44 +00:00
Justin Clarke Casey
eb0c369409
* Add documentation to BaseHttpServer.AddHTTPHandler()
2009-03-19 16:41:23 +00:00
Dr Scofield
0867302e09
reformatting README (just noticed that that line was a bit on the long
...
side.
2009-03-19 08:47:05 +00:00
Dr Scofield
1caf1c5d96
adding missing ChatSessionRequest voice capability for direct AV-AV calls.
2009-03-19 08:42:59 +00:00
Dahlia Trimble
d23f0ec143
Thanks to mpallari for Mantis #3310 : Make EventQueueGetModule more inheritable
2009-03-19 07:06:30 +00:00
diva
247a25a7fe
Making a couple of methods public.
2009-03-19 03:33:20 +00:00
Justin Clarke Casey
c0c929665f
* Apply http://opensimulator.org/mantis/view.php?id=3311
...
* Store script timers in a dictionary rather than a list to make unset much more efficient
* Thanks dslake
2009-03-18 20:24:53 +00:00
diva
a7d610ffcc
Adds support for unlink-region command in hypergrid.
2009-03-18 16:37:26 +00:00
Melanie Thielker
87822c5d95
Add an event to process undelivered IMs
2009-03-17 23:52:30 +00:00
Justin Clarke Casey
7658e30dfc
* minor: remove compiler warning
2009-03-17 21:20:58 +00:00
MW
86d48b73e1
Fixed the looping on llParcelMediaCommandList, now PARCEL_MEDIA_COMMAND_PLAY will make the media play only once like its meant to, and PARCEL_MEDIA_COMMAND_LOOP can be used to make it loop.
2009-03-17 18:18:24 +00:00
Dr Scofield
b2de81ebac
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
Attached is a patch which enabled through an OpenSim.ini option the ability
to read long notecard lines. Currently although the data is read from
the notecard it is truncated at 255 characters (same as for the LL servers.
This patch allows the setting of that limit to a different value.
; Maximum length of notecard line read
; Increasing this to large values potentially opens
; up the system to malicious scripters
; NotecardLineReadCharsMax = 255
this allows for save/restore functionality using notecards without
having to worry about very short line length limits.
2009-03-17 07:03:53 +00:00
Mike Mazur
f28886e26d
Rename OpenSim.Framework.Archive to OpenSim.Framework.Serialization
...
Update using statements and prebuild.xml. Also trim trailing whitespace.
2009-03-16 00:12:25 +00:00
Homer Horwitz
c9a3a764f1
regionInfo isn't defined here yet, which leads to a NRE. Grid-server
...
provided us with the data, so let's use it for now. Hopefully
fixes Mantis #3297 .
2009-03-15 21:01:04 +00:00
Charles Krinke
5bc386c648
Fixes Mantis#3301. Thank you kindly, MaimedLeech for a patch that:
...
patch allows wind to be enabled/disabled, and wind strength set,
from ini file
2009-03-15 20:22:07 +00:00
Charles Krinke
9e0329f1dc
Fixes Mantis #3294 . Thank you kindly, Godfrey, for a patch that:
...
Attached is a patch which provides osAvatarPlayAnimation() the ability to
also trigger animations contained within the same prim as the script, as
llStartAnimation() does. (It also modifies osAvatarStopAnimation(),
otherwise the script wouldn't be able to stop animations it had started.)
2009-03-15 19:45:42 +00:00
Charles Krinke
9e4d9e2c3f
Fixes Mantis #3289 . Thank you kindly, Ewe Loon, for a patch that:
...
fixes Sporadic Errors in "Dictionary<InstanceData, DetectParams[]"
Causing total script Failure
2009-03-15 19:39:43 +00:00
diva
95323c3264
Changing a few methods to public. This is the collection of methods that will be moved to a library somewhere else.
2009-03-15 19:21:43 +00:00
Dahlia Trimble
fa5fef33a9
fixed propagation of normalized sculpt mesh vertex normals
2009-03-15 09:05:35 +00:00
Jeff Ames
fec8aef03a
Thanks rtomita for a patch to add handlers for prim scale updates from libomv-based clients. ( #3291 )
2009-03-14 22:55:17 +00:00
Melanie Thielker
ddbf81fa07
Thank you, mcortez, for a patch that fixes a number of long standing
...
issues with the sun module.
Fixes Mantis #3295
2009-03-13 23:45:02 +00:00
Justin Clarke Casey
c04e7cdf2b
* Support loading empty folders in an iar
2009-03-13 20:46:53 +00:00
Justin Clarke Casey
bd41639a68
* Don't fail the client login if there are no OnClientConnect listeners
2009-03-12 20:38:28 +00:00
Justin Clarke Casey
f5ff2eff24
* minor: Lable the heartbeat thread with the region it's beating for
2009-03-12 20:37:15 +00:00
Dr Scofield
fa619bdf8c
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
Patch to RegionReady which adds a field which adds to the message
whether the region is ready due to a server startup or due to an oar
file loading.
2009-03-12 18:51:28 +00:00
Justin Clarke Casey
a02c3caa0d
* Move SceneObject tests into their proper namespace
...
* Add some more debug code to narrow down where the tests are freezing
2009-03-12 18:13:51 +00:00
lbsa71
33f511ee4b
* Another stab at refactoring up the CustomiseResponse function. Two fixes:
...
* Sometimes, null is a valid return value to indicate 'none found'. doh.
* Sometimes, the Grid server does not send simURI - this you need to reconstruct yourself. Euw.
(I believe) this solves mantis issue #3287
2009-03-12 10:50:59 +00:00
Mike Mazur
7b2977d625
Move ArchiveConstants to OpenSim.Framework.Archive
...
- move a couple constants from InventoryArchiveConstants to
ArchiveConstants, now only one of these is needed
- change InventoryArchiveConstants references to ArchiveConstants
- remove InventoryArchive AssetInventoryServer plugin dependency on
OpenSim.Region.CodeModules
- trim trailing whitespace
2009-03-12 06:04:17 +00:00
Mike Mazur
f784620780
Moving TarArchive to OpenSim.Framework.Archive
...
We now build OpenSim.Framework.Archive.dll which aims to contain code
used for archiving various things in OpenSim. Also remove trailing
whitespace.
2009-03-12 06:03:59 +00:00
Jeff Ames
a8c66444e2
Update svn properties, minor formatting cleanup.
2009-03-12 01:14:54 +00:00
Jeff Ames
6462014250
Thanks rtomita for a patch to fix inventory listings for clients using libomv. ( #3285 )
2009-03-11 18:46:52 +00:00
Justin Clarke Casey
acad0328b2
* Make all coded defaults match settings in OpenSim.ini.example
...
* In most cases, the setting in OpenSim.ini.example is taken as the canonical one since this is the file virtually everyone ends up using
* OpenSim will start up with a blank OpenSim.ini, in which case sqlite is the default database (as before)
2009-03-11 18:02:22 +00:00
Dahlia Trimble
669aa46bff
update some ini defaults in code - all defaults from beginning of OpenSim.ini.example thru DefaultScriptEngine = "XEngine"
2009-03-11 09:31:02 +00:00
Dr Scofield
b6b83be562
From: Alan M Webb <alan_webb@us.ibm.com>
...
This fixes *another* sync error in a list/dictionary
iterator. This time in WorldComm. I'm beginning to think
something is going on...
2009-03-11 09:07:50 +00:00
Dahlia Trimble
5cc372fab4
add a taint to SOP.UpdateShape() - addresses Mantis #3277
2009-03-11 04:13:35 +00:00
Mike Mazur
8606d7d126
Remove chained tests in BasicGridTest.cs.
...
It's good practice to isolate unit tests so their outcome (pass/fail)
does not depend on whether another test has been run/passed/failed. A
method is used to populate the DB independently for each test, and a
TearDown method cleans up the database after each test.
Also adding extra comment in C-style comment test.
2009-03-11 00:33:34 +00:00
lbsa71
91a096dca6
* Cleanup and CCC (Code Convention Conformance)
2009-03-10 20:27:41 +00:00
Justin Clarke Casey
327720498e
* Enable test logging for TestSaveOarV0p2 to capture more information the next time this hiccups
2009-03-10 17:57:04 +00:00
Dr Scofield
fd9ba29a03
From: Alan M Webb <alan_webb@us.ibm.com>
...
Fix a null reference loophole in ScenePresence.
2009-03-10 15:54:00 +00:00
lbsa71
1956930e0d
* Removed unused and uncommented file
2009-03-10 09:20:27 +00:00
lbsa71
1b34b94331
* Refactored out Create() methods to ensure proper transformation between RegionProfileData and RegionInfo
...
* Created ToRegionInfo method, still not using it pending peer review.
* This is a preparatory commit for a subsequent login service refactoring.
2009-03-10 09:05:06 +00:00
Dr Scofield
973ba9c9b7
From: Alan Webb <alan_webb@us.ibm.com>
...
This commit fixes the attachment position problem described in
OpenSim Mantis 2841 (and a couple of duplicate tickets).
2009-03-10 06:14:29 +00:00
Jeff Ames
112a1af3a6
Update svn properties, minor formatting cleanup.
2009-03-10 00:03:26 +00:00
Jeff Ames
278ae3477a
Thanks M1sha for a patch to reinstate the original functionality of the TreePopulatorModule.
...
Note that the planting command 'tree' has been changed to 'tree plant'. (#3264 )
2009-03-09 23:31:10 +00:00
Justin Clarke Casey
051096e8ae
* minor: remove some mono compiler warnings
2009-03-09 19:58:39 +00:00
Justin Clarke Casey
5a6bc26600
* Address http://opensimulator.org/mantis/view.php?id=3207
...
* A saved archive now immediately expires the data in the asset cache that it used, rather than retaining all the assets (esp textures) in the cache.
* This is an imperfect solution. Ideally we would only expire the assets newly requested for the archive (not existing ones). But doing that would require a lot more
restructuring.
* I don't believe there are any locking issues due to the locking performed by the underlying memory cache, but please report any issues.
2009-03-09 17:55:08 +00:00
Teravus Ovares
f9ebdee1d2
* Tweak llMoveToTarget per mantis 3265
...
* Add some comments to the Wind Module
* Add the BinBVH decoder/encoder as a scene object (to encode/decode animations programmatically).
* Add m_sitState for upcoming code to improve sit results.
2009-03-09 04:33:53 +00:00
Jeff Ames
385d3a467c
Minor formatting cleanup.
2009-03-07 16:16:00 +00:00
idb
93a697b24d
Correct a typo, purely cosmetic.
...
FixesMantis #3263
2009-03-07 14:39:42 +00:00
idb
aab1601642
Limit the message length from llInstantMessage to 1024 characters http://wiki.secondlife.com/wiki/LlInstantMessage
...
Also truncate messages that may exceed the limit set by the packet size. The limit in OpenMetaverse is 1100 bytes including a zero byte terminator.
Fixes Mantis #3244
2009-03-07 14:16:26 +00:00
idb
23b247c519
Added the ability to set User-Agent in llHTTPRequest. No new default value has been set since having no User-Agent seems to work well but the facility is now available to set this if required. Using something based on the pattern of SLs User-Agent may well cause problems, not all web servers respond well to it. See the notes in the SL Wiki http://wiki.secondlife.com/wiki/LlHTTPRequest
...
Fixes Mantis #3143
2009-03-07 12:58:00 +00:00
idb
1fd57b39df
Correct casts so that the target id in the at_target event matches the original target id.
...
Fixes Mantis #2861
2009-03-07 10:37:15 +00:00
Teravus Ovares
5a49c772ca
* Making the minimum ground offset for flying a configurable offset in the OpenSim.ini. This is the code that causes you to rise off the ground when you press the fly button and attempts to keep you above ground automatically when flying in a simulator.
...
* minimum_ground_flight_offset, by default is 3 meters, as per Kitto Flora See OpenSim.ini.example for an example.
2009-03-07 07:17:43 +00:00
Teravus Ovares
6c7151109b
* fixes mantis 3259
...
* I'm concerned however that the 'minimum fly height' should really be implemented in ScenePresence and not in the specific physics plugin so that all of the physics plugins can take advantage of it and if desired, a person could swap out the 'minimum fly height' functionality with other functionality.
2009-03-07 06:51:27 +00:00
Jeff Ames
03076b0d33
Update svn properties, minor formatting cleanup.
2009-03-07 02:39:27 +00:00
Jeff Ames
3fe42386e4
Add copyright headers.
2009-03-07 02:11:50 +00:00
Jeff Ames
e1f68145be
Update svn properties.
2009-03-07 02:00:18 +00:00
Teravus Ovares
ebe84907ae
* Fixes mantis: #3241
...
* Uses 'mouselook' or left mouse button down, to determine when to use the camera's UP axis to determine the direction of movement.
* We crouch-slide no more.
2009-03-07 01:18:59 +00:00
Teravus Ovares
3a93bb992f
* Added some limits to the maximum force applied per second by llMoveToTarget. Currently, it's 350 times the mass in newtons applied per second, maximum.
2009-03-07 00:27:56 +00:00
Charles Krinke
b637a11b58
Fixes Mantis #3260 . Thank you kindly, MCortez for a patch that:
...
llSetHoverHeight() should not clamp the x/y position of an object the way MoveTo does,
and it should recalculate the absolute height to hover at as an object moves to reflect
the current ground/water height under it.
Correctly implementing required adjusting the Physics interfaces and implementing at
the physics plug-in level. The attached is a patch that correctly implements
llSetHoverHeight() including updates to the ODE physics plug-in.
2009-03-06 23:01:35 +00:00
Justin Clarke Casey
fc2c73d5c6
* minor: remove some mono compiler warnings
2009-03-06 21:00:15 +00:00
Justin Clarke Casey
f12619b786
* refactor: Remove GetLandOwner function from Scene
...
* Simplify since the land is never null
2009-03-06 20:44:31 +00:00
Justin Clarke Casey
85774de231
* Improve memory usage when writing OARs
...
* This should make saving large OARs a somewhat better experience
* However, the problem where saving an archive pulls large numbers of assets into the asset cache isn't yet resolved
* This patch also removes lots of archive writing spam that crept in
2009-03-06 20:12:08 +00:00
Teravus Ovares
ac84d3d26b
* Fixing a few mass calculation errors suggested by jhurliman
2009-03-05 21:59:27 +00:00
Justin Clarke Casey
ff7b20bef1
* Add more status information when an oar is being saved
...
* Among other messages, a log entry is posted for every 50 assets added to the archive
2009-03-05 21:36:48 +00:00
Justin Clarke Casey
11e1948b57
* Replace Scene.GetLandHeight() with a straight query to Scene.Heightmap (which is used in other contexts)
2009-03-05 21:10:39 +00:00
Justin Clarke Casey
3d70dbd01d
* refactor: move media and music url setting from scene into LandObject
2009-03-05 20:53:23 +00:00
Justin Clarke Casey
c213a12b57
* simplify media and music url setting since we never get back a null land object
2009-03-05 20:32:35 +00:00
Justin Clarke Casey
6c735e0828
* Replace some string to byte conversions for object/item name/description fields with the LLUtil function that prevents the max string size from being breached
2009-03-05 19:32:27 +00:00
Justin Clarke Casey
0de34e9a18
* remove now unused serialization code
2009-03-05 18:36:37 +00:00
Charles Krinke
62eaddbe14
Fixes Mantis #3255 . Thank you kindly, MCortez, for a patch that:
...
Changes to IWindModule interface: Change from assuming a single array of
256 Vector2 values to a lookup function that takes region x, y, z and returns a Vector3
* Changed llWind() to use new lookup method of IWindModule
* Moved logic for determining the wind at a given point in the data array from
llWind() to the Wind Module itself.
2009-03-05 04:24:22 +00:00
Charles Krinke
365b5951ff
Fixes Mantis #3194 . Thank you kindly, Godfrey for a patch that:
...
fixes llSetLinkPrimitiveParams() - PRIM_ROTATION rotates the prim
containing the script, rather than the specified child prim
2009-03-05 03:20:28 +00:00
Charles Krinke
f7b914228b
Fixes Mantis #3253 . Thank you kindly, Godfrey, for a patch that:
...
Corrects the incomplete implementation of llXorBase64StringsCorrect()
so that it returns the proper reversible result.
2009-03-05 03:15:30 +00:00
Adam Frisby
65990de390
MRM Scripting Changes
...
* Renames MiniRegionModule to MRMModule to make it more distinct from the actual Mini Region Module[s] executed in Scene.
* Renames MiniRegionModuleBase to MRMBase for convenience. MRM's need to be adjusted to inherit from MRMBase.
2009-03-05 00:52:59 +00:00
Adam Frisby
0e7e2eba14
* Implements a number of members on SOGObject for use with the MRM Script Engine API.
...
* It's lag-tacular! :D
2009-03-05 00:16:06 +00:00
Adam Frisby
f3aac0fa4a
* Fleshed out the MRM Module a little.
...
* Please don't use this yet, it represents a very heavy security risk if you enable it.
2009-03-04 22:14:40 +00:00
Justin Clarke Casey
f18400fcfb
* For now, restore file extension for default oar name I accidentally removed on the last commit
2009-03-04 20:36:09 +00:00
Justin Clarke Casey
b52ac542ad
* Add the abilty to load and save iar item nodes where folders have identical names
2009-03-04 20:31:03 +00:00
Adam Frisby
e57ac6e0bf
* Whoops. Left MiniModule enabled to anyone. (potential security risk). Disabled - edit code to load.
2009-03-04 20:29:50 +00:00
Adam Frisby
ea9bb2f741
* More work on MiniRegionModule module.
2009-03-04 20:28:11 +00:00
Justin Clarke Casey
b57497fd41
* Add gnu tar format long file name support to tar reading and writing.
...
* Not actually tested yet though existing code which doesn't require long file names looks fine
2009-03-04 18:33:05 +00:00
Mike Mazur
b2135c2029
IObjectFace needs to be public to compile.
2009-03-04 03:58:11 +00:00
Adam Frisby
915b0f2448
* More work on MiniRegionModule module.
2009-03-04 02:29:51 +00:00
Adam Frisby
3538eeafa2
* Implementing some interfaces for aformentioned script engine. Ignore this.
2009-03-04 01:38:22 +00:00
MW
7a3bb77df9
forgotten files
2009-03-03 15:45:52 +00:00
MW
171015f65f
Moved Linden protocol login handling to modules in OpenSim.Client.Linden. There are two region modules in there LLStandaloneLoginModule (for standalone mode) and LLProxyLoginModule (for grid mode which just handles incoming expect_user and logoff_user messages from the remote login server)
...
Changed OpenSim.Framework.Communications.Tests.LoginServiceTests to use the LLStandaloneLoginService (from the LLStandaloneLoginModule) rather than LocalLoginService. Really these login tests should most likely be somewhere else as they are testing specific implementations of login services.
Commented out the old LocalLoginService as its no longer used, but want to check there are no problems before it gets deleted.
2009-03-03 15:41:21 +00:00
MW
76133d0763
Refactoring of CreateCommsManagerPlugin.
...
Plus some general cleanup of a few other files (deleting excess blank lines etc)
2009-03-03 12:51:54 +00:00
MW
8ebd5b409a
Renamed OpenSimBase m_autoCreateLindenStack to m_autoCreateClientStack
2009-03-02 18:04:00 +00:00
MW
3c46ee9326
Moved the SetupScene methods from RegionApplicationBase to OpenSimBase [Do we really still need RegionApplicationBase?]
...
Added a flag (bool m_autoCreateLindenStack = true) which says if the ClientStack will be autocreated and initialised when creating regions. This helps with moving ClientStacks to Region modules.
Currently this flag is hardcoded to true, as it is only for testing at the moment, so you need to change the value in the code if you want to turn off auto creating.
2009-03-02 16:33:11 +00:00
MW
ff76102644
Changed IClientNetworkServer.AddScene method from void AddScene(Scene x) to void AddScene(IScene x). As there should be no need for the client view to have a reference to Scene. IScene should be all it needs.
2009-03-02 14:42:01 +00:00
MW
1dcbea0144
Removed the commented out InitialiseStandaloneServices and InitialiseGridServices (which are now preformed in CreateCommsManagerPlugin) methods from OpenSimBase and HGOpenSimNode. As if we decided to swap back to the old methods we can always re-add them, rather than leave them commented out.
2009-03-02 11:21:18 +00:00
MW
202f990d2a
After another heroic and bloody battle, OpenSim Dino Expedition 1, killed off OsSetParcelMediaTime, which was only ever added for testing. And all the logic code of it has been commented out for a long time.
2009-03-02 11:03:11 +00:00
MW
aae39f9e3e
As part of a dinosaur hunting expedition, IScenePresenceBody.cs was terminated. The expedition leader, MW, believes it never lead a meaningful life, and is sure it hasn't contributed anything in the last 500,000 years (or 2 years).
2009-03-02 10:52:27 +00:00
MW
7a2985b441
Changed it so only .ini file types are loaded from the (optional) config directory rather all files types in that folder.
2009-02-28 15:16:12 +00:00
MW
b83d5c7cdb
Added support for reading ini files from a (optional) config folder. This allows the spliting up of opensim.ini into multiple ini files.
...
The ini files in this folder are loaded after the masterini file (if that is set) and before opensim.ini.
The default folder it looks for and searches is "bin\config", but that can be set by using the command arg "-inidirectory=<path>" (path is local to bin\) when starting up opensim.exe.
2009-02-27 14:17:57 +00:00
MW
756c517069
Added IRegionCreator interface that all ApplicationPlugins that are creators of Scenes should implement and register with the ApplicationRegistry.StackModuleInterface<>(); So that other plugins can attach to their OnNewRegionCreated event.
...
Made some changes to IRegistryCore and RegistryCore so they support "Stacked" interfaces.
2009-02-26 22:51:52 +00:00
Sean Dague
7f727bd33e
This adds a new osGetAgentIP function with threat level set to High. It
...
isn't tested, but it doesn't break anything else. The reason for this
function is to let in world tools be used to coordiante out of world
network services that need access to client ip addresses.
2009-02-26 22:37:02 +00:00
MW
e2d30a0244
Moved the Initialisation of the CommunicationsManager to a ApplicationPlugin.
...
Also in that plugin it registers the IUserService with all the Scenes (as they are created). So now we can start changing over all uses of IUserService, that currently access it from the CommunicationsManager to accessing it from the Scene.RequestModuleInterface call.
Once that is done we can move the UserService creation out to its own plugin and remove all references to it from the CommunicationsManager. Then we can take the next CommunicationsManager interface and repeat.
2009-02-26 21:30:12 +00:00
Sean Dague
57ab79e331
* Update ScenePresenceTests to reflect current REST communication workflow.
...
* Fixed an issue with AssetCache where it would break unit tests randomly.
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-26 21:29:16 +00:00
Justin Clarke Casey
7b04d1da5e
* Apply http://opensimulator.org/mantis/view.php?id=3191
...
* Make load/save oar and load/save xml2 behave a little better when there is an io problem
* Thanks dslake
2009-02-26 21:00:33 +00:00
Melanie Thielker
ed2de7ac82
Plumb in the RetrieveInstantMessages event that is sent by the viewer
...
when it is ready to receive offline IM
2009-02-26 20:11:55 +00:00
MW
18382ebfd9
Changed the type of the ApplicationRegistry member from RegistryCore to IRegistryCore
2009-02-26 20:11:13 +00:00
MW
33e7c09b7b
Added IRegistryCore and RegistryCore to OpenSim.Framework.
...
Added a ApplicationRegistry to OpenSimBase.
Changed LoadRegionsPlugin so it registers itself to that application registry.
Added a event to LoadRegionsPlugin, that is triggered when it creates a new scene ,although maybe this event should actually be in opensimBase incase other plugins are creating regions (like the RemoteAdminPlugin).
2009-02-26 20:01:20 +00:00
Sean Dague
c0c1a31f61
Attempt to fix the "region starts but doesn't load anything" issue
2009-02-26 17:06:06 +00:00
MW
de82bf9eb5
Added a PostInitialise method to IApplicationPlugin, this allows us to do work in there knowing that all other ApplicationPlugins have been initialised by that time.
...
Moved the loadRegions code in LoadRegionsPlugin to the PostInitialise method.
2009-02-26 15:21:06 +00:00
MW
04a6c735d6
Add check in SceneManager to stop opensim.exe crashing if no regions/scenes were loaded.
2009-02-26 15:06:27 +00:00
Justin Clarke Casey
36e648a37a
* minor: Remove most mono compiler warnings
2009-02-25 20:53:02 +00:00
Justin Clarke Casey
a5c9354df3
* Properly load items into correct folders when an iar is loaded
...
* At the moment, any existing folders with the same name are reused - will need an option to always create new folders
* not yet ready for general use
2009-02-25 20:07:25 +00:00
Justin Clarke Casey
50dcd66896
* Fix my own unit test
...
* Disable folder iar creation code for now (though this wasn't actually causing the test failure)
2009-02-25 18:32:39 +00:00
Justin Clarke Casey
17a336f21f
* Add InventoryArchiveConstants that I missed from last commit
...
* This commit also does a first pass at creating folders for an inventory archive (previously everything was dumped in the same destiantion folder).
* This code might not work yet and nobody else should be using it yet anyway :)
2009-02-25 18:07:32 +00:00
Justin Clarke Casey
2d8843968f
* Store inventory data in an 'inventory' directory rather than in the root of an iar
2009-02-25 17:30:15 +00:00
Sean Dague
6c8debd3e0
From: Alan Webb <awebb@linux.vnet.ibm.com>
...
The mono addin filter for the AssetCache is incorrect, this fixes it.
The problem only shows up when you have more than one AssetCache to
choose from.
2009-02-25 14:19:15 +00:00
lbsa71
8306ec9cae
* Experimental softening of SOG waiting for update on link - changing from abort to forced update.
2009-02-25 12:26:00 +00:00
lbsa71
41c883ea47
* Refactored SOP.FolderID weirdness by removing calls to empty setter. YEs, I do realize the setter has to be there for legacy reasons, but since the calls will never acually DO anyhting, I'm removing them.
...
* So, SOP.FolderID is actually a cruft field that should be removed.
2009-02-25 11:01:38 +00:00
Mike Mazur
64c14d2475
Allow /* C-style comments */ in LSL scripts.
...
This fixes Mantis #3199 . opensim-libs SVN r87 contains the corresponding
changes.
2009-02-25 05:37:57 +00:00
Charles Krinke
6515d8be0e
Fixes Mantis #3220 . Thank you kindly, MPallari, for a patch that:
...
This patch changes InformClientOfNeighbour, CrossRegion and
SendRegionTeleport methods to virtual.
2009-02-25 04:38:06 +00:00
Charles Krinke
ed7256ac0c
Fixes Mantis #3187 . Thank you kindly, DoranZemlja for a patch that:
...
Deals with the multiple warning side affect introduced earlier.
2009-02-25 04:29:02 +00:00
Mike Mazur
bdf95e54a2
A few updates necessary for load balancer.
...
- handle GetUser request for nonexistent user gracefully
- include throttle levels in ClientInfo
- code to save/restore throttles in client stack
- only update/send updates to active clients
- make animation classes serializable
2009-02-25 00:32:26 +00:00
diva
e84ac65b58
Close-to-final tweaking with appearance. This time sending *everything*. Addresses mantis #3223 .
2009-02-24 23:06:15 +00:00
MW
ea26bd4153
First step in separating out the Userserver console command handling to a "module".
...
Added OpenSim.Grid.UserServer.Modules project/dll which now contains the components of the userserver. With the OpenSim.Grid.UserServer being the setup and initiate exe.
2009-02-24 15:37:03 +00:00
Dahlia Trimble
8afad46d10
remove log4net dependency and from PrimMesher.cs
...
sync PrimMesher.cs with PrimMesher.dll version 29 on forge
2009-02-24 06:02:44 +00:00
Charles Krinke
e9e5c175cd
Thank you kindly, TLaukkan (Tommil) for a patch that solves:
...
If -background=true is specified on the command line, a null pointer exception crashes the server in OpenSim/Region/Application/OpenSimBase.cs in method StartupSpecific. Its trying to dereference m_console which is null, presumably because we're in background mode.
2009-02-23 23:14:04 +00:00
Sean Dague
7d0790447e
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
This patch fixes a bug where if a script in a child prim has taken
control of an avatar when they sit, although permission for camera
control is revoked when they stand, free camera control is not
restored. Currently it is only restored if the script is in the root
prim (though its not clear to me where this happens!).
2009-02-23 12:52:32 +00:00
Jeff Ames
f175cb7e8c
Update svn properties, add copyright headers, minor formatting cleanup.
2009-02-23 10:36:16 +00:00
Adam Frisby
d9cb81e8fe
* Commenting out threaded Scene update for the moment.
...
* It works, but makes certain building tasks slow to update.
2009-02-23 07:57:54 +00:00
Adam Frisby
13b089636d
* Fix for recent thread patch - IsAlive apparently is not as reliable as ThreadState.
2009-02-23 07:31:13 +00:00
Adam Frisby
c2f3ff872d
* Performance Changes:
...
* Moves Entity Updates into a seperate thread, allowing for OpenSim to utilize a computers CPU more effectively in return for potentially greater user and prim capacity.
* Removes an expensive Sqrt call performed during Update on each object. This should lower CPU requirements for high-prim regions with physics enabled.
* MXP Changes: Centers the region around 0,0 for primitives instead of 128,128. Prim display should now look more correct for MXP viewers.
2009-02-23 06:55:42 +00:00
Mike Mazur
05bbfd57f1
Prevent avatar from walking along z-axis
...
Thanks mirceakitsune for a patch that prevents the avatar from trying to
walk along the Z-axis in mouselook mode (or left-click the avatar and
walk) while looking up or down.
Fixes Mantis #946 .
2009-02-23 04:07:46 +00:00
Charles Krinke
08c76989a7
Mantis#3187. Thank you kindly, DoranZemlja for a patch that:
...
Adds a warning for an LSL construct that exploits a
popular list memory saving hack.
2009-02-23 02:43:51 +00:00
diva
20eb8e54ac
A little bit more tweaking with appearance. Now passing both the wearables and the textures referred to in the Texture faces of AvatarAppearance. The textures are still not being acted upon on the other side, but they will.
...
Note: will make avies coming from older sims casper or grey. Upgrade!
Related to mantis #3204 .
2009-02-23 00:51:31 +00:00
Charles Krinke
8f55b9d735
Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:
...
* Added log4net dependency to physxplugin in prebuild.xml.
* Added missing m_log fields to classes.
* Replaced Console.WriteLine with appropriate m_log.Xxxx
* Tested that nant test target runs succesfully.
* Tested that local opensim sandbox starts up without errors.
2009-02-22 20:52:55 +00:00
Melanie Thielker
913654f2c9
Allow delivery of object messages gridwide
2009-02-22 20:17:12 +00:00
Adam Frisby
3cd5ffa82a
* Fixes an assumption whereby Scene assumes that each client is capable of producing a circuit. This affects non-Linden derived viewers who do not utilize circuits.
2009-02-22 12:39:46 +00:00
Jeff Ames
818af9d482
Refactor log4net logger handling in script engine. ( #3148 )
2009-02-22 01:26:18 +00:00
diva
99b051ccbe
Addresses some issues with appearance after TPs. Appearance.Owner was not being set, and that's what's being used in SendAppearanceToOtherAgent. Mantis #3204 .
2009-02-22 01:26:11 +00:00
Jeff Ames
551bebdc84
Update svn properties, add copyright headers, minor formatting cleanup.
2009-02-22 01:18:49 +00:00
MW
52b2d8732a
Applied patch from mantis #3217 , which allows Dynamic Images of type RGB (so with no alpha value). Thanks BlueWall.
2009-02-21 21:03:20 +00:00
Charles Krinke
cdbd52e55b
Thank you kindly, DoranZemlja for a patch that:
...
Solves the Object-Key problem when using llHTTPRequest()
2009-02-21 17:50:46 +00:00
MW
a2546d58a8
Applied patch from mantis #3213 . Which adds a check to create region command, to make sure the .xml is passed in the command arguments. Thanks BlueWall
2009-02-21 14:45:10 +00:00
MW
89006da793
Added a check to LLClientView.RegisterInterface<T>(T iface), so that it can't try to add duplicate interfaces and cause a exception.
2009-02-21 14:30:17 +00:00
lbsa71
1cadad9ec6
* Applied a patch that: Added estate ban table to migration scripts and nhibernate mapping. Refactored property getters and setters for estate ban object to support NHibernate.
...
* Added estate ban table to migration scripts of all supported databases.
* Added nhibernate mapping for EstateBans property of EstateSettings
* Refactored property accessors for EstateBan object.
* Added comments for EstateBan properties.
* Ensured that NHibernate tests pass with NUnitGUI.
* Ensured that nant test target passes.
This fixes mantis #3210 . Thank you, tlaukkan!
2009-02-21 09:39:33 +00:00
Jeff Ames
7a649a758d
Add copyright headers. Minor formatting cleanup.
2009-02-21 03:32:25 +00:00
Melanie Thielker
d76178f302
Thank you, robsmart, for a patch that allows the shard to be set.
...
The built-in default is OpenSim, unless a user server url is given, then
that is used, unless "shard" is also goven, then shard takes precedence.
The defult in OpenSim.ini is "OpenSim" for compatibility.
2009-02-21 00:14:47 +00:00
lbsa71
602dafae55
* Renamed and encapsulated m_sceneGraph as SceneGraph for ccc
2009-02-20 17:18:07 +00:00
lbsa71
2e095f5727
* Upped VersionInfo to 0.6.3 and in the process, changed assemblyinfo to 0.6.3.* to better track down dll ref and overwrite problems.
2009-02-20 16:47:31 +00:00
Justin Clarke Casey
01f70de2ea
* Consistently lock part.TaskInventory as pointed out in http://opensimulator.org/mantis/view.php?id=3159
...
* Not locking causes enumeration exceptions as described in this matis
* part.TaskInventory needs to be locked for every access as it's a dictionary
* Extra locking will hopefully not cause any major issues - in places where the enumeration of the dictionary performs other lock or long running operations, the dictionary is
cloned instead
2009-02-20 14:04:29 +00:00
Melanie Thielker
c28b2f799a
Revert previous commit
2009-02-20 12:48:46 +00:00
Melanie Thielker
7b1c42836d
Committing interface and stubs for IM interception
2009-02-20 12:15:40 +00:00
Mike Mazur
a42499c947
Thanks DoranZemlja for a patch implementing non-shortcircuiting in
...
logical and and logical or in LSL. Fixes Mantis #3174 .
2009-02-20 07:40:36 +00:00
diva
33330297d6
THE BIG ANTI-REMOTING SCHLEP -- StartRemoting is no more. Sims in older versions will have a hard time communicating with sims on this release and later, especially if they haven't transitioned to RESTComms at all.
...
There's still some cleanup to do on assorted data structures, but the main functional change here is that sims no longer listen on remoting ports.
2009-02-20 03:39:50 +00:00
Jeff Ames
7d4846462b
Update svn properties, add copyright headers, minor formatting cleanup.
2009-02-20 02:33:54 +00:00
lbsa71
5e39e515f9
* Another stab at removing AssetServer.exe dependencies
2009-02-20 02:26:27 +00:00
diva
e725e485fa
This moves the 2 friends-related interregion messages out of OGS1 and into the FriendsModule. No functional changes. Those messages were sent over XMLRPC, and that's how it continues to be for now. Just moving this couple of interregion messages out of OGS1, in preparation for the big shlep ahead.
2009-02-20 00:18:18 +00:00
lbsa71
b99d9bdeb1
* Reverted the AssetServer fix, apparently something was dependent on IAssetDataPlugin being in OpenSim.Data
2009-02-19 19:32:53 +00:00
lbsa71
cacf971e3b
* moved the Get/PostAssetStreamHandler to the Servers namespace... slowly getting there...
2009-02-19 18:57:59 +00:00
lbsa71
b5502ef3c3
* Extracted IAssetData and moved it to OpenSim.Framework to prepare to get rid of ugly CoreModules dependency on AssetServer.exe
...
* And yes, the IAssetDataPlugin is misnomed, which became apparent on extracting it.
2009-02-19 18:40:32 +00:00
Justin Clarke Casey
4203cf1503
* refactor: Rename new class AssetGatherer to UuidGatherer to reflect what it actually does
2009-02-19 17:19:08 +00:00
Justin Clarke Casey
d2caf4f418
* Do deep inspection when saving inventory items in order to capture all the necessary assets (textures, objects within objects, textures referenced in scripts contained in
...
objects contained in another object, etc.)
* Not yet ready for general use
2009-02-19 17:08:00 +00:00
lbsa71
5af465a364
* Changed all AssemblyInfo to explicit version 1.0.0.0 to not confuse poor poor Nant. We probably should take the opportunity to let the non-module bins reside in their /bin/Debug dirs later.
2009-02-19 14:51:33 +00:00
Melanie Thielker
c98a9d1ccd
Make the implementation of the message transfer module protected virtual
...
throughout
2009-02-19 13:02:11 +00:00
MW
74e3a85492
reverted last revision, until we decide how to handle capturing IM's
2009-02-19 12:38:17 +00:00
MW
1b65020b41
Added a event to IMessageTransferModule (and MessageTransferModule) so that other modules can capture IM messages and do custom handling of them. As just attaching to Client IM events doesn't really support this, as they would still get routed through the normal process and could give back errors.
2009-02-19 11:54:53 +00:00
Melanie Thielker
eb143d556d
Force plugin state update when region crossing
2009-02-19 05:31:17 +00:00
Melanie Thielker
e7c05744c0
Try this, then :) remove just one line from script serialization,
...
hunting the bug
2009-02-19 05:24:19 +00:00
Melanie Thielker
4e2dc730fd
Refix the fix, adding a forgotten line
2009-02-19 05:18:23 +00:00
Melanie Thielker
2478d38b85
Attempt to fix a Windows only race in thread termination
2009-02-19 05:16:25 +00:00
Melanie Thielker
863556f2cc
Thank you, Snowdrop, for a patch that makes the callback ID parameter
...
usable. Applied with formatting changes, please don't introduce
K&R style indentations into OpenSim
Fixes Mantis #3190
2009-02-19 03:09:56 +00:00
Charles Krinke
7e0e9ef179
Mantis#3188. Thank you kindly, BlueWall, for a patch that:
...
Adding the ability to set the background color for osSetDynamicTextureData in the extra data: bgcolour:value (see http://msdn.microsoft.com/en-us/library/aa358802.aspx [^] for color names)
2009-02-19 02:51:32 +00:00
Melanie Thielker
b51a0e9960
Fix region crossing for unscripted prims, avoid costly SEH
2009-02-19 01:14:26 +00:00
Melanie Thielker
53fc65c907
Make in-code provisions for the tests. Tests would fail because the
...
required file system objects are not present in the test harness.
This makes the main code ignore the failure, therefore the test succeeds.
Not elegant and maybe a unit test guru has a better way. Marked as a TODO
2009-02-18 23:28:04 +00:00
Melanie Thielker
0b25107c94
Fix standalone / simulator local script crossings.
2009-02-18 22:57:36 +00:00
Melanie Thielker
0086f9bd92
Fix the windows sharing violations on script crossings
2009-02-18 22:32:25 +00:00
diva
f1795fd9b0
Stops animations on Teleports, to conform with what the viewer does.
2009-02-18 21:28:54 +00:00
Justin Clarke Casey
89f2589f6c
* Change AssetGatherer method access so that only methods which are worth calling from the outside are public
2009-02-18 21:02:43 +00:00
diva
2a13e046db
Fixes height on Basic Physics in local teleports. Plus some small refactoring.
2009-02-18 20:10:40 +00:00
Justin Clarke Casey
d971b9f06b
* minor: comment out a few more [de]serialization sog timing messages
2009-02-18 20:04:14 +00:00
Justin Clarke Casey
a7dea4ee12
* Move asset gathering code from oar module to OpenSim.Region.Framework since this is useful in a variety of situations
...
* Comment out one oar test since I think somehow the two save tests are causing the occasional test failures
2009-02-18 20:00:21 +00:00
Justin Clarke Casey
5e4cad07eb
* Make save iar behave properly if the nominated inventory path does not exist
...
* load iar probably still fails for this
2009-02-18 19:26:10 +00:00
diva
1fa8a7ce29
Restoring method 2 of linking regions in HG, which was commented out for some bizarre reason. Fixes mantis #3141 . Thanks Vinc for providing an alternative patch, which wasn't used but served to expose the mix-up.
2009-02-18 16:11:34 +00:00
Sean Dague
8ed631307b
From: Alan Webb <awebb@linux.vnet.ibm.com>
...
I've changed the extension point name, and the internal references that
used the same string. I also fixed up the messaging around the asset
loader so that it is more explicit.
2009-02-18 13:15:07 +00:00
Sean Dague
383f8b3ac6
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
The attached patch implements osGetDrawStringSize that looks like:
vector osGetDrawStringSize(string contentType, string text, string
fontName, int fontSize)
in LSL. It is meant to be used in conjunction with the osDraw*
functions. It returns accurate information on the size that a given
string will be rendered given the specified font and font size.
This allows for nicely formatted and positioned text on the generated
image.
2009-02-18 12:56:36 +00:00
diva
d784205527
Improved log message.
2009-02-18 03:50:09 +00:00
diva
3f25128e77
Adds support for preserving animations on region crossings and TPs.
...
Known issue: after TP, the self client doesn't see the animations going, but others can see them. So there's a bug there (TPs only, crossings seem to be all fine).
Untested: did not test animation overriders; only tested playing animations from the viewer.
2009-02-18 01:49:18 +00:00
diva
c381bee515
Makes SP.CopyFrom a bit more robust with respect to sims in older versions which still don't have the new appearance management code.
2009-02-17 23:46:19 +00:00
Melanie Thielker
33331167b5
Fix a typo. i + i is not 2 times me
2009-02-17 20:08:35 +00:00
Melanie Thielker
7c1305a327
Re-fixing the fix :/
2009-02-17 19:33:25 +00:00
Melanie Thielker
d94c67e953
One-liner to fix an omission
2009-02-17 19:30:35 +00:00
Dr Scofield
6fbc1f2b23
- additional code to get ConciergeModule to do truly async broker updates
...
- adding watchdog timer async web request
- making broker update timeout configurable
2009-02-17 18:27:01 +00:00
Justin Clarke Casey
e28738c13b
* Assign incoming items with a random UUID so that archives can be loaded more than once
...
* Also remove a duplicate write archive call in the unit test which might be causing test failures for people using mono 2.2 (though not 1.9.1, it would seem)
2009-02-17 18:19:24 +00:00
Justin Clarke Casey
d205cb5260
* extend inventory archive save test to check for the presence of the item file in the saved archive
2009-02-17 17:40:48 +00:00
diva
d347b59ca4
Addresses mantis #3181 . Waiting for confirmation from the reporter.
2009-02-17 17:38:11 +00:00
Justin Clarke Casey
af57937760
* Apply http://opensimulator.org/mantis/view.php?id=3068
...
* This enables parsing of xml files and files obtained via http for the -inimaster option as well as -inifile
* Thanks StrawberryFride!
2009-02-17 17:12:10 +00:00
Justin Clarke Casey
4e779bbd81
* switch to pulsing monitors to perform test sync instead of events, since this doesn't allow one to accidentally forget to reset the event
2009-02-17 16:51:09 +00:00
Justin Clarke Casey
014e9e2c6d
* Get rid of a unit test race condition based on my misreading of the AutoResetEvent docs
...
* Hopefully this will reduce the spike in build failures seen in the past few days (since I introduced an addition oar test)
2009-02-17 16:25:59 +00:00
Justin Clarke Casey
46fd31346d
* Apply http://opensimulator.org/mantis/view.php?id=3178
...
* Moves llEmail() delay to after e-mail send rather than before, in line with SL
* Thanks DoranZemlja
* Last build failure looks like a glitch, but one that has already happened twice recently which I need to look at
2009-02-17 16:04:43 +00:00
Justin Clarke Casey
6bcf7cbb2c
* Apply http://opensimulator.org/mantis/view.php?id=3179
...
* This slightly extends a lock in WorldCommModule so that it covers the GetNewHandle method which states in it's doc that it assumes locking has happened before the method is
called
* Thanks DoranZemlja
2009-02-17 15:55:56 +00:00
Justin Clarke Casey
829c84e69f
* Apply http://opensimulator.org/mantis/view.php?id=3167
...
* Clamps textured map rgb values to 0-255
* Thanks DoranZemlja
2009-02-17 15:47:53 +00:00
Justin Clarke Casey
229b69e044
* Establish InventoryArchiveSaved event for unit tests
...
* This is done on the inventory archiver module directly rather than Scene.EventManager - the module seems the more appropriate location
2009-02-17 15:39:18 +00:00
Melanie Thielker
3130784934
Re-add the objectID field to the anim pack, that was deemed unneccessary
...
and dropped nonths ago, because it is required to get smooth region
crossings with AO running. Without it, in some corner cases, anims will
continue to run in an unstoppable state.
2009-02-17 04:16:42 +00:00
diva
2c272762f8
Small change on dealing with ODE physics, so that this warning doesn't happen: "[PHYSICS]: trying to change capsule size, but the following ODE data is missing - Shell Body Amotor". That warning occurred in MakeRoot, because of the call to SetSize, immediately after making the avie physical.
2009-02-17 03:14:08 +00:00
Mike Mazur
76c0935ec7
- remove the Metadata property from AssetBase and return all previous
...
properties as before
- prefix private variables with m_ in AssetBase.cs
- related to Mantis #3122 , as mentioned in
https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html
- all services will likely need to be upgraded after this commit
2009-02-17 01:36:44 +00:00
diva
7cc9062137
Major change to how appearance is managed, including changes in login and user service/server. Appearance is now sent by the user service/server along with all other loginparams. Regions don't query the user service for appearance anymore. The appearance is passed along from region to region as the avie moves around. And, as before, it's stored back with the user service as the client changes the avie's appearance. Child agents have default appearances that are set to the actual appearance when the avie moves to that region. (as before, child agents are invisible and non-physical).
2009-02-17 00:35:52 +00:00
Dr Scofield
d97dd2bdb4
cleanup
2009-02-16 20:13:59 +00:00
Dr Scofield
4e1f060dd1
From: alan webb <alan_webb@us.ibm.com> & dr scofield <drscofield@xyzzyxyzzy.net>
...
This changeset fixes a rather nasty script compile bug that manifests
itself under heavy load.
2009-02-16 20:01:54 +00:00
Justin Clarke Casey
93837807ff
* refactor: remove AssetCache field hanging off Scene
...
* This is always available at Scene.CommsManager.AssetCache
2009-02-16 19:15:16 +00:00
Justin Clarke Casey
ec07e1aad6
* Iniital inventory archive test code. Doesn't actually do any testing yet
2009-02-16 18:33:05 +00:00
Justin Clarke Casey
9dadf7adfd
* Apply http://opensimulator.org/mantis/view.php?id=3165
...
* Corrects behaviour of llListSort()
* Thanks DoranZemlja!
2009-02-16 16:31:07 +00:00
Justin Clarke Casey
8b513beefa
* minor: print out status messages at start and end of inventory archive loading and saving
2009-02-16 16:22:52 +00:00
Sean Dague
f4bec00057
From: Alan Webb <awebb@linux.vnet.ibm.com>
...
The change makes two principal implementation changes:
[1] It removes the hard coded set of possible asset server client
implementations, allowing any arbitrary implementation that has been
identified to the PluginLoader as an appropriate extension. The
extension point for asset server client extension
is /OpenSim/AssetServerClient. All of the old configuration rules have
been preserved, and any of the legacy configuration values will still
work as they did before, except the implementation is now loaded as a
plug-in, rather than as a hard-coded instantiation of a specific class.
The re-hashing of IAssetServer as an extension of IPlugin made upgrading
of the implementation classes a necessity.
Caveat: I have not been able to meaningfully test the crypto-grid
clients. I believe they should work correctly, but the refactoring
necessary to handle plug-in based initialization (vs constructor-based
initialisation) admits the possibility of a problem.
[2] The asset cache implementation, previously introduce as a hard-code
class instantiation is now implemented as an IPlugin. Once again the
previous (configurationless) behavior has been preserved. But now it is
possible for those interested in experimenting with cache technologies
to do so simply by introducing a new extension for the asset cache
extension point (/OpenSim/AssetCache).
I've tested all of the configuration settings, after applying the patch
to a newly extracted tree, and they seem to work OK.
2009-02-16 12:20:31 +00:00
Dr Scofield
81bb87168f
cosmetic: adding region name to logging statement
2009-02-16 09:17:55 +00:00
Melanie Thielker
37a00427bc
Thank you, cmickeyb, for a patch to ass two string functions
...
to OSSL.
Fixes Mantis #3173
2009-02-16 01:58:26 +00:00
Melanie Thielker
7d77e0e703
Thank you, patnad, for a patch that adds 3 new discovery functions
...
to OSSL.
Applied with changes.
Fixes Mantis #3172
2009-02-16 01:22:37 +00:00
diva
312b0f91c4
More guards around SetHeight.
2009-02-15 20:02:13 +00:00
idb
98e7ea015c
Fix exception when standing up.
...
Fixes Mantis #3170
2009-02-15 16:12:58 +00:00
Melanie Thielker
272a319a3e
Thank you, Vytek, for a patch that streamlines the delay in the email
...
module and changes SMTP authentication (applied with changes)
Fixes Mantis #3168
2009-02-15 13:54:34 +00:00
diva
9b19c65450
Guarding the new call to SetHeight in MakeRoot, so that ODE doesn't complain when it's 0.
2009-02-15 06:12:11 +00:00
diva
52c5b75174
Moving SendInitialData sort of back to where it was before, so that it doesn't interfere with the unit tests.
2009-02-15 05:50:07 +00:00
diva
3d5a9e6748
This started as way to correct Mantis #3158 , which I believe should be fixed now. The flying status was temporarily being ignored, which caused the avie to drop sometimes -- there was a race condition. In the process it also fixes that annoying bug in basic physics where the avie would drop half-way to the ground upon region crossings (SetAppearance was missing). Additionally, a lot of child-agent-related code has been cleaned up; namely child agents are now consistently not added to physical scenes, and they also don't have appearances. All of that happens in MakeRoot, consistently.
2009-02-15 05:00:58 +00:00
Dahlia Trimble
7731c055e4
Set sculpt map alpha to 255 prior to scaling and meshing. Addresses Mantis #3150
2009-02-15 04:00:00 +00:00
Melanie Thielker
7ea2812a9e
Thank you, DoranZemlja, for a patch that addresses some moe llGetNextEmail
...
issues.
Fixes Mantis #3145 .
2009-02-15 01:06:03 +00:00
diva
a2d17dfff1
Restores the HGWorldMap functionality that has been reduced since a recent refactoring of the WorldMapModule.
2009-02-14 21:26:20 +00:00
Melanie Thielker
4bc52888be
Thank you, DoranZemlja, for a patch that implements local inter-object email
...
delivery.
Leaving Mantis #3145 open so that more code can be added.
2009-02-14 21:25:22 +00:00
idb
67b0ba71da
Add an override for the % operator.
...
Fixes Mantis #3157
2009-02-14 18:09:08 +00:00
diva
622e7b4c7d
This hopefully fixes a long-standing annoying behavior related to neighbour regions going up & down while avies are logged in (mantis #2701 , perhaps? maybe not). This is the bug mentioned 2 commits ago. If this proves to work well in OSGrid, there's a lot of old code cleaning to do.
2009-02-14 17:17:48 +00:00
diva
5655233ad0
Making initialized an instance variable again. My last commit wrote over justin's r8383, for some strange reason.
2009-02-14 16:56:37 +00:00
diva
217ffee8cb
Moved RegionUp to REST/LocalComms. The original functionality has been entirely maintained, although it will have to be revisited soon, because it's buggy.
2009-02-14 16:37:55 +00:00
Melanie Thielker
d31bf02eaf
Thank you, patnad, for a patch that removes the "Subdivision of" text
...
when dividing land.
Fixes Mantis #3154
2009-02-14 12:24:26 +00:00
idb
63a1cab7fe
Correct llGetNumberOfPrims to include sitting avatars in the count.
2009-02-13 21:56:50 +00:00
Justin Clarke Casey
bc9a013f52
* minor: remove mono compiler warnings
2009-02-13 20:51:22 +00:00
Melanie Thielker
a8f3d625cb
Guard the values used to set the cursor position in the real time console
2009-02-13 20:49:23 +00:00
Justin Clarke Casey
b71d68c9bc
* Change static field "initialized" in RestInterregionComms to an instance field
...
* This was the cause of teleport tests interfering with each other
2009-02-13 20:12:11 +00:00
Justin Clarke Casey
d307109e1a
* refactor: move alert commands from Scene to DialogModule
2009-02-13 19:03:18 +00:00
Justin Clarke Casey
a46c9b0eea
* Quieten down log messages from the Friends module
2009-02-13 18:02:24 +00:00
Justin Clarke Casey
d31810d548
* add file missing from last commit
2009-02-13 17:41:48 +00:00
Justin Clarke Casey
92232663e4
* refactor: Move LazySaveGeneratedMapTile from scene to WorldMapModule
2009-02-13 17:40:52 +00:00
Justin Clarke Casey
3b147f814f
* Remove old Scene.CreateTerrainTexture code that is now handled by the world map module
2009-02-13 17:15:49 +00:00
Justin Clarke Casey
42bd38960c
* Apply http://opensimulator.org/mantis/view.php?id=3149
...
* If the texture does not contain any discard levels the last image packet was not sent
* Thanks Snowdrop
2009-02-13 17:02:26 +00:00
Justin Clarke Casey
88b273bc71
* refactor: Move export map function to world map module from scene
2009-02-13 16:43:20 +00:00
Dr Scofield
6600a7a9bc
fixing crash due to make-child and make-root stepping on each other's toes
2009-02-13 16:11:52 +00:00
diva
1b4a615690
Commented the tests for region crossings for now -- they need to be substantially changed because of the callback from region B triggered by the client.
2009-02-13 04:08:28 +00:00
diva
96113e5660
And finally... region crossings entirely over RESTComms/LocalComms. No more remoting for agent movements. WARNING: This breaks region crossing compatibility with previous versions.
2009-02-13 03:45:08 +00:00
Jeff Ames
163c1026d1
Fix some compiler warnings. Minor formatting cleanup.
2009-02-13 02:52:08 +00:00
Jeff Ames
95d53d48d4
Add copyright headers. Minor formatting cleanup. Fix some compiler warnings. Fix some m_log declarations.
2009-02-13 02:06:28 +00:00
diva
a54758eef3
Bug fix in prim crossing: making it clear when the local object needs to be cloned (regions on the same instance) and when it doesn't (regions on different instances).
2009-02-13 00:49:58 +00:00
diva
ad1e2e0b8b
Fixes a bug in the ScenePresence test itself.
2009-02-12 23:38:41 +00:00
diva
7a274a7e1d
Makes region crossings asynchronous. Moved the bulk of the original code out of ScenePresence and into SceneCommunicationService, where it should be (next to RequestTeleportToLocation). No changes in the crossing mechanism itself, yet. But this change opens the way to doing crossings as slowly as it needs to be, outside the simulator Update loop.
...
Note: weirdnesses may occur!
2009-02-12 23:23:44 +00:00
Justin Clarke Casey
9177f28710
* Make it possible to load and save inventory archives while a user is not logged in on standalone mode but not on grid mode
...
* No user functionality yet
2009-02-12 19:54:19 +00:00
Sean Dague
5959e42683
large scale fix for svn props after "the great refactor"
2009-02-12 18:59:45 +00:00
diva
8ed9c3b8cd
Commented a couple of not very useful log messages that are cluttering the log in sims that have objects belonging to foreign users.
2009-02-12 18:43:49 +00:00
Justin Clarke Casey
e2b2ac8715
* Remove a change which shouldn't have made it into the last commit
...
* Rogue change affected grid only
2009-02-12 18:37:27 +00:00
Justin Clarke Casey
34ef01615c
* Add missing OpenSIm.Framework.Communications ref for Wdinwos builds
2009-02-12 18:31:56 +00:00
Justin Clarke Casey
f74326c1b0
* move userinfo for inventory archiving up to module class so that it only has to be done once
2009-02-12 17:41:09 +00:00
Justin Clarke Casey
e7427f21bd
* Remove some pointless CachedUserInfo != null tests since these are already made in earlier code
2009-02-12 17:17:04 +00:00
Justin Clarke Casey
31ca3a8d4d
* refactor: Move RequestInventoryForUser() from service to CachedUserInfo
...
* This simplifies callers in most cases - CachedUserInfo is already handling the rest of the fetch inventory work anyway
2009-02-12 17:07:44 +00:00
Sean Dague
058ec414b4
* Added XEngine tests and gathered other ScriptEngine
...
Tests together
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-12 17:02:54 +00:00
lbsa71
801da4346a
* optimized usings.
2009-02-12 09:53:12 +00:00
Dahlia Trimble
d21601d497
Thanks Kitto Flora for a patch that adds automatic min fly height to ODE - Mantis #3134
2009-02-12 07:58:10 +00:00
diva
4ee99e2aab
Sending this to Justin, so that he can see what's wrong with the StandaloneTeleportTests when we add RESTInterregionComms module to the ScenePresenceTests.
2009-02-12 04:26:13 +00:00
diva
98bfeabf94
Makes ban of HG users exactly the same as ban of local users, that is upon AddClient and not before.
2009-02-12 02:03:36 +00:00
diva
5dae1ddb5a
Fixes mantis #3121 .
2009-02-12 01:09:51 +00:00
diva
b6e7e5ed42
Enforce estate bans on Teleports.
2009-02-11 21:07:41 +00:00
Justin Clarke Casey
83105211bc
* minor: remove some mono compiler warnings
2009-02-11 20:36:17 +00:00
Justin Clarke Casey
9b6035c2a6
* When an inventory archive is loaded, immediately update the client's inventory if that client is online at that region server
...
* Not useable yet
2009-02-11 20:24:41 +00:00
Justin Clarke Casey
8645c7482d
* Change SendBulkUpdateInventory from two methods to one which accepts an InventoryNode
2009-02-11 19:57:45 +00:00
Justin Clarke Casey
e12981ef1b
* Establish a common InventoryNodeBase class from InventoryItemBase and InventoryFolderBase
2009-02-11 19:29:59 +00:00
Justin Clarke Casey
162a59ba17
* Refactor inventory archive code to allow direct invocation in order to support future unit tests
...
* Add a file I missed out from the last commit (the build was probably fine without it)
2009-02-11 18:46:51 +00:00
Justin Clarke Casey
04d6a810b6
* More inventory archive invocation to a proper region module
...
* Not ready for use yet
2009-02-11 17:34:12 +00:00
Charles Krinke
6b187ae196
Thank you kindly, FrankNichols for a patch that:
...
The following patch fixes http://opensimulator.org/mantis/view.php?id=3107
[^] by changing call from setRot to llSetRot, the later handles
child prim being rotated relative to root prim in linked set.
2009-02-11 16:01:56 +00:00
Dr Scofield
f70e580f86
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
This changeset add the RegionReady module code. The module sends a
message on a configurable channel when an oar file has finished
loading or if the script engine has emptied its queue for the first
time (eg server startup). Config is something like this:
[RegionReady]
enabled = true
channel_notify = -800
The module also knows if there was an error with startup.
2009-02-11 14:35:07 +00:00
Melanie Thielker
c754160dee
If an instance contains only one region, select it in the console by default
2009-02-10 23:40:22 +00:00
Sean Dague
83347360c3
fix a typo where the High Southwest height was getting set to the Low
...
Southwest height
2009-02-10 23:31:49 +00:00
Melanie Thielker
9bfbfa381a
Add proper handling for shared vs. unshared modules to the command
...
interface. Shared modules will now only get added once, so the command
handler is called once per module, not once per scene. Removal of scenes
has no adverse effects. Nonshared modules will be called for each scene.
2009-02-10 23:15:48 +00:00
diva
b4be9baa4a
Fixes the problem of attachment offset after crossings/TPs. Hopefully it fixes mantis #3126 , as well as other random displacements. The problem was that the new object at the receiving region was being marked as attachment before AttachObject was called. That made its AbsolutePosition be the position of the avie, and that was what was being given to AttachObject.
2009-02-10 22:54:05 +00:00
Justin Clarke Casey
8c157a7aae
* Remove load and save inventory commands from the console since these are actually experimental and the storage format may soon undergo incompatible changes
...
* If you were using these please uncomment the code before rebuilding, but be aware that old files may become incompatible soon
2009-02-10 19:33:09 +00:00
Justin Clarke Casey
bd4955468e
* minor: Remove SOG XML2 serialization log messages for now
2009-02-10 19:00:10 +00:00
Justin Clarke Casey
0cd5a353cf
* Stop OpenSim crashing if an exception from a command makes it right up to the top of the stack
2009-02-10 18:50:25 +00:00
Justin Clarke Casey
25bc7a44cd
* Implement merging of oars in code
...
* Not fully tested yet and not yet available as an option from the user console
2009-02-10 18:43:36 +00:00
Justin Clarke Casey
879338499f
* extend load oar test to check that an object was actually loaded
2009-02-10 16:56:35 +00:00
Justin Clarke Casey
566bc33824
* Fix build break, parentheses in the wrong place
2009-02-10 15:46:38 +00:00
Justin Clarke Casey
5b7a5696e5
* Overwrite the old saved OpenSim.ini file saved in response to a crash if one already exists
2009-02-10 15:35:41 +00:00
Dr Scofield
a99285ecc6
fixing ConciergeModule to follow coding conventions
2009-02-10 14:32:23 +00:00
Sean Dague
ac6657d0f1
From Rob Smart <SMARTROB@uk.ibm.com>
...
In SL if llAbs() is called with the minimum integer value of -2147483648
it will return that value untouched without error.
this patch replicates the SL functionality.
OpenSim currently throws an overflow exception: number too small under
mono or a "System.OverflowException: Negating the minimum value of a
twos complement number is invalid. " under .NET
2009-02-10 13:36:42 +00:00
Dr Scofield
180be7de07
this is step 2 of 2 of the OpenSim.Region.Environment refactor.
...
NOTHING has been deleted or moved off to forge at this point. what
has happened is that OpenSim.Region.Environment.Modules has been split
in two:
- OpenSim.Region.CoreModules: all those modules that are either
directly or indirectly referenced from other OpenSim packages, or
that provide functionality that the OpenSim developer community
considers core functionality:
CoreModules/Agent/AssetTransaction
CoreModules/Agent/Capabilities
CoreModules/Agent/TextureDownload
CoreModules/Agent/TextureSender
CoreModules/Agent/TextureSender/Tests
CoreModules/Agent/Xfer
CoreModules/Avatar/AvatarFactory
CoreModules/Avatar/Chat/ChatModule
CoreModules/Avatar/Combat
CoreModules/Avatar/Currency/SampleMoney
CoreModules/Avatar/Dialog
CoreModules/Avatar/Friends
CoreModules/Avatar/Gestures
CoreModules/Avatar/Groups
CoreModules/Avatar/InstantMessage
CoreModules/Avatar/Inventory
CoreModules/Avatar/Inventory/Archiver
CoreModules/Avatar/Inventory/Transfer
CoreModules/Avatar/Lure
CoreModules/Avatar/ObjectCaps
CoreModules/Avatar/Profiles
CoreModules/Communications/Local
CoreModules/Communications/REST
CoreModules/Framework/EventQueue
CoreModules/Framework/InterfaceCommander
CoreModules/Hypergrid
CoreModules/InterGrid
CoreModules/Scripting/DynamicTexture
CoreModules/Scripting/EMailModules
CoreModules/Scripting/HttpRequest
CoreModules/Scripting/LoadImageURL
CoreModules/Scripting/VectorRender
CoreModules/Scripting/WorldComm
CoreModules/Scripting/XMLRPC
CoreModules/World/Archiver
CoreModules/World/Archiver/Tests
CoreModules/World/Estate
CoreModules/World/Land
CoreModules/World/Permissions
CoreModules/World/Serialiser
CoreModules/World/Sound
CoreModules/World/Sun
CoreModules/World/Terrain
CoreModules/World/Terrain/DefaultEffects
CoreModules/World/Terrain/DefaultEffects/bin
CoreModules/World/Terrain/DefaultEffects/bin/Debug
CoreModules/World/Terrain/Effects
CoreModules/World/Terrain/FileLoaders
CoreModules/World/Terrain/FloodBrushes
CoreModules/World/Terrain/PaintBrushes
CoreModules/World/Terrain/Tests
CoreModules/World/Vegetation
CoreModules/World/Wind
CoreModules/World/WorldMap
- OpenSim.Region.OptionalModules: all those modules that are not core
modules:
OptionalModules/Avatar/Chat/IRC-stuff
OptionalModules/Avatar/Concierge
OptionalModules/Avatar/Voice/AsterixVoice
OptionalModules/Avatar/Voice/SIPVoice
OptionalModules/ContentManagementSystem
OptionalModules/Grid/Interregion
OptionalModules/Python
OptionalModules/SvnSerialiser
OptionalModules/World/NPC
OptionalModules/World/TreePopulator
2009-02-10 13:10:57 +00:00
Melanie Thielker
a1393db7f0
Stopgap measure: To use gridlaunch, or GUI, start opensim with
...
OpenSim.exe -gui=true
2009-02-10 12:25:29 +00:00
diva
08ef0ddd22
Commented out a problematic test that needs more careful revision.
2009-02-10 00:15:30 +00:00
diva
d9d5a56f1d
Fixes a failed unit test on ScenePresences tests. That test unit needs some fixing too.
2009-02-09 23:12:49 +00:00
Jeff Ames
a3d14832af
Update svn properties, minor formatting cleanup.
2009-02-09 22:49:05 +00:00
diva
2c685bff14
Moved prim crossing out of OGS1 and into RESTComms and LocalInterregionComms. This breaks interregion comms with older versions in what concerns prim crossing. In the process of moving the comms, a few things seem to be working better, namely this may address mantis #3011 , mantis #1698 . Hopefully, this doesn't break anything else. But I'm still seeing weirdnesses with attchments jumping out of place after a cross/TP.
...
The two most notable changes in the crossing process were:
* Object gets passed in only one message, not two as done before.
* Local object crossings do not get serialized, as done before.
2009-02-09 22:27:27 +00:00
Sean Dague
8088802c21
From Alan Webb <awebb@linux.vnet.ibm.com>
...
These changes replace all direct references to the AssetCache with
IAssetCache. There is no change to functionality. Everything works as
before.
This is laying the groundwork for making it possible to register
alternative asset caching mechanisms without disrupting other parts of
OpenSim or their dependencies upon AssetCache functionality.
2009-02-09 21:47:55 +00:00
Justin Clarke Casey
a034b640da
* Add the ability to type help <command> for more detailed help about a specific command if any is available
2009-02-09 20:52:04 +00:00
Sean Dague
66dc421be7
a last set of files that seem to have embedded ^M in them
2009-02-09 20:06:06 +00:00
Justin Clarke Casey
d1d93fae6c
* Restore show information for the OpenSim region server (version, info, threads, etc.)
2009-02-09 18:11:09 +00:00
Melanie Thielker
2fe9915951
Reinstate the KickUserCommand handler, which was commented out by
...
another dev whiel I was putting the reference to it back in
2009-02-09 16:34:21 +00:00
Melanie Thielker
8a9128ccce
Correct a delegate in OpenSim.cs
...
Fixes Mantis #3117
2009-02-09 16:21:13 +00:00
Justin Clarke Casey
f95b8b3863
* Reinstate tests that are now in CoreModules
2009-02-09 15:57:53 +00:00
Dr Scofield
b1739cbbfd
fixing warnings.
2009-02-09 10:40:12 +00:00
Dr Scofield
07804f6937
This patch implements llLookAt to the extent that an object will correctly
...
rotate and point to the target, however it doesnt yet use the damping or
strength parameters.
From: Robert Smart <smartrob@uk.ibm.com>
2009-02-09 10:04:54 +00:00
Dr Scofield
a89d097355
starting phase 2 of the OpenSim.Region.Environment commit: relocating
...
OpenSim.Region.Environment.Modules.Agent en bloc to OpenSim.Region.CoreModules
2009-02-09 09:16:15 +00:00
Mike Mazur
9a33a4733e
Thanks Tommi Laukkanen for a patch that allows the
...
CSCodeGeneratorTest.TestStringsWithEscapedQuotesAndComments unit test to
pass on Windows. Fixes Mantis #3104 .
2009-02-09 00:59:02 +00:00
Teravus Ovares
d85fce99f4
* Once again, fixing linked prim collisions by putting AbsolutePosition = AbsolutePosition; back in the linking routine. Why was it removed? It's critical to the physics scene.
...
* Fixes mantis #3108
2009-02-08 18:05:12 +00:00
Teravus Ovares
c0c330988f
* Some minor cleanup
...
* sealed OdeScene
2009-02-08 17:41:15 +00:00
Teravus Ovares
26ca3e26bf
Reverts patch from tuco/mikkopa/sempuki mantis #3072
2009-02-08 17:25:02 +00:00
Dahlia Trimble
8cc327cfa3
send group name in binary bucket in chatterbox invitation eventqueue message
2009-02-08 10:50:22 +00:00
Teravus Ovares
b60931b686
* Limit the total number of joints created per frame to the maximum possible without causing a stack collision.
...
* This fixes crashing on large sets of physical prims because of stack collisions (assuming you follow the directions on linux for starting ode with ulimit). After the maximum joints are created, objects will start to fall through the ground and be disabled. Not the best solution, but it's better then a crash caused by a stack collision with the process exceeding the maximum available memory/recursions per thread.
* Make a clean region, make a stack of 5000 prim, 20 layers high. Make them physical, *SLOW*, but no crash.
2009-02-08 03:02:43 +00:00
Teravus Ovares
08a9a85376
* Fixes colliding with the terrain lower then 0 and higher then 256m
...
* The actual AABB of the heightfield on the Z is now determined by the minimum and maximum heightfield value in the terrain array (assuming it's a reasonable number). This might optimize collisions in simulators that have a small difference between minimum and maximum heightfield values.
2009-02-08 01:05:09 +00:00
diva
665269a277
* Removed the duplicate AddCapsHandler that existed in ScenePresence.MakeRootAgent; CAPs are already in place when this runs.
...
* Moved MoveAgentIntoRegion further down in the CompleteMovement method.
* changed a couple of methods from protected to public in SceneCommunicationService
2009-02-08 00:54:56 +00:00
diva
0031489072
Bug fix related to the filling out the remoting port in RegionInfo. It still must be there because of attachments.
2009-02-07 23:51:30 +00:00
lbsa71
262acf61c4
* Refactored UserLoginService.CustomiseResponse to be (almost) text-wide identical to LocalLoginService.CustomiseResponse in order to be able to pull them up.
2009-02-07 20:16:58 +00:00
Charles Krinke
63fd4c0fb2
Thank you kindly, TLaukkan (Tommil) for a patch that:
...
Created nunit test for LSL API and example test for
llAngleBetween which was marked untested in wiki.
Run new test succesfully with NUnitGUI and nant build.
2009-02-07 18:11:04 +00:00
diva
ff0fa12903
Adds support for HG linking to specific regions within an instance. The format is Host:Port:Region. Refactored the linking code from MapSearchModule to HGHyperlink, so that it can be used both by the MapSearchModule and the Console command.
2009-02-07 16:10:23 +00:00
Sean Dague
6bd2979486
the parameters for llAtan2 were inverted before passing to Math.
...
Thanks to Rob Smart for pointing this out.
2009-02-07 13:16:27 +00:00
Melanie Thielker
54c6a920ba
Replace the console for all OpenSim apps with a new console featuring command
...
line editing, context sensitive help (press ? at any time), command line
history, a new plugin command system and new appender features thet let you
type while the console is scrolling. Seamlessly integrates the ICommander
interfaces.
2009-02-07 12:25:39 +00:00
lbsa71
4d4402158e
Thank you dslake for a patch that:
...
* fixes mantis #3092 : User Server sets agent starting position to passed x/y/x instead of x/y/z
2009-02-07 09:45:56 +00:00
Justin Clarke Casey
a6b21a3b83
* minor: Apply second patch from http://opensimulator.org/mantis/view.php?id=3089
...
* This adds more explanation for the new proxy settings in OpenSim.ini.example
* Also does some formatting correction
* I did some additional reformatting on top of that
2009-02-06 21:56:50 +00:00
Justin Clarke Casey
fae20712a9
* reinstate OpenSim/Region/Framework/Scenes/Tests
...
* should bring us back up to 240 tests
2009-02-06 21:37:10 +00:00
Justin Clarke Casey
84659396b8
* Make the module loader display which module failed if there was a loading problem
...
* Such failures are now fatal to grab the user's attention.
* However, they could be made non-fatal (just with a loud error warning) if this proves too inconvenient
2009-02-06 19:12:04 +00:00
Justin Clarke Casey
00a3cbd6fa
* Implement help <command> from the region console
...
* So at the moment once can type 'help terrain fill' as well as 'terrain fill help'
* Current implementation is a transient hack that should be tidied up soon
2009-02-06 18:18:01 +00:00
Dr Scofield
9b66108081
This changeset is the step 1 of 2 in refactoring
...
OpenSim.Region.Environment into a "framework" part and a modules only
part. This first changeset refactors OpenSim.Region.Environment.Scenes,
OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces
into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region
modules in OpenSim.Region.Environment.
The next step will be to move region modules up from
OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and
then sort out which modules are really core modules and which should
move out to forge.
I've been very careful to NOT BREAK anything. i hope i've
succeeded. as this is the work of a whole week i hope i managed to
keep track with the applied patches of the last week --- could any of
you that did check in stuff have a look at whether it survived? thx!
2009-02-06 16:55:34 +00:00
Dahlia Trimble
3465447e17
more eventqueue endian madness
2009-02-06 09:58:23 +00:00
Dahlia Trimble
5cef64f564
move RegionDenyAgeUnverified parameter to AgeVerificationBlock in parcel properties event queue message. Addresses Mantis#3090
2009-02-06 08:53:30 +00:00
Dahlia Trimble
28820e6185
Thanks cmickyb for a patch (Mantis#3089) that adds support for proxy in http requests
2009-02-06 01:25:59 +00:00
Justin Clarke Casey
f8c372721b
* minor: remove mono compiler warning
2009-02-05 22:03:23 +00:00
Justin Clarke Casey
fae5d25e82
* Apply http://opensimulator.org/mantis/view.php?id=3056
...
* Clamps negative values to zero when a terrain is exported in LLRAW format, since LLRAW doesn't support negative values.
* Thanks jonc!
2009-02-05 21:54:22 +00:00
Justin Clarke Casey
10aa027ec8
* Remove CommanderTestModule as there are several normal modules which effectively fulfil this function
2009-02-05 21:46:57 +00:00
Justin Clarke Casey
3027b6ad27
* cheap hack to make module help information more accurately reflect what command text needs to be typed
...
* Should disappear soon
2009-02-05 21:46:04 +00:00
Justin Clarke Casey
732cd838b1
* Make existing module commanders register as help topics
...
* Typing help will now give a list of these topics at the top (as well as the rest of the current help stuff)
* Typing help <topic> will give information about commands specific to that topic
2009-02-05 21:35:59 +00:00
Justin Clarke Casey
9a666bda02
* Use the commander name to register module commanders instead of providing the information twice
2009-02-05 19:54:22 +00:00
Justin Clarke Casey
65448cd02d
* refactor: Split out module Command class into a separate file
2009-02-05 19:34:23 +00:00
Justin Clarke Casey
18100eee50
* Remove unused region info list from OpenSimBase.
...
* The same information is available via SceneManager
2009-02-05 18:47:39 +00:00
Justin Clarke Casey
d04025ff3d
* refactor: Move module handling code up into SceneBase from Scene, reducing the large number of different things that Scene does
2009-02-05 18:36:53 +00:00
Sean Dague
efcf00ee60
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
This patch fixes the problem where if an object containing a script is
deleted at the same time as an object containing the same script is
rezzed, it can result in the assembly file being deleted after the
second object script initialisation has found it but not started using
it yet, resulting in the script not starting up.
2009-02-05 16:12:51 +00:00
Teravus Ovares
2a998d6cd7
* Add the second version of the experimental ObjectAdd Cap. It will handle both versions currently.
2009-02-05 13:43:36 +00:00
Teravus Ovares
8f31210432
* Committing an experimental ObjectAdd module. Intended to work with http://jira.secondlife.com/browse/VWR-8049 .
...
* Catherine contacted us and gave us a LLSD dump to study for implementation.
* Still needs to be tested. May not produce expected results.
2009-02-05 06:44:46 +00:00
Justin Clarke Casey
577064fb9d
* minor: remove deprecated and unused terrain method from SceneManager
...
* other minor tidy up
2009-02-04 20:37:20 +00:00
Justin Clarke Casey
a1da605706
* Introduce a new "default" option for asset_database in the [STORAGE] section
...
* This option makes OpenSim use the usual db based asset service in standalone, and the grid based one in grid mode
* The other options can (local, grid, etc) can still be used explicitly as before
* Also change OpenSim.ini.example and the surrounding explanative text
2009-02-04 18:56:12 +00:00
diva
be3e676d33
Addresses a race condition that happened between the viewer and the departing region wrt the creation of the child agent in the receiving region, and that resulted in failed TPs.
2009-02-04 16:31:48 +00:00
MW
8d6bd1b650
Added a ForceSceneObjectBackup method to Scene, which as it says forces a database backup/update on the SceneObjectGroup.
...
This is now called at the beginning of DeRezObject, so we know the database is upto date before we attempt to delete a object.
Fix Mantis #1004
Which happened because Database backups don't happen if a object is still selected, so when you select a part in a link-set and then unlink it and then delete it, all without unselecting the prim at all. The unlink changes never get updated to the database. So then when the call to delete the prim from the database happens, which is called with the SceneObjectId. That SceneObjectId is never found, as the database still has that prim as part of another link set.
It is possible that these changes might have to be reverted and for us to find a different method of fixing the problem. If the performance overhead is too high or it causes any other problems.
2009-02-04 16:00:39 +00:00
Mike Mazur
0c03a48fb2
- add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of it
...
- trim trailing whitespace
2009-02-04 00:01:36 +00:00
Justin Clarke Casey
1adb8c33b2
* Add another object to the existing save oar test
2009-02-03 20:45:18 +00:00
Justin Clarke Casey
1c0df5e40f
* Address http://opensimulator.org/mantis/view.php?id=3076 by actually eliminating the redundant enable = true commented example
...
* Comment out some startup verbosity from the module if we haven't enabled it
2009-02-03 20:16:15 +00:00
Justin Clarke Casey
2009d1aa01
* Fission SceneObjectTests into basic and linking sets
2009-02-03 20:13:34 +00:00
Justin Clarke Casey
984cf94375
* Lock the parts for the old group while we're clearing it as well - not much point doing one without the other
...
* Shouldn't result in any deadlocks as I don't think there are any locks in the calling code
2009-02-03 19:36:57 +00:00
Justin Clarke Casey
cff7664a37
* Mark the old group after linking as deleted
...
* Add unit test assertions to check this
2009-02-03 19:13:17 +00:00
diva
4ea2749b37
OK, commenting the return again :-/
2009-02-03 19:03:01 +00:00
Justin Clarke Casey
b2de0a3ae6
* Now clearing parts list in the old group after a link has occurred
...
* Adjusted existing link tests to reflect this and added some new assertions
2009-02-03 18:48:04 +00:00
Justin Clarke Casey
35f9f2545d
* Lock parts while they're being duplicated to prevent possible race conditions with other parts changers
...
* This shouldn't provoke any deadlocks since the callers aren't taking any other locks beforehand
2009-02-03 18:06:24 +00:00
Justin Clarke Casey
a9e76ce847
* minor: remove some pointless assignments in SOG.Copy() that had already been done by MemberwiseClone()
2009-02-03 17:50:25 +00:00
Teravus Ovares
c80733cc98
* Fixes mantis #3070
2009-02-03 14:11:52 +00:00
Mike Mazur
949ae6136e
Change access levels from private to protected to facilitate
...
subclassing; also add new method signatures. Thanks tuco and mikkopa.
Fix Mantis #3072 .
2009-02-03 08:31:08 +00:00
Mike Mazur
e12b0a2496
- move IAssetDataPlugin from OpenSim/Framework/IAssetProvider.cs to
...
OpenSim/Data/IAssetData.cs
- remove some trailing whitespace
2009-02-03 05:20:16 +00:00
Mike Mazur
f8e45e8e98
Rename IAssetProviderPlugin to IAssetDataPlugin aligning with the other data plugins.
2009-02-03 05:20:03 +00:00
Justin Clarke Casey
2c2f10e156
* Establish OnOarFileSaved EventManager event and subscribe to that instead of passing in a waithandle to the archiver
...
* This matches the existing OnOarFileLoaded event
* This brings up the question of how these things can be made generic so that they don't have to be tied into EventManager, but that's a topic for another day
2009-02-02 20:59:12 +00:00
Justin Clarke Casey
13a5243d76
* As per http://opensimulator.org/mantis/view.php?id=3065
...
* Copy OpenSim.ini to _OpenSim.ini on crash instead of opensim.ini
* This makes it work on Linux/Mac(?) as well as Windows
2009-02-02 20:01:50 +00:00
idb
49946cb7aa
Restore llGetSunPosition to its former self.
...
Fixes Mantis #2195
2009-02-02 19:20:12 +00:00
Justin Clarke Casey
176920f8d3
* Make it more obvious that there is an enabled switch for chat in OpenSim.ini.example.
...
* Add default information for other chat settings
2009-02-02 17:27:23 +00:00
Justin Clarke Casey
6f9c1e3bcc
* Stop the instant message module from trying to register for the message transfer module in PostInitialise() if it hasn't actually been enabled
2009-02-02 17:22:20 +00:00
Justin Clarke Casey
e0cef010f3
* Small tweak to move name replacement in friendship offer since server side requests don't want the lookup
2009-02-02 17:19:57 +00:00
Dr Scofield
3682212fbf
[previous VectorRender patch was from: Robert Smart
...
<SMARTROB@uk.ibm.com>]
clean up.
2009-02-02 14:57:20 +00:00
lbsa71
8a098bf12c
* Minor refactoring and comments updates
...
* Ignored some gens
2009-02-02 14:57:01 +00:00
Dr Scofield
7ec667d279
[patching previous patch and also taking the chance of fixing the
...
previous commit message]
This patch reimplements the Draw method in the VectorRenderModule which is
used to create dynamic textures.
The previous version was limited to creating square dynamic textures, it
also didnt allow for dynamically loading an image containing transparency
except at 256x256.
The extraParams string in such functions as osSetDynamicTextureData can
now be passed a comma seperated string of name value pairs which set the
width,height and alpha value of dynamic textures. e.g.
"height:512,width:2048,alpha:255"
Backward compatibility is still preserved so passing the old params of
either a string integer "256" "512" will still work in the same fashion as
will passing "setAlpha" on its own
2009-02-02 13:58:01 +00:00
Dr Scofield
b9db1b1345
Merge branch 'vector' into OpenSimulator.org
2009-02-02 11:40:34 +00:00
lbsa71
4e5e70491b
* Removed erroneous reference to the Data.Base Framework
2009-02-02 11:27:58 +00:00
Jeff Ames
496ed4488d
Minor formatting cleanup.
2009-02-02 09:01:00 +00:00
Teravus Ovares
aabaa35af7
* Adding the Tree module configuration options to OpenSim.ini.example
...
* Adding an option to use the tree module to manage the trees in the simulator (grow/reproduce/die)
* Setting it to off by default in an effort to reduce the number of threads in use by default
* You can also turn it on in a 'one off' way with 'tree active true' on the console. To 'one off' turn it off, it's 'tree active false'. The permanent way to do that, however is in the opensim.ini.
2009-02-02 06:04:03 +00:00
diva
dee6ad7154
Putting the return back in AddCapsHandler upon attempt at adding CAPs twice. The return seems to have been commented in 8038, as an attempt at fixing multiple TP problems later identified to be deadlocks. CAPs should never be overwritten, or the viewer can get confused. Right now this method is erroneously being called twice because of legacy code. I'll fix that later, after further testing.
2009-02-01 20:36:10 +00:00
Charles Krinke
50536c66a0
Thank you kindly, TLaukkan (Tommil) for a patch that:
...
Added osTeleportAgent with region coordinates to
support hyper grid scripted teleports.
2009-02-01 17:41:33 +00:00
Teravus Ovares
469b35d2bb
* Adding a few fields to the Land data responder that the client is complaining about (and older clients are crashing on)
2009-02-01 17:16:36 +00:00
idb
aad843fc2c
Correct the method signature on llMakeFountain.
2009-02-01 15:12:32 +00:00
diva
3bd0df18b7
More on dynamic hyperlinks. Making the 4096 check (deregistration of region) work in grid mode.
2009-02-01 02:20:57 +00:00
diva
ff149ae197
Check for the 4096 limitation in dynamic region hyperlinks.
2009-02-01 00:59:42 +00:00
idb
1a14066aa6
Speed improvement mostly when sensing objects especially noticeable in a sim with many objects.
2009-01-31 19:02:09 +00:00
Charles Krinke
4a120e9dd5
Flesh out llGetAgentLanguage to return "en-us" until
...
we have an I18N committee for internationalization.
2009-01-31 18:27:44 +00:00
diva
9e29baa565
Initial support for dynamic HG hyperlinks. With this commit, remote sims can be linked (and TPed to) simply by searching on the map for things like this ucigrid03.nacs.uci.edu:9003 or by clicking on things like this in the chat history secondlife://ucigrid03.nacs.uci.edu:9003/ or by clicking on links like that on the embedded browser.
2009-01-31 18:13:22 +00:00
Teravus Ovares
85c0c0557e
* Tweaks some locks when modifying an ODECharacter. This actually allows a user to log-in while the physics scene and the scripts are starting up. This also seems to smooth out the jerks on teleport/connect/disconnect a little bit.
...
* If you log-in while the simulator is starting up, you won't be able to move and the sim stats will say 0 FPS, and 0 Physics Frames and you may see only terrain. Once the sim finishes starting up, it'll all resume as normal.
2009-01-31 16:49:32 +00:00
diva
360eb239b3
Hopefully fixes mantis #3063 .
2009-01-31 00:15:13 +00:00
diva
e7a9ece410
Bug fix on posting assets onto foreign users inventory. Check that the key is already in the local asset map before adding it.
2009-01-30 23:53:41 +00:00
diva
36221a2c19
Added a new method SendGroupRootUpdate to start addressing mantis #3019 . ll functions have not been changed.
2009-01-30 23:23:02 +00:00
Justin Clarke Casey
e233aad098
* Put a wait timeout on the archive test, just in case the archiver never returns
2009-01-30 21:39:54 +00:00
Justin Clarke Casey
fa88dac539
* minor: remove some mono compiler warnings
2009-01-30 21:26:38 +00:00
Justin Clarke Casey
951c08933a
* In OpenSim.ini.example, list defaults for AllowOSFunctions and OSFunctionThreatLevel and change existing OpenSim.ini.example settings
2009-01-30 21:04:23 +00:00
Justin Clarke Casey
c307e0e4a7
* Extend archive save test to check for the presence of the file for the object that was in the scene
...
* Can now pass in a wait handle to ArchiveRegion() if you want same thread signalling that the save has completed
2009-01-30 20:54:38 +00:00
Justin Clarke Casey
7a751f6940
* minor: stop bothering to set parts to phantom within test setups - tests now seem to pass without having to do this
2009-01-30 18:28:05 +00:00
Dr Scofield
1b0a398763
reporting original request URI if HttpWebRequest failed, adding
...
try-catch around GetRequestStream (this time for sure)
2009-01-30 14:45:39 +00:00
Jeff Ames
6126c687c1
Update svn properties, minor formatting cleanup.
2009-01-30 09:03:23 +00:00
Dahlia Trimble
7e17cec182
remove dummy parcel media settings from event queue message
2009-01-30 08:52:45 +00:00
Dr Scofield
587b079878
2009-01-30 08:49:00 +00:00
Dr Scofield
27df816184
fixing: client gets logged out when concierge's broker returns 500
...
response.
adding: more verbose error logging
2009-01-30 08:48:41 +00:00
idb
ea6e4a95ce
Complete the implementation of llSHA1String.
2009-01-29 19:47:55 +00:00
Justin Clarke Casey
6e63e93ec7
* minor: just a few formatting changes and log quietening
2009-01-29 18:39:33 +00:00
Sean Dague
25e241837b
* Enhanced ScenePresenceTests. Now tests for region and prim crossing.
...
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-28 19:23:20 +00:00
Dr Scofield
4cfa36ee8b
fix: client gets logged out when concierge's broker returns 500
...
response.
2009-01-28 18:58:49 +00:00
Dr Scofield
ce1e1854b1
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
This changeset fixes a race condition where a script (XEngine run) can
startup before a reference is added to it in all of the required
places in the XEngine class. The effect of this is that a script can
sometimes on startup miss script events. For example a script which
starts up and initialises itself from a notecard may never receive the
dataserver event containing the notecard information.
The patch isn't as clean as I'd like - I've split the constructor of
ScriptInstance up so it does everything it did before except
call Startup and post events like state_entry and on_rez. An Init
function has been added which is called after the ScriptInstance
object has been added to the necessary data structures in XEngine.
Happy to rework it if someone suggests a better way of doing it.
2009-01-28 09:52:09 +00:00
Dr Scofield
a3ac702941
From: Christopher Yeoh <yeohc@au1.ibm.com>
...
Adding Oarfileloaded and EmptyScriptCompileQueue event support which
allows (with a module) for programmatic notification of when a region
objects and scripts are up and running after a server start or
load-oar.
2009-01-28 09:22:12 +00:00
Charles Krinke
fe18adbc11
Add in a stub for llSHA1String. I believe it is the only one new
...
function we were missing.
2009-01-28 04:50:25 +00:00
Dahlia Trimble
0c712e9704
delete some commented out junk code notes
2009-01-27 06:20:03 +00:00
Dahlia Trimble
c747990187
Send groups list via event queue
2009-01-27 06:14:11 +00:00
Dahlia Trimble
54a1b9dbff
correct formatting if parcel description field in event queue message
2009-01-27 01:31:06 +00:00
Dahlia Trimble
fd76bc39fa
Correct a typo in the parcel properties event queue message which was preventing the display of authorized buyer
2009-01-27 00:51:14 +00:00
Dr Scofield
b1520fbfd2
2009-01-26 21:35:54 +00:00
Dr Scofield
92b6d1efbb
2009-01-26 21:35:38 +00:00
Dr Scofield
6cebb6e760
~ fixing bugs in ConciergeServer.py test code
...
~ fix bug in ConciergeModule: wrong closing tag for avatars list
2009-01-26 21:35:16 +00:00
Dr Scofield
0aafeb5da3
adding XML parsing to make sure POST content is welformed
2009-01-26 21:34:59 +00:00
Dr Scofield
10f7e534c9
+ adding URI substitution for concierges broker URI
2009-01-26 21:34:44 +00:00
Dr Scofield
0c14ebec87
~ moving test server script on level up
2009-01-26 21:34:27 +00:00
Dr Scofield
db46c75d72
~ moving test server script on level up
2009-01-26 21:33:53 +00:00
Dr Scofield
494cfdfe37
~ turning synchronous broker update into asynchronous one
2009-01-26 21:33:36 +00:00
Dr Scofield
8c4ac64d80
~ fix: Concierge reports avatar leaving region twice
...
~ cleaning up log statements
2009-01-26 21:33:20 +00:00
Dr Scofield
3b866df078
+ completed python test server
2009-01-26 21:32:59 +00:00
Dr Scofield
78db120b3d
+ adding test server for debugging purposes
2009-01-26 21:32:43 +00:00
Dr Scofield
0abc179a4e
~ extending attendee list to include agent name
...
+ code to generate full XML avatar list
+ code to POST XML snipplet
2009-01-26 21:32:24 +00:00
Dr Scofield
4464e59f75
adding timestamp as ISO 8601
2009-01-26 21:31:41 +00:00
Dr Scofield
d10d8af295
adding XML sniplet generation (start of)
2009-01-26 21:31:21 +00:00
Dr Scofield
464ecc15a0
starting draft attendee list notification support.
2009-01-26 21:31:02 +00:00
Dahlia Trimble
b112109d2c
swap endianness of parcel flags in event queue message
2009-01-26 20:06:31 +00:00
Teravus Ovares
fc75a2031e
* Providing a way for the rest of the simulator to get at the economy settings through the IMoneyModule interface.
2009-01-26 20:05:13 +00:00
Dahlia Trimble
4dace03696
add a definition for a parcel properties CAP
...
send parcel properties via eventqueue rather than UDP to facilitate libomv clients - see Mantis #3040
2009-01-26 10:42:24 +00:00