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 |
|
Werner Almesberger
|
6e0015cdd6
|
gencat/libs.[ch]: keep back pointer to file in "struct entry"
|
2012-07-11 22:45:40 -03:00 |
|
Werner Almesberger
|
e62c717db1
|
gencat/: abstract library data structure and its management (WIP)
|
2012-07-11 22:28:44 -03:00 |
|
Werner Almesberger
|
b34b0917dd
|
gencat/: remove awkward callback from set_libs to lookup_sym
|
2012-07-11 22:14:26 -03:00 |
|
Werner Almesberger
|
b3113fca04
|
gencat/pdf.c: add section titles
|
2012-07-11 12:25:46 -03:00 |
|
Werner Almesberger
|
e1d613a20b
|
gencat/pdf.c: add generation of alphabetic index with hyperlinks
|
2012-07-11 12:22:23 -03:00 |
|
Werner Almesberger
|
f6720c767f
|
fab/m1/: update path name and drill file offset for M1r4
|
2012-07-10 12:26:11 -03:00 |
|
Werner Almesberger
|
748a01fb9a
|
gencat/libs.*: renamed to comp.*
|
2012-06-25 21:16:00 -03:00 |
|
Werner Almesberger
|
823b85f900
|
gencat/comp.*: renamed to tree.*
|
2012-06-25 21:12:26 -03:00 |
|
Werner Almesberger
|
e832845a02
|
genex/: renamed genex to gencat
|
2012-06-25 21:04:59 -03:00 |
|
Werner Almesberger
|
2800fa93a5
|
genex/genex.h: oops, forgot to check this file in
|
2012-06-25 20:59:41 -03:00 |
|
Werner Almesberger
|
4cb56ebfbf
|
genex/expand-pintype: reduce character width
66 mil was too wide and caused very uneven spacing. 60 mil is still
on the wide side, but the spacing looks a little less chaotic.
|
2012-06-11 08:55:00 -03:00 |
|
Werner Almesberger
|
3949eadba1
|
genex/expand-pintype: add translation for "new" pin type NC
|
2012-06-11 08:52:20 -03:00 |
|
Werner Almesberger
|
7f24ef0e5b
|
b2/test/subesc: more tests; also for values; add explanation of escaping
|
2012-06-03 23:14:28 -03:00 |
|
Werner Almesberger
|
a52247294b
|
b2/test/{subend,subign}: test end/ignore in substitutions
|
2012-06-03 21:22:16 -03:00 |
|
Werner Almesberger
|
bca50f009f
|
b2/lang.y (parse_jump): improve diagnostic for code after end/ignore
Before, the error was a rather confusing "unknown keyword", suggesting
a typo.
|
2012-06-03 21:18:51 -03:00 |
|
Werner Almesberger
|
ed8df3f94e
|
b2/test/sub{break,cont}: code after named and unnamed jump is handled differently
Now we handle both code paths. Should probably unify the diagnostic some
day, too.
|
2012-06-03 21:17:31 -03:00 |
|
Werner Almesberger
|
fa20078840
|
b2/test/subbreak: test "break" in substitutions
|
2012-06-03 21:17:02 -03:00 |
|
Werner Almesberger
|
ddbf80b542
|
b2/: handle attempts to break/continue (in substitutions) without a block
|
2012-06-03 20:54:08 -03:00 |
|
Werner Almesberger
|
e56a71e914
|
b2/test/subcont: test "continue" in substitutions
|
2012-06-03 13:32:13 -03:00 |
|
Werner Almesberger
|
31c1c58691
|
b2/subex.c (compose): search "out" variables before "in" variables
|
2012-06-03 13:31:22 -03:00 |
|
Werner Almesberger
|
ee0a2a41fa
|
b2/: add "print VAR" command in substitutions (for debugging/tracing)
|
2012-06-03 13:15:31 -03:00 |
|
Werner Almesberger
|
3f4a06843a
|
b2/test/subesc: test regexp escaping in substitutions
|
2012-06-03 11:39:40 -03:00 |
|
Werner Almesberger
|
4a586fc44f
|
b2/test/Common: also provide empty hierarchy if the input is empty; name the file
|
2012-06-03 10:21:47 -03:00 |
|
Werner Almesberger
|
da1010f92a
|
b2/: add regular expression conversion debugging (option -R)
|
2012-06-03 10:10:47 -03:00 |
|
Werner Almesberger
|
12b21f032c
|
b2/test/: more substitution tests
Total number of tests is now 109.
|
2012-06-03 09:51:20 -03:00 |
|
Werner Almesberger
|
cc895fe7fc
|
b2/: introduce unit pattern (##), for dimensionless values
|
2012-06-03 09:50:21 -03:00 |
|
Werner Almesberger
|
e93ff0e683
|
b2/subst.c (prepare_re): recognize % in union pattern
|
2012-06-03 09:42:09 -03:00 |
|
Werner Almesberger
|
fb7b2461a5
|
b2/test/: add first set of substitution tests
|
2012-06-03 02:10:12 -03:00 |
|
Werner Almesberger
|
b35b6e2688
|
b2/: disallow assigning to FN
|
2012-06-03 02:08:32 -03:00 |
|
Werner Almesberger
|
c2414a5d2c
|
b2/: resolve FN in subst_init and don't consider an FN match evidence of existance
|
2012-06-03 02:04:27 -03:00 |
|
Werner Almesberger
|
c6e394436c
|
b2/: move implicit initialization of FN, F1, ... to explicit function subex_init
|
2012-06-03 02:00:56 -03:00 |
|
Werner Almesberger
|
cae92bba03
|
b2/subst.c (dump_chunks): closing } was missing when dumping variable expansion
|
2012-06-02 23:09:47 -03:00 |
|
Werner Almesberger
|
e919b16d78
|
b2/boom.c (main): run queries also if no variables are set
|
2012-06-02 23:09:17 -03:00 |
|
Werner Almesberger
|
d1593b6681
|
b2/: insert a virtual empty hierarchy if test input starts with other file
Also updated the regression tests that explicitly provided an empty
hierarchy.
|
2012-06-02 20:42:49 -03:00 |
|
Werner Almesberger
|
3027daca18
|
b2/: move substitutions dump from parser to boom.c
|
2012-06-02 15:05:40 -03:00 |
|
Werner Almesberger
|
cc5d9a9d58
|
b2/test/inv: inventory database test
|
2012-06-02 14:33:54 -03:00 |
|
Werner Almesberger
|
e62bb067f7
|
b2/test/Common (run_boom): place inventory after parts and currency
Otherwise, currency definitions would be used before they're read.
|
2012-06-02 13:58:33 -03:00 |
|
Werner Almesberger
|
4184c01ee2
|
b2/test/prov: provider database test
|
2012-06-02 07:56:50 -03:00 |
|
Werner Almesberger
|
994ed00a51
|
b2/lang.y (provider): don't allow provider to be redefined
|
2012-06-02 07:56:36 -03:00 |
|
Werner Almesberger
|
0ba0abb74b
|
b2/test/curr: currency exchange test
|
2012-06-02 07:48:09 -03:00 |
|
Werner Almesberger
|
dd727b1a8c
|
b2/test/char: part characteristics database test
|
2012-06-02 05:55:28 -03:00 |
|
Werner Almesberger
|
ea5732371d
|
b2/lang.y (part): show part ID in error message
|
2012-06-02 05:54:55 -03:00 |
|
Werner Almesberger
|
69701f4d14
|
b2/test/Common: support multiple files of the same kind (!-c1, !-c2, etc.)
|
2012-06-02 05:50:07 -03:00 |
|
Werner Almesberger
|
f09e4b21fa
|
b2/: move parts dumping from lang.y to boom.c and make optional (-dc)
|
2012-06-02 05:49:22 -03:00 |
|
Werner Almesberger
|
22412764d9
|
b2/db.c: new function parts_dump to dump the whole parts database
|
2012-06-02 05:48:22 -03:00 |
|
Werner Almesberger
|
be1277eb99
|
b2/boom.c (main): rearrange to reduce indentation depth
|
2012-06-02 05:26:33 -03:00 |
|