Thomas Pointhuber
0e0b4d52a2
Add initial support for Phoenix (new wxPython binding)
Based on the work of @mmccoo :
https://kicad.mmccoo.com/2017/11/23/learnings-from-moving-kicad-to-wxpython-4-0/
and this additional patchset to remove wxpy_api.h dependency:
http://mmccoo.com/random/0001-Remove-dependence-on-pywx_api.h.patch
Please note CreatePythonShellWindow changed quite a lot. Throughful testing
should be made for the old as well as new wxPython version on all platforms
7 years ago
Thomas Pointhuber
e09785db1d
Introduce PyStringToWx helper to remove code duplication
7 years ago
Thomas Pointhuber
22e5e52598
Fix warning: 'HAVE_CLOCK_GETTIME' macro redefined
7 years ago
jean-pierre charras
a7c4c8c7f2
Pcbnew: Fix a crash when reloading python scripts, when Kicad uses wxPython.
also, refresh the board editor action plugins menu, when reloading python scripts from the footprint wizard selector.
9 years ago
jean-pierre charras
e6a8294c56
dialog_footprint_wizard_list: add button to show the trace of errors when python scripts wizards failed to load.
9 years ago
jean-pierre charras
76a82dcd3b
Dialog footprint wizard selector: better dialog (displays the wizard search path list) and allows double click to select a wizard
9 years ago
jean-pierre charras
56f8e10eb4
Footprint wizards management: Now display the list of not loadable footprint wizards in footprint wizard dialog.
Not loadable wizards are Python scripts having a syntax error or are not compatible scripts due to changes in API.
9 years ago
Oliver
636e060c99
A few enhancements from a larger patch, not yet committed, for footprint wizards
9 years ago
Dick Hollenbeck
7311f07eaf
SWIG Improvements
*) Extend SWIG support deeper into the BOARD class.
*) Move swig *.i files into a directory identified for SWIG, in preparation
for a parallel universe involving Phoenix's SIP.
*) Move swig files which will be common to both eeschema and pcbnew into
common/swig.
*) Sketch out a "common" python module, and plan on dovetailing that into a
libkicad_shared.{dll,so}
*) Add common/swig/ki_exceptions.i and define a macro HANDLE_EXCEPTIONS()
which is to be applied to any function which needs C++ to python
exception translation.
*) Move the test for SWIG tool into top level CMakeLists.txt file for use
in all python modules beyond pcbnew, i.e. eeschema and common.
*) Add SWIG_MODULE_pcbnew_EXTRA_DEPS which generates a better Makefile, one
which rebuilds the swig generated *.cxx file when one of its dependencies
change.
*) Re-architect the board.i file so that it can be split into multiple *.i
files easily.
*) Make some KIWAY from python progress, in preparation for Modular KiCad
phase III.
9 years ago
Strontium
c3d3a7a4c8
Scripting: replace PyCrust shell with enhanced PyAlaMode shell.
10 years ago
jean-pierre charras
50743cf3ba
Initial release of pl_editor, the page layout and title block editor.
13 years ago
jean-pierre charras
3e8bd5592b
Pcbnew: fix Bug #1156193 . Fix compil issues when KICAD_SCRIPTING_WXPYTHON is not enabled and KICAD_SCRIPTING is enabled
13 years ago
Miguel Angel Ajo
31a693cb8d
Refactoring python to wxArrayString, and better exception error reporting
13 years ago
Miguel Angel Ajo
155ea57c36
LOCALE_IO toggle implementation for locale switches on scripting; code cleanups to comply with kicad coding style policy
13 years ago
Miguel Angel Ajo
742e1a7e44
Reverted back the ( i ) parameters for python, applied the PyGILState_Ensure from Dick into his PyLOCK class
13 years ago
Dick Hollenbeck
2a2a530c62
improvements to python's GIL acquisition and release, but not done yet, since I think the GIL needs to be acquired even when not involving wxPython.
13 years ago
Miguel Angel Ajo
89dd074841
pcbnew scripting: cleanup, renamed KICAD_SCRIPTING_EXPERIMENT to KICAD_SCRIPTING_WXPYTHON, now every flavour compiles
13 years ago
Miguel Angel Ajo
b0881d8ec5
scripting: fixed kicad compilation, cleanups
13 years ago
Miguel Angel Ajo
beec323603
Double Python initialization fixed
13 years ago
Miguel Angel Ajo
08af577218
code cleanup and comments
14 years ago
Miguel Angel Ajo
06c570bab3
* More cleanup (common wrappers moved to scripting, instead of pcbnew/scripting)
* Added a first test 'testLoadSave.py'
14 years ago
Miguel Angel Ajo
f422350605
pcbnew_scripting_helpers.cpp/h to handle generic scripting tools
CMakeLists.txt options to build scripting or scripting modules
14 years ago
Miguel Angel Ajo
ec5757a4fa
code cleanup, io_mgr and kicad_plugin included when enabled in cmake...
14 years ago