Commit Graph

6659 Commits

Author SHA1 Message Date
wmayer
c7a8471ca1 + make GraphicsView get working again, remove unneeded code 2016-03-26 14:30:36 +01:00
wwmayer
86792d661a Merge pull request #128 from ianrrees/20160326-catch-exceptions-FreeCADCmd
Catch exceptions in FreeCADCmd like FreeCAD
2016-03-26 11:07:31 +01:00
Ian Rees
3cfe7a97b3 Catch exceptions in FreeCADCmd like FreeCAD 2016-03-26 20:49:47 +13:00
wmayer
fb1310f43e + resize scene size when resizing graphics view 2016-03-25 18:11:56 +01:00
wmayer
6bffc21b93 + replace insecure x/fabs(x) with sgn function 2016-03-24 11:07:30 +01:00
wwmayer
ea35f935da Merge pull request #125 from triplus/patch-1
Pan support (LMB + RMB) Blender navigation
2016-03-24 09:46:16 +01:00
wmayer
b82b386a7a + various minor fixes, whitespaces improvements 2016-03-23 23:28:56 +01:00
wmayer
f023d54b45 + fix warning of unused variable
+ when clearing scene graph then also empty internal lists
+ whitespace changes
2016-03-22 19:25:38 +01:00
Yorik van Havre
178505a00a Document.openTransaction() now accepts unicode 2016-03-22 12:20:58 -03:00
wmayer
26c5874d55 + make an option to enable C++11 support for clang 2016-03-22 12:29:17 +01:00
wmayer
37fb31b8fb + fix mesh merge 2016-03-22 11:06:04 +01:00
wwmayer
fb14e9470e Merge pull request #126 from bblacey/new-document-icons
Added osx freecad-doc.icns icon resource file.
2016-03-21 19:31:55 +01:00
wmayer
8675778a68 + fix crash when raising SystemExitException if not called inside Python function 2016-03-21 18:50:57 +01:00
Bruce Lacey
3ecccd36b9 FreeCADTest.py invokes sys.exit() instead of the more aggressive os._exit()
With the ability to now pass the <exitCode> from sys.exit() up the
call stack to the shell, FreeCADTest.py should use sys.exit() instead
of the more aggressive os._exit() method that does not allow for
post-exception cleanup.
2016-03-21 18:28:46 +01:00
Bruce Lacey
05076993d6 Propagate sys.exit(code) up the call stack to the shell
SystemExitException is instantiated and thrown by Base::Interpreter
whenever the python interpreter executes a sys.exit(<exitCode>) call.
However, in the current implementation, the SystemExitException
effectively swallows the <exitCode> hence under this change,
SystemExitException has been extended to save the <exitCode> passed to
the sys.exit() call when it is instantiated and provides a new
getExitCode() accessor method to retrieve the <exitCode> in a
try/catch block.  MainGui.cpp was change to pass the corresponding
<exitCode> to the system exit() call so it is accessible in the shell.
2016-03-21 18:28:29 +01:00
wmayer
dcb5d09581 + add clean-up function to recovery dialog 2016-03-21 17:56:18 +01:00
Bruce B. Lacey
30f1079e6c Added osx freecad-doc.icns icon resource file. 2016-03-20 19:51:24 -07:00
Yorik van Havre
a1082796b9 Merge pull request #124 from bblacey/new-document-icons
Add high-resolution variant of FreeCAD document icon resources for al…
2016-03-20 21:41:33 -03:00
triplus
0ed4349dd8 Pan support (LMB + RMB) Blender navigation 2016-03-20 20:24:17 +01:00
Bruce B. Lacey
9344c3201b Add high-resolution variant of FreeCAD document icon resources for all platforms
We did not have document icons defined for OS X and the existing legacy
icons were low resolution.  For this change, we have created a
freecad-doc.svg icon that serves as the basis for generating
platform-specific FreeCAD document icon sets for the supported
platforms.  Extended the OS X bundle definition to include the
high-resolution document icon set and regenerated the existing 64x64
Gui/Icon/freecad-doc.png from the new svg variant.
2016-03-19 19:10:13 -07:00
wmayer
91ea9505d1 + fix build failure on Windows 2016-03-19 21:44:33 +01:00
Yorik van Havre
a027fe41ca Merge pull request #122 from kkoksvik/cmake
Helping cMake find pyside-uic in Arch Linux
2016-03-19 13:22:45 -03:00
wmayer
8728bb2172 + always get occ version information in About dialog 2016-03-19 15:55:09 +01:00
wmayer
f88eeed6eb + fix compiler warnings 2016-03-19 10:12:04 +01:00
kkoksvik
b8e346fded Merge branch 'master' of https://github.com/FreeCAD/FreeCAD into cmake 2016-03-19 08:44:48 +01:00
Bernd Hahnebach
5f45a464b8 FEM: preference setting to disable restore result dialog settings 2016-03-18 21:53:13 +01:00
Bernd Hahnebach
84d81c1a38 FEM: add FIXME comment to CommandQuickAnalysis 2016-03-18 21:53:12 +01:00
Bernd Hahnebach
52e0506719 FEM: fix result stats in result widget for frequency analysis 2016-03-18 21:53:12 +01:00
Yorik van Havre
f414cd526a fixed startpage link 2016-03-18 16:21:33 -03:00
kkoksvik
404302c0c9 Helping cMake find pyside-uic in Arch Linux 2016-03-18 11:48:49 +01:00
Yorik van Havre
66e33b066a Updated translation files from crowdin 2016-03-17 23:29:11 -03:00
Yorik van Havre
07279bdc03 Merge pull request #120 from pgilfernandez/FreeCAD_stylesheets204
Dark and Light stylesheets v2.04
2016-03-17 23:17:12 -03:00
Yorik van Havre
4e5a64559b Merge pull request #121 from wood-galaxy/arch-roof-3
Arch Roof : Fix BOPCheck failed
2016-03-17 20:49:37 -03:00
Jonathan Wiedemann
75c71d654f Arch Roof : Fix BOPCheck failed
cf http://forum.freecadweb.org/viewtopic.php?f=23&t=14711
2016-03-17 23:24:17 +01:00
wmayer
cd032826ab + make method ManualAlignment::setViewingDirections more reliable 2016-03-17 14:11:03 +01:00
Eivind Kvedalen
d68b72e523 Expressions: Changed precedence of ?, :, EQ, NEQ, LT, GT, GTE, and LTE. 2016-03-15 18:28:23 +01:00
Pablo Gil
bc70b1ad2e Stylesheets:
+ selected Tab bar has now opaque background color
+ styles for buttons inside Task Panel that are in reality QToolButtons
+ styles for QListWidget and QTreeView items with checkboxes
+ simplified regular QCheckBox styling
2016-03-15 15:09:28 +01:00
wmayer
c8a3ff0ae2 + pull request 61 2016-03-14 23:07:20 +01:00
wwmayer
6cb1fc7719 Merge pull request #119 from dev-at-stellardeath-org/python_lib64
Add lib64 to python path
2016-03-14 21:09:56 +01:00
Bernd Hahnebach
0081b2f970 FEM: unit test, update test result files and expected result files 2016-03-14 20:38:42 +01:00
Bernd Hahnebach
a9a785f431 FEM: unit test, add some helper to create result files 2016-03-14 20:38:41 +01:00
Bernd Hahnebach
8a66697056 FEM: unit test, update FreeCAD file with objects from module TestFem 2016-03-14 20:38:40 +01:00
Bernd Hahnebach
87dbeed028 FEM: unit test, change load and pressure to some more reasonable values 2016-03-14 20:38:40 +01:00
Bernd Hahnebach
ef9d943272 FEM: unit test, remove not used files 2016-03-14 20:38:39 +01:00
wmayer
7a5bfaef70 + fix minor issue with url redirection
+ remove const reference
2016-03-14 18:04:31 +01:00
wmayer
6488c2c43e + when using QGLFramebufferObject check if a GL context is active 2016-03-14 10:35:13 +01:00
wmayer
2b8af7be1f + issue: #0002440: 0.16 Build rev 6395 Several display issues 2016-03-13 12:56:08 +01:00
Lorenz Hüdepohl
d0e50f8216 Add lib64 to python path
On certain distributions the library directories are called "lib64" on
amd64 machines
2016-03-13 01:18:18 +01:00
wmayer
2dadb1f260 + do not hide expression dialog when using the line edit's context-menu 2016-03-12 22:35:36 +01:00
DeepSOIC
038b9e71c1 Sketcher: negative constraint value avoidance
by swapping elements being constrained at creation time, should the
precalculated value happen to be negative.
2016-03-12 21:28:37 +01:00