Commit Graph

95 Commits

Author SHA1 Message Date
John Hurliman
3ad7551a4a * Added Utils.EmptyBytes which is equal to new byte[0] and replaced all references of new byte[0] to Utils.EmptyBytes
* Added a CRC32 implementation to OpenMetaverseTypes.dll
* Added ToBytes() functions to most of the OMV types for writing bytes into an existing byte array

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2470 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-06 01:32:02 +00:00
John Hurliman
871ffb42a6 [Simian]
* Clearing up confusion with Agent.Avatar by making it a SimulationObject that is passed in through the constructor. This should prevent duplicate notions of an avatar in the scene
* Fixed the "you don't own this object" issue after moving a prim. The fix is rather hacky and will be replaced when we stop sending full object updates for every change

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2465 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-03 21:01:57 +00:00
John Hurliman
abf0c15384 [Simian]
* Completed a partial port of OpenSim's LSL API. Thank you to everyone on the OpenSim team for their hard work on this incredibly large feature
* Added Agent.GetSimulatorPosition()
* Corrected default PrimFlags for agents and prims
* Stubs for encoding/decoding prim linkset assets
* Route chat through the scene
* Stub for grid messaging (IM and email)
* Add GetTerrainHeightAt(), removed duplicate heightmap storage in Movement.cs
* Added a permissions manager stub
* Store wind speeds, added functions to get wind speed
* Make sure all of the important prim properties are set before creating an object
* Lots of new object manipulation functions in scene
* Properly clean up event queues on agent exit
* Stubbed out a space for a scripting engine
* Stubbed out task inventory
* Added ScriptingConsole, which allows you to run LSL functions from the chat console
* Added new PacketCategory, Messaging, for chat-related packets
* Fixed InventoryObject overrides
* Added a NotecardCache, useful for the scripting engine and may become generally useful later
* Added several helper functions and new members to SimulationObject

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2462 52acb1d6-8a22-11de-b505-999d5b087335
2009-03-02 23:00:28 +00:00
John Hurliman
7723885aaf Hoping that this is the correct prebuild binary
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2448 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-19 19:08:26 +00:00
John Hurliman
0e69e5d12f Fixing Prebuild issues with visual studio WinForms projects
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2446 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-19 18:34:48 +00:00
John Hurliman
808b681b83 * Fixed a nasty OSD->JSON bug that was producing invalid JSON for empty arrays or dictionaries
* Several fixes in OpenMetaverse.Http.CapsServer and OpenMetaverse.Http.EventQueueServer (this is the first time they've been tested)
[Simian]
* Initial capabilities and EventQueue support (appears to be working)
* HyperGrid is almost working
* More cleanup with how agents are removed from the scene

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2427 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-04 23:00:33 +00:00
John Hurliman
875aa0b6e8 * Some changes that should have gone in the previous commit
[Simian]
* Adding MapLocal extension to Simian, adds very basic world map, local teleporting, and a stub for HyperGrid teleports
* A few more small additions to ISceneProvider

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2426 52acb1d6-8a22-11de-b505-999d5b087335
2009-02-03 18:49:00 +00:00
John Hurliman
54c4ae80fd * Default Primitive.Rotation to Quaternion.Identity
* Quaternion.Conjugate() was accidentally set private, fixed
[Simian]
* Move login code to LindenLogin extension
* Move avatar tracking to ISceneProvider (Simian class is now "pure" and contains no implementation code)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2421 52acb1d6-8a22-11de-b505-999d5b087335
2009-01-30 19:24:38 +00:00
John Hurliman
aebfd35507 Attempting to fix a prebuild regression that broke WinForms in VS200x
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2413 52acb1d6-8a22-11de-b505-999d5b087335
2009-01-10 01:37:32 +00:00
Jim Radford
c8995fd538 Updates openjpeg 32/64 bit binaries on Linux, Adds support to openjpeg
to compile 32bit binary on 64 bit platform, renames openjpeg 32 bit
binary (appends arch to shared library name), 

To force 32 bit compilation on a 64 bit linux platform:
make clean ; make ARCH=-i686 ARCHFLAGS=-m32


git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2411 52acb1d6-8a22-11de-b505-999d5b087335
2009-01-08 23:55:32 +00:00
John Hurliman
eb8cfaebc1 [LIBOMV-431] Updating Linux 32-bit binary for openjpeg-dotnet
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2410 52acb1d6-8a22-11de-b505-999d5b087335
2009-01-08 23:05:11 +00:00
Jim Radford
e19dc4f26b LIBOMV-431 Recompiled openjpeg binary for linux x86_64
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2409 52acb1d6-8a22-11de-b505-999d5b087335
2009-01-08 20:20:37 +00:00
John Hurliman
1eaf106e2b Updating openjpeg-dotnet binary for OSX
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2408 52acb1d6-8a22-11de-b505-999d5b087335
2009-01-08 02:36:22 +00:00
John Hurliman
01d0bda781 Committing openjpeg-dotnet crash fix from HomerHorwitz and compiled Windows (32-bit) binary. Still need to compile for the other platforms
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2406 52acb1d6-8a22-11de-b505-999d5b087335
2009-01-07 02:28:26 +00:00
John Hurliman
364c2c26d9 * Moved all capabilities code to the new library, OpenMetaverse.Http
* OpenMetaverse.Http contains a CAPS client + server, event queue client + server, SSL certificate generation (root CA, server certs, client certs), and client certificate authentication
* HttpServer.dll and Mono.Security.dll are new dependencies for OpenMetaverse.Http.dll

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2400 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-29 20:44:28 +00:00
John Hurliman
d9d37b47d0 Actually committing the fixed version of Prebuild this time
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2398 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-22 05:58:52 +00:00
John Hurliman
5f592c8dbf Continuing the attacks on Prebuild until it obeys
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2397 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-22 05:33:07 +00:00
John Hurliman
f368731afd Forgot to drop the latest Prebuild.exe in
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2395 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-21 12:03:32 +00:00
John Hurliman
fbc3b458c8 Last one for the night, crossing fingers
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2394 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-21 11:55:46 +00:00
John Hurliman
90fed8cab9 Attempting to fix Prebuild / .exe reference / msbuild
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2393 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-21 11:48:18 +00:00
John Hurliman
e378a9af3f More Prebuild tweaking to get Linux compile hopefully working
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2392 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-21 10:25:52 +00:00
John Hurliman
fe4e176c61 This one might be working...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2391 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-21 10:12:35 +00:00
John Hurliman
5c5a0d9b3b Trying again with Prebuild
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2390 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-21 09:45:42 +00:00
John Hurliman
e16d81d585 Another attempt to fix Prebuild
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2389 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-21 09:25:10 +00:00
John Hurliman
a7dbcc84d0 Another patch to Prebuild to fix NAnt output directory
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2388 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-21 04:37:48 +00:00
John Hurliman
1d4455a9cc Upgrading to the latest Prebuild (patched to let NAnt compile to trunk/bin/)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2387 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-21 04:22:52 +00:00
John Hurliman
1df78cb074 * Split up asset store and transfer manager in Simian into two extensions
* Added PeriscopeTransferManager to handle animation and sound transfers
* Misc. transfer bugfixes in libomv
* Misc. improvement to TexturePipeline and some numbers tweaking
* Attempted to pass object touch events through to foreign grid in Periscope, may not be working
* Added new chat commands in Periscope

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2385 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-19 03:39:29 +00:00
John Hurliman
194752abc1 * Moved TexturePipeline into libOpenMetaverse (still needs to be instantiated separately)
* Moved TextureCache into its own file
* New version of Periscope, major improvements. Check the Simian.ini file for usage, and change the const values in Periscope.cs
* Lots of miscellaneous cleanups and improvements in Simian

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2383 52acb1d6-8a22-11de-b505-999d5b087335
2008-12-17 03:49:42 +00:00
John Hurliman
57704143e4 * Added locking to OpenJPEG encoding and decoding
* Better log output when OpenJPEG sanity check fails

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2364 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-24 22:10:26 +00:00
John Hurliman
d4cc4e96e6 Updating the openjpeg binaries for Linux/Linux64/OSX. Using a new naming convention of libopenjpeg-dotnet-[openjpeg-version]-dotnet-[patch-version], so Makefile/Makefile.osx/OpenMetaverse.dll.config has been updated as well
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2358 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-17 19:32:05 +00:00
John Hurliman
f11dd21677 * Forced struct alignment to 4-bytes for openjpeg-dotnet on Windows
* Removed padding hack from openjpeg
* Added sanity check to Simian when copying texture data
* Ignore common unused login parameters in Simian

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2357 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-17 19:08:50 +00:00
John Hurliman
335ac4d9b3 Updating OpenJPEG for the "other" platforms :-)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2354 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-15 02:52:35 +00:00
John Hurliman
a7e0fb7860 Hacky fix to force 8-byte alignment on a misbehaving struct in OpenJPEG
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2353 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-15 02:28:36 +00:00
John Hurliman
99b3b74cd6 * More cleanup to acking and resending in libomv and Simian
* Fixed typo in Simian.ini that was disabling connection management
* Replaced several unnecessary foreach loops in Simian with dictionary lookups
* Simian now uses the last detected system IP address instead of the first

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2342 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-10 18:00:05 +00:00
John Hurliman
126ccc79bb * Added a List<string> extensionList param to ExtensionLoader.LoadAllExtensions() to only load whitelisted extensions (used in conjunction with .ini file support)
* Modified ExtensionLoader .ini support to allow values with no keys by default
* Added Simian .ini file config support
* Merged Simian's CoarseLocationUpdates extension into AvatarManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2328 52acb1d6-8a22-11de-b505-999d5b087335
2008-11-06 23:41:07 +00:00
John Hurliman
af97cb2d48 * Fixed [LIBOMV-370], problem with Prebuild generation for WinForms projects
* Removing more scaling code from Meshmerizer plugin
* Removed dead GUITestClient project

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2285 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-09 17:19:29 +00:00
John Hurliman
003eb8a220 * Added a download command to TestClient to download non-texture assets
* ls -l in TestClient now also prints AssetIDs
* Removed ExportOutfit and ImportOutfit, they didn't work
* Added default eyes and more clothing textures to Simian. Appearance is working for me now. Appearance won't persist until we have a persistent asset store

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2282 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-09 01:55:46 +00:00
John Hurliman
e180f7a612 * Added Helpers.SplitBlocks() that calculates how to split multiple blocks into multiple packets
* Fixed a typo in TestClient login command usage
Simian:
* Asset uploads were returning the TransactionID instead of the AssetID causing uploads to seemingly fail
* Added ISceneManager.AvatarAppearance and OnAvatarAppearance
* Added UI sounds from OpenSim and sound asset loading
* Split up FetchInventoryReply and InventoryDescendents into multiple packets when necessary

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2281 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-08 22:10:14 +00:00
John Hurliman
f2da22a6a3 Adding default Simian texture assets, fixing permissions on default clothing and bodypart items
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2249 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-01 00:04:11 +00:00
John Hurliman
b892602214 Updating openjpeg-dotnet binaries for Linux and OSX platforms
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2197 52acb1d6-8a22-11de-b505-999d5b087335
2008-09-05 22:57:31 +00:00
John Hurliman
a14fdabe8b * Removing unnecessary C++ wrappers from openjpeg-dotnet
* Added DotNetDecodeWithInfo() to openjpeg-dotnet to decode and gather additional data about the image
* Updating openjpeg.dotnet.dll windows binary. OSX, Linux, and Linux64 compiles needed again

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2171 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-27 02:36:28 +00:00
John Hurliman
6d0ce7d44a Simian:
* Actually send LogoutReply packet
* Aesthetic improvements to terrain

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2149 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-21 22:14:01 +00:00
John Hurliman
cc1c6762b7 Simian:
* Added default assets for avatar appearance
* Fixed default heightmap loading
* Removed ugly appearance hacks and replaced with hardcoded but not so ugly default assets
* Simplified the inventory classes to work with the libomv inventory system rollback

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2135 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-21 06:46:36 +00:00
John Hurliman
17eeb8460c Adding some basic data for Simian
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2129 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-21 02:15:17 +00:00
John Hurliman
1de5be5e60 [LIBOMV-348] Couple of modifications to VS generator to not corrupt WinForms. Tested on VS2005, needs more testing (especially on VS2008)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2076 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-08 22:58:23 +00:00
John Hurliman
d27fd88c64 * Removing old openjpeg-libsl.dll
* Adding Helpers.FieldToHexString() overload that matches the old function signature
* Added Quaternion.GetAxisAngle()
* Remove TestClient's own inventory stores since they are in libomv now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2071 52acb1d6-8a22-11de-b505-999d5b087335
2008-08-05 22:36:47 +00:00
Jim Radford
8376ed7d3b LIBOMV-334 Fixed prebuild to move xml closing tags to their proper place.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2040 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-31 02:24:28 +00:00
John Hurliman
36c0e6d49a Committing OpenJPEG binaries for all Linux and OSX platforms to close out [LIBOMV-329]
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2039 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-31 02:15:45 +00:00
Jim Radford
e763b07b4a LIBOMV-334 Updates prebuild to not clobber the bin directory when nant clean is ran. Really ugly hack, hard codes the filenames to exclude during clean inside Prebuild.exe, this is a temporary workaround until prebuild supports some sort of exclusion.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2038 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-31 02:15:23 +00:00
Jim Radford
998c310603 LIBOMV-334 Updates prebuild to properly use warning suppression when creating nant targets.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2037 52acb1d6-8a22-11de-b505-999d5b087335
2008-07-31 01:29:51 +00:00