Commit Graph

23873 Commits

Author SHA1 Message Date
Chris Hennes
eb6167ff89 Enable LGTM to analyze some C++ source code
FreeCAD as a whole is too large for LGTM to analyze the entire codebase, the operation
times out after three hours. By focusing only on the core code, this patch allows the
automated testing framework there to analyze our C++ code, in addition to the Python
and JavaScript analsis it was already doing.
2021-01-30 17:30:22 +01:00
wmayer
096e538c9e App: [skip ci] use better deprecation warning as used in PR 4335 2021-01-30 17:27:08 +01:00
wmayer
b896bb4f2a Part: [skip ci] fix path of attachment icon 2021-01-30 17:22:54 +01:00
wmayer
756654c46e App: [skip ci] print deprecation warning if addExtension() has two arguments 2021-01-30 17:20:43 +01:00
Stefan Tröger
446ce21517 Remove ExtensionProxy and rely on default Python proxy for extensions. fixes #0004534 2021-01-30 16:00:48 +01:00
Benjamin Nauck
37952a5949 Spreadsheet: Add test for undo alias issue 2021-01-30 14:04:57 +01:00
Benjamin Nauck
f4c2539765 Spreadsheet: Allow alias removed by undo to be reused
Fixes issue descripted in the forum post:
https://forum.freecadweb.org/viewtopic.php?f=3&t=54009
2021-01-30 14:04:57 +01:00
Kurt Kremitzki
497ecbe0eb Merge pull request #4134 from donovaly/PD-Hole-DrillPoint
[PD] improve blind hole depth handling
2021-01-30 05:14:52 -06:00
Kurt Kremitzki
ca346b9099 Merge pull request #4165 from chennes/addImportExportRecentFilesPrefs
[App] Add prefs for import/export in Recent Files
2021-01-30 05:14:36 -06:00
Benjamin Nauck
1f77dc2af8 [MeshPart] Fix copy-paste error
It doesn't make sense to check minLen and then call SetMinSize to maxLen
so this must be a copy-paste error.

Introduced in f681b86abd

Found with Coverity.
2021-01-30 11:47:06 +01:00
Kurt Kremitzki
046aa8a287 Merge branch 'master' into PD-Hole-DrillPoint 2021-01-29 19:02:34 -06:00
Kurt Kremitzki
ce8b96bada Merge branch 'master' into addImportExportRecentFilesPrefs 2021-01-29 19:02:21 -06:00
sliptonic
4db83a41ca Merge pull request #4325 from machste/fix_simple_copy
Path: Fix creating simple copy
2021-01-28 14:14:02 -06:00
Stefan Brüns
569817d87a Fix ODR violation, correct Ui_TaskSketcherGeneral namespace
The generated ui_TaskSketcherGeneral.h defines the class in the
SketcherGui namespace.

Fixes #4529
2021-01-28 17:43:10 +01:00
Zheng, Lei
1dddcd0b18 Part: fix ViewProviderExt::updateVisual() on incomplete mesh 2021-01-28 17:38:49 +01:00
wmayer
aa45875a2b Gui: modernize C++ 2021-01-28 16:22:40 +01:00
vosk
b49c523a54 [Part] - Fix View3DInventor.setCamera leaking SoCamera* 2021-01-28 16:17:33 +01:00
vosk
4bd5c2669d [Part] - Fix memory leaks 2021-01-28 15:45:00 +01:00
Aapo
92846ad0f1 [TD] Avoid changing default open/save dir to templateDir when opening a Page template. 2021-01-28 14:54:59 +01:00
Benjamin Nauck
6870b02210 [Gui] Make inventor markers symmetric
These changes makes the round markers symmetric horizontally, vertically
and on the diagonal.
2021-01-28 14:54:05 +01:00
Yorik van Havre
0f3cdfea33 Merge pull request #4317 from Roy-043/fix_gui_snapper_center_face
[Draft] Fix snap to center of faces of solids
2021-01-28 14:36:15 +01:00
Yorik van Havre
8396c34d61 Merge pull request #4318 from bitacovir/Surface_WB_icons
[UI] Replace SVG icons for Surface WB commands
2021-01-28 14:33:45 +01:00
Yorik van Havre
09b4dbd8e8 Merge pull request #4320 from chennes/cleanStartWithLGTM
[Start] Minor tweaks recommended by LGTM
2021-01-28 14:31:28 +01:00
Stefan Mächler
fd2f2d83d0 Path: Fix creating simple copy
This commit fixes the issue discussed on the FreeCAD forum:

https://forum.freecadweb.org/viewtopic.php?f=15&t=54769
2021-01-28 09:32:17 +01:00
sliptonic
f70f9572fe Merge pull request #4297 from shadowbane1000/fanuc-1st-pass
[PATH] First pass at a post processor for Fanuc
2021-01-27 13:05:26 -06:00
sliptonic
ef2e209b14 Merge pull request #4140 from gauna85/PathStock
Path: Fix #3914: Adding stock label prefix to name comparison in orde…
2021-01-27 11:09:31 -06:00
sliptonic
9f5acaa2bb Merge pull request #4286 from kbickar/master
[Path] Fix AttributeError on deleting corrupt dressup
2021-01-27 11:04:40 -06:00
sliptonic
1596f1581f Merge pull request #4321 from ci4ic4/patch-1
[PATH] Update philips_post.py
2021-01-27 11:00:33 -06:00
Chris Hennes
70d81c0e1c Merge branch 'master' into addImportExportRecentFilesPrefs 2021-01-27 10:36:47 -06:00
sliptonic
a4001fbf73 Merge pull request #4322 from sliptonic/miscbugs
[Path] fix index bug in toolbit directory creation
2021-01-27 10:28:27 -06:00
sliptonic
4dd4783702 fix index bug in toolbit directory creation 2021-01-27 10:27:12 -06:00
sliptonic
2bd94ca7f3 Merge pull request #4294 from mlampert/feature/toolbit-free-properties
[Path] - Feature/toolbit free properties
2021-01-27 10:03:46 -06:00
ci4ic4
cbb0a8a11c Update philips_post.py
You can't compare dict with an integer.
2021-01-27 11:51:42 +00:00
Abdullah Tahiri
43aef8616d ViewProvider: make partial redundant color blue 2021-01-27 07:53:25 +01:00
Markus Lampert
0d9863849b Updated toolbit-attributes.py script and cleaned up shapes. 2021-01-26 20:04:46 -08:00
Markus Lampert
75e65dd09d Added support for deleting empty groups from the property bag's group tracking. 2021-01-26 19:46:06 -08:00
Chris Hennes
ba8e0aa863 Minor tweaks to Start recommended by LGTM
Using the results of the vulnerability scan at lgtm.com, some minor
changes were made. First, all Python exception handling now explicitly
catches Exception, rather than BaseException (which would include SystemExit
and KeyboardInterrupt). Second, unused imports were removed. Third, a
couple of unnecessary or unused assignments were addressed. Finally, the
JavaScript was modified to explicitly declare the local ddiv variable when
needed.
2021-01-26 20:38:51 -06:00
Markus Lampert
a4890e51f5 Disable library name edit 2021-01-26 18:17:09 -08:00
Markus Lampert
8d7543cc98 Add toolbit test files to list to maybe get windows build to pass 2021-01-26 18:14:09 -08:00
sliptonic
8d44fcdb06 fixed slitting saw shape and bit 2021-01-26 18:14:09 -08:00
sliptonic
86b5738433 tool bugs 2021-01-26 18:14:09 -08:00
sliptonic
231ad8f969 fix bug when declining the creation of workdir subdirectories. 2021-01-26 18:14:09 -08:00
Markus Lampert
571be1faf2 Added commit to explain the purpose of dumping the directory tree 2021-01-26 18:14:09 -08:00
Markus Lampert
26ba120aaf Added Tools directory for recursive test file copy 2021-01-26 18:14:09 -08:00
Markus Lampert
4f0f9e78f1 Added test case to determine directory layout. 2021-01-26 18:14:09 -08:00
sliptonic
f26e631ab6 make initial path defaults slightly more intuitive 2021-01-26 18:14:09 -08:00
Markus Lampert
c8d3210ba4 Fixed relative path search for shapes 2021-01-26 18:14:09 -08:00
sliptonic
c1202c3afa check working dir on dock open as well as manager open.
use os.path.sep liberally
choose the first library if no other is selected
2021-01-26 18:14:09 -08:00
sliptonic
c815115cae library file path bugs 2021-01-26 18:14:09 -08:00
Markus Lampert
8c4dfacb27 Don't enforce working dir setup and don't copy toolbit shapes 2021-01-26 18:14:09 -08:00