jean-pierre charras
c4dc992c03
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).
13 years ago
Lorenzo Marcantonio
70dc51d1f9
Changed format specifiers of some printf involved with size_t values to %zu to avoid runtime assertions.
13 years ago
Lorenzo Marcantonio
2cad7a52ad
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.
13 years ago
Matthew Beckler
088832b8f6
Match 'new char[]' with proper delete[] char* rather than delete char*.
13 years ago
Dick Hollenbeck
35e1c65996
move project templates from source tree to library tree
13 years ago
Dick Hollenbeck
d23724f59e
use lower case library names in *.pro & *.sch files, to match actual filenames in the template file set. Noticed on linux.
13 years ago
Lorenzo Marcantonio
65b7f23d46
Set grid color for module editor and viewer ( closes #1167884 )
Also removed EDA_DRAW_FRAME::OnGrid which was totally dead (empty and unused)
13 years ago
Dick Hollenbeck
d5fff4a6da
revert text strings for clarity
13 years ago
jean-pierre charras
e07590f930
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)
13 years ago
Dick Hollenbeck
e5740af069
2.9 wx rat race
13 years ago
Dick Hollenbeck
297a54fa3e
Make project templates work with KICAD_PTEMPLATES env var.
13 years ago
jean-pierre charras
3e4a79d063
Pcbnew: fix Bug #1167364
pcb_calculator: fix bug Bug #1167345
13 years ago
Lorenzo Marcantonio
b1c710a214
Made overbar position independant of pen size for text, to fix graphics glitches with halo text.
Slightly retuned for compensating the new position.
13 years ago
Dick Hollenbeck
cca97586a9
revert to using quotes around variable text which may be blank
13 years ago
jean-pierre charras
0d41a7a523
All: fix some issues in messages to translate. Remove fully outdated files
13 years ago
Lorenzo Marcantonio
4cbbce3aa6
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
13 years ago
Lorenzo Marcantonio
66453e3d92
Fixed pad preview color
13 years ago
Lorenzo Marcantonio
42709330e0
Better strings for the translators (converted concatenations to formats)
13 years ago
Lorenzo Marcantonio
20eaf66d5b
Hunted down hardcoded pixel size thresholds for drawing
Dynamic contrast for netname and pin numbers ('halo' text)
Handle netname drawing even on diagonal tracks
13 years ago
Lorenzo Marcantonio
b525e3be55
Factored out text anchor drawing
More layer classification cleanup
13 years ago
Lorenzo Marcantonio
0de48234bc
Printf was missing a GetChars
13 years ago
Wayne Stambaugh
477069c063
Fix compile bug in ptree.cpp with wxWidgets 2.9.x and MinGW.
13 years ago
Dick Hollenbeck
6bf3d7cdc3
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.
13 years ago
jean-pierre charras
7bb04c8f63
Make some messages translatable.
Make dialog footprint wizard list resizable.
13 years ago
Marco Mattila
e04b6a04a6
Use the boundary of the object and not just the boundary of the text in SCH_TEXT hit testing.
13 years ago
Lorenzo Marcantonio
b739b2b075
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)
13 years ago
Lorenzo Marcantonio
204d085b64
More cleanup on layer code usage
Better description for entities on right click menu and panel
Typo fixes and some comment reformats
13 years ago
Lorenzo Marcantonio
9ebb4afacc
Removed arbitrary MAX_LAYER_ROWS limit (only used in one assertion, anyway)
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
jean-pierre charras
ca4a3651c0
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)
13 years ago
Lorenzo Marcantonio
74a57d4ea8
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!
13 years ago
Lorenzo Marcantonio
00f0e27851
Factored layer utility functions: classification, layer flip and mask flip
13 years ago
Lorenzo Marcantonio
db09deedf7
New color palette
13 years ago
Lorenzo Marcantonio
90f2e67ed8
Typo fix
13 years ago
Lorenzo Marcantonio
63e987edd0
Removed the default generation of phantom text by the postscript plot driver.
It crashes Adobe's own implementation of postscript!
13 years ago
jean-pierre charras
752e4a4a58
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.
13 years ago
Lorenzo Marcantonio
d12a45923b
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
13 years ago
jean-pierre charras
a47d36e399
Pcbnew: fix Bug #1163201 . Fix Bug #1162779 . Fix incorrect comment in CMakeLists.txt.
13 years ago
Lorenzo Marcantonio
41d254fb48
Meaningful tooltip for ECO layers
13 years ago
Lorenzo Marcantonio
23981977f3
Fixed idiotic merge error in busentry handling
13 years ago
jean-pierre charras
f4d6430eb0
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.
13 years ago
Lorenzo Marcantonio
e18404eea1
Removed unused width attribute from schematic line
13 years ago
jean-pierre charras
fd1cd36f63
Minor changes in dialogs to ensure a better likeness between dialogs on Linux and Windows (mainly, remove some wxStaticBoxSizer in dialogs)
13 years ago
jean-pierre charras
92e0eb628c
Minor changes in dialogs to ensure a better likeness between dialogs on Linux and Windows (mainly, remove some wxStaticBoxSizer in dialogs)
13 years ago
Lorenzo Marcantonio
f37812f898
Refactoring: split in two the SCH_BUS_ENTRY class
13 years ago
Lorenzo Marcantonio
0dd413a711
Removed unused defines
13 years ago
Lorenzo Marcantonio
cc0524a21a
Converted the IS_BUS/IS_WIRE define to an enum
13 years ago
Lorenzo Marcantonio
8175163296
Better type safety to DANGLING_END_ITEM (SCH_ITEM* instead of void*)
13 years ago
Lorenzo Marcantonio
c32f56ffaa
Removed the long time dead SCH_POLYLINE class (schematic level polyline)
13 years ago
Lorenzo Marcantonio
86851d39a4
Hide the anchor for hidden text (suggested by Sergey Borshch)
13 years ago