Felix Morgner
eed2bed0bd
changed implementation of MacOpenFile to make it open files when they are double clicked in Finder.
2013-04-21 20:31:09 -04:00
Wayne Stambaugh
49045cf08c
Fix KiCad crash when no template is selected on new project from template. (fixes lp:1170973)
2013-04-21 15:44:57 -04:00
jean-pierre charras
4b42ec3218
Pcbnew: fix bug in pcb_parser: incorrect pad local solder paste margin ratio value read when not 0. ( This also fixes bug 1170535 )
2013-04-19 09:14:27 +02:00
Matthew Beckler
e469d9d1f9
Fixes to scripting after refactoring & interface cleanups,
2013-04-18 23:23:11 +02:00
Miguel Angel Ajo
d53d9d88fb
Support to enable color from PLOT_CONTROLLER into plotters that start in B/W
2013-04-18 23:21:26 +02:00
Dick Hollenbeck
ed484deec6
hide pageFmts[] since it is no longer NULL terminated and not global
2013-04-18 13:54:03 -05:00
Dick Hollenbeck
df9502dd06
fix some compiler warnings
2013-04-18 12:03:47 -05:00
Dick Hollenbeck
6001254160
fix Lorenzo's bug introduced in rev. 4082
2013-04-18 12:03:25 -05:00
Stefan Helmert
20e7d431a6
The internal BOM generator has bugs. I designed an XSL script, which converts the generated XML Partlist into
...
a CSV file for Libre Office or Open Office. It is very easy to use. You can specify it as a plugin for
Eeshema netlist generator.
It searches for all field names, generates the table headings accounting for all fields found in any part.
Then stuffs all the parts rows according to proper fields.
2013-04-17 09:57:47 -05:00
jean-pierre charras
be7de02a1d
Eeschema: fix bug #1168116 . Netlist generation: remove dead code and fully outdated option pspice "use net number"
...
Pcbnew: layer manager: display tooltips using translated form (where internationalized, but always shown in English).
2013-04-16 12:53:23 +02:00
Lorenzo Marcantonio
0dbf3ef30a
Changed format specifiers of some printf involved with size_t values to %zu to avoid runtime assertions.
2013-04-14 13:02:19 +02:00
Lorenzo Marcantonio
76b558c831
Closes bug 1168753.
...
Depending on build options seems that wx uses different types for size() so the Format string was not always correct. Put a fat warning in a comment too.
2013-04-14 10:26:42 +02:00
Matthew Beckler
c10bb66b12
Match 'new char[]' with proper delete[] char* rather than delete char*.
2013-04-13 23:07:04 -05:00
Dick Hollenbeck
89a391d001
move project templates from source tree to library tree
2013-04-13 16:30:21 -05:00
Dick Hollenbeck
3fa60aaed8
use lower case library names in *.pro & *.sch files, to match actual filenames in the template file set. Noticed on linux.
2013-04-11 14:04:30 -05:00
Lorenzo Marcantonio
9422e37c45
Set grid color for module editor and viewer ( closes #1167884 )
...
Also removed EDA_DRAW_FRAME::OnGrid which was totally dead (empty and unused)
2013-04-11 20:29:56 +02:00
Dick Hollenbeck
c074c8c9d4
revert text strings for clarity
2013-04-11 13:00:36 -05:00
jean-pierre charras
27c4956046
All: fix a minor issue in drawtext.cpp
...
Pcbnew: load footprint from modview: Because modview allows user to choose the footprint library, the selected library is forced when the footprint is loaded.
I am not sure this is 100% better, but this new behavior has some advantages, mainly in the footprint editor (you can load a footprint outside the selected library)
2013-04-11 19:40:20 +02:00
Dick Hollenbeck
87f9452bbe
2.9 wx rat race
2013-04-10 16:06:49 -05:00
Dick Hollenbeck
9c0c64e87b
Make project templates work with KICAD_PTEMPLATES env var.
2013-04-10 15:31:40 -05:00
jean-pierre charras
3b65c120e8
Pcbnew: fix Bug #1167364
...
pcb_calculator: fix bug Bug #1167345
2013-04-10 21:20:35 +02:00
Lorenzo Marcantonio
3289835b53
Made overbar position independant of pen size for text, to fix graphics glitches with halo text.
...
Slightly retuned for compensating the new position.
2013-04-10 21:09:59 +02:00
Dick Hollenbeck
7745d37d6c
revert to using quotes around variable text which may be blank
2013-04-10 10:08:01 -05:00
jean-pierre charras
cac7dbc607
All: fix some issues in messages to translate. Remove fully outdated files
2013-04-10 09:23:20 +02:00
Lorenzo Marcantonio
beb8e76bb4
Removed ugly usage of an extra layer slot for the layer count in gerbview
...
Fixed layer picker for exporting to pcbnew
Realigned pcb layer name with class BOARD
2013-04-10 09:03:19 +02:00
Lorenzo Marcantonio
43e37caf46
Fixed pad preview color
2013-04-09 21:20:21 +02:00
Lorenzo Marcantonio
a985798a86
Better strings for the translators (converted concatenations to formats)
2013-04-09 19:49:01 +02:00
Lorenzo Marcantonio
d09cca948f
Hunted down hardcoded pixel size thresholds for drawing
...
Dynamic contrast for netname and pin numbers ('halo' text)
Handle netname drawing even on diagonal tracks
2013-04-09 19:16:53 +02:00
Lorenzo Marcantonio
3f52031b86
Factored out text anchor drawing
...
More layer classification cleanup
2013-04-09 18:00:46 +02:00
Lorenzo Marcantonio
7d64d2e92a
Printf was missing a GetChars
2013-04-09 04:31:36 +02:00
Wayne Stambaugh
f86261c812
Fix compile bug in ptree.cpp with wxWidgets 2.9.x and MinGW.
2013-04-08 20:16:53 -04:00
Dick Hollenbeck
e1eb33a320
Implement "KiCad s-epression" support for boost::property_tree's ptree, the 8
...
bit string version of property_tree. The ram resident structure of the ptree is
mostly compatible with one created using the xml_parser from
boost::property_tree, with slight differences in the way atoms are stored. The
result is you can use Format() to convert from xml to s-expression, but not the
other way around. You can write a simple s-expression beautifier in just a few
lines of code.
The main value however is the s-expression parser, i.e. Scan(), which is an
alternative to crafting a custom recursive descent parser for a particular
grammar. The tipping point depends on whether you want to read only a small
portion of a much larger document. If so, then using the ptree will likely be a
"faster to code" route. Documentation on how to navigate a ptree can be found on
the boost website and there are a number of examples in the
pcbnew/eagle_plugin.cpp file in this project. Powerful path navigation support
makes it easy to extract a subset of a ptree.
2013-04-08 16:04:45 -05:00
jean-pierre charras
b51fbe5c50
Make some messages translatable.
...
Make dialog footprint wizard list resizable.
2013-04-08 09:13:26 +02:00
Marco Mattila
04c0ba65d2
Use the boundary of the object and not just the boundary of the text in SCH_TEXT hit testing.
2013-04-07 21:49:13 +03:00
Lorenzo Marcantonio
c2f5e7d88c
Support for a visibility flag and color selection to NPTH holes
...
(when disabled they are shown as standard holes, a lot less distracting
than the previous fixed yellow color)
2013-04-07 18:20:46 +02:00
Lorenzo Marcantonio
f456a92f08
More cleanup on layer code usage
...
Better description for entities on right click menu and panel
Typo fixes and some comment reformats
2013-04-07 13:55:18 +02:00
Lorenzo Marcantonio
48419d8fd9
Removed arbitrary MAX_LAYER_ROWS limit (only used in one assertion, anyway)
2013-04-06 18:46:03 +02:00
Lorenzo Marcantonio
0ef5dbac4a
Fixed some tab-induced disalignments
...
Charras beat me on fixing the include/sch_item_struct.h include issue from 4069
2013-04-06 14:28:02 +02:00
jean-pierre charras
8014e0d993
Gerbview, layer manager: add option (popup menu) to always keep layers not visible but the active layer, even when the active layer is changed.
...
Pcbnew: fix swig warning for operator EDA_COLOR_T::++ (changed to function EDA_COLOR_T:: NextColor)
2013-04-06 14:01:53 +02:00
Lorenzo Marcantonio
739238659e
Cleanup of the eeschema 'layers' i.e. entitity colours. This also fixes
...
the spurious warning about stuff that couldn't be seen when changing
colours.
NOTE that the 'net name' layer is present and configurable but non used
anywhere!
2013-04-06 07:01:48 +02:00
Lorenzo Marcantonio
6de593c771
Factored layer utility functions: classification, layer flip and mask flip
2013-04-05 21:04:58 +02:00
Lorenzo Marcantonio
4e9fd3ee9d
New color palette
2013-04-05 19:23:56 +02:00
Lorenzo Marcantonio
900056be44
Typo fix
2013-04-05 17:09:04 +02:00
Lorenzo Marcantonio
8db5848e91
Removed the default generation of phantom text by the postscript plot driver.
...
It crashes Adobe's own implementation of postscript!
2013-04-05 10:55:46 +02:00
jean-pierre charras
27807f02c5
All: change some texts and messages hard to translate, or not translatable (and some incorrect messages).
...
Pcbnew, layer manager: add option (popup menu) to always keep copper layers not visible but the active layer, even when the active layer is changed.
Usefull for multilayer ( more than 4 layers) PCBs.
2013-04-05 09:38:00 +02:00
Lorenzo Marcantonio
30e31ff164
More work on EDA_COLOR_T and layers.
...
In particular the new mechanism for handling extended color palettes is in place,
included renaming the ini keys and saving the color name instead of its index; this means better forward compatibility with palette changes.
Since ini keys are changed, colors will be reset
2013-04-04 23:35:01 +02:00
jean-pierre charras
bd76e47976
Pcbnew: fix Bug #1163201 . Fix Bug #1162779 . Fix incorrect comment in CMakeLists.txt.
2013-04-03 18:16:26 +02:00
Lorenzo Marcantonio
15b27fa35f
Meaningful tooltip for ECO layers
2013-04-02 19:11:42 +02:00
Lorenzo Marcantonio
e41536484b
Fixed idiotic merge error in busentry handling
2013-04-02 18:04:12 +02:00
jean-pierre charras
4881e6477f
Eeschema: Minor changes in dialogs to ensure a better likeness between dialogs on Linux and Windows (mainly, remove some useless wxStaticBoxSizer in dialogs)
...
Update Clipper version.
2013-04-01 14:41:46 +02:00