Commit graph

681 commits

Author SHA1 Message Date
jaseg
2766b447fa ci: fix pytest invocation on ubuntu 2022-06-21 10:12:57 +02:00
jaseg
cb0c84d36c ci: pip install pytest for ubuntu tests 2022-06-21 10:07:51 +02:00
jaseg
99eec1e092 Add ubuntu tests 2022-06-21 10:03:53 +02:00
jaseg
a1eb3afa75 Add git safe.directory work around to docs CI job 2022-06-21 10:01:22 +02:00
jaseg
6369b5ddb6 re-enable tests and docs in CI 2022-06-21 09:55:56 +02:00
jaseg
9ca9731110 Fix directory testcase 2022-06-21 09:52:46 +02:00
jaseg
bff588ff75 Work aronud lack of dataclasses.KW_ONLY in python < 3.10 2022-06-21 09:52:13 +02:00
jaseg
3c4b7b1de3 fix zip export 2022-06-20 14:38:48 +02:00
jaseg
7ded0d6d6f Fix gerber-to-excellon conversion 2022-06-19 00:51:06 +02:00
jaseg
f1ac559eb3 Make name generation for layer stack saving smarter 2022-06-19 00:50:52 +02:00
jaseg
748ab7ccf2 Fix rs274x to excellon conversion 2022-06-18 23:52:47 +02:00
jaseg
45d41af3aa Fix drill layer merging 2022-06-18 23:52:37 +02:00
jaseg
dfaf23b718 Add selectable inkscape SVG export 2022-06-18 23:52:22 +02:00
jaseg
4b38d0905e Add altium naming scheme, fix kicad scheme 2022-06-18 23:52:02 +02:00
jaseg
a88364b7a9 Fix up saving and zip writing logic 2022-06-18 23:51:43 +02:00
jaseg
fa7a526883 Add CachedLazyCamFile 2022-06-18 23:50:43 +02:00
jaseg
6833bf8657 pkg: update package metadata 2022-06-12 21:51:03 +02:00
jaseg
9e898ceefb ci: build and upload sdists 2022-06-12 21:37:31 +02:00
jaseg
0d967895af Add missing __init__.py
Some checks failed
pcb-tools / test (3.5) (push) Has been cancelled
pcb-tools / test (3.6) (push) Has been cancelled
pcb-tools / test (3.7) (push) Has been cancelled
pcb-tools / test (3.8) (push) Has been cancelled
pcb-tools / coverage (push) Has been cancelled
2022-06-11 22:34:57 +02:00
jaseg
94289b7af4 doc: Fix sphinx build
Some checks failed
pcb-tools / test (3.5) (push) Has been cancelled
pcb-tools / test (3.6) (push) Has been cancelled
pcb-tools / test (3.7) (push) Has been cancelled
pcb-tools / test (3.8) (push) Has been cancelled
pcb-tools / coverage (push) Has been cancelled
2022-06-10 23:00:44 +02:00
jaseg
230418705f ci: Work around more safe.directory issues
Some checks failed
pcb-tools / test (3.5) (push) Has been cancelled
pcb-tools / test (3.6) (push) Has been cancelled
pcb-tools / test (3.7) (push) Has been cancelled
pcb-tools / test (3.8) (push) Has been cancelled
pcb-tools / coverage (push) Has been cancelled
2022-06-10 22:43:04 +02:00
jaseg
1f50a881ca ci: fix git safe.directory error 2022-06-10 22:42:54 +02:00
jaseg
89f3aeeac7 Gitlab CI test
Some checks failed
pcb-tools / test (3.5) (push) Has been cancelled
pcb-tools / test (3.6) (push) Has been cancelled
pcb-tools / test (3.7) (push) Has been cancelled
pcb-tools / test (3.8) (push) Has been cancelled
pcb-tools / coverage (push) Has been cancelled
2022-06-10 22:23:28 +02:00
jaseg
b1be792c52 Fix tests
Some checks failed
pcb-tools / test (3.5) (push) Has been cancelled
pcb-tools / test (3.6) (push) Has been cancelled
pcb-tools / test (3.7) (push) Has been cancelled
pcb-tools / test (3.8) (push) Has been cancelled
pcb-tools / coverage (push) Has been cancelled
2022-06-10 22:11:39 +02:00
jaseg
460ea625af Fix merging, bounding boxes and svg precision 2022-06-10 00:39:07 +02:00
jaseg
e422243a6e Fix layer stack SVG export 2022-05-21 15:29:18 +02:00
jaseg
c127c89fa3 Fix arc bounding box calculation 2022-05-21 15:29:07 +02:00
jaseg
45cd00387e Fix parsing of aperture macro comments 2022-05-21 15:28:41 +02:00
jaseg
a1de37d83f Add SVG export to more things 2022-04-24 20:08:14 +02:00
jaseg
b42b0e85fa Rectify latest cairo SVG export
It seems Cairo got updated and its SVG export is now broken in a new and
exciting way. Now it exports documents with dimensionless w/h. The issue
with that is that Cairo thinks that means point @ 72 pt / inch, but
everyone else including the actual svg spec interpret that as raw document
units or pixels, AFAICT completely breaking dpi scaling in common
viewers. Since we have to mess with Cairo's SVG files anyway, we just
fix this as well by re-writing the broken w/h into physical units
according to a hardcoded conversion factor that matches cairo's
hardcoded scale.
2022-04-24 20:05:29 +02:00
jaseg
766c4eb4b3 docs: auto-discover version from git
Some checks failed
pcb-tools / test (3.5) (push) Has been cancelled
pcb-tools / test (3.6) (push) Has been cancelled
pcb-tools / test (3.7) (push) Has been cancelled
pcb-tools / test (3.8) (push) Has been cancelled
pcb-tools / coverage (push) Has been cancelled
2022-02-07 00:03:46 +01:00
jaseg
4d1f4c709d docs: Add upstream doc link
Some checks failed
pcb-tools / test (3.5) (push) Has been cancelled
pcb-tools / test (3.6) (push) Has been cancelled
pcb-tools / test (3.7) (push) Has been cancelled
pcb-tools / test (3.8) (push) Has been cancelled
pcb-tools / coverage (push) Has been cancelled
2022-02-07 00:00:53 +01:00
jaseg
48a890e7f4 Add doc link to PyPI 2022-02-07 00:00:08 +01:00
jaseg
39e2eda95d Update readme with doc link 2022-02-06 23:57:25 +01:00
jaseg
14027c552d doc/ci: Fix pages build
Some checks failed
pcb-tools / test (3.5) (push) Has been cancelled
pcb-tools / test (3.6) (push) Has been cancelled
pcb-tools / test (3.7) (push) Has been cancelled
pcb-tools / test (3.8) (push) Has been cancelled
pcb-tools / coverage (push) Has been cancelled
2022-02-06 23:54:28 +01:00
jaseg
02a5f92af1 Fix doc intro code blocks
Some checks failed
pcb-tools / test (3.5) (push) Has been cancelled
pcb-tools / test (3.6) (push) Has been cancelled
pcb-tools / test (3.7) (push) Has been cancelled
pcb-tools / test (3.8) (push) Has been cancelled
pcb-tools / coverage (push) Has been cancelled
2022-02-06 23:49:51 +01:00
jaseg
a939ab016e docs: add quickstart guide
Some checks failed
pcb-tools / test (3.5) (push) Has been cancelled
pcb-tools / test (3.6) (push) Has been cancelled
pcb-tools / test (3.7) (push) Has been cancelled
pcb-tools / test (3.8) (push) Has been cancelled
pcb-tools / coverage (push) Has been cancelled
2022-02-06 23:47:31 +01:00
jaseg
e03e39b421 CI: remove tests as our test suite is a bit too heavy for public gitlab runners
Some checks failed
pcb-tools / test (3.5) (push) Has been cancelled
pcb-tools / test (3.6) (push) Has been cancelled
pcb-tools / test (3.7) (push) Has been cancelled
pcb-tools / test (3.8) (push) Has been cancelled
pcb-tools / coverage (push) Has been cancelled
2022-02-06 23:32:14 +01:00
jaseg
a91d760c08 CI: WIP
Some checks failed
pcb-tools / test (3.5) (push) Has been cancelled
pcb-tools / test (3.6) (push) Has been cancelled
pcb-tools / test (3.7) (push) Has been cancelled
pcb-tools / test (3.8) (push) Has been cancelled
pcb-tools / coverage (push) Has been cancelled
2022-02-06 23:07:51 +01:00
jaseg
cac0ef4240 CI: WIP
Some checks failed
pcb-tools / test (3.5) (push) Has been cancelled
pcb-tools / test (3.6) (push) Has been cancelled
pcb-tools / test (3.7) (push) Has been cancelled
pcb-tools / test (3.8) (push) Has been cancelled
pcb-tools / coverage (push) Has been cancelled
2022-02-06 22:33:19 +01:00
jaseg
fc0779c4f8 CI: WIP
Some checks failed
pcb-tools / test (3.5) (push) Has been cancelled
pcb-tools / test (3.6) (push) Has been cancelled
pcb-tools / test (3.7) (push) Has been cancelled
pcb-tools / test (3.8) (push) Has been cancelled
pcb-tools / coverage (push) Has been cancelled
2022-02-06 21:17:57 +01:00
jaseg
e03d71ef15 CI: WIP
Some checks failed
pcb-tools / test (3.5) (push) Has been cancelled
pcb-tools / test (3.6) (push) Has been cancelled
pcb-tools / test (3.7) (push) Has been cancelled
pcb-tools / test (3.8) (push) Has been cancelled
pcb-tools / coverage (push) Has been cancelled
2022-02-06 21:09:21 +01:00
jaseg
99b51e1ece CI: WIP
Some checks failed
pcb-tools / test (3.5) (push) Has been cancelled
pcb-tools / test (3.6) (push) Has been cancelled
pcb-tools / test (3.7) (push) Has been cancelled
pcb-tools / test (3.8) (push) Has been cancelled
pcb-tools / coverage (push) Has been cancelled
2022-02-06 21:06:23 +01:00
jaseg
4e1874e7d8 CI: WIP
Some checks failed
pcb-tools / test (3.5) (push) Has been cancelled
pcb-tools / test (3.6) (push) Has been cancelled
pcb-tools / test (3.7) (push) Has been cancelled
pcb-tools / test (3.8) (push) Has been cancelled
pcb-tools / coverage (push) Has been cancelled
2022-02-06 20:57:34 +01:00
jaseg
0d21c171d3 CI WIP
Some checks failed
pcb-tools / test (3.5) (push) Has been cancelled
pcb-tools / test (3.6) (push) Has been cancelled
pcb-tools / test (3.7) (push) Has been cancelled
pcb-tools / test (3.8) (push) Has been cancelled
pcb-tools / coverage (push) Has been cancelled
2022-02-06 20:42:46 +01:00
jaseg
77f2da8761 More parsing speedups
Some checks failed
pcb-tools / test (3.5) (push) Has been cancelled
pcb-tools / test (3.6) (push) Has been cancelled
pcb-tools / test (3.7) (push) Has been cancelled
pcb-tools / test (3.8) (push) Has been cancelled
pcb-tools / coverage (push) Has been cancelled
2022-02-06 17:54:57 +01:00
jaseg
c31aabc227 Make parse_coord faster 2022-02-06 16:48:10 +01:00
jaseg
a0a89a8182 Make line number lookup fast 2022-02-06 14:48:41 +01:00
jaseg
1872df4a33 Make split_commands faster 2022-02-06 14:20:13 +01:00
jaseg
d5dcb60b5f Remove debug print statements 2022-02-06 13:24:01 +01:00