PhoneDroid
c913317c28
[ Base ]: Updated SPDX
2025-10-14 10:00:04 -05:00
Markus Reitböck
5a423dab39
Base: use CMake to generate precompiled headers on all platforms
...
"Professional CMake" book suggest the following:
"Targets should build successfully with or without compiler support for precompiled headers. It
should be considered an optimization, not a requirement. In particular, do not explicitly include a
precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
generated precompile header on the compiler command line instead. This is more portable across
the major compilers and is likely to be easier to maintain. It will also avoid warnings being
generated from certain code checking tools like iwyu (include what you use)."
Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-14 09:47:01 +02:00
pre-commit-ci[bot]
117b4821c2
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-08-31 12:42:10 +00:00
wmayer
379fd2cf9b
App: Fix output string to XML
...
Not all unicode characters are allowed as XML output. When writing disallowed characters the SAX parser throws an exception
when loading a project file that results into a broken document and thus to a possible loss of data.
This PR replaces all disallowed characters with an underscore and prints a warning.
This fixes https://github.com/FreeCAD/FreeCAD/issues/22123
Note: It does not fix an already corrupted project file.
2025-08-31 14:38:05 +02:00
Benjamin Bræstrup Sayoc
6f619b5f1c
Base: remove unneeded includes
2025-02-18 11:07:57 -06:00
Ladislav Michl
839cd947c7
Base: Replace if else with switch statement
2024-01-21 16:14:12 +01:00
wmayer
985def3416
Base: apply clang format
2023-11-13 12:01:26 -05:00
wmayer
d305f306df
Core: Revert superfluous changes made with PR #9521
2023-10-09 15:06:45 +02:00
AgCaliva
64f60721a9
merge master via cli
2023-09-16 02:12:58 -03:00
luzpaz
40d2a90e3a
Fix typos
2023-08-31 22:29:17 -05:00
AgCaliva
3da00e36a3
Merge Master
2023-08-30 16:24:16 -03:00
AgCaliva
704a5bd10a
Fixed working with tests
2023-08-29 14:41:58 -03:00
wmayer
761905dbc2
Base: modernize C++: use range-based for loop
2023-08-14 14:09:29 +02:00
AgCaliva
9cf1cdadbc
Implemented DocumentReader for GuiDocument.xml reading. Final
2023-06-30 20:50:36 -03:00
AgCaliva
1db4bcf374
Revert "DocumentReader implemented for GuiDocument.xml reading."
...
This reverts commit 2eb5fd7f132035e24880bd88076d49ed368e23e0.
2023-06-30 20:27:12 -03:00
AgCaliva
69b324e422
DocumentReader implemented for GuiDocument.xml reading.
2023-06-30 18:41:00 -03:00
AgCaliva
20da8341c6
Implementing agnostic version of ParameterGrp for reading XML, replacing XMLReader from src/Base/reader.cpp with new class DocumentReader
2023-06-16 15:36:43 -03:00
Uwe
6a9310499a
[Base] Py and Placement: remove unused includes
2022-03-01 12:13:58 +01:00
wmayer
cad0d01883
Base: modernize C++11
...
* remove redundant void-arg
* use nullptr
* replace deprecated headers
2022-01-25 20:21:30 +01:00
luz paz
01b21e0d06
Base: Fix header uniformity, whitespace, and doxygen
...
[skip ci]
2020-11-22 18:12:16 +01:00
luz.paz
011e5aedfa
src/Base: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all `src/Base` files
2019-12-25 11:38:58 +01:00
wmayer
9fa56345cf
core system
...
force strict ISO C++ (-Wpedantic)
TODO: still a lot of variadic macros are not valid ISO C++
2019-09-18 01:01:14 +02:00
wmayer
65c06fce5c
add method restoreFinished and reimplement it in SketchObject
2018-12-29 15:27:32 +01:00
wmayer
0048778f80
remove trailing whitespaces
2018-10-27 18:12:36 +02:00
ickby
64d9f38d95
Persistence: Incorporate review feedback
2018-10-27 16:15:39 +02:00
ickby
13bcf5fae4
Persistence: Avoid copy of data on binary restore
2018-10-27 16:15:20 +02:00
ickby
59283c40b8
Persistence: Enable binary dumps of properties
2018-10-27 16:15:09 +02:00
Unknown
e3eca59173
Misc. typo fixes
...
Various workbenches
2017-12-23 14:30:30 +01:00
wmayer
1a6e5db7f6
move encodeAttribute from Property to Persitence to avoid code duplication
2017-11-26 18:38:45 +01:00
wmayer
bb63f7a4d5
Remove FileVersion from RestoreDocFile, convert point data back to floats
2013-03-29 15:23:51 +01:00
jrheinlaender
ad6444053b
Added FileVersion attribute to XML format to distinguish legacy float binary files from new double binary files
2013-03-27 11:47:18 +04:30
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00