Commit 0a4c6e4b authored by Roland Levillain's avatar Roland Levillain
Browse files

Convert Milena to UTF-8.

	* mln/accu/shape/volume.hh,
	* mln/core/concept/point_site.hh,
	* mln/morpho/watershed/flooding.hh,
	* mln/topo/skeleton/breadth_first_thinning.hh,
	* mln/topo/skeleton/priority_driven_thinning.hh:
	Here.
	* tests/core/image/complex_image.cc,
	* tests/core/image/complex_image.hh,
	* tests/core/site_set/p_complex.cc,
	* tests/make/attachment.cc,
	* tests/make/detachment.cc,
	* tests/morpho/complex_image_morpho.cc,
	* tests/topo/complex.cc,
	* tests/topo/is_facet.cc,
	* apps/morphers/iz.cc:
	Replace extended characters to convert to plain ASCII.
	* mln/io/pdf/get_header.hh (mln::io::pdf::pdf_header::pdf_header):
	Generate UTF-8 metadata.
	* doc/Doxyfile.in (INPUT_ENCODING): Set to UTF-8.
parent b8febd14
2014-06-25 Roland Levillain <roland@lrde.epita.fr>
Convert Milena to UTF-8.
* mln/accu/shape/volume.hh,
* mln/core/concept/point_site.hh,
* mln/morpho/watershed/flooding.hh,
* mln/topo/skeleton/breadth_first_thinning.hh,
* mln/topo/skeleton/priority_driven_thinning.hh:
Here.
* tests/core/image/complex_image.cc,
* tests/core/image/complex_image.hh,
* tests/core/site_set/p_complex.cc,
* tests/make/attachment.cc,
* tests/make/detachment.cc,
* tests/morpho/complex_image_morpho.cc,
* tests/topo/complex.cc,
* tests/topo/is_facet.cc,
* apps/morphers/iz.cc:
Replace extended characters to convert to plain ASCII.
* mln/io/pdf/get_header.hh (mln::io::pdf::pdf_header::pdf_header):
Generate UTF-8 metadata.
* doc/Doxyfile.in (INPUT_ENCODING): Set to UTF-8.
2012-06-05 Edwin Carlinet <carlinet@lrde.epita.fr> 2012-06-05 Edwin Carlinet <carlinet@lrde.epita.fr>
   
Exercise ASCII PPM file loading. Exercise ASCII PPM file loading.
...@@ -153,8 +153,8 @@ int main(int argc, char* argv[]) ...@@ -153,8 +153,8 @@ int main(int argc, char* argv[])
io::ppm::save(ws_, "tmp_ws_superpose.ppm"); io::ppm::save(ws_, "tmp_ws_superpose.ppm");
// test% g++ -I. main.cc -DNDEBUG -O2 // test% g++ -I. main.cc -DNDEBUG -O2
// main.cc: In function int main(int, char**): // main.cc: In function `int main(int, char**)':
// main.cc:85: error: no matching function for call to convert(mln::image2d<bool>&, mln::value::rgb8) // main.cc:85: error: no matching function for call to `convert(mln::image2d<bool>&, mln::value::rgb8)'
// /// Convert the image \p input by changing the value type. // /// Convert the image \p input by changing the value type.
// /// // ///
......
...@@ -676,7 +676,7 @@ INPUT = @top_srcdir@/milena ...@@ -676,7 +676,7 @@ INPUT = @top_srcdir@/milena
# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for # into libc) for the transcoding. See http://www.gnu.org/software/libiconv for
# the list of possible encodings. # the list of possible encodings.
INPUT_ENCODING = ISO-8859-1 INPUT_ENCODING = UTF-8
# If the value of the INPUT tag contains directories, you can use the # If the value of the INPUT tag contains directories, you can use the
# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
......
...@@ -181,7 +181,7 @@ namespace mln ...@@ -181,7 +181,7 @@ namespace mln
volume<I>::take(const volume<I>& other) volume<I>::take(const volume<I>& other)
{ {
area__ += other.area__; area__ += other.area__;
/* FIXME: Is it `t.area__' or `area__' ? Théo said it was /* FIXME: Is it `t.area__' or `area__' ? Théo said it was
the latter, but both the ISMM 2005 paper and Olena 0.11 use the latter, but both the ISMM 2005 paper and Olena 0.11 use
the former. */ the former. */
volume_ += volume_ +=
......
...@@ -249,7 +249,7 @@ namespace mln ...@@ -249,7 +249,7 @@ namespace mln
// Operators. // Operators.
// FIXME: Remove, or factor in a lower class (Tho removed it from // FIXME: Remove, or factor in a lower class (Théo removed it from
// the cleanup-2008 branch). // the cleanup-2008 branch).
template <typename L, typename R> template <typename L, typename R>
inline inline
...@@ -264,7 +264,7 @@ namespace mln ...@@ -264,7 +264,7 @@ namespace mln
return true; return true;
} }
// FIXME: Remove, or factor in a lower class (Tho removed it from // FIXME: Remove, or factor in a lower class (Théo removed it from
// the cleanup-2008 branch). // the cleanup-2008 branch).
template <typename L, typename R> template <typename L, typename R>
inline inline
......
...@@ -88,7 +88,7 @@ namespace mln ...@@ -88,7 +88,7 @@ namespace mln
is_encrypted = doc->is_encrypted(); is_encrypted = doc->is_encrypted();
is_linearized = doc->is_linearized(); is_linearized = doc->is_linearized();
is_locked = doc->is_locked(); is_locked = doc->is_locked();
metadata = doc->metadata().to_latin1(); metadata = doc->metadata().to_utf8();
} }
// End of pdf_header implementation. // End of pdf_header implementation.
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
/// ///
/// Reference: /// Reference:
/// Fernand Meyer. Un algorithme optimal de ligne de partage des /// Fernand Meyer. Un algorithme optimal de ligne de partage des
/// eaux. In: Actes du 8me Congrs AFCET, Lyon-Villeurbanne, France /// eaux. In: Actes du 8ème Congrès AFCET, Lyon-Villeurbanne, France
/// (1991), pages 847--859. /// (1991), pages 847--859.
# include <mln/trait/ch_value.hh> # include <mln/trait/ch_value.hh>
......
...@@ -35,8 +35,8 @@ ...@@ -35,8 +35,8 @@
/// to the definitions used in /// to the definitions used in
/// ///
/// Gilles Bertrand and Michel Couprie: Transformations topologiques /// Gilles Bertrand and Michel Couprie: Transformations topologiques
/// discrtes. In David Coeurjolly, Annick Montanvert and Jean-Marc /// discrètes. In David Coeurjolly, Annick Montanvert and Jean-Marc
/// Chassery, eds.: Gomtrie discrte et images numriques. Hermes /// Chassery, eds.: Géométrie discrète et images numériques. Hermes
/// Sciences Publications (2007), pages 187--209. /// Sciences Publications (2007), pages 187--209.
# include <mln/core/routine/duplicate.hh> # include <mln/core/routine/duplicate.hh>
......
...@@ -35,8 +35,8 @@ ...@@ -35,8 +35,8 @@
/// to the definitions used in /// to the definitions used in
/// ///
/// Gilles Bertrand and Michel Couprie: Transformations topologiques /// Gilles Bertrand and Michel Couprie: Transformations topologiques
/// discrtes. In David Coeurjolly, Annick Montanvert and Jean-Marc /// discrètes. In David Coeurjolly, Annick Montanvert and Jean-Marc
/// Chassery, eds.: Gomtrie discrte et images numriques. Hermes /// Chassery, eds.: Géométrie discrète et images numériques. Hermes
/// Sciences Publications (2007), pages 187--209. /// Sciences Publications (2007), pages 187--209.
# include <mln/core/routine/duplicate.hh> # include <mln/core/routine/duplicate.hh>
......
...@@ -62,7 +62,7 @@ int main() ...@@ -62,7 +62,7 @@ int main()
0 | o-----------o v0----e3----v3 0 | o-----------o v0----e3----v3
| / \ ,-----. / / \ | / | / \ ,-----. / / \ | /
| / . \ \ t1/ / / \ t1 / | / . \ \ t1/ / / \ t1 /
1 | e0 / / \ e1\ / / e4 e0. ,e1´ `e4 1 | e0 / / \ e1\ / / e4 e0. ,e1' `e4
| / /t0 \ \ ' / / t0 \ / | / /t0 \ \ ' / / t0 \ /
| / `-----' \ / / | \ / | / `-----' \ / / | \ /
2 | o-----------o v1----e2----v2 2 | o-----------o v1----e2----v2
......
...@@ -56,7 +56,7 @@ make_test_complex_image() ...@@ -56,7 +56,7 @@ make_test_complex_image()
0 | o-----------o v0----e3----v3 0 | o-----------o v0----e3----v3
| / \ ,-----. / / \ | / | / \ ,-----. / / \ | /
| / . \ \ t1/ / / \ t1 / | / . \ \ t1/ / / \ t1 /
1 | e0 / / \ e1\ / / e4 e0. ,e1 `e4 1 | e0 / / \ e1\ / / e4 e0. ,e1' `e4
| / /t0 \ \ ' / / t0 \ / | / /t0 \ \ ' / / t0 \ /
| / `-----' \ / / | \ / | / `-----' \ / / | \ /
2 | o-----------o v1----e2----v2 2 | o-----------o v1----e2----v2
......
...@@ -54,7 +54,7 @@ int main() ...@@ -54,7 +54,7 @@ int main()
0 | o-----------o v0----e3----v3 0 | o-----------o v0----e3----v3
| / \ ,-----. / / \ | / | / \ ,-----. / / \ | /
| / . \ \ t1/ / / \ t1 / | / . \ \ t1/ / / \ t1 /
1 | e0 / / \ e1\ / / e4 e0. ,e1 `e4 1 | e0 / / \ e1\ / / e4 e0. ,e1' `e4
| / /t0 \ \ ' / / t0 \ / | / /t0 \ \ ' / / t0 \ /
| / `-----' \ / / | \ / | / `-----' \ / / | \ /
2 | o-----------o v1----e2----v2 2 | o-----------o v1----e2----v2
......
...@@ -49,7 +49,7 @@ main() ...@@ -49,7 +49,7 @@ main()
0 | o-----------o v0----e3----v3 0 | o-----------o v0----e3----v3
| / \ ,-----. / / \ | / | / \ ,-----. / / \ | /
| / . \ \ t1/ / / \ t1 / | / . \ \ t1/ / / \ t1 /
1 | e0 / / \ e1\ / / e4 e0. ,e1´ `e4 1 | e0 / / \ e1\ / / e4 e0. ,e1' `e4
| / /t0 \ \ ' / / t0 \ / | / /t0 \ \ ' / / t0 \ /
| / `-----' \ / / | \ / | / `-----' \ / / | \ /
2 | o-----------o v1----e2----v2 2 | o-----------o v1----e2----v2
......
...@@ -49,7 +49,7 @@ main() ...@@ -49,7 +49,7 @@ main()
0 | o-----------o v0----e3----v3 0 | o-----------o v0----e3----v3
| / \ ,-----. / / \ | / | / \ ,-----. / / \ | /
| / . \ \ t1/ / / \ t1 / | / . \ \ t1/ / / \ t1 /
1 | e0 / / \ e1\ / / e4 e0. ,e1´ `e4 1 | e0 / / \ e1\ / / e4 e0. ,e1' `e4
| / /t0 \ \ ' / / t0 \ / | / /t0 \ \ ' / / t0 \ /
| / `-----' \ / / | \ / | / `-----' \ / / | \ /
2 | o-----------o v1----e2----v2 2 | o-----------o v1----e2----v2
......
...@@ -69,7 +69,7 @@ int main() ...@@ -69,7 +69,7 @@ int main()
0 | o-----------o v0----e3----v3 0 | o-----------o v0----e3----v3
| / \ ,-----. / / \ | / | / \ ,-----. / / \ | /
| / . \ \ t1/ / / \ t1 / | / . \ \ t1/ / / \ t1 /
1 | e0 / / \ e1\ / / e4 e0. ,e1 `e4 1 | e0 / / \ e1\ / / e4 e0. ,e1' `e4
| / /t0 \ \ ' / / t0 \ / | / /t0 \ \ ' / / t0 \ /
| / `-----' \ / / | \ / | / `-----' \ / / | \ /
2 | o-----------o v1----e2----v2 2 | o-----------o v1----e2----v2
......
...@@ -56,7 +56,7 @@ int main() ...@@ -56,7 +56,7 @@ int main()
o-----------o v0----e3----v3 o-----------o v0----e3----v3
/ \ ,-----. / / \ | / / \ ,-----. / / \ | /
/ . \ \ t1/ / / \ t1 / / . \ \ t1/ / / \ t1 /
e0 / / \ e1\ / / e4 e0. ,e1´ `e4 e0 / / \ e1\ / / e4 e0. ,e1' `e4
/ /t0 \ \ ' / / t0 \ / / /t0 \ \ ' / / t0 \ /
/ `-----' \ / / | \ / / `-----' \ / / | \ /
o-----------o v1----e2----v2 o-----------o v1----e2----v2
...@@ -321,14 +321,14 @@ int main() ...@@ -321,14 +321,14 @@ int main()
Name Definition Name Definition
----------------------------------------------------------------- -----------------------------------------------------------------
cell_fwd_iter<D>(c, f) | Iterators on the set of the cell_fwd_iter<D>(c, f) | Iterators on the set of the
cell_bkd_iter<D>(c, f) | faces in the « cell » cell_bkd_iter<D>(c, f) | faces in the ``cell''
| including p, i.e. the set of | including p, i.e. the set of
| all m-faces adjacent to p, | all m-faces adjacent to p,
| where m is in [0, n-1]; | where m is in [0, n-1];
| this set is name « f-hat » | this set is name ``f-hat''
cell_boundary_fwd_iter<D>(c, f) | Likewise, but excluding p; cell_boundary_fwd_iter<D>(c, f) | Likewise, but excluding p;
cell_boundary_bkd_iter<D>(c, f) | this set is named « p-hat* » cell_boundary_bkd_iter<D>(c, f) | this set is named ``p-hat*''
----------------------------------------------------------------- -----------------------------------------------------------------
We could also have generic iterators based on predicated, and We could also have generic iterators based on predicated, and
......
...@@ -49,7 +49,7 @@ main() ...@@ -49,7 +49,7 @@ main()
0 | o-----------o v0----e3----v3 0 | o-----------o v0----e3----v3
| / \ ,-----. / / \ | / | / \ ,-----. / / \ | /
| / . \ \ t1/ / / \ t1 / | / . \ \ t1/ / / \ t1 /
1 | e0 / / \ e1\ / / e4 e0. ,e1 `e4 1 | e0 / / \ e1\ / / e4 e0. ,e1' `e4
| / /t0 \ \ ' / / t0 \ / | / /t0 \ \ ' / / t0 \ /
| / `-----' \ / / | \ / | / `-----' \ / / | \ /
2 | o-----------o v1----e2----v2 2 | o-----------o v1----e2----v2
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment