Permalink
Browse files

Apparently I accidentally checked in random files

  • Loading branch information...
paulcbetts committed Dec 11, 2007
1 parent 2ce4249 commit 80faa23c5bc5e03c2a5247020241bea4e74dd6bf
Showing with 341 additions and 5,478 deletions.
  1. +27 −3 Rakefile
  2. +0 −16 ext/taglib/bindings/CMakeFiles/CMakeDirectoryInformation.cmake
  3. +0 −1 ext/taglib/bindings/CMakeFiles/progress.make
  4. +0 −25 ext/taglib/bindings/c/CMakeFiles/CMakeDirectoryInformation.cmake
  5. +0 −1 ext/taglib/bindings/c/CMakeFiles/progress.make
  6. +0 −186 ext/taglib/bindings/c/CMakeFiles/tag_c.dir/CXX.includecache
  7. +0 −8 ext/taglib/bindings/c/CMakeFiles/tag_c.dir/DependInfo.cmake
  8. +0 −105 ext/taglib/bindings/c/CMakeFiles/tag_c.dir/build.make
  9. +0 −7 ext/taglib/bindings/c/CMakeFiles/tag_c.dir/cmake_clean.cmake
  10. +0 −6 ext/taglib/bindings/c/CMakeFiles/tag_c.dir/cmake_clean_target.cmake
  11. +0 −33 ext/taglib/bindings/c/CMakeFiles/tag_c.dir/depend.internal
  12. +0 −33 ext/taglib/bindings/c/CMakeFiles/tag_c.dir/depend.make
  13. +0 −1 ext/taglib/bindings/c/CMakeFiles/tag_c.dir/depend.make.mark
  14. +0 −5 ext/taglib/bindings/c/CMakeFiles/tag_c.dir/flags.make
  15. +0 −1 ext/taglib/bindings/c/CMakeFiles/tag_c.dir/link.txt
  16. +0 −2 ext/taglib/bindings/c/CMakeFiles/tag_c.dir/progress.make
  17. +0 −29 ext/taglib/taglib/CMakeFiles/CMakeDirectoryInformation.cmake
  18. +0 −1 ext/taglib/taglib/CMakeFiles/progress.make
  19. +0 −1,240 ext/taglib/taglib/CMakeFiles/tag.dir/CXX.includecache
  20. +0 −94 ext/taglib/taglib/CMakeFiles/tag.dir/DependInfo.cmake
  21. +0 −1,265 ext/taglib/taglib/CMakeFiles/tag.dir/build.make
  22. +0 −50 ext/taglib/taglib/CMakeFiles/tag.dir/cmake_clean.cmake
  23. +0 −6 ext/taglib/taglib/CMakeFiles/tag.dir/cmake_clean_target.cmake
  24. +0 −641 ext/taglib/taglib/CMakeFiles/tag.dir/depend.internal
  25. +0 −641 ext/taglib/taglib/CMakeFiles/tag.dir/depend.make
  26. +0 −1 ext/taglib/taglib/CMakeFiles/tag.dir/depend.make.mark
  27. +0 −5 ext/taglib/taglib/CMakeFiles/tag.dir/flags.make
  28. +0 −1 ext/taglib/taglib/CMakeFiles/tag.dir/link.txt
  29. +0 −45 ext/taglib/taglib/CMakeFiles/tag.dir/progress.make
  30. +127 −5 ext/taglib/taglib/CMakeLists.txt
  31. +0 −808 ext/taglib/taglib/Makefile
  32. +6 −1 lib/library.rb
  33. +6 −1 lib/platform.rb
  34. +3 −1 lib/song.rb
  35. +1 −1 lib/taggers/estelle-taglib.rb
  36. +31 −31 po/de_DE/estelle.po
  37. +32 −32 po/fr_FR/estelle.po
  38. +0 −4 test/missing/test_platform.rb
  39. +0 −3 test/test_config.rb
  40. +0 −26 test/test_estelle-taglib.rb
  41. +64 −85 test/test_execute_list.rb
  42. +1 −1 test/test_platform.rb
  43. +43 −27 test/test_song.rb
View
@@ -54,11 +54,34 @@ Rake::TestTask.new("test") do |t|
t.warning = true
end
+desc "Run Heckle on tests"
+task :heckle do |t|
+ # Collect a list of defined classes
+ class_list = []
+ Dir.glob('lib/**/*.rb').each do |path|
+ File.open(path) do |f|
+ class_list += f.readlines.grep(/^class /) {|x| x.gsub(/class ([a-zA-Z]*).*$/, '\1') }
+ end
+ end
+
+ class_list.each do |x|
+ puts "Heckling #{x}"
+ sh "heckle -f #{x}"
+ end
+
+ #sh "echo cat " + Dir.glob("lib/**/*.rb").join(' ') + " | grep '^class ' | grep -v 'class <<' | sed -e 's/\\1/g' | xargs -I {} heckle -f"
+end
+
desc "Run code coverage"
task :coverage do |t|
- sh "rcov -xrefs " + Dir.glob("test/**/*.rb").join(' ') + " 2>/dev/null"
+ sh "rcov -xrefs " + Dir.glob("test/**/*.rb").join(' ') + " 2>&1 >/dev/null"
end
+desc "Flog code"
+task :flog do |t|
+ sh "flog " + Dir.glob("lib/**/*.rb").join(' ') + " | grep '^\\w'"
+end
+
# Default Action
task :default => [
:taglib,
@@ -67,9 +90,10 @@ task :default => [
:expandify,
]
-task :alltests => [
+task :alltest => [
:test,
- :coverage
+ :coverage,
+ :heckle
]
@@ -1,16 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.4
-
-# Force unix paths in dependencies.
-SET(CMAKE_FORCE_UNIX_PATHS 1)
-
-# The C and CXX include file search paths:
-SET(CMAKE_C_INCLUDE_PATH
- )
-SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-
-# The C and CXX include file regular expressions for this directory.
-SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
-SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
-SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
-SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
@@ -1 +0,0 @@
-CMAKE_ALL_PROGRESS = 45
@@ -1,25 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.4
-
-# Force unix paths in dependencies.
-SET(CMAKE_FORCE_UNIX_PATHS 1)
-
-# The C and CXX include file search paths:
-SET(CMAKE_C_INCLUDE_PATH
- "bindings/c/../../taglib"
- "bindings/c/../../taglib/toolkit"
- "bindings/c/../../taglib/mpeg"
- "bindings/c/../../taglib/ogg"
- "bindings/c/../../taglib/ogg/vorbis"
- "bindings/c/../../taglib/ogg/flac"
- "bindings/c/../../taglib/flac"
- "bindings/c/../../taglib/mpc"
- "bindings/c/../../taglib/mpeg/id3v2"
- )
-SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
-
-# The C and CXX include file regular expressions for this directory.
-SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
-SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
-SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
-SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
@@ -1 +0,0 @@
-CMAKE_ALL_PROGRESS = 45
@@ -1,186 +0,0 @@
-/Users/paul/Desktop/Estelle-ruby/ext/taglib/bindings/c/tag_c.cpp
-tag_c.h
-/Users/paul/Desktop/Estelle-ruby/ext/taglib/bindings/c/tag_c.h
-fileref.h
--
-tfile.h
--
-vorbisfile.h
--
-mpegfile.h
--
-flacfile.h
--
-oggflacfile.h
--
-mpcfile.h
--
-tag.h
--
-string.h
--
-id3v2framefactory.h
--
-
-/Users/paul/Desktop/Estelle-ruby/ext/taglib/bindings/c/tag_c.h
-
-bindings/c/../../taglib/audioproperties.h
-
-bindings/c/../../taglib/fileref.h
-tstringlist.h
--
-audioproperties.h
-bindings/c/../../taglib/audioproperties.h
-
-bindings/c/../../taglib/flac/flacfile.h
-tfile.h
-bindings/c/../../taglib/flac/tfile.h
-flacproperties.h
-bindings/c/../../taglib/flac/flacproperties.h
-
-bindings/c/../../taglib/flac/flacproperties.h
-audioproperties.h
-bindings/c/../../taglib/flac/audioproperties.h
-
-bindings/c/../../taglib/mpc/mpcfile.h
-tfile.h
-bindings/c/../../taglib/mpc/tfile.h
-mpcproperties.h
-bindings/c/../../taglib/mpc/mpcproperties.h
-
-bindings/c/../../taglib/mpc/mpcproperties.h
-audioproperties.h
-bindings/c/../../taglib/mpc/audioproperties.h
-
-bindings/c/../../taglib/mpeg/id3v2/id3v2frame.h
-tstring.h
-bindings/c/../../taglib/mpeg/id3v2/tstring.h
-tbytevector.h
-bindings/c/../../taglib/mpeg/id3v2/tbytevector.h
-
-bindings/c/../../taglib/mpeg/id3v2/id3v2framefactory.h
-tbytevector.h
-bindings/c/../../taglib/mpeg/id3v2/tbytevector.h
-id3v2frame.h
-bindings/c/../../taglib/mpeg/id3v2/id3v2frame.h
-
-bindings/c/../../taglib/mpeg/mpegfile.h
-tfile.h
-bindings/c/../../taglib/mpeg/tfile.h
-mpegproperties.h
-bindings/c/../../taglib/mpeg/mpegproperties.h
-
-bindings/c/../../taglib/mpeg/mpegheader.h
-
-bindings/c/../../taglib/mpeg/mpegproperties.h
-audioproperties.h
-bindings/c/../../taglib/mpeg/audioproperties.h
-mpegheader.h
-bindings/c/../../taglib/mpeg/mpegheader.h
-
-bindings/c/../../taglib/ogg/flac/oggflacfile.h
-oggfile.h
-bindings/c/../../taglib/ogg/flac/oggfile.h
-xiphcomment.h
-bindings/c/../../taglib/ogg/flac/xiphcomment.h
-flacproperties.h
-bindings/c/../../taglib/ogg/flac/flacproperties.h
-
-bindings/c/../../taglib/ogg/oggfile.h
-tfile.h
-bindings/c/../../taglib/ogg/tfile.h
-tbytevectorlist.h
-bindings/c/../../taglib/ogg/tbytevectorlist.h
-
-bindings/c/../../taglib/ogg/vorbis/vorbisfile.h
-oggfile.h
-bindings/c/../../taglib/ogg/vorbis/oggfile.h
-xiphcomment.h
-bindings/c/../../taglib/ogg/vorbis/xiphcomment.h
-vorbisproperties.h
-bindings/c/../../taglib/ogg/vorbis/vorbisproperties.h
-
-bindings/c/../../taglib/ogg/vorbis/vorbisproperties.h
-audioproperties.h
-bindings/c/../../taglib/ogg/vorbis/audioproperties.h
-
-bindings/c/../../taglib/ogg/xiphcomment.h
-tag.h
-bindings/c/../../taglib/ogg/tag.h
-tlist.h
-bindings/c/../../taglib/ogg/tlist.h
-tmap.h
-bindings/c/../../taglib/ogg/tmap.h
-tstring.h
-bindings/c/../../taglib/ogg/tstring.h
-tstringlist.h
-bindings/c/../../taglib/ogg/tstringlist.h
-tbytevector.h
-bindings/c/../../taglib/ogg/tbytevector.h
-
-bindings/c/../../taglib/tag.h
-tstring.h
-bindings/c/../../taglib/tstring.h
-
-bindings/c/../../taglib/toolkit/taglib.h
-string
--
-
-bindings/c/../../taglib/toolkit/tbytevector.h
-taglib.h
-bindings/c/../../taglib/toolkit/taglib.h
-vector
--
-
-bindings/c/../../taglib/toolkit/tbytevectorlist.h
-tbytevector.h
-bindings/c/../../taglib/toolkit/tbytevector.h
-tlist.h
-bindings/c/../../taglib/toolkit/tlist.h
-
-bindings/c/../../taglib/toolkit/tfile.h
-taglib.h
-bindings/c/../../taglib/toolkit/taglib.h
-tbytevector.h
-bindings/c/../../taglib/toolkit/tbytevector.h
-
-bindings/c/../../taglib/toolkit/tlist.h
-taglib.h
-bindings/c/../../taglib/toolkit/taglib.h
-list
--
-tlist.tcc
-bindings/c/../../taglib/toolkit/tlist.tcc
-
-bindings/c/../../taglib/toolkit/tlist.tcc
-algorithm
--
-
-bindings/c/../../taglib/toolkit/tmap.h
-taglib.h
-bindings/c/../../taglib/toolkit/taglib.h
-map
--
-tmap.tcc
-bindings/c/../../taglib/toolkit/tmap.tcc
-
-bindings/c/../../taglib/toolkit/tmap.tcc
-
-bindings/c/../../taglib/toolkit/tstring.h
-taglib.h
-bindings/c/../../taglib/toolkit/taglib.h
-tbytevector.h
-bindings/c/../../taglib/toolkit/tbytevector.h
-string
--
-
-bindings/c/../../taglib/toolkit/tstringlist.h
-tstring.h
-bindings/c/../../taglib/toolkit/tstring.h
-tlist.h
-bindings/c/../../taglib/toolkit/tlist.h
-tbytevectorlist.h
-bindings/c/../../taglib/toolkit/tbytevectorlist.h
-iostream
--
-
@@ -1,8 +0,0 @@
-# The set of files whose dependency integrity should be checked:
-SET(CMAKE_DEPENDS_LANGUAGES
- "CXX"
- )
-SET(CMAKE_DEPENDS_CHECK_CXX
- "/Users/paul/Desktop/Estelle-ruby/ext/taglib/bindings/c/tag_c.cpp"
- "/Users/paul/Desktop/Estelle-ruby/ext/taglib/bindings/c/CMakeFiles/tag_c.dir/tag_c.o"
- )
@@ -1,105 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Unix Makefiles" Generator, CMake Version 2.4
-
-#=============================================================================
-# Special targets provided by cmake.
-
-# Disable implicit rules so canoncical targets will work.
-.SUFFIXES:
-
-.SUFFIXES: .hpux_make_needs_suffix_list
-
-# Suppress display of executed commands.
-$(VERBOSE).SILENT:
-
-# A target that is always out of date.
-cmake_force:
-
-#=============================================================================
-# Set environment variables for the build.
-
-# The shell in which to execute make rules.
-SHELL = /bin/sh
-
-# The CMake executable.
-CMAKE_COMMAND = /opt/local/bin/cmake
-
-# The command to remove a file.
-RM = /opt/local/bin/cmake -E remove -f
-
-# The program to use to edit the cache.
-CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake
-
-# The top-level source directory on which CMake was run.
-CMAKE_SOURCE_DIR = /Users/paul/Desktop/Estelle-ruby/ext/taglib
-
-# The top-level build directory on which CMake was run.
-CMAKE_BINARY_DIR = /Users/paul/Desktop/Estelle-ruby/ext/taglib
-
-# Include any dependencies generated for this target.
-include bindings/c/CMakeFiles/tag_c.dir/depend.make
-
-# Include the progress variables for this target.
-include bindings/c/CMakeFiles/tag_c.dir/progress.make
-
-# Include the compile flags for this target's objects.
-include bindings/c/CMakeFiles/tag_c.dir/flags.make
-
-bindings/c/CMakeFiles/tag_c.dir/depend.make.mark: bindings/c/CMakeFiles/tag_c.dir/flags.make
-bindings/c/CMakeFiles/tag_c.dir/depend.make.mark: bindings/c/tag_c.cpp
-
-bindings/c/CMakeFiles/tag_c.dir/tag_c.o: bindings/c/CMakeFiles/tag_c.dir/flags.make
-bindings/c/CMakeFiles/tag_c.dir/tag_c.o: bindings/c/tag_c.cpp
- $(CMAKE_COMMAND) -E cmake_progress_report /Users/paul/Desktop/Estelle-ruby/ext/taglib/CMakeFiles $(CMAKE_PROGRESS_1)
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object bindings/c/CMakeFiles/tag_c.dir/tag_c.o"
- /usr/bin/c++ $(CXX_FLAGS) -o bindings/c/CMakeFiles/tag_c.dir/tag_c.o -c /Users/paul/Desktop/Estelle-ruby/ext/taglib/bindings/c/tag_c.cpp
-
-bindings/c/CMakeFiles/tag_c.dir/tag_c.i: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to bindings/c/CMakeFiles/tag_c.dir/tag_c.i"
- /usr/bin/c++ $(CXX_FLAGS) -E /Users/paul/Desktop/Estelle-ruby/ext/taglib/bindings/c/tag_c.cpp > bindings/c/CMakeFiles/tag_c.dir/tag_c.i
-
-bindings/c/CMakeFiles/tag_c.dir/tag_c.s: cmake_force
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly bindings/c/CMakeFiles/tag_c.dir/tag_c.s"
- /usr/bin/c++ $(CXX_FLAGS) -S /Users/paul/Desktop/Estelle-ruby/ext/taglib/bindings/c/tag_c.cpp -o bindings/c/CMakeFiles/tag_c.dir/tag_c.s
-
-bindings/c/CMakeFiles/tag_c.dir/tag_c.o.requires:
-
-bindings/c/CMakeFiles/tag_c.dir/tag_c.o.provides: bindings/c/CMakeFiles/tag_c.dir/tag_c.o.requires
- $(MAKE) -f bindings/c/CMakeFiles/tag_c.dir/build.make bindings/c/CMakeFiles/tag_c.dir/tag_c.o.provides.build
-
-bindings/c/CMakeFiles/tag_c.dir/tag_c.o.provides.build: bindings/c/CMakeFiles/tag_c.dir/tag_c.o
-
-bindings/c/CMakeFiles/tag_c.dir/depend: bindings/c/CMakeFiles/tag_c.dir/depend.make.mark
-
-bindings/c/CMakeFiles/tag_c.dir/depend.make.mark:
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --magenta --bold "Scanning dependencies of target tag_c"
- cd /Users/paul/Desktop/Estelle-ruby/ext/taglib && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/paul/Desktop/Estelle-ruby/ext/taglib /Users/paul/Desktop/Estelle-ruby/ext/taglib/bindings/c /Users/paul/Desktop/Estelle-ruby/ext/taglib /Users/paul/Desktop/Estelle-ruby/ext/taglib/bindings/c /Users/paul/Desktop/Estelle-ruby/ext/taglib/bindings/c/CMakeFiles/tag_c.dir/DependInfo.cmake
-
-# Object files for target tag_c
-tag_c_OBJECTS = \
-"CMakeFiles/tag_c.dir/tag_c.o"
-
-# External object files for target tag_c
-tag_c_EXTERNAL_OBJECTS =
-
-bindings/c/libtag_c.0.0.0.dylib: bindings/c/CMakeFiles/tag_c.dir/tag_c.o
-bindings/c/libtag_c.0.0.0.dylib: taglib/libtag.dylib
-bindings/c/libtag_c.0.0.0.dylib: /usr/lib/libz.dylib
-bindings/c/libtag_c.0.0.0.dylib: bindings/c/CMakeFiles/tag_c.dir/build.make
- @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX shared library libtag_c.dylib"
- cd /Users/paul/Desktop/Estelle-ruby/ext/taglib/bindings/c && $(CMAKE_COMMAND) -P CMakeFiles/tag_c.dir/cmake_clean_target.cmake
- cd /Users/paul/Desktop/Estelle-ruby/ext/taglib/bindings/c && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/tag_c.dir/link.txt --verbose=$(VERBOSE)
- cd /Users/paul/Desktop/Estelle-ruby/ext/taglib/bindings/c && $(CMAKE_COMMAND) -E cmake_symlink_library libtag_c.0.0.0.dylib libtag_c.0.dylib libtag_c.dylib
-
-bindings/c/libtag_c.0.dylib: bindings/c/libtag_c.0.0.0.dylib
-
-bindings/c/libtag_c.dylib: bindings/c/libtag_c.0.dylib
-
-# Rule to build all files generated by this target.
-bindings/c/CMakeFiles/tag_c.dir/build: bindings/c/libtag_c.dylib
-
-bindings/c/CMakeFiles/tag_c.dir/requires: bindings/c/CMakeFiles/tag_c.dir/tag_c.o.requires
-
-bindings/c/CMakeFiles/tag_c.dir/clean:
- cd /Users/paul/Desktop/Estelle-ruby/ext/taglib/bindings/c && $(CMAKE_COMMAND) -P CMakeFiles/tag_c.dir/cmake_clean.cmake
-
Oops, something went wrong.

0 comments on commit 80faa23

Please sign in to comment.