Commit Graph

136 Commits

Author SHA1 Message Date
wmayer
01279be472 Main: change position of version number to bottom/left 2022-04-01 18:55:55 +02:00
wmayer
d21a60b294 All: modernize C++11
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
1178df06b4 Gui: modernize C++11
* use nullptr
2022-03-23 18:41:21 +01:00
wmayer
e4d1ed8366 Base: rename BaseExceptionFreeCADError to PyExc_FC_GeneralError 2022-03-17 14:45:48 +01:00
wmayer
91e4e468dd Base: move ILogger sub-classes to their own source files in order to reduce including stream classes in client code 2022-03-06 10:13:47 +01:00
wmayer
5e0cfc64ee App: use forward declarations 2022-03-04 21:09:46 +01:00
Uwe
23beff7e2c [Main] remove unused includes 2022-03-04 03:53:09 +01:00
luz paz
8a0d24abde Update 'About' info to reflect new year 2022 2022-01-05 13:20:48 +01:00
wmayer
4746f78422 Main: [skip ci] partially fix issue 0004765: FreeCAD failed to build on MSVC with std:c++latest 2021-11-06 14:31:17 +01:00
wmayer
f38481a68c MinGW: if PYTHONHOME is not set then automatically do it at program start 2021-09-23 12:34:09 +02:00
wmayer
8cbd92d874 port to MSYS2/clang 2021-09-19 19:49:44 +02:00
wmayer
2c0ce4eda4 Gui: remove some more deprecated Py2 2021-04-26 10:59:32 +02:00
wmayer
e92325c9c9 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
luz paz
a213071c87 Gui: remove Py2 code from several src/Gui .cpp files 2021-04-14 14:56:02 +02:00
Chris Hennes
dac8b8ea6a Allow different splash and about image 2021-04-03 22:36:28 +02:00
Chris Hennes
d959bf1582 [Main] Remove deprecated Qt < 5.9 code 2021-04-01 19:29:44 +02:00
wmayer
f9a54c3385 Py3: fixes #0004081: Abillity to show console output when running under Python 2021-04-01 17:51:10 +02:00
donovaly
4484e0969f [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
74f39db3db Main: [skip ci] set new year 2021-02-15 14:54:12 +01:00
luz paz
c52df25cf4 Main: fix header uniformity + trailing whitespace
[skip ci]
2020-12-12 08:17:58 +01:00
wmayer
f54c755dc0 Main: [skip ci] handle C++ exception in main() function 2020-12-09 15:38:06 +01:00
wmayer
8834e91502 [skip ci] do not set attribute WA_DeleteOnClose when loading FreeCAD GUI from Python 2020-06-26 13:52:55 +02:00
wmayer
3971c85130 [skip ci] make Jupyter notebook integration working again 2020-06-21 01:39:39 +02:00
wmayer
4b8cf63c14 [skip ci] improve possibility to create a QApplication in a thread 2020-06-21 00:07:21 +02:00
wmayer
278202eb6f GuiPy: [skip ci] handle some Qt warnings when using GUI from Python
+ avoid warning: QEventLoop: Cannot be used without QApplication
+ avoid warning: QObject::startTimer: Timers can only be used with threads started with QThread
2020-06-20 11:43:59 +02:00
wmayer
0f5d81872f Main: [skip ci] replace QThread with std::thread as it won't start without an event loop 2020-06-19 18:52:26 +02:00
donovaly
825aac9fad add file info to the FreeCADCmd.exe 2020-02-15 19:08:46 +01:00
donovaly
4aba7235f2 delete very outdated manifest files 2020-02-15 19:03:34 +01:00
wmayer
1c42667454 Main: copy icon.ico to build directory 2020-02-14 16:45:16 +01:00
donovaly
7c78fe9df1 add missing version info for Win builds
see https://forum.freecadweb.org/viewtopic.php?f=8&t=43099&p=367607#p367607

automate creation of freecad.rc
as proposed in https://forum.freecadweb.org/viewtopic.php?p=367681#p367681
2020-02-14 14:49:25 +01:00
triplus
f66f18c459 Update copyright information [skip ci] 2020-02-03 08:16:12 -05:00
howetuft
11008e9ae2 Increment year in copyright notice 2020-01-13 15:19:51 +01:00
Markus Lampert
d5820329c5 Added <last> as an option to the workbench selection. 2019-11-01 17:42:14 -03:00
Chris Rendle-Short
9943e74f25 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
8e582d68c4 use GNU directory structure on non-Windows systems 2019-08-22 16:57:11 +02:00
wmayer
344af8129b simplify handling of static Python libs 2019-07-03 16:09:47 +02:00
wmayer
fdcd36f251 fixes #0004000: Ability to suppress console output when running under python 2019-06-13 15:46:49 +02:00
luz.paz
2b02659010 Misc. typo and whitespace fixes
Found via `codespell`
2019-05-30 19:56:12 +02:00
lo
1922c84ca0 cmake: add option to disable linking of python extension modules to python-libraries 2019-05-24 14:37:33 +02:00
wmayer
05b190cdbb fix build failure with Py2.7 under macOS 2019-03-31 17:46:32 +02:00
wmayer
8a95461ae3 PVS: V530 The return value of function 'freopen' is required to be utilized 2019-03-12 18:33:24 +01:00
looooo
d944ef9188 python3.7 fix 2019-03-07 11:10:42 +01:00
wmayer
e23db2e313 PVS: V773 A memory leak is possible 2019-02-17 18:40:06 +01:00
Mateusz Skowroński
ac508516da Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] Thanks Clazy! 2019-02-11 15:39:14 +01:00
wmayer
d27c884c71 Update copyright notice 2019-01-03 15:37:02 +01:00
lorenz
fe3cb6d3bd further cmake changes for conda 2018-12-01 14:52:15 -03:00
wmayer
8f1ef0d90c get rid of private function _PyImport_FixupBuiltin for FreeCAD and FreeCADGui modules 2018-09-01 19:57:15 +02:00
wmayer
228b63e1f9 fix possible UNICODE related build failure due to OCCT cmake flags 2018-08-06 12:29:43 +02:00
looooo
cba64a3587 fix windows problem:
https://forum.freecadweb.org/viewtopic.php?f=4&t=29014
2018-05-31 11:02:33 +02:00
wmayer
1b5995d787 workaround for bug in VS 2013 that occurs at Python init time 2018-04-15 19:05:06 +02:00