Zheng, Lei
01f7782124
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
berniev
5678fc1abe
remove xcerces2
2022-09-09 08:02:35 +02:00
wmayer
d92eaf7a72
Base: fix several warnings reported by code analyzers
2022-08-02 13:04:50 +02:00
berniev
15419982d4
Base: Modernise ctors dtors defs etc
2022-08-02 12:37:46 +02:00
berniev
ba5c312a58
remove redundant void from Base
2022-07-31 14:10:34 +02:00
wmayer
25483b78be
Fix several clazy issue:
...
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
2022-07-24 22:29:06 +02:00
Uwe
61303b0a01
[Base] remove some more superfluous nullptr checks
2022-07-18 13:07:16 +02:00
Uwe
746f24efa3
[Base] remove more superfluous nullptr checks
2022-07-18 03:29:03 +02:00
Uwe
4b2ffd2eca
[Base] remove superfluous nullptr checks
2022-07-18 03:16:22 +02:00
Zheng, Lei
8bec44934b
Fix mixed line endings
2022-04-26 12:52:55 -05:00
Chris Hennes
b5c72abee4
Base: PR6497 move return statement to new line
2022-03-29 12:34:34 -05:00
wmayer
c01846c3e7
Base: fix handling of path separators in parameter group names
2022-03-29 14:54:03 +02:00
wmayer
d5fd3f996e
Base: make Parameter class less vulnerable for invalid user config files
2022-03-24 11:43:39 +01:00
wmayer
055793e12c
Base: [skip ci] remove several superfluous static_cast
2022-03-24 11:27:55 +01:00
wmayer
4183c45a01
Base: modernize C++11
...
* use nullptr
2022-03-23 16:57:25 +01:00
Uwe
8335466b27
[Base] Parameter and Matrix: remove unused includes
2022-03-02 13:28:34 +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
wmayer
fc2e842aca
Base: [skip ci] Modify GetASCII to include empty strings
2021-10-23 22:56:45 +02:00
Chris Hennes
d18d5be498
Modify GetASCIIMap to include empty strings
2021-08-20 20:04:19 -05:00
wmayer
0909fa76aa
Base: allow to use the classes XUTF8Str and StrXUTF8 outside FreeCADBase
2021-04-28 10:56:17 +02:00
wmayer
57d23463b1
LGTM: [skip ci] fix: Wrong type of arguments to formatting function
2020-07-24 19:58:48 +02:00
wmayer
3f9e53b9a5
Gui: [skip ci] implement function to rename parameter group
2020-05-01 22:47:30 +02:00
wmayer
70f9ab83ad
Base: [skip ci] Parameter Editor: Rename group creates new group
2020-05-01 20:08:43 +02: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
asapelkin
ced8100ab9
use emplace_back instead of push_back where justified
2019-11-21 14:48:09 +01:00
luz.paz
b877cc49a7
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
fd2940ead7
replace some old C style casts with static_cast or reinterpret_cast
2019-10-18 15:50:15 +02:00
wmayer
4642913b61
fix several memory leaks in ParameterGrp when removing nodes from DOM document
2019-10-18 15:43:22 +02:00
wmayer
7a45d74bc7
+ implement a correct cleaning of a parameter group without creating ghost instances of ParameterGrp
2019-10-18 15:38:58 +02:00
wmayer
4dedd32031
+ before creating element in DOM document check if the group node still has the correct name
2019-10-18 15:34:20 +02:00
wmayer
bd76bbd625
Add an XSD validation scheme and implement ParameterManager::CheckDocument(), function is used in the parameter editor
2019-10-14 22:56:03 +02:00
wmayer
e61680d5d0
avoid adding extra newlines when writing user.cfg
2019-10-10 22:03:13 +02:00
wmayer
6f59c842c8
when saving parameters make sure document exists
2019-03-12 01:05:50 +01:00
luz.paz
a1ffb0fa3c
Misc. typo & whitespace fixes
...
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip="*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./.git,./src/zipios++"`
Revert IFC commit
2018-07-11 21:52:27 -04:00
luz.paz
43244aa762
More misc. typos
2018-05-19 12:17:52 -04:00
Unknown
e3eca59173
Misc. typo fixes
...
Various workbenches
2017-12-23 14:30:30 +01:00
luzpaz
a225b13bef
Misc. typos
...
- Tooltip uniformity
- source comment typo fixes
- remove double whitespaces
2017-11-24 09:45:08 -02:00
Unknown
8d9bd319bd
Misc. Typos
2017-10-09 19:59:33 +02:00
wmayer
fb7094bf31
use specialized exception classes
2017-04-28 18:49:11 +02:00
Kunda
de2392eb18
source typo fixes pt5
...
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
wmayer
62ef3dd923
+ add new class ParameterSerializer to load and save parameter files
2016-04-29 17:43:07 +02:00
wmayer
ff5e147f5e
+ terminate xerces at program exit
2016-03-09 15:52:42 +01:00
wmayer
de41dc46ec
+ Prefer prefix ++/-- operators for non-primitive types
2015-10-07 13:38:17 +02:00
wmayer
51e4eebbc6
+ Prefer prefix ++/-- operators for non-primitive types
2015-10-06 21:16:44 +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
696d4a5f4a
+ fix warnings with clang
2014-09-24 17:46:04 +02:00
wmayer
721cb21b42
+ do not abort if user.cfg or system.cfg is empty
2014-08-31 16:10:45 +02:00
jriegel
cf229654aa
App and Base Compiles with new LibPack
2014-08-03 22:56:52 +02:00
wmayer
bbaf4d9073
+ use XMLString::release to free memory
2014-07-16 19:11:17 +02:00
wmayer
1be598ac06
Allow to save/load XML to/from buffer
2013-04-26 17:05:40 +02:00