wmayer
3c85aaf0df
remove const from exception handler to fix build failure
2017-05-13 17:33:13 +02:00
Abdullah Tahiri
f4c0f0acae
Renaming getPyDict to getPyObject for consistency with BaseClass
2017-05-13 15:27:57 +02:00
Abdullah Tahiri
3a27e2d8ff
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
7049881d47
Use PyErr_setObject with a PyDict to set Base::Exception information to BaseFreeCADError Python exception
2017-05-13 15:27:57 +02:00
wmayer
7150e9ab23
replacement for PR 698
2017-04-27 23:05:40 +02:00
wmayer
25c69ee833
add warning to generated file not to make manual changes
2017-04-27 15:52:15 +02:00
Kunda
5aefa825b1
Typo fixes for doxygen and source comments
...
issue #0002914
2017-03-31 11:25:57 -03:00
Kunda
31b0233393
source typo fixes pt6
2017-03-07 13:43:46 -03:00
Yorik van Havre
9f44809e9e
Updated translations with latest files from crowdin
2017-03-06 11:53:09 -03: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
f7babe06f1
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
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
Bruce B. Lacey
bb80968e6e
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
7ba2217617
py3: ported module init to python3
2017-02-04 15:56:31 +01:00
wmayer
7630e6bc2b
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
8d8dec9f3d
python3: dict.has_key("key") --> "key" in dict
2017-01-20 00:06:58 -02:00
Mateusz Skowroński
ce1c021132
* Cosmetic change. Replace Qt keyword emit with Q_EMIT.
...
* Whitespace fixes.
2017-01-05 22:57:30 +01:00
wmayer
c33f73eb99
use Qt WebKit module
2016-12-13 19:48:22 +01:00
wmayer
0031e13953
extend generation framework to set Python class name
2016-12-03 12:50:36 +01:00
Kurt Kremitzki
53250c4a6a
Fix English typo
2016-11-30 01:14:09 -06:00
Kurt Kremitzki
63ce3e1369
Fix English typo
2016-11-30 01:13:21 -06:00
wmayer
2478c9847b
fix bug in generation script
2016-10-08 18:48:27 +02:00
wmayer
f1127dd2f4
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
88484d7054
Extensions: Allow them to be added dynamically
2016-10-08 12:48:34 +02:00
Stefan Tröger
552fe52774
Extensions: Show up in the python interface
2016-10-08 12:48:34 +02:00
wmayer
9a411f9857
support creating Python workbench with fcbt
2016-10-04 19:40:47 +02:00
wmayer
1e4881184f
add template for Python workbench
2016-10-04 19:29:53 +02:00
wmayer
f6e1cb6025
fix -Wextra in Mesh
2016-09-23 17:24:00 +02:00
wmayer
d88ecd5f56
fix -Wunused-parameter
2016-09-23 16:37:12 +02:00
wmayer
39e589a4d7
fix -Wextra in FreeCADBase
2016-09-21 15:02:02 +02:00
jriegel
5c15125451
add .gitignore for *.pyc files
2016-04-12 18:11:45 +02:00
wmayer
c74226f7a7
+ increase minor and build number, rework creation of Version.h
2016-04-09 15:15:29 +02:00
Yorik van Havre
0f259a2c54
fixed wrong info in fcinfo tool
2016-03-28 00:27:43 -03:00
Bruce B. Lacey
a14caacabc
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
6ffea8cc39
Updated translation tools
2016-03-01 12:34:16 -03:00
maurerpe
2e4efb5b10
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
371034608b
Updated offline pdf generation tool
2016-02-14 19:28:32 -02:00
Yorik van Havre
4c272535e8
updated offline doc tools to handle the Command_Reference pages
2016-02-13 20:36:28 -02:00
Yorik van Havre
1c08147821
Updated version number in offline doc tools and removed unnecessary file
2016-02-11 19:57:43 -02:00
Yorik van Havre
3106ca7df3
Added slovenian language
2016-02-03 13:36:51 -02:00
Ian Rees
7a60805a2d
Added notes + warnings to mac app bundle tool.
2016-01-27 18:07:08 +13:00
Ian Rees
a600aa237f
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
8cb77d8d27
Prevent adding duplicate rpaths to bundled libs
2016-01-23 19:23:11 +13:00
wmayer
4608d06942
+ simplify porting of template module to Python3
2016-01-17 19:17:00 +01:00
Yorik van Havre
8a7768a04a
Added script to check download stats on github
2016-01-05 12:24:57 -02:00
wmayer
5427fad693
+ Add Python example of embedding FreeCAD
2015-11-20 22:35:26 +01:00
wmayer
2f44dbfc7e
+ move module Python stuff into C++ class
2015-10-24 18:16:17 +02:00
wmayer
24815ac196
+ remove Py_TPFLAGS_BASETYPE flag for all generated Python bindings because they can't be sub-classed in Python
2015-10-12 19:59:58 +02:00
wmayer
6b67d4a4e7
+ replace old C casts with static_cast in generated C++ code, remove unused parent structure of Python classes, support of -1 as return value of setCustomAttributes
2015-09-27 22:08:08 +02:00
Mateusz Skowroński
05f95c0506
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00