Commit Graph

115 Commits

Author SHA1 Message Date
wmayer
1f741aa511 [skip ci] do not set attribute WA_DeleteOnClose when loading FreeCAD GUI from Python 2020-06-26 13:52:55 +02:00
wmayer
a91470576d [skip ci] make Jupyter notebook integration working again 2020-06-21 01:39:39 +02:00
wmayer
daec778694 [skip ci] improve possibility to create a QApplication in a thread 2020-06-21 00:07:21 +02:00
wmayer
0d05fc328d 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
58046eb249 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
5f7856df15 add file info to the FreeCADCmd.exe 2020-02-15 19:08:46 +01:00
donovaly
9985ec6d27 delete very outdated manifest files 2020-02-15 19:03:34 +01:00
wmayer
af27a06faf Main: copy icon.ico to build directory 2020-02-14 16:45:16 +01:00
donovaly
4a6656d979 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
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
Markus Lampert
c6c761b812 Added <last> as an option to the workbench selection. 2019-11-01 17:42:14 -03: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
218d849355 use GNU directory structure on non-Windows systems 2019-08-22 16:57:11 +02:00
wmayer
3203ace267 simplify handling of static Python libs 2019-07-03 16:09:47 +02:00
wmayer
1406c03d18 fixes #0004000: Ability to suppress console output when running under python 2019-06-13 15:46:49 +02:00
luz.paz
7c1490c046 Misc. typo and whitespace fixes
Found via `codespell`
2019-05-30 19:56:12 +02:00
lo
9369816f3c cmake: add option to disable linking of python extension modules to python-libraries 2019-05-24 14:37:33 +02:00
wmayer
ac265261b1 fix build failure with Py2.7 under macOS 2019-03-31 17:46:32 +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
looooo
3ad9ee6fa4 python3.7 fix 2019-03-07 11:10:42 +01:00
wmayer
3845350c0a PVS: V773 A memory leak is possible 2019-02-17 18:40:06 +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
lorenz
b022c7c01d further cmake changes for conda 2018-12-01 14:52:15 -03:00
wmayer
b79e1bfee4 get rid of private function _PyImport_FixupBuiltin for FreeCAD and FreeCADGui modules 2018-09-01 19:57:15 +02:00
wmayer
2e4d2dff03 fix possible UNICODE related build failure due to OCCT cmake flags 2018-08-06 12:29:43 +02:00
looooo
8e2c682a3d fix windows problem:
https://forum.freecadweb.org/viewtopic.php?f=4&t=29014
2018-05-31 11:02:33 +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
349f8b5ff9 avoid to eventually try to init Gui twice 2017-07-10 20:51:30 +02:00
wmayer
9513792292 py3: support of Python 3.4 2017-06-06 23:49:42 +02:00
wmayer
8ce343291b py3: fox compiler warnings
issue 0000995
2017-06-04 00:17:57 +02:00
wmayer
369cc735e1 py3: port external FreeCAD module to Python3
whitespace improvement
2017-06-02 10:18:41 +02:00
wmayer
8164722a71 py3: port external FreeCAD module to Python3
issue 0000995
2017-06-02 06:43:18 +02:00
Ian Rees
caee7cae1c Get path on OSX when imported from external Python 2017-03-21 20:13:51 +01: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
Bruce B. Lacey
d964187504 Install macOS bundle executables into MacOS
* Previously, the macOS bundle executables were installed into
    bin which does not adhere to Apple guidelines and causes
    issues with certain frameworks like Qt.  The install has
    been refactored to install the executables into MacOS

Fixes #2928
2017-03-01 09:33:28 +01:00
Bruce B. Lacey
21080af2a7 Packaging: macOS relocation of libraries without children
* macOS install path must be <bundle>/MacOS in order for
    QLibrary to find qt.conf to set the correct bundle paths
  * Refactored to add an explicit graph traversal to set the
    dynamic loader id to handle the case where a bundled
    resource does not have any children
  * Fixed the case where rpaths were not removed from
    libraries without children
  * Improved diagnostics when bundling fail to finds
    a dependent library in the search path

Mantis: #0002886
Refs: #535
2017-02-23 20:28:17 -08:00
wmayer
bf66153f9c Increment year in copyright info 2017-02-15 21:32:23 +01:00
Alexander Gryson
0c7587a86c Increment year in copyright info
Just increments the year in the console output when launching FreeCAD
2017-02-14 17:44:21 +01:00
wmayer
b9e8b4f74f revert previous change in main() for POSIX systems 2017-02-12 13:16:08 +01:00