Commit Graph

24323 Commits

Author SHA1 Message Date
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
Seth Hillbrand 780ae12d47 Pixel align group icons 2020-12-09 18:04:42 -08:00
Seth Hillbrand fbca825f1b Pixel-align module icons 2020-12-09 17:51:41 -08:00
Seth Hillbrand 968bfcff4b Add missing grids
Adds default grid data to all icons
2020-12-09 17:51:41 -08:00
Jeff Young 9113f93ebe Uniformly apply current locking strategy.
I make no claims that this is the right strategy, but at least it's
consistent now.

Fixes https://gitlab.com/kicad/code/kicad/issues/6369
2020-12-10 01:34:37 +00:00
Marek Roszko 7fcc2e638c Fix flickering on msgpanel paints 2020-12-09 20:21:51 -05:00
Jeff Young 90d58c8509 Fix typo. (Thanks Graham!) 2020-12-10 00:08:05 +00:00
Marek Roszko bb4aa15736 Remove extraneous msgpanel update
OnModify right above also calls UpdateMsgPanel
2020-12-09 18:41:43 -05:00
Marek Roszko d7b79e71f2 Tweak the pleditor props pane to resize better on the item tab 2020-12-09 18:41:43 -05:00
Seth Hillbrand 8100fcc73e Icon revision
- Shrink noconn
- Make annotate more legible
- Restore original annotate direction
2020-12-09 15:38:59 -08:00
Seth Hillbrand d9cfd3c463 Restore previous reannotate bitmaps
New icons here did not add value and previous icons are clean/simple
2020-12-09 15:28:19 -08:00
Seth Hillbrand 447483d286 Adjust Save As to match Save 2020-12-09 15:28:19 -08:00
Ian McInerney be4b6ec06a Cleanup compiler warnings 2020-12-09 23:13:33 +00:00
Ian McInerney 31c5776fc0 Add missing header to rtree
Another GCC11 header change that broke the build
2020-12-09 23:13:33 +00:00
Seth Hillbrand ccde9143ac Embiggen Save Icon
Makes the save icon the same size as the others in its row.  It is now
much more cromulent.
2020-12-09 14:52:37 -08:00
Jeff Young c6b17a0175 Enable lock menu for all selections.
It doesn't pay to try and be too smart as it just confuses people.
When the bugs come in that it doesn't dim I'll just be marking them
as "as designed". :)

Fixes https://gitlab.com/kicad/code/kicad/issues/6367
2020-12-09 22:19:06 +00:00
Jeff Young df4f4560be Change lock toggle to put selection in uniform state.
Fixes https://gitlab.com/kicad/code/kicad/issues/6367
2020-12-09 22:19:06 +00:00
Jeff Young 65782d5c5a Move delete-again-to-delete-locked-objects to hypertext in infobar.
Fixes https://gitlab.com/kicad/code/kicad/issues/6367
2020-12-09 22:19:06 +00:00
Jeff Young ee6f37bdc7 Headings and groupings for ERC severities.
Fixes https://gitlab.com/kicad/code/kicad/issues/6673
2020-12-09 22:19:06 +00:00
Wayne Stambaugh ec97d1d737 Remove unnecessary decimal point notation test on application start. 2020-12-09 13:53:50 -05:00
Seth Hillbrand 87be80b2ad Embiggen main icons 2020-12-09 10:21:40 -08:00
Seth Hillbrand 7d0fd1978c Add missing compiled icons for zone/config 2020-12-09 10:21:40 -08:00
Seth Hillbrand 8401677742 Fix ratsnest to new icon 2020-12-09 10:21:40 -08:00
Seth Hillbrand a3b0adf9a7 Normalize show zone icons 2020-12-09 10:21:40 -08:00
Seth Hillbrand 9829e8d95e Remove unused warning.svg 2020-12-09 10:18:15 -08:00
Jarl Gjessing 00415bd4f3 Translated using Weblate (Danish)
Currently translated at 2.6% (171 of 6545 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/da/
2020-12-09 08:57:49 -08:00
taotieren 5e240a572b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (6526 of 6526 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2020-12-09 08:57:49 -08:00
Seth Hillbrand a5bc20566c Translated using Weblate (Swedish)
Currently translated at 66.3% (4329 of 6526 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2020-12-09 08:57:49 -08:00