Commit Graph

503 Commits

Author SHA1 Message Date
Yorik van Havre
1eda79cc46 Crowdin script - save the downloaded file as freecad.zip 2017-06-26 11:30:05 -03:00
triplus
780bede885 Add Tux to translation scripts 2017-06-11 17:53:11 +02:00
wmayer
bf693725f4 py3: support of Python 3.4 2017-06-07 15:28:46 +02:00
wmayer
69d0e8bd7f py3: partially revert of getattr -> getattro because getattro is only needed for the static callback function
issue 0000995
2017-06-03 10:51:05 +02:00
looooo
bc696e5ab5 py3: change of getattr -> getattro
issue 0000995
2017-06-03 10:51:05 +02:00
looooo
947c10a4fd py3: src/Tools: python3 diff, 2. part
issue 0000995
2017-05-31 23:23:21 +02:00
looooo
11dcd18e0f py3: src/Tools: python3 diff, 1. part
issue 0000995
2017-05-31 12:04:48 +02:00
wmayer
2fa2370ef1 remove const from exception handler to fix build failure 2017-05-13 17:33:13 +02:00
Abdullah Tahiri
a7bc962ce5 Renaming getPyDict to getPyObject for consistency with BaseClass 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
b410f8857c Enable exceptions to save/restore information in a python dictionary and enable throwing exception from dictionary information 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
fbca57bd36 Use PyErr_setObject with a PyDict to set Base::Exception information to BaseFreeCADError Python exception 2017-05-13 15:27:57 +02:00
wmayer
df1e2642d0 replacement for PR 698 2017-04-27 23:05:40 +02:00
wmayer
bd57dbfc4e add warning to generated file not to make manual changes 2017-04-27 15:52:15 +02:00
Kunda
784edd3f82 Typo fixes for doxygen and source comments
issue #0002914
2017-03-31 11:25:57 -03:00
Kunda
3017173c9a source typo fixes pt6 2017-03-07 13:43:46 -03:00
Yorik van Havre
6b66a38ee3 Updated translations with latest files from crowdin 2017-03-06 11:53:09 -03: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
5084b96759 Qt5: build FreeCAD for macOS with both Qt5 and Qt4
* Extend Travis config to build and deploy FreeCAD on
     macOS with Qt5, in addition to Qt4
   * Link PySide wrapper to <bundle>/MacOS
   * Warn on install_name_tool failures (work-around to
     confirmed Apple install_name_tool bug)
   * Reference XCTest "Current" framework versus "A"
2017-02-27 10:30:36 +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
Bruce B. Lacey
b52b94ae85 Packaging: Set macOS dynamic loader paths
*  DYLD paths are set properly to prevent loading libraries external
     to the bundle
  a. LC_ID_DYLD is set to the basename of the library name (i.e.
     not the absolute path) when it is copied into the bundle
  b. Existing LC_RPATH entries in libraries are removed before adding
     the bundle-relative RPATH
  *  Added configurable diagnostic logging to aid in debugging

Fixes 0002886
2017-02-19 01:16:59 -08:00
wmayer
76b3397762 py3: ported module init to python3 2017-02-04 15:56:31 +01:00
wmayer
09846721f2 make sure that the passed 'self' pointer to a method of the Python wrapper is never null 2017-01-24 12:34:23 +01:00
looooo
e9b5722220 python3: dict.has_key("key") --> "key" in dict 2017-01-20 00:06:58 -02:00
Mateusz Skowroński
9b07616fe6 * Cosmetic change. Replace Qt keyword emit with Q_EMIT.
* Whitespace fixes.
2017-01-05 22:57:30 +01:00
wmayer
deddc4b3e2 use Qt WebKit module 2016-12-13 19:48:22 +01:00
wmayer
e45a099698 extend generation framework to set Python class name 2016-12-03 12:50:36 +01:00
Kurt Kremitzki
6d9ad77868 Fix English typo 2016-11-30 01:14:09 -06:00
Kurt Kremitzki
4ef6d7a387 Fix English typo 2016-11-30 01:13:21 -06:00
wmayer
b4020f2cc8 fix bug in generation script 2016-10-08 18:48:27 +02:00
wmayer
9ac1810ea3 Fix issues:
+ improve formatting
+ remove superfluous semicolons
+ comment unused parameters
+ rename Initialisation to Initialization
+ rename Deinitialisation to Finalization
+ remove spaces
2016-10-08 12:48:34 +02:00
Stefan Tröger
93222098f0 Extensions: Allow them to be added dynamically 2016-10-08 12:48:34 +02:00
Stefan Tröger
4c42181e34 Extensions: Show up in the python interface 2016-10-08 12:48:34 +02:00
wmayer
5a88307e3e support creating Python workbench with fcbt 2016-10-04 19:40:47 +02:00
wmayer
034cc0013e add template for Python workbench 2016-10-04 19:29:53 +02:00
wmayer
b980cf3361 fix -Wextra in Mesh 2016-09-23 17:24:00 +02:00
wmayer
c48a9bfead fix -Wunused-parameter 2016-09-23 16:37:12 +02:00
wmayer
f408f3180b fix -Wextra in FreeCADBase 2016-09-21 15:02:02 +02:00
jriegel
f29c33c7dc add .gitignore for *.pyc files 2016-04-12 18:11:45 +02:00
wmayer
1d75efea75 + increase minor and build number, rework creation of Version.h 2016-04-09 15:15:29 +02:00
Yorik van Havre
153e87d36c fixed wrong info in fcinfo tool 2016-03-28 00:27:43 -03:00
Bruce B. Lacey
b18a5f1396 Improved Mac OS X Application Packaging.
1.  Set python dependency paths in Application Bundle adhering the Homebrew convention of installing them in prefix/libexec
   2.  Add appdmg configuration to produce an os x disk image for FreeCAD application distribution
   3.  Added a Tools convenience script to produce an archive name from a serialized Version.h file using the convention FreeCAD_{Major Version Number}.{Minor Version Number}-{Git Revision Count}.{Git Short SHA}-{OS}-{Arch}
2016-03-07 20:49:58 -08:00
Yorik van Havre
b389554a30 Updated translation tools 2016-03-01 12:34:16 -03:00
maurerpe
3f3d8a95f5 Fix remaining toAscii/fromAscii
Qt5 does not have toAscii or fromAscii.  Use toLatin1 and fromLatin1
respectively.  Both replacement functions exist in Qt4.8.
2016-02-24 23:56:43 +01:00
Yorik van Havre
237c74c212 Updated offline pdf generation tool 2016-02-14 19:28:32 -02:00
Yorik van Havre
4d782e42ed updated offline doc tools to handle the Command_Reference pages 2016-02-13 20:36:28 -02:00
Yorik van Havre
fe22e9730f Updated version number in offline doc tools and removed unnecessary file 2016-02-11 19:57:43 -02:00
Yorik van Havre
2e2192f88a Added slovenian language 2016-02-03 13:36:51 -02:00
Ian Rees
641a3abc0a Added notes + warnings to mac app bundle tool. 2016-01-27 18:07:08 +13:00
Ian Rees
ada6ad5d89 Add /Library/Frameworks/ to known system libraries
Fixes issue where the 3Dconnexion drivers weren't found in relocateable
mac application bundles.
2016-01-23 19:23:11 +13:00
Ian Rees
45d343e975 Prevent adding duplicate rpaths to bundled libs 2016-01-23 19:23:11 +13:00