kicad/pcbnew/swig
Wayne Stambaugh c162337cab Pcbnew: Python scripting support clean up.
Always check the return value of PyRun_SimpleString() for errors when a
Python script is run and show an error message rather than fail silently.

Enable Python interpreter I/O redirection in debug builds so that script
string errors will be shown when PyRun_SimpleString() is called.

Do not call PyErr_Print() after a PyRun_SimpleString() call failure.  It
doesn't do anything useful.

Do not call Py_Finalize() after a PyRun_SimpleString() call failure.  It
seems to cause Pcbnew to crash.

(cherry picked from commit 816f6db310)
2019-05-24 08:01:57 -04:00
..
tests Fix incompatibilites between Python 2 and Python 3 2018-10-19 09:59:05 +02:00
TODO.txt
board.i Ensure compatibility with "old" pythons scripts after renaming SetUseGerberAttributes() to SetUseGerberX2format() 2018-12-09 08:38:23 +01:00
board_connected_item.i rename files 2018-02-02 21:57:12 +01:00
board_design_settings.i rename files 2018-02-02 21:57:12 +01:00
board_item.i Add SWIG support for NETCLASSPTR. Reduce SWIG visibility from C++ headers. 2016-09-21 19:52:04 -04:00
board_item_container.i Fix for crash due to pcbnew_action_plugin object tracking 2018-03-13 10:19:39 +01:00
connectivity.i pcbnew: Separating connectivity to subdir 2018-10-12 16:31:09 -07:00
dimension.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
drawsegment.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
edge_mod.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
footprint.i pcbnew: add 3d models properties to swig 2018-09-08 10:28:55 -04:00
marker_pcb.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
netclass.i fix code after renaming files 2018-01-30 15:34:09 +01:00
netinfo.i netinfo.i: fix incorrect position of a declaration, that was not taken in account. 2018-05-24 09:43:04 +02:00
pad.i define SetPadName() and GetPadName() (old name of D_PAD::SetName() and GetName()) for compatibility with existing python scripts 2017-10-09 09:58:15 +02:00
pcb_plot_params.i Ensure compatibility with "old" pythons scripts after renaming SetUseGerberAttributes() to SetUseGerberX2format() 2018-12-09 08:38:23 +01:00
pcb_target.i refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
pcb_text.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
pcbnew.i Make gerber job file writer accessible by Python scripts 2018-08-01 16:32:37 +02:00
pcbnew_action_plugins.cpp Introduce PyStringToWx helper to remove code duplication 2018-10-19 09:59:06 +02:00
pcbnew_action_plugins.h Fix warning: 'HAVE_CLOCK_GETTIME' macro redefined 2018-10-19 09:59:06 +02:00
pcbnew_footprint_wizards.cpp Fix coding style issue (space after if) 2018-10-19 09:59:06 +02:00
pcbnew_footprint_wizards.h Fix warning: 'HAVE_CLOCK_GETTIME' macro redefined 2018-10-19 09:59:06 +02:00
pcbnew_scripting_helpers.cpp pcbnew: Re-add missing user units python 2019-02-19 10:52:39 -08:00
pcbnew_scripting_helpers.h pcbnew: Re-add missing user units python 2019-02-19 10:52:39 -08:00
plugins.i Fix code after renaming files. Minor other fix. 2018-01-30 20:23:35 +01:00
python_scripting.cpp Pcbnew: Python scripting support clean up. 2019-05-24 08:01:57 -04:00
python_scripting.h Pcbnew: Python scripting support clean up. 2019-05-24 08:01:57 -04:00
text_mod.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
track.i More SWIG improvements. 2016-09-20 21:48:44 -04:00
typeinfo.i Changes to python interface enabling net->pads access. 2017-11-23 17:35:39 +01:00
units.i A few enhancements from a larger patch, not yet committed, for footprint wizards 2016-12-28 10:26:01 +01:00
zone.i PCBNEW: Re-add missing SWIG zone filler 2018-08-08 12:25:58 -07:00
zone_settings.i fix code after renaming files 2018-01-30 15:34:09 +01:00