Commit Graph

80 Commits

Author SHA1 Message Date
Jonas Bähr
46cee50bd5 Fix build on MacOS-X 10.14: missing Xerces include dir
This undoes most of the Xerces related part of the commits listed below.
The issue resolved here is that the Xerces include dir *is* set in the
CMakeLists.txt of src/Base, but it got removed from various App and Gui
dirs in src/Mod. If those now include a header from src/Base, which
itself includes xercesc, the build fails using Apple clang version 11.0.0
(clang-1100.0.33.17) on Mojave, configured using cmake 3.22.1, with
errors like the following:

In file included from .../src/Mod/Part/App/FeaturePartBoolean.cpp:34:
In file included from .../src/App/Application.h:33:
.../src/Base/Parameter.h:54:10: fatal error: 'xercesc/util/XercesDefs.hpp' file not found
 #include <xercesc/util/XercesDefs.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Finally, a full list of the commits that introduced this spurious include
dir optimization for reference:
- Drawing: commit f4411478d106ba9f4827754a50efa53bd7767a66
- Image: commit e3476815c04c571199779bd1e444b950e6398025
- Import: commit b7b264e52c8fd97e83987c4ce42ce563170c8918
- Inspection: commit 1f64d8b1b8fcabe983c6e5e624d65766b4429ea0
- Mesh: commit 5a8fed0720d681cdbb9fedc840d2532c4f2f6042
- Part: commit 26bb65f11f4b51e5e47b65b2d6049ece10705a83
- PartDesign: commit f4e49f2aecf08f2337e84510ed019b7fa4b685a3
- Path: commit e3d9cc98577d2073297d55ffd8de28dd50f8444c
- Points: commit 09f3e867cdccd31294cced4e3c73015d3add3f4a
- Raytracing: commit 7b92dedc53f09e2ce8365408f3003e5700aebfc8
- ReverseEnginering: commit eeacc51ad0cd82e5f17d63207f78f79eb20bf9a9
- Robot: commit 4d06684cbd0328e4f43c78b5dab7e7fcebab148d
- Sketcher: commit 079125665495a08a7e2e2a4f01da406128dca625
- Spreadsheet: commit 514097954e95c04a7ec9d7e8ec1afc3aac3dd8d
- Start: commit 2ea2bb0dc393d7b8b41e9137c6d4ae40ce29719d
- Surface: commit 272268dd6c0b460ae9aeecdf371495ea26aa044d
- TechDraw: commit c70fdc3e0aa6b409626a6fa6b7266d05f3338c6d
- Test: commit 49a07b121e08e9bf3fef0f414a8da5602533592e
- Web: commit a93a23d7e4da13b2d5c37ac087b2dcf41aae197d
2022-08-24 07:40:04 +02:00
wmayer
8c298493de Mod: replace std::ifstream/std::ofstream with Base::ifstream/Base::ofstream 2022-08-21 12:46:53 +02:00
wmayer
c87e1cc1c2 clang: fix warnings [-Winconsistent-missing-override] 2022-08-09 17:36:25 +02:00
berniev
71dc5ead2f Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
berniev
53ba98d636 Mod: use empty 2022-08-06 19:30:13 +02:00
wmayer
b02854f842 Raytracing: include header with export macros 2022-03-24 20:40:31 +01:00
wmayer
d21a60b294 All: modernize C++11
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
669b22252a Raytracing: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Uwe
d78bd81c67 [Raytracing] remove Python.h and Xerces 2022-03-20 22:53:01 +01:00
wmayer
0f9768fb33 Fix coverity issue:
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
Syres916
e053db75b3 [Raytracing] Bugfix for compiling with OCC 7.6.x
See discussion https://forum.freecadweb.org/viewtopic.php?f=4&p=577109#p577109
2022-03-06 22:32:31 +01:00
wmayer
91e4e468dd Base: move ILogger sub-classes to their own source files in order to reduce including stream classes in client code 2022-03-06 10:13:47 +01:00
wmayer
f36126770c App: harmonize API of App::Application
* make getHomePath() static and return a std::string
* make getExecutableName() static and return a std::string
2021-11-04 10:50:09 +01:00
wmayer
ad370b4789 Raytracing: in PovTools/LuxTools use functions of Tools class 2021-10-08 15:29:36 +02:00
wmayer
9eedb17b70 App: use consistent spelling of SubElement 2021-10-06 18:09:53 +02:00
wmayer
83dcfae0f6 Raytracing: remove some more deprecated Py2 code 2021-04-26 11:04:26 +02:00
wmayer
bc5c235781 [skip ci] replace German comments 2019-12-26 10:19:12 +01:00
luz.paz
b785920541 [skip ci] Fix header uniformity for Import, Mesh, Points, Raytracing 2019-12-26 10:10:30 +01:00
wmayer
a79ce8d823 add missing std:: namespace to build on Debian 10 2019-08-21 23:56:46 +02:00
wmayer
23bc00e1a1 PVS: V1024 The 'file' stream is checked for EOF before reading from it, but is not checked after reading. Potential use of invalid data 2019-03-13 13:34:45 +01:00
wmayer
5fd900d661 implement mustExecute for Raytracing features 2018-10-11 15:51:11 +02:00
wmayer
a7985a591d support of user defined Povray or Lux templates 2018-10-03 14:29:34 +02:00
wmayer
b7141c55a3 CMP0050: make Raytracing module aware of cmake policy 2018-08-20 19:16:12 +02:00
luz.paz
60bd74aaad Trailing whitespace fixes 2018-08-18 21:48:42 +02:00
luz.paz
fab9cad50f Misc. typos
Found via `codespell`
Trivial typos

Found via `codespell`
2018-08-18 21:48:42 +02:00
luz.paz
b36b21247c follow-up source typos 2018-05-11 10:02:56 -03:00
luz.paz
bb9d49dd18 Weekly misc. typo fixes 2018-03-05 09:25:48 -05:00
Unknown
e3eca59173 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
Unknown
8d9bd319bd Misc. Typos 2017-10-09 19:59:33 +02:00
luzpaz
f3bf8fe919 Misc. typos
+ some are doxy others are just comment code.  
+ some minor whitespace and grammatical tweaks. 
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
Peter Lama
fa4bebf2e0 Use OCCT Handle macro for Handle_ classes
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
Kunda
315d039f29 source typo fixes pt3 (only on py3 merged code) 2017-02-28 14:32:33 -05:00
wmayer
ab383c1df6 py3: ported Raytracing to python3 2017-02-28 17:39:08 +01:00
wmayer
19c9a9f819 remove superfluous Qt includes 2016-12-13 14:33:16 +01:00
wmayer
6f43ec4c09 fix -Wextra in Raytracing 2016-09-23 21:20:16 +02:00
Yorik van Havre
39d351a35b Raytracing: Yield error when creating a Luxrender view of a shape with no faces - fixes #2685 2016-09-04 23:12:53 -03:00
wmayer
bed76edb48 fix Coverity issues 2016-08-20 17:21:01 +02:00
Wolfgang E. Sanyer
d1d2f1f811 This commit adds getShape and setShape to TopoShape 2016-08-06 23:42:55 +02:00
wmayer
fb30b1116a + fixes issue #0002224: Drawings break on reopen. Template not found 2016-05-05 11:11:08 +02:00
triplus
65535893b7 Added RadiosityOutdoorHQ.pov 2016-02-27 03:11:45 +01:00
wmayer
012e265621 + simplify porting of Raytracing module to Python3 2016-01-18 19:14:57 +01:00
wmayer
de41dc46ec + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 13:38:17 +02:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
e0bdf24c95 + fix build problems with MSVC and libpack 2015-09-21 14:51:12 +02:00
wmayer
c2c83a353b + harmonize XercesC cmake variables with official check 2015-07-28 14:17:49 +02:00
wmayer
d2b7b730d3 + replace deprecated PYTHON_INCLUDE_PATH 2015-07-25 18:29:42 +02:00
Yorik van Havre
9f202025d8 Workaround for issue #1963 - Search for templates in userAppData/Templates folder 2015-04-20 12:45:43 -03:00
wmayer
f66346b695 + fix wrong template path for Raytracing/Lux project 2015-04-13 10:33:10 +02:00
wmayer
5e9543ca55 + fixes #0001963: Only write needed user data in FCSTD file if any. 2015-04-11 22:30:11 +02:00
Yorik van Havre
824c011aef Raytracing: added transparency to lux feature - fixes #1771 2015-01-02 16:48:35 -02:00