Commit graph

664 commits

Author SHA1 Message Date
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
jaseg
344e6792c4 Fix graphics_objects doc strings 2022-02-06 13:18:07 +01:00
jaseg
263617ca75 Add Zuken tests and fix parsing 2022-02-06 01:10:17 +01:00
jaseg
5c4e180316 Strip down outline highlight example 2022-02-05 13:28:56 +01:00
jaseg
1944521bb9 Add outline highlight example 2022-02-05 13:27:08 +01:00
jaseg
57941b1b76 Arc approx WIP 2022-02-05 12:34:28 +01:00
jaseg
4cbda84aa6 More doc, fix tests 2022-02-04 22:10:19 +01:00
jaseg
eaf4f21ce6 More doc 2022-02-03 19:57:16 +01:00
jaseg
ac66fd9d6b More doc! 2022-02-03 01:02:45 +01:00
jaseg
18b9da8660 Fix doc typos 2022-02-02 10:58:20 +01:00
jaseg
0fa713af4b More doc 2022-02-02 10:53:19 +01:00
jaseg
7473e471dc Add some documentation 2022-02-01 22:08:54 +01:00
jaseg
c3ca4f95bd Rename gerbonara/gerber package to just gerbonara 2022-01-30 20:11:38 +01:00
jaseg
259a561868 Bump version to 0.9.0 2022-01-30 20:08:09 +01:00
jaseg
a6017937e6 Fix ALL the tests. 2022-01-30 18:48:32 +01:00
jaseg
fd9e0d0079 Fix aperture macro outline primitive rendering 2022-01-30 15:58:20 +01:00
jaseg
c8bf837a4b Fix some more testcases
* Fix Excellon export among others
2022-01-30 15:07:55 +01:00
jaseg
8bf6420cb4 Add PADS example files 2022-01-30 15:06:11 +01:00