Commit Graph

71 Commits

Author SHA1 Message Date
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
axial
223a38b3a0 Added build script to enable generics in Mono.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@116 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-04 17:55:00 +00:00
axial
2ce2da08ff Optimizing SLProxy - fast path for unencoded boring packets
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@115 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-04 14:08:29 +00:00
John Hurliman
85c3c93bf2 Moved the parcel example program to the examples folder
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@114 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-03 08:35:39 +00:00
John Hurliman
991765d8b0 Applied Adam's parcel functions patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@113 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-03 08:32:45 +00:00
axial
1a9422920c Updated libsecondlife-cs and SLProxy for SL 1.11.1.2.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@112 52acb1d6-8a22-11de-b505-999d5b087335
2006-08-02 18:58:42 +00:00
John Hurliman
5d11fedced Pruned empty files, moved JSON files to a new dir, updated MSVC solution files
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@103 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-28 14:54:49 +00:00
axial
e3ea1f1561 Stripped XmlRpcCS and JSONlib down to just the methods we use.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@100 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-28 10:52:01 +00:00
John Hurliman
536ec5fbb7 * BuildPacket was using an undersized buffer
* Quick fix to update chat packets to protocol changes, a more thorough update is needed here

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@99 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-28 05:43:47 +00:00
John Hurliman
78821709a1 Fixed small typo in the Zerodecoding padding hack
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@97 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-28 03:00:25 +00:00
axial
812c6a2f66 Moved ZeroDecode truncation hack no longer corrupts appended ACKs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@96 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-28 02:48:39 +00:00
John Hurliman
61670a1e4a ZeroDecoding hack to handle truncated packets
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@95 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-27 10:23:39 +00:00
John Hurliman
89481f4faa Added the new protocol and keywords file for the 1.11.1.1 release
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@93 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-26 23:09:47 +00:00
John Hurliman
c0a690d652 Updated ProtocolManager to parse the new message template format
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@92 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-26 23:04:47 +00:00
mindtriggerz
0ff0eaad5c Changed all instances of "Circuit circuit" to "Simulator simulator" in the tree.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@91 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-26 07:23:14 +00:00
John Hurliman
cf22407674 Removed the Circuit class and replaced it with the Simulator class
* Region information is linked to simulators and track per sim
* Region information can be gleaned in callbacks now
* Parcel overlay handling is also done per sim
* Packets should be sent to the proper sim now
* Zerodecoding and appended ACK handling hopefully play nicely together
* Login timeout has been simplified, Simulator uses no timers
* Disconnect (from a sim) is currently broken at the NetworkManager level
* Periodic ACK sending and ACK appending is currently disabled

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@90 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-26 05:34:48 +00:00
John Hurliman
5a34c60344 Can specify transactiontype for money transfers now
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@89 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-25 23:26:58 +00:00
axial
9c4f47aa00 Fixed alignment of hexdumps in Packet.ToString().
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@88 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-25 22:00:41 +00:00
axial
743c46a241 SLProxy: fixed handling of zerocoded packets (fixes goto 4)
SLProxy: using a variant of Packet.Blocks that zeroes outs fields after a goto 5 rather than stopping
libsl/Packet: improved error reporting in Packet.Blocks
libsl/examples: updated client versions (I needed something to test the patch with!)


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@86 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-25 16:17:41 +00:00
axial
341f26d00e Helpers.ZeroEncode and Helpers.ZeroDecode no longer clobber appended ACKs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@85 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-25 12:45:21 +00:00
axial
410ec46fcf Fixed application of patch #572 (Asymmetry in Packet.cs)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@77 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-24 06:47:58 +00:00
John Hurliman
6a20b0baeb Committed patch #570, PrintMap() is finished
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@76 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-24 06:27:20 +00:00
John Hurliman
3113698d05 Committed patches #571, #572, #573. Fixes for big endian platforms and IPADDR/IPPORT fields
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@75 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-24 06:21:58 +00:00
John Hurliman
28032f80e5 Added Adam's parcel overlay parsing functions and a few bugfixes to parcel overlay parsing
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@71 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-23 05:43:33 +00:00
John Hurliman
454667daf2 Committed Adam's friend online/offline notification patch
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@69 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-21 22:24:36 +00:00
John Hurliman
7dee59dfeb 1.11.0.9 keywords.txt file
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@68 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-19 19:33:05 +00:00
John Hurliman
298a866428 * Checks for PacketAck first when decoding low priority packets, huge speed gain
* Network system uses eight revolving buffers instead of just one
* Bugfix to correctly parse appended ACKs
* ACKs are no longer queued, they are sent out whenever one is ready to send

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@67 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-19 09:00:59 +00:00
John Hurliman
5cf09cbe75 Fixed a bug checking for appended ACKs
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@66 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-19 02:16:30 +00:00
John Hurliman
df2fb9a6ed Added inventory and asset handling (lots of code!), in external projects for now
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@65 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-18 22:24:42 +00:00
John Hurliman
53a2cfdfd8 * Sanity check for ObjectAdd
* Renamed and attempted to fix the Say/Shout functions

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@64 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-18 02:54:13 +00:00
John Hurliman
3d0cc31fd7 Region Handle was being overwritten in the constructor
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@62 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-16 23:05:05 +00:00
John Hurliman
c05de6c98a * (Region)Handle is now set for the first logged in region
* Some updates to PrimObject to get ready for object importing and moving

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@61 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-16 22:17:13 +00:00
John Hurliman
323dd3f192 * NetworkManager and circuit optimizations, should receive less resent packets now
* Attempted to add support for ConfirmEnableSimulator, failed, commented it out
* Optimized the callback system

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@59 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-14 20:36:04 +00:00
John Hurliman
b0ffac55a4 Keywords and protocol files updated to 1.10.6.0
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@58 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-14 12:28:14 +00:00
John Hurliman
cc816279a7 Trimming down SLAccountant, making use of packet helpers
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@55 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-13 03:51:11 +00:00
John Hurliman
0b101e6157 Syncing my source tree to svn
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@54 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-13 03:49:40 +00:00
John Hurliman
1f1cb1b7e3 Removed the rest of the 2005 project files
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@53 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-13 03:48:10 +00:00
John Hurliman
4f0d0fcabc * Deleted the 2005 project files (too many syncing issues)
* Added Prims.cs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@52 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-13 03:47:24 +00:00
John Hurliman
8ff470b1cb * Added ObjectAdd support
* Hopefully fixed the project file

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@51 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-13 03:41:46 +00:00
John Hurliman
746fc39dd6 Added MSVC.NET 2005 and SharpDevelop compatible project files
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@50 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-12 03:48:38 +00:00
John Hurliman
6f5afe3eba * New callback registration system, updated the library and examples to reflect changes
* Fixes in BuildPacket for typecasting
* 255 character limit fix in BuildPacket

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@48 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-11 18:42:58 +00:00
John Hurliman
5052a26110 Fixed the project file and solution (added the new files)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@47 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-10 01:09:06 +00:00
John Hurliman
56e55a0798 * Moved packet helpers in to a separate directory, a separate namespace, and separate categories. Updated the rest of the library and name2key to reflect the changes
* Added Inventory class skeleton
* Added UpdateInventoryItem packet helper
* Removed CRC proof of concept from sldump
* Numerous miscellaneous updates (sorry!)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@46 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-09 22:18:58 +00:00
John Hurliman
c27f354403 * InstantMessage helper renamed to match the packet ImprovedInstantMessage. Now takes a byte array instead of a string for BinaryBucket
* Avatar has another InstantMessage function that allows full parameters to be specified, including the BinaryBucket. A simplified overload is maintained

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@45 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-08 02:20:46 +00:00
John Hurliman
06b943078a * Helper function to convert byte arrays to strings
* DirFindQuery helper added
* name2key updated to use the new DirFindQuery

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@44 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-08 01:38:36 +00:00
John Hurliman
26ba4f0a91 * Fixed a typo in the ImprovedInstantMessage handler
* Added packet helpers for FetchInventoryDescendents and RequestInventoryAsset
* Added a fourth parameter to BuildPacket(); byte flags, allowing the flags to be set for a packet during construction
* Modified all the packet helper routines and slaccountant to use the new BuildPacket() routine

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@43 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-07 22:44:28 +00:00
John Hurliman
1071f3d07c Added missing parentheses in the endian patch to GetField
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@42 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-05 21:20:36 +00:00
John Hurliman
cfad42b0b7 * Applied most of the big endian patch (still need to look at floating point and 64-bit integers)
* Replaced hard-coded packet construction with BuildPacket helper methods

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@41 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-05 19:48:53 +00:00
John Hurliman
0ec1e04999 Fixed a couple of bugs with the JSON parsing (handling negative and zero numbers as well as missing fields)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@40 52acb1d6-8a22-11de-b505-999d5b087335
2006-07-01 06:33:07 +00:00