Commit Graph

54 Commits

Author SHA1 Message Date
Jim Radford
d8376f08e0 * Fixed typo in Login.cs.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1681 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-16 18:44:31 +00:00
Jim Radford
90863b202e * workaround for "Second Life cannot be accessed from this computer" message, see mantis#167
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1680 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-16 08:27:22 +00:00
Jim Radford
83647ded66 * updates DefaultLoginParams to use actual hardware address by default. Thanks phatjoe, Mantis#163
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1672 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-15 00:47:01 +00:00
Jim Radford
8dca9d0845 updates Login.cs to support an id0 required to keep bots operating when empty mac addresses are banned.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1653 52acb1d6-8a22-11de-b505-999d5b087335
2008-03-03 19:06:08 +00:00
John Hurliman
7436157475 * Removed the last references to the deprecated author parameter in Login(), replaced with userVersion
* Changed the LLVector3 != operator to avoid an extra function call (in case it isn't automatically inlined)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1614 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-10 23:40:13 +00:00
John Hurliman
9f797293de Updated the GUI examples to use asynchronous login which is now required for GUI apps
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1609 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-08 20:48:22 +00:00
John Hurliman
2a76af7ffb Catches login URI parsing errors and logs an informative error instead of throwing an exception
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1608 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-08 19:34:53 +00:00
John Hurliman
f708c6284b * Fixed LLSDString.AsBoolean() to properly recognize false values
* Hardened up the login process to deal with broken login servers
* Fixed a command-line argument parsing bug in importprimscript

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1595 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-04 22:51:24 +00:00
John Hurliman
93f6a56c43 Switched over to LLSD login method, this should resolve any login response parsing problems
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1583 52acb1d6-8a22-11de-b505-999d5b087335
2008-01-03 20:48:05 +00:00
John Hurliman
9f8e97f13b * Removed the poorly done GetType function from _Packets_.cs
* Housecleaning in FriendsManager
* Make sure LLSDString is never holding a null pointer
* Changes to Login.cs to prepare for the LLSD switch (it is not happening yet!)
* Fixed LLSD export for prims to export light/flex/sculpt data as well, importing that back in is still a TODO

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1540 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-21 02:25:36 +00:00
John Hurliman
e1f4aea003 Fixed a bug where the simulator disconnect timer was being prematurely initialized at login
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1533 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-20 02:43:13 +00:00
John Hurliman
b1b3d30aca Removed all usage of Timeout.Infinite, timers are now initialized when started and disposed when stopped to closer match the MSDN example
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1519 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-06 02:07:26 +00:00
jef
5e99d02852 fudge it. reverting patch for now. we might have to redo LoginParams to support either the webkey -or- the password
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1517 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-05 21:30:15 +00:00
jef
8a3754d552 <3 donovan nascent suport for the new login system. still needs to actually poll /inworld/go.php to get the web key automagically.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1516 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-05 20:23:46 +00:00
John Hurliman
ac602982fb * Fixed an infinite loop bug in Helpers.FloatToTerseString
* Added XmlLLSD unit tests from issue #37 by cadroe (all pass)
* Converted notation deserialization to use the new LLSD object
* Fixed the Type unit tests to pass

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1512 52acb1d6-8a22-11de-b505-999d5b087335
2007-12-04 03:42:34 +00:00
John Hurliman
9eecefb290 * Rewrote the LLSD system, changed the namespace name to libsecondlife.StructuredData and created an LLSD instance class
* Removed unused/deprecated login parameters user-agent and author
* More work on prim import/export
* Fixed up GridManager.GetGridRegion()
* Cleaning up AgentManager.LookAt mess
* Attempting to fix AgentManager.StopJump()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1498 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-21 23:50:05 +00:00
John Hurliman
3013742668 * Increased SIMULATOR_TIMEOUT to 30 seconds
* Converted all timers to System.Threading timers to fix problems running in services and the CF
* UDPBase now uses our own ReaderWriterLock that is more efficient, and CF compatible
* Login uses a hand-created LoginProxy object instead of dynamically building the class with reflection .Emit()
* Replaced ParameterizedThreadStart calls with class-wide variables for CF compat.
* Removed transfer timeout code (irrelevant now that uploads go through CAPS)
* Added several new Helpers methods to wrap desktop and CF conditional code
* Replaced Monitor calls with AutoResetEvent in BlockingQueue
* InventoryNodeDictionary uses generics now
* Removed final lingering piece of XML serialization
* Added CookComputing.XmlRpc.CF.dll for the CF

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1479 52acb1d6-8a22-11de-b505-999d5b087335
2007-11-06 09:26:10 +00:00
John Hurliman
a0d9f7f459 * Attempting to fix login redirects that were broken when login was converted to use xmlrpc.net
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1395 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-10 11:25:54 +00:00
John Hurliman
62dddabd7c * Transfer timeout support for uploads. This code will be deprecated soon though as CAPS uploading is almost finished
* More parameters to HTTPBase and Capabilities for making special requests
* Renamed InventoryManager callbacks to match the rest of libsecondlife
* Several new InventoryManager functions, not complete yet!
* Fix for null buddy list on login
* OnSimConnecting returns a bool to allow canceling sim connections
* NetworkManager.Connect() properly returns null on a failure

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1393 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-10 10:20:30 +00:00
John Hurliman
2bb6a50b08 * Rewrote GiveMoney function and created several offspring Give*Money functions
* Added GroupPowers enum courtesy of Thoys and switched GroupManager over to use it
* Renamed Simulator.SimCaps to Simulator.Caps
* Turned off Keep-Alive and Expect-100: Continue headers on Login
* Added MoneyTransactionType and TransactionFlags

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1391 52acb1d6-8a22-11de-b505-999d5b087335
2007-09-05 01:21:36 +00:00
Latif Khalifa
ec5fc8de80 * Renamed AssetType.Object to AssetType.Primitive and AssetObject to AssetPrim to clear up confusion
* Big cleanup of group functions, moving things from MainAvatar to GroupManager, renaming BeginGet* to Request*, and adding new functions and callbacks
* Added an Autopilot function that takes doubles as input (very accurate autopilot)
* Added Settings.CONTINUOUS_AGENT_UPDATES which defaults to true
* Added quotes to the post-build event in VS2005
* Added empty AssetSound and AssetClothing, feel free to fill them in :-)
* Client.Self.*Name are read only properties now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1357 52acb1d6-8a22-11de-b505-999d5b087335
2007-08-10 20:16:19 +00:00
jef
af13b21fff Updates to xcode. Merged in #201 from CrisOmega. Fixed a small bug with new FriendsManager that caused resent packets. Reset packets now show the type (helpful for debuging dumb resent packets like the one I just fixed).
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1326 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-20 08:05:50 +00:00
John Hurliman
63faed1495 * Allow QueryID to be specified for DirectoryManager.PeopleSearch() (this should be added to the other searches as well)
* Handle missing "home" structures in the login response

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1321 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-19 06:42:25 +00:00
John Hurliman
e2846e7c82 Switched login to use xml-rpc.net for great justice
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1320 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-18 23:41:48 +00:00
John Hurliman
9796dbcfe9 * Replaced FriendManager with FriendsManager, a fully featured friends layer submitted by Rooster Rhode
* Cleaned up formatting in Login.cs

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1312 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-16 21:30:00 +00:00
makomk
c6fab9953e Remove some debugging code I accidentally left in
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1308 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-16 09:12:24 +00:00
makomk
a4cc49feb9 Skip initial-outfit correctly. Should finally fix logging in to OpenSim.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1307 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-16 09:11:10 +00:00
makomk
f048ad7c2c XmlReader sucks - it's designed to encourage you to misparse valid XML.
Fixed most of the problems with logging in to OpenSim - the only 
remaining issue is that we choke on an unexpected "initial-outfit" 
member. Arguably, OpenSim shouldn't be sending it, but we still ought 
to be more robust.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1305 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-15 20:10:12 +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
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
12b632e8f8 Sanity check in WriteOptionsMember()
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1201 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-23 16:05:54 +00:00
John Hurliman
238ecc7c9f user-agent and author are now correctly passed to the login server, and added to LoginParams
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1193 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-21 00:31:31 +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
baned
66aaa8c0d7 * Merged a Login.cs bugfix (unhandled exception in some cases) from my branch. I think. Either that, or wiped out the trunk, who knows.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1177 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-05 10:19:27 +00:00
baned
4265181346 * Unbreak whatever people think running mono is smart. :)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1167 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-01 19:09:56 +00:00
baned
8d99380b7d * Removed leftover .NET 1.1 configurations
* Fixed obsolete warning for Login SSL Cert Checking
* Hopefully fixed HttpWebRequests not always closing (bug where too many timeouts causes perpetual failure)
* Fixed debug login logging of loginresponse.xml to not have to be able to read it back, and to no expect success writing the log
* Fixed a crash for OnGroupChanged if the event isn't set. I'm surprised I wasn't yelled at for this yet.



git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1166 52acb1d6-8a22-11de-b505-999d5b087335
2007-05-01 17:06:16 +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
cw
a847b184ec guess that works -- if debug, write to file, close, open new StreamReader on that file.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1159 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-28 18:51:45 +00:00
cw
45ddac51e7 nevermind, responseStream is not seekable :P ...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1158 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-28 18:35:24 +00:00
cw
6174b77f1b adding rewind to login reply stream for debugging to dump and parse response.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1157 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-28 18:05:07 +00:00
John Hurliman
590568ac2d Removed the loginreply.xml debugging until someone figures out how to write a stream to the hard drive and parse it at the same time
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1154 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-27 01:24:55 +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
4793e2a196 * Login server hates libsl. Patented 'thicker skin' code.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1152 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-27 01:10:14 +00:00
baned
0325f276cc * Login changes to not have async issues on retries/timeouts (Slight interface changes)
* Settings.SYNC_PACKETCALLBACKS. Packet processing is now synchronous by default.
* XML Parsing fix

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1149 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-27 00:21:40 +00:00
John Hurliman
3586d8af75 * Fixes for the new login system (official support for third party clients at login, no more faking version numbers!)
* Proper parsing of compressed object updates and texture entries after the latest protocol changes. By proper I mean I haven't tested that it gets correct values at all

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1144 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-25 23:18:44 +00:00
John Hurliman
b65a4dcbe3 * Set KeepAlive to false for logins so logins after the first won't break
* Set Expect100Continue to false to prevent an unnecessary handshake in HTTP POST exchanges

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1131 52acb1d6-8a22-11de-b505-999d5b087335
2007-04-18 04:17:07 +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