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
Alex Shvartzkop
dc4708cdb7
Hide "Unable to load repository url" message when repository fetching is cancelled.
...
(cherry picked from commit 020376937ea3ef7e64512e32c66cc4de171ad073)
2025-02-11 18:57:17 +03:00
Alex Shvartzkop
4eaadcae5c
Fix PCM logger format string usage.
2025-01-22 13:52:28 +03:00
Alex Shvartzkop
883b615fef
Cancel "Fetching repository" job properly when PCM is opened.
2025-01-08 15:29:27 +05:00
Jon Evans
3f7e459d62
API: add a schema for plugin config files
...
Also flip the dependence between json_schema_validator and kicommon,
and create a shared JSON_SCHEMA_VALIDATOR so that we don't have to
copy/paste the schema loading code as much
2025-01-05 17:08:33 -05:00
Seth Hillbrand
074e6df3bc
Revert "Move thread pool to singleton class"
...
This reverts commit 361f61a02380881efb59b1cebfdc3e73322b3d3c.
2025-01-03 21:22:44 -08:00
Seth Hillbrand
361f61a023
Move thread pool to singleton class
...
Having thread pool as its own singleton in the library meant that each
kiface had its own threadpool, leading to many multiples of the threads
being started. Placing a singleton class in PGM_BASE ensures that all
kifaces use the same thread pool.
The singleton class can be extended to provide single instance
guarantee for any element across kifaces
2025-01-03 13:51:11 -08: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
ecc83221a1
Update PCM schema to match code
...
Adds "fab" to type and property "category"
2024-12-19 12:02:05 -08: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
Markus Becker
58feb014fe
Fix typo "readabla" in schema
2024-12-09 21:40:39 +00: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
730ff633a8
PCM, Fix hanging in m_schema_validator.set_root_schema() on MINGW+UCRT.
...
For some obscure reason on MINGW, using UCRT compiler version,
m_schema_validator.set_root_schema() hangs in French language.
So, on MINGW+UCRT (specific) switch to a LOCALE_IO before calling set_root_schema().
2024-09-26 10:58:40 +02:00
Alex Shvartzkop
cf7ad330e9
Fix some platform ifdef checks.
2024-06-01 06:49:11 +03:00
Wayne Stambaugh
795a9eea60
Coding policy fixes.
...
This is primarily to change all instances of wxLogDebug with wxLogTrace
so developers do not have to sift through debugging output that is always
dumped. The only exception is for code blocks built in debug builds and
called on demand for dumping object states.
2024-05-23 07:59:45 -04:00
Marek Roszko
e32b26ebeb
Move JSON_SETTINGS and PARAMS to kicommon
2024-03-20 23:29:42 -04:00
Jon Evans
f00f47df13
wxWidgets 3.3 compatibility: explicit wxString conversion
2024-03-20 22:02:41 -04:00
Mark Roszko
72d83cd5de
Revert "Move JSON_SETTINGS and PARAMS to kicommon"
...
This reverts commit 81855aaaa6bd2fd1bb2d812f9e64664fc1e7c18e
2024-03-18 00:08:46 +00:00
Marek Roszko
81855aaaa6
Move JSON_SETTINGS and PARAMS to kicommon
2024-03-17 18:11:49 -04:00
Jon Evans
7b0bb59b37
Remove hard-coded versioned env vars in most places
2024-02-15 15:31:08 +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
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
Ian McInerney
b2cc4b8310
Warn when installing PCM local package that is incompatible
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14243
2023-11-12 20:42:45 +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
Marek Roszko
121ea99824
Move the settings path to PATHS to allow shifting other classes into kicommon
2023-09-23 20:06:58 -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
Marek Roszko
ab1a6651a9
send multivector.h and sync_queue.h to core
2023-09-08 07:14:34 -04:00
Alex Shvartzkop
05a8e59884
Move wxString and std::optional JSON serializers to core header.
2023-09-07 10:57:02 +03: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
Seth Hillbrand
c6f071c542
Add "templates" and "scripts" as possible PCM dirs
...
Allows organizations to distribute custom templates and scripts to their users in TLDs
2023-08-21 11:17:02 -07:00
Marek Roszko
64a7bad56e
Use fn_str with std file streams
...
This uses the MSVC-only wchar_t overload
2023-08-13 14:59:10 -04:00
Marek Roszko
34a13cb0c5
Add more thread safety to background jobs
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15395
2023-08-11 22:37:43 -04:00
Marek Roszko
5319316815
Enhance the status bar with background progress and notifications
2023-08-04 22:06:08 -04:00
Josue Huaroto
3c12217304
Update PCM log messages
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9753
2023-07-13 00:14:46 +00:00