pre-commit-ci[bot]
b44dc26ff1
[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
696c18b6da
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
dda05369c4
Base: remove unneeded includes
2025-02-18 11:07:57 -06:00
Ladislav Michl
f1fdd2e2a9
Base: Replace if else with switch statement
2024-01-21 16:14:12 +01:00
wmayer
e85c383bff
Base: apply clang format
2023-11-13 12:01:26 -05:00
wmayer
56820718c5
Core: Revert superfluous changes made with PR #9521
2023-10-09 15:06:45 +02:00
AgCaliva
4a504437d3
merge master via cli
2023-09-16 02:12:58 -03:00
luzpaz
9ed299a57a
Fix typos
2023-08-31 22:29:17 -05:00
AgCaliva
39dcb1da7b
Merge Master
2023-08-30 16:24:16 -03:00
AgCaliva
1f6545557d
Fixed working with tests
2023-08-29 14:41:58 -03:00
wmayer
367cdb36ed
Base: modernize C++: use range-based for loop
2023-08-14 14:09:29 +02:00
AgCaliva
816d4077df
Implemented DocumentReader for GuiDocument.xml reading. Final
2023-06-30 20:50:36 -03:00
AgCaliva
0751770bc6
Revert "DocumentReader implemented for GuiDocument.xml reading."
...
This reverts commit 5f101af3e9 .
2023-06-30 20:27:12 -03:00
AgCaliva
5f101af3e9
DocumentReader implemented for GuiDocument.xml reading.
2023-06-30 18:41:00 -03:00
AgCaliva
52c55f59a8
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
9a42b61fcb
[Base] Py and Placement: remove unused includes
2022-03-01 12:13:58 +01:00
wmayer
4d87039635
Base: modernize C++11
...
* remove redundant void-arg
* use nullptr
* replace deprecated headers
2022-01-25 20:21:30 +01:00
luz paz
d5f6c096b8
Base: Fix header uniformity, whitespace, and doxygen
...
[skip ci]
2020-11-22 18:12:16 +01:00
luz.paz
6f11ed298a
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
b50b21576e
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
be5796b2d0
add method restoreFinished and reimplement it in SketchObject
2018-12-29 15:27:32 +01:00
wmayer
3b1e1f8859
remove trailing whitespaces
2018-10-27 18:12:36 +02:00
ickby
b262cf6e9f
Persistence: Incorporate review feedback
2018-10-27 16:15:39 +02:00
ickby
f5fc291ecd
Persistence: Avoid copy of data on binary restore
2018-10-27 16:15:20 +02:00
ickby
4a7d49f8b6
Persistence: Enable binary dumps of properties
2018-10-27 16:15:09 +02:00
Unknown
a8ecffb652
Misc. typo fixes
...
Various workbenches
2017-12-23 14:30:30 +01:00
wmayer
2059d47e2c
move encodeAttribute from Property to Persitence to avoid code duplication
2017-11-26 18:38:45 +01:00
wmayer
b24f0efbc1
Remove FileVersion from RestoreDocFile, convert point data back to floats
2013-03-29 15:23:51 +01:00
jrheinlaender
fdc3e50811
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