Commit Graph

119 Commits

Author SHA1 Message Date
bushing
67faf5bbdc created examples.build
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@198 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-17 21:08:04 +00:00
bushing
828f0ffa57 added preliminary nAnt build support
(not all rules have been created -- I didn't do all of the applications
-- and the ones I did do could probably be cleaned up.  Still, you can
run "nant package" from the top-of-tree and end up with a binary
.zip archive about a minute later.)


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@196 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-17 10:19:18 +00:00
John Hurliman
f08e7191dc NetworkManager:
* OnSimDisconnected and OnDisconnected events added
* The Disconnect function is working
* Shutdown() was added to kill the network layer
* Added documentation for the Packet class
* Added a TickCount to Packet for tracking ACK timeouts
* Added a LastReceivedTime to Simulator for tracking disconnects
* Optimized the NeedAck hashtable
* Fixed a potential deadlock during Logout and removed a dodgy goto statement
* Removed the try/catch from Logout to catch bugs
* Added a not-logged-in catch in Logout
* Removed the 1-second sleep from Logout
* Connect returns the connected Simulator object or null now

ObjectManager:
* OnAvatarMoved and OnPrimMoved events are fired now

Prims:
* Minor function clarifications

Avatar:
* Uses the new Connect function for teleporting

Packet:
* Added documentation
* HeaderLength is private now
* Removed the Field() function
* Miscellaneous cleanups

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@195 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-17 03:03:31 +00:00
John Hurliman
76697c990c Removed .NET 2.0 specific code
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@194 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-16 06:27:27 +00:00
John Hurliman
8ac9a090bf * Calculates the W value of the normalized rotation quaternion in ObjectUpdates
* CompressedUpdateHandler callback added
* Added function comments
* Registered events for the rest of the object packets

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@193 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-16 03:15:27 +00:00
John Hurliman
6c58e3a2e5 Variable-length fields with a length of zero now creates a zero-length byte array instead of omitting the field
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@192 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-15 02:36:21 +00:00
bushing
31a5bcfd19 updated protocol.txt and keywords.txt for 1.12.1 release
also, created a libsecondlife.build file to begin migrating
build system over to nAnt -- it doesn't fully work yet,
but give it a shot (hint: just run nAnt in libsecondlife-cs)



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@191 52acb1d6-8a22-11de-b505-999d5b087335
2009-08-16 05:29:53 +00:00
John Hurliman
7cde388559 Added a simple GUI, fixed some of the xml fields to match what prim.blender is expecting
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@189 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-11 09:07:21 +00:00
John Hurliman
fb49f35d18 Fixed some of the dequantization functions, multi-object support in ObjectUpdate decoding, commented out a debug line
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@188 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-11 09:06:05 +00:00
John Hurliman
b4c2349cb3 Endian fix for IPPORT fields, should fix SLProxy
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@187 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-11 05:17:37 +00:00
John Hurliman
967c02e6f1 Attempting to fix the project file by hand-editing
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@179 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-10 23:09:38 +00:00
John Hurliman
45171b7659 Added an example for the ObjectUpdate event that is prim.blender compatible
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@178 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-10 04:38:35 +00:00
John Hurliman
ba681fa6f0 Finished the ObjectUpdate field dequantizing, the properties will be usable floats that match up with the SL UI now.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@177 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-10 04:37:10 +00:00
John Hurliman
c746b12bbf OnNewAvatar and OnNewPrim are "done"
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@176 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-08 16:48:46 +00:00
John Hurliman
3b729fb028 Some progress on the ObjectManager, ImprovedTerseObjectUpdate is parsed now and ObjectUpdate is mostly parsed, the delegates still need to be finalized and called
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@175 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-08 08:10:43 +00:00
John Hurliman
0cb53a4da4 Fixed an endian bug with U16 and IPPORT values
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@174 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-08 06:46:59 +00:00
John Hurliman
bf19f1bc2a * Fixed SecondLife.GetAgentDetails to prevent it from registering multiple callbacks
* Added code documentation skeletons in SecondLife.cs
* Removed Helpers.Log and replaced it with SecondLife.Log that is silent if SecondLife.Debug = false;
* Removed logging from ProtocolManager.cs where an exception was also being thrown
* Replaced logging in the FieldToString method with a sensible return value on error
* Replaced Packet.Blocks() logging with an ugly hack for now
* Replaced most logging with exception throwing to prevent broken apps from breaking further
* Formatting fixes for some of the files

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@173 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-07 03:39:23 +00:00
John Hurliman
34c4f2bb71 Whitespace formatting fixes
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@172 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-07 03:30:34 +00:00
John Hurliman
3f4ee5f514 Fixed a deadlock bug with InboxMutex
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@171 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-06 20:24:12 +00:00
bushing
822ac760bb fix for Dequantize 'cuz JH broke the build. :P
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@170 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-05 18:45:11 +00:00
John Hurliman
b64f1a820d Initial outline for object (prim and avatar) support
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@169 52acb1d6-8a22-11de-b505-999d5b087335
2006-09-04 19:52:14 +00:00
bushing
db666cf5a8 updated protocol/keywords to 1.12.0.13
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@167 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-24 21:03:07 +00:00
bushing
99755861ae In this edition of new stuff for libsl we have:
* Prelininary estate tool support
		- Kick User
		- Ban User
		- Unban User
		- Teleport user Home
	
	* EstateTools class in Region
		Client.CurrentRegion.Estate

	* .ToStringHyphenated() on LLUUID
		Returns a LSL-compatible / SL-compatible
		string translation of a UUID.

Please note. If coding additional estate tools in, the
EstateOwnerMessage sub-protocol is finnicky. If something
isnt working, try swapping the order around of parameters.

Enjoy.
-Adam



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@165 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-16 08:51:25 +00:00
Michael Cortez
026cd5bfd3 Centralizing the Asset/Inventory Systems' packets to the main libsecondlife.Packet name space.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@162 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-14 20:32:31 +00:00
Michael Cortez
751233e5aa git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@161 52acb1d6-8a22-11de-b505-999d5b087335 2006-08-14 20:27:39 +00:00
Michael Cortez
1dcc08735c Centralizing the Asset/Inventory Systems' packets to the main libsecondlife.Packet name space.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@160 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-14 20:23:21 +00:00
Michael Cortez
6172cd5862 And the mallet strikes again... The Inventory stuff should all be merged in, and the Unknown Packet warning now also includes info on the packet that generated the warning.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@159 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-14 20:11:58 +00:00
Michael Cortez
7f9d2de5f6 The mallet gets bigger' en' bigger...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@158 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-14 20:05:22 +00:00
Michael Cortez
fb42b3f778 Trying to merge the Asset/Inventory sub-systems into the main libsecondlife project to solve some issues I was having with MSVS
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@156 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-14 19:33:51 +00:00
Michael Cortez
fd78371a09 Centralizing the utilities that I made while working on Inventory/Asset stuff
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@155 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-14 19:31:15 +00:00
Michael Cortez
d7426a3d3d git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@154 52acb1d6-8a22-11de-b505-999d5b087335 2006-08-14 19:30:08 +00:00
Michael Cortez
d68bad8908 Trying to move examples...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@153 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-14 19:22:14 +00:00
Michael Cortez
32e283e5be git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@152 52acb1d6-8a22-11de-b505-999d5b087335 2006-08-14 19:18:41 +00:00
John Hurliman
529ff4aa86 Update Client.CurrentRegion after a teleport
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@149 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-12 16:46:59 +00:00
Michael Cortez
15d171b253 Adding ability to pass in camera and head rotations...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@147 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-11 19:35:08 +00:00
Michael Cortez
3bbd85d455 Actually, don't need to add a cast, just remove some parens... wacky wacky...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@146 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-11 19:34:33 +00:00
John Hurliman
6f73a952ad Should follow my own advice. Added a missing parentheses and another typecast that MSVC required
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@145 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-11 19:03:53 +00:00
John Hurliman
6d90b0fb3c Ben, test compile your code before committing (added a missing semi-colon)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@144 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-11 18:51:57 +00:00
bushing
e40f8f0567 fixed some bugs in DataConvert. (Don't worry, none of
those member functions are used by anything else ... yet...)


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@143 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-11 11:34:41 +00:00
Michael Cortez
be9dd9f48a Adding a sample tool to upload/download images. Beware, it will charge you the L$10 for the upload.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@137 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-10 21:01:03 +00:00
Michael Cortez
64fe97975f Trying to bring Inventory code up to date based on what I have locally.
Includes support for downloading/uploading images.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@135 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-10 19:44:02 +00:00
John Hurliman
a22cc1de4c * Updated all the keywords/protocol files for 1.11.3.1
* Moved snowcrash to the applications directory
* Removed the Release folder from SLIRC

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@133 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-09 19:06:41 +00:00
John Hurliman
c2c94839c6 Accidentally removed ZeroDecodeCommand in the last commit, adding it back
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@129 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-08 04:39:27 +00:00
John Hurliman
d88c8d5bac Committing Adam's parcel patches, added a new example project for parcels and updated the solution file
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@128 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-08 03:58:42 +00:00
axial
dff16d1c10 Partially backing out r120 "endian patch to Types.cs -- created helper functions" (bushing).
Breaks something.  Repro:  using SLProxy, only your starting region is accessible.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@124 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-06 12:01:01 +00:00
axial
7e3f1cb326 libsl-cs: Added support for zerodecoding just the command ID.
SLProxy: various fixes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@123 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-06 10:56:35 +00:00
bushing
189135cc0b Manually applied patch from https://gna.org/patch/download.php?file_id=1094 (get rid of try / catch blocks in Types.h)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@122 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-06 10:08:23 +00:00
axial
4ba6932a6e PacketBuilder: fixed endianness bug in variable field count
SLProxy: fixed sequence tracking bug (thanks bushing)
SLProxy: zerodecoded packets are now copied before being passed to delegates
PacketUtility: removed StringToVariable and VariableToString

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@121 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-06 03:51:21 +00:00
bushing
085dc8c6fb endian patch to Types.cs -- created helper functions
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@120 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-05 10:28:28 +00:00
axial
8ed8eaba36 Eliminated extra allocation in Packet.
SLProxy's build script now cleans when libsl-cs is rebuilt.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@118 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-04 22:32:15 +00:00