1 2012-01-17 Jérôme Lodewyck <lodewyck@users.sourceforge.net>
3 * configure.in src/Makefile.am src/qtterminal/Makefile.am
4 src/qtterminal/QtGnuplotApplication.cpp
5 src/qtterminal/QtGnuplotApplication.h src/qtterminal/QtGnuplotEvent.cpp
6 src/qtterminal/QtGnuplotEvent.h src/qtterminal/gnuplot_qt.cpp
7 src/qtterminal/qt_term.cpp term/qt.trm: The Qt terminal application is
8 executed in a separate executable called gnuplot_qt, started by exec.
9 This makes the Qt terminal compatible with OS X.
11 2012-01-17 Ethan A Merritt <merritt@u.washington.edu>
13 * src/eval.c (update_plot_bounds): Store the canvas size used by
14 the previous plot in user accessible variables GPVAL_TERM_XSIZE,
17 2012-01-15 Mojca Miklavec <mojca.miklavec.lists@gmail.com>
19 * src/mouse.c (event_buttonpress): Treat mouse buttons 6/7 as
20 left/right scroll events (e.g. from fingers on a touchpad).
22 * src/qtterminal/QtGnuplotScene.cpp (mouseReleaseEvent): Pass
23 horizontal scroll events through to gnuplot core as mouse events 6/7.
25 2011-01-15 Bastian Maerkisch <bmaerkisch@web.de>
27 * config/config.mgw: Sync with configure.
29 2011-01-14 Bastian Maerkisch <bmaerkisch@web.de>
31 Installer for Windows. Japanese translation by Shigeharu Takeno.
33 * win/gnuplot.iss win/modpath.iss: Installer script to be compiled by
34 Inno Setup. New files.
36 * win/Copyright-ja.txt: Japanese translation of Copyright, includes
37 original text. Encoding is Shift-JIS.
39 * win/README-Windows.txt win/README-Windows-ja.txt: New files,
40 displayed by installer before installation. Based on Tatsuro Matsuoka's
41 README.Windows.gpteam and README.
43 * config/mingw/Makefile: New make target 'installer'.
45 * Makefile.am (EXTRA_DIST): Include win/
47 2011-01-14 Bastian Maerkisch <bmaerkisch@web.de>
49 * tutorial/linepoin.plt: Avoid deprecated syntax.
51 * config/mingw/Makefile config/msvc/Makefile src/plot.c:
52 GNUPLOT_SHARE_DIR is relative to gnuplot directory on Windows.
53 Extend build support for documentation, include in installer.
55 2012-01-11 Ethan A Merritt <merritt@u.washington.edu>
57 * src/util3d.h src/util3d.c (edge3d_intersect two_edge3d_intersect)
58 src/graph3d.c (plot3d_lines_pm3d): The utility routines in util3d
59 assumed that a 3D curve is always traversed in ascending order of the
60 constituent points. But plot3d_lines_pm3d scans in both directions,
61 leading to incorrect clipping and possible array over-run when the
62 utility routines were called. Furthermore, the arrays holding the
63 scan direction info were never initialized.
66 2012-01-08 Ethan A Merritt <merritt@u.washington.edu>
68 * src/plot.c: Allow shell commands from ~/.gnuplot but not from shared
71 * configure.in: Report status of aquaterm configuration correctly
74 2012-01-07 Jérôme Lodewyck <lodewyck@users.sourceforge.net>
76 * src/qtterminal/QtGnuplotScene.cpp: Normalize the zoom rectangle to avoid
79 2012-01-07 Ethan A Merritt <merritt@u.washington.edu>
81 * src/misc.c (lf_pop): If the current input stream from "load file" is
82 really a pipe, close it with pclose() rather than fclose().
85 2012-01-07 Jérôme Lodewyck <lodewyck@users.sourceforge.net>
87 * src/qtterminal/QtGnuplotScene.cpp: Normalize the zoom rectangle to avoid
90 2012-01-05 Ethan A Merritt <merritt@u.washington.edu>
92 * configure.in src/Makefile.am: Tweak autodetection of Qt utilities to
93 handle differences in the Qt 4.6 and 4.7 pkg-config files.
95 * src/set.c: Call gp_expand_tilde() in 'set loadpath' and 'set fontpath'.
97 2012-01-04 Ethan A Merritt <merritt@u.washington.edu>
99 * src/hidden3d.c: Fix an uninitialized colorspec found by valgrind.
100 The trigger was hidden3d handling of '... with labels tc palette'.
102 2012-01-02 Ethan A Merritt <merritt@u.washington.edu>
104 * configure.in term/qt.trm
105 In src/qtterminal: QtGnuplotEvent.cpp QtGnuplotEvent.h
106 QtGnuplotItems.cpp QtGnuplotItems.h QtGnuplotScene.cpp
107 QtGnuplotScene.h QtGnuplotSettings.ui QtGnuplotWidget.cpp
108 QtGnuplotWidget.h qt_term.cpp qt_term.h README.Qt:
109 Update qt terminal to support pointsize, dashed lines, round linejoins,
110 term->layer(), LT_BACKGROUND, mouse toggling, faster rendering.
112 2012-01-01 Ethan A Merritt <merritt@u.washington.edu>
114 * src/qtterminal/QtGnuplotApplication.cpp (processEvent):
115 * src/wxterminal/wxt_gui.cpp (wxt_atexit):
116 In "persist" mode, if all qt plot windows were already closed when the
117 main program exited then the daughter process would become a zombie.
118 Even worse for wxt; if _any_ plot windows had been closed then the
119 persisting daughter process would become a zombie.
122 2011-12-29 Ethan A Merritt <merritt@u.washington.edu>
124 * src/plot.c src/plot.h src/qtterminal/qt_term.cpp:
125 Provide a function cancel_history() that can be called by terminal
126 helper processes after forking so that the history file isn't
130 * docs/gnuplot.doc: Minor updates to match 4.6 configuration.
132 2011-12-28 Ethan A Merritt <merritt@u.washington.edu>
134 * docs/gnuplot.doc share/Makefile.am share/colors_default.gp
135 share/colors_mono.gp share/colors_podo.gp share/gnuplotrc
137 Provide template initialization files, including examples of customizing
138 the linetype color sequence. These are installed in $GNUPLOT_SHARE_DIR
139 (usually /usr/local/share/gnuplot/4.6).
141 * src/command.c src/datafile.c src/help.c src/history.c src/misc.c
142 src/plot.c src/plot.h src/term.c src/variable.c:
143 Do not allow execution of system(), shell, or popen() commands in the
144 initialization files.
146 * src/plot.c src/show.c: More compact splash page.
148 * src/graphics.c src/graphics.h src/graph3d.c:
149 Strangely, the final parameter of place_objects(,,,clip_area) was
150 (1) never used and (2) shadowed a global parameter that _was_ used.
153 * configure.in: Default to --enable-stats --without-bitmap-terminals
155 * configure.in PATCHLEVEL: Report as version 4.6.rc1
157 2011-12-25 Ethan A Merritt <merritt@u.washington.edu>
159 * src/qtterminal/QtGnuplotEvent.cpp src/qtterminal/QtGnuplotScene.cpp:
160 If two button release events occur in quick succession then the program
161 messes up the event handling and winds up in a non-recoverable state.
162 Apply an empirical fix to ignore events in a 300 msec window.
163 Also rather than ending up a zombie, exit explicitly on a sync error.
166 2011-12-21 Ethan A Merritt <merritt@u.washington.edu>
168 * src/plot2d.c: The default sequence of histogram colors was one off
169 from the default sequence of line colors. Bugfix.
171 2011-12-11 Bastian Maerkisch <bmaerkisch@web.de>
173 * config/config.nt config/config.mgw: Sync with config.h created by
176 * src/msvc/Makefile: More complete install target. Add new variables
177 to hold paths to external libraries.
179 * src/mingw/Makefile: Include index in gnuplot.pdf. Support building
180 of the Japanese help file wgnuplot-ja.chm.
182 * src/eval.c (update_gpval_variables): New variable GPVAL_ENCODING.
184 * term/gd.trm (gd_iconv): Silence const mismatch compiler warning
185 in call to iconv by casting second argument to (void *).
187 * src/syscfg.h: All tested platforms (XP, Vista, 7) support '/' as
190 * src/win/winmain.c: Automatic language detection can be overridden
191 by new setting "Language=XX" in wgnuplot.ini. Suggestion by Shigeharu
194 * src/win/wpause.c: Remove local definition of TBOOLEAN.
196 * docs/plotstyles.gnu: Prefer pngcairo over png terminal. Use font
197 "Times New Roman" on Windows.
199 * demo/random.dem: Use loops to create random number data sets.
201 2011-12-08 Ethan A Merritt <merritt@u.washington.edu>
203 * docs/gnuplot.doc docs/Makefile.in term/context.trm docs/doc2rnh.c:
204 Miscellaneous documentation updates, remove dead URLs.
206 * configure.in docs/gnuplot.doc src/plot.c src/show.c
207 config/config.cyg config/config.dj2 config/config.mgw config/config.nt
208 config/config.os2 config/config.oww config/makefile.unx:
210 Despite what it says in the documentation, and despite what the
211 configure script prints out, auto-configuration never defined the
212 NOCWDRC flag to disable reading an initialization file .gnuplot
213 from the current directory. This is a security risk. Furthermore,
214 having to define something special to get the secure state is bad
215 design. Fix the configuration script and default to not initializing
216 from the current directory. Put a warning in various config files.
218 2011-11-29 Shigeharu Takeno <shige@iee.niit.ac.jp>
220 * docs/Makefile.in: Remove duplicate entry for qt in CORETERMS.
222 2011-11-28 Ethan A Merritt <merritt@u.washington.edu>
224 * src/scanner.c (legal_identifier) src/scanner.h src/stats.c:
225 Make sure that the variable name produced by the "stats ... prefix"
226 command is a legal identifier.
229 * src/set.c (set_palette): Add missing check for conflicting options.
231 2011-11-26 Ethan A Merritt <merritt@u.washington.edu>
233 * term/cairo.trm: Revert the change of 2011-08-25 that tried to skip
234 empty vectors. The concept was sound but the implementation was not
235 correct, leading to mysteriously missing lines.
238 2011-11-24 Ethan A Merritt <merritt@u.washington.edu>
240 * src/term_api.h src/misc.c src/hidden3d.c: New flag LT_SINGLECOLOR
241 passed through to hidden3d to indicate that the user gave an explicit
242 surface color in the splot command.
245 2011-11-22 Ethan A Merritt <merritt@u.washington.edu>
247 * Branchpoint for 4.6
248 cvs tag -b branch-4-6-stable
250 2011-11-22 Ethan A Merritt <merritt@u.washington.edu>
252 * src/contour.c (contour): Format contour labels using gprintf rather
253 than sprintf so that LC_NUMERIC and "set decimal" are honored.
256 * term/js/gnuplot_svg.js: Try to correct for coordinate offset due to
257 scrollbars. The fix is unfortunately browser specific.
259 2011-11-22 Peter <plotter@piments.com>
261 * term/svg.trm: "standalone" option includes gnuplot_svg.js mousing
262 support directly in the output *.svg file rather than linking to it
263 as an external resource.
265 2011-11-18 Daniel Leidert <dleidert@users.sourceforge.net>
267 * demo/html/webify.pl demo/html/webify_svg.pl demo/html/webify_canvas.pl
268 Use perl5 native routine ctime() rather than perl4 external module.
270 * src/datafile.c term/epson.trm term/post.trm:
273 * configure.in: Check for lua5.1.pc if lua.pc is not found.
275 * man/gnuplot.1: Add some needed character escapes.
277 2011-11-18 Bastian Maerkisch <bmaerkisch@web.de>
279 * src/win/wgdiplus.cpp src/win/wgdiplus.h src/win/wgnuplib.h
280 src/win/wgraph.c src/win/wresourc.h: Antialiasing of fill patterns.
282 * src/win/wgraph.c (CopyPrint): Use Print Setup dialog since the Page
283 Setup dialog does not offer a possibility to change printer. Do not
284 use antialiasing on printers.
286 2011-11-15 Bastian Maerkisch <bmaerkisch@web.de>
288 * src/win/wgnuplib.h src/win/wgraph.c term/win.trm: Store current
289 text encoding in list of drawing ops.
291 2011-11-15 Ethan A Merritt <merritt@u.washington.edu>
293 * src/axis.h src/axis.c (parse_range, parse_named_range)
294 src/axis.c (save_writeback_all_axes check_axis_reversed)
295 src/fit.c src/plot2d.c src/plot3d.c src/stats.c src/unset.c:
296 Replace axis-related macros with equivalent subroutines.
298 2011-11-14 Ethan A Merritt <merritt@u.washington.edu>
300 * config/Makefile.am.in demo/Makefile.am.in m4/Makefile.am.in
301 tutorial/Makefile.am.in term/Makefile.am.in:
303 Make sure that the generated files Makefile.am and gnuplot-tikz.help
304 do not end up non-writable by the owner, which caused build cleanup
305 problems while packaging. Bug #3419881
307 2011-11-14 Peter Juhasz <juhaszp@users.sourceforge.net>
309 * src/plot2d.c (store2d_point): Fix for 4-column mode of
310 BOXPLOT style which did not handle log scale correctly.
312 2011-11-14 Bastian Maerkisch <bmaerkisch@web.de>
314 * src/win/wgnuplib.h src/win/wgraph.c src/win/winmain.c
315 src/win/wtext.c: Localisation support for menu and help files.
316 Files are loaded according to current language settings from
317 files named "wgnuplot-LL.mnu" and "wgnuplot-LL.chm", where LL is
318 the abbreviation of the current language. Fall back to
319 "wgnuplot.mnu" and "wgnuplot.chm" if localised files don't exist.
320 Defaults may be overwritten by new entries "MenuFile" and
321 "HelpFile" in wgnuplot.ini.
322 Choose appropriate default fonts in Japanese environments.
324 src/show.c (show_version) src/win/winmain.h: List correct names
325 of menu and help files on Windows.
327 src/win.trm (WIN_set_color): Immediately translate palette color
328 values to RGB instead of passing them on. This makes it possible
329 to use more than one palettes in multiplots and in different
330 graph windows. Test e.g. with pm3dcolors.dem
332 * src/win/wgraph.c src/win/wresourc.h src/win/wgnuplib.h: Add a
333 separate switch to toggle antialiasing of polygons.
335 * src/win/wgraph.c (Draw_XOR_Text): Implement a 10 year old FIXME:
336 Use proper raster operation instead of double inversion.
338 2011-11-12 Shigeharu Takeno <shige@iee.niit.ac.jp>
340 * src/win/README.win-ja src/win/wgnuplot-ja.mnu: Update and sync
343 2011-11-12 Bastian Maerkisch <bmaerkisch@web.de>
345 * src/set.c (set_degreesign): Windows implementation using a Windows
346 API call since iconv() does not understand locales as returned by
349 * src/command.c (help_command): HTML help window need to occlude
352 * term/win.trm (WIN_filled_polygon): Use boxfill for filled polygons
353 which are actually rectangles.
355 * src/win/wgnuplib.h src/win/wgraph.c: Add support in windows terminal
356 for toggling individual plots on/off by clicking on the corresponding
357 key sample in addition to toggling via toolbar buttons.
359 2011-11-11 Ethan A Merritt <merritt@u.washington.edu>
361 * src/set.c (set_degreesign): More attempts to work around oddities in
362 Solaris locale handling.
364 2011-11-10 Shigeharu Takeno <shige@iee.niit.ac.jp>
366 * docs/gnuplot-ja.doc docs/term-ja.diff: Sync to docs version 1.699.
368 * docs/gnuplot.doc term/be.trm term/cairo.trm term/context.trm
369 term/win.trm: Fix typos.
371 2011-11-09 Ethan A Merritt <merritt@u.washington.edu>
373 * src/axis.c src/command.c src/eval.c src/gadgets.c src/graphics.c
374 src/internal.c src/tables.c src/unset.c src/util.c src/util.h
375 term/post.trm: Fix or remove some FIXMEs.
377 2011-11-09 Bastian Maerkisch <bmaerkisch@web.de>
379 * doc/gnuplot.doc: New terminal driver epscairo.
381 * term/gd.trm: Don't use gd font pointer variables for builtin fonts.
383 2011-11-08 Ethan A Merritt <merritt@u.washington.edu>
385 * configure.in src/set.c: Use nl_langinfo(CODESET) to find the encoding.
386 This hopefully works around non-standard encoding names used by Solaris.
388 * src/wxterminal/wxt_gui.cpp: Toggle for "plot ... with circles"
390 2011-11-08 Bastian Maerkisch <bmaerkisch@web.de>
392 * doc/gnuplot.doc [New features]: Document new cairolatex and
393 revised windows terminal.
395 2010-11-08 Tatsuro Matsuoka <tmacchant3@yahoo.co.jp>
397 * src/set.c (set_degreesign): Move include of iconv.h to top level.
399 2011-11-07 Bastian Maerkisch <bmaerkisch@web.de>
401 * term/fig.trm: Update help on font option.
403 * term/context.trm: Avoid use of round() because MSVC is still not
406 New terminal driver cairolatex, which uses the cairo EPS or PDF
407 backend for graphics output and LaTeX text created by functions
408 shared with the epslatex and pslatex terminals.
410 * term/cairo.term term/post.h term/post.trm term/pslatex.trm: New
411 terminal driver cairolatex.
414 2011-11-06 Mojca Miklavec <mojca.miklavec.lists@gmail.com>
416 Add a context terminal, which creates output suitable for ConTeXt.
418 * configure.in docs/doc2texi.el docs/gnuplot.doc docs/Makefile.in
419 src/makefile.all src/makefile.awc src/term.h term/context.trm:
420 New terminal driver context.
421 Patches #1654807 and #1503836. Feature Request #2815867.
423 2011-11-05 Ethan A Merritt <merritt@u.washington.edu>
425 * src/wxterminal/wxt_gui.cpp src/wxterminal/wxt_gui.h
426 src/wxterminal/wxt_term.h term/wxt.trm:
427 Add support in wxt terminal for toggling individual plots on/off
428 by clicking on the corresponding key sample.
430 2011-11-04 Ethan A Merritt <merritt@u.washington.edu>
432 term/wxt.trm src/wxterminal/wxt_term.h src/wxterminal/wxt_gui.cpp:
433 Add a term->layer() entry point for the wxt terminal.
435 * src/mouse.c src/term_api.h: TERM_LAYER_BEFORE_ZOOM
437 2011-11-02 Ethan A Merritt <merritt@u.washington.edu>
439 * src/util.c src/util.h src/set.c (set_encoding set_degreesign):
440 Provide an internal char sequence degree_sign[] appropriate for the
441 current encoding. Use iconv(), if available, to translate it into the
442 environment's locale after `set encoding locale`.
444 * src/show.c (show_decimalsign): Show the degree sign also, mostly
445 so that people can report problems with the encoding code above.
447 2011-11-01 Bastian Maerkisch <bmaerkisch@web.de>
449 * src/win/wmenu.c src/win/wtext.c: Use proper dropdown menu for
450 Options toolbar item.
452 2011-10-30 Bastian Maerkisch <bmaerkisch@web.de>
454 * INSTALL: Update Windows section.
456 * config/makefile.mgw: Superseded by config/mingw/Makefile. Removed.
458 2011-10-30 Shigeharu Takeno <shige@iee.niit.ac.jp>
460 * config/config.nt config/makefile.nt: Windows console apps support
463 2011-10-30 Bastian Maerkisch <bmaerkisch@web.de>
465 * config/config.cyg config/config.mgw config/config.nt
466 config/config.oww: Enable stats command.
468 2011-10-28 Ethan A Merritt <merritt@u.washington.edu>
470 * src/color.c (make_palette): Fix segfault caused by initializing a
471 terminal with an "infinite" color palette (colors == 0) when previous
472 terminal had merely a large color palette (e.g. WIN_PAL_COLORS 4096).
475 2011-10-24 Ethan A Merritt <merritt@u.washington.edu>
477 * src/axis.c src/axis.h src/datafile.c src/fit.c src/mouse.c
478 src/plot2d.c src/plot3d.c src/save.c src/set.c src/setshow.h src/show.c
479 src/stats.c src/tabulate.c src/unset.c term/canvas.trm term/svg.trm:
481 Change the axis structure field from TBOOLEAN axis.is_timedata to an
482 enum {DT_NORMAL, DT_TIMEDATE} field axis.datatype. This is preparation
483 for adding code to implement a new mode DT_DMS (degrees, minutes,
484 seconds) that tracks x and/or y as geographic coordinates.
485 There is no change to the behavior of the current code.
487 2011-10-22 Ethan A Merritt <merritt@u.washington.edu>
489 * term/svg.trm: Friendlier error message, add a <title> tag at the
490 top of the output svg document.
492 2011-10-17 Christoph Bersch <cbersch@users.sourceforge.net>
494 * docs/doc2texi.el: Handle presence of three nodes with the same key.
496 2011-10-14 Ethan A Merritt <merritt@u.washington.edu>
498 * src/specfun.c (humlik):
499 Re-order code to avoid accessing an unitialized variable.
501 * term/emf.trm (EMF_put_text):
502 Re-order code to avoid accessing an unitialized variable.
504 * src/command.c (else_command): An else clause might either be
505 processed by if_command() or else_command(). The latter was not
506 correctly updating c_token.
508 * src/misc.c (lf_load): Tie maximum depth of load commands to
511 2011-10-13 Ethan A Merritt <merritt@u.washington.edu>
513 * docs/gnuplot.doc docs/titlepag.tex: Revise the sections that
514 describe function plots to mention `set samples`. Allow the table of
515 builtin functions to split across pagebreaks in the TeX documentation.
517 * src/wxterminal/gp_cairo.c: Decrease linewidth used by pdfcairo
518 terminal for pattern fill. This works around what seems to be a pdf
519 bug in libcairo versions through at least 1.10.
521 * src/fit.c (error_ex): Exit via int_error() so that it can walk
522 through the list of XXX_reset_after_error() routines.
524 2011-10-10 Ethan A Merritt <merritt@u.washington.edu>
526 * src/hidden3d.c: Bump default QUADTREE_GRANULARITY from 10 to 30.
527 At 10, 24% of the CPU time for all.dem is spent in hidden line removal.
528 At 30 this decreases to 12%, for roughly a 10% speed increase overall.
530 2011-10-10 Peter Juhasz <juhaszp@users.sourceforge.net>
532 * src/datafile.c src/datafile.h src/gadgets.h src/graphics.c
533 src/graphics.h src/plot2d.c src/save.c src/set.c src/show.c
534 demo/boxplot.dem docs/gnuplot.doc:
536 Add new mode for the "with boxplot" plot style.
537 If there is a 4th column in the using spec, the values in it it will
538 be interpreted as the discrete levels of a factor variable. As many
539 boxplots will be drawn as there are different values in the factor
540 column, each boxplot representing part of the dataset. These boxplots
541 are optionally labeled and sorted. New options "separation", "label",
542 and "sorted"/"unsorted" to "set style boxplot" govern the behavior of
543 this new mode. The demo "boxplot.dem" is extended to showcase the new
546 2011-10-09 Shigeharu Takeno <shige@iee.niit.ac.jp>
548 * src/internal.c (f_sprintf): More complete MSVC++ snprintf() patch.
550 2011-10-09 Adam Strzelecki <ono@users.sourceforge.net>
552 * src/wxterminal/wxt_gui.h src/wxterminal/wxt_gui.cpp:
553 Work around a number of issues compiling and running wxt with wx 2.9
554 using 64-bit Cocoa on OSX Lion. All changes are #ifdef __WXOSX_COCOA__.
555 These may not be necessary once Cocoa reaches a stable release.
556 (1) use wxToolbar AddStretchableSpace rather than AddSeparator
557 (2) wx Cocoa does not support logical operators such as wxDC inverse
558 (3) wx Cocoa toolbar icons are blurry unless they are 24x24
559 (4) wx Cocoa does not define _Bool even though it says it does
561 2011-10-07 Ethan A Merritt <merritt@u.washington.edu>
563 * src/color.h src/command.c src/getcolor.c src/gplt_x11.c src/save.c
564 src/set.c src/show.c src/tables.c src/tables.h term/post.trm
565 term/x11.trm demo/pm3d.dem docs/gnuplot.doc:
567 New palette option "cubehelix". The is a family of palettes with the
568 general property of combining N cycles of a color-wheel with a monotonic
569 increase in overall intensity. This feature was suggested by Ingo Thies.
570 See: D A Green (2011) "A colour scheme for the display of astronomical
571 intensity images" http://arxiv.org/abs/1108.5083
573 2011-10-06 Shigeharu Takeno <shige@iee.niit.ac.jp>
575 * src/internal.c (f_sprintf): Always null-terminal a string written by
576 the non-ANSI compliant MSVC++ routine _snprintf().
578 2011-10-03 Bastian Maerkisch <bmaerkisch@web.de>
580 * term/win.trm (WIN_options): When searching the list of graph windows
581 the correct test is for window Id.
583 2011-10-03 Rich Seymour <richseymour@users.sourceforge.net>
585 * term/svg.trm: Look for strings " Bold" and/or " Italic" in font name
586 and set the corresponding properties if found. Patchset #3058920.
588 2011-10-03 Bastian Maerkisch <bmaerkisch@web.de>
590 * term/post.trm (PS_options): Properly contain new variable in a
593 * src/Makefile.maint: New target makefile.awc.
595 * src/makefile.all src/makefile.awc: Regenerated to include stats.c.
597 2011-10-02 Ethan A Merritt <merritt@u.washington.edu>
599 * configure.in src/Makefile.am src/command.c src/command.h src/show.c
600 src/stats.c src/stats.h src/tables.c docs/gnuplot.doc:
602 New command to generate a statistical summary of the data in a file.
603 stats "datafile" [using col1[:col2]] [nooutput] [name "PREFIX"]
604 Data is read from the input file under the control of the same options
605 used for 'plot' commands (e.g. xrange, yrange, using, index, every).
606 The min/max/mean/stddev/quartiles of data from one or two data columns
607 are printed to the terminal and stored in named variables. These
608 variables can be used to modify subsequent plot commands.
609 This code was developed primarily by Philipp Janert and Zoltán Vörös.
611 * demo/html/Makefile demo/html/Makefile.svg demo/html/Makefile.canvas
612 demo/stats.dem demo/all.dem: New demo to exercise stats code.
614 2011-10-01 Bastian Maerkisch <bmaerkisch@web.de>
616 * term/cairo.trm: Depending on the version, Cairo defaults to cropping
617 eps files to the minimal bounding box. This patch adds support for the
618 {no}crop option to the epscairo terminal. Cropping is prevented by
619 putting two points in background color in opposite corners, or by
620 directly setting the bounding box for Cairo newer than 1.11.0.
622 * config/mingw/Makefile: Include epscairo terminal.
624 2011-10-01 Christoph Bersch <cbersch@users.sourceforge.net>
626 * term/post.trm term/pslatex.trm: New options `background` and
627 `nobackground` for terminals postscript, epslatex, pstex and pslatex.
630 2011-09-29 Ethan A Merritt <merritt@u.washington.edu>
632 * src/color.c src/graph3d.c src/graphics.c: User-specified axis tick
633 labels should override auto-generated tick labels in 3D plots just as
634 they already do in 2D plots.
636 * src/plot2d.c: In `plot with labels`, skip labels for which the x,y
637 coordinates are UNDEFINED.
640 * term/js/gnuplot_mouse.css: Opera is picky about missing units.
642 2011-09-27 Ethan A Merritt <merritt@u.washington.edu>
644 * term/emf.trm term/fig.trm term/metapost.trm term/tgif.trm:
645 Prefer the new syntax set term ... font "<name>,<size>" in the
646 documentation. This does not change the terminal input, only the docs
647 and the options string echoed back by "show term".
649 * term/canvas.trm: Implement set term canvas ... font "<name>,<size>".
650 Currently the name is ignored.
652 2011-09-23 Ethan A Merritt <merritt@u.washington.edu>
654 * docs/gnuplot.doc src/plot2d.c: Defer interpretation of newhistogram
655 linetype until the histogram itself is drawn.
657 2011-09-21 Bastian Maerkisch <bmaerkisch@web.de>
659 * demo/borders.dem: Use loop instead of `reread`.
661 * demo/image2.dem: Explicitely `reverse` axes.
663 * src/win/wgraph.c (drawhraph) [W_filled_polygon_draw]: Transparent
664 pattern fill actually fills with white background since 2011-05-15.
667 * src/win/wgnuplib.h src/win/wgraph.c (WndGraphProc) term/win.trm
668 (WIN_options, WIN_update_options): Update term options on changes via
669 graph window/menu. Track font face and size as read from ini-file.
671 * src/stdfn.c|h (gp_basename) term/pslatex.trm (PSTEX_common_init):
672 Move code from pslatex.trm to new function gp_basename which takes
673 two different directory separators into account and does not change
676 2011-09-16 Peter Hedwig <peter@affenbande.org>
678 * term/lua/gnuplot-tikz.lua: Modify the commands used for rgb color
679 selection so that they are compatible with context as well as tikz.
682 2011-09-16 Oliver Jennrich
684 * term/lua/gnuplot-tikz.lua: Update syntax used for setting line join
688 2011-09-12 Bastian Maerkisch <bmaerkisch@web.de>
690 * config/mingw/Makefile: Fix building gnuplot.ps and gnuplot.pdf.
691 Include figures in gnuplot.pdf. Define new targets 'console', 'windows'
692 and 'pipes' to build different versions of gnuplot. Use separate
693 file extensions for each version. Let 'make all' build all versions.
694 Match 'install' target to Tatsuro Matsuoka's packages.
696 2011-09-09 Ethan A Merritt <merritt@u.washington.edu>
698 * docs/doc2tex.c docs/titlepag.tex: Tweak format of TeX documentation
699 (no section numbers in table of contents, text width appropriate for
702 2011-09-09 Bastian Maerkisch <bmaerkisch@web.de>
704 src/win/wgnuplib.h src/win/wgraph.c src/win/wresourc.h term/win.trm:
705 Add a toolbar to the graph window. Currently, it offers icons for Copy,
706 Print, Save and Options. Additionaly, plot elements can be temporarily
707 hidden, ie. without a `replot`. This is much like what can be done
708 using canvas and svg terminals and is implemented using term->layer.
710 2011-09-08 Ethan A Merritt <merritt@u.washington.edu>
712 * src/graphics.c (plot_image_or_update_axes): "with image" from a
713 function may not make sense, but at least it should not segfault.
716 2011-09-07 Ethan A Merritt <merritt@u.washington.edu>
718 * src/parse.c (parse_sum_expression): Simplify construction of summation
721 * src/command.c (undefine_command) src/eval.c (del_udv_by_name):
722 Break out the guts of undefine_command into a utility routine that can
723 be called internally.
725 * src/hidden3d.c (build_networks): Valgrind found a test against an
728 2011-09-06 Ethan A Merritt <merritt@u.washington.edu>
730 * configure.in: cairo_ps_surface_set_eps is only supported by cairo
731 version 1.6.0 or later.
733 2011-09-05 Ethan A Merritt <merritt@u.washington.edu>
735 * src/term.c term/canvas.trm: Allow canvas and svg terminals to provide
736 mousing even if gnuplot itself is built without USE_MOUSE.
738 * src/gplt_x11.c src/Makefile.am: gnuplot_x11 --version
740 2011-09-04 Bastian Maerkisch <bmaerkisch@web.de>
742 * src/readline.c (fn_completion, tab_completion, isdoublewidth)
743 src/win/screenbuf.h (sb_calc_length) src/win/wcommon.h (open_printer,
744 close_printer) src/win/wgraph.c (UnicodeText) src/win/winmain.c
745 (ShutDown, CheckMemory) src/win/wmenu.c: Add missing prototypes,
746 make local functions static.
748 * src/alloc.c src/alloc.h src/ansicheck.h src/command.c src/command.h
749 src/plot.c src/scanner.c src/stdfn.c src/syscfg.h src/term.c:
750 Remove conditional code for Atari Pure C and Borland C compilers.
752 * src/axis.c src/command.c src/datafile.c src/getcolor.c src/misc.c
753 src/pm3d.c src/variable.c: Remove unused variables and prototypes.
755 2011-09-03 Ethan A Merritt <merritt@u.washington.edu>
757 * term/svg.trm term/canvas.trm term/js/gnuplot_mouse.js
758 term/js/gnuplot_svg.js: Add support for time coordinates to the mousing
759 code used by svg and canvas terminals. In this initial implementation,
760 only the primary X axis is checked, and there is no provision for a
761 user-supplied format.
763 2011-09-02 Ethan A Merritt <merritt@u.washington.edu>
765 * configure.in term/cairo.trm: Check for the presence of cairo-ps.h
766 before trying to build the epscairo terminal.
768 2011-09-02 Bastian Maerkisch <bmaerkisch@web.de>
770 * docs/makefile.ami docs/old/README.ami docs/old/README.win
771 src/gnuplot.prj src/linkopt.ztc: Removed.
773 * config/makefile.unx docs/Makefile.in src/Makefile.am: Remove
774 references to obsolete files.
776 2011-09-01 Ethan A Merritt <merritt@u.washington.edu>
778 * configure.in: Yet another rewrite of the installation path rules for
782 * configure.in: Remove some obsolete status messages.
784 2011-09-01 Shigeharu Takeno <shige@iee.niit.ac.jp>
786 * term/emf.trm (EMF_put_text): Use iconv to handle Shift_JIS encoding.
788 2011-08-31 Ethan A Merritt <merritt@u.washington.edu>
790 * m4/apple.m4: Revert change of 2011-07-23 (aquaterm LIBS)
792 * configure.in: Rewrite the installation path rules for TeX files.
795 2011-08-29 Bastian Maerkisch <bmaerkisch@web.de>
797 * src/winmain.c (_WIN32_IE): MinGW64 headers require IE >= 501.
800 2011-08-29 Ethan A Merritt <merritt@u.washington.edu>
802 * src/gplt_x11.c src/stdfn.h src/getcolor.c: Make "assert" statements
803 trigger int_error() rather than abort(), so that debugging is easier.
805 2011-08-28 Shigeharu Takeno <shige@iee.niit.ac.jp>
807 * docs/gnuplot-ja.doc docs/term-ja.diff: sync to docs version 1.688
809 2011-08-28 Peter Juhasz <juhaszp@users.sourceforge.net>
811 * src/plot2d.c (get_data): Revert yesterday's change to this file
812 because it broke stringvar.dem.
814 2011-08-27 Ethan A Merritt <merritt@u.washington.edu>
816 * PORTING src/makefile.all src/makefile.awc src/term.h configure.vms
817 config/config.cyg config/config.dj2 config/config.mgw config/config.nt
818 config/config.os2 config/config.oww config/makefile.unx configure.in:
819 Remove obsolete mgr terminal driver. The mgr window system offered a
820 terminal sort of like xterm+graphics in the era of Sun3 (i.e. early-mid
821 1990s). Source for the mgr server has apparently disappeared from the
822 net. Gnuplot's mgr.trm supported only text and vector commands, so
823 even if an operational installation of mgr could be found, features
824 added to gnuplot since about version 3.7 would be irrelevant. Let it go.
826 2011-08-27 Peter Juhasz <juhaszp@users.sourceforge.net>
828 * src/datafile.c (expect_string) src/eval.c src/eval.h docs/gnuplot.doc:
829 Add patch #3397007 to complete the support for named columns with the
830 "labels" style. The following now works:
831 plot 'data' using "A":"B":"labels" with labels
832 Update the documentation.
834 * src/datafile.c (f_timecolumn) src/plot2d.c:
835 Track the current using spec to ensure that the timecolumn function
836 gets the right timeformat. (fixes part of bug #3163386)
838 * demo/timedat.dem: Remove the relative date demo because it was
839 misleading and incorrect.
841 * src/set.c (set_tics): For some options set_tics()
842 didn't act on all axes.
844 * src/graphics.c (boundary): Fix (?) boundary calculation for
847 2011-08-25 René Haber <renehaber@users.sourceforge.net>
849 * term/cairo.trm: New terminal epscairo using the shared cairo/pango
850 code to produce and export an eps surface.
852 * term/term.c: Allow "set term eps" as short for "set term epscairo".
854 2011-08-24 Bastian Maerkisch <bmaerkisch@web.de>
856 * src/command.c src/command.h src/win/winmain.c: "raise/lower <id>"
857 command for windows terminal.
859 * src/command.c (rlgets): Restore code for builtin readline which was
862 2011-08-23 Peter Juhasz <juhaszp@users.sourceforge.net>
864 * src/datafile.c (f_stringcolumn) docs/gnuplot.doc:
865 Implement 'stringcolumn("string")' in using specs to allow named columns
866 for the "labels" style too. The more natural
867 plot 'data' using "A":"B":"labels" with labels
868 still doesn't work: document this fact.
870 2011-08-23 Bastian Maerkisch <bmaerkisch@web.de>
872 * src/command.c (rlgets): Removing duplicate entries trashes command
873 line history when using editline. Just suppress adding the same command
874 to history repeatedly.
875 * src/history.c (history_find_all): editline's version of
876 history_set_pos() does not work, so traverse history list manually.
877 History indices are reversed compared to GNU readline. Fixes history ?.
880 * term/emf.trm (EMF_put_text): Use iconv (if available) to convert
881 UTF-8 encoding to UTF-16 and store using wide characters.
884 * config/config.mgw config/mingw/Makefile: add support for libiconv
886 2011-08-22 Ethan A Merritt <merritt@u.washington.edu>
888 * src/graph3d.c: Honor 'set key maxrows N' in 3D plot key.
891 2011-08-19 Ethan A Merritt <merritt@u.washington.edu>
893 * src/commands.c src/misc.c docs/gnuplot.doc:
894 The old-style if/else syntax cannot be mixed with the new syntax using
895 { and } to enclose blocks of commands, possibly spanning several lines.
896 Add stronger warnings to the documentation and issue an error message
897 if an old-style if statement is encountered inside a bracketed clause.
900 2011-08-15 Bastian Maerkisch <bmaerkisch@web.de>
902 * src/win/wgraph.c (WndGraphProc): Restore text window on space key:
903 also show terminal window if it is currently minimized.
905 * src/command.c (pause_command) src/win/wgnuplib.h (GW) src/win/wgraph.c
906 src/win/winmain.h src/win/winmain.c term/win.trm: Support multiple
907 graph windows. All state variables of graph windows were contained
908 in a single struct already. Replace all references to this struct
909 (graphwin) by pointers and dynamically allocate new instances when
910 required. Do not pass on mouse and key events from inactive windows.
911 Note: Since a single number passed to `set term win` is now interpreted
912 as window identifier, the old and fontsize options are no longer
913 supported and the `font` keyword is now required. This is consistent
914 with other terminals (e.g. x11 and wxt).
916 * src/win/wgnuplib.h src/win/wgraph.c: Make GraphChangeFont static.
918 2011-08-15 Reinier Heeres <rheeres@users.sourceforge.net>
920 * src/win/pgnuplot.c: Detect termination of wgnuplot. Slightly enhanced
921 version of SF patch #2373741.
923 2011-08-09 Ethan A Merritt <merritt@u.washington.edu>
925 * PORTING config/config.cyg config/config.dj2 config/config.mgw
926 config/config.nt config/config.os2 config/config.oww
927 config/makefile.unx configure.in configure.vms docs/Makefile.in
928 docs/doc2texi.el docs/gpcard.tex src/Makefile.am src/makefile.all
929 src/makefile.awc src/rgipgnu src/term.h term/rgip.trm
931 Remove code specific to the rgip terminal (Redwood Graphics Interface
932 Protocol). The company (uniplex) supporting this protocol no longer
933 exists. The terminal itself no longer compiles cleanly, and valgrind
934 shows many buffer overflows and alloc/free errors.
935 19 files changed, 13 insertions(+), 841 deletions(-)
937 2011-08-02 Ethan A Merritt <merritt@u.washington.edu>
939 * docs/plotstyles.gnu docs/gnuplot.doc term/be.trm term/canvas.trm
940 term/cgm.trm term/ai.trm term/aquaterm.trm term/cgi.trm:
941 Documentation updates
943 * src/wxterminal/wxt_gui.cpp (OnCreateWindow): It is not acceptable
944 to have every new plot window occlude the center of the screen.
946 2011-08-01 Micha Wiedenmann <mw-u2@gmx.de>
948 * src/eval.h src/eval.c (get_udv_by_name free_at) src/show.c (disp_at)
949 src/internal.h src/internal.c (f_sum) src/parse.c (parse_sum_expression)
950 docs/gnuplot.doc demo/bivariat.dem:
952 New expression type for summation:
953 sum [<var> = <beg> : <end>] <something>
955 2011-07-30 Stefan Reiser <stefanreiser@users.sourceforge.net>
957 * src/win/wgraph.c (WriteGraphIni): Fix spelling of "Antialiasing"
960 2011-07-27 Ethan A Merritt <merritt@u.washington.edu>
962 * src/graphics.c (plot_impulses): Skip UNDEFINED points.
965 2011-07-28 Bastian Maerkisch <bmaerkisch@web.de>
967 *src/win/wgraph.c (GraphEnhancedOpen, GraphEnhancedFlush): Fix sign
968 error in placement of rotated enhanced text with sub-/superscripts.
970 2011-07-27 Ethan A Merritt <merritt@u.washington.edu>
972 * term/svg.trm: Handle multiple overprint characters, albeit not
973 the way people probably expect.
976 2011-07-25 Ethan A Merritt <merritt@u.washington.edu>
978 * term/svg.trm: Remove size limit on svg plot dimensions.
980 2011-07-24 Ethan A Merritt <merritt@u.washington.edu>
982 * src/wxterminal/wxt_gui.cpp: Fix MSWin breakage from yesterday's patch
983 due to conditional code block damage.
986 * src/datafile.c (df_readbinary): Allow "using ... xticlabels()" for
987 binary files as well as ascii files. Only string-valued functions
988 are valid in this case, as no string can be read from the binary
991 * src/graph3d.h src/hidden3d.c src/misc.c src/misc.h src/plot3d.c:
992 Re-work assignment of color and line type to top/bottom hidden3d
993 surfaces. Keep the user-requested linetype in a new field of the
994 splot structure, since otherwise linetype definitions would overwrite
997 2011-07-23 Adam Strzelecki <ono@users.sourceforge.net>
999 * src/wxterminal/wxt_gui.cpp src/wxterminal/wxt_gui.h m4/apple.m4:
1000 OSX support for wxt terminal. For OSX, switch to using single-threaded
1001 hybrid GUI & console event loop at wxt_waitforinput().
1002 Add -framework ApplicationServices to the apple-specific
1003 configuration flags.
1005 2011-07-23 Mojca Miklavec <mojca.miklavec.lists@gmail.com>
1007 * m4/apple.m4: Replace -laquaterm with -Wl,-framework -Wl,AquaTerm
1008 which is supposed to make the Macports version of aquaterm install
1011 2011-07-22 Peter Juhasz <juhaszp@users.sourceforge.net>
1013 * src/parse.c src/parse.h plot2d.c plot3d.c set.c unset.c command.c:
1014 Revise iteration-over-plot mechanism to handle edge cases of nested
1015 iteration correctly.
1017 2011-07-20 Peter Hedwig <peter@affenbande.org>
1019 * term/lua/gnuplot-tikz.lua: Point types 10 and 11 were upside down.
1022 * fill paths now have a pensize > 0 to have slight overlap of tiles to
1023 avoid rendering artifacts
1025 * path building was broken and showed interrupted lines on certain plots
1026 e.g. plot '+' u 1:($1**2):($1**2) with lines palette lw 3 title '$x^2$'
1028 * a new terminal option (tightboundingbox|notightboundingbox) is added
1030 2011-07-20 Ethan A Merritt <merritt@u.washington.edu>
1032 * src/datafile.c: Allow binary data for plot style fillsteps
1035 * term/gd.trm: Prevent infinite loop on unrecognized terminal option
1037 2011-07-14 Ethan A Merritt <merritt@u.washington.edu>
1039 * src/graphics.c (plot_boxes): Correct positioning of bars in clustered
1040 histograms when some values are missing.
1043 * src/datafile.c (df_open plot_option_using df_readascii f_column)
1044 src/datafile.h src/parse.c (create_call_column_at extend_at) src/parse.h
1045 src/eval.c src/eval.h src/plot2d.c src/plot3d.c docs/gnuplot.doc:
1047 Implement column selection based on matching a leading substring of the
1049 plot 'foo' using (column("A")):(column("B"))
1050 plot 'foo' using "A":"B"
1051 plot for [value in "Weight Height"] 'foo' using "Age":value
1053 2011-07-12 Peter Juhasz <juhaszp@users.sourceforge.net>
1055 * src/command.c src/term.c: Fix crash of 'test' after an
1056 unsuccessful 'set term'
1059 * src/parse.c src/parse.h docs/gnuplot.doc: Add nested iteration in plot
1060 and other commands: constructs like 'plot for [i=1:5] for [j=1:5] foo'
1063 * src/axis.c src/axis.h src/color.c src/graph3d.c src/graphics.c
1064 src/save.c src/set.c src/show.c src/unset.c docs/gnuplot.doc:
1065 Allow explicit justification for tic labels, e.g. set xtics right
1067 2011-07-11 Ethan A Merritt <merritt@u.washington.edu>
1069 * src/graphics.c (plot_steps): Don't pass negative heights to t->fillbox
1072 2011-07-03 Ethan A Merritt <merritt@u.washington.edu>
1074 * src/term.c (term_apply_lp_properties): Handle the case where
1075 LT_COLORFROMCOLUMN is passed through as a linetype along with a color.
1078 2011-06-30 Ethan A Merritt <merritt@u.washington.edu>
1080 * src/hidden3d.c (draw_edge): Do not apply the default top/bottom
1081 colors to line segments belonging to the plot border.
1084 2011-06-28 Ethan A Merritt <merritt@u.washington.edu>
1086 * term/svg.trm: Pattern-fill definitions must initialize both fill and
1087 stroke style; otherwise the most recent setting may bleed through.
1090 2011-06-28 Shigeharu Takeno <shige@iee.niit.ac.jp>
1092 * docs/gnuplot-ja.doc docs/term-ja.diff: sync to docs version 1.677
1094 2011-06-21 Ethan A Merritt <merritt@u.washington.edu>
1096 * src/graphics (plot_histeps): Fix range-checking of log-scaled y.
1099 2011-06-20 Ethan A Merritt <merritt@u.washington.edu>
1101 * src/getcolor.c term/x11.trm src/gplt_x11.c:
1102 Remove a set of routines in getcolor.c used only by the x11 terminal
1103 to pass a color gradient description through the pipe to gnuplot_x11.
1104 They packed four doubles (value; RGB color) into 8 bytes, losing
1105 precision and failing to round. Now we instead use 12 ascii characters
1109 2011-06-19 Ethan A Merritt <merritt@u.washington.edu>
1111 * src/command.c src/command.h src/misc.c src/misc.h src/parse.h
1112 src/scanner.c src/scanner.h src/tables.c src/util.c docs/gnuplot.doc:
1114 Extend the line input processing to include blocks of commands enclosed
1115 by curly braces, possibly spanning multiple lines. This syntax is used
1117 if (<cond>) { ... } else { ... }
1118 do for [...] { ... }
1119 while (<cond>) { ... }
1121 2011-06-18 Ethan A Merritt <merritt@u.washington.edu>
1123 * src/datafile.c src/gplt_x11.c src/plot2d.c src/set.c src/util.c:
1124 Remove dead code sections. Most of these have been commented out for
1127 * src/command.c (do_line): Macro expansion must be done before calling
1128 scanner() to identify specific tokens.
1130 * src/command.c src/command.h: Export string_expand_macros().
1132 * src/command.c (read_line): Prepare for block-structure work by adding
1133 a parameter to allow extending, rather than replacing, the input line.
1135 2011-06-17 Ethan A Merritt <merritt@u.washington.edu>
1137 * src/getcolor.c (quantize_gray)): Remove a possible discontinuity at
1138 the boundary of defined palettes with a small number of segments.
1141 2011-06-17 Peter Juhasz <juhaszp@users.sourceforge.net>
1143 * src/time.c (gstrptime): The correction for the difference in epochs
1144 (2000 - 1970) was incorrect when reading times in %s format.
1147 2011-06-16 Ethan A Merritt <merritt@u.washington.edu>
1149 * src/pm3d.c (z2cb): If cb is log-scale, then limit result to positive
1153 2011-06-14 Ethan A Merritt <merritt@u.washington.edu>
1155 * src/graphics.c (plot_histeps): Allow data points with y=0 even if log
1159 2011-05-31 Ethan A Merritt <merritt@u.washington.edu>
1161 * term/emf.trm: Reset line and text colors at the start of each plot.
1163 * config/config.cyg config/config.dj2 config/config.mgw config/config.nt
1164 config/config.os2 config/config.oww config/makefile.dj2
1165 config/makefile.emx config/makefile.unx config/makefile.vms
1166 docs/doc2texi.el docs/Makefile.in docs/term-ja.diff
1167 src/makefile.all src/makefile.awc src/show.c src/term.c src/term.h
1168 configure.in configure.vms INSTALL PORTING NEWS
1169 term/gnugraph.trm term/unixplot.trm:
1171 Remove obsolete terminal drivers gnugraph and unixplot. The underlying
1172 gnu plotutils library is itself more than 10 years out of date (last
1173 release July 2000) and the terminal drivers haven't been upgraded for
1174 longer than that. In any event, current gnuplot has better native
1175 terminal drivers for the devices supported by unixplot/gnugraph.
1177 2011-05-27 Ethan A Merritt <merritt@u.washington.edu>
1179 * src/datafile.c (df_open df_determine_matrix_info):
1180 Add a keyword '[s]plot ... nonuniform matrix'
1181 This provides an ascii input option parallel to 'binary matrix'.
1182 nonuniform matrix: ascii; y coords in row 1, x coords in column 1
1183 binary matrix: binary; y coords in row 1, x coords in column 1
1184 matrix: ascii; uniform grid of x/y coords
1185 binary general: binary; uniform grid of x/y coords
1187 * docs/gnuplot.doc: Reorganize the description of data file contents.
1188 More reorganization is still wanting.
1190 2011-05-25 Bastian Maerkisch <bmaerkisch@web.de>
1192 * docs/windows/doc2html.c: Encoding of gnuplot.doc is UTF-8.
1194 2011-05-24 Christoph Bersch <usenet@bersch.net>
1196 * term/cairo.trm: PDF documents normally behave as if they had a
1197 transparent background. Modify the pdfcairo terminal to do this by
1198 default, but also to accept the keywords {no}transparent.
1200 2011-05-24 Harald Koenig <h_koenig@users.sourceforge.net>
1202 * src/Makefile.maint: Use dd rather than head to update last-modified
1203 date since not all platforms support "head -c".
1205 2011-05-24 Ethan A Merritt <merritt@u.washington.edu>
1207 * docs/titlepag.tex, docs/gnuplot.doc: Add Peter Juhasz,
1208 Bastian Maerkisch, and Shige Takeno to the list of contributors. UTF-8.
1210 2011-05-22 Ethan A Merritt <merritt@u.washington.edu>
1212 * parse.c (check_iteration next_iteration empty_iteration) parse.h
1213 plot2d.c plot3d.c set.c unset.c: Rather than using a single set of
1214 global iteration bookkeeping variables, require that each iteration
1215 user pass in a structure for bookkeeping. This allows nested
1216 iteration, so long as two different iteration structures are used.
1218 * command.c (do_line): Strip trailing comments from input lines as
1219 they are read, since there is no point in storing what we are going
1220 to ignore later. Minor cleanup of #ifdef nesting.
1222 2011-05-16 Ethan A Merritt <merritt@u.washington.edu>
1224 * src/specfun.c (humlik): Initialization would fail whenever y = -1.
1226 2011-05-15 Bastian Maerkisch <bmaerkisch@web.de>
1228 * src/wxterminal/gp_cairo.c (gp_cairo_draw_fillbox): Width of filled
1229 box was off by one unit.
1231 * src/win/wgraph.c (GetMousePosViewport): Window size is zero for
1232 minized windows on Vista. Fixes crash when closing plot window in
1233 minimized state e.g. via taskbar.
1235 * src/win/wgraph.c (drawgraph): [W_boxfill] Fix inversion of
1236 transparency. [W_filled_polygon_draw]: Fix transparency in case of
1237 aliased solid white polygons.
1239 2011-05-14 Ethan A Merritt <merritt@u.washington.edu>
1241 * src/axis.h src/axis.c src/gadgets.c src/gadgets.h src/graphics.c
1242 src/hidden3d.c src/internal.c term/README: Fix incomplete and incorrect
1243 initializers found by gcc.
1245 2011-05-14 Bastian Maerkisch <bmaerkisch@web.de>
1247 * src/win/wgraph.c (drawgraph) [W_image]: Clip images as requested.
1249 * src/win/wgraph.c (WndGraphProc) [WM_KEYDOWN]: Handle VK_CONTROL key
1250 events again. Fixes ctrl-mousedrag rotation of splots.
1252 * src/mouse.c (event_keypress): MinGW's toupper() masks out high bits
1253 required for special keys. Only call for 8bit characters. Fixes
1254 accelerated rotation with keys (e.g. shift-left) for wxt and windows
1257 * src/win/wgdiplus.c|h src/win/wgraph.c: Extend support for
1258 antialiasing of line segments and point symbols. Omit border of
1259 non-antialiased solid filled polygons.
1261 2011-05-13 Ethan A Merritt <merritt@u.washington.edu>
1263 * src/graph3d.c (draw_3d_graphbox): Avoid use of round() because
1264 MSVC is still not C99-compliant.
1266 2011-05-13 Allin Cottrell <cottrell@wfu.edu>
1268 * src/wxterminal/gp_cairo.c (gp_cairo_convert): Make the WIN32 font
1269 work-around (2009-11-06) conditional on cairo < 2.10. Needs more
1272 2011-05-13 Bastian Maerkisch <bmaerkisch@web.de>
1274 * src/win/wgraph.c (WndGraphProc): Cycle through mouse-modes by
1275 clicking on status bar. Suggestion by plotter@piments.com
1277 * src/plot.c (main): Print messages concerning codepages only in
1278 interactive sessions.
1280 * src/win/wgnuplot.rc: Give the MSVC compiler a chance to create the
1283 * src/win/wgraph.c (drawgraph): Fix image regression.
1285 * term/win.trm: Help text for antialiasing.
1287 2011-05-12 Ethan A Merritt <merritt@u.washington.edu>
1289 * docs/gnuplot.doc src/set.c src/mouse.c: Update documentation for the
1290 mouse format modes, which has been incorrect since approximately forever
1291 (predates CVS repository).
1293 2011-05-10 Ethan A Merritt <merritt@u.washington.edu>
1295 * src/datafile.c (expand_df_column): Provide a shared routine for
1296 dynamic allocation of space to hold input data lines. This replaces
1297 three separate instances, only one of which did proper initialization.
1299 * src/graphics.c (finish_filled_curve): Consolidate duplicated code.
1301 * src/graph3d.c (draw_3d_graphbox) src/set.c (parse_label_options)
1302 src/gadgets.h src/show.c src/save.c
1303 docs/plotstyles.gnu docs/gnuplot.doc:
1304 The X-axis and Y-axis labels in 3D plots can be aligned parallel to the
1305 respective axis using the command `set [xy]label rotate parallel`.
1307 2011-05-10 Bastian Maerkisch <bmaerkisch@web.de>
1309 * term/gd.trm (PNG_options): Init font pointers before using them.
1311 2011-05-09 Ethan A Merritt <merritt@u.washington.edu>
1313 * term/eepic.trm: New terminal option {size XX,YY}
1316 * src/graphics.c (boundary): Add a sanity check to make sure that the
1317 plot size is not so small that the boundary limits go negative.
1318 Implemented as int_warn(), but maybe it should be int_error().
1321 * src/term_api.h src/term.c src/util.c src/util.h: Remove dead code.
1323 2011-05-07 Bastian Maerkisch <bmaerkisch@web.de>
1325 * src/command.c (help_command) src/win/wgraph.c (WndGraphProc)
1326 src/win/winmain.c (WinExit, WinMain) src/wxtterminal/wxt_gui.cpp
1327 (wxtPanel::RaiseConsoleWindow, wxt_atexit): For console gnuplot on
1328 Windows, remove dependency on struct textwin, which represents the
1329 non-existant text window. Fixes e.g. overwriting of text window
1330 settings in wgnuplot.ini. Console gnuplot no longer depends on wtext.c
1333 * src/standard.c (fn_asin, fn_asinh): Fix calculation for complex
1334 arguments. Make sure that asin(sin(z))==z. Bug #2879772.
1336 * config/README: Update to current status.
1338 * config/config.mgw config/config.oww: Sync with config.h created
1341 2011-05-06 Shigeharu Takeno <shige@iee.niit.ac.jp>
1343 * src/graph3d.c: Make "notitle" suppress contour line key entries in
1344 addition to the surface key entry. This makes it possible to draw any
1345 combination of surface, contours, and key entries.
1347 2011-05-06 Benjamin Lindner <lindnerb@users.sourceforge.net>
1349 * docs/plotstyles.gnu docs/gnuplot.doc: Add an illustration of the
1350 'newhistogram' command.
1352 2011-05-06 Ethan A Merritt <merritt@u.washington.edu>
1354 * INSTALL: Update the description of readline options and mention
1355 the ./prepare script.
1357 2011-05-06 Shigeharu Takeno <shige@iee.niit.ac.jp>
1359 * config/makefile.nt: Add missing support for GDI+. Bug #3298244
1361 2011-05-06 Bastian Maerkisch <bmaerkisch@web.de>
1363 * config/msvc/Makefile: New file for Microsoft Visual C++. Builds
1364 out of tree. Intended to eventually replace config/makefile.nt.
1366 config/Makefile.am.in (Makefile.am): Add new Makefile.
1368 2011-05-05 Ethan A Merritt <merritt@u.washington.edu>
1370 * src/datafile.h src/datafile.c src/plot2d.c src/plot3d.c:
1371 Change prototype of df_set_key_title_columnhead() to match that of
1374 2011-05-05 Bastian Maerkisch <bmaerkisch@web.de>
1376 * term/win.trm (WIN_set_font) src/win/wgraph.c (drawgraph): Defer
1377 determination of default font name and size. Fixes bug addressed
1378 by change of 2010-02-22, but without the need for do_string_replot()
1380 * src/win/wgraph.c (drawgraph): New variable fill_color to track
1381 color of fills. Use cached color brush for transparent solid fills
1382 instead of creating a new one.
1384 * src/win/wgraph.c (drawgraph) src/win/wgdiplus.c|h: Add support for
1385 antialiased solid filled (transparent) polygons.
1387 * src/win/wpause.c (WndPauseProc): Use default dialog font instead of
1388 fixed width font for pause dialog.
1390 * src/readline.c (readline): Tab is a printable character in some
1391 locales, ie. isprint(TAB)>0.
1393 * src/win/wgraph.c (MakeFonts): Reduce size of tics and point symbols
1396 2011-05-04 Bastian Maerkisch <bmaerkisch@web.de>
1398 * config/mingw/Makefile: Build support for lua tikz related TeX files.
1399 Use Makefile.maint to update version.c. Update install target to match
1400 directory layout of distribution and include share/lua/, share/LaTeX/,
1401 contrib/, demo/, README, NEWS, Copyright and ChangeLog.
1403 2011-05-02 Ethan A Merritt <merritt@u.washington.edu>
1405 * src/variable.c (locale_handler): If built-in readline character input
1406 is to recognize UTF-8 characters via wcwidth(), it is necessary to
1407 initialize the CTYPE locale on entry. "set encoding utf" is not
1410 2011-05-02 Bastian Maerkisch <bmaerkisch@web.de>
1412 * src/readline.c (tab_completion, fn_completion, readline) NEWS:
1413 Cycling variant of filename tab-completion for builtin readline.
1415 * src/stdfn.c|h (strnlen, strndup) configure.in config/config.nt
1416 config/config.mgw config/config.oww: Support functions used by
1417 tab-completion code.
1419 * src/stdfn.c|h (opendir, closedir, rewinddir): Add Kevlin Henney's
1420 POSIX directory browsing functions and types for Win32.
1422 * src/readline.c (mbwidth, isdoublewidth) configure.in: Determine
1423 on screen width of utf8 encoded characters with wcwidth() if
1424 provided by the system.
1426 * src/readline.c (delete_previous_word): Overprint with exact
1427 number of spaces, add NUL at eol.
1429 2011-04-30 Ethan A Merritt <merritt@u.washington.edu>
1431 * src/readline.c (clear_eoline): More efficient clear line algorithm.
1433 2011-04-29 Ethan A Merritt <merritt@u.washington.edu>
1435 * src/mouse.c (apply_zoom): Prevent double-free of custom font for tic
1439 2011-04-28 Bastian Maerkisch <bmaerkisch@web.de>
1441 Support for (optional) antialiasing in windows terminal via GDI+.
1443 * config/config.mgw, config/config.nt: Compilers have support for
1444 GDI+: define HAVE_GDIPLUS. Note: OpenWatcom might not support GDI+
1445 * config/mingw/Makefile: Include new files wgdiplus.h|cpp in build,
1446 add library gdiplus.
1447 * src/win/wgdiplus.cpp src/win/wgdiplus.h: New files. C interface
1448 to Windows GDI+ library. Currently supports polylines and circles.
1449 * src/win/wgnuplib.h src/win/wgraph.c src/win/winmain.c
1450 src/win/wresourc.h: Implement antialiasing for lines and and most point
1451 shapes. Add option to LPGW, wgnuplot.ini and popup menu to toggle
1452 antialiasing on and off. Default to oversampling off now that we have
1453 proper antialiasing. Wrap all GDI+ code in #ifdef HAVE_GDIPLUS.
1455 * src/win/wgraph.c (drawgraph) [W_fillstyle, FS_PATTERN]: Fix cycling
1458 * src/wxterminal/gp_cairo.c|h (gp_cairo_default_font)
1459 src/wxterminal/wxt_gui.c: New function to determine default font.
1460 Default is "Sans" on all systems but Windows where this alias might
1461 not work work in all cases.
1463 2011-04-27 <wtf3@users.sourceforge.net>
1465 * src/graphics.c: The autotitle option for column-stacked histograms
1466 should honor "set key maxrows N".
1469 2011-04-27 Bastian Maerkisch <bmaerkisch@web.de>
1471 * src/command.c (help_command) src/win/winmain.h src/win/winmain.c
1472 (WinExit, ShutDown, WinCloseHelp, WinMain): Work-around for apparently
1473 well known html help bug, which causes spurious crashes on exit. Keep
1474 track of help window handle and try to close the window as soon as
1475 possible. New function WinCloseHelp.
1477 Extensive update to color, linetype and fillstyle handling in windows
1478 terminal. Fixes several bugs and implements new options.
1480 * term/win.trm (WIN_id, WIN_opts, WIN_options): Add options "solid",
1481 "dashed", "background", "fontscale" and "linewidth". Call new function
1482 GraphInitStruct to initialize graphwin. Inlcude font in term_options.
1483 * term/win.trm (WIN_point, WIN_filled_polygon): Handle dashed lines
1484 in drawgraph, not here. (WIN_filled_polygon): Use generalized
1485 W_fillstyle call, shared with WIN_boxfill. (WIN_boxfill): Pass second
1486 corner as parameter, not width and height. Fixes spurious rounding
1487 errors during translation to graph coordinates. (help text): Document
1489 * src/win/wgnuplib.h (GW): Reorder entries according to function.
1490 * src/win/wgraph.c (pattern_bitmaps): Fix double cross-hatch.
1491 (GraphInitStruct): New function. (MakePens, DestroyPens): Account for
1492 linewidth and sampling and create an additional "null" pen which is
1493 used for filled polygons and boxes. (MakeFonts, GraphEnhancedOpen)
1494 Account for fontscale. (draw_new_pens, draw_new_brush) New functions
1495 to (re)create brushes and pens. Always create a "solid" partner for
1496 the possibly "dashed" pen. Called by drawgraph.
1497 * src/win/wgraph.c (drawgraph): Reorder variables according to
1498 function. [W_line_type]: Save last LOGPEN instead of pen index. Make
1499 use of draw_new_pens. Select background brush for line-type <=
1500 LT_NODRAW (fix by Shigeharu Takeno, Bug 3192205). [W_fillstyle]: Unify
1501 code for filled boxes and polygons. Use draw_new_brush. [W_boxfill]:
1502 Fillstyle is now set by previous call to W_fillstyle. Change interface
1503 from relative (width, height) to absolute position to avoid off by one
1504 rounding errors. Deselect brush use for transparent fill before
1505 deleting it. [W_line_width] Scale by linewidth option. [W_setcolor]
1506 Use save LPOGEN to create pens with new color. Use draw_new_brush and
1507 draw_new_pens to recreate brushes and pens. [W_filled_polygon_draw]
1508 Fillstyle is now set by previous call to W_fillstyle. Use "null" pen
1509 to avoid drawing a border around filled area. [W_image] Avoid static
1510 variables. [W_plus,...] Use solid pen. Fixes point symbols drawn with
1511 dashed lines. Adresses Bug 1952364.
1513 2011-04-26 Ethan A Merritt <merritt@u.washington.edu>
1515 * src/readline.c: Revise the built-in readline code to handle UTF-8
1516 encoded character input. The revised code is only active if the user
1517 has explicitly done "set encoding utf8" or "set encoding locale", but
1518 probably it should be the default in a UTF-8 locale.
1520 * src/readline.c (clear_line): More efficient clear line algorithm.
1522 2011-04-25 Ethan A Merritt <merritt@u.washington.edu>
1524 * src/plot.c (main) src/misc.c (load_file): Initializing c_token to an
1525 illegal value is not a good idea.
1528 2011-04-23 Shigeharu Takeno <shige@iee.niit.ac.jp>
1530 * docs/gnuplot-ja.doc docs/term-ja.diff: sync to docs version 1.664.
1531 * docs/Makefile.in (wxhelp/doc2html.o): Add missing space.
1533 2011-04-22 Ethan A Merritt <merritt@u.washington.edu>
1535 * src/readline.c docs/gnuplot.doc: Built-in readline did not recognize
1536 the character sequence produced by the DEL key on many keyboards. Trap
1537 this sequence for interpretation as "forward delete", which is what the
1538 same key does under windows and gnu libreadline. This does not affect
1539 keyboards or xmodmap configurations where the DEL key produces another
1542 2011-04-22 Bastian Maerkisch <bmaerkisch@web.de>
1544 * src/readline.c: The behavior of ^W was not consistent with the
1545 documentation. Change it to match gnu libreadline (delete previous
1546 partial or full word).
1548 2011-04-20 Ethan A Merritt <merritt@u.washington.edu>
1550 * src/gplt_x11.c: Most of the messages passed via the title bar
1551 of the X Display window are controlled by #ifdef TITLE_BAR_DRAWING_MSG.
1552 Do the same for the "allocating colors..." message.
1554 2011-04-19 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
1556 * config/Makefile.am.in (Makefile.am): Additional files to become
1557 part of the distributed tarball. Reindented.
1559 2011-04-19 Ethan A Merritt <merritt@u.washington.edu>
1561 * src/datafile.c (f_columnhead df_set_key_title) src/datafile.h
1562 src/eval.c src/plot2d.c (eval_plots) docs/gnuplot.doc:
1564 New function columnhead(N) that returns a string containing column N
1565 from the first line of a data set. 'plot ... title columnhead(i)'
1566 was previously implemented as a keyword; making it a function instead
1567 allows, for example,
1568 'plot for [i=3:6] ... title "Results of ".columnhead(i)'
1570 2011-04-19 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
1572 * docs/Makefile.in (wxhelp/doc2html, gnuplot.htb): Ooops.
1573 Yesterday's directory name change to windows was wrong. Undoing
1576 2011-04-18 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
1578 * term/Makefile.am.in: Use $< where applicable.
1579 ($(srcdir)/lua/gnuplot-tikz.help): Make workable outside the
1580 source tree. Use $< and $@ where applicable.
1582 * docs/Makefile.in (CLEANFILES): Fix broken directory name;
1584 (gnuplot.htb): Fix broken directory name. Make workable in
1585 out-of-source builds.
1586 (windows/wgnuplot.html, windows/doc2html.o, windows/doc2html): Fix
1587 wrong directory name.
1589 * Makefile.maint (amfiles): Missing semicolon.
1591 2011-04-18 Bastian Maerkisch <bmaerkisch@web.de>
1593 * src/win/wgraph.c (drawgraph): Fractional solid fill based on SF
1594 Patch 2905570 by Shigeharu Takeno. Remove halftone brushes.
1595 Eliminate static variable to keep track of pm3d brushes.
1597 2011-04-17 Bastian Maerkisch <bmaerkisch@web.de>
1599 * config/mingw/Makefile: Use $^ and $< where applicable. Patch by
1600 Benjamin Lindner, SF Patch 2468650. Set TARGET only if it's not
1601 already defined. GNUPLOT_LUA_DIR was included twice in
1602 TERMOPTIONS. GNUPLOT_PS_DIR is required by show.c. [wgnuplot.chm]
1603 Avoid changing directory via shell which seem not to work reliably
1606 2011-04-17 Ethan A Merritt <merritt@u.washington.edu>
1608 * config/Makefile.am.in: Fix package-build breakage.
1610 2011-04-17 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
1612 Building the three different types of executable for Windows
1613 was quite cumbersome (change make variable, make clean, build,
1614 all that thrice). Compiling to three different object file name
1615 extensions helps with that.
1617 * config/watcom/Makefile (VARIANT): New macro to choose among
1619 (TARGETS_PLAIN, EXTRA_CPPFLAGS_PLAIN, TARGETS_PIPES)
1620 (EXTRA_CPPFLAGS_PIPES, TARGETS_CONSOLE, EXTRA_CPPFLAGS_CONSOLE):
1621 New macros for settings particular to one variant.
1622 (DEFAULT_TARGETS): Changed definition to use new per-variant
1624 (ALL_TARGETS): New macro listing all things that can be built.
1625 (all): New target building all variants without the need to make
1627 (WIN_EXTRA_INPUTS): Removed $(WINOBJS)
1628 (OBJS): Add $(WINOBJS) here instead.
1629 (CONSOLE_OBJS, PIPE_OBJS): Copies of $(OBJS) with different object
1631 Use $(O) in favour of fixed .obj, to allow renaming trick.
1632 (.EXTENSIONS): Add .cobj and .pobj to list of recognized file name
1634 (.c.cobj): New implicit rule to compile sources for the console build.
1635 (.c.pobj): New implicit rule for pipe-enabled build.
1636 (wgnuplot.exe): $(WINOBJS) is contained in $(OBJS) now.
1637 (wgnuplot_pipes.exe): Use $(PIPE_OBJS) instead of $(OBJS)
1638 (gnuplot.exe): USE $(CONSOLE_OBJS) instead of $(OBJS)
1639 (term.cobj): New explicit rule to compile term.c for the console build.
1640 (term.pobj): New explicit rule to compile term.c for the pipe build.
1641 (.c): Added windows source subdirectory to VPATH search list.
1642 (w*.obj): Removed unnecessary explicit rules for Windows-specific
1644 (clean): Remove object files with new names.
1646 * config/watcom/.cvsignore: Add new file name extensions to ignore.
1648 2011-04-17 Bastian Maerkisch <bmaerkisch@web.de>
1650 * config/makefile.cyg config/makefile.mgw config/makefile.unx
1651 cygwin/Makefile mingw/Makefile: Remove dependencies on
1652 wgnuplot.def and wgnuplib.def.
1654 * src/wgnuplib.def: Removed
1656 2011-04-16 Bastian Maerkisch <bmaerkisch@web.de>
1658 * config/config.amg config/makefile.msc config/term.pc.h
1659 config/makefile.win config/makefile.ztc src/win/wgnuplot.def
1660 src/win/wgnupl32.def: Remove build files for no longer supported
1661 platforms DOS16, WIN16, Amiga and compilers.
1663 * src/ansicheck.h src/command.c src/eval.h src/stdfn.h
1664 src/syscfg.h src/term.c src/term.h src/makefile.all
1665 src/makefile.awc docs/Makefile.in term/fg.trm : Remove suport for
1666 the Zortech compiler and the no longer available Flash Graphics
1669 2011-04-15 Ethan A Merritt <merritt@u.washington.edu>
1671 * src/graphics.c (plot_steps) src/gp_types.h src/graph3d.c
1672 src/tables.c docs/gnuplot.doc docs/plotstyles.gnu:
1673 New plot style "with fillsteps" is identical to "with steps" except
1674 that the area between the stepped line and the baseline at y=0 is
1675 filled using the currently active fill style.
1677 * src/graphics.c (plot_fsteps, histeps_vertical)
1678 (histeps_horizontal): Simplify the code to use clip_line() rather
1679 than lots of in-line tests.
1681 * term/dumb.trm docs/gnuplot.doc: Updates
1683 2011-04-15 Bastian Maerkisch <bmaerkisch@web.de>
1685 * src/readline.c (msdos_getch, readline), src/win/winmain.c
1686 (ConsoleGetch): Don't quit on DEL on an empty line. Map DEL key to del
1687 character 127 instead of ^D, but keep old behaviour of deleting current
1688 character on platforms Windows, MSDOS and OS/2. SF Bug #3285571
1690 2011-04-13 Peter Hedwig <peter@affenbande.org>
1692 * term/lua/gnuplot-tikz.lua: Fix "charsize" option.
1694 2011-04-13 Ethan A Merritt <merritt@u.washington.edu>
1696 * term/canvas.trm term/gd.trm term/svg.trm term/x11.trm src/misc.c:
1697 Stricter checks that the red component of RGB colors stays in range.
1699 2011-04-13 Bastian Maerkisch <bmaerkisch@web.de>
1701 * src/win/wgraph.c (WndGraphProc), src/win/wtext.c (WndTextProc):
1702 Enable access to popup menu via status bar and keyboard.
1704 2011-04-12 Bastian Maerkisch <bmaerkisch@web.de>
1706 * src/win/wtext.c (WndParentProc) [WM_SIZE]: Ignore requests to set
1707 window size to 0,0. Fixes crash on Vista if Windows-D is pressed.
1709 2011-04-11 Ethan A Merritt <merritt@u.washington.edu>
1711 * term/js/gnuplot_common.js: Fix the clipping of filled rectangles
1714 2011-04-11 Petr Mikulik <mikulik@physics.muni.cz>
1716 * src/config/mingw/Makefile: Fixed relative directories in RCFLAGS.
1718 2011-04-10 Bastian Maerkisch <bmaerkisch@web.de>
1720 * src/term/win.trm, src/win/wgraph.c, src/win/wgnuplib.h: Renew text
1721 handling: Process enhanced text in drawgraph(), new functions
1722 GraphEnhancedOpen(), GraphEnhancedFlush(), revised GraphGetTextLength().
1723 This most notably fixes behaviour when resizing the graph window. Collect
1724 static variables used for the internal state of enhanced text processing
1725 into a struct. Move code out of main loop of drawgraph: New functions
1726 draw_put_text(), draw_text_justify(), draw_enhanced_text(). Fix baseline
1727 alignment of normal and enhanced text. Text position was moving in wrong
1728 direction for rotated enhanced text (fix replaces change dated
1729 2011-02-11). Remove unused function GraphGetFontScaling(). Fix text
1730 positioning of enhanced text with oversampling.
1732 * term/win.trm (WIN_graphics): Update character and window size.
1733 * src/win/wgraph.c (WndGraphProc): Remove another Win16 relict.
1734 * term/win.trm, src/win/wgnuplib.h, src/win/wgraph.c: Remove LPGW.resized,
1735 rename commands no longer exclusively used for pm3d.
1736 * src/win/wgraph.c (UnicodeText): Add codepage 1250.
1737 * term/win.trm (WIN_Init), src/win/wgraph.c (GraphInit): Move loading of
1739 * term/win.trm (WIN_scale): Removed.
1740 * term/win.trm (WIN_options), src/win/winmain.c (WinMain): Eliminate need
1741 for static variable WIN_gtitle.
1742 * term/win.trm (WIN_set_pointsize), src/win/wgraph.c (drawgraph)
1743 [W_pointsize]: Don't pass size as string.
1744 * src/win/wgraph.c (drawgraph) [W_line_type]: Only init LOGBRUSH lb
1746 * term/win.trm, src/win/wgraph.c: Various small code cleanups.
1748 2011-04-09 Ethan A Merritt <merritt@u.washington.edu>
1750 * term/svg.trm term/js/gnuplot_svg.js: Draw all grid lines with
1751 attribute class="gridline". Add an icon to toggle on/off lines with this
1752 attribute. Move both this icon and the mouse coordinate tracking box to
1753 the end of the output *.svg file so that they cannot be occluded by plot
1756 * term/svg.trm (SVG_PathClose): Firefox 3.x fails to render purely
1757 vertical lines. This is particularly noticeable because all vertical
1758 grid lines are missing. Work around this by adding 0.01 to the final
1761 2011-04-08 Ethan A Merritt <merritt@u.washington.edu>
1763 * term/svg.trm: Adjust enhanced text placement, removing some kludges
1764 that appear not to be necessary with the current generation of browsers.
1766 * term/svg.trm term/js/gnuplot_svg.js: Implement mouse tracking
1769 2011-04-07 Ethan A Merritt <merritt@u.washington.edu>
1771 * src/term.h term/svg.trm demo/html/webify_svg.pl demo/html/Makefile.svg
1772 demo/html/Makefile.svg: Add bitmap image handling to the svg terminal
1773 using the same mechanism of external png files used by the canvas and
1776 * term/svg.trm(SVG_init): Konqueror (KDE 4.5) crashes if the xlink to
1777 gnuplot_svg.js fails to load. Work around this by adding a test for the
1778 presence of gnuplot_svg before initializing.
1780 2011-04-06 Bastian Maerkisch <bmaerkisch@web.de>
1782 * term/win.trm, src/win/wgnuplib.h, src/win/wgraph.c: Use UINTs
1783 instead of DWORDs in struct GWOP.
1785 * src/win/wgraph.c, src/win/wgnuplib.h: Move static flag for
1786 unsupported encodings to struct LPGW. This ensures that errors
1787 are reported only once.
1789 2011-04-06 Ethan A Merritt <merritt@u.washington.edu>
1791 * src/graph3d.c src/graphics.c src/term_api.h: Add layering flags
1792 for BEGIN/END KEYSAMPLE.
1794 * term/js/gnuplot_svg.js term/svg.trm: Elementary mousing support for
1795 the svg terminal based on Patches #2477391 #2478169 (yeah, those are
1796 from 2 years ago). Toggle plot on/off in response to mouse click on
1797 the corresponding key entry.
1799 * demo/html/Makefile.svg demo/html/index.svg demo/html/webify_svg.pl:
1800 Revise the svg demo set to use mousing.
1802 * src/graphics.c (do_plot) src/term_api.h (TERM_LAYER_RESET_PLOTNO)
1803 term/svg.trm term/canvas.trm: The "set key opaque" option was causing
1804 mismatched begin/end plot pairs in output from the svg and canvas
1805 terminals (begin/begin/end). Revise this so that the plot and the key
1806 sample numbering is out of sync.
1808 2011-04-05 Ethan A Merritt <merritt@u.washington.edu>
1810 * src/color.c (ifilled_quadrangle): See note in the code. For some
1811 reason this fixes rendering of pm3d surfaces in the svg terminal.
1813 2011-04-04 Ethan A Merritt <merritt@u.washington.edu>
1815 * term/canvas.trm demo/html/mousebox.template term/js/gnuplot_mouse.js:
1816 Incorporate the plot name (from 'set term canvas name "foo") into the
1817 flag used by the toggleVisibility() routine so that plots in other
1818 canvas elements on the same page are not affected.
1820 2011-04-03 Ethan A Merritt <merritt@u.washington.edu>
1822 * src/term.c src/term.h term/Makefile.am.in term/lua.trm
1823 term/write_png_image.c: Move the routine write_png_image() out of
1824 lua.trm so that it can be shared by other terminal drivers.
1825 It requires support from either libgd or cairo, and provides bitmapped
1826 image support to the lua terminals and (in prospect) to the HTML5
1829 * src/save.c: Echo most recent range of autoscaled axes on "show" but
1830 not "save". This simplifies the output of gpsavediff in most cases.
1832 * gnuplot-cvs/term/js/gnuplot_mouse.js term/js/gnuplot_common.js
1833 gnuplot-cvs/term/canvas.trm (CANVAS_image):
1834 Implement support for image handling in the canvas terminal using the
1835 HTML5 canvas primitive drawImage(). Image data is written to a png file
1836 in parallel to generation of the main plot. The png image can then be
1837 loaded from the javascript handler for the plot it belongs to.
1839 * demo/html/Makefile demo/html/Makefile.canvas demo/html/index.canvas
1840 demo/html/mousebox.template: Update the demo collection to show the new
1844 2011-04-01 Ethan A Merritt <merritt@u.washington.edu>
1846 * term/canvas.trm demo/html/webify_canvas.pl:
1847 Add HTML5-conformant doctype and meta-information to output html.
1850 Wrap pm3d surfaces and hidden3d ensembles in BEFORE_PLOT/AFTER_PLOT
1851 flags via term->layer(). This allows them to be toggled on/off like
1852 other plots in HTML canvas output.
1854 * src/term.c(null_layer) src/graphics.c src/graph3d.c:
1855 Provide a null_layer() routine for all terminals that do not provide
1856 term->layer(). This allows us to remove explicit checks for support by
1857 the current terminal.
1859 2011-03-30 Ethan A Merritt <merritt@u.washington.edu>
1861 * demo/html/index.canvas demo/html/Makefile.canvas
1862 demo/html/mousebox.template demo/html/webify_canvas.pl:
1863 Separate make targets for 2D and 3D plots. Add buttons for toggling
1864 individual plots. Default to mousing enabled for all demo plots.
1867 Wrap each component plot in a test for (gnuplot.hide_plot_N).
1868 Add plot-toggling buttons to the standalone mousebox.
1869 Report gnuplot version in each plot generated.
1871 * term/gnuplot_common.js term/gnuplot_mouse.css term/js/canvas_help.html
1872 term/gnuplot_mouse.js (popup_help(URL) toggle_plot(N)):
1873 Add version number to shared javascript code modules.
1874 Add support for linking help button to plot-specific URL.
1875 Add support for toggling individual component plots on/off.
1877 2011-03-30 Bastian Maerkisch <bmaerkisch@web.de>
1879 * term/gd.trm: Don't try to reuse names of gd font pointers for
1880 local variables. Fixes build with MinGW and DLL version of libgd.
1882 * config/mingw/Makefile: Optionally, use pre-built DLL version
1883 of libgd. Use environment variable PROGRAMFILES to access help
1886 2011-03-29 Bastian Maerkisch <bmaerkisch@web.de>
1888 * src/win/wgnuplib.rc, src/win/wgnuplot.rc, src/win/wresourc.h:
1889 Use standard dialog font. Remove obsolete DS_3DLOOK.
1891 * src/win/winmain.c (WinMain): Sync About Dialog box with
1892 output of "show version".
1894 * src/win/wmenu.c (SendMacro), src/win/wgnuplot.mnu: Add
1895 About dialog to Help menu.
1897 * src/win/wmenu.c (SendMacro), src/win/wgnuplot.mnu: Add
1898 Options menu to toolbar.
1900 2011-03-28 Ethan A Merritt <merritt@u.washington.edu>
1902 * src/plot2d.c (get_data): Fix array bounds underflow if every
1903 point in a data file is invalid.
1906 2011-03-28 Bastian Maerkisch <bmaerkisch@web.de>
1908 * src/win/wtext.c: Always update complete lines of text instead
1909 of drawing single characters, since character boxes might
1910 overlap when using ClearType.
1912 * docs/README: Document recent changes to Windows help.
1914 * src/win/wgnuplib.h, src/win/wcommonh.h, src/win/wtext.c:
1915 Continue to make more stuff module-local.
1917 * src/win/wgnuplib.h, src/win/wmenu.c: Move definition of
1920 * config/config.nt: Sync with config.h created by autoconf.
1922 2011-03-26 Shigeharu Takeno <shige@iee.niit.ac.jp>
1924 * term/gd.trm (PNG_put_text ENHGD_FLUSH gd_iconv): Invoke the
1925 SJIS/UTF8 conversion for both enhanced and non-enhanced text.
1926 EAM - and collapse the shared code into a subroutine.
1928 2011-03-26 Bastian Maerkisch <bmaerkisch@web.de>
1930 * config/mingw/Makefile: Add missing paths to wxt/cairo/pango
1931 files. Update build instructions. WX_LOCATION is no longer
1932 required since gnuplot has its own manifest file now and the one
1933 supplied by wxWidgets is no longer included. htmlhelp.lib is
1934 included in LDLIBS not TERMFLAGS. Replace '=' by ':=' for shell
1935 commands. Filter out drive specifications "c:" in results from
1936 pkg-config which would confuse make.
1938 2011-03-25 Ethan A Merritt <merritt@u.washington.edu>
1940 * src/pm3d.c docs/gnuplot.doc: Allow pm3d plots to use the fourth
1941 column of data as "rgb variable" rather than "palette z".
1943 2011-03-25 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
1945 * src/win/wtext.c: Make more stuff module-local. Resolve several
1946 signedness conflicts introduced by functions in new screenbuf.c
1949 2011-03-25 Bastian Maerkisch <bmaerkisch@web.de>
1951 * src/plot.c (main), src/win/winmain.c (WinMain, WinExit),
1952 src/win/wcommon.h: The code which changes the codepages for
1953 console gnuplot is only compiled in if CONSOLE_SWITCH_CP is
1954 defined. Otherwise gnuplot will only display a warning if
1955 codepages differ. Handle the case when codepages already match.
1957 2011-03-24 Ethan A Merritt <merritt@u.washington.edu>
1959 * src/Makefile.maint: Fill in the "last modified" date from the most
1960 recent entry in the ChangeLog rather than the using the current date,
1961 and only then if the VERSION or PATCHLEVEL has been changed.
1962 Caution: tested only under linux with gnu make.
1964 2011-03-22 Bastian Maerkisch <bmaerkisch@web.de>
1966 * src/graphics.c (do_plot, plot_points): Test wether the terminal
1967 actually supports set_color. Fixes crashes with terminal dumb.
1969 2011-03-21 Bastian Maerkisch <bmaerkisch@web.de>
1971 * src/win/wgraph.c (WIN_image): Fix regression: rotation of images
1972 with reversed axis was not working since rev. 1.92.
1974 2011-03-20 Ethan A Merritt <merritt@u.washington.edu>
1976 * src/util.c (equals): Test here for token index in range, rather than
1977 trusting all callers to get it right.
1979 * src/command.c src/parse.c: Token index range test is now redundant.
1981 * docs/gnuplot.doc: Document that ^D from an empty line acts as EOF.
1983 2011-03-20 Bastian Maerkisch <bmaerkisch@web.de>
1985 * src/win/wgnuplib.c|h, src/win/wgraph.c, src/win/winmain.c,
1986 src/win/wmenu.c, src/win/wpause.c, src/win/wtext.c: FAR pointers are
1989 * src/win/winmain.c (WinExit): Explicitly close help window on exit.
1990 Fixes hangs of gnuplot when it is closed via the Windows taskbar
1991 and help window and graph window open.
1993 * src/win/wmenu.c (LoadMacros), src/win/wgnuplot.mnu ([Button]): Add
1994 icons to the text-window toolbar.
1996 * docs/windows/doc2html.c (process_line): Don't include '=' items in
1997 index. This avoids duplicate entries which caused wgnuplot to stall
1998 when an e.g. 'set term png; help "png"' was issued.
2000 2011-03-18 Bastian Maerkisch <bmaerkisch@web.de>
2002 * src/win/wtext.c (TextCopyClip): Fix copying of last line of a
2003 marked region in case the marking exceeds the length of that
2006 * src/win/wgnuplib.rc, src/win/resourc.h: Remove dialog resource
2007 which was only used on Win16.
2009 * term/gd.trm (PNG_init): On Windows, set GDFONTPATH to %windir%\Fonts
2010 if not set previously.
2012 * src/plot.c (main), src/win/winmain.c (WinMain, WinExt): Always use
2013 the ANSI codepage (instead of OEM) to ensure sure that the console
2014 of gnuplot.exe and the graph window use the same codepage. Warn
2015 users that raster fonts won't display all characters correctly and
2016 restore the codepage on exit.
2018 2011-03-17 Ethan A Merritt <merritt@u.washington.edu>
2020 * axis.c(gen_tics): Make sure the axis tic label format string is
2021 long enough to hold enhanced text markup. Fixes buffer overflow.
2023 2011-03-16 Bastian Maerkisch <bmaerkisch@web.de>
2025 * src/win/wgraph.c (UnicodeText): new function to convert a string
2028 * src/win/wgraph.c (drawgraph, GraphGetTextLength) NEWS: support
2029 "set encoding" for all currently defined encodings
2031 * src/win/wtext.c (ReadTextIni): select default font according to
2032 the Windows version. Avoid font "Terminal" since it might not
2033 contain all glyphs of the current character set.
2035 * src/win/wgnuplib.h, src/win/wgraph.c, term/win.trm: use child
2036 window for status bar, allow right button mouse click on status
2037 bar to activate the `graph-menu` popup. Change name of
2038 GW.statuslineheight for consistency with TW.
2040 2011-03-15 Ethan A Merritt <merritt@u.washington.edu>
2042 * axis.c(copy_or_invent_formatstring): If the default tic format has
2043 insufficient precision to distinguish the two extremes of the axis
2044 range, increase the precision.
2046 2011-03-14 Ethan A Merritt <merritt@u.washington.edu>
2048 * src/graphics.c: Auto-placement of the left margin of the plot
2049 was failing to allow room for "set key outside left".
2051 * term/post.trm: Add a %%Page statement in *.eps files, as current
2052 versions of standard tools seem to expect it.
2055 2011-03-13 Bastian Maerkisch <bmaerkisch@web.de>
2057 * src/win/wgnuplot.rc, src/win/wgnuplot.exe.manifest: add new
2058 manifest for wgnuplot to enable visual styles
2060 * src/win/wmenu.c, src/win/wtext.c: remove unused variables to
2061 make compiler happy, avoid C++ style comments
2063 * src/win/wtext.c (TextInit), src/win/wmenu.c, src/win/wgnuplib.h,
2064 src/win/wresourc.h: add a statusbar to the text window,
2065 reduce size of text area accordingly
2067 * src/win/wtext.c (WndParentProc): [WM_GETMINMAXINFO] use active
2068 font to calculate minimum window size; take menu, toolbar and
2069 statusbar into account
2071 2011-03-13 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
2073 * config/cygwin/Makefile (LDLIBS): Add newly needed library.
2075 2011-03-13 Bastian Maerkisch <bmaerkisch@web.de>
2077 * config/config.nt, src/alloc.c, src/alloc.h, src/command.c,
2078 src/eval.c, src/fit.c, src/gpexecute.c, src/plot.c, src/syscfg.h,
2079 src/win/wcommon.h, src/win/wgnuplib.c, src/win/wgnuplib.h,
2080 src/win/wgnuplot.mnu, src/win/wgnuplot.rc, src/win/wgraph.c,
2081 src/win/winmain.c, src/win/wmenu.c, src/win/wpause.c,
2082 src/win/wprinter.c, src/win/wtext.c, term/win.trm:
2083 Remove Win16 support.
2085 * src/win/winmain.c (WinMain): init common controls
2086 * config/mingw/Makefile, config/magefile.mgw, config/makefile.nt,
2087 conig/watcom/Makefile: add library comctl32
2089 * src/win/wmwenu.c (LoadMacros, CloseMacros, MenuBottonProc): use
2090 common controls toolbar, remove MenuBottonProc
2091 * src/win/wgnuplib.h (MW): add handle for toolbar, remove pointer
2093 * src/win/wresourc.h: add ID for toolbar
2094 * src/win/wtext.c (WndParentProc): [WM_SIZE] forward msg to toolbar,
2095 [WM_PAINT] remove completely
2097 * src/win/wingraph.c (UpdateStatusLine, DisplaySatusLine): use common
2100 * src/win/winmenu.c (IShellFolder_BindToObject),
2101 (IShellFolder_GetDisplayNameOf): protect definition by #ifdef,
2102 (SendMacro) use newer variant of directory dialog
2104 2011-03-11 Bastian Maerkisch <bmaerkisch@web.de>
2106 * src/makefile.nt: implement suggestions by Shigeharu Takeno:
2107 Do not use "+=" to be compatible with Visual C++ 2005; add/update
2108 links wo libgd and wxWidgets; add a scheme to easily select options
2109 [GDLIB, PDFLIB, WXT]; use linker option files for compilation of
2110 wgnuplot.exe and gnuplot.exe
2112 2011-03-11 Ethan A Merritt <merritt@u.washington.edu>
2114 * configure.in: Check for iconv library and iconv.h, since gd uses iconv
2115 to convert between UTF-8 and SJIS encodings if it is available.
2117 * term/svg.trm: Demarcate plot elements using the svg <title> and
2118 <g id=foo> elements rather than <a xlink:foo>
2121 * src/misc.c src/wxterminal/gp_cairo.c src/wxterminal/gp_cairo.h
2122 src/wxterminal/wxt_gui.cpp src/wxterminal/wxt_term.h term/cairo.trm
2123 term/canvas.trm term/cgm.trm term/emf.trm term/gd.trm term/svg.trm
2124 term/wxt.trm term/x11.trm:
2125 Add option to specify a background color in "set term".
2126 NB: Not yet implemented for terminals: win post qt pm
2128 2011-03-11 Shigeharu Takeno <shige@iee.niit.ac.jp>
2130 * term/gd.trm: libgd can be customized for Japanese use such that
2131 it prefers SJIS encoding rather than UTF-8 encoding. Add code to
2132 check which encoding the local libgd prefers, and convert strings
2133 to that encoding if necessary.
2135 2011-03-10 Bastian Maerkisch <bmaerkisch@web.de>
2137 * src/command.c (test_palette): tmpfile() always fails on a modern
2138 Windows. Open a file in the user's temp directory instead.
2140 * src/win/winmain.c (WinExit): add missing void parameter
2142 * src/win/wgraph.c (drawgraph): add missing init
2144 2011-03-09 Bastian Maerkisch <bmaerkisch@web.de>
2146 * config/makefile.nt: add chm help (update of SF patch 3191892 by
2147 Shigeharu Takeno), (HCWPATH, HHWPATH) use PROGRAMFILES variable
2148 instead of hard coded path
2150 2011-03-08 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
2152 * config/cygwin/Makefile (WINOBJS): Add new object file screenbuf.
2153 (screenbuf.$(O)): Rule for new object file.
2155 2011-03-08 Bastian Maerkisch <bmaerkisch@web.de>
2157 * config/makefile.nt: fix copy/paste errors
2159 2011-03-07 Bastian Maerkisch <bmaerkisch@web.de>
2161 revised implementation of Windows text window, SF patch 1973569,
2162 Feature Request 992352
2163 * src/win/screenbuf.c|h: new files, implement dynamic buffer to
2164 hold screen contents
2165 * src/win/wtext.c: use data structures and methods from
2166 screenbuf.c|h; optionally wrap long lines which don't fit on
2167 screen [TextWrap]; add menu item to toggle this setting; save/load
2168 size of text buffer to/from wgnuplot.ini [TextLines]; avoid
2169 erasing the window area to avoid flicker during window resize;
2170 coloured output is not yet implemented.
2171 * src/win/wgnuplib.h: change definition of struct TW accordingly
2172 * src/win/wresourc.h: new menu item "Wrap long lines"
2173 * term/win.trm: update help texts on `text-menu` and `wgnuplot.ini`
2174 * config/makefile.nt, config/makefile.mgw, config/mingw/Makefile:
2175 include screenbuf.c|h in build process
2177 2011-03-07 Bastian Maerkisch <bmaerkisch@web.de>
2179 * docs/Makefile.in: add new target 'htb' to create help file
2180 compatible with wxWidgets help viewer
2182 * docs/windows/doc2html.c (main): change command line options,
2183 (convert, header, footer) optionally split html files manually
2184 [SPLIT_FILES] (Note: this will produce ~500 files!), optionally
2185 create index file manually [CREATE_INDEX], always use hard-coded
2186 links as none of the open source viewers seem to support k-links
2188 * config/makefile.mgw, config/watcom/Makefile, config/mingw/Makefile:
2189 change command line accordingly
2191 2011-03-06 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
2193 * config/watcom/.cvsignore: Set up list of files to be ignored.
2195 * config/watcom/Makefile (clean): Remove GIF help files.
2197 * config/watcom/Makefile (wgnuplot_pipes.exe, gnuplot.exe): Add
2198 missing library msimg32.
2200 2011-03-05 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
2202 * config/makefile.nt (OPTIONS, LDFLAGS, TERMFLAGS): Grouped for
2203 easier disabling of optional terminals (gd, pdf, wx).
2204 (gnuplot.exe): Change name of console gnuplot to the common one.
2205 Drop wgnuplot_pipes.exe in the process.
2206 (pgnuplot.exe): Re-use this name for the original program that had it.
2207 (HCWPATH): New. Help compiler need not be on PATH.
2208 ($(HELPFILE)): USE $(HCWPATH).
2209 (CC): Remove /c option. Put that into calls that only compile,
2210 instead. Allows to use $(CC) instead of verbatim "cl" in more
2212 (LDFLAGS): Remove /subsystem option. Put it into calls instead,
2213 because it's different for different builds.
2214 (CBASEFLAGS): Adapted to current version of MSVC.
2215 (O): Missing macro needed for makefile.all.
2216 (linkopt1.msw, gnuplot.exe): Add recently needed library msimg32.
2218 2011-03-03 Peter Hedwig <peter@affenbande.org>
2220 * term/lua.trm: If the cairo terminal is not available to make a
2221 bitmap image, use libgd instead.
2223 2011-02-28 Ethan A Merritt <merritt@u.washington.edu>
2225 * docs/gnuplot.doc docs/plotstyles.gnu: Add a polar-mode example
2226 to the set of plotting style figures (even though it is not really
2229 2011-02-28 Bastian Maerkisch <bmaerkisch@web.de>
2231 * docs/xref.c (refs): Only emit start and stop strings if we
2232 write any items at all.
2234 Request by Mojca Miklavec
2235 * docs/windows/doc2html.c: Include list of subtopics. Optionally
2236 use hard links instead of index lookup (HTML_HARDLINKS).
2238 Feature Request #874572
2239 * term/win.trm src/win/wgraph.c src/win/wgnuplib.h
2240 src/win/wresourc.h: Add double buffering to the windows terminal
2241 to avoid flicker on redraw. Add a poor man's version of antialiasing:
2242 draw on a bitmap twice the size of the window on screen, then
2243 scale down using halftone mode. Both settings are optional and can
2244 be changed via the `graph-menu` and `wgnuplot.ini`.
2246 2011-02-26 Ethan A Merritt <merritt@u.washington.edu>
2248 * term/Makefile.am.in: Don't try to install TeX files for lua
2249 if we didn't build lua support.
2251 2011-02-26 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
2253 * config/mingw/Makefile, config/cygwin/Makefile: New files. Work
2254 like config/makefile.cyg and config/makefile.mgw, respectively,
2255 but without spilling files into the source tree.
2257 * config/makefile.oww: Dropped. Superseded by
2258 config/watcom/Makefile.
2260 2011-02-26 Bastian Maerkisch <bmaerkisch@web.de>
2262 * src/win/wgraph.c (drawgraph): handle the case of transparent
2263 fill with color from linetype: save color to variable last_color
2264 on all changes and create solid brushes when required
2266 2011-02-25 Bastian Maerkisch <bmaerkisch@web.de>
2268 * term/win.trm (WIN_image, WIN_filled_polygon) src/win/wgraph.c
2269 (drawgraph: W_boxfill, W_pm3d_setcolor, W_pm3d_filled_polygon)
2270 (W_image): support transparency and alpha channel for boxes,
2271 images and polygons. Use memory bitmaps to draw and then use
2272 AlphaBlend() and TransparentBlt() to copy to the screen. Fix
2275 * config/makefile.mgw(LDLIBS): additional GDI library file
2277 * docs/gnuplot.doc: update `set style fill transparent`
2279 * term/win.trm: update and reformat windows help text
2281 2011-02-24 Shigeharu Takeno <shige@iee.niit.ac.jp>
2283 * docs/gnuplot-ja.doc: sync to docs version 1.651
2285 2011-02-24 Peter Hedwig <peter@affenbande.org>
2287 * term/lua/gnuplot-tikz.lua term/lua.trm: Make full bitmap
2288 support conditional on HAVE_CAIROPDF. Necessary in order to
2289 build lua without the cairo terminals.
2291 2011-02-24 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
2293 * share/LaTeX/Makefile.am (${lua_files}): Missing $(top_srcdir)
2294 broke out-of-source-tree build.
2296 2011-02-23 Ethan A Merritt <merritt@u.washington.edu>
2298 * term/lua/gnuplot-tikz.lua term/lua/gnuplot-tikz.help:
2299 Fix redundant definitions that broke TeX-based documentation.
2301 * term/Makefile.am.in: Regenerate term/lua/gnuplot-tikz.help
2303 2011-02-23 Shigeharu Takeno <shige@iee.niit.ac.jp>
2305 * docs/gnuplot.doc: correct typos; revive some "html" anchors
2307 2011-02-23 Bastian Maerkisch <bmaerkisch@web.de>
2309 * docs/gnuplot.doc: add link from `rand` to `random` and use
2310 proper table format in random section
2312 * term/lua/gnuplot-tikz.help term/lua/gnuplot-tikz.lua: balance
2313 backquotes in gnuplot help.
2315 * src/win/wgraph.c: reorder entries of the graph popup menu
2317 * src/win/winmain.c(IsWindowsXPorLater) src/win/wcommon.h: add a
2318 function to detect if gnuplot is running on Win XP or later.
2320 * src/win/wtext.c(TextMakeFont) src/win/wgraph.c(Makefonts):
2321 select ClearType or Proof quality depending on OS version to
2322 improve rendering quality
2324 2011-02-21 Peter Hedwig <peter@affenbande.org>
2326 * term/lua/gnuplot-tikz.help term/lua/gnuplot-tikz.lua
2327 term/lua/NEWS term/lua/README term/lua/TODO term/lua.trm:
2328 Re-work the lua terminal to support ConTeXt and plain TeX in addition
2329 to TikZ. Requires TikZ >= 2.0
2331 * share/LaTeX/Makefile.am: Regenerate the lua terminal *.tex and *.sty
2332 files from the Makefile rather than keeping them in cvs.
2334 2011-02-21 Bastian Maerkisch <bmaerkisch@web.de>
2336 Windows HTML help, SF patch set #3186000.
2337 * docs/gnuplot.doc: changes for windows html help: update
2338 titlepage, comment out old html anchor definitions and links, and
2339 add html replacements for tables
2341 * docs/plotstyles.gnu: new variable winhelp used to switch between
2342 PDF output for "make pdffigures" and PNG output for windows html
2344 * docs/windows/doc2html.c: New help file format converter derived
2345 from docs/doc2rtf.c and docs/doc2html.c (Attic)
2347 * docs/windows/wgnuplot.hhp: New file. HTML help project file.
2349 * docs/windows/wgnuplot.hhk: New file. HTML help stub index file.
2351 * docs/windows/wgnuplot.stp: New file. HTML help negative list for
2352 search index generation. Caution: maximum size 512 bytes.
2354 * src/command.c (help_command): issue error message if helpfile
2355 could not be opened, fix table of contents command ("help")
2357 * src/win/winmain.c (WinExit) [WITH_HTML_HELP]: no need to close
2360 * config/makefile.mgw: Optionally modify settings to build and use
2361 HTML help [HTML_HELP].
2363 SF patch set #3186010.
2364 * history.c (write_history_list history_find history_find_all):
2365 use ANSI C definitions
2367 * command.c (history_command): mention editline in message for
2368 missing history support
2370 * readline.c(getc_wrapper): generalize code used for editline
2372 2011-02-20 Ethan A Merritt <merritt@u.washington.edu>
2374 * configure.in: Revised configuration tests for lua support.
2376 Variable arrowstyle for vector plots.
2377 * src/gadgets.c src/gadgets.h src/set.c src/term_api.h:
2378 Add tag field to arrow_style_type
2379 * src/misc.c (arrow_parse) src/misc.h (arrow_use_properties):
2380 Parse "arrowstyle variable", export a routine to apply it.
2381 * src/plot2d.c (get_data): Allow 5 column "with vectors" style.
2382 * src/graphics.c (plot_vectors) src/graph3d.c (plot3d_vectors):
2383 Check for arrowstyle variable, apply to each vector if needed
2384 * demo/arrowstyle.dem: Modify last plot to show arrowstyle from column
2386 2011-02-20 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
2388 * config/config.oww [WITH_HTML_HELP]: Change helpfile name.
2390 * src/command.c [WITH_HTML_HELP]: Include <htmlhelp.h>.
2391 (help_command) [WITH_HTML_HELP]: Use HTML help instead of classic
2392 WinHelp32 helpfile system.
2394 * config/watcom/Makefile (HELP_EXT, HHC_DIR, HHC, WD, HHP_PROJ)
2395 (HHP_CONTENT, HHP_INPUT, HHP_OUTPUT): New variables.
2396 (HELPFILE, CPPFLAGS, LDLIBS) [HELP_EXT==chm]: Optionally modify
2397 settings to build and use HTML help.
2398 (wgnuplot.chm, $(HHP_OUTPUT), $(HHP_INPUT) $(HHP_CONTENT))
2399 (doc2html.exe) [HELP_EXT==chm]: New targets.
2400 (clean, realclean): Delete files generated for HTML help.
2402 * term/win.trm (WIN_enhanced_flush): Replace C99-ism by simpler cast.
2404 2011-02-20 Bastian Maerkisch <bmaerkisch@web.de>
2406 * src/win/text.c(DragFunc): Support drag and drop of directories
2407 onto the windows terminal emulator.
2409 * plot.c(main): init rl_library_name before first call to
2410 editline, otherwise .editrc does not work
2412 2011-02-17 Ethan A Merritt <merritt@u.washington.edu>
2414 * src/internal.c (f_calln): Limit recursion depth for multi-variable
2415 functions in the same manner as for single-variable functions.
2418 * docs/gnuplot.texi: This file is generated from gnuplot.doc. The copy
2419 in cvs is perennially out of date, so remove it. "make gnuplot.texi" to
2420 regenerate it when needed.
2422 2011-02-12 Ethan A Merritt <merritt@u.washington.edu>
2424 * term/cairo.trm: Add missing TERM_ALPHA_CHANNEL flag for pdfcairo
2426 2011-02-11 Benjamin Lindner <lindnerb@users.sourceforge.net>
2428 * term/win.trm(WIN_enhanced_flush) src/win/wgraph.c(GraphGetTextLength):
2429 Adjust position of enhanced text to account for terminal aspect ratio.
2431 2011-02-10 Benjamin Lindner <lindnerb@users.sourceforge.net>
2433 * term/win.trm (WIN_set_font) src/win/wgraph.c (GraphChangeFont):
2434 Do not initialize to an empty font name.
2437 2011-02-10 Ethan A Merritt <merritt@u.washington.edu>
2439 * term/lua.trm (LUA_set_color): Initialize rgb_color for the case TC_LT.
2440 term/lua/gnuplot-tikz.lua: Work around failure to handle LT_NODRAW
2441 and LT_BACKGROUND. This prevents a freeze, but is not a complete fix.
2443 * src/save.c (save_linetype): save/show variable linecolor correctly.
2445 * src/misc.h src/misc.c (parse_colorname): Split out color name
2446 interpretation into a separate routine.
2448 * src/graphics.c (filter_boxplot) src/graphics.h
2449 src/plot2d.c (boxplot_range_fiddling):
2450 Sort and filter points contributing to a boxplot at the point we pick
2451 the auto-range limits rather than waiting till when we draw it.
2454 2011-01-26 Ethan A Merritt <merritt@u.washington.edu>
2456 * term/emf.trm (EMF_filled_polygon): Explicitly set a zero-width
2457 same-color border for filled polygons, otherwise it inherits a border
2461 2011-01-25 Ethan A Merritt <merritt@u.washington.edu>
2463 * src/set.c (set_encoding): Check result of "set encoding locale"
2464 to see if we have just loaded an sjis (codepage 932) locale.
2466 2011-01-25 Shigeharu Takeno <shige@iee.niit.ac.jp>
2468 * src/term.c src/term_api.h term/post.trm term/svg.trm NEWS
2470 "set encoding sjis" allows characters in Shift-JIS Japanese encoding to
2471 survive enhanced text processing by the postscript and svg terminals.
2473 2011-01-23 Ethan A Merritt <merritt@u.washington.edu>
2475 * src/graph3d.c (xtick_callback ytick_callback ztick_callbacke):
2476 Revert change made 2011-01-20 because it breaks hidden3d.
2478 * src/util3d.c (map3d_xy_double): Instead revise the map3d_xy() code
2479 path to share the coordinate transformation used by map3d_xyz().
2482 2011-01-22 Shigeharu Takeno <shige@iee.niit.ac.jp>
2484 * src/win/wgraph.c: Fix typo in previous definition of _WIN32_WINNT.
2486 2011-01-21 Ethan A Merritt <merritt@u.washington.edu>
2488 * src/graphics.c (plot_boxplot): Handle some corner cases
2489 (all points have the same value, fewer than 4 valid points).
2492 2011-01-20 Ethan A Merritt <merritt@u.washington.edu>
2494 * src/graph3d.c (xtick_callback ytick_callback ztick_callbacke):
2495 Gnuplot uses two different pathways to convert 3D coordinates in user
2496 space into 2D coordinates in the terminal coordinate space. One of
2497 these goes via map3d_xyz() and TERMCOORD(); the other uses map3d_xy().
2498 Unfortunately it seems the two paths can differ by +/- one pixel in the
2499 final terminal coordinates. This discrepancy is particularly
2500 noticeable in the grid and axis tic placement of 3D plots after
2501 "set view map" (Bug #3157712).
2502 This patch switches the tick_callback() routines to use the map3d_xy()
2503 pathway, which fixes the problem case described by the bug report.
2504 It would be to make both pathways share the same underlying code
2505 so that the discrepancy doesn't occur in other conditions.
2508 2011-01-19 Ethan A Merritt <merritt@u.washington.edu>
2510 * src/graphics.c (place_raxis): If the polar axis maximum is autoscaled,
2511 draw the raxis all the way to that maximum value.
2514 * term/post.trm: Replace a use-once character array by a literal string.
2516 2011-01-18 Mojca Miklavec <mojca.miklavec.lists@gmail.com>
2518 * src/wxterminal/gp_cairo.c: Cast size_t arguments to (int).
2520 2011-01-17 Shigeharu Takeno <shige@iee.niit.ac.jp>
2522 * src/win/wgraph.c: Pass mouse wheel events through to the core
2523 mousing code so that interactive pan/zoom works from the windows
2526 2011-01-16 Ethan A Merritt <merritt@u.washington.edu>
2528 * src/set.c (set_logscale set_autoscale) src/unset.c (unset_autoscale)
2529 src/axis.h docs/gnuplot.doc: Remove macro INIT_AXIS_ARRAY.
2530 "set logscale" should not affect pseudo-axes.
2533 2011-01-14 Ethan A Merritt <merritt@u.washington.edu>
2535 * src/plot2d.c (eval_plots): Minimum value of polar axis always
2536 auto-scales to 0 (already documented but implementation lacked).
2538 2011-01-10 David Kuehling <dvdkhlng@gmx.de>
2540 * term/linux.trm: Makes linux.trm work with all SVGAlib video modes,
2541 not only 16 and 256-color modes.
2543 * src/term.c (init_terminal): Correct the auto-selection of terminal
2544 type vgagl or linux. Only select vgagl if lib3dkit is present.
2546 2011-01-08 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
2548 * src/internal.c (f_time): Don't use a local variable of the same
2549 name as a function you're trying to call.
2551 2011-01-07 Peter Juhasz <juhaszp@users.sourceforge.net>
2553 * src/unset.c (reset_command):
2554 "reset" didn't restore default for "set raxis"
2556 2011-01-03 Peter Juhasz <juhaszp@users.sourceforge.net>
2558 * src/internal.c (f_time) src/stdfn.h docs/gnuplot.doc:
2559 Fix breakage caused by the previous update
2561 2011-01-02 Peter Juhasz <juhaszp@users.sourceforge.net>
2563 * src/internal.c (f_time) docs/gnuplot.doc:
2564 Modified time() so that type of result depends on type of argument
2566 2011-01-01 Peter Juhasz <juhaszp@users.sourceforge.net>
2568 * src/eval.c src/internal.c src/internal.h:
2569 New time() function to get the current system time
2571 * docs/gnuplot.doc demo/timedat.dem:
2572 Documentation and demo for time()
2574 2010-12-29 Daniel Sebald <daniel.sebald@ieee.org>
2576 * src/specfun.c (ranf): Place more restrictions on seed values
2579 * docs/gnuplot.doc (rand): Updated documentation of rand()
2580 function with details about algorithm and allowable seeds.
2582 2010-12-29 Ethan A Merritt <merritt@u.washington.edu>
2584 * src/specfun.c: Make all the numerical routines f_whatever()
2585 retrieve their argument via pop_or_convert_from_string().
2587 * src/specfun.c (ranf): Disallow fractional seed values since
2588 truncation to an integer produces an invalid seed value of zero.
2590 2010-12-17 Ethan A Merritt <merritt@u.washington.edu>
2592 * src/graphics.c: Use t->set_color() rather than t->linetype() to
2593 set the fill color for pointinterval < 0 and for opaque key.
2594 Needed for windows terminal [any others?].
2596 2010-12-17 Shigeharu Takeno <shige@iee.niit.ac.jp>
2598 * term/win.trm: (WIN_point WIN_filled_polygon):
2599 Always draw point symbols using a solid line, even if the current
2600 line type is dashed. Unfortunately this fix is limited to monochrome
2604 * src/win/wgraph.c (drawgraph): Selecting linetype 16 caused
2605 corruption of the color and pen assignments in mono mode.
2607 2010-12-14 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
2609 * config/watcom/Makefile, config/watcom/config.h: New version of
2610 Makefiles for OpenWatcom that builds outside the src tree.
2612 * config/config.oww (pclose, popen): New defines need to compile
2613 pipe-enabled version on OpenWatcom.
2615 * docs/Makefile.in (pdffigures): Make indirect target depending on
2616 pdffigures.tex, to avoid unconditional rebuild.
2617 (pdffigures.tex): New, renamed copy of previous target pdffigures.
2618 (figures): Set loadpath for demos; allow this to work from
2619 out-of-source builds.
2621 * docs/gnuplot.texi: Regenerated.
2623 * docs/gnuplot.doc: Clean up blank-only lines.
2625 * src/win/wtext.c, src/win/wprinter.c, src/win/wpause.c,
2626 src/win/wmenu.c, src/win/winmain.c, src/win/wgraph.c
2627 {HAVE_CONFIG_H}: Add "config.h" include.
2629 * src/syscfg.h {MSVC}: Add missing include (was hidden in MSDOS
2630 section, which the Win32 build doesn't touch).
2632 * src/makefile.awc (COREOBJS): Add missing entry for tabulate.c
2634 * term/PostScript/prologues.h (): Regenerated. prologue_cp1251_ps
2635 was missing completely, among other lapses.
2637 2010-12-13 Tatsuro Matsuoka <tmacchant3@yahoo.co.jp>
2639 * term/emf.trm: Create special point types 70-74 to be filled polygons,
2640 just as they are for the postscript terminal.
2642 2010-12-12 Ethan A Merritt <merritt@u.washington.edu>
2644 * src/graph3d.c: Honor "set key tc <foo>" in 3D plots. Bugfix.
2646 2010-12-06 Shigeharu Takeno <shige@iee.niit.ac.jp>
2648 * docs/term-ja.diff docs/gnuplot-ja.doc:
2649 Sync Japanese documentation to gnuplot.doc rev 1.641
2651 2010-12-06 Ethan A Merritt <merritt@u.washington.edu>
2653 * src/fit.x (fit_command): Do not use axis_array[SECOND_Z_AXIS] as
2654 temporary storage, because leaving junk in it can cause an erroneous
2655 free() operation later on.
2658 2010-12-04 Ethan A Merritt <merritt@u.washington.edu>
2660 * src/gadgets.c src/save.c src/set.c src/show.c src/tables.c
2661 src/tables.h src/unset.c docs/gnuplot.doc: 'set pointintervalbox'.
2663 2010-12-03 Ethan A Merritt <merritt@u.washington.edu>
2665 * src/axis.c (gen_tics): Casting to a float may have been clever, but
2666 we can't afford the loss of precision (fails for time coordinates).
2668 * src/pm3d.c (pm3d_depth_queue_flush): Restore deleted code needed for
2669 extended color support. (There are still some svga users after all!)
2672 Use the EMR_ELLIPSE primitive to draw point types 6 and 7.
2673 Make point types 4 and 5 slightly larger (looks better on MSWin).
2674 Switch to using linecap=flat and linejoin=miter by default,
2675 but add option "rounded/butt" to toggle this.
2677 2010-11-29 Ethan A Merritt <merritt@u.washington.edu>
2679 * src/set.c (set_decimalsign): Possible fix for problem with
2680 numeric locales on Windows. Bug #3120819.
2682 2010-11-28 Ethan A Merritt <merritt@u.washington.edu>
2684 * src/gadgets.c src/gadgets.h src/graphics.c demo/dashcolor.dem:
2685 Fix breakage to the pointinterval property that was caused by
2686 opaque key support. Add a demo plot illustrating pointinterval.
2688 2010-11-26 Ethan A Merritt <merritt@u.washington.edu>
2690 * term/canvas.trm demo/html/webify_canvas.pl
2691 term/js/gnuplot_common.js term/js/gnuplot_dashedlines.js:
2692 Add support for dashed lines and rounded/butt line properties.
2694 2010-11-24 Ethan A Merritt <merritt@u.washington.edu>
2696 * term/canvas.trm term/js/gnuplot_common.js term/js/gnuplot_mouse.js:
2697 Revamp the javascript support for the HTML5 canvas terminal.
2698 Move all global variables into a single object "gnuplot" declared in
2699 gnuplot_common.js. This revision also adds polar mode mousing support.
2701 * demo/html/Makefile.canvas demo/html/index.canvas
2702 demo/html/mouseable.dem demo/html/mousebox.template
2703 demo/html/webify_canvas.pl:
2704 Revamp the demos and build scripts to use the new javascript syntax.
2706 See tracker item #3058147
2708 2010-11-23 Ethan A Merritt <merritt@u.washington.edu>
2710 * term/js/gnuplot_common.js: Rotated text should be zoom-able also.
2712 * term/js/gnuplot_mouse.js: Konqueror (webkit?) implementation of ctx
2713 does not like negative values of width or height.
2715 * src/eval.c (fill_gpval_axis) term/canvas.trm:
2716 Export polar axis limits and logscale status for external mousing.
2718 2010-11-20 Casey Carter <ctcarter@users.sourceforge.net>
2720 * demo/html/index.canvas demo/html/index.save demo/html/index.svg
2721 term/canvas.trm: syntax error in link record of standalone mode.
2723 2010-11-18 Ethan A Merritt <merritt@u.washington.edu>
2725 * src/axis.c src/axis.h src/command.c src/eval.c src/graphics.c
2726 src/misc.c src/mouse.c src/plot2d.c src/save.c src/set.c src/setshow.h
2727 src/show.c src/tables.c src/tables.h src/unset.c
2728 demo/polar.dem demo/poldat.dem docs/gnuplot.doc:
2730 Improved support for polar coordinate mode.
2731 The polar axis gets syntax and properties equivalent to the x/y/z axes.
2732 - set/unset raxis (always drawn through the origin)
2733 - set rrange controls the extent of the axes and of the plot itself;
2734 the xrange and yrange are set to match, but can be changed afterward
2735 - set rtics (drawn to right of origin; optionally mirrored to the left)
2736 - set log r (does not affect scaling on x or y)
2737 - polar coordinate readout from mousing
2738 - filledcurves bounded by constant r
2739 - polar.dem (turn off rtics so the demo output remains as before)
2740 poldat.dem (add a plot showing raxis, rtics, and log scaling on r)
2742 * src/set.c (set_grid): Clean up the option parsing for set grid.
2744 * src/save.c: save output for "set view" could not be read in.
2746 2010-11-16 Ethan A Merritt <merritt@u.washington.edu>
2748 * src/gadgets.c (clip_line): When draw_clip_line() was made into a
2749 wrapper for clip_line() in May 2000, they differed in a single test.
2750 The version of the test from clip_line() was kept. But this broke
2751 the case clip_line(x, ymin, x, ymax+eps), which clipped to ymin,ymin
2752 rather than to ymin,ymax. I do not know if there were any callers of
2753 clip_line() at the time that needed the variant test, but if so they no
2754 longer exist. There is now only one other caller of clip_line().
2755 Restore the test to the version that is correct for draw_clip_line().
2757 * src/graphics.c (place_grid xtick2d_callback plot_impulses)
2758 src/term.c (do_arrow): Simplify these routines to use draw_clip_line().
2760 2010-11-13 Ethan A Merritt <merritt@u.washington.edu>
2762 * configure.in INSTALL src/Makefile.am src/term.c src/term.h:
2763 The copyright notice in bitmap.c is more restrictive than the gnuplot
2764 license. The new configuration option --without-bitmap-terminals
2765 omits this code from the gnuplot executable and also disables all
2766 terminals that depend on it. These are:
2767 epson.trm hp500c.trm hpljii.trm hppj.trm pbm.trm
2768 This affects HP deskjet-era printers, but not HPGL or PCL5 printers.
2770 * src/set.c: Replace unnecessary memcpy() calls with direct assignment.
2772 * docs/Makefile.in: Add gnuplot.pdf to the distributed package.
2773 Install it in the same directory as gnuplot.gih.
2775 2010-11-12 Ethan A Merritt <merritt@u.washington.edu>
2777 * docs/gnuplot.doc command.c (help_command) util.h:
2778 "help" was collapsing all text to lower case, which broke "help 3D".
2779 Remove a vestigial call to lower_case(). Also make sure it is indexed.
2781 2010-11-07 Ethan A Merritt <merritt@u.washington.edu>
2783 * src/axis.c src/axis.h src/set.c src/unset.c:
2784 Re-arrange the order of axes in the axis_table[] array so that all the
2785 parametric axes are at the end. This makes it easy to iterate over only
2786 those axes that make sense for the "set/unset logscale" commands.
2787 Previously, commands like "set logscale tuv" were silently accepted,
2788 leading to strange internal state.
2790 * src/plot2d.c: Issue an error message if the user tries to plot in
2791 polar mode with a style that is not supported.
2794 * src/axis.h (AXIS_INIT2D) src/set.c (set_logscale):
2795 Keep AXIS.log_base in sync with AXIS.base.
2796 Otherwise calls to AXIS_DO_LOG or AXIS_UNDO_LOG prior to the first plot
2797 command cause divide-by-zero or other math errors.
2799 2010-11-07 Peter Juhasz <juhaszp@users.sourceforge.net>
2801 * src/datafile.c (df_readascii): The "labels" style did not work with
2802 pseudocolumns (e.g. "using 1:2:0"). Now it correctly handles pseudocolumns
2805 * term/cairo.trm: Documentation fix: the section on the default size
2806 for the pngcairo terminal was incorrect.
2808 2010-11-06 Peter Juhasz <juhaszp@users.sourceforge.net>
2810 * src/plot3d.c src/plot3d.h src/set.c src/show.c src/save.c
2811 docs/gnuplot.doc demo/kdensity2d.dem: New option "kdensity2d" for
2812 "set dgrid3d" to create two-dimensional kernel density plots.
2814 2010-11-03 Shigeharu Takeno <shige@iee.niit.ac.jp>
2816 * docs/gnuplot.doc: typos
2817 * docs/term-ja.diff docs/gnuplot-ja.doc:
2818 Sync Japanese documentation to gnuplot.doc rev 1.633
2820 2010-11-02 Michael Murphy <murphy-md@users.sourceforge.net>
2822 * share/LaTeX/gnuplot-lua-tikz.sty: Change the tikz default linetype 0
2823 axis style from dashed to dotted, and the color from black to 35% black.
2824 Tracker item #3098162
2826 2010-10-31 Petr Mikulik <mikulik@physics.muni.cz>
2828 * demo/pm3dcolors.dem: Added first page with multiple palettes. Show
2829 color ranges in [0:1].
2831 2010-10-28 Ethan A Merritt <merritt@u.washington.edu>
2833 * src/graphics.c (plot_boxes): Prevent out-of-range boxes from creating
2834 degenerate invisible boxes in the output file. Can reduce file size for
2835 vector format output.
2838 * src/axis.c: The custom routine dbl_raise() was failing to handle NaN
2839 correctly, causing an infinite loop from e.g. set yrange [*:NaN]
2840 Replace it with a call to the C library routine pow().
2842 2010-10-26 Ethan A Merritt <merritt@u.washington.edu>
2844 * src/misc.c (parse_fillstyle): Allow "border" as a keyword without
2845 necessarily having an immediately following linetype or color.
2847 * src/plot2d.c (eval_plots): fillcolor was not taking into account
2848 user-defined linetypes.
2850 * src/plot3d.c src/misc.c: Simplify calls to load_linetype()
2852 * lisp/gnuplot.el: Emacs 24 does not have make-local-hook
2853 contributed patch #3095458
2855 * ChangeLog.2: Split off ChangeLog at the point 4.5 was tagged.
2857 * docs/gnuplot.texi: regenerate from gnuplot.doc v 1.633
2859 2010-10-23 Ethan A Merritt <merritt@u.washington.edu>
2861 * configure.in: The AC_CHECK_LIB macro apparently always appends
2862 to LIBS (despite what the documentation says). We want to accummulate
2863 readline-associated libraries in TERMLIBS rather than LIBS,
2864 so save and restore LIBS around the checks.
2866 2010-10-21 Ethan A Merritt <merritt@u.washington.edu>
2868 * src/plot2d.c (boxplot_range_fiddling): trap and report an error
2869 if the x coordinate of a boxplot is undefined.
2872 * src/plot2d.c (get_data): Up until now this routine has returned
2873 the number of lines from which data were read, including lines
2874 containing undefined points. Change this to return the number of
2875 well-defined data points. That way a file of junk is recognized as
2876 empty if read with either 'using 1:2' or 'using ($1):($2)'.
2879 2010-10-20 Graham Reed <greed@users.sourceforge.net>
2881 * configure.in src/alloc.c: Test at configuration time whether the
2882 local implementation of malloc(0) returns 0 rather than a pointer.
2883 If so, work around it in gp_malloc(). Replaces alpha-specific fix
2886 2010-10-18 Ethan A Merritt <merritt@u.washington.edu>
2888 * src/plot2d.c (box_range_fiddling) src/graphics.c (plot_boxes):
2889 Catch a couple of corner cases of "plot ... with boxes".
2892 2010-10-14 Ethan A Merritt <merritt@u.washington.edu>
2894 * src/axis.c (gen_tics): A smart (or maybe that's dumb) compiler may
2895 optimize out our tests for step size less that the machine precision.
2896 Try to forestall this by marking the steps as (float)(volatile double).
2899 2010-10-12 Ethan A Merritt <merritt@u.washington.edu>
2901 * src/pm3d.c: Reduce the size of the pm3d surface quadrangle structure
2902 by removing a redundant copy of the vertex coordinates. Add a pointer to
2903 track the current plot's line color.
2906 2010-10-11 James R. Van Zandt <jrvz@comcast.net>
2908 * src/specfun.c src/specfun.h src/eval.c docs/gnuplot.doc: Adding
2909 support for the exponential integral E_n(x) as gnuplot function expint(n,x).
2911 2010-10-10 Tatsuro Matsuoka <tmacchant3@yahoo.co.jp>
2913 * src/stdfn.c (not_a_number): Bit-pattern definition of NaN for MINGW
2915 2010-10-09 Ethan A Merritt <merritt@u.washington.edu>
2917 * term/lua.trm (LUA_options): Null-terminate the "set term lua ..."
2918 command string at the first semicolon before passing it to lua.
2920 * src/fit.c src/fit.h src/set.c docs/gnuplot.doc:
2921 New option "set fit quiet" prevents fit information sent to the log
2922 file from being echoed also to stderr.
2925 2010-10-07 Ethan A Merritt <merritt@u.washington.edu>
2927 * src/gplt_x11.c: Protect against the case that the x11 colormap is not
2928 partitioned identically to the palette.
2930 2010-10-06 Marco Cammarata <marcocamma@users.sourceforge.net>
2932 * docs/psdoc/ps_symbols.gpi: "set angle radian"
2934 2010-10-06 Ethan A Merritt <merritt@u.washington.edu>
2936 * src/color.c src/pm3d.c src/pm3d.h set.c show.c docs/gnuplot.doc:
2937 Simplify the syntax for "set pm3d hidden3d". A linestyle is no longer
2938 required. If no linestyle is given, the line properties are taken from
2939 the plot command line.
2942 2010-10-05 Ethan A Merritt <merritt@u.washington.edu>
2944 * src/getcolor.c (quantize_gray) src/getcolor.h src/gplt_x11.c:
2945 Continuation of defined palette revamp (2010-10-01). Break out the
2946 new code into a separate subroutine that can be shared with gnuplot_x11.
2948 * src/color.c (draw_inside_color_smooth_box_bitmap):
2949 Assign colors to component colorbox rectangles by rounding the pixel
2950 coordinate up rather than down. This empirically gives better results
2951 in gd.trm, and doesn't seem to hurt other terminals.
2953 * term/post.trm term/pslatex.trm term/svg.trm term/PostScript/cp1251.ps
2954 src/term_api.h src/term.c docs/gnuplot.doc: Add support for codepage 1251,
2955 an alternative 8-bit Cyrillic encoding.
2957 2010-10-04 Matthew Biggar <biggarm@users.sourceforge.net>
2959 * src/Makefile.am src/alloc.c: Architecture (Alpha) specific work-
2960 around to insure that gp_malloc() does not fail on error if 0 bytes are
2961 successfully allocated.
2963 2010-10-02 Ethan A Merritt <merritt@u.washington.edu>
2965 * src/stdfn.c (not_a_number): Although DJGPP version 2.04 is reported
2966 to support atod("NaN"), this version is not universal. Switch to using
2967 an explicit bit pattern for NaN.
2969 2010-10-01 Ethan A Merritt <merritt@u.washington.edu>
2971 * src/plot2d.c (cp_free): Prevent use-after-free error if a plot
2972 structure containing dynamically allocated data is reused for a later
2975 * src/color.c (make_palette) src/getcolor.c (rgb1maxcolors_from_gray)
2977 Revamp the interaction of `set palette maxcolors` and defined palettes.
2978 Up until now, `set palette maxcolors N` meant both "allocate N colors"
2979 and "divide the color range into N equal parts". This meant that a
2980 user-defined palette that used unequal divisions of the total range
2981 interacted badly with a limited number of palette colors. Now we
2982 guarantee that in the case of defined palette ranges, a gray value is
2983 never mapped to a color outside its proper range even if the ranges
2984 are very unevenly spaced. If more color ranges are defined than the
2985 value of maxcolors, this may (or may not) result in increasing the
2986 effective value of maxcolors. Outboard terminals that enforce maxcolors
2987 (e.g. x11) do not yet benefit from this change.
2989 * configure.in src/datafile.c src/eval.c src/plot.c src/show.c
2990 term/lua.trm: Remove conditional flag HAVE_ISNAN.
2991 Apparently we have been getting along OK with an unprotected call
2992 to isnan() since Oct 2009. That would seem to be good evidence
2993 that we can remove the #ifdef protection elsewhere as well.
2995 2010-09-30 Peter Juhasz <juhaszp@users.sourceforge.net>
2997 * src/plot2d.c (store_label eval_plots): Fix bug introduced by my patch
2998 of 2010-09-08 (references to uninitialized variables were found by
3001 2010-09-29 Ethan A Merritt <merritt@u.washington.edu>
3003 * src/color.c (draw_inside_color_smooth_box_bitmap):
3004 The color box is constructed from 128 segments. If any of these
3005 straddles a boundary within a defined palette, split it into 2 segments
3006 so that discrete color transitions are described with pixel accuracy.
3007 This does not fix imprecision in the palette itself, which can result
3008 if too few colors are allocated (set palette maxcolors).
3010 2010-09-28 Petr Mikulik <mikulik@physics.muni.cz>
3012 * docs/titlepage.ipf docs/titlepage.tex: Years updated.
3014 2010-09-28 Ethan A Merritt <merritt@u.washington.edu>
3016 * src/graphics.c (plot_image_or_update_axes): Add support for log-scale
3017 transformation of 2D image data.
3019 * src/hidden3d.c: Disentangle variable color from the direction of
3020 arrows. Bug #3074212
3022 2010-09-28 Volker Dobler <vdobler@users.sourceforge.net>
3024 * src/axis.c (load_one_range load_range) src/axis.h
3025 src/parse.c src/parse.h src/save.c src/set.c src/unset.c src/util.c
3026 demo/all.dem demo/autoscale.dem docs/gnuplot.doc:
3028 Introduce a mechanism for constraining the axis limits chosen during
3029 autoscaling. For example:
3030 set yrange [* : 100<*<200]
3031 constrains autoscaling on y such that the upper range limit must fall
3032 between 100 and 200.
3034 2010-09-27 Peter Juhasz <juhaszp@users.sourceforge.net>
3036 * src/datafile.c (f_stringcolumn): The stringcolumn function didn't
3037 recognize columns 0, -1, and -2. Now it treats them the same as the
3038 column function does.
3040 2010-09-27 Ethan A Merritt <merritt@u.washington.edu>
3042 * src/graphics.c (apply_head_properties): Simplify the arrowhead code.
3044 * src/graph3d.c src/hidden3d.c src/util3d.c src/util3d.h: Provide a
3045 3D wrapper apply_3dhead_properties() that dummies up an x-axis scale so
3046 that the 2D routine apply_head_properties() can be shared by 3D code.
3049 * src/term.c (do_arrow): To do proper foreshortening of 3D arrowheads
3050 would require a new approach. As an approximation, assume that any short
3051 arrow with a big arrowhead is the result of foreshortening.
3052 This affects 2D arrows also, but the visual effect is not bad.
3054 2010-09-26 Ethan A Merritt <merritt@u.washington.edu>
3056 * src/command.c (replotrequest): Once we have started to replot, the
3057 previous data no longer exists. Therefore we must set refresh_ok = 0.
3059 2010-09-23 Ethan A Merritt <merritt@u.washington.edu>
3061 * src/axis.c (axis_checked_extend_empty_range): When extending from
3062 an empty range, don't invert the axis direction by accident.
3065 2010-09-20 Ethan A Merritt <merritt@u.washington.edu>
3067 * src/plot2d.c (store2d_point): Allow the use of "with circles" in
3068 polar coordinate mode.
3070 * src/plot2d.c (get_data): The combination of smoothing and variable
3071 color cannot work in general. Disable variable color for all smoothed
3072 curves. Later we may add back support for the case of lc palette z.
3075 * src/graphics.c (fill_between): Fix filled curve clipping error.
3078 2010-09-19 Ethan A Merritt <merritt@u.washington.edu>
3080 * src/graphics.c (edge_intersect): If for some reason we fail to find
3081 find the intersection points of a vector both of whose ends are out of
3082 range, issue a warning, pick an edge, and continue.
3083 I can't see any good reason to treat this as a fatal error.
3086 * docs/gnuplot.doc: Clarify the section on linetypes and linestyles.
3088 2010-09-18 Ethan A Merritt <merritt@u.washington.edu>
3090 * src/eval.c src/internal.c src/internal.h docs/gnuplot.doc:
3091 New function value("X") returns the value of a variable named X.
3093 value("A") returns "foo"
3094 value(A) returns NaN, because there is no variable named foo
3095 value(2) returns 2 (numeric expressions have a natural value)
3096 Among other things, this allows you to read variable names from
3097 a data file and use the current value of those variables in a plot.
3099 * src/util.c (gprintf): Handle formats x/X/o/O for values that
3100 overflow (int) by switching to llx/llX/llo/llO and (long long).
3101 NB: This does _not_ extend the representation of negative numbers
3102 to 64 bits unless the representation overflows 32 bits.
3104 2010-09-16 Ethan A Merritt <merritt@u.washington.edu>
3106 * tutorial/eg2.plt tutorial/eg6.plt tutorial/test_tikz.plt
3107 tutorial/Makefile.am.in tutorial/header.tex tutorial/tutorial.tex:
3108 Update the LaTeX tutorial a bit. More could be done.
3110 2010-09-15 Ingo Thies <ingo.thies@gmx.de>
3112 * src/graph3d.c src/graph3d.h src/mouse.c src/set.c src/unset.c:
3113 Switch the middle button left/right mouse zoom behaviour in 3D plots
3114 so that the zoom response is logarithmic.
3116 2010-09-15 Shigeharu Takeno <shige@iee.niit.ac.jp>
3118 * term/gd.trm: As of libgd 2.0.36 you can now specify a TrueType font
3119 using either Fontconfig syntax or using the font file name directly.
3120 But switching from one form to the other was only possible as an
3121 option of "set terminal". This patch enables us to specify these two
3122 forms of the font name in "set title", "set xlabel", and so on.
3124 2010-09-15 Ethan A Merritt <merritt@u.washington.edu>
3126 * src/term_api.h src/term.c (strlen_tex): Add a special-case routine to
3127 estimate the true number of output characters in a LaTeX string
3128 containing markup. This is not a real LaTeX parser, but even a poor
3129 estimate is better than just calling strlen().
3130 Bug #1603348 and others
3132 * term/latex.trm term/lua.trm term/pslatex.trm: Set flag TERM_IS_LATEX
3133 so that strings passed to these terminals are sent to strlen_tex()
3134 rather than the normal enhanced text string length estimation.
3136 2010-09-10 Ethan A Merritt <merritt@u.washington.edu>
3138 * src/graphics.c (boundary): When calculating the horizontal space
3139 required for x axis tick labels, we must ignore ticks that are outside
3140 the current axis range.
3142 * src/mouse.c (apply_zoom): Tick labels generated by
3143 'using xticlabels(N)' may have changed while the plot was zoomed, so we
3144 must preserve them when un-zooming.
3146 2010-09-08 Ethan A Merritt <merritt@u.washington.edu>
3148 * src/datafile.c (df_close): Free matrix data that was stored in memory
3149 during input. Otherwise we leak memory after every plot of matrix data.
3151 * src/color.h src/gadgets.c src/gadgets.h src/misc.c src/term.c
3152 src/term_api.h: Repair some lp_style_type definitions and initializers
3153 that were incorrect or incomplete.
3155 2010-09-08 Peter Juhasz <juhaszp@users.sourceforge.net>
3157 * src/plot2d.c (store_label eval_plots): Extend variable color support
3158 for LABELPOINTS style by allowing "with labels tc X lc Y" where X, Y is
3159 one of "lc variable", "lc palette z", or "lc rgb variable".
3161 * src/misc.c (lp_parse): Revert the patch of 2010-07-08 because
3162 it accidentally disabled the coloring option "lc N".
3163 * src/graph3d.c (key_sample_line_pm3d key_sample_point_pm3d):
3164 More correct fix to bug #3026477: the functions above failed to call
3165 the simpler key sample routines in case of plots with coloring option
3166 "lc N" and "lc rgb 'color'".
3168 2010-09-06 Shigeharu Takeno <shige@iee.niit.ac.jp>
3170 * docs/term-ja.diff docs/gnuplot-ja.doc:
3171 Sync Japanese documentation to gnuplot.doc rev 1.623
3173 2010-09-04 Peter Juhasz <juhaszp@users.sourceforge.net>
3175 * src/set.c (set_logscale): Removed arbitrary limitation for log base
3176 (was >= 1.1, now > 1.0)
3178 2010-09-03 Ethan A Merritt <merritt@u.washington.edu>
3180 * src/readline.c (readline): Fix Windows breakage (failure to
3181 recognize ^M as newline) caused by error in OSK code removal.
3183 2010-08-31 Petr Mikulik <mikulik@physics.muni.cz>
3185 * src/os2/gnupmdrv.rc: Removed menu item Commands to clipboard.
3187 * src/gpexecute.c (gp_execute): Removed bSend2gp and call to
3190 * src/mouse.c (alert): Use DosBeep under OS/2.
3192 * os2/gclient.c: Removed unused #define GNUPMDRV.
3194 2010-08-30 Ethan A Merritt <merritt@u.washington.edu>
3196 * src/show.c (conv_text):
3197 Until now, the "show" and "save" commands have replaced all non-ascii
3198 characters with a byte-by-byte octal escape sequence. This makes any
3199 labels, variables, titles, etc not human-readable if they contain UTF8
3200 encoded characters. Now we simply pass them through as-is if the current
3201 encoding is UTF-8. I think this is the correct thing to do for other
3202 8-bit encodings as well, but I can't test those easily.
3204 2010-08-25 Ethan A Merritt <merritt@u.washington.edu>
3206 * src/plot2d.c (eval_plots): Allow "fc <colorspec>" as an in-line
3207 option to the plot command for plot styles that use a fill.
3209 2010-08-14 Ethan A Merritt <merritt@u.washington.edu>
3211 * src/gplt_x11.c: The gnuplot_x11 side of Shige's fix.
3213 2010-08-14 Shigeharu Takeno <shige@iee.niit.ac.jp>
3215 * term/x11.trm: The last font used inside an enhanced text string was
3216 not being cleared on exit.
3218 2010-08-13 Ethan A Merritt <merritt@u.washington.edu>
3220 * src/ansichek.h src/gplt_x11.c src/plot.c src/readline.c src/show.c
3221 src/stdfn.h src/syscfg.h term/x11.trm: Remove conditional code for
3222 another obsolete platform (OSK/OS9, used for example on TRS-80).
3224 2010-08-12 Ethan A Merritt <merritt@u.washington.edu>
3226 * src/command.c: OSX history command could segfault if there was no
3227 previous history file.
3229 * docs/gnuplot.doc: Reorganize documentation for binary files.
3231 2010-08-09 Ethan A Merritt <merritt@u.washington.edu>
3233 * configure.in src/plot.c: More work to enable autoconfigue on OSX.
3235 2010-08-08 Olivier Mehani <shtrom@users.sourceforge.net>
3237 * src/util.c docs/gnuplot.doc: Add ISO-IEC-80000 prefixes
3238 (ki Mi Gi etc) as gprintf format specifiers %b and %B, which are
3239 respectively the mantissa and exponent. Also fix an out-of-range
3242 2010-08-07 Ethan A Merritt <merritt@u.washington.edu>
3244 * src/plot2d.c: Do not create a data record for a blank line at the end
3245 of the input stream.
3248 * src/plot2d.c (eval_plots): Update GPVAL_DATA values after plot in
3249 tabulate mode just as for normal plotting mode.
3252 * docs/gnuplot.doc src/gadgets.h src/graphics.c src/save.c src/set.c
3253 src/show.c src/tables.c src/tables.h:
3254 New option "set key opaque". If requested, the code makes two passes
3255 over each 2D plot command. The actual graph is drawn during the first
3256 pass, and the key box with plot samples is drawn during the second pass.
3258 2010-08-05 Ethan A Merritt <merritt@u.washington.edu>
3260 * configure.in src/command.c src/history.c src/mouse.c src/plot.c
3263 Finally a work-around for the broken libreadline on OSX, which is really
3264 a wrapper for some version of libeditline. Test for each potentially
3265 missing function in configure and deal with it if it's missing. There
3266 may still be an issue with autoconfiguring support for the history
3268 Bug #1839048 and others
3270 2010-07-30 Ethan A Merritt <merritt@u.washington.edu>
3272 * src/command.c src/command.h src/eval.c src/fit.c src/gp_types.h
3273 src/plot.c src/readline.c src/stdfn.c src/syscfg.h src/term.h:
3274 Remove vestigial tests for DOS16 or DOS386
3276 2010-07-29 Allin Cottrell <cottrell@wfu.edu>
3278 * src/term.c src/term_api.h term/emf.trm term/svg.trm docs/gnuplot.doc:
3279 Add support for codepage 950, which is Microsoft's version of Chinese
3280 Big5 encoding. Only the emf terminal (and maybe svg) do anything useful
3281 with it. "set encoding cp950"
3283 2010-07-28 Ethan A Merritt <merritt@u.washington.edu>
3285 * term/estimate.trm: Always estimate escaped characters as requiring
3286 one character width.
3289 2010-07-27 Tim Mooney <enchanter@users.sourceforge.net>
3291 * configure.in: If lua.pc is not present but liblua.so is found
3292 anyhow, then set HAVE_LUA and LUA_LIBS explicitly.
3295 2010-07-26 Shigeharu Takeno <shige@iee.niit.ac.jp>
3297 * term/win.trm src/win/wgraph.c: Yet another windows terminal font fix.
3300 2010-07-25 Ethan A Merritt <merritt@u.washington.edu>
3302 * term/canvas.trm: "set term canvas fontscale <fs>"
3304 * src/graphics.c (do_plot do_key_layout): Separate out the code that
3305 allocates space for the graph legend, and collect the key sample code
3306 into a single place.
3308 2010-07-15 Shigeharu Takeno <shige@iee.niit.ac.jp>
3310 * docs/gnuplot.doc: typos
3311 * docs/term-ja.diff docs/gnuplot-ja.doc:
3312 Sync Japanese documentation to gnuplot.doc rev 1.617
3314 2010-07-14 Ethan A Merritt <merritt@u.washington.edu>
3316 * src/hidden3d.c: Remove magic number -3 and the test (foo>=-2) in
3317 favor of LT_NODRAW and test (foo!=LT_NODRAW).
3319 * src/hidden3d.c: #define PT_ARROWHEAD and PT_BACKARROW
3320 * src/hidden3d.c (make_edge draw_edge build_networks) src/util3d.c
3321 (draw3d_line_unconditional):
3322 Handle arrow heads and other arrow style parameters in hidden3d mode.
3323 For surfaces, edge.style indicates whether this edge is seen from the
3324 top or the bottom. Coopt this flag for VECTOR plots to indicate
3325 whether the vector points up (positive z) or down (negative z).
3326 Separate flag is needed because the end points are sorted on z.
3328 2010-07-11 Peter Juhasz <juhaszp@users.sourceforge.net>
3329 Ethan A Merritt <merritt@u.washington.edu>
3331 * src/util3d.c (draw3d_point_unconditional): Remove incomplete local
3332 color handling; the shared code in term_apply_lp_properties now does a
3335 * src/graph3d.c (do_3dplot): Simplify the key sample code for contour
3336 plots with style "points". Set a default color sequence for contours
3337 belonging to a surface drawn with "lc variable".
3339 2010-07-10 Ethan A Merritt <merritt@u.washington.edu>
3341 * src/graph3d.c (do_3dplot): Fix bug introduced by patch of 23-Mar-2010.
3342 If the linetype of a 3D surface used "lc ..." then all contours of the
3343 surface were stuck with that same coloring rather than incrementing
3344 through successive line types.
3346 2010-07-09 Ethan A Merritt <merritt@u.washington.edu>
3348 * src/term.c (term_apply_lp_properties): Yet another bandaid fix for
3349 problems with "lc var". If the higher level code has failed to resolve
3350 LC_COLORFROMCOLUMN (or LT_DEFAULT) into an actual color, use LT_BLACK.
3353 2010-07-08 Ingo Thies <ingo.thies@gmx.de>
3355 * src/gadgets.h src/mouse.c src/set.c: Allow continuous rotation of 3D
3356 plots when mousing; i.e., do not limit rotation angle to 0<rotx<180
3358 2010-07-08 Ethan A Merritt <merritt@u.washington.edu>
3360 * src/misc.c (lp_parse): The coloring option "lc N" should not set a
3361 use_palette flag. I think the option "lc variable" shouldn't either.
3364 2010-07-07 Peter Juhasz <juhaszp@users.sourceforge.net>
3366 * src/datafile.c src/gadgets.c src/gadgets.h src/gp_types.h
3367 src/graph3d.c src/graphics.c src/graphics.h src/plot2d.c src/save.c
3368 src/set.c src/show.c src/tables.c src/tables.h src/unset.c:
3370 * docs/gnuplot.doc docs/plotstyles.gnu demo/all.dem demo/ellipses.dat
3371 demo/ellipses_style.dem demo/orbital_elements.dat demo/orbits.dem
3373 New plot style "with ellipses". Demos and documentation to match.
3375 2010-07-07 Ethan A Merritt <merritt@u.washington.edu>
3377 * term/PostScript/prologue.ps: Add a default definition
3379 so that a missing palette initialization will result in normal
3380 grayscale rather than an invalid PostScript file.
3383 2010-07-06 Ethan A Merritt <merritt@u.washington.edu>
3385 * src/graph3d.c (boundary3d): Prevent infinite loop or divide-by-zero
3386 if the requested plot is so small that x or y dimension goes to zero.
3389 2010-07-05 Akira Kakuto
3391 * term/win.trm: More fixes to font initialization.
3392 Bug #2972307 #2993504
3394 2010-07-02 Shigeharu Takeno <shige@iee.niit.ac.jp>
3396 * term/win.trm: Explicitly initialize font.
3399 2010-07-01 Ethan A Merritt <merritt@u.washington.edu>
3401 * src/datafile.c (df_readbinary): Regardless of the current timefmt
3402 setting, if we are reading time data from a binary file it will come in
3403 as a floating point value rather than as a string. So we can treat it
3404 like any other binary value.
3405 Thanks to Thomas Sefzick for pointing this out.
3407 * src/datafile.c (df_readbinary): In binary mode, string-valued
3408 functions were silently ignored. Fix this, thus allowing binary files
3409 to be plotted "with labels". For example:
3410 plot 'foo' binary format='%double' using 0:1:("A") with labels
3412 2010-07-01 Ethan A Merritt <merritt@u.washington.edu>
3414 * docs/gnuplot.doc src/axis.h src/command.c src/datafile.c src/gp_time.h
3415 src/internal.c src/time.c:
3417 Track time coordinates to sub-second precision.
3419 Time data read using the %S format specifier in "set timefmt" is now
3420 treated as a floating point number rather than an integer. This affects
3421 data read from an input file ("set xdata time"), the axis range and tic
3422 locations given for an axis using time coordinates ("set xrange",
3423 "set xtics"), and time conversions performed via calls to strptime().
3425 Time data output formats ("set format" strftime()) now accept a
3426 precision modifier to the %S format. For example, "%H:%M:%.3S" will
3427 print hour, minute, seconds to a precision of milliseconds.
3428 gnuplot> print strftime("%Y %D %H:%M:%.3S", 12345.6789)
3429 2000 01/01/00 03:25:45.679
3431 The maximum precision allowed for output is 6 digits (microseconds).
3432 6 digit accuracy is possible for absolute dates through the year 2550.
3435 2010-06-30 Ethan A Merritt <merritt@u.washington.edu>
3437 * src/plot2d.c (get_data): Add back the rather useless code that handles
3438 four columns of data for styles LINESPOINTS and POINTSTYLE, even though
3439 the variable color handling no longer needs it. It is still called
3440 (foolishly) if the plot command is issued with no using spec at all.
3442 2010-06-29 Peter Juhasz
3444 * docs/gnuplot.doc: Document variable color for plot styles that were
3445 not previously supported.
3447 * src/plot2d.c: The final piece of "with labels tc variable"
3449 2010-06-29 Ethan A Merritt <merritt@u.washington.edu>
3451 * src/set.c (parse_label_options) src/plot2d.c (store_label)
3452 src/pm3d.c (set_plot_with_palette):
3453 Finish variable color support for text color in LABELPOINTS.
3455 2010-06-28 Peter Juhasz
3457 * src/graphics.c demo/varcolor.dem: Finish variable color support
3458 for plot style CANDLESTICKS. Expand the demo.
3460 2010-06-28 Ethan A Merritt <merritt@u.washington.edu>
3462 * src/color.h: New flag TC_VARIABLE (only used for textcolor)
3464 * src/misc.c (parse_colorspec) src/set.c (set_key)
3465 src/graphics.c (do_key_sample): Accept "set key tc variable"
3467 2010-06-27 Peter Juhasz
3469 * src/graphics.c src/plot2d.c: Remove dead code supporting the old way
3470 of handling variable color. Make "lc palette z" work.
3471 Since the new variable color mechanism frees up space in struct
3472 coordinate, use this to clean up the data storage for "with circles".
3474 * demo/varcolor.dem: General demo and debugging tool for the expanded
3475 support of variable color across almost all plot styles.
3477 * src/graphics.c src/plot2d.c: Implement variable color for
3478 *ERRORBARS, *ERRORLINES, FINANCEBARS, CANDLESTICKS
3480 2010-06-27 Ethan A Merritt <merritt@u.washington.edu>
3482 * src/graphics.h src/graphics.c plot2d.c: Maintain a dynamically-
3483 allocated array of per-datapoint color values in the header of each 2D
3484 plot. The array is allocated only if the plot uses variable color.
3486 * src/plot2d.c: Store variable color data in the plot->varcolor[] array
3487 for plot styles VECTOR CIRCLES BOXES LINES DOTS IMPULSES POINTSTYLE
3488 LINESPOINTS XYERRORLINES XYERRORBARS BOXXYERROR LABELPOINTS BOXERROR
3490 * src/graphics.c (check_for_variable_color): Convert this routine to
3491 check and load variable color using the new mechanism.
3492 Add variable color support for BOXXYERROR, BOXERROR
3494 2010-06-26 Peter Juhasz
3496 * src/plot2d.c: In plots style "with circles", let a negative value for
3497 the radius indicate that the default radius should be used.
3499 2010-06-24 Ethan A Merritt <merritt@u.washington.edu>
3501 * src/gadgets.c src/gadgets.h src/graphics.c src/plot2d.c src/save.c
3502 src/set.c src/show.c src/tables.c src/tables.h src/unset.c
3505 New style element "set style circle radius <R>" specifies a default
3506 radius for function plots or 2-column data plots drawn "with circles".
3508 2010-06-16 Ethan A Merritt <merritt@u.washington.edu>
3510 * src/plot2d.c (eval_plots): Function plots should not be affected by
3511 the current setting of "boxwidth" unless they really do contain boxes.
3514 2010-06-15 Ethan A Merritt <merritt@u.washington.edu>
3516 * src/datafile.c: Do not allow xticlabels(foo) in association with
3517 style BOXPLOT, since there are no x coordinates.
3519 * src/gadgets.h: Add in missing fields of object initializers.
3521 2010-06-11 Peter Juhasz
3523 * src/graphics.c (boundary): More correct fix for distorted
3524 vertical size of subplots in a multiplot.
3526 2010-06-10 Ethan A Merritt <merritt@u.washington.edu>
3528 * src/graphics.c (boundary): Fix a type that can distort the
3529 vertical size of subplots in a multiplot.
3531 2010-06-02 Ethan A Merritt <merritt@u.washington.edu>
3533 * src/misc.c (need_fill_border): The fillstyle border color was not
3534 taking account of linetype redefinitions.
3536 2010-05-30 Ethan A Merritt <merritt@u.washington.edu>
3538 * docs/gnuplot.doc: Document recently added %s time format
3539 (seconds since start of 2000).
3541 2010-05-24 Ethan A Merritt <merritt@u.washington.edu>
3543 * src/graph3d.c (do_3dplot): Remove a restriction that limited depth-
3544 sorting of pm3d surfaces to those which were adjacent in the splot
3545 command. If there was a reason for the original restriction, that
3546 reason is now not remembered.
3549 2010-05-23 Ethan A Merritt <merritt@u.washington.edu>
3551 * term/emf.trm: Revise the enhanced text mode, especially text rotation.
3553 2010-05-22 Ethan A Merritt <merritt@u.washington.edu>
3555 * term/canvas.trm (CANVAS_graphics ENHCANVAS_FLUSH):
3556 Fix a bug in applying the baseline of rotated enhanced text.
3557 Provide a dummy gnuplot_init() routine if a standalone html
3558 file with no mouse support is created.
3560 2010-05-20 Ethan A Merritt <merritt@u.washington.edu>
3562 * term/estimate.trm (ENHest_writec strlen_utf8)
3563 src/term.c (estimate_strlen):
3565 Teach estimate_strlen() to handle UTF-8 encoded strings. The estimate
3566 is imperfect, but then again the estimate is already imperfect for any
3567 proportional font. To truly do this more accurately would require
3568 customized implementations for each terminal type. Any unicode code
3569 point below 0x3000 is treated as requiring one character width; code
3570 points above 0x3000 are treated as requiring two character widths.
3572 2010-05-16 Ethan A Merritt <merritt@u.washington.edu>
3574 * src/hidden3d.c (draw_edge): Add support for coloring lines in
3575 hidden3d mode using 'lc variable' or 'lc rgb variable'.
3577 2010-05-13 Ethan A Merritt <merritt@u.washington.edu>
3579 * term/cairo.trm (cairotrm_options): The "noenhanced" option was
3580 broken by the patch of 2009-07-03. Fix it.
3582 * term/cairo.trm (cairotrm_put_text): Enhanced text was applying
3583 the fontscale twice. Fix it.
3585 2010-05-11 Ethan A Merritt <merritt@u.washington.edu>
3587 * src/eval.c (magnitude): Optimize for the predominant case
3588 (no imaginary component).
3590 2010-05-10 Ethan A Merritt <merritt@u.washington.edu>
3592 * term/post.trm (PS_set_font): set ... font ",size" was not working
3593 for non-enhanced text. Now it is.
3595 * src/plot2d.c (parametric_fixup) src/plot3d.c (parametric_3dfixup):
3596 Delete vestigial code for auto-generation of a parametric plot title.
3598 2010-05-09 Hans-Bernhard Broeker <broeker@physik.rwth-achen.de>
3600 * src/eval.c (magnitude): Yesterday's change breaks if the complex
3603 2010-05-08 Hans-Bernhard Broeker <broeker@physik.rwth-achen.de>
3605 * src/eval.c (magnitude): Make implementation robust to overflows
3608 2010-05-06 David Marx <itsdmarx@users.sourceforge.net>
3610 * src/syscfg.h: Tweaked version of _bool support for Sun/Solaris
3612 2010-05-06 Ethan A Merritt <merritt@u.washington.edu
3614 * term/cairo.trm (cairotrm_graphics): Handle the special case of
3615 streaming pdfcairo output to stdout. (Requires cairo version >=
3618 2010-05-05 Ethan A Merritt <merritt@u.washington.edu
3620 * term/post.trm src/term.c: Move a global declaration out of post.trm so
3621 that gnuplot can be built without including the postscript terminal.
3623 2010-05-02 Thomas Sefzick <thse@users.sourceforge.net>
3625 * src/gadgets.h src/graphics.c src/save.c src/set.c set/show.c
3626 src/tables.c src/tables.h docs/gnuplot.doc:
3628 New options "set key maxcolumns N maxrows M" to manually adjust the
3629 automatic layout of items in the figure legend. Implemented for 2D
3632 2010-05-02 Ethan A Merritt <merritt@u.washington.edu
3634 * configure.in src/save.c src/set.c src/show.c src/unset.c src/fit.c
3635 src/fit.h docs/gnuplot.doc config/config.os2 config/config.wc
3636 config/config.nt config/config.dj2 config/config.oww config/config.cyg
3637 config/config.amg config/config.mgw:
3639 Remove conditional flag GP_FIT_ERRVARS, default to "set fit errorvar".
3640 Tracker item #2985752
3642 * src/misc.c (lp_parse): "lc variable" was being lost in some cases.
3645 2010-04-24 Ethan A Merritt <merritt@u.washington.edu
3647 * config.mgw config.cyg config.os2: Enable HIDDEN_QUADTREE by default.
3648 Tracker item #2990173
3650 2010-04-20 John Naylon <jpbn@users.sourceforge.net>
3652 * src/gp_types.h src/interpol.c src/plot2d.c src/tables.c
3653 docs/gnuplot.doc: New option "smooth cnormal", equivalent to
3654 "smooth cummulative" with automatic normalization to the range
3657 2010-04-12 Ethan A Merritt <merritt@u.washington.edu
3659 * term/post.trm: Correct a typo that leads to serious problems with
3660 font size and placement (introduced by the fontscale code).
3662 2010-04-04 Ethan A Merritt <merritt@u.washington.edu
3664 * term/cairo.trm: The cairo terminals were forgetting fontscale
3665 after the initial application.
3668 * src/wxterminal/gp_cairo.c term/cairo.trm: Use-after-free error caused
3669 a segfault on certain enhanced text strings.
3672 2010-03-28 Ethan A Merritt <merritt@u.washington.edu
3674 * docs/gnuplot.doc: State explicitly that the timefmt %y interprets
3675 a 2 digit year number as being in the range 1969-2068.
3677 2010-03-24 Ethan A Merritt <merritt@u.washington.edu
3679 * term/tgif.trm (text_angle): Handle text rotation -270 same as +90.
3682 2010-03-23 Guy Mann <guydmann@gmail.com>
3684 * term/js/gnuplot_mouse.js (mouse_update):
3685 Repaint current canvas before each incremental update of the zoom box.
3687 2010-03-22 Ethan A Merritt <merritt@u.washington.edu
3689 * src/misc.c (lp_parse): Re-write the lp_parse() routine to prevent the
3690 loading of a user-defined linetype from undoing other linestyle
3691 properties given earlier in the same command.
3693 * src/util3d.h src/util3d.c (draw3d_line_unconditional)
3694 src/hidden3d (draw_edge draw_line_hidden): The code was passing in
3695 top and bottom colors for the hidden3d routines as integer linetypes.
3696 But loading a whole linetype lost any line properties given explicitly
3697 in the splot command. Change this so that the top and bottom colors are
3698 passed as t_colorspec structures instead.
3700 2010-03-21 Tommaso Vinci <ilbibi@users.sourceforge.net>
3702 * Provide Humlicek's approximation to the Voigt/Faddeeva function
3703 voigt(x,y) = \frac{y}{\pi} \int{\frac{e^{t^2}}{(x-t)^2+y^2}}dt
3705 2010-03-20 Ethan A Merritt <merritt@u.washington.edu
3707 * NEWS src/hidden3d.c src/plot3d.c src/graph3d.c docs/gnuplot.doc:
3709 Add support for 'with impulses' in hidden3d code. Previously the manual
3710 said 3D impulses were drawn "from the xy plane" but the code did not
3711 follow this, drawing instead from zmin. Now the 3D code always draws
3712 impulses from z=0 just as the 2D code always draws from y=0.
3714 2010-03-18 Ethan A Merritt <merritt@u.washington.edu
3716 * docs/gnuplot.doc: Add index entries and update description of mouse
3717 scrolling and hotkeys.
3719 2010-03-17 Ethan A Merritt <merritt@u.washington.edu
3721 * plot.c (main): Initialize c_token to a legal value at the start of
3724 * docs/gnuplot.doc src/set.c src/term_api.h src/wxterminal/wxt_gui.cpp
3725 src/wxterminal/wxt_term.h term/cairo.trm term/emf.trm term/gd.trm
3726 term/pdf.trm term/post.h term/post.trm term/wxt.trm:
3728 New terminal option "fontscale <scale>". This scale factor is applied
3729 to the nominal font size before use, so that you can scale the font
3730 size up or down in parallel with scaling the output page up or down.
3731 This is mostly relevant for hardcopy output or embedded figures.
3733 2010-03-14 Ethan A Merritt <merritt@u.washington.edu
3735 * INSTALL config/README config/makefile.amg config/makefile.ami
3736 config/makefile.dj2 config/makefile.unx config/term_pc.h configure.in
3737 docs/Makefile.in docs/README docs/gnuplot.doc src/Makefile.am
3738 src/Makefile.maint src/amiga.c src/command.c src/command.h src/graph3d.c
3739 src/graphics.c src/graphics.h src/makefile.all src/makefile.awc
3740 src/plot.c src/scanner.c src/stdfn.c src/stdfn.h src/syscfg.h src/term.c
3741 src/term.h src/variable.c term/amiga.trm:
3743 Remove code specific to amiga platforms.
3744 30 files changed, 43 insertions(+), 1941 deletions(-)
3746 * config/makefile.dj2 config/makefile.unx config/term_pc.h
3747 configure.in docs/doc2texi.el src/eval.c src/eval.h src/makefile.all
3748 src/makefile.awc src/plot.c src/syscfg.h src/term.c src/term.h
3749 term/apollo.trm term/gpr.trm:
3751 Remove code specific to support of Apollo workstations.
3752 The final gnuplot version in the apollo archives was gnuplot 2.0 (1996).
3753 15 files changed, 16 insertions(+), 1211 deletions(-)
3755 * src/pm3d.c src/tables.c src/term.c term/gd.trm term/pm.trm
3756 term/post.trm: Remove bits of dead code.
3758 2010-03-13 Ethan A Merritt <merritt@u.washington.edu
3760 * config/makefile.286 config/makefile.msc config/makefile.msw
3761 config/makefile.tc config/makefile.wc config/makefile.unx
3762 src/Makefile.am src/alloc.c src/alloc.h src/eval.c src/gnuplot.def
3763 src/graph3d.c src/help.c src/hidden3d.h src/misc.c src/plot.c
3764 src/plot2d.c src/set.c src/show.c src/syscfg.h src/term.c
3765 src/term_api.h src/unset.c src/util3d.c term/cgm.trm:
3767 We have not supported 16-bit DOS or WIN since version 4.0.
3768 Remove the old cruft that was wrapped in conditional flags
3769 DOS16 WIN16 DOSX286 LITE
3770 23 files changed, 11 insertions(+), 324 deletions(-)
3772 2010-03-13 Ethan A Merritt <merritt@u.washington.edu>
3774 * src/util.c (getusername): Fix segfault if neither USER or USERNAME
3775 are present in the environment.
3777 2010-03-09 Ethan A Merritt <merritt@u.washington.edu>
3779 * src/gplt_x11.c (preset): Fix compilation error if XAPPLRESDIR is not
3782 2010-03-08 Ethan A Merritt <merritt@u.washington.edu>
3784 * docs/README docs/Makefile.in docs/pdffigures.tex docs/titlepag.tex:
3785 Split out dependence on the packages graphicx and picins into a separate
3786 file (pdffigures.tex) that is only needed by target "make pdffigures".
3788 2010-03-07 Ethan A Merritt <merritt@u.washington.edu>
3790 * share/Makefile.am: Give up on figuring out a universally agreed on
3791 place where x11 app-defaults files should be installed. Place ours in
3792 ${PREFIX}/share/gnuplot/4.5/app-defaults
3794 2010-03-06 Tatsuro Matsuoka <tmacchant3@yahoo.co.jp>
3796 * INSTALL config/makefile.mgw config/makefile.cyg:
3797 Consolidate the instructions for building using mgw and cygwin into
3798 their respective makefiles.
3800 2010-03-06 Ethan A Merritt <merritt@u.washington.edu>
3802 * src/plot2d.c (get_data): Both curves in 'with filledcurves' must
3803 use the same y axis properties.
3806 * src/util.c configure.in config/config.cyg config/config.dj2
3807 config/config.mgw config/config.ntconfig/config.os2 config/config.oww:
3808 Remove the test for pwd.h, the configuration flag HAVE_PWD_H, and the
3809 conditional code that copies GECOS information from the password file
3810 into the header of PostScript and PDF output files. This addresses
3811 reported issues of privacy and reported problems with building a static
3814 2010-03-05 Ethan A Merritt <merritt@u.washington.edu>
3816 * src/internal.c (eval_reset_after_error f_call) src/internal.h
3817 src/util.c (int_error) eval.h (STACK_DEPTH):
3818 Add a recursion depth limit for calls to a user-defined function.
3819 Bump the maximum depth from 100 to 250.
3822 2010-03-05 Christoph Junghans (ottxor)
3824 * src/Makefile.am: Fix broken target "make clean"
3826 2010-03-04 Thomas Sefzick <thse@users.sourceforge.net>
3828 * src/svg.trm: Make sure to reset ENHsvg_string_state after each use.
3830 2010-03-03 Ethan A Merritt <merritt@u.washington.edu>
3832 * term/pdf.trm: Remove requirement that the 'size' option must be the
3835 2010-02-27 Ethan A Merritt <merritt@u.washington.edu>
3837 * graph3d.c (check_for_variable_color) plot3d.c (get_3ddata)
3838 plot3d.c (plot3d_impulses plot3d_lines plot3d_points):
3839 The presence of variable color was being tracked by a shared variable,
3840 rgb_from_column, but it was not being updated in some circumstances.
3841 Get rid of the variable and test the plot header directly when needed.
3843 * term/emf.trm: Tweak empirical corrections for character widths.
3844 Additional thin character -, really thin chars i,.:;|!
3846 2010-02-24 Peter Juhasz
3848 * src/save.c: The 'save' command was not correctly handling plot styles
3849 circles, image, or rgbimage.
3852 2010-02-24 Alexander Taschner <tachna@users.sourceforge.net>
3854 * src/command.c src/win/wgraph.c term/win.trm: Move declarations to
3855 conform with ANSI C.
3857 2010-02-24 Ethan A Merritt <merritt@u.washington.edu>
3859 * term/cgm.trm (find_nearest_color): When looking for RGB colors, check
3860 both the user-loaded colors and the default set of colors. Otherwise
3861 RGB fails if the user has loaded no colors.
3863 * term/gd.trm: Documentation for the mechanism for setting line colors
3864 in the 'set term' command is out of date, and anyhow the mechanism is
3865 needed only for the terminal background. Line colors can now be handled
3866 in terminal-independent commands. Revise the docs accordingly.
3868 2010-02-23 Ethan A Merritt <merritt@u.washington.edu>
3870 * src/specfun.c (ibeta) docs/gnuplot.doc:
3871 The approximation used for the function ibeta(a,b,x) was taken from
3872 Abramowitz & Stegun. However we failed to document that it is only
3873 usable on the domain x < (a-1)/(a+b-2). Add this warning to the docs
3874 and make sure that the function itself returns a consistant error
3875 value (-1) if the domain or range is invalid.
3878 2010-02-22 Don Taber <dtaber@topaflyers.com>
3880 * src/win/wgraph.c (SelFont): After a font change, call
3881 do_string_replot("") so that it is immediately visible.
3883 2010-02-18 Ethan A Merritt <merritt@u.washington.edu>
3885 * term/svg.trm: Use dynamic allocation for all font names. This prevents
3886 buffer overflow problems for very long font names.
3888 * term/post.trm: Truncate over-long font names rather than allowing
3891 2010-02-17 Christoph Junghans (ottxor)
3893 * configure.in plot.c: New configuration option to add local packager to
3894 list of contacts for bug reporting.
3897 2010-02-17 Ethan A Merritt <merritt@u.washington.edu>
3899 * src/term.c (do_arc): Avoid calling trunc() because some compilers
3900 are still back in the dark ages (pre C99).
3902 * configure.in: Change default installation directory for x11 resources
3903 to /etc/X11/app-defaults.
3906 2010-02-17 Benjamin Lindner <lindnerb@users.sourceforge.net>
3908 * src/plot.c (interrupt_setup): Ctrl+C crashes windows console build.
3911 2010-02-16 Peter Juhasz
3913 * src/graphics.c src/plot2d.c src/term.c docs/gnuplot.doc
3914 demo/circles.dem demo/energy_circles.dat: Extend plot style
3915 "with circles" to allow optional start and end values for each arc.
3917 2010-02-15 Benjamin Lindner <lindnerb@users.sourceforge.net>
3919 * src/win/wgnuplib.h src/win/wgraph.c term/win.trm: Add the option
3920 "close" to the windows terminal driver. Update documentation
3923 2010-02-15 Benjamin Lindner <lindnerb@users.sourceforge.net>
3925 * term/win.trm: Fix for windows terminal ignoring explicit fontname and
3928 2010-02-15 Benjamin Lindner <lindnerb@users.sourceforge.net>
3930 * src/win/wmenu.c (SendMacro): Bugfix in call to _getcwd.
3932 2010-02-15 Benjamin Lindner <lindnerb@users.sourceforge.net>
3934 * term/win.trm: Add the options "size" and "position" to the windows
3935 terminal driver. Update documentation accordingly.
3937 2010-02-15 Benjamin Lindner <lindnerb@users.sourceforge.net>
3939 * src/win/wgraph.c src/win/wresourc.h: Add the possibility to
3940 save the current graph window as EMF file. Add a Ctrl+S shortcut for
3941 the graph window and add an entry to the window's system menu.
3943 * term/win.trm: Update documentation accordingly.
3945 2010-02-15 Benjamin Lindner <lindnerb@users.sourceforge.net>
3947 * src/win/wgraph.c: Update code to copy to clipboard as enhanced
3948 metafile, add Ctrl+C shortcut for graph window.
3950 * term/win.trm: Update documentation accordingly.
3952 2010-02-15 Ethan A Merritt <merritt@u.washington.edu>
3954 * docs/gnuplot.doc src/gadgets.h src/graphics.c src/save.c
3955 src/set.c src/show.c: New style option (candlesticks or
3956 financebars) for 'with boxplots'. Apply the current setting of
3957 'set bars' to boxplots drawn in candlestick style.
3959 2010-02-12 Ethan A Merritt <merritt@u.washington.edu>
3961 * src/set.c (set_obj): Sanity check start and end angles of arc.
3963 2010-02-11 Ethan A Merritt <merritt@u.washington.edu>
3965 * src/graphics.c (plot_boxes): Amazingly old bug that fails to apply
3966 absolute boxwidth in the case where previous point was undefined.
3968 2010-02-10 Shigeharu Takeno <shige@iee.niit.ac.jp>
3970 * docs/gnuplot-ja.doc docs/term-ja.diff:
3971 Sync Japanese documentation to gnuplot.doc rev 1.598
3973 2010-02-07 Ethan A Merritt <merritt@u.washington.edu>
3975 * docs/gnuplot.doc: Clarify the documentation for xticlabels().
3976 * docs/Makefile.in: Use htlatex to generate html docs
3978 2010-02-07 Christoph Junghans (ottxor)
3980 * configure.in share/Makefile.am src/Makefile.am src/gplt_x11.c
3981 src/variable.c: Configurable X11 application resource path.
3982 Bug #2931287 #219323
3984 2010-02-07 Ethan A Merritt <merritt@u.washington.edu>
3986 * src/graphics.c (boxplot_range_fiddling) src/plot2d.c (plot_boxplot):
3987 Make boxplot handling ignore any undefined points in the data set.
3989 2010-02-06 Ethan A Merritt <merritt@u.washington.edu>
3991 * NEWS docs/gnuplot.doc src/save.c src/set.c src/show.c src/tables.c
3992 src/tables.h src/term_api.h src/unset.c src/variable.c term/post.trm:
3994 Revise the search order for PostScript prologue files
3995 1) directory given by 'set psdir' [new command]
3996 2) directory given by environmental variable GNUPLOT_PS_DIR
3997 3) built-in header if present, otherwise default system directory
3998 4) loadpath [pretty useless, but that's what it did before]
4000 2010-02-05 Ethan A Merritt <merritt@u.washington.edu>
4002 * src/graphics.c (plot_boxplot): Fix off-by-one error in calculating
4003 quartile boundaries.
4005 2010-02-03 Christoph Junghans (ottxor)
4007 * share/LaTeX/Makefile.am: Fix a logic error in testing the need
4010 2010-02-03 Tatsuro Matsuoka <tmacchant3@yahoo.co.jp>
4012 * src/command.c (pause_command): Loop of waitforinput() for "pause -1"
4013 in console mode of Windows.
4015 2010-02-02 Christoph Junghans (ottxor)
4017 * configure.in share/LaTeX/Makefile.am:
4018 kpsexpand was used in share/LaTeX/Makefile.am even if it was not
4019 installed. Add --texdir=DIR option to configure
4022 2010-02-02 Ethan A Merritt <merritt@u.washington.edu>
4024 * src/term.c (test_term): Iniitialize linetype structure before loading
4026 Bug: points all showed as dots if user linetypes were not defined
4028 * src/syscfg.h: Attempt to fix build problem under Sun Studio (no
4029 definition for _Bool).
4032 2010-02-01 Ethan A Merritt <merritt@u.washington.edu>
4034 * term/canvas.trm: Fix typo in javascript output.
4037 2010-02-01 Petr Mikulik <mikulik@physics.muni.cz>
4039 * src/command.c (pause_command): Use the default message for Windows
4042 2010-01-31 Tatsuro Matsuoka <tmacchant3@yahoo.co.jp>
4044 * src/command.c (pause_command): Fixes for pause on Windows with wxt.
4046 * src/wxterminal/wxt_gui.cpp (wxt_waitforinput): Fix for Windows.
4048 2010-01-29 Ethan A Merritt <merritt@u.washington.edu>
4050 * src/scanner.c (scanner): There was no scanner rule covering a token
4051 starting with '.'. This caused ambiguity in the interpretation of '.E1'.
4052 Is it a strange representation of 0, or concatenation of a string
4053 variable E1? Resolve this with a new rule that a number with an initial
4054 '.' must continue with a digit.
4057 2010-01-28 Petr Mikulik <mikulik@physics.muni.cz>
4059 * src/command.c (pause_command): Fix "pause mouse" for gnuplot.exe on
4062 2010-01-25 Ethan A Merritt <merritt@u.washington.edu>
4064 * INSTALL: Add section explaining the libreadline problem on OSX.
4066 2010-01-25 Petr Mikulik <mikulik@physics.muni.cz>
4068 * src/win/wgraph.c (drawgraph pattern_bitmaps): Synchronize fill
4069 patterns of the Windows terminal with other terminals.
4071 2010-01-16 Ethan A Merritt <merritt@u.washington.edu>
4073 * src/variable.c (loadpath_handler): Have "show loadpath" also list
4074 the environmental variable GNUPLOT_PS_DIR.
4077 2010-01-15 Christoph Junghans <ottxor@users.sourceforge.net>
4079 * configure.in src/Makefile.am demo/Makefile.am.in:
4080 "make check" needs help if we did ./configure --program-suffix=FOO
4081 In this case make a temporary symlink so that 'make check' can find
4085 2010-01-12 Alexander Täschner <taschna@users.sourceforge.net>
4087 * src/win/winmain.c (MyVFPrintF): Microsoft Visual C does not use
4088 va_copy() and va_end().
4090 2010-01-12 <ottxor@users.sourceforge.net>
4092 * configure.in share/Makefile.am: Do not install LaTeX support files
4093 if there is no latex on the system. Add configuration option
4097 2010-01-12 Ethan A Merritt <merritt@u.washington.edu>
4099 * term/pdf.trm: Always start a new path with a moveto.
4102 * src/plot2d.c (eval_plots): In generating points for a function plot,
4103 only x and y were guaranteed to be initialized. Now to be safe we
4104 initialize all fields.
4107 * src/plot2d.c (store2d_point): steps, fsteps, and histeps were
4108 incorrectly auto-scaling to yhigh (which is really variable color).
4111 2010-01-10 Ethan A Merritt <merritt@u.washington.edu>
4113 * docs/gnuplot.doc docs/plotstyles.gnu demo/boxplot.dem
4114 src/datafile.c src/gadgets.c src/gadgets.h src/gp_types.h
4115 src/graph3d.c src/graphics.c src/plot2d.c src/save.c
4116 src/set.c src/show.c src/tables.c src/tables.h src/unset.c:
4118 New plot style "with boxplot" and corresponding "set style boxplot".
4120 2010-01-10 Shigeharu Takeno <shige@iee.niit.ac.jp>
4122 * docs/gnuplot-ja.doc docs/term-ja.diff:
4123 Sync Japanese documentation to gnuplot.doc rev 1.595
4125 2010-01-10 <ottxor@users.sourceforge.net>
4127 * share/Makefile.am: Do not install x11 appdefaults file if no
4128 X11 support is selected. Bug #2928271
4130 2010-01-06 Alexander Täschner <taschna@users.sourceforge.net>
4132 * config/config.nt src/datafile.c src/eval.c src/plot.c src/stdfn.c
4133 src/stdfn.h: Define a generic function not_a_number() in which we can
4134 hide platform-specific implementations. Add a support for initializing
4135 NaN and GPVAL_NaN on Windows.
4138 2010-01-03 Ethan A Merritt <merritt@u.washington.edu>
4140 * src/datafile.c (df_readascii): Further revision to maintain the old
4141 behaviour of the string variables demo. The demo uses a very unusual
4142 method to read time strings from the input file, but let's not break
4143 it unless necessary.
4145 2010-01-02 Ethan A Merritt <merritt@u.washington.edu>
4147 * src/datafile.c (df_readascii): Time format "%s" should be able to
4148 handle any numeric input. Convert input of the form 'using ($1)' or
4149 'using (f($1))' to a string so that it can be passed to gstrptime().
4152 2010-01-01 Ethan A Merritt <merritt@u.washington.edu>
4154 * term/PostScript/prologue.ps term/PostScript/prologues.h:
4155 Update version in PostScript headers.
4156 Define a user-configurable flag SuppressPDFMark.
4158 * term/post.trm: Re-arrange stuff in the prolog so that users can either
4159 set SuppressPDFMark to true in an individual file or make a permanent
4160 change by setting it in the shared prolog file.
4162 2009-12-31 Ethan A Merritt <merritt@u.washington.edu>
4164 * src/command.c src/gadgets.c src/gadgets.h src/graph3d.c src/graphics.c
4165 src/misc.c src/plot2d.c src/plot3d.c src/set.c src/show.c src/tables.c
4166 src/tables.h src/term_api.h src/term.c src/unset.c src/util3d.c
4167 demo/tango_colors.gp docs/gnuplot.doc:
4169 Allow the user to redefine the properties of basic linetypes.
4170 The redefinitions are persistent; i.e. they are not affected by "reset".
4171 The command options are identical to those for "set style line".
4173 set linetype N {various line properties}
4174 set linetype cycle M
4176 The new line colors and widths can be set to cycle after going through
4177 M linetypes. E.g. for M=8, the color of linetypes 9, 17, 25 ... are the
4178 same as that of linetype 1.
4180 2009-12-30 Peter Kalinin <pkalinin@users.sourceforge.net>
4182 * term/metapost.trm (MP_options):
4183 The metapost terminal sets the line thickness for plots via drawoptions,
4184 then uses 'draw GPtext ...' to place the text. The draw inherits options
4185 from drawoptions, which results in altered thicknesses of lines.
4186 Replace 'draw GPtext' with 'addto currentpicture also GPtext'.
4188 2009-12-30 Shigeharu Takeno <shige@iee.niit.ac.jp>
4190 * src/win/wgnuplib.h src/win/wgraph.c term/win.trm:
4191 Monochrome option of win terminal seems to have no effect.
4194 draws a red line. I think the timing of calling ReadGraphini() is not
4195 correct. This should be done only once on first entry before setting
4196 the terminal options.
4198 2009-12-30 Thomas Sefzick <thse@users.sourceforge.net>
4200 * src/graph3d.c: Fix incorrect color assignment of contour lines when
4201 'set style increment user' is set.
4203 2009-12-28 Ethan A Merritt <merritt@u.washington.edu>
4205 * src/plot.c (get_data) src/graphics.c (plot_c_bars)
4206 src/tabulate.c (print_table) docs/gnuplot.doc:
4208 Allow an optional 6th column in CANDLESTICKS style that specifies the
4209 width of each individual candle.
4211 2009-12-24 Thomas Sefzick <thse@users.sourceforge.net>
4213 * src/tabulate.c src/time.c:
4214 Support the "%s" format specifier to strftime as per the unix man page.
4215 If the output format string is exactly "%s" then 'output_number()' in
4216 'src/tabulate.c' returns the number of seconds since the beginning of
4217 the epoch as a number. All other cases ("%s" in combination with any
4218 other character) are treated in 'time.c'.
4220 2009-12-24 Ethan A Merritt <merritt@u.washington.edu>
4222 * src/tabulate: Fix buffer overflow.
4224 * configure.in: The cross-compilation patch causes a recursive
4225 definition of CC in docs/Makefile. I have attempted to fix this by
4226 revising the definition of CC_FOR_BUILD, but I don't know if this
4227 will break cross-compilation again.
4229 2009-12-24 Robert Schwebel <r.schwebel@pengutronix.de>
4231 * configure.in docs/Makefile.in:
4232 When cross compiling gnuplot, build the documentation generation tools
4233 in docs/ with CC_FOR_BUILD (host compiler), not with the cross compiler.
4235 2009-12-22 Ethan A Merritt <merritt@u.washington.edu>
4237 * src/win/wgraph.c (drawgraph: W_line_type): Change initial line
4238 template for LT_BACKGROUND to 0 (lt -1) rather than 1 (lt 0).
4239 Possible fix for bug #1952287
4241 2009-12-19 Juergen Wieferink <wieferink@freenet.de>
4243 * src/command.c, src/command.h, src/misc.c, src/misc.h
4244 (lf_push, lf_pop): Save if-state.
4246 * src/command.c, src/command.h, src/misc.c, src/misc.h
4247 (lf_push, lf_pop, load_file, do_string):
4248 Refactor duplicate code from load_file() and do_string() into lf_push()
4250 * misc.h, misc.c: Add field cmdline to LFS to allow correct
4251 deallocation. Check for infinite recursion.
4253 * src/misc.c (prepare_call, expand_call_args, load_file):
4254 Refactor code related to the call command out of load_file().
4256 * src/command.c (history_command): Use do_string() now that it can
4259 * command.c, command.h, plot.c:
4260 Remove eval_depth and reset_eval_depth(). The new recursion detection
4261 in lf_push() should supercede this.
4263 2009-12-18 Ethan A Merritt <merritt@u.washington.edu>
4265 * src/tables.h src/tables.c src/show.c src/save.c src/graph3d.h:
4266 Move all the DGRID3D_* options into a shared table.
4268 * src/set.c: Replace the set_dgrid3d() routine with a version that uses
4269 a shared option table and handles input values contained in variables.
4271 * docs/gnuplot.doc: bring dgrid3d syntax into line with the code
4273 2009-12-12 Ethan A Merritt <merritt@u.washington.edu>
4275 * docs/plotstyles.gnu demo/bldg.png demo/barchart_art.dem Makefile.am.in
4277 a) input of png image using binary filetype=png
4278 b) rescaling rectangular images to act as plot elements
4280 2009-12-11 Ethan A Merritt <merritt@u.washington.edu>
4282 * src/graphics.c (boundary): Tweak auto-placement of plot borders so
4283 that it is closer to what was used prior to version 4.2.4. This makes
4284 the right margin slightly wider than in 4.2.6, and the left margin
4287 2009-12-08 Ethan A Merritt <merritt@u.washington.edu>
4289 * term/emf.trm (ENHemf_put_text): Left/right/center justification of
4290 enhanced text was not taking into account the text angle. Now it does.
4293 * src/breaders.c (gd_filetype_function): Make load of jpeg or gif image
4294 conditional on support by the installed libgd.
4296 * src/unset.c (reset_command): Reset options to plot style filledcurve.
4299 2009-12-05 Ethan A Merritt <merritt@u.washington.edu>
4301 * src/command.c (undefine_command):
4302 'undefine A* B' should not affect BFOO.
4305 * src/internal.c (f_mult): Check for integer overflow when performing
4306 internal integer multiplication.
4309 2009-12-04 Tatsuro Matsuoka <tmacchant3@yahoo.co.jp>
4311 * config/makefile.mgw config/makefile.cyg: Create installation
4312 directories $(DESTDIR)/$(GNUPLOT_PS_DIR) $(DESTDIR)/$(GNUPLOT_LUA_DIR)
4314 2009-12-04 Ethan A Merritt <merritt@u.washington.edu>
4316 * src/datafile.c (df_open): The variables that track matrix and binary
4317 data input (df_matrix, df_num_bin_records) must be re-inititialized
4320 2009-12-03 Ethan A Merritt <merritt@u.washington.edu>
4322 * src/set.c (set_margin): Limit range of set ?margin at screen <foo>
4325 * src/datafile.c (f_stringcolumn) src/plot2d.c (eval_plots):
4326 Enforce restrictions on which plot types can accept matrix data.
4328 2009-12-01 Ethan A Merritt <merritt@u.washington.edu>
4330 * config/makefile.cyg config/makefile.dj2 config/makefile.mgw
4331 config/makefile.os2 src/Makefile.am term/lua.trm term/Makefile.am.in:
4332 Install the script gnuplot-tikz.lua under $pkgdatadir rather than under
4334 Fixes build problems under cygwin and mingw.
4335 Thanks to Tatsuro Matsuoka.
4337 * docs/gnuplot.doc: Provide an example of using 'set palette defined'
4338 to approximate default MATLAB coloring.
4339 Thanks to Mike <mws115@usa.com>
4341 2009-11-26 Ethan A Merritt <merritt@u.washington.edu>
4343 * src/datafile.c: Remove unused global df_binary.
4345 2009-11-16 Juergen Wieferink <wieferink@freenet.de>
4347 * src/command.c (do_string_and_free) src/misc.c (load_file): Fix memory
4348 issues of patch 2009-10-30 (SF Patch #2898455 and Bug #2895620).
4350 2009-11-16 Petr Mikulik <mikulik@physics.muni.cz>
4352 * docs/gnuplot.doc: Fix support web page URL.
4354 * src/show.c (show_version): Less info help lines.
4356 2009-11-14 Philipp K. Janert <janert@ieee.org>
4358 * src/command.c (undefine_command): Added support for wildcards in
4361 * docs/gnuplot.doc: Associated documentation.
4363 2009-11-12 Thomas Sefzick <thse@users.sourceforge.net>
4365 * term/canvas.trm: Fix initialization failure on non-unix platforms.
4367 2009-11-11 Petr Mikulik <mikulik@physics.muni.cz>
4369 * docs/gnuplot.doc: Updated introduction.
4371 2009-11-06 Allin Cottrell <cottrell@wfu.edu>
4373 * src/wxterminal/gp_cairo.c (gp_cairo_convert): Work around a font
4374 problem in the win32 backend for pango/cairo character rendering.
4375 Conditional on WIN32 and libpango > 1.21, request rendering by freetype
4376 rather than win32. Fix suggested by cairo developer Behdad Esfahbod.
4378 2009-11-04 Petr Mikulik <mikulik@physics.muni.cz>
4380 * src/term.c (enhanced_recursion): Replace in-line warnings sent to
4381 stderr by instead calling int_warn().
4383 2009-11-02 Ethan A Merritt <merritt@u.washington.edu>
4385 * src/breader.c: Give df_libgd_get_pixel() a valid return value even
4386 if it's only a dummy function because there is no png support.
4388 2009-11-01 Petr Mikulik <mikulik@physics.muni.cz>
4390 * config/makefile.dj2 config/makefile.cyg config/makefile.mgw
4391 config/makefile.nt config/makefile.os2: Added GNUPLOT_JS_DIR.
4393 * term/canvas.trm (CANVAS_graphics): Fix // vs \ and / for jsdir and
4396 2009-10-31 Petr Mikulik <mikulik@physics.muni.cz>
4398 * src/show.c (show_version): Fit width of welcome messages into 80
4401 2009-10-31 Ethan A Merritt <merritt@u.washington.edu>
4403 * src/plot.h src/util.h: Tell gcc that routines bail_to_command_line(),
4404 int_error(), graph_error(), and os_error() do not return.
4405 #ifdef __GNUC__ ... __attribute__((noreturn));
4406 This avoids spurious warnings about uninitialized variables from
4409 if (END_OF_COMMAND || !(foo = try_to_get_string()))
4410 int_error(c_token,"missing string");
4413 2009-10-30 Juergen Wieferink <wieferink@freenet.de>
4415 * src/command.c, src/command.h (do_string, do_string_and_free):
4416 Use to different functions depending on whether the command string has
4417 to be freed. Don't reset screen_ok.
4419 * src/command.c, src/command.h (do_string_replot), src/fit.c
4420 (fit_interrupt): Use do_string() instead of do_line().
4422 * src/command.c, src/misc.c, src/mouse.c, src/plot.c src/term.c:
4423 Adjust calls to do_string().
4425 * src/plot2d.c src/graph3d.c src/gplt_x11.c term/lua.trm term/latex.trm
4426 src/wxterminal/gp_cairo_helpers.c:
4427 Silence gcc -Wall warnings.
4429 * src/misc.c: Remove latin1 char.
4431 * term/x11.trm: Silence valgrind warning.
4433 * demo/vector.dem, demo/fit.dem: Add closing quotes.
4435 2009-10-30 Petr Mikulik <mikulik@physics.muni.cz>
4437 * src/win/winmain.c (MyFPrintF MyVFPrintF MyPrintF): Workaround for
4438 vsnprintf(NULL,0,...) returning zero (MingW 3.4).
4440 * docs/gnuplot.doc: Document "linetype <n>" option of linecolor and
4443 2009-10-28 Ethan A Merritt <merritt@u.washington.edu>
4445 * term/luz.trm term/lua/gnuplot-tikz.lua: Remove conditional tests
4446 for gnuplot version 4.3. We're past that now.
4448 2009-10-27 Ethan A Merritt <merritt@u.washington.edu>
4450 * src/save.c (save_fillstyle): Repair missing brackets in if/else.
4452 2009-10-26 Ethan A Merritt <merritt@u.washington.edu>
4454 * src/graphics.c src/axis.c src/term.c: Replace in-line warnings sent
4455 to stderr by instead calling int_warn();
4457 2009-10-24 David Marx <itsdmarx@users.sourceforge.net>
4459 * src/wxterminal/wxt_gui.cpp: The pieces of a concatenated string
4460 literal must be wrapped in wxT() to satisfy the Sun Studio CC compiler.
4463 2009-10-24 Ethan A Merritt <merritt@u.washington.edu>
4465 * src/color.c (make_palette): Remove useless warning message.
4467 * src/internal.c (f_power): Check for integer overflow from i**j and
4468 return a real value (well, actually a complex value) if it is needed.
4471 2009-10-23 Ethan A Merritt <merritt@u.washington.edu>
4473 * src/plot2d.c (get_data): The mechanism for flagging "lc variable"
4474 was not being triggered for plot types VECTOR, CIRCLES, BOXES.
4477 2009-10-22 David Marx <itsdmarx@users.sourceforge.net>
4479 * src/wxterminal/wxt_gui.cpp: _T() macro has been deprecated in favor
4483 2009-10-18 Ethan A Merritt <merritt@u.washington.edu>
4485 * VERSION FAQ.pdf src/version.c
4486 config/makefile.mgw configure.in docs/doc2texi.el docs/titlepag.tex
4488 Bump version of CVS development tree to 4.5