aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-06-29Thank you kindly, Godfrey, for a patch that:Charles Krinke1-1/+2
The new IRCd module causes an error when multiple instances of OpenSim are run on the same machine; since the port number (6666) is hardcoded, the second and subsequent instances crash upon startup because the port is already in use. Attached is a patch which adds a Port specifier to the [IRCd] section of the config file, which defaults to 6666 if not present.
2009-06-28Thank you kindly, Grumly57 for a patch that solves:Charles Krinke1-0/+1
When a sit position is modified by llSitTarget and the sim is restarted, the object sit position is lost until llSitTarget is applied again.
2009-06-28Removed the List<NewForce> m_forceList from ScenePresence, as there wasn't ↵MW1-20/+18
any need for a list, as only the last entry in it was acted on. So it now has a single NewForce m_nextVelocity , which is updated (rather than a NewForce object being created every AgentUpdate). So as well as cutting out all the adds and clearing of the list, it also removes the creation of upto 100+ new objects per second per avatar.
2009-06-27Update svn properties.Jeff Ames2-244/+244
2009-06-26Fixed null bug, which was making unit tests failMW1-3/+7
2009-06-26Extracted the code that handles the sending of prim updates to the client, ↵MW4-159/+269
from ScenePresence into ISceneViewer/SceneViewer. Currently ScenePresence "has" a ISceneViewer, although if we had a proper Node based scenegraph then it would most likely be attached directly to the nodes. By extracting this code, it should make it easier to experiment with different ways of managing the update process. [Next step to make this module based, could be to create a SceneViewerFactoryModule]
2009-06-26Make delete-region delete the section from an ini file. Will delete the wholeMelanie Thielker1-2/+28
file if it has no sections left.
2009-06-25Make create region save the new region to ini file format if the nameMelanie Thielker1-10/+28
specifies an ini file. If the ini file exists, the region will be added.
2009-06-25Added a note to the ScenePresence.UpdateMovement() method, to remind ↵MW1-1/+1
everyone that the so called "forces" are actually velocities.
2009-06-25Applied patch from mantis #3820 which changed the clearing of the ↵MW1-20/+16
ScenePresence.m_forcesList, so it used the List.Clear method rather than doing a loop through the list and manually removing each item. Thanks dslake. I also fixed the issue where the code also loops through the m_forcesList and copies each force to the ScenePresence's movementVector. Which resulted in only the last force in the list actually be acted on. As each copy overrode the last one. So now it only copies the last force in the list.
2009-06-25moving the m_PendingAcksMap.Remove() out of the foreach and clearingDr Scofield1-1/+1
it instead after the foreach as we are going through the whole m_PendingAcks list anyhow
2009-06-25have to clear m_PendingAcks not m_PendingAcksMapDr Scofield1-1/+1
2009-06-25hmph: missing '{'/'}', thx to nebadon for reporting it and rob smartDr Scofield1-3/+10
for spotting it!
2009-06-25fixing windows specific compile error.Dr Scofield1-32/+32
2009-06-25From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield1-1/+1
After noticing on several occasions that the thread counts we see when running OpenSIm were bordering on the astronomical I decided to seriously investigate. After much poking I discovered that the problem is actually very simple. The XEngine secition of the example ini says that the timeout for an iden thread is in seconds, and an example value of 60 is specified. In fact, this is actually resulting in a 60mS idle timeout, which is not normally enough for a smart thread to survive. I have added a multiplier to the XEngine constructor so that the number now matches the published behavior.
2009-06-25cosmetic changeDr Scofield1-2/+1
2009-06-25streamlining m_NeedAck logicDr Scofield1-31/+29
2009-06-25streamling m_PendingAcks logic to get rid of gratuitous List<...>Dr Scofield1-20/+20
instantiations and object copies.
2009-06-25commenting out expensive bits (who in the world even uses SetClientInfo()?)Dr Scofield1-29/+29
2009-06-25changing DropSend()'s foreach loop so that it does not copy theDr Scofield1-5/+11
LLQueItem m_NeedAck queue each time.
2009-06-25commenting out rather expensive bits of GetClientInfo() --- the onlyDr Scofield1-13/+20
bit of GetClientInfo that is actually used seems to be userEP as part of the OSSL osGetAgentIP() script function. Now commented are the parts where we serialize and copy out the *entire* packet queue of the client (locking the packet handler in the process).
2009-06-25more efficient way of checking for already seen packets:Dr Scofield1-29/+47
- uses Environment.TickCount for all timestamps (instead of more costly Util.UnixTimeSinceEpoch() - takes care of Environment.TickCount overflow (which will happens after 24.8 days of system uptime) - avoids instantiating List copies for each check - gets rid of one lock() invocation - moves calculation of loop invariant variable out of the loop itself
2009-06-25adding logging statement for receive buffer sizeDr Scofield1-0/+2
2009-06-25- adds the possibility of setting the socket receive buffer sizeDr Scofield1-35/+51
option for LLUDPServer. On windows .NET the default socket receive buffer size is 8192 bytes, on recent linux systems it's about 111K. both value can be a bit small for an OpenSim instance serving many clients. The socket receive buffer size can be configured via an OpenSim.ini config option - adds a general catch clause to LLUDPServer.OnReceivedData() to prevent it submerging when an unexpected Exception occurs.
2009-06-25From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield3-75/+166
This change moves texture send processing out of the main packet processing loop and moves it to a timer based processing cycle. Texture packets are sent to the client consistently over time. The timer is discontinued whenever there are no textures to transmit. The behavior of the texture sending mechanism is controlled by three variables in the LLCLient section of the config file: [1] TextureRequestRate (mS) determines how many times per second texture send processing will occur. The default is 100mS. [2] TextureSendLimit determines how many different textures will be considered on each cycle. Textures are selected by priority. The old mechanism specified a value of 10 for this parameter and this is the default [3] TextureDataLimit determines how many packets will be sent for each of the selected textures. The old mechanism specified a value of 5, so this is the default. So the net effect is that TextureSendLimit*TextureDataLimit packets will be sent every TextureRequestRate mS. Once we have gotten a reasonable feeling for how these parameters affect overall processing, it would be nice to autonmically manage these values using information about the current status of the region and network. Note that this also resolves the pathologcal problem that previously existed which was that a seated avatar generated very few in-bound packets (theoretically) and would therefore be the least able to retrieve the images being displayed by a projector script.
2009-06-25- fixes a "collection out of sync" exception in the ODE physicsDr Scofield3-38/+55
engine, caused by an "avatar infinite position" occurring under heavy load. - fixes "value too small" exception in ChatModule
2009-06-24Allow "Take Copy" with copy only permissions if you own the object. TransMelanie Thielker1-2/+10
is only required when taing an object you don't own, now. Fixes Mantis #3838
2009-06-24Reading GroupPosition, but setting OffsetPosition in undo doesnt' seem right.Melanie Thielker1-2/+2
This may fix the Mantii where individual prims ctrl-z to nirvana, but it's not tested.
2009-06-23Also fix group role membership packet sizes to stay safely below MTUMelanie Thielker1-29/+41
2009-06-23Can I be this dumb?Melanie Thielker1-1/+0
2009-06-23Fix an error in group membership sending when the memebr count exceeds 60Melanie Thielker1-2/+6
Also reduce limit to 40 to allow for last logon dates and titles
2009-06-23Allow the member list of groups with more than 70 members to be viewedMelanie Thielker1-36/+42
without crashing
2009-06-23Commenting out the jhurliman fix, since our libOMV doesnt' have those fieldsMelanie Thielker1-5/+5
yet.
2009-06-23Correct an uninitialized field in a packet. Thanks, jhurliman.Melanie Thielker1-0/+8
Fixes Mantis #3831
2009-06-22Committing RemoteUserServiceConnector out connector, local user serviceMelanie Thielker2-5/+26
connector and the glue code.
2009-06-22Formatting cleanup, ignore some generated files.Jeff Ames2-3/+3
2009-06-22Update svn properties.Jeff Ames10-1199/+1199
2009-06-22* Panda no like LongRunningAttribute, no? Me now reverting minuscule fix, ↵lbsa711-1/+1
yes? Panda happy, eh?
2009-06-22* Minuscule CC fixlbsa711-0/+2
2009-06-22* Added SceneTests and SceneBaseTestslbsa714-2/+220
* Changed some fields to protectesd to enable faking
2009-06-21Suppress exception dump when informing friends in another region about loginMelanie Thielker1-0/+9
or logoff. Regions come and go and we can't throw just because someone took their region off the grid, or crashed.
2009-06-21Correct the behaviro of group deeding and llGetOwner() within deeded objectsMelanie Thielker2-3/+15
2009-06-21Do llEscapeURL with Uri.EscapeDataString instead of Uri.EscapeUriString.Homer Horwitz1-1/+1
Not exactly right, according to the LSL docs, but similar enough, I hope. Fixes Mantis #3825.
2009-06-21Publish a method on ICompiler to generate the CIL assembly pathMelanie Thielker3-0/+9
Cause group deeding to apply next owner perms
2009-06-19Properly reset a vehicle's status to VEHICLE_TYPE_NONE when requestedMelanie Thielker1-0/+1
2009-06-19When a shared module hooks OnClientClosed, it has no way of findingMelanie Thielker9-13/+13
out which client connection has closed. So, in multi-region sims, things can get messy fast. This introduces a second parameters, which is a Scene object ref. Minor adjustments to custom modules may be required due to this change.
2009-06-19Thanks cmickeyb for a patch that checks for null assets in Cenome asset ↵Dahlia Trimble1-3/+7
cache - Mantis #3819
2009-06-19From: Rob Smart <SMARTROB@uk.ibm.com>Sean Dague2-8/+13
Makes an avatars personal voice indicator work with Freeswitch (though not other avatars indicators)
2009-06-19From: Chris Yeoh <yeohc@au1.ibm.com>Sean Dague8-14/+45
This patch ensures that the touch positions are set during touch_end events (currently only working for touch_start and touch events).
2009-06-18Thanks Michelle Argus for Mantis #0003742: Terrain editor - Flatten tool ↵Dahlia Trimble3-38/+21
lowers Land