Commit Graph

3202 Commits (6bf4d88397bb95cf7d8f304604481838edf75280)

Author SHA1 Message Date
Justin Clarke Casey 57fea65c82 * Revert caps fetch inventory service back to UDP for now
* Linden client 1.19.1.4 appears to be happy using UDP for this request again, and Linden's own servers (1.21) don't appear to be supplying the CAPS version currently
* This should for now fix the bug where texture selection in the edit window both shows only already open textures, and later stops subsequent inventory requests from working.
2008-05-09 21:50:22 +00:00
Justin Clarke Casey 3f345bf685 * Removing polling delay for non-CAPS inventory fetch if the client has not yet received data from the inventory service
* Replaced instead with the system now used by other requests where the fetch request is placed on a queue and service when the data comes in
2008-05-09 21:33:19 +00:00
Justin Clarke Casey d9dffc4a9a From: Michael Osias <mosias@us.ibm.com>
Stop .net generating ambiguous operator errors when two integers are compared for equality in LSL
2008-05-09 17:23:27 +00:00
Justin Clarke Casey 6e2c7da018 * Minor: Insert utility function to format raw xml strings into indented xml for debugging purposes 2008-05-09 15:51:02 +00:00
Justin Clarke Casey fe8f9a4b25 * Restoring some initial inventory lookup polling delays in order to deal with situations seen on osgrid 2008-05-09 13:36:08 +00:00
Justin Clarke Casey 313a635d1e * Fix opensim region server shutdown. 2008-05-09 13:21:12 +00:00
Teravus Ovares 7e275bfa37 * Wrote a method to get the OpenJpeg data of a sculpt texture asset and save it to the prim shape.
* Added some stuff around sculpted prim meshes..   but it's just there so the project compiles now.
2008-05-09 01:28:54 +00:00
Teravus Ovares 646df0dc2c * remove 2 warnings. 2008-05-08 20:45:50 +00:00
Teravus Ovares 4b924f2eb6 * Committing an extra bit of permissions for attaching to ensure that the perms are in line with project goals. 2008-05-08 19:22:20 +00:00
Adam Frisby afd08c7477 * Proper fix for 1191 - Missing TypeData in ViewerEffectEventHandlerArg. 2008-05-08 14:09:12 +00:00
Adam Frisby 2eecc9756a * Attempted Fix for 1191 - Crash on ViewerEffectHandler. We are missing typedata data however it seems. 2008-05-08 14:06:48 +00:00
Adam Frisby dc21e8d5e2 * Applying patch #1121 - Fixes for llListen() (Thanks Middlelink!) 2008-05-08 13:41:10 +00:00
Adam Frisby 4fa0cbdfbb * You can haz more spring cleaning.
* Eventually this codebase will be clean. >_>
2008-05-08 05:35:01 +00:00
Teravus Ovares 92c03978e1 * Fixes Prim ExtraParams
* Fixes Sculpty handling
* Fixes Light handling
* Fixes Flexi handling
* Fixes Sculpty + Flexi handling
* Fixes handling of Flexi type
* Fixes Changing prim type after changing to sculpty corrupting prim.
* Ugly code.
2008-05-08 04:58:44 +00:00
Adam Frisby ba8ff761c0 * Reduced sleep durations in a number of files. 2008-05-08 04:47:38 +00:00
Adam Frisby 17366af846 * Added Obsolete() tag to IClientAPI.OutPacket.
* Increased compiler warnings by a whoppingly large number.
2008-05-07 21:31:15 +00:00
Adam Frisby a95f13a646 * Removes references to libsecondlife.Packets from IClientAPI. BAD PROGRAMMERS. NAUGHTY.
* Thanks to Andrew (DeepThink) for working on this one.
2008-05-07 20:31:48 +00:00
Teravus Ovares 86669a1664 * Other then the prim update experiments that are going on now, llTakeControls works now along with the 'release controls button'. llReleaseControls() works mostly :D. 2008-05-07 19:41:03 +00:00
Sean Dague 5ff3c03c12 get all the right bits to SendPrimitiveToClient so we can actually
set vel, acc, and rvel in the packet (though this isn't done yet).
2008-05-07 18:40:18 +00:00
Justin Clarke Casey 250fb6f5db * Move shutdown processing to base OpenSimServer, overriding the method where appropriate
* This also means that the command quit (as well as shutdown) will now close down grid servers (instead of only being in place for the region server)
2008-05-07 16:24:15 +00:00
Justin Clarke Casey e35e83312d * Increase number of poll attempts an inventory items request will make under CAPS 2008-05-07 15:53:27 +00:00
Justin Clarke Casey 382b9c18ed From: Alan M Webb <awebb@vnet.ibm.com>
The attached patch moves the sun module incrementally nearer where it
needs to be. Default behavior, i.e. no overriding configuration is to
match Second Life's diurnal/nocturnal rhythm.

All designated values are now sent to the client.There remain a couple
of unanswered questions about how this SHOULD be implemented though.
2008-05-07 14:15:59 +00:00
Sean Dague 0b09966c7e send actual velocity and angular velocity in terse updates
instead of hardcoding to zero when the primitive is non physical.
llTargetOmega should work now.
2008-05-06 22:17:00 +00:00
mingchen d8e02d9e5c *LLClientView is now pushed the EstateSettings instead of pulling it from the scene...more to standards
*LandChannel no longer requires libsecondlife.Packets (it should have never needed it in the first place)
2008-05-06 18:29:58 +00:00
Teravus Ovares add13276a9 * Committing a bunch of work for control snatching. Not done yet. No visible features. 2008-05-06 02:47:14 +00:00
mingchen c535f3947d *Standardized the Land module by removing all references to libsecondlife.packets 2008-05-05 17:44:40 +00:00
Teravus Ovares ce19234dc8 * Unraveled the DEBUG_CHANNEL mystery.
* Moved script errors to the debug channel.
* Typing '/2147483647 OK' results in a debug_channel message.
* Expanded the available parameters that are send-able through IClientAPI
2008-05-05 15:53:11 +00:00
mingchen ddb3a9bdf8 *Fixed a mistake in the EstateManagementModule that messed up the trunk. 2008-05-04 19:19:18 +00:00
mingchen 63c104efde *Fixed up EstateManagementModule to the module standard - no more packets allowed!
*Started cleaning up the land module
2008-05-04 18:59:18 +00:00
Justin Clarke Casey 5ab392d0ee * Refactor: A final root folder special case removal, this time in HandleFetchInventoryDescendents[CAPS] 2008-05-04 01:14:21 +00:00
Justin Clarke Casey 6c62985fd5 * Refactor: Do the root case removal thing again, this time in ItemReceive() 2008-05-04 01:04:49 +00:00
Justin Clarke Casey 9646258fdf * Refactor: Simplify CachedUserInfo.FolderReceive() by removing root folder special case 2008-05-04 00:53:01 +00:00
Justin Clarke Casey 0f716e3ac4 * Simplify CreateFolder() by folding previous special root case into FindFolder() 2008-05-04 00:06:34 +00:00
Justin Clarke Casey 27a7391d6b * Add ability to defer item actions for AddItem() and DeleteItem(). This won't be useful until we let the client cache (again?) 2008-05-03 23:33:20 +00:00
Justin Clarke Casey 56827894e9 * Refactor RemoveItem() 2008-05-03 23:23:46 +00:00
Justin Clarke Casey 688940e810 * Refactor: Renaming item and folder tree search methods to have Find*() prefixes 2008-05-03 22:39:33 +00:00
Adam Frisby 87b3137928 * Cleaned up code in Terrain, Tree and Map modules.
* Fixed a bug with Terragen loader where it would do bad things on a non 256x256 sized terrain. Now loads the array correctly. 
* Moved MapImageModule.cs to Modules/World/WorldMap
* Changed Location.RegionHandle to use Helpers.GetUlong instead of doing it ourselves.
2008-05-03 20:00:35 +00:00
Justin Clarke Casey 068163b14b * Refactor: Move MoveFolder() and PurgeFolder() into CachedUserInfo (which arguably should be split) 2008-05-03 19:50:49 +00:00
Justin Clarke Casey 45430a5403 * Refactor: move UpdateFolder into CachedUserInfo 2008-05-03 19:27:34 +00:00
Justin Clarke Casey 45a71bb045 * Make user profile cache service complain if the caller assumes a profile exists when in fact it does not 2008-05-03 19:12:17 +00:00
Justin Clarke Casey 1087542705 * Refactor: Move bulk of CreateFolder from UserProfileCacheService into CachedUserInfo
* Remove unused/superseded methods from GridInventoryService
2008-05-03 18:57:02 +00:00
Justin Clarke Casey a5dfca8958 * Refactor: remove redundant userId parameter from UpdateItem() and DeleteItem()
* Put warning in remove folder method about non implementation (not that this is used anyway - may be legacy)
2008-05-03 18:13:32 +00:00
Justin Clarke Casey f5609ba452 * Refactor: remove pointless agentId parameter from CachedUserInfo.AddItem()
* Remove old framework asset transactions files which were region modularized
2008-05-03 18:01:38 +00:00
Teravus Ovares e8acb49fef * For your fragging desire, damage enabled land works, but watch out!, life does not regenerate until you're dead! 2008-05-03 15:39:40 +00:00
Sean Dague 1b7f1c956c plumb in connection string to the user database paths. mysql and mssql
just ignore this for now, but it lets us get connect strings to sqlite
and nhibernate.
2008-05-02 18:59:12 +00:00
Adam Frisby 67bbfadc06 * More refactorings of UDPServer.
* Removed all references where possible.
* Renamed lots of variables from UDPServerXYZ to clientServerXYZ
2008-05-02 18:26:19 +00:00
Sean Dague a1c0e89067 adding a few more prep parts for this object 2008-05-02 18:25:53 +00:00
Adam Frisby c6236b5cf3 * Refactored ClientView into LLClientView. Removed all direct references to UDPServer and replaced with IClientNetworkServer.
* This should, in theory, let us make new servers with different protocols very easily (rather than the challenge we would have faced before).
* BREAKS LoadBalancing module for the moment.
* Commit 1/3 - Please dont attempt to update to this revision until all 3 are in.
2008-05-02 16:40:17 +00:00
Sean Dague 4a8f432441 minor refactoring. Change getName and GetVersion methods (yes the had different casings)
to Name and Version properties for the User stores.
2008-05-02 12:35:24 +00:00
Jeff Ames 058191e6cc Update svn properties. 2008-05-02 03:34:06 +00:00
Justin Clarke Casey a81edef2b9 * Refactor: Remove redundant userID from further up the inventory request chain 2008-05-01 21:22:03 +00:00
Justin Clarke Casey 1de6cffa28 * Refactor: Remove the unused userID parameter that was being passed into almost every inventory method
* This allows lots of redundant inventory methods with only slightly different names to be eliminated.
2008-05-01 20:47:33 +00:00
Sean Dague e41232bac5 create pass through of UserManagerBase to plugin calls 2008-05-01 20:36:43 +00:00
Sean Dague cc5351ec1b remove the db4o asset server 2008-05-01 20:33:43 +00:00
Sean Dague 86d2e53d1f added stubs for appearance bits to all the db layers 2008-05-01 20:16:26 +00:00
Adam Frisby 76d8eaa406 * Thanks to Mic Bowman for inspiring me to look at that we are still using ASCIIEncoder in places we shouldn't. 2008-05-01 18:50:44 +00:00
Sean Dague 70f7672dad added in IUserService functions. These don't do anything yet,
but the set all compiles together fine, and it provides people
an idea of where we are heading.
2008-05-01 18:36:43 +00:00
Adam Frisby 01f31fd933 * Breaking all the code, breaking all the code..!
* Made a bunch more members static, removed some dead code, general cleaning.
2008-05-01 16:23:53 +00:00
Adam Frisby 5da028f6ef * Removing duplicate files that somehow got undeleted from TortoiseSVN. Fixed. 2008-05-01 15:46:46 +00:00
Adam Frisby a1c8aa4050 * Cleaned namespaces of entire solution. OpenSim directories now correspond with namespaces. 2008-05-01 15:36:39 +00:00
Adam Frisby 4692e92312 * Assorted spring cleanings. 2008-05-01 14:45:56 +00:00
Jeff Ames d51ce47b2d Update svn properties. Minor formatting cleanup. 2008-05-01 14:31:30 +00:00
Adam Frisby 25a49ac4de * Spring cleaned a bunch of '//TODO: unused' marked functions. 2008-04-30 23:11:07 +00:00
Justin Clarke Casey 3508298ddf * Refactor: Rename InventoryFolderImpl.HasSubFolder() to GetDescendentFolder() 2008-04-30 20:04:06 +00:00
Justin Clarke Casey 3984a7fda1 * Resolve mantis 1068, 1095
* The resolution takes the form of not crashing the session if the folder the user is attempting to add already exists (e.g. there is one already with the same UUID).
* Printing out warnings instead
2008-04-30 19:55:45 +00:00
Justin Clarke Casey 9817363b93 * Completely inconsequential inventory odds and ends (actual impact - only one log message changed) 2008-04-30 19:08:48 +00:00
Sean Dague a9aee0162a add a bunch of properties for User Appearance 2008-04-30 18:55:58 +00:00
Sean Dague b2077b81eb The beginnings of a UserAppearance container 2008-04-30 18:20:28 +00:00
Teravus Ovares a9cc76e0ef * Long awaited patch from A_Biondi Mantis 923. Kept alive by Melanie. Thanks A_Biondi and Melanie!
* This builds but might not work.   JustinCC will examine..   it may work out of the box.
2008-04-30 16:08:24 +00:00
Sean Dague dd96158afe move IUserService into the OpenSim.Framework.Communications assembly
because all the other I***Service interfaces are there.
2008-04-30 15:03:37 +00:00
Adam Frisby faccbf4994 * Missed a file in previous commit. Sorry! 2008-04-29 18:00:25 +00:00
Adam Frisby 375163a6fe * Spring cleaning.
* Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
2008-04-29 14:04:55 +00:00
Teravus Ovares 1fb54b074c * Added basic 3-5 level undo on prim position/rotation/scale.
* In the future this should be a config option...   and, hopefully this tides the builders over for a little while.
2008-04-28 01:48:21 +00:00
Teravus Ovares 911e63765c * Single Attachments now work from inventory. You can attach from inventory and detach from inventory.
* Detaching from right clicking in world, detaches to your inventory.
* If you go up to a prim and attach it from in world, it appears in your inventory.
* Attachment placement is saved when you detach them. 
* Choosing wear remembers your last attachment point from inventory.
* Wrote a method to update an inventory item's asset and sends the updated inventory item to the Client
* Wrote a recursive method to find the folder of a known existing inventory item.
* Removed a block on physics object position on creation.  This might crash a region or two, let us know via Mantis if your region crashes because of a physics out of bounds error.
* Drop doesn't work.  The menu item doesn't even come up.  Don't know why :P.
2008-04-27 20:10:28 +00:00
Teravus Ovares f71871bca3 * More attachment stuff, reworked some of the inventory routines to be what I need them to be for attachments. 2008-04-27 14:37:51 +00:00
Justin Clarke Casey accd89b3f1 * First draft implementation of copying prim inventory items back to agent inventory
* Now, if you own an item in a prim, you should be able to successfully drag it back into your inventory
* Temporarily, users which are not owners of the item cannot copy it, even if 'everyone can copy' is set
* This is pending fixes/implementation of upstream permission implementation
2008-04-26 20:31:01 +00:00
Sean Dague 2a2ef42e64 replace hard tabs with 4 spaces to be consistant in the source.
Please adjust your editors to not use hard tabs.
2008-04-24 12:27:24 +00:00
Teravus Ovares aa8aee90a3 * Adds much better support for attachments that you right click on in world.
* Your friends can see your attachments now.  People who appear in the sim after you've attached something can also see your attachments.
* You can position & rotate your attachments now.  Positions do *not* save.
* You can detach attachments now the regular way.
* Attachments do not cross into other regions with you..(this isn't too far off)
* Updated ODE to not request terse updates on child prim.
2008-04-24 11:32:41 +00:00
Teravus Ovares 12bba3da4b * Fixed an annoying pop-up box when crossing borders. 2008-04-23 23:55:02 +00:00
Teravus Ovares 1909d74d5f * Patch from Melanie. Mantis 0001037: Add various internal plumbing to the example economy module, implements llSetPayPrice(), money() and llGiveMoney() in scripts. Thanks Melanie!
* Moves module loading before the script engine so the script engine can pick up events from modules registering interfaces with scene.
2008-04-23 22:44:59 +00:00
Justin Clarke Casey 40176c12f9 * Implement full grid mode Trash empty
* Now, emptying the trash should remove folders and the items they contain as well as items which were not in a subfolder.
* This will only work once both the region and grid servers have reached this revision.
* You may also need to clear your cache before this will work
* Refactoring to follow.
2008-04-23 22:13:57 +00:00
Sean Dague 3f95804911 add a database_connect field for the asset server config
which will let you specify a connection string.  Required
for Nhibernate, optional for sqlite (there is a sane default), 
ignored for mysql and mssql until someone implements the 
Iniatialise(string) method.
2008-04-23 20:57:18 +00:00
Sean Dague 3dd98a112f allow for Inventory database source to be specified in main
configs.  This works with sqlite and nhibernate backends, and
stays with default seperate ini files for mysql and mssql until
someone writes those.
2008-04-23 20:48:23 +00:00
Sean Dague a1cc0e436f changes to allow asset_source to be specified in the opensim.ini
this will work for sqlite and nhibernate, but will be ignored for
mysql and mssql (reverting to their ini files) until someone writes
that bit.
2008-04-23 19:13:06 +00:00
Teravus Ovares d194f21a5d * Fix a console issue where pressing return on some operating systems cause the console to crash and complain about 0 regex matches. 2008-04-23 18:41:39 +00:00
Justin Clarke Casey 4db839c3b8 * Implement proper emptying of trashcan on standalone
* On standalone, folders (and their items) should now be persistently deleted on trash emptying, as well as immediate child items
* An implementation for grid mode will follow.
2008-04-23 17:04:15 +00:00
Charles Krinke 67f2b89bf6 Thank you kindly, Tyre for :
Commands with arguments enclosed in Double quotation marks (e.g. filenames or objects with embedded blanks) should be parsed correctly. e.g.:
console command "edit-scale" don't accept prim names with embedded blanks
edit-scale Prim 20x20x20 20 20 20
Region# :
edit-scale "Prim 20x20x20" 20 20 20
Region# :
edit-scale Prim20x20x20 20 20 20
Searching for Primitive: 'Prim20x20x20'
Edited scale of Primitive: Prim20x20x20
Region# :
2008-04-23 14:31:54 +00:00
Adam Frisby 3370d581e1 * Patch #1026 - llDialog support -- Thanks Melanie! 2008-04-23 12:21:54 +00:00
Adam Frisby 2b886ab9f0 * Fix for mantis #1025 - Region always reports that location is unavailable. Thanks Lulurun. 2008-04-23 12:00:23 +00:00
Adam Frisby 163d254bb9 * Applying Mantis #1021 (llStartAnimation/llStopAnimation) - Thanks Melanie! 2008-04-23 11:53:16 +00:00
Adam Frisby bca7ab7e36 * Applying Mantis #1020 (Animations) - Thanks Melanie. 2008-04-23 11:52:25 +00:00
Justin Clarke Casey 41f9bbc26d * Fix mantis #842 - folders which are created but left named "New Folder" in places other than directly under "My Inventory" should now be stored 2008-04-23 11:14:19 +00:00
Justin Clarke Casey 6efb16689a From: Kurt Taylor <krtaylor@us.ibm.com>
Attached is a patch for adding the llGetSunDirection functionality. It was implemented by adding a parameter to estate settings for storing the sun position. The sun position is calculated and stored via the sun module everytime the client's sun position is updated. It was tested with several different srcipts on Linux and Windows
2008-04-23 10:16:26 +00:00
Justin Clarke Casey cd29f90418 * Add folders and items locking in external manipulations of InventoryFolderImpl carried out by CachedUserInfo
* These will do temporarily pending refactoring
2008-04-22 20:59:08 +00:00
Justin Clarke Casey 8d8b4a314f * Add DeleteAllContents() method to InventoryFolderImpl - not yet used but will be soon
* Add locking to InventoryFolderImpl class - need more though.
2008-04-22 20:47:54 +00:00
Justin Clarke Casey fc6e23371f * Extend functionality to better handle delayed inventory service transfers to create folder, move folder and purge folder.
* Old 1.18 get folder functionality requires a little more consideration
2008-04-22 20:24:48 +00:00
Justin Clarke Casey 68c6b6ece3 * Replace previous specific inventory callback code with generic alternative 2008-04-22 18:58:09 +00:00
Justin Clarke Casey 269a2e4b88 * Allow folder renaming to complete after an agent inventory has been received by a region from the inventory service
* This replaces the old behaviour of failing straight away, which could cause lost updates if the inventory service was slow in responding
* This is the first baby step to making all inventory requests behave this way, to reduce inventory lossage
2008-04-22 17:24:13 +00:00
Sean Dague bf1580fba4 From: Dr Scofield <hud@zurich.ibm.com>
the attached patch set is centered around RemoteAdminPlugin and focuses
mainly on making it more robust (i.e. more parameter checking and better
error reporting) but also we've re-implemented the LoadTerrain stuff that
got disabled during the terrain code reworking:

   * missing PostInitialize() calls on region modules that were loaded
     for regions created via RemoteAdmin's CreateRegion XmlRpc call
   * re-implements RemoteAdmin's LoadTerrain XmlRpc call (probably lost
     during the TerrainModule rework)
   * adds lots more parameter checking and error reporting to RemoteAdmin
   * adds a read-only property to RegionApplicationBase so that we can
     access the CommsManager
   * adds Exceptions to TerrainModule so that we get better error case
     feedback (and can report more meaningful errors in turn)
   * adds a CheckForTerrainUpdate() call to
     TerrainModule.LoadFromFile() to make terrain changes effective
   * adds TryGetCurrentScene(LLUUID) to SceneManager so that we can
     retrieve Scenes not only by name but also by LLUUID


   cheers,
   dr scofield
2008-04-21 12:42:56 +00:00
Adam Frisby fef3b36894 * Optimised using statements and namespace references across entire project (this took a while to run). 2008-04-21 07:09:17 +00:00
Justin Clarke Casey 3d3eec436a * Remove user profile from cache when they log out from a region.
* A much more significant fix is required to clean up the cache when a user moves out of a region, but really better handling of delayed inventory cache updates needs to be 
written first, and possibly better affinity to cut down agent inventory requests when the move is between two regions hosted on the same server.
2008-04-20 20:36:06 +00:00
Justin Clarke Casey 8b177bf4a8 * Tweak inventory login failure message to point to the region owner as first point of call rather than the grid owner 2008-04-20 19:39:24 +00:00
Justin Clarke Casey e755727a0f * Change lazy user inventory creation on first login to synchronous rather than async.
* Add more error checking so that we don't proceed if there has been a problem with inventory retrieval
2008-04-20 18:45:03 +00:00
Justin Clarke Casey d3cd2b0ae4 * On grid mode, if the inventory service is responding but returning an empty response to a whole agent inventory request, then post an inventory login failure message.
IMO, this is better than allowing the agent to login with an apparantly blank inventory.
2008-04-20 18:19:34 +00:00
Justin Clarke Casey 70233d937f * Start catching rogue SocketExceptions which occur (at least on mono) when a response stream for a request which actually required no response, is closed 2008-04-19 22:48:06 +00:00
Charles Krinke 6865f1c67d Thank you kindly krtaylor for a patch to solve:
Linked objects won't scale together properly, only the root object scales. 
This happens with scaling both up and down or inputting numbers in the edit dialog.
2008-04-19 21:01:26 +00:00
Teravus Ovares dd4deebbcb * Re-Fixed caps
* This fixes chi11ken's/OpenViewer's libsl cap issue.
2008-04-17 19:42:54 +00:00
Jeff Ames fe3265f491 Update svn properties. Add copyright info to some source files. 2008-04-17 12:16:19 +00:00
Teravus Ovares 75df0c9000 * Patch from ChrisDown to fix odd results when using landmarks. Thanks Chris! (Tweaked slightly so avatar don't end up underground).
* Removed some testing notices I had in there that were obnoxious.
2008-04-17 05:23:43 +00:00
Teravus Ovares 244bfcde5b * Implements 'Set Home to Here'
* Implements 'Teleport Home'
* User Server has to be updated for it to save your home in grid mode
* home position accuracy is in int because the grid comms ExpectUser method tries to convert to Uint and crashes if it gets a float.  Added a convert to decimal in ExpectUser but to avoid a breaking change with old revisions, kept the save value in int for now.   Eventually it needs to be a float, but lets release another incremental version before doing that.
2008-04-17 05:07:14 +00:00
Teravus Ovares 1b22c720a0 * Set default EstateSettings regionFlags to allow 'set home here', and 'create landmark'. This won't apply retroactively, so you'll need to replace the region_flags value in your estate_settings.xml file to 336723974 and then in the estate tools dialog, re-set your desired simulator setup if you want people to be able to create landmarks without viewing admin options. 2008-04-16 14:29:57 +00:00
Teravus Ovares 7c1f17b994 * Applying melanie's Landmark patch. Thanks Melanie!
* To make a landmark, you currently have to enable admin options in the advanced menu first.  We're working on this..   however use the admin options solution in the mean time.
2008-04-16 14:10:54 +00:00
Charles Krinke bf7e7b2c57 Thank you very much, Kmeisthax for:
This patch makes the "Show in Search" checkbox on the viewer work. Additionally, I also discovered that show-in-search objects use the JointWheel flag, so this patch currently uses that flag. LibSL needs to add a flag to enum LLObject.ObjectFlags, "IncludeSearch = 32768" so we aren't using a legacy flag.

Additionally this patch also contains a small fix to BaseHTTPServer that lets the response content-type to be something other than text/html. For some reason this didn't get submitted with the DataSnapshot merge.
2008-04-16 03:55:21 +00:00
Teravus Ovares e777f88028 * A tweak of the caps system so that new caps have random paths instead of a fixed path
* This allows caps requests to be routed to regions where the agent is currently a root agent instead of the region that they logged into as it did previously.   
* This fixes a wide variety of bugs related to 'can't do X once i've crossed a border'.
* The first seed cap request fails, the second one works.  (this generates an error message on the console)
* Experimental.
2008-04-15 23:10:12 +00:00
Justin Clarke Casey 379ac9c92a * Make it easier to follow logins on the user server by changing and tidying up log messages 2008-04-15 22:41:34 +00:00
Justin Clarke Casey 39165f3de4 * Send a meaningful response to both the user server console and the client if a login fails because the inventory service has failed. 2008-04-15 18:10:42 +00:00
Sean Dague 6f8ff32630 From: Dr Scofield <hud@zurich.ibm.com>
ansgar and i have been working on an asterisk voice module that will allow
   us to couple opensim with an asterisk VoIP gateway.

   the patch below consists of
     * AsteriskVoiceModule region module: alternative to the plain-vanilla
       VoiceModule, will make XmlRpc calls out to an asterisk-opensim
       frontend
     * asterisk-opensim.py frontend, living in share/python/asterisk, takes
       XmlRpc calls from the AsteriskVoiceModule
          * account_update: to update/create a new SIP account (on
            ProvisionVoiceAccountRequest)
          * region_update: to update/create a new "region" conference call
            (on ParcelVoiceInfo)
     * a asterisk-opensim test client, living in share/python/asterisk, to
       exercise astersik-opensim.py
   this still does not give us voice in OpenSim, but it's another step on
   this path...
2008-04-15 14:24:15 +00:00
Teravus Ovares 682f4e9257 * Fixes an issue with the BaseHttpServer in Linux
* Fixes an estate naming issue
* Fixes a land issue with the landobject not reporting the proper parcel prim.
* A few other tweaks.
2008-04-15 06:21:44 +00:00
Justin Clarke Casey b7ae8701ce * Working towards notifying the client if the inventory service has failed, rather than simply returning 0 items.
* This is very early support which would only be triggered in a rather unlikely case (if the user server correctly received an inventory skeleton, but later on failed to return the whole inventory in a timely manner.  Also, this only applies to the 1.19.1.4 client onwards
* Code cleanup and support for other failure cases (failure of inventory caching on region crossing, failure to actually add a folder/item, etc, should follow.
2008-04-14 18:43:23 +00:00
Teravus Ovares e21886eea0 * Fixed a few warnings.
* Added license info to a few files it was missing from.
* Fleshed out the landbuy interfaces
* If you add '-helperuri http://127.0.0.1:9000/' to your list of parameters you tell the client to use when you start it up you can transfer ownership of parcels now in standalone.  Structured gridmode requires a lot more work, see the documentation in the example money module.   The example money module is not secure especially in standalone mode.
2008-04-14 17:13:38 +00:00
Justin Clarke Casey 5c52068dd7 * Get Util.GetHostFromDNS to tell us the dns address it was trying to resolve if it fails. 2008-04-14 15:32:39 +00:00
Sean Dague a3da86c6d7 Possible fix for the 100% CPU issue. I've not fully
confirmed that this fixes the issue, however functional
correctness of BlockingQueue requires that these locks be
put into place anyway.
2008-04-14 14:37:36 +00:00
Justin Clarke Casey 665c5d89f8 * Correct comment from previous patch - I'm not reversing mantis #912 at all, which was in an entirely different location 2008-04-13 23:48:46 +00:00
Justin Clarke Casey eacba916ec * Reverse mantis #912 since it was causing inventory to disappear from the root folder on 1.19.1.4 non-cache clear relog.
* The folder version numbers probably do need to be non-zero, but there is a further subtlety of the protocol to understand first
2008-04-13 23:38:51 +00:00
Teravus Ovares be93c0f29a * Fix a bug in the friends module that causes a friend not to appear online when they were.
* A few things for testing.
* This makes a modification to the region registration with the grid server so that the region can send it a chosen password to identify itself.  It will not cause any errors, if either one are not updated.
2008-04-13 22:47:12 +00:00
Justin Clarke Casey 451a5bbf30 * Put in crude poll waiting for 60 seconds for delayed user inventory delivery from the inventory service
* This will reduce failures where the inventory server is simply slow
* Still need to properly inform the user if the inventory service has failed altogether
2008-04-13 22:09:07 +00:00
Sean Dague bcafd8c0a9 add some convenience properties to get floats out of
vectors for UserAgentData
2008-04-11 23:09:05 +00:00
Justin Clarke Casey b3f783ae05 * Reduce publicly exposed fields on InventoryCollection, which was causing duplicate sets of inventory data to be sent over the grid
* Won't actually fix anything, since we were handling the problem anyway
* Also add more doc, fix up debugging messages, etc
2008-04-11 20:37:26 +00:00
Justin Clarke Casey 7bfd7e6f08 * Remove the worst excesses of my inventory debugging code 2008-04-11 18:58:09 +00:00
Justin Clarke Casey 7ac7f79f88 * Eliminate a class of errors where an inventory request could be made before the region had completely received the inventory for the user.
* A much larger race condition where the inventory request could be made before the region gets any data at all will also be fixed in the near future.
* This change also fixes a regression from two patches ago where items stopped appearing in standalone inventory
2008-04-11 18:46:54 +00:00
Justin Clarke Casey 649f304e76 * Minor inventory code cleanup following on from last patch 2008-04-11 18:19:21 +00:00
Justin Clarke Casey a5176c2e2c * Change inventory async response deliver to deliver all items and folders at once, rather than each individual
* This is required in order to work towards eliminating some inventory race conditions and to better deal with situations where a grid inventory server is slow or not responding.
2008-04-11 18:13:10 +00:00
Justin Clarke Casey e26d4fc085 * minor: replace test of CachedUserInfo.RootFolder != null with something more readable, and make RootFolder get only 2008-04-11 17:02:20 +00:00
Justin Clarke Casey 205b95f2e8 * minor documenting, cleanup, renaming in user profile cache service 2008-04-11 16:49:20 +00:00
Justin Clarke Casey 576db5b72a * documenting and minor refactoring in UserProfileCacheService 2008-04-11 16:30:58 +00:00
Justin Clarke Casey 9a7717743b refactor: eliminate method in UserProfileCacheService 2008-04-11 16:13:33 +00:00
Justin Clarke Casey b3892096f3 * From: Dr Scofield <hud@zurich.ibm.com>
* This patch adds support for saving a dynamically generated region to the filesystem (as a region xml file)
* Also adds some error checknig to make sure the dynamically generated region name, id or location are not already taken.
* Thanks Dr Scofield
2008-04-11 15:00:41 +00:00
Adam Frisby 00b8e04ece * Added a "regionload_regionsdir" option to OpenSim.ini which determines where Region.XML files are stored. If not set, it will default to the usual location. 2008-04-11 04:21:29 +00:00
Sean Dague f2bd8b4aed add some convenience properties. Move all the fields
to the top of the file.
2008-04-10 23:51:42 +00:00
Justin Clarke Casey b41abbd50e * Minor: really just comment and subsequent indentation adjustment. Preparation for handling inventory problems where the inventory server receives a request and never responds, or is late in responding 2008-04-10 17:44:19 +00:00
Justin Clarke Casey 5ad4c79a4e * Refactor GetUsersInventory() 2008-04-10 16:04:19 +00:00
Charles Krinke 4bdb4a2646 Thank you kindly, A_Biondi for a patch that:
Handles the CreateItem cap request for all wearables, 
setting the proper value in inType and assType.
2008-04-10 15:32:09 +00:00
Justin Clarke Casey ba132f3a0b * Minor: get CreateNewUserInventory() to return true on success 2008-04-10 15:28:52 +00:00
Justin Clarke Casey ded704ef1f * Minor inventory message cleanup and documentation 2008-04-10 15:22:01 +00:00
Sean Dague 55ac1c6dce renaming of attributes in UserAgentData for readability 2008-04-10 14:50:52 +00:00
Sean Dague ef7dfae41c changing UserAgentData to use properties. This caused more
grief than expected, as monodevelop doesn't like to refactor 
properties of properties.
2008-04-10 14:37:17 +00:00
Sean Dague 25fea01b92 further renaming of properties for clarity 2008-04-10 14:09:30 +00:00
Sean Dague c176caeb05 moved fields to properties for UserDataProfile, which was
actually a little more work than I expected given the copious
use of out params.
2008-04-10 13:53:06 +00:00
Teravus Ovares 06967e230f * Updates BetaGridLikeMoneyModule
* Several people have asked for a way to limit uploads, so I've decided to show people how to do this in the BetaGridLikeMoneyModule.
* Configure it in OpenSim.ini using the [Economy] header.  See the bottom of the OpenSim.ini.example for more information.
* This also fleshes out the Economy API a bit more.
2008-04-10 09:36:55 +00:00
Sean Dague 69d5eb3cb2 split out UserProfile 2008-04-09 20:38:25 +00:00
Sean Dague 5861084e0b make this a class 2008-04-09 15:20:26 +00:00
Sean Dague f8cb4f993d check in an OSUUID wrapper as potential replacement
for LLUUID in most of our code.  Like LLUUID, this is
basically just a box type on the .NET Guid.
2008-04-09 14:38:23 +00:00
Sean Dague cb436ffe70 add comment for version field based on what Teravus said :) 2008-04-08 23:37:02 +00:00
Sean Dague a6d27e0929 further refactor and rename of InventoryFolderBase properties
to reflect what they really are.
2008-04-08 23:26:31 +00:00
Justin Clarke Casey 8eab365e21 * Adjust some inventory lookup failure messages to reduce confusion as to what just went wrong 2008-04-08 20:31:36 +00:00
Justin Clarke Casey 90422db35a * Update code to use patched libsecondlife.dll which removes the problem where the AssetType enum was 'Primitive' rather than 'Object'
* The libsecondlife patch was also applied to libsecondlife itself in r1714
* Many, many thanks to Dr Schofield (IBM) for his help on this :)
2008-04-08 14:39:29 +00:00
Sean Dague a02b3fe015 refactor of InventoryCollection for good measure 2008-04-07 23:34:41 +00:00
Sean Dague 5ee75998ce more refactoring, this time on InventoryFolderBase
* wrap attributes in properties
 * clean up names a little bit
 * clean up name styles
2008-04-07 23:27:05 +00:00
Sean Dague f436815107 Refactor InventoryItemBase to do the following:
* wrap fields as Properties
 * rename some fields/properties to more sensible names
 * set style to PropName to match more standard C# approach
2008-04-07 23:15:35 +00:00
Sean Dague 79222a0b45 break out the 5 classes that were
InventoryItemBase into seperate .cs files 1 per class
2008-04-07 18:28:48 +00:00
Justin Clarke Casey c5a5555d4f * Minor: log message correction 2008-04-07 16:46:49 +00:00
Justin Clarke Casey 2caea75aa8 * Okay you can put down your pitchforks - this patch should fix rezzing of items (with inventory) on Windows
* Now properly dealing with prims which don't contain items - thanks to thomas for the patch which gave insight into this situation
* Also, an xml exception no longer crahes the client session    
* Leaving in debugging lines in case there are further problems
* Not yet tested on Linux, though I'm just about to.
2008-04-07 16:30:29 +00:00
Justin Clarke Casey dfe5e9d4eb * EXPERIMENTAL ROUGH DRAFT: First rough implementation of avatar to avatar item giving
* Now you can drag an object from your inventory and give it to another avatar
* !!! Use at your own risk !!!  Many things are unimplemented as of yet, including permissions (the person receiving your item can probably do absolutely everything with it)
* Also, items for the receiving end up in their root folder rather than the objects folder
2008-04-07 01:46:00 +00:00
Justin Clarke Casey 57afbdbdbd From: Kurt Taylor <krtaylor@us.ibm.com>
Patch to remove commented NotImpemented calls from within implemented script functions
2008-04-04 19:09:56 +00:00
Sean Dague f010d398cf make AssetBase use Properties instead of fields. This probably
breaks compatibility on grid ops because native serialization is
used here.
2008-04-04 18:14:00 +00:00
Justin Clarke Casey f5ed635750 * Make objects appear in 1.19.1.4 inventory again
* You will probably need to clear your client's cache before this will take effect
* The problem was that the underlying libsecondlife.AssetType was returning "primitive" rather than "object".  This fix is in lieu of correcting/updating our libsecondlife.dll
2008-04-04 17:43:29 +00:00
Justin Clarke Casey cdff09d0bb * Removing debugging goo for mantis 854 since the fix is reported to work. 2008-04-04 15:02:20 +00:00
Teravus Ovares 27876795f4 * Fixed up some documentation regarding the inventory descendants method XML. Cleaned up an error report. Noted at the top, why the two unused caps path variables must stay. 2008-04-04 08:33:29 +00:00
Teravus Ovares 42e4284277 * Fixes CAPS InventoryDescendants and the notorious 'LLSDParseException:expected </llsd>' error.
* Objects folder still exhibits strange behavior.
2008-04-04 08:07:49 +00:00
Teravus Ovares 75b192a2a0 * Fixing permissions on items returned via CAPS based inventory 2008-04-04 05:50:46 +00:00
Teravus Ovares 7bc0b7b6c1 * Fixes Region/Estate panel in current Linden Official client.
* Sets the default estate parentID to 1..  which means that all regions are treated like private estates in the client as opposed to Linden Mainland. (no space server hiccup message).  If that message annoys you and you want to get rid of it, set your parentEstateID to 1.
2008-04-03 22:59:38 +00:00
Jeff Ames 4f174fbf57 Update svn properties. 2008-04-03 18:25:01 +00:00
Justin Clarke Casey b9b99ee87c * Attempted resolution for mantis 854
* Also adds more temporary debugging goo in case the fix didn't work
2008-04-03 17:13:45 +00:00
Justin Clarke Casey 042cd57e94 * From: Dr Scofield <hud@zurich.ibm.com>
* This patch removes voice code into a region module.  This required the implementation of events and other code to allow region modules to register their own caps handlers, and should allow different voice module implementations.
* CAVEAT: This does not provide complete voice support, it merely provides the hooks so that it can be plugged in.
2008-04-03 15:44:20 +00:00
Justin Clarke Casey 5fe4a39927 * Adding request time limiting strategy for texture requests, though this isn't useable yet 2008-04-03 15:28:50 +00:00
Justin Clarke Casey 6ef4f1bdae * Resolve mantis 849
* Scripts in prims within linksets can now be properly edited using the 'edit linked parts' linden ui option
2008-04-03 13:33:46 +00:00
Justin Clarke Casey f27f861072 * Attempt to resolve mantis 873 by placing caps removal operations in a critical section 2008-04-02 16:46:58 +00:00
Sean Dague 86cf07f1c4 changing more references to OpenSim.Data 2008-04-02 15:38:44 +00:00
Sean Dague c52c68f314 whole lot more moving 2008-04-02 15:24:31 +00:00
Sean Dague 35420b21a3 reorganizing namespaces to put all the Data stuff into it's own namespace
/ dir structure.  This is coming in over a few changesets so consider trunk
broken for the next 30 minutes as these get pulled together.
2008-04-02 15:22:39 +00:00
Justin Clarke Casey 1038c244cf * Add some temporary task inventory item inflation debug messages to investigate mantis 854 2008-04-02 15:16:32 +00:00
Sean Dague b28ef3ca14 refactor, make the file name the class name 2008-04-02 14:49:35 +00:00
lbsa71 f210cf0195 * Added AvatarAppearance.sql for MSSQL 2008-04-02 13:06:52 +00:00
lbsa71 667ebc8ea2 * Reworked Data Framework so that MSSQL works
* Introduced uint as field type
* Removed what should be superfluous Guid handling
* Introduced stub MySQLDataReader if we need to fix the Guid handling anyway
2008-04-02 13:06:18 +00:00
Teravus Ovares b790a16e98 * Updating the version of the ODE library. (big update). The Mac library needs to be updated still.
* Adding some XMPP stuff that's incomplete.
2008-04-02 01:03:31 +00:00
Sean Dague 731dcbad5b sadly, had to modify line by Ter because it caused mono cil compiler
to spin off into a seemingly infinite loop.
2008-04-01 13:04:29 +00:00
Teravus Ovares a0a0229fdf * Set Svn Properties eol-style: |337 2008-03-31 23:54:49 +00:00
Justin Clarke Casey 106fd2f616 * From: Dr Scofield <hud@zurich.ibm.com>
* (and Ansgar/Ansi)
* Fleshes out the voice stubs to better interact with the viewer CAPS requests - no actual voice support yet!
* In his own words
"the attached patch enhances the existing voice support by returning a proper voice account user and password and is preparing the config file so that we can specify a SIP server (not yet working). currently the SIP is hardcoded. the next step is to refactor voice support into a region module. working on that. "
2008-03-31 18:41:24 +00:00
Justin Clarke Casey 93303072dd * Minor: If a user exists but has no inventory in standalone, automatically create new inventory folders
* This mirrors the grid behaviour
2008-03-31 18:29:08 +00:00
Justin Clarke Casey 48fc4ee059 * Log exceptions which make it up to the top of the http request frame, rather than having them disappear off into the ether 2008-03-31 17:34:32 +00:00
Justin Clarke Casey af3118eccd * Fix problem where inventory code throws a swallowed exception on grid mode if the avatar has never logged in before 2008-03-31 17:08:58 +00:00
Justin Clarke Casey d53dd8a7cc * Minor change on region grid asset client to change two store log messages to one 2008-03-31 14:19:40 +00:00
Jeff Ames 8af0c9a1af Update svn properties. 2008-03-31 03:29:34 +00:00
lbsa71 f52886f8f5 * Added competely untested MSSQLMapper
* Added the new mapper to the mapper factory
* Made choice of mapper configurable
* This means, in hteory, that we can persist avatar appearance on MSSQL as well
2008-03-30 21:04:45 +00:00
Teravus Ovares 8aa4308097 * Minor cleanup 2008-03-30 19:58:14 +00:00
Teravus Ovares fd2caf5f16 This update has good news and bad news, first the bad.
* This update breaks inter-region communications, sorry.
* You will need to run prebuild.
Next, the good;
* This update solves the unexpected binary element when Linux simulators inform windows simulators and vice versa.  So Linux Simulators and Windows simulators are 100% compatible again.
* This update introduces an Integer in the prim crossing method to tell the receiving simulator which XML method to use to load the prim that crossed the border.   If the receiving prim doesn't support the method, the prim crossing fails and no prims are lost.
That being said, it's best to update all your simulators to this revision at once.
2008-03-30 08:01:47 +00:00
Justin Clarke Casey 2fddd775f4 * Stop the grid inventory service sending all folder and item details twice
* This change will have no functional impact - we were already filtering out the dupes on the other end.
2008-03-30 00:45:04 +00:00
Justin Clarke Casey a6999f8a5d * Refactor: Remove unused inventory methods, some of which weren't properly implemented anyway. 2008-03-29 23:07:48 +00:00
Justin Clarke Casey 875211b262 * Various 1.19.0.5 grid inventory request fixes. These will only take affect once the region and the grid servers have upgraded to this revision
* You may also need to clear your cache before seeing any effect.
* These fixes may or may not affect inventory on the RC client.
* These fixes should make non-root folders work better, stop inventory failure on first login, allow trash to be emptied and make texture picker in object edit view work properly
* Fixes are 1) make initial root folder request wait for async inventory delivery, 2) deliver all folders in the initial login skeleton, not just the root child ones and 3) deal 
with situations where we receive child folders from the inventory service before their parent is received.
2008-03-29 22:18:44 +00:00
MW 7fcffa3a3a Re-enabled terrain texture generation for the world map. Adam can clean up/ sort it out when he gets time.
Most likely doesn't really work in grid mode as the generated textures are marked as temporary and I don't think they are updated to the asset server. We have to either live with these textures being sent to the asset server, and manually clean them out from time to time or wait until there is some asset management system in place. 
Also currently the texture is only generated at region startup, it is not updated after terraforming.
2008-03-29 17:18:47 +00:00
Jeff Ames bf7ef8c41a Set svn:eol-style. 2008-03-29 04:25:52 +00:00
lbsa71 7f11079f57 * Refactored out common http handler operations 2008-03-28 21:43:46 +00:00
lbsa71 ca718b6f8d * Introduced common abstract UserDataBase provider
* Weeded out multiple AvatarPickerAvatar classes
2008-03-28 19:58:45 +00:00
Justin Clarke Casey 0a47a75b88 * Send full inventory folder skeleton to standalone client logins rather than just the root child folders
* This may resolve some current problems with non root child folders on standalone installations.
* A fix for the same problem in grid mode will come soon.
2008-03-28 19:35:01 +00:00
Justin Clarke Casey 35dec2e53a * Refactor: Eliminate RequestUsersRoot() redundant method 2008-03-28 17:37:55 +00:00
Justin Clarke Casey c8f79eb9b4 * Refactor: Rename CreateInventoryData() to GetInventorySkeleton()
* Replace the unused default GetInventorySkeleton() impleemntation with an abstract declaration - less confusing this way imho
* Add some comments
2008-03-28 16:39:38 +00:00
Justin Clarke Casey 512e52be4c * Remove pointless boolean on AgentInventory.CreateRootFolder() 2008-03-28 16:27:29 +00:00
lbsa71 0e16488ca8 * Introduced base abstract provider class for GridData 2008-03-28 15:05:06 +00:00
lbsa71 8c901e9347 * Introduced common abstract AssetDataBase implementing IAssetProvider
* changed the semantics of SQLiteBase to SQLiteUtils
* Added abstract placeholder files for the other db providers
2008-03-28 14:54:20 +00:00
MW 830626999c Applied patch from mantis# 825, thanks A_Biondi 2008-03-28 14:47:51 +00:00
lbsa71 ed74b8af5f * removed redundant constructor 2008-03-28 14:26:28 +00:00
lbsa71 88a14c9a76 * fixed pk_violation on rename for MSSQLInventoryData
("le fix le plus ugly for le problem trés dumb")
2008-03-28 14:19:17 +00:00
Justin Clarke Casey 0609970f2e * Correct asset type of Lost and Found folder - this might stop it appearing twice
* Other minor corrections to initial inventory contents
* These will only take affect for new users
2008-03-27 18:26:01 +00:00
Johan Berntsson 7fe243e3d4 Committed patch from Lulurun to fix Mantis 817. Thanks Lulurun 2008-03-26 02:49:35 +00:00
MW c2ea7b99e1 Moved Avatar appearance Factory to its own project so that the reference to MySQLDatabaseMapper could be removed from Region.Environment.
Added a using OpenSim.Framework.Data statement to MySQLDatabaseMapper , to try to fix the build problem that has been reported on the mailing list.
2008-03-25 18:48:07 +00:00
Justin Clarke Casey 2517fe7acd * Remove old CAPS http listeners when a client logs out from a scene
* Not yet removing listeners when a client leaves a region without logging out
2008-03-25 17:08:20 +00:00
Teravus Ovares 3d1b4f8578 * On Ray casting. Now returning the face normal of the collision face. 2008-03-25 16:09:43 +00:00
lbsa71 ba2de258f4 * Refactored out circular reference in Region.Environment <-> Framework.Data.Base
We REALLY need to get the db layer sorted soon...
2008-03-25 14:27:39 +00:00
Teravus Ovares 301c25950d * Committing some voice related caps with hard coded responses so more debugging can occur. 2008-03-25 05:56:27 +00:00
Jeff Ames 9d1b42c39a Comment out unused private methods. 2008-03-25 03:49:08 +00:00
Jeff Ames a8d9a58dd2 Fix a couple more warnings. 2008-03-25 03:43:24 +00:00
Justin Clarke Casey ca7c954a61 * Fix build break in last revision. Thanks to paulieFemto for pointing it out. 2008-03-24 18:45:21 +00:00
Justin Clarke Casey 185dbb06af * Picky comment change 2008-03-24 18:26:43 +00:00
Justin Clarke Casey 1a970d8f2d * Create null limit strategy 2008-03-24 18:25:50 +00:00
Justin Clarke Casey 8c0955321a * Refactor: Genericise request limit strategies and move to OpenSim.Framework.Communications.Limit 2008-03-24 18:21:06 +00:00
Johan Berntsson 39f340e687 XmlRpcCommand refactoring 2008-03-24 01:37:00 +00:00
Justin Clarke Casey ca6e557075 * minor: check in the rest of a comment I forgot to finish off in the last revision 2008-03-23 21:32:30 +00:00
Justin Clarke Casey da531fa9e1 * Start passing around a region server's http port in RegionInfo.
* This means that caps methods (editing scripts, poss map functions, etc) on non-home regions should now work with servers which are listening for http ports on a non default 
(9000) port.  
* If you are running a region server, this may only work properly once your grid server upgrades to this revision
* PLEASE NOTE: This shouldn't cause inter-region problems if one end of the connection hasn't upgraded to this revision.  However if it does, the instability will persist until 
the grid and region (and possibly all the region's neighbours) have upgraded to this revision.
* This revision also adds extra login related messages, both for success and failure conditions
2008-03-23 21:21:39 +00:00
mingchen 71ca162821 *Moved LandManagement into its own region module (spiffy!) 2008-03-22 23:10:22 +00:00
alondria 5ebef6410e Implements llLoopSound(), llStopSound(), and llAdjustSoundVolume(). 2008-03-22 23:02:41 +00:00
Justin Clarke Casey 61ae75f364 * Catch the occasional resolution exception that comes out of SceneCommunicationService.EnableChildAgents so we can see what hostname is failing 2008-03-22 20:44:15 +00:00
Justin Clarke Casey 45ea156804 * If a client session requests the same texture more than n times (currently n=5), we now drop the subsequent requests
* This may improve region memory usage
* This is a short-term response to a problem whereby some clients keep requesting the same texture even after we've sent it
* This treats the symptom rather than the cause.
* n can be adjusted by changing the constant at the top of UserTextureDownloadService if necessary
2008-03-21 19:16:29 +00:00
Adam Frisby 7286bd60b0 * Converted a large number of ASCII encodings to UTF8.
* We should not be using ASCII anywhere except for legacy compatibility reasons.
* A large number of UTF8 Encoders are being used in places where we should be using Util.StringToField instead. These have been tagged with // ENCODING FAULT
* This should fix Mantis#799 - Japanese Profile Text does not work.
2008-03-21 02:26:00 +00:00
Justin Clarke Casey c1beb85315 * First draft resolution of mantis 777, 734, 389 - scripts do not save in non-home regions
* Should work in multi-region standalone and grid modes
* This should also solve other non-home region caps issues (map requests, RC client inventory requests, etc)
* We now pass CAPS information on to the destination region on region crossing, and set up a CAPS object when an agent becomes a master
* Current limitation is that this will only work if your http_listener_port is 9000
* This is a very early code cut (lots of bad practice, hard coding and inefficiency).  However, I wanted to get this out there for feedback and my own sanity.  Next few patches will clean up the mess.
2008-03-20 20:04:45 +00:00
MW f61ea1998e Added back a fix that lbsa71 did aqes ago to fix a buffer overflow in the packetpool, which somewhere through time got lost/reverted 2008-03-20 15:33:08 +00:00
Justin Clarke Casey 20473af892 Another poxy patch which consists mainly of logging changes (some already commented out) to find out what CAPS is doing 2008-03-20 13:03:26 +00:00
Jeff Ames a0e1be3280 Fixed some comparisons of LLUUIDs to null.
Thanks to DrSchofld for pointing this out.
2008-03-19 09:36:13 +00:00
Justin Clarke Casey 78e24380c8 * Stop grid inventory network failures crashing the client session
* Now the operation will just fail and post a message to the log instead, which may be mysterious to the client but isn't so brutal
2008-03-18 19:52:07 +00:00
Justin Clarke Casey 18f9f1410d * Just inserting some exploratory comments into inventory code 2008-03-18 18:19:44 +00:00
Jeff Ames e5b9144282 Formatting cleanup. 2008-03-18 15:30:38 +00:00
Adam Frisby aad69b9018 * Applying Mantis Patch #518.2 - State not persisted in MySQL DataStore 2008-03-18 14:54:44 +00:00
Jeff Ames bf8b5844f2 Formatting cleanup. Minor refactoring. 2008-03-18 14:51:42 +00:00
Teravus Ovares 443c66b432 Since we don't yet have a reliable way to release the lock that prevents a user from logging in a second time if they're already registered as logged in;
* If a user logs in and they are noted as agentOnline.  Set agentOnline = false and send a 'you're already logged in' message to the user asking them to wait 5 minutes.  These 5 minutes are not enforced (because there's no foolproof interlock release yet without the grid operator getting a support call for every little sim crash).  When the user gets the message, they can log-in immediately after it, but the user can expect weird results if they don't wait 5 minutes and log-in to the region they were in previously.
2008-03-18 06:03:50 +00:00
Teravus Ovares 42857fe4e9 * Added the ability to type the partial name of a region in the start location box and go to that region if it's there. If no close match was found, it sends you home. This is tested on mySQL. There's untested code on grids that are based on sqlite and MSSQL. The SQL statements *should* be right, but your results may very.
* Ex, if you want to go to Wright Plaza, you simply need to type Wright Plaza in the start location in the client when you log-in.
2008-03-18 05:44:25 +00:00
Jeff Ames 47180080f0 Formatting cleanup. 2008-03-18 05:16:43 +00:00
Jeff Ames 175dc285ff Added copyright messages. Set svn:eol-style. Minor cleanup. 2008-03-18 03:51:59 +00:00
Jeff Ames 9f7639fd6d Formatting cleanup. 2008-03-18 03:41:05 +00:00
Teravus Ovares 4e30f862af Building on Joha's update...
* Server now listens to the client's start location request for 'home' or 'last' and sends the user to the home location or the last location.
2008-03-18 03:09:38 +00:00
Johan Berntsson 040a887b9c Last position will be stored in the DB on logout, and the avatar can continue from the same position in the next login (only with MySQL at the moment) 2008-03-18 01:38:07 +00:00
Jeff Ames 7d1dcf3e68 Replaced some magic PCode numbers with enum values. 2008-03-17 17:23:49 +00:00
Jeff Ames 825c89e7ac Replaced some Console.WriteLine calls with writes to log. 2008-03-17 17:10:53 +00:00
Jeff Ames 8a9d20facd Update svn properties. 2008-03-16 06:59:31 +00:00
Charles Krinke f7c5867723 Thank you kindly, Grumly57 for:
Added MSSQLDataStore.cs to OpenSim.Framework.Data.MSSQL and changed it 
to reflect the actual capabilites of MySQLDataStore.cs
2008-03-15 20:53:39 +00:00
MW c04899b60a Part 2 of fixing inventory for client 1.19.1 (RC), inventory items should now show up.
Most likely still some problems and most like needs some more work (and still a couple of things to finish off).
2008-03-15 12:53:03 +00:00
MW 70e55205a1 Part 1 of making inventory work again in the 1.19.1 (RC) client. Implemented the FetchInventoryDescendents CAPS handler. But currently returning empty folder details.
So this commit doesn't actually fix inventory in that client, it just stops the "loading" message being displayed forever next to a folder, and instead shows empty folders.
Next part will be to fill in the details of the items in the folders.
2008-03-15 11:48:27 +00:00
Sean Dague 01faa86c1a Fix Mantis 636 2008-03-14 18:09:20 +00:00
Teravus Ovares ce9c2ecac8 * You can leave godmode if you want now.
* Fixed a compile error.
2008-03-14 15:52:32 +00:00
Justin Clarke Casey 429ecb8508 Just a few comments 2008-03-13 18:31:05 +00:00
Sean Dague 1ad041707a this is a believed fix for some of the MySQL races. Testing would
be appreciated.
2008-03-13 17:42:07 +00:00
Justin Clarke Casey 42123770de * Add comments and slight corrections to ClientView.AgentTextureCached
* Reduce 'asset not found' console debug spam
2008-03-12 17:02:08 +00:00
MW fc551ef127 Applied patch from mantis #749, Grass now stays to set type when moved. thanks Grumly57. 2008-03-12 15:53:04 +00:00
MW 2fea38a5f2 Applied patch from mantis #610, fixed invalid filenames with dump_assets_to_file set to true. thanks tyre. 2008-03-12 15:45:56 +00:00
Adam Frisby 1277f68f43 * Fix for SQLiteAssetData - We now ignore duplicate assets. We shouldn't support replacing a asset with a fixed UUID as this leads to potential collisions and revisioning issues when proxying down the road. 2008-03-12 12:59:09 +00:00
Sean Dague 163a7cb6c8 better fix for 551, not sure why I missed this earlier 2008-03-12 02:48:08 +00:00
Sean Dague 6340fa0aab Ensure resolution of mantis 113 2008-03-11 21:37:35 +00:00
Sean Dague 0159aa7048 get rid of artificial InventoryLock object in favor of
locking on the DataSet.  This doesn't change any functionality
and leaves us with one less object.
2008-03-11 21:23:06 +00:00
Sean Dague 2827339345 Attempted fix for http://opensimulator.org/mantis/view.php?id=551 2008-03-11 20:38:55 +00:00
Justin Clarke Casey 956f7cb4f9 * Very minor error message change in GridAssetClient 2008-03-11 17:55:49 +00:00
Sean Dague e128819b20 this fixes up the exponentially growing startup times caused
by not deleting the landaccesslist.  If this triggers an
sqlite error on .NET, we'll need to track that down seperatly.
2008-03-11 00:22:56 +00:00
Teravus Ovares 13a4d13d67 * Added a hack-ish routine to add the State column to the primshapes table if it wasn't already there.
* Started OpenSim on SQLite to a mass of red 'unable to load prim' messages.
* If you are getting this message, after this update, when you start OpenSimulator, you'll get it one more time and then it'll work again.
2008-03-09 14:27:44 +00:00
Charles Krinke 8d2d69dc88 Thank you kindly Grumly57 for a patch to solve:
Grass type is not persisted. Try to rez some grass several time to have different random grass types around, then immediately move a couple of them. Or restart the sim and logon again. You'll see all grass types reverted to a dull default one :-)
2008-03-08 22:52:17 +00:00
Justin Clarke Casey d48e992aa8 * Increase inventory description columns from 64 characters to 128
As per the suggestions in Mantis 687 (thanks Sakai) to resolve an exception
* This won't apply to any existing inventory tables you have, but shouldn't 
cause any issues with old tables either
2008-03-07 14:40:18 +00:00
Johan Berntsson b99455d23d Fix to solve mantis 717 problem. Makes sure the region DB schema is up to date and consistent 2008-03-07 08:10:52 +00:00
Adam Frisby a360116502 * Disabled ancient TerrainEngine.
* Enabled new TerrainModule.  (The king is dead, long live the king!)
* Use the console command: "script terrain save file.r32" / "script terrain load file.r32" to load/save terrain. Now uses the extension to determine file format.
* MANY of the old terrain features do not have a replacement function in the new module yet, this needs to be corrected, but has not been done so far. This being said, the new module is faster and more efficient and should be a good replacement.
2008-03-06 15:49:53 +00:00
Adam Frisby 14b37533aa * Removed more compiler warnings, dead code, etc. 2008-03-05 21:47:19 +00:00
Teravus Ovares 18324773d2 * One line fix to get everything working again. Essentially set the originRegionID = RegionID in RegionInfo.cs on line 375 2008-03-04 14:39:51 +00:00
Jeff Ames d2806090ae Cleaned up a couple compiler warnings. 2008-03-04 10:12:39 +00:00
Johan Berntsson c78eebfdfc Fixed a region split synchronization bug 2008-03-04 09:39:58 +00:00
Johan Berntsson fe56c18795 Fixed SQL update error 2008-03-04 07:54:35 +00:00
Johan Berntsson 279e0061c5 Merged 3Di code that provides scene and avatar serialization, and plugin support for region move/split/merge. See ThirdParty/3Di/README.txt. Unless the new modules are used there should be no noticeable changes when running OpenSim. 2008-03-04 05:31:54 +00:00
Jeff Ames cd6f4a57e7 Added copyright heaaders. Minor cleanup. 2008-03-04 04:11:37 +00:00
Adam Frisby 358a4963d3 * More compiler warning nukage. 2008-03-03 09:56:30 +00:00
Teravus Ovares fe49c96ee0 * Applying Ahzz's profile patch. Thanks Ahzz!
* Fixed a few bugs in the patch that are sim crashers.
* There's still a bug in mySQL mode/ grid mode where the main userprofile text doesn't save.
2008-03-03 08:30:36 +00:00
lbsa71 c953e51c11 * Doh, forgot one license header 2008-03-03 08:19:54 +00:00
lbsa71 7d40a0afb8 * Changed the license headers. The Data Framework is now all OpenSim. Yay! *toots* 2008-03-03 08:15:14 +00:00
lbsa71 84959bf530 * Renamed the Data Framework namespaces 2008-03-03 07:59:31 +00:00
lbsa71 d97e4d97e9 * renamed the key file (baby steps here)
* ignored the generated files
2008-03-03 07:53:26 +00:00
lbsa71 b3b1f74485 * Started the ardous task to rename the TribalMedia.Framework.Data to OpenSim.Framework.Data.Base
It's you !!
How are you gentlemen !!
2008-03-03 07:48:35 +00:00
Charles Krinke cff3c20ee5 Thank you very much, Ahzzmandius for:
converts Parse calls to TryParse
Replaces string.empty and lluuid.zero calls on user load to use real 
values from DB (related to user profile save/load work. Finer grained patching)
2008-03-02 22:36:47 +00:00
Charles Krinke 7794fc3766 Change handler001 through handler009 to more
appropriate names consisten with their use.
All done with all 94 handlers from handler001
through handler094. Hopefully we can move 
forward without numbered handlers.
2008-03-02 22:28:48 +00:00
Charles Krinke dd8e728abd Thank you kindly, Ahzzmandius for adding
owner_uuid support to the MSSQL data driver.
2008-03-02 20:33:46 +00:00
Charles Krinke 30ebd15926 Update names of handler010 through handler019
to more appropriate names consistent with use.
2008-03-02 20:29:59 +00:00
Teravus Ovares e808bf04a5 * Temporarily commented out the parcel banlist clearing query that was being called in an ad-hoc fashion and causing an access violation error. This means that in SQLite when subdividing parcels you'll have to go to the parcel and clear out the banlist with the client instead of having it done for you immediately when you split the parcel.
* A database guy really needs to look at the land stuff. :D
2008-03-02 18:56:23 +00:00
Jeff Ames 6d774339d9 More compiler warning cleanup.
Removed verbose flag, since it doesn't do anything any more.
2008-02-29 10:51:40 +00:00
MW 70ad5604cd disabled AssetDownloadModule and re-enabled the asset download code in the asset cache, until it can be seen if the module was the cause of some new problems that seem like they might be related to assets. I'll look into this more tomorrow. 2008-02-27 22:47:33 +00:00
MW 2c65c2da90 small fix in the showstate data in AssetCache to reflect that now some functions are no longer in AssetCache 2008-02-27 21:32:01 +00:00
MW e978d00914 After seeing sdague do his happy dance over trunk working "the best he has ever seen". I'm not sure I should be doing this commit, but oh well.
So anyway, it moves the Asset downloading (packet sending) to a module (AssetDownloadModule). 
So now at last, AssetCache should be just dealing with fetching assets from the asset server and caching them.
2008-02-27 21:11:01 +00:00
MW aac7c1dda5 another attempt at fixing asset lockups 2008-02-27 16:20:45 +00:00
MW a9ae5ab840 Hopefully fixed the bug that was causing a lot of the freezing. Which was happening due to locks in the AssetCache and Texturedownload module. Where the thread from the Asset thread would be take a lock on a list in the asset cache and then try to call the Callback into the texturedownload module and hit a lock in there which was held by a ClientView thread- which at the same time would be trying to request another texture from the cache and be hitting the lock in there held by the IClientAPI. The result each thread waiting for the other one to release a lock. And as one of those was the ClientView process packet thread. No more packets from that client could be processed. For now I've made a copy of the list in AssetCache so that it can release the lock. I'm doing more work on assets (moving the client asset downloading to a module ), so will hopefully change this into a better method once I've cleaned over things up a bit. 2008-02-27 14:40:30 +00:00
Justin Clarke Casey 65862aacea * Start sending "ImageNotFound" packet back to the client if we can't find an image
* This might stop some client's constant requests for unfound textures, which is a candidate for the memory leak
* If a texture is not found then the "Image not found" texture will now be displayed clientside
* If it works, this should resolve mantis 676
* Non texture image requests do not receive this packet yet
* This will require a prebuild
2008-02-25 23:26:35 +00:00
lbsa71 5b3897a4af * Caught HttpListenerException and swallowed if with output
* Moved Flush into Close since it's always done in that order.
* Minor renamings
* Reversed if for clarity
2008-02-25 15:36:24 +00:00
Teravus Ovares b831a91852 * Message Server Linkages (still not ready for use so don't start it yet) 2008-02-25 06:33:14 +00:00
Jeff Ames 8d57f2e30a Update svn properties. 2008-02-23 13:50:31 +00:00
Justin Clarke Casey f95ad65189 * Improve alignment of packet queue stats headigns
* Correct asset cache stats table heading
* Correct spelling mistake in AssetCache (thanks ChrisD!)
2008-02-22 23:15:00 +00:00
Justin Clarke Casey fed46ba6a7 * Winnow the debug and info messages associated with stat fetching
* As such, only a request for a non cached asset, the response and failures show up now.
* I know lbsa71 only put these in not long ago, so if they are really still required, I think we should think whether we can move the default log4net level off 'Debug'
2008-02-22 22:54:50 +00:00
Teravus Ovares 9b675a6888 * Converted the last of the events to the private delegate instance method to avoid race conditions. 2008-02-22 21:18:08 +00:00
Justin Clarke Casey 3994a96783 * Oops! Add missing interface 2008-02-22 20:56:28 +00:00
Justin Clarke Casey 30eea2618d * Implement packet queue statistics
* This will show the packets waiting in each queue for each client logged into a region server
* These are displayed using 'show stats' on the region command line
* This is in pursuit of a memory leak.
* This will require a prebuild
2008-02-22 20:50:30 +00:00
Teravus Ovares 582964800c * Moved all events except gridcomms and regioncomms over to Event Delegate instances to prevent event race conditions 2008-02-22 19:44:46 +00:00
Jeff Ames 0103c43697 Update svn properties. 2008-02-21 15:14:39 +00:00
Tedd Hansen 7102ac7769 "threads" command now works. I've added manual tracking of threads (only if compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging. 2008-02-21 10:43:24 +00:00
Justin Clarke Casey b0c5ef0b68 * Eliminate AssetCache.CopyAsset()
* Resolve a bad logic bug in AssetCache.GetAsset()
* This may make some asset related things work better (possibly getting main map images will now be improved).
2008-02-20 23:21:51 +00:00
Justin Clarke Casey 7d7ad4dff2 * Only count download requests for assets which are not already waiting for data from the asset server
* This should stop the constant increase in the download requests statistics
* If you see stat numbers for download requests which are far from what you'd expect, please report
2008-02-20 20:23:03 +00:00
Justin Clarke Casey f3190810d3 * Properly guard removal of asset request lists on AssetCache.AssetNotFound (my own bug) 2008-02-20 19:13:59 +00:00
Justin Clarke Casey 53d5aeec24 * Remove unused texture dictionaries from AssetCache
* Add documentation to AssetCache
2008-02-20 19:02:04 +00:00
Jeff Ames a8cfbbe963 Minor cleanup. 2008-02-20 18:38:20 +00:00
Justin Clarke Casey c66b5a9e71 Report command string on ConsoleBase.RunCommand exception 2008-02-20 17:54:14 +00:00
Justin Clarke Casey 877713999c * Report 'asset not found' situations back to UserTextureDownloadService
* This fixes some of the 'runaway downloads' problem but not all of it
* Also fix up logging messages so texture requests are reported as such rather than as assets
2008-02-20 17:34:10 +00:00
lbsa71 4c6e5a5090 * re-enabled AssetNotFound code
* turned script asset fetching asynchronous
2008-02-20 13:11:19 +00:00
lbsa71 fec87ad3d7 * just added a readonly and a comment 2008-02-20 10:10:19 +00:00
Teravus Ovares ac60382599 * Added a few more packets to ClientView. Added tendons to the Skeletal Groups Module, made it shared to save on threads. 2008-02-20 09:45:26 +00:00
lbsa71 9be5f9d6cc * Fixed xml loading bug (the xml was scheduled for update before added to a scene)
* Fixed ClickAction situation on the same note (properties shouldn't cause big changes)
* Added some more debug output to AssetCache
2008-02-20 09:38:45 +00:00
lbsa71 bf42637ee8 * Caught 'OPTIONS' verb in BaseHttpServer that would otherwise explode.
(There are actually other non-content requests too, but I didn't know what we wanted to do with them)
2008-02-20 08:04:12 +00:00
Justin Clarke Casey b331e96e25 Remove "Loading inventory" messages from item inventory loads 2008-02-19 20:21:25 +00:00
Tedd Hansen 47c909ca0a Playing "Name that thread". Adding names and isbackground=true to all threads so it will be easier to debug. 2008-02-19 12:02:53 +00:00
Teravus Ovares 01cf9d8b7e * Committing Ahzz's patch number 620.
* Description SQLITE Inventory Table locks. *Provided by Openlfiegrid.com 
* Provides missing inventory table locks in SQLite.
2008-02-19 00:08:28 +00:00
Teravus Ovares d0b218f667 Committing ahzz's patch #619 - Description:
Patch provided by Openlifegrid.com 
Adds locks around clientCircuits and clientCircuits_reverse Adds existance check on adding to clientCircuits for clients resending UseCircuit packet.
Adds locks around Clientmanager.m_clients for add/remove/tryGet calls
2008-02-18 21:24:34 +00:00
Justin Clarke Casey 359f84ee43 * Output XmlRpc error message if user server gets a fault response from the region server on login
* This will make it more obvious if one accidentally starts one's region server in standalone rather than grid mode but then tries to login to a grid (as I am wont to do)
* We are now sending back a fault code (-32601) if no xmlrpc method is found rather than an ordinary message
2008-02-18 18:48:55 +00:00
Justin Clarke Casey b37b71b273 * Make RegionProfileData.RequestSimProfileData static
* Minor documentation bits
2008-02-18 17:31:05 +00:00
Justin Clarke Casey 500d259c25 * Do not allow a user to be created if one with the same name already exists 2008-02-18 15:50:18 +00:00
Tedd Hansen c62328950a More exception checks and crash hints
If no scriptengine is specified then don't try to load any.
2008-02-18 14:21:51 +00:00
Charles Krinke 2c81e18fc3 Thank you very much Ahzzmandius for adding the support
to purge the avatars inventory "Trash" folder using the
bizarre tortoiseSVN method of diff/patch.
2008-02-18 03:25:14 +00:00
Jeff Ames 3b9d332f84 Added copyright notices. 2008-02-17 01:16:40 +00:00
MW b618802e53 Moved the AgentAssetTransactionsManager (and AgentAssetTransactions) out of CommsManager and into a module (AgentAgentTransactionModule), still needs cleaning up though.
But its one more thing out of the CommsManager. One day we will kill the CommsManager!
2008-02-16 13:01:42 +00:00
Jeff Ames b13836db57 Update svn properties. 2008-02-15 00:43:20 +00:00
Sean Dague 741f753c56 attempt to make our logging at least fail gracefully, we'll see if this helps 2008-02-14 19:29:07 +00:00
Sean Dague 3a208a3a4f Fix a casting subtlety in moving to constants. Logins should work
again.
2008-02-14 13:28:35 +00:00
lbsa71 f4c0e45bac * Fixed #564, errors in friend sql
[Provided by openlifegrid.com]
2008-02-14 12:26:42 +00:00
Adam Frisby f3afa68a2a * Made new Framework.Constants class, added RegionSize member.
* Converted all instances of "256" spotted to use RegionSize instead. Some approximations used for border crossings (ie 255.9f) are still using that value, but should be updated to use something based on RegionSize.
* Moving Terrain to a RegionModule, implemented ITerrainChannel and TerrainModule - nonfunctional, but will be soon.
2008-02-14 12:16:33 +00:00
Jeff Ames 0bb085261b Update svn properties from a bar ftw. Kanpai! 2008-02-14 09:30:49 +00:00
lbsa71 12e0d8b316 * Fixed another bug in avatarpicker ('surname'/'lastname' mixup)
[Provided by openlifegrid.com]
2008-02-13 21:35:54 +00:00
lbsa71 2c48ceedd8 * Fixed bug in avatarpicker so now you can search on single word
[Provided by openlifegrid.com]
2008-02-13 21:15:05 +00:00
lbsa71 b705ba21f3 * Moved insertUserRow into MSSQLUserData so 'create user' works again
[Provided by openlifegrid.com]
2008-02-13 20:20:52 +00:00
lbsa71 15c6788dc7 * Moved insertRegionRow into MSSQLGridData
* Split table test and creation into table by table
* Debugged table creation Sql
* Added missing CreateUserFriendsTable.sql
2008-02-13 20:08:46 +00:00
Teravus Ovares d9e01bf453 *fixed varchar size typo in createuserfriendstable.sql 2008-02-13 19:10:03 +00:00
MW 49a5a00b80 Added a method to access a named folder in a users inventory, to the inventory Database interfaces. This could be useful for adding a item to a users inventory from say a web front end application or some other third party application. [note the method is only currently implemented in the sqlite provider] 2008-02-13 14:45:13 +00:00
lbsa71 c202a7d0aa * Copied 'Friends' functionality from the MySQLUserData to MSSQLUserData
[Provided by openlifegrid.com]
2008-02-13 13:55:03 +00:00
lbsa71 4880bd121e * Split out MSSQLManager Test/Init into each provider.
* Made regions table name configurable (MSSQL only)
* Added a note in ini.example pointing out that the sql resources have to change if you change table names
* Removed duplicate picker method from GridData interface
[Provided by openlifegrid.com]
2008-02-13 13:39:51 +00:00
lbsa71 bcd3a5b28b * Introduced customizable table names on MySQL and MSSQL UserData plug-ins.
[Provided by openlifegrid.com]
2008-02-13 12:06:09 +00:00
Jeff Ames 001ce95e4c Clean up more unnecessary String.Format calls 2008-02-13 03:38:18 +00:00
Justin Clarke Casey a1a206cb05 * Clean up LIBRARY INVENTORY messages 2008-02-13 02:43:41 +00:00
Justin Clarke Casey 45638cc141 Commenting and a spelling correction 2008-02-13 01:04:27 +00:00
Justin Clarke Casey 1677bde480 * Clean up the agent's asset transactions when it is removed from the scene
* This may or may not help with the memory leak, need to assess
2008-02-13 00:52:49 +00:00
Justin Clarke Casey 365cf8e455 * Refactor: Move last commit's refactor back to AgentAssetTransactionsManager
* Push asset update (invoked when clothing is altered) down into AgentAssetTransactions from Scene.Inventory.cs to join others
* I've tested that clothing creation and update still works, but please let me know if it suddently breaks for you.
* Add/correct comments
2008-02-13 00:30:51 +00:00
Justin Clarke Casey 2018cf312b Refactor: factor a method out of AgentAssetTransactionsManager 2008-02-12 22:41:57 +00:00
Justin Clarke Casey c0211c1ca2 * Add missing locking to mysql inventory plugin
* Should resolve mantis 542
2008-02-12 22:24:12 +00:00
Justin Clarke Casey 6a3455a98c * Refactoring: Rename AssetTransactions.cs and AssetTransactionsManager and align classes with file names
* Small amount of ndoc
* This will probably require a prebuild and nant clean
2008-02-12 18:15:54 +00:00
MW 7bbb9a08cb Re-enabled Inventory creation of body parts 2008-02-11 20:54:46 +00:00
Justin Clarke Casey c80c6e9774 Documenting and minor tweaks 2008-02-11 20:10:44 +00:00
Tedd Hansen 7156d7ae51 Moved share/sql/mysql-AvatarAppearance.sql to OpenSim/Framework/Data.MySQL/Resources/AvatarAppearance.sql as described in share/sql/mysql_README.txt
Thanks dmiles_afk
2008-02-11 18:24:00 +00:00
lbsa71 e399141dfb * Added some connection debugging 2008-02-11 14:09:35 +00:00
Sean Dague c654df5dfd From: dirk husemann <hud@zurich.ibm.com>
these two patches fixe the terrain load exception that occurs when
restarting OpenSim on PPC32 by making terrain loading endian clean.

it does NOT fix the client crash exception. need to hunt that one down.
2008-02-11 12:38:51 +00:00
Teravus Ovares a56664cf59 * um, Prim crossings? Experimental.
* Backup your database just in case.
2008-02-11 01:43:54 +00:00
Dalien Talbot c935b308e6 The very beginnings of attachments (no detachments! :) 2008-02-10 22:23:11 +00:00
lbsa71 e0424254bd * Refactored permissions handling to extract info out of permisisons block in ClientView
* Changed some uint constants to Enum values
2008-02-10 14:27:21 +00:00
Jeff Ames e207284fef Clean up logging calls using String.Format explicitly 2008-02-10 01:57:59 +00:00
lbsa71 e9eaf8e949 * fixed typo. thanks, nebadon! 2008-02-09 22:26:28 +00:00
lbsa71 7486762aa0 * Refactored some asset code and in the process uncovered a bug; now, I think first transfer of asset should start faster. 2008-02-09 22:23:36 +00:00
lbsa71 0b0bb28fd5 * added count of texture data bytes and asset bytes 2008-02-09 21:50:45 +00:00
lbsa71 e2ed5bf6b9 * Added count of temporary assets 2008-02-09 21:25:34 +00:00
lbsa71 176a1fe382 * added two new commands (for debug/disaster recovery)
'show assets' shows the current state of the asset cache (number of cached assets, requests, et c)
  'clear-assets' forcibly re-initializes the asset cache thereby freeing all cached items.

'clear-assets' is not to be used lightly, as it probably introduces mem inconsistencies and doubling up of textures.
2008-02-09 21:17:47 +00:00
Teravus Ovares 07d0f558c4 * Fixed nebadon's UserServer crash bug from yesterday.
* Made Estate tools work for estate managers without needing to request admin status First
* Added code to make the Simulator version to be reported in the About box of the client
2008-02-09 07:53:01 +00:00
Justin Clarke Casey d546859bc1 * Change logger to handle [<entry>] where <entry> contains non alphabetic characters
* Change logger to not print extra line if [<entry>] <text> like string is not logged
* Remove more of my previous chatty debugging statements
2008-02-09 01:53:57 +00:00
Justin Clarke Casey 2dc94870aa Mostly debugging verbosity which I shall very shortly comment out.
Just want to try this out on windows quickly.
2008-02-09 00:14:34 +00:00
Justin Clarke Casey 16f8f19a54 * Stop asset transactions hanging around after they've completed
* Still not enough to solve the memory leak, though hopefully this is another step on the path
* All these changes are pretty temporary - this will be addressed with a more fundamental refactor in the future
2008-02-08 23:42:19 +00:00
Justin Clarke Casey f05f583613 Still chasing logout memory leak. Putting in small changes and temporary light verbosity to this end 2008-02-08 22:39:08 +00:00
Adam Frisby a1625a5410 * Applying mantis 339 patches round 2 -- Thanks daedius 2008-02-08 17:54:30 +00:00
Sean Dague 598c5a95d9 fix the issue found on IRC this morning. The logging call was mistructured
so threw and exception when attempting to log that we missed an asset and
were waiting for it.
2008-02-08 15:29:53 +00:00
Teravus Ovares 3674257095 * This update contains a bucket-full of network optimizations.
* ParcelProperties are sent only when needed instead of on any movement
* Terse Updates and other temporary data packets are marked unreliable
* After a certain amount of users, the sim actually sends updates on things less
* Experimental
* Tested to 68 avatar with pCampBot  (And it's surprising what actually causes the most lag..  the text chat!)
2008-02-07 08:15:38 +00:00
Jeff Ames 49622dfbc5 Update version numbers to 0.5 2008-02-07 04:41:08 +00:00
Charles Krinke c076eab633 Additional debugging print on LOGOUT if/else in userServer. 2008-02-07 03:13:30 +00:00
Sean Dague caa255bcdf make a couple more changes to get us back very close to old color scheme 2008-02-06 20:59:31 +00:00
Sean Dague 2d7fbf6137 ummm... removed 1 too many newlines, formating a bit better now 2008-02-06 20:34:50 +00:00
Justin Clarke Casey 548bbc97e5 * Chasing down memory leak where memory used by a client is not returned on client logout
* This code may or may not be on the right track, but I want to save my work so far.
2008-02-06 20:34:18 +00:00
Sean Dague b3e85daf02 pass 1 on getting colors back to the console 2008-02-06 20:32:37 +00:00
Jeff Ames 3a1947f658 Removed super-stealth mode from PasswdPrompt. (Now you can see the prompt) 2008-02-06 10:11:10 +00:00
Jeff Ames 355d0fdb95 Revert color console changes until a cross-platform method is found. 2008-02-06 07:36:14 +00:00
Jeff Ames d76d604ce9 Added colors back to console output.
Fixed line duplication in console output.
2008-02-06 03:52:36 +00:00
Jeff Ames 6ed5283bc0 Converted logging to use log4net.
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-05 19:44:27 +00:00
MW 33c4631c6d some small changes, like adding a couple of extra methods to IInventoryServices so that a check can be done to see if a inventory set exists for a certain user. 2008-02-05 13:02:03 +00:00
Tedd Hansen 1d95f0521d Reverted MySQLDataStore.cs to not use static mutexes any more, patch didn't work anyway.
Added js to OpenSim.ini.example.
2008-02-05 12:18:50 +00:00
Teravus Ovares ca5aadfbff * Refactored the sound calls to SceneObjectPart
* Fixed a few bugs
* Wrote an example module to make certain event systems more mature.
2008-02-05 05:26:18 +00:00
Jeff Ames 99844ee4c0 Added copyright statements. 2008-02-05 03:20:51 +00:00
Teravus Ovares ba142c0410 * Fixing the console write on shutdown where the object is already disposed. 2008-02-05 02:10:01 +00:00
Justin Clarke Casey baefa05b57 * Rebase all current servers on common abstract BaseOpenSimServer class
* The immediate upshot is that "show uptime" from the console will now show uptime on all server types (user, asset, grid, etc)
* DEV: This refactoring is far from complete - only just enough to makes the "show uptime" command common accross the servers.  More is needed, but in this case it's somewhat like eating cabbage, which I prefer not to do all at once
2008-02-04 18:52:24 +00:00
Justin Clarke Casey bde363b572 * Synchronize asset storage operations to mysql as well as reads
* This may help with asset server mysql problems, since both the previous osgrid failures occurred when both a read and write were attempted in the same second
2008-02-04 17:30:53 +00:00
Justin Clarke Casey cd658ea845 A smidgen more error info for the asset server 2008-02-04 17:07:37 +00:00
Justin Clarke Casey a1c9349d47 Refactor only: serve stats objects directly through StatsManager singleton 2008-02-04 16:22:58 +00:00
Teravus Ovares 3ff5ad1ed3 Patch from mikkopa/_someone Thanks! adds support for llPreloadSound, llTriggerSound, llPlaySound, llPreloadSound.
* Time to make music boxes?
2008-02-04 14:40:46 +00:00
MW 755ad9e3e0 First part of avatar persistence, currently only really works in standalone mode (with accounts_authenticate set to true), it also only currently has a mysql database connector. (sqlite one will follow soon). It also uses the tribalmedia database system, so this needs checking to see if the old problems with mono have been fixed.
To use, see the appearance section in opensim.ini.example, set "persist = true", then add the correct connection string for your database.(see mysql-AvatarAppearance.sql in share folder for a example of the table mysql table structure).
This could possible be used in a very small grid, but would mean each region server would need to connect to the same mysql database. 
But the work to move the code to one of the grid servers shouldn't be too much.
2008-02-04 12:04:02 +00:00
Adam Frisby 6fbc64af5e * Whole buncha stuff. 2008-02-04 10:39:30 +00:00
Adam Frisby 35a8c95e1d * Lowered maxchunk from 1500 bytes to 1250 bytes to make sure packets fit below the average maximum MTU of 1500 bytes inc. header. Thanks Alex for reporting this. 2008-02-04 10:28:39 +00:00
Adam Frisby d12f253cca * Default inventory permissions patch (#444), courtesy of alex_carnell -- thanks! 2008-02-04 10:24:37 +00:00
Charles Krinke c61d0075c1 Thanks to Brianw for pointing out the definition of OwnerUUID
needed to be consistent with the definition of owner_uuid.
They are both varchar(36) now.
2008-02-03 18:05:59 +00:00
alondria 742ed9537d Implements LSL function llDialog().
The ScriptDialogReply packet handler is a bit of a hack job. It is currently handled similar to ChatFromViewer, which will trigger the listen() event, however this is not exactly how LL's implementation works and will/can be fixed up later.
2008-02-02 22:53:01 +00:00
Brian McBee bd32563c4c fix for error on null owner_uuid field 2008-02-02 18:20:25 +00:00
Charles Krinke 281245f433 Change casting slightly for reading owner_uuid from mysql. 2008-02-02 17:33:12 +00:00
Charles Krinke 6a1d9e8da1 Thank you very much daTwitch for your first contribution to the C# simulator.
This is the beginnings of support for storage of region owner in the MySQLManager
table and the use of "owner_uuid".
2008-02-02 16:43:57 +00:00
Tedd Hansen 3a6405d2f7 In an attempt to solve multihomed UDP problem I seem to have bound UDP socket to external IP instead of internal :) 2008-02-02 16:03:10 +00:00
Teravus Ovares 2d6c21e8fc * Added Full support for llSetTextureAnim. To ckrinke: Let the fountains of Wright Plaza flow!
* Fixed another bug in LibSL.  This is the same version, as before just with a bug fix.
2008-02-02 08:11:14 +00:00
Tedd Hansen 2db5de3e72 Added commands to change config file from console:
CONFIG SET section key value value value
CONFIG GET section key
CONFIG SAVE (it saves, but does it save correctly?:)

ScriptEngine will react correctly to any config change made while it is running.
2008-02-02 07:35:51 +00:00
Tedd Hansen b089ccfa3d Hopefully fixed MySQL DB crash on startup issue (so we can remove 3 sec wait).
Added option to try alternate UDP ports if the one configured is in use.
UDP packets are now bound to the actual outside IP address and hopefully won't "randomly" select IP on multihomed systems.
2008-02-02 06:34:07 +00:00
Tedd Hansen 41516fa2c3 Last patch was a disaster... reset terrain whenever bug occurred. Trying again with some modifications on Mutex. 2008-02-02 05:28:39 +00:00
Tedd Hansen 1fa510d26d And one more patch before sleep
This annoying sleep during startup-problem still sometimes causes exceptions, so added some retry...
2008-02-02 05:14:50 +00:00
Charles Krinke 599f8b884b Add last entry "owner_uuid" back into regions table definition. 2008-02-02 04:17:38 +00:00
Teravus Ovares d4f32649cd * Committing some untested stuff regarding texture animations. This won't break anything, but the llSetTextureAnim function is completely untested.. (though it may be functional once the script engine works again) 2008-02-02 03:57:57 +00:00
Tedd Hansen f4ddf5cf28 Removed "Loading inventory for Primitive" message.
Fixed small bug in thread counter.
2008-02-01 20:19:29 +00:00
lbsa71 f72b834b25 * setting some readonlies 2008-01-31 10:56:40 +00:00
Justin Clarke Casey a4bf98f4ba * Add asset/texture cache statistics to region server console
* You can type 'stats' at the REGION# prompt to get this information in grid or standalone mode
* Don't take these numbers as gospel yet, since for some reason textures displayed from inventory which require downloading from the server are being recorded as assets 
rather than textures
* But I don't have any reason to believe they aren't broadly accurate.
* I've put these in so I can tell whether the high memory usage on regions is down to the asset/texture cache
* This will require a prebuild
* DEV: Only adds needed to be implemented since, as far as I can tell, assets cached are currently never released.  For my part, seeing large cache memory numbers will 
provoke me to think about doing something about this.
* DEV: Now switched to using a singleton to get the stats reporters rather than threading the object through various layers
* DEV: Will refactor the other server stats reporters to do this in one of the next commits
2008-01-31 00:42:31 +00:00
Justin Clarke Casey 881f295e70 * Add 'asset not found' statistics to grid asset server stats 2008-01-30 22:13:47 +00:00
Justin Clarke Casey dee0d1e55d * Print out exception information when a mysql asset fetch fails
* Attempt reconnection on fetch and create exceptions.
2008-01-30 17:39:40 +00:00
Justin Clarke Casey ce07854a45 * Insert 'assets served per hour' speed to asset server stats 2008-01-30 17:19:32 +00:00
Justin Clarke Casey beefbb46d2 * Add total logouts (and total logins) to server side user stats
* Passing the stats collector through object chains is not ideal - this will change when more stats come in
* This change will need a prebuild
2008-01-28 22:00:38 +00:00
Justin Clarke Casey fa5fe6b7f6 * Move AssetStatsReporter to Framework.Statistics
* The hooks are still plugged in too high at the asset server, but then next layer down is the database and this may be refactored soon.
* This change will requires a prebuild
2008-01-28 19:49:07 +00:00
Jeff Ames 582d0a29d5 Set svn properties. 2008-01-26 04:26:12 +00:00
Justin Clarke Casey 7c20ad021e * Add missed out evn:eol-style native
* I intended to think about refactoring the servers to use this common base class, but temporary laziness won out.
* I'm leaving this here as a reminder/mind poke and for reasons of laziness (again)
* If people object to me leaving this kind of thing lying around, please say
2008-01-25 19:40:48 +00:00
Justin Clarke Casey 90c853685c * Add very basic initial login stats to the user server
* Typing 'stats' on the command line will given total number of successful logins today and yesterday
* A little bit more to come, probably
* Refactoring will follow next
2008-01-25 19:24:25 +00:00
Justin Clarke Casey ff59280e9e * Reinsert 3 second land loading delay of r3132 accidentally removed in r3141.
* Sorry Tedd!
2008-01-24 10:08:11 +00:00
Teravus Ovares 09a616e1ea * Added ReadEtcIssue to Util
* If you have Debian running, you should get a platform line that says, 'Found Debian!' when starting up your sim.
* If someone running Debian will confirm this does occur, that would be most helpful.
2008-01-23 23:32:19 +00:00
Sean Dague 781187e16f put the number in front of the migrations to make them easier to deal with 2008-01-23 20:42:50 +00:00
Justin Clarke Casey 51146fc80d * Changing log messages to use 24 hour clock rather than 12 hour - hope nobody objects 2008-01-23 19:38:12 +00:00
Teravus Ovares 5cf96daaf2 * Enabled dead region tracking for ChildAgentDataUpdates
** If the region fails 3 times, then ChildAgentDataUpdates no longer get sent to that region
* Enabled Child_Get_Tasks in grid mode.   
* When Child_Get_Tasks is enabled on neighbor regions, the neighbor region uses the client's draw distance to send out prim.   This is a lot less likely to flood the client now since the ChildAgentDataUpdate contains both the throttle settings and the draw distance.   This means that with this enabled, you can see prim in other regions in grid mode.   Very experimental.
2008-01-22 08:52:51 +00:00
Teravus Ovares 3fe6b2280d * Shutting down child agents properly in neighbor regions. 2008-01-21 23:04:42 +00:00
Justin Clarke Casey c3594ba7d1 * Following on from sdague's r3144, commenting out other parts of TribalMedia
* This should resolve the current build problem
2008-01-21 18:39:54 +00:00
Justin Clarke Casey 46fe6e2f97 * Scripts edited within a prim will now be persisted correctly
* On restart the latest save will be restored rather than the very first dragged in scripts
* Also add previously missed out database commits to separate prim inventory commit path (sigh)
2008-01-21 16:42:53 +00:00
Sean Dague 38991ba0e6 comment out use of the TribalMedia data mapper layer
for now.  It doesn't build on new mono at the moment, and
isn't currently used.  Please make sure this functions on
mono 1.2.6 prior to adding it back in for the main tree.
2008-01-21 16:40:23 +00:00
Justin Clarke Casey 331aef2bae Method rename 2008-01-21 15:17:09 +00:00
Justin Clarke Casey 7ca8e28a9a Properly lock new separate database accesses 2008-01-21 15:12:00 +00:00
Justin Clarke Casey 504ae63669 * Make object persistence more granular by separating prim and prim inventory persistence 2008-01-21 15:06:49 +00:00
Charles Krinke a025f527cf Add additional mainlog data to LogOffUser
to aid in debugging.
2008-01-21 03:45:50 +00:00
Teravus Ovares da99c2ab10 * Stopped Physical Object saving on SQLite got commented out in my last commit.. un commenting it out now. 2008-01-21 03:13:44 +00:00
Teravus Ovares a3851b3812 * Added hooks for logout to all IUserService and all that implement it.
* Added a Logout message with a name on the console
* Added a *fixme* message to figure out why the current agent session is null
* After updating you may notice that there's a login <user> and also a logout<user>
2008-01-20 23:08:50 +00:00
Brian McBee 59d7165f40 Graceful failure of teleport to unavailable regions might actually work now.
I blame all bugs on the age of my brain cells.
2008-01-20 21:11:55 +00:00
Brian McBee 730e2d6d7c Check if remote simulator is up before attempting teleport. Teleport to a remote region should now fail gracefully if remote simulator is down. 2008-01-20 19:12:00 +00:00
Tedd Hansen 8ffefd2bd6 Tedds temp fix for startup crash: Waiting 3 seconds for stuff to catch up. (Someone please fix! :)) Lets see if it works every time or just some ;) 2008-01-20 12:05:16 +00:00
Tedd Hansen cc635a651a Most is back in its original state :) Hope I didn't break anything... *looks innocent* 2008-01-19 22:23:22 +00:00
Tedd Hansen 459b614b86 That didn't work -- added more debugging 2008-01-19 21:55:43 +00:00
Tedd Hansen 056b2940b4 That didn't work, trying with TableAdapter.FillSchema(DataSet, SchemaType.Source) 2008-01-19 21:51:16 +00:00
Tedd Hansen 462fc84eb2 Removed mega-debugging.
Possibly solved startup crash.
Moved MySQL Commit() to inside each functions respective dataset access mutex because if not other threads would be waiting until function released mutex and modify the dataset before the function could commit
2008-01-19 21:42:03 +00:00
Tedd Hansen 4b56e0e324 removed additional debugging, added temp mega-debugging to StoreLandObject 2008-01-19 21:33:39 +00:00
Brian McBee 17c25796b8 checking return code may make failed teleports fail more gracefully. 2008-01-19 20:34:54 +00:00
Tedd Hansen ca772be0d4 Still hunting, added debug output 2008-01-19 11:17:12 +00:00
Tedd Hansen ef50e6875c Still looking for that startup crash bug. Added some exception handling in prim object load. 2008-01-19 11:08:07 +00:00
Sean Dague 333826903c parametrize like clauses for avatar picker 2008-01-17 20:42:22 +00:00
Justin Clarke Casey e13feaa375 * More prim inventory synchronization
* Remove some mysql verbosity
2008-01-16 21:43:22 +00:00
Justin Clarke Casey b33da2538e * Fix mantis 345 - it is now possible to duplicate prims directly in the region again without breakage
* This includes their inventories
* Also, this revision properly synchronizes prim inventory crud.
2008-01-16 20:27:12 +00:00
Justin Clarke Casey 57519b6dba * Store task inventory when an object is taken into agent inventory
* This means that you can take an object from a region and rez it somewhere else, with its inventory intact.
* As for earlier, at this stage only scripts can be placed in inventory
* This isn't an efficient implementation, a better one will probably need to come along soonish
2008-01-16 18:35:34 +00:00
lbsa71 2c69b006a7 * added missing using clause 2008-01-16 14:52:47 +00:00
lbsa71 5e757d2ad1 * More work on getting the database framework to actually work 2008-01-16 12:25:13 +00:00
Teravus Ovares 5958192398 * Added Packets In/s, Packets Out/s and Current un_acked Packets to the SimStatsReporter
* This doesn't take into account the throttler, it just assumes the throttle limit isn't reached.
2008-01-16 03:33:46 +00:00
Justin Clarke Casey c15eec2cb0 * Restore non dash asset UUID persistence which was made dashed in r3069
* Apologies, any sqlite databases created between r3069 and this change will now contain unfindable assets.
* But sqlite asset databases used previous to r3069 will now work again.
* This change may have been done on purpose, so it's not impossible it will be re-reverted
2008-01-15 22:16:43 +00:00
Jeff Ames 258a4dc282 Set svn:eol-style. 2008-01-15 20:24:35 +00:00
lbsa71 f5103b98be * Renamed a bunch of Data baseclasses for clarity and readability
(Slowly getting there)
2008-01-15 20:07:02 +00:00
lbsa71 47c6529523 * Some morw work on specializing the database framework for OpenSim 2008-01-15 10:15:39 +00:00
Adam Frisby b25f9f322c * Mother of all commits:
* Cleaned up copyright notices in AssemblyInfo.cs's
* Added Copyright headers to a bunch of files missing them
* Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
2008-01-15 02:09:55 +00:00
Jeff Ames 84c3a317c1 Set svn:eol-style. 2008-01-14 22:37:45 +00:00
lbsa71 6d751411b7 * Added specialization of DatabaseMapper, DataReader and ObjectFieldMapper to support LLVector3, LLQuaternion and LLUUID
* Added PrimitiveBaseShapeTableMapper to show how it's done

NOTE: Nothing actually works yet - this code should be considered more of educational value until it's all wired together
2008-01-14 22:34:19 +00:00
Sean Dague b49ae37e89 my Exists check was slow and wrong. This fixes issues people
were just having on IRC.  Thanks to Grumly57 for helping to sort
this out.
2008-01-14 21:35:49 +00:00
Sean Dague 20cf62b417 good bye ADO.NET to assets, notice faster startup time 2008-01-14 20:42:27 +00:00
Sean Dague db40ffb43f move db open to initialization, which is where it should have been
all allong
2008-01-14 19:47:59 +00:00
MW 62157b6dde Applied patch from melanie (thank you) for mantis issue# 338 2008-01-13 22:47:10 +00:00
Justin Clarke Casey 48be04df1d * Do database implementation for prim inventory items in mysql
* Properly clean up items when a region object is deleted
* Update persisted prim when an inventory script is changed
* No user functionality yet
2008-01-11 17:00:21 +00:00
Sean Dague 50ece51dbc manually open the db connection. Mono does this automatically, .NET doesn't 2008-01-11 15:55:00 +00:00
Tedd Hansen 7f071dd193 Log instead of crash (User login, getting friends list) 2008-01-11 15:46:43 +00:00
lbsa71 cdd378a2c2 * returnin LLUUID.Zero rather than LLUUID.Random on webkey null 2008-01-11 15:19:43 +00:00
Justin Clarke Casey 1e981a7c1c Switch prim items type representation to use int rather than strings. 2008-01-11 14:55:27 +00:00
lbsa71 8ccc470e2a * quick fix to fix if webLoginKey is null in DB, return random key (I guess LLUUID.Zero would be a security hazard) 2008-01-11 07:41:14 +00:00
Teravus Ovares 901f403823 * Just an update to the default login form 2008-01-10 23:31:37 +00:00
Sean Dague 8ebaf7aa41 move Friends list to not use ADO.NET layer, it now hits the sqlite
db directly when needed
2008-01-10 21:32:22 +00:00
Sean Dague 13736995d2 add sqlite database definitions as Resources for SQLite.dll 2008-01-10 19:38:37 +00:00
lbsa71 2f023f6362 * removed unused PrimScale on PrimitiveBaseShape (use Scale instead)
* ignored bin
2008-01-10 13:37:59 +00:00
lbsa71 690a7a347b * Undid XmlIgnore thingy as it did cause breakage 2008-01-10 12:07:49 +00:00
lbsa71 ed314e19ff * Sorted members for great justice 2008-01-10 11:17:26 +00:00
lbsa71 f1c2dca7c1 * ProfileCurve is now XmlIgnored, and instead constructed from ProfileShape and ProfileHollow 2008-01-10 08:56:03 +00:00
Jeff Ames 5a6fd21a2c Whitespace cleanup. 2008-01-10 06:49:29 +00:00
Teravus Ovares a962653e04 * After fighting with it a bit more, Opensim is now compatible with the most recent release client(RC) on the linden labs download page.
* Don't forget, you need -loginuri *and* -loginpage
* Ex: -loginpage http://10.1.1.2:8002/?method=login -loginuri http://10.1.1.2:8002/
* The ?method=login is important, don't forget to add it
* If you customize your http_loginform.html file, be sure to keep the form post address as is.
2008-01-10 04:37:03 +00:00
Teravus Ovares 85fe8ed085 * This update enables the web_login method.
* Remember, the client doesn't support web_login to other grids in the current RC, however the next RC will.
2008-01-09 22:05:28 +00:00
Teravus Ovares 49fe4eb3cd * This may be broken.. it hasn't been tested, however I wanted to get the last database changes in before sdauge changes them significantly. 2008-01-09 18:57:03 +00:00
Sean Dague 411d06c94e moving Region store for SQLite into the OpenSim.Framework.Data.SQLite
namespace to mirror what is done with MySQL.  This will require a 
configuration change for people using SQLite for prims which is given
as an example in OpenSim.ini.example
2008-01-09 18:41:20 +00:00
lbsa71 b469990972 * Added helpers to convert from LSL PrimitiveParams values to PrimitiveBaseShape values 2008-01-09 18:26:40 +00:00
lbsa71 c0252073d0 * removed another superfluous debug message 2008-01-09 09:31:07 +00:00
Teravus Ovares fd2603bcf4 * ok, last mySQL webloginkey related update tonight. 2008-01-09 04:24:33 +00:00
Teravus Ovares dfe01df2fc * almost an oops 2008-01-09 04:17:35 +00:00
Teravus Ovares e1aa83e965 * Added a hashtable based HTTP processor in preparation of the web_login_key
* Added the web_login_key to the users table
* Added happy configurable http error message pages
* This update is large enough to have 'awe' value..    so backup your users or weep.
* Not tested on MSSQL, even though I added code to update the tables!
2008-01-09 04:13:04 +00:00
Brian McBee bafdac7874 dump_assets_to_file=true will now cause the asset to go into a UserAssets subdirectory of bin instead of cluttering up your bin directory (Thanks CharlieO!) 2008-01-09 03:57:53 +00:00
Brian McBee 19ed64b114 Third part of CharlieO's library rework. We now have library organization! Thanks CharlieO! 2008-01-09 03:52:07 +00:00
Teravus Ovares 6e8c3ac782 * Enabling the LLSD Login method by jhurliman so libSecondLife clients work on OpenSim again. 2008-01-07 20:00:37 +00:00
mingchen 1718c39e10 *Added ability to update only necessary data on insertRegion for the grid server. 2008-01-07 15:23:00 +00:00
Teravus Ovares bbac579849 * More message server methods 2008-01-07 07:48:35 +00:00
Teravus Ovares f43e75762a * Adding More to the MessageServer classes.
* Don't forget to prebuild
2008-01-07 01:39:26 +00:00
Teravus Ovares 04dbcee74c * A few more Message Server comms related updates 2008-01-06 20:10:29 +00:00
Teravus Ovares b8efd5f294 * Added some userserver glue for communications with the message server
* Added some code for the message server, fixed a few references and starting to flesh it out.
2008-01-06 18:18:19 +00:00
Justin Clarke Casey 679923ec87 Factor out TaskInventoryItem 2008-01-06 01:56:29 +00:00
Brian McBee 79c2892303 Fix for typo in updateInventoryItem in MSSQLInventoryData.cs (thanks Grumly!) 2008-01-05 20:12:43 +00:00
Tedd Hansen 966f639ad6 Changes to ScriptServer to (hopefully) make it compile on both .Net and Mono.
Some debug info for startup added to find bugs. ++
2008-01-05 15:48:02 +00:00
Teravus Ovares db3edff5d5 * Applying jhurliman's LLSD login enablement patch.
* I'm keeping it deactivated until some issues are resolved.
* I'm patching it in deactivated so the patch doesn't get outdated
* I've deactivated it by commenting out the handler for the application/xml+llsd content type.
* While I've tested this as much as possible on my setup and found the deactivated code doesn't cause any problems, consider this update experimental (event though it's deactivated)
2008-01-05 06:05:25 +00:00
lbsa71 710cb7589e * possibly the least significant commit so far into 2008 2008-01-04 21:18:01 +00:00
mingchen 81b4c7be3e *Added ability to skip any use of the console when configuring and assume default value. This is useful when the server is running by itself and a new region request is added without sufficient information 2008-01-04 14:14:15 +00:00
Teravus Ovares 960b7e93b1 * Added the ability for estate managers to use the magic secondlife blue card of death to send out region and estate messages.
* Switched over Region Restart notices to the magic secondlife blue card of death method.
2008-01-04 02:24:05 +00:00
Teravus Ovares 0c555883d5 * Made covenant changes made in the estate tools persist across sim restarts. 2008-01-03 23:46:43 +00:00
lbsa71 b95efbb689 * Added lock to Contains to avoid enumeration exceptions 2008-01-03 12:55:23 +00:00
Johan Berntsson 3f78e55ef4 Packet recycling has been temporarily disabled to avoid the performance problems reported in Mantis 281 2008-01-03 05:06:55 +00:00
Johan Berntsson 047aba2067 I have fixed the ZeroDecodeCommand bug, and restored my packet recycling code. Let me know by IRC if there are other problems 2008-01-03 00:59:12 +00:00
Teravus Ovares a72d33d3a5 * Added the ability for Region Owners to add and remove estate managers using the estate tools.
* Estate managers get abilities like the region owner for now.
* Estate managers, you'll need to request server admin status to be able to activate the estate tools dialog (haven't figured out why this is the case yet)
* Switching from grid mode to standalone or switching grids will make the stored Estate Manager UUIDs not match up with a valid account so you'll see (waiting) listed there instead of a user until you reset them or go back to the grid you added them from.
2008-01-02 20:25:47 +00:00
Johan Berntsson d893c91249 Fixed buffer overrun bug in ZeroDecodeCommand 2008-01-02 16:35:50 +00:00
lbsa71 459a4b0bb5 * Fixed an issue where the PacketPool would ZeroDecodeCommand into a too small buffer.
The new buffer size is based on analysis of real data, not on knowledge; this should be reviewed by the original PacketPool author.
2008-01-02 12:12:36 +00:00
Teravus Ovares 3a83be1721 * Did a bit of estate work. Added some fields to EstateSettings.xml for estate managers.
* You can put UUIDs in those fields to give other users some ability to help manage a sim you own.
* Also started decoding the EstateOwnerMessage packet convolutions.
2008-01-02 10:06:43 +00:00
lbsa71 4b4ee98070 * Trying to address TextureSender issues
* The BlockingQueue exposes Contains so we can make sure we don't add a TextureSender to the queue if there's already one present
* introduced some TryGetValue and various code convention stuff
2008-01-02 09:07:11 +00:00
lbsa71 20653830fb * Refactored out function to load specified AssetSet Xml
This commit dedicated to 'Mohawk - Bad Girls (Need Love Too)'
2008-01-02 07:13:34 +00:00
Teravus Ovares 3aa0f32ce3 * Fixed an issue where the RegionFlags and SimAccess settings were being saved incorrectly. If your region is already having an issue on boot with parsing [region_flags] or [sim_access], then this won't solve your issue. Default value for region_flags is 0 and default value for sim_access is 21 in the EstateSettings.XML file 2008-01-02 04:10:55 +00:00
Teravus Ovares 2f43578386 * Re-wrote IM that sends the friend request so that it displays the name of the person who sent the request, or (hippos) if it can't find it. 2008-01-02 03:05:18 +00:00
Teravus Ovares 3738bc8899 * Updates UserServer
* Updates OSG1UserServices
* Friends list is now persistent in grid mode.
* You can add, new friends and remove them
2008-01-02 00:54:50 +00:00
Teravus Ovares b4c9b6bd19 * You can add and remove a friend in standalone now within the same simulator. It saves.
* You can add and remove a friend in grid mode now within the same simulator.  It doesn't save yet.
* I got rid of Mr. OpenSim as a friend..   he bothers me /:b...
2008-01-01 06:12:04 +00:00
Justin Clarke Casey b8975ecbd9 Make it possible for new inventory 'libraries' to be added without changing the default OpenSimLibrary files. Additional library folders and items can be added in a separate
directory 
and linked in by an entry to inventory/Libraries.xml
2007-12-31 23:20:49 +00:00
Teravus Ovares 3180432deb * Added database and UserManagerBase glue for FriendsList management
* Don't forget to run prebuild
2007-12-31 22:56:43 +00:00
Justin Clarke Casey 5ef1433e95 Correctly output library inventory folder type and version information 2007-12-31 18:26:24 +00:00
Justin Clarke Casey 60fa75ac04 Standard library folders can now be configued in the xml in inventory/OpenSimLibrary - no hardcoded changes are required. For some reason, all the folders are currently
showing up as texture folders, even though they are configured with the same types as the agent inventory folders.  This should be resolved soon.
2007-12-31 03:33:21 +00:00
Teravus Ovares 57a1132585 * Fixed References in Prebuild so the project compiles
* Added Friends List methods to IUserData interface
* Created Stub friendslist Database Methods
2007-12-30 23:29:44 +00:00
Justin Clarke Casey 76e74a7667 Add an extra check that we don't create new inventory folders for a user that already has a root folder 2007-12-30 19:40:44 +00:00
Justin Clarke Casey 7d04cf8d4e Shift default OpenSim library into its own directory 2007-12-30 19:05:11 +00:00
Teravus Ovares 32438ab1b9 * This update rolls back the packetpool and LibSL changes. Please retest and then patch these changes back in. Currently it's not quite ready for 0.5. The down side to this action, is that we loose some performance to the garbage collector for now. Given that the target date for 0.5 is *Two days* from now, I'm taking the initiative to work towards a real stable version.
* This update also fixes scripting and some weird physics reactions
2007-12-30 06:18:17 +00:00
Teravus Ovares 14368d9a73 * Applied Melanie's same instance IM fix. This will make IMs work within the same OpenSim Instance. 2007-12-30 04:12:08 +00:00
Justin Clarke Casey 40e89678b7 Make inventory items nominate explicit inventory folders rather than hardcoding 2007-12-29 19:41:50 +00:00
Justin Clarke Casey 1b1649791f Allow OpenSim operators to specify their own asset sets without needing to change the default OpenSim set. Equivalent changes to allow operators to also specify their own
standard inventory library directories and items to follow.
2007-12-29 19:01:55 +00:00
Teravus Ovares 0631151e08 * Patch from Melanie provides Util.CleanString and uses it on the prim name and description. Thanks Melanie. 2007-12-28 23:19:03 +00:00
Justin Clarke Casey 505067658a Migrate opensim default assets up another directory in preparation for extraction of hardcoded asset locations into xml 2007-12-28 22:49:32 +00:00
Justin Clarke Casey 27f7f76d04 Move OpenSimAssetSet assets file up into assets pending further changes 2007-12-28 22:32:52 +00:00
Justin Clarke Casey 4ae10034bd Factor out common asset loading from AssetServerBase and Grid/AssetServer/Main 2007-12-28 22:13:43 +00:00
Justin Clarke Casey 7cf9a8d4f9 Move inventory contents configuration files to bin/inventory folder 2007-12-28 18:01:20 +00:00
Teravus Ovares f64d94f8ca * Rezzing items from Inventory on top of other prim rezzes them 0.5 meters above the 'hit' prim instead of buried in the ground somewhere.
* Various Refactorings
2007-12-28 14:24:14 +00:00
Jeff Ames 1a484fcabf Set svn:eol-style. 2007-12-28 08:56:44 +00:00
Adam Johnson 79496381fc Patch from Johan: LibSL updated to the latest revision (1568) and all packets are now
recycled to improve performance and memory usage.
2007-12-28 08:51:39 +00:00
lbsa71 8cd72beb86 * Moved PrimitiveBaseShape subclasses into factory methods - the subclassing scheme won't hold for serialization
* Extracted out the 'old' AddNewPrimitive that places an object at an exact pos, without the raytracing
2007-12-28 08:34:38 +00:00
Teravus Ovares 5bd5770ed2 * Patch from Melanie. Thanks Melanie!
* This patch addresses a regression where 5 default textures, including the default "new prim" texture, would not be shown unless in viewer cache.
* Further, it supplies a new plywood texture as the base texture, which is purpose-made from locally photo-sourced material (means i took a picture and made it into a tile), which is closer in appearance and color to the Linden one.
* It changes the default new prim texture UUID to match the UUID generated by the viewer when "default" is clicked, which is a texture UUID hardcoded in some scripts as well, so it would cause compatibility issues if not addressed.
* The patch fixes a number of UUID duplications (same UUID for asset and inventory items) and capitalization issues in the XML files.
* It also includes new versions of 4 other textures, which were no longer loadable in grid mode.
2007-12-28 05:36:28 +00:00
Teravus Ovares 67bbed8202 * Added ability to create new prim on existing prim (rezzing prim from inventory on other prim coming soon). No more new prim buried in the ground by accident.
* The prim are at the absolute position of the prim you rezzed it on top of + (0,0,0.5) for now.
2007-12-28 05:25:21 +00:00
lbsa71 efd90b56b7 * Optimized usings
* shortened references
* Removed redundant 'this'
* Normalized EOF
2007-12-27 21:41:48 +00:00
lbsa71 d508d77122 * removed always true if 2007-12-27 21:06:44 +00:00
Teravus Ovares d82ed9a8c5 * Fixed MonoSQLite Update Table routine
* Charles, this will fix the red issue.
* Same situation, the first run updates the tables (and gives you a ton of red errors), the second run and everything works as expected.
2007-12-27 18:49:16 +00:00
Justin Clarke Casey 997a2907e2 Move hardcoded texture library inventory items out into OpenSimLibrary/xml. However, even before these change the five textures moved
are not displaying (which is why default cubes are coming up as grey plywood unless you happen to have that texture cached).  These
were working before so they must have broken in the last month.  Might be something to do with the fact that these identify (using file
under linux) as jpeg2000 files, while all the other working textures identify simply as data.
2007-12-27 15:17:22 +00:00
lbsa71 87e2a694e2 * AssetServerBase: _ProcessRequest is now called GetAsset
* PrimitiveBaseShape: The textures are now exposed as a 'TextureEntry Textures'; all serialization still using the 'byte[] TextureEntry' for backwards compatibility.
* Scene: Re-added AddTree, since the Tree type isn't gone from libsl, merely relocated.
2007-12-27 14:00:30 +00:00
Teravus Ovares cbf5ff4a93 * Added Sit Target persistence over sim restarts for mySQL and MonoSQLite.
* SAVE YOUR PRIM DATA, THIS MAKES CHANGES TO YOUR PRIMS TABLE
* The first time you run OpenSim after updating past this revision, you'll see a lot of Errors.   Be calm, shutdown the simulator, and start it again and your prims table will be updated.
* MSSQL added the fields to the Initial CreateTable section, however, you'll need to add the fields to your prims table if you want it to persist.
2007-12-27 05:37:48 +00:00
Justin Clarke Casey 54d9fbc0fe Prim inventory persistence phase 1: Creation of preliminary table in sqlite.
No user functionality yet.  This code is not turned on, so there is no possibility 
of disruption to existing databases.
2007-12-27 00:53:13 +00:00
Teravus Ovares c7fc0dbeb7 * Patch from Charlie Omega for standard secondlife inventory folders: see mantis:0000246
* Deletes the solution file from OpenSim.Gui
2007-12-26 21:06:51 +00:00
Justin Clarke Casey e9efd5bee2 Small non-functional inventory changes 2007-12-25 18:11:56 +00:00
Teravus Ovares 69cc4596b1 * Added some ugly hackish code to the user server to start implementing the new login method. You still can't yet log-in via the new method. Does not interfere with normal userserver operation, ie safe to update if you want. 2007-12-24 23:35:30 +00:00
Justin Clarke Casey 280a5cba8b Prim inventory script saving phase 1. Create necessary CAPS structures for correctly accepting prim inventory script updates.
No user functionality yet.
Refactoring to follow.
2007-12-24 22:35:01 +00:00
Charles Krinke f28f917c61 Revert most of the regionName message stuff. 2007-12-24 19:27:52 +00:00
Charles Krinke 60b5130cff Add regionName to OGS1 regionUp report. 2007-12-24 17:21:07 +00:00
Justin Clarke Casey 57b2bc21a9 Log message tweaking 2007-12-24 05:24:53 +00:00
Justin Clarke Casey 77a2755e14 Yet more inventory debugging messages 2007-12-23 11:43:46 +00:00
Justin Clarke Casey c545cc8cd9 Miscellaneous small tweaks and more logging messages to move towards resolving inventory problems 2007-12-23 02:14:29 +00:00
Justin Clarke Casey c470efea57 Make copying of scripts into prim inventories more reliable on the first attempt when the asset server is lagging by formalising the de facto polling.
This may not be the best solution in the long run, but should improve things for now.
This may also improve reliability when updating inventory item metadata (e.g. renaming an item) and in retrieving textures
for the main map view.
2007-12-22 19:48:01 +00:00
Justin Clarke Casey ed0f8bd572 minor refactor 2007-12-22 16:45:44 +00:00
Justin Clarke Casey 42bc256e4f Refix bug where inventory textures don't appear in prim edit texture selection box
unless previously expanded in inventory.
2007-12-21 19:47:45 +00:00
Teravus Ovares a453672edb * Remapped the Connection shutdown path.
* This fixes a *bunch* of Mantis bugs related to the following
* -- Neighbouring simulators not appearing after relog
* -- Login to simulator only to be logged off by simulator.
* -- ThreadAbort 
* -- Unable to shutdown circuitCode: x
2007-12-21 16:55:03 +00:00
Teravus Ovares 23f761231d * and another :/ 2007-12-20 23:37:41 +00:00
Teravus Ovares f1f57ca267 * Fixed implicit .ToString() in shape fetch. 2007-12-20 23:34:30 +00:00
Teravus Ovares 97c78ce0fd * fixed a few Implicit uses of .ToString() 2007-12-20 23:25:19 +00:00
Justin Clarke Casey e2fa5efb59 Revert a couple of UUIDs back to hyphenated since we actually sometimes store as hyphenated, sometimes not... 2007-12-20 22:56:30 +00:00
Justin Clarke Casey 30a8e27c40 Convert an sqlite user LLUUID I'd missed 2007-12-20 22:42:24 +00:00
Teravus Ovares 7cd8f808c8 * Matched up all previous .ToString() references (r2764) in OpenSim.Framework.Data.MySQL with Justincc's Util.ToRawUuidString() 2007-12-20 22:36:18 +00:00
Justin Clarke Casey 288e7def7d Convert some inventory ids I managed to miss 2007-12-20 21:49:21 +00:00
Justin Clarke Casey f1ebe79824 Fix up other sqlite db interactions to use non-hyphenated uuid
Inventory contents retrieval and persistent region storage standalone now appear to work as well as they did before :)
This patch will not fix grid problems.
May be bugs present due to conversions I didn't spot.
I personally probably don't have any more time for this today.  I'm also not entirely convinced this is the right way forward
so this might be a handy pause for thought.  I'll also be delighted if I wake up tommorrow and everything is fine again.
2007-12-20 19:13:34 +00:00
Justin Clarke Casey dd1e2c8eb9 Establish Util.ToRawUuidString to get LLUUIDs in unhyphenated form
Apply method to UUID crud in SqliteInventoryStore as an initial test
This appears now to successfully recover inventory upon login
This will almost certainly only work on standalone
2007-12-20 18:43:39 +00:00
Teravus Ovares 8aae909412 * Added a configuration parameter on the Grid Server to disallow forceful banlists.
* Added a way for Grid based configuration parameters to (generally used in overriding functionality) to get to the regions on Registration.
2007-12-20 06:31:03 +00:00
Jeff Ames be2ad79e52 Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. Works with LibSL rev>1532 2007-12-20 05:43:02 +00:00
Jeff Ames 36a8f70931 Extended svn:eol-style to check some other file types. 2007-12-20 01:01:42 +00:00
Justin Clarke Casey 45567b71b8 Refactor asset request processing for consistent status information on whether an asset was actually found or not 2007-12-19 18:05:45 +00:00
Jeff Ames 6702b03733 Misc. cleanup:
* added Util.Clip(value, min, max)
* modified asset cache's numPackets calculation to use max packet size (600) instead of 1000
* removed a few magic numbers
2007-12-19 08:44:25 +00:00
mingchen bd16dddce5 *Added Ban Lines around parcels for banned avatars, but there is no actual blocking done yet.
*Made the OnSignificantClientMovement distance from .02 to .45 to make it easier on the server.
2007-12-19 04:28:54 +00:00
mingchen fd3195ea53 *Parcels now fully work on MySQL as a datastore after a few tweaks and bug fixes after testing 2007-12-18 23:48:36 +00:00
mingchen 43b82099ca *Fixed MySQLDataStore bug causing errors on startup 2007-12-18 22:20:42 +00:00
mingchen 20eecd4155 *Using Mysql as the datastore should now store parcels across multiple sessions 2007-12-18 20:31:51 +00:00
mingchen 128f2b1e1b *Parcels and their access lists now store over multiple sessions when the datastore is sqlite 2007-12-18 17:42:02 +00:00
Teravus Ovares ccc8ffaaec * Added Incomplete Handling of the RegionInfoRequest packet
* Added Incomplete Handling of the EstateCovenantRequest packet 
* Added Incomplete Handling of the EstateOwnerMessageRequest.ChangeEstateCovenantid method
* Fixed a race condition with avatar animations
2007-12-18 12:08:34 +00:00
lbsa71 03635aa336 * Renamed AgentWearable to AvatarWearable
* Made Terrain texture temp (it's re-created on every run)
2007-12-18 07:57:06 +00:00
Teravus Ovares afe63faa2e * Fix for mantis 0000040 After client logout remote host closed connection on Simulator makes sim unuseable->'Closed Connection Called'
* I've fundamentally changed a few things, so this is experimental
* The routine that I used needs to be tested on Linux.  I don't expect it to cause a problem, but hey, it might.
* Child agents are still not logged off properly, so when the first set time out, the second set get logged off also, on the second log in if the second login is initiated before the first one fully times out.
2007-12-18 00:34:42 +00:00
Teravus Ovares adf7afb606 * Turned all instances of ForEach loops in ClientManager into Local Arrays.
* Added Locking while the Copy is taking place.
* Added an error message to describe what's actually happening.
2007-12-17 20:24:49 +00:00
mingchen d845da215f *Land has now been linked to the StorageManager. Next step is to fill in the functions for the different datastore interfaces for Land Objects. 2007-12-17 03:49:13 +00:00
Charles Krinke 5bec7f5ff3 Clean up the Login message on UserServer console just
before CustomizeResponse is called (this one redundant).
2007-12-16 23:37:40 +00:00
mingchen e2ed1a4e1f *Adding and Removing Avatars from the Access/Ban List for a parcel now works, but the actual ban lines, etc are not done. 2007-12-16 19:53:27 +00:00
Justin Clarke Casey 2061f55007 Reposition 'user profile not found' messages to stop spurious messages caused by other usermanager usage
This should stop the regular spurious messages in the grid user console
2007-12-16 13:57:08 +00:00
Justin Clarke Casey 019d662606 Put out a more comprehensible message when user authentication fails than the current NullReferenceException based one 2007-12-15 21:58:07 +00:00
Teravus Ovares e3dd15bef0 * Added support for multiple terrain blocks to be edited at the same time
* Now sending South and East cords to the terrain editor..    
* No new functionality from a user perspective 
* Programming wise, there's enough information to get the select based terrain editor working in an upcoming revision.
2007-12-15 17:10:12 +00:00
lbsa71 653a41fa03 * some work on not storing the circuitPack (bad thing if we're going to reuse packets)
* some work on encapsulation, code convention compliance and beautification.
* also, some ignores
2007-12-15 12:19:29 +00:00
Brian McBee 8a8c89a0f3 Grid Inventory feature upgrade: renaming folders should now be correct, subfolders work, moving folders works.
Tested only in MYSQL, but may work in MSSQL and sqlite.
Probably not working in standalone mode.
2007-12-15 04:57:14 +00:00
Jeff Ames 53b5fa4974 Set svn:eol-style. Cleaned up set-eol-style.sh a bit. 2007-12-15 02:36:31 +00:00
Charles Krinke 0ef0c9f4fb Thanks, Justin, for:
Message to confirm inventory retrieval rather than simply
 relying on the absence of a not found message.
2007-12-14 21:19:13 +00:00
Charles Krinke 4e7763f8de Thank you Justin for:
0000188: Clean up of some AssetCache.ProcessAssetQueue() code
2007-12-14 20:09:44 +00:00
lbsa71 9ed2b26232 * Just making Create public 2007-12-14 15:29:51 +00:00
lbsa71 0a4a5bbcef * ARequest changed name to AssetRequest and moved to own file.
* The AssetServerBase is now responsible for dequeueing, the server implementations merely recieves ProcessRequest( AssetRequest req )
* Catchall added around queue processing thread so thread won't abort on exceptions.
2007-12-14 08:47:15 +00:00
Teravus Ovares 79935881aa * Patch from Justincc that swaps out LLUUIDs for Guid on the inventory REST calls 2007-12-14 07:55:33 +00:00
Teravus Ovares fef8c77a8a patch from justincc for Mantis #163 - Opening a script in inventory longer than 1500characters can cause looping crash. 2007-12-14 00:54:12 +00:00
Jeff Ames 8d995a5a5d Minor cleanup 2007-12-13 18:45:32 +00:00
lbsa71 1cf4278862 * Debugging Shape
* Adding namesetting to Create
2007-12-13 14:47:44 +00:00
Teravus Ovares 2fd2e0285c * Killed hard coded heart after stats update
* Did some voodoo math on the sim FPS to make the values 0-50
2007-12-12 13:36:53 +00:00
Teravus Ovares 83f727bb7c * Patch from justincc to fix Inconsistent automatic mysql table creation - see bug 169 2007-12-12 01:23:15 +00:00
MW 909fcd554f A few minor changes/additions/fixes. 2007-12-11 16:05:53 +00:00
lbsa71 ffd60baa48 * The 'Create' functions should be called to factor up a new, otherwise empty, but with the Id and 1-to-1 child fields instantiated and randomized.
* Added two shape constants that
2007-12-11 13:30:08 +00:00
Brian McBee 16903ec488 Implementing updateinventoryfolder: Should now be able to rename folders in inventory 2007-12-11 03:51:32 +00:00
Jeff Ames 712efda9b9 added copyright notices 2007-12-11 01:26:06 +00:00
Sean Dague ce1ed11aba enable autocreation of mysql inventory tables again. I think
I stopped the looping issue on continous upgrade with this as well.
2007-12-10 22:12:52 +00:00
Teravus Ovares 2349dc2e27 * Added comments to many methods in the listed files. 2007-12-10 21:12:38 +00:00
Teravus Ovares eac9bc6889 * More refactoring to prepare for draw distance based agent sim notification. 2007-12-10 19:16:50 +00:00
Jeff Ames 40fd37f95a Refactored animation handling in ScenePresence. Now maintains a list of current animations.
* Fixes weirdness when typing and sitting at the same time
* Should fix bug #32 (getting stuck in edit appearance pose)
* Crouchwalk and possibly jump may need more looking into
2007-12-10 15:08:44 +00:00
MW 611327e104 more work on texture downloading.
Refractored the TextureDownloadModule (but currently to make debugging easier, it is running as a non shared module, so this results in a instance of this module being created for each region (and a extra thread per region), this will be changed back soon.
Removed the old texture handling/sending code from AssetCache.
A few other small changes/fixes.
2007-12-10 13:27:23 +00:00
Jeff Ames af6eb67999 saved OpenSim source code from the giant rampaging unterminated copyright notice of doom 2007-12-10 05:25:16 +00:00
Jeff Ames e278d07220 refactored ChatModule a bit.
misc cleanup and code convention fixes.
2007-12-10 02:29:42 +00:00
Teravus Ovares e595f82489 * Hooked up the GridComm event ChildDataUpdate to the scene.
* Added List<RegionInfo> m_neighbours to Scene 
* Hooked up the OnRegionUp event to m_neighbours list 
* Modified RegionInfo to have a bool commFailTF value so that we can skip neighbors that fail.  (when the region comes up, this gets reset to false and the region will try again.
* Added SetChildAgentThrottle(byte[]) to IClientAPI 
* Several other insignificant changes related to passing child pertanant agent data from sim to sim.
2007-12-10 00:46:56 +00:00
Sean Dague 934c54de5a From Justin Casey (IBM)
This corrects an off by one mistake in my previous patch - with this patch
the user root inventory folder should once again be correctly returned
under sqlite.
This was done correctly for mysql and mssql, my only (feeble) defence is
that with sqlite the code was a little different and I was eliminating
clauses rather than slightly modifying them.
2007-12-09 21:48:29 +00:00
Teravus Ovares 1074e5adc8 * Added more info to ChildAgentDataUpdate
* Added (at sdauge's suggestion) byte[] GetThrottlesPacked(float multiplier)
2007-12-09 18:05:08 +00:00
Teravus Ovares f2b175ef08 * Added some inter-region comms glue for allowing sims to chat amongst themsevles about an agent behind the agent's back.
* Will be using this glue Tomorrow/today to tell other regions what the agent's draw distance is and what region they're actually in so the region can make decisions on what prim to send, if any.
2007-12-09 05:59:49 +00:00
Brian McBee 890a7c2e80 Adding an explicit close() and dispose() in the hope that it might help with assetserver issues. 2007-12-08 23:47:41 +00:00
Brian McBee 383eccc543 hackish code to allow emptying of trash. This really should be done on the inventory server, and not from the region.
Also: it appeared to work the first try, so I have probably done something horribly wrong.
2007-12-08 20:41:37 +00:00
Brian McBee beca2373e1 Allow moving, deleting, and restoring objects in inventory.
Note: only tested in grid mode, and emptying trash is still not implemented.
2007-12-08 19:13:10 +00:00
Sean Dague 0855066968 This patch fixes mantis 105. Basically, it stops the index exception when
no root folder is found and it makes the user server wait longer for the
inventory server to do its work.

From Justin Casey (IBM)
2007-12-08 14:27:12 +00:00
Jeff Ames 5e08911400 set svn:eol-style 2007-12-08 10:04:06 +00:00
Teravus Ovares 5f516c9fb2 * All remoting calls are now using Serializable values
* There's still goofyness though, because other regions are denying child agent avatar.
* Still more debugging required.
2007-12-07 23:21:32 +00:00
MW a71f4c021b "Borrowed" the LLSD class from a older version of libsl, so that our LLSD decoding (used by CAPS) works again. 2007-12-07 22:29:16 +00:00
Teravus Ovares 25ec01311d * Serialized data properly for the InterRegionSingleton InformRegionChild method
* This isn't really that big of a deal(worth lots of commits) doing this, however I'm doing it in small chunks because I'm multi-tasking.
2007-12-07 18:20:34 +00:00
Teravus Ovares cbc8a27b34 * Added class sAgentCircuitData and unmarked AgentCircuitData as Serializable.
* Created converter constructors between sAgentCircuitData and AgentCircuitData
2007-12-07 15:56:16 +00:00
lbsa71 9414d6a1e1 * miniscule changes just to keep myself in synch 2007-12-07 13:49:33 +00:00
Adam Johnson 3d938f76b7 Updates to LibSL revision 1498. Thanks Johan! 2007-12-07 08:54:31 +00:00
Teravus Ovares 57f666497b * Added hacked support for 'anyone can move' and 'anyone can copy'.
* BACKUP YOUR PRIM BEFORE UPDATING TO THIS and then double check the prim permissions after applying it with a different avatar (then the master avatar or the prim owner avatar).
* Also, beware that any objects created under the old permission scheme may react oddly.  They may automatically allow anyone to modify them, (which you'll then have to un-set).  
* It's hacked support because when 'anyone can move is set', any avatar can modify the prim (texture, shape, scale, etc)
2007-12-07 07:42:03 +00:00
Jeff Ames a45118d35e added one more command to the console help. 2007-12-07 02:00:35 +00:00
Sean Dague 1ad83bcf1b reversing the r2599 patch, as this started causing CreateThread errors for
me on Mono 1.2.4, which led to client crashes.  I think the Timer.Stop() 
wasn't doing what was desired on Mono.  The Queue refactoring should address
the readability issues lbsa71 was working on as soon as I get the merge together.
2007-12-06 20:13:02 +00:00
Jeff Ames 73599c0f25 removed obsolete Verbose() function 2007-12-06 18:17:44 +00:00
lbsa71 395637acdd * now the throttle timer is stopped whilst processing Queue so that it won't fire twice
* started to refactored throttling method
* some code convention refactorings
2007-12-06 14:08:22 +00:00
MW 44caa7ae8e Fixed conversation bug in InventoryConfig 2007-12-06 10:29:53 +00:00
Jeff Ames 4bde56457f removed some duplicate hard-coded port numbers. changed ports to uint. 2007-12-06 01:41:41 +00:00
MW d2736437d4 Some refactoring of the RestObjectPoster (and related classes). 2007-12-05 19:02:57 +00:00
Teravus Ovares 71fd737a66 * Applied MSSQL Patch from akokko, Thanks! akokko
* This hasn't been tested in MSSQL mode, however it's been checked to make sure it doesn't cause any issues with mySQL/SQLlite
2007-12-05 15:53:58 +00:00
Teravus Ovares bb824eadee * Refactored Permissions into ScenePresence as requested by MW
* Un-hackerized generating the client_flags 
* Now handling the ObjectPermissions Update packet 
* Warning: Backup your prim before updating.  If you fail to do so and something goes wrong then, All Yr prim are belong to us!
2007-12-05 06:44:32 +00:00
Jeff Ames f195725db4 keeping opensim safe for children -- made some namespace references less explicit 2007-12-04 22:14:53 +00:00
Teravus Ovares a553e6f67c * Avatar picker works in grid mode now.
* To test, click the communicate button, then click the 'add' button and type a name.  You will get a list of closely matching avatar names.
* Before this'll work on your sim in grid mode, the UGA needs to be updated.  If it isn't updated, then you'll get a message on the sim console when searching like, 'got invalid queryid'.
2007-12-04 16:07:59 +00:00
Adam Frisby 01db4cd71d * More console message fixes
* Tagged Verbose("msg",...) as obsolete. Please use Verbose("AREA","msg",...) instead.
2007-12-04 10:22:09 +00:00
Adam Frisby 91c1e8a734 * Fixed a whole bunch of console messages. 2007-12-04 10:13:13 +00:00
Adam Frisby be7ae3dd3e * Removed 12 compiler warnings. 2007-12-04 08:18:09 +00:00
Adam Frisby e820159fb5 * Fixed compile issue. 2007-12-04 07:56:23 +00:00
Adam Frisby 7d5f032203 * Added SSL Support to HttpListener
* Added SSL Option to User Server to allow logins to be done via SSL.
* Added sane handling for when Remote Admin Plugin configuration is not found
* Added some performance boosts to an area of libTerrain which was highlighted in profiling.
2007-12-04 05:47:51 +00:00
Sean Dague 8f58a9a107 From Justin Casey (IBM)
While exploring what it would take to get the 'new script' button working,
I encountered the fact, some way down in the rabbit hole, that if a user
renamed an item in their inventory and logged out (without a restart of
the simulator), on log in the new name was not preserved.

As far as I can see, this was because any updates which didn't occur
inside a transaction were ignored by opensim.  This patch pays attention
to those changes.  It generates a new asset when an item is updated and
changes the user's inventory properties appropriately.  I believe this
behaviour is in line with the copy-on-write semantics used in the Second
Life protocol - perhaps it could be optimized if we knew for sure that the
only copy of the object was in the user's inventory.

This also means that if you rename an item (e.g. a script) before you drag
it into an object's inventory, the inventory will receive the item's most
recent name and description.
2007-12-03 20:06:01 +00:00
Sean Dague c29105aa3e This is a simple patch which just renames an IClientAPI method to
SendInventoryItemCreateUpdate() in order to reflect the actual packet it
sends (UpdateCreateInventoryItem).

From Justin Casey (IBM)
2007-12-03 17:24:27 +00:00
Jeff Ames 4c0ddacc16 minor meaningless changes 2007-12-03 07:26:27 +00:00
MW ac77c32453 Attempt to fix mantis issue #82, taking prims into inventory and then rezzing them in another region. 2007-12-02 20:43:21 +00:00
MW 5ae8759de1 Added some error handling (and console output) to BaseHttpServer.
a few other bits of refactoring.
2007-12-02 18:49:42 +00:00
MW cac98171e5 Very partial Avatar Appearance (ie, clothes/body parts) "storage". In standalone mode it will mean that when you log off and log back on ,as long as the region server hasn't been restarted , your avatar will start with wearing the clothes that it wore on log off. In grid mode its even more limited in that wearing/removing clothes/body parts are only stored in the region server instance you are one. so if you are in a different region to your login region (which are on different region server instances), and then change clothes, those changes won't be remembered. So as said, its very limited but is a small step towards having proper appearance persist.
Just need to store this data out to a database.
2007-12-02 14:56:23 +00:00
MW 86ae8e97cd Fixes a bug that my last commit introduced. 2007-12-02 14:12:56 +00:00
MW 80609c2b15 Some refactoring , mainly on Inventory code. 2007-12-02 13:59:15 +00:00
MW b92df4aaaf New Inventory folder should now be stored to the inventory server/database. This also seems to fix the problem of Body parts not being persisted properly. 2007-12-02 10:21:17 +00:00
MW 5c866bc6ff as a Test, attempted to disable mysql inventory table auto creation. 2007-12-01 21:03:10 +00:00
MW 4dee53c7fb Attempt to fix mantis issue # 73 2007-12-01 20:57:14 +00:00
MW 5df851761a Initial working Grid Inventory server. Only been tested on a very small grid, so likely to have problems on a larger grid with more people?
To use , both the user server and Inventory server need to be running this latest revision. (older regions should be able to still be used, just the user won't have inventory on them). Also and HERE IS THE BIG BREAK ISSUE, currently, so that the initial inventory details for a user are added to the inventory db , you need to recreate the accounts using the user server "create user" feature. It should be quite easy to manual populate the inventory database instead but I someone else will need to look into that) Also I've only tested using SQLite as the database provider, there is a Mysql inventory provider but I don't know if it works (SQLite is set as default, so you will need to change it in the inventory server config.xml)
2007-12-01 18:49:17 +00:00
MW fff468dcfe Attempt to fix mantis issue # 65, seems like it is a race condition between two regions trying to add a user to the AssetTransactionManager at the same time. So have placed a lock around the Dictionary add. 2007-12-01 16:40:26 +00:00
MW 27f182ac54 Part 1 of a commit. This revision will not compile, part 2 will be added in a couple of minutes that should fix that.
Some work towards persisting Avatar Appearance (what is being worn).
Added OnAvatarNowWearing event to IClientAPI that is triggered by AgentIsNowWearing packets.
stub code to subscribe to this event in AvatarFactoryModule. 
Todo: code needs to be added to AvatarFactoryModule to save the uuids to a database and then read them back when that modules TryGetIntialAvatarAppearance() method is called.
Done some changes to Scene to make it easier to subclass it: including changed some private fields to protected and made some methods virtual.
2007-12-01 14:20:37 +00:00
Teravus Ovares b287015028 * Fixed a bug in my 'user already logged in' fix that could cause a null reference exception. 2007-11-30 21:01:03 +00:00
Sean Dague b167507e32 Patch for mantis 0000015: Textures don't display in the object
properties window

From Justin Casey (IBM)
2007-11-30 20:16:40 +00:00
Sean Dague d2fe290bb6 return of the inv-lib-root patch from Justin Casey (IBM)
Should fix libsl login ability.  No long breaks my login
to test environment.
2007-11-30 15:27:56 +00:00
Teravus Ovares 3ab3392def * This extends my first hack to clear out the useragent table for that specific user.
* This helps people who have multiple records in their useragent table.
* This update should be looked at..  because really what it should be doing is initiating a grid wide logoff.
2007-11-30 02:14:29 +00:00
Teravus Ovares 57e6b51639 * Here's the issue, on log-off, the routine sets up a null useragent member and then tries to save it to the database.. where it was going wrong, is the database had a check to do *nothing* when it got a null useragent. I made it delete the userAgent row. This should be a good enough fix to solve the problem. It still needs to be looked at by a DB guy 2007-11-30 02:01:12 +00:00
Teravus Ovares 5eb091ceee * Temporary fix for 'User already online' issue in standalone mode.
* Revert this once we get a working logoff.
2007-11-30 01:20:31 +00:00
Sean Dague d3ab5ad506 revert r2510, this seems to break normal logins, at least from
Linux clients.
2007-11-29 20:20:11 +00:00
Sean Dague af9eb87ad1 return an appropriate inv_lib_root, which the libsl folks have
identified as the reason libsl can't currently connect to OpenSim.

Patch from Justin Casey (IBM)
2007-11-29 17:14:06 +00:00
Teravus Ovares 4bd38fc65a * Thanks to _SomeOne_, Server side permissions on object editing. Be aware, that if you're editing an object on your client that you're not allowed to, it'll appear that it's moving to you, but won't actually be moving on the sim. 2007-11-29 15:24:31 +00:00
Jeff Ames 6d7ce67db1 fixed duplicate login in standalone mode (mostly untested in grid mode) 2007-11-29 07:22:11 +00:00
Teravus Ovares 81ba94fde8 * Fixed about 7 issues with restarting sims and resolved interRegion comms issues. This includes the issue that MW described this morning.
There's a lot of little nit picky changes that make a world of difference.
2007-11-29 02:07:19 +00:00
Jeff Ames 2364e6779b set svn:eol-style 2007-11-29 01:57:59 +00:00
MW ac77c50ba9 Moved the m_sceneGridService.RegisterRegion(RegionInfo); call out of LoadWorldMap and into its own public method (which is called during region creation). We shouldn't have things like that in methods like LoadWorldMap as some regions might not being having a worldmap loaded via the LoadWorldMap method (like in custom applications).
Deleted the CreateTerrainTextureInitial Method which was a 99% duplicate of CreateTerrainTexture, with just a bool field setting difference. That bool is now passed to CreateTerrainTexture as a param.
2007-11-28 12:36:09 +00:00
Teravus Ovares b7d596a6af * Restaring the sim works fine in grid mode now. Sims announce themselves to their neighbors when they start up. Neighbors get this message and tell their agents that there's a new sim up.
* Certain unrecoverable physics based crashes in ODE are now hooked up to the 'restart the sim' routine.
2007-11-28 06:18:07 +00:00
Teravus Ovares 082f2baebe Fixed an event in the events chain in inter-region communications.
As a consequence, restarting sims in the same process instance now shows them when they come back up in grid mode and standalone mode.
2007-11-27 13:46:52 +00:00
Brian McBee 232613638f Attempt to handle MYSQL error fetching assets 2007-11-26 16:39:00 +00:00
Teravus Ovares 175b6115f1 * Restarting regions with the estate tools works in sandbox mode. I'm still working on grid mode, however. It doesn't break anything, but that feature doesn't work in grid mode yet either. 2007-11-26 05:02:18 +00:00
Brian McBee 35472b3666 Added new configuration item to User Server: X and Y of region to send user to if their logon region is down. Known good region, sort of. 2007-11-25 21:21:44 +00:00
Teravus Ovares d263a044b1 * Added the ability to restart your individual sims from within them using the estate tools.
* The sims properly restart, however they don't yet notify the existing avatars that they are up.  To see the sim again, you'll need to log-out and back in until I can figure out how to get the proper data to the sims and to the avatar so they reconnect again.
2007-11-25 04:52:14 +00:00
Adam Frisby 0951f895ef * Removed references to "new LLUUID()", replaced with LLUUID.Zero. 2007-11-24 10:36:54 +00:00
Teravus Ovares 944b118c62 * Added a way for the Region master user to kick individual users from their sim with a custom message. Their client says, "You've been logged off of secondlife, <Your custom message here> and logs them off.
* Added a way for the Region master user to kick *ALL* users from *ALL* their regions in the estate with a custom message.
2007-11-24 03:28:42 +00:00
Teravus Ovares 52714c339e * Hanling RequestGodlikePowers. On Request.. sends the sim owner's client the appropriate messages to make it think it's got god status. Will be used for finding more unimplemented packets.... 2007-11-24 01:38:36 +00:00
lbsa71 fb2588b409 * Refactored NumPackets calculation 2007-11-23 13:21:39 +00:00
Teravus Ovares f97aeab916 * Quelled a Log format exception in the logging routines.
* Tweaked some esoteric throttle settings
* Removed AgentThrottle from the unsupported packet list.
2007-11-22 21:40:53 +00:00
Teravus Ovares 999eec603e Created a client driven packet throttler. The sim now respects the client's network throttle settings but does sanity checks to avoid too little(nothing gets sent) or too much(the sim crashes) data.
* Consider this experimental..   however, it looks very promising.
2007-11-22 19:01:53 +00:00
lbsa71 ae5999c3d5 * removed erroneous comments 2007-11-22 15:43:28 +00:00
Teravus Ovares e69c810486 * Added code to capture the draw distance setting from the client.
* Added a support function to InnerScene to calculate the distance between two vectors.
2007-11-22 01:32:13 +00:00
Teravus Ovares 7cb38712d5 * Did some initial work for prim crossing. Just glue so far.
* Added the child_get_tasks OpenSim.ini flag for testing the UDP packet sending code and packet throttler.   This flag gets purposely disabled in grid mode.  This flag also has the consequence that you can see the prim in neighboring regions without going into them.  Be warned, this causes tons of dropped packets.
2007-11-21 02:17:24 +00:00
Sean Dague ec5186c98a there is no real reason to write this value back to estate settings,
and it is the most often tickled part of this race condition.
2007-11-19 23:00:08 +00:00
lbsa71 ce3a87daa5 * Changed namespace 2007-11-19 11:20:36 +00:00
Teravus Ovares 615b40b68b * Refactored IClientAPI.OutPacket to require a second mandatory parameter. This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset. 2007-11-18 15:54:05 +00:00
Jeff Ames 924026d01c cleaned up some mono compiler warnings 2007-11-18 15:14:37 +00:00
Jeff Ames d10c79d421 first stab at implementation of CopyInventoryItem 2007-11-18 13:50:46 +00:00
Dalien Talbot 793813a6a6 Added handler for MapNameRequest - OnMapNameRequest 2007-11-18 04:00:04 +00:00
MW a4a1ff3d9b Added ClickAction property to SceneObjectPart (and the relevant changes in IClientAPI so its used), so that the default click action (ie touch, sit, etc) can be set on a prim. Note: Sill need to handle the incoming packets that set this, from the client. 2007-11-17 12:03:20 +00:00
Jeff Ames 6ad471abc0 set svn:eol-style 2007-11-17 08:39:59 +00:00
Jeff Ames a473289738 minor cleanup of some dodgy bits 2007-11-17 08:14:17 +00:00
Jeff Ames 946db5461c catch exceptions when loading malformed xml files 2007-11-17 05:53:12 +00:00
MW 483377adae More cleaning up when deleting regions from a instance. NOTE: IGridServices.DeregisterRegion() method needs implementing for grid mode. 2007-11-16 13:39:11 +00:00
lbsa71 3aed77bd2c *** BIG CHANGES : REGION STORAGE MOVED : UPDATE YOUR OpenSim.ini FROM OpenSim.ini.example **
* Now moved region storage from region to application, so we have one storage per application, instead of one per region.
* Changed so that the region store providers use connectionstrings, not filenames
* Removed various unfit fields and properties (call me Darwin)
2007-11-15 19:53:10 +00:00
lbsa71 57ff76850d * Added MySQLDataStore (adapted from MonoSqlite
* Made startup a little bit more forgiving on dll load
* Minor renamings and musings
2007-11-15 15:32:28 +00:00
Teravus Ovares 179695909a * Implemented the little friendly pop tooltip messages that appear when you hover your mouse over prim with the object name, description, ownerid.. etc. 2007-11-15 07:32:24 +00:00
Teravus Ovares 3cb2b5eb66 * Copied objects are now owned by the object copier (Next Owner) (however next owner permissions are not applied yet)
* In Serverside permissions mode; If you've copied an object, then you can delete it and clean up after yourself.  The rest of the permissions functionality is still unchanged.  Admin can delete any object..  etc.
2007-11-14 11:56:57 +00:00
Brian McBee 666bd6f06e Another try: Fix moon bleeding over into linden grid. Need to clear your cache to fix it. 2007-11-14 06:00:03 +00:00
Teravus Ovares 9f6b3e2357 * Added AvatarPicker in Standalone mode. Works for finding avatar to ban, manually trying to add a friend (with the add button) or useful to those who are curious which usernames have visited your standalone sim. Important for future development :D.
* Grid mode always returns 0 results until the Grid Communications portion is done.
2007-11-13 22:48:19 +00:00
Sean Dague eb41ec00c9 first pass on unlinking of objects. From Jay Clarke (IBM) 2007-11-13 19:57:11 +00:00
MW 297cc7ef4f Some work on cleanly removing Regions. 2007-11-13 12:23:05 +00:00
MW 7f8a69f181 Some work on being able to set/send a users Buddylist info. (added handling code to LoginResponse).
And as a test each user signing in will get the test account ("Mr OpenSim") as a friend (online/offline status will not currently show up)
2007-11-13 10:47:39 +00:00
Teravus Ovares d9d35f9fd7 * Implemented Walk Vs Run in ODE. Also helps make the walk look smoother.
* All thanks to unimplemented packet listing :D
2007-11-12 23:46:26 +00:00
Jeff Ames ad002835d3 enable typing animation for chat, maybe 2007-11-12 20:25:59 +00:00
Dalien Talbot 8039c31e88 Patch from Mathias Soeken (thanks Mathias!) to take care of the color
and alpha argument of the llSetText command.
2007-11-11 22:23:34 +00:00
Brian McBee 46fbcad2aa Fixed bug in assetcache where certain textures were not being packetized correctly 2007-11-11 00:11:34 +00:00
Adam Frisby 3a5ae43d5e * Fixed compile issue. 2007-11-09 02:13:07 +00:00
Adam Frisby c93f7188c7 * Added a mutex to the LoginService allowing only a single login simultaneously. (queues)
* This is a temporary fix to prevent an issue with adjohn reported when attempting to login large numbers of users in a short period of time.
* A rewritten login service is on the cards.
2007-11-09 01:59:18 +00:00
Teravus Ovares 9e9dad1cde * Added Rotational Velocity reporting for Client Interpolation to Terse Updates
* Added Angular Velocity reporting for smooth-ish rotations on object collisions
2007-11-08 00:10:40 +00:00
Sean Dague 65eb1852a3 add SendSunPos function to IClientAPI to let us pull all the sun
calculation logic into a module
2007-11-07 20:29:30 +00:00
lbsa71 ee1fcc729c * Added better logging to AssetCache
* AssetCache now ignores duplicate uploads
* some m_ refactoring
* ignored some bins
2007-11-06 11:10:45 +00:00
lbsa71 f6c8c10d3f * Substituted som 'GenericCall' with Action<>
* OnRequestWearables does no longer accept 'Client' as param, since it's always on the current client
* Fixed SendOwnWearables to always operate on self, as that's what it does
2007-11-05 14:38:58 +00:00
MW 73fbacea1f Started to cleanup/close down childagent connections when a user teleports. As the client will not close old childagent connections without being told explicitly to do so by each region the connection is to. Currently only implemented in standalone mode. ( the TellRegionToCloseChildConnection( ) in OGS1GridServices.cs needs implementing for grid mode, and the inter region .net remoting added for the new messages).
hopefully fixed the echo bug in chatmodule.
2007-11-05 13:58:44 +00:00
Adam Frisby 7896a0c453 * Temporarily reverted SQL syntax. 2007-11-05 01:35:17 +00:00
Adam Frisby 181dd8d8dc * Changed MySQL Syntax on Region Updates for Grid Server. 2007-11-04 23:31:35 +00:00
MW d56ed8fe9c Some more refactoring 2007-11-04 22:22:53 +00:00
Adam Frisby 9f4ae7230f * Small touchup of console messages 2007-11-04 20:37:55 +00:00
MW 18ae60db37 Deleted Regionloader .csproj files. 2007-11-04 14:40:16 +00:00
Jeff Ames 2d1c255e8c normalized line endings 2007-11-04 14:34:45 +00:00
MW e50a2e2ce2 Applying Teravus patch # 557. Some glue code for the updating of prim's velocity. 2007-11-04 14:06:41 +00:00
MW 19fe9a0208 Do I really have to write a log entry, can't I just hide this commit somewhere so its added but doesn't show up anywhere. As I can't believe I would make such a stupid mistake and not notice. 2007-11-04 10:40:28 +00:00
Tleiades Hax dfc6108f1b removed our own inplementation of UUID's, it wasn't used anywhere. 2007-11-04 06:15:43 +00:00
mingchen b51a900beb *Master Avatar can be specified by a previous UUID in either grid mode or standalone mode by specifying a master_avatar_uuid attribute in the place of master_avatar_xxxx_name and master_avatar_password.You will not be asked for the name and password if a valid UUID is specified. 2007-11-03 17:49:45 +00:00
lbsa71 5b4e4cb3ac * Removed unused UDPServerBase 2007-11-03 15:51:02 +00:00
mingchen 51488ee7f4 *Moved region loading into its own interface IRegionLoader
*Added ability to load regioninfo remotely from a webserver from a single file. See share/RegionLoading/HOWTO_REMOTE_REGION_LOADING.txt for more info and an example file.
2007-11-03 15:09:21 +00:00
MW 91c2c3c096 testing different rest post method/class for Grid asset client. (possible that I haven't set the post url correctly) 2007-11-03 14:04:59 +00:00
Sean Dague 21e47f8ef0 debug tracing for asset server hangs 2007-11-01 22:01:26 +00:00
Tleiades Hax 317ef312bd Need to clean up resources when creating/updating assets 2007-11-01 21:38:41 +00:00
Tleiades Hax cb2ae6eaed 2007-11-01 21:36:47 +00:00
lbsa71 4fad66f855 * Diuerse beavtificatems 2007-11-01 19:19:05 +00:00
MW 7a66eff8af renamed FetchAsset to RequestAsset on IAssetServer, as think its a more fitting name. As the call shouldn't actually return the data, but just add a request for the data to be sent back via the callback. 2007-11-01 17:28:38 +00:00
MW 88f04731ca Test on the grid asset problem, don't update to this version unless you just want to test to see if this fixes anything (but it could just as well break grid assets even more). 2007-11-01 15:54:59 +00:00
Charles Krinke 8af272b3ab Thank you, Melanie for solving: When receiving an ObjectAdd packet, the Rotation member is silently ignored and the prim is created with 0,0,0,1 rotation. The patch introduces a fix that passes the Rotation parameter from the packet to the object and uses it in the actual object creation. 2007-11-01 03:56:54 +00:00
lbsa71 b3aa6e616b * Took a stab at #500 by making sure there is only one place stuff gets added, and that that place is thread-aware.
* Refactored it to TryGetValue instead of Contains
2007-10-31 20:39:52 +00:00
Tleiades Hax 5fb956f75a Improved logging, to identify which asset fetch caused an execption during retrieval of assets from the asset server 2007-10-31 18:49:40 +00:00
Sean Dague 048939fbb5 fix typo in filename 2007-10-31 14:08:12 +00:00
lbsa71 0d528e1d22 * Added a streamhandler that does streams both in and out
* The RestDeserialisehandler now does streams and returns an object instead of string
2007-10-31 12:45:03 +00:00
MW 720065ef9e forgotten file 2007-10-31 09:26:06 +00:00
MW a9ad16b13a some small changes 2007-10-31 09:18:24 +00:00
Jeff Ames f42afe81af added .dat extension to dumped asset files 2007-10-31 08:07:20 +00:00
Jeff Ames 13854d562f fixed filenames in log messages 2007-10-31 07:56:31 +00:00
lbsa71 064404ab40 * Moved OpenSim/Framework/General to OpenSim/Framework for great justice. 2007-10-31 07:28:23 +00:00
Jeff Ames 7f0d836d35 made illogical bitwise operations logical 2007-10-31 05:29:51 +00:00
Jeff Ames 98b238cf6b set svn:eol-style 2007-10-31 01:21:04 +00:00
Tleiades Hax 6a8d8f54e8 Step one on the long march towards grid based inventory. Introduction of an InevntoryServer 2007-10-30 22:42:34 +00:00
Jeff Ames ecb2305a04 temporary fix for sitting collisions in ODE 2007-10-30 09:56:29 +00:00
lbsa71 67e12b95ea * Optimized usings
* Shortened type references
* Removed redundant 'this' qualifier
2007-10-30 09:05:31 +00:00
MW 3d8219f6c7 as per the "Filesystem cleanup for OpenSim repository" mailing list thread. Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace.
Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
2007-10-29 21:46:25 +00:00
MW f6e8cbbd06 Fixed a bug in SQLAssetServer that only seemed to be a problem when running under the MS .net Runtime, but was fine with mono. 2007-10-29 15:58:52 +00:00
MW 0837f6b78d fixed one bug (where the assets we read and created from the OpenSimAssetSet.xml file, weren't actually getting added to the database). This should make textures/assets work again with db4o, but still seems a problem with sqlite 2007-10-29 14:37:08 +00:00
lbsa71 27b5fad56d * Removed AssetNotFound as it crashes client
* Fixed introduced bugs in ScenePresence
2007-10-29 12:59:04 +00:00
lbsa71 03d49b0217 * ModuleLoader: Privatized some too-public fields
* Scene: Changed name from MakeAvatarPhysical to MakeRootAgent and added ForEachClient
* SceneManager: Added ForEachScene
* Worked some on appearances.
2007-10-29 11:54:31 +00:00
MW 27f003b683 Started the process of cleaning up AssetCache and moving most of the code into modules. Have moved TextureRequest handling (from the client) to a module. But even though to start with I just did a little bit of cleaning up of the existing code, it doesn't seem to work as good as the old code so I need to spend more time on it. So for now am committing my changes but with them not in use. So for now all Texture and asset requests are still handled by the old code in AssetCache. 2007-10-29 09:51:23 +00:00
Jeff Ames 7c6ef95f2f normalized line endings 2007-10-29 07:57:38 +00:00
Jeff Ames 2cf117cc6c Added preliminary support for sitting on prims 2007-10-28 03:58:46 +00:00
mingchen d56da1c831 *Replaced -useexecutepath with an updated -inifile extension. You can now specify either a filename (will use the default config path, or you can specify a full path. 2007-10-28 03:41:34 +00:00
lbsa71 fb6aa6eafc * Added 'Jim' and 'Goblin' shapes; not available in inventory yet though 2007-10-27 11:45:52 +00:00
Tleiades Hax adf4a3b9fd Added method to create default config file in region server(OpenSim) following along the same priciples as in the other servers. 2007-10-26 15:35:17 +00:00
lbsa71 070047ce1b * Added prototypical AvatarFactory module interface to load avatar parameters
* Added dump_assets_to_file option to enable asset dumping for debug
* normalized some namespaces
* InventoryFolder renamed to InventoryFolderImpl to
2007-10-26 14:08:36 +00:00
Tleiades Hax 75be841839 Region ground texture was not marked as temporary, when being created, and assetcache did not check if an asset was temporary prior to uploading the cache to the asset server. Consequently the asset server was constantly being swamped by temporary ground textures. 2007-10-26 13:12:49 +00:00
Tleiades Hax 5e7dba7268 Very early first implementation of grid based assets.
Run this on a major grid, and weep
2007-10-26 11:46:27 +00:00
Sean Dague 461eaf188e fix line endings 2007-10-25 15:43:48 +00:00
Sean Dague 32869aec47 apply http://bug.opensecondlife.org/view.php?id=512 from chillken
which cleans up the verbose logic
2007-10-25 15:34:43 +00:00
Tleiades Hax 60e4541865 Created a generic RESTClient component, which simplifies querying for resources from REST based web-services.
Currently it supports a barebones scheme for specifying the path of the resource and querying asynchroneously. POST method is still wacky and a good solid scheme for handling timeout still remain.
2007-10-25 09:26:47 +00:00
Tleiades Hax 62e695d3ee Preparing for grid wide assets 2007-10-24 04:11:09 +00:00
Tleiades Hax 44ee28d963 Part of supporting gridwide assetss. A little premature release, but I'm tired of conflicts. 2007-10-24 04:07:41 +00:00
Adam Frisby 0c9933fd0f * Added "create-region" console command. Syntax: create-region <name> <region.xml filename>
* Spring cleaning.
2007-10-23 12:44:12 +00:00
Adam Frisby 3143768468 * Removed plenty more untagged console messages. Everything now has shiny groups. :) 2007-10-22 22:37:39 +00:00
Adam Frisby 5dad0ed729 * Return of R2162. /Take that SVN!/ 2007-10-22 21:57:32 +00:00
lbsa71 dd770c384c * Made EstateSetting static since there's only one instance, and we only need to create it once
* Now cacheing RegionInfos indefinitively; we should add a tiomeout to this cache
2007-10-22 17:55:49 +00:00
Sean Dague c5ea70bf93 nice catch by chi11ken that I was setting the wrong property 2007-10-22 15:39:02 +00:00
Sean Dague 6acaabefc3 revert r2162 as it completely clobbered all the work on
the ChatModule by MW and myself.  Couldn't find Adam online
after that rev went in.
2007-10-22 15:37:54 +00:00
Adam Frisby c4707a284f * Major ass commit.
* Sqlite Storage Engine now supports terrain -- however be aware that every terrain revision stored will at 512KB to your database file. At the moment it is storing every revision from the first.
* Fixed an issue where by noverbose mode would display lots of useless junk. Noverbose mode is now quite usable.
* Fixed a whole bunch of console message issues such as naming and categorisation
2007-10-22 15:23:48 +00:00
MW 5bf6b24590 Bug fix, so that local loginserver (in standalone mode) can set a start position (position inside the region) rather than it always being hardcoded to 128,128. Note: This bug fix is just to allow this to be set. Its not actually used yet (so users will still always start at 128,128). 2007-10-22 09:04:55 +00:00
Adam Frisby 4dc8e7e0f8 * Added a lock to the user profile cache to prevent simultaneous duplicate additions to the database. (Attempting to fix bug reported by nebadon) 2007-10-21 22:53:54 +00:00
Adam Frisby 7f2ec02802 * Disabled TCP Remoting Channel Security for InterRegion communication, as it appears we are not implementing this correctly. (need to set up certificates first)
* Documented ACL class
2007-10-21 22:15:41 +00:00
Sean Dague 61397a3410 fix line ending mixing. Probably should put some
wiki descriptions up on line endings so we don't keep 
ending up in this place.
2007-10-21 14:59:18 +00:00
Adam Frisby 6119eaed85 * Committing new PolicyManager based on an ACL system.
* Unlinked right now, but intent to replace large amounts of the core logic in PermissionManager with it.
2007-10-20 10:44:34 +00:00
Adam Frisby 1313544ac7 * Major structural change: Begun converting Events to use (caller, args) syntax to conform with .NET guidelines.
* OnChatFromViewer has been converted as an example.
* Bug: SimpleApp's NPC client does not implement a Scene property and will likely crash with a NullReferenceException when it attempts to chat.
2007-10-19 22:02:07 +00:00
Sean Dague d4bb430f78 get rid of all the ^M line endings 2007-10-19 20:28:18 +00:00
mingchen f756b1ee1c *Added -useexecutepath to use the path of the .exe as the path to find configuration and libraries and not the current working directory. 2007-10-19 19:20:18 +00:00
MW 373372ca3e couple of tiny changes to what is outputted to the console during the start up phase (like changed the bit where it asks for sim uuid to asking for region id). should have no effect on anything. 2007-10-19 10:37:38 +00:00
lbsa71 656c72befc * some more refactoring + bugfix 2007-10-19 08:57:30 +00:00
MW e1bb245787 changed the RegionID config name (that loaded from the region.xml files back to sim_uuid), but left that actual field name in RegionInfo as RegionID. Hopefully old region.xml files should now work again. 2007-10-19 08:56:42 +00:00
lbsa71 46700d3b7d * Total refactoring of Asset Server for massive win
* There is now a AssetServerBase
* lolcat in ur assets
2007-10-19 07:46:03 +00:00
Tleiades Hax 05df857132 Possible fix for: Remoting exceptions with adjacent non-running sims.
Bugs 449, 454, 408, 244, 197
implemented InformClientOfNeighbours as an asynchroneous process, handling timeouts without blocking the main thread.

Improved logging of errors, removed catch all in try catch
2007-10-18 15:10:43 +00:00
lbsa71 26b8018bcc * Some asset loading refactoring 2007-10-17 10:58:19 +00:00
Tleiades Hax 44a7db0e44 Renamed SimProfileData to RegionProfileData 2007-10-17 09:36:11 +00:00
lbsa71 9de589bc37 * Applied Chillken patch #419: consolidate_ports-r2096-3.patch - consolidated port number defaults. Thankx Chillken! 2007-10-15 08:42:15 +00:00
lbsa71 b48390213b * Applied Chillken patch #418: copyright-r2094.patch updating copyright messages. Thanks Chillken! 2007-10-15 07:25:32 +00:00
lbsa71 849eaffbe5 * Applied patch #418 : copyright-r2012.patch - some errors, but got most thru 2007-10-15 07:10:21 +00:00
lbsa71 1294da6a93 * Applied Chillken patch #418 : newline-r2092.patch ; failed on assemblyinfo tho. Thanxs Chillken! 2007-10-15 07:01:22 +00:00
lbsa71 8b01821dba * normalized line endings 2007-10-15 04:27:52 +00:00
Tleiades Hax 5a1e896edc OpenSimMain now respects the asset_plugin paramter, and storing of assets will *not* throw an exception 2007-10-13 12:35:37 +00:00
Tleiades Hax f6aeff6cc3 Added capbility to use MySQL as the database backend in stand alone mode for assets and inventory.
Added asset_plugin key to "StandAlone" section of OpenSim.ini
2007-10-13 09:21:08 +00:00
Tleiades Hax e8c1de8e72 2007-10-13 09:10:53 +00:00
Tleiades Hax 1232eb1c58 Asset server implementation. Again one of these "plumbing" releases, where no real functionality has been introduced, but ground work has been made, enabling the asset server, and preparing the sim server to query the asset server.
Introduced an "IPlugin" interface, which plugins can inherit from.
2007-10-13 07:26:21 +00:00
Charles Krinke 4c8d175564 I broke the build and am reverting until I can get the MainLog call proper. 2007-10-12 19:31:29 +00:00
Charles Krinke e41b0feb58 Turn a few of the writelines into mainlog entries so failed logins can be more easily analyzed. 2007-10-12 13:50:11 +00:00
lbsa71 e7869d0666 * Added FormatProvider to Culture 2007-10-11 10:33:23 +00:00
lbsa71 a40e7100a2 * Gave ModuleLoader some good lovin'
* Introduced ModuleLoader.PickupModules that currently picks up IRegionModule:s from /bin
* Made LogBase thread-safe (or at least not thread-ignorant)
* Ignored some genned files
2007-10-10 18:24:13 +00:00
MW f13611bbc9 The files that I missed from Tleiades patch. 2007-10-08 16:42:05 +00:00
MW 4c25008850 Applied patch 485, inventory patch from tleiades (thanks again). 2007-10-08 10:30:15 +00:00
MW 4e6b68df13 Applied Patch 473, Inventory Patch from Tleiades (many thanks). 2007-10-06 08:23:51 +00:00
Sean Dague c3d8f1f425 getting all our line endings consistant again 2007-10-05 15:45:45 +00:00
lbsa71 d4a4aafaf1 * So, ok, maybe renaming serialized fields on a friday wasn't the smartest of things. Reverting 2056. 2007-10-05 13:54:16 +00:00
lbsa71 82bdf535df * minor refactoring
* using base type IUserService
2007-10-05 13:12:34 +00:00
lbsa71 ed6168b96b * UserProfileData meets code conventions 2007-10-05 11:27:46 +00:00
lbsa71 5a65521203 == The "right name and place" commit ==
* Moved InventoryData to Framework.Types/InventoryItemBase.cs
* Moved UserData to Framework.Interfaces/IUserData.cs
* Moved UserProfileData to Framework/Types/UserProfileData.cs
* Deleted ass-backwards Framework dependency on Framework.Data (now it's the other way round)
* Changed some namespaces to reflect file structure
2007-10-05 10:14:42 +00:00
lbsa71 342a813bd7 * Moved IUserService to OpenSim.Framework.Interfaces 2007-10-05 09:45:39 +00:00
lbsa71 10c36a2573 * Renamed IUserServices to IUserService 2007-10-05 09:41:41 +00:00
MW 9b1eefbcde Some continuation of lbsa71's refactoring of the CommunicationsManager. 2007-10-03 06:20:00 +00:00
lbsa71 b5eaea7b0c * Moved setup of LocalInventoryService and LocalUserServices to the app layer
* Killed off 'parent' relation from LocalUserServices to CommunicationsLocal
* Deleted obsolete project InventoryServiceBase
* Deleted superfluous createCol function
2007-10-02 00:00:12 +00:00
Sean Dague 1a10d4828a revert working getInventoryFolder function because this seems
to break multi region environments.
2007-10-01 08:17:43 +00:00
Sean Dague ebfb057583 negative code checkin. All these functions are in the base
class which we get for free now.
2007-09-28 11:11:36 +00:00
Sean Dague 77354612ff implement getInventoryItem and getInventoryFolder (not
sure why these weren't implemented previously)
2007-09-28 10:23:48 +00:00
lbsa71 863195612b Reverting back to 2017 since 2018 were causing Linux breakage; reopening Tleiades patch 444 and 445. 2007-09-27 14:57:43 +00:00
Sean Dague 664de12898 oops, I broke the build. Fixed now 2007-09-27 13:53:50 +00:00
lbsa71 3ddf9da1f4 * Tleiades patch #445 - the inventory folders displayed does not show the expected folder icons
Tahnx, Tleiades; keep up the good work!
2007-09-27 13:51:16 +00:00
Sean Dague 5b4d631d34 implement something in sqlite inventory that wasn't before
not sure how we missed this function
2007-09-27 13:44:45 +00:00
lbsa71 8143c597fc * Tleiades grid mode inventory (#444) - thanx Tleiades!
* updated to rev 1413 on libsecondlife.dll and libsecondlife.dll.config (#423)
2007-09-27 13:25:45 +00:00
lbsa71 eb8640f368 * Now the OGS1GridServices has a LocalBackEndServices that it forwards intra-instance requests to
* Every Scene has a ClientManager (as every dog it's day) since two scenes can have the same circuit as client.
2007-09-25 06:33:18 +00:00
lbsa71 2219ccc5b0 * Fixed Culture-variant parsing of config options 2007-09-25 01:20:30 +00:00
lbsa71 f076c71936 * Applied tleiades patch #435 fixing HttpBaseServer ABEND (thanx!) 2007-09-24 11:20:09 +00:00
lbsa71 1302ef44e3 * Started major restructusing of comms to prepare for better grid and region functionality
* Working towards one shared set of services
* Killed off two projects with very little functionality
2007-09-24 07:30:30 +00:00
lbsa71 9ccab46ae8 * Trying to streamline CommunicationsManager 2007-09-24 05:30:03 +00:00
lbsa71 6c41efa4e3 * reorder and rename 2007-09-24 05:20:23 +00:00
lbsa71 40468f18a4 * Encapsulated all CommunicationsManager services 2007-09-24 05:15:13 +00:00
lbsa71 13c1c33ed4 * Added TryGetAvatarByName 2007-09-24 04:49:05 +00:00
lbsa71 5818958a9a *** CHANGED CONFIG BEHAVIOUR ***
* Changed really strange LocalSettings behaviour with enforcing hard-coded plugin names if none supplied
* UserServices and InventoryPlugin will only load if supplied with filename
2007-09-24 02:41:13 +00:00
lbsa71 47256cebda * Renamed methods on IUserData 2007-09-24 01:31:00 +00:00
lbsa71 79045abe68 * Renamed stuff on UserManagerBase to get implicit implementation of IUserServices (instead of stubs) 2007-09-24 01:16:21 +00:00
lbsa71 604b786d89 * A feeble attempt at adding Grid db support to SQLite, just adding some code based on User db. Nothing hot-wired though. 2007-09-19 23:16:30 +00:00
lbsa71 3f6b3f6b59 * Moved SendLogoutPacket back to IClientAPI. 2007-09-18 23:37:43 +00:00
lbsa71 70d9cec3b5 * Yet some more connectivity restructuring
* We now have CloseAllAgents( circuit ) and CloseAllCircuits( agentId ) for great justice ( but alas, still only closing on one single scene - be brave! )
  * Login and ConnectionClosed now eventified and moveified awayified
  * Killed off unused NullClientAPI
  * Now the client is almost only responsible for its own closing. ( I will get that scene out of there )
  * Lookin' good!
2007-09-18 13:29:16 +00:00
lbsa71 0bac4b430c * Handlerized ViewerEffect
* Now there-is-only-client-manager
* First step towards moving Logout and ConnectionClosed out of Client and into something else (which will let us get rid of ClientView reference to ClientManager
* General posititvity, peace, love and understanding
2007-09-18 12:13:44 +00:00
lbsa71 a963b3057b * Replaced usage of ClientView with IClientAPI
* Some propertification and hideousness of fields.
2007-09-18 09:59:33 +00:00
Sean Dague b8d9737a47 fixing me some line endings 2007-09-17 12:52:03 +00:00
Tedd Hansen 8792645e0d Forgot to check in prebuild.xml on sat, see someone already did :)
Fix in DNS resolve
2007-09-17 08:06:20 +00:00
Dalien Talbot ad903f1b7b Prevent the crash due to exception in system ReadLine that I saw today
during loadtesting.
2007-09-15 14:52:53 +00:00
MW 12378312d5 Hopefully fixed the build error that I introduced with my last commit. 2007-09-15 10:53:46 +00:00
Sean Dague b931048b16 put some locking around user access, which should help with
the exception dalien found during crash-a-thon
2007-09-15 10:43:19 +00:00
MW 4a07800f14 Testing to see if this fixes the editing appearance crash, or makes it (or anything else) worse. 2007-09-15 10:39:17 +00:00
lbsa71 f8ddf7429e * Wired up chat so that channel goes into OnChatFromViewer. However:
* There's no libsl reply packet field for it, I guess other channels than 0 makes no sense sending back to clients.
  * We do not currently support objects listening, so there's really no way of actually using this feature.
So; somebody please wire chat all the way to the scripts.
2007-09-14 13:46:05 +00:00
MW 0d685d6a52 Can now set the http ports that grid server and user server use. 2007-09-14 06:02:24 +00:00
Dalien Talbot 1703cacaab Added CLI "debug packet 0..255" to enable the in/out packet dumps with various verbosity 2007-09-13 16:39:04 +00:00
Tedd Hansen cef8c5e9d7 Hiding evidence that I once was a VB coder (thanks to refactoring). Renamed member names to smallcapsy. 2007-09-13 11:11:08 +00:00
Sean Dague 26a67d998c add timestamps to log messages. This probably needs to all be cleaned up
with a real logging module later, but this should make reading logs easier
for now
2007-09-12 10:54:34 +00:00
Tedd Hansen 5ade01bb49 Fixed DNS resolve bug for Grid mode on multi-Homer systems. 2007-09-12 05:37:46 +00:00
Sean Dague 6ca6c035e7 debug for mysql issue 2007-09-12 04:44:21 +00:00
Brian McBee b521e5d219 Another attempt at fixing the disappearing estate_settings.xml file. 2007-09-11 21:41:26 +00:00
Sean Dague 71f94d8421 Fix for setting region through property. This should allow
mysql to work again in grid mode for user storage.
2007-09-11 15:13:24 +00:00
lbsa71 b112539f95 * minor refactorings 2007-09-11 14:20:09 +00:00
Sean Dague a1e2fea7c1 move the locks closer to the data, sqlite for assets now works like a champ 2007-09-11 08:25:32 +00:00
Sean Dague 207bf2e4cf add DeleteAsset
this also moves commit points around a bit for debuging, though 
this will change back now the MW has worked out synchronization
2007-09-11 05:26:14 +00:00
MW 0770a5de0a Trying some locks on asset database access. 2007-09-11 04:54:55 +00:00
Sean Dague a1be7f4be5 added some debugging for tracing where asset code isn't working with sqlite 2007-09-10 13:34:20 +00:00
Sean Dague ffe9c9374a mass update of urls in source code to new website 2007-09-10 08:14:38 +00:00
MW 22dbe82b26 A couple of fixes to make sure db4o gets set as the default asset database. Also added a couple of console output lines to try to make it easier to tell which asset storage system is in use. 2007-09-10 07:48:22 +00:00
MW 15423539f9 hooked up sdague new sqlite asset database provider to the old asset system. So we can still use sqlite for assets while we wait for the rest of the new asset system to be wrote.
Needs more testing, so if it causes problems will have to swap back to db4o.
2007-09-10 06:45:54 +00:00
lbsa71 7adc2212c7 * Fixed: Accessing xmlrpc with invalid xml data would crash the sim.
* Ignored some bins and gens
2007-09-10 04:30:11 +00:00
Dalien Talbot 907918e68e Little green men (aka dots on minimap). Thanks to bushing for
pointing out that it is done by CoarseLocationUpdatePacket.
2007-09-09 17:32:03 +00:00
Dalien Talbot 21227b4fda A small try/catch wrapper to prevent the CLI errors from nuking the sim.
Now will just print the backtrace on the screen and continue.
2007-09-08 16:48:52 +00:00
Dalien Talbot 3433f3814a Partial fix for the "avatars permanently facing east" - now the rotation
is set correctly, but only with the movement of the avatar.
The in-place rotation updates need a little bit of more thought,
and will be in a separate commit.
2007-09-08 16:30:39 +00:00
MW c29df824c2 Converted the LSL scripting engine into a IRegionModule, so now all "modules" share a common base interface and are loaded from the single loader. (It seems to work fine, but I have left the old scriptengine loader, incase we have to change back).
Removed the reference to OpenJpeg in the DynamicTextureModule, to see if that was causing the build problem someone is having. 
Added a Temporary fix for the "existing connection was forcibly closed by the remote host" exception on windows when a user logs out of a multiregion instance. 
Some early work to prepare for improving the way clients are updated (about prims etc).
2007-09-08 07:50:31 +00:00
Sean Dague 294572d7bb added SQLiteAssetData class first pass. This should work,
but it will current store local and temporary assets as well.
Will fix that later.
2007-09-07 13:29:08 +00:00
Sean Dague 6a45a1ce9c factor out common methods to SQLiteBase 2007-09-07 12:37:05 +00:00
MW 4efc75eb66 Added "Local" and "Temporary" Fields to the AssetBase class. 2007-09-05 12:00:44 +00:00
MW bfd36e2e83 Some work on Module loading/management.
Some more modules templates classes (hoping that someone will pick some of these and work on implementing them).
Early version of the "Dynamic Texture Module", although currently there are no render modules included (so not really functional without them). 
Added osSetDynamicTextureURL script function, for attaching a dynamic texture to a prim. 
Some work on the console command handling. Added "change-region <regionname>" and "exit-region" so that after the use of change-region, the commands entered will apply to that region only. Then use exit-region to return to the top level (so commands then function as they did before and either apply to all regions or to the first region) (Note: this hasn't been tested very much)
2007-09-04 13:43:56 +00:00
MW f388a47254 Added a Debug method to the Console/log class that has the Conditional attribute (set to "DEBUG"), so we can use that for writing extra debug info to the console. [for anyone who doesn't know about the Conditional attribute, it is a attribute that can be set on a method, and then any call to that method will on be compiled if the terms of that condition are met, ie is this case only if "DEBUG" is true. So its a cleaner implementation of the #if #endif directives].
A few other minor changes.
2007-08-31 12:19:36 +00:00
Sean Dague bad1df704a remove debugging statement 2007-08-30 19:58:41 +00:00
MW e1505be97f Added some place holder classes for various modules.
Some work on the asset cache, can people please test this. including on one of the public systems so we can see if it causes problems with multiple users.
2007-08-30 13:47:04 +00:00
MW 36fba5e7e2 Various small changes (some likely to be removed again soon) 2007-08-29 15:39:57 +00:00
Brian McBee f1be283378 Attempt to fix bug on linux where estate_settings.xml gets wiped. 2007-08-29 01:50:59 +00:00
MW 2ccc8e1e98 Fixed the problem of uploaded animations not showing up in inventory [Mantis number 338]. They should now show up in inventory and play locally should work. But Play in world doesn't seem to work yet. 2007-08-28 20:07:59 +00:00
Sean Dague 6bd4c6fee6 some changes which get us closer to Sqlite storage for users 2007-08-28 15:11:56 +00:00
Sean Dague c1a899b651 Ensure that UserProfileData doesn't pass down null values.
These cause some issues with the ADO.NET mapping
2007-08-28 13:02:51 +00:00
Sean Dague 6dd6ef3fa2 sqlite is storing now, uint64 makes things "interesting".
however lookup isn't working
2007-08-28 12:34:00 +00:00
Sean Dague 5363549bf4 added some more types that will be needed 2007-08-28 11:49:25 +00:00
Sean Dague d5c5aff919 sqlite user datastore "should" be functionally complete
with this checkin, though it's not tested.  Will do that 
tommorrow.
2007-08-28 02:25:44 +00:00
Brian McBee f41f6daa57 reverting to old case sensitive username behavior. As sdague pointed out,we are moving away from db4o to sql, and this won't work. 2007-08-28 01:57:38 +00:00
Brian McBee a415472ae3 Avatar login names are no longer case sensitive 2007-08-28 01:16:33 +00:00
Sean Dague e92f2accad first pass implementation of sqlite storage for user data. This
isn't functional enough to use yet, but does compile.  Should be
ready for testing in another day or so.
2007-08-27 22:03:21 +00:00
MW 653a4ff22d Deleted a few old files that are no longer used.
Deleted the GridInterfaces projects, and for now moved the old local asset server into Framework.Communications, as we prepare to rewrite the asset cache and asset server.
Deleted Framework.manager as I am sure this is no longer in use.
2007-08-27 15:34:21 +00:00
MW 6181191a03 Stopped EntityBase from implementing IScriptHost, as don't think it should, multiple objects are based on entitybase and they all don't want the baggage from IScriptHost. SceneObjectPart already implements it anyway.
Added llGetOwner function, and tested the ll functions that I added in last commit.
2007-08-27 11:18:50 +00:00
MW 4c3be4e91f Another small tweak to image sending.
Implemented a few ll Functions, llSetObjectName llGetObjectName, llLoadURL (all currently untested).
2007-08-27 10:34:28 +00:00
Brian McBee 6e35ff2822 Tweaks to assetcache to make texture downloading better (I hope) 2007-08-27 04:20:14 +00:00
MW b9346844c1 See if this fixes the 0x0 texture size problems, and speeds up texture downloads in general a little bit. 2007-08-26 20:34:14 +00:00
MW 291eb48fb0 Another attempt to fix the image sending bug (next week, I intend to rewrite the assetcache and asset server).
Attempt to fix bug # 326. (crashing when using save-xml and hollow prims)
Attempt to fix bug # 328 (limit of 50 items in a folder)
2007-08-26 17:57:25 +00:00
MW 2fd0e53425 Applied dalien's libsl login patch (should now allow libsl clients to once again login to opensim) [Seems I was the one who broke it...sorry ] 2007-08-25 20:50:32 +00:00
MW fafe70bba4 Second attempt to commit : Test to see if this change improves or makes worse the texture sending bug 2007-08-25 20:35:51 +00:00
Sean Dague 487a54ffc0 it helps to actually call TestTables to get the new tables created 2007-08-24 15:51:31 +00:00
Sean Dague a70fac535f updated SQLite Inventory to newer model data definition,
and add automatic generating of the inventory table
2007-08-24 15:42:53 +00:00
MW 47c6d8ae8f Added OnRemoveScript(uint localID, LLUUID itemID) event , trigged when a script in a primitive is deleted. 2007-08-22 18:36:47 +00:00
MW 001d5a5c92 Made SceneObjectGroup.GetChildPrim() public, for now so that script engine can get ref to the SceneObjectPart/ IScriptHost. 2007-08-22 17:40:26 +00:00
MW 5ea6d8d739 A little bit of cleaning up. 2007-08-22 16:59:13 +00:00
MW b5921e2b95 Start of Task Inventory (ie prim's inventory). For now, you can only move scripts into a prim (from your user inventory) and although the script will now show up in the prims inventory, you can't make any changes to it (or delete it). Also a prim's inventory is currently not saved between restarts. 2007-08-22 14:37:54 +00:00
Brian McBee de2432b73e Fix for un-encrypted master avatar password in user database 2007-08-22 05:00:25 +00:00
MW 921ac14e86 Added OnRezScript event to Scene.EventManager.Which the script engine should subscribe to. This is triggered whenever a script is moved into a primitive (and includes the localid of the prim and the script text as params) . Currently though the script item isn't deleted from a users inventory, nor does it actually show up in the objects inventory (this will be fixed soon.) So that means that it isn't currently possible to edit a script (or delete it) once it has been added to a primitive. 2007-08-21 21:03:18 +00:00
MW 252b48fb3e Can now turn on/off server side permission checking (on prim editing etc) from the opensim.ini file. Just add a line to the Startup section like : serverside_object_permissions = true
Changes /editing that are made to clothing/ body parts in your inventory should now be saved between logins/ restarts.
2007-08-21 13:21:03 +00:00
MW 4af33c4da6 Instant Messages between users in the same region should actually now work. 2007-08-20 11:52:55 +00:00
MW 3dffc3e3f6 small clean up. 2007-08-19 14:55:43 +00:00
MW c89db49f3c Sqlite datastore should now save the textures and extraparams data (used by sculpties) correctly. [Really need to add a ExtraParams field to the sqlite database though, but for now I have combined their data so that we don't lose backward compatibility, know a couple of people have been using the datastore already].
Now have a rough day/night cycle (the movement of the sun needs to be made smoother but for now it is better than we had I think).
Added dalien's patch (issue 294) for saving and loading prims to a xml file (think he will be modifying these to be import/export functions and maybe writing a xml datastore for backups).
Some preliminary work on task inventory (ie object's/prim's inventory).
Added place holder data for AvatarProperties (ie a avatar's profile). Should we store this sort of data on the user server or have another server for it (a normal webserver should work). 
Added a few more method to IClientAPI.  
Sure there is something I'm forgeting.
2007-08-19 13:35:20 +00:00
mingchen d3660ed269 *Moved network_servers_info.xml into OpenSim.ini under [Network] 2007-08-17 15:45:49 +00:00
MW 531f64a53b Taking Prims (SceneObjectGroups) in and out of inventory should now work and if left in inventory will still be there after restarts. (as with the rest of inventory it will only fully work in standalone mode with account authentication turned on). 2007-08-16 16:31:32 +00:00
MW b6c48c53b2 Can now set the plugins for standalone mode's Inventory database (default sqlite) and for its user database (default DB4o). Currently changing the user plugin to MySql should work (if you have MySql setup (should be same as for grid mode). There is also a MySql provider for the inventory but not 100% certain if that is finished and functional (will need to check with Adam on that). 2007-08-16 11:24:40 +00:00
lbsa71 94af938742 The 'Party Party Groupie Groupie Life is a game' commit:
* Added prototypical MoneyBalance support
  * Finalized konceptual touch wiring
  * Turned SimpleApp into a tedious harvesting game.
2007-08-15 21:24:25 +00:00
mingchen ae20503dae *Added the ability to run commands after all regions have started up
*By default, it is set to startup_commands.txt. Simply add a list of commands separated by a new line to be run or change the file by changing the path of a startup commands file in OpenSim.ini
2007-08-15 19:08:27 +00:00
MW 94dded470d More work on inventory, can now create other inventory types, like Clothes and body parts. [Note while you can edit these, at the moment your changes won't be saved between restarts. This will be fixed very soon.] 2007-08-15 18:34:36 +00:00
lbsa71 a4602515ce * Added more spinning parts to ComplexObject.
* We now have CylinderShape
* This commit dedicated to the birth of techno house.
2007-08-15 18:02:05 +00:00
lbsa71 c47bca94d2 * Exploring Group/Part from an app perspective. 2007-08-15 16:57:47 +00:00
MW 217d511077 Temporary fix for the region crossing crash, Although we need to start to change and improve how we handle caps. 2007-08-15 15:24:37 +00:00
MW a979808493 preliminary support for editing notecards and scripts.
Although there seems to sometimes be a problem of when you login again, old notecards and scripts will have their permissions messed up and you won't be able to even view their text. This seems to be related to the client's cache, and if you clear your client's cache, on the next login they should be fine again. [I have a couple of ideas about what might be causing this so hopefully will have it fixed soon.]
2007-08-14 19:19:09 +00:00
MW 20b50489c0 Can now create some new empty inventory items (like notecards and scripts) from the create menu in the inventory window. Although currently you can't update/edit them (and have those changes saved). 2007-08-14 17:48:25 +00:00
MW 181a90967e Start of inventory items, when you upload a texture the data will now be stored in the inventory database and you will still have that texture in inventory on later logins (Again only in standalone mode with authentication.)
Also there might be some problems if you upload textures in other regions to the start one (due to us not updating the CAPS url properly).
2007-08-14 17:29:15 +00:00
MW ff08d4d016 More inventory work, should be able to now create new inventory folders and them be stored in database (so are there on next login). Again only works in standalone mode with Account/password authentication turned on. [Creating new inventory items should be working very soon.]
The test is to make sure that it hasn't broke grid mode at all.
2007-08-14 14:57:52 +00:00
MW a228b5984e Start of Inventory service, currently only (partially) functional in standalone mode and using sqlite).
In standalone mode, if you have account authenticate turned on (setting in opensim.ini) then when you create a new account, a set of inventory is created for that account and stored in database (currently only a set of empty folders). Then during login the database is search for that set and sent to the client in the login response.
More functions will be added soon, like creating new folders (and a bit later items) from the client inventory window.
2007-08-14 13:54:46 +00:00
MW 9cd64931d6 oops , guess I should include the new files next time 2007-08-13 16:24:12 +00:00
MW 04b1767886 Separated Login Service from usermanager, which helps to clean up the code a bit and also should help to integrate the inventory server (when it is wrote/finished). 2007-08-13 15:55:36 +00:00
MW 82f8ecf673 Some work to prepare for inventory server. 2007-08-13 13:39:24 +00:00
MW e34f5edb70 Deleted some unused code. 2007-08-13 13:37:50 +00:00
Brian McBee 95b89096c4 Hopefully fixes userprofiles.yap problem on startup. (thanks Adam!) 2007-08-12 16:17:04 +00:00
MW 822881eac5 Added a new column (SceneGroupID) to sqlite3 table (sqlite3-prims.sql) so that we can tell what prims belong to the same SceneObjectGroup. If sdague has a different method in mind when he gets back then he can change it then. 2007-08-11 20:20:33 +00:00
MW cea2e45da9 A attempt to fix the user manager db4o crash bug (where you have to delete userprofiles.yap to get opensim to start) 2007-08-11 20:02:34 +00:00
MW f147d8e0f0 Few small fixes 2007-08-10 18:52:46 +00:00
MW 79f0ac82e3 Some cleaning up and removed a few old files no longer in use.
Temporary have had to rename the OpenSim.DataStore.MonoSqlite project to OpenSim.DataStore.MonoSqlite1, as I'm not sure what was done to stop the old project name being included in the VS2005 solution.
Also some config changes:
OpenSim now has a INI (OpenSim.ini) file that it will read some config settings from (if the ini file exists).
Added Mono.Data.SqliteClient.dll so that we can use the same code for sqlite on Windows and mono/linux. (from what I can tell Mono class libraries have a MIT license so there should be no problems with us including this dll).
So now to get the basic prim storage working , you need to first create the sqlite database file from the sqlite3-prims.sql in share directory. Then in the OpenSim.ini file, change the storage_plugin so it points to OpenSim.DataStore.MonoSqlite1.dll (storage_plugin = OpenSim.DataStore.MonoSqlite1.dll). Then in your region.xml files change the DataStore value so it is the name of your database file (at the moment you need a different sqlite3 database file for each region).
2007-08-10 17:22:54 +00:00
MW d451dddcd0 Start of replacing the old SceneObject/Primitive classes with the new versions.
PLEASE NOTE: that with this revision some prim related features may be broke for a while. (things like linking prims and the parcel prim count.)
Also this revision may not work on mono, but that will be fixed soon.
2007-08-09 17:54:22 +00:00
MW a56a17fab2 Making sure my local working copy is in sync with svn before I start the job of enabling the new SceneObject classes. 2007-08-09 12:59:42 +00:00
MW a137703611 Fixed the asset download problem I think, solution might not be ideal but works for now. 2007-08-08 19:51:51 +00:00
MW be483bc697 Hopefully improved texture downloading (including the speed at which they download), but still a few problems, it seems that the client has a quite short timeout for receiving a texture and if the whole texture isn't sent within this time, the client will request the texture again, With quite small textures this is fine, but it seems that with larger textures we can't send them fast enough and a infinite loop develops where the client keeps requesting a texture and we keep trying to send it, but are never fast enough. So I've for now put code in that so that the server will try to send a texture only once and then after that will ignore future requests from that client for that texture. 2007-08-08 18:55:58 +00:00
MW 369fb2e623 Added checks to the last commit to make sure the xml files exist before it tries to load them. 2007-08-08 17:29:37 +00:00
MW cf203cf5ee The startup set of assets in the local asset server can now be set from a xml file (OpenSimAssetSet.xml). (remember to make changes to the set, you will also need to delete the old asset .yap file, so that it is recreated).
Also the set of items in the OpenSim inventory Library can also now be set from a xml file (OpenSimLibrary.xml).
2007-08-08 17:11:02 +00:00
lbsa71 ef0fea268f * Got SimpleApp working again
* Minor shape koncept experiments
2007-08-08 11:16:45 +00:00
Brian McBee 5061a703ea CAPS should now be working in standalone mode. Texture uploads will work even after you cross a region boundary. 2007-08-08 07:00:56 +00:00
Brian McBee 1b709be156 Whoops! left this out. second part of r1541 2007-08-08 05:04:22 +00:00
MW 5ac5785cf2 a couple of changes in the new Sceneobject classes, just committing so things are kept in sync. 2007-08-07 17:22:15 +00:00
lbsa71 e155dcd432 * yet another mini-shape-commit 2007-08-06 14:56:32 +00:00
lbsa71 fdbb891659 * commands are done foreach instead of by [i]
* fixed 'show users' format bug.
2007-08-06 14:14:43 +00:00
lbsa71 95de99ff0a * Now we have boxes. Yay!
* Removed unused SendPrimitiveToClient that didn't have rot.
2007-08-06 12:49:08 +00:00
lbsa71 9bdeb8af6f * SimpleApp works again:
* NetworkServersInfo settable without config file
  * DefaultHomeLoc throws if getted before setted
  * Removed nonsensical sandbox distinction
  * Refactored default config file creation

* Some more small refactorings on shapes
2007-08-06 10:48:40 +00:00
lbsa71 6dabab5ef0 * a very small first step with shape wrappers 2007-08-03 20:21:53 +00:00
Brian McBee 599a6d32ee Changes to prepare for future possible configuration of separate logdir, configdir, datadir. 2007-08-03 18:01:55 +00:00
MW dde8aafb8a More work on the AllNewSceneObject* classes. 2007-08-03 11:44:30 +00:00
mingchen 1c68c7a37f *Estate settings are now saved in their own configuration file called estate_settings.xml using the configuration system. 2007-08-03 00:14:11 +00:00
Sean Dague 32565509e2 Commiting whitespace changes, as this used hard tabs instead of the
4 spaces found everywhere else.
2007-08-01 21:28:34 +00:00
Sean Dague 2507f38d07 factor out the common DeriveColor function just for good house keeping 2007-08-01 20:23:08 +00:00
Sean Dague 2333de33f1 Assume White as a console color just means "default", and don't use it.
This helps reduce confusion for linux people that have white background
terminals.
2007-08-01 20:06:40 +00:00
Adam Frisby 948da1d6b8 * Workaround for Mono not correctly implementing the OperatingSystemVersion class. 2007-08-01 18:16:01 +00:00
MW cdd1285e9e few small changes.
Updated libsl to latest version.
2007-08-01 18:04:31 +00:00
MW edc572dacf Some more work on SceneObject/primitive rewrites (AllNewSceneObjectGroup2 /Part2).
Updated the JavaVM to a later version I did (basically some clean up and a little bit more functional).
Added SendLoadURL method to IClientAPI.
2007-08-01 16:50:20 +00:00
Sean Dague 2e6505f38e remove Adam's work around, this shouldn't be needed any more 2007-07-31 19:39:04 +00:00
Sean Dague 55b569069d clear userAgent state on client shutdown, which fixes the issue
where you could only login once with a given id in standalone mode.
2007-07-31 14:42:50 +00:00
Adam Frisby e172e37c58 * Added GetLocalHost() to Util
* ExternalHostName supports "SYSTEMIP" again.
2007-07-30 21:12:29 +00:00
Sean Dague 74bb5282a0 mass update of files to have native line endings 2007-07-30 20:11:40 +00:00
Sean Dague a47e2d9ae7 added OnDisconnectUser event to required classes 2007-07-30 20:08:33 +00:00
Adam Frisby 7071b5082f * Fixed an issue whereby DB4o was loading agents incorrectly (multiple logins should now work properly), done a temporary fix, but agents need to be stored seperately from userprofiles in DB4o. 2007-07-29 13:18:58 +00:00
MW 5ee2e38c11 Deleting objects should now work. But beware they aren't send to your trash folder or anything so there is at the moment no way to recover deleted objects. 2007-07-29 13:05:57 +00:00
Adam Frisby 038774de30 Commit 1/2
* DB4o no longer crashes the sim on Startup
* DB4o now crashes the sim on shutdown.
* Variety of console verbosity fixes.
2007-07-29 09:37:29 +00:00
Adam Frisby 43507f857b * Added new compatibility functions to Util
* IsEnvironmentSupported() - returns whether the platform is supported, if not, an error message is specified (at the moment restricts 95/98/ME, Systems that lack HTTPD.SYS and versions of the .NET framework prior to 2.0)
* GetFileName() - returns a system valid filename, on windows this places data in the Application Data directory, on UNIX, the folder in which the application is calling from.
2007-07-29 07:14:04 +00:00
MW e86396ad1f You should now see the correct Avatar for other users, including their clothes, although their still seems to be a few problems with the clothes, in that sometimes other avatar's default clothes are white.
At last, removed the need for the avatar-texture.dat file. (Please never come back).
2007-07-28 13:44:12 +00:00
MW 1b850b4483 Should now have version 0.1 of our new ruth default avatar. At the moment, you only see your own avatar correctly, all other user's avatars show up as the old ruth. This will be fixed soon.
We also need better clothing for the new ruth and to edit the body shape. 
To get this working you will need to delete your asset yap file and also in grid mode the user server needs to be updated.
2007-07-27 16:23:04 +00:00
MW d143e7b074 A few changes so that the number of warnings is less but without deleting everything.
Like, I removed the Obsolete from the old caps method as at this time not all caps calls can use the new Caps stream method as it doesn't properly deal with LLSD Arrays. 
Now down to 3 warnings on the events in IClientAPI and for now I think we have to live with them as I think most of those events will be used.
2007-07-27 12:21:52 +00:00
MW f0dd115a8c More work on inventory and opensim library.
Fixed a number of bugs in the AssetCache related to asset downloading.
2007-07-26 17:41:31 +00:00
lbsa71 39b64564dc * Started renaming world to Scene
* Update and UpdateMovement now first stores array to avoid collection update exceptions
* Ignored some bins
2007-07-26 14:55:42 +00:00
MW 74654dc735 Added the default shape to the OpenSim library. Now need to get the new ruth into asset format and add that. 2007-07-25 19:18:34 +00:00
MW 2b42ea0a42 Start of the OpenSim library , for now only contains a few textures. 2007-07-25 18:19:38 +00:00
Adam Frisby 2760378f7a * Users doing terraforming should see updates instantly now.
* Other viewers in the sim will see updates no more than once every 5 seconds.
2007-07-24 05:54:44 +00:00
Adam Frisby ad5548de9f * More console related changes. 2007-07-24 04:10:08 +00:00
Adam Frisby 3cbc1e011d * Reduced a significant number of compiler warnings (back down to 9 for all projects combined, all 'never used' things) 2007-07-24 03:59:32 +00:00
mingchen 87bddd32df *Added configuration plugin (OpenSim.Framework.Configuration.HTTP.dll) that fetches a file from a remote server
*Right now, values are not saved back to the remote server, but that will be changed
*Removed some warnings from invalid references that were not used anyways
2007-07-23 19:30:33 +00:00
MW f8c1366cbf Applied makomk 's patch from issue #219. 2007-07-23 17:22:23 +00:00
MW 5db16cbd9b Couple of small changes 2007-07-22 13:41:19 +00:00
MW 276011a0a1 Think I've recovered my deleted files, so hopefully it works now. 2007-07-22 13:31:08 +00:00
MW 70fa302042 * Some work in progress code: Inventory cache, start of inventory server/service, userprofile cache, inventory handling. (non of it is enabled yet (or at least it shouldn't be).
* Fixed some of the problems with crossing regions when flying: you should no longer sink to ground level when crossing (should keep roughly your right height). Should no longer sometimes get sent back to the centre of the current region when attempting to border cross. But instead sometimes you will find you avatar stop at the edge of region and you will need to start moving again to retry the crossing (which should then work). This code is partly based on Babblefrog's issue #212 patch. [I think I have some ideas of how to solve the stopping at edges problem, just want to get the inventory code done first]
* Capabilities code has now been moved to the OpenSim.Framework.Communications project as some of the caps code will be tightly tied to inventory/asset handling and it was causing a two way reference problem when it was in its own project/dll.

This is a Big commit as I was going to keep my inventory work local until I had it in a working state, in case it brakes anything, but its getting harder to keep in sync with svn.
2007-07-22 11:44:36 +00:00
MW b3cef2fc2a Re-added the ability to set the database provider (dll) in the config file for the userserver and gridserver. 2007-07-21 15:50:29 +00:00
Adam Frisby 2c90c61020 * Issue#206 - Casting of a LLUUID from XMLRPC hashtable causes an error. (Thanks Babblefrog)
* Issue#205 - MySQLManager User Creation support readded (Thanks Babblefrog + adjohn)
* Issue#204 - Clients now recieve terrain updates properly (Thanks Babblefrog) [May do some slight modifications on this to make it an event]
2007-07-21 07:29:37 +00:00
mingchen 12bb7628d2 *Added ability to manually set the configuration plugin dll from ConfigurationMember 2007-07-20 17:08:01 +00:00
lbsa71 2da8a7c128 * Fixed an config issue (log not initialized in RegionInfo config)
* Added LineInfo stacktrace parser to LogBase (not used yet though)
2007-07-20 14:16:12 +00:00
Adam Frisby 765ff13f22 * Assortment of Console changes - console messages are now grouped into modules (eg "client", "grid", "terrain", "storage", etc) 2007-07-20 01:32:27 +00:00
Adam Frisby f5b24b6679 * New log functions which include the module name as an argument. 2007-07-20 01:21:39 +00:00
mingchen ed69e84874 *Moved XmlConfiguration to its own project
*Made it possible to load a configuration interface by DLL
*Deleted the 1024 config files until they are updated
2007-07-19 20:39:33 +00:00
MW b2c6f316e1 Some work on Inventory (not yet finished or enabled) 2007-07-19 20:21:02 +00:00
mingchen de104536c1 *Handler Functions can now refuse an object as invalid by returning false, thus forcing the user to re-enter the data
*Added TYPE_STRING_NOT_EMPTY that requires some sort of text to be entered
*Added another parameter to addConfigurationOption called use_default_no_prompt that will not ask via the console a configuration option; it will use whatever is in the config file. If nothing is in the config file for that option, it will force itself to use default
2007-07-19 15:01:14 +00:00
MW 0b6e332e16 Added some Alert methods to Scene , and a console command handler. So from the console to send alerts use : alert general <message> , for a instance wide message , or use alert firstname secondname <message> to send a alert to one user. (TODO: add region wide messages). 2007-07-19 10:44:19 +00:00
Adam Frisby f29acf95b0 * Removed yet more compiler warnings
* Dropped old ILocalStorage storage engines.
2007-07-19 00:29:50 +00:00
mingchen 30a73085c5 *Removed files that were no longer important and prevented compile
*Should compile now!
2007-07-18 23:35:24 +00:00
mingchen 222becc879 *New Configuration System, much easier and less buggy compared to the original system in place
*View RegionInfo.cs for an example on how it works!
*This hopefully copies all the files over, but who knows :)
2007-07-18 23:15:08 +00:00
Adam Frisby 11efebd29e * Added "GetHostFromDNS" to Util to replace the various DNS resolution methods we use. Favours IPv4 addresses before IPv6 addresses to work around the Vista preference issue. 2007-07-18 21:55:24 +00:00
MW 4c8b8d22ff A script/custom application should be able to add a particle system to a prim, just create a new libsecondlife.Primitive.ParticleSystem() and then call AddNewParticleSystem() on the OpenSim particle : we really need to rename our particle class to stop conflict with the one in libsl. 2007-07-18 21:26:31 +00:00
MW d2b459b8e5 Sculpted Prims should now work. 2007-07-18 20:29:06 +00:00
MW 643a02ec60 More testing some ideas, to find best method for SceneObject Primitive classes. 2007-07-18 18:12:16 +00:00
MW 04ece84d6b few small changes 2007-07-18 13:40:07 +00:00
lbsa71 f70ec1fa75 * Added a FileSystemObject to SimpleApp
* Added Some ShapeTypes (shapes doesn't work though!)
* Fixed some \0 issues
2007-07-18 09:36:47 +00:00
Adam Frisby 3a554de6e2 * Applying babblefrog's DNS patches from issue #188 2007-07-17 19:40:22 +00:00
lbsa71 497ab5d7ab * RegionApplicationBase restructuring now complete
* Still has some weird bug in SimpleApp though.
2007-07-16 23:25:35 +00:00
Adam Frisby 6c9d9b660d * Trimmed a few hundred warnings off SimpleApp. 2007-07-16 22:09:00 +00:00
mingchen 2873b82b78 *Renamed everything Parcels and ParcelData to Land and LandData
*Added missing files (I hope)
2007-07-16 19:40:25 +00:00
lbsa71 4a17587b8d * Restructured the RegionApplicationBase. 2007-07-16 18:10:27 +00:00
Sean Dague 2a3c79df83 changed to native line ending encoding 2007-07-16 15:40:11 +00:00
mingchen d216f5779c *Trunk compiles now
*Added "RemoveEntity" and renamed "AddNewEntity" to "AddEntity"
2007-07-16 14:56:35 +00:00
mingchen 7f10179129 *Fixed bug that incorrectly tabulated 'others' prims on a parcel
*Added support for selected prims (does not yet support prims being sat on)
*Added support for listing avatars with prims on parcel with their prim count
2007-07-16 01:25:16 +00:00
mingchen 173c5ee79e *Fixed master avatar requesting when in grid mode. 2007-07-15 21:21:14 +00:00
MW bf2f3ea29a Hijacked simpleApp again (sorry lbsa71, guess I should create my own simpleApp), to try out a basic test npc character(/class). 2007-07-15 21:10:05 +00:00
mingchen 6510aea0ed *Added support for the "show" button that highlights objects over the selected Objects
*Known bug, client does some weird "showing" when more than 255 objects are meant to be selected (linked objects count as one object)
2007-07-15 21:02:13 +00:00
Adam Frisby 813cdd0c80 * Marked old terrain methods as obsolete.
* Missed an item using the old local storage.
2007-07-15 15:53:29 +00:00
Adam Frisby 593851eaa5 * Fixed bug where UserServer SendKey would not be saved in configuration. 2007-07-15 14:21:17 +00:00
Adam Frisby 2ccb8f7118 * Excelsior! 2007-07-14 22:35:47 +00:00
Adam Frisby 382b6a32c1 * Upgraded MySQL Connector to support 1222 changes. 2007-07-14 21:01:31 +00:00
mingchen a3f2c1276a *Added support for simwide area and simwide prim count for parcels 2007-07-14 15:57:20 +00:00
mingchen 423d03eaef *Added support for prim counting on parcels
**No restrictions yet in place, or total prim count
2007-07-14 15:11:36 +00:00
MW a04602d9c1 Added AddPreCompiledScript method to ScriptManager.
Done some work on lbsa71's simpleApp(hope he doesn't mind):
now have the avatar showing up and the terrain and his pulsating box (well except its not a box, as there seems to be something wrong with our PrimitiveBaseShape..DefaultBox() settings). 
Also noticed a few other problems that I had to work around, so these need looking into.
2007-07-14 13:18:02 +00:00
mingchen d879c6e8fc *Moved the OnSignificantClientMovement event to ScenePresence.
*ParcelManager's resetSimParcels does not set any default values.
*Updated ParcelData with correct defaults previously set in resetSimParcels
*Region overrides are now sent to viewer instead of dummy'd
2007-07-13 23:13:25 +00:00
mingchen 862dc9fe97 *Reworked parcel joining to work the same way as LL's method.
**Parcels within selection now join and not the two parcels selected at each corner
*Created OnSignificantClientMovement event that is triggered when an avatar moves more than 2 meters.
2007-07-13 21:13:38 +00:00
Adam Frisby ad264a6b6d * Fixing issue with ParcelFlags. ParcelFlags is now a uint rather than an enum. 2007-07-13 20:01:16 +00:00
Adam Frisby c0093052b0 * Default parcel flags now allow flying, landmark creation, object entry, deeding to group, terraforming, object creation and outside scripts. 2007-07-13 19:51:05 +00:00
Adam Frisby 985e0b765a * Obsoleted ILocalStorage
* Added IRegionDataStore
* Added OnBackup event to EventManager
2007-07-13 19:27:15 +00:00
MW fcc7f86427 Changed simpleApp to use basic physics.
Done some work of fixing primitive/SceneObject copying.
Set DefaultHome region to 1000,1000.
2007-07-13 16:12:38 +00:00
lbsa71 581ea0d92e inlined packet deserialization 2007-07-13 12:44:50 +00:00
lbsa71 33ef93f4a6 * ObjectAddPacket now confined to ClientView,´using PrimitiveBaseShape instead - w00t! 2007-07-13 12:32:34 +00:00
lbsa71 a0ac1f06e6 * Moved SendNameReply to ClientView
* Removed unused LoginService
* Minor renames on BinaryStreamHandler
2007-07-13 07:19:00 +00:00
Adam Frisby 0f1b2f278b * Fixing compiler warnings in an attempt to reduce them back down to zero. 2007-07-13 07:17:42 +00:00
mingchen df24ce6dfd *Parcel and estate support fully restored into Sugilite
*Significant movement (currently set to 2 meters of movement for performance reasons, even though its speedy) and initial login now sends parcel updates
2007-07-12 20:33:10 +00:00
MW 7198d7980d Next time maybe I should check it still compiles before committing. 2007-07-12 15:30:09 +00:00
MW 20a77a6d4b Fixed a number of bugs in the local InstantMessage handling, sending InstantMessages will no longer crash the server. But they still aren't really working correctly, you can't type replies to received messages. 2007-07-12 15:16:19 +00:00
MW 27c595c007 Cleaning up some of the CAPS functions, Asset uploads now use the new LLSDStreamhandler system. 2007-07-12 13:09:39 +00:00
MW 2ceff87a02 More work on UserProfile and inventory cache (still currently not enabled).
Asset uploading over CAPS now works, and although inventory isn't really working yet, this should now at least enables texturing of prims.
2007-07-11 17:47:25 +00:00
MW 9d989612b0 updated libsecondlife.dll to a 1.18 version (from the libsecondlife aditi branch, so when they have a trunk version that is 1.18 ready, best to update again).
Started some work on a userProfile/inventory cache.
2007-07-11 14:39:03 +00:00
Adam Frisby 561b87b303 * Applying dalien's patches from bug#177 and #179 2007-07-11 02:51:51 +00:00
MW f0ecc1de4c preliminary inter region communications (between regions in different instances) now works, so child agents and border crossings (and teleporting) now work.
The .net remoting is still very basic: we need security sinks added.
And we really need the OGS 2 protocol as soon as possible.
2007-07-10 20:52:43 +00:00
MW ebdc64730a Fixed the crashing when trying to look at the map in grid mode. Although the textures for the regions don't seem to show up, about to look into that. 2007-07-10 18:58:42 +00:00
MW 7f03246653 Gird mode in sugilite should now work in so far as you should be able to login and move between regions in the same instance. Moving to regions in a different instance of opensim still needs implementing (working on it now).
Also trying to look at the map in grid mode will crash the server.
2007-07-10 17:56:31 +00:00
lbsa71 9f5f65c847 * LLSDStreamhandler now works. 2007-07-09 23:32:29 +00:00
lbsa71 85dd493614 * some follow up renaming of members et c. 2007-07-09 21:25:43 +00:00
lbsa71 08a1fa3f96 * Introduced ClientManager for great justice. 2007-07-09 21:03:36 +00:00
lbsa71 d91f33b87b Re-applied dalien patch (#175) and included bin\data with avataranimations.xml 2007-07-09 19:56:22 +00:00
MW 93f3ef7e0d Done a little bit of renaming in primitive.cs and on a few events in IClientAPI.
Disabled CAPS asset uploading as it seems it now crashes the server.
2007-07-09 15:59:35 +00:00
Adam Frisby e8acf1cca9 * Begun work on Primitive Duplication. Not hooked up yet, but theoretically could be done so. In practice, more work needs to be done. 2007-07-09 15:29:39 +00:00
lbsa71 f62b7f3d1e * reverted rev 1200 waiting for info re animations.xml 2007-07-08 19:47:04 +00:00
lbsa71 252ff78eb3 Applied animations patch (#175) submitted by dalien 2007-07-08 19:28:53 +00:00
lbsa71 5f8de1e704 * By popular demand, all generated build files are now deleted. Somebody should make sure the wiki is updated. 2007-07-08 19:27:04 +00:00
lbsa71 4adf4c57d4 2007-07-08 12:10:32 +00:00
Adam Frisby b14726a843 * Fixed building - something weird is happening with prebuild though, not adding XMLRPC.DLL to the references for Framework.Data 2007-07-08 10:32:13 +00:00
Adam Frisby bdab40280b * Added instant message support for the local region. Grid support forthcoming. 2007-07-08 03:32:27 +00:00
Adam Frisby 10ece46cf6 * Updating prebuild 2007-07-08 02:58:01 +00:00
mingchen bc02ddf523 *Fixed several bugs that crashed the viewer and opensim server when logging in on grid mode
*Note: Grid Mode now works in sugilite, but is still unstable
**Known bug in which the grid server crashes after being relaunched from a previously create configuration
**Crashing of the viewer crashes the OpenSim server which then crashes the grid server -- needs better handling of exceptions
**Multiple sims is still untested, but should connect correctly. Moving between the sims may be a different story
2007-07-06 20:40:03 +00:00
mingchen 93640f1d71 *Fixed 2 small references to localhost which has some conflicts when resolving.
*Grid mode now gets past region handshake, BUT the client (both nicholas and the normal one) crash as soon as the next step is displayed on the screen
2007-07-06 13:57:49 +00:00
lbsa71 8bdbdf48c7 * updated bugfixed xmlrpc for massive win
* got rid of the ugliest hack in the project
2007-07-05 18:30:30 +00:00
mingchen 583f2a9de8 *Removed SimProfile.cs as it is no longer needed (in favor of SimProfileData)
*Added simulator_data_request XMLRPC method to request data from the grid server about a sim instead of faking its login
*Login is progressing, now just getting an XML error (http://pastebin.com/942515) -- if you can fix this, throw MingChen in IRC a Private Message
2007-07-05 15:15:28 +00:00
MW beb3073bec A bit more work on Building tools/support.
updated Axiom.MathLib.dll.
2007-07-04 19:07:27 +00:00
lbsa71 5c32b33a66 * re-fixed the utf-16 bug in xmlRpcResponse serialization
* added LLSDStreamHandler.cs to Caps (Haven't enabled it yet, though)
* removed last traces of old rest handling
2007-07-04 16:28:59 +00:00
lbsa71 6a2588454a * Removed AssetHttpServer, using BaseHttpServer instead
* Removed legacy REST handling
* Created two custom IStreamHandlers for asset up/download
* Removed quite a lot of double and triple encodings, trying to work towards binary only and direct write into storage.
* Introduced BaseStreamHandler with GetParam() and some other goodies
2007-07-04 14:12:32 +00:00
lbsa71 9a51949cb4 * Added StreamHandler support
* Implemented RestStreamHandler
* Some caps functions now use it
* Moved out RestMethodEntry from httpserver
* The IStreamHandler interface now reports required method and Content-Type
2007-07-04 11:47:32 +00:00
Adam Frisby 827cccb99c Grid Servers:
* Sugilite grid server now works with older regions properly (using it on deepgrid for testing)
* Sugilite user server still broken with sugilite region server
* Reduced the number of compiler warnings to zero
Region Servers:
* Added debug information to OGS1 Comms to help debug user server connectivity issues.
2007-07-04 07:45:42 +00:00
Adam Frisby 249ce4cf6f * More cleaning - Sugilite now only has build errors for "value is never used" properties (which I presume will be filled in over time) 2007-07-04 05:49:12 +00:00
Adam Frisby daf7b8ec76 * Cleaning - attempting to get compiler warnings back down to zero. 2007-07-04 05:25:40 +00:00
lbsa71 8b3cb93b49 * Started work on converting BaseHttpServer to a stream dispatcher 2007-07-04 04:29:23 +00:00
MW bd8018fa1c Today's work on Building support/tools. Think I am slowly getting there. 2007-07-03 20:10:20 +00:00
mingchen 78e420f48b *Fixed storage issue as noted in last commit of the OGS1 GridServer
*Reverted the default remote grid server port back to 8001 (from a port change to debug a previous issue)
2007-07-03 19:26:35 +00:00
mingchen e06ffb3981 *Removed GridInfo class as it has been previously replaced with the much better NetworkServersInfo class
*Got the GridServer in OGS1 to go through with registering the region, but the actual storage of the region isnt working right now.
**After this is fixed, grid mode should work!
2007-07-03 17:03:14 +00:00
lbsa71 9b6b6d05d4 * Optimized usings (the 'LL ate my scripts' commit)
* added some licensing info
2007-07-03 14:37:29 +00:00
lbsa71 73a5ec391a * Completed conceptual LlsdMethod - everything resides in SimpleApp pending guru approval. 2007-07-03 07:06:08 +00:00
lbsa71 71f1b2d878 * Added conceptual LlsdMethod Demo to SimpleApp (work in progress) 2007-07-02 20:44:39 +00:00
lbsa71 fcabdab7bc * Started working on LlsdMethod for BaseHttpServer
*Renamed IRestHandler.cs to RestMethod.cs which is the correct name.
2007-07-02 16:03:58 +00:00
lbsa71 9ff5bb9873 * Applied Weathros/tedd's IP v6 patch 2007-07-02 06:57:42 +00:00
lbsa71 d78f6505e3 * worked some more on the RegionInfo attr fuggliness 2007-07-02 06:55:36 +00:00
MW 7f18f494f1 Just committing this because I want my commit to be on the front page of www.opensimulator.org rather than lbsa71's being there. 2007-07-01 21:45:47 +00:00
MW 2852cda727 More work on SceneObject/Primitive and building (Linking is a work in progress as is all). Committing now as I've finished for the night and will be continued tomorrow. 2007-07-01 21:04:33 +00:00
lbsa71 97d441fca4 * replaced some more of those butt-fuggly attr constructs with nice Get<> calls; somebody should finish the job. 2007-07-01 20:30:02 +00:00
MW 54ef77f0fd Can change the name and description of a prim. 2007-07-01 18:33:44 +00:00
MW 9800c05c1b Started change to having SceneObject and then that having child Primitives which in turn have a Shape object (currently PrimitiveBaseShape). The plan is only for the SceneObject to interface with the physics engines. As a physics Entity should be able to have mulitple shapes connected to it. 2007-07-01 17:26:33 +00:00
lbsa71 7cafe7f6d9 * now saves ExternalHostName in config 2007-07-01 16:19:47 +00:00
lbsa71 06a8c13200 MAJOR IP RESTRUCTURING
* moving towards IPEndPoints all over the place
* trying to make the internal/external division
2007-07-01 16:07:41 +00:00
lbsa71 5e805656db Fixed SimpleApp - aka thankgoditssundaycommit
* Updated SimpleApp with various introduced dependencies
* Extracted ScenePrescence creation in Scene
* removed try-catchall from UserManagerBase (that actually hid a bug)
* Refactored RegionInfo
  * handle is calculated
  * it will explode upon accessing x,y,ip,port,externalip if not explicitly initialized
* Removed superfluous 'ref' keywords
* Removed a shitload of 'catch Exception e' that causes build warnings
* Lots of small refactorings, renames et c
* Ignored some bins
2007-07-01 13:17:27 +00:00
Adam Frisby b8b701fabb * Small bugfix comparing equal UUIDs 2007-06-29 22:10:55 +00:00
Adam Frisby e4df6ea08e * Created new "UUID" class to override LLUUID in general. (Unable to inherit from LLUUID, so written as a wrapper + extra functions), 1:1 Feature compatible with LLUUID designed as "Drop In" replacement. 2007-06-29 22:09:52 +00:00
Adam Frisby 72cd28be1b * Experimental patch: Replaced IPAddress.Any with IPAddress.Parse("0.0.0.0") to force IPv4 2007-06-29 20:09:29 +00:00
mingchen 6b3777d3db *Deleted Logger.cs from OpenSim.Framework 2007-06-29 16:43:48 +00:00
lbsa71 b2883faddf * just making sure build files are latest 2007-06-29 16:28:03 +00:00
mingchen 90b01ba80c *Hopefully fixed the empty dialog box error on client when logging in on sandbox mode 2007-06-29 01:58:16 +00:00
Adam Frisby 135e9b1f53 * Removed J# language support because it has issues with Mono. 2007-06-28 19:35:20 +00:00
mingchen fe0528b98c *Added UUIDNameRequest packet support (untested, but should work -- at least in sandbox mode)
*Various small renamings
2007-06-28 19:09:50 +00:00
mingchen 108d89f894 *Master User is now set up
*Added support for getting user profile information from remote grid server (untested)
*Updated prebuild.xml
2007-06-28 16:17:20 +00:00
mingchen bee543300f *User Profile requests on OGS UserServer now uses XMLRPC instead of REST
*Added base support for setting up a master user
2007-06-28 14:45:46 +00:00
MW 561db23e5f Finished removing the old scripting code, Scene.Scripting.cs and OpenSim.Framework.Interfaces.Scripting. 2007-06-28 14:10:05 +00:00
MW 3456d951d8 Imported the scripting changes, so now should be up to date with sugilite. 2007-06-28 13:13:17 +00:00
MW 14ea54b441 should now work. 2007-06-28 11:54:51 +00:00
mingchen 9eaecabdd0 *Moved VersionInfo.cs to its correct place in OpenSim.csproj
*Added OpenSim.Region.Caps
*Updated prebuild.xml and ran prebuild
2007-06-27 19:04:23 +00:00
mingchen 2261e4ec2a *Fixed all renaming for OpenGridServices.sln, still a reference issue in prebuild.xml though 2007-06-27 18:04:07 +00:00
mingchen 1dcc814b70 *More compile fixes (should be it on OpenSim.sln) 2007-06-27 17:20:45 +00:00
mingchen fe120533ef *Updated prebuild.xml and ran prebuild again
*Removed .user, .suo, and unneccessary files in /bin/Physics/
*OpenSim.sln should compile with nant and on windows now
2007-06-27 17:12:32 +00:00
mingchen e41eedc9ae *Some more restructuring/fixing -- should compile, but high chance I forgot to add/remove something 2007-06-27 16:39:11 +00:00
MW 646bbbc84b Some work on restructuring the namespaces / project names. Note this doesn't compile yet as not all the code has been changed to use the new namespaces. Am committing it now for feedback on the namespaces. 2007-06-27 15:28:52 +00:00