Commit Graph

7148 Commits

Author SHA1 Message Date
wwmayer
9299a73cf1 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
7df94ca9af + fix crash when raising SystemExitException if not called inside Python function 2016-03-21 18:50:57 +01:00
Bruce Lacey
feac22b00d 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
9816e48b07 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
5393196c0e + add clean-up function to recovery dialog 2016-03-21 17:56:18 +01:00
Bruce B. Lacey
0f2943bde5 Added osx freecad-doc.icns icon resource file. 2016-03-20 19:51:24 -07:00
Yorik van Havre
aa83224594 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
aebcea070c Pan support (LMB + RMB) Blender navigation 2016-03-20 20:24:17 +01:00
Bruce B. Lacey
4ac1e89b65 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
c2bf2d0daa + fix build failure on Windows 2016-03-19 21:44:33 +01:00
Yorik van Havre
056c2f1586 Merge pull request #122 from kkoksvik/cmake
Helping cMake find pyside-uic in Arch Linux
2016-03-19 13:22:45 -03:00
wmayer
a4dc263846 + always get occ version information in About dialog 2016-03-19 15:55:09 +01:00
wmayer
297e84e3f0 + fix compiler warnings 2016-03-19 10:12:04 +01:00
kkoksvik
3849cd7993 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD into cmake 2016-03-19 08:44:48 +01:00
Bernd Hahnebach
eca9e3339a FEM: preference setting to disable restore result dialog settings 2016-03-18 21:53:13 +01:00
Bernd Hahnebach
1280a185c2 FEM: add FIXME comment to CommandQuickAnalysis 2016-03-18 21:53:12 +01:00
Bernd Hahnebach
c9d1fbdc7d FEM: fix result stats in result widget for frequency analysis 2016-03-18 21:53:12 +01:00
Yorik van Havre
8829848f35 fixed startpage link 2016-03-18 16:21:33 -03:00
kkoksvik
a235cbf275 Helping cMake find pyside-uic in Arch Linux 2016-03-18 11:48:49 +01:00
Yorik van Havre
bcb75d5477 Updated translation files from crowdin 2016-03-17 23:29:11 -03:00
Yorik van Havre
2542cb490a 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
cf713cf2a1 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
010121d8c1 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
e6f0346521 + make method ManualAlignment::setViewingDirections more reliable 2016-03-17 14:11:03 +01:00
Eivind Kvedalen
9d617ce4c8 Expressions: Changed precedence of ?, :, EQ, NEQ, LT, GT, GTE, and LTE. 2016-03-15 18:28:23 +01:00
Pablo Gil
348303a6cf 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
6ee243c2fa + pull request 61 2016-03-14 23:07:20 +01:00
wwmayer
711f34f5ae 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
a0af9e2da0 FEM: unit test, update test result files and expected result files 2016-03-14 20:38:42 +01:00
Bernd Hahnebach
eca76c3781 FEM: unit test, add some helper to create result files 2016-03-14 20:38:41 +01:00
Bernd Hahnebach
a0a989fe4c FEM: unit test, update FreeCAD file with objects from module TestFem 2016-03-14 20:38:40 +01:00
Bernd Hahnebach
0ffb412aaf FEM: unit test, change load and pressure to some more reasonable values 2016-03-14 20:38:40 +01:00
Bernd Hahnebach
4e407ac4d6 FEM: unit test, remove not used files 2016-03-14 20:38:39 +01:00
wmayer
4f92f5cbbb + fix minor issue with url redirection
+ remove const reference
2016-03-14 18:04:31 +01:00
wmayer
fadf2dbc3b + when using QGLFramebufferObject check if a GL context is active 2016-03-14 10:35:13 +01:00
wmayer
18f0cc6346 + issue: #0002440: 0.16 Build rev 6395 Several display issues 2016-03-13 12:56:08 +01:00
Lorenz Hüdepohl
7f355febda 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
a2b1c3915f + do not hide expression dialog when using the line edit's context-menu 2016-03-12 22:35:36 +01:00
DeepSOIC
5c3024e9f8 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
e624a1d00d Sketcher: never ever hide constraint value sign, anymore 2016-03-12 21:28:22 +01:00
wmayer
b25ef6235d + 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
a17870c93c + fixes #0002471: In constraint context menu, 'Change Value' is always greyed out 2016-03-12 15:26:06 +01:00
wmayer
d0e52d3578 + prepare ViewProvider2DObject to read in GridSize from old projects 2016-03-11 23:06:47 +01:00
wmayer
f124f6e70b + minor whitespace fix, fix warnings 2016-03-11 21:39:15 +01:00
wmayer
32760491a6 + fixes #0002433: Window weirdness after changing constraint value in sketcher 2016-03-11 13:33:23 +01:00
wmayer
4bccc5cc6e + fixes #0002273: Part: Chamfer edges and fillet edges dialog does not remember the type 2016-03-10 22:04:10 +01:00
wmayer
3f79dfffb6 + allow to get user friendly names for navigation styles 2016-03-10 18:37:48 +01:00
wwmayer
5b156b2380 Merge pull request #115 from pgilfernandez/FreeCAD_stylesheets203
Dark and Light stylesheet 2.03
2016-03-10 12:34:16 +01:00
Pablo Gil
20ee0ba82f 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
ed61d65501 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