Commit Graph

95 Commits

Author SHA1 Message Date
Mark Roszko fb8a4c10f7 Shove kicad2step into pcbnew itself with a new cli 2022-10-04 01:53:37 +00:00
Alex 4095172259 ADDED: Pack and Move Footprints, improved footprint spread algorithm. 2022-09-28 13:37:23 +00:00
jean-pierre charras 22cd2a3428 3D viewer: add option to show/hide fp not in position file.
Previously they were not shown, and this is really bad, because
"not in pos file" does not mean never mounted, and not even not mounted.
2022-09-24 13:58:31 +02:00
Mike Williams 37d2addf0e Icons: add swap 2022-09-12 11:11:49 -04:00
Seth Hillbrand 64335d94d7 Allow up to three discarded characters when detecting gerbers
Some layout programs add a blank block at the beginning but include the
terminating '*' on a line before starting the actual data.  This is
ignored by GerbView so we all this type of behavior in the mimetype file
detection as well

Suggested by Mark Jeronimus

Fixes https://gitlab.com/kicad/code/kicad/issues/12097
2022-09-10 13:28:19 -07:00
Seth Hillbrand 29c2151da5 Update visibility_off to conform to icon standards
Needed darker grey to differentiate between on/off states

Fixes https://gitlab.com/kicad/code/kicad/issues/12338
2022-09-05 11:59:11 -07:00
jean-pierre charras abc7335fd7 Cosmetic enhancement: add two missing icons 2022-08-28 16:01:26 +02:00
Marek Roszko 73cfea892c Adjust two qa resource files for msys2 2022-08-21 20:20:03 -04:00
Marek Roszko da1691770d Adjust the icon paths in qa manifests 2022-08-09 07:39:17 -04:00
Marek Roszko 8fd524aec1 Ensure all QA tests on windows use a manifest
We want UTF8 mode enabled via manifest for accurate behavior that matches the application
2022-08-08 21:26:02 -04:00
Marek Roszko a9942a62ee CMakeModules -> cmake 2022-07-21 20:32:25 -04:00
Marek Roszko 47fe8ff8eb bitmaps and template are resources. 2022-07-21 20:14:10 -04:00
luz paz 79fa911e0e Fix various typos
Found via `codespell -q 3 -S *.po,./thirdparty,./Documentation/changelogs -L aactual,acount,aline,alocation,alog,anormal,anumber,aother,apoints,aparent,aray,ba,busses,dout,einstance,leaded,modul,ontext,ot,overide,serie,te,,tesselate,tesselator,tht`
2022-07-21 16:31:41 +00:00
Marek Roszko 46f86e51e4 Stuff a resource manifest into the kipython kiface 2022-03-14 20:35:02 -04:00
Marek Roszko 6b9fc02f59 Switch the kiface extension on windows to native dll
Fixes issue where Windows really wants to see the DLL extension to load the resource metadata
2022-03-11 21:10:41 -05:00
Marek Roszko 46d719ed42 Update Copyright on win32 manifests 2022-02-20 22:21:53 -05:00
Marek Roszko 92155f5262 Add a nightly build flag to swap icons 2022-01-23 09:21:06 -05:00
Rafael Silva 22ff66f142 add nightly icons 2022-01-22 18:22:58 +00:00
Steven A. Falco 9af5ed32f7 Launchers must specify WM_CLASS
On some Linux desktops, we get extra icons in the application dock.
This happens because the dock doesn't know the "class" of the
application.  We need to add StartupWMClass=xxx lines, where xxx is
the name associated with the application.

This patch addresses the following issue:

https://gitlab.com/kicad/packaging/kicad-ubuntu-builder/kicad-daily-package/-/issues/30

While it was written against Ubuntu, it also affects Fedora, and
probably other Linux systems too.

(cherry picked from commit e8e25fd732)
2022-01-11 07:42:32 -05:00
Marek Roszko 3f711b8958 Add win32 VERSION_INFO resource blocks for the DLLs 2021-12-28 23:54:27 -05:00
Marek Roszko 426f6dd485 Append product version to task manager titlebar (effectively) 2021-12-28 20:27:16 -05:00
Marek Roszko f8ff15411e Fix tab/spaces grrr VS 2021-10-31 21:34:29 -04:00
Marek Roszko 85c17600cd Declare longPathAware on Windows 2021-10-31 21:26:06 -04:00
Marek Roszko cd8e464339 Manifest windows apps to UTF8 code page by default
Windows 10+ only
2021-10-16 21:53:52 -04:00
Seth Hillbrand 134737d210 Partial revert of 1cfff1f624
This reverts icon naming and MIME type to unversioned x-kicad-* files.
We will attempt to maintain multiple versions through creative packaging
2021-10-11 15:01:56 -07:00
Seth Hillbrand 1cfff1f624 Update KiCad MIME type to kicad6
This avoids conflict with existing kicad installations.  Older version
files are preferentially opened by older KiCad installations while new
KiCad files get opened by version 6
2021-10-11 12:54:45 -07:00
Ian McInerney eb5f5a71a5 Add www and more keywords to Linux appdata
Make the user-facing URLs have the www.kicad.org site, and add some more
keywords describing the software.
2021-10-06 14:12:28 +01:00
Ian McInerney 1caaa4231c Use the www.kicad.org url for the linux appdata screenshots
The non-www https URL appears to redirect through a non-https URL before
reaching the www https URL, which triggers a warning in some appstream
validation tools. Instead, just go to the www https URL directly so
there are no redirects needed.
2021-10-06 14:00:49 +01:00
Ian McInerney 5d5b09a555 Mark standalone linux launchers as not having appstream data
The X-AppStream-Ignore=true will signal to appstream generators that
these programs won't have their own appstream information, since we
provide these programs under the main KiCad appstream file.
2021-10-06 10:49:56 +01:00
Ian McInerney 2a932c238d Allow bitmap2component to open a file through linux launcher 2021-10-05 17:57:58 +01:00
Seth Hillbrand 9a9a155d67 Fix updated icns file name in plist 2021-07-30 21:00:05 -07:00
Ian McInerney 57271e41eb Let gerbview open multiple files through Linux desktops 2021-07-06 21:22:04 +01:00
Seth Hillbrand 2998efbb4f Update MacOS plist for Retina & reverse DNS ID
Our DNS has updated to kicad.org, so we should update the reverse DNS to
reflect this.  Also addresses incorrect boolean type noted by Daniel
Kulp

Fixes https://gitlab.com/kicad/code/kicad/issues/8581
2021-06-09 16:50:17 -07:00
Ian McInerney 258946d8b1 Update screenshot size in Linux appdata
The updated v6 screenshots are 1600x900 to ensure we have the required
16:9 aspect ratio.
2021-05-03 15:56:59 +01:00
Ian McInerney c0b27a2800 Add weight to all linux MIME types, and make everything 50
This makes packaging scripts that have to modify the weights easier
to write. Also reduce the magic priority to 50 from 100 so everything
is the same priority/weight.
2021-05-03 15:53:24 +01:00
Ian McInerney 7c83a4a072 Specify the icon for the file types
For some reason, the icon wasn't always being associated with the files,
so we can force an icon for the files instead. Note that we can't use
the <icon> tag for this, because that is user-space only, so we have
to make the icons be the generic icons to allow for system-level usage.
2021-05-03 15:48:14 +01:00
Jon Evans 64d35ecebc Enable dark mode for MacOS 2021-04-28 23:24:19 -04:00
Ian McInerney ac7496b749 Update kicad metainfo screenshot sizes and captions 2021-04-15 16:34:12 +00:00
Ian McInerney 4fc41627e9 Update and modernize linux metadata files
* Switch to using org.kicad.kicad as the main app ID
* Move the appstream file to a metainfo file
* Rename all metadata files to use the reverse DNS scheme
* Add header matching to mime type files where possible
* Add a mime type for gerber job files
* Add a QA test that verifies all the linux metadata files and
  run it in CI
* Update the visible names in the launcher entries to be more
  consistent with the internal visible names
* Update various strings and items in the metainfo file so they
  are more descriptive and easier to read
2021-04-15 16:34:12 +00:00
Marek Roszko 3d4ac9af03 Relocate win32 resource files to the central folder for further consolidation 2021-03-09 21:48:14 -05:00
Marek Roszko ad505e29c0 Remove header file that doesnt work with msys2 faux windows headers 2021-03-07 15:32:49 -05:00
Marek Roszko 73ecc61c38 Attempt to fix the version manifest for mingw
Ugh the bootleg resource compiler
2021-03-04 00:45:44 -05:00
Marek Roszko 8831c5567c Add win32 version manifest block 2021-03-04 00:34:48 -05:00
Jeff Young cad5198ab7 Worksheet -> (industry standard) Drawing Sheet. 2021-02-22 17:35:46 +00:00
Seth Hillbrand f47e64c47d Fix KiCad svg for desktop use 2021-01-30 14:59:39 -08:00
Ian McInerney fdf6318218 Ensure cmake commands depend on the cmake file they use
Without this dependency, the build stage won't rerun
if the CMake file changes on disk.
2021-01-28 00:24:22 +00:00
Ian McInerney beb50c529e Reorganize the CMake folder to separate build and configure steps
The BuildSteps folder now contains the CMake scripts that are
called during the build process as individual stages, while
the root CMakeModules directory contains the CMake files used
during the configuration phase.
2021-01-28 00:24:22 +00:00
Ian McInerney feb15aa55d Fix CMake icon install to work on older version
Fixes https://gitlab.com/kicad/code/kicad/issues/7182
2021-01-19 15:50:21 +00:00
Ian McInerney 91c551f4ab Don't copy the template Linux mime files when installing 2021-01-18 22:50:10 +00:00
Ian McInerney 2aff8822d6 Rearrange linux resources and translate MIME files 2021-01-18 17:43:34 +00:00