Commit Graph

24400 Commits

Author SHA1 Message Date
Jeff Young 42d96fcadc Naming conventions. 2020-12-12 03:43:41 +00:00
Jeff Young b6e267b78d Naming conventions. 2020-12-12 03:43:41 +00:00
Jeff Young c0a9742b3a Apply 0ef63aca47 to diff pairs.
Fixes https://gitlab.com/kicad/code/kicad/issues/6314
2020-12-12 03:43:41 +00:00
Michael Kavanagh a8269b6380 Remove unused icon sources 2020-12-12 01:17:06 +00:00
Seth Hillbrand 5e446d86ec Tune the trash cans 2020-12-11 17:16:45 -08:00
Michael Kavanagh cf6f0b9b92 Use trash icon where appropriate 2020-12-11 17:05:11 -08:00
Seth Hillbrand 40d4dd9a95 Enlarge gerbview's magnifying glass 2020-12-11 17:04:45 -08:00
Seth Hillbrand 1f8847b9e2 Make pcbnew green again 2020-12-11 17:04:45 -08:00
Seth Hillbrand 8cf98bdfff Refresh bitmap2component icon 2020-12-11 17:04:45 -08:00
Seth Hillbrand 4656503a35 Darken red in icons to lessen pixel bleed 2020-12-11 17:04:45 -08:00
Jeff Young 412c9c8c4e Save should be disabled only if the file is up-to-date.
Any other issues (such as locked files) need to produce a dialog
with info for the user.
2020-12-11 23:58:30 +00:00
Seth Hillbrand a134567838 Enlarge modview magnifying glass 2020-12-11 12:59:30 -08:00
Seth Hillbrand 63e67843f2 Update some of the icon arrrows 2020-12-11 12:57:11 -08:00
Seth Hillbrand 1886e09d08 Fixup library archive and arrow 2020-12-11 12:57:11 -08:00
Wayne Stambaugh e667d26854 Eeschema: use "board editor" instead of "PcbNew" in UI strings. 2020-12-11 15:24:42 -05:00
Wayne Stambaugh 4516aff43e Symbol Editor: don't show edit page number in context menu.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6711
2020-12-11 15:02:34 -05:00
Seth Hillbrand 587d3b71be Fix add_hierar_pin 2020-12-11 11:58:27 -08:00
Wayne Stambaugh dfec33711f Fix coding policy class definition layout rules sample indentation. 2020-12-11 14:20:35 -05:00
Seth Hillbrand c46c8fc19a Alignment cleanups 2020-12-11 11:16:42 -08:00
Seth Hillbrand 856307f331 Add badges reference 2020-12-11 11:16:42 -08:00
Seth Hillbrand 40457f7025 Clean up pixel alignment for mod-icons 2020-12-11 11:16:42 -08:00
Seth Hillbrand 7de7e1b180 Update gerbview related icons 2020-12-11 11:16:42 -08:00
Wayne Stambaugh 5d028b82ed Eeschema: tool tip improvements.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6708
2020-12-11 13:42:50 -05:00
Wayne Stambaugh dd4298bb94 Coverity fixes: 280374, 313611, 313648, 313649, and 314720. 2020-12-11 13:29:52 -05:00
Jeff Young 0ef63aca47 Don't reset tail when changing track width/via sizes.
Fixes https://gitlab.com/kicad/code/kicad/issues/6314
2020-12-11 17:58:36 +00:00
Jeff Young af841d1318 Pay attention to flashed layers when doing DRC layer switch.
Fixes https://gitlab.com/kicad/code/kicad/issues/6710
2020-12-11 17:58:36 +00:00
Seth Hillbrand b89377a15d Make eeschema net highlight more highlight-y 2020-12-11 09:17:40 -08:00
Seth Hillbrand 9c96384521 Standardize various library icons 2020-12-11 09:17:15 -08:00
Seth Hillbrand 7d5672b41f Remove cpp_26 2020-12-11 08:51:19 -08:00
Jeff Young 224697d0b3 Sheet navigator tooltip.
Fixes https://gitlab.com/kicad/code/kicad/issues/6680
2020-12-11 16:43:55 +00:00
jean-pierre charras 224e33f8e1 DIALOG_TEXT_PROPERTIES: allows text rotation in 0.001 degree.
Fix also incorrect rotation (truncation) when displaying info in message panel
fot texts and pads.
2020-12-11 16:26:58 +01:00
jean-pierre charras f26a1a32e0 UNIT_BINDER: better support of DEGREES units (and some fixes).
Especially, add a way to define the number of digits in mantissa.
base_units.cpp: set number of digits in mantissa to 3 instead of 1 for DEGREES
2020-12-11 16:26:58 +01:00
Wayne Stambaugh d1fe4a0c98 3D viewer code cleaning round 1. 2020-12-11 08:51:42 -05:00
Jeff Young 7cb2d19814 Honour alt-means-disable-grid-snapping in router.
Fixes https://gitlab.com/kicad/code/kicad/issues/6679
2020-12-11 13:11:47 +00:00
Jeff Young d304f12284 Formatting. 2020-12-11 12:48:04 +00:00
Jeff Young 73b7b104cd Fix some issues with Infobar sizing.
This also commits to the new strategy as it wasn't really compatible
with if-def-ing anymore.
2020-12-11 12:39:40 +00:00
Marek Roszko 525934881f Use a temp file for saving the fp-info-cache for now 2020-12-10 23:07:49 -05:00
Marek Roszko dd0ad8f3a1 Read the fp-info-cache on pcb file load rather than on frame open
Otherwise in standalone mode pcbnew will never load the cache files and also later erase them :/
2020-12-10 21:34:40 -05:00
Marek Roszko 0967995a80 Replace wxTextFile for writing fp info cache
wxTextFile uses wxFile which uses write syscalls which means its unbuffered.
This makes file IO more expensive against network shares where it will flush far too aggressively.
wxTextFile is fine for reads however.
2020-12-10 21:34:40 -05:00
Jeff Young 645c49427c Fix hotkey editing on OSX.
Focus was on the dialog instead of the panel.  The dialog doesn't
have the IsUserPanel flag set and so wxEVT_CHAR processing doesn't
happen.  (Why?  I haven't a clue.)

Also fixed some more performance issues with the auto-column-widths.

Fixes https://gitlab.com/kicad/code/kicad/issues/6591
2020-12-11 01:54:39 +00:00
Jeff Young fc57860caf Formatting. 2020-12-11 01:54:39 +00:00
Seth Hillbrand a1f9b68e3c Change bitmaps from 26x26 to 24x24
This aligns with most platforms and provides better scaling factors to 16,
48, 64 and 128
2020-12-10 17:04:06 -08:00
Jeff Young 6898dadd1c Don't activate measure tool when it's already running.
In this case it's reactivated when the move command ends; only the
move command was ended because of activating the measure tool so it
gets activated twice.

Fixes https://gitlab.com/kicad/code/kicad/issues/6321
2020-12-10 22:14:52 +00:00
Seth Hillbrand ddd026da87 Icons: Library icons pixel align, remove grey boxes 2020-12-10 11:08:11 -08:00
Seth Hillbrand d305f3417c Fixup module icons 2020-12-10 11:08:11 -08:00
Jeff Young 5888d376a7 Handle special cases for ending overbar text.
Fixes https://gitlab.com/kicad/code/kicad/issues/6695
2020-12-10 18:38:31 +00:00
Jeff Young 98330098ac Yet another overhaul to locking.
This unifies everything under a single architecture with a "don't
show again" dialog.  Since everything now goes through the same
path it should be reasonably easy to make it do whatever we want
in the future.

Right now it presents 3 options: modify only unlocked items, override
locks and modify all items, or cancel command.
2020-12-10 17:36:19 +00:00
Roberto Fernandez Bautista 260219b0e6 CADSTAR PCB Archive Importer: Fix arc and filled shapes in footprints
- Need to call the PCB_SHAPE version of SetAngle in order to set the global coordinates for m_ThirdPoint
- Fill shapes also if in a footprint
2020-12-10 14:35:37 +00:00
Wayne Stambaugh 236ab16ddb Add class definition layout rules to coding policy. 2020-12-10 07:55:28 -05:00
Marek Roszko a4879e740a Don't request a full frame refresh when editing text properties (stop apperance flickering)
Seems like dead code, the commit should trigger just a canvas refresh.
2020-12-09 21:14:48 -05:00