Commit Graph

238 Commits

Author SHA1 Message Date
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
John Hurliman
25834b70bb * Added a 9 parameter DefaultLogin Values, weaning the example apps off of passing in a version number
* Fixed several SimulatorsMutex hacks now that the root issue is resolved
* Teleport example will let you know if you try to teleport to the local sim

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@350 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-20 19:42:09 +00:00
Michael Cortez
126eebf192 Don't try to teleport if login failed.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@348 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-20 19:25:04 +00:00
mindtriggerz
a90ef2d493 Added the AnimationSample example program. Hopefully this will serve as a quick guide to using pregen to generate packets for new developers
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@346 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-20 02:08:09 +00:00
Michael Cortez
c80e7b7721 Temporarily giving up on the "correct" solution to get teleport to work, and going with the comment hack (removing a mutex from the NetworkManager to prevent a deadlock.)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@342 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-19 19:01:42 +00:00
Michael Cortez
91a40207fc + Fixed the teleport code in Avatar.cs so it doesn't deadlock on openning network connections
+ Updated Teleport example so it's fully functional.
+ Added a check to see if there are any AddSim listeners registered before trying to notify them

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@341 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-19 18:41:14 +00:00
John Hurliman
3238049bc6 * Got rid of SecondLife.CurrentRegion (use SecondLife.Network.CurrentSim.Region instead)
* Initial framework for groups support
* Fixed Logout() issues with freezing or throwing exceptions
* slaccountant small cleanup (still doesn't run under .NET 2.0)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@338 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-19 08:37:46 +00:00
John Hurliman
d9dc4edd44 * Fixed the ToString() output for packets with byte array fields
* Implemented and tested the OnBalanceUpdated event
* Created a SendInitialPackets() function and commented our current knowledge of the login packets
* CurrentRegion.Handle is now set at login
* Moved the README.Mono file to README.txt and added a bit more information
* Fixed the sldump example to use the 1,50,50,50 version number
* Generated an updated _Packets_.cs file

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@319 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-17 08:21:37 +00:00
John Hurliman
2f4aaf31d1 Fixed the solution file to point to the updated location of the IA_* example projects
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@298 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-16 04:26:06 +00:00
John Hurliman
115b29a077 Moved the IA_* projects from applications/ to examples/
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@297 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-16 04:21:13 +00:00
John Hurliman
aee584721b Excluding mcortez's IA_* apps until a workable solution is found for compiling under nant/mono
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@291 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-16 01:25:26 +00:00
John Hurliman
ee8ec89bad Deprecated by IA_NotecardTool
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@288 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-16 01:03:08 +00:00
John Hurliman
b01ad186b2 Fixed the naming scheme of some of the delegates to be uniform with the rest of the code
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@284 52acb1d6-8a22-11de-b505-999d5b087335
2006-10-15 23:54:14 +00:00