tritao
69058376e6
Base: Remove Boost-based signals and switch to FastSignals.
2026-01-07 21:16:16 +00: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
f0eca551b3
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
Chris Hennes
7f1c43a335
Merge pull request #19636 from kadet1090/color-in-base
...
Base: Move App::Color to Base
2025-03-02 16:36:40 -06:00
ᴩʜᴏɴᴇᴅʀᴏɪᴅ
cf21e9a542
[ Doxygen ] Improved Parameter Group - Copy & Insert ( #19563 )
2025-02-24 10:52:34 -06:00
Benjamin Bræstrup Sayoc
dda05369c4
Base: remove unneeded includes
2025-02-18 11:07:57 -06:00
Kacper Donat
1ce7c678bb
Base: Add Color parameter Type
...
This adds Color parameter type to the ParameterGroup. Internally colors
are stored as unsigned longs so it only is convienance layer.
2025-02-17 21:10:26 +01:00
Kacper Donat
a72a63232a
Base: Move App::Color to Base
...
Every basic data type is stored in Base module, color is standing out as
one that does not. Moving it to Base opens possibilities to integrate it
better with the rest of FreeCAD.
2025-02-17 21:10:26 +01:00
ᴩʜᴏɴᴇᴅʀᴏɪᴅ
d546b9d219
[ Doxygen ] Improved Param Group Subgroup Methods ( #19546 )
2025-02-17 11:24:05 -06:00
Andrea
de9bd5e1ce
change MIN_boost_version
...
ubuntu version 20.04 is no longer supported.
The minimum boost version used for freecad is now 1.74 (ubuntu 22.04) https://launchpad.net/ubuntu/jammy/+package/libboost-system-dev
2025-02-15 13:33:32 -06:00
ᴩʜᴏɴᴇᴅʀᴏɪᴅ
0ece6f3201
Base: [ Doxygen ] Improved parameter attribute methods ( #19491 )
2025-02-11 11:44:52 -06:00
huguesdpdn-aerospace
3795904a00
PD: Xerces-C++ - Prepare for the latest version (backward compatible)
2024-09-08 20:31:25 -05:00
wmayer
459b4d2c36
Core: Fix possible race conditions when reading or writing config file
2024-05-06 13:24:17 +02:00
wmayer
9fb2931781
Base: fix some linter warnings
2024-04-14 21:22:08 +02: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
39337ea12e
fix bugprone-*
...
* bugprone-throw-keyword-missing
* bugprone-unhandled-self-assignment
* bugprone-suspicious-string-compare
* bugprone-reserved-identifier
* bugprone-narrowing-conversions
* bugprone-macro-parentheses
* bugprone-implicit-widening-of-multiplication-result
* bugprone-exception-escape
* bugprone-copy-constructor-init
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
AgCaliva
5f8426d7a7
fix parameter
2023-08-31 01:03:51 -03:00
AgCaliva
4062d9b06a
fix merge
2023-08-30 17:59:41 -03:00
AgCaliva
39dcb1da7b
Merge Master
2023-08-30 16:24:16 -03:00
mosfet80
d453672ab8
[BASE] Removed dead code ( #10330 )
2023-08-28 10:41:20 -05:00
wmayer
4fb07bcfd6
Base: modernize C++: use default member init
2023-08-23 19:51:44 +02:00
AgCaliva
0c4ef0e106
merge master
2023-08-08 23:29:40 -03:00
wmayer
d244dcf2da
modernize C++: use nullptr
2023-08-05 11:23:12 -06: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
Zheng, Lei
7164674cb4
Base/App/Gui: force using Base::Handle for ParameterManager
...
For reference counting
2023-01-06 09:14:41 -06:00
Zheng, Lei
d3c063f88c
Base/App: add new signal interface to Parameter
...
Added new signal interface using boost::signals2 signalParamChanged.
Exposed to Python as ParameterGrpPy.AttachManager() to monitor changes
to all parameters, sub groups under the referring group.
Added new attribute for ParameterGrp(Py) to query the Parent and Manager
of the referring group.
2022-12-03 17:08:17 -06:00
wmayer
d2168f51b9
Base: modernize C++: replace 'typedef' with 'using'
2022-08-29 11:42:09 +02:00
berniev
8aff4a7503
Base: Modernise ctors dtors defs etc
2022-08-02 12:37:46 +02:00
luz paz
a0c0b2616c
Fix various typos
2022-06-01 18:03:40 -04:00
wmayer
988a96b457
Base: make Parameter class less vulnerable for invalid user config files
2022-03-24 11:43:39 +01:00
wmayer
6c1e940b69
Base: use forward declaration instead of including Python.h
2022-03-03 19:18:07 +01:00
Uwe
7bb7efc55f
[Base] Parameter and Matrix: remove unused includes
2022-03-02 13:28:34 +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
wmayer
d5d16de06b
Gui: [skip ci] implement function to rename parameter group
2020-05-01 22:47:30 +02: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
luz.paz
788a509184
Doxygen: Base/Parameter.h description
...
Adding a cursory description for `Parameter.h` + typo fix for it's companion .cpp file.
.
2019-10-19 16:14:53 -03:00
wmayer
736511e5b6
+ implement a correct cleaning of a parameter group without creating ghost instances of ParameterGrp
2019-10-18 15:38:58 +02:00
wmayer
9a6824a3fe
+ before creating element in DOM document check if the group node still has the correct name
2019-10-18 15:34:20 +02:00
luz.paz
505488c4f9
Misc. typos
...
Found via `codespell`
2018-04-25 09:41:33 -03:00
Unknown
a8ecffb652
Misc. typo fixes
...
Various workbenches
2017-12-23 14:30:30 +01:00
luzpaz
56af703746
Fix Techdraw UI typo found via crowdin + misc. typos
...
Ref: https://crowdin.com/translate/freecad/27911/en-eu#6503377
2017-11-26 15:48:20 +01:00
wmayer
00eaab0522
+ add new class ParameterSerializer to load and save parameter files
2016-04-29 17:43:07 +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