Commit Graph

95 Commits

Author SHA1 Message Date
Yorik van Havre
830b3944db Merge pull request #7067 from Kuzma30/add_ts
Crowdin Add "new" WB to translations.
2022-06-24 13:50:43 +02:00
mosfet80
620c273c4e Boost version <=1.60 is never used in freecad 0.20 (#7038)
* Boost version 1.60 is never used in freecad 0.20
2022-06-24 02:20:26 +02:00
Kuzemko Alexsandr
166306469a Add missing file. 2022-06-21 17:35:36 +03:00
Kuzemko Alexsandr
5f4ea420b0 Inspection Add more translation texts. 2022-06-21 17:22:15 +03:00
Chris Hennes
10080efb0c Inspection: PR4556 Step 3: sort QGridLayout by row-col 2022-03-28 10:43:21 -05:00
wmayer
d16ce3759f Inspection: include header with export macros 2022-03-24 20:45:03 +01:00
wmayer
98b69b8fb9 Inspection: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
d41f55f382 [Inspection] remove unused headers and Xerces
- also sort our some includes to PreCompiled.h
2022-03-20 22:17:34 +01:00
Uwe
24176431fb [Inspection] remove Python.h from headers
is not necessary anymore
2022-03-20 18:09:46 +01:00
wmayer
0054cbddaa Fix coverity issue:
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
Uwe
9654786c67 [Gui] Quarter: remove unused includes 2022-03-09 01:12:15 +01:00
Uwe
bda12907de [Gui] rename the Qt header list 2022-03-07 20:35:38 +01:00
wmayer
58a719e207 Base: move ILogger sub-classes to their own source files in order to reduce including stream classes in client code 2022-03-06 10:13:47 +01:00
wmayer
95c70e7f4c App: use forward declarations 2022-03-04 21:09:46 +01:00
wmayer
e743c30f3b Add Global.h headers to modules 2021-12-18 14:06:40 +01:00
wmayer
563743e7e6 Gui: do not include generated ui file inside header file 2021-11-22 16:50:21 +01:00
Mateusz Skowroński
92683e1f63 Fix CMake warning: qt5_make_output_file is not part of the official API, and might be removed in Qt 6. 2021-04-19 15:10:53 +02:00
luz paz
c801c8ff65 Inspection: Issue #0004473: Expose openCommand() to translation
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the Inspection Wb.  
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
wmayer
b7f9e351c5 Win: [skip ci] check if NOMINMAX is already defined before setting it 2020-11-11 13:34:42 +01:00
vejmarie
81af54e410 Big update to remove deprecation warning from Qt 5.15.0
That is need on MacOS build as travis log is bigger than 50k lines
which breaks travis rules
And by the way deprecations are real
All file contains the same modification replace 0 to Qt::WindowFlags() when needed
as the class needs to be instantiated

Signed-off-by: vejmarie <jmverdun3@gmail.com>
2020-09-24 12:56:43 +02:00
wmayer
b0d5afc375 Inspection: [skip ci] do not use multi-threading when Part objects are used for visual inspection 2020-09-08 16:55:35 +02:00
wmayer
44f42a8e2c LGTM: [skip ci] fix: Declaration hides parameter
A local variable hides a parameter. This may be confusing. Consider renaming one of them.
2020-07-27 10:57:34 +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
3aba2721d1 gcc: [skip ci] fix -Waddress 2020-06-04 14:56:20 +02:00
Zhang Wei
0bef3cdee4 Patch for MIPS64 Architecture 2020-02-15 19:32:58 +01:00
donovaly
f2c83ac46b remove program-specific SVG namespaces
while fixing a SVG export issue for techDraw I noticed that some SVG files have program-dependent (and thus not clean) code in it. These are traces of the programs Sodipodi and Inkscape, like e.g. this line:
inkscape:export-filename="/home/yorik/PartDesign_Groove.png

This is unnecessary and FC should not use program-dependent code in the SVG but use instead plain SVG strictly following the SVG specification.

This PR transforms the few affected SVGs to a plain version.
2020-02-07 07:34:49 -05:00
wmayer
15dea4f89a Inspection: multi-threaded calculation 2020-01-29 11:55:49 +01:00
wmayer
94280f15ca Inspection: [skip-ci] const correctness 2020-01-28 19:20:09 +01:00
wmayer
7fe10182a9 [skip ci] fix header uniformity
Set a real email address for headers in inspection and surface module
2019-12-21 16:12:54 +01:00
wmayer
e3046be322 [skip ci] tmp. disable selection when switching to curvature or inspection info modus 2019-11-09 11:31:51 +01:00
wmayer
c4093373c4 [skip ci] for curvature and inspection objects set default selection style to BBOX 2019-11-09 11:21:18 +01:00
wmayer
f2bd624c63 make mesh picking working for view providers underneath a Part container 2019-11-09 11:16:23 +01:00
wmayer
a247b7e6a5 force strict ISO C++ (-Wpedantic)
for Drawing, Image, Inspection, Mesh, MeshPart, Part, Path, Points, Raytracing, ReverseEngineering, Spreadsheet, Start, Surface, Web

TODO: fix several -Woverflow in area
2019-09-18 11:32:42 +02:00
Zheng, Lei
c8891be856 Gui: add coinRemoveAllChildren to work around Coin3D bug
See bug description:
https://bitbucket.org/Coin3D/coin/pull-requests/119/fix-sochildlist-auditing/diff

Because of path based rendering (SoFCPathAnnotation) in mouse over
highlight, this bug causes crash more frequently here comparing to
upstream.

All C++ calling of SoGroup::removeAllChildren() is replaced by
Gui::coinRemoveAllChildren(), and python code is fixed by monkey
patching SoGroup.removeAllChildren() in FreeCADGuiInit.py.
2019-08-17 14:52:11 +02:00
wmayer
c5a5eb6a83 Replace Base::Exception with appropriate subclass 2018-11-14 17:36:00 +01:00
wmayer
f898eafd64 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
wmayer
ed5313d729 CMP0050: make Inspection module aware of cmake policy 2018-08-20 17:32:25 +02:00
luz.paz
baa6d89328 Typos and whitespace fixes 2018-08-07 11:13:31 -04:00
Unknown
a8ecffb652 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
luzpaz
56111a0810 Typos: user-facing and trivial
Several typos and uniformity fixes.
Note: 
*SCL/SimpleDataTypes.py is a upstream stepcode file whose fiz has been submitted upstream and accepted.
*the header of Tools/generateBase/generateMetaModel_Module.xsd  had redundant data. It has been removed. Please double check it.
2017-12-02 14:00:57 +01:00
Stefan Tröger
d0954e6e42 Allow interchangable use of link properties and their derivatives 2017-09-09 16:47:07 +02:00
wmayer
04e0620d8a py3: ported Inspection to python3 2017-02-12 21:01:48 +01:00
wmayer
608f737170 use normals if available 2017-01-03 19:58:26 +01:00
wmayer
0ad93186b5 compute signed distances of points to shape, show results of visual inspection for point clouds 2017-01-03 17:02:50 +01:00
Alexander Gryson
f680d810a5 Update multiple workbenches
Workbenches updated:
* Complete
* Image
* Inspection
* Material
* MeshPart
* Points
* Reverse Engineering
* Start
* Test
* Web
2016-12-26 12:23:07 -02:00
wmayer
5e375a6238 Add switch to select between Qt4 and Qt5 2016-12-13 15:53:13 +01:00
wmayer
166fc624eb remove superfluous Qt includes 2016-12-13 15:40:49 +01:00
wmayer
0afd327f2a remove superfluous Qt includes 2016-12-13 14:33:16 +01:00
Yorik van Havre
af97583026 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00