Werner Almesberger
a34702cd8d
b2/: move relational operators to relop.[ch] (for sharing)
...
This also fixes a bug in dump_one_field, which switched > and >=
2012-05-20 23:04:41 -03:00
Werner Almesberger
99e5777448
b2/: finish unit handling and move most of its processing to the match side
...
The ${foo#unit} syntax didn't really make sense because it created
a large number of potential error conditions on the assignment side
and didn't help with finding compatible fields.
With all this moved to the match side, an invalid syntax simply causes
a mismatch.
2012-05-20 22:02:50 -03:00
Werner Almesberger
adecef8d4a
b2/: use glob syntax instead of RE syntax for substitutions
2012-05-20 21:05:17 -03:00
Werner Almesberger
9681d44ca4
b2/subst.c: use vstring for modified regexp
2012-05-20 20:57:18 -03:00
Werner Almesberger
4e39ca2e31
b2/: move variable-length strings to vstring.[ch], for sharing
2012-05-20 20:54:07 -03:00
Werner Almesberger
8e6357f4fa
b2/boom.c: add substitution query mode (option -q)
2012-05-20 20:33:15 -03:00
Werner Almesberger
04d858e047
b2/: export field hierarchy and substitution rules from lang.y
2012-05-20 20:33:14 -03:00
Werner Almesberger
fd14c5200a
b2/: add processing of substitution rules
2012-05-20 20:33:14 -03:00
Werner Almesberger
9fd1dc56e7
b2/: add parsing of substitution rules (WIP)
2012-05-20 20:33:14 -03:00
Werner Almesberger
d8f5c95ecb
schhist/schhist2web: correctly align shared columns
...
When sharing columns, the "unchanged" bar wasn't centered unless the
sheet was the first sheet in that column.
2012-05-11 22:07:10 -03:00
Werner Almesberger
cc5732bbf3
schhist/schhist2web (ordered_names): fix typo in pattern
2012-05-11 03:18:33 -03:00
Werner Almesberger
1468a33268
schhist2web: column sharing with SCHHIST_ORDER=...:first=next=...:... (WIP)
...
This only shows the first name in the header. Should generate a new header
line when a sheet is a column changes. Should also complain when sheets
collide. Needs more testing.
2012-05-11 02:47:18 -03:00
Werner Almesberger
b7816b9dad
schhist/schhist2web: truncate commit entries after 300 characters
...
This limit includes the entire entry, including the author and the date.
2012-05-11 01:45:07 -03:00
Werner Almesberger
9365a23f7c
schhist/sanitize-profile: treat LibDir as a list
2012-05-11 00:53:05 -03:00
Werner Almesberger
881bf33be0
rescue files from svn.openmoko.org
2012-05-01 23:09:24 -03:00
Werner Almesberger
702343cabc
b2/: connect stock to provider
2012-05-01 15:21:32 -03:00
Werner Almesberger
5d7f4fc662
b2/lang.l: print file name in diagnostics
2012-05-01 15:07:38 -03:00
Werner Almesberger
9a06757420
b2/: move file opening from boom.c to lang.l and combine setup code
2012-05-01 15:04:24 -03:00
Werner Almesberger
82d532e4a2
b2/: add provider database (WIP)
2012-05-01 14:57:12 -03:00
Werner Almesberger
c3a68453d0
b2/: add currency database
2012-04-30 22:49:33 -03:00
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