jean-pierre charras
8576529242
Fix strings to translate (typo and avoid one word sentence)
2 months ago
Jeff Young
44f932e9ec
Support translation of property grid enums.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21859
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13636
2 months ago
Jeff Young
2fe7219474
Support translation in tool context menus that are long-lived.
(The specialized ones are OK as they're created
for each use.)
Also, enum maps must be untranslated.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21859
2 months ago
jean-pierre charras
2fc0da0583
PNS router, context menu: replace "Track Corner Mode" by a sub menu.
The sub menu shows clearly the 4 available options, and the current option.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21832
2 months ago
Jeff Young
2abefabd2e
Formatting.
2 months ago
Jeff Young
31a778f600
Only plot white drill marks if we find something to knock them out of.
In particular, a NTPH pad with a hole larger than
the pad should have drill marks drawn in black.
2 months ago
Jeff Young
e56fcf86e6
Vias owned other PNS items must be cloned, not copied (or move-assigned).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21847
2 months ago
Jeff Young
0954e3a9ad
Uniform use of RunMainStack when running dialogs from tool event loops.
2 months ago
Jeff Young
eebca7e065
Fix merge error.
2 months ago
Jeff Young
7cd78f846b
Locked item shadow for barcodes.
Also fixes a bug where locked barcodes couldn't be
read from files.
2 months ago
Jeff Young
c01e9d7dd3
Unbind event handlers in d'tor.
2 months ago
Jeff Young
637f04b825
Bug fixes for hittesting rotated barcodes.
2 months ago
Jeff Young
6127399084
Dialog layout consistency.
Move Barcode Properties closer to Shape & Text
Properties layouts.
Also includes the Locked checkbox.
Also removes m_textHeightIsCustom (which allows
barcode text height to follow layer default text
height when changing layers). It's a neat trick,
but we don't do it anywhere else so it decreases
predictability.
2 months ago
Jeff Young
365767860f
More rotated barcode bug fixes.
2 months ago
Jeff Young
52ffadf53e
Formatting.
2 months ago
Jeff Young
ff9b1d1d47
Fix barcode properties dialog showing modified when first opened.
2 months ago
Jeff Young
e2ff677bc4
Fix barcode properties dialog showing modified when first opened.
2 months ago
Jeff Young
5c6d6c69f6
Make use of UNIT_BINDER and PCB_LAYER_BOX_SELECTOR.
2 months ago
Jeff Young
519f22f6ad
Bug fixes for rotated barcodes.
Still not 100%, but many issues fixed.
2 months ago
Jeff Young
abb40a9188
Don't double-rotate text of barcode.
Also fixes undo for Barcode Properties dialog.
2 months ago
jean-pierre charras
57392f7d4c
fix compil issue: add missing include on msys2
2 months ago
Jeff Young
1447f249bf
Barcode knockout for zone filler.
Also adds GetMsgPanelInfo() implementation for barcodes.
2 months ago
jean-pierre charras
860adfd104
add missing PCB_BARCODE::TransformShapeToPolygon() (that fix crash)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21835
2 months ago
Jeff Young
adea56fc25
Honour rounded rects when converting board edge rectangles.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21830
2 months ago
Jeff Young
7d6d9c535d
Coverity fixes.
Initialize scalar variable.
Make use of new move operators.
Don't copy std::shared_ptr when we don't have to.
2 months ago
jean-pierre charras
b113ec1543
Allow plotters to plot PCB_BARCODE items.
2 months ago
jean-pierre charras
48a82f945b
add missing PCB_BARCODE_T case in Duplicate and Delete commands
2 months ago
jean-pierre charras
3c8f8209e4
fix a crash due to incorrect use of UNIMPLEMENTED_FOR() in EDIT_TOOL
2 months ago
jean-pierre charras
3f222671fd
Fix useless conversion of strings and wxStrings to wxStrings
2 months ago
Seth Hillbrand
a8df1dac68
Fix some last-minute barcode edits
This should fix most of the regressions
2 months ago
Seth Hillbrand
592e8542a3
Fix botched merge
These were in place previously but one of my rebases broke it. This
should get us back to compiling
2 months ago
Jeff Young
51a7f9db80
Don't save state between different versions of dialog.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21811
2 months ago
Seth Hillbrand
b724b34b0b
Fix one more scan type that snuck in
2 months ago
Seth Hillbrand
43e327b688
Resolve discrepancy between constraint and disallow
Vias are referred to by their type without combining (e.g. blind/buried)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13783
4 months ago
Seth Hillbrand
4a74153315
Updating barcode support
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4393
4 months ago
Thomas Pointhuber
cb31a90b0a
Initial code to draw a barcode object
Includes libzint, initial dialog, basic rendering
6 years ago
Seth Hillbrand
8cfac03444
Dedupe ODB++ symbol names
If we have duplicate symbol names (can happen from plugins), suffix a
number
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21803
2 months ago
Seth Hillbrand
2677cae840
Handle custom fields from netlist
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21648
2 months ago
Jeff Young
e6fd3826c3
Make sure listeners get updated when schematic changes.
Also be safer about pulling pointers out from under
search results.
Also remove old frame-based board listeners (they're
now hosted directly on the board).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21817
2 months ago
Jeff Young
2a0ef9a82d
Fill in some move assignment operators.
2 months ago
Jeff Young
730e5dab66
Move WX_GRID_AUTOSIZER into WX_GRID and use in more places.
Also fixes some bugs around skipping of events.
Also fixes some bugs around hidden columns.
2 months ago
Jeff Young
cfafd5fba0
Consistency in Schematic/Board Setup panels.
2 months ago
jean-pierre charras
8f8edf8d69
FRAME_FOOTPRINT_CHOOSER and FRAME_FOOTPRINT_VIEWER: fix incorrect save settings
They were saved in cvpcb.json instead of pcbnew.json, and especially for
FRAME_FOOTPRINT_CHOOSER, some settings were incorrectly retrieved because
not actually updated.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21818
2 months ago
Seth Hillbrand
61ab7cc915
ADDED: AUI Memory
Using the new wx3.3 routines to serialize the state of our AUI elements,
we store them using JSON in the preferences for each window
I have left the SavePerspective in place for now to see how legacy
(mostly *nix) builds handle this and provide a smooth transition to 3.3
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2381
2 months ago
Jeff Young
e9ccae85f2
ADDED: Update Symbol/Footprint from Library... buttons to diff dialogs.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21646
2 months ago
Jeff Young
de1491256f
ADDED: DRC item context menu "fix" actions.
Active for the following errors:
DRCE_LIB_FOOTPRINT_ISSUES
DRCE_LIB_FOOTPRINT_MISMATCH
DRCE_FOOTPRINT_FILTERS
DRCE_SCHEMATIC_PARITY
DRCE_MISSING_FOOTPRINT
DRCE_DUPLICATE_FOOTPRINT
DRCE_EXTRA_FOOTPRINT
DRCE_FOOTPRINT_TYPE_MISMATCH
DRCE_FOOTPRINT
DRCE_PADSTACK
DRCE_PADSTACK_INVALID
DRCE_TEXT_HEIGHT
DRCE_TEXT_THICKNESS
DRCE_MIRRORED_TEXT_ON_FRONT_LAYER
DRCE_NONMIRRORED_TEXT_ON_BACK_LAYER
DRCE_DANGLING_TRACK
DRCE_DANGLING_VIA
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21646
2 months ago
Mark Roszko
8e8a6b4a1d
Add missing header (for some builds)
2 months ago
Jon Evans
dabd8cdab8
API: Add ability to set enabled board layers and copper layer count
(cherry picked from commit ca0207016e )
3 months ago
Seth Hillbrand
0785e7525b
Auto-update flyout icons when changed
Provides an update action to refresh the icon display when the user
changes the angle mode using a hotkey. Also unifies the angle modes
between schematic, pcb and library editors
2 months ago
Jeff Young
c68e17b469
ADDED: support for via types and protection features in Global Edit Track & Vias.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21649
2 months ago