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