Justin Clarke Casey
429ecb8508
Just a few comments
2008-03-13 18:31:05 +00:00
Justin Clarke Casey
42123770de
* Add comments and slight corrections to ClientView.AgentTextureCached
...
* Reduce 'asset not found' console debug spam
2008-03-12 17:02:08 +00:00
MW
2fea38a5f2
Applied patch from mantis #610 , fixed invalid filenames with dump_assets_to_file set to true. thanks tyre.
2008-03-12 15:45:56 +00:00
Justin Clarke Casey
956f7cb4f9
* Very minor error message change in GridAssetClient
2008-03-11 17:55:49 +00:00
Teravus Ovares
fe49c96ee0
* Applying Ahzz's profile patch. Thanks Ahzz!
...
* Fixed a few bugs in the patch that are sim crashers.
* There's still a bug in mySQL mode/ grid mode where the main userprofile text doesn't save.
2008-03-03 08:30:36 +00:00
Charles Krinke
7794fc3766
Change handler001 through handler009 to more
...
appropriate names consisten with their use.
All done with all 94 handlers from handler001
through handler094. Hopefully we can move
forward without numbered handlers.
2008-03-02 22:28:48 +00:00
MW
70ad5604cd
disabled AssetDownloadModule and re-enabled the asset download code in the asset cache, until it can be seen if the module was the cause of some new problems that seem like they might be related to assets. I'll look into this more tomorrow.
2008-02-27 22:47:33 +00:00
MW
2c65c2da90
small fix in the showstate data in AssetCache to reflect that now some functions are no longer in AssetCache
2008-02-27 21:32:01 +00:00
MW
e978d00914
After seeing sdague do his happy dance over trunk working "the best he has ever seen". I'm not sure I should be doing this commit, but oh well.
...
So anyway, it moves the Asset downloading (packet sending) to a module (AssetDownloadModule).
So now at last, AssetCache should be just dealing with fetching assets from the asset server and caching them.
2008-02-27 21:11:01 +00:00
MW
aac7c1dda5
another attempt at fixing asset lockups
2008-02-27 16:20:45 +00:00
MW
a9ae5ab840
Hopefully fixed the bug that was causing a lot of the freezing. Which was happening due to locks in the AssetCache and Texturedownload module. Where the thread from the Asset thread would be take a lock on a list in the asset cache and then try to call the Callback into the texturedownload module and hit a lock in there which was held by a ClientView thread- which at the same time would be trying to request another texture from the cache and be hitting the lock in there held by the IClientAPI. The result each thread waiting for the other one to release a lock. And as one of those was the ClientView process packet thread. No more packets from that client could be processed. For now I've made a copy of the list in AssetCache so that it can release the lock. I'm doing more work on assets (moving the client asset downloading to a module ), so will hopefully change this into a better method once I've cleaned over things up a bit.
2008-02-27 14:40:30 +00:00
Justin Clarke Casey
65862aacea
* Start sending "ImageNotFound" packet back to the client if we can't find an image
...
* This might stop some client's constant requests for unfound textures, which is a candidate for the memory leak
* If a texture is not found then the "Image not found" texture will now be displayed clientside
* If it works, this should resolve mantis 676
* Non texture image requests do not receive this packet yet
* This will require a prebuild
2008-02-25 23:26:35 +00:00
Justin Clarke Casey
f95ad65189
* Improve alignment of packet queue stats headigns
...
* Correct asset cache stats table heading
* Correct spelling mistake in AssetCache (thanks ChrisD!)
2008-02-22 23:15:00 +00:00
Justin Clarke Casey
fed46ba6a7
* Winnow the debug and info messages associated with stat fetching
...
* As such, only a request for a non cached asset, the response and failures show up now.
* I know lbsa71 only put these in not long ago, so if they are really still required, I think we should think whether we can move the default log4net level off 'Debug'
2008-02-22 22:54:50 +00:00
Teravus Ovares
582964800c
* Moved all events except gridcomms and regioncomms over to Event Delegate instances to prevent event race conditions
2008-02-22 19:44:46 +00:00
Tedd Hansen
7102ac7769
"threads" command now works. I've added manual tracking of threads (only if compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging.
2008-02-21 10:43:24 +00:00
Justin Clarke Casey
b0c5ef0b68
* Eliminate AssetCache.CopyAsset()
...
* Resolve a bad logic bug in AssetCache.GetAsset()
* This may make some asset related things work better (possibly getting main map images will now be improved).
2008-02-20 23:21:51 +00:00
Justin Clarke Casey
7d7ad4dff2
* Only count download requests for assets which are not already waiting for data from the asset server
...
* This should stop the constant increase in the download requests statistics
* If you see stat numbers for download requests which are far from what you'd expect, please report
2008-02-20 20:23:03 +00:00
Justin Clarke Casey
f3190810d3
* Properly guard removal of asset request lists on AssetCache.AssetNotFound (my own bug)
2008-02-20 19:13:59 +00:00
Justin Clarke Casey
53d5aeec24
* Remove unused texture dictionaries from AssetCache
...
* Add documentation to AssetCache
2008-02-20 19:02:04 +00:00
Jeff Ames
a8cfbbe963
Minor cleanup.
2008-02-20 18:38:20 +00:00
Justin Clarke Casey
c66b5a9e71
Report command string on ConsoleBase.RunCommand exception
2008-02-20 17:54:14 +00:00
Justin Clarke Casey
877713999c
* Report 'asset not found' situations back to UserTextureDownloadService
...
* This fixes some of the 'runaway downloads' problem but not all of it
* Also fix up logging messages so texture requests are reported as such rather than as assets
2008-02-20 17:34:10 +00:00
lbsa71
4c6e5a5090
* re-enabled AssetNotFound code
...
* turned script asset fetching asynchronous
2008-02-20 13:11:19 +00:00
lbsa71
9be5f9d6cc
* Fixed xml loading bug (the xml was scheduled for update before added to a scene)
...
* Fixed ClickAction situation on the same note (properties shouldn't cause big changes)
* Added some more debug output to AssetCache
2008-02-20 09:38:45 +00:00
Tedd Hansen
47c909ca0a
Playing "Name that thread". Adding names and isbackground=true to all threads so it will be easier to debug.
2008-02-19 12:02:53 +00:00
Justin Clarke Casey
500d259c25
* Do not allow a user to be created if one with the same name already exists
2008-02-18 15:50:18 +00:00
MW
b618802e53
Moved the AgentAssetTransactionsManager (and AgentAssetTransactions) out of CommsManager and into a module (AgentAgentTransactionModule), still needs cleaning up though.
...
But its one more thing out of the CommsManager. One day we will kill the CommsManager!
2008-02-16 13:01:42 +00:00
Sean Dague
3a208a3a4f
Fix a casting subtlety in moving to constants. Logins should work
...
again.
2008-02-14 13:28:35 +00:00
Adam Frisby
f3afa68a2a
* Made new Framework.Constants class, added RegionSize member.
...
* Converted all instances of "256" spotted to use RegionSize instead. Some approximations used for border crossings (ie 255.9f) are still using that value, but should be updated to use something based on RegionSize.
* Moving Terrain to a RegionModule, implemented ITerrainChannel and TerrainModule - nonfunctional, but will be soon.
2008-02-14 12:16:33 +00:00
MW
49a5a00b80
Added a method to access a named folder in a users inventory, to the inventory Database interfaces. This could be useful for adding a item to a users inventory from say a web front end application or some other third party application. [note the method is only currently implemented in the sqlite provider]
2008-02-13 14:45:13 +00:00
Jeff Ames
001ce95e4c
Clean up more unnecessary String.Format calls
2008-02-13 03:38:18 +00:00
Justin Clarke Casey
a1a206cb05
* Clean up LIBRARY INVENTORY messages
2008-02-13 02:43:41 +00:00
Justin Clarke Casey
45638cc141
Commenting and a spelling correction
2008-02-13 01:04:27 +00:00
Justin Clarke Casey
1677bde480
* Clean up the agent's asset transactions when it is removed from the scene
...
* This may or may not help with the memory leak, need to assess
2008-02-13 00:52:49 +00:00
Justin Clarke Casey
365cf8e455
* Refactor: Move last commit's refactor back to AgentAssetTransactionsManager
...
* Push asset update (invoked when clothing is altered) down into AgentAssetTransactions from Scene.Inventory.cs to join others
* I've tested that clothing creation and update still works, but please let me know if it suddently breaks for you.
* Add/correct comments
2008-02-13 00:30:51 +00:00
Justin Clarke Casey
2018cf312b
Refactor: factor a method out of AgentAssetTransactionsManager
2008-02-12 22:41:57 +00:00
Justin Clarke Casey
c0211c1ca2
* Add missing locking to mysql inventory plugin
...
* Should resolve mantis 542
2008-02-12 22:24:12 +00:00
Justin Clarke Casey
6a3455a98c
* Refactoring: Rename AssetTransactions.cs and AssetTransactionsManager and align classes with file names
...
* Small amount of ndoc
* This will probably require a prebuild and nant clean
2008-02-12 18:15:54 +00:00
MW
7bbb9a08cb
Re-enabled Inventory creation of body parts
2008-02-11 20:54:46 +00:00
Justin Clarke Casey
c80c6e9774
Documenting and minor tweaks
2008-02-11 20:10:44 +00:00
Jeff Ames
e207284fef
Clean up logging calls using String.Format explicitly
2008-02-10 01:57:59 +00:00
lbsa71
e9eaf8e949
* fixed typo. thanks, nebadon!
2008-02-09 22:26:28 +00:00
lbsa71
7486762aa0
* Refactored some asset code and in the process uncovered a bug; now, I think first transfer of asset should start faster.
2008-02-09 22:23:36 +00:00
lbsa71
0b0bb28fd5
* added count of texture data bytes and asset bytes
2008-02-09 21:50:45 +00:00
lbsa71
e2ed5bf6b9
* Added count of temporary assets
2008-02-09 21:25:34 +00:00
lbsa71
176a1fe382
* added two new commands (for debug/disaster recovery)
...
'show assets' shows the current state of the asset cache (number of cached assets, requests, et c)
'clear-assets' forcibly re-initializes the asset cache thereby freeing all cached items.
'clear-assets' is not to be used lightly, as it probably introduces mem inconsistencies and doubling up of textures.
2008-02-09 21:17:47 +00:00
Teravus Ovares
07d0f558c4
* Fixed nebadon's UserServer crash bug from yesterday.
...
* Made Estate tools work for estate managers without needing to request admin status First
* Added code to make the Simulator version to be reported in the About box of the client
2008-02-09 07:53:01 +00:00
Justin Clarke Casey
d546859bc1
* Change logger to handle [<entry>] where <entry> contains non alphabetic characters
...
* Change logger to not print extra line if [<entry>] <text> like string is not logged
* Remove more of my previous chatty debugging statements
2008-02-09 01:53:57 +00:00
Justin Clarke Casey
16f8f19a54
* Stop asset transactions hanging around after they've completed
...
* Still not enough to solve the memory leak, though hopefully this is another step on the path
* All these changes are pretty temporary - this will be addressed with a more fundamental refactor in the future
2008-02-08 23:42:19 +00:00