Commit Graph

2825 Commits (9ea42fdfab2ac99e24b386d67a08cf0024230f54)

Author SHA1 Message Date
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