Dick Hollenbeck
f72394cc6b
Make PLUGIN::Footprint*() API functions take 'const' PROPERTIES*.
Add const PROPERTIES* to FootprintDelete().
Add {Get,Set}Properties() to FP_LIB_TABLE::ROW.
Touch up fp table dialog.
12 years ago
Build System
5e53232f0c
Fixes typo in doxygen-python, and fixes unitest TestCase().discover on python < 2.7
12 years ago
Miguel Angel Ajo
be7d0c8feb
missing QA tests for the python scripting QA
12 years ago
Build System
a602c1b2fe
Adds target to build doxygen-python documentation, that take
pcbnew.py + doxygen-xml files, and build .i files with docstrings,
those .i files are included back again to build a pcbnew.py with
extended documentation from C++, finally we take the final pcbnew.py
to build the doxygen-python documentation
12 years ago
jean-pierre charras
90b820a52c
Pcbnew: enhancements for blind/buried vias palcement, and save blind/buried vias allowed option in .kicad_pcb file
12 years ago
jean-pierre charras
4a7f92fb4f
Minor code cleaning. Pcbnew: better iniatilization of members in DRAWSEGMENT, TRACK, EDGE_MOD (useful when using python scripting).
12 years ago
Lorenzo Marcantonio
0e903dba5b
Angle and distances cleanup (preparing for angles in doubles)
- Removed spurious int casts (these are truncated anyway and will break
doubles)
- Applied the Distance, GetLineLength, EuclideanNorm, DEG2RAD, RAD2DEG
ArcTangente and NORMALIZE* functions where possible
- ArcTangente now returns double and handles the 0,0 case like atan2, so
it's no longer necessary to check for it before calling
- Small functions in trigo moved as inline
13 years ago
Matthew Beckler
97ccebf355
Fixes to scripting after refactoring & interface cleanups,
13 years ago
Lorenzo Marcantonio
150cfebb59
Fixed some tab-induced disalignments
Charras beat me on fixing the include/sch_item_struct.h include issue from 4069
13 years ago
Miguel Angel Ajo
1cf52baaa0
New register() method in plugins, used by the loader to handle runtime plugin reloading
13 years ago
Miguel Angel Ajo
31a693cb8d
Refactoring python to wxArrayString, and better exception error reporting
13 years ago
Miguel Angel Ajo
f83a200e5e
Fix wxString.Print call to be compatible with wx2.8, thanks to Барановский Константин and Edwin van den Oetelaar for submiting same patch, same hour, are you twins? ;)
13 years ago
Miguel Angel Ajo
9a8baa00f2
Allow plugins to be reloaded without closing/opening pcbnew, next step is plugin editor, just a few lines away...
13 years ago
Miguel Angel Ajo
6c614e2996
tool for checking coding style
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
df93154dee
wxT added to the locales fix, message box on python exceptions inside wizard, added some missing copyright notices
13 years ago
Miguel Angel Ajo
1477210b67
Fix for locales that set , as a decimal point (which is incompatible with python scripting), also fixed the m_Reference encapsulation in module to Reference()
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
Wayne Stambaugh
4d465ec8a0
Configuration and compile documentation improvements.
* Improve the stable and testing build version option logic.
* Use CMake FindPythonInterp to configure the Python interpreter.
* Use Python interpreter to determine the system Python module install
path if not already defined on the command line.
* Add header symbol checks for asinh(), acosh(), and atanh().
* Add test source to check for isinf() which can be defined as a C++template.
* Replace conditional compile on windows systems for aXXXh() with CMake
configuration tests.
* A few minor MSVC compile fixes.
* Fix incorrect python environment string in fixswigimports.py
* Create a separate document for KiCad CMake build options.
* Create a separate how to compile KiCad on Windows document.
13 years ago
jean-pierre charras
cfa75bb828
Scripting: fix erroneous extension for Sexp board files
Make scripting version compilable on platforms where the python executable is not python2 (define it by -DPYTHON_EXECUTABLE=<python executable filename>)
13 years ago
Dick Hollenbeck
4612ef9d50
switch to new s-expression format for footprint exports, use english layernames for naked footprints, dodge conflict with pythons HAVE_GETC_UNLOCKED
13 years ago
jean-pierre charras
2d49ced742
Pcbnew: fix compil warning and a minor bug in plot negative (frame fer plotted in white therefore not visible).
minor code cleaning
13 years ago
Lorenzo Marcantonio
94fdc674aa
Added 'parachute' std::exception handling to python interface
13 years ago
Lorenzo Marcantonio
fef8347176
Script plotting patch
13 years ago
Miguel Angel Ajo
f80357cb1a
pcbnew: Show/Hide button for scripting console
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
5140c348cd
pcbnew: wxPyBeginBlockThreads before every python call
13 years ago
Miguel Angel Ajo
474128a445
pcbnew scripting: fixed for coding style policy
13 years ago
Miguel Angel Ajo
a8e4f8b0ed
pcbnew: scripting, Capacitive Touch Slider Wizard
13 years ago
Miguel Angel Ajo
9259b21ffa
Footprint wizard converts from user units to internal units back and forth, so user can type in mm or mils now
13 years ago
Miguel Angel Ajo
2a9b8df888
Support for nanometer build, extra example
14 years ago
Miguel Angel Ajo
08af577218
code cleanup and comments
14 years ago
Miguel Angel Ajo
70df15175b
Footprint wizard, plus fixes
14 years ago
Miguel Angel Ajo
4dc70b2fc8
wxGrid instead of list, now we do really have values...
14 years ago
Miguel Angel Ajo
4ead38a83d
Cosmetic fixes, before moving to wxGrid
14 years ago
Miguel Angel Ajo
351e08c8a9
Footprint wizard UI gets the module from python wizard, and show it
14 years ago
Miguel Angel Ajo
eff5023287
* Read string array results from python methods~
14 years ago
Miguel Angel Ajo
c051c1a4a9
footprint wizard UI and footprint wizard lists
14 years ago
Miguel Angel Ajo
23bec4b80b
* Footprint wizard UI: Added to module editor.
* Footprint wizard C++ generic classes
* Footprint wizard C++ to python wrappers
* Automatic plugin loader from ~/.kicad/plugins
* Python plugin architecture: Footprint wizards
14 years ago
Miguel Angel Ajo
edee5dc1ce
KiCad scripting plugin architecture, footprint wizards first
14 years ago
Miguel Angel Ajo
f114e800a4
support for footprint library operations
14 years ago
Miguel Angel Ajo
b939f3bc2f
C++ plugin exceptions correctly handled now
14 years ago
Miguel Angel Ajo
5157657eba
merged to last testing, also added automatic file extension detection on save/load
14 years ago
Miguel Angel Ajo
42fad8a754
Exceptions handled on board Load/Save
14 years ago
Miguel Angel Ajo
0cdc5c59ab
detect building status of the swig .py file (on parallel make builds). Fix unit conversion returns (From_xxx) to integer, what's all the wxPoint/wxRect/wx.. expect. Extended createPcb.py example
14 years ago
Miguel Angel Ajo
946ddbaa08
Fix units.i and add some extra wrappers wxSizeMM, wxSizeMils wxRectMM wxRectMils
14 years ago
Miguel Angel Ajo
be15057977
Fixed wxSize bug, wxPoint(double,double) support, units. Fixed GetBoard wasn't accessible at every build. Extended example for board creation (now adds pads). Also fixed the _pcbnew loading from pcbnew which should only go to the internal _pcbnew and not the _pcbnew.so/dso. Right installation path for _pcbnew.so (in linux only)
14 years ago
Miguel Angel Ajo
7c8bfab5ca
TODO.txt updated
14 years ago
Miguel Angel Ajo
485ec24f61
Add method for MODULE in python that takes care of memory handling
14 years ago