545 Commits

Author SHA1 Message Date
FrankGalligan
eaf457977e
Merge pull request #488 from FreddyFunk/cast
point_cloud: Fix compiler warning
2020-02-11 09:54:17 -08:00
Lou Quillio
7a0815b303
Merge pull request #575 from google/dependabot/bundler/docs/rubyzip-2.1.0
Bump rubyzip from 1.2.2 to 2.1.0 in /docs
2020-02-04 10:35:21 -08:00
FrankGalligan
f29415698d
Merge pull request #532 from Jiloc/patch-1
integrate maya plugin loading on linux
2020-02-03 11:52:36 -08:00
FrankGalligan
21cee35c70
Merge pull request #565 from google/dependabot/bundler/docs/nokogiri-1.10.5
Bump nokogiri from 1.10.1 to 1.10.5 in /docs
2020-02-03 09:51:13 -08:00
dependabot[bot]
a9c8c3eeaf
Bump rubyzip from 1.2.2 to 2.1.0 in /docs
Bumps [rubyzip](https://github.com/rubyzip/rubyzip) from 1.2.2 to 2.1.0.
- [Release notes](https://github.com/rubyzip/rubyzip/releases)
- [Changelog](https://github.com/rubyzip/rubyzip/blob/master/Changelog.md)
- [Commits](https://github.com/rubyzip/rubyzip/compare/v1.2.2...v2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-01-30 23:12:32 +00:00
FrankGalligan
f5929ea657
Merge pull request #564 from eile/master
Add TypedArray JS API for selected data types
2020-01-30 15:12:04 -08:00
dependabot[bot]
4f9fa22155
Bump nokogiri from 1.10.1 to 1.10.5 in /docs
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.1 to 1.10.5.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.1...v1.10.5)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-01 14:13:54 +00:00
Stefan Eilemann
48621b5a74 Add TypedArray JS API for selected data types
Example Usage (TS code):
```
function _getUint16Array(
  length: number,
  decoder: DecoderInstance,
  mesh: MeshInstance,
  attributeId: number
): Uint16Array {
  const nBytes = length * 2;
  const ptr = draco._malloc(nBytes);
  const attribute = decoder.GetAttribute(mesh, attributeId);

  if (!decoder.GetAttributeUInt16ArrayForAllPoints(mesh, attribute, ptr, length)) {
    throw "GetAttributeUInt16ArrayForAllPoints failed";
  }
  const array = new Uint16Array(draco.HEAPU8.buffer, ptr, length).slice();

  draco._free(ptr);
  return array;
}
```
2019-10-25 10:33:09 +02:00
Tom Finegan
5db6df1985
draco: formatting fixes in draco_features.cmake.
Just line wrapping stuff.
2019-09-25 14:28:23 -07:00
Tom Finegan
736190f80b
Merge pull request #557 from avzhatkin/master
Fix unit test golden file compare on Windows-- explicitly open files as binary.
2019-09-25 14:22:13 -07:00
Tom Finegan
e8daed7f06
Merge pull request #556 from rbuch703/master
Update CMake-generated headers only when their content changes
2019-09-25 14:15:32 -07:00
Andrey Zhatkin
fc4d8fd75d Fix unit test golden file reading (#471) 2019-09-25 15:03:04 +03:00
Robert Buchholz
d7f6ff38b6 Update CMake-generated headers only when their content changes
- this prevents unnecessary decode.cc rebuilds after each CMake run
2019-09-25 11:27:57 +02:00
igorvytyaz
99765325a2
Merge pull request #553 from igorvytyaz/master
Making metadata block in DRC files deterministic.
2019-09-13 11:28:48 -07:00
Igor Vytyaz
5f94dab91a Adding a missing include statement. 2019-09-13 11:13:59 -07:00
Stefan Eilemann
9e4d51bbcb Opt: Use move semantics to avoid some data copies (#522)
* Opt: Use move semantics to avoid some data copies

* Update decoder_webidl_wrapper.cc
2019-09-13 11:10:26 -07:00
Igor Vytyaz
adb34a7af2 Making metadata block in DRC files deterministic. 2019-09-13 10:49:12 -07:00
Stefan Eilemann
ad58758459 Add MetadataQuerier.GetIntEntryArray to JavaScript bindings (#521) 2019-09-13 10:26:16 -07:00
Tom Finegan
9fa96af9d1
draco: Fix a couple comment typos in float_points_tree_decoder.h. 2019-09-06 12:07:57 -07:00
igorvytyaz
967e8390f6
Merge pull request #551 from google/gcc_4_8_hax
Add workaround for rvalue reference overload issues in gcc 4.8.
2019-09-06 11:59:15 -07:00
Tom Finegan
5470f31736
draco: Update Travis config.
- Use default Xcode on osx images.
- Drop ccache usage.
2019-09-06 11:26:32 -07:00
Tom Finegan
823b536243 Add workaround for rvalue reference overload issues in gcc 4.8. 2019-09-06 11:00:48 -07:00
Tom Finegan
dd5aaf0ae4
Merge pull request #549 from google/emscripten_env_check
draco cmake: Require the EMSCRIPTEN environment variable.
2019-08-29 11:46:38 -07:00
Tom Finegan
725d689e84 draco cmake: Require the EMSCRIPTEN environment variable.
Avoid a confusing failure mode for javascript builds by requiring that
 points at an existing directory. Prevents failure of custom
commands late in the configure and build processes.
2019-08-28 10:10:46 -07:00
Tom Finegan
9fe2b3110e
Merge pull request #548 from google/draco_js_fixes
Fix some javascript issues.
2019-08-27 11:03:01 -07:00
Tom Finegan
092426caa6 draco js: Fix omitted update of ERROR -> DRACO_ERROR 2019-08-27 10:49:00 -07:00
Tom Finegan
935f182bb3 draco js: Silence binyaren warning
ELIMINATE_DUPLICATE_FUNCTIONS=1 is no longer required: it is now a default.
2019-08-27 10:48:11 -07:00
Tom Finegan
a8f6698a67
Merge pull request #539 from google/draco_win_dll_link_fix
draco cmake: Defer windows shared lib check until after plugin checks.
2019-07-10 13:58:16 -07:00
Tom Finegan
5bf650555c draco cmake: Defer windows shared lib check until after plugin checks.
We rely upon CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS for windows DLL
support, but we must defer the BUILD_SHARED_LIBS check until after the
plugin args are checked since the plugin checks can enable BUILD_SHARED_LIBS.

Without this change Visual Studio will not create import libs for the draco DLLs,
and that breaks the build.
2019-07-10 12:10:22 -07:00
Tom Finegan
7e3a61d46d
Merge pull request #535 from google/draco_error
Rename Status::ERROR to Status::DRACO_ERROR.
2019-07-08 09:59:43 -07:00
Tom Finegan
40dc50f35f
Merge pull request #538 from atteneder/unity_ios
draco cmake: make unity plugin decoder a static lib on ios.
2019-07-03 13:18:32 -07:00
Andreas Atteneder
597bfcd4f3 Fix: Unity requires static libs for iOS. 2019-07-03 08:41:24 +02:00
Tom Finegan
96f8387b53 Rename Status::ERROR to Status::DRACO_ERROR.
Change the name to avoid conflict with Windows headers.
2019-07-01 14:19:06 -07:00
Tom Finegan
c1255f6315
Merge pull request #533 from google/draco_misc
draco: Mostly CMake updates.
2019-06-24 14:01:03 -07:00
Tom Finegan
fdaa47cd23 draco cmake: Improve Android NDK toolchain support and fix a bug.
- Move common NDK settings into cmake/toolchains/android-ndk-common.cmake.
- Fix bug in set_variable_if_unset(). Was ignoring variables set via
  CMake's command line.

Fixes #475.
2019-06-21 10:50:00 -07:00
Tom Finegan
5a999117b1 draco cmake: Run cmake-format on all CMake files. 2019-06-21 10:47:49 -07:00
Tom Finegan
d8cf1e57b4 Add CMake and clang format configuration files. 2019-06-21 10:26:51 -07:00
Francesco Leacche
4b94014cf8
integrate library loading on linux 2019-06-18 10:33:21 -04:00
Tom Finegan
6b80c35ace
Merge pull request #531 from google/travis_update
TravisCI: Use newer linux images.
2019-06-12 14:13:30 -07:00
Tom Finegan
302d512790 TravisCI: Use newer linux images. 2019-06-12 13:17:29 -07:00
Lou Quillio
785c9c4aa2
Merge pull request #511 from louquillio/update-copyright-footer
Update page footer template to display current year in copyright legend.
2019-03-13 13:52:24 -07:00
Lou Quillio
a32c1f02df Update page footer template to display current year in copyright legend.
Hopefully also kicks off a gh-pages rebuild.
2019-03-13 13:49:10 -07:00
Lou Quillio
deef28e128
Merge pull request #510 from louquillio/update-gems
Update gems to address reported vulnerabilities.
2019-03-13 13:36:41 -07:00
Lou Quillio
df1d453353 Update gems to address reported vulnerabilities. 2019-03-13 13:32:33 -07:00
Katrin Leinweber
bb91e08695 Hyperlink DOI to preferred resolver (#501)
See https://www.doi.org/doi_handbook/3_Resolution.html#3.8
2019-03-05 15:37:34 -08:00
Frederic L
265bbfc617 attributes/point_d_vector: Prevent a singend/unsigned mismatch (#489) 2019-03-05 15:33:20 -08:00
thibault
d1329465fc Remove useless semicolons after macros (#473) 2019-03-05 15:26:12 -08:00
Igor Vytyaz
8833cf878e Updated snapshot to 1.3.5
* Added option to build Draco for Universal Scene Description
* Code cleanup
* Bug fixes
1.3.5
2019-01-31 10:18:06 -08:00
Frederic Laing
52d2f4c09f point_cloud: Fix compiler warning 2018-12-06 14:17:09 +01:00
Tom Finegan
e9337d1faa
Merge pull request #468 from google/restore_ie_compat
Restore IE support.
2018-09-26 09:21:16 -07:00