Yorik van Havre
047b15cfe5
merged crowdin translations
2022-05-28 12:16:47 +02:00
Yorik van Havre
2dffe82cda
Merged crowdin translations
2022-05-27 11:28:55 +02:00
mwganson
4f300abf32
Part: Link support -- replace TopoShape.getSubShape() with Part::Feature::getTopoShape(obj, elementname, true).getShape() in order to support use of App::Link sublinks.
2022-05-27 03:52:17 +02:00
Kuzemko Alexsandr
c266f16c53
Update .ts with lupdate ver 6.4.0.
2022-05-23 16:53:07 +02:00
wmayer
72e464b1cc
Conda: ssize_t is a POSIX type and thus not necessarily defined on Windows. Currently this causes build failures with Conda + Py3.10.
...
The solution is to get rid off all occurrences of ssize_t in FreeCAD code
2022-05-17 11:43:40 +02:00
Kuzemko Alexsandr
d7bd80d44d
[Part] Part Measure Linear (tool) fix translation for "Selection xx" button.
...
* [PartDesign] Part Design Measure Linear (tool) fix translation for
"Selection xx" button.
* [Part] No need translate "Selection xx" string twice.
2022-05-05 22:51:18 +02:00
Yorik van Havre
996994da55
Merged crowdin translations
2022-05-05 15:46:09 +02:00
Yorik van Havre
a62092d498
Updated ts files
2022-05-05 15:20:57 +02:00
wmayer
c365031c51
Part: optimize hasShapesInSelection() by avoiding performing a possibly expensive transformation
...
See also: https://forum.freecadweb.org/viewtopic.php?p=592445#p592445
2022-05-02 17:19:49 +02:00
Zheng, Lei
8bec44934b
Fix mixed line endings
2022-04-26 12:52:55 -05:00
marioalexis
94114cfac7
Part: Use regex to match names in ViewProviderPartExt::getDetail
2022-04-26 11:58:45 +02:00
Yorik van Havre
1fbd1fb38d
Merged crowdin translations
2022-04-21 14:18:33 +02:00
wmayer
c5bab68332
Gui: add convenience functions to SelectionFilterGate
2022-04-19 15:04:14 +02:00
mwganson
0aa34c2c58
Part: Cross-section, fix issue with using Links that have been scaled and/or transformed
2022-04-16 02:58:43 +02:00
mwganson
7f7e33edc3
Part: reversed -- fix so it works with App::Links and App::Parts
2022-04-16 02:55:29 +02:00
Yorik van Havre
914069ded4
merged crowdin translations
2022-04-13 13:47:06 +02:00
wmayer
0b2c73cf32
Gui: clean-up Selection API
...
Replace the int of the 'resolve' argument of several functions with a proper enum class.
* This avoids the inconsistencies in client code where often true/false is passed when an int is expected
* This avoids the use of magic numbers like 0, 1, 2 or the undocumented 3
2022-04-09 17:03:43 +02:00
mwganson
929c89f700
Part:Improve support for Links
2022-04-08 17:42:42 +02:00
mwganson
483da808a7
Part: CheckGeometry handle non-ascii characters in object names when generating advanced shape content
2022-04-06 05:08:39 +02:00
Yorik van Havre
19feabd072
Merged crowdin translations
2022-03-31 11:41:28 +02:00
Uwe
72248145b8
[Part] repair line endings
...
for an unknown reason MSVC complained suddenly about the line endings in this file
2022-03-30 23:48:54 +02:00
Chris Hennes
2ecc125497
Part: PR6497 move return statement to new line
2022-03-29 12:37:00 -05:00
Chris Hennes
27c087871e
Part: PR4556 Step 3: sort QGridLayout by row-col
2022-03-28 10:43:22 -05:00
Uwe
8a8fe98454
fix some occurrences where size() is misused as Boolean
...
- as suggested by @wwmayer: 70714eedc9 (r69648152)
2022-03-27 21:38:15 +02:00
wmayer
7dd43210e8
Part: include header with export macros
2022-03-24 21:02:01 +01:00
wmayer
d21a60b294
All: modernize C++11
...
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
6d2d45ceb7
Part: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
Yorik van Havre
1563822763
Translations: Merged crowdin strings
2022-03-23 10:37:50 +01:00
Uwe
4c101726a8
[Part] remove unused Xerces
2022-03-20 19:37:20 +01:00
Uwe
3e1dbde0cf
[Part] remove Python.h from headers
...
seems not to be necessary anymore
2022-03-20 14:16:55 +01:00
Uwe
d594118855
[Part] fix TaskFaceColors dialog
...
fixes these issues:
- the actual or chosen color is never displayed in the dialog's color button (it was there but with zero transparency)
- after a color has been set one does not see it (because the changed faces were still highlighted and got the highlight color)
2022-03-20 05:41:34 +01:00
Uwe
12a90b69d3
[Part] TaskFaceColors: remove unused includes
...
- also some code style fixes by MSVC and sorting
2022-03-19 15:16:09 +01:00
Uwe
2ef424bda8
[Part] Section cut: add missing color handling for the cut faces
...
- the color was not handled at all and thus was often criticized
2022-03-18 17:05:47 +01:00
Uwe
b6f985c861
[Part] Section Cut: add missing handling of valueChanged
...
- when the user changed the value without moving the slider (e.g. by clicking), nothing happened
2022-03-18 06:26:12 +01:00
wmayer
1f12dca2b4
Py: replace BaseExceptionFreeCADError with more suitable exception types
2022-03-17 13:54:23 +01:00
Yorik van Havre
a55ee61840
Merged crowdin translations
2022-03-14 12:21:01 +01:00
wmayer
0f9768fb33
Fix coverity issue:
...
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
Uwe
4b3735e4d9
[Part] Section Cut: respect App::Part placement
...
if object to be cut are within an App::Part container the container placement needs to be respected
- also fix a performance issue
2022-03-14 03:32:09 +01:00
wmayer
15ee1fdd4e
Part: Fix several coverity issues:
...
* CID 350581: Structurally dead code
* CID 350620: Structurally dead code
* CID 350563: Big parameter passed by value
* CID 350552: Uncaught exception
* CID 305193: Uncaught exception
* CID 350556: Uninitialized scalar field
* CID 350579: Uninitialized pointer read
2022-03-13 16:06:40 +01:00
wmayer
5fd93b7d3b
Fix several coverity issues:
...
* CID 350617: Dereference after null check
* CID 350585: Out-of-bounds read
* CID 350624: Resource leak
* CID 332701: Uncaught exception
* CID 350642: Uninitialized scalar field
* CID 350590: Uninitialized scalar field
* CID 350629: Uninitialized scalar variable
* CID 350602: Uninitialized scalar variable
* CID 350564: Uninitialized scalar variable
* CID 350548: Uninitialized scalar variable
2022-03-13 12:12:49 +01:00
Uwe
b62cf543c7
[Part] change sGroup for Section Cut
...
as discussed here: https://forum.freecadweb.org/viewtopic.php?p=577536#p577536
2022-03-09 11:43:23 +01:00
Uwe
7de25e8c37
[Part] Section Cut: fix cut object naming issue
2022-03-09 03:04:13 +01:00
Uwe
d1fae66f55
[Part] Section Cut: fix for tooltip handling
2022-03-09 01:52:16 +01:00
wmayer
b626b7d719
Gui: Optimize includes to reduce compile time
2022-03-09 01:25:29 +01:00
Uwe
9f73e0b3eb
[Part] Section Cut: also handle normal Link objects
...
Link objects within App::Part containers were already handled but not Link objects outside
2022-03-08 06:25:35 +01:00
Uwe
554635cc7d
[Gui] rename the Qt header list
2022-03-07 20:35:38 +01:00
wmayer
8f786ea6ef
Gui: Optimize includes to reduce compile time
2022-03-07 20:29:18 +01:00
Yorik van Havre
2cff977548
Merged crowdin translations
2022-03-07 14:55:22 +01:00
Uwe
a8bae676ce
[Part] Section cutting: fix read of cut state of existing cuts
...
- it is now also possible to determine the Flip state correctly
2022-03-07 02:45:36 +01:00
wmayer
5e0cfc64ee
App: use forward declarations
2022-03-04 21:09:46 +01:00