2004-1-18 Andrew H. Chatham * enc2.py: Apply a suggested change from Daniel Holth that makes the output more valid (eos gets set). Also updated to demonstrate the new ogg_page.tostring() 2003-12-18 Andrew H. Chatham * pyvorbisinfo.c: Incoporate John Morton's explanations about what all those arguments mean. Now everything that takes a logical stream index says so. * pyvorbisinfo.c: Provide str() methods for VorbisComment and VorbisInfo objects. Now they print out all pretty and stuff. Now VorbisFile could still use one. 2003-09-08 Andrew H. Chatham * pyvorbisfile.c, pyvorbisinfo.c: Fix an exception leak (the exceptions would show up later, even though things worked OK) 2003-9-01 Andrew H. Chatham * pyvorbisfile.c (py_ov_file_dealloc) Fix a file descriptor leak. 2003-5-31 Andrew H. Chatham * pyvorbisinfo.c (py_comment_subscript) Applied patch from Brian Warner to fix a bug where I wasn't clearing the Python error correctly in unicode conversion. * pyvorbisinfo.c (write_comments) Applied patch from Csaba Henk to fix comment modification in Windows. 2003-5-13 Andrew H. Chatham * pyvorbisinfo.c (py_info_new): Applied patch from Andrew Mahone to allow negative quality values * pyvorbisfile.c (is_big_endian): Use runtime endian test rather than try to figure out where everyone keeps endian.h * pyvorbiscodec.c (py_dsp_write_wav): Applied patch from Andrew Mahone to fix a truncation bug with weird wav files. 2003-2-07 Andrew H. Chatham * Applied another patch from Nicodemus to fix things windows. Pass the "b" flag to all file open commands. 2003-1-18 Andrew H. Chatham * Applied a patch from Nicodemus to get this to build on windows. 2002-09-24 Andrew H. Chatham * Changes from Neil Blakey-Milner * setup.py - fixed regular expression * pyvorbisfile.c: Used more portable endian-test code. 2002-09-12 Andrew H. Chatham * pyvorbisinfo.c: (assign_tag) Removed a printf I accidentally left in there. 2002-09-12 Andrew H. Chatham * setup.py: Bumped to version 1.1 (may not release until I verify another bug report) * pyvorbisinfo.c: (py_comment_new_empty) Made static and fixed the case when using unicode strings with VorbisComment. Also now capitalize the key for comments. * pyvorbisfile.c: Added patch so that passing in PyFile objects to a VorbisFile object won't _necessarily_ crash and burn, though it's still not a good idea. A much better way of doing this is the next planned feature. 2002-07-23 Andrew H. Chatham * README - documented new comment interface * Bumped to 1.0 to match Vorbis * pyvorbisinfo.c: Removed printf 2002-07-16 Andrew H. Chatham * pyvorbisinfo.c: Can now create comments from dictionaries (a MUCH better interface) * vorbismodule.h: Removed unneeded declarations 2002-05-21 Andrew H. Chatham * pyvorbisinfo.c: Don't crash if comments are not valid UTF-8 * vorbismodule.c: Include some more headers 2002-02-17 Andrew H. Chatham * pyvorbisfile.c: (py_ov_open): Fixed fd leak pointed out by Harald Meland. Also correctly incref file objects passed in to keep them open. * vorbismodule.c, pyvorbisfile.c, pyvorbiscodec.c, pyvorbisinfo.c: Set the ob_types in the init method instead of statically, as MSVC complains. 2002-01-27 Andrew H. Chatham * pyvorbisinfo.c (del_comment): Set parent to NULL after decref 2002-01-27 Andrew H. Chatham * test/comment.py: Added * pyvorbisinfo.c (del_comment), (find_tag_insensitive): Added. You can now delete comments. * README: Explain how to delete comments 2002-01-27 Andrew H. Chatham * bump to version 0.5 2002-01-27 Andrew H. Chatham * pyvorbiscodec.c (py_dsp_write_wav), (parse_wav_data): Added * pyvorbiscodec.c (py_dsp_write): Write 0 if None * pyvorbisinfo.c: Removed some unused variables * pyvorbisinfo.c (py_info_new): Parse the quality option * pyvorbisinfo.c (py_vorbis_info_blocksize): Added * test/enc.py: Updated to do new encode process (with quality setting) * test/enc2.py: Updated to do quality setting and use write_wav 2002-01-21 Andrew H. Chatham * pyvorbisinfo.c: Comment objects now store pointers to the comment structures, not the structure itself. Helps with dealloc. * pyvorbisinfo.c (write_comments), (py_comment_append_to), (py_comment_write_to): Added * pyvorbisinfo.c (py_comment_assign): Catch del on a comment object. Returns not implemented exception for now * README: Explain how to use comments * vcedit.h Copied in from vorbiscomment * vcedit.c: Copied in from vorbiscomment 2001-12-09 Andrew H. Chatham * config_unix.py: Better logging and finer-grained path arguments 2001-09-02 Andrew H. Chatham * setup.py: bumped version number to 0.4 * Changelog: start using the same dating scheme from ogg-python's Changelog 8-30-2001 Andrew H. Chatham * src/pyvorbisfile.c (py_ov_pcm_seek[_page]) Use the implementation of arg_to_int64 provided by the ogg module * test/*.py: updated to use the new ao module's API 6-01-2001 Andrew H. Chatham * src/pyvorbisinfo.c (py_comment_as_dict): Fixed call with args=NULL ogg123.py works now * src/*.h src/*.c: Changed to C-style comments * test/ogg123.py: Removed stupid print statement 5-14-2001 Andrew H. Chatham * setup.py: Bumped to version 0.3 * src/general.[ch]: Removed arg_to_64 and use ogg-python's arg_to_int64 * src/general.h: Fixed preprocessor warnings * src/py*.c: Methods which take no arguments now require no arguments Made functions match Python-expected signatures * test/short.py: Fixed to match new Python ao module. I think I broke something, so test/ogg123.py doesn't work at the moment 1-17-2001 Andrew H. Chatham * All was essentially created, since this is the first separation of pyvorbis and pyogg 11-29-2000 Andrew H. Chatham * test/ogg123.py: Added support for linuxaudiodev. Factored parts of Player class into a superclass and made separate AOPlayer and LADPlayer subclasses. * test/short.py: added 11-28-2000 Andrew H. Chatham * src/_oggmodule.c (init_ogg): Stuff PyOgg_Error into a Py_CObject. * src/vorbismodule.c (initvorbis): Get PyOgg_Error back out to inherit from. * test/ogg123.py: Change to use new module arrangement. 11-28-2000 Andrew H. Chatham * setup.py: Changed leftover MySQLdb reference. Went back to having a separate _oggmodule and vorismodule. * oggmodule.[ch]: Moved to _oggmodule.[ch] * general.[ch]: Created to house any functions needed by more than one module. Currentnly houses arg_to_64. * src/pyvorbisinfo.c: Changed reference to mappingmethod struct in initializer to a pointer. Removed unused variables (mostly casts of *self) (py_comment_subscript): Added unicode support (py_comment_assign): Added unicode support (get_caps_key): Changed to (make_caps_key). Now takes size argument. (py_comment_as_dict): Fixed case of NULL vendor variable. 11-28-2000 Andrew H. Chatham * src/vorbis*.[ch]: Moved to src/pyvorbis*.[ch] 11-28-2000 Andrew H. Chatham * src/vorbiscodec.[ch]: * src/vorbisfile.[ch]: * src/vorbisinfo.[ch]: Moved type definitions into .c files, declarations into .h files. Removed src/objects/*. 11-28-2000 Andrew H. Chatham * src/oggmodule.h: Removed docstrings and type variables. Moved to separate C files. * src/vorbiscodec.c: (py_codec_new) (py_codec_dealloc) Added. Docstrings added. * src/vorbisfile.c: Docstrings added. * src/vorbisinfo.c: Docstrings added. (py_ov_info_getattr): Removed attributes which are no longer in Vorbis header file. 10-28-2000 Andrew H. Chatham * src/vorbis/vorbisinfo.c: (py_comment_keys), (py_comment_items), (py_comment_values), (py_comment_as_dict): Fixed reference leaks. 10-28-2000 Andrew H. Chatham * src/vorbis/vorbisinfo.[ch]: Added * src/vorbis/vorbisinfo.c: Made the VorbisComment object and added all it's member functions so that it will behave similarly to a Python dictionary. 10-28-2000 Andrew H. Chatham * src/vorbis/vorbisfile.h: Changed all definitions to use FDEF macro. * src/vorbis/vorbisfile.c: Added VorbisComment object. 10-27-2000 Andrew H. Chatham * Refactored into pyvorbismodule.c and pyvorbisfile.c 10-27-2000 Andrew H. Chatham * README: Added first text. * src/vorbis/vorbismodule.c (py_ov_raw_total) (py_ov_pcm_total) (py_ov_raw_tell) (py_ov_pcm_tell): Changed PyLong_FromLong to PyLong_FromLongLong * src/vorbis/vorbismodule.c (arg_to_64): Added. * src/vorbis/vorbismodule.c (py_ov_pcm_seek) (py_ov_pcm_seek_page): Added call to (arg_to_64) * src/vorbis/vorbismodule.c (py_ov_comment): Took ! out of call to get_caps_key and changed initial size of list to 0. 10-26-2000 Andrew H. Chatham * src/vorbis/vorbismodule.c (py_ov_comment) (get_caps_key): Added (untested) support for unicode strings and made all keys uppercase. * src/vorbis/vorbismodule.c (py_ov_info): Added error handling for when ov_info fails. * src/vorbis/vorbismodule.c (py_info_dealloc): Don't free the vorbis_info*. It doesn't belong to us. * test/ogg123.py: Separated things out in an aborted attempt to support socket arguments. The wrapper's not up to that yet. 10-26-2000 Andrew H. Chatham * src/vorbis/vorbismodule.h: Added docstrings for all functions, however inaccurate they may be. * src/vorbis/vorbismodule.c (py_ov_read): Changed default value for length from 1000 to 4096. 10-25-2000 Andrew H. Chatham * Created.