Commit Graph

1378 Commits

Author SHA1 Message Date
Marek Roszko 002fb80c2a Fix string in cli for 2581
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16881
2024-02-05 00:52:57 -05:00
Wayne Stambaugh 92c2ddf77a Do not parent dialogs to non top level windows in panels or widgets. 2024-02-03 10:40:28 -05:00
Ian McInerney d44b04978a Allow enabling WXTRACE in release builds on all platforms
Setting the environment variable KICAD_ENABLE_WXTRACE now enables wx
trace logging on all platforms. MSW still requires its original
environment variables to be set to get the console displayed.
2024-02-02 14:21:33 +00:00
Wayne Stambaugh 2b1bf369f2 Do not parent file or directory dialogs to panels.
Parenting dialogs to child windows of top level windows is most likely
not defined behavior.  It's also likely that this behavior varies across
platforms so it' best not to risk doing it.  wxWidgets does not check if
the dialog parent is actually a top level window.  There may be other
places we are doing this with our message dialogs so we should do an
audit.
2024-02-02 09:20:36 -05:00
Marek Roszko f795c1168d Fix typo 2024-01-31 06:55:32 -05:00
Marek Roszko c8d24b7613 Add missing IPC2581 cli support 2024-01-30 20:42:34 -05:00
Marek Roszko 7f5433f0f2 Realize why we sch parity wasnt included in cli drc
Need to add schematic loading...to the pcbnew jobs handler
2024-01-25 22:19:52 -05:00
Marek Roszko 465ccaef90 Add missing schematic parity drc test to cli 2024-01-25 22:14:49 -05:00
Marek Roszko 5d44e090dc Fix shadowed var 2024-01-25 19:55:02 -05:00
Marek Roszko 5321c1c481 Create the import directory if it doesn't exist
Fixes sentry KICAD-6BC
2024-01-24 20:35:03 -05:00
Marek Roszko a85478df97 Test the directory opened explicitly to silence assert
Fixes KICAD-6FY
2024-01-23 22:37:22 -05:00
Seth Hillbrand 92ed389ad2 Add cir file icon to treeview
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15777
2024-01-22 15:24:00 -08:00
Jan Wichmann b65fa46c3c Move git clone to standard create project
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16523
2024-01-19 23:52:37 +00:00
Marek Roszko b41cd7981e Try and fix pcm somewhat with FromDIP
We really need FromDIP in the base class to get things correct ugh
2024-01-17 22:52:01 -05:00
Marek Roszko 7709de3667 FromDIP the left tree view in kicad frame 2024-01-17 21:57:23 -05:00
Seth Hillbrand 9077c9fb80 Avoid assertion when changing projects
If the regex does not compile, we should not be checking for matches
2024-01-16 15:24:32 -08:00
Marek Roszko b4bfdf95d3 Explicitly add 48, 128, 256 to icon bundles for each app 2024-01-16 17:21:44 -05:00
Marek Roszko 918327efb3 Use FromDIP helper for initial kicad frame size 2024-01-16 15:24:49 -05:00
jean-pierre charras 3f70387a17 KISTATUSBAR: code refinement and add comments 2024-01-07 09:47:40 +01:00
jean-pierre charras 1649b7dd56 Kicad manager: fix some issues about the wxStatusBar:
- fix broken code KICAD_MANAGER_FRAME::PrintPrjInfo()
- fix issues created by using KISTATUSBAR instead of wxStatusBar
(the user field count differs because there are 4 other fields added)
- do do use a fixed size in KISTATUSBAR for FIELD_OFFSET_BGJOB_TEXT field:
fixed field size does not work fine if the text to display is not known
Fixes #16535
https://gitlab.com/kicad/code/kicad/-/issues/16535
2024-01-06 20:23:37 +01:00
Ian McInerney 8d9185919a Give git-based projects a default file extension on repo clone
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16523
2024-01-05 12:36:12 +00:00
Marek Roszko 675e126eae Use the new flag() shorthand for arg setup 2024-01-03 21:39:54 -05:00
Marek Roszko 58af6b8dea Add missing drill precision arg integer specifier
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16508
2024-01-03 21:29:02 -05:00
Marek Roszko 9195de9849 Disable the update check on non-apple, non windows systems by default 2024-01-03 19:32:05 -05:00
Marek Roszko 9a890cdba9 Kick the wildcards and file exts into a static class, export it from kicommon 2023-12-27 21:10:01 -05:00
Alex Shvartzkop 5bbe01b570 EasyEDA Pro: support .elibz format (device libraries) 2023-12-25 07:00:24 +03:00
Ian McInerney e6632bb983 Rename PCB IO classes/files 2023-12-24 01:22:21 +00:00
Ian McInerney d8b47d18d3 Initial rename of file plugin infrastructure components to IO 2023-12-24 01:22:21 +00:00
Seth Hillbrand 5f234211f9 Remove __WXWINDOWS__ defines
__WXWINDOWS__ is for all of our builds.  __WXMSW__ is for windows only
2023-12-21 08:57:28 -08:00
Wayne Stambaugh 922aee1532 Coding policy fixes. 2023-12-20 07:17:23 -05:00
Wayne Stambaugh a4b38fbb80 Coverity warning fixes. 2023-12-18 16:09:13 -05:00
Marek Roszko 8849891893 Add a update notice modal dialog instead of the incomplete notifications 2023-12-16 06:47:41 -05:00
Marek Roszko 140a734589 Remove hardcoded test version 2023-12-13 22:36:18 -05:00
Marek Roszko 2c7e56aec3 Fix include path 2023-12-13 21:18:22 -05:00
Marek Roszko c8f646efb1 ADDED: KiCad update check
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15026
2023-12-13 20:47:40 -05:00
Wayne Stambaugh 5fa274ead0 Add board layer view stack up sequence from front layer to back layer.
The old bottom to top layer stack up sequence from back to front layer was
only used for plotting so it was renamed appropriately.  This will be used
for future board object select disambiguation improvements.
2023-12-11 15:07:58 -05:00
Graham Keeth 541e0a0aaa cli: fp export svg uses an output dir, not file 2023-12-11 09:41:57 +00:00
Graham Keeth 5f189ec3fd cli: help string cleanup
- fix some typos
- capitalization consistency
- Reword exit code argument
2023-12-11 09:41:57 +00:00
jean-pierre charras 98dca3b774 Another workaround libgit2 API change for supporting older platforms 2023-12-11 10:06:09 +01:00
Wayne Stambaugh b7dc7e90ac Minor string fixes. 2023-12-08 13:09:16 -05:00
Alex Shvartzkop 7e2705e444 Revert "CLI: set default Gerber drill format to 4.5 mm."
This reverts commit a06d93a383.
2023-12-05 15:33:55 +03:00
Alex Shvartzkop ec06d5e475 Revert "CLI: set default Gerber precision to 4.5 mm."
This reverts commit 754a6dcd0a.
2023-12-05 15:33:55 +03:00
Alex Shvartzkop 0afc516107 CLI: fix strings in 3D export. 2023-12-05 13:56:01 +03:00
Alex Shvartzkop a06d93a383 CLI: set default Gerber drill format to 4.5 mm.
For compatibility with fabs.
2023-12-04 22:29:02 +03:00
Alex Shvartzkop 34b30d2586 "kicad-cli pcb export drill": hook up --gerber-precision.
7.0 commit: 5140fd7819
2023-12-04 22:10:03 +03:00
Alex Shvartzkop 754a6dcd0a CLI: set default Gerber precision to 4.5 mm.
Many fabs still don't work correctly with 4.6 mm precision Gerbers.
2023-12-04 09:52:31 +03:00
Seth Hillbrand 4bc055d5d0 Don't keep showing the same error message
When updating on a timer, if there is an error, just show it once and be
done
2023-12-01 09:27:26 -08:00
Marek Roszko d1ecf3790c Add generator version 2023-11-29 16:17:41 +00:00
Graham Keeth 1c881bcbb8 cli: fix some extra sch plot args
- DXF doesn't support background color
- HPGL doesn't support background color
- HPGL doesn't support color themes
- HPGL doesn't support black-and-white
2023-11-23 14:23:33 +00:00
Graham Keeth fa580601f2 cli: remove double-added args
--drawing-sheet and --define-var were already added in the parent class
2023-11-21 12:06:12 +00:00
Graham Keeth ab79977d9b cli: --exclude-pdf-property-popups is only for pdf 2023-11-21 12:06:12 +00:00
Wayne Stambaugh a309e24132 Don't copy hidden files and folders when creating project from template.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16093
2023-11-19 10:48:29 -05:00
Alex Shvartzkop 8dfad68d69 ADDED: option to optimize exported STEP files (disable pcurves) 2023-11-19 15:23:17 +03:00
Jon Evans fc40b48186 Don't free state images too early
SetImageList relies on the state images still being valid

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16022
2023-11-17 13:11:27 -05:00
Mike Williams 42e0f7c94e kicad-cli: wxS fix and doc string change 2023-11-15 12:21:30 -05:00
Mike Williams eb5e327086 kicad-cli: support * wildcard in BOM export
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16086
2023-11-15 10:44:17 -05:00
Mike Williams 5734a55515 kicad-cli: correctly label non-existent fields
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16085
2023-11-15 10:44:17 -05:00
Ian McInerney e72f563033 Fix capitalization of program name in PCM 2023-11-12 20:45:19 +00:00
Ian McInerney b2cc4b8310 Warn when installing PCM local package that is incompatible
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14243
2023-11-12 20:42:45 +00:00
Alex Shvartzkop c95ed281b8 Update STEP export strings/comments. 2023-11-09 20:06:21 +03:00
Ian McInerney dd933b7d0e Update CERN copyrights 2023-11-08 21:34:14 +00:00
jean-pierre charras 1bbe532021 Kicad Manager, project tree: use net file icon for spice netlist (.cir) files
Fixes #15777
https://gitlab.com/kicad/code/kicad/-/issues/15777
2023-11-06 18:53:10 +01:00
Alex Shvartzkop 847ab093c8 ADDED: Project chooser dialog for EasyEDA Pro import. 2023-10-30 09:35:27 +03:00
jean-pierre charras 06581c964b PROJECT_TREE_ITEM::Rename() make test for extension case insensitive.
File types are not case sensitive.
2023-10-29 20:04:45 +01:00
jean-pierre charras e334f11f12 kicad manager: fix broken Rename file command. 2023-10-29 18:34:28 +01:00
jean-pierre charras 7628879190 kicad manager: disable a printf used for debug. 2023-10-29 07:09:10 +01:00
Jon Evans fea29624cd Update comment 2023-10-28 15:37:19 -04:00
Jeff Young f6dc67dc3b Honour platform standards on MSW for files beginning with '.'.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14221
2023-10-28 18:24:25 +01:00
Ian McInerney 171458a27b Introduce action friendly names
Friendly names can be used to display action information that is clearer
in non-hierarchical contexts (e.g. not in menus).

Fixes https://gitlab.com/kicad/code/kicad/-/issues/8075
2023-10-27 23:58:29 +01:00
Jon Evans a9ccb0f11e Avoid crash if events happen out of order on project manager start 2023-10-27 12:55:35 -04:00
Jon Evans 617a975b32 macOS: switch method to bring child processes to front
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14060
2023-10-24 17:27:33 -04:00
Jeff Young 435e3fab8d Support text variables in STEP export filename.
Also fixes some other file browser titles to match Kicad's overall style.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15927
2023-10-23 18:01:47 +01:00
Jon Evans 47e25d617e ADDED: Icon scaling for toolbars only
Unlike the old "icon scale" (that actually scaled all bitmaps)
this one actually changes the toolbar size while making use
of the new bitmap bundle functionality

Add more resolutions for all tool icon bitmaps

Wouldn't want Mark's eyes to bleed
2023-10-22 14:02:06 -04:00
Jon Evans eb5b3db063 Add bitmap bundle support to BITMAP_SCALE
Change a bunch of buttons and toolbars to use it

Fixes https://gitlab.com/kicad/code/kicad/-/issues/14119
2023-10-22 14:02:06 -04:00
Jeff Young 3e4d5d776d Add --exclude-pdf-property-popups to schematic plotting CLI. 2023-10-22 12:33:55 +01:00
jean-pierre charras f87065bf0b Fix compil issues on msys2 , gcc13 2023-10-21 08:40:08 +02:00
Seth Hillbrand 0142b197f7 Replace last iterator to fix MSW builds 2023-10-21 00:55:57 +02:00
Jon Evans 6c4a294c0a Fix uninitialized pointer in PROJECT_TREE 2023-10-20 12:47:49 -04:00
Seth Hillbrand dd4c2a6001 Fix project iteration for MSW 2023-10-20 18:39:15 +02:00
Seth Hillbrand d99641be40 ADDED: Git integration support
Adds support for project-based git integration, branch support, commit,
revert and updates

Fixes https://gitlab.com/kicad/code/kicad/issues/10441
2023-10-20 12:51:47 +00:00
Marek Roszko bee6e6be01 AddMenuLanguageList should live in EDA_BASE_FRAME, its only user 2023-10-16 19:49:52 -04:00
Marek Roszko 584757f2df Move the menu helpers to ui_common instead of sitting in bitmap for some reason 2023-10-16 19:40:46 -04:00
Jeff Young d5d07e64c9 Use IsShownOnScreen(), not IsShown(), if you really want to know if its visible. 2023-10-14 23:51:37 +01:00
Jon Evans 0b136ae0df CLI: Allow controlling layer order for multilayer plots 2023-10-11 00:18:58 +00:00
Marek Roszko 5759823ca0 Move JOB_EXPORT_SCH_PLOT to kicommon horribly pending further refactor of plotting 2023-10-02 20:48:26 -04:00
Marek Roszko e6c8fb6373 Unbind PANEL_PACKAGES_VIEW events in destructor 2023-10-01 22:03:59 -04:00
Marek Roszko b00871ad77 Unbind events in DIALOG_PCM destructor
Maybe fixes KICAD-KR
2023-10-01 20:20:18 -04:00
Jon Evans 26f2dbf524 CLI: Allow multiple define args 2023-09-28 16:57:41 -04:00
Marek Roszko 121ea99824 Move the settings path to PATHS to allow shifting other classes into kicommon 2023-09-23 20:06:58 -04:00
Mike Williams 9541e45502 BOM Exporter: allow using presets from the command line 2023-09-20 10:57:43 -04:00
Jon Evans d371bb06ae New macOS installation scripts
Replaces BundleUtilities that got broken by recent updates
and is basically unmaintained by cmake.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15376
2023-09-19 17:23:30 -04:00
Graham Keeth 5dc62368b0 CLI: parameterize whether export job inputs are directories or files 2023-09-19 01:47:41 +00:00
Alex Shvartzkop 1decd31baf Vertically center wxGrid cells by default. 2023-09-18 17:15:34 +03:00
Graham Keeth 8149522c34 CLI help string fixups 2023-09-15 23:07:19 +00:00
Marek Roszko 4ac5404822 Move HTML_WINDOW to widgets folder, also fix some fbps that were wrongly not edited
Somebody manually edited at least 3 files fixed here....so the fbps were wrong
2023-09-11 19:10:16 -04:00
Marek Roszko b5d5eb842a Start a kicommon shared lib 2023-09-09 18:04:50 -04:00
Marek Roszko 11de95778b Unwrap the FROM_UTF8 macro in favor of direct function
The extern just gets annoying to try to export the func later. We also yeet TO_UTF8 to string_utils.h for parity.
2023-09-09 00:10:57 -04:00
Marek Roszko ab1a6651a9 send multivector.h and sync_queue.h to core 2023-09-08 07:14:34 -04:00
Marek Roszko 6e04c2835a Remove unused header 2023-09-07 20:46:08 -04:00
Alex Shvartzkop 21ee65aa9c ADDED: Importers for EasyEDA (JLCEDA) Standard / Professional. 2023-09-07 11:02:40 +03:00