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
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
Ian McInerney
c52fb23d4f
PCM: Fix use of variable after it was moved into the cache
2023-06-16 00:07:54 +01: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
Marek Roszko
7774b75172
Another set of C5266 warning fixes
2023-05-18 22:46:57 -04:00
Ian McInerney
ea62b145ff
Introduce core interface library
...
This library is meant to move non-EDA items (language extensions,
library extensions, etc.) into the lowest-level of our dependency chain.
This library should never depend on anyother non-thirdparty code in the
kicad codebase.
2023-04-06 15:01:18 +01:00
Marek Roszko
47cf26f047
Don't destroy the DIALOG_PCM_PROGRESS until after the threads actually terminated
2023-02-26 17:46:49 -05:00
Alex
b592017495
Reduce some flickering in PCM.
2023-02-24 20:06:39 +03:00
Ian McInerney
bcb93e9aa7
Modernize setting of compiler definitions in CMake
...
add_compile_definitions was added in 3.12, and our minimum is now
greater than that.
2023-02-22 01:44:06 +00:00
Marek Roszko
6029fae30b
Catch parsing exceptions of the local repository.json
...
Fixes KICAD-B9
2023-02-21 07:14:18 -05: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
Marek Roszko
4665823089
Turn on and fix MSVC compliance mode issues
...
We want /permissive- to enable debug performance improvements in MSVC 17.5+.
This flag is also default under C++20 so we'll have to deal with these compile issues anyway at some point in the future.
In particular, MSVC becomes pedantic about ternary types.
See https://learn.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance?view=msvc-170#ambiguous-conditional-operator-arguments
MSFT cites https://cplusplus.github.io/CWG/issues/1805.html
2023-02-12 16:30:37 -05: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
Jon Evans
bd977fffa8
PCM: Make the progress dialog non-modal on other platforms
2023-01-25 13:59:32 -05:00
Jon Evans
9954c18244
PCM: Make the progress dialog modal
...
I don't know if this was intended to operate modeless, but it doesn't work
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13474
2023-01-25 12:32:13 -05:00
qu1ck
d9e1763484
PCM: keep pinned state on update
2023-01-24 00:01:51 +00:00
Seth Hillbrand
a9ed47f06c
Update KICAD6->KICAD7
2023-01-23 22:21:12 +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
Seth Hillbrand
98d55ce82f
Avoid rebuilding with each commit
...
We shouldn't include the kicad_build_info.h outside of the wrapper
build_info.h. Also adds an error directive to prevent re-introduction
of define dependencies
2023-01-04 11:32:15 -08: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
qu1ck
d52d1cb489
Better message on PCM repository error
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9587
2022-10-17 16:44:01 +00:00
Ian McInerney
40ff7cb9bd
Fix some UI element spacing in settings panels
2022-09-25 15:41:39 +01:00
Ian McInerney
a7242f423c
pcm: Copy schema to build directory in out-of-tree builds
...
When running from the build directory, the schema must be present in the
build directory. This wasn't working on out-of-tree builds though, since
it was never copied there.
2022-09-25 00:48:38 +01:00
Ian McInerney
d8272b0830
pcm: Ensure missing package version properly handled at runtime
...
wxASSERT is removed in release mode (which most users run), so this will
not prevent future code from possibly using an invalid iterator if the
package version can't actually be found.
2022-09-25 00:48:38 +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
Seth Hillbrand
8757b3f98a
Catch errors thrown from `at()`
...
at() can throw when it doesn't find the proper reference. This catches
the errors and attempts to properly handle them assuming the user
initiated the removal. Warns the developer (wxLogDebug) when this is
not the case
Fixes https://gitlab.com/kicad/code/kicad/issues/12241
2022-08-22 11:57:13 -07:00