Commit Graph

913 Commits

Author SHA1 Message Date
Jeff Young 2515948a7b Jiggle things around to have fewer fixed sizes.
Also adds some code to re-calc the package panel heights to
hopefully get around larger fonts getting clipped.
2021-11-12 15:31:41 +00:00
Jeff Young 43b840d9d2 Clean up download progress vs package progress vs overall progress. 2021-11-12 11:18:11 +00:00
Jeff Young a22dd614b0 Fix type that can lead to deadlock. 2021-11-12 10:49:14 +00:00
Jeff Young 0b48876ce5 Decouple left and right pane minimums for splitter window. 2021-11-12 02:12:44 +00:00
Jeff Young faabcc079a Sniff URLs in descriptions and be more defensive re MSW scrolling. 2021-11-12 00:39:47 +00:00
Jeff Young f9bbaed7a1 Enable URLs in PCM metadata.
Going to HTML_WINDOW also sidesteps the bullet size issue between
platforms.
2021-11-11 23:42:28 +00:00
Jeff Young 8777135d9f Try to make window backgrounds the same on Windows.
Also reduces the use of auto.
2021-11-11 14:02:40 +00:00
Jeff Young c3c2af9cd0 Improve bullets on Mac & GTK; improve scrollbar behaviour on MSW. 2021-11-11 11:33:28 +00:00
Jeff Young 78bedbed93 Update progress during InstallFromFile. 2021-11-11 10:17:53 +00:00
Jeff Young cc938e7a67 Fix a few issues in the PCM dialog tune-up. 2021-11-11 01:03:07 +00:00
qu1ck 54e9f1cf24 Fix pcm fallback loading
Need to add a fake version otherwise the package gets filtered out of
the packages view.
2021-11-10 23:48:54 +00:00
Jeff Young b408cda0b8 Uninitialized variables. 2021-11-10 23:42:33 +00:00
qu1ck d9bd7ed2c1 Fix incorrect include 2021-11-10 15:06:11 -08:00
Jeff Young 59e5c836fc Tighter thread safety for PCM progress dialog. 2021-11-10 22:12:22 +00:00
Jeff Young 7b4d5b2312 Fix wxWidgets annoying assert. 2021-11-10 18:29:43 +00:00
Jeff Young f036243142 Fix a few minor issues in PCM dialogs. 2021-11-10 16:19:13 +00:00
Jeff Young 5c0befa880 Use sdbSizer so buttons are in right platform order. 2021-11-10 13:32:10 +00:00
Jeff Young 7211c5a350 Kicad look & feel and reduce conceptual nesting depth of PCM. 2021-11-10 12:42:54 +00:00
qu1ck 97a4034d95 Coverity report and compile warning fixes 2021-11-10 03:24:14 +00:00
Jon Evans 89f5842a17 PCM: Fix loading bitmaps from installed packages 2021-11-09 21:44:57 -05:00
Jon Evans 8e2d599751 Allow PCM to load schema from build dir 2021-11-09 21:44:40 -05:00
Mikolaj Wielgus ae37ae7072 PCM: Prevent crash on clicking "Install" when there is no versions
Fixes https://gitlab.com/kicad/code/kicad/issues/9585
2021-11-10 02:19:17 +00:00
Jeff Young 27661edff6 Apply a bit of Kicad look & feel.
Also fixes a spelling error in a string.
2021-11-10 01:11:27 +00:00
Jon Evans beb1ad0098 Use actual package ID when searching m_installed
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9583
2021-11-09 20:07:22 -05:00
Jeff Young e860f9f9a9 Use correct dir when writing project file before Save As. 2021-11-09 20:57:58 +00:00
Jeff Young bc30ee85c0 Make sure JSON contents are in memory before saving.
Fixes https://gitlab.com/kicad/code/kicad/issues/9582
2021-11-09 20:17:56 +00:00
Jeff Young d4e3e67b8d Update kicad_prl file when doing a SaveAs.
Fixes https://gitlab.com/kicad/code/kicad/issues/9455
2021-11-09 17:25:18 +00:00
Seth Hillbrand 2d66b6fd3e Cound't -> Couldn't 2021-11-08 15:56:51 -08:00
Seth Hillbrand 905c72cec6 Repositores -> Repositories 2021-11-08 15:56:51 -08:00
jean-pierre charras 452b9bacba DIALOG_MANAGE_REPOSITORIES: fix crash on exit:
A event handler was pushed but not pop-ed.
Fixes #9551
https://gitlab.com/kicad/code/kicad/issues/9551
2021-11-08 17:14:48 +01:00
Jon Evans ed3642c5c7 PCM: reverse-transform package ID when loading fallback 2021-11-07 21:31:51 -05:00
Jon Evans e48811189c Fix PCM and plugin loading for namespaced plugins 2021-11-08 01:59:28 +00:00
qu1ck d84cea58a4 Update pcm schema
1. Allow dots in package id for namespacing requirements
2. Add regex anchoring to force matching whole string
3. sha hex digest can only have [a-f0-9] chars
2021-11-07 12:41:57 +00:00
Jon Evans f847a76ac3 Update schema ID to use redirect URL 2021-11-06 11:11:20 -04:00
Seth Hillbrand cf6b18ec7e Remove escaped double-quotes
For some reason, escaped double quotes in wxString::Format cause issues
on Mac.  We can replace them with single quotes in most places without
loss of clarity
2021-11-03 17:03:14 -07:00
Jeff Young c8a8efa67b Save as for current version project files.
Fixes https://gitlab.com/kicad/code/kicad/issues/9455
2021-10-30 23:01:53 +01:00
Jeff Young 8a8775bed8 Remove another use of non-argv wxExecute
(Fixes supplied by mwielgus.)
2021-10-15 12:45:43 +01:00
Jeff Young 1b6c4638ca Escape quotes to prevent break-out.
Fixes https://gitlab.com/kicad/code/kicad/issues/9236
2021-10-13 17:17:57 +01:00
Mikolaj Wielgus 5f53019290 Substitute all wxHtmlWindow with HTML_WINDOW
Remove other places where <body> tag is used to override the default
black-on-white theme.
2021-10-12 07:07:15 +00:00
jean-pierre charras e508e08ecf Kicad manager: Fix some issues in DIALOG_TEMPLATE_SELECTOR. The fix is not perfect, but it works. Fixes #9329 https://gitlab.com/kicad/code/kicad/issues/9329 2021-10-08 13:15:11 +02:00
Seth Hillbrand 9a8d1246cc We don't keep a CHANGELOG.TXT
Direct interested readers to AUTHORS.TXT instead.
2021-10-05 19:46:53 -07:00
Jeff Young b6d723e44e The parameterized interface doesn't like its parameters quoted. 2021-09-30 19:10:23 +01:00
Jeff Young c05e4376f9 Update backups folder name when doing project save as.
Fixes https://gitlab.com/kicad/code/kicad/issues/9254
2021-09-27 13:24:45 +01:00
Jeff Young 7bafbf9ca7 Fix one more fixed size value in the template selector. 2021-09-27 00:23:40 +01:00
Jeff Young 665eeb65e9 Make layout of project template browser more flexible.
In particular, don't use a fixed height for the templates chooser,
and Wrap() must be called again whenever the text is changed.

Also moves the buttons to icon buttons.

Fixes https://gitlab.com/kicad/code/kicad/issues/9241
2021-09-26 18:40:18 +01:00
Jeff Young 5bf042fcc1 Use individual parameter version of wxExecute.
Fixes https://gitlab.com/kicad/code/kicad/issues/9236
2021-09-26 15:03:06 +01:00
Jeff Young c6bcb85562 Excise system() calls.
Fixes https://gitlab.com/kicad/code/kicad/issues/9236
2021-09-25 20:09:06 +01:00
Jeff Young 23c76cccf3 Give a timeslice to show Save Changes? dialog before things get ugly.
This also moves closing the existing project earlier to improve the
workflow -- so there's a chance that the main fix might not be needed
anymore, but it's still safer to not have a control-flow that crashes
rather than to just not use that control-flow.

Fixes https://gitlab.com/kicad/code/kicad/issues/9200
2021-09-21 11:14:42 +01:00
Seth Hillbrand c088de5f75 Fix compile issues on non-mac 2021-09-19 08:41:10 -07:00
Jeff Young 6e7ce09572 Use more descriptive terminology for preferred text editor.
Also improves execution to allow the preferred editor to include
parameters, such as "/usr/bin/open -e".

Fixes https://gitlab.com/kicad/code/kicad/issues/9131
2021-09-19 15:17:26 +01:00