1. 21 Apr, 2006 4 commits
    • Roland Levillain's avatar
      Add COPYING and NEWS. · db396781
      Roland Levillain authored
      	* COPYING: New (imported from oln proto-1.0).
      	* NEWS: New (imported from oln 0.10).
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@466 4aad255d-cdde-0310-9447-f3009e2ae8c0
      db396781
    • Roland Levillain's avatar
      Fix copyright notices. · bab301fd
      Roland Levillain authored
      	* extended/xtd/res.hh,
      	* extended/xtd/math.hh,
      	* extended/xtd/cast.hh,
      	* extended/xtd/cfun.hh,
      	* extended/xtd/mexpr.hh,
      	* extended/xtd/math/log.hh,
      	* extended/xtd/math/floor.hh,
      	* extended/xtd/math/tan.hh,
      	* extended/xtd/math/log10.hh,
      	* extended/xtd/math/atan.hh,
      	* extended/xtd/math/cos.hh,
      	* extended/xtd/math/acos.hh,
      	* extended/xtd/math/sqrt.hh,
      	* extended/xtd/math/sin.hh,
      	* extended/xtd/math/tanh.hh,
      	* extended/xtd/math/asin.hh,
      	* extended/xtd/math/cosh.hh,
      	* extended/xtd/math/id.hh,
      	* extended/xtd/math/exp.hh,
      	* extended/xtd/math/logic.hh,
      	* extended/xtd/math/sinh.hh,
      	* extended/xtd/math/abs.hh,
      	* extended/xtd/math/pow.hh,
      	* extended/xtd/math/atan2.hh,
      	* extended/xtd/math/includes.hh,
      	* extended/xtd/math/arith.hh,
      	* extended/xtd/math/constraints.hh,
      	* extended/xtd/math/ceil.hh,
      	* extended/xtd/math/cmp.hh,
      	* extended/xtd/literal.hh,
      	* extended/xtd/args.hh,
      	* extended/xtd/mfun.hh,
      	* extended/xtd/abstract/nary_fun.hh,
      	* extended/xtd/abstract/open_nary_fun.hh,
      	* extended/xtd/abstract/plain_nary_fun.hh,
      	* extended/xtd/abstract/fun_expr.hh,
      	* extended/xtd/abstract/meta_nary_fun.hh,
      	* extended/xtd/abstract/fun.hh,
      	* extended/xtd/abstract/open_fun.hh,
      	* extended/xtd/abstract/plain_fun.hh,
      	* extended/xtd/abstract/meta_fun.hh,
      	* extended/xtd/abstract/fun_nary_expr.hh,
      	* extended/xtd/optraits.hh,
      	* extended/xtd/traits.hh,
      	* extended/xtd/builtin/traits.hh,
      	* extended/xtd/arg.hh,
      	* extended/xtd/bind.hh,
      	* extended/xtd/internal/opmacros.hh,
      	* extended/xtd/internal/mlc.hh,
      	* metalic/mlc/elt.hh,
      	* metalic/mlc/ret.hh,
      	* metalic/mlc/int.hh,
      	* metalic/mlc/pair.hh,
      	* metalic/mlc/bool.hh,
      	* metalic/mlc/flags.hh,
      	* metalic/mlc/comma.hh,
      	* metalic/mlc/logic.hh,
      	* metalic/mlc/if.hh,
      	* metalic/mlc/values.hh,
      	* metalic/mlc/typedef.hh,
      	* metalic/mlc/assert.hh,
      	* metalic/mlc/switch.hh,
      	* metalic/mlc/valist.hh,
      	* metalic/mlc/implies.hh,
      	* metalic/mlc/abstract/type.hh,
      	* metalic/mlc/abstract/bexpr.hh,
      	* metalic/mlc/abort.hh,
      	* metalic/mlc/to_string.hh,
      	* metalic/mlc/wrap.hh,
      	* metalic/mlc/is_a.hh,
      	* metalic/mlc/case.hh,
      	* metalic/mlc/value.hh,
      	* metalic/mlc/char.hh,
      	* metalic/mlc/contract.hh,
      	* metalic/mlc/uint.hh,
      	* metalic/mlc/cmp.hh,
      	* metalic/mlc/bexpr.hh,
      	* static/tests/properties.cc,
      	* static/tests/entry.cc,
      	* static/tests/any.cc: Update the FSF postal address.
      
      	* extended/tests/cfun.cc,
      	* extended/tests/id.cc,
      	* extended/tests/bind.cc,
      	* extended/tests/bi_traits/bool.cc,
      	* extended/tests/bi_traits/char.cc,
      	* extended/tests/bi_traits/sint.cc,
      	* extended/tests/bi_traits/uint.cc,
      	* extended/tests/bi_traits/schar.cc,
      	* extended/tests/bi_traits/slong.cc,
      	* extended/tests/bi_traits/sshort.cc,
      	* extended/tests/bi_traits/uchar.cc,
      	* extended/tests/bi_traits/ushort.cc,
      	* extended/tests/bi_traits/ulong.cc,
      	* extended/tests/bi_traits/float.cc,
      	* extended/tests/bi_traits/ldouble.cc,
      	* extended/tests/bi_traits/double.cc,
      	* extended/tests/cos.cc,
      	* extended/tests/abs.cc,
      	* extended/tests/optraits.cc,
      	* extended/tests/lit.cc,
      	* extended/tests/math.cc,
      	* extended/tests/cast.cc,
      	* metalic/tests/is_a.cc,
      	* metalic/tests/case.cc,
      	* metalic/tests/if.cc,
      	* metalic/tests/typedef.cc,
      	* metalic/tests/or.cc,
      	* metalic/tests/switch.cc,
      	* metalic/tests/gcase.cc,
      	* metalic/tests/protected.cc,
      	* metalic/tests/ret.cc,
      	* static/stc/entry.hh,
      	* static/stc/any.hh,
      	* static/stc/properties.hh: Add missing copyright notices.
      
      	* olena/oln/core/typedefs.hh,
      	* olena/oln/core/abstract/image.hh,
      	* olena/oln/core/abstract/image_entry.hh,
      	* olena/oln/core/abstract/macros.hh,
      	* olena/oln/core/abstract/image_dimension.hh,
      	* olena/oln/core/abstract/any.hh,
      	* olena/oln/core/abstract/internal/image_impl.hh: .
      	* olena/tests/image_entry.cc: Fix the FSF postal address.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@465 4aad255d-cdde-0310-9447-f3009e2ae8c0
      bab301fd
    • Roland Levillain's avatar
      Move mlc::any to stc::. · b5306019
      Roland Levillain authored
      	* metalic/mlc/any.hh: Move file...
      	* static/stc/any.hh: ...here.
      	Adjust.
      	* olena/oln/core/abstract/any.hh: Adjust client.
      	* metalic/tests/any.cc: Move test...
      	* static/tests/any.cc: ...here.
      	Adjust test.
      	* metalic/mlc/Makefile.am (nobase_mlc_HEADERS): Move any.cc...
      	* static/stc/Makefile.am (nobase_stc_HEADERS): ...here.
      	* metalic/tests/Makefile.am (check_PROGRAMS): Move any
      	* static/tests/Makefile.am (check_PROGRAMS): ...here
      	* metalic/tests/Makefile.am (any_SOURCES): Move variable...
      	* static/tests/Makefile.am (any_SOURCES): ...here
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@464 4aad255d-cdde-0310-9447-f3009e2ae8c0
      b5306019
    • Roland Levillain's avatar
      * configure.ac: Configure olena/oln/Makefile and · 148397f7
      Roland Levillain authored
      	olena/tests/Makefile.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@463 4aad255d-cdde-0310-9447-f3009e2ae8c0
      148397f7
  2. 20 Apr, 2006 1 commit
  3. 14 Mar, 2006 3 commits
    • Roland Levillain's avatar
      * ChangeLog, metalic/ChangeLog: Clean up ChangeLogs. · 462384ca
      Roland Levillain authored
      	* extended/ChangeLog: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@425 4aad255d-cdde-0310-9447-f3009e2ae8c0
      462384ca
    • Roland Levillain's avatar
      New subproject: Static (`stc' for short). · 1eadf52f
      Roland Levillain authored
      	Move the SCOOP machinery (virtual types/properties) from Metalic
      	to Static.
      
      	* configure.ac (static/Makefile, static/stc/Makefile)
      	(static/tests/Makefile): Configure these files.
      	* metalic/stc/properties.hh: Move...
      	* static/stc/properties.hh: ...here.
      	(mlc_internal_get_typedef, mlc_equip_namespace_with_properties)
      	(mlc_set_super, mlc_super, mlc_super_, mlc_typeof, mlc_typeof_):
      	Rename as...
      	(stc_internal_get_typedef, stc_equip_namespace_with_properties)
      	(stc_set_super, stc_super, stc_super_, stc_typeof, stc_typeof_):
      	...this.
      	Adjust.
      	* metalic/tests/properties.cc: Move...
      	* static/tests/properties.cc: ...here.
      	Adjust.
      	* Makefile.am (SUBDIRS): Add static.
      	* static/Makefile.am, static/stc/Makefile.am,
      	* static/tests/Makefile.am: New.
      	* metalic/mlc/Makefile.am (nobase_mlc_HEADERS): Remove
      	properties.hh.
      	* metalic/tests/Makefile.am (check_PROGRAMS): Remove properties.
      	(properties_SOURCES): Remove.
      	* extended/tests/Makefile.am (AM_CPPFLAGS): Add
      	-I$(top_srcdir)/metalic.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@424 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1eadf52f
    • Roland Levillain's avatar
      Catch up with recent changes and fix some tests of Metalic. · 8b4beec4
      Roland Levillain authored
      	* metalic/mlc/properties.hh (mlc_equip_namespace_with_properties):
      	Catch up with recent changes in typedef.hh/ret.hh.
      	Don't declare a local `ret' typedef; include mlc/ret.hh, and use
      	the `mlc_ret' macro instead.
      	* metalic/mlc/cmp.hh (eq_<T, T>): Solve ambiguous calls to
      	ensure().
      	* metalic/tests/ret.cc: Include mlc/ret.hh instead of
      	mlc/typedef.hh.
      	* extended/tests/Makefile.am (mlcdir, nobase_mlc_HEADERS): Remove.
      	(AM_CPPFLAGS): New.
      	* extended/xtd/Makefile.am: New file.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@423 4aad255d-cdde-0310-9447-f3009e2ae8c0
      8b4beec4
  4. 03 Mar, 2006 1 commit
  5. 20 Feb, 2006 1 commit
    • Roland Levillain's avatar
      Revamp the virtual types (aka properties) system. · 119255ef
      Roland Levillain authored
      No longer use the C++'s inheritance mechanism to ``pack'' the
      internal vtypes of a class.  Rely on a metacode algorithm to
      recursively look for vtypes in internal and external vtypes
      instead, using both the super link and a ``pseudosuper'' link to
      visit the upper classes.  The set/get classes have been replaced
      by a single class (in fact, by two classes, one for internal
      vtypes, the other for external vtypes).  The pseudosuper link is
      used to inherit (or fetch) the vtypes from a given class, without
      needing to inherit from this class.
      
      - metalic/mlc/properties.hh (mlc_equip_namespace_with_properties):
      Rewrite this macro.
      (set_types, set_ext_types): Rename as...
      (vtypes, ext_vtypes): ...this.
      (get_types, get_ext_type): Remove.
      - metalic/tests/properties.cc: Update the test.
      Check for new cases (external vtype, pseudo inheritance of
      vtypes).
      (rec_get_vtype, rec_get_ext_vtype): New.
      This class holds the algorithm for the recursive retrieval of
      internal/external vtypes.
      (typeof_): Adjust.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@414 4aad255d-cdde-0310-9447-f3009e2ae8c0
      119255ef
  6. 16 Feb, 2006 1 commit
  7. 14 Feb, 2006 1 commit
  8. 25 Jan, 2006 2 commits
    • Roland Levillain's avatar
      Move Metalic-related entries in their own ChangeLog. · 34bd6bb2
      Roland Levillain authored
      - metalic/mlc: Move Metalic-related entries...
      - metalic/ChangeLog: ...here (new).
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@385 4aad255d-cdde-0310-9447-f3009e2ae8c0
      34bd6bb2
    • Thierry Geraud's avatar
      Clean up of core mlc classes and add some documentation. · e398d9d6
      Thierry Geraud authored
      A lot of cleanups.  Client concrete classes in mlc are now all
      postfixed by '_'.  For instance, we have and_, int_, and so on.
      
      - metalic: New.
      - metalic/mlc: New.
      - metalic/mlc/type.hh: New.
      - metalic/mlc/bool.hh: New.
      (abstract::boolean): New class.
      (bool_): New class.
      (value, true_type, false_type): Rename as...
      (value_, true_, false_): ...these.
      (ors, ands): Rename as...
      (ors_, ands_): ...these.
      (internal): Cosmetic change.
      (is_true, is_false): Remove.
      (true_, false_): New typedef ensure_t.
      - metalic/mlc/is_a.hh: New.
      (form): Move in the internal namespace cause names are too long
      for a decent client use.
      - metalic/mlc/value.hh: New.
      (value): Rename as...
      (value_): ...this.
      (mlc_internal_decl_unsigned_): New macro.
      (mlc_internal_decl_signed_): New macro.
      (uchar_, ushort_, uint_, ulong_): New classes.
      (schar_, short_, int_, long_): New classes.
      (is_value, is_not_value): New meta-functions.
      - metalic/mlc/flags.hh: New.
      (flag): New abstract class.
      (undefined_type, unknown_type, no_type): Rename as...
      (undefined, unknown, none): ...these.
      (not_ok): Remove cause useless.
      - metalic/mlc/cmp.hh: New.
      (eq, neq): Rename as...
      (eq_, neq_): ...these.
      (is_found, is_not_found, is_ok): Remove cause irrelevant here.
      (mlc_is_found, mlc_is_not_found): Likewise.
      - metalic/mlc/typedef.hh: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@384 4aad255d-cdde-0310-9447-f3009e2ae8c0
      e398d9d6
  9. 24 Jan, 2006 2 commits