Tom Stein
49c80ebe5c
Mesh: Add object name attribute to 3MF export
...
Export mesh object names as 'name' attribute in 3MF files according to
the 3MF specification. This allows downstream tools to identify objects
by their original FreeCAD names.
Changes:
- Moved Exporter::xmlEscape() to Base XMLTools::escapeXml() for shared XML entity escaping
- Update Writer3MF::AddMesh() to accept and output object names with default "" where no attribute will be added
- Updated all codepaths leading to 3mf exports to include the object name
2026-01-31 09:09:27 +01:00
wmayer
f9cbeb91b1
Simplify code using xerces namespace
2026-01-07 14:37:59 +01:00
pre-commit-ci[bot]
25c3ba7338
All: Reformat according to new standard
2025-11-11 13:49:01 +01:00
PhoneDroid
2a56489feb
[ Base ]: Updated SPDX
2025-10-14 10:00:04 -05:00
Markus Reitböck
965109dd73
missing includes in Base, App and Gui headers ( #23854 )
...
* missing includes in Base, App and Gui headers
header should be self contained
* use cstddef header instead of stddef.h
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
---------
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2025-09-11 18:58:44 -05:00
Kohei Takahashi
b54898f05f
Base: Fixed segfault on destructing cached string ( #20563 )
...
* Base: Fixed segfault on destructing cached string
Xerces default memory manager is deleted before destructing static local
variable and segfault.
---------
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2025-05-15 17:23:03 +00:00
Luz Paz
5d052cc043
Fix various typos
...
Missed by the codespell CI not being functional for a period of time.
2025-05-15 10:59:48 -05:00
Benjamin Bræstrup Sayoc
dda05369c4
Base: remove unneeded includes
2025-02-18 11:07:57 -06:00
pre-commit-ci[bot]
ef39aebe70
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-02-08 02:44:47 +00:00
Chris Hennes
71732dcb5b
Base: Add comments to new macros
2025-02-07 20:41:44 -06:00
Kohei Takahashi
f032b44f44
Base: Added helper macro for caching transcode-ed string literal
2024-12-26 17:16:45 +09:00
huguesdpdn-aerospace
3795904a00
PD: Xerces-C++ - Prepare for the latest version (backward compatible)
2024-09-08 20:31:25 -05:00
wmayer
c2694fd7d9
Base: cppcoreguidelines
2023-11-24 00:11:32 +01:00
wmayer
dcd533af4b
Base: fix google-explicit-constructor
2023-11-22 23:47:29 +01:00
wmayer
08b10cd287
fix cppcoreguidelines-*
...
* cppcoreguidelines-init-variables
* cppcoreguidelines-c-copy-assignment-signature
* cppcoreguidelines-macro-usage
* cppcoreguidelines-non-private-member-variables-in-classes
* cppcoreguidelines-pro-type-member-init
* cppcoreguidelines-slicing
* cppcoreguidelines-special-member-functions
* cppcoreguidelines-virtual-class-destructor
2023-11-16 01:22:09 +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
0859cf6555
Fix DOMDocument redefinition error
2023-09-08 09:12:52 -03:00
berniev
8aff4a7503
Base: Modernise ctors dtors defs etc
2022-08-02 12:37:46 +02:00
Uwe
7b14b3b02e
[Base] Reader and Writer: remove unused includes
2022-02-27 23:54:00 +01:00
wmayer
b5c49a6b77
Base: allow to use the classes XUTF8Str and StrXUTF8 outside FreeCADBase
2021-04-28 10:56:17 +02: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
1f3d2389bc
start to replace old C-style casts with static_cast or reinterpret_cast, avoid implicit casts
2019-09-16 17:59:18 +02:00
wmayer
1a68b75a4b
fix possible infinite loop when transcoding from/to UTF-8
2019-02-14 11:06:30 +01:00
luzpaz
a36c90cee4
Added missing apostrophe
2017-07-16 11:40:32 -03:00
wmayer
1673ab801e
use specialized exception classes
2017-04-28 18:49:11 +02:00
Kunda
19f8fd4c10
source typo fixes pt5
...
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
wmayer
f944ab3846
replace deprecated auto_ptr with unique_ptr
2016-09-22 13:01:20 +02:00
wmayer
2e43774c2f
+ terminate xerces at program exit
2016-03-09 15:52:42 +01:00
Mateusz Skowroński
43a4a5938c
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
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