pre-commit-ci[bot]
9fe130cd73
All: Reformat according to new standard
2025-11-11 13:49:01 +01:00
Kacper Donat
de61481708
Gui: Check for every VP expiration in TaskAttacher
2025-09-25 14:09:07 -05:00
Markus Reitböck
a72a0d6405
Gui: 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:03 +02:00
Kacper Donat
ef357aa07a
Gui: Use freecad_cast whenever possible
2025-04-26 14:23:25 +02:00
wmayer
6beace8da6
Gui: modernize C++: use default member init
2023-08-23 19:51:44 +02:00
wmayer
888a33917d
Gui: modernize C++: use equals default
2023-08-20 18:12:43 +02:00
wmayer
948cbfccd9
modernize C++: avoid bind
...
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
wmayer
23961706be
Gui: modernize C++: replace 'typedef' with 'using'
2022-08-29 14:09:18 +02:00
Uwe
d5b227e6a6
[Gui] remove more superfluous nullptr checks
2022-07-18 03:34:22 +02:00
wmayer
cf321ef481
Gui: implement '*' operator for weak pointer classes
2022-06-13 13:52:34 +02:00
wmayer
1178df06b4
Gui: modernize C++11
...
* use nullptr
2022-03-23 18:41:21 +01:00
wmayer
8f786ea6ef
Gui: Optimize includes to reduce compile time
2022-03-07 20:29:18 +01:00
Uwe
f04d77db59
[Gui] Document and Download: remove unused includes
2022-03-04 04:37:36 +01:00
wmayer
4090999cf3
Gui: in document observer classes replace boost::bind with std::bind
2021-03-05 14:59:26 +01:00
wmayer
2433b36f70
Gui: harmonize API of Gui document observer classes with App document observer classes
2021-03-05 14:53:44 +01:00
wmayer
19c7fbd096
LGTM: [skip ci] fix: Inconsistent definition of copy constructor and assignment ('Rule of Two')
2020-07-27 14:39:14 +02:00
wmayer
9b2a6edeb0
Coverity: Uncaught exception
2020-07-20 17:34:29 +02:00
wmayer
d6169d6478
boost: fix for boost < 1.60
2020-06-15 19:38:39 +02:00
wmayer
730154a684
boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
2020-06-12 17:51:33 +02:00
wmayer
454fe91c3c
App/Gui: implement a lightweight weak_ptr like class to work with Document, DocumentObject and ViewProvider
2020-02-19 19:58:34 +01:00
wmayer
0a4eae24bc
add/extend helper classes to safely access documents, document objects or view providers
2018-10-31 14:27:28 +01:00
wmayer
42601fc4e4
add/extend helper classes to savely access document, document objects or view providers
2018-10-31 11:24:45 +01:00
wmayer
36271b4052
move from deprecated boost.signals to boost.signals2 library
2018-10-30 19:09:03 +01:00
wmayer
e4cba8e80f
add new signal to Document class for convinience and add method to DocumentObserver
2017-04-07 15:14:45 +02:00
wmayer
953749e330
add observer for GUI documents
2017-01-22 19:05:13 +01:00