Commit Graph

16901 Commits

Author SHA1 Message Date
Dion Moult
32969dde1f Let getSupport() check if WP mode is set to auto before changing WP needlessly
Also refactor getSupport() function to be a little bit more semantic and reduce nested if statements so logic is clearer.
2019-06-03 16:49:51 -03:00
Dion Moult
1b362fd82b Fix draft missing line tracker when snapper detects an object without any snap targets 2019-06-03 16:36:07 -03:00
Dion Moult
514fa9d4fc Add customisable in-command shortcut keys rather than hardcoding them 2019-06-03 16:31:25 -03:00
wmayer
31b5614fbd add define to inactivate some code blocks if needed 2019-06-03 18:40:45 +02:00
Abdullah Tahiri
0646cefebe Travis: Make winpty failure not fail the build 2019-06-03 18:18:07 +02:00
Abdullah Tahiri
74281dc3e0 AppVeyor: Configuration for VS2017
==================================

It is configured to work with clcache, but it won't compile within the 60 minutes of Appveyor limit.
2019-06-03 18:18:07 +02:00
wmayer
85fddfc54a do some security checks to make sure Py::Module is valid 2019-06-03 17:57:52 +02:00
wmayer
9660b1fb1e when trying to access ViewObject attribute check that FreeCADGui is already loaded 2019-06-03 11:30:29 +02:00
Markus Lampert
adceb31db3 Dressup gui import cleanup 2019-06-02 11:30:18 -07:00
Markus Lampert
b69b7a1f67 More FreeCADGui removal from Path model classes. 2019-06-02 11:03:14 -07:00
Markus Lampert
edcb39d192 Removed obsolete gui import 2019-06-02 11:03:14 -07:00
Markus Lampert
fa6fca71ad Remove unqualified gui import 2019-06-02 11:03:14 -07:00
markus
308409802a Split ToolController into model and gui. 2019-06-02 11:03:14 -07:00
markus
30f0a861e2 Moved FreeCADGui dependency from PathUtils into PathUtilsGui 2019-06-02 11:03:14 -07:00
markus
b27b6d0c1b Removed FreeCADGui dependency if Gui is not up 2019-06-02 11:03:14 -07:00
wmayer
f5706be874 Py3: fix crash if class is not part of a module any more 2019-06-02 18:06:46 +02:00
wandererfan
09679c18aa Fix regression in Caption handling 2019-06-01 15:59:26 -04:00
wandererfan
fd3d6d8091 Hide Caption property where not applicable 2019-06-01 15:59:26 -04:00
luz.paz
ec12ffae0c Path: source comment typo fixes
Found via `codespell`
2019-05-30 19:57:25 +02:00
luz.paz
2b02659010 Misc. typo and whitespace fixes
Found via `codespell`
2019-05-30 19:56:12 +02:00
wandererfan
4f7f8576a3 Fix Abandon Edit 2019-05-29 23:22:24 -04:00
wandererfan
01f2e50469 Fix "tick" arrow style in directional mode 2019-05-29 23:22:24 -04:00
Suraj Dadral
52833cd7cc Set placement of bottom Stirrup
As discussed here:
https://forum.freecadweb.org/viewtopic.php?f=8&t=35077&start=100#p310036

<q>
While creating stirrups, if we set offset of tie to zero, then the
bottom stirrup will go out of column as in below image:
https://forum.freecadweb.org/download/file.php?id=84300

After modification, with same data, the stirrup in column looks
like:
https://forum.freecadweb.org/download/file.php?id=84301
</q>
2019-05-29 19:39:33 -03:00
Bernd Hahnebach
5cf697e610 FEM: unit tests, mesh element reader writer, simplify tests 2019-05-28 22:19:44 +02:00
Bernd Hahnebach
117998afbe FEM: in out, z88, resort methods, add comments 2019-05-28 22:19:44 +02:00
Bernd Hahnebach
47f51a7941 FEM: in out, add missing returns of document objects 2019-05-28 22:19:44 +02:00
Bernd Hahnebach
b6c678fd37 FEM: in out, fix guarding FreeCADGui in fenics import 2019-05-28 14:44:27 +02:00
Bernd Hahnebach
280cc1b011 FEM: code formating, line length < 100, there still where some left 2019-05-28 05:48:23 +02:00
Bernd Hahnebach
1e56f815d4 FEM: code formating, max line length < 100, fem mesh modules, we are done in FEM :-) 2019-05-28 05:48:23 +02:00
Bernd Hahnebach
add659542b FEM: unit test, fix comment 2019-05-28 05:48:23 +02:00
sliptonic
ff8b98ca63 Merge pull request #2217 from Russ4262/increase_tool_count
Path: Increase tool count limit to 99999
2019-05-27 22:42:47 -05:00
Tomas Pavlicek
3e7249318f TechDraw: Fix font size issues when exporting to SVG 2019-05-27 22:18:14 -04:00
Russell Johnson
edce531880 Increase tool count limit to 99999 2019-05-27 14:39:13 -05:00
DeepSOIC
dd25a37b0f Gui: GestureNavigationStyle: logging option
To enable logging, execute:

App.ParamGet("User parameter:BaseApp/Preferences/View").SetBool("NavigationDebug",True)
2019-05-27 19:37:04 +03:00
DeepSOIC
5e63edde31 Revert "Gui: GestureNavigationStyle: remove logging"
This reverts commit 27d1bbfd3de5cf99324262cdc12ce148fe60a64d.
2019-05-27 19:37:04 +03:00
Bernd Hahnebach
d5d1def121 FEM: code formating, max line length < 100, fem toolsmodules 2019-05-27 14:51:57 +02:00
Bernd Hahnebach
f77785c95c FEM: unit tests, objects, add some comments an new lines 2019-05-27 14:51:57 +02:00
Bernd Hahnebach
53a2e1e59d FEM: code formating, max line length < 100, fem in out modules 2019-05-27 14:51:57 +02:00
Bernd Hahnebach
dbc0c489cd FEM: code formating, fenics import 2019-05-27 14:51:57 +02:00
joha2
464eb372ab FEM: importFenicsMesh: GuiUp code inserted 2019-05-27 14:51:57 +02:00
wmayer
7080301ea2 improve usability of 'Add triangle' function 2019-05-27 11:49:36 +02:00
abdullahtahiriyo
510c3a3f7c Travis winpty (#2214)
* Travis: FreeCAD tests

invert bars in direct call

* Travis: Run FreeCADCmd through winpty

* Travis: stdin is not a tty

* Travis: winpty -Xallow-non-tty

* Travis: winpty -Xplain

* Travis: Force build failure on any error during testing

* Travis: Use grep/tee to determine failure

* Travis: Correct build output
2019-05-27 09:58:48 +02:00
wmayer
7646e54580 fixes 0003986: Changing view attributes does not trigger 'File changed' status 2019-05-26 23:25:58 +02:00
Bernd Hahnebach
e774788dbd FEM: code formating, max line length < 100, fem test modules 2019-05-26 20:48:06 +02:00
Bernd Hahnebach
fc65cce31a FEM: code formating, add some new lines 2019-05-26 20:48:06 +02:00
wmayer
1d5ae156e2 issue 0003986: Changing view attributes does not trigger 'File changed' status 2019-05-26 18:09:41 +02:00
wmayer
3fa43e8b9c fix some compiler warnings 2019-05-26 14:35:09 +02:00
Abdullah Tahiri
a78cdce94e FreeCAD_trunk.sln to FreeCAD.sln 2019-05-26 13:14:40 +02:00
wmayer
6c50fdb1d6 add option to force different build directory than source directory 2019-05-26 11:46:04 +02:00
Markus Reitboeck
f96edcc3ea (-) fix appveyor build
project was renamed in commit c2e7285c724b4b68826692aabd8929e6b22c615f
2019-05-26 11:21:32 +02:00