112 Commits

Author SHA1 Message Date
Jeff Young
0b102fc085 Use WX_GRID::ClearRows() to avoid assertions.
Fixes KICAD-VM1.
2025-09-08 18:37:47 +01:00
Jeff Young
32afe5285e Finish off WX_GRID code sharing exercise. 2025-07-28 19:37:52 +01:00
Jeff Young
2dfacd648f Share more code. 2025-07-25 18:03:49 +01:00
Jeff Young
da8abffea4 Code clarity. 2025-07-21 20:59:26 +01:00
Jeff Young
f1686cc568 Formatting. 2025-07-21 20:59:26 +01:00
Jeff Young
18e107529a Don't force callers of GetAppSettings to implement exception processing. 2025-06-14 20:25:59 +01:00
Jeff Young
06dcb64ad8 Harden progress reporter API against misuse.
Also, titles are nouns, not verbs.  (Messages
*inside* reporters are verbs.)

Also implements progress reporter for Altium
schematic import.
2025-06-01 19:38:24 +01:00
Jon Evans
3525731a4e PCM: Prompt to enable IPC API when required
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20062
2025-02-23 18:07:02 -05: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
Jeff Young
0a7ed8c9a2 Fix some dialog sizing bugs. 2024-12-31 13:34:06 +00:00
Seth Hillbrand
937d8c9541 Split out mfg plugins
Mixing user generated plugins with mfg plugins was causing confusion.
2024-12-10 15:54:47 -08: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
Jon Evans
f00f47df13 wxWidgets 3.3 compatibility: explicit wxString conversion 2024-03-20 22:02:41 -04: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
Wayne Stambaugh
2b1bf369f2 Do not parent file or directory dialogs to panels.
Parenting dialogs to child windows of top level windows is most likely
not defined behavior.  It's also likely that this behavior varies across
platforms so it' best not to risk doing it.  wxWidgets does not check if
the dialog parent is actually a top level window.  There may be other
places we are doing this with our message dialogs so we should do an
audit.
2024-02-02 09:20:36 -05:00
Marek Roszko
b41cd7981e Try and fix pcm somewhat with FromDIP
We really need FromDIP in the base class to get things correct ugh
2024-01-17 22:52:01 -05:00
Marek Roszko
c8f646efb1 ADDED: KiCad update check
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15026
2023-12-13 20:47:40 -05:00
Wayne Stambaugh
b7dc7e90ac Minor string fixes. 2023-12-08 13:09:16 -05:00
Ian McInerney
e72f563033 Fix capitalization of program name in PCM 2023-11-12 20:45:19 +00:00
Jeff Young
435e3fab8d Support text variables in STEP export filename.
Also fixes some other file browser titles to match Kicad's overall style.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15927
2023-10-23 18:01:47 +01: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
Marek Roszko
e6c8fb6373 Unbind PANEL_PACKAGES_VIEW events in destructor 2023-10-01 22:03:59 -04:00
Marek Roszko
b00871ad77 Unbind events in DIALOG_PCM destructor
Maybe fixes KICAD-KR
2023-10-01 20:20:18 -04:00
Alex Shvartzkop
1decd31baf Vertically center wxGrid cells by default. 2023-09-18 17:15:34 +03:00
Marek Roszko
4ac5404822 Move HTML_WINDOW to widgets folder, also fix some fbps that were wrongly not edited
Somebody manually edited at least 3 files fixed here....so the fbps were wrong
2023-09-11 19:10:16 -04:00
Seth Hillbrand
db8e15ce88 Require wxWidgets 3.2
Removes old defines and work arounds for earlier wx versions and adds a
CMake requirement to use at least 3.2 (or the minimum matching wxPython
version)
2023-08-23 22:02:56 +00:00
Josue Huaroto
3ce50c3db5 Add tooltips in PCM repositories dialog
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13169
2023-07-05 10:18:32 +00:00
Jeff Young
c7730eae3f Force re-word-wrapping of PCM package descriptions on Mac.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13328
2023-05-31 23:28:13 +01:00
qu1ck
e86937ca2e Use SetLabelText in PANEL_PACKAGE 2023-05-22 19:01:31 +00:00
Alex
b592017495 Reduce some flickering in PCM. 2023-02-24 20:06:39 +03:00
qu1ck
2975f53647 PCM: auto reload global libs after dialog is run
This adds Reset() method to KIFACE to reload global libs stored in
global static vars.
Also refactors some lib reload code in various frames to have
common MAIL_RELOAD_LIB handler.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/12500
2023-02-17 17:24:32 +00:00
Jon Evans
d25b96d72d Squash warnings 2023-01-25 18:01:16 -05:00
qu1ck
7ec2989d30 PCM: progress dialog stay should on top, disable other windows 2023-01-25 22:44:35 +00:00
Marek Roszko
ac94995f70 Some more wxS 2023-01-16 19:07:50 -05:00
Jeff Young
30c9deb9d5 Flat(er) look for paged dialogs. 2023-01-11 01:11:25 +00:00
qu1ck
50582232ea PCM: fix url detection in pkg description 2023-01-04 21:17:38 +00:00
Jeff Young
5984a6dddd Fixup a few more collapsing textEditCtrls on Mac. 2022-12-14 15:13:29 +00:00
Jeff Young
c0872364d4 Get rid of bloated bitmap buttons on wxWidgets 3.2. 2022-12-13 20:48:02 +00:00
Jon Evans
527da0d18c Reload color settings when changed by PCM 2022-11-24 16:20:52 -05:00
Alex
93133ecd78 pcm: Fix an unnecessary horizontal scrollbar in package info on MSW. 2022-10-23 22:07:22 +03:00
Jeff Young
3fbc6ac29a Minor dialog layout fixes. 2022-10-23 17:56:44 +01:00
Jeff Young
5777254cfa Formatting and "auto" reduction. 2022-10-23 17:56:44 +01:00
Ian McInerney
40ff7cb9bd Fix some UI element spacing in settings panels 2022-09-25 15:41:39 +01:00
qu1ck
6ebb3baa3b PCM: autoload libs from installed packages to global lib tables
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/9713
2022-09-23 16:16:13 +00:00
Jeff Young
f179754118 Implement add-new-on-return for some of our grids.
Fixes https://gitlab.com/kicad/code/kicad/issues/12335
2022-09-09 13:41:13 +01:00
Jeff Young
c30a557810 ADDED netclass assignment from PCB canvas.
Fixes https://gitlab.com/kicad/code/kicad/issues/5975
2022-09-03 19:29:59 +01:00
jean-pierre charras
c72091d7e0 fix a compil warning. 2022-09-03 19:55:54 +02:00
qu1ck
977b6cd8f3 PCM: add ability to pin packages
Pinned packages don't affect available update notification and will not
be updated with "Update All" button. Manual update is still possible but
will trigger a confirmation dialog.
2022-09-03 17:07:55 +00:00
Seth Hillbrand
b736460e71 Move optional access from value() to *operator
`value()` throws.  Where we check for existence, we don't need to use
the throwing version and should just use the unprotected variant
2022-08-30 13:59:39 -07:00
Seth Hillbrand
f1261e71d4 Replace boost::optional with std::optional 2022-08-25 15:50:47 -07:00