Jeff Young
72a59c547c
Formatting and better use of common code.
2025-02-02 15:00:52 +00:00
Ethan Chien
d96479dd34
Windows: Add post-build script for installation and file copying
2025-02-02 07:55:11 +08:00
Jeff Young
8874f137fa
Read hotkeys from disk after they change.
...
(Otherwise we'll write the old versions back out
when closing one app.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19612
2025-02-01 20:01:13 +00:00
Jeff Young
ada1a9b054
Formatting.
2025-02-01 17:39:24 +00:00
Seth Hillbrand
56ca054c0d
Add new table icon
...
Replace a couple uses of the old spreadsheet
2025-02-01 09:53:12 -06:00
Jeff Young
5dc8e9a5de
Formatting.
2025-02-01 11:38:07 +00:00
jean-pierre charras
91d5238f4c
DIALOG_XXX_JOB_XXX: fix min size and other minor fix.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19811
2025-02-01 10:44:25 +01:00
jean-pierre charras
bc25044e78
Eeschema, advanced_config: enable Cairo to export to clipboard by default.
2025-01-31 19:31:43 +01:00
John Beard
30affcd7a1
QA: side-step wxSize printer not working for some
...
Not sure what it is that caused it to break (reported by
Seth on Linux, but works for me and on the CI).
Rather than trying to be clever at this point, just do the dumb
thing (and remove the boost_test_print_type for wxSize to prevent
someone using it for the time being).
2025-02-01 00:35:13 +08:00
Mark Roszko
a7f5fc45e7
Widths in WX_GRID_AUTOSIZER should account for dpi scaling
2025-01-31 11:14:40 -05:00
Mark Roszko
88a404580a
Fix DPI scaling on Configure Paths
2025-01-31 11:10:39 -05:00
Mark Roszko
29311393a5
Set a min size on the layer pair grid or else it bugs out when the first entry is added
2025-01-31 11:04:35 -05:00
Mark Roszko
e765ad0c2f
Kill unused var warning
2025-01-31 11:00:07 -05:00
Mark Roszko
d9809fb816
Partially fix the DIALOG_LAYER_SELECTION_BASE
2025-01-31 10:59:42 -05:00
Mark Roszko
50e2a12e17
Fix palette icon scaling on Windows, also extend KiBitmapBundle because we use bundles wrong
...
wxBitmapBundle assumes the smallest bitmap added is the intended "original" size for a particular use case.
And generally that is probably true. However, we re-use icons in some places where we intend for them to start at 16
or start at 24. This is problematic when GetPreferredBitmapSizeFor is called for calculations because it'll return the
16*scale number instead of 24*scale number. So let's just allow passing in a min height restriction to KiBitmapBundle
for when we reuse bitmaps.
2025-01-31 10:37:00 -05:00
John Beard
636c6c4efb
Eeschema/pcbnew: fix pasted image saving
...
The m_imageData buffer in the BITMAP_BASE is an
internal implementation - the public API to persist the
data to a stream appears to be SaveImageData - so use that,
which hides the implementation (and generates the image data
"live" when needed).
Remove the public access to the m_imageData buffer as it isn't
needed for public use, and also is misleading.
Also break out the formatting of the data into KICAD_FORMAT,
as it's currently replicated in eeschema/pcb/pagelayout
formatting code.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/19772
2025-01-31 23:01:07 +08:00
Roberto Fernandez Bautista
c5120b9090
Add fake-autoroute to context menus (router and edit)
2025-01-31 15:49:27 +01:00
Seth Hillbrand
8955e33e80
Update grid icons
...
Adds a new grid override icon. In the process, I noticed that the other
grid icons were not pixel aligned. So this also updates all of the grid
icons to align the points
2025-01-31 08:44:23 -06:00
Mark Roszko
4037894b99
Complete the hi-dpi fixes, woops
2025-01-31 08:32:13 -05:00
Mark Roszko
74b174e4f0
Add "source" field for jobsets to discern SCH & PCB jobs
2025-01-31 08:16:26 -05:00
Mark Roszko
062a813139
Make EDA_LIST_DIALOG more hi-dpi friendly
2025-01-31 08:15:07 -05:00
Mark Roszko
afb61b3b4e
Disable C4746
2025-01-31 03:48:29 -05:00
jean-pierre charras
9e510759b8
FP_LIB_TABLE_ROW::LibraryExists(): ensure environment variables are expanded
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19800
2025-01-31 09:14:42 +01:00
Seth Hillbrand
d4c9e1f069
Adjust LayerDepthFactor to account for layer size
...
We need to draw all layers on top of the layer behind us, the factor is
rather arbitrary but needs to ensure that the step is still below 0 when
subtracted using the full layer size
Fixes https://gitlab.com/kicad/code/kicad/issues/19795
2025-01-30 16:35:05 -06:00
Jeff Young
ccb39fb775
Formatting.
2025-01-30 18:16:42 +00:00
Jeff Young
a5d643cbaa
Formatting.
2025-01-30 13:02:07 +00:00
Jeff Young
9083c9e6ab
Remove dead code.
2025-01-29 20:54:33 +00:00
Jeff Young
0c4ff6b640
No inheritance for table ruling line styles.
2025-01-29 20:54:33 +00:00
Jeff Young
8bdc7f108b
Report errors when library is missing.
2025-01-29 20:54:33 +00:00
Ian McInerney
4cf8274b2b
Silence errors from file watchers when adding files
...
The file watcher can throw errors on Linux that are very cryptic and
actually not very useful to users, so let's hide them since there isn't
really any problem that comes from this.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15717
2025-01-29 19:34:00 +00:00
jean-pierre charras
799ea8317d
spread_footprints.cpp, SpreadFootprints(): fix incorrect conversion int to uint64
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19780
2025-01-29 19:43:17 +01:00
Alex Shvartzkop
3baa6cd791
Update translations
2025-01-29 19:59:04 +03:00
John Beard
12dc00b8d8
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 99.9% (9974 of 9975 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
2025-01-29 17:58:42 +01:00
John Beard
09c8ac2038
Translated using Weblate (Chinese (Traditional Han script))
...
Currently translated at 91.6% (9142 of 9975 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
2025-01-29 17:58:42 +01:00
ZbeeGin
36e155ee58
Translated using Weblate (Polish)
...
Currently translated at 100.0% (9975 of 9975 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2025-01-29 17:58:42 +01:00
Pferd O
4ec8aee7d8
Translated using Weblate (German)
...
Currently translated at 100.0% (9975 of 9975 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2025-01-29 17:58:42 +01:00
109247019824
25a49a64a6
Translated using Weblate (Bulgarian)
...
Currently translated at 7.3% (737 of 9975 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/bg/
2025-01-29 17:58:41 +01:00
Seth Hillbrand
c436207659
Update new bitmaps
...
Forgot to commit the bitmap_info previously
Updated the jobset to be usable for new and open forms
Added remaining icon references
2025-01-29 09:33:31 -06:00
Seth Hillbrand
3260aa2213
Utilize libpopcnt
...
We need to be sure to reference the include when pulling in
dynamic_bitset
2025-01-29 08:18:46 -06:00
Seth Hillbrand
94444adb54
Don't take references to casts
...
We don't really save cycles and this can lead to unexpected behavior
when the compiler decides that the sizes of the two types are different
2025-01-29 08:17:27 -06:00
Seth Hillbrand
683be91b60
Adding new icons
2025-01-29 05:42:57 -06:00
Jeff Young
3078d82bd5
Don't wait for mouse-move to update screen.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19771
2025-01-29 11:23:56 +00:00
Jeff Young
fb87ea6837
Nothing wrong with a NPTH pad with no layers.
...
Also fixes PTH anchor layer warning to mention "outer".
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19752
2025-01-29 10:32:58 +00:00
Seth Hillbrand
112e8e7ccb
Remove a few more crashers
...
Need to check SYM_LIB_TABLE_ENTRY for null but need to check
FP_LIB_TABLE_ENTRY for throwing
2025-01-29 00:00:11 -06:00
Seth Hillbrand
9beca90185
Ensure that new text objects are "new"
...
Setting the new object flag ensures that we do not commit changes in the
dialog, before the object is placed on the canvas
Fixes https://gitlab.com/kicad/code/kicad/issues/19778
2025-01-28 23:16:46 -06:00
Damjan
46ada43166
Eeschema: Import sheet pins: sort pin names intelligently
2025-01-29 04:16:35 +00:00
Damjan
c6e049df2a
Pcbnew: isDrag detection in Table creation tool
...
Drag breaks the UI when in the create table action
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19767
2025-01-29 01:25:37 +00:00
Ian McInerney
088e0e80a1
Fix layer writing/reading for copper zones
...
* Always enumerate layers - never use the wildcards
* Keep fills on layers the zone is actually on when loading
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19775
2025-01-29 00:31:28 +00:00
Seth Hillbrand
3f90cfb0ca
Fix up git warning
2025-01-28 12:22:39 -08:00
Seth Hillbrand
81fbaacae2
Keep track of user layer mapping for footprints
...
Footprints in orgs have standard naming. We need to allow designers to
keep their standard namings outside of boards where they are fixed.
This belongs in the preferences as a set-once for local standards
2025-01-28 12:22:39 -08:00