Werner Almesberger
24a32525e2
b2/: add dumping of stock information
...
Also use part_add without first calling part_lookup, since the latter is
implicit.
2012-04-30 20:40:11 -03:00
Werner Almesberger
450769e031
b2/: add options to set file type on the command line
2012-04-30 20:19:55 -03:00
Werner Almesberger
e99a9f4705
b2/: add parsing of part inventories (WIP)
...
Also simplify representation of packaging variants.
2012-04-30 20:19:55 -03:00
Werner Almesberger
1394c6b61c
b2/: make top-level hierarchy item an action, not just a rule
...
This allows the definition of optional global fields. For now, we (ab)use
this for FP (footprint).
2012-04-28 23:30:50 -03:00
Werner Almesberger
6c49fdd789
b2/: dump part records (for debugging only)
2012-04-28 23:26:22 -03:00
Werner Almesberger
edcc61a6f4
b2/: normalize relative values to 1, not 100
2012-04-28 23:26:00 -03:00
Werner Almesberger
e7b2e65795
b2/db.c (part_add): fix jumbled initialization mess
2012-04-28 22:55:34 -03:00
Werner Almesberger
c92ba6f21a
b2/Makefile: target "try" to run the example setup
2012-04-28 22:52:09 -03:00
Werner Almesberger
331fbdda6a
b2/: add parameter conversion
2012-04-28 22:50:15 -03:00
Werner Almesberger
b172117a1c
b2/bitset.h: fix logic of bitset_empty
2012-04-28 22:49:40 -03:00
Werner Almesberger
eabe0dc910
b2/: new diagnostic function yywarnf
2012-04-28 22:38:06 -03:00
Werner Almesberger
8aa94edd2f
b2/: moved declarations of diagnostic functions from util.h to lang.h
2012-04-28 22:12:33 -03:00
Werner Almesberger
433b03a59d
b2/: allow ...% to be recognized as a single WORD (for values)
2012-04-28 11:57:47 -03:00
Werner Almesberger
98f2fc8337
b2/lang.l: reset lineno for new file and count newlines in comment
2012-04-28 11:51:47 -03:00
Werner Almesberger
90e541cd7a
b2/: add parsing of part characteristics (WIP)
2012-04-28 11:46:42 -03:00
Werner Almesberger
08b1ed1c51
b2/boom.c: move opening of file as stdin to separate function
2012-04-28 11:41:07 -03:00
Werner Almesberger
1817efd6dc
b2/: add syntax switch
2012-04-26 03:02:48 -03:00
Werner Almesberger
3fff9373e3
b2/: choose better names for creator functions in chr.c
2012-04-26 02:48:08 -03:00
Werner Almesberger
b3c865e6fd
b2/: add C-style comments
2012-04-25 19:37:53 -03:00
Werner Almesberger
45196de62f
b2/HIERARCHY: add diodes, to make the example more interesting
2012-04-25 19:30:47 -03:00
Werner Almesberger
75479a894b
b2/: syntax change: use = for instead of : for format declarations
2012-04-25 18:25:35 -03:00
Werner Almesberger
6bb8b03ef8
b2/: first tentative version of hierarchy parser, with example
2012-04-25 17:14:39 -03:00
Werner Almesberger
7fe553a4fc
b2/Makefile: add "spotless" target
2012-04-19 20:09:18 -03:00
Werner Almesberger
c274c1d07b
b2/Makefile: remove y.output on "make clean"
2012-04-19 20:08:25 -03:00
Werner Almesberger
9d5c6989e2
b2/Makefile: add dependency generation (.d method)
2012-04-19 20:06:02 -03:00
Werner Almesberger
e804e02abf
genex: add progress reporting, and option -q to turn it off
2012-04-18 18:44:22 -03:00
Werner Almesberger
7d97a749f4
genex: option -D to dump all canonical component names (for missing-in-tree)
2012-04-17 22:18:12 -03:00
Werner Almesberger
1d47668b98
genex/comp.c (read_desc): component missing in tree yields a warning, not error
...
We basically treat descriptions now more like libraries: they're allowed
to contain more things than what we list in the tree.
2012-04-17 21:26:21 -03:00
Werner Almesberger
54ecc10cbb
genex: added install/uninstall targets and wrapper generator
2012-04-17 18:17:01 -03:00
Werner Almesberger
fff142c6de
genex/: "genex" is now a wrapper that sets PATH, then calls genex-bin
2012-04-17 18:00:34 -03:00
Werner Almesberger
40a76e1d4a
genex/Makefile: add dependency generation (.d method)
...
Straight from fped/Makefile
2012-04-17 17:14:24 -03:00
Werner Almesberger
41448e8962
genex/Makefile: add "spotless" target
2012-04-17 17:10:03 -03:00
Werner Almesberger
3703852e0b
genex/expand-pintype: preserve a tile at the beginning of a component name
...
E.g., ~FOO then becomes ~XFOO
2012-04-17 09:55:31 -03:00
Werner Almesberger
7de800eb77
genex/sym2xps: also accept components names beginning with ~
2012-04-17 09:53:51 -03:00
Werner Almesberger
024ffd4e47
genex/libs.c: skip ~ at the beginning of a component name
...
The ~ means that the component name is invisible.
2012-04-17 09:53:02 -03:00
Werner Almesberger
a1d5e2dcef
genex/comp.c (read_tree): correct scanning of names
...
Before this fix, the whitespace following single-character names
was included in the name.
2012-04-17 09:20:41 -03:00
Werner Almesberger
8eb3e88385
genex/pdf.c: output aliases also to PDF
2012-04-17 08:51:26 -03:00
Werner Almesberger
db903c10ba
genex: add parsing and dumping of alias names
2012-04-17 08:45:20 -03:00
Werner Almesberger
72846f1879
genex/run: updated for new usage
2012-04-17 08:24:21 -03:00
Werner Almesberger
0565adf11f
genex: changed default orientation back to landscape; option -p for portrait
...
Since -l and -L are already taken, it's easier to make landscape the
default. genex will typically be invoked from some wrapper anyway.
2012-04-17 08:21:14 -03:00
Werner Almesberger
f8e10b31a7
genex: generate PDF by default; new option -P to generate Postscript
2012-04-17 08:17:34 -03:00
Werner Almesberger
8e8a3c56c6
genex/pdf.c: changed page orientation from landscape to portrait
...
Most components are taller than wider.
2012-04-17 08:05:11 -03:00
Werner Almesberger
7f0bf74198
genex/pdf.c: generalized page geometry setup
2012-04-17 08:01:12 -03:00
Werner Almesberger
a553d5896c
genex/pdf.c: only use pipe, not stdout in parallel
...
This produced no end of synchronization issues.
2012-04-17 07:51:09 -03:00
Werner Almesberger
5a8606b118
genex/pdf.c: use central format definition
...
... instead of having hard-coded format constants all over the place.
2012-04-17 06:27:44 -03:00
Werner Almesberger
34095c70cb
genex/: added example set of comments (on WM9707SCFT/V)
2012-04-17 06:27:14 -03:00
Werner Almesberger
3f3d957c98
genex/pdf.c: added printing of comments
2012-04-17 06:08:44 -03:00
Werner Almesberger
904a60f7f9
genex/genex.c: new option -d to dump the tree instead of making a PDF
2012-04-17 05:54:08 -03:00
Werner Almesberger
1b7ace9043
genex: added reading of files containing supplemental descriptions
...
Each entry has this structure:
component: text
more text
more text on a new line
next component: ...
If a component has multiple entries, a line break is placed between
them. Component names are case-insensitive.
2012-04-17 05:54:08 -03:00
Werner Almesberger
b6b4c9946b
genex/genex.c (usage): describe options
2012-04-16 15:55:48 -03:00