Commit Graph

100 Commits

Author SHA1 Message Date
John Hurliman
28ecfa5976 Updated the entire library (where appropriate) to use LLUUID.Zero, LLVector*.Zero, and LLQuaternion.Unit instead of creating new instances of the class
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@528 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-07 23:30:09 +00:00
John Hurliman
5488eedd49 SimpleInventory sanity checks for null before inventory dumping
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@523 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-07 21:35:02 +00:00
Michael Cortez
2e763682e0 Image tool now supports downloading a list of textures provided in a text file, one UUID per line.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@515 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-07 01:17:10 +00:00
John Hurliman
0ddf60e2f1 SecondLife.Objects.RequestAllObjects was added and defaults to false. Set this to true to download all objects from the sim. All of the object/avatar ObjectManager code is wrapped in callback checks, so the code will only run if you have the callbacks registered.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@510 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-06 05:42:10 +00:00
w7cook
da7bcf370f Refactored image upload into a class. Any xfer packet
can now be resent. The upload request is not resent yet.
(I also added the "obj" directories to the SNV-ignore list)



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@508 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-05 21:05:25 +00:00
John Hurliman
8e9161a0d3 Reverting an accidental commit in IA_TestAsyncImage
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@507 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-05 09:21:06 +00:00
John Hurliman
f6c570b39c Sceneviewer:
* Enabled prim rendering (oops)
* Added linear taper support
* Slowed down the FPS counter, and disabled it by default. Press '2' to enable/disable it
libsecondlife:
* Improved the accuracy of PrimObject quantize/dequantize functions
* Switched PrimObject.Taper* to use PathScale* instead of the deprecated PathTaper*

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@506 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-05 09:18:14 +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
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
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
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
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
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
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
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
lancej
a303308532 * ProtocolManager.cs now generates the keyword ordering from message_template.msg by hashing the keywords. This should remove the need for keywords.txt.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@427 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-29 20:22:54 +00:00
John Hurliman
0c167bce95 Cleaning up after someone (don't commit random MSVC trash to svn!) and adding some new sceneviewer code (not functional yet)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@423 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-29 08:44:03 +00:00
qode
b612d5c077 *repository is alive!
I put an old version of the FastImageApp.cs and FastImageApp.csproj into the repository. This has been fixed and I guess I should leave the SVN thing to the professionals :P

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@422 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-29 01:07:33 +00:00
qode
95b657920e woops..
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@421 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-29 00:27:11 +00:00
qode
b976bed7d9 *final fixup for me today - fixed FastImageApp (again)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@420 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-29 00:22:17 +00:00
qode
8be7535300 fixed my svn-newbiness mistakes.. my bad :X
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@417 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-28 22:44:40 +00:00
John Hurliman
e27df4da69 * Fixed a couple bugs in GridManager and improved it slightly
* Teleport example is more reliable and works in all cases now, due to a lot of hairy ugly code being added to it
* LLUUID constructor throws an exception on incorrect string lengths now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@404 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-27 09:22:48 +00:00
John Hurliman
b8b6d4119e More work on groups. We now have complex enough generics code that the compiler can generate C++ STL style errors
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@402 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-26 10:43:59 +00:00
John Hurliman
c8b892a19b Removed a line from groupmanager setting the value of a label that doesn't exist. Typecasted the XORing operation in the LLUUID overload back to a byte. Added libjaspernet to the MSVC solution and updated the reference in groupmanager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@400 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-26 07:29:16 +00:00
John Hurliman
6e5387bec8 Adding missing groupmanager file
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@399 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-26 06:47:23 +00:00
John Hurliman
f9c35ba4a2 Merged the aditi branch to the trunk, threw the latest protocol files in, generated a new _Packets_.cs and fixed the login url. We should be good to go
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@396 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-25 22:05:07 +00:00
John Hurliman
d71f44c55f Removed all the trailing residue from the mutexes, fixed a Logout bug with closing the sim socket
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@395 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-25 21:22:18 +00:00
John Hurliman
5781dde971 Reverted back to the old broken method of using the Load() event in groupmanager, since mono doesn't support cool Form events
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@390 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-25 00:18:28 +00:00
John Hurliman
d9471ce4a6 Fixed two bugs in groupmanager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@389 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-24 23:03:08 +00:00
John Hurliman
9830bf85e4 On a mad coding spree.
* Implemented AvatarManager, added the async functions
* Rebuilt the key2name functionality
* Fixed and cleaned up a lot of the teleporting code
* More functions implemented in GroupManager
* Renamed SecondLife.Avatar to SecondLife.Self
* Updated the groupmanager example to list group members
* Renamed Form1.cs to AnimationSample.cs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@386 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-24 11:16:26 +00:00
John Hurliman
f079a2b342 Asynchronizing GridManager calls for looking up region information
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@385 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-24 07:38:22 +00:00
John Hurliman
ee0e3230f8 * Added a few Begin (async) functions for teleporting
* Added an nant build file for libjaspernet, added it as a build step to the main libsecondlife.build
* Updated the examples.build script to include libjaspernet.dll as a reference
* Teleport example uses the new TeleportStatus enum

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@384 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-24 05:39:52 +00:00
John Hurliman
7f2ce1b6cd Completely revamped GroupManager, about 1/3 of the async callbacks are in place. Updated the groupmanager example to show off a few of them.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@377 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-23 08:30:31 +00:00
John Hurliman
40f748f88c Added initial texture support to groupmanager, removed an unneeded SSL certificate override class from NetworkManager
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@373 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-22 20:27:59 +00:00
John Hurliman
1a5007f488 Updated AnimationSample to use generics
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@364 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-21 06:03:49 +00:00
John Hurliman
59edffffe7 Converted libsecondlife to .NET 2.0, using generic containers exclusively
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@362 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-21 05:53:58 +00:00
bushing
4fa67d3b35 svn:eol-style native is your friend
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@360 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-21 02:52:28 +00:00
John Hurliman
e0fc23f01b Commenting out the FormClosing event handler, see if this fixes mono
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@359 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-21 02:47:01 +00:00
John Hurliman
b1e7547aca Adding groupmanager to svn
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@357 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-21 02:36:41 +00:00
John Hurliman
32e7def137 Removing extraneous files and dirs from AnimationSample
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@356 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-21 02:35:08 +00:00