1. 28 Feb, 2013 4 commits
  2. 12 Feb, 2013 1 commit
  3. 10 Feb, 2013 1 commit
    • Timothy B. Terriberry's avatar
      Allow decoding forward instead of seeking. · 3cc27477
      Timothy B. Terriberry authored
      This lets us seek forward by small amounts (currently less than
       90 ms) by decoding forward instead of actually seeking.
      This is often a good idea, since we would have to decode at least
       80 ms of pre-roll anyway.
      This optimization also handles the case of seeking to what is
       already the current position cheaply.
      
      This became relatively easy after we dropped op_pcm_seek_page()
       from the public API.
      However, because others may look to libopusfile's seeking code as a
       model, we've added an OP_SMALL_FOOTPRINT #define to cordon off
       some of these complex sections of code that are deeply specific to
       libopusfile's design, ancillary to the main seeking algorithm,
       and relatively unimportant to overall seeking performance.
      3cc27477
  4. 27 Jan, 2013 1 commit
  5. 10 Jan, 2013 3 commits
  6. 23 Dec, 2012 2 commits
  7. 04 Dec, 2012 1 commit
  8. 28 Nov, 2012 1 commit
  9. 19 Nov, 2012 1 commit
  10. 14 Nov, 2012 1 commit
  11. 13 Nov, 2012 5 commits
    • Ralph Giles's avatar
      Remove 'export' from the NO_DOXYGEN Makefile variable. · d0a4b9bb
      Ralph Giles authored
      This was needed in the opus Makefile.am to pass the results
      to submakefiles. Since we build everything from the top-level
      Makefile, we don't need this for opusfile.
      d0a4b9bb
    • Ralph Giles's avatar
      Bump soname version for the v0.2 release. · 036328d4
      Ralph Giles authored
      036328d4
    • Timothy B. Terriberry's avatar
      Check for end_offset < data_offset. · 15193c53
      Timothy B. Terriberry authored
      I don't think it actually breaks anything if we don't (seeking will
       fail, but it will fail cleanly).
      However, it _is_ an indication that the file data changed out from
       under us (or of another library bug), so we should fail fast.
      15193c53
    • Timothy B. Terriberry's avatar
      Add op_get_last_page() for calculating duration. · 4dcf9b0d
      Timothy B. Terriberry authored
      Using op_get_prev_page_serial() meant if there were valid pages
       from another stream, we would re-scan them all repeatedly until we
       managed to back up, a page at a time, to a chunk with a page from
       the preferred stream with a valid granule position.
      Breaking this case into its own function means we can guarantee we
       only scan each page once, and that we can stop as soon as we hit a
       page from a different link (in the unlikely event that the stream
       has no pages with valid timestamps).
      4dcf9b0d
    • Timothy B. Terriberry's avatar
      Some minor comment updates. · 99c3c5e9
      Timothy B. Terriberry authored
      Be more specific about which RFC we're quoting in the SSL hostname
       verification.
      99c3c5e9
  12. 12 Nov, 2012 4 commits
    • Ron's avatar
      Support --disable-maintainer-mode · ac0af36f
      Ron authored
      
      
      Adding AM_MAINTAINER_MODE([enable]) preserves the current behaviour of
      rebuilding the autotools support by default if anything changed to make
      it out of date -- which is desirable for people building from git to
      avoid "Why is the build broken? Oh I forgot to rerun autogen.sh", which
      is an all too frequent FAQ.
      
      But it also allows it to be disabled, which is mostly useful for things
      like distro package builds where the files should be preserved in their
      original form, and configure shouldn't be run twice on the first build
      if the timestamps were not strictly preserved for these files.
      Signed-off-by: default avatarRalph Giles <giles@mozilla.com>
      ac0af36f
    • Ron's avatar
      Add some extra makefile targets · 009e8253
      Ron authored
      
      
      The opusfile and install-opusfile targets let us build and install just
      the library (without the docs, even if doxygen is present and enabled).
      
      The docs and install-docs targets let us build and install just the docs
      without the library.
      
      The default for make and make install remains to build both if doxgen
      is present and enabled.
      Signed-off-by: default avatarRalph Giles <giles@mozilla.com>
      009e8253
    • Ron's avatar
      Move the extra EXTRA_DIST out of HAVE_DOXYGEN · 9502cd84
      Ron authored
      
      
      We'll want that stuff in the release tarballs, even if the person running
      make dist doesn't have doxygen installed (or --enabled) themselves.
      Signed-off-by: default avatarRalph Giles <giles@mozilla.com>
      9502cd84
    • Ron's avatar
      Trim some things out of autogen.sh that aren't doing anything · a6e62879
      Ron authored
      
      
      Mostly so that people looking at or cloning it later don't get confused
      into thinking that they are.
      Signed-off-by: default avatarRalph Giles <giles@mozilla.com>
      a6e62879
  13. 11 Nov, 2012 2 commits
  14. 07 Nov, 2012 1 commit
    • Ralph Giles's avatar
      Use /bin/echo so -n works on osx. · 0ad11587
      Ralph Giles authored
      The 'echo' built into /bin/sh on MacOS X doesn't support -n, which
      confuses the AC_INIT macro. Use the separate binary which does.
      0ad11587
  15. 02 Nov, 2012 2 commits
    • Ralph Giles's avatar
      Fix a ci script typo. · 2effe9d3
      Ralph Giles authored
      2effe9d3
    • Ralph Giles's avatar
      Attempt to fix the autotools linking issue on jenkins. · 2b4bc458
      Ralph Giles authored
      The jenkins autotools build has never worked because we try to
      build against uninstalled versions of the opus and ogg libraries,
      whose pkg-config files export a static library. This works fine
      for executables, but libtool seemingly can't link a dynamic library
      against a static library.
      
      We could change the -uninstalled.pc files to reference the libtool
      versions of the libraries, but that breaks the unix makefile builds,
      which of course don't use libtool.
      
      As a work around, write out our own versions of the pc files and
      use those to reference the file we need.
      
      Also sets -x on both continuous integration scripts so it's more
      clear what steps are being applied.
      2b4bc458
  16. 01 Nov, 2012 1 commit
  17. 28 Oct, 2012 1 commit
  18. 27 Oct, 2012 3 commits
    • Timothy B. Terriberry's avatar
      A few small updates to the hostname verification. · 3bc74807
      Timothy B. Terriberry authored
      Fixes the case where a raw IPv6 address would be rejected as not
       looking like a FQDN.
      Also simplifies the wildcard comparison a little.
      3bc74807
    • Timothy B. Terriberry's avatar
      Remove OP_SSL_SKIP_CERTIFICATE_CHECK from opusfile_example. · 3f54b9dd
      Timothy B. Terriberry authored
      a7c5b93c flipped the argument to it from true to false, since it
       made certificate checking actually work.
      This commit removes the option entirely to avoid encouraging people
       to use it now that that checking does work.
      
      seeking_example still disables checking (since it's not really
       needed).
      3f54b9dd
    • Timothy B. Terriberry's avatar
      Make SSL/TLS certificate checking actually work. · a7c5b93c
      Timothy B. Terriberry authored
      We weren't loading the default certificate store, so there were no
       trusted certificates to validate hosts with, and all checks would
       fail (unless explicitly disabled with
       OP_SSL_SKIP_CERTIFICATE_CHECK(0)).
      This adds that call, and also adds hostname verification (which
       OpenSSL does not do for us, because they are morons).
      I've done my best to get the latter right by reading the RFCs, but
       this stuff is complex, it's easy to make mistakes, and I only have
       a limited ability to test it, so caveat emptor.
      a7c5b93c
  19. 26 Oct, 2012 1 commit
    • Ralph Giles's avatar
      Document the release process. · 4f538abc
      Ralph Giles authored
      This is, as far as I can remember, the process I went through
      to produce the 0.1 source and win32 binary packages.
      
      I also added a few things I wish I'd done, like stripping
      the binaries and including release notes and dependency versions
      in the README to help us remember next time.
      4f538abc
  20. 24 Oct, 2012 4 commits