Commit Graph

6680 Commits

Author SHA1 Message Date
Eivind Kvedalen
aa8b035842 Expressions: Refactored aggregate functions. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen
b5e44436f1 Expressions: Added support for aggregate functions and ranges. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen
eff4458332 Spreadsheet: Fixed crash when invalid unit was given as input. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen
b214551b6d Spreadsheet: Expose parse error to user. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen
ca74154619 PropertyPlacement: Convert x, y, z values to Quantities when using them in expressions. 2016-04-02 12:01:04 +02:00
Eivind Kvedalen
d62f9425fb Quantity: Added -= and += operators. 2016-04-02 12:01:04 +02:00
wmayer
b1c73eba10 + rework parameter dialog 2016-04-01 15:18:56 +02:00
Yorik van Havre
2ff5b6ae01 Draft: small fix in snaps - issue #2487 2016-03-31 19:33:50 -03:00
wmayer
39e41146bb + move creation of SoFCSelection node to ViewProviderBuilder to avoid code duplication 2016-03-31 15:54:33 +02:00
wmayer
f623d870ce + fix bug in GLImageBox 2016-03-31 14:14:59 +02:00
wmayer
03c7cc5a3b + remove unneeded namespace 2016-03-31 14:14:22 +02:00
wmayer
b4c6139bfb + improve MeshSelection class 2016-03-31 13:35:55 +02:00
wmayer
3232cb697a + check if OCCGEOMETRY is already defined 2016-03-28 11:05:51 +02:00
Ian Rees
63515ba8e6 Find Netgen/nglib on MacOS with MacPorts 2016-03-28 10:48:49 +02:00
wwmayer
ae6c4338a7 Merge pull request #129 from ianrrees/20160327-use-SystemExitException-code
More fixes around Python exit codes
2016-03-28 10:17:13 +02:00
Yorik van Havre
0f259a2c54 fixed wrong info in fcinfo tool 2016-03-28 00:27:43 -03:00
wmayer
555f8cb325 + fix issue with cursor on viewer widget, prepare code for improved event handling 2016-03-28 00:55:37 +02:00
wmayer
d43ba59077 + improve GraphicsScene class 2016-03-27 16:22:30 +02:00
wmayer
32dc67cd71 + delete transient directory if sub-directory fc_recovery_files is empty 2016-03-27 11:32:29 +02:00
Ian Rees
7f42b2b8fb More fixes around Python exit codes 2016-03-27 13:01:04 +13:00
wmayer
c4bd392d85 + improve GraphicsScene class 2016-03-26 19:02:15 +01:00
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