Werner Almesberger
de0917e674
sch2fig/main.c (usage): explain options, some arguments; better formatting
2016-08-02 09:35:37 -03:00
Werner Almesberger
77ac119136
sch2fig/: new option -C file to "cat" a file (also works with git)
...
This provides quick access to the git-file mechanism.
2016-08-02 09:35:37 -03:00
Werner Almesberger
508d3a39ee
sch2fig/main.c (main): don't forget to return 0 at the end (reported by Joerg)
...
Strangely enough, gcc (Ubuntu 5.2.1-26ubuntu1) 5.2.1 20151125
does not report this. Also explicitly setting -Wreturn-type
does not make it more talkative.
gcc (SUSE Linux) 4.8.1 20130909 [gcc-4_8-branch revision 202388]
does report it.
2016-08-02 08:29:05 -03:00
Werner Almesberger
47792182b7
sch2fig/: option -v (can be repeated) for progress and debugging output
2016-08-02 06:31:23 -03:00
Werner Almesberger
5d0596d0b7
sch2fig/: rename "cairo" to "cro"
...
To avoid confusion and possible clashes with the real Cairo.
2016-08-01 18:11:42 -03:00
Werner Almesberger
c5064a8dca
sch2fig/: implement "diff" driver (WIP)
2016-08-01 16:05:37 -03:00
Werner Almesberger
f0f2303fc3
sch2fig/lib-parse.c (lib_parse): parse entire file, not just one line
2016-08-01 13:10:51 -03:00
Werner Almesberger
f8f497c61a
sch2fig/main.c (main): fail if there is no gfx driver name
2016-08-01 12:42:27 -03:00
Werner Almesberger
c6713dfbd8
sch2lib/: avoid global variables for libraries
2016-08-01 11:47:39 -03:00
Werner Almesberger
97ac2297e1
sch2fig/main.c (main): zero optind to reset getopt
2016-08-01 01:33:50 -03:00
Werner Almesberger
93537be396
sch2fig/: add Cairo PDF driver
2016-08-01 00:37:32 -03:00
Werner Almesberger
4ef07e5e29
sch2fig/: rename Cairo PNG driver from "cairo" to "png"
2016-08-01 00:18:22 -03:00
Werner Almesberger
d9eedec02a
sch2fig/: new cairo options -o outfile.png and -s scale
2016-08-01 00:11:53 -03:00
Werner Almesberger
f3ed4edbd2
sch2fig/: graphics backend can be selected from the command line
2016-07-31 21:52:35 -03:00
Werner Almesberger
8491af873e
sch2fig/: extend command-line parsing to graphics drivers
2016-07-31 21:16:39 -03:00
Werner Almesberger
b8b259bc8d
sch2fig/: command-line option -r to enable recursive sheet parsing and output
2016-07-31 20:52:18 -03:00
Werner Almesberger
5d392d1097
sch2fig/: recursively parse sub-sheets
2016-07-31 20:10:45 -03:00
Werner Almesberger
71aeab9ab8
sch2fig/main.c (read_file): move to file.c
...
This is to allow further I/O abstraction, later.
2016-07-31 15:10:14 -03:00
Werner Almesberger
66ca318dbe
sch2fig/sch.c: separate parsing from rendering
2016-07-31 01:48:31 -03:00
Werner Almesberger
50242899d3
sch2fig/: add Cairo (PNG) back-end (WIP)
2016-07-31 00:04:43 -03:00
Werner Almesberger
d1657de267
sch2fig/gfx.h (gfx_end), gfx.c: add optional termination function
2016-07-30 23:02:15 -03:00
Werner Almesberger
4267efae0d
sch2fig/: abstract graphical output interface
2016-07-30 21:50:02 -03:00
Werner Almesberger
2c9c526255
sch2fig/: new option -Dvar=value to set <var> in template
2016-07-26 03:15:13 -03:00
Werner Almesberger
09d436175a
sch2fig/: new option -t template.fig to merge template file
2016-07-26 02:30:58 -03:00
Werner Almesberger
09ae0229c3
sch2fig/main.c (read_file): be civil and report errors
2016-07-22 00:19:19 -03:00
Werner Almesberger
addb15ce94
sch2fig/: add copyright headers; use "local" Makefile.c-common
2016-07-22 00:06:34 -03:00
Werner Almesberger
1cff10b824
sch2fig/: eeschema to FIG converter (WIP)
2016-07-21 23:54:32 -03:00