Commit Graph

42 Commits

Author SHA1 Message Date
John Hurliman
479bcd38ab Moved openjpegnet assembly in to libsecondlife.dll, should make life slightly easier for distributing libsl software. Define NO_UNSAFE at compile time to disable OpenJPEGNet components
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1316 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-17 00:06:34 +00:00
Latif Khalifa
f462f44d23 *BREAKING CHANGES* Merging jhurliman branch with the trunk. The old AssetManager, ImageManager, and InventoryManager systems have been phased out and replaced by the new AssetManager and InventoryManager classes. The lowest network layer has been abstracted out and replaced, new networking callbacks added, and many small bugfixes made. AppearanceManager.Wear* commands have been commented out until they are ported to the new inventory system
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1296 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-13 14:49:36 +00:00
John Hurliman
0dc600e83b Merging aditi 1213-1274 in to the trunk, preparing for 1.18 release
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1286 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-11 16:17:06 +00:00
jedediah
937f15ab6f This is a big merge of my work from the Pleiades internal repo.
Not yet tested on Linux or OSX!
Notable changes:
* AppearanceManager works much better though baking is only a placeholder
* Fixes to openjpeg/TGA code
* VisualParams class interface changed
* Some TestClient fixes
* Rest of TGA files added to Resources (they will eventually be used for baking)This is a big merge of my work from the Pleiades internal repo. Notable changes:
* AppearanceManager works much better though baking is only a placeholder
* Fixes to openjpeg/TGA code
* VisualParams class interface changed
* Some TestClient fixes
* Rest of TGA files added to Resources (they will eventually be used for baking)


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1284 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-11 09:17:46 +00:00
John Hurliman
adfc241218 * Backporting all of the non-networking and non-inventory changes from the jhurliman branch
* The new asset and appearance managers sit alongside the old ones, so no code should break just yet although you might have to be more explicit with your namespaces
* Adding importprimscript to work in conjunction with qarl's Maya sculptie exporter
* Removing the IA_* examples, these should be remade in to TestClient commands

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1275 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-08 04:35:04 +00:00
jef
8070059ef9 Oops redux.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1240 52acb1d6-8a22-11de-b505-999d5b087335
2007-06-25 01:30:47 +00:00
jef
5fd04a191b Oops.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1238 52acb1d6-8a22-11de-b505-999d5b087335
2007-06-25 01:27:10 +00:00
John Hurliman
d8b5fe6f66 Fixing a small typo in the xml of TestClient.csproj
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1216 52acb1d6-8a22-11de-b505-999d5b087335
2007-06-11 01:44:28 +00:00
jef
4f37646776 * small TestClient command line parse fix courtesy of jedediah smith
* added FriendManager.cs to Xcode project file


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1215 52acb1d6-8a22-11de-b505-999d5b087335
2007-06-04 23:40:57 +00:00
qode
210e794b4e TestClient VS2005 csproj file - bug fix, see report 0000130
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1210 52acb1d6-8a22-11de-b505-999d5b087335
2007-06-01 16:01:37 +00:00
John Hurliman
ec54a1b804 Fixed output path for TestClient in VS2005
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1200 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-23 16:05:13 +00:00
jef
32b485e34c Added GoHome and Teleport(LLUUID Landmark). And yes it can be anyones landmark. Also reorganized the testclient commands. But am leaving it to someone else to fix up the VS solution.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1195 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-21 05:52:28 +00:00
jef
a1fa2adcca Self.SetHome for the ability to set home to the current location. And a test client command. That someone else has to add to VS
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1194 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-21 04:30:31 +00:00
jef
31b4a1da9e Changes to xcode build file, and removal of some warnings.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1190 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-15 17:52:58 +00:00
John Hurliman
7e306ebb29 * Login no longer writes loginreply.xml in debug mode. Instead NetworkManager.RawLoginReply was added to access the raw XML-RPC response
* DirectoryManager.StartPeopleSearch() now takes a queryStart parameter to allow searching past the first 100 results (fixes issue 115, thanks DeltaCzuk)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1188 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-14 10:18:54 +00:00
John Hurliman
fec60d1f25 Reverted login changes to use the old style LoginMessage and LoginErrorKey variables. The new enum LoginStatusCode is sticking around
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1187 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-14 07:33:57 +00:00
John Hurliman
106b482faa * Lots more work on baking
* Fixed TestClient WearCommand (not heavily tested, subject to change)
* Removed System.Speech reference from TestClient project
* Textures.cs is going to eventually be replaced by TextureEntry.cs which is a lot more efficient, once it is working
* Added some Helper methods to prepare for the new TextureEntry replacement
* Bringing libsecondlife.Tests up to speed again
* New OpenJPEGNet function for generating baked textures
* Formatting cleanup in OpenJPEGNet

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1183 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-12 01:42:28 +00:00
jef
7f7ea583b2 Decoding of simstats. Can be disable via Settings.ENABLE_SIMSTATS
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1182 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-12 00:10:33 +00:00
jef
af0e32b628 Small testclient tweak courtesy of MorphW
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1181 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-08 02:55:17 +00:00
bushing
6d289162a8 more eol-style fixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1161 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-28 20:54:02 +00:00
John Hurliman
0ac2b3848a * LoginCommand can optionally take a starting sim now
* If Settings.DEBUG is enabled, loginreply.xml will be dumped to the hard drive

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1153 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-27 01:21:23 +00:00
baned
eabfde13f3 * Fixed all the obsolete warnings in the rest of the projects for the login changes.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1151 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-27 01:00:09 +00:00
John Hurliman
f9465f8488 * Updated _Packets_.cs against the latest message_template.msg (we should automate this)
* Some new bitpacking functions
* Removed ReservedNewbie references
* Updated Path*() functions to use ushort instead of byte
* Fixes and cleanup to the particle system code

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1143 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-25 19:58:58 +00:00
John Hurliman
a8e1effe02 * ViewerEffect decoding is now complete (until further notice)
* Added Avatars.OnPointAt, Avatars.OnLookAt, and Avatars.OnEffect events for ViewerEffect packets
* ExportCommand can now export objects owned by the master
* ExportCommand can now optionally take only two arguments, and will export whatever object the master is pointing at (if permissions allow)
* Added a ShowEffectsCommand that shows all of the ViewerEffects the bot can see (VERY noisy)
* LookAtTarget enum is renamed to LookAtType

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1139 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-23 06:39:37 +00:00
John Hurliman
9218d12d4c * Added support for people directory searches [acidie]
* TestClient tracks its master through name and UUID now, and verifies identify by UUID [acidie]
* Objects.OnObjectProperties wasn't hooked up to a packet callback previously, fixed now
* Cleaned up the name2key example [acidie]

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1138 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-23 01:39:14 +00:00
John Hurliman
3fbf2ef6aa XML importing and exporting should be functional again
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1137 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-22 14:14:32 +00:00
John Hurliman
6e7af40682 * Fixed a crash when attempting to teleport with CAPS disabled
* The meaning of Settings.ALWAYS_DECODE_OBJECTS has changed slightly, agent updates are now always decoded regardless of this setting. Clients that are not doing object tracking and have this set to false should see less memory usage
* NameValue is now a struct
* LLObject.NameValues is now an array to help with performance and serialization

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1135 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-20 16:03:24 +00:00
John Hurliman
f5b7f702f3 * Settings.ENABLE_CAPS = false; will disable any connection attempts to CAPS servers
* Added Utilities.ParcelDownloader.GetHeightRange() and Utilities.ParcelDownloader.GetRectangularDeviation() for gathering parcel statistics
* Added more output to ParcelInfoCommand

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1134 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-19 02:59:35 +00:00
John Hurliman
df3990e074 * Fixed a bug in Terrain.TerrainHeightAtPoint() for the top-left edges
* Added Utilities.ParcelDownloader.GetWaterType()
* Added the start parameter to Utilities.PersistentLogin()
* Simplified the Heightmap example
* Optimized the TestClient throttle
* ParcelInfoCommand prints out whether each parcel is underwater/waterfront/dry
* Added RegionInfoCommand to print out current region info
* Added Self.Status.UpdateFromHeading() to send an AgentUpdate packet from a rotation

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1132 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-18 08:18:32 +00:00
John Hurliman
a099b9853e * Fixed GlobalPosToRegionHandle() bug
* Typo in the DirectoryManager docs
* ParcelInfoCommand prints out number of people on the ACL for each Parcel
* Documented Parcel.AccessList

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1129 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-17 20:48:18 +00:00
John Hurliman
48f7aa5d0f * Attempted fix for issue 87, login redirects failing (new parameters were added)
* Added Caps.IsEventQueueRunning
* Teleports now fail immediately unless the event queue is running
* All Array.Copy calls have been changed to Buffer.BlockCopy
* Improved the GotoCommand, synchronous teleports are used and better feedback is given

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1124 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-15 07:37:53 +00:00
John Hurliman
97e7190bac * Removed "bool md5pass" parameter from Login(), MD5 passwords are detected at runtime
* Implemented asynchronous logins. Look at sldump for example usage
* Added Network.DefaultLoginParams() to help with async login calls
* Added ThreadUtil for making asynchronous callbacks (need to switch it to use the ManagedThreadPool)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1123 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-15 04:59:44 +00:00
John Hurliman
3b6bfbc1ce * Caps initial connection is now asynchronous. This will fix the last remaining occasional lockup on program exit
* Fixed a lockup on exit and NullReferenceException when using ParcelInfoCommand in TestClient
* Basic (but incomplete) support for decoding foliage in CompressedUpdateHandler
* More exception handling in Login.cs
* Housekeeping in MainAvatar.cs
* Increased teleport and caps timeouts
* Added an LLVector3 * LLVector3 operator overload

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1115 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-13 20:02:21 +00:00
axial
2aac1f040a Workaround for issue 85 (Unable to use a configuration file path starting with a / on Linux). Filenames that start with a dash still won't work.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1113 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-10 11:47:54 +00:00
axial
18da8ad9b4 Fixed(?) StandCommand in TestClient.
I'm not sure if this actually works, but it compiles now, which is a start!


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1112 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-10 11:23:10 +00:00
John Hurliman
81472d88f4 * Incoming packets are put on a queue instead of processing immediately
* Two new classes added, a ManagedThreadPool that is a performance enhanced ThreadPool, and BlockingQueue which is a thread-safe queue that allows one end to block until something is added to the queue
* Added Simulator.ReceivedResends for tracking the number of resent packets received
* Added StatsCommand to TestClient to print out basic networking stats

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1101 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-03 05:47:09 +00:00
John Hurliman
77a9c8bd23 * XmlRpcCS has been replaced with custom XML handling, all login code has been moved to Login.cs
* XmlRpcCS moved to SLProxy folder, since SLProxy still relies on it
* Client.Network.LoginError is now obsolete, replaced by Client.Network.LoginErrorKey and Client.Network.LoginMessage
* Client.Self now has StartLocation and AgentAccess strings after a successful Login
* Removed the null LLUUID check in _Packets_.cs since LLUUID will be a struct soon
* Fixed directories in mapgen.bat
* AgentThrottle class lives in AgentThrottle.cs now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1097 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-02 04:37:15 +00:00
John Hurliman
0d85ae979a * Fixed an exception in Utilities.AppearanceManager
* Fixed the post-build step in openjpegnet to use copy instead of cp
* Added constructors to SerializableDictionary (deserialization was asking for them)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1092 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-01 12:31:25 +00:00
bushing
df61c4906e Fixed a build issue in StandCommand
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1091 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-01 11:23:29 +00:00
John Hurliman
88e7d9397c * Fixed up the Baker example for bushing's experiments
* Removed the ThreadPool checks, it's a lost cause on Mono right now
* Moved ObjectManager RequestAllObjects and AlwaysDecode to the Settings class as ALWAYS_REQUEST_OBJECTS and ALWAYS_DECODE_OBJECTS
* TestClient uses the new Settings variables for object management
* Increased the CAPS timeout, we need to get the initial connection async quickly
* Added a post-build step for openjpegnet MSVC project to copy openjpeg.dll to the bin/ directory

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1090 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-01 09:52:13 +00:00
John Hurliman
fbb6754cd1 * Added Bump, Shiny, Fullbright, MediaFlags, and TexMapType properties to prim faces (replaces Flags1 and Flags2)
* TerrainManager will now decode and store patches if Settings.STORE_LAND_PATCHES is true, even if there is no callback
* TestClient now instructs libsl to decode land patches
* Minor performance tweaks

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1078 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-28 22:25:07 +00:00
John Hurliman
1cb7f4c253 Huge svn cleanup!
* libsecondlife-cs is now libsecondlife
* All applications that are staying have been moved to trunk/
* SLProxy loads Analyst plugin by default if no other plugin is specified on the command line

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1068 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-26 23:12:39 +00:00