Mark Roszko
2cf6ec2411
Remove some obsolete LOCALE_IO
2 months ago
jack2bs
8c017c7503
bitmap2component: Adding file drag and drop
4 months ago
jean-pierre charras
eaa1e6d594
Fix a collision with a Windows define and our use of the same var name.
We use IN for INCH as units, but IN is defined in a Windows header
8 months ago
Jeff Young
f951497a4f
Code brevity.
8 months ago
Seth Hillbrand
867e6858c8
Handle paste special case when converting bitmap
Library export to file requires a library container but when pasting, we
paste into an existing library, so we need to skip the library header.
Long term solution would be to allow pasting library with multiple
symbols into existing library
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19688
9 months ago
Jeff Young
24ec25a24c
Update layer infrastructure in Image Converter.
(Also cleans up the interface a little.)
9 months ago
Seth Hillbrand
0b2d4d4879
Revise Copyright statement to align with TLF
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo. Avoids needing to
repeatly update.
Also updates AUTHORS.txt from current repo with contributor names
10 months ago
Seth Hillbrand
e9bc8cfe9d
Give Clipper1 a Viking funeral
Clears out the last spot where we were only using Clipper1 (how'd I
miss that?) and remove all calls to the Clipper1 structures
10 months ago
Jeff Young
0bcf6000a4
Formatting.
10 months ago
Marek Roszko
aaf776db9e
Point BEGIN_EVENT_TABLE at the correct base class, fix current lang indication
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17825
1 year ago
Marek Roszko
2a3b597ab9
Strip out no longer needed links on the top executables
Not needed due to kicommon
2 years ago
Marek Roszko
83ef5fd7d6
Move PGM_BASE to kicommon
2 years ago
Seth Hillbrand
cd548e392a
Add document type icons
Update Macos script to use doctype icons for icns builds
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14754
2 years ago
Jeff Young
7cc663ad77
Schematic parity checking for CLI DRC.
2 years ago
Marek Roszko
b4bfdf95d3
Explicitly add 48, 128, 256 to icon bundles for each app
2 years ago
Marek Roszko
9a890cdba9
Kick the wildcards and file exts into a static class, export it from kicommon
2 years ago
Marek Roszko
d1ecf3790c
Add generator version
2 years ago
Jon Evans
55ba667bcb
Retire tstamp keyword in favor of uuid
2 years ago
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
2 years ago
Jeff Young
f708c7d962
Open Recent for Bitmap2Cmp.
2 years ago
Jeff Young
c75b84f76e
Fix errant removal of parens.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15744
2 years ago
Marek Roszko
bee6e6be01
AddMenuLanguageList should live in EDA_BASE_FRAME, its only user
2 years ago
Seth Hillbrand
f4abc43da0
PL Editor: Fix formatting error
fmt requires `:` prior to the numerical formatting
2 years ago
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
2 years ago
Marek Roszko
bd3aca2887
Cleanup the kiface dll export declaration slightly
Why in the bloody world would you pass in the return type as part of the macro for export/import preprocessing
2 years ago
Marek Roszko
e665cbac20
Delete line with weird comment because its weird
We should fix it for reals
2 years ago
Ian McInerney
a3a701a95e
Move preferences to an action instead of a wx event
2 years ago
Marek Roszko
a8f3b63eb2
Use fmt instead of sprintfing into a char buf into a std::string
Also fix the EPS format header, it had the % escaped with a %, but it wasn't in a printf but direct append to the std::string
2 years ago
jean-pierre charras
8712dac1a2
Minot fix: Honor Ctrl+Q hotkey in pl_editor and pcb_calculator
2 years ago
Jeff Young
75e78f9088
Move bitmap2cmp and pcb_calculator to tool framework.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1939
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7561
2 years ago
Jeff Young
150e2b8a19
Separate BITMAP2CMP_PANEL from BITMAP2CMP_FRAME.
This is primarily to allow wxFormBuilder to create the panel without
the dangerous hack of passing a wxWindow ID into KIWAY_PLAYER's ctor.
2 years ago
Jeff Young
46564055f4
More protection around an exceedingly dangerous hack.
The API is needed for wxFormBuilder, and I couldn't figure out any
way around it, but we can at least reduce the risk of someone calling
it accidentally (again).
2 years ago
jean-pierre charras
707b0becee
bitmap2component: fix incorrect min size of the main frame.
It was due to the fact the sizers were set without menubar, created later.
A dummy menubar is now added at frame creation, to allow sizers to be
correctly initialized.
Fixes #14859
https://gitlab.com/kicad/code/kicad/-/issues/14859
2 years ago
jean-pierre charras
bd71cec826
Bitmap2component: enhancement: add more PCB layers in PCB layer list selector.
2 years ago
Nimish Telang
51e55dd750
Convert sprintf to snprintf in most files
3 years ago
Jeff Young
c4ef08bead
Exercise more caution with user filenames.
In particular, don't assume "1" is an extension in "Schematic_1.1".
Fixes https://gitlab.com/kicad/code/kicad/issues/14263
3 years ago
aris-kimi
22bca5c2a0
Disable link maps by default and fix compile issue with lld linker
The link maps were actually disabled by default before
912f1d5cec
, and required KICAD_MAKE_LINK_MAPS
to be provided to enable them. So switch back to disabling them by
default.
Also, The lld linker is unable to accept a single dash cref option, while
ld and gold can. Instead, use the double dash version that is supported
by all three.
xref: https://github.com/llvm/llvm-project/issues/60932
Co-authored-by: aris-kimi <aris_kimi@hotmail.com>
Co-authored-by: Ian McInerney <ian.s.mcinerney@ieee.org>
3 years ago
Ian McInerney
bcb93e9aa7
Modernize setting of compiler definitions in CMake
add_compile_definitions was added in 3.12, and our minimum is now
greater than that.
3 years ago
Marek Roszko
ac94995f70
Some more wxS
3 years ago
Wayne Stambaugh
8973f83030
Image converter main window layout improvements.
Pad controls that were slammed against the sides of static box sizers.
3 years ago
Jon Evans
5abf73e3c9
Never call ReCreateMenuBar inside a menu event handler
As of wxWidgets 3.2, the wxWidgets event handler runs code after the
the client event handler that depends on the menu still existing.
Because there are potentially many paths to call ReCreateMenuBar from
within a menu event handler, let's just wrap this action in a CallAfter
to make sure it happens after the wx handler call completes.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13149
3 years ago
Alexander Dewing
02325130fa
Initial arm64 work
4 years ago
kliment
4a943facd0
bitmap2component: bring file formats up to date with latest v7.
3 years ago
Jeff Young
79e9e6b01e
Give the Image Converter a more standard presentation.
Adds a close box, Quit menu item and Open... menu item, as well as
platform-specific menus.
Fixes https://gitlab.com/kicad/code/kicad/issues/12927
3 years ago
jean-pierre charras
9501f4303d
Rename CreateWindow to CreateKiWindow to avoid a collision name with a windows header
No code change, but it fix an issue specific to msys2 that bother me when
trying to fix issues with wx 3.0.x version
3 years ago
Jeff Young
054649fa38
Formatting.
3 years ago
Marek Roszko
d6f8ca9a2e
Patch out the install for argparse
3 years ago
Mark Roszko
fb8a4c10f7
Shove kicad2step into pcbnew itself with a new cli
3 years ago
Marek Roszko
3d5913c825
Remove convert_to_biu.h, merge contents to base_units.h
3 years ago
Seth Hillbrand
5a37211fdb
Handle cases where Simplify removes all outlines
This could theoretically happen for a fully degenerate polygon
Fixes https://gitlab.com/kicad/code/kicad/issues/12120
3 years ago