Commit Graph

717 Commits

Author SHA1 Message Date
Laurent Rineau d33971d04a Merge pull request #6241 from sloriot/CGAL-warnings
Fix warnings
2022-01-21 14:38:40 +01:00
Sébastien Loriot 4fa136d17c fix maybe uninitialized warning 2022-01-17 09:07:09 +01:00
Laurent Rineau e481ec1a88 Merge pull request #6199 from albert-github/feature/bug_stream_support_endcond
Missing \endcond in Stream_support package
2022-01-03 16:25:59 +01:00
Sébastien Loriot 2a99174563 remove exe flag 2021-12-27 09:21:09 +01:00
albert-github a20887f1fa Missing \endcond in Stream_support package
We get the warning:
```
include/CGAL/IO/GOCAD.h:41: warning: Conditional section with label 'SKIP_IN_MANUAL' does not have a corresponding \endcond command within this file.
```

Added \endcond in Stream_support package at an in my opinion sensible place.
2021-12-27 07:34:06 +01:00
Sébastien Loriot 04ab5e2f1b remove doc dep 2021-12-16 19:05:42 +01:00
Andreas Fabri 115fa5ab39 Remove Geomview from the manual and the demos 2021-12-14 14:01:21 +00:00
Laurent Rineau c199795670 Merge pull request #6104 from sloriot/Property_map-fix_id_map_mutable
restore mutable property of the pmap
2021-11-18 12:27:23 +01:00
Laurent Rineau 3e877fa124 Merge pull request #6109 from afabri/CGAL-VC_max_warning-GF
PMP: Fix Warnings in Master
2021-11-18 12:27:21 +01:00
Sébastien Loriot 32f40d82a7 workaround -Wmaybe-uninitialized
The init is legit as it prevents the reader to
do a useless loop and the writer to write
random number

In case of failing to read a face index or the number of faces,
the error bit in the stream is set anyway and the user has to
check it
2021-11-11 15:21:50 +01:00
Sébastien Loriot 4eb1464aed fix Identity_map mutability and fix CGAL code using it 2021-11-09 11:37:24 +01:00
Sébastien Loriot ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01:00
Laurent Rineau 89f775c699 Merge pull request #6085 from lrineau/Stream_support-fix_examples_CMakeLists.txt-GF
Fix a bad merge from PR "Re-organize I/O #4255"
2021-11-04 18:21:54 +01:00
Laurent Rineau 584957eb19 Fix a bad merge from PR "Re-organize I/O #4255"
Before my fix, the CMakeLists.txt could be sum-up that way:

```cmake
find_package(CGAL REQUIRED)
find_package(Boost QUIET)

if(NOT Boost_FOUND)
  message(
    STATUS "This project requires the Boost library, and will not be compiled.")

    create_single_source_cgal_program( "Point_WKT.cpp" )
    # [...]
else ()
  message(STATUS "This project requires the CGAL library, and will not be compiled.")
  return()
endif()
```

So, on *all platform*, as Boost is mandatory and always found, the
behavior was to display "This project requires the CGAL library, and
will not be compiled." and return, without configuring any target.

I have simplified the `CMakeLists.txt` to the simplest:

```cmake
cmake_minimum_required(VERSION 3.1...3.20)
project(Stream_support_Examples)

find_package(CGAL REQUIRED)

create_single_source_cgal_program( "Point_WKT.cpp" )
```

- `cmake_minimum_required` is mandatory and must be the first line,
- `project` is mandatory,
- `find_package(CGAL REQUIRED)`: no need to test `CGAL_FOUND`, because
  CGAL is required anyway. No need to search for Boost, because that is
  an implementation detail of CGAL, and the CMake file
  `CGALConfig.cmake` deals with that dependency
- and then the declaration of the targets.
2021-10-27 12:03:36 +02:00
Sébastien Loriot 1857a25d28 Merge remote-tracking branch 'cgal/master' into CGAL_data-moving_files 2021-10-06 13:50:31 +02:00
Sébastien Loriot 8350dea94a char* -> std::string 2021-10-04 09:49:24 +02:00
Sébastien Loriot 47028cd184 automatically move data files in data dir + update paths
Done for OFF/OBJ/STL/XYZ/PWN/PLY
2021-10-04 09:42:49 +02:00
Laurent Rineau 7fc986f581 Merge pull request #5992 from afabri/CGAL-safe_functions-GF
Deal with memset, memcpy, fscanf...    and their safe equivalents
2021-09-29 11:46:44 +02:00
Laurent Rineau ad79d37410 Merge pull request #6014 from MaelRL/CGAL-IO_Clarify_binary_text-GF
CGAL IO: Clarify binary warning
2021-09-29 11:46:30 +02:00
Mael Rouxel-Labbé 5578bf43ff Misc cleaning 2021-09-27 15:35:40 +02:00
Mael Rouxel-Labbé c8cc0747fa Clarify binary warning 2021-09-27 15:33:42 +02:00
Andreas Fabri 3b7754f796 CGAL_TRACE() -> CGAL_TRACE_STREAM 2021-09-23 17:00:10 +02:00
Andreas Fabri b23b0b0d63 vfprintf -> vprintf_s 2021-09-23 17:00:10 +02:00
Sebastien Loriot 4610cf3c66
Merge pull request #5904 from sloriot/CGAL-remove_config_flags
Replace macros with inline functions and remove a config flag
2021-09-10 17:38:50 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Sébastien Loriot 31a0557f58 add questions 2021-08-13 16:45:28 +02:00
Sébastien Loriot 814c9138ef Merge remote-tracking branch 'cgal/5.3.x-branch' 2021-08-12 10:38:11 +02:00
Sebastien Loriot c25c7c4668
Merge pull request #5882 from sloriot/Data-Ply_edge_prop
Update PLY files to valid format
2021-08-12 10:24:32 +02:00
Sébastien Loriot cff3cdb40e Merge remote-tracking branch 'cgal/5.2.x-branch' into HEAD 2021-08-12 10:23:57 +02:00
Sébastien Loriot 84fac01b06 fix doc: constants -> functions
since e3e0efb
2021-08-04 15:29:22 +02:00
Sébastien Loriot aee767b2e3 update to valid format 2021-07-30 10:07:33 +02:00
Maxime Gimeno 8aa6bb3953 fix test WKT. 2021-07-22 09:00:21 +02:00
Maxime Gimeno a3d1765ab4 Merge remote-tracking branch 'cgal/master' into CGAL-Clean_up_boost_versions-maxGimeno 2021-07-19 14:18:40 +02:00
Mael Rouxel-Labbé 01b2f0783a Harmonization of ASCII/BINARY/PRETTY formatting within io.h 2021-07-06 10:37:07 +02:00
Mael Rouxel-Labbé 78ff9185b3 Harmonize ASCII usage across all packages 2021-06-23 23:34:32 +02:00
Mael Rouxel-Labbé a34debc92b Uniformize os/is/s/i stream parameter name in Stream_support/io
+ remove extra backticks in NP doc
2021-06-23 23:32:06 +02:00
albert-github 2a54687e77 Correction of hyperlinks
The link checker gave a number of redirects and incorrect links.
- the redirects have been solved ass far as possible
- the incorrect links have been checked and corrected where possible, others  have been reported through issues;
2021-06-04 13:52:14 +02:00
Laurent Rineau 2c4a5db3ce Merge pull request #5631 from GilesBathgate/STL_ext-fix_uncaught_exceptions_cleanup-GilesBathgate
Fix uncaught exceptions cleanup
2021-05-18 18:14:14 +02:00
Maxime Gimeno 516d921ea8 add misisng dependency 2021-05-12 16:29:05 +02:00
Maxime Gimeno e6c767d5c9 Simplify the GNUC versions tests 2021-05-12 15:45:07 +02:00
Maxime Gimeno 393ae7dae6 Clean-up boost_version reqs 2021-05-12 15:03:53 +02:00
Sébastien Loriot 4e519a3c7a move documented IO functions in IO namespace 2021-05-05 13:15:37 +02:00
Sébastien Loriot 699c87daef fix IO namespace 2021-05-04 19:08:10 +02:00
Sébastien Loriot fbbf3863af remove extra IO 2021-05-04 18:25:16 +02:00
Sébastien Loriot 12f0e412b5 write_vtu -> write_VTU 2021-05-04 15:12:36 +02:00
Sébastien Loriot f5e5ebe39b backward compatibility 2021-05-04 14:45:43 +02:00
Sébastien Loriot fb6f703b55 IO namespace for files in IO directories 2021-05-04 14:36:06 +02:00
Giles Bathgate 5ecd85248a Fix capitalisation of macro name. 2021-04-28 21:03:45 +01:00
Giles Bathgate 0ef8127c71 The CGAL_NOEXCEPT macro is no longer needed 2021-04-28 21:03:00 +01:00
Sebastien Loriot b7323389c7
Merge pull request #5622 from maxGimeno/CMake-Update_versions_in_scripts-maxGimeno
Update maximum cmake versions
2021-04-17 10:58:14 +02:00