Commit Graph

6785 Commits (21c0df53a2f24241850a29a7b2087df0019c8eb2)

Author SHA1 Message Date
Justin Clarke Casey 70124a3213 * refactor: make startup a template method 2008-10-03 15:11:29 +00:00
Dr Scofield 5c0a0bc2e0 This changeset changes the way chat from client is routed:
old way: each region module interested in chat from client had to
     	 - subscribe to scene.EventManager.OnNewClient
	 - then in its OnNewClient delegate it would subscribe to
           client.OnChatFromViewer to capture chat messages coming

     new way: ChatModule is the only region module that uses the "old
         way" approach but is now forwarding all client chat via
         scene.EventManager.OnChatFromClient
	 - each region module interested in chat from client now only
           subscribes to scene.EventManager.OnChatFromClient

this not only simplifies code, but also allows us to substitute
ChatModule with derived classes (ConciergeModule is going to be one
example).

Also, this changeset changes ChatFromViewer to ChatFromClient as it
doesn't necessarily have to be a viewer that is a chat source.

i've taken great care to only comment out those OnNewClient delegates
that were only used for getting at the client chat --- hope it's not
breaking anything.
2008-10-03 14:53:11 +00:00
Justin Clarke Casey 8c55f3eaa6 * minor: remove warnings (the code cleaners strike again) 2008-10-03 14:18:17 +00:00
Melanie Thielker 36097a8198 Prevent attachments to be persisted in the destination region when the
avatar is not present there.
2008-10-03 13:45:54 +00:00
Sean Dague 5f8e241e81 fix the sqlite break. There were two issue here:
1. type issues on column create in ado.net
 2. not setting a field in the ado.net row translates into explicitely
    setting it to null in sqlite land (because it can't read the defaults
    stanzas out of the database)

Things should work again after this.
2008-10-03 12:36:54 +00:00
Melanie Thielker ec47a1bff2 Add database persistence for material setting 2008-10-03 12:11:38 +00:00
Melanie Thielker 7f007d8ed0 Mantis #1360
Thank you, idb, for a patch to implement the packet and plumbing for
the material settings.
2008-10-03 12:00:13 +00:00
Teravus Ovares 8de395d379 * EventQueueGet is now working.
* Switched it on by default
* Updated OpenSim.ini.example to reflect this
* Caught a UDP Server issue that occurs when the network pipe is saturated
* Still experimental :D
2008-10-03 09:53:49 +00:00
Melanie Thielker cffd73c59f Reintroduces the discovery mechanism to use llRequestSimulatorData("", 128)
Causes the dataserver event to return "OpenSim" when running on OpenSim.
Requires ThreatLevel to be "High" or above to function.
2008-10-03 06:15:23 +00:00
Melanie Thielker 1cf0798863 Plumb in the start parameter in DNE 2008-10-03 05:32:51 +00:00
Melanie Thielker c9fbc03a18 Attempt to prevent attached prims from being persisted. Attachments with
invisiprim refresh scripts get sent to the database and remain there when
the agent logs out. This tries to prevent that.
2008-10-03 05:23:30 +00:00
Charles Krinke d5b3a66f52 Mantis#2307. Thank you kindly, Godfrey for a patch that solves:
In Second Life's implementation of llParseString2List(), all spacer 
strings which occur within the source string are included in the 
resulting list. In OpenSim's implementation, any spacers occurring 
at the beginning of the string are discarded; furthermore, if multiple 
spacers occur between non-spacer elements, or at the end of the source 
string, only the first spacer is added to the resulting list; 
the remainder are discarded.
2008-10-03 02:33:59 +00:00
Melanie Thielker 6bd5c6bfc0 Check for empty string as well, just as illegal. 2008-10-03 02:27:22 +00:00
Melanie Thielker 189c3e5a82 Prevent an exception when the directory given for XML save is read only
and region config is loaded from the web
2008-10-03 02:21:12 +00:00
Melanie Thielker e30856a32f Mantis #2317
Thank you, fusspawn, for an implementation of osGetSimulatorVersion.
This patch removes the llRequestSimulatorData(..., 128) hack and
implements the functionality as an osFunction.
2008-10-03 01:30:22 +00:00
Homer Horwitz 4e3a3417c7 Mantis #2282.
Thanks tglion for the necessary info to solve an ArgumentOutOfRangeException during region start.
2008-10-02 22:57:07 +00:00
Homer Horwitz 35a23ab74f Added the first version of the MapSearchModule, which allows you to search for
regions in the in-world map. It currently only returns the first region that
matches the search string; in a future version it will return more search
results.
Note: File added; run runprebuild.
2008-10-02 22:20:17 +00:00
Homer Horwitz 423d950a69 - Fixed a small off by one error in sending MapBlocks
- Removed MapBlockData.Flags; it isn't used anywhere (maybe MapBlockData.RegionFlags replaced it?)
2008-10-02 22:14:34 +00:00
Homer Horwitz fb9acb80ef - Fix invalid cast in OSHttpRequest
- Web-map should work again :)
2008-10-02 22:10:49 +00:00
Melanie Thielker 8963522aab Mantis #2314
Thank you, sacha magne, for a patch to add login level and message
commands to the user server
2008-10-02 15:36:10 +00:00
Dahlia Trimble cf9835130a Square hollow size in cylinder meshes were a little too small - fixed. 2008-10-02 02:33:45 +00:00
Homer Horwitz b1c1de2fbe - Added SendScriptTeleportRequest to IClientView and classes implementing it.
- Implemented llMapDestination.
2008-10-01 21:30:48 +00:00
Sean Dague 9d7a9d3461 stick a TODO in here about land tests, which really can't be done in
the current state as the Land Object has all these live references back
to Scene.
2008-10-01 21:10:08 +00:00
Sean Dague b7454b1a2b enhance boundary tests for no terrain. Put in a null load
test for land.
2008-10-01 21:10:02 +00:00
Justin Clarke Casey 7e35e4c816 * minor: oh, and comment out the now unused logger as well 2008-10-01 20:56:34 +00:00
Justin Clarke Casey 231b8c2a67 * minor: Comment out temporarily statistical counter I accidentally left in from the last commit 2008-10-01 20:55:09 +00:00
Justin Clarke Casey cbb9693ef4 * Try bumping packet resend timeout up to 2 seconds instead of 1
* This actually probably doesn't make a huge difference.  We still end up resending a massive number of packets in quite a few situations, but it's not easy to consistently 
reproduce this.
* Might really need some throttling of packet send to the client on the OpenSim end.
2008-10-01 20:54:28 +00:00
Justin Clarke Casey 4d32cd34e8 * refactor: rename interface to put standard I prefix in front 2008-10-01 20:30:30 +00:00
Dr Scofield e7cd583c1e removing asterisk: it's now living at http://forge.opensimulator.org/gf/project/asteriskvoice/ 2008-10-01 20:18:57 +00:00
Sean Dague 7b1e82a8aa remove tests for inventory 2008-10-01 19:29:06 +00:00
Sean Dague 5d5a886b34 remove these old ruby grid servers as they are really old (like a year
old).  A project like this is welcomed to come back on opensim forge.
2008-10-01 18:57:37 +00:00
Sean Dague 2c1ff87d61 remove mysql_connection.ini.example, no one should be using this any
more as you can specify connect strings in opensim.ini per driver.
2008-10-01 18:53:58 +00:00
Sean Dague 0f7f3b45cc add basic store retrieve prim inventory test. the prim
inventory interfaces definitely need some rethinking.
2008-10-01 18:51:12 +00:00
Sean Dague 1389461854 one class per file please.
This puts the TaskInventoryDictionary in it's own file.
2008-10-01 18:51:09 +00:00
Dr Scofield c0788b5241 cleaning up example configuration for REST plugins 2008-10-01 18:18:29 +00:00
Justin Clarke Casey 95a3d6372d * Fix bug in LLPacketHandler where the tickcount when a packet was approximately sent was not being stored in the ack record
* This meant that acks were being sent out every 250ms when the ack timer fired, rather than when they had actually aged past m_ResendTimeout
2008-10-01 17:18:20 +00:00
Sean Dague d009927194 add delete prim tests. Found and fixed bugs where region
is not respected by sqlite or mysql drivers so that deleting
and object in a region actually deletes that object from any
region.
2008-10-01 15:41:36 +00:00
Melanie Thielker fecbb2febd Add a user server XMLRPC method to set the MOTD and the minimum GodLevel
required to log in. set_login_params accepts avatar_uuid and password of a
user with god level 200 or more, and allows setting either or both the
login_motd or login_level
2008-10-01 15:17:37 +00:00
Dahlia Trimble dabe61f283 a little (incomplete) hackery in the IRC module to allow run-time connection changes 2008-10-01 08:24:44 +00:00
Johan Berntsson 513ce9caee Added functions to find prims by name 2008-10-01 06:39:36 +00:00
Teravus Ovares 6754681e5b * Adds error handlers for errors parsing the querystring passed on the OSHttpRequest constructor.
* maybe..  it was a key that was null.  Obviously you can't still a null key in a string key'ed collection.
2008-10-01 04:26:51 +00:00
Teravus Ovares f49ba0cbfe * Fixed a mangled Seed caps handler definition on login to region in standalone where port wasn't the http port.
* Removed spurious warning message
* More debug in EventQueueGet Module to figure out why we're loosing the handlers.
2008-10-01 04:16:41 +00:00
Teravus Ovares 79b2e5ac71 * Replacing Net.HttpListener with HttpServer.
* This is a HUGE update..  and should be considered fraut with peril.
* SSL Mode isn't available *yet* but I'll work on that next.
* DrScofld is still working on a radical new thread pump scheme for this which will be implemented soon.
* This could break the Build!  This could break your Grid!
2008-09-30 16:56:33 +00:00
Dr Scofield d683fe36ea more concierge stuff 2008-09-30 16:20:11 +00:00
Dr Scofield eca624dff5 OpenSim.ini.example code for concierge module 2008-09-30 16:16:20 +00:00
Dr Scofield a57533b6d7 initial version of a meeting concierge module. 2008-09-30 16:14:47 +00:00
Dr Scofield 63b2e3575a - a couple of minor code cleanups in RestInventoryServices
- cleanups and more comments in ChatModule and IRCBridgeModule
- adding Name support in ScenePresence
2008-09-30 16:14:09 +00:00
Melanie Thielker 57a862bc01 And one more. lThat should make all scripts start for everyone 2008-09-30 14:58:11 +00:00
Melanie Thielker f0564549a9 Add two more default script engine params 2008-09-30 14:57:05 +00:00
Melanie Thielker 76f7fcba7d Add the default script engine to the script creation from archive loading
to make scripts loaded from oar start
2008-09-30 14:51:15 +00:00