Jeff Ames
f42afe81af
added .dat extension to dumped asset files
2007-10-31 08:07:20 +00:00
Jeff Ames
7f0d836d35
made illogical bitwise operations logical
2007-10-31 05:29:51 +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
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
lbsa71
fb6aa6eafc
* Added 'Jim' and 'Goblin' shapes; not available in inventory yet though
2007-10-27 11:45:52 +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
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
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
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
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
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
Sean Dague
d4bb430f78
get rid of all the ^M line endings
2007-10-19 20:28:18 +00:00
lbsa71
656c72befc
* some more refactoring + bugfix
2007-10-19 08:57:30 +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
lbsa71
849eaffbe5
* Applied patch #418 : copyright-r2012.patch - some errors, but got most thru
2007-10-15 07:10:21 +00:00
lbsa71
8b01821dba
* normalized line endings
2007-10-15 04:27:52 +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
MW
4c25008850
Applied patch 485, inventory patch from tleiades (thanks again).
2007-10-08 10:30:15 +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
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
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
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
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
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
Sean Dague
b8d9737a47
fixing me some line endings
2007-09-17 12:52:03 +00:00
MW
12378312d5
Hopefully fixed the build error that I introduced with my last commit.
2007-09-15 10:53:46 +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
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
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
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
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
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
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
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
MW
5ea6d8d739
A little bit of cleaning up.
2007-08-22 16:59:13 +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
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
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
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
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
e34f5edb70
Deleted some unused code.
2007-08-13 13:37:50 +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
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
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
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
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
Sean Dague
74bb5282a0
mass update of files to have native line endings
2007-07-30 20:11:40 +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
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
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
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