1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-23 20:29:41 +02:00
Commit Graph

819 Commits

Author SHA1 Message Date
Werner Almesberger
81f51e909a common/Makefile.c-common: common Makefile items for C
Snatched from Anelok.
2016-07-22 00:04:08 -03:00
Werner Almesberger
1cff10b824 sch2fig/: eeschema to FIG converter (WIP) 2016-07-21 23:54:32 -03:00
Werner Almesberger
006940d58b dsv/dsv (flush): sanitize name of local data sheet copy
We turn ? (and, for good measure, & as well) into _, to be compatible with
the open_generic function of xdg-open, which strips \?*.
2016-02-29 22:44:26 -03:00
Werner Almesberger
e291c43348 kicad-patches/README: add KiCAD build dependencies as prerequisite 2015-05-23 11:41:57 -03:00
Werner Almesberger
fdabcc9b3e Makefile.kicad: copy over from ben-wpan/makefiles/ 2015-05-23 11:40:31 -03:00
Werner Almesberger
1a8beb2f15 dsv/dsv: to print to stderr, it's 1>&2 and not 2>&1, stupid ... 2014-12-24 17:35:08 -03:00
Werner Almesberger
c07e33bec6 rptflt/rptflt.pl: filter for KiCad DRC reports 2014-06-01 10:35:27 -03:00
Werner Almesberger
8c5d7d7bcd dsv/dsv: change indentation to tab instead of 4 spaces; fix typo 2014-03-07 08:34:15 -03:00
Werner Almesberger
7067c00a90 dsv/dsv: add Z tag to select files in ZIP archive not ending in .zip
The  D: url file  format only works if the URL ends in .zip, .ZIP,
etc. Some URLs leading to a ZIP don't use this extension. The Z tag
introduces the following alternative use:

D: url
Z: file

where the URL is always treated as ZIP archive, no matter what it looks
like.
2014-03-07 08:19:28 -03:00
Werner Almesberger
65f93a2684 dsv/dsv: delete .zip file if extraction fails
This allows updating a the .zip in cases where the archive's name didn't
change but its content did. "dsv setup" has to be manually re-run in
this case.
2013-11-28 22:34:33 -03:00
Werner Almesberger
6bfd9d9f44 genkicat/pdf.c (make_pdf): set paper size to A4 2013-10-25 20:54:32 -03:00
Werner Almesberger
53d6e1db13 fab/prettygerbv: update for new file names; add option -y for vertical stacking 2013-09-30 14:11:00 -03:00
Werner Almesberger
3256b03294 dsv/dsv: sent User-Agent to "dsv/1.0" (instead of Wget/...)
Digi-Key now blocks wget from accessing their document cache.
Seems to be a rather silly move ...
2013-09-10 11:55:49 -03:00
Werner Almesberger
bbb6513b42 dsv/dsv: allow -p and -u to be used together
In this case, first the path and then the URL is printed.
Before, you'd either get and error or one of the options would be ignored.
2012-12-22 22:31:27 -03:00
Werner Almesberger
676c6a2715 dsv/dsv: record source URL in dsv-* file; new option -u to show it
This adds a second line to the dsv-* files, containing the source URL.
dsv -u <word> shows the URL.

Compatibility with older versions of dsv:

- "dsv -u" will fail with an error if running on an old data sheet
  database, while the rest of dsv works as before

- to update the database, run the usual "dsv setup ..."
  (most dsv-using projects have a "make dsv" target for this)

- older version of dsv will not be able to display data sheets or paths
  if run with an updated database
2012-12-21 17:43:37 -03:00
Werner Almesberger
24160ddd57 dsv/dsv (setup): remove trailing whitespace from lines from bookshelf file 2012-12-21 16:05:31 -03:00
Werner Almesberger
560bf9d64a genkicat: new option "-t title.ps" to include a title page file 2012-12-21 00:11:14 -03:00
Werner Almesberger
afae5c753e Merge branch 'master' of projects.qi-hardware.com:eda-tools 2012-12-05 00:43:39 -03:00
Werner Almesberger
9385ad0c87 schhist/schhist2web: explicitly suppress diff in "git show"
Seems that recent versions of git always display it while older versions
only did, if using --pretty, when explicitly asked to do so.
2012-12-05 00:41:40 -03:00
Wolfgang Spraul
b73288f2f0 curdir fix 2012-11-26 07:23:12 +01:00
Wolfgang Spraul
7a16e0f91b commit qi-update-all script along with rest of schhist 2012-11-26 05:43:31 +01:00
Werner Almesberger
2334bd83f4 INV: add comment explaining what the fields mean 2012-11-11 17:50:45 -03:00
Werner Almesberger
4a0b547b9a dsv/dsv: change viewer default from xpdf to xdg-open; introduce DSV_VIEWER; add README 2012-07-20 09:48:36 -03:00
Werner Almesberger
e5e67dd597 dsv/dsv: add support for PDF embedded in ZIP
Syntax:

D: url-to-zip-file path-of-pdf-in-zip

Example:

D: http://www.usb.org/developers/docs/usb_20_071012.zip usb_20_071012/usb_20.pdf
2012-07-19 11:29:49 -03:00
Werner Almesberger
d67e8ec823 genkicat/fped.c (fped_ps_entry): use fped -P -K (key) and adjust position 2012-07-18 22:42:14 -03:00
Werner Almesberger
993ea811e5 genkicat/: detect URLs in comments and add PDF hyperlink
We recognize http, https, ftp, and file.
2012-07-14 21:51:28 -03:00
Werner Almesberger
4811fb3d3d genkicat/tree.c: add section comments; fix typo in diagnostic 2012-07-14 21:07:44 -03:00
Werner Almesberger
a6039abcb7 genkicat/: clarify some header comments 2012-07-12 20:14:45 -03:00
Werner Almesberger
2c0ee943c3 rename gencat to genkicat (2/2) 2012-07-12 20:13:27 -03:00
Werner Almesberger
48434c859d gencat clashes with an existing tool. rename to genkicat (1/2)
The "gencat" with older rights to the name is from libc, no less.
I wonder how I missed that :-(
2012-07-12 20:09:38 -03:00
Werner Almesberger
6fae97ab15 gencat/gencat.c (usage): reformat usage message to avoid overly long lines 2012-07-12 19:20:50 -03:00
Werner Almesberger
274a84fdd8 gencat/tree.c (read_desc): ignore lines with a # as the very first character 2012-07-12 18:55:01 -03:00
Werner Almesberger
ae3b8128b0 gencat/fped.c (fped_ps_entry): scale footprint to a height of 200 mm and center 2012-07-12 18:19:30 -03:00
Werner Almesberger
9d278a0ab5 gencat/run.c (run_cmd): print actual command name, not "sym2xps" 2012-07-12 17:09:11 -03:00
Werner Almesberger
a98df2a7e6 gencat/pdf.c: reduce number of columns and make them wider
We gain 45 points in portrait and 55 points in landscape.
2012-07-12 11:00:17 -03:00
Werner Almesberger
408c003822 gencat/pdf.c (convert_comp): rename to convert_comp
For consistency.
2012-07-12 10:47:41 -03:00
Werner Almesberger
340428c92a gencat/pdf.c (comp): make alphabetic index case-insensitive 2012-07-12 10:46:39 -03:00
Werner Almesberger
dd45ce8c5e gencat/libs.c (add_libdir): ignore files with a ~ in their name
This makes us skip the fped backups.
2012-07-12 04:44:21 -03:00
Werner Almesberger
8562ad2204 gencat/fped.c (fped_ps_entry): remove OUT pdfmark from fped's Postscript
fped's table of contents interferes with ours, so we remove it.
2012-07-12 03:04:40 -03:00
Werner Almesberger
c035def16e gencat/: delegate landscape/portrait setup to library-specific ps_entry
This is for the external Postscript. The overlay is still handled in
pdf.c
2012-07-12 02:41:42 -03:00
Werner Almesberger
7cbd51ee7b gencat/pdf.c: make "format" a pointer, not a copy of the format settings 2012-07-12 02:33:29 -03:00
Werner Almesberger
e4481450ec gencat/: new option -F to use fped footprints (WIP) 2012-07-12 00:58:12 -03:00
Werner Almesberger
9cf8adf878 gencat/: make library selection variable
For future addition of other types of libraries.
2012-07-12 00:29:21 -03:00
Werner Almesberger
9c0a43e29b gencat/: minor cleanup (one comment, add "static", remove unused header) 2012-07-12 00:25:43 -03:00
Werner Almesberger
463e8dcac4 gencat/pdf.c: key index entries by the tree node, to distinguish duplicates
Before, duplicate names in the tree always pointed to the same page.
Now they point to the respective locations.

Note that this does not affect handling of duplicate names in libraries,
where still only one "wins" while the other is completely ignored.
2012-07-11 23:52:54 -03:00
Werner Almesberger
605585ffdb gencat/pdf.c: use internal pointer as destination key
This allows us to simplify a number of things and opens the path to further
improvements.
2012-07-11 23:45:56 -03:00
Werner Almesberger
acf0d0af89 gencat/: move script execution from pdf.c to library-specific function 2012-07-11 23:16:03 -03:00
Werner Almesberger
8ee13bdb05 gencat/libs.[ch]: keep back pointer to lib in "struct file" 2012-07-11 23:11:08 -03:00
Werner Almesberger
2875940239 gencat/: move script execution from pdf.c to run.c 2012-07-11 23:07:59 -03:00
Werner Almesberger
1b6bf60c56 gencat/: keep "struct entry" ptr in "struct node" instead of duplicating content 2012-07-11 22:54:07 -03:00