#206: Add the sources of the images of the ISMM 2009 paper to the Olena
repository
-----------------------------------+----------------------------------------
Reporter: levill_r | Owner: levill_r
Type: enhancement | Status: new
Priority: minor | Milestone: Olena 1.1
Component: other | Version: 1.0
Keywords: reproducible research |
-----------------------------------+----------------------------------------
Most of the work is already done, since the repository of the ISMM 2009
paper contains the material to automatically generate the images (needs
some clean up though).
Once moved to the Olena repository, remove the generators from the ISMM
2009 repository and only keep the end products (and possibly add Make
rules to automate the update (copy) of the images from the Olena
repository).
--
Ticket URL: <https://trac.lrde.org/olena/ticket/206>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.
#173: Complete the graph fusion example started with Géraud Béguin
----------------------+-----------------------------------------------------
Reporter: levill_r | Owner: Olena Team
Type: task | Status: new
Priority: minor | Milestone:
Component: other | Version: 1.0
Keywords: IGR |
----------------------+-----------------------------------------------------
See:
* source:branches/cleanup-2008/milena/sandbox/beguin/irm.cc
* source:branches/cleanup-2008/milena/sandbox/beguin/fusion_graph.hh
--
Ticket URL: <https://trac.lrde.org/olena/ticket/173>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.
* mln/core/box_runend_piter.hh: New iterator.
* tests/core/other/Makefile.am,
* tests/core/other/box_runend_piter.cc: New test.
---
milena/ChangeLog | 9 ++
milena/mln/core/box_runend_piter.hh | 178 +++++++++++++++++++++++++++
milena/tests/core/other/Makefile.am | 2 +
milena/tests/core/other/box_runend_piter.cc | 41 ++++++
4 files changed, 230 insertions(+), 0 deletions(-)
create mode 100644 milena/mln/core/box_runend_piter.hh
create mode 100644 milena/tests/core/other/box_runend_piter.cc
diff --git a/milena/ChangeLog b/milena/ChangeLog
index cdfda50..f835a42 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,3 +1,12 @@
+2009-11-09 Guillaume Lazzara <z(a)lrde.epita.fr>
+
+ Add box_runend_piter.
+
+ * mln/core/box_runend_piter.hh: New iterator.
+
+ * tests/core/other/Makefile.am,
+ * tests/core/other/box_runend_piter.cc: New test.
+
2009-11-03 Guillaume Lazzara <z(a)lrde.epita.fr>
* mln/value/label_32.hh: New.
diff --git a/milena/mln/core/box_runend_piter.hh b/milena/mln/core/box_runend_piter.hh
new file mode 100644
index 0000000..a0b1d32
--- /dev/null
+++ b/milena/mln/core/box_runend_piter.hh
@@ -0,0 +1,178 @@
+// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
+//
+// This file is part of Olena.
+//
+// Olena is free software: you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the Free
+// Software Foundation, version 2 of the License.
+//
+// Olena is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Olena. If not, see <http://www.gnu.org/licenses/>.
+//
+// As a special exception, you may use this file as part of a free
+// software project without restriction. Specifically, if other files
+// instantiate templates or use macros or inline functions from this
+// file, or you compile this file and link it with other files to produce
+// an executable, this file does not by itself cause the resulting
+// executable to be covered by the GNU General Public License. This
+// exception does not however invalidate any other reasons why the
+// executable file might be covered by the GNU General Public License.
+
+#ifndef MLN_CORE_BOX_RUNEND_PITER_HH
+# define MLN_CORE_BOX_RUNEND_PITER_HH
+
+/// \file
+///
+/// Definition of iterators on points by lines.
+
+# include <mln/core/internal/site_iterator_base.hh>
+# include <mln/core/site_set/box.hh>
+
+
+#define mln_box_runend_piter(I) typename mln::box_runend_piter<mln_psite(I)>
+#define mln_box_runend_piter_(I) mln::box_runend_piter<mln_psite(I)>
+
+
+namespace mln
+{
+
+ /*! \brief A generic backward iterator on points by lines.
+ *
+ * The parameter \c P is the type of points.
+ */
+ template <typename P>
+ class box_runend_piter :
+ public internal::site_set_iterator_base< box<P>,
+ box_runend_piter<P> >
+ {
+ typedef box_runend_piter<P> self_;
+ typedef internal::site_set_iterator_base< box<P>, self_ > super_;
+ public:
+
+ // Make definitions from super class available.
+ enum { dim = super_::dim };
+
+ /*! \brief Constructor.
+ *
+ * \param[in] b A box.
+ */
+ box_runend_piter(const box<P>& b);
+
+ /// Delayed initialization.
+ void init_(const box<P>& b);
+
+ box_runend_piter();
+
+ /// Test the iterator validity.
+ bool is_valid_() const;
+
+ /// Invalidate the iterator.
+ void invalidate_();
+
+ /// Start an iteration.
+ void start_();
+
+ /// Go to the next point.
+ void next_();
+
+ /// Give the lenght of the run
+ unsigned run_length() const;
+
+ private:
+ using super_::p_;
+ using super_::s_;
+ };
+
+
+# ifndef MLN_INCLUDE_ONLY
+
+
+ // box_runend_piter<P>
+
+ template <typename P>
+ inline
+ box_runend_piter<P>::box_runend_piter()
+ {
+ }
+
+ template <typename P>
+ inline
+ box_runend_piter<P>::box_runend_piter(const box<P>& b)
+ {
+ init_(b);
+ }
+
+ template <typename P>
+ inline
+ void
+ box_runend_piter<P>::init_(const box<P>& b)
+ {
+ this->change_target(b);
+ }
+
+
+ template <typename P>
+ inline
+ bool
+ box_runend_piter<P>::is_valid_() const
+ {
+ return p_[0] != static_cast<mln_coord(P)>(s_->pmin()[0] - 1);
+ }
+
+ template <typename P>
+ inline
+ void
+ box_runend_piter<P>::invalidate_()
+ {
+ p_[0] = static_cast<mln_coord(P)>(s_->pmin()[0] - 1);
+ }
+
+ template <typename P>
+ inline
+ void
+ box_runend_piter<P>::start_()
+ {
+ p_ = s_->pmax();
+ }
+
+ template <typename P>
+ inline
+ void
+ box_runend_piter<P>::next_()
+ {
+ // Do we want this run for image in 3d?
+ for (int c = dim - 2; c >= 0; --c)
+ {
+ if (p_[c] != s_->pmin()[c])
+ {
+ --p_[c];
+ break;
+ }
+ else
+ p_[c] = s_->pmax()[c];
+ }
+
+ if (p_ == s_->pmax())
+ invalidate_();
+ }
+
+ template <typename P>
+ inline
+ unsigned
+ box_runend_piter<P>::run_length() const
+ {
+ return s_->len(dim - 1);
+ }
+
+
+# endif // ! MLN_INCLUDE_ONLY
+
+} // end of namespace mln
+
+
+#endif // ! MLN_CORE_BOX_RUNEND_PITER_HH
diff --git a/milena/tests/core/other/Makefile.am b/milena/tests/core/other/Makefile.am
index b86e4e3..9443837 100644
--- a/milena/tests/core/other/Makefile.am
+++ b/milena/tests/core/other/Makefile.am
@@ -21,6 +21,7 @@ include $(top_srcdir)/milena/tests/tests.mk
check_PROGRAMS = \
box_runstart_piter \
+ box_runend_piter \
category \
dpoints_pixter \
graph_elt_neighborhood \
@@ -40,6 +41,7 @@ check_PROGRAMS = \
w_window
box_runstart_piter_SOURCES = box_runstart_piter.cc
+box_runend_piter_SOURCES = box_runend_piter.cc
category_SOURCES = category.cc
dpoints_pixter_SOURCES = dpoints_pixter.cc
graph_elt_neighborhood_SOURCES = graph_elt_neighborhood.cc
diff --git a/milena/tests/core/other/box_runend_piter.cc b/milena/tests/core/other/box_runend_piter.cc
new file mode 100644
index 0000000..fe7cb43
--- /dev/null
+++ b/milena/tests/core/other/box_runend_piter.cc
@@ -0,0 +1,41 @@
+// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
+//
+// This file is part of Olena.
+//
+// Olena is free software: you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the Free
+// Software Foundation, version 2 of the License.
+//
+// Olena is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Olena. If not, see <http://www.gnu.org/licenses/>.
+//
+// As a special exception, you may use this file as part of a free
+// software project without restriction. Specifically, if other files
+// instantiate templates or use macros or inline functions from this
+// file, or you compile this file and link it with other files to produce
+// an executable, this file does not by itself cause the resulting
+// executable to be covered by the GNU General Public License. This
+// exception does not however invalidate any other reasons why the
+// executable file might be covered by the GNU General Public License.
+
+#include <mln/core/alias/box2d.hh>
+#include <mln/core/box_runend_piter.hh>
+
+
+int main()
+{
+ using namespace mln;
+
+ box2d b(3,3);
+ box_runend_piter<point2d> p(b);
+ unsigned i = 2;
+ for_all(p)
+ mln_assertion(p == point2d(i, 2));
+
+ mln_assertion(p.run_length() == 3);
+}
--
1.5.6.5
---
dynamic-use-of-static-c++/ChangeLog | 4 ++++
dynamic-use-of-static-c++/README | 32 ++++++++++++++++++++------------
2 files changed, 24 insertions(+), 12 deletions(-)
diff --git a/dynamic-use-of-static-c++/ChangeLog b/dynamic-use-of-static-c++/ChangeLog
index 3654b03..410c942 100644
--- a/dynamic-use-of-static-c++/ChangeLog
+++ b/dynamic-use-of-static-c++/ChangeLog
@@ -1,5 +1,9 @@
2009-11-03 Roland Levillain <roland(a)lrde.epita.fr>
+ * README: Update.
+
+2009-11-03 Roland Levillain <roland(a)lrde.epita.fr>
+
Aesthetic changes w.r.t. white space and comments.
* bin/dyn-config.in,
diff --git a/dynamic-use-of-static-c++/README b/dynamic-use-of-static-c++/README
index 112dac3..9fb6982 100644
--- a/dynamic-use-of-static-c++/README
+++ b/dynamic-use-of-static-c++/README
@@ -1,23 +1,31 @@
HOW TO USE THIS PROJECT
+ Note: These instructions have been updated since this project has
+ been re-integrated into the Olena repository (October 2009).
+ However, they will probably evolve again, since the project should
+ eventually become a part of the Olena distribution. The biggest
+ change will probably be to run things from the parent directory
+ (Olena's) and enable a configure flag to activate this module.
+
From the repository:
- # Initialize the build system
+ # Initialize the build system.
./bootstrap
- # Make a build dir
+ # Make a build dir.
mkdir _build && cd _build
- # Configure the build for your system
- # The config.site try to use more efficient tools (g++-4.0 and ccache)
- # it also enable the configure caching.
- # With --prefix you can set the destination (here _install)
+ # Configure the build for your system.
+ ../configure
+
+ # You can also use the file `config.site' shipped with the
+ # distribution, though it is a bit old. `config.site' tries to use
+ # more efficient tools (g++-4.0 and ccache). It also enables
+ # configure's caching mechanism. With `--prefix' you can set the
+ # destination (here, `../_install').
CONFIG_SITE=`pwd`/../config.site ../configure --prefix=`pwd`/../_install
- # For now need to add the bin directory to your path because dyn-config is
- # by programs compiled with our system
+ # You may want to add the `bin/' directory to your path, but it is
+ # no longer mandatory (`dyn-config' from `bin/' used to be required
+ # by programs compiled with our system).
export PATH=$PATH:`pwd`/bin
-
- make check # The test with a latest prototype of olena will fail if you
- # don't checkout it:
- # cd test/olena && svn co https://svn.lrde.epita.fr/svn/oln/prototypes/proto-stl-style
--
1.6.5
* bin/dyn-config.in,
* bin/mk_swig_input,
* bin/swig_tree_to_yaml,
* bin/yaml_to_dyn_decls,
* config/erbx,
* data/function.cc,
* src/wrappers/milena.cc,
* src/wrappers/milena.hh,
* swig/dyn.i,
* swig/mln.i,
* swig/run.in,
* test/test_methods.cc,
* test/wrappers/test-milena.cc:
Here.
---
dynamic-use-of-static-c++/ChangeLog | 19 +++++++
dynamic-use-of-static-c++/bin/dyn-config.in | 2 +-
dynamic-use-of-static-c++/bin/mk_swig_input | 2 +-
dynamic-use-of-static-c++/bin/swig_tree_to_yaml | 2 +-
dynamic-use-of-static-c++/bin/yaml_to_dyn_decls | 2 +-
dynamic-use-of-static-c++/config/erbx | 2 +-
dynamic-use-of-static-c++/data/function.cc | 1 +
dynamic-use-of-static-c++/src/wrappers/milena.cc | 48 +++++++++---------
dynamic-use-of-static-c++/src/wrappers/milena.hh | 48 +++++++++---------
dynamic-use-of-static-c++/swig/dyn.i | 51 ++++++++++----------
dynamic-use-of-static-c++/swig/mln.i | 51 ++++++++++----------
dynamic-use-of-static-c++/swig/run.in | 2 +-
dynamic-use-of-static-c++/test/test_methods.cc | 4 +-
.../test/wrappers/test-milena.cc | 48 +++++++++---------
14 files changed, 153 insertions(+), 129 deletions(-)
diff --git a/dynamic-use-of-static-c++/ChangeLog b/dynamic-use-of-static-c++/ChangeLog
index a510774..3654b03 100644
--- a/dynamic-use-of-static-c++/ChangeLog
+++ b/dynamic-use-of-static-c++/ChangeLog
@@ -1,5 +1,24 @@
2009-11-03 Roland Levillain <roland(a)lrde.epita.fr>
+ Aesthetic changes w.r.t. white space and comments.
+
+ * bin/dyn-config.in,
+ * bin/mk_swig_input,
+ * bin/swig_tree_to_yaml,
+ * bin/yaml_to_dyn_decls,
+ * config/erbx,
+ * data/function.cc,
+ * src/wrappers/milena.cc,
+ * src/wrappers/milena.hh,
+ * swig/dyn.i,
+ * swig/mln.i,
+ * swig/run.in,
+ * test/test_methods.cc,
+ * test/wrappers/test-milena.cc:
+ Here.
+
+2009-11-03 Roland Levillain <roland(a)lrde.epita.fr>
+
Add missing copyright headers.
* bin/dyn-config.in,
diff --git a/dynamic-use-of-static-c++/bin/dyn-config.in b/dynamic-use-of-static-c++/bin/dyn-config.in
index 6ff4d94..84b7b0e 100755
--- a/dynamic-use-of-static-c++/bin/dyn-config.in
+++ b/dynamic-use-of-static-c++/bin/dyn-config.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#! /usr/bin/env ruby
# Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE).
#
diff --git a/dynamic-use-of-static-c++/bin/mk_swig_input b/dynamic-use-of-static-c++/bin/mk_swig_input
index 022cb26..b29cecd 100755
--- a/dynamic-use-of-static-c++/bin/mk_swig_input
+++ b/dynamic-use-of-static-c++/bin/mk_swig_input
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#! /usr/bin/env ruby
# Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE).
#
diff --git a/dynamic-use-of-static-c++/bin/swig_tree_to_yaml b/dynamic-use-of-static-c++/bin/swig_tree_to_yaml
index 696d96c..144b555 100755
--- a/dynamic-use-of-static-c++/bin/swig_tree_to_yaml
+++ b/dynamic-use-of-static-c++/bin/swig_tree_to_yaml
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#! /usr/bin/env ruby
# Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE).
#
diff --git a/dynamic-use-of-static-c++/bin/yaml_to_dyn_decls b/dynamic-use-of-static-c++/bin/yaml_to_dyn_decls
index e7a6fc9..52ad7aa 100755
--- a/dynamic-use-of-static-c++/bin/yaml_to_dyn_decls
+++ b/dynamic-use-of-static-c++/bin/yaml_to_dyn_decls
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#! /usr/bin/env ruby
# Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE).
#
diff --git a/dynamic-use-of-static-c++/config/erbx b/dynamic-use-of-static-c++/config/erbx
index 383a883..1cb423f 100755
--- a/dynamic-use-of-static-c++/config/erbx
+++ b/dynamic-use-of-static-c++/config/erbx
@@ -1,4 +1,4 @@
-#!/usr/bin/env ruby
+#! /usr/bin/env ruby
# Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE).
#
diff --git a/dynamic-use-of-static-c++/data/function.cc b/dynamic-use-of-static-c++/data/function.cc
index e42cbed..7c5a043 100644
--- a/dynamic-use-of-static-c++/data/function.cc
+++ b/dynamic-use-of-static-c++/data/function.cc
@@ -1,4 +1,5 @@
#include "dyn-light.hh"
+
int foo()
{
return 42;
diff --git a/dynamic-use-of-static-c++/src/wrappers/milena.cc b/dynamic-use-of-static-c++/src/wrappers/milena.cc
index 9baf0e7..5f9bc95 100644
--- a/dynamic-use-of-static-c++/src/wrappers/milena.cc
+++ b/dynamic-use-of-static-c++/src/wrappers/milena.cc
@@ -1,27 +1,27 @@
-// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
-//
-// This file is part of Olena.
-//
-// Olena is free software: you can redistribute it and/or modify it under
-// the terms of the GNU General Public License as published by the Free
-// Software Foundation, version 2 of the License.
-//
-// Olena is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with Olena. If not, see <http://www.gnu.org/licenses/>.
-//
-// As a special exception, you may use this file as part of a free
-// software project without restriction. Specifically, if other files
-// instantiate templates or use macros or inline functions from this
-// file, or you compile this file and link it with other files to produce
-// an executable, this file does not by itself cause the resulting
-// executable to be covered by the GNU General Public License. This
-// exception does not however invalidate any other reasons why the
-// executable file might be covered by the GNU General Public License.
+/* Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
#include <wrappers/milena.hh>
diff --git a/dynamic-use-of-static-c++/src/wrappers/milena.hh b/dynamic-use-of-static-c++/src/wrappers/milena.hh
index ed4b702..87e8253 100644
--- a/dynamic-use-of-static-c++/src/wrappers/milena.hh
+++ b/dynamic-use-of-static-c++/src/wrappers/milena.hh
@@ -1,27 +1,27 @@
-// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
-//
-// This file is part of Olena.
-//
-// Olena is free software: you can redistribute it and/or modify it under
-// the terms of the GNU General Public License as published by the Free
-// Software Foundation, version 2 of the License.
-//
-// Olena is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with Olena. If not, see <http://www.gnu.org/licenses/>.
-//
-// As a special exception, you may use this file as part of a free
-// software project without restriction. Specifically, if other files
-// instantiate templates or use macros or inline functions from this
-// file, or you compile this file and link it with other files to produce
-// an executable, this file does not by itself cause the resulting
-// executable to be covered by the GNU General Public License. This
-// exception does not however invalidate any other reasons why the
-// executable file might be covered by the GNU General Public License.
+/* Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
#ifndef DYN_WRAPPERS_MILENA_HH
# define DYN_WRAPPERS_MILENA_HH
diff --git a/dynamic-use-of-static-c++/swig/dyn.i b/dynamic-use-of-static-c++/swig/dyn.i
index 390d2e1..16884ce 100644
--- a/dynamic-use-of-static-c++/swig/dyn.i
+++ b/dynamic-use-of-static-c++/swig/dyn.i
@@ -1,28 +1,29 @@
-// -*- C++ -*-
-// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
-//
-// This file is part of Olena.
-//
-// Olena is free software: you can redistribute it and/or modify it under
-// the terms of the GNU General Public License as published by the Free
-// Software Foundation, version 2 of the License.
-//
-// Olena is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with Olena. If not, see <http://www.gnu.org/licenses/>.
-//
-// As a special exception, you may use this file as part of a free
-// software project without restriction. Specifically, if other files
-// instantiate templates or use macros or inline functions from this
-// file, or you compile this file and link it with other files to produce
-// an executable, this file does not by itself cause the resulting
-// executable to be covered by the GNU General Public License. This
-// exception does not however invalidate any other reasons why the
-// executable file might be covered by the GNU General Public License.
+ // -*- C++ -*-
+
+/* Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
/// \file
/// \brief A wrapper of libdyn.
diff --git a/dynamic-use-of-static-c++/swig/mln.i b/dynamic-use-of-static-c++/swig/mln.i
index dcfe644..0539cfc 100644
--- a/dynamic-use-of-static-c++/swig/mln.i
+++ b/dynamic-use-of-static-c++/swig/mln.i
@@ -1,28 +1,29 @@
-// -*- C++ -*-
-// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
-//
-// This file is part of Olena.
-//
-// Olena is free software: you can redistribute it and/or modify it under
-// the terms of the GNU General Public License as published by the Free
-// Software Foundation, version 2 of the License.
-//
-// Olena is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with Olena. If not, see <http://www.gnu.org/licenses/>.
-//
-// As a special exception, you may use this file as part of a free
-// software project without restriction. Specifically, if other files
-// instantiate templates or use macros or inline functions from this
-// file, or you compile this file and link it with other files to produce
-// an executable, this file does not by itself cause the resulting
-// executable to be covered by the GNU General Public License. This
-// exception does not however invalidate any other reasons why the
-// executable file might be covered by the GNU General Public License.
+ // -*- C++ -*-
+
+/* Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
/// \file
/// \brief A wrapper of libdynmilena.
diff --git a/dynamic-use-of-static-c++/swig/run.in b/dynamic-use-of-static-c++/swig/run.in
index 41ec0e8..92d54fe 100755
--- a/dynamic-use-of-static-c++/swig/run.in
+++ b/dynamic-use-of-static-c++/swig/run.in
@@ -1,4 +1,4 @@
-#!/bin/sh
+#! /bin/sh
# Copyright (C) 2003, 2004, 2006, 2009 Laboratoire d'Informatique de Paris 6
# (LIP6), département Systèmes Répartis Coopératifs (SRC), Université
diff --git a/dynamic-use-of-static-c++/test/test_methods.cc b/dynamic-use-of-static-c++/test/test_methods.cc
index 477ae06..3416a53 100644
--- a/dynamic-use-of-static-c++/test/test_methods.cc
+++ b/dynamic-use-of-static-c++/test/test_methods.cc
@@ -23,9 +23,11 @@
exception does not however invalidate any other reasons why the
executable file might be covered by the GNU General Public License. */
+#include <iostream>
+
#include "dyn-all.hh"
+
using namespace dyn::language;
-#include <iostream>
int main()
{
diff --git a/dynamic-use-of-static-c++/test/wrappers/test-milena.cc b/dynamic-use-of-static-c++/test/wrappers/test-milena.cc
index 831c9db..036c15d 100644
--- a/dynamic-use-of-static-c++/test/wrappers/test-milena.cc
+++ b/dynamic-use-of-static-c++/test/wrappers/test-milena.cc
@@ -1,27 +1,27 @@
-// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
-//
-// This file is part of Olena.
-//
-// Olena is free software: you can redistribute it and/or modify it under
-// the terms of the GNU General Public License as published by the Free
-// Software Foundation, version 2 of the License.
-//
-// Olena is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with Olena. If not, see <http://www.gnu.org/licenses/>.
-//
-// As a special exception, you may use this file as part of a free
-// software project without restriction. Specifically, if other files
-// instantiate templates or use macros or inline functions from this
-// file, or you compile this file and link it with other files to produce
-// an executable, this file does not by itself cause the resulting
-// executable to be covered by the GNU General Public License. This
-// exception does not however invalidate any other reasons why the
-// executable file might be covered by the GNU General Public License.
+/* Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
/// \file
/// Exercise the Milena wrappers.
--
1.6.5
* bin/dyn-config.in,
* bin/mk_swig_input,
* bin/swig_tree_to_yaml,
* bin/yaml_to_dyn_decls,
* bootstrap,
* config/erbx,
* config/mk_local_config_rb_in.rb,
* config/rbconfig_gen.rb,
* config/ruby.m4,
* src/all_methods.erb.cc,
* src/all_methods.erb.hh,
* src/config.hh.in,
* src/cxx_symbols.rb,
* src/data.cc,
* src/data.hh,
* src/data.hxx,
* src/dyn.hh,
* src/function.erb.cc,
* src/function.erb.hh,
* src/function_loader.cc,
* src/function_loader.hh,
* src/function_loader.rb,
* src/name_of.cc,
* src/name_of.hh,
* src/policy.cc,
* src/policy.hh,
* src/ruby_stream.cc,
* src/ruby_stream.hh,
* test/fixtures/my_lib/damien.hh,
* test/fixtures/my_lib/damien.hxx,
* test/fixtures/my_lib/lib.hh,
* test/test_containers.cc,
* test/test_damien.cc,
* test/test_function_loader.cc,
* test/test_function_loader.rb,
* test/test_function_loader_cxx.rb,
* test/test_methods.cc,
* test/test_milena.cc,
* test/test_var_and_val.cc,
* test/vaucanson/test-loader.cc:
Here.
---
dynamic-use-of-static-c++/ChangeLog | 46 ++++++++++++++++++++
dynamic-use-of-static-c++/bin/dyn-config.in | 17 +++++++
dynamic-use-of-static-c++/bin/mk_swig_input | 17 +++++++
dynamic-use-of-static-c++/bin/swig_tree_to_yaml | 17 +++++++
dynamic-use-of-static-c++/bin/yaml_to_dyn_decls | 17 +++++++
dynamic-use-of-static-c++/bootstrap | 16 +++++++
dynamic-use-of-static-c++/config/erbx | 16 +++++++
.../config/mk_local_config_rb_in.rb | 16 +++++++
dynamic-use-of-static-c++/config/rbconfig_gen.rb | 16 +++++++
dynamic-use-of-static-c++/config/ruby.m4 | 15 ++++++
dynamic-use-of-static-c++/src/all_methods.erb.cc | 25 +++++++++++
dynamic-use-of-static-c++/src/all_methods.erb.hh | 25 +++++++++++
dynamic-use-of-static-c++/src/config.hh.in | 27 +++++++++++
dynamic-use-of-static-c++/src/cxx_symbols.rb | 16 +++++++
dynamic-use-of-static-c++/src/data.cc | 25 +++++++++++
dynamic-use-of-static-c++/src/data.hh | 25 +++++++++++
dynamic-use-of-static-c++/src/data.hxx | 25 +++++++++++
dynamic-use-of-static-c++/src/dyn.hh | 25 +++++++++++
dynamic-use-of-static-c++/src/function.erb.cc | 25 +++++++++++
dynamic-use-of-static-c++/src/function.erb.hh | 25 +++++++++++
dynamic-use-of-static-c++/src/function_loader.cc | 25 +++++++++++
dynamic-use-of-static-c++/src/function_loader.hh | 25 +++++++++++
dynamic-use-of-static-c++/src/function_loader.rb | 16 +++++++
dynamic-use-of-static-c++/src/name_of.cc | 25 +++++++++++
dynamic-use-of-static-c++/src/name_of.hh | 25 +++++++++++
dynamic-use-of-static-c++/src/policy.cc | 25 +++++++++++
dynamic-use-of-static-c++/src/policy.hh | 25 +++++++++++
dynamic-use-of-static-c++/src/ruby_stream.cc | 25 +++++++++++
dynamic-use-of-static-c++/src/ruby_stream.hh | 25 +++++++++++
.../test/fixtures/my_lib/damien.hh | 25 +++++++++++
.../test/fixtures/my_lib/damien.hxx | 25 +++++++++++
.../test/fixtures/my_lib/lib.hh | 25 +++++++++++
dynamic-use-of-static-c++/test/test_containers.cc | 26 +++++++++++
dynamic-use-of-static-c++/test/test_damien.cc | 26 +++++++++++
.../test/test_function_loader.cc | 25 +++++++++++
.../test/test_function_loader.rb | 16 +++++++
.../test/test_function_loader_cxx.rb | 16 +++++++
dynamic-use-of-static-c++/test/test_methods.cc | 25 +++++++++++
dynamic-use-of-static-c++/test/test_milena.cc | 25 +++++++++++
dynamic-use-of-static-c++/test/test_var_and_val.cc | 26 +++++++++++
.../test/vaucanson/test-loader.cc | 25 +++++++++++
41 files changed, 937 insertions(+), 0 deletions(-)
diff --git a/dynamic-use-of-static-c++/ChangeLog b/dynamic-use-of-static-c++/ChangeLog
index 9de4a05..a510774 100644
--- a/dynamic-use-of-static-c++/ChangeLog
+++ b/dynamic-use-of-static-c++/ChangeLog
@@ -1,5 +1,51 @@
2009-11-03 Roland Levillain <roland(a)lrde.epita.fr>
+ Add missing copyright headers.
+
+ * bin/dyn-config.in,
+ * bin/mk_swig_input,
+ * bin/swig_tree_to_yaml,
+ * bin/yaml_to_dyn_decls,
+ * bootstrap,
+ * config/erbx,
+ * config/mk_local_config_rb_in.rb,
+ * config/rbconfig_gen.rb,
+ * config/ruby.m4,
+ * src/all_methods.erb.cc,
+ * src/all_methods.erb.hh,
+ * src/config.hh.in,
+ * src/cxx_symbols.rb,
+ * src/data.cc,
+ * src/data.hh,
+ * src/data.hxx,
+ * src/dyn.hh,
+ * src/function.erb.cc,
+ * src/function.erb.hh,
+ * src/function_loader.cc,
+ * src/function_loader.hh,
+ * src/function_loader.rb,
+ * src/name_of.cc,
+ * src/name_of.hh,
+ * src/policy.cc,
+ * src/policy.hh,
+ * src/ruby_stream.cc,
+ * src/ruby_stream.hh,
+ * test/fixtures/my_lib/damien.hh,
+ * test/fixtures/my_lib/damien.hxx,
+ * test/fixtures/my_lib/lib.hh,
+ * test/test_containers.cc,
+ * test/test_damien.cc,
+ * test/test_function_loader.cc,
+ * test/test_function_loader.rb,
+ * test/test_function_loader_cxx.rb,
+ * test/test_methods.cc,
+ * test/test_milena.cc,
+ * test/test_var_and_val.cc,
+ * test/vaucanson/test-loader.cc:
+ Here.
+
+2009-11-03 Roland Levillain <roland(a)lrde.epita.fr>
+
Adjust the initialization of the SWIG Python Milena wrappers.
* swig/mln.i: Call dyn::mln::initialize in %init section.
diff --git a/dynamic-use-of-static-c++/bin/dyn-config.in b/dynamic-use-of-static-c++/bin/dyn-config.in
index 0271082..6ff4d94 100755
--- a/dynamic-use-of-static-c++/bin/dyn-config.in
+++ b/dynamic-use-of-static-c++/bin/dyn-config.in
@@ -1,4 +1,21 @@
#!/usr/bin/env ruby
+
+# Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE).
+#
+# This file is part of Olena.
+#
+# Olena is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, version 2 of the License.
+#
+# Olena is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
require 'optparse'
require 'pathname'
diff --git a/dynamic-use-of-static-c++/bin/mk_swig_input b/dynamic-use-of-static-c++/bin/mk_swig_input
index 5efcc49..022cb26 100755
--- a/dynamic-use-of-static-c++/bin/mk_swig_input
+++ b/dynamic-use-of-static-c++/bin/mk_swig_input
@@ -1,4 +1,21 @@
#!/usr/bin/env ruby
+
+# Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE).
+#
+# This file is part of Olena.
+#
+# Olena is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, version 2 of the License.
+#
+# Olena is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
require 'pathname'
load Pathname.new(__FILE__).dirname.parent + 'configure'
includes = []
diff --git a/dynamic-use-of-static-c++/bin/swig_tree_to_yaml b/dynamic-use-of-static-c++/bin/swig_tree_to_yaml
index eb63157..696d96c 100755
--- a/dynamic-use-of-static-c++/bin/swig_tree_to_yaml
+++ b/dynamic-use-of-static-c++/bin/swig_tree_to_yaml
@@ -1,4 +1,21 @@
#!/usr/bin/env ruby
+
+# Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE).
+#
+# This file is part of Olena.
+#
+# Olena is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, version 2 of the License.
+#
+# Olena is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
str = STDIN.read
str.gsub!(/^(\s*) \+\+\+ (\w+) -+$/, '\1- \2:')
str.gsub!(/^(\s*)\+\+\+ (\w+) -+$/, '\1\2:')
diff --git a/dynamic-use-of-static-c++/bin/yaml_to_dyn_decls b/dynamic-use-of-static-c++/bin/yaml_to_dyn_decls
index 85ad16a..e7a6fc9 100755
--- a/dynamic-use-of-static-c++/bin/yaml_to_dyn_decls
+++ b/dynamic-use-of-static-c++/bin/yaml_to_dyn_decls
@@ -1,4 +1,21 @@
#!/usr/bin/env ruby
+
+# Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE).
+#
+# This file is part of Olena.
+#
+# Olena is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, version 2 of the License.
+#
+# Olena is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
require 'yaml'
require 'rubygems'
require_gem 'ruby_ex'
diff --git a/dynamic-use-of-static-c++/bootstrap b/dynamic-use-of-static-c++/bootstrap
index e4a288a..5f624d0 100755
--- a/dynamic-use-of-static-c++/bootstrap
+++ b/dynamic-use-of-static-c++/bootstrap
@@ -1,5 +1,21 @@
#! /bin/sh
+# Copyright (C) 2005, 2009 EPITA Research and Development Laboratory (LRDE).
+#
+# This file is part of Olena.
+#
+# Olena is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, version 2 of the License.
+#
+# Olena is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
# Failures do matter.
set -e
# Tell what's going on.
diff --git a/dynamic-use-of-static-c++/config/erbx b/dynamic-use-of-static-c++/config/erbx
index bd49f97..383a883 100755
--- a/dynamic-use-of-static-c++/config/erbx
+++ b/dynamic-use-of-static-c++/config/erbx
@@ -1,5 +1,21 @@
#!/usr/bin/env ruby
+# Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE).
+#
+# This file is part of Olena.
+#
+# Olena is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, version 2 of the License.
+#
+# Olena is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
# For this project only
DYN_MAX_ARGUMENTS = 10
ALL_METHODS = { 'fake_method' => ['*'] }
diff --git a/dynamic-use-of-static-c++/config/mk_local_config_rb_in.rb b/dynamic-use-of-static-c++/config/mk_local_config_rb_in.rb
index 985b1c3..734cae4 100644
--- a/dynamic-use-of-static-c++/config/mk_local_config_rb_in.rb
+++ b/dynamic-use-of-static-c++/config/mk_local_config_rb_in.rb
@@ -1,3 +1,19 @@
+# Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE).
+#
+# This file is part of Olena.
+#
+# Olena is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, version 2 of the License.
+#
+# Olena is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
require 'pathname'
# STDERR.puts "MK: #{ARGV.inspect}"
def usage
diff --git a/dynamic-use-of-static-c++/config/rbconfig_gen.rb b/dynamic-use-of-static-c++/config/rbconfig_gen.rb
index 24fdf95..5cf310e 100644
--- a/dynamic-use-of-static-c++/config/rbconfig_gen.rb
+++ b/dynamic-use-of-static-c++/config/rbconfig_gen.rb
@@ -1,3 +1,19 @@
+# Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE).
+#
+# This file is part of Olena.
+#
+# Olena is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, version 2 of the License.
+#
+# Olena is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
require 'rbconfig'
def gen_m4 ( config )
diff --git a/dynamic-use-of-static-c++/config/ruby.m4 b/dynamic-use-of-static-c++/config/ruby.m4
index ac5cddd..679ceb9 100644
--- a/dynamic-use-of-static-c++/config/ruby.m4
+++ b/dynamic-use-of-static-c++/config/ruby.m4
@@ -1,3 +1,18 @@
+# Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE).
+#
+# This file is part of Olena.
+#
+# Olena is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, version 2 of the License.
+#
+# Olena is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Olena. If not, see <http://www.gnu.org/licenses/>.
AC_DEFUN([RUBY],
diff --git a/dynamic-use-of-static-c++/src/all_methods.erb.cc b/dynamic-use-of-static-c++/src/all_methods.erb.cc
index ae973f3..347ffc6 100644
--- a/dynamic-use-of-static-c++/src/all_methods.erb.cc
+++ b/dynamic-use-of-static-c++/src/all_methods.erb.cc
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#ifndef DYN_ALL_METHODS_CC
# define DYN_ALL_METHODS_CC
diff --git a/dynamic-use-of-static-c++/src/all_methods.erb.hh b/dynamic-use-of-static-c++/src/all_methods.erb.hh
index 8f67a80..948ccdd 100644
--- a/dynamic-use-of-static-c++/src/all_methods.erb.hh
+++ b/dynamic-use-of-static-c++/src/all_methods.erb.hh
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#ifndef DYN_ALL_METHODS_HH
# define DYN_ALL_METHODS_HH
diff --git a/dynamic-use-of-static-c++/src/config.hh.in b/dynamic-use-of-static-c++/src/config.hh.in
index 1327cf4..0ce13fc 100644
--- a/dynamic-use-of-static-c++/src/config.hh.in
+++ b/dynamic-use-of-static-c++/src/config.hh.in
@@ -1,3 +1,30 @@
+ // -*- C++ -*-
+
+/* Copyright (C) 2005, 2009 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#define DYNDIR "@DYNDIR@"
#define DYN_DATADIR "@DYN_DATADIR@"
#define DYN_FIXTURES "@DYN_FIXTURES@"
diff --git a/dynamic-use-of-static-c++/src/cxx_symbols.rb b/dynamic-use-of-static-c++/src/cxx_symbols.rb
index cdf52bd..91ad4b0 100644
--- a/dynamic-use-of-static-c++/src/cxx_symbols.rb
+++ b/dynamic-use-of-static-c++/src/cxx_symbols.rb
@@ -1,3 +1,19 @@
+# Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE).
+#
+# This file is part of Olena.
+#
+# Olena is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, version 2 of the License.
+#
+# Olena is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
class SimpleSymbol
attr_reader :code
def initialize ( code )
diff --git a/dynamic-use-of-static-c++/src/data.cc b/dynamic-use-of-static-c++/src/data.cc
index 3af1dcd..127dc87 100644
--- a/dynamic-use-of-static-c++/src/data.cc
+++ b/dynamic-use-of-static-c++/src/data.cc
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#ifndef DYN_DATA_CC
# define DYN_DATA_CC
diff --git a/dynamic-use-of-static-c++/src/data.hh b/dynamic-use-of-static-c++/src/data.hh
index 812c3cd..aa8c192 100644
--- a/dynamic-use-of-static-c++/src/data.hh
+++ b/dynamic-use-of-static-c++/src/data.hh
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005, 2009 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#ifndef DYN_DATA_HH
# define DYN_DATA_HH
diff --git a/dynamic-use-of-static-c++/src/data.hxx b/dynamic-use-of-static-c++/src/data.hxx
index 5b993a9..1ff7886 100644
--- a/dynamic-use-of-static-c++/src/data.hxx
+++ b/dynamic-use-of-static-c++/src/data.hxx
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#ifndef DYN_DATA_HXX
# define DYN_DATA_HXX
diff --git a/dynamic-use-of-static-c++/src/dyn.hh b/dynamic-use-of-static-c++/src/dyn.hh
index f816c28..d12a790 100644
--- a/dynamic-use-of-static-c++/src/dyn.hh
+++ b/dynamic-use-of-static-c++/src/dyn.hh
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#ifndef DYN_HH
# define DYN_HH
diff --git a/dynamic-use-of-static-c++/src/function.erb.cc b/dynamic-use-of-static-c++/src/function.erb.cc
index 4624aed..b83fd7b 100644
--- a/dynamic-use-of-static-c++/src/function.erb.cc
+++ b/dynamic-use-of-static-c++/src/function.erb.cc
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#ifndef FUNCTION_HXX
#define FUNCTION_HXX
diff --git a/dynamic-use-of-static-c++/src/function.erb.hh b/dynamic-use-of-static-c++/src/function.erb.hh
index 0bcda9a..b814938 100644
--- a/dynamic-use-of-static-c++/src/function.erb.hh
+++ b/dynamic-use-of-static-c++/src/function.erb.hh
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005, 2009 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#ifndef FUNCTION_HH
#define FUNCTION_HH
diff --git a/dynamic-use-of-static-c++/src/function_loader.cc b/dynamic-use-of-static-c++/src/function_loader.cc
index 62efcbc..0b300be 100644
--- a/dynamic-use-of-static-c++/src/function_loader.cc
+++ b/dynamic-use-of-static-c++/src/function_loader.cc
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005, 2009 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#ifndef DYN_FUNCTION_LOADER_CC
# define DYN_FUNCTION_LOADER_CC
diff --git a/dynamic-use-of-static-c++/src/function_loader.hh b/dynamic-use-of-static-c++/src/function_loader.hh
index 29b5197..27edb37 100644
--- a/dynamic-use-of-static-c++/src/function_loader.hh
+++ b/dynamic-use-of-static-c++/src/function_loader.hh
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#ifndef DYN_FUNCTION_LOADER_HH
# define DYN_FUNCTION_LOADER_HH
diff --git a/dynamic-use-of-static-c++/src/function_loader.rb b/dynamic-use-of-static-c++/src/function_loader.rb
index 8ec56e6..1f6c91a 100644
--- a/dynamic-use-of-static-c++/src/function_loader.rb
+++ b/dynamic-use-of-static-c++/src/function_loader.rb
@@ -1,3 +1,19 @@
+# Copyright (C) 2005, 2009 EPITA Research and Development Laboratory (LRDE).
+#
+# This file is part of Olena.
+#
+# Olena is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, version 2 of the License.
+#
+# Olena is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
require 'pathname'
DYN_DATADIR = Pathname.new(__FILE__).dirname.parent + '_build/data' # FIXME
diff --git a/dynamic-use-of-static-c++/src/name_of.cc b/dynamic-use-of-static-c++/src/name_of.cc
index 7b2b6da..bf2c24f 100644
--- a/dynamic-use-of-static-c++/src/name_of.cc
+++ b/dynamic-use-of-static-c++/src/name_of.cc
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#ifndef DYN_NAME_OF_CC
# define DYN_NAME_OF_CC
diff --git a/dynamic-use-of-static-c++/src/name_of.hh b/dynamic-use-of-static-c++/src/name_of.hh
index 67e26a5..dca878b 100644
--- a/dynamic-use-of-static-c++/src/name_of.hh
+++ b/dynamic-use-of-static-c++/src/name_of.hh
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005, 2009 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#ifndef NAME_OF
# define NAME_OF
diff --git a/dynamic-use-of-static-c++/src/policy.cc b/dynamic-use-of-static-c++/src/policy.cc
index 54b1d72..7ea9bb7 100644
--- a/dynamic-use-of-static-c++/src/policy.cc
+++ b/dynamic-use-of-static-c++/src/policy.cc
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#ifndef DYN_POLICY_CC
# define DYN_POLICY_CC
diff --git a/dynamic-use-of-static-c++/src/policy.hh b/dynamic-use-of-static-c++/src/policy.hh
index eae4201..ef6ce55 100644
--- a/dynamic-use-of-static-c++/src/policy.hh
+++ b/dynamic-use-of-static-c++/src/policy.hh
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#ifndef DYN_POLICY_HH
# define DYN_POLICY_HH
diff --git a/dynamic-use-of-static-c++/src/ruby_stream.cc b/dynamic-use-of-static-c++/src/ruby_stream.cc
index 2ae7ecb..04a9d16 100644
--- a/dynamic-use-of-static-c++/src/ruby_stream.cc
+++ b/dynamic-use-of-static-c++/src/ruby_stream.cc
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#ifndef RUBY_STREAM_CC
# define RUBY_STREAM_CC
diff --git a/dynamic-use-of-static-c++/src/ruby_stream.hh b/dynamic-use-of-static-c++/src/ruby_stream.hh
index 4f861fe..12c9455 100644
--- a/dynamic-use-of-static-c++/src/ruby_stream.hh
+++ b/dynamic-use-of-static-c++/src/ruby_stream.hh
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#ifndef RUBY_STREAM_HH
#define RUBY_STREAM_HH
diff --git a/dynamic-use-of-static-c++/test/fixtures/my_lib/damien.hh b/dynamic-use-of-static-c++/test/fixtures/my_lib/damien.hh
index 369ebe9..63dc041 100644
--- a/dynamic-use-of-static-c++/test/fixtures/my_lib/damien.hh
+++ b/dynamic-use-of-static-c++/test/fixtures/my_lib/damien.hh
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005, 2009 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#ifndef DAMIEN_HH
#define DAMIEN_HH
diff --git a/dynamic-use-of-static-c++/test/fixtures/my_lib/damien.hxx b/dynamic-use-of-static-c++/test/fixtures/my_lib/damien.hxx
index e7448e1..0202a44 100644
--- a/dynamic-use-of-static-c++/test/fixtures/my_lib/damien.hxx
+++ b/dynamic-use-of-static-c++/test/fixtures/my_lib/damien.hxx
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#ifndef DAMIEN_HXX
#define DAMIEN_HXX
diff --git a/dynamic-use-of-static-c++/test/fixtures/my_lib/lib.hh b/dynamic-use-of-static-c++/test/fixtures/my_lib/lib.hh
index c861ea5..a03fc22 100644
--- a/dynamic-use-of-static-c++/test/fixtures/my_lib/lib.hh
+++ b/dynamic-use-of-static-c++/test/fixtures/my_lib/lib.hh
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005, 2009 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
// part of generic lib
#include <cmath>
diff --git a/dynamic-use-of-static-c++/test/test_containers.cc b/dynamic-use-of-static-c++/test/test_containers.cc
index 6a79e02..4c06461 100644
--- a/dynamic-use-of-static-c++/test/test_containers.cc
+++ b/dynamic-use-of-static-c++/test/test_containers.cc
@@ -1,8 +1,34 @@
+/* Copyright (C) 2005, 2009 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#include <algorithm>
#include "my_lib/lib.hh"
#include "dyn-all.hh"
+
using namespace dyn::language;
int main()
diff --git a/dynamic-use-of-static-c++/test/test_damien.cc b/dynamic-use-of-static-c++/test/test_damien.cc
index 1b55fd1..b705acb 100644
--- a/dynamic-use-of-static-c++/test/test_damien.cc
+++ b/dynamic-use-of-static-c++/test/test_damien.cc
@@ -1,6 +1,32 @@
+/* Copyright (C) 2005, 2009 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#include "my_lib/damien.hh"
#include "dyn-all.hh"
+
using namespace dyn::language;
namespace dyn
diff --git a/dynamic-use-of-static-c++/test/test_function_loader.cc b/dynamic-use-of-static-c++/test/test_function_loader.cc
index fc8984a..b15dc4b 100644
--- a/dynamic-use-of-static-c++/test/test_function_loader.cc
+++ b/dynamic-use-of-static-c++/test/test_function_loader.cc
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005, 2009 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#include <sstream>
#include "my_lib/lib.hh"
diff --git a/dynamic-use-of-static-c++/test/test_function_loader.rb b/dynamic-use-of-static-c++/test/test_function_loader.rb
index ee2c4ed..cd55e84 100644
--- a/dynamic-use-of-static-c++/test/test_function_loader.rb
+++ b/dynamic-use-of-static-c++/test/test_function_loader.rb
@@ -1,3 +1,19 @@
+# Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE).
+#
+# This file is part of Olena.
+#
+# Olena is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, version 2 of the License.
+#
+# Olena is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
require 'pathname'
require 'yaml'
test = Pathname.new(__FILE__).dirname
diff --git a/dynamic-use-of-static-c++/test/test_function_loader_cxx.rb b/dynamic-use-of-static-c++/test/test_function_loader_cxx.rb
index ddbb118..d337df3 100644
--- a/dynamic-use-of-static-c++/test/test_function_loader_cxx.rb
+++ b/dynamic-use-of-static-c++/test/test_function_loader_cxx.rb
@@ -1,3 +1,19 @@
+# Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE).
+#
+# This file is part of Olena.
+#
+# Olena is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation, version 2 of the License.
+#
+# Olena is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
require 'pathname'
require 'yaml'
test = Pathname.new(__FILE__).dirname
diff --git a/dynamic-use-of-static-c++/test/test_methods.cc b/dynamic-use-of-static-c++/test/test_methods.cc
index 1ea7f0b..477ae06 100644
--- a/dynamic-use-of-static-c++/test/test_methods.cc
+++ b/dynamic-use-of-static-c++/test/test_methods.cc
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005, 2009 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#include "dyn-all.hh"
using namespace dyn::language;
#include <iostream>
diff --git a/dynamic-use-of-static-c++/test/test_milena.cc b/dynamic-use-of-static-c++/test/test_milena.cc
index 67d10cb..ca56416 100644
--- a/dynamic-use-of-static-c++/test/test_milena.cc
+++ b/dynamic-use-of-static-c++/test/test_milena.cc
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005, 2009 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#include "dyn-all.hh"
using namespace dyn::language;
diff --git a/dynamic-use-of-static-c++/test/test_var_and_val.cc b/dynamic-use-of-static-c++/test/test_var_and_val.cc
index b5da732..c1e647b 100644
--- a/dynamic-use-of-static-c++/test/test_var_and_val.cc
+++ b/dynamic-use-of-static-c++/test/test_var_and_val.cc
@@ -1,6 +1,32 @@
+/* Copyright (C) 2005, 2009 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#include "my_lib/lib.hh"
#include "dyn-all.hh"
+
using namespace dyn::language;
int main()
diff --git a/dynamic-use-of-static-c++/test/vaucanson/test-loader.cc b/dynamic-use-of-static-c++/test/vaucanson/test-loader.cc
index 64fac50..7144e82 100644
--- a/dynamic-use-of-static-c++/test/vaucanson/test-loader.cc
+++ b/dynamic-use-of-static-c++/test/vaucanson/test-loader.cc
@@ -1,3 +1,28 @@
+/* Copyright (C) 2005 EPITA Research and Development Laboratory (LRDE)
+
+ This file is part of Olena.
+
+ Olena is free software: you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free
+ Software Foundation, version 2 of the License.
+
+ Olena is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Olena. If not, see <http://www.gnu.org/licenses/>.
+
+ As a special exception, you may use this file as part of a free
+ software project without restriction. Specifically, if other files
+ instantiate templates or use macros or inline functions from this
+ file, or you compile this file and link it with other files to produce
+ an executable, this file does not by itself cause the resulting
+ executable to be covered by the GNU General Public License. This
+ exception does not however invalidate any other reasons why the
+ executable file might be covered by the GNU General Public License. */
+
#include "dyn.hh"
using namespace dyn::language;
--
1.6.5