Commit Graph

62 Commits

Author SHA1 Message Date
snyk-bot
5dd65b87ae fix: package.json & package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-VALIDATOR-1090599
- https://snyk.io/vuln/SNYK-JS-VALIDATOR-1090600
- https://snyk.io/vuln/SNYK-JS-VALIDATOR-1090601
- https://snyk.io/vuln/SNYK-JS-VALIDATOR-1090602
2021-04-27 00:35:54 +00:00
Casper Warden
859e785f04 Fix missing default material on RenderMaterials request 2020-12-11 13:16:46 +00:00
Casper Warden
c0e39d647a Fix an inconsistency with folder handling between SL and OS 2020-12-09 20:41:17 +00:00
Casper Warden
15eb17264b Update dependencies. Update Typescript to latest 2020-12-01 12:39:57 +00:00
Casper Warden
d9279a66bf Fix tests 2020-12-01 12:31:59 +00:00
Casper Warden
001ea8daad * Add sim stats and add example to examples/Region/Region.ts - Resolves #35
* Add parcel stats (scripts / colliders) and add example to examples/Region/Parcels.ts
2020-11-24 17:04:53 +00:00
Casper Warden
e47414a5b8 Bump version for release 2020-11-23 15:55:20 +00:00
Casper Warden
be0c5f9ebb Version bump 2020-11-20 12:47:24 +00:00
Casper Warden
2ff00a30f8 Extensive work on building, wearables, assets, inventory, attachments, serialization, etc.
Resolves #36
2020-11-19 17:13:28 +00:00
snyk-bot
4e887830fe fix: package.json & package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-KINDOF-537849
2020-01-22 00:35:57 +00:00
Casper Warden
2145de775b - Bump to 0.5.13
- Add building support for TaskInventory and nested objects (from XML)
- Add support for taking objects into inventory
- Add waitForAppearanceSet utility
- Add new event for when object is fully resolved (ObjectProperties received)
- Fixed InventoryItem CRC method
- Fixed quaternion bug
- Support for uploading Script, Notecard and Gesture assets
- Significantly improved build process
2020-01-09 18:09:47 +00:00
Casper Warden
5e235d2db1 - Support specifying URL in loginParameters for connecting to OpenSim
- Patch some miscellaneous OpenSim related glitches
- Add waitForRegionHandshake function
- Add a concurrent promise queue
- Fix xml writing of Vector3s
- Fix asset downloading on grids without HTTP assets
- Fix buildObject to properly orientate prims
- Wrangled with CreateSelected all day and it turned out to be an OpenSim bug
- LinkFrom function for faster linking
- Updated LLSD library to fix LLMesh decoding
2020-01-07 21:01:20 +00:00
Casper Warden
cbafbf0613 [Closes #11] Add moderateGroupChat function. Add ability to retrieve group ban list. 2020-01-05 19:05:52 +00:00
Casper Warden
f145498abd Supply more information with a MapBlock 2020-01-05 00:30:13 +00:00
Casper Warden
3982d67b7d [Closes #10] Implement group ban/unban. Also fix cap system to accept certain HTTP responses as valid states even with no valid LLSD body. 2019-12-31 14:11:37 +00:00
Casper Warden
f793774ee9 [Closes #13] Add ParcelPropertiesRequest with parcel bitmap decoding to ensure the correct reply is given. Heavily optimise getParcels() so that it uses the parcelOverlay to intelligently request parcels at known locations rather than iterating over every block. 2019-12-31 02:23:30 +00:00
Casper Warden
aac740efba Bump to 0.5.8 2019-12-29 18:03:43 +00:00
Casper Warden
647eb083ab [FIXES #16] Update LLSD library to 1.0.1 to fix boolean parsing. Bump to 0.5.7 2019-12-29 17:39:00 +00:00
Casper Warden
3abfe82a87 Fix parsing of avatar names 2019-11-22 17:21:14 +00:00
Casper Warden
1bc4d1086b Add avatarName2KeyAndName 2019-11-22 16:50:24 +00:00
Casper Warden
4bf699deaf Update xmlbuilder 2019-09-25 19:10:59 +01:00
Casper Warden
fd14f67acc Update tsconfig to fix build, increase version for npm 2019-09-24 16:31:09 +01:00
Casper Warden
4740b07e11 - Add LLWearable parsing
- Remove ExtraParams, TextureAnim, ParticleSystem binary data from GameObjects, instead encode on the fly when needed
- Add XML object decoding (WIP)
- Move FlexibleData, LightDate, LightImageData, MeshData, SculptData inside ExtraParams class
-
2018-11-05 11:45:04 +00:00
Casper Warden
da4cd459f1 - Add "GET" method to Caps
- New events: ObjectPhysicsDataEvent, ParcelPropertiesEvent, NewObjectEvent, ObjectUpdateEvent, ObjectKilledEvent
- Added getXML function to Color4, Vector2, Vector3, Vector4, GameObject, Region, Quaternion, UUID for opensim-compatible XML export
- Added TextureAnim and ParticleSystem decoding to the "full" ObjectStore
- Object store will automatically request missing "parent" prims
- "setPersist" - When persist is TRUE, the ObjectStore will not forget about "killed" prims - useful for region scanning
- Support for Flexible params, Light params, LightImage params, Mesh data, Sculpt maps
- Fixed object scale being incorrectly calculated
- Add terrain decoding (this was a ballache)
- Add parcel map decoding
- Add support for region windlight settings (region.environment)
- Add support for materials (normal / specular maps)
- Add getBuffer, getLong and bitwiseOr to UUID
- Added a circular-reference-safe JSONStringify to Utils
- Add XferFile capability to Circuit

PUBLIC API:

AssetCommands:
- Rework "downloadAsset" to detect failures
- NEW: downloadInventoryAsset() - uses TransferRequest for prim inventory items
- NEW: getMaterials() - resolves material UUIDs

RegionCommands:
- NEW: getTerrainTextures()
- NEW: exportSettings() - OpenSim XML export of region settings
- NEW: async getTerrain() - Get binary terrain heightmap, 256x256 float32
- resolveObjects() - now fetches task inventory contents too.
- resolveObjects() - fix calculation of land impact
- NEW: getObjectByLocalID(localID: number, timeout: number)
- NEW: getObjectByUUID(uuid: UUID, timeout: number)
- NEW: getParcels();
- NEW: pruneObjects - removes missing GameObjects from a list
- NEW: setPersist - prevent objectstore from forgetting about killed gameobjects
2018-10-31 11:28:24 +00:00
Casper Warden
4c6cbfc45b - When resolving objects, populate object costs (land impact)
- Add a function to find objects by name (regex or micromatch *glob style)
2018-10-20 14:32:33 +01:00
Casper Warden
2852c76cb0 - Implement camera controls
- Option to resolve object properties when fetching from object store (names, descriptions etc). Can be more efficient - TODO: use FamilyProperties for child prims.
- Refactored objectstore to reduce code duplication
2018-10-19 16:30:09 +01:00
Casper Warden
9eee7f9716 - Implement 3D space rtree-based indexing in the Full ObjectStore
- Implement ScriptDialogReply thanks to Hintswen
- Add a rudimentary object search - doesn't work fully yet because of the missing messages
2018-10-12 17:31:14 +01:00
Casper Warden
bb6915e9f5 Bump node.js version required to 7.6.0 (when async/await was introduced) 2018-10-12 15:04:29 +01:00
Casper Warden
2a0c4dc3e8 [BREAKING CHANGES] - Add new commands module for the Friends list, add new events for friends online/offline, friend rights management, friend map lookup 2018-10-12 14:34:43 +01:00
Casper Warden
375abc433e Bump version to 0.4.9 2018-10-12 10:01:08 +01:00
Casper Warden
5ababa7b1e Accidentally included tslint/error 2018-10-10 10:41:34 +01:00
Casper Warden
17d0d0a0b8 Bump to 0.4.7 for npm 2018-10-10 10:37:39 +01:00
Casper Warden
c6c6768dc9 Bring deps up to date 2018-10-10 10:12:20 +01:00
Casper Warden
56f99d3ef3 Bump release with updated deps 2018-10-07 17:51:11 +01:00
Casper Warden
fc616ee602 Bump version number 2018-10-07 17:16:56 +01:00
Casper Warden
d45204a91c Update dependencies 2018-10-07 14:54:50 +01:00
Casper Warden
16aa98268d Fix grid coordinate checks 2018-04-07 22:07:13 +01:00
Casper Warden
3ef4285b14 Fix creation of cache directory 2017-12-20 18:10:18 +00:00
Casper Warden
4f02dd6a2a Add a binary compare test 2017-12-20 17:35:40 +00:00
Casper Warden
94d5c70259 Set specific node.js version used by travis 2017-12-20 17:18:25 +00:00
Casper Warden
82cf8f0e13 Bump min required node.js version 2017-12-20 17:13:57 +00:00
Casper Warden
77ec55b984 Bump NPM version 2017-12-20 17:07:56 +00:00
Casper Warden
231eff9e7f Moved LLSD to a real NPM package 2017-12-20 14:34:04 +00:00
Casper Warden
6cbe790657 Bump version 2017-12-19 18:00:13 +00:00
Casper Warden
7c2ccbc44e Unit tests for UUID class 2017-12-19 00:44:24 +00:00
Casper Warden
60fd1d6735 Set node 4.8.7 as our minimum required node version 2017-12-18 23:08:05 +00:00
Casper Warden
2c9dc161e2 Try node.js 4.0 2017-12-18 23:05:44 +00:00
Casper Warden
b99742b1c8 Add mocha and travis support 2017-12-18 21:04:21 +00:00
Casper Warden
9097bc07a2 Update package.json 2017-12-18 20:05:29 +00:00
Casper Warden
06fd3b2bca Fix license code 2017-12-18 17:13:10 +00:00