Commit Graph

26 Commits

Author SHA1 Message Date
wmayer
61dee6b8ad App: fix memory leak and consistently use Py::asObject() in DocumentObserverPython 2022-11-15 11:04:41 +01:00
wmayer
632e167ed8 App: improve whitespaces 2022-08-01 01:29:47 +02:00
berniev
65a356835b App: Modernise ctors dtors defs etc 2022-08-01 00:34:46 +02:00
wmayer
749361d2f3 App: modernize C++11
* use nullptr
2022-03-23 17:29:23 +01:00
wmayer
95c70e7f4c App: use forward declarations 2022-03-04 21:09:46 +01:00
Uwe
b4fff07d9e [App] Expression and Extension: remove unused includes 2022-02-25 18:06:57 +01:00
Uwe
4adabe3de8 [App] Document: remove unused includes 2022-02-23 01:56:26 +01:00
wmayer
76aac3a221 boost: [skip ci] fix for boost < 1.60 2020-06-15 21:33:56 +02:00
wmayer
4ec45b545e 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
Stefan Tröger
52c64d8a85 Implement and test extension events 2020-02-13 14:39:46 +01:00
wmayer
7758509bda fix and suppress some more -Wgnu-zero-variadic-macro-arguments 2019-11-15 23:53:09 +01:00
Zheng, Lei
08f0511b1f Python feature/observer related changes
* Add new API and signal handler in document observer

* Pre initialize python handler function to improve performance. In
  case Python code use dynamic patching, i.e. add class method at
  runtime (which is rare and should be discouraged), the python feature
  can be re-initialized by simply assign proeprty Proxy again.

* Add property tracking in DocumentObjectT

* WidgetFactory adds support for accepting python QIcon, which is used
  by ViewProviderPythonFeature
2019-08-17 15:08:34 +02:00
wmayer
dc023afc84 emit signal when starting and finishing to save a document 2018-10-08 14:03:00 +02:00
wmayer
4ac34d06a8 minor fixes 2018-10-08 12:27:03 +02:00
ickby
a0de8c9a62 Add python document observer for GUI documents 2018-10-08 11:04:56 +02:00
ickby
fb95e3247d Expose dynamic property signals to python observer 2018-10-08 11:02:31 +02:00
ickby
f68e36de41 Expose document property changes to python document observer 2018-10-08 11:01:07 +02:00
ickby
e91de65df0 Fix and test the new signals 2018-10-08 10:58:39 +02:00
ickby
238c8a8567 Expose onBeforeChange to python document observer 2018-10-08 10:52:52 +02:00
Stefan Tröger
0edf6892b3 Expose transaction events to document observer 2018-10-08 10:49:39 +02:00
Stefan Tröger
2a15d8fc3a Add signals for recomputed objects 2018-10-08 10:43:32 +02:00
wmayer
f9d2814572 + fix crash in DocumentObserverPython if a property has no name (because it's not part of an object) 2016-05-20 13:57:30 +02:00
wmayer
a869033925 + add slots for undo/redo to Python document observer 2015-02-18 21:36:47 +01:00
wmayer
cc775f9254 + fix -Wnull-conversion, -Woverloaded-virtual, -Wlogical-not-parentheses, -Wsometimes-uninitialized 2014-08-26 19:14:13 +02:00
wmayer
946bd02df4 Improve reporting of Python exceptions 2013-05-04 14:23:53 +02: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