Jeff Young
00aed2aa3e
Don't attempt to test for recursion on unsaved file.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16722
2024-01-28 15:37:08 +00:00
jean-pierre charras
a5ffcd0a55
void Prettify(): fix a bug in a corner case, when a string ends with '\'
...
A '\' in a string is encoded as \\.
A '"' in a string is encoded as \".
But prettify parser did not take in account a string encoded as "xx\\" (for xx\)
So we need to verify if a sequence is xx\" or xx\\", i.e. if there are a odd
count of backslashes before a '"'
Fixes #16777
https://gitlab.com/kicad/code/kicad/-/issues/16777
2024-01-28 16:07:52 +01:00
Jeff Young
071d8af5d7
Don't include text in footprint preview widget's autozoom.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16794
2024-01-28 14:35:01 +00:00
Wayne Stambaugh
92308698ba
Coding policy fixes.
2024-01-28 09:26:46 -05:00
jean-pierre charras
06d63a2aa0
pcb_io_kicad_sexpr_parser.cpp: init a default board stackup only if no stackup
...
is defined, and only after the enabled layers are defined.
Fixes #16754
https://gitlab.com/kicad/code/kicad/-/issues/16754
2024-01-28 14:23:50 +01:00
Jeff Young
dd022c44e7
Add missing on-the-fly translation handlers.
2024-01-28 11:42:27 +00:00
Jeff Young
995c4af51d
Deleted items must have their ownership changed to undo/redo.
2024-01-28 11:13:48 +00:00
Jeff Young
9eb8ec7733
Comments and menu-capitalisation.
2024-01-28 11:13:48 +00:00
Jeff Young
27534074ac
Fix errors resulting from FP fields being moved from m_drawings to m_fields.
2024-01-28 11:13:48 +00:00
Marco Ciampa
f6128cd01e
Updated Italian traslation (WIP)
2024-01-28 10:35:01 +01:00
Jeff Young
ade987c101
Fix logic errors in undo while drawing rectangles.
...
Draw 2 rectangles. Start drawing a third, but don't
complete. Hit Ctrl-Z instead. Boom.
2024-01-27 21:18:50 +00:00
Ian McInerney
9f66ddb27f
Attempt to use IsAttached to identify if a menu is a menubar menu
...
We can't get a mouse position for a menubar menu's event, because the
mouse may be outside our canvas. The original hack to detect menubar
menus may not work fully, and there have been some crashes appearing on
macOS where menubar menus attempted to get mouse position information.
Instead of the hack, try using IsAttached() to detect if the menu is
attached to a menubar, and then gate mouse position access accordingly.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16738
2024-01-27 20:59:14 +00:00
Jeff Young
eacebe63f1
We do undo on individual footprint children now.
...
Adding a commit record for the parent means we replace the
parent first on undo and then if a child was added we can't
find it to remove it.
2024-01-27 20:26:50 +00:00
Jeff Young
07cefa7883
More active tracking of undo/redo items.
2024-01-27 20:02:40 +00:00
Jeff Young
54b46c6968
Remove ineffective attempt to fix mac menubar crash.
2024-01-27 17:45:49 +00:00
Jeff Young
f7752ce0a1
Cleanup dead code.
2024-01-27 17:45:48 +00:00
Wayne Stambaugh
2f0337974b
Update schematic connectivity when redoing changes.
...
Apparently we forgot to handle schematic connectivity changes when redoing
undone changes. The same connectivity update logic that was added to the
commit object is now used in SCH_EDIT_FRAME::PutDataInPreviousState().
Please note the granularity of connectivity rebuilds on schematic object
property changes is at the object level which is overly aggressive. This
means that connectivity rebuilds will happen when connectivity changes
that have nothing to do with and objects connectivity are changed. Until
objects can handle their own connectivity state, this will have to suffice.
2024-01-27 12:02:53 -05:00
jean-pierre charras
715a5ee47b
array_creator: fix issues (crashes) in board editor and footprint editor:
...
- In fp editor, fields cannot be duplicated: each is unique.
duplicating fields created a crash and issues in undo/redo command
- In board editor after creating an array with footprints.
- crash when closing pcbnew
- error when undoing the array creation
The crash was due to call run this_item->RunOnDescendants() on footprints: it
must be run only on a PCB_GROUP.
2024-01-27 17:02:20 +01:00
Jeff Young
c0cbaa4c53
Finish earlier commit that somehow escaped my notice.
...
(String is existing.)
2024-01-27 15:55:05 +00:00
Jeff Young
d2f0acae6b
Expose pin visibility to property manager.
...
Also re-orders properties in Pin Properties dialog order.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16785
2024-01-27 15:52:59 +00:00
Jeff Young
a8f6329590
Remove stale comment.
2024-01-27 15:52:59 +00:00
jean-pierre charras
c980371892
Update French translation
2024-01-27 09:41:19 +01:00
jean-pierre charras
ad1a929404
Do not mark an empty string as translatable
...
It is not accepted by our tools
2024-01-27 09:06:03 +01:00
Jeff Young
ceb8beb8c4
Move ChangeBodyStyle and CleanupSheetPins to SCH_COMMIT.
...
Also fixes a bug where showDeMorganAlternate didn't work
at all.
2024-01-26 22:29:51 +00:00
Seth Hillbrand
dee4e00059
Update translations
2024-01-26 13:06:14 -08:00
CloverGit
a0513bc468
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (9148 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2024-01-26 22:05:46 +01:00
Henrik Kauhanen
c279df642f
Translated using Weblate (Swedish)
...
Currently translated at 99.9% (9147 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2024-01-26 22:05:46 +01:00
Ulices
258096bc16
Translated using Weblate (Spanish (Mexico))
...
Currently translated at 88.6% (8110 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es_MX/
2024-01-26 22:05:46 +01:00
Hubert Hu
4aa994d67e
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (9148 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2024-01-26 22:05:46 +01:00
Henrik Kauhanen
12fedddba2
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (9148 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2024-01-26 22:05:46 +01:00
Henrik Kauhanen
32c343ad18
Translated using Weblate (Finnish)
...
Currently translated at 99.9% (9140 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/fi/
2024-01-26 22:05:46 +01:00
Ulices
a92020424c
Translated using Weblate (Spanish (Mexico))
...
Currently translated at 88.0% (8053 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es_MX/
2024-01-26 22:05:46 +01:00
Wellington Terumi Uemura
a11e51fb6c
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (9148 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
2024-01-26 22:05:46 +01:00
向阳阳
25e42f4de0
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (9148 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2024-01-26 22:05:46 +01:00
dsa-t
d0d8eb97fa
Translated using Weblate (Russian)
...
Currently translated at 100.0% (9148 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2024-01-26 22:05:46 +01:00
向阳阳
9b9876f4a0
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (9148 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2024-01-26 22:05:46 +01:00
Ulices
774ae500b0
Translated using Weblate (Spanish (Mexico))
...
Currently translated at 87.9% (8047 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es_MX/
2024-01-26 22:05:46 +01:00
Hubert Hu
1d56b7c153
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (9148 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2024-01-26 22:05:46 +01:00
Pferd O
5dd19a6895
Translated using Weblate (German)
...
Currently translated at 100.0% (9148 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2024-01-26 22:05:45 +01:00
Hubert Hu
77a1aac56e
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 94.4% (8642 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2024-01-26 22:05:45 +01:00
Tokita, Hiroshi
2c8f7ecf88
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (9148 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2024-01-26 22:05:45 +01:00
Hubert Hu
68673f63e0
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 94.0% (8604 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2024-01-26 22:05:45 +01:00
Hubert Hu
8222a102fe
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 94.0% (8603 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2024-01-26 22:05:45 +01:00
Hubert Hu
c1cbc8f1d8
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 94.0% (8602 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2024-01-26 22:05:45 +01:00
Henrik Kauhanen
ee5822b4dc
Translated using Weblate (Swedish)
...
Currently translated at 99.9% (9147 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2024-01-26 22:05:45 +01:00
ZbeeGin
18438bbc2e
Translated using Weblate (Polish)
...
Currently translated at 100.0% (9148 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2024-01-26 22:05:45 +01:00
김랑기
2d9af7ed0a
Translated using Weblate (Korean)
...
Currently translated at 96.1% (8797 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2024-01-26 22:05:45 +01:00
aris-kimi
71ce2f7f67
Translated using Weblate (Greek)
...
Currently translated at 100.0% (9148 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/el/
2024-01-26 22:05:45 +01:00
Pferd O
a3fa965225
Translated using Weblate (German)
...
Currently translated at 99.9% (9144 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2024-01-26 22:05:45 +01:00
Henrik Kauhanen
d0a37964c1
Translated using Weblate (German)
...
Currently translated at 99.9% (9144 of 9148 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2024-01-26 22:05:45 +01:00