633 Commits

Author SHA1 Message Date
google-labs-jules[bot]
e9fe201364 Fix glTF exporter's texture handling
Modified the  function in  to correctly handle  and  texture attributes.
Added a new test case  to  to ensure the fix is working correctly.
As the execution environment was not available, tests could not be executed.
2025-03-10 21:56:36 +00:00
James Zern
4e12ab27d0
dependabot.yml: add detail to commit message (#1071)
'include: "scope"' should list the dependencies update in the commit.
2025-01-28 11:24:31 -08:00
FrankGalligan
b43b42c744
Merge pull request #1084 from jzern/gem-deps
doc/Gemfile.lock: update deps
2024-10-16 12:32:43 -07:00
James Zern
6c8fba13df doc/Gemfile.lock: update deps
notably webrick, which should address a dependabot security warning
after:
049616e docs/.ruby-version: bump version to 2.5.0
2024-10-16 11:29:12 -07:00
FrankGalligan
c668f603d6 Merge pull request #1079 from google/ruby-version
ruby version
2024-10-16 10:14:32 -07:00
James Zern
049616e9f6 docs/.ruby-version: bump version to 2.5.0
This should address recent Dependabot failures:

```
Bundler::SolveFailure with message: Could not find compatible versions

Because github-pages >= 224 depends on jekyll-seo-tag = 2.8.0
  and jekyll-seo-tag >= 2.8.0 depends on Ruby >= 2.5.0,
  github-pages >= 224 requires Ruby >= 2.5.0.
So, because Gemfile depends on github-pages >= 231, <= 232
  and current Ruby version is = 2.4.1,
  version solving has failed.
```
2024-08-22 13:00:45 -07:00
James Zern
53f6ee637e docs/Gemfile.lock: update gem dependencies
Using `bundle update --all`. This may get a better baseline for
Dependabot in the future; recent runs failed due to mixed dependency
requirements:

```
Bundler::SolveFailure with message: Could not find compatible versions

Because github-pages >= 224 depends on jekyll-seo-tag = 2.8.0
  and jekyll-seo-tag >= 2.8.0 depends on Ruby >= 2.5.0,
  github-pages >= 224 requires Ruby >= 2.5.0.
So, because Gemfile depends on github-pages >= 231, <= 232
  and current Ruby version is = 2.4.1,
  version solving has failed.
```
2024-08-22 12:58:52 -07:00
James Zern
f4e0897093
docs/Gemfile.lock: update gem dependencies (#1072)
Using `bundle update --all`. This may get a better baseline for
Dependabot in the future; recent runs failed due to mixed dependency
requirements.
2024-06-26 13:30:28 -07:00
dependabot[bot]
4547c4b52a
Bump github-pages from 217 to 220 in /docs (#1070)
Bumps [github-pages](https://github.com/github/pages-gem) from 217 to 220.
- [Release notes](https://github.com/github/pages-gem/releases)
- [Commits](https://github.com/github/pages-gem/compare/v217...v220)

---
updated-dependencies:
- dependency-name: github-pages
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 12:42:20 -07:00
James Zern
2d0e0b14be
dependabot.yml: fix directory path (/doc -> /docs) (#1068) 2024-06-07 11:33:28 -07:00
FrankGalligan
6049d3c415
Merge pull request #1067 from google/dependabot/bundler/docs/bundler-84ab342b8a
Bump activesupport from 4.2.10 to 5.2.8.1 in /docs in the bundler group across 1 directory
2024-06-07 11:06:16 -07:00
dependabot[bot]
4e7e2dd9be
Bump activesupport in /docs in the bundler group across 1 directory
Bumps the bundler group with 1 update in the /docs directory: [activesupport](https://github.com/rails/rails).


Updates `activesupport` from 4.2.10 to 5.2.8.1
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.1.3.4/activesupport/CHANGELOG.md)
- [Commits](https://github.com/rails/rails/compare/v4.2.10...v5.2.8.1)

---
updated-dependencies:
- dependency-name: activesupport
  dependency-type: indirect
  dependency-group: bundler
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-04 18:53:02 +00:00
dependabot[bot]
6bbd3be31c
Bump nokogiri from 1.13.6 to 1.15.5 in /docs (#1047)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.6 to 1.15.5.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.6...v1.15.5)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ondrej Stava <ondys@users.noreply.github.com>
2024-06-04 11:51:27 -07:00
James Zern
91ab336d3d
add .github/dependabot.yml (#1060)
* add .github/dependabot.yml

This attempts to group all security related fixes for docs/ gems
into one PR on a monthly basis.

* clear yamllint warnings

ignoring 'document-start'
2024-05-08 10:10:58 -07:00
James Zern
7d58126d07
replace references to 'master' with 'main' (#1045)
Resolves #1039
2024-02-06 12:20:40 -08:00
Ondrej Stava
8786740086
Draco 1.5.7 release. (#1034)
* Draco 1.5.7 release.
1.5.7
2024-01-17 12:42:36 -08:00
ptc-tgamper
a6fddf5e24
Fix #1029 (#1030)
draco_options.cmake - add DRACO_INSTALL option; draco_install.cmake - check DRACO_INSTALL before adding install rules

Co-authored-by: Ondrej Stava <ondys@users.noreply.github.com>
2024-01-12 09:21:19 -08:00
ptc-tgamper
74a1435eed
Fix #1031 (#1032)
file_writer_utils.cc - fix preprocessor check and wrong path check
2024-01-12 08:38:20 -08:00
Ondrej Stava
9f856abaaf
Draco v1.5.6 release. (#972)
* Draco v1.5.6 release.
1.5.6
2023-02-07 09:30:00 -08:00
Ondrej Stava
2225d05ba6 Revert "Draco v1.5.6 release.". Build was broken.
This reverts commit 295ea7ccb74f7a20cd2ab933795fc4934e4ddf9a.
2023-02-06 08:59:00 -08:00
Ondrej Stava
295ea7ccb7 Draco v1.5.6 release. 2023-02-06 08:27:59 -08:00
Jonathan-David Schröder
a39ce0e54d
#802 Mentioning STL encoding/decoding support in README (#959)
Co-authored-by: Ondrej Stava <ondys@users.noreply.github.com>
2023-02-01 14:35:25 -08:00
Andreas Plesch
01eb67158f
add back config option for DracoDecoderModule (#968)
after it was removed a few years ago in the update to 1.4.0
2023-02-01 13:50:37 -08:00
Benjamin A. Beasley
cbbe207ca9 Add a missing include
This was causing failure to compile on GCC 13.
2023-01-17 09:38:52 -08:00
Björn Blissing
7ec8a2783f
Fix signed/unsigned mismatch warning in decoder_buffer.h (#951)
Fixed warning regarding comparing a signed variable `bit` with unsigned `nbits`.

The value `nbits` is checked to be less then or equal to 32 in the rows above, which prevents
overflow when casting to a signed type.
2022-11-30 21:55:47 -08:00
Tom Finegan
d44cb5bc7d
draco: Update CI configs.
* Use ubuntu-22 and clang-14 for the clang CI test.
* Use default gcc on ubuntu-latest builders.
* Windows configs skip GltfDecoderTest.TestLoadUnsupportedTexCoordAttributes, see
  https://github.com/google/draco/issues/938
2022-10-28 19:56:27 -07:00
Tom Finegan
a5b31570c3 Draco v1.5.5 release. 1.5.5 2022-10-28 17:55:03 -07:00
Tom Finegan
e4e34b0c63
Draco v1.5.4 release. (#934) 1.5.4 2022-10-27 11:41:29 -07:00
dependabot[bot]
18ccdc7e46
Bump tzinfo from 1.2.5 to 1.2.10 in /docs (#914)
Bumps [tzinfo](https://github.com/tzinfo/tzinfo) from 1.2.5 to 1.2.10.
- [Release notes](https://github.com/tzinfo/tzinfo/releases)
- [Changelog](https://github.com/tzinfo/tzinfo/blob/master/CHANGES.md)
- [Commits](https://github.com/tzinfo/tzinfo/compare/v1.2.5...v1.2.10)

---
updated-dependencies:
- dependency-name: tzinfo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-17 23:04:41 -07:00
Tom Finegan
c0b57c1b6e
Add missing include file to build. (#913)
/compression/attributes/attributes_decoder_interface.h was omitted,
which broke Bazel builds.

Fixes: https://github.com/google/draco/issues/912
2022-07-21 12:52:41 -07:00
Tom Finegan
1af95a20b8
Draco v1.5.3 release. 1.5.3 2022-07-06 19:40:17 -07:00
dependabot[bot]
cfa05470fe
Bump nokogiri from 1.13.4 to 1.13.6 in /docs (#891)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.4 to 1.13.6.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.4...v1.13.6)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-19 10:56:43 -07:00
Niklas Hambüchen
ee2c2578a1
Make README comment about disabling WASM even more excruciatingly clear. (#843) 2022-04-18 18:08:45 -07:00
SpaceIm
7109fbee87
cmake: Support modernized import of Draco via draco::draco
This a refactoring of the CMake config file to follow best practices:

- A draco-targets.cmake is generated with install(EXPORT ...), and included in 
  draco-config.cmake.
- For users consuming Draco with add_subdirectory(), a draco::draco alias is provided.
- Removed find-draco.cmake-- CMake couldn't use it anyway due to the file name
  not matching CMake expectations for a find script.

Note: this also removes the previous methods of hardcoding the C++ standard in
the Draco build to C++11. Instead of direct manipulation of CMAKE_CXX_STANDARD
target_compile_features() is used. External projects consuming Draco should now
be able to set the standard to a newer version.
2022-04-13 11:00:01 -07:00
dependabot[bot]
575e6ec2e8
Bump nokogiri from 1.13.3 to 1.13.4 in /docs (#842)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.3 to 1.13.4.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/v1.13.4/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.3...v1.13.4)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 10:48:23 -07:00
SpaceIm
a737103f52
CMake: install draco.dll in bin folder (#838)
Fix windows DLL install location and update the install test with the following
- Use cxx_std_11 compile feature instead of forcing CXX_STANDARD to C++11.
- Move install test prefix handling to test.py (was in the install test CMakeLists.txt).
- Use CMAKE_INSTALL_RPATH and add dylib location to PATH instead of copying
   it only on Windows-- makes test more generic and makes install_test much
   simpler.
2022-04-08 17:06:49 -07:00
Tom Finegan
60af0ba480
Correct the install location for CMake configuration files. (#839)
- Fix version file name.
- Fix install path for config and version file.
- Updates the install test to correctly set prefix and allow
  CMake's built-in search functionality to work properly.
2022-04-08 14:21:24 -07:00
Raymond Hulha
befe2d8809
Add binary STL support. (#802)
Includes support for binary STL and some basic tests.
2022-03-25 14:14:33 -07:00
Tom Finegan
7d62f1f26f
Disable optimizations for gltf_decoder.cc in MSVC builds. (#829)
Not really sure who is to blame, but in optimized builds from MSVC
gltf_decoder.cc appears to be getting garbage values back
from TinyGLTF when it parses the materials for
testdata/.../three_meshes_two_materials_one_no_material.gltf

Since there's no certainty about whether this is limited to this
particular file, just disable optimizations for
src/draco/io/gltf_decoder.cc in all MSVC build configurations.
2022-03-10 17:51:38 -08:00
Tom Finegan
34c693fe78
Add transcoder testing to Draco's Github CI tests. (#821)
This enabled CI testing of transcoder configs and includes a few minor
Windows-only bug fixes. Note that this adds flags to skip 
GltfDecoderTest.ThreeMeshesOneNoMaterialMesh for Windows 
MSVC CI builds. See https://github.com/google/draco/issues/826 for
details.

Windows specific updates (these do impact non-Windows builds, but
are essentially a no-op there):
- Use a local dupe of a constant to avoid DLL linkage issues on Windows
  in the GLTF encoder test..
- Define DRACO_PI to avoid M_PI and entertaining include ordering
  issues related to _USE_MATH_DEFINES and interactions between
  <cmath> and <math.h> on Windows (fun include guards and order
  related things). This is done in core/constants.h.
2022-03-03 10:08:03 -08:00
dependabot[bot]
4d78a070c1
Bump nokogiri from 1.13.1 to 1.13.3 in /docs (#822)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.1 to 1.13.3.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.1...v1.13.3)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 09:59:05 -08:00
Björn Blissing
43ada9a7f1
Avoid comparing bool using the < and > operator (#817)
There is no need to perform the check if T is of type bool, since it is guaranteed to fit in all other integral types.

This avoids triggering a C4804 warning in Visual Studio, ie. `unsafe use of type 'bool' in operation`
2022-02-25 20:46:51 -08:00
Tom Finegan
bd1e8de7dd
Draco v1.5.2 release. (#818) 1.5.2 2022-02-17 14:06:05 -08:00
Tom Finegan
9522c22a74
Draco v1.5.1 release. (#812) 1.5.1 2022-02-15 17:13:23 -08:00
Tom Finegan
0d1633e3cc
Use windows-2019 builders. (#813)
Specify the windows-2019 builders for windows builds to avoid breaking
due to visual studio 16 2019 not being present in the windows-2022 images.
2022-02-15 17:02:56 -08:00
Tom Finegan
60fc6629ae
Update the build status badge to explicitly track the status of the master branch. (#809) 2022-02-09 09:41:57 -08:00
Tom Finegan
e5d9b61308
More CI updates (#808)
- Run test builds on push to master and nightly.
- Update the badge link to point to the actions page
- Use Github's generated badge markdown.
2022-02-08 12:25:33 -08:00
Tom Finegan
b7655f7391
Replace the existing test workflow with draco-ci from ci.yml. (#806)
This replaces test.yml with ci.yml and renames the test to draco-ci.

A Github PR with this all put together exists at the following link:
https://github.com/google/draco/pull/806

An example draco-ci test summary exists at this link:
https://github.com/google/draco/actions/runs/1789061363

- Add the following test configurations in a job named
  draco-tests.

  test-macos-make-release-shared
  test-macos-make-release-static
  test-macos-xcode-release-shared
  test-macos-xcode-release-static
  test-ubuntu-make-release-shared
  test-ubuntu-make-release-static
  test-windows-msvc-release-shared
  test-windows-msvc-release-static
  test-windows-make-release-shared
  test-windows-make-release-static

  Each configuration name is intended to be self documenting.
  All configurations build Draco with tests enabled, and then
  run the tests.

- Add the following test configurations in a job named
  draco-install-tests:

  install-test-ubuntu-make
  install-test-macos-make
  install-test-macos-xcode
  install-test-windows-make
  install-test-windows-msvc

  Each configuration runs test.py in verbose mode to allow for
  failure diagnostics.

Some additional changes to make all this work (and improve usability):
- draco-config.cmake now defines DRACO_LIBRARY_DLL and DRACO_FOUND.
  - DRACO_LIBRARY_DLL will contain the full path to the Draco DLL on systems that
     produce DLL files (aka Windows).
- test.py now streams output in verbose mode
2022-02-03 13:05:31 -08:00
dependabot[bot]
2e8325eb63
Bump nokogiri from 1.10.9 to 1.13.1 in /docs (#805)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.9 to 1.13.1.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.9...v1.13.1)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-02 23:36:31 -08:00
dependabot[bot]
67314cc45d
Bump addressable from 2.5.2 to 2.8.0 in /docs (#781)
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.5.2 to 2.8.0.
- [Release notes](https://github.com/sporkmonger/addressable/releases)
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.5.2...addressable-2.8.0)

---
updated-dependencies:
- dependency-name: addressable
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Finegan <tomfinegan@google.com>
2022-02-02 16:15:20 -08:00