Commit Graph

759 Commits

Author SHA1 Message Date
Laurent Rineau 9e7115ac2e Merge pull request #2784 from maxGimeno/Travis_check_package_dep-GF
TravisCI:  check package dependencies
2018-02-14 15:33:31 +01:00
Maxime Gimeno 6474c9a54c Cganhe official master doc from doxygen 1.8.4 to doxygen 1.8.13. 2018-02-12 12:51:30 +01:00
Maxime Gimeno 5de691f700 Specify missing property in warning message in cgal_check_dependencies.sh 2018-02-09 10:56:17 +01:00
Maxime Gimeno 688b5dd06e Move dependencies creation to package_info and add dependencies to git 2018-02-02 12:08:05 +01:00
Maxime Gimeno fc5ba1b68e Fixes 2018-02-02 12:08:05 +01:00
Maxime Gimeno 74610660e7 Check package dependencies to decide if it should be tested by travis or not. 2018-02-02 12:08:05 +01:00
Maxime Gimeno c42e183aa0 Add opencv to travis and fix some stuff. 2018-02-02 12:08:05 +01:00
Maxime Gimeno a676d5a60e Try to fix errors in classification checks 2018-02-02 12:08:05 +01:00
Maxime Gimeno acd0a72edf Modify travis script to test dependencies 2018-02-02 12:08:05 +01:00
Maxime Gimeno 1dc6a0d66c Add a script in Scripts/developers_scripts thatcheck if there are differencies in the dependencies of packages 2018-02-02 12:08:05 +01:00
Maxime Gimeno 9fc057e1cf remove list and list generator for documented headers and make compute_dependencies implied by enable_check_header 2018-02-02 12:08:05 +01:00
Laurent Rineau f310fc588d
Merge pull request #2690 from sgiraudot/Classification-ETHZ_random_forest-GF
Classification: ETHZ Random Forest
2018-02-01 17:35:30 +01:00
Laurent Rineau 06ae14bd5c Try to fix the release creation 2018-01-16 16:56:23 +01:00
Laurent Rineau 0273ee4db3 Acknowledge that this package uses two licenses, and fix the script 2018-01-12 14:15:03 +01:00
Laurent Rineau e2f89318e5 Improve scripts 2018-01-11 16:52:35 +01:00
Maxime Gimeno ec40acf2c3 Add a script that bundles the demo with AppImage for all Linux distribs. 2018-01-09 12:31:32 +01:00
Sébastien Loriot e596ee63b4 generate filelists.txt used by doxygen in release mode 2018-01-08 21:14:01 +01:00
Sébastien Loriot 7db11179d0 special handling for Documentation and Miscellany + remove fig_src 2018-01-08 20:49:19 +01:00
Sébastien Loriot c2fa266280 create test/PKG_Demo and test/PKG_Examples + copy cgal_test_with_cmake
needed by the testsuite
2018-01-08 20:15:12 +01:00
Sébastien Loriot 7dd3244c02 handle CGAL_VERSION_NR and CGAL_VERSION options 2018-01-03 12:14:05 +01:00
Sébastien Loriot e318a89a78 handle CGAL_GIT_HASH and CGAL_RELEASE_DATE in version.h 2018-01-03 11:13:19 +01:00
Sébastien Loriot 8b6deff272 generate VERSION 2018-01-03 10:46:22 +01:00
Sébastien Loriot bb8e7127f6 remove INTERNAL option that is redundant 2018-01-03 10:27:05 +01:00
Sébastien Loriot df15f0ece5 consider the file content as a string to avoid semicolon to be removed 2018-01-03 10:21:44 +01:00
Laurent Rineau 8f3e229802 Update the script
- The directory of the doc results is now `output1/` instead of `output/`.

- The script was considering that CGAL-4.11.1-I-103 was `master`, whereas
  it is build from a release branch.
2017-12-13 12:07:30 +01:00
Laurent Rineau 4544da8e1f Merge pull request #2644 from maxGimeno/Doc_add_one_column_to_overview-GF
Add a 3rd diff column to the documentation overview page.
2017-12-05 18:27:09 +01:00
Maxime Gimeno 647f4b7775 update testsuite script 2017-12-01 15:43:58 +01:00
Sébastien Loriot 38810c9860 generate SVN like ID if generated from a git branch 2017-11-20 12:13:22 +01:00
Sébastien Loriot dd5a9163d0 update the replacement string for URL 2017-11-17 12:28:33 +01:00
Sébastien Loriot eda6d41e8f replace $URL$ and $Id$ when generating a release 2017-11-17 08:40:16 +01:00
Sébastien Loriot 76a543fd3b clean up comments 2017-11-17 07:36:44 +01:00
Sébastien Loriot 203f7cd51e merge two loops 2017-11-17 07:28:45 +01:00
Sébastien Loriot dfbb997f48 add a first version of the cmake script to create a release 2017-11-17 07:09:28 +01:00
Sébastien Loriot 4f85e3f688 update script to test for the presence of URL and Id tag 2017-11-15 23:13:22 +01:00
Sébastien Loriot 49c1357aff add license checking include directive only in GPL files 2017-11-12 10:21:35 +01:00
Sébastien Loriot 5a356fb40a add check for the presence of SPDX identifier
also update check for GPL license checking include directive
2017-11-12 10:21:35 +01:00
Sébastien Loriot 72cda50a5e fix incorrect LGPL version tags 2017-11-12 10:17:52 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Laurent Rineau 63d3c81038 Fix the previous commit 2017-09-15 17:12:48 +02:00
Laurent Rineau 7fb5d8dc05 Protection against loss of uncommitted stuff 2017-09-15 17:10:56 +02:00
Laurent Rineau 18a84363c2 Add a zsh script to help the release manager 2017-09-15 16:43:06 +02:00
Laurent Rineau 984b021574 Improve check_headers.sh, and fix the errors 2017-09-04 16:06:51 +02:00
Laurent Rineau 3e61b2c649 fix with old `cut` version before 8.25 2017-08-23 15:55:49 +02:00
Sébastien Loriot 07f6151b06 fix help display 2017-08-18 11:13:52 +02:00
Laurent Rineau 5658adbc26 Fix the updates to doc.cgal.org/master 2017-07-24 16:15:07 +02:00
Laurent Rineau 07e34b2773 Try to be more robust on errors
The objective is to always have a working http://doc.cgal.org/master
2017-07-17 17:42:50 +02:00
Laurent Rineau 2c6980bb4a Fix the script, with filenames containing spaces 2017-06-26 11:57:06 +02:00
Laurent Rineau 376c2dd002 Merge pull request #1852 from maxGimeno/Doxygen_compare-GF
Compare two documentation outputs
2017-06-13 10:18:28 +02:00
Laurent Rineau 053b617695 Fix developer_scripts/detect_wrong_encoding with file-5.29 2017-06-12 18:03:30 +02:00
Maxime Gimeno 36d1a39bfc Optimisations :
- Fix path problems
 - Unify test_doxygens.sh
 - use th emax number of cores available for make calls
 - fix doc of the scripts
2017-06-07 13:58:48 +02:00
Maxime Gimeno 7745ed8423 Modify run_doxygen_testsuite to use the new doxygen testsuite. 2017-04-18 12:59:26 +02:00
Laurent Rineau 4ff73fdb69 Remove other false positives 2017-02-01 18:01:39 +01:00
Laurent Rineau 4cb90a88b7 ack is not needed: egrep does the same 2017-02-01 18:00:44 +01:00
Laurent Rineau 2ef63a5e18 On Trusty, `file` might return "FIG image text, version 3.2" 2017-02-01 17:51:30 +01:00
Laurent Rineau c22aebe938 Windows `.bat` files can be executable 2017-02-01 17:23:40 +01:00
Maxime Gimeno 1c1999411b Update test_merge_branch to check if all the documentation headers actually exist. 2017-02-01 10:52:28 +01:00
Laurent Rineau 7f0a613df7 Improvements
- Use `ack` (Fedora) or `ack-grep` (Debian/Ubuntu)
- Avoid an `exit 1` if the merge is empty.
2017-01-19 18:55:44 +01:00
Laurent Rineau 0b5cd1388f Accelerate "Checking if non utf-8 characters are used" 2017-01-19 18:48:19 +01:00
Sébastien Loriot eefa67f762 remove release_date.h and put the macro in version.h to be set by cmake
in the case of a release, it will be the date of the creation of the release
2017-01-19 16:32:31 +01:00
Sébastien Loriot 953b743e65 detect files with no license include directive 2017-01-19 15:20:28 +01:00
Sébastien Loriot 0313693e03 more strict matching for include guards 2017-01-19 15:20:27 +01:00
Sébastien Loriot 6c7064167d detect non UTF-8 characters 2017-01-19 15:20:27 +01:00
Sébastien Loriot a89ccb10e7 remove non UTF-8 characters 2017-01-19 15:20:26 +01:00
Sébastien Loriot 8f3b8af123 fix the detecting of incorrect cmake project names 2017-01-19 15:20:26 +01:00
Sébastien Loriot 8efcb3db1b improve regexp to match any license header included 2017-01-19 15:20:24 +01:00
Sébastien Loriot 944a8f2e39 add a script to add the include directive of the license file per parckage 2017-01-19 15:20:24 +01:00
Laurent Rineau 71c92f6611 Fix the path to env 2016-12-20 20:01:34 +01:00
Laurent Rineau d97b4001b3 Fix CMake warnings about unused variables set on command line
`RUNNING_CGAL_AUTO_TEST` and `CGAL_DIR` are set on the command line by
our `cgal_test` scripts.

-> Add the option `--no-warn-unused-cli` to avoid warnings when the
   variables are actually not used (for example if a dependency is not
   satisfied).
2016-12-02 11:06:06 +01:00
Laurent Rineau 038a310a1a Merge pull request #1446 from sloriot/CGAL-remove_dont_submit
Getting rid of the remaining dont_submit files
2016-10-17 10:01:30 +02:00
Laurent Rineau 6c93f66b1f improve the script
- More verbose outputs
- Compatibility with various versions of dulwich.
2016-10-06 18:22:31 +02:00
Laurent Rineau 5e3a7dba70 Purposely ignore all build* directories 2016-10-06 17:38:24 +02:00
Sébastien Loriot c430ba2370 release creation script skip Maintenance directory 2016-10-06 09:55:49 +02:00
Laurent Rineau 223c1cf5a4 Merge pull request #1530 from lrineau/Installation-compute_dependencies-GF
Compute and fix packages dependencies
2016-10-05 13:11:04 +02:00
Laurent Rineau 8f33571919 Merge pull request #1533 from lrineau/Scripts-cpp14_by_default-lrineau
Enable C++14 by default in generated CMake scripts
2016-10-05 13:03:58 +02:00
Laurent Rineau 9a0bb54922 Merge pull request #1438 from sloriot/CGAL-clean_up_projects_name_cmake
Clean up projects name in cmake scripts
2016-10-05 13:02:25 +02:00
Laurent Rineau 405207791c Fix the name of the config file 2016-10-04 20:14:03 +02:00
Laurent Rineau d78eb5192f Add --unmerged 2016-10-04 20:06:51 +02:00
Laurent Rineau b27f3b75fc Improve the script
- Document and implement the special treatment of 'Under testing ...'
- In case the label is unknown, print know labels.
- Fix the case when issues are not pull-requests.
2016-10-04 19:55:31 +02:00
Laurent Rineau ac6c0b8b1c Add a new script to list pull-request
This Py2/Py3 script uses the Github API to list pull-requests matching a
given label.
2016-10-04 19:43:26 +02:00
Laurent Rineau 2cc5afd7b6 Enable C++14 by default in generated CMake scripts
(cherry picked from commit b11818e8d67dd741ac411bc02e108ddd9a290fd3)
2016-09-30 18:21:58 +02:00
Laurent Rineau 367da380f1 Move and regenerate list_of_documented_headers.cmake 2016-09-30 15:23:15 +02:00
Laurent Rineau c6855beb15 Only check the list of documented headers
That list of documented headers (contained in
`Installation/list_of_documented_headers.cmake`) is generated using a
shell script, with `ack`, by searching in the example .cpp files, and in
the Doxygen compiled documentation.
2016-09-30 15:22:28 +02:00
Laurent Rineau 545e80f18e Add a variable CGAL_CURRENT_SOURCE_DIR
Save the current source directory to `CGAL_CURRENT_SOURCE_DIR`. The
variable value is modified by a `CMakeLists.txt` file when it is
generated by `cgal_create_cmake_script` in the binary tree. The script
`cgal_create_cmake_script` itself it called by CMake, by the function
`process_CGAL_subdirectory` (see its definition in
`Installation/cmake/modules/CGAL_Macros.cmake`), called in
`(examples|test|demo)/CMakeLists.txt`.

Eventually, that variable value is supposed to be the directory to the
current sources, even if the current `CMakeLists.txt` is within the
binary tree.

That is used in `CGAL_CreateSingleSourceCGALProgram.cmake` for the CTest
support, so set correctly the current working directory (in the
directory of the tests/examples).
2016-09-20 10:53:20 +02:00
Sébastien Loriot 7d3f017ba1 one more symbol 2016-09-09 14:29:13 +02:00
Sébastien Loriot 20b07e04e7 remove no longer used script 2016-09-08 18:40:46 +02:00
Laurent Rineau 1932c2115f Use bash as the interpreter
Fixes #1440.
2016-09-08 15:42:57 +02:00
Sébastien Loriot 1b9fb0be94 check cmake scripts of tests, examples and demos exist 2016-09-08 01:08:50 +02:00
Sébastien Loriot de8d0d33f5 add test to check the field project in cmake scripts 2016-09-08 00:38:44 +02:00
Sébastien Loriot bbf00dbe52 one more 2016-09-07 21:59:58 +02:00
Sébastien Loriot 756f19c2a5 remove more symbol 2016-09-07 21:59:13 +02:00
Sébastien Loriot fccdea9517 handle more symbols 2016-09-07 18:49:46 +02:00
Sébastien Loriot 421912200c add script to generate a table of content in the wiki on github 2016-09-07 18:38:30 +02:00
Laurent Rineau a022a05f0d Add the support to edit the symlink 2016-07-20 19:46:02 +02:00
Laurent Rineau 10fe0db5f4 Merge branch 'releases/CGAL-4.8-branch' 2016-04-08 15:13:33 +02:00
Laurent Rineau 84710e67b4 Update the script for CGAL-4.8 demos
The polyhedron demo now has sub-sub-directories!
2016-04-08 15:01:04 +02:00
Sébastien Loriot 45406a5296 Merge pull request #788 from bo0ts/Installation-split_config-pmoeller
Split CGALConfig.cmake and CGALExports.cmake
2016-03-06 15:36:55 +01:00
Philipp Möller 42899e6bf0 Remove script cgal_generate_cmake_script.cmake
The script is ancient, has syntax errors, and no obvious purpose not covered
by cgal_create_CMakeLists.
2016-02-16 17:34:41 +01:00
Philipp Möller 25571be1d9 Remove WITH_ALL_PRECONFIGURED_LIBS code
The required code is no longer supported after the removal of
CGAL_ALLOW_ALL_PRECONFIGURED_LIBS_COMPONENT
2016-02-16 17:27:58 +01:00
Philipp Möller 2edc292f7e Drop -p option
The required code is no longer supported after the removal of
CGAL_ALLOW_ALL_PRECONFIGURED_LIBS_COMPONENT
2016-02-16 17:25:19 +01:00