Wayne Stambaugh
001afa4960
Pcbnew pad properties dialog assertion and layout fixes.
...
* Fixed spacing issue in pad properties dialog.
* Remove wxSHAPED flag from pad drawing panel to prevent assertion in
wxSizer.
* Used sane default pad size and drill size settings to prevent wxRound
assertions.
* Add license to class_board_design_settings.cpp.
2013-02-11 20:07:04 -05:00
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.
2013-02-10 19:41:49 -05:00
jean-pierre charras
42c2399af7
Pcbnew: Try to find a better workaround for zone fiill bug (crash or bad fil areasl in very rare cases).
...
pcbnew+Eeschema: Fix a very minor bug: filename not displayed in frame reference.
2013-02-09 21:03:20 +01:00
Wayne Stambaugh
6582cea862
Improve zone context menu descriptions, fixes lp:1116483
2013-02-07 12:56:41 -05:00
jean-pierre charras
f2ebfdf34e
Pcbnew: rework on connection calculation: fix an issue for "composite" pads (complex pad build by association of some basic pads):
...
sometimes connections where not seen.
2013-02-07 18:40:50 +01:00
Jacobo Aragunde Perez
da757938e6
Commit patch for bug 1116059 (Inconsistency between confirmation dialogs)
2013-02-07 18:35:37 +01:00
Dick Hollenbeck
eed97c549d
plotter output file being left open fix.
2013-02-06 09:21:37 -06:00
jean-pierre charras
410644343d
Eeschema, Libedit: fixes color artifacts when moving/placing a pin.
...
Very minor other fixes.
2013-02-06 12:54:51 +01:00
Emmeran
0bdf5bac72
added option to allow zooming around the crosshair instead of the center; can be enabled via options or by holding alt while using the mousewheel
2013-02-02 20:10:48 +01:00
jean-pierre charras
619125f9ab
Changes for CvPcb to eeschema stuff file: the stuff file generation from CvPcb is removed. Eeschema now imports footprints names from the .cmp usual file created by CvPcb or by Pcbnew (Why to use 2 file formats for the same thing?) .
...
Pcbnew: in netlist dialog: The user now can choose between the netlist and the .cmp file to import footprints names.
Therfore no need to delete the .cmp file when exists to use only the netlist.
This is useful for users who use CvPcb only once to fill footprints fields in schematic, and after edit/modify the footprints fields in schematic outside CvPcb.
2013-02-02 18:39:59 +01:00
jean-pierre charras
eacc8b93f0
Pcbnew: Workaround to fix a crash when filling zone in Pcbnew nanometers (see Bug #1106451 ). Also happens with one of my boards.
...
Could be a bug inside boost::polygon. This is a workaround, because one never knows if this kind of bug is fixed.
However it fixes this issue for the 2 boards.
2013-01-27 14:54:43 +01:00
jean-pierre charras
78a8be0e8e
Pcbnew: fix a very old bug in DRC, pad to pad drc tests: sometimes a test between a rectangular pad and an oval pad was skipped.
...
Segment Hit Test: enhanced detection near segment ends (noticeable for instance when clicking on short tracks in Pcbnew.
Remove duplicate code about segment hit test.
remove unused file.
2013-01-26 18:49:48 +01:00
jean-pierre charras
5d5a50dde9
Eeschema: fix a bug which crashes Eeschema (when a label is being created, and its type is changed by popup menu, for instance to a text, before it was put on schematic)
...
remove unused file and minor coding style fix
2013-01-25 18:29:54 +01:00
Dick Hollenbeck
72690e769c
fix intermittent build problem involving out of sequence python invocation
2013-01-23 10:35:40 -06:00
Dick Hollenbeck
017fe9c4d4
fix compiler warnings with gcc 4.6.3 on x86_64 linux
2013-01-23 10:13:42 -06:00
Dick Hollenbeck
273244a196
merge in branch fp-lib-table
2013-01-20 21:27:01 -06:00
Dick Hollenbeck
8fd0c322cd
more fp lib table work
2013-01-20 21:12:16 -06:00
jean-pierre charras
ac64da651d
Pcbnew: fix a minor bug I created in rev 3912.
...
Still try to find a better fix for Bug #1100876 , however I am thinking the bug is not in Kicad:
looks like a buggy version of wxWidgets is used, which sends sometimes an unwanted wxCommandEvent event,
when an event::Check() is called inside a function called by a wxUpdateUIEvent event.
2013-01-19 16:01:17 +01:00
jean-pierre charras
7b8c89149b
Pcbnew: Fix Bug #1097345 <module editor "change body item width (current)" does nothing.>
2013-01-19 13:58:54 +01:00
jean-pierre charras
81f9f743d3
Pcbnew: fix bug Bug #1101399 (Custom page size gets reset after restarting pcbnew) (bug also in eeschema)
...
Try to find a better fix for Bug #1100876
2013-01-19 10:58:25 +01:00
jean-pierre charras
129f93b8d3
Try to fix Bug #1100876< Modes (track/footprint) not available.>
...
It could be a race condition when setting the tools state on and off in PCB_EDIT_FRAME::OnSelectAutoPlaceMode( wxCommandEvent& aEvent ) on some Linux/wxWidgets versions
(does not happen on my computer)
2013-01-18 15:12:57 +01:00
jean-pierre charras
24f73eb87c
Pcbnew: fix a minor bug: shape 3D filename not displayed in msg panel when clicking on a footprint.
2013-01-17 18:34:03 +01:00
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>)
2013-01-16 13:38:30 +01:00
jean-pierre charras
de78b60dda
Pcbnew: store in configuration the default line width (now in mm), under a new keyword, to avoid a strange behavior of pcbnew in decimils version (old pcbnew versions), after running pcbnew in nanometers.
2013-01-15 10:31:11 +01:00
jean-pierre charras
7819efacf6
Kicad manager: fix a recent bug: project tree not updated when kicad is launched by a command line with a project name to open.
...
pcbnew: export vrml:
* move dialog functions in a new file: dialog_export_vrml.cpp.
* fix coding style issues
* patch add from cirilo Bernardo.
2013-01-13 17:55:07 +01:00
Dick Hollenbeck
8d5479ca1c
pcbnew/CMakeLists.txt formatting and librt fix
2013-01-12 18:34:16 -06:00
Heikki Pulkkinen
3e18fa422c
protect data in class_track.h, switch to using member accessors
2013-01-12 18:04:00 -06:00
Wayne Stambaugh
f8a56d446f
Base object decoupling improvements.
...
* Improve MSG_PANEL_ITEM to handle message panel information.
* Create containers for passing message panel items between objects and
the message panel.
* Rename EDA_ITEM::DisplayInfo to EDA_ITEM::GetMsgPanelInfo.
* Remove all direct manipulation of EDA_DRAW_FRAME from all objects derived
from EDA_ITEM.
2013-01-12 12:32:24 -05:00
jean-pierre charras
5c2efcbf3e
3D viewer: allows import of models created with openscad and convertedvia meshconv to wrl (thanks to Georg Gast <georg@schorsch-tech.de>)
...
Export VRML: fix scaling issue for pcbnew - nanometers.
2013-01-12 11:35:08 +01:00
Miguel Angel Ajo
0fedf6b3eb
MacOSX compilation fixes
2013-01-10 23:10:05 +01:00
jean-pierre charras
ccfd2369b9
EDA_LIST_DIALOG: add a filter option to select names to display is list, from a kamil zorychta's patch <kamil.zorychta@gmail.com>
...
Use wxFormBuilder to create EDA_LIST_DIALOG_BASE, like other dialogs.
Minor code cleanup (remove unused functions and coding style fixes) and minor bug fixes.
2013-01-10 13:18:43 +01:00
Wayne Stambaugh
8a5ea7ec0d
Pcbnew BOARD object encapsulation improvements.
2013-01-09 13:52:44 -05:00
jean-pierre charras
8b6d5cb42f
Pcbnew: Enhancement in connections calculations:
...
Until now, 2 tracks were seen as connected only if one end of the first track is *exactly* on one end of the other track.
Now the 2 ends are seen as connected when they are "near" i.e. the distance between the 2 ends is < track width/2
2013-01-08 18:58:06 +01:00
jean-pierre charras
518fdb93e5
Pcbnew: Fix unwanted selection clarification popmenu in board editor after double clicking on a DRC Unconnected error
...
(For DRC clearance error, it was fixed in bzr 3838, but forgotten for DRC Unconnected error)
2013-01-07 21:52:15 +01:00
jean-pierre charras
0cb7b84880
Pcbnew: Fix Bug #1096766 ( Can't create filled zones after keepout zones)
2013-01-07 08:46:01 +01:00
Dick Hollenbeck
f1af605d6c
when linking a DSO, require all symbols to be resolved
2013-01-04 17:02:10 -06:00
jean-pierre charras
840e38de59
Pcbnew: fix link issue (undefined Read_GPCB_Descr symbol) in scripting mode.
2013-01-04 23:00:05 +01:00
Jacobo Aragunde Perez
3821472ad8
Prevent Pcbnew from opening the same file twice.
2013-01-04 18:47:59 +01:00
Wayne Stambaugh
16402d8180
Remove unused Geda footprint import source code file.
2013-01-03 16:51:26 -05:00
Wayne Stambaugh
ade6ec3256
Doxygen warning fixes.
2013-01-03 15:21:40 -05:00
Dick Hollenbeck
7ae228d70e
add eagle *.lbr lib path extension for future use
2013-01-03 10:33:22 -06:00
jean-pierre charras
5436798e51
Kicad: Fix compil issue under Linux, and minor code cleaning, about wxFileWatcher
2013-01-02 22:49:56 +01:00
Dick Hollenbeck
45bd443184
1) Implement EAGLE_PLUGIN::FootprintLoad(), FootprintEnumerate(), and IsFootprintWritable().
...
2) Add PCAD_PLUGIN to _pcbnew.so for scripting, fixing a linking bug.
2013-01-01 22:05:48 -06:00
Wayne Stambaugh
6789e62210
Fix Pcbnew s-expr file parser bug.
2012-12-30 10:40:05 -05:00
Alexander Lunef
40f4304b2f
Pcbnew: Add pcad2kicad pcb plugin, to import PCAD boards ( .pcb ASCII data file PCad 2000 format ) from Alexander Lunef
2012-12-29 10:54:25 +01:00
Wayne Stambaugh
7c86749ca6
Add Pcbnew GEDA PCB module plugin support.
...
* Create new GEDA PCB plug in.
* Add support for opening GEDA PCB footprints with module editor.
* Make import footprint file dialog remember last selected footprint
type during current session.
* Update module editor file import to use new GEDA PCB plug in.
* Let IO_MGR know about GEDA PCB plug in.
* Create a WHITESPACE_FILTER_READER to simplify parsing GEDA PCB footprint
files.
2012-12-28 15:52:12 -05:00
jean-pierre charras
8653e362b2
Pcbnew: board editor: allows pad edition by hotkey 'E' (was accessible only by mouse button right click)
...
All: minor code cleaning and very minor bug fixes.
2012-12-27 17:42:41 +01:00
marco.
6c867989ca
MacOSX: fixing possible crash
2012-12-23 11:55:24 +01:00
marco.
9ba242bc1f
MacOSX: refresh overlay with new-deleted objects
2012-12-23 11:53:54 +01:00
jean-pierre charras
143debdd61
Pcbnew: Rework on recovery files menu
2012-12-21 08:58:51 +01:00
Dick Hollenbeck
75072f4330
extend fp_lib_table on multiple row paste
2012-12-20 23:29:40 -06:00
jean-pierre charras
bde103f5be
Pcbnew: fix issue when loading a recovery backup board file.
...
Because now there are 2 formats, board backup files extensions are .brd-bak or .kicad_pcb-bak instead of the old .000 extension, depending on the initial file format.
2012-12-20 21:20:56 +01:00
jean-pierre charras
96f302c958
Pcbnew: fix bug: missing call to SetFileFormatVersionAtLoad after loading a board, in legacy format.
2012-12-20 19:05:18 +01:00
Dick Hollenbeck
09b1748bc4
fix a fairly serious bug which would leave SOLDERMASK_LAYER_FRONT layer turned off in PADs, when loading *.kicad_pcb files
2012-12-20 00:56:17 -06:00
jean-pierre charras
a674dd6581
Pcbnew: class DIMENSION: code cleaning
2012-12-19 20:31:36 +01:00
jean-pierre charras
ea603c4deb
Pcbnew: fix minor bugs. Fix bug 1091593 and 1091693 . Minor code cleaning
2012-12-18 18:50:00 +01:00
Wayne Stambaugh
63b884558a
Doxygen warning fixes.
2012-12-18 08:54:44 -05:00
jean-pierre charras
87e5b6b874
Pcbnew: allows pcbnew to open a .kicad_pcb or a .brd file, from the command line.
2012-12-16 14:48:54 +01:00
jean-pierre charras
3c315005ee
Pcbnew: add a dialog to load a legacy file in "old" projects, when the .kicad_pcb file is not existing, and the correspoinding .brd file exists.
...
Fix also an issue in pcb_parser when a netclass name is just a number (like a track width as name)
2012-12-15 14:39:36 +01:00
Wayne Stambaugh
97ea4e83f7
Fix angle scaling error in Pcbnew s-expr file format parser. (fixes the arc bug part of lp:1090524)
2012-12-14 16:37:59 -05:00
Dick Hollenbeck
cd62be66e7
fix bug
2012-12-14 13:58:50 -06:00
Dick Hollenbeck
1b4f7d6ce5
fix pcbnew file save as problem, if previous file by same basename did not exist. Show default file ext.
2012-12-14 13:42:38 -06:00
jean-pierre charras
760d02e4d2
Kicad manager: shows *.kicad_pcb files the project tree.
2012-12-14 20:37:51 +01:00
Dick Hollenbeck
a564d2f865
minor file save as fixes, move legacy header into its plugin
2012-12-14 12:14:28 -06:00
Dick Hollenbeck
79b4846200
Switch over to *.kicad_pcb format as the default BOARD format.
...
Add KiCadPcbFileExt global.
2012-12-14 10:54:54 -06:00
jean-pierre charras
b4f0230658
Pcbnew: fix Bug #1089120 . Also change "Length Die" expression to "Length Pad To Die" in code
2012-12-12 12:57:17 +01:00
Dick Hollenbeck
a9ccf49580
allow . in layer names
2012-12-10 23:39:36 -06:00
Wayne Stambaugh
2f41c40163
Fix FreeRoute launcher Java executable path error on Windows (fixes lp:1087589)
2012-12-10 21:44:20 -05:00
jean-pierre charras
1886082fce
Eeschema: Erc dialog: enhancement. Now not modal.
...
Pcbnew: Drc dialog: fix a old very minor bug.
Added: single click on an item in marker list moves the board graphic cursor on the corresponding marker location on the board
Double clicking is not modified.
2012-12-10 20:08:09 +01:00
jean-pierre charras
4a26d543d5
Pcbnew: Add a minimal test for illegal chars in footprints libname (like space and dir separtor)
...
Also a minor cosmetic enhancement
2012-12-10 12:18:42 +01:00
Dick Hollenbeck
ee48de6744
note that the clipboard format is spreadsheet compatible
2012-12-09 14:53:46 -06:00
Dick Hollenbeck
f477464f77
embellish fp_lib_table editor with beginnings of cut, copy, paste
2012-12-09 14:51:42 -06:00
Dick Hollenbeck
9a806749ea
change spelling to jive with my email on developers list
2012-12-08 23:34:12 -06:00
Dick Hollenbeck
063907211e
more fp_lib_table work, enhance parser
2012-12-08 17:58:03 -06:00
jean-pierre charras
ba05519662
Eeschema: Add hotkey 'U' to edit reference. Better filtering for hotheys V, F, U: now the corresponding field is selected without selection list between component and the field.
2012-12-08 18:24:49 +01:00
jean-pierre charras
1671432ac1
All: Fix an usually unwanted behavior in kicad: When closing a dialog (mainly ERC, DRC and recently a component selection by the library viewer on a double click) the mouse release left button event (which is seen by the parent after closing the dialog, becuse it is actually made in the parent) generate an unwanted command (item selection, component place ...)
...
This event can be now skipped if needed by calling EDA_DRAW_FRAME::SkipNextLeftButtonReleaseEvent() from the dialog.
Very minor other fixes
2012-12-07 11:05:19 +01:00
jean-pierre charras
14fcf7f933
Try to fix an unwanted left mouse release button event, when closing a dialog on a click or double click,
...
and therefore when the mouse butoon is released in the parent window
Minor other fixes.
2012-12-06 22:53:00 +01:00
marco.
3e7c4a7624
MacOSX: fixes refresh of lines and outlines when drawing
2012-12-06 19:10:58 +01:00
Marco Mattila
c648806703
Update board modified state when (un)locking a module in pcbnew.
2012-12-06 12:13:19 +02:00
jean-pierre charras
ac41e7009e
Pcbnew: plot solder mask layer with min width value specified: algorithm modified to reduce artifacts.
2012-12-03 15:27:34 +01:00
jean-pierre charras
affbb8a8e0
Pcbnew: minor coding style fixes. Very minor fixes. Minor enhancements. Fix bug #1085523
2012-12-02 12:38:00 +01:00
jean-pierre charras
8f52ba14db
Pcbnew: minor enhancements.
2012-12-01 21:03:33 +01:00
Heikki Pulkkinen
23c1c4a067
Pcbnew: commit patch from Heikki Pulkkinen (via displayed with its right size and clearance during track creation/edition)
2012-11-29 20:27:08 +01:00
Wayne Stambaugh
84c7b07e02
Pcbnew print fixes and improvements.
...
* Fix offset errors when scale factor greater is than one.
* Changed behavior of fit in page when not drawing border and
title block to fit board outline in page.
* Fix offset errors when mirroring (still not 100% correct on MSW with
wxWidgets 2.9.4).
* Lots of the usual code cleaning and simplifying.
2012-11-28 20:50:58 -05:00
jean-pierre charras
70ca712c81
Pcbvew: fix a strange bug which swap x and y values for pad offsets when reading a s expr *.kicad_pcb board file.
2012-11-28 19:04:57 +01:00
Dick Hollenbeck
6ad94a4912
merge in evolving fp lib_table work
2012-11-28 09:24:53 -06:00
Dick Hollenbeck
5155c35a71
reverse throw() clauses to quiet SWIG errors
2012-11-27 13:57:38 -06:00
Dick Hollenbeck
9ae4e60911
start using FILE_LINE_READER( const wxString& )
2012-11-27 08:14:15 -06:00
Dick Hollenbeck
98086a8891
Change READ_LINE classes to use less virtual functions, and READ_LINE::ReadLine() to return char*
...
which can eliminate a subsequent call to READ_LINE::Line() for a small performance gain.
2012-11-27 07:50:01 -06:00
Dick Hollenbeck
e5c1959dcd
Fix dangling open file introduced as recent workaround
2012-11-27 06:42:28 -06:00
marco.
c00a93e94f
MacOSX: a strange bug with setvbuf in FILE_LINE_READER disalign the netlist reader.
2012-11-25 13:17:02 +01:00
marco.
126a7c103c
MacOSX: Crash in pcbnew during edit footprint and changing layer from dialog ( Fixes : #764678 )
2012-11-25 09:08:25 +01:00
marco.
dd5661e5a8
MacOSX: now editing Text on PCBNEW works nicelly as expected.
2012-11-25 00:23:36 +01:00
marco.
b95ab35534
MacOSX: Fixes Crash when adding text on pcbnew (bug #891347 )
2012-11-24 23:03:30 +01:00
Marco Mattila
cbb28977a2
Fix saving of local thermal parameters in pcbnew legacy_plugin.
2012-11-24 18:02:10 +02:00
jean-pierre charras
22645084bb
Pcbnew: fix bug1082146 (Keep-out areas get destroyed by "export settings to other zones" )
...
Eeschema: fix bug 1082107 (error message" component not found" when no component selected from select component dialog box)
2012-11-23 10:10:37 +01:00
Dick Hollenbeck
2aa27122b0
Eliminate many assumptions in Pcbnew's library manager, pertaining to locality of libraries and
...
their type, by using the more abstract PLUGIN::Footprint*() functions.
This is an intermediate phase only, other changes will be necessary as library table support comes in.
Encapsulate usage of library path searching, since that will go away as library table support comes in.
Add FOOTPRINT_EDIT_FRAME::{get,set}LibPath() and FOOTPRINT_EDIT_FRAME::{get,set}LibNickName() functions
to provide this encapsulation.
2012-11-19 10:19:38 -06:00
jean-pierre charras
cb62f5c8ba
Try to fix a compil issue with some wxWidget versions.
2012-11-19 15:32:34 +01:00
jean-pierre charras
b080f860c9
Pcbnew: enhanced dialog for SVG export
2012-11-16 15:13:31 +01:00
Dick Hollenbeck
e435a104c9
Add *.kicad_mod as default import footprint extension. Turn on all Cu layers for thru hole pads in case loading non-wildcard s-expression footprint files.
2012-11-15 10:46:43 -06:00
Dick Hollenbeck
a93637b14f
remove -std=c++0x compiler option since nobody is ready for it, and accordingly back into auto_ptr from unique_ptr
2012-11-15 10:04:10 -06:00
jean-pierre charras
4794d3774a
Pcbnew: fix incorrect filenames when plotting layers
2012-11-15 11:47:23 +01:00
Dick Hollenbeck
9bbff22d96
1) Switch to boost hashtable support from wx macros which did not handle std::string.
...
This required the additional compiler command line option "-std=c++0x".
2) Switch to unique_ptr from auto_ptr which is C++ deprecated.
3) Change to new English layer names per mailing list discussion, see class_board.cpp.
4) When saving to *.kicad_pcb or *.kicad_mod, identify opportunities to use wildcard
layer sets, for pads so far.
5) Switch to two std::string hashtables in pcb_parser.cpp, away from one wxString based one
for layer names and layer sets mapping. One hashtable holds the mask, the other the index.
Layer sets are only in the mask table.
6) Move "LOCALE_IO toggle" into PCB_IO::Format() since it is a public API function and
caller should find it as convenient as possible to use. LOCALE_IO should handle
nesting OK in the case where public Format() is called from one of the Footprint*()
functions.
7) Drop support for "export module to new library". Creating new libraries will have to
be handled in concert with library table entries, and we've talked recently about
creating a better footprint library manager, one that resides in a DLL/DSO. So
this kind of functionality needs to be handled in there in the near future.
8) Change name of exported PCB_IO module/footprint to *.kicad_mod and not *.emp.
2012-11-14 01:15:59 -06:00
jean-pierre charras
89a40eeb80
pcbnew: fix minor issues.
...
pcb_calculator: fix a compil warning (gcc 4.7)
2012-11-12 17:19:10 +01:00
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
2012-11-10 00:39:18 -06:00
Dick Hollenbeck
d378dcc734
footprint save to use untranslated (English) layer names
2012-11-09 13:00:00 -06:00
Dick Hollenbeck
272936ef21
populate PCB_PARSER::m_layerMap with English layernames so footprints
...
can be parsed, since they do not have an overriding layer name map
like a BOARD does.
Avoid doubly looking up hashtable entries in m_layerMap.
Minor code reformatting.
2012-11-09 00:58:00 -06:00
jean-pierre charras
96a77d7618
Pcbnew: Add a min width parameter to plot solder mask layers.
...
* If this param is set to 0, the previous behavior is used.
* Else the solder mask is plotted as polygon, with shapes near than this min width value are merged.
Pcbnew in nanometer version: fix a serious rounding issue due to the fact dialogs were using 4 digits for mantissa.
* This is not enough for nanometer coordinates ( 8 are needed to display a value in inches),
* so sometimes after closing a dialog, some coordinates were modified, although no new value was entered.
Minor other bug fixed.
2012-11-06 18:58:53 +01:00
jean-pierre charras
703293fa30
Add a min width parameter to plot solder mask layers.
2012-11-05 21:20:34 +01:00
Dick Hollenbeck
e0cc8a2f11
implement move up, move down in lib table editor
2012-10-31 09:41:47 -05:00
Dick Hollenbeck
dd519d68ea
remove unused #include <wxfstream.h> from several places
2012-10-29 16:56:18 -05:00
Marco Mattila
efa0286f26
Do not force vias to be substracted from silkscreen in pcbnew gerber plot
2012-10-28 22:51:47 +02:00
Dick Hollenbeck
7c5e42b4d0
switch from STREAM_OUTPUTFORMATTER to FILE_OUTPUTFORMATTER mostly throughout,and minor richio factoring
2012-10-25 10:41:20 -05:00
Dick Hollenbeck
d32333a012
streamline the FILE_OUTPUTFORMATTER API for ease of use
2012-10-25 02:10:59 -05:00
Dick Hollenbeck
9cd011abbb
add class FILE_OUTPUTFORMATTER and use it in PCB_IO, since it is about 8-10 faster than STREAM_OUTPUTFORMATTER
2012-10-25 00:52:55 -05:00
Dick Hollenbeck
ea4b3877e2
move wxString constructor outside loop for speed
2012-10-24 13:59:37 -05:00
Dick Hollenbeck
28222961dd
fix ownership issue in wxFFile vs. FILE_LINE_READER
2012-10-24 13:42:39 -05:00
Dick Hollenbeck
5634bc3381
move PCB_PARSER into PCB_IO as a member
2012-10-24 13:20:33 -05:00
Dick Hollenbeck
484eb55ae8
DSN_LEXER underneath PCB_PARSER does not own the LINE_READER it receives, fix memory leak
2012-10-24 12:38:10 -05:00
Wayne Stambaugh
1e772280b9
Fix compile error against wxWidgets 2.8 brach.
2012-10-23 13:20:22 -04:00
Dick Hollenbeck
28f238e36b
pcbnew import footprint fixed for legacy nanometer format
2012-10-22 15:41:26 -05:00
jean-pierre charras
292c1f0912
Kicad: bug fix in menubar when changing the selected locale.
...
fctsys.h: remove useless define.
Fix minor issues and add minor enhancements.
2012-10-18 21:31:40 +02:00
Dick Hollenbeck
9e41a8127d
more fp_lib_table work
2012-10-18 10:28:50 -05:00
Wayne Stambaugh
f3cc32f9e2
Put KiCad on a diet to remove the uncessary slices of pi. (fixes 1066194)
2012-10-17 16:59:05 -04:00
Dick Hollenbeck
58299fc921
more fp_lib_table work
2012-10-17 10:12:17 -05:00
jean-pierre charras
f03b9048fe
Fix a minor compatibility issue in .pro file for new boards, between decimils and nanometers versions of Pcbnew.
2012-10-17 12:57:21 +02:00
Dick Hollenbeck
69dbeab90f
decouple wxGridTableBase from FP_LIB_TABLE, this was poor information hiding
2012-10-16 20:00:25 -05:00
Dick Hollenbeck
fb43f4ad6f
fp_lib_table dialog work
2012-10-16 01:56:57 -05:00
Dick Hollenbeck
ae19bbfa33
add dialog for fp_lib_table
2012-10-15 17:30:01 -05:00
Wayne Stambaugh
77e1a4c03c
Initial commit of footprint library table code.
2012-10-14 21:38:32 -04:00
jean-pierre charras
621a43c4ad
Eeschema: always stores sheet filename in unix-like notation, and fix a bug when editing sheet file name.
...
Pcbnew: add PDF format for drill map generation.
Plotter classes: tweaking code.
2012-10-13 20:54:33 +02:00
Wayne Stambaugh
fc9c8cc0ec
Fix footprint library file extension bug in CvPcb and Pcbnew due to s-expression changes, fixes lp:1064593.
2012-10-09 15:18:12 -04:00
Dick Hollenbeck
44c25d14ec
eeschema erc dialog extends from DIALOG_SHIM
2012-10-08 14:34:04 -05:00
Wayne Stambaugh
7d08facb45
Convert footpint library log functions to trace functions to reduce debug output.
2012-10-07 18:26:17 -04:00
Wayne Stambaugh
1468a4ae31
Pcbnew s-experssion footprint library implementation.
...
* Add footprint methods to PCB_IO.
* Add FP_CACHE and FP_CACHE_ITEM for handling new footprint library design.
* Add code to save legacy libraries in new format.
* Change behavior of BOARD_ITEM::GetLayerName() to return the default layer
name when the item does not have a BOARD as a parent.
* Minor changes to the module output formatter when writing to module library
files (no BOARD as parent).
* Add new (and some that I forgot along the way) CMake flags to
EDA_BASE_FRAME::CopyVersionInfoToClipboard().
* Add -Wno-narrowing to GCC flags to stop GCC 4.7 from complaining about
a conversion from int to unsigned in the Boost polygon library.
* Add INPUT_STREAM_READER to richio.cpp to allow using any object derived
from wxInputStream as a LINE_READER (needs to be validated).
2012-10-07 11:37:25 -04:00
jean-pierre charras
8031e512e6
Dialog drill file: remove precision choice, because only one choice was acceptable
...
(the option with the smallest number of digits for coordinates created unacceptable truncation coordinates in Excellon drill files)
2012-10-05 21:04:17 +02:00
jean-pierre charras
c41bb774e4
Pcbnew: drill files creation: better dialog to create driil files, map files and report file. Code cleaning
2012-10-05 14:25:12 +02:00
jean-pierre charras
5951a7f9bc
Pcbnew: fix an issue when collecting vias (for instance when left clicking on a via, it was not always detected)
...
This bug was mainly noticeable when using buried vias (some were never detected)
Minor other fixes (typos, strings hard to translate ...)
2012-10-04 19:47:28 +02:00
jean-pierre charras
7c0af1bf9d
More dialogs derived from DIALO_SHIM
2012-10-04 08:57:15 +02:00
jean-pierre charras
bae892dfe5
Pcbnew: make all dialogs derived from DIALOG_SHIM.
2012-10-03 13:25:30 +02:00
jean-pierre charras
0e941708f4
Make scripting version compilable under Windows
2012-09-30 19:50:17 +02:00
marco.
0355119044
[MacOSX] Updated Icons - Document ones still missing :(
2012-09-27 19:20:44 +02:00
jean-pierre charras
5fa61ecd25
Finishing code cleaning in plot functions.
2012-09-25 09:49:29 +02:00
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
2012-09-24 18:03:03 +02:00
jean-pierre charras
cc47e88b9e
Pcbnew, plot functions: fix bug in SVG plotter, fix a minor other bug when using PS plotter (trcak width fine adjust not working)
...
and plot code cleaning continued
2012-09-24 08:39:59 +02:00
jean-pierre charras
b660b033ad
All: remove macros MAX, MIN, ABS from macros.h and replace these macros by std::max, std::min and std::abs (mainly found in old code).
2012-09-22 13:19:37 +02:00
Dick Hollenbeck
210a7036db
switch all <math.h> includes to <cmath> includes on an attempt to dodge some abiguous references to atan2()
2012-09-21 12:02:54 -05:00
jean-pierre charras
eb94e66c9d
Pcbnew: some code cleanup in plot functions.
2012-09-21 10:20:38 +02:00
jean-pierre charras
b1c9c54221
Fix incorrect titles in SVG export dialog
2012-09-20 21:15:14 +02:00
jean-pierre charras
9e0960615a
dcsvg (and therefore KicadSVGFileDC) is now unused. Use SVG plotter only to export a board SVG file.
...
SVG export does not use no more wxWidgets wxDC.
In pcbnew SVG files can be created by plot menu (in B&W) or export SVG menu (B&W or Color).
Export SVG menu is more suitable to create a view of a board, and plot menu is better to create a B&W document of silkscreen layers.
(In the future, the 2 menus could be merged, because they are not very different).
Note: pcbnew plot code is cleaned, mainly in dialog files, but still needs more cleanup.
2012-09-20 20:58:41 +02:00
Craig Southeren
534c8a8944
Fix MSVC compile errors caused by struct forward declared as class
2012-09-20 08:38:50 -05:00
Dick Hollenbeck
136d84ef3c
fmin() was giving grief to MSVC, switch to std::min()
2012-09-20 08:22:33 -05:00
Marco Mattila
3ed33e3912
Move pcbnew pcb edge layer plot checkbox to common plot options
2012-09-17 21:14:41 +03:00
jean-pierre charras
a9744e3f84
Pcbnew: added: SVG plotter. Need refinements, but works.
...
Mainly to plot drill maps, but can be used to plot boards, for documentation.
The print svg still exists, but the plot SVG has more options (mirroring, holes in pads),
however print svg allows color print, and full board printing, and plot does not.
2012-09-15 14:13:03 +02:00
jean-pierre charras
a2b9241ea3
Pcbnew: fix minor issue when loading a foorprint: if the footprint name has lower case letters, the name was asked twice
2012-09-13 14:15:24 +02:00
jean-pierre charras
819589cf05
All: fix most of Doxygen warnings.
2012-09-12 19:28:55 +02:00
jean-pierre charras
3ff16a0b14
Pcbnew: fix compil error I created in my previous commit.
...
All: fix some Doxygen warnings
2012-09-12 13:11:30 +02:00
jean-pierre charras
93ebdb2cd0
All: better code to handle opened frames libview, libedit, modview, modedit.
...
Other minor fixes.
2012-09-12 11:53:11 +02:00
jean-pierre charras
b810135e4e
Code cleaning, minor fixes and minor coding style fixes. wxWidgets 2.9.4 compatibility fix( deprecated function MakeModal )
2012-09-11 21:03:21 +02:00
jean-pierre charras
bb6795ddf1
Pcbnew: drag functions: serious cleanup and better code. Use now the connectivity functions to find tracks connected to pads,
...
and therefore tracks are now dragged when a end point is inside a pad, not necessary on the pad position.
However, drag functions still need more cleanup.
2012-09-11 09:33:17 +02:00
jean-pierre charras
3668f4ccc3
Pcbnew: cleanup functions: now, cleanup uses same algorithm as connectivity calculations to detect pads connections, and is faster.
...
therefore tracks which have a end point inside a pad, but not necessaryexactly to the pad position are seen as connected, and are no more removed.
Side effect: reconnect to pads option is removed, because it is useless.
TODO: use this algorithm in drag functions.
Minor other fixes
2012-09-07 21:29:44 +02:00
Lorenzo Marcantonio
7d154606be
Substituted the few remaining uses of long instead of time_t
2012-09-05 14:13:33 +02:00
Lorenzo Marcantonio
e771112259
Enforced EDA_COLOR_T type and minor const-ification
2012-09-02 14:06:47 +02:00
Lorenzo Marcantonio
082d901d60
Encapsulated drawmode as an enum for type checking
2012-09-01 15:38:27 +02:00
jean-pierre charras
f301b196ab
Modedit: very minor enhancements.
2012-08-31 21:19:48 +02:00
Marco Mattila
eaf4919ef8
Take pad clearance into account in intersection detection during pcbnew zone filling.
2012-08-31 21:43:09 +03:00
jean-pierre charras
e6dd5128fa
Pcbnew: fix bug: deleting a cutout in a zone was not undoable.
2012-08-31 17:59:14 +02:00
jean-pierre charras
92b43c7407
Fix 0 length segment in outline zone creation, that breaks zone chamfer option.
2012-08-31 15:58:23 +02:00
jean-pierre charras
37ee239449
Pcbnew: in SVG export, add option to export only the board area, not the full page.
...
dialog plot functions: fix compil warnings with wxWidgets 2.8
2012-08-31 09:43:37 +02:00
Lorenzo Marcantonio
ba6da604cc
Refactored PCB plot infrastructure
...
Removed filename from the BASE_SCREEN class
Scripting support for board plot
2012-08-30 21:25:12 +02:00
Lorenzo Marcantonio
137066e53c
Fully encapsulated with accessors PCB_PLOT_PARAMS
2012-08-30 20:06:13 +02:00
Lorenzo Marcantonio
7cef5395b3
Minor plot driver enhancements
2012-08-29 22:13:47 +02:00
Lorenzo Marcantonio
b44d719446
Removed PCB_BASE_FRAME::m_printBorderAndTitleBlock (all dead code)
2012-08-29 20:34:34 +02:00
Lorenzo Marcantonio
94fdc674aa
Added 'parachute' std::exception handling to python interface
2012-08-29 19:32:14 +02:00
Lorenzo Marcantonio
a2c75829f9
Fixed compilation with unicode (wxString to printf without GetChars)
2012-08-29 19:28:33 +02:00
Lorenzo Marcantonio
fef8347176
Script plotting patch
2012-08-29 18:59:50 +02:00
jean-pierre charras
79d55c0460
Minor cosmetic enhancements.
...
Kicad manager: shows now svg files in tree files.
Pcbnew: fix incorrect printing (board out of page) when creating drill map in postscript format ( noticeable mainly for small boards)
2012-08-29 14:40:09 +02:00
Lorenzo Marcantonio
96bf0a5460
Missing a wxT in call to LogDebug
2012-08-29 13:28:37 +02:00
Dick Hollenbeck
5b9c354759
wxFileName::CreateTemporaryFile() is switching to /tmp directory when no preceding path is present
2012-08-28 10:41:08 -05:00
jean-pierre charras
a4de3018d7
Pcbnew: Fix bug 1042394 and very minor code cleaning.
2012-08-28 08:51:18 +02:00
jean-pierre charras
b19cc14ef2
3d-viewer and polygon functions: remove duplicate code about conversion from basic shapes to polygons.
2012-08-23 21:15:58 +02:00
Marco Mattila
2dbb428b23
Fix pcbnew thermal stub removal for pads with locally defined thermal properties.
2012-08-22 23:16:21 +03:00
jean-pierre charras
0ebc3f063e
3D-viewer: code cleanup.
...
Eeschema: annotate and netlist dialogs: enhancements.
Minor coding policy fixes and changes.
2012-08-21 12:45:54 +02:00
Dick Hollenbeck
367bfb4e14
fix problem with eeschema print dialog showing up on missing monitor
2012-08-15 12:55:48 -05:00
Dick Hollenbeck
6bb2fce7d9
legacy plugin fully support text horiz/vert justification, eagle plugin text fixes
2012-08-11 14:14:45 -05:00
jean-pierre charras
abe5c08e20
3D-viewer: code cleaning. Added option in menu: show a 3D grid.
...
All: press ctrl+shift key when moving the mouse allows the graphic cursor to be moved outside the grid.
(useful to place graphic objects, texts in any position, regardless the current grid)
2012-08-11 14:52:13 +02:00
Dick Hollenbeck
7c3f47ec5a
fixes for plugins
2012-08-11 00:50:17 -05:00
Miguel Angel Ajo
f80357cb1a
pcbnew: Show/Hide button for scripting console
2012-08-10 23:53:50 +02:00
Miguel Angel Ajo
c7d6dad7e0
pcbnew: fix bug 1033510 that crashes pcbnew when no footprint wizard is selected
2012-08-06 22:41:41 +02:00
Miguel Angel Ajo
ccb74b99d3
pcbnew: footprint wizards now can export the output module to the library or board
2012-08-05 00:15:57 +02:00
jean-pierre charras
9d5e271334
Pcbnew: fix a minor issue in non copper zones when creating the solid filled areas.
2012-08-04 18:33:04 +02:00
jean-pierre charras
1f277fd66d
Remove Kbool from Kicad. Use Clipper instead.
2012-08-04 11:43:27 +02:00
jean-pierre charras
7fd24c7f03
Very minor fixes.
2012-08-03 17:43:15 +02:00
jean-pierre charras
4ff3a78de0
Eeschema: fix crash when changing a label type to an other label type during creation.
...
Pcbnew: code cleaning in polygon functions
2012-08-02 19:36:14 +02:00
Miguel Angel Ajo
4d2def3593
scripting + pcbnew: Merged with scripting branch, now it supports -DKICAD_SCRIPTING_WXPYTHON for full wx integration with python
2012-08-02 19:31:39 +02:00
Miguel Angel Ajo
89dd074841
pcbnew scripting: cleanup, renamed KICAD_SCRIPTING_EXPERIMENT to KICAD_SCRIPTING_WXPYTHON, now every flavour compiles
2012-08-02 19:24:53 +02:00
jean-pierre charras
3b56ea6732
Eeschema: fix crash when changing a label type to a global label during creation.
...
Pcbnew: code cleaning in polygons
2012-08-02 15:23:53 +02:00
Miguel Angel Ajo
b0881d8ec5
scripting: fixed kicad compilation, cleanups
2012-08-02 09:47:30 +02:00
Miguel Angel Ajo
5140c348cd
pcbnew: wxPyBeginBlockThreads before every python call
2012-08-01 14:50:21 +02:00
Miguel Angel Ajo
beec323603
Double Python initialization fixed
2012-08-01 13:54:20 +02:00