luz.paz
ff1a7fd0a8
Fix typos
...
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller`
2019-07-16 11:21:52 -03:00
donovaly
f6e04f1829
uniforms option names and add tooltips for sketcher
2019-07-16 13:30:18 +02:00
donovaly
4703495334
update, fix and uniform draft tooltips
2019-07-16 13:28:06 +02:00
donovaly
4b4e48d55c
add missing tooltips for part import/export
2019-07-16 13:23:40 +02:00
Yorik van Havre
8048f93627
Cleanup in doxygen stuff
2019-07-15 23:20:52 -03:00
wandererfan
0d56397427
[TD]fix master merge conflict
2019-07-15 12:36:48 -04:00
wandererfan
0434a44c82
[TD]Remove extra template dir
2019-07-15 12:36:48 -04:00
wandererfan
941968b37c
[TD]Edge and Vertex center lines
2019-07-15 12:36:48 -04:00
wandererfan
3583141230
[TD] Fix Centerline position
2019-07-15 12:36:48 -04:00
wandererfan
f655857196
[TD] fix context menu
2019-07-15 12:36:48 -04:00
wandererfan
621b66be17
[TD]Add Properties for Cosmetic persistence
2019-07-15 12:36:48 -04:00
wandererfan
b561190d4f
[TD]Add restore invisible lines
2019-07-15 12:36:48 -04:00
wandererfan
3d2edd0f7e
[TD]Add line appearance editor
2019-07-15 12:36:48 -04:00
wandererfan
11d8aaed61
[TD]Add CenterLine edit function
2019-07-15 12:36:48 -04:00
wandererfan
39e556fb3f
[TD] Add Centerline Shift/Rotate
2019-07-15 12:36:48 -04:00
wandererfan
7199c95251
Cleanup dangling debug code
2019-07-15 12:36:48 -04:00
wandererfan
5970e91ef2
[TD]Py Cosmetic Vertex, Line, Circle Arc
2019-07-15 12:36:48 -04:00
Markus Lampert
6053c08c2c
Downgrading debug msg
2019-07-14 22:25:57 -07:00
Markus Lampert
931aa851ba
Return diameter 0 for invalid holes in order to let the UI initialize completely
2019-07-14 22:24:01 -07:00
Markus Lampert
f9e23d21e3
Make Helix op robust against features that don't exist anymore
2019-07-14 21:30:38 -07:00
Abdullah Tahiri
0091dd27bc
MSVC complains about missing header
2019-07-14 12:37:39 +02:00
Abdullah Tahiri
ea050c9cfc
MSVC also fails to automatically move if no elision possible
2019-07-14 12:37:37 +02:00
Abdullah Tahiri
9fb2606c88
Enable RVO for any other than old GCCs like 4.8
2019-07-14 12:37:37 +02:00
Abdullah Tahiri
614a031814
GeometryExtensions: Add override when overriding virtual functions (EMCPP Item 12)
2019-07-14 12:37:37 +02:00
Abdullah Tahiri
143f697310
GCC 4.8 brace initializer requires double braces
...
================================================
GCC 7 and clang work fine without the extra set of braces.
std::array<T, N> is an aggregate that contains a C array. To initialize it, you need outer braces for the class itself and inner braces for the C array:
https://stackoverflow.com/questions/12844475/why-cant-simple-initialize-with-braces-2d-stdarray
2019-07-14 12:37:37 +02:00
Abdullah Tahiri
3b4cfcff17
GCC 4.8 fails to covert lvalue during RVO optimization
2019-07-14 12:37:35 +02:00
Abdullah Tahiri
a301145264
old GCC C++11 specialisation in a different namespace and moving template instantiations after all specialisations
2019-07-14 12:37:35 +02:00
Abdullah Tahiri
a41de781cc
Sketcher: GeometryExtension and ExternalGeometryExtension
2019-07-14 12:37:35 +02:00
Abdullah Tahiri
3554cd9832
Base: Move std::make_unique to Base
2019-07-14 12:37:35 +02:00
Abdullah Tahiri
5a435f8d84
Part: geometry extensions minor code clean up
2019-07-14 12:37:35 +02:00
Abdullah Tahiri
42bc279941
Part: geometry extensions several memory leak fixes
2019-07-14 12:37:35 +02:00
Abdullah Tahiri
a43c29ccd4
Part: Default geometry extensions for boolean and double
2019-07-14 12:37:35 +02:00
Abdullah Tahiri
33620d212e
Part: Geometry extension set with unique id (type+name) and list based getExtensions python
2019-07-14 12:37:33 +02:00
Abdullah Tahiri
11793ba0b2
Part Geometry: get an extension from type or name, also from python
2019-07-14 12:37:33 +02:00
Abdullah Tahiri
afbe1df322
Part:: Geometry container extend hasExtension to type and name
2019-07-14 12:37:33 +02:00
Abdullah Tahiri
854452e2e1
Part: Geometry - methods to remove extensions by name and type
2019-07-14 12:37:33 +02:00
Abdullah Tahiri
8b5e9b55c0
Part: Default geometry extensions make sure built-in types are initialised
2019-07-14 12:37:33 +02:00
Abdullah Tahiri
dece5aa81d
Part: Command to show list of extensions from Python
2019-07-14 12:37:33 +02:00
Abdullah Tahiri
234d542c1a
Part: Fix assignment after reserve of weak_ptr causes segfault
2019-07-14 12:37:33 +02:00
Abdullah Tahiri
beec449180
Part: Extend Geometry Extension to have a name
2019-07-14 12:37:31 +02:00
Abdullah Tahiri
5f46862caa
Part: correct long parsing in GeometryIntExtensionPyImp
2019-07-14 12:37:31 +02:00
Abdullah Tahiri
41ad1fe0a1
Part: Geometry extension const correctness
2019-07-14 12:37:31 +02:00
Abdullah Tahiri
c670ef9793
Part: Move default geometry extension for int to internally use long
2019-07-14 12:37:31 +02:00
Abdullah Tahiri
69c3b7d4f8
Part: Default geometry extension template encapsulate value
2019-07-14 12:37:31 +02:00
Abdullah Tahiri
fb5e8b4df7
Part: GeometryDefaultExtensions template
...
========================================
Generalisation of code for a default geometry extension in the form of a template.
Default geometry extensions provide a standard interface for an extension having a single stored value (e.g. one int or one string).
Python implementation must be provided separatedly.
2019-07-14 12:37:31 +02:00
Abdullah Tahiri
9bb2210c92
Part: Geometry extensions set interface
...
=======================================
unique_ptr is a move only type. Therefore it may only take an rvalue.
It does not make sense a pass by value for move only types (Item 41).
2019-07-14 12:37:31 +02:00
Abdullah Tahiri
460bb59320
Geometry extensions: remove unnecessary smart pointer deletion
...
==============================================================
When the geometry object is destroyed, std::vector's destructor is called, which in turn calls the destructor of the smart pointers.
If a weak_ptr corresponding to one of those shared_ptr is locked (elsewhere, if FC were multithread),
the underlaying resource will not be freed until said locked weak_ptr goes out of scope. It will then.
2019-07-14 12:37:31 +02:00
Abdullah Tahiri
b5f5d1c32f
Part: GeometryStringExtension to extend a geometry by a string
2019-07-14 12:37:30 +02:00
Abdullah Tahiri
9cb2863a2e
Part: Expose GeometryIntExtension python type
2019-07-14 12:37:30 +02:00
Abdullah Tahiri
7828c34ffe
Part: Standard geometry extension adding an integer value
2019-07-14 12:37:30 +02:00