1. 13 Feb, 2013 3 commits
    • Roland Levillain's avatar
      Factor Makefiles' helpers. · 32803c36
      Roland Levillain authored
      	* scribo.mk, tests/tests.mk (AM_CPPFLAGS): Move...
      	* common.mk: ...here.
      32803c36
    • Roland Levillain's avatar
      Use AM_DEFAULT_SOURCE_EXT to simplify Scribo's Makefiles. · 12d0a854
      Roland Levillain authored
      	* common.mk: New.
      	Include it...
      	* scribo.mk,
      	* tests/tests.mk:
      	...here.
      	* src/Makefile.am,
      	* src/binarization/Makefile.am,
      	* src/debug/Makefile.am,
      	* src/filter/Makefile.am,
      	* src/misc/Makefile.am,
      	* src/multi_scale/Makefile.am,
      	* src/preprocessing/Makefile.am,
      	* src/primitive/extract/Makefile.am,
      	* src/primitive/find/Makefile.am,
      	* src/primitive/group/Makefile.am,
      	* src/table/Makefile.am,
      	* src/text/Makefile.am,
      	* tests/filter/Makefile.am,
      	* tests/preprocessing/Makefile.am,
      	* tests/table/Makefile.am:
      	Remove (now useless) `*_SOURCES' variables using
      	sed -ri '/^(\s|#)*\S+_SOURCES\s*=\s*\S+.cc\s*$/d'.
      	* tests/unit_test/build_unit_test.sh: No longer output `*_SOURCES'
      	variables.
      	* tests/unit_test/unit-tests.mk: Regen.
      12d0a854
    • Roland Levillain's avatar
      Clean up ChangeLogs. · 063c717a
      Roland Levillain authored
      063c717a
  2. 07 Feb, 2013 4 commits
    • Roland Levillain's avatar
      Remove scoria from Makefiles. · 62a8605f
      Roland Levillain authored
      	* src/contest/DAE-2011/Makefile.am,
      	* src/contest/Makefile.am,
      	* src/contest/hdibco-2010/Makefile.am,
      	* src/contest/hdlac-2011/Makefile.am,
      	* src/postprocessing/Makefile.am,
      	* tests/binarization/Makefile.am,
      	* tests/convert/Makefile.am,
      	* tests/core/Makefile.am,
      	* tests/estim/Makefile.am,
      	* tests/toolchain/nepomuk/Makefile.am:
      	Here.
      62a8605f
    • Roland Levillain's avatar
      Address warnings reported by clang++ in Scribo. · 6e24fced
      Roland Levillain authored
      	* scribo/text/paragraphs_closing.hh
      	(internal::horizontal_CRLA, internal::vertical_CRLA):
      	Replace empty bodies of loops with single `continue' statements as
      	this is more explicit.
      6e24fced
    • Roland Levillain's avatar
      Address remaining errors reported by clang++ in Scribo. · 6a5f908a
      Roland Levillain authored
      	* scribo/debug/alignment_decision_image.hh
      	(alignment_decision_image)
      	* scribo/debug/bboxes_enlarged_image.hh (bboxes_enlarged_image)
      	* scribo/debug/decision_image.hh (decision_image)
      	* scribo/debug/links_decision_image.hh (links_decision_image)
      	* scribo/debug/links_image.hh (links_image)
      	* scribo/debug/looks_like_a_text_line_image.hh
      	(looks_like_a_text_line_image):
      	Fix the type of the value to be returned by theses functions.
      6a5f908a
    • Roland Levillain's avatar
      Address errors reported by clang++ in Scribo. · f782485f
      Roland Levillain authored
      	* scribo/io/text_boxes/save.hh,
      	* scribo/primitive/extract/components.hh,
      	* scribo/primitive/link/with_single_right_link.hh,
      	* scribo/text/recognition.hh,
      	* scribo/toolchain/content_in_doc.hh,
      	* scribo/toolchain/content_in_hdoc.hh,
      	* scribo/toolchain/text_in_doc.hh,
      	* scribo/toolchain/text_in_doc_preprocess.hh,
      	* scribo/toolchain/text_in_picture.hh:
      	Do not provide default arguments twice.
      f782485f
  3. 09 Oct, 2012 1 commit
  4. 06 Dec, 2011 4 commits
  5. 12 Oct, 2011 1 commit
  6. 04 Oct, 2011 1 commit
  7. 19 Sep, 2011 2 commits
  8. 15 Sep, 2011 4 commits
  9. 14 Sep, 2011 2 commits
  10. 13 Sep, 2011 2 commits
  11. 12 Sep, 2011 2 commits
    • Guillaume Lazzara's avatar
      Small fixes in Scribo. · 210ab543
      Guillaume Lazzara authored
      	* demo/viewer/icons/olena_smaller.jpg,
      	* demo/viewer/viewer.qrc: Change icon location.
      
      	* scribo/text/paragraphs_closing.hh: Avoid a warning.
      
      	* src/content_in_doc.cc: Fix a parameter description.
      
      	* src/debug/show_lines_boldness.cc,
      	* src/debug/show_text_lines.cc,
      	* src/debug/show_text_lines_wo_seps.cc: Remove useless includes.
      
      	* src/scribo-cli.in: Pass arguments correctly.
      210ab543
    • Guillaume Lazzara's avatar
      More fixes in Scribo build system. · 563d81e0
      Guillaume Lazzara authored
      	* demo/viewer/Makefile.am: Add missing distributed files.
      
      	* src/contest/DAE-2011/Makefile.am,
      	* src/contest/hdlac-2011/Makefile.am,
      	* src/debug/Makefile.am: Fix dependencies.
      563d81e0
  12. 10 Sep, 2011 2 commits
    • Roland Levillain's avatar
      Fix compilation dependencies of unit tests in Scribo. · c760a8e9
      Roland Levillain authored
      	* tests/unit_test/Makefile.am (COND_TESTS):
      	Add cond_tests_magickxx, cond_tests_magickxx_qt and
      	cond_tests_magickxx_tesseract.
      	Remove cond_tests_qt_tesseract_tiff.
      	* tests/unit_test/cond_tests_magickxx,
      	* tests/unit_test/cond_tests_magickxx_qt,
      	* tests/unit_test/cond_tests_magickxx_tesseract:
      	New.
      	* tests/unit_test/cond_tests_qt_tesseract_tiff: Remove (empty)
      	file.
      	* tests/unit_test/cond_tests_magickxx_tesseract_tiff: Add
      	scribo/toolchain/content_in_doc.hh.
      	* tests/unit_test/cond_tests_qt: Remove
      	scribo/io/xml/internal/full_xml_visitor.hh and
      	scribo/io/xml/load.hh.
      	* tests/unit_test/cond_tests_tesseract_tiff: Remove.
      	scribo/toolchain/content_in_doc.hh.
      	* tests/unit_test/cond_tests_magickxx_qt_tesseract_tiff:
      	Remove empty line.
      	* tests/unit_test/unit-tests.mk: Regen.
      c760a8e9
    • Roland Levillain's avatar
      Fix compilation dependencies in Scribo. · 4ff49763
      Roland Levillain authored
      	* src/contest/DAE-2011/Makefile.am
      	(content_in_hdoc_dae_CPPFLAGS, content_in_doc_dae_CPPFLAGS)
      	* src/contest/hdlac-2011/Makefile.am
      	(content_in_hdoc_hdlac_CPPFLAGS):
      	Add $(MAGICKXX_CPPFLAGS).
      	* src/debug/Makefile.am
      	(noinst_PROGRAMS): Move show_lines_boldness...
      	(noinst_PROGRAMS) [HAVE_MAGICKXX, HAVE_TESSERACT]: ...here.
      	(show_lines_boldness_SOURCES): Remove.
      	(show_lines_boldness_SOURCES)
      	(show_lines_boldness_CPPFLAGS)
      	(show_lines_boldness_LDFLAGS)
      	[HAVE_MAGICKXX, HAVE_TESSERACT]: New.
      	(show_text_lines_CPPFLAGS)
      	(show_text_lines_wo_seps_CPPFLAGS)
      	[HAVE_MAGICKXX, HAVE_QT, HAVE_TESSERACT]:
      	Add $(TESSERACT_CPPFLAGS).
      4ff49763
  13. 08 Sep, 2011 2 commits
  14. 07 Sep, 2011 1 commit
  15. 06 Sep, 2011 4 commits
  16. 22 Aug, 2011 4 commits
    • Guillaume Lazzara's avatar
      Fix object selector for separators in scribo-viewer. · a76227a2
      Guillaume Lazzara authored
      	* demo/viewer/common.hh: Add new values in enum.
      
      	* demo/viewer/viewer.cc: Bind XML tag to enum value.
      a76227a2
    • Guillaume Lazzara's avatar
    • Guillaume Lazzara's avatar
      Add an option parser to some examples. · fa58e2e7
      Guillaume Lazzara authored
      	* scribo/debug/option_check.hh,
      	* scribo/debug/option_parser.hh: New.
      
      	* src/binarization/sauvola.cc,
      	* src/binarization/sauvola_ms.cc,
      	* src/binarization/sauvola_ms_fg.cc,
      	* src/binarization/sauvola_ms_split.cc,
      	* src/content_in_doc.cc,
      	* src/pbm_text_in_doc.cc,
      	* src/text_in_doc_preprocess.cc,
      	* src/text_in_picture.cc,
      	* src/text_in_picture_neg.cc,
      	* src/text_recognition_in_picture.cc: Use the new option parser.
      fa58e2e7
    • Guillaume Lazzara's avatar
      Some cleanup and fixes. · f2575e27
      Guillaume Lazzara authored
      	* scribo/core/group_info.hh,
      	* scribo/core/object_groups.hh: Add merge method.
      
      	* scribo/draw/groups_bboxes.hh: Only consider valid groups.
      
      	* scribo/estim/components_features.hh,
      	* scribo/primitive/extract/separators_nonvisible.hh,
      	* scribo/subsampling/bilinear.hh,
      	* scribo/text/extract_paragraphs.hh,
      	* scribo/text/merging.hh: Remove debug output.
      
      	* scribo/primitive/group/apply.hh,
      	* scribo/primitive/regroup/from_single_left_link.hh,
      	* scribo/primitive/regroup/from_single_left_link_wrt_h_ratio.hh:
      	Fix invalid result.
      
      	* scribo/toolchain/internal/content_in_doc_functor.hh: Remove comments.
      
      	* scribo/toolchain/internal/text_in_picture_functor.hh: New.
      
      	* scribo/toolchain/content_in_doc.hh,
      	* scribo/toolchain/internal/text_in_doc_functor.hh,
      	* scribo/toolchain/text_in_doc.hh,
      	* scribo/toolchain/text_in_doc_preprocess.hh: Add verbose mode.
      
      	* scribo/toolchain/text_in_picture.hh: Make use of the new
      	functor.
      
      	* scribo/util/component_precise_outline.hh: Fix an include.
      
      	* scribo/src/contest/hdlac-2011/content_in_hdoc_hdlac.cc: Fix parameters.
      f2575e27
  17. 09 Aug, 2011 1 commit
    • Guillaume Lazzara's avatar
      Small fixes in Scribo. · 68432bbd
      Guillaume Lazzara authored
      	* scribo/core/paragraph_info.hh: Update delta baseline.
      
      	* scribo/primitive/extract/non_text.hh: Fill extension.
      
      	* scribo/util/component_precise_outline.hh: Adjust extension.
      68432bbd