633 Commits

Author SHA1 Message Date
Tom Finegan
9fd0a50a6f
Add install target testing. (#796)
Add a script that builds and installs Draco in shared and static configurations,
and confirms that a simple test application can compile, link and run 
successfully using the CMake configuration provided by each Draco installation.

To run the test script:

cd draco/src/draco/tools/install_test
python3 test.py

By default the script runs silently using the default generator for the CMake 
executable in the user's path. Verbose output is behind the usual flags (`-v`).
The CMake generator can be specified using the `-G` argument.

The script is known to work with the following generators:
- Unix Makefiles
- MSVC (Visual Studio 16 2019)
- Xcode
2022-02-02 16:05:53 -08:00
Ondrej Stava
110a1ec83a
Fixed decoding of large meshes encoded with MESH_SEQUENTIAL_ENCODING (#799)
num_points was retrieved from a wrong location causing incorrect branch to be taken during decoding for certain input models.
2022-01-27 11:24:26 -08:00
Boby chaudhary
df3d799cd7
Fix typo in README.md (#794) 2022-01-10 14:22:29 -08:00
Anoop T P
1a64bb2712
Fix typo in BUILDING.md (#785)
DRACO_TRANCODER_SUPPORTED -> DRACO_TRANSCODER_SUPPORTED
2021-12-13 11:45:46 -08:00
dependabot[bot]
e76341f441
Bump nokogiri from 1.10.9 to 1.12.5 in /docs (#780)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.9 to 1.12.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.10.9...v1.12.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>
2021-12-09 11:40:12 -08:00
Tom Finegan
65715581da
Draco v1.5.0 release. (#779) 1.5.0 2021-12-09 11:26:09 -08:00
Tom Finegan
3b3f1093ce
draco: Run our test action only on pull requests. (#776) 2021-12-06 11:52:47 -08:00
Tom Finegan
931bafe578
draco: Improve installation and packaging support.
- Fixed omission of draco_version.h when installed in static
  configurations.
- Remove DracoConfig.cmake: it was broken and we actually use
  draco-config.cmake.
- Update FindDraco.cmake so it actually has a chance of working
  properly. Fixed usage of find_path() and subsequent related errors.
- Correct the usage of CMakePackageConfigHelpers in installation target setup
  and the config template.
- Add a CMake version file.
- Normalize the Draco variables exposed in CMake.
  - draco_FOUND -> DRACO_FOUND
  - DRACO_INCLUDE_DIRS, draco_INCLUDE_DIRS -> DRACO_INCLUDE_DIR
  - DRACO_LIBRARIES, draco_LIBRARIES -> DRACO_LIBRARY
  - DRACO_LIBRARY_DIRS, draco_LIBRARY_DIRS -> DRACO_LIBRARY_DIR
  - draco_VERSION_STRING -> DRACO_VERSION
- Use full path variants of GNUInstallDirs variables to init our
  install paths.

Fixes https://github.com/google/draco/issues/764

* Add install() for draco-version.cmake.
2021-12-06 09:58:05 -08:00
Tom Finegan
5272348d0f Revert "Add CIFuzz integration"
This reverts commit 6b6f90085670fb1b0ecba0c8ed3e93f6ef7d9140.
2021-12-03 18:22:44 -08:00
David Korczynski
6b6f900856 Add CIFuzz integration 2021-12-03 11:08:04 -08:00
Tom Finegan
e5eb9cd3f7 Bump LT_CURRENT.
This should have been included in v1.4.3.

Fixes https://github.com/google/draco/issues/754
2021-11-10 13:50:19 -08:00
Tom Finegan
d914c62ad2 Add note to README about versioned GStatic URL preference 2021-10-26 14:07:54 -07:00
Tom Finegan
c880d79457
Add googletest as a git submodule. (#756)
- Add the submodule.
- Update the build to use googletest sources from the submodule.
- Update the github test build checkout action to include submodules.
- Update build instructions to include the submodule update.
2021-10-25 11:06:21 -07:00
Tom Finegan
6a947d2b04 Add listing of GStatic javascript files to README.md. 2021-10-14 13:35:36 -07:00
Tom Finegan
266f47ce58 Add v1.4.3 README. 1.4.3 2021-10-12 13:35:07 -07:00
dependabot[bot]
2f15c33112 Bump addressable from 2.5.2 to 2.8.0 in /docs
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>
2021-10-12 13:13:26 -07:00
dependabot[bot]
b2454eaf27 Bump nokogiri from 1.10.9 to 1.12.5 in /docs
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.9 to 1.12.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.10.9...v1.12.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-12 13:05:28 -07:00
Tom Finegan
0f69e64e8e
Merge branch 'gltf_2.0_draco_extension' into master 2021-10-12 13:03:16 -07:00
Tom Finegan
9f0e5c5f15 Draco v1.4.3 2021-10-12 12:55:36 -07:00
dependabot[bot]
85a614fa66 Bump nokogiri from 1.11.4 to 1.12.5 in /docs
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.11.4 to 1.12.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.11.4...v1.12.5)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-29 17:00:11 -07:00
DavidKorczynski
c2d57bc9de Fix fuzzer build script 2021-08-26 12:58:49 -07:00
dependabot[bot]
9bf5d2e483 Bump addressable from 2.7.0 to 2.8.0 in /docs
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.7.0 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.7.0...addressable-2.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-13 12:22:47 -07:00
dependabot[bot]
75b82f7b68 Bump nokogiri from 1.11.2 to 1.11.4 in /docs
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.11.2 to 1.11.4.
- [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.11.2...v1.11.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 12:08:28 -07:00
Tom Finegan
e4103dc39f draco: Fix typedef name collision w/MSVC compilers.
Avoid name collisions in winsock header. Always use the DracoTimeval typedef,
but map it to LARGE_INTEGER on Windows and timeval everywhere else.

Fixes https://github.com/google/draco/issues/702
2021-05-06 09:13:26 -07:00
Tom Finegan
d09e000868 draco: add include of limits in parser_utils.cc
Fixes https://github.com/google/draco/issues/706
2021-05-06 09:13:05 -07:00
dependabot[bot]
b699f0561a Bump rexml from 3.2.4 to 3.2.5 in /docs
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.4...v3.2.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-05 14:33:13 -07:00
Tom Finegan
5c0976b219
Consistently use www.gstatic.com in README.md.
Fixes https://github.com/google/draco/issues/695
2021-04-02 09:28:43 -07:00
Lou Quillio
fb681579aa Hopefully fix (inconsequential) dependabot warnings 2021-03-18 17:25:02 -07:00
Tom Finegan
92d66ab0e9 Use latest available OS images in GitHub actions. 2021-03-16 11:42:36 -07:00
Tom Finegan
194b55a799 draco: Complete the large file support fix in the stdio reader.
Builds on the Windows-only fix added in
https://github.com/google/draco/pull/691
2021-03-12 13:51:42 -08:00
Hugh
4469f97beb Support files larger than 2GB in Win64 2021-03-12 09:58:38 -08:00
Tom Finegan
cdf1fd20a9
Delete draco_features.cmake
Drop old file. Fixes #687
2021-03-03 08:54:42 -08:00
Tom Finegan
27f77e1b89 Set workflow os explicitly.
Google policy requires that specific os versions are targeted when using GitHub actions.
2021-02-09 11:30:06 -08:00
Quim Muntal
26ee555fc6 add gh actions badge 2021-02-09 11:30:06 -08:00
Quim Muntal
d624ff4fe6 remove travis 2021-02-09 11:30:06 -08:00
Quim Muntal
d2b1798192 add make 2021-02-09 11:30:06 -08:00
Quim Muntal
44276bfd61 add gh_actions 2021-02-09 11:30:06 -08:00
Andreas Atteneder
a0146686a0 fix: Linking dracodec_unity macOS bundle works again (got broken via #676) 2021-02-05 12:21:05 -08:00
Tom Finegan
5ad118d7d2 draco: Support multiple link flags in older CMakes
Stringify the flag list and apply the flags in CMakes before
v3.13.
2021-02-04 15:42:34 -08:00
Tom Finegan
00134c59b0 draco: Restore sanitizer support. 2021-02-04 15:42:34 -08:00
Quim Muntal
253059c639
Support building mingw static and dynamic at the same time (#677)
Restrict the behavior disallowing the build of both libraries to MSVC. The mingw CMake generators
handle the situation properly:

- Shared library suffix: .dll
- Import library suffix: .a.dll
- Static library suffix: .a
2021-02-04 12:13:18 -08:00
RichardTea
3ea441ec1c
Set VERSION and SOVERSION for all targets as appropriate (#676)
Set VERSION property for non-static library targets and executable targets, and set
SOVERSION for non-MSVC targets.
2021-02-03 13:57:22 -08:00
Tom Finegan
8f9ebcdb9f
Merge pull request #666 from google/cmake_typo_fix
Fix typo in CMake macro draco_add_executable()
2020-12-17 13:29:05 -08:00
Tom Finegan
e812c9e195
Fix typo in CMake macro draco_add_executable()
$lib_NAME -> $exe_NAME.
2020-12-17 12:50:16 -08:00
Tom Finegan
9d20a3b7e9
Merge pull request #660 from google/revert-626-StrDraco
Revert "Add version string output to cli tools."
2020-12-08 12:46:23 -08:00
Tom Finegan
3352abe928
Revert "Add version string output to cli tools." 2020-12-08 12:45:52 -08:00
Tom Finegan
359048ea86
Merge pull request #626 from naxostech/StrDraco
Add version string output to cli tools.

When -v is passed to draco_decoder or draco_encoder, the version is printed and the
tool will exit.
2020-12-08 12:45:07 -08:00
Tom Finegan
bd74a4c65d
Merge pull request #658 from google/v141_snapshot
Draco v1.4.1
2020-12-08 12:08:55 -08:00
Tom Finegan
07532d6c32
Merge pull request #657 from google/v141_snapshot
Draco v1.4.1
1.4.1
2020-12-08 12:08:36 -08:00
Tom Finegan
2e67b39c31 Draco v1.4.1 2020-12-08 11:55:42 -08:00