Commit Graph

57 Commits

Author SHA1 Message Date
Eva Comaroski
9f43185431 [PATCH] Fix some concurrency issues regarding "inventory" asset transfers. 2020-09-03 05:47:12 +03:00
Cinder Biscuits
4f72d1d025 Lambdas 2020-05-09 12:59:06 -05:00
Cinder Biscuits
6d0ff2db02 Use Equals() because yes 2020-05-09 12:51:59 -05:00
Cinder Biscuits
823e05df77 Merge cast with type check 2020-05-09 08:41:30 -05:00
nopjmp
3ddec22d92 make logging messages in uploadscript better 2019-10-30 21:13:40 -05:00
nopjmp
f6cf0ac588 modernize testclient uploadscript 2019-10-30 21:00:09 -05:00
Cinder Biscuits
6e846008e2 Modernize TC UploadScriptCommand.cs 2019-10-30 20:46:28 -05:00
Cinder Biscuits
b58949cc85 Revert "Fix redundant declarations"
This reverts commit 50542975ab.
2019-06-08 18:04:05 -05:00
Cinder Biscuits
9e1fa3f882 Misc cleanup 2019-06-08 17:58:54 -05:00
Cinder Biscuits
50542975ab Fix redundant declarations 2019-06-08 17:19:02 -05:00
Cinder Biscuits
7e09972cbb Switch back to Compat System.Drawing again. :( 2017-09-04 09:22:53 -05:00
Cinder Biscuits
0b128c1291 Switch back to mono System.Drawing with changed namespace because of a conflict between .net standard and mono on System.Drawing.Color. :( 2017-09-03 20:54:34 -05:00
Cinder Biscuits
c8fca6ad2e Fixing stuff 2017-09-03 18:26:06 -05:00
Drake Arconis
3d4005dd4f Minor touchups to the foldertype commit. Missed unstaged files. 2015-08-07 17:26:35 +02:00
Latif Khalifa
af9765a75d Fixed build.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3487 52acb1d6-8a22-11de-b505-999d5b087335
2011-03-17 18:34:03 +00:00
Latif Khalifa
0ab7b71c37 Normalize tabs to spaces.
Patch by Mimika Oh

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3485 52acb1d6-8a22-11de-b505-999d5b087335
2011-03-14 15:27:06 +00:00
Latif Khalifa
b491d918a0 TC-89: Allowing asset types to be named as well as numbered, e.g. 'download e5ab65d0-d1d6-4b78-bbe5-79f683eca896 texture'.
Path by Mimika Oh

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3484 52acb1d6-8a22-11de-b505-999d5b087335
2011-03-14 15:24:45 +00:00
Latif Khalifa
3bb3630a36 Converted AssetManager to the new event model.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3286 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-17 14:00:36 +00:00
Latif Khalifa
7aa36d88f1 Update for new delegate signature
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3262 52acb1d6-8a22-11de-b505-999d5b087335
2010-03-01 14:54:30 +00:00
Jim Radford
6182ba84cd LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in InventoryManager (Not every delegate is converted yet)
LIBOMV-734 Thanks to Douglas R. Miles for converting the events in EstateManager over to new patterns
LIBOMV-735 Removes redundant LoggedIn event from NetworkManager, when LoginProgress Status == Success you can reliably send packets to a simulator. If you send before this event is raised, an exception will be thrown and your application will crash, previously your request would just get sent to the bitbucket without any notice, Thanks lkalif for the help getting this bug fixed correctly

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3187 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-29 09:39:43 +00:00
Jim Radford
e09e3f45b3 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in ParcelManager
* Changes some public method names to match patterns used through library, namely requests that have an event are named with Request as a prefix
* Add Key2Name TestClient command for resolving group and avatar names based on a UUID
* BREAKING CHANGE * this is a major shift in the way events are internally handled.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3151 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-17 05:50:51 +00:00
Jim Radford
ba491c6a63 LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in AgentManager
* Many other code cleanups and example updates
* BREAKING - this is a major shift in the way events are internally handled.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3145 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-16 02:53:53 +00:00
John Hurliman
7c016027f2 Improved FindObjects command for TestClient
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3053 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-03 18:28:52 +00:00
John Hurliman
c1bc0b4af6 * Moved OpenMetaverse/Resources to bin/openmetaverse_data until we have a working xbuild and reorganize SVN
* Complete rewrite of AppearanceManager. Appearance editing has not been (re)implemented yet, but the normal appearance setting is much more reliable
* Added a setting (defaulted to true) for automatically setting appearance
* Various baking hacks to get slightly less ugly avatars
* Added baked texture uploading through CAPS in AssetManager.RequestUploadBakedTexture(). UDP fallback is not implemented yet
* Added Parallel.Invoke() and overloads for all three methods that take a threadCount

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3038 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-31 17:43:01 +00:00
Jim Radford
b60db797b2 LIBOMV-501 Cleans up all compiler warnings with a few exceptions that need to be addressed individually
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3015 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-22 06:57:52 +00:00
Latif Khalifa
a4c8f8bba5 LIBOMV-639:
* Renamed TextureCache to AssetCache
* Plugged in new cache into AssetManager
* Removed OnAssetReceived global event from AssetManger
* RequestAsset and RequestInventoryAsset now take a delegate of type AssetReceivedCallback


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3004 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-19 03:38:27 +00:00
John Hurliman
405f66a017 Minor cleanups to createnotecard
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2973 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-11 01:34:18 +00:00
Latif Khalifa
b5bc88b72c Turns out we need to upload an empty asset first after creating an inventory item, before uploading real data.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2971 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-11 00:20:56 +00:00
John Hurliman
f403dad3c1 * PacketDecoder now parses InventoryItemFlags field
* Additional callback sanity check in createnotecard

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2970 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-11 00:17:09 +00:00
John Hurliman
268ab32fef * Better error message fetching from failed notecard uploads
* createnotecard command will now add a link to the embedded item at the end of the note (still broken with "Invalid asset type.")

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2966 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 20:20:49 +00:00
John Hurliman
3d2ef50871 * Catch an ObjectDisposedException for the AckTimer
* Added item embedding support to createnotecard, which is currently not working. Any help getting this working would be appreciated

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2963 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 17:31:57 +00:00
John Hurliman
3c5a1b5160 Cleaned up createnotecard TestClient command, it will now download and print the raw notecard data after uploading it
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2962 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-10 17:16:47 +00:00
John Hurliman
368632dcd2 Adding an xfer command to TestClient
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2950 52acb1d6-8a22-11de-b505-999d5b087335
2009-07-09 20:52:11 +00:00
Jim Radford
dc5356bf74 Reorgnaize TestClient orphaned commands into appropriate folder structure
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2825 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-28 00:55:58 +00:00
John Hurliman
2520b6d0ea * Adding a LocklessQueue collection to OpenMetaverseTypes
* Fixing minor compile warnings

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2772 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-16 09:12:12 +00:00
Jim Radford
63f2f3ffc9 LIBOMV-541 adds new TestClient command to set a script tasks running state.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2761 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-14 04:48:48 +00:00
Jim Radford
f2dbbb00b6 LIBOMV-540 Adds parameter to CopyScriptToTask method which allows the scripts running state to be set.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2758 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-13 21:27:38 +00:00
Jim Radford
cd7e2893b3 LIBOMV-539 oops typo
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2749 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-12 12:04:46 +00:00
Jim Radford
90825a5042 LIBOMV-539 Patch from Douglas Miles - Implements example TestClient command to upload a script to inventory + corrects capability name
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2748 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-12 11:58:12 +00:00
John Hurliman
a970cbd661 Initial commit of the OpenMetaverse.Assets namespace. Serialization/deserialization for new PrimObject is done, but OAR saving/loading is still a work in progress
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2746 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-12 00:07:35 +00:00
Jim Radford
9bed5f15f9 LIBOMV-501 Pass 1: Cleanup of compile time warnings
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2713 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-08 07:32:49 +00:00
Jim Radford
14869cab48 LIBOMV-505 Merge in jradford-texturepipeline branch
This changes the way texture requests are handled, the AssetManager
RequestImage method signatures have been changed and are now expecting
the callback with the request.
Progressive requests for textures are supported for rendering viewers
Tuning parameters have been moved to Settings


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2699 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-07 16:10:52 +00:00
John Hurliman
c5409af63f * [LIBOMV-506] Complete rewrite of CapsBase to use HttpWebRequest instead of our homebrewed WebRequest hack. We lose the upload progress callback but gain IOCP thread instead of System.Thread usage and Keep-Alive support
* Content-Types described in http://tools.ietf.org/html/draft-hamrick-llsd-00 are used for CAPS requests. This *may* be incompatible with the current SL grid, needs testing
* Modified CapsClient requests to require OSDFormat enum and timeout values

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2680 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-01 06:04:32 +00:00
Jim Radford
b64699b32c LIBOMV-427 Adds TestClient commands to empty Trash and Lost and Found folders
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2546 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-26 23:44:50 +00:00
John Hurliman
364c2c26d9 * Moved all capabilities code to the new library, OpenMetaverse.Http
* OpenMetaverse.Http contains a CAPS client + server, event queue client + server, SSL certificate generation (root CA, server certs, client certs), and client certificate authentication
* HttpServer.dll and Mono.Security.dll are new dependencies for OpenMetaverse.Http.dll

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2400 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-29 20:44:28 +00:00
John Hurliman
003eb8a220 * Added a download command to TestClient to download non-texture assets
* ls -l in TestClient now also prints AssetIDs
* Removed ExportOutfit and ImportOutfit, they didn't work
* Added default eyes and more clothing textures to Simian. Appearance is working for me now. Appearance won't persist until we have a persistent asset store

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2282 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-09 01:55:46 +00:00
John Hurliman
6497ef03ca * Modified ImageDownload to hold ImageType and DiscardLevel
* RequestImage() now takes a starting packet number as a parameter
* Image download refresh timer calculates which packet to restart the transfer at

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2227 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-16 00:31:55 +00:00
Jim Radford
d73eca1a4f TC-50 Adds new viewnote command to download and display a notecard asset
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2216 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-12 23:46:28 +00:00
John Hurliman
07754f7016 OpenMetaverse:
* LLObject is gone, it is now merged into Primitive
* Avatar inherits from Primitive
Simian:
* Added SimulationObject to track prims
* Added IMeshingProvider and a connector to OpenMetaverse.Rendering plugins

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2161 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-24 05:06:51 +00:00
John Hurliman
f0ba48353b * Fixing a few lingering endian issues [LIBOMV-361]
* Removing all big endian methods from Helpers to avoid future confusion
* Sanity check in InventoryCommand.PrintFolder()
* Some GridProxy hackery to work with the OGP client, this will be cleaned up later

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2148 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-21 21:51:20 +00:00