Chris Pavlina
47772e7ae3
cmake: rewrite version header when branch changes
Before, only KICAD_BUILD_VERSION, which includes the hash but not the
branch, was compared when deciding whether to regenerate
kicad_build_version.h. This header also contains the branch name though,
so we should compare both to address the case of two branches pointing
at the same commit.
9 years ago
Cirilo Bernardo
bf4b26d73f
Remove STEP diagnostic print
This patch removes a stdcerr print which was accidentally left in the code.
9 years ago
jean-pierre charras
48c18604fc
Layers manager: add (in context menu) show all layers and hide all layers, and code cleanup.
9 years ago
dino
33e1a4e884
pcbnew: Added 'show all layers' and 'hide all layers' option in layers manager
9 years ago
jean-pierre charras
e9c0dc1a2b
Fix a minor issue when creating net attributes in Gerber files for oval pads when they are not horizontal or vertical .
9 years ago
Wayne Stambaugh
8b59350e44
Pcbnew: fix override release build error.
NETINFO_ITEM::Show() method was not wrapped in #ifdef DEBUG/#endif causing
an error in release builds.
9 years ago
Simon Richter
59c81976dc
Explicitly mark overriding functions.
9 years ago
John Beard
360794b3a4
On a failure to cache a symbol lib, don't skip subsequent libs
By rethrowing the exception here, the entire caching process is
curtailed if there is an IO_ERROR while parsing a lib. This means any
libs up to the one before the bad one will be cached, but ones after it
wil not be.
Change to wxLogError to gather the errors to present to the user at the
end of the process.
9 years ago
Wayne Stambaugh
9490b02cb8
Pcbnew: fix board I/O plugin formatter build warnings.
Internally time stamps are defined as unsigned long. On some platforms,
time_t is defined as unsigned long long. Cast all time_t instances to
unsigned long to prevent the compiler from complaining.
9 years ago
Wayne Stambaugh
58abb29827
Eeschema: add delete alias from library to I/O manager.
Modify base I/O manager class to delete alias from a symbol library.
Add delete alias from legacy symbol library plugin.
9 years ago
Simon Wells
3a50f7367f
Modified path on osx due to GetExecutablePath() pointing to the root of the .app bundle
9 years ago
Dick Hollenbeck
374808ac5b
Cleanup SWIG's board.i, remove scrap *.{ref,orig} files, and add .pyc to .gitignore
9 years ago
Maciej Suminski
3623421912
Fixed a PNS crash after undoing the last operation while routing
9 years ago
decimad
6a9c1cb6a1
Split the undo/redo event into the two stages "pre" and "post" for convenient synchronization of dependent state.
9 years ago
Cirilo Bernardo
8ea643cefc
Fix export_vrml.cpp warnings and removes the few instances of wxT() in that file.
9 years ago
Dick Hollenbeck
b8dc6af706
fix swig warning
9 years ago
Maciej Suminski
9e587a1ea2
Fixed an assertion in SIM_PLOT_FRAME
wxListCtrl cannot have wxLC_REPORT and wxLC_SMALL_ICON enabled at the same time (Windows)
9 years ago
Simon Wells
44d3018125
Added explicit conversion from wxstring to cstring
9 years ago
Dick Hollenbeck
45f6f8b305
Remove experimental code added during swig work.
9 years ago
Cirilo Bernardo
8b8626ceeb
Removed wxT() from kicad2step modules and made modifications to the STEP Export GUI
9 years ago
Cirilo Bernardo
ba65c39b40
Fixed error in setting Windows extension on executable file
9 years ago
Cirilo Bernardo
88cdb8bbbe
Removed dialog, instead the autosave() is always invoked for a dirty PCB
9 years ago
Cirilo Bernardo
8b259f2837
Fixed typo preventing compilation on MSWin
9 years ago
Cirilo Bernardo
fb59a7416a
Added option to remove Virtual Components from STEP assembly
9 years ago
Cirilo Bernardo
33948e572d
Added STEP Export menu item and supporting code
9 years ago
Cirilo Bernardo
34fef23bd4
Reworked cmdline options and added output filename option
9 years ago
Cirilo Bernardo
a9cb10c947
Added --no-virtual option to suppress inclusion of 3D models from components with the virtual attribute
9 years ago
Cirilo Bernardo
375741eeaa
Modified parser to skip drill specifications for SMD pads
9 years ago
Cirilo Bernardo
ad7302358b
Fixed install path for OSX
9 years ago
Cirilo Bernardo
1848a87844
Fixed build conditions to depend on KICAD_USE_OCE (formerly USE_OCE) and removed extra spaces
9 years ago
Cirilo Bernardo
11a44388ee
Added options to use Drill or Grid origin for outptu STEP file
9 years ago
Cirilo Bernardo
231b08e58f
Added kicad2step tool.
9 years ago
Cirilo Bernardo
809b0040ea
Added mroszko's SEXPR parser (ref: https://github.com/marekr/sexpr )
9 years ago
Dick Hollenbeck
29be200843
Add SWIG support for NETCLASSPTR. Reduce SWIG visibility from C++ headers.
9 years ago
Dick Hollenbeck
85ef7ee467
Remove BOARD::Add() from board.i, since it is inherited from board_item_container.i
9 years ago
Simon Richter
eeae8c741a
Synchronize forward declaration with definition
The actual definition uses "class", so the forward declarations should do
so, too.
9 years ago
Gustav Bergquist
061a7b8450
Cast TOOL_EVENT parameter type to intptr_t
9 years ago
jean-pierre charras
0e32cc14c2
bitmap_png/CMakeLists.txt: make creation of log files optional in "MAINTAIN_PNGS" mode (because they are most of time useless)
image.svg: fix a convert to png issue (certainly to a bug in Inkscape).
9 years ago
Niki Guldbrand
d618bfbae0
cleanup CMakeLists.txt for bitmaps
9 years ago
Cirilo Bernardo
d3771d53ef
Updated VRML exporter and fixed some VRML related bugs
9 years ago
Maciej Suminski
65821328d2
Fix a crash when dragging a via attached to a locked track (PNS)
Fixes: lp:1625835
* https://bugs.launchpad.net/kicad/+bug/1625835
9 years ago
decimad
ee3d75f273
Add coroutine call invocation context to identify the main stack frame.
Run the text draw-tool on the main stack frame.
Fixes: lp:1547282
* https://bugs.launchpad.net/kicad/+bug/1547282
9 years ago
jean-pierre charras
d42fd751f9
Gerbview print: print now the Gerber filename, the number of pages to print, and a page number
9 years ago
Ian Roth
ec3109472a
Correct page numbers on pcbnew multipage print
9 years ago
Dick Hollenbeck
1edaa773d3
Fix minor SWIG issues due to git rebase issues.
9 years ago
Dick Hollenbeck
1718ac1083
More SWIG improvements.
SWIG support for BOARD_ITEM_CONTAINER.
Split board.i into smaller included *.i files.
Add depencies on these smaller *.i files to CMakeLists.txt
9 years ago
Chris Pavlina
c57fd7ccbf
Fix signed/unsigned comparison warning in PNS::LINE::ClipVertexRange
9 years ago
Dick Hollenbeck
d957670034
Add more HANDLE_EXCEPTIONS(), board.i refactoring.
9 years ago
Dick Hollenbeck
64232ce10c
Comment out kiway from python preliminary work.
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