Commit Graph

63 Commits

Author SHA1 Message Date
Uwe
bb76c7cc55 [Main] remove unused includes 2022-03-04 03:53:09 +01:00
luz paz
7f27c81119 Update 'About' info to reflect new year 2022 2022-01-05 13:20:48 +01:00
wmayer
b432d12933 MinGW: if PYTHONHOME is not set then automatically do it at program start 2021-09-23 12:34:09 +02:00
wmayer
1aad309886 Gui: remove some more deprecated Py2 2021-04-26 10:59:32 +02:00
wmayer
44e82ac3c4 App: remove some more deprecated Py2 code
and remove deprecated void from function signature and replace 0 or NULL with nullptr
2021-04-26 10:55:56 +02:00
Chris Hennes
c039217af1 Allow different splash and about image 2021-04-03 22:36:28 +02:00
Chris Hennes
6b4b245f08 [Main] Remove deprecated Qt < 5.9 code 2021-04-01 19:29:44 +02:00
donovaly
1b398a9526 [Main] set Coin environment variable
as discussed in https://forum.freecadweb.org/viewtopic.php?f=10&t=56386&start=10 we need to set this environment variable for Coin on Windows
2021-03-07 08:14:50 +01:00
wmayer
3467907fab Main: [skip ci] set new year 2021-02-15 14:54:12 +01:00
luz paz
c4b1ec01ba Main: fix header uniformity + trailing whitespace
[skip ci]
2020-12-12 08:17:58 +01:00
wmayer
56b4837a83 Main: [skip ci] handle C++ exception in main() function 2020-12-09 15:38:06 +01:00
triplus
b2aaa95a72 Update copyright information [skip ci] 2020-02-03 08:16:12 -05:00
howetuft
c4ca00a1d5 Increment year in copyright notice 2020-01-13 15:19:51 +01:00
Chris Rendle-Short
4417ad2a98 Fix missing app ID and icon on Wayland
Wayland needs to know the name of the .desktop file to show a dock
icon and application name.

See: https://community.kde.org/Guidelines_and_HOWTOs/Wayland_Porting_Notes#Application_Icon
2019-08-29 17:39:53 +02:00
wmayer
1406c03d18 fixes #0004000: Ability to suppress console output when running under python 2019-06-13 15:46:49 +02:00
wmayer
96144560b3 PVS: V530 The return value of function 'freopen' is required to be utilized 2019-03-12 18:33:24 +01:00
Mateusz Skowroński
317bcd59c9 Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] Thanks Clazy! 2019-02-11 15:39:14 +01:00
wmayer
2aa4f8c47f Update copyright notice 2019-01-03 15:37:02 +01:00
wmayer
2e4d2dff03 fix possible UNICODE related build failure due to OCCT cmake flags 2018-08-06 12:29:43 +02:00
wmayer
7ed84a6590 workaround for bug in VS 2013 that occurs at Python init time 2018-04-15 19:05:06 +02:00
luz.paz
b6b9f61548 Misc. typos
Inspired by @normandc per https://gitter.im/FreeCAD/FreeCAD?at=5a729c6ece68c3bc742df205
2018-02-07 09:40:03 +01:00
wmayer
5d35713aa2 adjust copyright text 2018-01-27 12:13:44 +01:00
Unknown
a8ecffb652 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
luzpaz
0d1451f39d User-facing typo fixes
All user-facing strings that have double (consecutive) whitespace e.g. `\b  \b`have been removed. Inspired by the error message in https://forum.freecadweb.org/viewtopic.php?f=3&t=5899&p=200309#p200309
2017-11-21 17:21:23 -03:00
wmayer
3b957a12b5 various minor changes:
+ whitespace improvement
+ code cleanup
2017-11-21 17:51:22 +01:00
looooo
edcc8ac76f windows python path setup:
allow to set the PYTHONHOME variable
2017-11-04 11:45:06 +01:00
wmayer
3b479e00c2 allow to set console and unit test option without overriding each other
start unit tests in command line mode because the python pivy package is missing
2017-10-10 20:40:09 +02:00
wmayer
4d9416f1cf fixes #0002959: GUI tests aren't run when tests are started via command line 2017-10-09 19:17:31 +02:00
wmayer
9513792292 py3: support of Python 3.4 2017-06-06 23:49:42 +02:00
wmayer
8164722a71 py3: port external FreeCAD module to Python3
issue 0000995
2017-06-02 06:43:18 +02:00
Kunda
19f8fd4c10 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
Kunda
99c99006b8 source typo fixes pt4 (only on py3 merged code) 2017-03-02 13:47:21 +01:00
wmayer
bf66153f9c Increment year in copyright info 2017-02-15 21:32:23 +01:00
wmayer
b9e8b4f74f revert previous change in main() for POSIX systems 2017-02-12 13:16:08 +01:00
wmayer
6c2a7b479f issue #0002891: Sketching impossible, Type.Error Exception 2017-02-09 12:46:58 +01:00
wmayer
0598af8a08 unset PYTHONHOME on Windows to avoid eventual problems with a conflicting Python installation 2017-02-08 21:43:55 +01:00
wmayer
87f2866884 Linux specific Qt5 port 2016-12-13 19:47:32 +01:00
wmayer
e71e4bf562 update copyright text 2016-10-16 11:51:23 +02:00
Bruce B. Lacey
400891fcfe Exit application with non-zero general error status code if an exception is raised 2016-10-08 15:57:50 -07: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
fe8be472a9 + fix unit tests 2016-02-09 16:00:38 +01:00
Mateusz Skowroński
7d0e892d36 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
cd2db00f22 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
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
6a18530a8d + if FreeCAD is not running in Gui mode do not replace Python std. output 2015-08-29 17:22:40 +02:00
wmayer
cc281d482e + move branding stuff from main() to FreeCADApp 2015-07-07 00:52:13 +02:00
Sebastian Hoogen
f32caef40c respect locale environment except for LC_NUMERIC
fixes #1852
2015-01-24 19:52:25 +01:00
wmayer
477099bbfe + remove useless stuff from Init files 2015-01-13 16:19:19 +01:00
wmayer
5912342e3f + support of home path with non-ASCII chars 2014-10-19 17:27:02 +02:00
wmayer
eb89cb422c + harmonize API 2014-10-19 14:28:39 +02:00