Commit Graph

6647 Commits

Author SHA1 Message Date
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
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
DeepSOIC
acec16d5dc Sketcher: never ever hide constraint value sign, anymore 2016-03-12 21:28:22 +01:00
wmayer
ab449f5dd8 + on rename of contraint make sure that new name is different, on swap constraint names make sure they have user-defined names 2016-03-12 20:02:18 +01:00
wmayer
edd55999cc + fixes #0002471: In constraint context menu, 'Change Value' is always greyed out 2016-03-12 15:26:06 +01:00
wmayer
712fc50d1d + prepare ViewProvider2DObject to read in GridSize from old projects 2016-03-11 23:06:47 +01:00
wmayer
e7df101273 + minor whitespace fix, fix warnings 2016-03-11 21:39:15 +01:00
wmayer
6488b745d1 + fixes #0002433: Window weirdness after changing constraint value in sketcher 2016-03-11 13:33:23 +01:00
wmayer
72a96f7da9 + fixes #0002273: Part: Chamfer edges and fillet edges dialog does not remember the type 2016-03-10 22:04:10 +01:00
wmayer
111ebaf6be + allow to get user friendly names for navigation styles 2016-03-10 18:37:48 +01:00
wwmayer
c701a4f83a Merge pull request #115 from pgilfernandez/FreeCAD_stylesheets203
Dark and Light stylesheet 2.03
2016-03-10 12:34:16 +01:00
Pablo Gil
d9d90674cc Stylesheets:
+ simplified toolbar button separators
+ added hover and pressed states for toolbar buttons to improve user experience
+ partial fix for button with icons inside Task panel
+ fixed styles for fields inside a table cell
2016-03-10 11:58:33 +01:00
wwmayer
4911a2e760 Merge pull request #114 from bblacey/set-exitcode-on-unittest-failure
Exit with non-zero status when unit tests fail.
2016-03-10 11:18:21 +01:00
Bruce Lacey
131ce6834a Exit with non-zero status when unit tests fail.
1.  Enhanced TestApp.py to return the unittest TestResult object to the calling method
2.  FreeCADTest.py now checks the TestResult object.  If all tests pass, FreeCADTest.py exits with a 0 however if any tests fail, then it exits with 1.  FreeCADTest.py calls os._exit() with the exit code instead of sys.exit() because Base::Interpreter:SystemExitException intercepts sys.exit() calls and swallows the exit code so there is no way to propogate the non-zero code from the python test cases through the interpreter to the shell in the current call stack.
2016-03-09 21:57:57 -08:00