* 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