Commit Graph

277 Commits

Author SHA1 Message Date
mindtriggerz
1c76ea281f Added ProfileURL field to Avatar, added UpdateAvatar(Avatar a) to AvatarManager for updating profiles. (Hi AdamZaius!)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@505 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-05 01:51:29 +00:00
John Hurliman
5a93c57501 Changed the Inbox in NetworkManager to use a fixed size Queue, we'll see if this fixes sequence number rollover issues
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@503 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-04 13:42:49 +00:00
lancej
dbe2d814b5 * Added enums for Bumpiness, Shininess, and Mapping in Textures.cs
* Added decoding of prim text in UpdateHandler

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@501 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-04 07:42:53 +00:00
Michael Cortez
b5ee669664 Adding new IA_MultiImageUpload project to the solution, also moved all the IA* stuff into a solution folder.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@500 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-04 00:44:25 +00:00
Michael Cortez
3448e9842a Added asset upload packet time-outs and resending code, also started refactoring AssetManager some.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@499 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-04 00:43:30 +00:00
Michael Cortez
837750757c Seperated and split TransferRequest into two small classes. Additional functions from AssetManager will likely be refactored into these.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@498 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-04 00:42:36 +00:00
Michael Cortez
bc456509ce Batch upload tool, for uploading directories of images. Used for testing asset upload code.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@497 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-04 00:41:11 +00:00
Michael Cortez
eeec4c24f8 + RequestImage now blocks by using signals via ManualResetEvent.WaitOne()
+ Added ImageManager to SecondLife / is only initialized on first use
+ Updated async callbacks for ImageRequestAsync to include Status Message
+ Updated GroupManager to use ImageManager via Client.Images.*

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@496 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 20:42:37 +00:00
qode
ea82ee3f5b *Added (string) NetworkManager.StartLocation(string sim, int x, int y, int z)
**This can be used in the newly created DefaultLoginValues(string first, string last, string password, string StartLocation, string useragent, string author)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@495 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 20:19:49 +00:00
lancej
f5b3b9789f * Fixed order of two fields in CompressedUpdateHandler
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@494 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 19:28:07 +00:00
John Hurliman
fd7879424c Some cleanups and a sanity check in sceneviewer, and removed the comparison overrides for the Region class (they were broken, and unnecessary as far as I can tell)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@493 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 18:41:21 +00:00
lancej
866195f5d5 * Minor fix to CompressedUpdateHandler that I forgot
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@490 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 09:45:18 +00:00
lancej
e8eb6ba469 * More updates to CompressedUpdateHandler
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@489 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 09:40:21 +00:00
lancej
0643565725 * Added decoding of SpecialCode&0x10 data in CompressedUpdateHandler.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@488 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 09:25:01 +00:00
lancej
5c970e3c7b * Added PCode for trees and grass.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@487 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 05:03:32 +00:00
lancej
9b7904a671 * Added PCode for Avatars.
* Changed UpdateHandler to decide object type by PCode instead of ObjectData length.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@486 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 04:46:04 +00:00
qode
e1a6d537ce SecondLife.Self.Teleport(string, LLVector3) now obeys the z coordinate when teleporting.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@483 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 02:11:06 +00:00
Michael Cortez
0eb4ab0b7f + Fixed a race condition where the second packet of an image download would come before the initial packet (where the initial packet caused the image buffer to be initialized)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@482 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 01:02:08 +00:00
qode
ca7ebd744f Removed FastImageApp and FastImageTool due to redundancy after changes to the ImageTool. Use ImageTool for now on.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@481 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-03 00:30:25 +00:00
John Hurliman
50fe8cf480 Added a catch for PCode 255 to lower the debug spew
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@480 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 23:56:10 +00:00
John Hurliman
f333ab8974 Fixed SLIRC
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@479 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 23:31:01 +00:00
John Hurliman
d140c9dd53 Changed some of the prim functions to return sbyte instead of byte
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@478 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 23:17:05 +00:00
John Hurliman
3604836e90 Fixed the RezObject() code
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@477 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 23:01:03 +00:00
John Hurliman
155683f1c1 * Added RezObject back in
* Removed avatar tracking from ObjectManager
* Added the PCode enum to PrimObject

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@476 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 22:42:36 +00:00
Michael Cortez
95fb0c8f12 Stupid != == != bah
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@475 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 22:34:03 +00:00
Michael Cortez
6c0b335f85 Trying to get rid of while(){tick tick tick} by using more intelligent threading classes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@474 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 22:28:46 +00:00
w7cook
579dc0d281 Use a ManualResetEvent to wait for upload to be complete, rather than using the busy wait and Tick() functions.
Seems faster, and uses much less CPU.



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@473 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 20:29:33 +00:00
Michael Cortez
f55d44f8a9 + Fixed Image Upload
+ Made Rate for image compression optional and exposed via cmdline in ImageTool

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@472 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 20:05:03 +00:00
w7cook
7cfa95780c Revert change that should not have been checked in.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@471 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 18:38:38 +00:00
w7cook
8b98485d41 Fixed problem where only one image could be uploaded.
Also check for conversion errors, allow more types of 
files to be converted. Finally, use TryParse to avoid
exceptions in converting from strings to numbers.



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@470 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 18:01:50 +00:00
Michael Cortez
82590770f9 Try to output avatar textures and make this test app a little more smart about what files to try and request.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@469 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 17:59:30 +00:00
Michael Cortez
d7d61c7c22 Speed up the disk cache option, by having an in-memory cache of what files are available on disk. This may eventually get rolled into another "Mixed" cache type, rather then being a default for the disk cache.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@468 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 17:58:19 +00:00
John Hurliman
1463df36dd * Added addition overload to LLVector3
* Added multiplication overload to LLQuaternion
* Basic tree/foliage detection in ObjectManager
* Updated primexport to bring it up to speed with sceneviewer
* Implemented the logging callback in SecondLife, and added LogLevel.Debug

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@467 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 12:40:44 +00:00
John Hurliman
f1f418c482 Removing groupmanager as it's a dead and non-functional project
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@466 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 05:48:42 +00:00
John Hurliman
e872c7fac4 Added the autopilot function for basic movement capabilities
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@465 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 05:33:34 +00:00
lancej
1ac12a160c * Decoding of particle system data is mostly done, there are still a couple unknown fields.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@464 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-02 03:05:20 +00:00
John Hurliman
4e6dfab206 Removing the memory leak introduced in r461 (libsecondlife isn't responsible for tracking avatars)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@463 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-01 23:27:30 +00:00
lancej
350e26a9d4 * Added initial decoding of particle system data. Not yet fully functional.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@462 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-01 21:02:31 +00:00
Michael Cortez
d44fd1ee4e + AvatarManager & ObjectManager no longer assume each avatar seen is a new avatar, at least for ObjectUpdatePackets -- the other object packets still need to check for existing avatars before adding new ones.
+ Added back in KakaduWrap because the jasper wrapper doesn't support TGA/TIFF to J2C (yet) -- so it's needed for uploads

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@461 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-01 20:33:15 +00:00
lancej
1b68d36e6a Forgot to commit this.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@460 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-01 20:08:31 +00:00
lancej
e9e9a66437 * Added textures for the Avatar class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@459 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-01 19:46:21 +00:00
lancej
9ed8e9c3ab * Added decoding of flexible and light data for prims.
* Added another unknown field in CompressedUpdateHandler.
* Reorganized some code in Textures.cs and CompressedUpdateHandler.  CompressedUpdateHandler now dumps data blocks that it fails to decode for easier debugging.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@457 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-01 08:31:26 +00:00
Michael Cortez
aff38f83b4 hrm, left an update out...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@455 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-01 00:16:06 +00:00
Michael Cortez
839c7cfd7d + IA_TestAsyncImage tests the async download code of ImageManager, by downloading all textures encountered when listening to OnNewPrim
+ Removed KakaduWrap, no longer needed now that ImageTool uses Jasper

+ Exposed an accessor for Textures in TextureEntry

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@454 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-01 00:14:43 +00:00
Michael Cortez
db993692fb Latest libjasper.dll fixed the problems with tga, so tga support now enabled.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@453 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-31 21:32:54 +00:00
Michael Cortez
e9474ac5b7 + Updated JasperWrapper.cs so it keeps track of Init State, and initializes automatically (if needed)
+ Updated ImageTool to use Jasper to write TIFFs, removed TGA temporarily until it's working

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@450 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-31 20:56:26 +00:00
Michael Cortez
944a5893fb + Updated to use the jasper library, doesn't work for me, submitting for jhurliman to test
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@449 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-31 20:34:30 +00:00
Michael Cortez
6730dbd208 + Added Async download support to AssetSystem/ImageManager.cs
+ Started converting IA_ImageTool/ImageTool.cs to use the JasperLibrary, but was getting errors

TODO: Add an Async download option to the ImageTool download example application

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@448 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-31 20:08:02 +00:00
bushing
3a92f246d9 fixed WARNING: Skipping a TextureEntry, too short (0 bytes)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@444 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-30 21:53:02 +00:00
Michael Cortez
a77d99c568 + Removed debug output
+ Changed build target directory

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@443 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-30 21:47:24 +00:00