12005-06-15 Carl Worth <cworth@cworth.org> 2 3 * NEWS: Add notes for 0.1.4. 4 5 * configure.in: Increment SVG2PNG_VERSION to 0.1.3. 6 7 * configure.in: Require libsvg-cairo >= 0.1.6. 8 92005-05-25 Carl Worth <cworth@cworth.org> 10 11 * src/svg2png.c: Remove obsolete include of cairo-png.h. 12 132005-05-12 Keith Packard <keithp@keithp.com> 14 15 reviewed by: cworth 16 17 * src/svg2png.c: (render_to_png): 18 Adapt to changes in the cairo API. 19 Clean up various valgrind-related issues. 20 212005-04-26 Carl Worth <cworth@cworth.org> 22 23 * Makefile.am: Remove extra whitespace. 24 25 * src/args.c: (args_help): Make usage statement more clear. 26 27 * src/svg2png.c: (write_callback), (write_surface_to_png_file), 28 (render_to_png): Track changes in cairo PNG output interface. Use 29 new cairo_surface_write_to_png_stream in place of old 30 cairo_surface_write_png. 31 322005-04-01 Carl Worth <cworth@cworth.org> 33 34 * src/svg2png.c: (render_to_png): Track removal of 35 cairo_set_target_png. 36 372005-02-14 Carl Worth <cworth@cworth.org> 38 39 * NEWS: Add notes for 0.1.2. 40 41 * configure.in: Increment version to 0.1.2. 42 432005-01-20 Carl Worth <cworth@cworth.org> 44 45 * src/svg2png.c: Track split-up of cairo.h. 46 47 * configure.in: Add lots of warning flags when compiling with gcc. 48 492004-10-28 Carl Worth <cworth@cworth.org> 50 51 * doc/Makefile.am: Add $(man_MANS) to EXTRA_DIST. For some reason, 52 svg2png.1 wasn't ending up in the tar file without this. 53 542004-06-11 Carl Worth <cworth@isi.edu> 55 56 * doc/svg2png.1: Update documentation for new behavior of --width 57 and --height. 58 59 From 2004-05-13 John Ellson <ellson@research.att.com> 60 61 * src/args.c: 62 * docs/svg2png.1: default input/output to '-', i.e. stdin/stdout, so 63 that svg2png can be use in a pipe without any args. 64 65 * src/svg2png.c: clean up unused #includes and #defines 66 672004-06-04 Carl Worth <cworth@isi.edu> 68 69 * src/svg2png.c (main): Close open files before exiting. 70 (render_to_png): Handle the --width and --height options in a more 71 intelligent way. They will now automatically trigger scaling as 72 necessary (but never distorting the original aspect ratio). If 73 both are provided, and with an inconsisent aspect ratio, the 74 rendering will be centered in the extra space. It's now possible 75 to simply provide one of these options and the other one will be 76 computed based on the aspect ratio. 77 782004-05-03 Carl Worth <cworth@isi.edu> 79 80 * src/svg2png.c (main): Fix to write to stdout rather than trying 81 to write to stdin. (Oops). 82 832004-04-26 Carl Worth <cworth@isi.edu> 84 85 * src/svg2png.c: Rip out all of the X dependencies and rename to 86 svg2png. 87 882003-12-19 Carl Worth <cworth@east.isi.edu> 89 90 * src/Makefile.am (AM_CFLAGS): Switch from xsvg_CFLAGS to 91 AM_CFLAGS, (no, I don't understand this stuff at all). 92 932003-12-19 Carl Worth <cworth@east.isi.edu> 94 95 * src/Makefile.am (xsvg_CFLAGS, xsvg_LDFLAGS): Fix to use the 96 proper automake variable names. 97 982003-12-16 Carl Worth <cworth@isi.edu> 99 100 * doc/xsvg.1: Add manual page, (thanks to Dave Beckett 101 <dave.beckett@bristol.ac.uk>) 102 1032003-12-05 Carl Worth <cworth@east.isi.edu> 104 105 * configure.in: Bump version to 0.1.2 to indicate dependency on 106 libsvg-cairo rather than libxsvg. Thanks to Richard Worth 107 <richard@theworths.org> for the renaming work. 108 109 * README: 110 * configure.in: 111 * src/xsvg.c: Track name change of support library from libxsvg to 112 libsvg-cairo. 113 114 * src/xsvg.c: Don't include obsolete cairo-xlib.h. 115 116 * src/Makefile.am (AM_LDFLAGS): Use AM_LDFLAGS not LDFLAGS which 117 is a user variable. 118 1192003-12-03 Carl Worth <cworth@east.isi.edu> 120 121 * src/xsvg.c (render_to_png): Fix rounding when computing size of 122 a scaled png image. 123 1242003-11-19 Carl Worth <cworth@isi.edu> 125 126 * New support for ARGB windows courtesy of Keith Packard 127 <keithp@keithp.com>. Together with the fancy new Composite 128 extension in the X server, this allows the SVG image to be 129 composited over other windows rathern than with a solid color 130 window background. 131 132 * src/xsvg.c (find_argb_visual): New support for ARGB windows. 133 (win_init): Set a window title. 134 135 * src/args.c: Add -argb,-a option for using an ARGB window. 136 1372003-11-15 Carl Worth <cworth@isi.edu> 138 139 * Noah Levitt <nlevitt@columbia.edu> added a very handy 'fit mode' 140 that scales the SVG image to match the window size. Use the -fit 141 command-line option or the 'f' keybinding. 142 143 * src/xsvg.c: Renamed cairo_t from old 'xrs' name to 'cr'. 144 (toggle_fit_cb): New keybinding, 'f', toggles fit mode. 145 (win_refresh): Removed some unused code. 146 (render_to_png): Now grab PNG width/height from SVG file if not 147 provided on the command line. 148 (win_init): Now get window size from SVG file if no geometry 149 argument is provided. 150 (win_handle_client_message): Properly respond to WM_DELETE_WINDOW 151 client message by promptly exiting. 152 (win_reconfigure_fit_mode): New function to support fit_mode. 153 (win_handle_events): Fix event loop to use XPending and blocking 154 XNextEvent rather than cheesy use of usleep. 155 (left_cb): 156 (right_cb): 157 (up_cb): 158 (down_cb): 159 (zoom_in_cb): 160 (zoom_out_cb): Pan/zoom keybindings all disable fit_mode. 161 (toggle_fit_cb): New function for toggling fit mode. 162 1632003-11-06 Carl Worth <cworth@east.isi.edu> 164 165 * configure.in: Bump version to 0.1.1. Now requires libxsvg >= 166 0.1.1. 167 168 * src/xsvg.c (render_to_png, win_init): Add parsing of stdin when 169 filename is "-". Thanks to John Ellson <ellson@research.att.com> 170 for this addition. 171 172 * autogen.sh: Add --enable-maintainer-mode 173 1742003-09-05 Keith Packard <keithp@keithp.com> 175 176 * src/args.c, src/args.h, src/xsvg.c: Added --flipx and --flipy 177 command line options to get at the new reflection options without 178 having to touch the keyboard. 179 1802003-09-05 Carl Worth <cworth@east.isi.edu> 181 182 * src/xsvg.c: Added 'X' and 'Y' keybindings to reflect the 183 coordinates by negating X or Y values. 184 1852003-07-18 Carl Worth <cworth@east.isi.edu> 186 187 * src/xsvg.c: Updated to use Cairo rather than Xr. 188 1892003-06-13 Carl Worth <cworth@isi.edu> 190 191 * src/args.c (parse_opt): Added --scale, --width, and --height 192 options. 193 1942003-04-22 Carl Worth <cworth@isi.edu> 195 196 * src/xsvg.c (render_to_png): 197 (win_init): Track changes in Xr API, (display parameter moved from 198 XrCreate to XrSetTargetDrawable) 199 200 * src/Makefile.am (INCLUDES): Updated now that Xr uses pkg-config. 201 2022003-02-11 Carl Worth <cworth@isi.edu> 203 204 * src/xsvg.c (render_to_png): Added experimental support for 205 rendering to a PNG file. Caveats: probably only works for 24-bit 206 visuals, has hard-coded image size, does not save alpha channel. 207 208 * src/args.c (parse_opt): Added parsing of --png option. 209 210 * src/xsvg.c: Updated for rename of libxrsvg to libxsvg. 211 2122002-11-02 Carl Worth <cworth@isi.edu> 213 214 * src/xsvg.c (left_cb): 215 (right_cb): 216 (up_cb): 217 (down_cb): Translation amounts tied to zoom level, so translation 218 after zooming is actually possible now). 219 2202002-11-01 Carl Worth <cworth@east.isi.edu> 221 222 * src/xsvg.c (win_init): Fixed to draw before being exposed after 223 the first map. 224 2252002-10-24 Carl Worth <cworth@brudder> 226 227 * src/xsvg.c (win_init): Now checks error case if file is not 228 found, (still needs a better error message). 229 2302002-10-23 Carl Worth <cworth@brudder> 231 232 * AUTHORS: 233 * COPYING: 234 * README: Created various files for meta-data. 235 236