Commit Graph

28 Commits

Author SHA1 Message Date
wmayer
20d1d2500e unset PYTHONHOME on Windows to avoid eventual problems with a conflicting Python installation 2017-02-08 21:43:55 +01:00
wmayer
11ffc5bca9 Linux specific Qt5 port 2016-12-13 19:47:32 +01:00
wmayer
3638588c8e update copyright text 2016-10-16 11:51:23 +02:00
Bruce B. Lacey
cd3cfe100d Exit application with non-zero general error status code if an exception is raised 2016-10-08 15:57:50 -07: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
cd3d36342f + fix unit tests 2016-02-09 16:00:38 +01:00
Mateusz Skowroński
6942c23895 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
Mateusz Skowroński
c275b35d48 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
23baa80496 + if FreeCAD is not running in Gui mode do not replace Python std. output 2015-08-29 17:22:40 +02:00
wmayer
f45602424d + move branding stuff from main() to FreeCADApp 2015-07-07 00:52:13 +02:00
Sebastian Hoogen
0dc2202347 respect locale environment except for LC_NUMERIC
fixes #1852
2015-01-24 19:52:25 +01:00
wmayer
3398513a28 + remove useless stuff from Init files 2015-01-13 16:19:19 +01:00
wmayer
7ade19fde2 + support of home path with non-ASCII chars 2014-10-19 17:27:02 +02:00
wmayer
2453dd4e01 + harmonize API 2014-10-19 14:28:39 +02:00
wmayer
4449d1abdc + fixes #0001762: Update 'About FreeCAD' Screen 2014-09-23 19:31:37 +02:00
wmayer
353d481281 + Add StackWalker to get log messages on crashes (MSVC only) 2014-09-03 11:48:34 +02:00
wmayer
6f43ef821c + Get program arguments as unicode string under Windows 2014-04-25 15:28:20 +02:00
Yorik van Havre
37f6fcf6d8 Updated links to the new bugtracker location 2013-11-04 17:07:35 -02:00
wmayer
6f4fe2b9e2 + Use of style sheets 2013-10-14 12:57:00 +02:00
Yorik van Havre
4005b199e0 0001102: Updated all links to old freecad homepage and wiki to the new ones 2013-09-15 17:04:42 -03:00
wmayer
c278df081f Create minidump file if FreeCAD crashes on Windows 2013-06-14 14:33:02 +02:00
wmayer
759c826241 Fix initialization error 2012-10-18 10:31:04 +02:00
wmayer
40a997217b Proper handling of SystemExitException in Python 2012-08-11 10:58:54 +02:00
wmayer
41c46bf48b 0000777: Shared libraries call exit 2012-07-05 15:24:28 +02:00
wmayer
c21ac1b6b0 Extend application branding 2012-02-23 20:25:33 +01:00
wmayer
42129462c5 Embed version number into splashscreen 2012-02-22 17:28:22 +01:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00