# HG changeset patch # User Da Risk # Date 1260890789 -3600 # Node ID 1536b38818096e2ad471406e5fd4eeda858e1aac # Parent 29ac85113420e85b2eaa8535d328d28259fcff7b Add a check for headers diff -r 29ac85113420 -r 1536b3881809 LicenseHeader.txt --- a/LicenseHeader.txt Tue Dec 15 12:39:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,43 +0,0 @@ -/* - BEEM is a videoconference application on the Android Platform. - - Copyright (C) 2009 by Frederic-Charles Barthelery, - Jean-Manuel Da Silva, - Nikita Kozlov, - Philippe Lago, - Jean Baptiste Vergely, - Vincent Veronis. - - This file is part of BEEM. - - BEEM 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, either version 3 of the License, or - (at your option) any later version. - - BEEM 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 BEEM. If not, see . - - Please send bug reports with examples or suggestions to - contact@beem-project.com or http://dev.beem-project.com/ - - Epitech, hereby disclaims all copyright interest in the program "Beem" - written by Frederic-Charles Barthelery, - Jean-Manuel Da Silva, - Nikita Kozlov, - Philippe Lago, - Jean Baptiste Vergely, - Vincent Veronis. - - Nicolas Sadirac, November 26, 2009 - President of Epitech. - - Flavien Astraud, November 26, 2009 - Head of the EIP Laboratory. - -*/ diff -r 29ac85113420 -r 1536b3881809 checkstyle.xml --- a/checkstyle.xml Tue Dec 15 12:39:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,317 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r 29ac85113420 -r 1536b3881809 eclipse_formatter.xml --- a/eclipse_formatter.xml Tue Dec 15 12:39:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,269 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r 29ac85113420 -r 1536b3881809 src/com/beem/project/beem/ui/ContactList.java --- a/src/com/beem/project/beem/ui/ContactList.java Tue Dec 15 12:39:08 2009 +0100 +++ b/src/com/beem/project/beem/ui/ContactList.java Tue Dec 15 16:26:29 2009 +0100 @@ -1,17 +1,45 @@ /* - * BEEM is a videoconference application on the Android Platform. Copyright (C) 2009 by Frederic-Charles Barthelery, - * Jean-Manuel Da Silva, Nikita Kozlov, Philippe Lago, Jean Baptiste Vergely, Vincent Véronis. This file is part of - * BEEM. BEEM 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, either version 3 of the License, or (at your option) any later - * version. BEEM 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 BEEM. If not, see - * . Please send bug reports with examples or suggestions to contact@beem-project.com or - * http://dev.beem-project.com/ Epitech, hereby disclaims all copyright interest in the program “Beem” written by - * Frederic-Charles Barthelery, Jean-Manuel Da Silva, Nikita Kozlov, Philippe Lago, Jean Baptiste Vergely, Vincent - * Veronis. Nicolas Sadirac, November 26, 2009 President of Epitech. Flavien Astraud, November 26, 2009 Head of the EIP - * Laboratory. - */ + BEEM is a videoconference application on the Android Platform. + + Copyright (C) 2009 by Frederic-Charles Barthelery, + Jean-Manuel Da Silva, + Nikita Kozlov, + Philippe Lago, + Jean Baptiste Vergely, + Vincent Veronis. + + This file is part of BEEM. + + BEEM 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, either version 3 of the License, or + (at your option) any later version. + + BEEM 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 BEEM. If not, see . + + Please send bug reports with examples or suggestions to + contact@beem-project.com or http://dev.beem-project.com/ + + Epitech, hereby disclaims all copyright interest in the program "Beem" + written by Frederic-Charles Barthelery, + Jean-Manuel Da Silva, + Nikita Kozlov, + Philippe Lago, + Jean Baptiste Vergely, + Vincent Veronis. + + Nicolas Sadirac, November 26, 2009 + President of Epitech. + + Flavien Astraud, November 26, 2009 + +*/ package com.beem.project.beem.ui; import java.util.ArrayList; diff -r 29ac85113420 -r 1536b3881809 tools/JavaHeaderCheck.regex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/JavaHeaderCheck.regex Tue Dec 15 16:26:29 2009 +0100 @@ -0,0 +1,39 @@ +^/\*$ +^ BEEM is a videoconference application on the Android Platform\.$ +^$ +^ Copyright \(C\) \d\d\d\d by .*$ +^ .*$ +^$ +^ This file is part of BEEM\.$ +^$ +^ BEEM 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, either version 3 of the License, or$ +^ \(at your option\) any later version\.$ +^$ +^ BEEM 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 BEEM\. If not, see \.$ +^$ +^ Please send bug reports with examples or suggestions to$ +^ contact@beem-project\.com or http://dev\.beem-project\.com/$ +^$ +^ Epitech, hereby disclaims all copyright interest in the program "Beem"$ +^ written by Frederic-Charles Barthelery,$ +^ Jean-Manuel Da Silva,$ +^ Nikita Kozlov,$ +^ Philippe Lago,$ +^ Jean Baptiste Vergely,$ +^ Vincent Veronis\.$ +^$ +^ Nicolas Sadirac, November 26, 2009$ +^ President of Epitech\.$ +^$ +^ Flavien Astraud, November 26, 2009$ +^ Head of the EIP Laboratory\.$ +^$ +^\*/$ diff -r 29ac85113420 -r 1536b3881809 tools/LicenseHeader.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/LicenseHeader.txt Tue Dec 15 16:26:29 2009 +0100 @@ -0,0 +1,43 @@ +/* + BEEM is a videoconference application on the Android Platform. + + Copyright (C) 2009 by Frederic-Charles Barthelery, + Jean-Manuel Da Silva, + Nikita Kozlov, + Philippe Lago, + Jean Baptiste Vergely, + Vincent Veronis. + + This file is part of BEEM. + + BEEM 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, either version 3 of the License, or + (at your option) any later version. + + BEEM 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 BEEM. If not, see . + + Please send bug reports with examples or suggestions to + contact@beem-project.com or http://dev.beem-project.com/ + + Epitech, hereby disclaims all copyright interest in the program "Beem" + written by Frederic-Charles Barthelery, + Jean-Manuel Da Silva, + Nikita Kozlov, + Philippe Lago, + Jean Baptiste Vergely, + Vincent Veronis. + + Nicolas Sadirac, November 26, 2009 + President of Epitech. + + Flavien Astraud, November 26, 2009 + Head of the EIP Laboratory. + +*/ diff -r 29ac85113420 -r 1536b3881809 tools/README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/README Tue Dec 15 16:26:29 2009 +0100 @@ -0,0 +1,14 @@ +This directory contains useful files for the developer. + +JavaHeaderCheck.regex +This file is used by checkstyle to check the header on the java files. + +LicenseHeader.txt +This file contains the header mandatory for all the java files of the project. Lines 29 to 42 are optional. + +checkstyle.xml +This file contains the rules used by checkstyle to verify the conformity of the source code. If you want your code to be accepted by the team, you must pass all the checks. + +eclipse_formatter.xml +This file can be used by Eclipse IDE to configure the code formater. + diff -r 29ac85113420 -r 1536b3881809 tools/checkstyle.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/checkstyle.xml Tue Dec 15 16:26:29 2009 +0100 @@ -0,0 +1,325 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 29ac85113420 -r 1536b3881809 tools/eclipse_formatter.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/eclipse_formatter.xml Tue Dec 15 16:26:29 2009 +0100 @@ -0,0 +1,269 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +