* morituri/extern/task (added):
* morituri/extern/task/taskgtk.py (added): * morituri/extern/task/gstreamer.py (added): * morituri/extern/task/task.py (added): * morituri/common/taskgtk.py (deleted): * morituri/common/gstreamer.py (deleted): * morituri/common/task.py (deleted): Move task-related modules into an extern directory so other projects can use them. * morituri/common/checksum.py: * morituri/common/encode.py: * morituri/image/image.py: * morituri/program/cdparanoia.py: * morituri/program/cdrdao.py: * morituri/rip/cd.py: * morituri/rip/debug.py: * morituri/rip/image.py: * morituri/rip/main.py: * morituri/rip/offset.py: * morituri/test/test_common_checksum.py: * morituri/test/test_common_encode.py: * morituri/test/test_image_image.py: Adapt. Tests work.
This commit is contained in:
26
ChangeLog
26
ChangeLog
@@ -1,3 +1,29 @@
|
||||
2011-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* morituri/extern/task (added):
|
||||
* morituri/extern/task/taskgtk.py (added):
|
||||
* morituri/extern/task/gstreamer.py (added):
|
||||
* morituri/extern/task/task.py (added):
|
||||
* morituri/common/taskgtk.py (deleted):
|
||||
* morituri/common/gstreamer.py (deleted):
|
||||
* morituri/common/task.py (deleted):
|
||||
Move task-related modules into an extern directory so other
|
||||
projects can use them.
|
||||
* morituri/common/checksum.py:
|
||||
* morituri/common/encode.py:
|
||||
* morituri/image/image.py:
|
||||
* morituri/program/cdparanoia.py:
|
||||
* morituri/program/cdrdao.py:
|
||||
* morituri/rip/cd.py:
|
||||
* morituri/rip/debug.py:
|
||||
* morituri/rip/image.py:
|
||||
* morituri/rip/main.py:
|
||||
* morituri/rip/offset.py:
|
||||
* morituri/test/test_common_checksum.py:
|
||||
* morituri/test/test_common_encode.py:
|
||||
* morituri/test/test_image_image.py:
|
||||
Adapt. Tests work.
|
||||
|
||||
2011-07-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* morituri/program/cdrdao.py:
|
||||
|
||||
@@ -26,7 +26,9 @@ import zlib
|
||||
|
||||
import gst
|
||||
|
||||
from morituri.common import common, task, gstreamer
|
||||
from morituri.common import common
|
||||
|
||||
from morituri.extern.task import task, gstreamer
|
||||
|
||||
# checksums are not CRC's. a CRC is a specific type of checksum.
|
||||
|
||||
|
||||
@@ -25,7 +25,9 @@ import os
|
||||
import shutil
|
||||
import tempfile
|
||||
|
||||
from morituri.common import common, task, log, gstreamer
|
||||
from morituri.common import common, log
|
||||
|
||||
from morituri.extern.task import task, gstreamer
|
||||
|
||||
class Profile(object):
|
||||
name = None
|
||||
|
||||
@@ -20,7 +20,9 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with morituri. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from morituri.common import common, task, log
|
||||
from morituri.common import log
|
||||
|
||||
import task
|
||||
|
||||
class GstException(Exception):
|
||||
def __init__(self, gerror, debug):
|
||||
@@ -23,7 +23,7 @@
|
||||
import gobject
|
||||
import gtk
|
||||
|
||||
from morituri.common import task
|
||||
import task
|
||||
|
||||
class GtkProgressRunner(gtk.VBox, task.TaskRunner):
|
||||
"""
|
||||
@@ -26,9 +26,11 @@ Wrap on-disk CD images based on the .cue file.
|
||||
|
||||
import os
|
||||
|
||||
from morituri.common import task, log, common, gstreamer
|
||||
from morituri.common import log, common
|
||||
from morituri.image import cue, table
|
||||
|
||||
from morituri.extern.task import task, gstreamer
|
||||
|
||||
class Image(object, log.Loggable):
|
||||
"""
|
||||
@ivar table: The Table of Contents for this image.
|
||||
|
||||
@@ -27,8 +27,10 @@ import shutil
|
||||
import subprocess
|
||||
import tempfile
|
||||
|
||||
from morituri.common import task, log, common
|
||||
from morituri.common import log, common
|
||||
|
||||
from morituri.extern import asyncsub
|
||||
from morituri.extern.task import task
|
||||
|
||||
class FileSizeError(Exception):
|
||||
|
||||
|
||||
@@ -27,9 +27,11 @@ import signal
|
||||
import subprocess
|
||||
import tempfile
|
||||
|
||||
from morituri.common import task, log, common
|
||||
from morituri.common import log, common
|
||||
from morituri.image import toc, table
|
||||
|
||||
from morituri.extern import asyncsub
|
||||
from morituri.extern.task import task
|
||||
|
||||
class ProgramError(Exception):
|
||||
"""
|
||||
|
||||
@@ -26,12 +26,13 @@ import math
|
||||
import gobject
|
||||
gobject.threads_init()
|
||||
|
||||
from morituri.common import logcommand, task, common, accurip, log
|
||||
from morituri.common import logcommand, common, accurip, log
|
||||
from morituri.common import drive, program
|
||||
from morituri.result import result
|
||||
from morituri.program import cdrdao
|
||||
|
||||
from morituri.extern.command import command
|
||||
from morituri.extern.task import task
|
||||
|
||||
DEFAULT_TRACK_TEMPLATE = u'%A - %d/%t. %a - %n'
|
||||
DEFAULT_DISC_TEMPLATE = u'%A - %d/%A - %d'
|
||||
|
||||
@@ -20,7 +20,9 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with morituri. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from morituri.common import task, logcommand
|
||||
from morituri.common import logcommand
|
||||
|
||||
from morituri.extern.task import task, gstreamer
|
||||
|
||||
class Encode(logcommand.LogCommand):
|
||||
|
||||
|
||||
@@ -22,10 +22,12 @@
|
||||
|
||||
import os
|
||||
|
||||
from morituri.common import logcommand, task, accurip, program, encode
|
||||
from morituri.common import logcommand, accurip, program, encode
|
||||
from morituri.image import image
|
||||
from morituri.result import result
|
||||
|
||||
from morituri.extern.task import task
|
||||
|
||||
|
||||
class Encode(logcommand.LogCommand):
|
||||
summary = "encode image"
|
||||
|
||||
@@ -3,10 +3,12 @@
|
||||
|
||||
import sys
|
||||
|
||||
from morituri.common import log, logcommand, common, task
|
||||
from morituri.common import log, logcommand, common
|
||||
|
||||
from morituri.rip import cd, offset, drive, image, accurip, debug
|
||||
|
||||
from morituri.extern.command import command
|
||||
from morituri.extern.task import task
|
||||
|
||||
def main(argv):
|
||||
c = Rip()
|
||||
|
||||
@@ -26,9 +26,11 @@ import tempfile
|
||||
import gobject
|
||||
gobject.threads_init()
|
||||
|
||||
from morituri.common import logcommand, task, accurip, drive, program
|
||||
from morituri.common import logcommand, accurip, drive, program
|
||||
from morituri.program import cdrdao, cdparanoia
|
||||
|
||||
from morituri.extern.task import task
|
||||
|
||||
# see http://www.accuraterip.com/driveoffsets.htm
|
||||
# and misc/offsets.py
|
||||
OFFSETS = "+6, +48, +102, +667, +12, +30, +618, +594, +738, -472, " + \
|
||||
|
||||
@@ -7,7 +7,9 @@ import tempfile
|
||||
import gobject
|
||||
gobject.threads_init()
|
||||
|
||||
from morituri.common import task, checksum, log, gstreamer
|
||||
from morituri.common import checksum, log
|
||||
|
||||
from morituri.extern.task import task, gstreamer
|
||||
|
||||
from morituri.test import common as tcommon
|
||||
|
||||
|
||||
@@ -9,9 +9,12 @@ gobject.threads_init()
|
||||
|
||||
import gst
|
||||
|
||||
from morituri.common import encode, log, common
|
||||
|
||||
from morituri.extern.task import task
|
||||
|
||||
from morituri.test import common as tcommon
|
||||
|
||||
from morituri.common import task, encode, log, common
|
||||
|
||||
class PathTestCase(tcommon.TestCase):
|
||||
def _testSuffix(self, suffix):
|
||||
|
||||
@@ -10,7 +10,10 @@ gobject.threads_init()
|
||||
import gst
|
||||
|
||||
from morituri.image import image
|
||||
from morituri.common import task, common, log, gstreamer
|
||||
from morituri.common import common, log
|
||||
|
||||
from morituri.extern.task import task, gstreamer
|
||||
|
||||
from morituri.test import common as tcommon
|
||||
|
||||
log.init()
|
||||
|
||||
Reference in New Issue
Block a user