69 Commits

Author SHA1 Message Date
Tristan Matthews
c8fca6b4a0 os_types: fix unsigned typedefs for MacOS
This effectively reverts f8ce071e10 which was
probably broken by 6449883cca.
2019-09-07 11:18:22 -04:00
Brion Vibber
6449883cca Fix iOS/macOS build with current SDKs.
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>
2019-08-13 09:03:58 -07:00
willson-chen
1ab2706e52 Update the comment in config_types.h.in (#53)
@var@ is replaced by configure when autoconf or cmake when use cmake
2019-07-23 16:28:06 +10:00
Tristan Matthews
a394849e79 os_types: add ogg_uint64_t for all platforms 2019-03-06 16:58:34 -05:00
Tristan Matthews
d9089e3710 configure: add USIZE64 template 2019-03-06 15:39:40 -05:00
Ralph Giles
f56d8af4d0 Remove obsolete $Id$ svn substitution marks.
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.
2017-11-08 08:45:28 -08:00
stopiccot
8755aef005 Remove Mac OS 9 support from os_types.h.
Signed-off-by: Ralph Giles <giles@thaumas.net>
2015-06-18 14:01:20 -07:00
stopiccot
15fe47a80f Use stdint.h for Visual Studio 2013 and newer
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2015-05-19 14:27:33 -07:00
Ralph Giles
d85282194e Remove trailing whitespace.
svn path=/trunk/ogg/; revision=19098
2014-02-26 19:06:45 +00:00
Gregory Maxwell
237a3081dc Add ogg_stream_flush_fill to compliment ogg_stream_pageout_fill because ogg_stream_flush will produce multiple pages when >4096 bytes and >4 packets are available.
svn path=/trunk/ogg/; revision=18044
2011-08-01 17:55:20 +00:00
Monty
1ded5b6c01 Move BEOS to using standard POSIX types from inttypes.h
svn path=/trunk/ogg/; revision=17712
2010-12-03 17:10:02 +00:00
Monty
f8ce071e10 *partial* fix to Trac #1747
svn path=/trunk/ogg/; revision=17608
2010-11-02 15:26:18 +00:00
Monty
80961b11a9 apply comment spell fix patch from Trac #1623
svn path=/trunk/ogg/; revision=17571
2010-10-27 13:28:20 +00:00
Monty
8bcc597b9c Update/modernize the configure type checking, account for the fact that
int types might come from one of three different includes on a modern 
system. Try, if possible, to use types that don't rely on any of the 
includes such that the oldest systems have more of a fighting chance.

Addresses Trac #849


svn path=/trunk/ogg/; revision=17566
2010-10-26 10:56:31 +00:00
Tim Terriberry
6e1740c292 The generic TYPE_MAX macros introduced in r17270 require the gcc typeof
extension, which is not supported by MSVC.
We don't actually need that generality, though, so revert to simply using
 LONG_MAX instead.

svn path=/trunk/ogg/; revision=17287
2010-06-10 13:42:06 +00:00
Monty
67133192af Two cleanups of buffer LONG_MAX overflow hardening:
GCC optimizes out the overflow check due to the overflow check reyling on overflow; 
reimplement using type-based TYPE_MAX macro

Correct an accidental assignment-during-check that wasn't a bug, but was 
semantically incorrect and rightly triggered a compilation warning.


svn path=/trunk/ogg/; revision=17270
2010-06-04 06:01:33 +00:00
Gregory Maxwell
eb2fce499c Add a 'ogg_stream_pageout_fill' function to allow smart applications with delay sensitive flushing to produce big pages. Increase the default minimum fill amount to 8 based on latency measurements with actual files. These changes may be controversial but since we've recently had a release I thought there would be no harm in getting them into the repository for discussion.
svn path=/trunk/ogg/; revision=17098
2010-03-29 05:35:11 +00:00
David Schleef
b61c2f4106 Add types for TI c6x compiler
svn path=/trunk/ogg/; revision=16649
2009-10-25 00:49:58 +00:00
Monty
6c910cba2a DESTROY ALL TABS
svn path=/trunk/ogg/; revision=16051
2009-05-27 05:00:06 +00:00
Monty
22f8dcde1f Add now async error interface calls to ogg.h
svn path=/trunk/ogg/; revision=16048
2009-05-27 03:55:40 +00:00
Monty
76f4809e46 Update configure script to use new 'legal' names for cache vals (I hate you so much, autofoo)
Update ogg to check the return of all allocs for those on embedded
platforms with guarantees non-ovecommit.  Be aware that these checks
are useless on any modern desktop OS, but that embedded folks with no
MMU and a hard heap boundary will benefit.

Add one new call to bitpacker that will query a write-mode
oggpack_buffer to see if it ran out of memory at some point; there was
no other way to add the error reporting in an ABI-compatible manner
(and it also allows the writepacker to avoid extra checks; it will
just keep going after running out of memory without faulting and state
can be queried later).


svn path=/trunk/ogg/; revision=16016
2009-05-19 23:27:38 +00:00
Tim Terriberry
70d72b73b2 The iovec patch uses size_t, so we must include <stddef.h>.
svn path=/trunk/ogg/; revision=15586
2008-12-16 00:55:09 +00:00
Ralph Giles
3fda17917b Whitespace cleanup.
svn path=/trunk/ogg/; revision=15585
2008-12-16 00:51:15 +00:00
ivo
834caa2fb1 Build support for Haiku. Patch by scottmc at gmail. Closes #1371.
svn path=/trunk/ogg/; revision=14997
2008-06-04 03:27:18 +00:00
erikd
b289ad278a Minor fixes to allow cross compiling from Linux to windows and running the tests under Wine.
svn path=/trunk/ogg/; revision=14725
2008-04-13 12:26:40 +00:00