Commit Graph

8506 Commits (6cad71d5ec2f794f1df668e978049f7e5b10e9dc)

Author SHA1 Message Date
Melanie Thielker 664e8a464e Script region crossing. This has not user functionality, but lays all the
groundwork.
2008-11-09 19:30:40 +00:00
Melanie Thielker 6c27321949 Cause llGetInventoryType to return the asset type, which corresponds with
the LSL constants.
2008-11-09 19:10:33 +00:00
Charles Krinke c6ed72b4fa Clean up a few comments. 2008-11-09 18:43:46 +00:00
Charles Krinke 8ed4821c47 Clean up the mass < 0 logic a tiny bit when
calculating mass.
2008-11-09 18:22:36 +00:00
Adam Frisby df8b92cc1e * Applying EventQueueGetModule patch to try debug the case of the missing EQG. 2008-11-09 15:44:12 +00:00
Adam Frisby ad987a9633 * Added license file for previous commit. 2008-11-09 15:05:12 +00:00
Adam Frisby c43e466301 * Enabled GTCache for AssetCache
* Items will now be locally cached for only 24 hours from last access. (Rather than until restart)
* Caveat: Implementing the new caching mechanism means statistics gathering on AssetCache is no longer functional. (Justin - you might want to take a look and see if you can somehow get that back and running if you still need it)
2008-11-09 15:00:26 +00:00
Adam Frisby 448092332c * Adding GlynnTucker.Cache.dll, from http://gtcache.sourceforge.net/
* Licensed under MPL License.
* Adding to be used in the AssetCache, this cache allows you to do things like specify rules on when cache items should be removed (ie 24 hours since last access, etc).
* No code changed in this commit.
2008-11-09 14:14:20 +00:00
Tedd Hansen 853ba745b5 Refactoring: Moved component creation to "ComponentFactory" as dictated by convention 2008-11-09 10:30:46 +00:00
Jeff Ames 8da726c3a8 Update svn properties. Add copyright headers. Minor formatting cleanup. 2008-11-09 01:31:38 +00:00
Melanie Thielker bdf9add8d1 Reintroduce transactionID to the parameter list for SendInstantMessage.
It is required by group IM and also for a proper implementation of item
give, group notice attachments and offline IM.
2008-11-09 01:16:42 +00:00
Charles Krinke 62bc9c2e8e Mantis#2591. Thank you kindly, Ruud Lathrop for a patch that:
This patch is two script that fixes a issue when adding more 
then 1 avatar to estateban/estatemanager list. It removes a 
key and adds a index to the tables.
2008-11-09 00:53:54 +00:00
Charles Krinke 83d83ebbc4 Refactor the detectparams variable from 'd' to
a more meaningful name of 'detectedParams'.
2008-11-08 23:55:40 +00:00
Adam Frisby ddca72530d * Quick test for Dahlia, returns Packet Processing Loop to Infinite Loop. 2008-11-08 23:17:30 +00:00
Charles Krinke 41979f292b Mantis#2590. Thank you kindly, Diva for a patch that solves:
When the given address to CheckRegion is wrong, it crashes 
the whole server. Patch included.
2008-11-08 21:49:40 +00:00
Charles Krinke edb2344796 Mantis#2583. Thank you kindly, Idb for a patch that solves:
PRIM_TEMP_ON_REZ and PRIM_MATERIAL are not implemented in 
llSetPrimitiveParams so support for these is in the patch.
Also two deprecated functions throw errors. They are changed 
to behave as in SL: llSetPrimURL - Does nothing except the sleep 
(currently commented out) & llRefreshPrimURL shouts 
"llRefreshPrimURL - not yet supported" on the error channel
2008-11-08 21:25:26 +00:00
Homer Horwitz 5e4def3ee7 Mantis#2589: Thanks StrawberryFride, for a patch that fixes the build on VS2005. 2008-11-08 21:18:23 +00:00
Adam Frisby 7308f35a96 * Fixed issue where incorrect braces nesting resulted in a section of PacketQueue getting disabled.
* This means the recent memory fix should now be working correctly - so the current largest memory leak should be fixed. AssetCache still needs to be addressed however.
2008-11-08 21:08:01 +00:00
Adam Frisby fb2a1a6b7c * Fixed a major memory leak in packet processing - PacketQueue.Close is never called, causing the PacketQueue for dead clients to be preserved (including it's contents).
* This patch is highly experimental and may cause clients to not be able to connect, if this is the case, it will be rolled back in approximately 5 minutes.
2008-11-08 20:52:48 +00:00
Adam Frisby cbda728183 * "Fixed" a NRE with the new script engine Tedd committed
* Tedd will need to fix properly.
2008-11-08 20:31:47 +00:00
Homer Horwitz 344b725d3b Mantis#2598: Thanks Fly-Man- for a patch that fixes a client-thread crash by
allowing landFlags bit 31 to be used (Int32 -> UInt32).
2008-11-08 20:04:28 +00:00
Homer Horwitz 4da4941065 Mantis #2553: Thank you, idb, for a fix that helps to persist changes in prim attributes. 2008-11-08 19:55:33 +00:00
Adam Frisby f1aa849dff * Missed a file from previous checkin. 2008-11-08 19:37:08 +00:00
Adam Frisby 4e94989106 * Added IClientChat to IClientCore
* Updated LLClientView
* Removed defunct SendChatMessage(bytes[]...) method, see http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide
2008-11-08 19:29:35 +00:00
Homer Horwitz 03e056646e - Try to fix build again... 2008-11-08 18:40:19 +00:00
Adam Frisby bec51a9580 * Ported InstantMessageModule to IClientCore
* See http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#InstantMessageModule.cs
2008-11-08 18:07:33 +00:00
Tedd Hansen 73b85d2e84 CIA test 2008-11-08 18:02:07 +00:00
Adam Frisby 2205a86a8a * Fixed prebuild 2008-11-08 17:56:43 +00:00
Adam Frisby 5a5e132a96 * Implemented OnClientConnect in Scene EventManager
* Identical to OnNewClient except it passes IClientCore instead of IClientAPI
* See http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide
2008-11-08 17:46:10 +00:00
Tedd Hansen 9511a8c763 Work in progress on SECS stuff. Have been holding it off until after 0.6 release. Still messy as hell and doesn't really work yet. Will undergo dramatic changes. AND MOST IMPORTANTLY: Will be conformed to work in coop with todays DNE and XEngine, hopefully one day providing a common interface for all components. 2008-11-08 17:35:48 +00:00
Adam Frisby cf0a14bec9 * Added IClientIM to IClientCore interfaces
* Changed SendInstantMessage, dropped fromAgentSession and imSessionID as security precaution, see http://opensimulator.org/wiki/OpenSim_0.6_IClientAPI#Porting_Guide for details on porting.
* Removed unused usings from Framework.*
2008-11-08 17:20:54 +00:00
Homer Horwitz 07cfa1e70b Fix broken build since r7179 2008-11-08 17:16:28 +00:00
Homer Horwitz 718425e7dc Added necessary locking to LandManagementModule. As it is used by several
threads concurrently, you'll get bad Heisenbugs without correct locking.
This might fix Mantis#2413
2008-11-08 17:00:42 +00:00
Homer Horwitz 38b99e998e Small bugfix for RemoveNeighbourRegion 2008-11-08 16:55:59 +00:00
Adam Frisby b0a90642de * Made ClientLoop non-infinite, ClientLoop will now disengage when the client has logged out.
* Cleaned up a section of LLClientView
* Removed unused 'using' from HTTPServer 
* Please test this patch.
2008-11-08 16:22:36 +00:00
Adam Frisby 6d5248441d * Implementing first of the 0.6 IClientAPI Changes
* Introducing IClientCore - this will be the key replacement for IClientAPI in the long run, it has a very minimal set of methods designed to allow you to access specialist API's.
* See https://lists.berlios.de/pipermail/opensim-dev/2008-September/003049.html for the early discussion on this.
2008-11-08 16:09:15 +00:00
Melanie Thielker 5c0fd512e8 Fix llParseString* to create LSLStrings. This makes llListFindList work
on lists created by parsing
2008-11-08 15:31:02 +00:00
Melanie Thielker e93828fe00 Add some discovery code, laying groundwork for region-crossing scripts
No user functionality yet
2008-11-08 14:35:52 +00:00
Charles Krinke 69afefa788 Change Version string from 0.5.11 to 0.6.0 for release. 2008-11-08 14:32:56 +00:00
Jeff Ames bbb8d6fc51 Remove empty OSUUID.cs file. Add copyright headers. Minor formatting cleanup. 2008-11-08 14:28:43 +00:00
Jeff Ames ab749af130 Fix .mdb include in Prebuild. 2008-11-08 13:55:11 +00:00
lbsa71 07386b223d * Removed <if> in <fileset> in NAnt target introduced in 4045. Chi11ken should have a look at this. 2008-11-08 13:00:24 +00:00
lbsa71 c0d69d0ec7 * Rebuildt Prebuild.exe to fix vs2008 not creating Solution
* Wrapped solution streamwrites in using for great justice
2008-11-08 12:15:28 +00:00
Melanie Thielker 0fc57de7de Remove part of another patch that would cause DNE to nuke the sim in it's
current form
2008-11-08 02:31:57 +00:00
Melanie Thielker 833f5e8bed Refactor IEventReceiver back into IScriptEngine 2008-11-08 02:24:34 +00:00
Justin Clarke Casey 8699c2b3b9 * Correct catch changed on last commit, since I just realized I started making it catch a little too much, in principle 2008-11-07 23:08:51 +00:00
Justin Clarke Casey 1effc31b14 * minor: Remove mono compiler warning 2008-11-07 23:04:25 +00:00
Justin Clarke Casey bf9384d594 * Apply http://opensimulator.org/mantis/view.php?id=2582
* Send prim flags as booleans from LLClientView rather than in the native LL array
* Thanks idb
2008-11-07 22:57:32 +00:00
Justin Clarke Casey 4ace67a81d * Fix bug in r7162 where avatars could not move
* Was caused by the lack of a local id.  Local ids are now given from the same sequence as prims, rather than a separate one
* I don't believe this will cause any problems, but please revert to a separate sequence if it does
2008-11-07 22:49:36 +00:00
Justin Clarke Casey ba1d9ca26b * refactor: cleanup AllocateLocalPrimId() a bit more 2008-11-07 22:08:58 +00:00