Jeff Young
cad5198ab7
Worksheet -> (industry standard) Drawing Sheet.
5 years ago
Jon Evans
3bc9d7b95e
Rework GAL layer enum to fix visibility import from legacy boards
5 years ago
Jon Evans
af7e4c6ca0
Don't try to pull invalid data from JSON
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7494
5 years ago
Jon Evans
7a55dff566
Archiver: reduce set of archived files for auto-backup
Keep around only source files that are modified by KiCad;
other files can be re-generated.
5 years ago
Jeff Young
f3a6d2655e
Improvements to ERC and bus parsing.
1) Add some nullptr safety to ERC.
2) Allow unconnected flagging on bus/wire entries.
3) Allow commas in bus group definitions.
Fixes https://gitlab.com/kicad/code/kicad/issues/7155
5 years ago
Seth Hillbrand
52f822dedb
Remember autotrack width setting
Fixes https://gitlab.com/kicad/code/kicad/issues/6971
5 years ago
Jon Evans
a637f310d0
Store zone display mode in project local settings
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6886
5 years ago
Jeff Young
5fffde09d4
Improve SNR and formatting.
5 years ago
Jeff Young
79c7cf12c9
Make sure bus members get escaped after parsing.
Fixes https://gitlab.com/kicad/code/kicad/issues/6400
5 years ago
Marek Roszko
7565f60a03
Swap wxFileInputStream/wxFileOutputStream for the buffered kind
5 years ago
Jeff Young
9234745d6d
Formatting.
5 years ago
Jeff Young
9512b1c5c3
Formatting.
5 years ago
Marek Roszko
16e3e59495
Split out arrayDim and MIRROR templates from macros.h
These were not macros
5 years ago
Jeff Young
812b714ccd
More Module -> Footprint and a bit of formatting cleanup.
5 years ago
Jeff Young
5eaa992ce8
Read netclass via drill settings from project file.
Fixes https://gitlab.com/kicad/code/kicad/issues/5951
Fixes https://gitlab.com/kicad/code/kicad/issues/5952
5 years ago
Marek Roszko
0b43dc6e16
Minor json parse safety
5 years ago
Jeff Young
4565631728
Finish moving eeschema assigned netclasses to sheet-path-relative.
Also adds code for the case where a new label is created on a net
with an existing netclass assignment.
Fixes https://gitlab.com/kicad/code/kicad/issues/5886
5 years ago
Tomasz Wlostowski
be0688726c
NETCLASS: initial support for net classes with empty clearance/width values
5 years ago
Jon Evans
728c207105
Deduplicate settings migration handling
5 years ago
Jon Evans
7c003f98d5
ADDED: Appearance panel for footprint editor
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5643
5 years ago
Jon Evans
cc0a9c2e5c
Fix typo in VRML last path
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5512
5 years ago
Jon Evans
0783669633
CHANGED: Design rules files now use .kicad_dru extension
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5763
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5444
5 years ago
Jon Evans
6ee866ba6e
Set default zone opacity to 60%
Defaulting to less than 100% helps with eyestrain and
aids the "legibility" of boards
5 years ago
Ian McInerney
9e6a1225db
Catch exception when creating app settings objects
These settings objects could be created in a constructor/destructor
so we should catch the exception since those are noexcept.
Also change the settings trace to match the other kicad traces
as KICAD_SETTINGS
5 years ago
Jon Evans
147540b3bb
ADDED: Control to only show ratsnest for visible layers
5 years ago
Jeff Young
555b78e7ca
Read/write COLOR4D::UNSPECIFIED in netinfo so you can clear colors.
Fixes https://gitlab.com/kicad/code/kicad/issues/5368
5 years ago
Jeff Young
20211eed49
Unroll a level of prefs for fieldname templates.
It was playing havoc with the saving of project and global templates
without one overwriting the other.
Fixes https://gitlab.com/kicad/code/kicad/issues/5415
5 years ago
Jon Evans
921703c711
Don't restore saved window state if saving is turned off
5 years ago
Mark Roszko
89e74140eb
Save file / window states for kicad project locally
5 years ago
Jon Evans
342fae7768
Don't allow color overrides for Default netclass
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5330
5 years ago
Jon Evans
f5a6492f85
Fix load/save of layer presets
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5322
5 years ago
Jon Evans
6cb0343c6a
Fix typo causing repeated migration
5 years ago
Jon Evans
92174d414c
Ensure pads and zones come up visible by default
These visibility layers didn't exist until now
5 years ago
Jon Evans
bd14f8a82a
ADDED: New appearance control widget for PcbNew
Featuring:
- Layer view presets
- Per-type opacity for tracks, vias, pads, zones
- Net and netclass color and visibility controls
CHANGED: Simplified object visibilty controls
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1951
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1981
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2003
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2173
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2254
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4325
5 years ago
Jeff Young
98237e96a4
Fix doubly-inited list.
Fixes https://gitlab.com/kicad/code/kicad/issues/4921
5 years ago
jean-pierre charras
df4226f896
Settings management: try to fix full filename issues when using non ASCII7 chars.
The fix convert all std::string storing a path to wxString (unicode support)
wxString were already used at many place to store paths, but not all.
For internal calculations mixing char strings and wide char strings is a recipe
for bug: any missing conversion between UTF8 and wxString breaks paths.
5 years ago
Jeff Young
b74e125264
Read/write schematic netclass properties.
Fixes https://gitlab.com/kicad/code/kicad/issues/4990
5 years ago
Jeff Young
095937563b
Hook libeval compiler up to rule parser
- convert expression string tokens to single-quote-delimited
- fix bug where netclass assignments weren't getting updated after
board setup dialog
- move property manager rebuild to lazy evaluation
- improve performance with wider use of const&
- retire DRC_SELECTOR stuff
- use wxString for GUI stuff (particularly translated stuff)
- fix EqualTo() to return false instead of asserting when op types
don't match
- fix buffer overruns with fixed-size string buffers
- make expression function calls case-insensitive
- integrate expression errors into rule parser
- produce more and better error messages
- keep BOARD_ITEM ptrs const as long as possible
- fix a couple of uninitialized variables
5 years ago
Jon Evans
97c360aa9b
Fix saving of default netclass
This was broken as a side-effect of 3939b31
Default netclass doesn't get the "nets" member
but still needs to be added to the array of classes
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4860
5 years ago
Jon Evans
5d118b0700
More visibility settings infrastructure
ADDED: Three-state high contrast mode action
ADDED: Save contrast mode in local settings
Also some initial infrastructure for layer presets
5 years ago
Jon Evans
72b08f2b18
ADDED: Hide ratsnest for specific nets
List of hidden nets stored in project local settings
Hide/Show actions in context menu only for now, will
add them to some more GUI places soon.
Ref https://gitlab.com/kicad/code/kicad/-/issues/1951
5 years ago
Jon Evans
b1b9cef5fb
Full-project automatic backup system
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4763
5 years ago
Jon Evans
afd432e687
Infrastructure for net hiding
LoadProjectSettings changed to take place after the board
has been loaded so that board-specific project settings can
be applied (such as net visibility and color overrides)
5 years ago
Jeff Young
741481591e
NetClass settings for Eeschema.
ADDED Eeschema-specific netclass settings including wire and bus
thickness, color, and line style.
Netclasses override individual wire & bus colors and line styles.
If that proves an issue we might look at something more sophisticated
with inheritance.
Fixes https://gitlab.com/kicad/code/kicad/issues/4581
5 years ago
Jon Evans
961fbadd23
Initial infrastructure for net/netclass colors in board
5 years ago
Jon Evans
a3655225cd
Save selection filter state in project local settings
5 years ago
Jeff Young
3939b31027
Integration of netclasses into Eeschema.
This is mostly architecture, with the hookup of the Schematic Setup
dialog's Net Classes page. Things like assigning to a net on the
canvas to follow.
Fixes https://gitlab.com/kicad/code/kicad/issues/2132
Fixes https://gitlab.com/kicad/code/kicad/issues/4581
5 years ago
Jeff Young
b0ca7d5140
Netclass setup for Eeschema.
ADDED netclass panel in Schematic Setup dialog.
Fixes https://gitlab.com/kicad/code/kicad/issues/2132
5 years ago
Jon Evans
baac062e30
Fix typo that prevented netclass settings from loading
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4804
5 years ago
Jon Evans
12b4a55ae8
Port Eeschema to new project settings
DRC/ERC error serialization changed to use explicit tokens
Old stored severities and ignored errors are discarded
6 years ago