Commit Graph

458 Commits

Author SHA1 Message Date
Bastian Kleineidam fbc4a15cd1 Add format and encoding keyword arguments when testing archive creation. This is needed for files with uncommon filename extensions. 2010-03-03 20:13:03 +01:00
Bastian Kleineidam fdf52fbbcc Improved recognition of MIME types with file(1). 2010-03-03 20:11:45 +01:00
Bastian Kleineidam 9f8c941e2a Improved MIME test 2010-03-03 20:10:10 +01:00
Bastian Kleineidam 8f33b01cbf Add ability to pass format and encoding as arguments to the archive handler function. 2010-03-03 17:35:17 +01:00
Bastian Kleineidam 92eb057bcd Added MIME regocnition test. 2010-03-03 11:34:48 +01:00
Bastian Kleineidam ac2d30322a Memoize function return values of mime type guessing and program finding. 2010-03-01 16:42:39 +01:00
Bastian Kleineidam 0849e9aaa2 Added support for windows systems. 2010-03-01 16:29:54 +01:00
Bastian Kleineidam 6b7a339b30 Bump up version 2010-03-01 16:21:13 +01:00
Bastian Kleineidam a6c723eddc Ensure that a given program name is absolute. 2010-03-01 16:19:48 +01:00
Bastian Kleineidam 56e103ce01 Renamed find_codec() to has_coded() to reflect that the function does not find, but only check if the codec is available. 2010-03-01 16:18:36 +01:00
Bastian Kleineidam 3982c133be Improved format listing and added a test case for this command. 2010-03-01 16:17:14 +01:00
Bastian Kleineidam f7e3fded29 Fix bug listing available formats when only a default program could be found. 2010-03-01 16:14:33 +01:00
Bastian Kleineidam 8f5bc190f8 Added more missing file extensions for the Python mimetypes module. 2010-03-01 16:13:57 +01:00
Bastian Kleineidam ae8a796fdd Only call file(1) program if it is available. 2010-03-01 16:11:44 +01:00
Bastian Kleineidam 9a80938e0a Add and use find_program() utility method instead of calling distutils find_executable directly. 2010-03-01 16:10:17 +01:00
Bastian Kleineidam fdb1f398bf Moved p7zip_supports_rar() function to util package where it belongs. 2010-03-01 16:05:32 +01:00
Bastian Kleineidam 90f4d607df Added missing documentation strings. 2010-03-01 16:03:31 +01:00
Bastian Kleineidam a4dcaf0f4c Added .bat files to test and build under Windows systems; adjusted ignore, setup and Makefiles for this platform. 2010-03-01 16:01:23 +01:00
Bastian Kleineidam f93e24a280 Bump up version 2010-02-23 19:37:25 +01:00
Bastian Kleineidam c647f65a87 Test if encoding is supported by the archive program. 2010-02-23 19:31:14 +01:00
Bastian Kleineidam ff82c2a100 Test .tgz and .taz files. 2010-02-23 19:30:58 +01:00
Bastian Kleineidam a59ae7c03b List xz archives with echo. 2010-02-23 19:30:20 +01:00
Bastian Kleineidam 6f6a614dc3 Updated chcnagelog 2010-02-23 07:37:50 +01:00
Bastian Kleineidam 28cdd06b95 Compute sha1sum for released archives 2010-02-23 07:37:42 +01:00
Bastian Kleineidam 9275d6ca47 Ensure archive program supports a given encoding before trying to handle archive commands. 2010-02-23 07:32:45 +01:00
Bastian Kleineidam 017f9a155c Ensure executable exists when checking encoding for a program 2010-02-23 07:32:13 +01:00
Bastian Kleineidam ef668ddc94 Added check for supported tar and 7z codecs 2010-02-22 21:55:29 +01:00
Bastian Kleineidam 30c58834bd Improved format listing 2010-02-22 21:55:16 +01:00
Bastian Kleineidam f29b31ec42 Use instance variable for program to run; and rename cmd to program 2010-02-22 21:30:47 +01:00
Bastian Kleineidam 7ccccfc456 move comment to correct place 2010-02-22 21:30:26 +01:00
Bastian Kleineidam 3b2b5573a5 Updated documentation and version 2010-02-22 18:28:07 +01:00
Bastian Kleineidam 3c01a64a16 Added support for lzma or xz encoded tar files (ie. t.tar.lzma and t.tar.xz) 2010-02-22 18:22:49 +01:00
Bastian Kleineidam 8742abafe9 Added XZ format support 2010-02-22 17:34:08 +01:00
Bastian Kleineidam 82a85abb33 Updated documentation for new LZMA support. 2010-02-22 17:26:33 +01:00
Bastian Kleineidam bc7e99b35b Added support for LZMA archives 2010-02-22 17:21:55 +01:00
Bastian Kleineidam ed10997ce3 Updated todo file. 2010-02-22 16:40:13 +01:00
Bastian Kleineidam 6ee30cb426 Fix dist make target 2010-02-21 20:18:08 +01:00
Bastian Kleineidam d03b4fe1e0 Added deb target to Makefile 2010-02-21 19:38:22 +01:00
Bastian Kleineidam bb2f527d45 Fixed old conflict patool.1 man page 2010-02-21 19:04:13 +01:00
Bastian Kleineidam f952c4d9bf Added changelog. 2010-02-21 19:01:15 +01:00
Bastian Kleineidam 138bf8805a Install man page; add configuration and bash-completion file 2010-02-21 17:50:52 +01:00
Bastian Kleineidam 8a3d685e3b Re-add todo file 2010-02-21 16:05:56 +01:00
Bastian Kleineidam 077275eb32 Fix formats command 2010-02-21 16:04:09 +01:00
Bastian Kleineidam c08b69d9f3 Added new python module package to setup.py 2010-02-21 16:00:51 +01:00
Bastian Kleineidam de4dd49e33 Move program handlers into own python module package. 2010-02-21 15:56:45 +01:00
Bastian Kleineidam 6790380c70 Implemented create command 2010-02-21 15:48:52 +01:00
Bastian Kleineidam dde435cc16 Do not run file(1) on non-existing files. 2010-02-21 14:30:26 +01:00
Bastian Kleineidam bb7347b03d Merged master 2010-02-21 13:45:41 +01:00
Bastian Kleineidam 2587bfda86 Added test archive command. 2010-02-21 13:40:42 +01:00
Bastian Kleineidam c1ada5cc39 Show error for unknown commands. 2010-02-21 13:01:06 +01:00