1. 13 Feb, 2013 6 commits
    • 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
      Use AM_DEFAULT_SOURCE_EXT to simplify Milena's Makefiles. · 245453d3
      Roland Levillain authored
      	* common.mk: New.
      	Include it...
      	* tests/tests.mk,
      	* tools/tools.mk:
      	...here.
      	* tests/Makefile.am,
      	* tests/accu/Makefile.am,
      	* tests/accu/image/Makefile.am,
      	* tests/accu/math/Makefile.am,
      	* tests/accu/shape/Makefile.am,
      	* tests/accu/site_set/Makefile.am,
      	* tests/accu/stat/Makefile.am,
      	* tests/algebra/Makefile.am,
      	* tests/arith/Makefile.am,
      	* tests/binarization/Makefile.am,
      	* tests/border/Makefile.am,
      	* tests/canvas/Makefile.am,
      	* tests/canvas/browsing/Makefile.am,
      	* tests/canvas/morpho/Makefile.am,
      	* tests/convert/Makefile.am,
      	* tests/convert/impl/Makefile.am,
      	* tests/core/alias/Makefile.am,
      	* tests/core/image/Makefile.am,
      	* tests/core/image/dmorph/Makefile.am,
      	* tests/core/image/imorph/Makefile.am,
      	* tests/core/image/vmorph/Makefile.am,
      	* tests/core/other/Makefile.am,
      	* tests/core/routine/Makefile.am,
      	* tests/core/site_set/Makefile.am,
      	* tests/data/Makefile.am,
      	* tests/data/approx/Makefile.am,
      	* tests/data/naive/Makefile.am,
      	* tests/debug/Makefile.am,
      	* tests/draw/Makefile.am,
      	* tests/estim/Makefile.am,
      	* tests/extension/Makefile.am,
      	* tests/extract/Makefile.am,
      	* tests/fun/Makefile.am,
      	* tests/fun/i2v/Makefile.am,
      	* tests/fun/p2p/Makefile.am,
      	* tests/fun/stat/Makefile.am,
      	* tests/fun/v2i/Makefile.am,
      	* tests/fun/v2v/Makefile.am,
      	* tests/fun/vv2v/Makefile.am,
      	* tests/fun/x2x/Makefile.am,
      	* tests/geom/Makefile.am,
      	* tests/graph/Makefile.am,
      	* tests/graph/attribute/Makefile.am,
      	* tests/histo/Makefile.am,
      	* tests/io/dicom/Makefile.am,
      	* tests/io/dump/Makefile.am,
      	* tests/io/fits/Makefile.am,
      	* tests/io/fld/Makefile.am,
      	* tests/io/magick/Makefile.am,
      	* tests/io/off/Makefile.am,
      	* tests/io/pbm/Makefile.am,
      	* tests/io/pbms/Makefile.am,
      	* tests/io/pgm/Makefile.am,
      	* tests/io/pgms/Makefile.am,
      	* tests/io/ppm/Makefile.am,
      	* tests/io/ppms/Makefile.am,
      	* tests/io/tiff/Makefile.am,
      	* tests/labeling/Makefile.am,
      	* tests/linear/Makefile.am,
      	* tests/linear/gaussian/Makefile.am,
      	* tests/linear/local/Makefile.am,
      	* tests/literal/Makefile.am,
      	* tests/logical/Makefile.am,
      	* tests/make/Makefile.am,
      	* tests/metal/Makefile.am,
      	* tests/metal/math/Makefile.am,
      	* tests/morpho/Makefile.am,
      	* tests/morpho/approx/Makefile.am,
      	* tests/morpho/attribute/Makefile.am,
      	* tests/morpho/closing/Makefile.am,
      	* tests/morpho/closing/approx/Makefile.am,
      	* tests/morpho/elementary/Makefile.am,
      	* tests/morpho/opening/Makefile.am,
      	* tests/morpho/opening/approx/Makefile.am,
      	* tests/morpho/reconstruction/by_dilation/Makefile.am,
      	* tests/morpho/reconstruction/by_erosion/Makefile.am,
      	* tests/morpho/tree/Makefile.am,
      	* tests/morpho/tree/filter/Makefile.am,
      	* tests/morpho/watershed/Makefile.am,
      	* tests/opt/Makefile.am,
      	* tests/pw/Makefile.am,
      	* tests/registration/Makefile.am,
      	* tests/set/Makefile.am,
      	* tests/test/Makefile.am,
      	* tests/topo/Makefile.am,
      	* tests/topo/skeleton/Makefile.am,
      	* tests/trait/Makefile.am,
      	* tests/trait/image/Makefile.am,
      	* tests/trait/op/Makefile.am,
      	* tests/trait/value/Makefile.am,
      	* tests/transform/Makefile.am,
      	* tests/upscaling/art/Makefile.am,
      	* tests/util/Makefile.am,
      	* tests/value/Makefile.am,
      	* tests/value/builtin/Makefile.am,
      	* tests/win/Makefile.am,
      	* tests/world/binary_2d/Makefile.am,
      	* tests/world/inter_pixel/Makefile.am,
      	* tests/world/inter_pixel/dim2/Makefile.am:
      	Remove (now useless) `*_SOURCES' variables using
      	sed -ri '/^(\s|#)*\S+_SOURCES\s*=\s*\S+.cc\s*$/d'.
      	* apps/constrained-connectivity/Makefile.am,
      	* apps/graph-morpho/Makefile.am,
      	* apps/mesh-segm-skel/Makefile.am,
      	* apps/papers/levillain.09.ismm/Makefile.am
      	* tools/Makefile.am:
      	Likewise.
      	Include common.mk.
      245453d3
    • Roland Levillain's avatar
      Require Automake 1.11. · 1db398e0
      Roland Levillain authored
      	* bootstrap, configure.ac: Here.
      1db398e0
    • Roland Levillain's avatar
      Add a script to generate a Milena header file. · 50e66038
      Roland Levillain authored
      	* new-header: New.
      	* Makefile.am (EXTRA_DIST): Add new-header.
      50e66038
    • Roland Levillain's avatar
      Clean up ChangeLogs. · 063c717a
      Roland Levillain authored
      063c717a
    • Roland Levillain's avatar
      Add missing TESTS variable to Makefile.am's. · 2088b4c0
      Roland Levillain authored
      	* tests/canvas/Makefile.am,
      	* tests/canvas/morpho/Makefile.am,
      	* tests/fun/Makefile.am,
      	* tests/fun/p2b/Makefile.am,
      	* tests/fun/p2v/Makefile.am,
      	* tests/io/pfm/Makefile.am,
      	* tests/io/pnm/Makefile.am,
      	* tests/math/Makefile.am,
      	* tests/metal/make/Makefile.am,
      	* tests/tag/Makefile.am,
      	* tests/trace/Makefile.am,
      	* tests/value/concept/Makefile.am:
      	Here.
      2088b4c0
  2. 07 Feb, 2013 17 commits
    • Roland Levillain's avatar
      Tell Git to ignore build-aux/ar-lib. · 0abc322f
      Roland Levillain authored
      0abc322f
    • 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
      Always write FIXME with uppercase letters. · 40e7cc0f
      Roland Levillain authored
      	* milena/mln/canvas/browsing/snake_fwd.hh,
      	* milena/mln/canvas/browsing/snake_vert.hh,
      	* scribo/scribo/debug/alignment_decision_image.hh,
      	* scribo/scribo/debug/decision_image.hh,
      	* scribo/scribo/debug/links_decision_image.hh:
      	Here.
      40e7cc0f
    • Roland Levillain's avatar
      Equip Scribo with a recursive `tests' target. · 5d515548
      Roland Levillain authored
      	* Makefile.am (LOCAL_RECURSIVE_TARGETS): Remove pretty-check.
      	($(LOCAL_RECURSIVE_TARGETS)): Recurse in scribo/ too.
      	(pretty-check): New target, recursing only in milena/.
      	* milena/tests/tests-recursive.mk: Move...
      	* build-aux/tests-recursive.mk: ...here.
      	* milena/tests/tests.mk: Adjust.
      	Remove old comments.
      	* scribo/Makefile.am (tests): New target.
      	(bin): Use common idioms.
      	* scribo/tests/tests.mk: Include milena/tests/tests-recursive.mk.
      5d515548
    • Roland Levillain's avatar
      Complete and clean up tests/metal/converts_to.cc. · a814e2b8
      Roland Levillain authored
      	* tests/metal/converts_to.cc: Remove dead code and add new test
      	cases.
      a814e2b8
    • Roland Levillain's avatar
      Fix the generation of code excerpts for the documentation. · 5d7fb449
      Roland Levillain authored
      	* doc/tools/split_sample.sh: Use $(...) instead of `...` so that
      	backslashes are interpreted uniformly.
      	Pass option `-h' to grep to prevent file names from being printed
      	on OS X.
      	Remove useless option `-R' passed to grep.
      5d7fb449
    • Roland Levillain's avatar
      Add advice about the release process. · 17690824
      Roland Levillain authored
      	* HACKING (Required Software): Add LaTeX2HTML.
      	Aesthetic changes.
      	(Useful Tools): Rename as...
      	(Useful Developer Tools): ...this.
      	(Releasing): New section.
      17690824
    • 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 warnings reported by clang++ in Milena. · 8ae6c4cd
      Roland Levillain authored
      	* mln/canvas/browsing/diagonal2d.hh (diagonal2d_t::operator())
      	* mln/clustering/kmean_rgb.hh (internal::kmean_rgb_dispatch)
      	* mln/labeling/value_and_compute.hh
      	(internal::value_and_compute_tests)
      	(impl::process__)
      	* mln/metal/math/root.hh (impl::root<n, x, lo, hi>::value): Add an
      	explicit type conversion of operator<'s the right-hand side
      	operand.
      	* mln/morpho/watershed/topological.hh (topological)
      	* mln/world/rgb/invert.hh (internal::invert_dispatch):
      	Remove unused variables.
      	Do not name unused arguments.
      	* mln/util/object_id.hh
      	(operator==(const object_id<Tag,V>&, const Value<V2>&)):
      	Add an explicit type conversion of the right-hand side operand.
      	* mln/world/rgb/invert.hh,
      	* tests/core/alias/point1d.cc,
      	* tests/make/p_edges_with_mass_centers.cc,
      	* tests/make/p_vertices_with_mass_centers.cc,
      	* tests/value/int_s16.cc,
      	* tests/value/int_u8.cc:
      	Shush the compiler about unused variables.
      	* tests/trait/op/plus.cc (mln::my_image2d<T>): Complete this type
      	to have it comply with the mln::Image concept.
      	(mln::dummy_t): New (dummy) type.
      	(dummy): New (dummy) value.
      	(main): Do not use uninitialized pointers.
      8ae6c4cd
    • Roland Levillain's avatar
      Disambiguate operator- overload resolution with a pow_int_ operand. · f2b50a1a
      Roland Levillain authored
      	* mln/metal/math/pow.hh (mln::metal::math::impl::pow_int_):
      	Use static const integers instead of enums.
      f2b50a1a
    • Roland Levillain's avatar
      Revive tests/value/graylevel.cc. · d4f02aba
      Roland Levillain authored
      	* mln/value/graylevel.hh: Aesthetic changes in comments.
      	* tests/value/graylevel.cc (test_conversion): Turn this macro into
      	a function template.
      	(main): Ensure all valid comparisons listed in
      	mln/value/graylevel.hh work.
      	Remove dead code.
      	Address warnings.
      	* tests/value/Makefile.am (check_PROGRAMS): Re-enable graylevel.
      	(graylevel_SOURCES): Re-enable.
      d4f02aba
    • Roland Levillain's avatar
      Fix mutual dependencies between floating-point gray-level values. · 85c24ded
      Roland Levillain authored
      	* mln/value/graylevel_f.hh,
      	* mln/value/internal/gray_f.hh:
      	Move definitions...
      	* mln/value/graylevel_f.hxx,
      	* mln/value/internal/gray_f.hxx:
      	...here (new files).
      	* headers.mk (nobase_include_HEADERS): Regen.
      85c24ded
    • 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
    • Roland Levillain's avatar
      Address more remaining clang++ errors in Milena. · 1f8557cf
      Roland Levillain authored
      	* mln/core/concept/proxy.hxx: Add and reorder forward
      	declarations.
      	* mln/accu/site_set/rectangularity.hh (rectangularity<P>): Do not
      	re-import base class attributes as protected members, so that the
      	base class can still access them.
      	Adjust.
      	* mln/geom/seeds2tiling_roundness.hh,
      	* mln/subsampling/antialiased.hh,
      	* mln/world/inter_pixel/dim2/make_edge_image.hh:
      	Add missing header inclusions.
      	* mln/io/plot/save.hh (save)
      	* mln/morpho/tree/propagate_node.hh
      	(propagate_node_to_descendants):
      	Do not provide default arguments twice.
      	* mln/topo/face_iter.hh,
      	* mln/topo/n_face_iter.hh:
      	Add `this->' qualifiers to disambiguate calls to base class
      	methods.
      	* tests/metal/converts_to.cc (from_2): Do not rely on
      	uninitialized data.
      	(main): Add a test case.
      1f8557cf
    • Roland Levillain's avatar
      More clang++ support in Milena. · c52c5f64
      Roland Levillain authored
      	* mln/core/concept/proxy.hxx (get_proxy_impl<Subject, E>): Swap
      	two definitions to help clang++ properly resolve calls to the
      	overloaded conversion operator.
      c52c5f64
    • Roland Levillain's avatar
      Start to work around clang++ deficiencies to compile Milena. · 44a94cb2
      Roland Levillain authored
      	* mln/util/tracked_ptr.hh (tracked_ptr<T>::operator*): New.
      	* mln/topo/complex.hh: Decompose complex instructions.
      44a94cb2
  3. 09 Oct, 2012 1 commit
  4. 08 Oct, 2012 3 commits
    • Roland Levillain's avatar
      Revive headers required by the RGB component functors. · 279bb010
      Roland Levillain authored
      	* mln/core/image/vmorph/thru_image.hh,
      	* mln/fun/component/blue.hh,
      	* mln/fun/component/green.hh,
      	* mln/fun/component/red.hh,
      	* mln/fun/component/rgb.hh,
      	* mln/fun/param.hh,
      	* mln/fun/spe/unary.hh,
      	* mln/fun/unary.hh,
      	* mln/trait/functions.hh,
      	* mln/trait/next/solve.hh,
      	* mln/trait/next/solve_binary.hh,
      	* mln/trait/next/solve_proxy.hh,
      	* mln/trait/next/solve_unary.hh:
      	New.
      	* headers.mk,
      	* tests/unit_test/unit-tests.mk:
      	Regen.
      279bb010
    • Roland Levillain's avatar
      Merge branch 'cleanup' into next · 8bafffd9
      Roland Levillain authored
      Conflicts:
      	ChangeLog
      	milena/ChangeLog
      8bafffd9
    • Roland Levillain's avatar
      Address g++-4.7 compilation errors. · 8fbf9f2f
      Roland Levillain authored
      	* apps/morphers/image2d-skel.hh (is_simple_2d::operator()):
      	Qualify a call to a base class member.
      8fbf9f2f
  5. 05 Oct, 2012 8 commits
  6. 25 Sep, 2012 3 commits
  7. 21 Jun, 2012 2 commits
    • Roland Levillain's avatar
      Improve the (movie) output of apps/morphers/iz. · b4ca8d4c
      Roland Levillain authored
      	* apps/morphers/iz.cc (save_colorized): Skip consecutive identical
      	frames.
      	Swap the frame reconstruction and write operations, so that the
      	last frame is eventually saved.
      	* apps/morphers/Makefile.am (tmp_iz.avi): Use a speedup of 50
      	instead of 10.
      b4ca8d4c
    • Roland Levillain's avatar
      Use the lazy recorder morpher in apps/morphers/iz. · 08bc024b
      Roland Levillain authored
      	* apps/morphers/iz.cc (main): Here.
      	Save the sequence of recorder images as PNG images using Magick++.
      	(save_colorized): New function.
      	* apps/morphers/Makefile.am
      	(noinst_PROGRAMS, iz_SOURCES) [HAVE_MAGICKXX]: Build `iz' only if
      	Magick++ is available.
      	(iz_output.ppm) [HAVE_MAGICKXX]: Likewise.
      	(iz_CPPFLAGS, iz_LDFLAGS) [HAVE_MAGICKXX]: New.
      	(tmp_iz.avi) [HAVE_MAGICKXX]: New target.
      	(MOSTLYCLEANFILES): Add tmp_iz??????.png.
      08bc024b