Alex Shvartzkop
0b4ff7b859
Improve indicator icons in hidpi monitors.
2024-05-26 01:16:47 +03:00
Jeff Young
f1aea810cb
Add knockout text support to IPC2581.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18042
2024-05-25 22:30:41 +01:00
Jeff Young
b0dddb6d95
Formatting.
2024-05-25 22:06:38 +01:00
Jeff Young
34dbee0693
Show text item anchor locations in schematic.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17668
2024-05-25 21:40:37 +01:00
dsa-t
9a1b3471fd
Revert "Improve toolbar bitmap redraw performance on Windows."
...
This reverts commit 6170151cbc
2024-05-25 20:32:48 +00:00
Alex Shvartzkop
b89d4a7f20
3D model export improvements:
...
- Option to export pads separately from tracks+vias
- Options export silkscreen and soldermask as flat faces
- Improve 3D model export dialog layout
- Use VisMaterialTool to specify metallic-roughness for glTF.
- Less OCCT boolean operations (faster, less bugs)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2072
2024-05-25 22:27:01 +03:00
Alex Shvartzkop
6170151cbc
Improve toolbar bitmap redraw performance on Windows.
...
Especially noticeable on high dpi.
2024-05-25 21:47:51 +03:00
Marek Roszko
7dee29f70a
Hackfix some cases the IME on windows locks up
...
Asking the IME to cancel when the canvas takes focus fixes the case where:
- Windows input lang set to Chinese
- Input mode set to english instead of chinese
- You spam the M key while launching a sch/pcb from the kicad.exe until the editor opens
- The windows would then normally be frozen
2024-05-25 13:25:10 -04:00
jean-pierre charras
3065ae1f01
PANEL_EESCHEMA_COLOR_SETTINGS: fix incorrect symbol drawing.
...
Graphics items were not modified when the LIB_SYMBOL Y axis orientation was
modified, making the symbol body not visible in panel canvas.
2024-05-25 18:01:51 +02:00
Marek Roszko
808517dd74
Remove no longer needed hack on msw with wx 3.2.5
...
wxButton::GetDefaultSize was fixed and returns the correct size now
2024-05-25 10:45:27 -04:00
Marek Roszko
ba65231f6b
Move vcpkg to wx 3.2.5
2024-05-25 10:29:02 -04:00
Jeff Young
1c77e087a7
Add a sprinkling of GetPixelScaleFactor() for MacOs.
2024-05-25 14:26:43 +01:00
Jeff Young
17308e821f
Formatting.
2024-05-25 12:05:13 +01:00
Jeff Young
26fe4c05e1
CmpNoCase() returns 0 for a match (which evals to false as a bool).
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18087
2024-05-25 12:05:13 +01:00
Jeff Young
89fa83bcc2
Formatting.
2024-05-25 12:05:13 +01:00
Alex Shvartzkop
894bf45480
Make color picker dialog usable on hidpi monitors.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17860
2024-05-25 04:13:13 +03:00
Marek Roszko
e9fde0051f
Don't let CaptureCursor fight modal dialog
2024-05-24 18:57:24 -04:00
Alex Shvartzkop
1971faa81e
Fix very tall Plot dialog on GTK.
...
Some scrollable controls need wxFIXED_MINSIZE, on some platforms, apparently.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16926
8.0 commit: f9a9db6503
2024-05-24 23:42:10 +03:00
Jeff Young
bda0a73c63
Set swatch background colors.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17564
2024-05-24 21:26:20 +01:00
Jeff Young
a678d0d710
Delete tuning patterns in Unroute Selected.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18065
2024-05-24 19:24:09 +01:00
Jeff Young
ecb7cd6b84
Fix color-swatch sizing on MacOS.
...
Also fixes BITMAP_BUTTON sizing.
2024-05-24 18:27:15 +01:00
dsa-t
6baceedea4
Switch length tuner settings action scope to global to make the hotkey work.
...
(cherry picked from commit 8d001a8031
)
Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2024-05-24 14:47:48 +00:00
Jeff Young
397ae3bafd
Support wildcards and regEx's in Net Inspector.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18071
2024-05-24 12:24:05 +01:00
Marek Roszko
132ecee665
Don't reset the view controls state just because we are setting the already active tool state again
2024-05-23 22:23:34 -04:00
Jeff Young
032b5a6d65
Fetch board finish before exporting stackup to clipboard.
...
Also fixes some backward logic in setting modified flag.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17089
2024-05-23 18:30:58 +01:00
Alex Shvartzkop
884051fae1
Update status bar widths on DPI change.
2024-05-23 20:22:13 +03:00
Jeff Young
f7c7791b6c
Honour shift-key for spin buttons in 3D preview.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17541
2024-05-23 17:01:27 +01:00
Jeff Young
98496dfa60
Formatting.
2024-05-23 16:31:53 +01:00
Jeff Young
d5c3a4036c
Process clearance rules for plated holes in router.
...
Also makes sure the clearance is shown for a collision,
even if the preference for showing clearances is off.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18078
2024-05-23 16:26:43 +01:00
Jon Evans
81efc7778a
Fix bad clearance logic in cecc1a2f
...
(cherry picked from commit a1cd73e730
)
Co-authored-by: Jon Evans <jon@craftyjon.com>
2024-05-23 15:21:40 +00:00
Mike Williams
3f4c82b39b
annotate: cleanup Annote event name to match button
2024-05-23 09:47:30 -04:00
Mike Williams
8d8fa155f7
annotate: remove dead code
...
Never gets called as we will always have a message.
2024-05-23 09:47:30 -04:00
Mike Williams
39f355e71d
annotation: also report cleared annotations
2024-05-23 09:47:30 -04:00
Jon Evans
5b3b0ff836
Use true arc collision for segment<>arc
...
Using an approximation here results in different collision
results for segment<>arc than point<>arc, which
can cause odd behavior in the router.
2024-05-23 08:56:10 -04: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
Jeff Young
edae328ca6
Push multi-sweep traces down into MathPlot.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17215
2024-05-23 12:24:56 +01:00
John Beard
0bcd5e5795
Eeschema: Also make 'note' backgrounds translucent on selection
...
For the same reason as device backgrounds - it obscures everything
else while moving a filled shape.
2024-05-23 16:51:06 +08:00
John Beard
5a69b163a3
Fix translucency when selecting a filled shape in the symbol editor
...
Overriding the color in draw() throws away the alpha that was set
due to aItem->IsSelected() in getRenderColor().
Instead, get the layer BG fill color in getRenderColor() before
the translucency is applied.
2024-05-23 16:51:06 +08:00
Alex Shvartzkop
e817f68f8e
Remove unused header.
2024-05-23 08:30:55 +03:00
Alex Shvartzkop
ef148d372d
Set current scale factor for generated bitmaps in color swatch.
...
Therefore, the bitmaps will be drawn as-is.
2024-05-23 08:30:55 +03:00
John Beard
fd4c15517f
Eeschema: Fix selection of items inside filled shapes
...
The selection heuristic broke down when one item was a filled
shape. Because all hit tests would succeed with distance 0 for
these shapes, they would always be considered the closest item
to the exclusion of all else, which made it very hard to
click on a graphic inside a filled shape.
Now, recognise when an item would be "dominating" and
decline to promote it to the "closet" spot. It will still
be selectable if there are no other items nearby, or if
there are multiple shapes.
2024-05-23 12:53:09 +08:00
Alex Shvartzkop
cd83666b72
Draw x2 and x3 swatch bitmaps in layer selectors.
2024-05-23 05:09:39 +03:00
Alex Shvartzkop
c2a80092d7
Draw fp grid layer swatch in proper scaling on hidpi.
2024-05-23 05:09:39 +03:00
Seth Hillbrand
f74d1060d4
Ensure that the copper conn check re-adds epsilon
...
When checking if the particular rule is what is being checked, we rely
on the value of the minimum width. Since we modified that to allow
width checking, this re-adds it for the comparison
2024-05-22 16:30:09 -07:00
Seth Hillbrand
bce560d05f
Include DRC Epsilon in connection width checker
...
Avoids rounding errors flagging connections too small by nanometers
2024-05-22 16:15:51 -07:00
Alex Shvartzkop
85f5b8849e
Invalidate control sizes in ACTION_TOOLBAR.
2024-05-23 00:40:47 +03:00
Alex Shvartzkop
492ce600a4
Improve message panel alignment on hidpi monitors.
2024-05-23 00:40:47 +03:00
Alex Shvartzkop
77b285c8ce
Improve BITMAP_BUTTON behaviour when changing DPI.
2024-05-23 00:40:47 +03:00
Jeff Young
856d03dbe2
Create signals from .save directives (as well as .probe directives).
...
(Also fixes a bug where we only looked for a single
token after .probe.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18057
2024-05-22 22:37:57 +01:00
Jeff Young
3944d8abc9
Formatting.
2024-05-22 22:37:57 +01:00