Miguel Angel Ajo
33f7d83c71
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
e469a6b3d8
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
2971ea6564
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
02ced9a339
scripting: fixed kicad compilation, cleanups
2012-08-02 09:47:30 +02:00
Miguel Angel Ajo
1960a8768e
pcbnew: wxPyBeginBlockThreads before every python call
2012-08-01 14:50:21 +02:00
Miguel Angel Ajo
f4c8abb1b4
Double Python initialization fixed
2012-08-01 13:54:20 +02:00
jean-pierre charras
ab9630b825
PolyLine and math_for_graphics code cleanup: remove arc support in CPolyLine class:
...
This is an obscure legacy code from FreePCB, never used, never tested, never maintained.
2012-08-01 10:08:37 +02:00
jean-pierre charras
e79d6ae971
Cleanup math_for_graphic code
2012-08-01 09:07:56 +02:00
Miguel Angel Ajo
0348e13258
pcbnew scripting: fixed for coding style policy
2012-07-31 23:00:33 +02:00
jean-pierre charras
40c7c7dae8
Remove freepcb arc legacy code from PolyLine.
2012-07-31 19:51:58 +02:00
jean-pierre charras
396695c866
Remove arcs support in zone outlines: this is a legacy code from FreePCB, never used, never tested, never maintained.
2012-07-31 15:12:51 +02:00
jean-pierre charras
a07ae76bcc
Fix issues in zones creation (DRC and merging) I created in 3658.1
2012-07-30 09:40:25 +02:00
Miguel Angel Ajo
0221700226
merged divertion
2012-07-30 00:24:40 +02:00
Miguel Angel Ajo
d8f3424554
pcbnew: scripting, Capacitive Touch Slider Wizard
2012-07-29 23:40:41 +02:00
jean-pierre charras
623234c7c2
More work on a better support of polygons in Kicad (code cleaning).
2012-07-25 20:46:25 +02:00
jean-pierre charras
49aff4eba3
Start work on a better support of polygons in Kicad (code cleaning).
...
Some coding style policy fix.
2012-07-25 09:36:56 +02:00
Miguel Angel Ajo
9281d15c70
Footprint wizard converts from user units to internal units back and forth, so user can type in mm or mils now
2012-07-23 00:23:17 +02:00
Miguel Angel Ajo
e482826ac3
.dso -> .pyd is the right extension for python .dll WIN32
2012-07-22 14:19:52 +02:00
Miguel Angel Ajo
49e2e292dd
Adam Vašíček patches for WIN32 compilation of kicad scripting
2012-07-22 14:15:38 +02:00
jean-pierre charras
1a01535313
Libedit and Modedit: fix minor, but annoying issues when editing items
2012-07-17 17:29:29 +02:00
Miguel Angel Ajo
48fa8fd20b
Fixes Win32 compilation that my previous commit broke, thanks to JP
2012-07-16 16:48:51 +02:00
jean-pierre charras
eeb179fc9a
Pcbnew: Fix crash after opening footprint wizard
2012-07-16 15:34:08 +02:00
jean-pierre charras
76d1abb9ca
Fix compil issues under mingw
2012-07-16 11:19:23 +02:00
Miguel Angel Ajo
68d2aed8af
Python scripting and fixes for non-scripting compilation
2012-07-16 07:53:22 +02:00
Miguel Angel Ajo
dfdecb7e0b
Merged with testing
2012-07-15 22:38:25 +02:00
Miguel Angel Ajo
2b54414e60
Support for nanometer build, extra example
2012-07-15 22:01:05 +02:00
jean-pierre charras
a828d714c6
Pcbnew: more about keepout areas: remove keepout for pads option and add keepout for copper zones option.
...
Export keepout to Specctra DSN file.
2012-07-14 18:27:25 +02:00
jean-pierre charras
e36a3dd460
Pcbnew: Add keepout areas (Copper zones without tracks or/and vias).
...
This is *a work in progress*, so some features are missing, and/or could be modified.
Mainly keepout zones are not yet exported to autorouters, and pads are not taken in account.
Some code cleanup in polygon.*
2012-07-13 20:55:29 +02:00
jean-pierre charras
064c057200
Pcbnew: commit Lorenzo Marcantonio's patch for THT thermals (added loading/saving using S. expr).
...
Fix incorrect import of smd pads from Gpcb.
Very minor change in dialog print.
2012-07-09 09:10:07 +02:00
Marco Mattila
d1077e6171
Add rotation field to pcbnew text item property dialog.
2012-07-09 01:02:00 +03:00
Dick Hollenbeck
b90e483117
fix for bug 1022026
2012-07-07 13:27:44 -05:00
Miguel Angel Ajo
ad25f4c43a
Cleanup toward test-merge
2012-07-06 21:10:55 +02:00
Wayne Stambaugh
de22ae4a99
Save and load print parameters and minor code cleaning in new Pcbnew file format.
2012-07-05 13:02:45 -04:00
jean-pierre charras
ef326260c2
Pcbnew: fix incorrect detection of arcs having angles != 90 degrees
2012-07-05 11:29:42 +02:00
Marco Mattila
a969e87f13
Add copy to text items in pcbnew. Automatically mirror text items added to back silkscreen (bug 1017446).
2012-07-04 22:50:47 +03:00
jean-pierre charras
532fb73c43
Pcbnew, gen Excellon files: fix truncation coordinates in decimal format, units = inches (old bug)
...
Coordinates were using always 3 digits (1/1000 inch for mantissa). Uses now 4 digits max in inches and 3 digits max in mm
The resolution is therefore 1/10000 inch or 1/1000 mm. Note this is a limitation of Excellon format.
2012-07-03 15:46:58 +02:00
jean-pierre charras
0c79aa30ab
Pcbnew: fix 2 minor issues, noticeable only in debug mode.
...
When reading board files, the net 0 was stored twice.
It creates only log messges in debug mode, because the list of nets is rebuild after reading files.
2012-06-30 10:20:04 +02:00
Miguel Angel Ajo
cd68572df5
code cleanup and comments
2012-06-27 23:19:19 +02:00
jean-pierre charras
3b8118ac0b
Pcbnew: save/load .kicad_pcb files: fix 2 minor issues.
...
Use now English layers names to build filenames in plot functions (for techical layers), because translated names create sometimes problems in filenames.
(should do not change anything for English users)
2012-06-27 22:07:37 +02:00
jean-pierre charras
bdf725f86b
Pcbnew: fix compil issue under wxGTK 2.8.12
2012-06-26 22:18:01 +02:00
jean-pierre charras
c8866b7d4c
Pcbnew: minor changes in pcb-parser.cpp and kicad_plugin.cpp to make translations easier.
...
Code cleaning in autoroute functions.
2012-06-26 19:57:37 +02:00
Jean-Pierre Charras
552b211124
Commit JP's custom page size fix for Pcbnew s-expressions file format with minor changes. Thanks JP.
2012-06-25 19:52:57 -04:00
jean-pierre charras
680fe999b2
All: fix a truncation issue in ReturnValueFromString that creates sometimes a small error for values entered in dialogs.
...
Pcbnew: fix a compatibility issue with nano version for zones parameters.
2012-06-25 22:59:19 +02:00
Miguel Angel Ajo
1e380374eb
merge with lp:kicad
2012-06-25 22:51:19 +02:00
Dick Hollenbeck
25705ad61b
use the same format string in the test program as in LEGACY_PLUGIN for record keeping purposes
2012-06-25 09:44:47 -05:00
Dick Hollenbeck
6351d5a283
remove "long double" dependency, mingw was falling over when using it.
2012-06-24 13:41:37 -05:00
Wayne Stambaugh
1666e12db2
Minor Pcbnew s-expression improvements.
...
* Put text effects on a single line.
* Remove size token when defining drill sizes.
* Don't save net in pad definition when pad has no connection.
2012-06-23 21:19:41 -04:00
Dick Hollenbeck
bd047624e5
legacy_plugin was not round tripping nanometers, add test program to verify new conversion strategy
2012-06-23 18:21:03 -05:00
jean-pierre charras
45d4353cf4
Pcbnew: small cosmetic enhancement: add a bitmap for zone duplicate command.
2012-06-20 11:57:36 +02:00
jean-pierre charras
5def0c2eea
Pcbnew: fix incorrect arc export in SVG file export.
...
Very minor other fixes.
2012-06-19 21:25:41 +02:00
Dick Hollenbeck
9e4090f601
DIMENSION::m_Value not being saved in LEGACY_PLUGIN using scaling, DIMENSION::AdjustDimensionDetails() uses arrowz appropriate to build
2012-06-18 23:53:08 -05:00
Dick Hollenbeck
d1a8ecca70
a) (zone (fill (mode was wrong, b) put fill on one line
2012-06-18 23:23:42 -05:00
Dick Hollenbeck
69415616f8
parsing problem was unbalanced (smoothing) element
2012-06-18 23:08:00 -05:00
jean-pierre charras
7eec35e4ea
Pcbnew: Fix an other compatibility issue in kicad nanometers.
2012-06-17 20:29:11 +02:00
jean-pierre charras
f76bf37229
Pcbnew: fix issues in kicad nanometer in zone ediition and detection.
...
autoroute functions: code cleaning
2012-06-17 18:06:12 +02:00
Wayne Stambaugh
5c335f3acc
Pcbnew s-expression file parser bug fixes and file size improvements.
...
* Use index when saving layers to handle translated layer names.
* Add LOCALE_IO switcher when loading s-expression format.
* Make SEGVIA default to through hole to improve file size.
* Don't save default orientation of 0 degrees in TEXTE_MODULE and TEXTE_PCB.
* Don't save default zone configuration parameters.
* Save multiple zone corners on a single line.
* Fixed missing ( check in graphic and module arc parsers.
* Consistency improvements for DRAWSEGMENT and EDGE_MODULE objects.
* Minor tweaks to D_PAD formatting.
2012-06-16 18:49:24 -04:00
jean-pierre charras
98f91f8b0a
Pcbnew: automatic selection of plugin when loading a file with .kicad_pcb extension from history list.
...
Very minor other fixes
2012-06-14 21:10:32 +02:00
jean-pierre charras
93e568b254
fix incorrect use of KIROUND instead of KiROUND in parseBoardUnits( const char* aExpected ) (see comments in .h file)
...
very minor fix in pcb_parser.cpp
Fix scaling issue with nanometers in gpcb footprint import.
2012-06-14 08:29:54 +02:00
Andrey Fedorushkov
e86579b576
pcbnew: minor fix printf in pcb_parser
2012-06-14 09:34:18 +04:00
Wayne Stambaugh
672ffefb5f
Pcbnew s-expression file parser bug fixes.
...
* Change save order of drawings to match legacy file format object order.
* Set end point of SEGVIA to start point so the round trip back to legacy
format is the same.
* Fixed bug saving and loading oval pad drill parameters.
* Fixed bug saving and loading rectangular pad deltas.
* Fixed missing layer for PCB_TARGET.
* Fixed EDA_TEXT italic bug. Thanks Dick!
* Remove some left over debug logging statements.
2012-06-13 19:04:42 -04:00
Andrey Fedorushkov
c500a6704e
pcbnew: show clearance when move or drag via
2012-06-13 17:32:43 +04:00
jean-pierre charras
3e0c355d7b
Pcbnew: fix issue about order of tracks this order was modified when reading and writing a board, even without any change in board.
...
Fix compil warnings and wx28 compatibility.
code cleaning in autoroute functions.
2012-06-11 14:04:34 +02:00
jean-pierre charras
87da1b2d0c
fix compil warnings
2012-06-11 07:40:52 +02:00
Dick Hollenbeck
0d45084914
Commit Dick's Pcbnew s-expression file parser bug fixes.
...
* Apply Dick's patch along with a few minor changes to fix some clashes with
changes in my branch. Thanks Dick!
* Added missing DRAWSEGMENT line angle.
* Fix thru hole pad layer mask issue.
2012-06-10 20:47:15 -04:00
jean-pierre charras
9097433898
Pcbnew: Fix compil issues with wxWidgets 2.8.12
...
Some code cleaning in autoroute functions.
2012-06-10 18:21:18 +02:00
Dick Hollenbeck
d847d5b942
There was no reason for insertBeforeMe on track loading.
...
Tracks should be loaded in the same order as they were saved, no exceptions.
This is for the version control system user.
But even with this objective now implemented in LEGACY_PLUGIN, the TRACKS
are still going through a food processor after they are loaded, and the poor
version control system user has no relief, even with this patch.
TRACKS are always modified after being loaded, and I think this needs to be fixed still.
2012-06-09 19:39:40 -05:00
Wayne Stambaugh
9204086f41
Add Pcbnew s-expression file parser.
...
* Add s-expression file parser object and keyword files.
* Fix minor issues with s-expression file formatting.
* Fix a minor bug the zone container fill state parsing in the legacy plugin.
* Move EDA_TEXT visibility definition to eda_text.h.
* Add minor BOARD_ITEM object improvements to support s-expression file
parser.
2012-06-09 13:00:13 -04:00
jean-pierre charras
d8395dfeb6
Fix some minor bugs in plot functions
2012-06-09 11:38:58 +02:00
jean-pierre charras
39f84d7fe4
Pcbnew: Update incorrect or incomplete copyrights in many files.
...
Minor code cleaning in autoroute files.
2012-06-08 11:56:42 +02:00
Dick Hollenbeck
383ffdfe0a
EAGLE_PLUGIN::Load() is now completed.
2012-06-06 20:49:43 -05:00
jean-pierre charras
9f67477858
Pcbnew: move files relative to autoroute/autoplace to autorouter folder.
...
fix nanometer compatibility.
minor code and comments cleaning (although theses files need a lot of code cleaning)
2012-06-05 21:07:33 +02:00
Marco Mattila
b703d81561
Add missing checks and undo support to pcbnew zone duplication.
2012-06-05 14:44:22 +03:00
Dick Hollenbeck
9e8be6cd28
EAGLE_PLUGIN: read a portion of the design rules and calculate
...
pad and via sizes from those settings when diameter is not given
in the local object. Calculation algorithms are inferred from the
UI help of the Eagle program.
For edge connector type of footprints, some copper pads can be on the
back side even within packages.
Flipping of packages to back was not being done correctly, but I think this
is working now.
There are still remaining issues with text positioning that I am working on.
2012-06-04 23:39:37 -05:00
Marco Mattila
250960f771
Add zone duplication to pcbnew.
2012-06-04 22:04:12 +03:00
Miguel Angel Ajo
bbfb0d669c
merges tip, conflict resolved
2012-06-03 22:21:53 +02:00
Miguel Angel Ajo
ad14802227
merge 1 with tip
2012-06-03 22:06:51 +02:00
jean-pierre charras
150b7cd4e2
Fix eagle_plugin issue (File not found) under Windows.
2012-06-03 17:47:53 +02:00
Marco Mattila
47877ec70c
Do some ZONE_CONTAINED encapsulation.
2012-06-03 00:19:17 +03:00
Dick Hollenbeck
91e8aca0a9
EAGLE_PLUGIN: finish xpath error reporting mechanism for XML document traversal
2012-06-02 12:07:30 -05:00
Dick Hollenbeck
b07caa93c9
EAGLE_PLUGIN: load layer definitions, zone parameters, text positions.
...
Sketch for BOARD::Move(). Pass page_width and page_height to PLUGIN::Save().
2012-06-01 02:39:32 -05:00
Dick Hollenbeck
583006b599
EAGLE_PLUGIN add mechanical "hole" support for both MODULEs and BOARD
2012-05-31 10:18:55 -05:00
jean-pierre charras
29b5837a91
Eeschema, Libedit: Fix bug that can crashes Eeschema: In libedit 2 mandatory fields could be deleted. Fixed now.
...
Very minor other fixes.
2012-05-31 15:47:02 +02:00
Dick Hollenbeck
26eadad611
EAGLE_PLUGIN now positions text correct for most cases
2012-05-30 16:40:32 -05:00
Marco Mattila
0aafa5a591
Add flip to pcbnew text fields.
2012-05-30 20:38:52 +03:00
Dick Hollenbeck
0a42863bd1
add translation to static file filters, comments
2012-05-30 09:14:42 -05:00
Dick Hollenbeck
a1f23f3a4c
generalize the BOARD loading process PCB_EDIT_FRAME::LoadOnePcbFile() to use any supported PLUGIN
2012-05-29 16:01:17 -05:00
Marco Mattila
badef10f41
Derive pcbnew find dialog from DIALOG_SHIM.
2012-05-29 23:43:17 +03:00
Dick Hollenbeck
f1284bd73c
Mostly EAGLE_PLUGIN work:
...
* Derive the pcbnew copper zone and non-copper zone dialog windows from DIAG_SHIM,
which injects some template code.
* Update UIpolicies.txt to talk about DIALOG_SHIM support.
* Add zone support to eagle_plugin.
* Organize ZONE_CONTAINER class declaration for future privacy and accessors.
2012-05-29 13:10:56 -05:00
jean-pierre charras
d2926d2edf
Pcbnew: menu Edit/Reset modules fields size: Add dialog to select what modules are modified.
2012-05-29 14:25:10 +02:00
Marco Mattila
da45f02f6a
Move pcbnew find dialog into dialogs subdirectory and use wxFormBuilder for it.
2012-05-28 23:01:51 +03:00
jean-pierre charras
6b4366a0a4
Pcbnew: fix crash in legacy_plugin.cpp when reading old lib files.
...
fix a compil warning.
CvPcb: fix regressions :
Shows now a void field instead of the dummy footprint name $nonane (whenthere is no footprint selected in netlist).
The active footprint selection changes only if a new component is selected from the component file,
and does not change just when the next component is automatically selected, after a footprint selection.
Speed up delete association and auto associe.
2012-05-25 08:58:52 +02:00
Lorenzo Marcantonio
5aa957bcff
Rationalize numeric time stamps to type time_t.
2012-05-24 21:52:04 -04:00
Dick Hollenbeck
f22b5abfac
more amazing free eagle_plugin work
2012-05-24 10:00:59 -05:00
unknown
8811f5053d
Commit patch from Brian Sidebotham (Bus width value option)
2012-05-24 08:51:52 +02:00
Dick Hollenbeck
b16571bb86
more eagle plugin work
2012-05-23 20:18:30 -05:00
Andrey Fedorushkov
d12cf29322
Pcbnew: fix control data valid in design rules when define USE_PCBNEW_NANOMETRES
2012-05-23 18:25:15 +04:00
Dick Hollenbeck
a35ddcd0e1
more eagle_plugin work
2012-05-22 12:51:18 -05:00
Dick Hollenbeck
ddc95bc7f7
fix bug added two revisions ago by me
2012-05-21 13:50:46 -05:00
Dick Hollenbeck
9882eef93a
eagle plugin first work
2012-05-20 08:14:46 -05:00
jean-pierre charras
f50859fd09
Pcbnew: fix bug Bug #1001107 (Solder Mask Ratio Clearance bad value)
...
Because this bug could create bad values in footprint libraries, this parameter is now checked
when reading a footprint description in legacy format
2012-05-18 10:33:57 +02:00