Commit Graph

103 Commits

Author SHA1 Message Date
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
luz.paz
1d5799e5b3 Misc. typos
Inspired by @normandc per https://gitter.im/FreeCAD/FreeCAD?at=5a729c6ece68c3bc742df205
2018-02-07 09:40:03 +01:00
wmayer
25ad0148ae adjust copyright text 2018-01-27 12:13:44 +01:00
Unknown
e3eca59173 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
luzpaz
0a31812c73 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
4d63e9a4c4 various minor changes:
+ whitespace improvement
+ code cleanup
2017-11-21 17:51:22 +01:00
looooo
d4136b9698 windows python path setup:
allow to set the PYTHONHOME variable
2017-11-04 11:45:06 +01:00
wmayer
0b7ce87340 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
ca9f583ff0 fixes #0002959: GUI tests aren't run when tests are started via command line 2017-10-09 19:17:31 +02:00
wmayer
dbc777012f avoid to eventually try to init Gui twice 2017-07-10 20:51:30 +02:00
wmayer
4cda387e61 py3: support of Python 3.4 2017-06-06 23:49:42 +02:00
wmayer
729cfd8155 py3: fox compiler warnings
issue 0000995
2017-06-04 00:17:57 +02:00
wmayer
956b6ed08f py3: port external FreeCAD module to Python3
whitespace improvement
2017-06-02 10:18:41 +02:00
wmayer
d40d68d0cb py3: port external FreeCAD module to Python3
issue 0000995
2017-06-02 06:43:18 +02:00
Ian Rees
97f29bccc8 Get path on OSX when imported from external Python 2017-03-21 20:13:51 +01:00
Kunda
de2392eb18 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
Kunda
9410e751e9 source typo fixes pt4 (only on py3 merged code) 2017-03-02 13:47:21 +01:00
Bruce B. Lacey
2a88721102 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
e8f80da3a1 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
cc2199db51 Increment year in copyright info 2017-02-15 21:32:23 +01:00
Alexander Gryson
536e4f1486 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
b5ad50abfd revert previous change in main() for POSIX systems 2017-02-12 13:16:08 +01:00
wmayer
86c4d8bc9c issue #0002891: Sketching impossible, Type.Error Exception 2017-02-09 12:46:58 +01:00
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
743b83e853 Add switch to select between Qt4 and Qt5 2016-12-13 15:53:13 +01:00
wmayer
a34c441373 Qt4/Qt5 neutral changes:
+ replace Q_WS_WIN with Q_OS_WIN
+ replace Q_WS_X11 with Q_OS_LINUX
+ replace Q_WS_MACX with Q_OS_MACX
+ set explicit cast to HWND
2016-12-12 14:09:21 +01:00
Yorik van Havre
bf0d37bf28 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02: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
wmayer
4a35f1662a fix -Wextra in Main & Complete 2016-09-22 14:24:38 +02:00
wmayer
8bd18797c4 Coverity: fix high impact issues 2016-08-17 15:33:04 +02:00
wmayer
03cfeec267 + fix compiler warning, improve whitespaces 2016-05-15 12:16:36 +02:00
David Pello
21ffb0305f BSD Porting fixes, conditional compilation and use of gettimeofday() 2016-05-15 12:08:43 +02:00