7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-02 00:26:45 +00:00
Commit Graph

142 Commits

Author SHA1 Message Date
Jeff Young
f951497a4f Code brevity. 2025-03-01 21:58:31 +00:00
Seth Hillbrand
0b2d4d4879 Revise Copyright statement to align with TLF
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo.  Avoids needing to
repeatly update.

Also updates AUTHORS.txt from current repo with contributor names
2025-01-01 14:12:04 -08:00
jean-pierre charras
59f6ffc05d pagelayout_editor: Avoid multiple or useless calls to OnAcceptPrms()
These useless calls, have a cost in calculation time.
2024-12-23 11:08:02 +01:00
Jeff Young
753d385473 Reduce dependency on dynamic_cast.
Also switches to checking __clang__ instead of __WXMAC__.
2024-12-08 21:46:54 +00:00
jean-pierre charras
b60acbb635 pagelayout_editor: lock panel update during widgets rebuild.
The rebuild is much faster.
2024-10-17 12:48:21 +02:00
Jeff Young
b549c4feec Drawing sheet can't share glyph cache entries with editors.
(They use different internal units.)

Also fixes a fialure of CAIRO_GAL to reset the fill
and stroke after drawing outline glyphs.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/18579
2024-08-22 12:23:21 -06:00
jean-pierre charras
bcdd4ffea4 pagelayout_editor, properties_frame.cpp: add missing event.Skip()
wxFocusEvent code **must** skip the event after processing it.
2024-08-16 13:14:08 +02:00
Jeff Young
781cb0fb8e Get rid of Drawing Sheet Editor's Apply buttons.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18367
2024-08-15 22:12:11 -06:00
Alex Shvartzkop
07470efc0b Autosize bitmap buttons in wxFB. 2024-05-27 00:12:55 +03:00
jean-pierre charras
9de9f921bc PROPERTIES_FRAME: fixes a focus issue (perhaps Windows specific). 2024-03-06 13:06:22 +01:00
Jeff Young
539bd62a7b Cancel autocomplete when STC loses focus.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17124
2024-02-26 22:29:29 +00:00
Jeff Young
d23ee7db3d Improve SNR. 2024-02-26 22:29:29 +00:00
Jeff Young
e7abeb3c38 Cleanup. 2024-02-24 20:05:51 +00:00
Wayne Stambaugh
92c2ddf77a Do not parent dialogs to non top level windows in panels or widgets. 2024-02-03 10:40:28 -05:00
Marek Roszko
ef3e305db4 Min width of pl_editor properties should be FromDIPed 2024-01-17 22:53:26 -05:00
Wayne Stambaugh
8687d5092f String and dialog layout fixes. 2023-12-13 11:49:34 -05:00
Jon Evans
eb5b3db063 Add bitmap bundle support to BITMAP_SCALE
Change a bunch of buttons and toolbars to use it

Fixes https://gitlab.com/kicad/code/kicad/-/issues/14119
2023-10-22 14:02:06 -04:00
Alex Shvartzkop
1decd31baf Vertically center wxGrid cells by default. 2023-09-18 17:15:34 +03:00
Jeff Young
fe0fb92441 Reduce visual clutter in GAL display options. 2023-09-04 13:06:46 +01:00
jean-pierre charras
8762859c6d Fix a display issue in wxStyledTextCtrl widgets in dialogs (Windows specific).
It happens when a text is using some esoteric unicode chars.
Fixes 
https://gitlab.com/kicad/code/kicad/-/issues/15314
2023-08-03 18:35:49 +02:00
Jeff Young
9ae8255202 Insta-prefs. 2023-05-10 18:14:14 +01:00
Marek Roszko
aacc9746e3 Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
Paweł Płóciennik
614755f24e Dialogs autocompletion with backspace support. 2023-02-16 23:28:27 +00:00
Wayne Stambaugh
3b722de637 Code cleaning. 2023-02-08 08:26:54 -05:00
jean-pierre charras
ddd4178c62 PL editor: Add ( missing in commit 0d903d43) test for invalid parameter. 2023-02-08 08:38:31 +01:00
jean-pierre charras
0d903d43a0 pagelayout editor: Add tests for invalid parameters.
Invalid parameters are repeat count < 1, size < 0 and default size < 0.01 mm
2023-02-07 12:53:34 +01:00
jean-pierre charras
6b5eeeb861 Preferences dialog: try to reduce its width, in non English languages.
Remove some useless spacers, and do not force some widgets to have a to
large size (by removing empty areas).
Work in progress: one panel is still too big.
2023-02-04 14:36:14 +01:00
Jeff Young
30c9deb9d5 Flat(er) look for paged dialogs. 2023-01-11 01:11:25 +00:00
Wayne Stambaugh
f28ea5e784 Remove standard dialog button static line separators.
For the sake of consistency across all dialogs and window that behave
like dialogs, remove the static line that separates the main part of
the dialog from the standard buttons.  This only applies to windows
that have the standard button on the bottom of the frame.

This covers the 3D viewer, CvPcb, common, GerbView and KiCad dialogs.
2023-01-08 13:15:33 -05:00
Jeff Young
7ffdfb1067 Clear Scintilla undo history after setting initial text.
Fixes https://gitlab.com/kicad/code/kicad/issues/12650
2022-10-14 22:01:20 +01:00
Jeff Young
7f34586c7e Allow text variable resolution through properties in drawing sheet text.
Fixes https://gitlab.com/kicad/code/kicad/issues/12473
2022-09-20 15:28:05 +01:00
Marek Roszko
e6ed275c25 Repoint IU_PER_MILS 2022-09-16 21:09:26 -04:00
Marek Roszko
a8613ee80f Combine Iu2Millimeter & remove PcbMm2iu 2022-09-16 21:09:26 -04:00
Mark Roszko
b00178adb3 Nuke base_units from orbit 2022-09-16 04:38:10 +00:00
Marek Roszko
bf964d8678 Commonize page_info by simply making the Iu scale a parameter on call. 2022-08-27 13:36:00 -04:00
Jeff Young
52bc2511cd Add a radioButton mode to IMAGE_BUTTON.
Fixes https://gitlab.com/kicad/code/kicad/issues/11797
2022-06-12 20:09:46 +01:00
Roberto Fernandez Bautista
0015574a60 ${SHEETNAME} represents the sheet name + introduce ${SHEETPATH}
CHANGED: The text variable ${SHEETNAME} now always represents the name of the
sheet when used anywhere in the schematic editor, including the title block

ADDED: A new text variable ${SHEETPATH} which is replaced with the path to the
current sheet - e.g. "/Sheet 1/Sheet 2".

To ensure backward compatibility, the default drawing sheet now uses
${SHEETPATH}. Custom drawing sheets will need to be manually edited.
2022-04-09 15:45:58 +01:00
Jeff Young
e8a543f1ea Colors for text in PL_Editor and Eeschema.
Fixes https://gitlab.com/kicad/code/kicad/issues/1952
2022-03-31 19:43:56 +01:00
Jeff Young
b55bda8d6f Font support for drawing sheet editor.
Fixes https://gitlab.com/kicad/code/kicad/issues/10306
2022-02-28 18:05:26 +00:00
Jeff Young
fbab335128 Retire DPOINT and DSIZE. 2022-01-20 21:10:04 +00:00
Jeff Young
e61144d45a Finish with EDA_ANGLE. 2022-01-16 21:15:40 +00:00
Marek Roszko
cadc0639eb Update BASE_SCREEN to VECTOR2I 2022-01-01 11:30:33 -05:00
Jeff Young
86cb57f4a7 Cherry-pick TEXT_ATTRIBUTES and EDA_ANGLE from rockola/kicad-strokefont 2021-12-28 22:15:20 +00:00
Jeff Young
a6dd1bf09b Implement Reset to Defaults for all preferences panels. 2021-12-24 17:38:39 +00:00
Jeff Young
d28714167c All the preferences, all the time.
Fixes https://gitlab.com/kicad/code/kicad/issues/7877

Fixes https://gitlab.com/kicad/code/kicad/issues/5153
2021-12-24 13:08:44 +00:00
jean-pierre charras
054f8ed7bd pagelayout_editor: fix end of line char in wxStyledTextCtrl (is now always '\n')
Fixes 
https://gitlab.com/kicad/code/kicad/issues/9806
2021-11-29 10:26:06 +01:00
Wayne Stambaugh
0795fcb810 Minor dialog layout fixes. 2021-10-21 08:59:55 -04:00
Seth Hillbrand
3da97ed02f Reword keyword message 2021-09-20 11:57:08 -07:00
Jeff Young
2479e1d7b1 Improve common settings property grouping.
Also moves apply-icon-scaling-to-fonts to its own checkbox.  (We used
to try to infer when to do it, but that turns out to be a rathole.)
2021-09-16 18:31:44 +01:00
Marek Roszko
4a81e4c945 Replace funny symbol with less funny word
Seems wrongish still but the symbol doesn't remember at all properly
2021-09-14 19:25:16 -04:00