Seth Hillbrand
3a00c7b5ab
Fix compile
3 weeks ago
Jeff Young
260b0a9135
Catch exceptions thrown from nanodbc::statement's d'tor.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21707
3 weeks ago
Jeff Young
d7fd48be1a
Guard netmap cache against simultaneous access.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21732
3 weeks ago
Jeff Young
6559717fee
if( bool ) and if( std::optional<bool> ) are not the same.
3 weeks ago
jean-pierre charras
623b012b26
DIALOG_LIB_SYMBOL_PROPERTIES: for fields Y pos, remove the sign handling.
This was a legacy thing. some time ago the Y axis of symbol graphics was
bottom to top, opposite of schematic Y axis.
This is no longer the case (since some time) and the Y sign change is a bug.
Note: for symbol files, the Y axis of symbol graphics is still bottom to top.
3 weeks ago
jean-pierre charras
bde90d164e
StickHub demo update
3 weeks ago
Mark Roszko
edc8d38b7a
Fix doxygen build by using newer fedora 42 w/ fixed doxygen
3 weeks ago
Seth Hillbrand
bbf3516611
Fix QA
ToStdString does not work in C locale
3 weeks ago
Jeff Young
7003c0639e
Make sure exclusion hotkey works when dialog has focus.
(Potentially only required on MSW. Not required
on MacOS, unknown on GTK.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21761
3 weeks ago
Seth Hillbrand
ba988ccbb1
Generalize the PDF qa test
3 weeks ago
Seth Hillbrand
a6e285af95
Properly use utilities to find font
Local builds are all relative but CI builds need to set data resources
locations
3 weeks ago
Mark Roszko
d16d5f1299
Improve the step default board body color
3 weeks ago
jean-pierre charras
c2ed4f6b88
Pin name: fix position of shadow text of selected pins when inside
3 weeks ago
Mark Roszko
8854646b55
Switch to multi-part meshes and use overall mesh colors for 3d pdf.
Adobe PDF doesn't support per vertex colors with normal vectors.
3 weeks ago
Jeff Young
35abc8e33e
Nullptr safety & performance tweaks.
3 weeks ago
Jeff Young
6edae8fb1a
Uninitialised variables.
3 weeks ago
Jeff Young
ac775e716f
Simplify annotation graphics for DRC markers.
Also includes some performance tweaks, mostly around
not copying large structures.
3 weeks ago
Jeff Young
33f1ada4cd
Make sure marker zoom is correctly set before fetching scale.
4 weeks ago
Jeff Young
6b2cbe6511
Formatting.
4 weeks ago
Seth Hillbrand
d5e03741b7
When using git, show all files
Git tracks the status of files in the repository, so we shouldn't hide
the non-root schematics
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21583
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21583
3 weeks ago
Seth Hillbrand
5d50dc7ced
Preserve as much footprint data as possible
When updating the footprint from library, try to match as many things to
their new counterparts as possible to minimize VCS churn
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21308
3 weeks ago
Seth Hillbrand
a07c4921a8
Sanity checks in design settings
3 weeks ago
Alex Shvartzkop
ddff3ff5ad
STEP export: don't return non-zero error code on non-fatal errors.
3 weeks ago
Mark Roszko
94856f1ffa
Make ERC/DRC jobs default to fail on violation count
3 weeks ago
Seth Hillbrand
5ed46b823b
Do not hang onto previous elements
When using multi-label input or repeat commands, the previous element
should be deselected so that we can properly transform the current
element
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21765
4 weeks ago
Mark Roszko
4815b22e7c
Fix dialog file extension for 3dpdf export
4 weeks ago
Mark Roszko
979947fbbd
Fix build on linux
4 weeks ago
Mark Roszko
64150a5690
Fix 3dpdf export from dialog
4 weeks ago
Marek Roszko
ad7bdf5b87
ADDED: 3D PDF Export
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/4439
4 weeks ago
Mark Roszko
41790e0831
Prevent file read error on non-existent uid
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/21760
4 weeks ago
Seth Hillbrand
1af6eb5df8
Prevent recursion in python logging
Just redirecting output might cause recursion if the flush stream is
provided to the window, causing output, which causes a flush. This
proxy prevents that by redirecting flush calls to the original stderr
and message output to the window
4 weeks ago
Seth Hillbrand
48fc638f6e
Fix symbol pin layout
Properly center names/numbers on the pins when outside and left align to
the edge when inside
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21735
4 weeks ago
Seth Hillbrand
69766844d8
Cache Harfbuzz results
Should speed up at least some of the Windows outline font woes
4 weeks ago
Seth Hillbrand
753afc7f37
ADDED: Plot uses the KiCad font, embedded in PDF
Creates a Type-3 representation of our stroke font, embeds it in the PDF
and then causes text to be represented in that font.
This prevents the need for over-stroking and keeps our PDFs searchable
and accessible
4 weeks ago
Seth Hillbrand
e46bcd3d5a
Prevent pads for forcing each other to flash
Conditional flashing should be reserved for elements that will be on the
board regardless of their flash state. Footprints likewise should not
cause internal elements to flash since the footprint elements are fixed
as a unit and if you want the layer flashed, you just design it that way
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21737
4 weeks ago
Jeff Young
48c9145177
Static cast safety.
4 weeks ago
Jeff Young
37df36be62
Catch all errors thrown by nanodbc.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21707
4 weeks ago
Seth Hillbrand
9c0727f28e
We need to clamp the index to max - 1
What did we think this was? Pascal?
Fixes https://gitlab.com/kicad/code/kicad/issues/21750
4 weeks ago
Seth Hillbrand
c8f04af55a
Do not leave stale edges floating around
We assume that all net edges are valid in too many places
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21745
(cherry picked from commit b89d77bf36
)
4 weeks ago
Alex Shvartzkop
89af3c34b9
Support vector graphics drag-and-drop in PCB and schematic editors.
This just shows the import dialogs with filename pre-populated.
4 weeks ago
Jeff Young
425b77b34c
wxString::both goes with Strip(), not Trim().
But Strip() is deprecated, so we shouldn't use it
(or wxString::leading/trailing/both) at all.
4 weeks ago
Jeff Young
87739c8ac7
wxStringTokenizer usage cleanup.
1) Always be explicit about what the delimiters are
2) If space is a delimiter, we probably want to skip
empty fields (wxTOKEN_STRTOK)
3) If space is not a delimiter, we often need to
trim the resultant tokens
4) Be more lenient about \t\r\n (and when they are
included, include them in the same order)
4 weeks ago
Mark Roszko
bad00cdceb
Fix the panel setup rules not being committed properly
4 weeks ago
Mark Roszko
aefaa521d1
Fix up arm assembly compiling on windows
4 weeks ago
Seth Hillbrand
4fcc2ac7e2
Ensure new symbols obey the observed sheet number
Internal numerology will not make sense when annotating, so use the
observed sheet number and let the algo ensure that numbers are not
duplicated
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21637
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19138
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16632
4 weeks ago
Mark Roszko
bda994c00a
Edit ConfigurePlatform.cmake
4 weeks ago
Mark Roszko
e02008630f
Also set CMAKE_SYSTEM_PROCESSOR in win cross compile
4 weeks ago
Jeff Young
9ddb5465e1
Don't overwrite footprint filters created from multiple tokens in footprint column.
4 weeks ago
Jeff Young
91405ae34d
ADDED: support for multiple footprints in the footprint json from HTTP libraries
These are semi-colon-separated.
This is different from the footprint_filters dict entry, which is space-separated.
The first footprint in the footprint dict entry
will go into the "Footprint" field, while the rest
will go into the symbol's footprint filters.
4 weeks ago
Jeff Young
427c9da2f3
Parallelize copper graphic checking.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21744
4 weeks ago