summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Run the cmake build as part of make distcheck.Ralph Giles2019-08-301-0/+11
| | | | | | | | Verify that the CMake build works from a release tarball. This will give coverage for problems with part of the CMake build description not being included in the source package. We still consider the `make dist` output from the GNU autotools build to be canonical.
* Fix a typo in CHANGES.Ralph Giles2019-08-301-1/+1
| | | | | | NB CMakelists was in the repo at the time of the 1.3.3 release, but didn't make it into the 1.3.3 dist target, so it can't be said to be available for that release.
* modify cmake guide in READMEwillson-chen2019-08-301-5/+7
| | | | | | cmake in build dir is recommand by officially. Signed-off-by: Ralph Giles <giles@thaumas.net>
* Use full platform name in project fileEugene Opalev2019-08-301-16/+16
|
* Remove DLL configurations from appveyor.yml and fix platform name for x86Eugene Opalev2019-08-302-16/+13
|
* Update appveyor.yml for project changes.Eugene Opalev2019-08-301-7/+3
| | | | | | | Use the correct library filename and only package the dll if the build produced one. Signed-off-by: Ralph Giles <giles@thaumas.net>
* Remove VS2017 and VS2019 project filesEugene Opalev2019-08-306-734/+0
| | | | | | | | | The 2015 version of the project files can be opened by newer versions of Visual Studio, and we want to deprecate the project files in favour of the CMake build, so it doesn't make sense to support three different versions. Signed-off-by: Ralph Giles <giles@thaumas.net>
* Tidy up solutions and projectsEugene Opalev2019-08-306-64/+50
|
* Add VS2019 projectEugene Opalev2019-08-303-0/+373
|
* Don't use runtime DLLs in static builds (prevents LNK4217 linker warning)Eugene Opalev2019-08-302-1/+8
|
* Make AppVeyor check DLL builds tooEugene Opalev2019-08-301-0/+3
|
* Setup proper VS output directory structureEugene Opalev2019-08-302-1/+32
|
* Disable minimal rebuild in VS2015 projectEugene Opalev2019-08-301-0/+8
|
* Update project for VS2015 and appveyor.ymlEugene Opalev2019-08-308-418/+354
|
* Add project for VS2017, update .gitignoreEugene Opalev2019-08-304-15/+453
|
* Do not include default library names in static buildEugene Opalev2019-08-301-0/+4
|
* Fix iOS/macOS build with current SDKs.Brion Vibber2019-08-131-1/+1
| | | | | | | Use <sys/types.h> not <inttypes.h> when building for Apple platforms, as it works with modular dynamic-framework builds. Signed-off-by: Ralph Giles <giles@thaumas.net>
* Improve ogg_stream_state documentation formatting.Ralph Giles2019-08-131-8/+9
| | | | | Copy the struct definition from ogg.h which has better comment alignment.
* Fix ogg_stream_state documentation.Ralph Giles2019-08-131-1/+1
| | | | | | | The pageno is declared `long` in the header, not `int`, although it's a 32-bit value in the page header. Thanks to Spencer Russell for reporting the issue.
* Fix memory leak in test_framingwillson-chen2019-08-121-0/+1
| | | | | | | | oy.data memory is alloc by ogg_sync_buffer(), but does not call free() before main() exit. After fixing it, I test test_framing by valgrind. And no more memory leak in test_framing and test_bitwise right now. Signed-off-by: Ralph Giles <giles@thaumas.net>
* Add a dll name to ogg.def.Ralph Giles2019-08-071-1/+1
| | | | | | | | | | | According to VS2017 docs, the initial LIBRARY line must include a dll name. MSVC handles the missing name, but MinGW does not. Removing the line entirely is also accepted by both toolchains, but is contrary to documentation. Based on a patch by evpobr in https://github.com/xiph/ogg/pull/42 No ABI change according to comments there.
* Don't update homebrew on macOS travis builds.Ralph Giles2019-08-072-4/+0
| | | | | | | | | | | | | | The macOS system image already provides a version of xz through homebrew, so we don't need to explicitly install it through `brew bundle`. Skipping the `brew update` step reduces the runtime of test jobs from 6 minutes to 1, so we get test feedback more promptly. The xz package is really only needed for 'make dist' targets, so listing it in a Brewfile doesn't help users get started building the library. Better not to clutter the top-level directory further.
* Only call cpack on linux travis builds.Ralph Giles2019-08-071-1/+1
| | | | | | | The DEB package generator isn't available in the cmake version provided by travis-ci.org, so only skip invoking it there. Unbreaks cmake build tests after adding macOS coverage.
* Improve travis coverageStephen G2019-08-072-1/+12
| | | | | | | | Test on Linux and macOS with both gcc and clang. Ubuntu 14.04 (trusty) is now the default travis environment. Signed-off-by: Ralph Giles <giles@thaumas.net>
* Add cmake as build system to AppVeyor configurationMarcel Metz2019-08-071-5/+20
| | | | | | | | | | * Use build_script step in AppVeyor configuration. This is a preparation for building with multiple build systems. * Add BUILD_SYSTEM env variable to AppVeyor build matrix. This allows to switch between different build systems when building multiple test matrix configurations. Signed-off-by: Ralph Giles <giles@thaumas.net>
* Fix documentation typo.Ralph Giles2019-07-312-2/+2
| | | | | Update cut-and-paste description of the reset functions to reference resetting instead of clearing.
* Fix memory leak in test_framingwillson-chen2019-07-311-0/+2
| | | | | | | We call ogg_stream_init() in main() of framing.c, but no ogg_stream_clear() in corresponding. It will cause memory leak. Signed-off-by: Ralph Giles <giles@thaumas.net>
* Merge remote-tracking branch 'github/master'Ralph Giles2019-07-313-3/+79
|\ | | | | | | The git.xiph.org and github branches had diverged.
| * Update the comment in config_types.h.in (#53)willson-chen2019-07-231-1/+1
| | | | | | @var@ is replaced by configure when autoconf or cmake when use cmake
| * CMakeLists.txt: Add detection of uint64_t (#52)Erik de Castro Lopo2019-07-221-0/+6
| |
| * cmake: Remove unnessessary variables from configure_file() command (#39)evpobr2019-07-201-2/+2
| | | | | | | | | | | | | | | | Just cleanup. Output path is relative to build directory anyway according to documentation. Related to #9.
| * CMake: checking type sizes (#48)Vitaly Kirsanov2019-07-202-5/+76
| |
* | CMakeLists.txt: Add detection of uint64_tErik de Castro Lopo2019-07-221-0/+1
|/
* Fixes for CMake config-file package generation (#51)evpobr2019-06-023-12/+34
|
* Add CMake config-file package generationevpobr2019-04-233-20/+112
|
* Use %lu instead of %ld to fprintf unsigned longs.Quipyowert22019-03-181-2/+2
| | | | | | | | | | | | Fixes a cppcheck warning. Possibly we should just convert the array type to `long` since that's what oggpack_look() returns, using negative values to report error. However, none of the compared values are out of range for either type so it doesn't really matter. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com> Signed-off-by: Ralph Giles <giles@thaumas.net>
* Get rid of annoying C4456 warningEugene Opalev2019-03-181-3/+0
| | | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com> Signed-off-by: Ralph Giles <giles@thaumas.net>
* os_types: add ogg_uint64_t for all platformsfeature/ogg-uint64t-xplatformTristan Matthews2019-03-061-0/+11
|
* configure: drop extra parentheses from --disable-crc helpTristan Matthews2019-03-061-1/+1
| | | | Reported by Mark Harris
* framing: cast to unsigned when shifting to fix ubsan errorsTristan Matthews2019-03-061-11/+11
| | | | | | Suggested-By Mark Harris Fixes #2297
* configure: add USIZE64 templateTristan Matthews2019-03-062-0/+13
|
* Remove trailing whitespace from the api documentation.Ralph Giles2018-10-0921-63/+63
|
* Misc. typosluz.paz2018-10-0910-12/+12
| | | | | | Found via `codespell -q 3` Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Switch to slicing-by-8 CRC32 algorithm.Robert Kausch2018-04-303-89/+323
|
* Include CMake build scripts in release archivesMarcel Metz2018-03-201-1/+1
| | | | Fixes xiph/ogg#35
* autotools: use LT_INIT instead of obsolete AM_PROG_LIBTOOLevpobr2018-02-124-1/+5
| | | | Signed-off-by: Tristan Matthews <tmatth@videolan.org>
* Apply the directories to include with the target, not globally.Bradley Clemetson2018-02-121-1/+1
|
* Fixes ogg-uninstalled.pc.inJean-Marc Valin2017-12-221-2/+2
| | | | | | | | | Sets the correct include path when the build directory isn't the the top source directory. Also, uses the .la file for linking, which makes it possible to use shared libraries (and properly build when libogg is used from a library). Signed-off-by: Ralph Giles <giles@thaumas.net>
* Remove obsolete $Id$ svn substitution marks.Ralph Giles2017-11-085-6/+2
| | | | | | | | | | Subversion, like cvs, had a mechanism for replacing inline template text on checkout for representing things like 'last modified date'. Git does not support this, so remove the template strings from file header comments. Also less aggressive language is os_types.h.
* configure: add --disable-crc optionTristan Matthews2017-11-072-0/+25
| | | | Useful for fuzzing