wmayer
3e35b5f606
App: modernize C++: use equals default
2023-08-20 18:10:17 +02:00
wmayer
89bdd489b0
App: modernize C++: return braced init list
2023-08-18 00:36:24 +02:00
wmayer
d150fa7164
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
Pesc0
4a8d3853ba
[Toponaming] create ElementMap class ( #9175 )
...
* Copypaste ElementMap
* Add MappedNameRef
* Fix missing include
* Copypaste `findTagInElementName`
* fix error introduced _somewhere_
* refactor toponaming constants
* Move `findTagInElementName` in `MappedName`
* reintroduce workaround to compile ElementMap
* Added missing functions copied from complexgeodata
* fix last compile errors, reorder and format files
* remove recursive refs to ComplexGeoData
* Add more comments
* fixed comments and added tests
* added FIXME, make functions private, misc fixes
* Move static functions from complexGeoData to PostfixStringReferences. Rename to ElementNamingUtils
* Fix broken includes due to previous change
* Revert constants from string to const char*
* added childmap tests and made hasher public
* Make functions private
* Added remaining tests
* removed bool return from `erase` functions
* fix missing appexport
Co-authored-by: John Dupuy <jdupuy98@gmail.com >
2023-06-15 09:05:24 -05:00
wmayer
5240a30431
App: modernize C++: replace 'typedef' with 'using'
2022-08-29 12:58:39 +02:00
berniev
d66df602ad
App: Single arg ctors must be explicit
2022-08-24 07:20:57 +02:00
berniev
1cc6329eab
App: use empty
2022-08-06 19:29:59 +02:00
berniev
65a356835b
App: Modernise ctors dtors defs etc
2022-08-01 00:34:46 +02:00
wmayer
9e68e5f290
App: implement '*' operator for weak pointer classes
2022-06-13 13:52:21 +02:00
Zheng, Lei
5947f91b17
Gui: refactor Object Selection Dialog
...
It is originally used for dependency selection when copying object.
Modified to improve auto dependency selection, and for use by Link
configuration object setup, which also involves dependency selection.
2022-03-26 10:19:20 -04:00
wmayer
749361d2f3
App: modernize C++11
...
* use nullptr
2022-03-23 17:29:23 +01:00
Uwe
4adabe3de8
[App] Document: remove unused includes
2022-02-23 01:56:26 +01:00
wmayer
ec2fc59fde
App: add a function to document observer to be notified if the active document changes
2022-01-29 18:33:39 +01:00
wmayer
f147986fa9
App: Bugfix for NULL-Pointer dereference of Property->getName()
2022-01-16 14:30:51 +01:00
wmayer
a6d93e2d5e
App: [skip ci] add overloaded constructor of DocumentObjectT
2021-10-02 07:05:37 +02:00
wmayer
d158c50c48
App: [skip ci] rename class to PropertyLinkT
2021-03-29 01:16:04 +02:00
wmayer
545b4f20db
App: [skip ci] add class PropertyListT
2021-03-29 00:47:38 +02:00
wmayer
3779aadd7c
App: in document observer classes replace boost::bind with std::bind to fix build failure with C++17
2021-03-05 13:26:26 +01:00
luz paz
bfdffb50be
App: Fix header uniformity, trailing whitespace, and doxygen headers
2020-11-19 13:38:37 +01:00
wmayer
244d7aae41
LGTM: [skip ci] fix: Inconsistent definition of copy constructor and assignment ('Rule of Two')
2020-07-27 14:39:14 +02:00
wmayer
f3b460e42e
boost: fix for boost < 1.60
2020-06-15 19:38:39 +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
wmayer
949110d73d
App: [skip ci] implement WekPtrT to simplify using DocumentObjectWeakPtrT
2020-03-16 15:11:11 +01:00
wmayer
549b424e1f
App: [skip ci] add further constructor to SubObjectT
2020-02-28 21:14:34 +01:00
wmayer
b34f0aef34
App/Gui: implement a lightweight weak_ptr like class to work with Document, DocumentObject and ViewProvider
2020-02-19 19:58:34 +01:00
Zheng, Lei
39959f9500
App: add new convenient class SubObjectT
...
Derived from App::DocumentObjectT to add support of sub object
Also some minor changes to App::DocumentObjectT
Changed Gui::SelectionChanges to make use of SubObjectT
2020-02-11 15:40:27 -05: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
40cec5f72a
add/extend helper classes to savely access document, document objects or view providers
2018-10-31 11:24:45 +01:00
wmayer
f898eafd64
move from deprecated boost.signals to boost.signals2 library
2018-10-30 19:09:03 +01:00
Stefan Tröger
2a15d8fc3a
Add signals for recomputed objects
2018-10-08 10:43:32 +02:00
wmayer
71df967fdf
fix -Wextra in FreeCADApp
2016-09-21 16:05:36 +02:00
wmayer
0b0d258afd
+ make method cancelObservation() not pure virtual
2015-12-19 11:31:59 +01:00
wmayer
d6bbc0ad0f
+ add helper classes to store names of doument and object and not a pointer
2015-11-06 14:28:03 +01: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