Commit Graph

24 Commits

Author SHA1 Message Date
Kacper Donat
de61481708 Gui: Check for every VP expiration in TaskAttacher 2025-09-25 14:09:07 -05:00
Chris Hennes
79aa35a288 Gui: Selectively disable MSVC 4251 warning
This warning is not relevant to our project in this instance. We are not concerned about ABI-compatibility of DLLs since they are all compiled at the same time when building FreeCAD.
2025-06-28 18:58:32 -05:00
Kacper Donat
77e40b9747 Base: Use explicit pointer syntax for freecad_cast (#20694)
* Base: Use explicit pointer syntax for freecad_cast

This aligns our custom cast with other casts

* All: Use explicit pointer syntax for freecad_cast
2025-04-11 14:11:33 +00:00
Kacper Donat
9d97d1c895 Base: Rename Base::freecad_dynamic_cast into freecad_cast
This is to make it shorter and easier to use. QT does the same thing
with their qobject_cast.
2025-04-07 10:32:28 -05:00
Andrea
146d8a356b 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
wmayer
888a33917d Gui: modernize C++: use equals default 2023-08-20 18:12:43 +02:00
wmayer
7fe0d5b9a6 modernize C++: use equals delete 2023-08-10 17:29:05 +02:00
wmayer
23961706be Gui: modernize C++: replace 'typedef' with 'using' 2022-08-29 14:09:18 +02:00
berniev
3877fc62c3 Gui: Single arg ctors must be explicit (PR #7369) 2022-08-24 15:06:03 +02:00
wmayer
cf321ef481 Gui: implement '*' operator for weak pointer classes 2022-06-13 13:52:34 +02:00
wmayer
02ac1508ff App/Gui: make operator-> operator of WeakPtrT constant 2022-03-19 15:35:58 +01:00
Uwe
407e9c4859 [Gui] DocumentObserver: re-add a header 2022-03-04 04:43:34 +01:00
Uwe
f04d77db59 [Gui] Document and Download: remove unused includes 2022-03-04 04:37:36 +01:00
wmayer
c906775ade Gui: [skip ci] add get() method to WeakPtrT class 2021-10-21 15:50:18 +02:00
wmayer
8cbd92d874 port to MSYS2/clang 2021-09-19 19:49:44 +02:00
wmayer
2433b36f70 Gui: harmonize API of Gui document observer classes with App document observer classes 2021-03-05 14:53:44 +01:00
Mateusz Skowroński
98f63ba60f Fix build warnings from deprecated Boost headers (they are used internally by Boost). Thanks @wwmayer for the hint. 2020-12-29 10:20:53 +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
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