Lorenzo Marcantonio
42709330e0
Better strings for the translators (converted concatenations to formats)
2013-04-09 19:49:01 +02:00
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
2013-04-09 19:16:53 +02:00
Lorenzo Marcantonio
b525e3be55
Factored out text anchor drawing
...
More layer classification cleanup
2013-04-09 18:00:46 +02:00
Lorenzo Marcantonio
0de48234bc
Printf was missing a GetChars
2013-04-09 04:31:36 +02:00
Wayne Stambaugh
477069c063
Fix compile bug in ptree.cpp with wxWidgets 2.9.x and MinGW.
2013-04-08 20:16:53 -04:00
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.
2013-04-08 16:04:45 -05:00
jean-pierre charras
7bb04c8f63
Make some messages translatable.
...
Make dialog footprint wizard list resizable.
2013-04-08 09:13:26 +02:00
Marco Mattila
e04b6a04a6
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
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)
2013-04-07 18:20:46 +02:00
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
2013-04-07 13:55:18 +02:00
Lorenzo Marcantonio
9ebb4afacc
Removed arbitrary MAX_LAYER_ROWS limit (only used in one assertion, anyway)
2013-04-06 18:46:03 +02:00
Lorenzo Marcantonio
150cfebb59
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
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)
2013-04-06 14:01:53 +02:00
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!
2013-04-06 07:01:48 +02:00
Lorenzo Marcantonio
00f0e27851
Factored layer utility functions: classification, layer flip and mask flip
2013-04-05 21:04:58 +02:00
Lorenzo Marcantonio
db09deedf7
New color palette
2013-04-05 19:23:56 +02:00
Lorenzo Marcantonio
90f2e67ed8
Typo fix
2013-04-05 17:09:04 +02:00
Lorenzo Marcantonio
63e987edd0
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
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.
2013-04-05 09:38:00 +02:00
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
2013-04-04 23:35:01 +02:00
jean-pierre charras
a47d36e399
Pcbnew: fix Bug #1163201 . Fix Bug #1162779 . Fix incorrect comment in CMakeLists.txt.
2013-04-03 18:16:26 +02:00
Lorenzo Marcantonio
41d254fb48
Meaningful tooltip for ECO layers
2013-04-02 19:11:42 +02:00
Lorenzo Marcantonio
23981977f3
Fixed idiotic merge error in busentry handling
2013-04-02 18:04:12 +02:00
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.
2013-04-01 14:41:46 +02:00
Lorenzo Marcantonio
e18404eea1
Removed unused width attribute from schematic line
2013-04-01 13:59:19 +02:00
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)
2013-04-01 13:42:09 +02:00
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)
2013-04-01 12:50:01 +02:00
Lorenzo Marcantonio
f37812f898
Refactoring: split in two the SCH_BUS_ENTRY class
2013-04-01 12:35:20 +02:00
Lorenzo Marcantonio
0dd413a711
Removed unused defines
2013-04-01 07:53:38 +02:00
Lorenzo Marcantonio
cc0524a21a
Converted the IS_BUS/IS_WIRE define to an enum
2013-04-01 07:47:44 +02:00
Lorenzo Marcantonio
8175163296
Better type safety to DANGLING_END_ITEM (SCH_ITEM* instead of void*)
2013-04-01 07:26:53 +02:00
Lorenzo Marcantonio
c32f56ffaa
Removed the long time dead SCH_POLYLINE class (schematic level polyline)
2013-03-31 22:40:22 +02:00
Lorenzo Marcantonio
86851d39a4
Hide the anchor for hidden text (suggested by Sergey Borshch)
2013-03-31 20:57:31 +02:00
Lorenzo Marcantonio
9fd79dfa91
Implemented the LAYER_NUM typedef (LAYER was already taken as a class name...) to represent a layer number.
2013-03-31 15:27:46 +02:00
jean-pierre charras
8e09679437
Minor cosmetic fixes (mainly on Linux) in dialogs.
2013-03-31 14:44:23 +02:00
Wayne Stambaugh
29bf40dc96
Fix build errors in layer mask changes.
2013-03-30 19:41:08 -04:00
Lorenzo Marcantonio
27ee815742
Minor flags and layer mask cleanup
2013-03-30 20:55:26 +01:00
Lorenzo Marcantonio
c650c378c0
Fixed the logic for "do you want to make the footprint visible" requester
...
(meaning was inverted)
2013-03-30 18:49:58 +01:00
Lorenzo Marcantonio
e0303a4558
- New typedef LAYER_MSK to encapsulate a layer bitmap
...
- Renamed ReturnMaskLayer to GetLayerMask (since it's a plain getter)
2013-03-30 18:24:04 +01:00
jean-pierre charras
1702ab3a00
pcbnew: fix some cosmetic issues mainly on Linux ( these issues could be very dependant on wxWidgets/Gtk versions)
2013-03-30 15:06:05 +01:00
jean-pierre charras
9c60e618c0
pcbnew: fix some cosmetic issues (could be very dependant on wxWidgets/Gtk versions)
2013-03-30 14:36:19 +01:00
jean-pierre charras
51291b0965
Fix many issues in config functions, mainly a rounding issue when a double is stored in wxConfig file (was stored only using 4 digits in mantissa)
...
Remove dead or obsolete code.
2013-03-30 10:28:59 +01:00
Wayne Stambaugh
45fc0125a7
Fix field position bug in edit component dialog when OK button cancelled due to empty field.
2013-03-29 20:06:08 -04:00
jean-pierre charras
d0724de1de
Fix rounding issue when a double is stored in a wxConfig file (wxWidgets 2.9.4 store only 4 digits in mantissa).
...
A new inline function ConfigBaseWriteDouble( config, key, double_value ) is used instead of config->Write( key, double_value ) which store 12 digits
2013-03-29 11:14:32 +01:00
Wayne Stambaugh
bf56b2b35d
Fix a GOST compile error.
2013-03-28 16:49:17 -04:00
Lorenzo Marcantonio
675f8d4a0b
Typedef STATUS_FLAGS to encapsulate EDA_ITEM bitmapped flags
2013-03-28 20:12:46 +01:00
Wayne Stambaugh
cd18ff1762
Fix X3D patch commit coding policy issues.
2013-03-28 12:51:22 -04:00
jean-pierre charras
3c037a3c31
Pcbnew, Module Editor: fix bug Bug #1161114 (pad not visible after undoing a move pad)
2013-03-28 10:40:29 +01:00
Lorenzo Marcantonio
4865a68fa0
Extremely trivial stuff (mostly cosmetics)
2013-03-28 07:40:19 +01:00
Andrey Fedorushkov
5a5b90984a
all: new Russian GOST patch - author Konstantin Baranovskiy
...
pcbnew: fix print format in THROW_IO_ERROR
fix properties file export_vrml.cpp
2013-03-28 00:38:20 +04:00