Commit Graph

24314 Commits

Author SHA1 Message Date
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
Wayne Stambaugh e61f768fbc Eeschema: add defensive code to symbol library cache I/O. 2020-12-09 11:46:10 -05:00
Wayne Stambaugh e0fb12488b Pcbnew: fix more minor text properties dialog layout issues. 2020-12-09 09:18:55 -05:00
Marek Roszko eb2472650c Filter appearance control updates on bulk changes 2020-12-09 08:01:37 -05:00
Wayne Stambaugh ad02156aea Pcbnew: fix minor text properties dialog layout issues. 2020-12-09 07:58:32 -05:00
Marek Roszko 8ff521819e Rearrange the item tab in pleditor properties
This will match how the v7 properties will probably work anyway.
It's a scrolled control, cram in controls widthwise to some arbitrary standard
2020-12-08 23:08:54 -05:00
Marek Roszko 0af46bb186 Some rearrangement of the General Options pleditor properties tab 2020-12-08 23:08:54 -05:00
Marek Roszko bf7daac975 Connect thickness to unit binder 2020-12-08 23:08:54 -05:00
Marek Roszko 6d678f4780 Bind the pleditor properties to units
We also go out of our way to ensure we still maintain the millimeter storage format
2020-12-08 23:08:53 -05:00
Marek Roszko 809149d747 Add opt toolbar to pl editor 2020-12-08 23:08:53 -05:00