Jeff Young
8bf44292f5
Fix one more missing addParamsForWindow().
3 months ago
Jeff Young
3949647754
Must use addParamsForWindow to init WINDOW_SETTINGs structs.
(cherry picked from commit beb83e87ea
)
3 months ago
Jeff Young
f10d11d36c
Honour renderSettings' default font.
This still leaves a few things out in the cold,
such as hit-testing and polygon generation.
But at least it allows us to plot with a default
font.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19031
(cherry picked from commit e230d5164d
)
3 months ago
Seth Hillbrand
d9cfb94281
Add wallclock timeout to PNS walkaround
WALKAROUND::singlestep is used by both shove and walkaround modes and
can bog down when applied to clusters with many objects. In these
cases, we are unlikely to find a viable solution and it is beter to
allow the user to find a different ending position
3 months ago
Seth Hillbrand
27d6c36f2d
Add maximum pasted string length
Allows the user to avoid pasting unparsable boards as strings, which
freezes the system as we try to display enormous texts
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20732
(cherry picked from commit c5fde2aeb5
)
6 months ago
Jeff Young
42ccfceebd
Repair COMMON_TOOLS to know about frame-specific WINDOW_SETTINGS
Remove the older architectures for ensuring non-empty
grids and zooms
Move new architecture to PARAM_LIST::Load,
and add zoom support
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21318
(cherry picked from commit 6541202d42
)
3 months ago
Jeff Young
e141a5df3f
Attempt to fix non-Mac builds.
(cherry picked from commit 28da0d3e1e
)
3 months ago
Jeff Young
cff49ba3b4
LIB_TABLE::migrate() is called from Load(), which already has a lock.
3 months ago
Jeff Young
8179d363db
Move CURL shutting-down flag to std::atomic.
Also removes lock from KICAD_CURL::Init(), which
leaves us open to multiple parallel Init()'s, but
it's not clear that happens.
(cherry picked from commit 0c220d1a8c
)
3 months ago
Jeff Young
a1254102e4
Improved thread safety.
(cherry picked from commit f7e85a7b20
)
3 months ago
Jeff Young
73bca72cdb
Thread safety.
(cherry picked from commit 1b21b880e6
)
3 months ago
Jeff Young
2bd6e11dc0
Thread safety.
(cherry picked from commit a1c26e4516
)
3 months ago
Jeff Young
29d34a6e4d
Thread safety.
(cherry picked from commit f0909e125e
)
3 months ago
Jeff Young
c5a3e8e15f
Formatting.
(cherry picked from commit da57c4aa74
)
3 months ago
Jeff Young
166314907d
Better debugging.
(cherry picked from commit 4bc0651a3e
)
3 months ago
Jeff Young
ecb2016047
Kicad SEXPR should no longer need LOCALE_IO.
(cherry picked from commit a7e2878e6b
)
3 months ago
Jeff Young
1e881c6a36
Don't steal unrelated timer events (potentially KICAD-XJN).
(cherry picked from commit d3046e6aee
)
3 months ago
Jeff Young
06933ee9f0
Thread-safety (potentially KICAD-VMX...)
... KICAD-6PV, KICAD-82, KICAD-R3A, and others.
(cherry picked from commit 68d4940087
)
3 months ago
Jeff Young
a0ebf4f571
Quiet wxWidgets assert (KICAD-HRE).
(cherry picked from commit f0c3f469a1
)
3 months ago
Jeff Young
1523f29c83
Lock safety.
("row" should not exceed the lifetime of "lock".)
(cherry picked from commit abc23a313d
)
5 months ago
Jeff Young
30e6f10026
Quiet wxWidgets assert (KICAD-XJ2).
3 months ago
Jeff Young
ac35cbec48
Don't presume a selection.
(cherry picked from commit eb877a2fb4
)
3 months ago
Jeff Young
1b1dee4a2a
Fix copy/pastas.
(cherry picked from commit 66921b5026
)
3 months ago
Jeff Young
6121a4641e
It's too late to flag these at render time.
(And we don't control what kind of nonsense fonts
have either.)
(cherry picked from commit c09fc59ba5
)
3 months ago
Jeff Young
457883db09
Debugging.
(cherry picked from commit be1e79ccd8
)
3 months ago
Jeff Young
4b8ae90444
Don't try to write to non-editable combobox (KICAD-6JS).
(cherry picked from commit 68109fc0a9
)
3 months ago
Jeff Young
9c3f2a20ec
Don't presume a selection (potentially KICAD-8VP).
(cherry picked from commit 34367020c4
)
3 months ago
Jeff Young
ee36806c94
Retire WINDOW_FREEZER in favour of wxWindowUpdateLocker.
Also pulls out previous fix to a Sentry issue I can
no longer find, at least until I figure out what
went wrong.
3 months ago
Jeff Young
aefebbf1b0
Upgrade ShowPlayer re-entrancy guard (KICAD-XAC).
(cherry picked from commit 53c90b0469
)
3 months ago
Jeff Young
4f30fecd84
Multithreaded safety. (KICAD-T5A)
(cherry picked from commit f097fbdfcc
)
4 months ago
Jeff Young
3aca4393ac
Shutdown safety. (Potentially KICAD-TJK.)
(cherry picked from commit 479daa37c5
)
4 months ago
Jeff Young
bee098283c
Don't attempt to update status bar while closing (KICAD-506).
(cherry picked from commit 30adcaa390
)
4 months ago
Mark Roszko
60d428dbac
Add a -n arg for "new instance" to kicad.exe for use with the relaunch command
4 months ago
Mark Roszko
589bfeafe3
Fix shift+middle click on windows no longer working
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21267
4 months ago
Sebastian
c494dbd978
Fix updating embedded drawing sheet by marking true to update the embed drawing files.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20800
(cherry picked from commit 3cafe2e6bb
)
5 months ago
Graham Keeth
fe6add129f
change title case to sentence case in Git preferences
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/20784
(cherry picked from commit 454c95ac51
)
6 months ago
aris-kimi
8b6c314296
Sim:Fix an unescaped while loop
(cherry picked from commit cf5d4df78a
)
4 months ago
Jeff Young
32de29ff4e
More protection for stale wxDataView items.
4 months ago
Jeff Young
7ad1823d41
Attempt to patch SWIG for VIEW_ITEM::GetClass().
(cherry picked from commit da9544dfd1
)
4 months ago
Jeff Young
f8acb1f2d9
Clear seleciton before removing rows. (KICAD-BER).
(cherry picked from commit 275ff1cb4e
)
4 months ago
Jeff Young
d2cf153688
Load appearances presets to render job.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20660
(cherry picked from commit 61986ab7c8
)
6 months ago
Jeff Young
e845ca539c
ADDED: appearance preset selection to Render Jobs.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20682
(cherry picked from commit 70cbdbff89
)
6 months ago
Jeff Young
497a7983cb
ADDED: some individual flags for render jobs.
Also fixes bug where error code wasn't returned.
Also fixes bug where user's preferences were being
overwritten with each job.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20436
(cherry picked from commit d2b3f8ba28
)
7 months ago
Jeff Young
0619bb9179
Formatting.
(cherry picked from commit 0730a0bc86
)
4 months ago
Jeff Young
53a3955eeb
Don't assume a string (KICAD-8QP).
(cherry picked from commit 82d4ab5094
)
4 months ago
Jeff Young
86c475ced9
Debugging for removing items not in the view.
(cherry picked from commit 0375985d58
)
4 months ago
Jeff Young
c52201f427
Assert when nested_settings is null.
(cherry picked from commit 4d06fbce1a
)
4 months ago
Jeff Young
0c28401be1
Don't overflow trying to draw ticks on ruler (KICAD-9HV).
(cherry picked from commit fde693ebe1
)
4 months ago
Jeff Young
8d24b4908c
Nullptr safety (KICAD-AD).
(cherry picked from commit e0bfc220b4
)
4 months ago
Jeff Young
10f5405d24
Don't choke on degenerate polygons.
It's a bit late to be asserting during drawing.
We'd need to know how the object was created to
do anything about it.
(cherry picked from commit 8dc62e1db5
)
4 months ago