1. 05 Jun, 2006 3 commits
    • Roland Levillain's avatar
      Catch up with Static's support for multiple inheritance. · 93086a11
      Roland Levillain authored
      	* oln/core/1d/grid1d.hh, oln/core/2d/grid2d.hh,
      	* oln/core/3d/grid3d.hh: s/stc_super_/stc_get_supers/.
      	* tests/image_entry.cc: Add a missing `public' qualifier for
      	exported types.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@494 4aad255d-cdde-0310-9447-f3009e2ae8c0
      93086a11
    • Roland Levillain's avatar
      Allow multiple super classes in SCOOP's static hierarchies. · 25c08dec
      Roland Levillain authored
      	* stc/valist_aggregator.hh: New.
      	* stc/vtypes.hh: Include it.
      	(ERROR::PARAMETER_OF_get_super_types_helper_IS_NOT_A_VALID_VALIST):
      	New struct.
      	(set_super_type): Inherit from mlc::undefined by default.
      	(internal::maybe_super_type, get_supers_list)
      	(internal::get_super_types_helper, get_super_types)
      	(rec_get_vtype): s/stc_super/stc_get_super/.
      	s/stc_pseudosuper/stc_get_pseudosuper/.
      	(stc_set_super): Remove previous definition of this macro, and
      	make it a shortcut for...
      	(stc_set_nth_super): ...this one (new).
      	(stc_get_supers, stc_get_nth_super_, stc_get_nth_super_)
      	(stc_get_super_, stc_get_super_): New macros.
      	(stc_super, stc_super_): Remove macros.
      	(stc_pseudosuper, stc_pseudosuper_): Rename macros as...
      	(stc_get_pseudosuper, stc_get_pseudosuper_): ...these.
      	* tests/super.cc, tests/multiple-supers.cc: New tests.
      	* tests/vtypes.cc: s/stc_get_supers_/stc_get_supers/g.
      	* stc/Makefile.am (nobase_stc_HEADERS): Add exact.hh
      	and valist_aggregator.hh.
      	* tests/Makefile.am (check_PROGRAMS): Add multiple-supers, super.
      	(multiple_supers_SOURCES, super_SOURCES): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@493 4aad255d-cdde-0310-9447-f3009e2ae8c0
      25c08dec
    • Roland Levillain's avatar
      Replace stc::internal::not_user_defined with mlc::undefined. · 7f0677cf
      Roland Levillain authored
      	* stc/entry.hh (internal::not_user_defined): Remove class.
      	s/internal::not_user_defined/mlc::undefined/g.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@492 4aad255d-cdde-0310-9447-f3009e2ae8c0
      7f0677cf
  2. 01 Jun, 2006 5 commits
  3. 18 May, 2006 1 commit
    • Thomas Moulard's avatar
      Add stc::exact. · 97bac643
      Thomas Moulard authored
      	* static/tests/exact.cc: test suite of stc::exact (new file).
      	* static/stc/exact.hh: implementation of stc::exact (new file).
      	* static/stc/any.hh: adding a typedef exact_t in stc::any.
      	* metalic/mlc/case.hh: fixing a bug in the protected defaults cases.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@486 4aad255d-cdde-0310-9447-f3009e2ae8c0
      97bac643
  4. 06 May, 2006 1 commit
  5. 05 May, 2006 1 commit
    • Quentin Hocquet's avatar
      Scool parser. · c301f691
      Quentin Hocquet authored
      - tools: New.
      - tools/test.yml: New.
      - tools/transformer: New.
      - tools/transformer/scoolc.str: New.
      - tools/transformer/Makefile: New.
      - tools/tests: New.
      - tools/tests/syntax error: New.
      - tools/tests/syntax error/wrong.scl: New.
      - tools/tests/parse-ref: New.
      - tools/tests/parse-ref/vardec.ref: New.
      - tools/tests/parse-ref/fundec.ref: New.
      - tools/tests/parse-ref/funcall_no-args.ref: New.
      - tools/tests/parse-ref/emtpy-class_dec.ref: New.
      - tools/tests/parse-ref/empty-class_dec.ref: New.
      - tools/tests/parse-ref/varinit.ref: New.
      - tools/tests/parse-ref/no-args_funtype.ref: New.
      - tools/tests/parse-ref/manydec.ref: New.
      - tools/tests/parse-ref/class_dec.ref: New.
      - tools/tests/parse-ref/wiki1.ref: New.
      - tools/tests/parse-ref/funcall.ref: New.
      - tools/tests/parse-ref/bi-exp.ref: New.
      - tools/tests/parse-ref/function.ref: New.
      - tools/tests/parse-ref/wiki2.ref: New.
      - tools/tests/parse-ref/consinit.ref: New.
      - tools/tests/parse-ref/wiki3.ref: New.
      - tools/tests/parse-ref/funtype.ref: New.
      - tools/tests/parse-ref/empty.ref: New.
      - tools/tests/parse-ref/type_static-call.ref: New.
      - tools/tests/parse-ref/guard.ref: New.
      - tools/tests/good: New.
      - tools/tests/good/type_static-call.scl: New.
      - tools/tests/good/guard.scl: New.
      - tools/tests/good/fundec.scl: New.
      - tools/tests/good/vardec.scl: New.
      - tools/tests/good/funcall_no-args.scl: New.
      - tools/tests/good/varinit.scl: New.
      - tools/tests/good/empty-class_dec.scl: New.
      - tools/tests/good/manydec.scl: New.
      - tools/tests/good/class_dec.scl: New.
      - tools/tests/good/no-args_funtype.scl: New.
      - tools/tests/good/bi-exp.scl: New.
      - tools/tests/good/wiki1.scl: New.
      - tools/tests/good/funcall.scl: New.
      - tools/tests/good/wiki2.scl: New.
      - tools/tests/good/function.scl: New.
      - tools/tests/good/consinit.scl: New.
      - tools/tests/good/wiki3.scl: New.
      - tools/tests/good/funtype.scl: New.
      - tools/tests/good/empty.scl: New.
      - tools/scoolc: New.
      - tools/gen.yml: New.
      - tools/parser: New.
      - tools/parser/grammar: New.
      - tools/parser/grammar/Class.sdf: New.
      - tools/parser/grammar/Decl.sdf: New.
      - tools/parser/grammar/Exp.sdf: New.
      - tools/parser/grammar/ExpOrType.sdf: New.
      - tools/parser/grammar/Scool.sdf: New.
      - tools/parser/grammar/Lexical.sdf: New.
      - tools/parser/grammar/Type.sdf: New.
      - tools/parser/grammar/Guard.sdf: New.
      - tools/parser/grammar/Stm.sdf: New.
      - tools/parser/parse-scool: New.
      - tools/parser/Makefile: New.
      - tools/Makefile: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@482 4aad255d-cdde-0310-9447-f3009e2ae8c0
      c301f691
  6. 02 May, 2006 1 commit
    • Roland Levillain's avatar
      Fix a duplicate where-clause and perform some aesthetic changes in · 1f95808f
      Roland Levillain authored
      	image abstractions.
      
      	* oln/core/abstract/image_dimension.hh: Move the static switch
      	statement before the cases.
      	Aesthetic changes.
      	* olena/oln/core/abstract/image_typeness.hh: Likewise.
      	(case_<value_type_tag, value_type, 2>): Fix a copy-and-paste bug:
      	remove a duplicate `unsigned char' type in the where-clause and
      	replace it with `signed char'.
      	* oln/core/abstract/image_typeness_integre.hh,
      	* tests/image_entry.cc: Aesthetic changes.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@481 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1f95808f
  7. 27 Apr, 2006 1 commit
    • Roland Levillain's avatar
      Add image ``typeness'' abstraction hierarchy. · 6e0342df
      Roland Levillain authored
      	* tests/image_entry.cc (my): Check image_typeness_type vtype and
      	inheritance.
      	* oln/core/typedefs.hh (value_type, image_typeness_type): Enable
      	typedef.
      	* oln/core/abstract/image.hh (vtypes::value_type): Enable typedef.
      	(packed_vtypes::value_type): New typedef.
      	(packed_vtypes::echo): Print value_type and image_typeness_type.
      	(packed_vtypes::ensure): Check value_type and image_typeness_type.
      	(image::value_type): Enable typedef.
      	* oln/core/abstract/image_entry.hh: Include images abstractions
      	headers.
      	Don't include mlc/case.hh nor oln/core/abstract/image.hh.
      	(mlc_case_equipment_for_namespace(oln))
      	(abstraction_tags): Move...
      	* oln/core/abstract/image_abstractions.hh: ...here (new file).
      	* oln/core/abstract/image_dimension.hh: Include it.
      	Include stc/entry.hh.
      	Aesthetic changes.
      	* oln/core/abstract/image_typeness.hh: New file (imported from
      	Olena proto-1.0, and modified).
      	* oln/core/abstract/image_typeness_integre.hh: New file
      	* oln/Makefile.am (nobase_oln_HEADERS): Add
      	core/abstract/image_abstractions.hh,
      	core/abstract/image_typeness.hh and
      	core/abstract/image_typeness_integre.hh.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@480 4aad255d-cdde-0310-9447-f3009e2ae8c0
      6e0342df
  8. 26 Apr, 2006 2 commits
  9. 25 Apr, 2006 9 commits
    • Roland Levillain's avatar
      * oln/core/abstract/image_dimension.hh: Add some more · 686d8b7e
      Roland Levillain authored
      	documentation.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@477 4aad255d-cdde-0310-9447-f3009e2ae8c0
      686d8b7e
    • Roland Levillain's avatar
      Re-enable exact_type vtype. · 47828780
      Roland Levillain authored
      	* oln/core/typedefs.hh (oln_super_of_, oln_super2_of_)
      	(oln_super3_of_, oln_super_of): Remove macros.
      	(exact_type): Enable this typedef.
      	* oln/core/abstract/image.hh (packed_vtypes::exact_type): New
      	typedef.
      	(packed_vtypes::echo): Print exact_type.
      	(packed_vtypes::ensure): Check exact_type.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@476 4aad255d-cdde-0310-9447-f3009e2ae8c0
      47828780
    • Roland Levillain's avatar
      * oln/core/typedefs.hh: s/properties/vtypes/. · d53afee5
      Roland Levillain authored
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@475 4aad255d-cdde-0310-9447-f3009e2ae8c0
      d53afee5
    • Roland Levillain's avatar
      Rename stc/properties.hh as stc/vtypes.hh. · 6f511602
      Roland Levillain authored
      	* stc/properties.hh: Rename as...
      	* stc/vtypes.hh: ...this.
      	(stc_equip_namespace_with_properties): Rename as...
      	(stc_equip_namespace_with_vtypes): ...this.
      	Adjust.
      	* stc/Makefile.am (nobase_stc_HEADERS): Rename properties.hh as
      	vtypes.hh.
      	* tests/properties.cc: Rename as...
      	* tests/vtypes.cc: ...this.
      	Adjust.
      	* tests/entry.cc: Adjust.
      	* tests/Makefile.am (check_PROGRAMS): Rename properties as vtypes.
      	(properties_SOURCES): Likewise.
      	Rename variable as...
      	(vtypes_SOURCES): ...this.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@474 4aad255d-cdde-0310-9447-f3009e2ae8c0
      6f511602
    • Roland Levillain's avatar
      Catch up with the latest name changes in Static. · ae839f7b
      Roland Levillain authored
      	* oln/core/abstract/image_dimension.hh
      	(case_<grid_dim_tag, grid_type, 1>)
      	(case_<grid_dim_tag, grid_type, 2>)
      	(case_<grid_dim_tag, grid_type, 3>):
      	s/stc::is_a/stc::abstraction_as_type/.
      	* oln/core/abstract/macros.hh (oln_type_of, oln_type_of_)
      	* oln/core/abstract/grid.hh (oln_grd_type_of, oln_grd_type_of_):
      	Catch up with the new names of Static macros.
      	* tests/image_entry.cc: Adjust test.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@473 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ae839f7b
    • Roland Levillain's avatar
      Rename some Static entities. · da0ac502
      Roland Levillain authored
      	* stc/properties.hh (typeof_): Rename class as...
      	(type_of_): ...this.
      	(stc::is_a): Rename class as...
      	(stc::abstraction_as_type): ...this.
      	(stc_typeof, stc_typeof_, stc_typeof_in_namespace)
      	(stc_typeof_in_namespace_): Rename macros as...
      	(stc_local_type_of, stc_local_type_of_, stc_type_of)
      	(stc_type_of_): ...these.
      	* tests/properties.cc: Adjust test.
      	* tests/entry.cc: Typos in comments.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@472 4aad255d-cdde-0310-9447-f3009e2ae8c0
      da0ac502
    • Roland Levillain's avatar
      Plug image_entry's inheritance to the right image dimension · be241bbb
      Roland Levillain authored
      	abstraction according to the grid type of the exact image type.
      
      	* oln/core/abstract/image_entry.hh: Add switch/case equipment in
      	the oln namespace.
      	* oln/core/abstract/image_dimension.hh
      	(grid_dim_tag)
      	(case_<grid_dim_tag, grid_type, 1>)
      	(case_<grid_dim_tag, grid_type, 2>)
      	(case_<grid_dim_tag, grid_type, 3>)
      	(default_case_<grid_dim_tag, grid_type>): New Metalic switch/case
      	on grid type, returning the corresponding image dimension type.
      	(set_entry_node<I, oln::abstract::dimension_tag>): Use this Metalic
      	switch/case to choose the dimension abstraction in the inheritance
      	tree.
      	* oln/core/abstract/image.hh (vtypes): Don't define
      	image_dimension_type as an internal vtype, instead...
      	* oln/core/abstract/image_dimension.hh
      	(oln::ext_vtype<category::image, abstract::image<I>,
      	typedef_::image_dimension_type>): ...define it externally, using
      	the switch used inheritance-plugging mechanism based on the grid
      	type.
      	* tests/image_entry.cc (oln): Adjust.
      	Check my::image's virtual types.
      	Print my::image's vtypes on the standard output.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@471 4aad255d-cdde-0310-9447-f3009e2ae8c0
      be241bbb
    • Roland Levillain's avatar
      Add grids. · ec13303d
      Roland Levillain authored
      	* oln/core/abstract/grid.hh,
      	* oln/core/1d/grid1d.hh,
      	* oln/core/2d/grid2d.hh,
      	* oln/core/3d/grid3d.hh: New files (imported from Olena proto-1.0,
      	and modified).
      	* oln/core/typedefs.hh (grid_type, point_type, dpoint_type)
      	(size_type, dimvalue_type, coord_type): Enable these types.
      	* oln/core/abstract/image.hh (grid_type): Don't mlc-declare this
      	typedef, since oln/core/typedefs.hh already takes care of it.
      	(vtypes< category::image, abstract::image<I> >): Enable	grid_type.
      	(packed_vtypes): Likewise.
      	* oln/core/abstract/internal/image_impl.hh: Improve comment.
      	* tests/grid.cc: New test.
      	* tests/image_entry.cc: Update this test.
      	* oln/Makefile.am (nobase_oln_HEADERS): Add core/abstract/grid.hh,
      	core/1d/grid1d.hh, core/2d/grid2d.hh and core/3d/grid3d.hh.
      	* tests/Makefile.am (check_PROGRAMS): Add grid.
      	(grid_SOURCES): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@470 4aad255d-cdde-0310-9447-f3009e2ae8c0
      ec13303d
    • Roland Levillain's avatar
      Allow the use of Metalic values as virtual types. · 2d1de25d
      Roland Levillain authored
      	* stc/properties.hh (mlc::eqv, mlc::neqv): New (workaround)
      	classes.
      	(mlc_eqv, mlc_neqv): New macros.
      	(rec_get_vtype, rec_get_ext_vtype): Use them, to allow the use of
      	Metalic values as virtual types.
      	* tests/properties.cc: Ensure Metalic values can be valid
      	virtual types.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@469 4aad255d-cdde-0310-9447-f3009e2ae8c0
      2d1de25d
  10. 22 Apr, 2006 2 commits
  11. 21 Apr, 2006 5 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
    • Roland Levillain's avatar
      Lay the foundation stone of abstract::image. · 649d49ab
      Roland Levillain authored
      	* oln/core/abstract/any.hh, oln/core/typedefs.hh,
      	* oln/core/abstract/image.hh,
      	* oln/core/abstract/internal/image_impl.hh
      	* oln/core/abstract/image_entry.hh
      	* oln/core/abstract/image_dimension.hh: New files (imported from
      	Olena proto-1.0, and modified).
      	* oln/core/abstract/macros.hh: New file.
      	* tests/image_entry.cc: New test.
      	* Makefile.am, oln/Makefile.am, tests/Makefile.am: New files.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@462 4aad255d-cdde-0310-9447-f3009e2ae8c0
      649d49ab
  12. 20 Apr, 2006 4 commits
  13. 11 Apr, 2006 2 commits
    • Thierry Geraud's avatar
      Fix some icpc remarks and update operator traits. · 1f570ebc
      Thierry Geraud authored
      - xtd/res.hh (macros): Add spaces to fix pb with icpc preproc.
      - xtd/args.hh (xtd_nargs): Likewise.
      - xtd/math/abs.hh (internal::int_): Handwrite code.
      - xtd/math/pow.hh: Cosmetics.
      - xtd/math/arith.hh: Add comments.
      - xtd/literal.hh (argument): Remove reference so that temporaries
      are copied.
      - xtd/abstract/fun_nary_expr.hh: Likewise.
      - xtd/bind.hh: Likewise.
      - xtd/abstract/any.hh: Remove cause obsolete.
      - xtd/abstract/fun.hh: Add doc.
      (abstract::fun_): Disable imperative operators.
      - xtd/abstract/plain_fun.hh: Add doc.
      - xtd/optraits.hh: Rewrite.
      - xtd/traits.hh: New.
      - xtd/builtin/traits.hh: Replace dummy code by effective one.
      - xtd/internal/opmacros.hh: Rewrite.
      - xtd/internal/mlc.hh: Add include.
      - tests: Add ignore rule for '.deps'.
      - tests/cfun.cc: Fix icpc remark.
      - tests/abs.cc: New.
      - tests/optraits.cc: New.
      - tests/Makefile.am: Update.
      - tests/bi_traits: New directory to test builtin op traits.
      - tests/bi_traits/bool.cc: New.
      - tests/bi_traits/char.cc: New.
      - tests/bi_traits/sint.cc: New.
      - tests/bi_traits/uint.cc: New.
      - tests/bi_traits/schar.cc: New.
      - tests/bi_traits/slong.cc: New.
      - tests/bi_traits/uchar.cc: New.
      - tests/bi_traits/sshort.cc: New.
      - tests/bi_traits/ulong.cc: New.
      - tests/bi_traits/ushort.cc: New.
      - tests/bi_traits/float.cc: New.
      - tests/bi_traits/ldouble.cc: New.
      - tests/bi_traits/double.cc: New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@457 4aad255d-cdde-0310-9447-f3009e2ae8c0
      1f570ebc
    • Thierry Geraud's avatar
      Fix some warnings with icpc; add is_built_in_. · 93db4c3a
      Thierry Geraud authored
      - tests (svn:ignore): Add '.deps'.
      - tests/case.cc: Fix warning with icpc.
      - tests/gcase.cc: New file.
      - mlc/abstract: New directory.
      - mlc/type.hh: Rename as...
      - mlc/abstract/type.hh: ...this.
      - mlc/bexpr.hh (abstract::bexpr): Move to...
      - mlc/abstract/bexpr.hh: ...this new file.
      - mlc/flags.hh: Update include.
      - mlc/value.hh: Update include.
      - mlc/ret.hh: Add separators in macros to fix error with icpc.
      - mlc/assert.hh: Add dtor to fix warning with icpc.
      - mlc/case.hh (internal::a_get_case): New flag.
      (get_case_): New class; it differs from case_ in remaining silent
      when no case matches.
      - mlc/cmp.hh (is_builtin_): New class with its specializations.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@453 4aad255d-cdde-0310-9447-f3009e2ae8c0
      93db4c3a
  14. 04 Apr, 2006 3 commits
    • Thierry Geraud's avatar
      Add some math functions and clean up file deps. · 47f9e9c3
      Thierry Geraud authored
      - xtd/math.hh: Add includes.
      - xtd/math/log.hh: New.
      - xtd/math/floor.hh: New.
      - xtd/math/log10.hh: New.
      - xtd/math/tan.hh: New.
      - xtd/math/atan.hh: New.
      - xtd/math/cos.hh: New.
      - xtd/math/trigo.hh: Remove; dispatch contents into several files.
      - xtd/math/acos.hh: New.
      - xtd/math/sin.hh: New.
      - xtd/math/sqrt.hh: New.
      - xtd/math/asin.hh: New.
      - xtd/math/tanh.hh: New.
      - xtd/math/exp.hh: New.
      - xtd/math/cosh.hh: New.
      - xtd/math/id.hh: Update includes.
      - xtd/math/sinh.hh: New.
      - xtd/math/atan2.hh: New.
      - xtd/math/abs.hh: New.
      - xtd/math/pow.hh: New.
      - xtd/math/includes.hh: New.
      - xtd/math/constraints.hh: New.
      - xtd/math/ceil.hh: New.
      - xtd/ops_expr.hh: Remove; dispatch contents into...
      - xtd/internal/opmacros.hh: ...this new file and the following three
      files.
      - xtd/math/arith.hh: Update.
      - xtd/math/cmp.hh: New.
      - xtd/math/logic.hh: New.
      - xtd/traits.hh: Rename as...
      - xtd/optraits.hh: ...this; update.
      - xtd/builtin/traits.hh: Update.
      - tests/cos.cc: Update.
      - tests/Makefile.am: Update.
      - tests/math.cc: New.
      - tests/cast.cc: Update.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@450 4aad255d-cdde-0310-9447-f3009e2ae8c0
      47f9e9c3
    • Roland Levillain's avatar
      Add mlc::any. · 19b21d7a
      Roland Levillain authored
      	* mlc/contract.hh: New (imported from Olena proto-1.0).
      	* mlc/any.hh: New (imported from Olena proto-1.0).
      	Aesthetic changes.
      	(any__simple): New class.
      	* mlc/is_a.hh (mlc_is_a, mlc_is_not_a): Use the `template' keyword
      	to remove an ambiguity w.r.t the nature of the template struct
      	`ret' within mlc::form::of.
      	* tests/any.cc: New test.
      	* tests/Makefile.am (check_PROGRAMS): Add any.
      	(any_SOURCES): New.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@449 4aad255d-cdde-0310-9447-f3009e2ae8c0
      19b21d7a
    • Roland Levillain's avatar
      Static: Catch up with current Metalic. · 6a1f674e
      Roland Levillain authored
      	* tests/entry.cc (mlc::abort_): Remove this fake and use
      	mlc/abort.hh instead.
      	* stc/properties.hh: s/mlc::is_found/mlc::is_found_/g.
      
      
      git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@448 4aad255d-cdde-0310-9447-f3009e2ae8c0
      6a1f674e