-
Notifications
You must be signed in to change notification settings - Fork 5
/
ChangeLog
1565 lines (1072 loc) · 58.3 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2014-09-26 Ethan A Merritt <[email protected]>
* term/js/gnuplot_mouse.js: Typo in logical test for hypertext.
* src/axis.h src/save.c src/set.c src/show.c src/unset.c src/graphics.c
src/graph3d.c: set [*]tics {{no}enhanced}
2014-09-24 Bastian Maerkisch <[email protected]>
* src/win/wgraph.c term/win.trm: The windows terminal allowed users
to change linetypes via an ini file or with the help of a dialog. This
has been superseeded by the more general `set linetyoe` mechanism.
The old code is still available but only active with WIN_CUSTOM_PENS
defined during compilation.
* src/win/wgraph.c src/win/wgidplus.c: Accept zero point size.
Eliminates drawing of unwanted point symbols for labelled contours.
Bugfix
2014-09-24 Ethan A Merritt <[email protected]>
* term/aed.trm term/v384.trm
config/makefile.dj2 config/makefile.emx config/makefile.vms
configure.vms docs/doc2texi.el docs/Makefile.am src/makefile.all
src/makefile.awc src/term.h:
Remove obsolete terminals:
aed: pre-1980 display device ($15,000) with 500x500 pixels, 256 colors
v384: Vectrix VX 384 mid 1980s graphics display terminal ($5000) with
672x480 pixels, 512 colors
* src/interpol.c: Force the number of intervals used for interpolating
monotonic cubic splines ("smooth mcsplines") to be at least twice the
number of data points.
2014-09-22 Christoph Bersch <[email protected]>
* src/misc.c (parse_fillstyle): Remove order dependence of keyword
"transparent".
* term/lua.trm term/lua/gnuplot-tikz.lua:
Support RGBA linecolors and LT_NODRAW. Add a linewidth terminal option.
2014-09-20 Bastian Maerkisch <[email protected]>
* src/fit.c src/fit.h src/save.c src/set.c src/show.c src/unset.c
docs/gnuplot.doc demo/fit.dem: Remove xerrors option (which requires 3
columns) since it is not like the xerrorbars plot style (which requires 4).
Rename `noerrors` option to `unitweights`. Let the fit command default
to `unitweights`, i.e. do not interpret the last column of the using
spec as z-errors. Add a command `set fit v4|v5` to switch between
old-style command line syntax and the new one. Default to `v5`, but
`reset` does not change the current setting.
Note that this change is backward-incompatible with v5-rc1 and v5-rc2.
However it restores compatibility with v4, subject to the restriction
that all independent variables must appear in the "fit" command itself
(see below).
* src/fit.c: Ethan A Merritt - use the tally of dummy variable names
to detect version 4 syntax in which the last column of a using spec
contains zerror but no "*error" keyword is provided.
2014-09-18 Ethan A Merritt <[email protected]>
* src/fit.c src/parse.c src/parse.h (int fit_dummy_var[]):
Track the occurrence of dummy variable names in a fit command. This lets
us count the independent variables so long as they are not obscured.
fit f(x,y) 'data' using 1:2:3:4 # flags use of 'x' and 'y'
fit x*y 'data' using 1:2:3:4 # flags use of 'x' and 'y'
g(x) = x*y;
fit g(x) 'data' using 1:2:3:4 # flags 'x', doesn't notice 'y'
In each case fit_dummy_var[0] is 1. In the 3rd case fit_dummy_var[1]
is 0 but should be 1. Fixing this would be quite hard.
2014-09-18 Bastian Maerkisch <[email protected]>
* src/win/wgnuplib.h src/wgraph.c term/win.trm: windows terminal
supports the toggle command.
2014-09-18 Ethan A Merritt <[email protected]>
* src/datafile.c: Revised error message for datafile open failure.
2014-09-14 Ethan A Merritt <[email protected]>
* src/tables.c src/command.c src/command.h docs/gnuplot.doc:
New command `toggle {<plotno> | "plottitle" | all} has the same effect
as left-clicking on the key entry for a plot shown by an interactive
terminal (qt, wxt, x11).
2014-09-12 Bastian Maerkisch <[email protected]>
* src/mouse.c (xDateTimeFormat): Use ggmtime() instead of gmtime() to
avoid platform specific restrictions.
Bug #1470
2014-09-09 Pieter-Tjerk de Boer <[email protected]>
* docs/gnuplot.doc: Update help on fit to new command syntax.
* src/fit.c: Fix init of num_errors.
2014-09-09 Akira Kakuto <[email protected]>
* src/win/wpause.c (PauseBox): Do not wait for further events after
pause dialog box was closed. Bugfix.
2014-09-08 Christoph Bersch <[email protected]>
* demo/stringvar.dem docs/gnuplot.doc src/internal.c (f_word f_words):
Modify the word() and words() functions to recognize quoted strings
inside the top level string as single entities.
2014-09-08 Christoph Junghans <[email protected]>
* configure.in: New option --without-libcerf
2014-09-08 Ethan A Merritt <[email protected]>
* src/misc.c (lp_parse parse_colorspec): Allow a quoted colorname to
immediately follow the keywords lc|linecolor|fc|fillcolor; i.e. in this
case the additional rgbcolor keyword is optional.
2014-09-07 Ethan A Merritt <[email protected]>
* src/plot2d.c: "set linetype 1 pt 'A'; plot x with lp" requires that
the plot->labels field be initialized before plotting.
* src/save.c: handle PT_CHARACTER when saving linetype
2014-09-05 Ethan A Merritt <[email protected]>
* src/term_src/api.h src/gadgets.c src/hidden3d.c src/misc.c
src/plot2d.c src/plot3d.c src/save.c src/set.c src/ show.c src/term.c:
The field lp_style_type.pointflag was variously used as a Boolean,
an integer, or a magic number indicating an uninitialized state.
Clean this up by replacing it with a bitfield lp_style_type.flags
with defined bits LP_SHOW_POINTS LP_NOT_INITIALIZED LP_EXPLICIT_COLOR.
This has the side effect of allowing a trivial fix for a regression
in 4.6.5 that caused "set hidden3d; splot ... lc <foo>" to ignore the
requested color. See Bugs #1284 #1475
2014-09-05 Karl Ratzsch <[email protected]>
* docs/plotstyles.gnu: Dummy up a version of the missing/NaN figure
for use with Windows documentation.
2014-09-04 Ethan A Merritt <[email protected]>
* src/mouse.c src/term_api.h src/gplt_x11.c
src/qtterminal/QtGnuplotScene.cpp src/qtterminal/qt_term.*
src/wxterminal/wxt_gui.cpp src/wxterminal/wxt_term.h
term/caca.trm term/README term/win.trm term/x11.trm:
Add a 2nd parameter to the API term->modify_plots(operations, plotno).
All terminals for which this entry point is not NULL are updated
accordingly. This patchset does not by itself add any new
functionality or change user-visible behavior. It prepares for later
adding command-line equivalents to mouse operations like "toggle".
2014-09-04 Ethan A Merritt <[email protected]>
* src/graphics.c (place_arrows) src/graph3d.c (place_arrows3d):
Revert arrowhead patch of 2014-08-18. Document that if you want a
dashed arrow shaft it is best to use "nofilled" for the arrow head.
Bugs #1460 #1476
2014-09-03 Ethan A Merritt <[email protected]>
* src/graph3d.c src/hidden3d.c: "splot ... with dots" was not drawing
the dots.
Bug #1474
2014-08-31 Ethan A Merritt <[email protected]>
* src/stats.c docs/gnuplot.doc: Calculate and report sample standard
deviation (STATS_ssd) as well as the population standard deviation
(STATS_stddev). Provide formulae for the reported quantities in the
LaTeX documentation, and document the difference between
_ssd and _stddev in all documentation formats.
* src/stats.c: In version 5 when there is no using spec df_readline()
always returns at most the number of columns present on the first line.
Bug #1472
2014-08-30 Petr Mikulik <[email protected]>
* config/config.os2: Use _strtoll.
2014-08-29 Petr Mikulik <[email protected]>
* src/gplt_x11.c (exec_cmd process_configure_notify_event):
Add missing #ifdefs: USE_X11_MULTIBYTE and PIPE_IPC.
2014-08-21 Ethan A Merritt <[email protected]>
* src/fit.c: Handle columnheaders in input to "fit".
Bug #1467
* src/misc.c (lp_parse): Flag "set object N lt <lt>" as an error,
since currently this must be done be "set object N fs bo <lt>".
Probably we should figure out how to make this command work, but
better to issue an error than accept it and then ignore it.
Bug #1460
* src/bf_test.c: Use HAVE_STDLIB_H and HAVE_MALLOC_H to include proper
header file for calloc(). "Jun T." <[email protected]>.
2014-08-21 Ethan A Merritt <[email protected]>
* Branchpoint for 5.0 (cvs tag -b branch-5-0-stable)
The main (development) branch is now marked 5.1 and will eventually
be used as the basis for a future release named gnuplot version 5.2.
>>> NOTE <<<
Starting now
============
* Bugfixes for version 5 should be applied to both the main branch
(5.1 == this one) and the stable branch (branch-5-0-stable).
They will first appear in patchlevel releases 5.0.1, 5.0.2, and so on.
* Major new features and experimental changes belong here, not in the
stable branch. They will appear eventually in release 5.2.
* Minor new features can go in both branches at your discretion, but
remember that the stable branch should ideally never break.
That means new code should be tested here in the development
branch first, and only after testing be added or back-ported to the
stable branch.
2014-08-20 Ethan A Merritt <[email protected]>
* src/wxterminal/gp_cairo.c: Distinct empirical scale factors for
dashlength used by pngcairo, pdfcairo, and wxt.
* term/emf.trm: Scale dashlength with current linewidth.
2014-08-18 Ethan A Merritt <[email protected]>
* src/graphics.c (place_arrows) src/graph3d.c (place_arrows3d):
Only invoke the arrowheads only code if there really is an arrowhead.
2014-08-18 Hans-Bernhard Broeker <[email protected]>
* config/mingw/Makefile (VPATH): Drop $W from VPATH. Necessary to
avoid circular dependency on wgnuplot.mnu
(%.$(O)): Use pattern rule instead of VPATH to build Windows
source files.
(VERSIONING): Avoid inverted logic in makefile conditional.
(console, windows, pipes): Simplify by letting the default rule in
the sub-make handle things.
(default, all): Versioning is really needed by $(TARGET) rule,
so let that handle constructing it.
($(TARGET)): Do VERSIONING first, drop dependencies on icon files.
(%.o): Use pattern rules to build Qt source files. Much simpler
than spelling it out long hand for every single source file.
2014-08-15 Ethan A Merritt <[email protected]>
* src/bf_test.c src/Makefile.am src/binary.* (removed)
config/makefile.os2 config/makefile.dj2 config/makefile.cyg
config/cygwin/Makefile config/mingw/Makefile config/msvc/Makefile:
Remove bf_test dependence on all other gnuplot files and libraries.
This makes binary.c and binary.h superfluous.
Bugs #1412 #1451
* src/makefile.all src/makefile.awc: Remove mention of binary.o
* config/*/Makefile: Remove alloc and binary from bf_test dependencies
* src/graphics.c (place_objects) src/set.c (set_obj):
Apply default rectangle style at the time of a "set object rect"
command rather than waiting until the rectangle is drawn. This prevents
the default style line/dash settings from overriding explicit rectangle
commands.
Bug #1460
* src/save.c (save_linetype): Bugfix - dashtype was being saved only if
there was also a point type.
* src/gadgets.c (apply_pm3dcolor): Don't clobber current dashtype by
calling term->linetype(LT_BLACK). Call term->set_color(BLACK_COLORSPEC)
instead.
* src/graphics.c (place_arrows) src/graph3d.c (place_arrows3d):
Force solid lines for arrow heads.
2014-08-15 Shigeharu Takeno <[email protected]>
* src/gplt_x11.c: For single byte fonts gnuplot_x11 uses a list of
previously used fonts to speed up the search for a new target font.
Now we add an equivalent for multi-byte font search.
2014-08-14 Ethan A Merritt <[email protected]>
* src/graphics.c (do_rectangle) src/graph3d.c (map3d_position_r)
demo/rectangle.dem: Fix y extent and clipping of rectangles with
negative y coord or inverted axes.
Bug #1462
2014-08-05 Ethan A Merritt <[email protected]>
* src/mouse.c (event_buttonpress): Remove extraneous event_reset.
2014-08-02 Ethan A Merritt <[email protected]>
* src/misc.c (parse_colorspec): Apply user-defined line colors
to text color also.
Bug #1452
src/misc.c src/save.c src/set.c src/term.c src/term_api.h:
Store custom dashtype string as a constant length character array
rather than a dynamically allocated string. This fixes memory
leakage that happened whenever a linetype using dashes was discarded.
2014-08-01 Ethan A Merritt <[email protected]>
* src/mouse.c (event_buttonpress): Trap mouse button click on
press rather than on release so that "pause mouse {button1|any}"
takes precedence over a key binding to the mouse button.
Bugfix
2014-07-30 Ethan A Merritt <[email protected]>
* term/x11.trm: Remove misleading mention of -noevents. This is a
command line option for gnuplot_x11, not for gnuplot itself.
* src/datafile.c docs/gnuplot.doc demo/heatmaps.dem:
New text input matrix keywords `columnheaders` and `rowheaders`.
These handle reading matrix data from a csv file in which the first
row and/or column contains labels rather than data.
* src/eval.c (update_plot_bounds): Provide a user-visible copy of
the current terminal scale (oversampling, etc) as GPVAL_TERM_SCALE.
Bug #1291
2014-07-28 Allin Cottrell <[email protected]>
* src/syscfg.h: Report 32/64 bit Windows build in version string
2014-07-28 Ethan A Merritt <[email protected]>
* src/wxterminal/gp_cairo.c: Do not pass a linewidth of zero to the
cairo library. The linewidth of LT_AXIS is now set in the core code,
do not further reduce it in gp_cairo_stroke().
2014-07-25 Ethan A Merritt <[email protected]>
* src/gplt_x11.c: Scale x11 dashlength with linewidth.
2014-07-23 Shigeharu Takeno <[email protected]>
* src/mouse.c src/mouse.h src/set.c src/show.c docs/gnuplot.doc:
New command 'set mouse zoomfactors <xfactor>,<yfactor>'
2014-07-22 Ethan A Merritt <[email protected]>
* src/gp_types.h src/plot2d.c (store2d_point):
INRANGE/OUTRANGE refer to points that are inside/outside the plot
boundaries as defined by xrange, yrange, etc. They fail to handle
points that are outside theta range limits given for polar data.
That is, a point may be outside of trange [pi/2:pi] even though it
would lie well inside the plot boundaries if drawn.
Add a new category EXCLUDEDRANGE for such points.
* src/graphics.c (plot_impulses): Test for EXCLUDEDRANGE data points
so that set trange [theta_min:theta_max] actually does something.
Bug #1439
* demo/poldat.dem: Make sure trange includes the whole plot.
2014-07-18 Ethan A Merritt <[email protected]>
* demo/Makefile.am.in: Do not create a symlink to GNUPLOT_X11 in the
build directory during "make check". This was probably intended to
handle the rare case of ./configure --program-suffix=foo but it breaks
the more common case of configuring on a system without x11 support
and then running "make check" twice.
Bugfix
2014-07-14 Ethan A Merritt <[email protected]>
* src/gadgets.c src/save.c src/set.c src/gadgets.h:
Continue to recognize "set style increment user" even though it has
been deprecated in favor of "set linetype".
Bug #1411 (not really a bug)
2014-07-12 Ethan A Merritt <[email protected]>
* src/parse.c (check_for_iteration): Fix failure to detect some loop
[start:end:increment] combinations that should be executed only once
or not executed at all.
Bug #1441
2014-07-10 Ethan A Merritt <[email protected]>
* src/set.c (set_dummy): More sanity checks on "set dummy" syntax.
Bug #1442
2014-07-06 Ethan A Merritt <[email protected]>
* src/set.c (load_tic_user): "set Xtics ()" should clear the list
of user-specified tics rather than setting tic generation to auto.
2014-07-04 Shigeharu Takeno <[email protected]>
* docs/gnuplot.doc docs/term-ja.diff docs/gnuplot-ja.doc
man/gnuplot.1 man/gnuplot-ja.1:
Fix typos. Sync Japanese documentation to 1.896
2014-07-04 Bastian Maerkisch <[email protected]>
* src/win/wgraph.c: 'q' closes graph window.
* src/qtterminal/qt_term.cpp (qt_options) term/wxt.trm (wxt_options):
On Windows, the wxt and qt terminals can be used in the same session.
2014-07-01 Ethan A Merritt <[email protected]>
* term/cairo.trm, term/wxt.trm:
Always report {no}enhanced property in "show term".
* src/color.c: If the current terminal has property "monochrome" then
convert all requests for constant color as "black".
Bug #1423
2014-06-24 Ethan A Merritt <[email protected]>
* src/set.c src/show.c src/tables.c docs/gnuplot.doc:
New command: set margins <left>, <right>, <top>, <bottom>
acts just like four successive commands set lmargin <left>, ...
* src/unset.c: unset margins
2014-06-20 Ethan A Merritt <[email protected]>
* configure.in src/wxterminal/wxt_gui.h: The configuration test for
wxWidgets >= 2.8 had no effect on code generation. Remove this test.
* configure.in src/wxterminal/wxt_gui.h: Revert the attemp to guess
whether -lX11 is required by wxt. As feared, this causes problems on OSX
and other platforms where wx is built on top of something other than X11.
2014-06-16 Karl Ratzsch <[email protected]>
* fit.c: FIT_NITER holds number of iterations used by previous fit.
2014-06-16 Ethan A Merritt <[email protected]>
* configure.in src/wxterminal/wxt_gui.h: wxWidgets versions > 2.8 want
the main program to call XInitThreads(), but fail to specify -lX11 in
wxt-config. So we force this ourselves. [=> reverted 2014-06-20]
Bug #1401
* src/graphics.c (xtick2d_callback): Clip r axis tics and tic labels to
the bounding box of the plot.
Bug #1290
2014-06-15 Dmitri A. Sergatskov <[email protected]>
* configure.in: Add LRELEASE for Qt5 autoconfiguration
2014-06-15 Bastian Maerkisch <[email protected]>
* src/plot.c (main): Fix persist mode on Windows when reading
from a pipe.
See Bug #1322
2014-06-15 Akira Kakuto <[email protected]>
* src/binary.c src/datafile.h src/syscfg.h: LFS support on Windows
for MSVC and MinGW.
See also Patch #675
2014-06-14 Ethan A Merritt <[email protected]>
* src/axis.h src/axis.c src/boundary.c src/plot2d.c (eval_plots):
Unlike all other axes, log scaling was being applied to the color axis
(cb) in do_plot() rather than in the caller eval_plots().
This caused "refresh" (as opposed to "replot") to fail. Move the
log-scale correction up to eval_plots() like the other axes.
Bug #1425
* src/misc.c (prepare_call): Allow parenthesized expressions as
call parameters. The value is passed as a string.
* src/command.c (exit_command): New option "exit error 'message'"
prints the message and return to the top command line, breaking out
of any loops or calls cleanly. In non-interactive mode the program
then exits.
2014-06-13 Bastian Maerkisch <[email protected]>
* src/qtterminal/qt_term.cpp (qt_waitforinput): Fix index error
when trying to stop thread which reads from pipe.
Bug #1426
2014-06-13 Ethan A Merritt <[email protected]>
* src/datafile.c (df_generate_pseudodata): Do not try to access plot
structure if we were called from fit rather than plot.
Bug #1427
2014-06-12 Christoph Bersch <[email protected]>
* term/lua.trm term/lua/gnuplot-tikz.lua:
Scale dashlength with linewidth.
2014-06-11 Ethan A Merritt <[email protected]>
* src/mouse.c (event_reset) src/qtterminal/QtGnuplotWindow.{h|cpp}:
Window close events from qt were not being passed through to the main
program, so "pause mouse close" did not work. Also a backgrounded
instance could hang rather than exit when the last plot window closed.
Bug #1418
* src/fit.c: Remove spurious test and error message for time data
with only 2 columns in the using spec.
Bug #1424
* man/gnuplot.1: update
2014-06-11 Mojca Miklavec <[email protected]>
* term/aquaterm.trm: Correctly support encoding CP1252.
2014-06-11 Tatsuro MATSUOKA <[email protected]>
* win/gnuplot.iss: Include Qt platform DLLs in distribution package.
2014-06-10 Ethan A Merritt <[email protected]>
* docs/gnuplot.doc: Add a section explaining the "persist" option.
Bug #1418, #1419
* term/post.trm term/svg.trm src/qtterminal/qt_term.cpp:
Add an empirical scale factor to the dashlength*linewidth computation to
make the resulting patterns closer in total size to the built-in ones.
2014-06-10 Christoph Bersch <[email protected]>
* term/post.trm term/svg.trm: Scale dashlength with linewidth.
2014-06-09 Daniel J Sebald <[email protected]>
* src/qtterminal/QtGnuplotWidget.cpp (processEvent): Always "resize"
the initial plot to its own size. This may work around strangeness on
some systems that create the initial qt plot window with the wrong size.
Bug #1417 (forwarded from Debian) Patch #661
2014-06-09 Bastian Maerkisch <[email protected]>
* src/win/wgdiplus.cpp src/win/wgraph.c src/win/wgnuplib.h
term/win.trm:
Version 5 dashtypes. Custom dashtypes supported by GDI+ driver.
* src/wxterminal/wxt_gui.cpp: Also "restore" the window state on
"raise".
Bug #1389
* src/win/winmain.c (WinMain): Change type from PASCAL to CALLBACK.
* src/fit.c: Test if covariance matrix is available before saving
it to user variables.
2014-06-08 Shigeharu Takeno <[email protected]>
* docs/gnuplot.doc win/README-Windows.txt win/README-ja.txt
docs/gnuplot-ja.doc: sync to docs version 1.891
2014-06-07 Mojca Miklavec <[email protected]>
* src/wxterminal/gp_cairo.c: Scale dashlength with linewidth, similar
to what qt does.
2014-06-04 Bastian Maerkisch <[email protected]>
* src/plot.c src/win/winmain.c|h term/caca.trm: Only if a wxt, caca
or windows terminal window is open, the -persist option is handled by
keeping the main input loop running. This is unfortunate but maybe the
best we can do since we are missing a process fork or detach mechanism.
This avoids a zombie process when no plot windows are open in a
session. For the qt terminal -persist works as on other platforms
since it uses a secondary process.
Bugs #1308, #1335, #1343
2014-06-03 Ethan A Merritt <[email protected]>
* src/graph3d.c src/show.c src/save.c docs/gnuplot.doc:
The hidden3d code processes the lines making up the plot border using
the same algorithm as it does for the plot elements. This renders
partially occluded borders correctly for actual surfaces but fails to
recognize occlusion for, e.g., 3D histograms drawn with impulses.
New keyword option "set border behind" draws the border lines before
the plot elements even for hidden3d plots.
* src/term_api.h src/wxterminal/gp_cairo.c src/wxterminal/wxt_gui.cpp:
Change the implementation of greying out inactive keybox entries in wxt
to use a textbox rather than the active area of the key entry.
Bug #1416
* src/hidden3d.c (draw_vertex): Handle p_type == PT_CHARACTER.
2014-06-02 Bastian Maerkisch <[email protected]>
* src/win/wgraph.c src/win/wgdiplus.cpp:
Grey out key entries when corresponding plot is toggled off.
* src/win/wgraph.c (GraphUpdateWindowPosSize) src/win/wgnuplib.h
term/win.trm (WIN_options): Immediately apply changes to window
position and size.
Bug #1400
* src/datafile.h: Revert the Windows LFS changes for now as
they seem to cause problems on some systems.
2014-06-01 Ethan A Merritt <[email protected]>
* src/axis.c src/gadgets.c src/misc.c src/set.c src/unset.c:
Replace magic numbers with LAYER_{BEHIND|BACK|FRONT}.
* src/graph3d.c: Remove obsolete (always true) conditional
USE_GRID_LAYERS. Minor clean up for the grid layer logic.
2014-06-01 Tatsuro MATSUOKA <[email protected]>
* win/gnuplot.iss: Include gnuplot_qt.exe in installer.
Patch #689
* src/qtterminal/gnuplot_qt.cpp: Search for Qt translation files
in gnuplot's installation directory on Windows.
Patch #687
2014-06-01 Ethan A Merritt <[email protected]>
* src/datafile.h: Partial support for LFS on Windows. Currently
mostly useful for 64 bit builds since integers on the the gnuplot
command line are limited to 31bits otherwise.
Patch #675
2014-06-01 Bastian Maerkisch <[email protected]>
* config/mingw/Makefile: Target 'clean' and 'veryclean' include
Qt files, see patch #688.
* config/mingw/Makefile win/gnuplot.iss: Include RELEASE_NOTES.
Add "qt" as option as default terminal.
2014-05-30 Ethan A Merritt <[email protected]>
* term/post.trm term/cairo.trm: The "header" keyword for epslatex
and related terminals can introduce a string of arbitrary length.
Therefore it is not safe to try to store it in the fixed length
term_options character array.
Bug #1413
* term/gd.trm: Limit the stored length of the font so that term_options
cannot overflow.
Bug #1413
* Makefile.am RELEASE_NOTES: Include Release Notes in the distribution
package.
* FAQ.PDF: Update for version 5.
* src/gplt_x11.c:
Grey out key entries when corresponding plot is toggled off.
2014-05-29 Akira Kakuto <[email protected]>
* term/caca.trm: Modify nominal codepage to accommodate CJK Windows.
2014-05-29 Tatsuro MATSUOKA <[email protected]>
* config/mingw/Makefile: Support compilation of the qt terminal.
Patch #684
2014-05-29 Karl Ratzsch <[email protected]>
* docs/gnuplot.doc: Improve documentation of `update` command.
Patch #686
* src/win/wgdiplus.c src/win/wgraph.c: Change order of pointtypes to
match the sequence in other terminals (cairo, postscript, gd, svg).
Patch #681
2014-05-28 Ethan A Merritt <[email protected]>
* src/graph3d.c (plot3d_points): Handle pointtype PT_CHARACTER.
* src/plot3d.c: Rearrange the order of testing for plot style options
so that it is not possible to end up with uninitialized font or text
properties.
2014-05-27 Ethan A Merritt <[email protected]>
* src/datafile.c (df_readascii): Report status DF_UNDEFINED if a data
value evaluates to the constant "NaN", just as if we calculated it on
the fly to be e.g. 1/0.
* src/stats.c: Remove out-of-date comment that incorrectly describes
what happens in this case.
Bug #1408
2014-05-26 Ethan A Merritt <[email protected]>
* term/js/gnuplot_svg.js term/svg.trm:
Grey out key entries when corresponding plot is toggled off.
* src/qtterminal/QtGnuplotItems.* src/qtterminal/QtGnuplotScene.cpp:
Grey out key entries when corresponding plot is toggled off.
* src/wxterminal/wxt_gui.cpp (wxt_grey_out_key_box):
Grey out key entries when corresponding plot is toggled off.
2014-05-24 Bastian Maerkisch <[email protected]>
* src/wxterminal/wxt_gui.cpp (wxt_waitforinput): Do not wait for an
event when only checking for mouse events.
Bugfix
2014-05-23 Ethan A Merritt <[email protected]>
* src/boundary.c: A width adjustment for the length of the key title
was being applied to every column of entries in the key instead of just
once for the whole key. Apply the "set key {no}enhanced" property to
the key title as well as to the individual plot titles.
Bugfix.
2014-05-19 Ethan A Merritt <[email protected]>
* src/wxterminal/wxt_gui.h: Apparently wxWidgets3 (wxgtk3) threads call
into Xlib but fail to initialize X threading before doing so. Therefore
we must call XInitThreads before forking wxt threads.
Bug #1401
2014-05-19 Karl Ratzsch <[email protected]>
* term/emf.trm: Add point types pentagon (14) and filled pentagon (15)
2014-05-16 Ethan A Merritt <[email protected]>
* src/term.c (load_linetype): As documented, "set linetype cycle N"
should only affect line properties (color, width, dash), not point
properties (type, interval, size). This got lost somewhere, which
meant point types > linetype_recycle_count were never used by default.
Now they are. This means that, as intended, 'with linespoints' cycles
through (linetype_recycle_count * terminal's_max_point_type) distinct
combinations before repeating so long as those two numbers are
mutually prime. Unfortunately that's not guaranteed and is terminal-
dependent. We really need a "set pointtype cycle M" command also so
that you can choose M to be prime relative to N.
Bugfix.
* INSTALL docs/gnuplot.doc: Update description of new features.
2014-05-15 Ethan A Merritt <[email protected]>
* configure.in PATCHLEVEL src/version.c docs/titlepag.tex:
Bump version information to 5.0.rc1
* demo/dashtypes.dem: Avoid irrelevant warning message.
2014-05-14 Karl Ratzsch <[email protected]>
* term/svg.trm src/wxterminal/gp_cairo.c:
Add point types pentagon (14) and filled pentagon (15)
* src/qtterminal/QtGnuplotItems.cpp:
(EAM) Add point types pentagon (14) and filled pentagon (15)
2014-05-13 Ethan A Merritt <[email protected]>
* src/command.c src/tables.c src/tables.h: Remove undocumented routine
test_time(). It was never updated to handle sub-second time precision,
and in any case the functionality is now covered adequately by
"print strptime()" and "print strftime()".
* src/color.c (filled_polygon_3dcoords filled_polygon_zfixed)
src/pm3d.c (filled_color_contour_plot): The option "set pm3d at C" is
undocumented and doesn't work anyhow. Wrap the corresponding code in
#ifdef PM3D_CONTOURS . This disabled code may or may not be useful for
some future implementation of filled contours.
* term/post.trm (PS_dashtype): Always stroke the previous path before
setting a new dashtype.
2014-05-11 Hans-Bernhard Broeker <[email protected]>
* src/util.c (LOCAL_BUFFER_SIZE): New constant.
(gprintf): Use constant to identify buffer size, instead of typing
the same magic number multiple times. Insert warning about
remaining magic number.
* src/plot2d.c (get_data): Fix buffer overflow a bit more cleanly.
(compare_boxplot_factors): Insert warning about magic number.
2014-05-11 Ethan A Merritt <[email protected]>
* src/plot2d.c (get_data): fix buffer overflow
* src/datafile.c (f_stringcolumn): Return an empty string if asked for
stringcolumn(N) on an empty field of a *.csv file. Otherwise it would
return NULL which may cause a segfault later on.
Bugfix.
* src/datafile.c (df_readascii): If xticlabels(f(n)) returns a
non-string value then do not generate an axis tic. It used to issue
a warning about illegal string values but generated a tic anyway.
2014-05-10 Dima Kogan <[email protected]>
* src/mouse.c (do_zoom rescale_around_mouse): Handle various conditions
that caused zooming around the current mouse position to fail.
Re-applied after tracking down conflict.
2014-05-10 Shigeharu Takeno <[email protected]>
* docs/gnuplot.doc: various small corrections
* docs/gnuplot-ja.doc term-ja.diff: Sync translation to version 1.887
2014-05-10 Ethan A Merritt <[email protected]>
* term/gd.trm: Do not allow setting terminal size to 0. Bug #1398
2014-05-10 Hans-Bernhard Broeker <[email protected]>
* term/lua.trm: Ensure initialization of alpha.
* src/hidden3d.c (store_polygon): Ensure initialization of v[],
just in case somebody calls this function with an illegal
'direction' enum value.
* src/win/wgraph.c (PATTERN_BITMAP_LENGTH): Give name to magic number.
(pattern_bitmaps): Use new name.
* term/emf.trm (PATTERN_BITMAP_LENGTH): Give name to magic number.
(pattern_bitmaps): Use new name and make const.
(EMF_filled_polygon): Define pattern pointer more locally and make
it point to const. Use named constant in loop. Fix table
underrun.
* src/win/wgnuplib.c (GetInt): Add some parentheses.
* src/stats.c (statsrequest): Initialize local data structs, to
avoid warnings about printing uninitialized results.
* src/readline.c (BACKSPACE): Define as a character constant, not
some hex number.
(readline): Write TAB as character constant, not some hex number.
* src/interpol.c (gen_interp_frequency): Ensure initialization of
y_total regardless of smooth type.
* src/plot3d.c (grid_nongrid_data): Ensure initialization of
numpoints.
* src/pm3d.c (pm3d_plot): Ensure initialiation of gray.
All the following concern the same problem: Macros from <ctype.h>
cannot safely be called with arguments of type 'char' (because
that may be signed). Such values have to be cast to unsigned char
on passing.
* src/win/wtext.c (TextPutStr): See above.
* term/post.trm (PS_load_fontfile): See above.
* src/win/winmain.c (GetLanguageCode, open_printer): See above.
* src/util.c (streq): See above.
* src/term.c (enhanced_recursion): See above.
* src/scanner.c (legal_identifier, scanner): See above.
* src/readline.c (backspace): See above.
* src/plot2d.c (store_label): See above.
* src/internal.c (f_word): See above.
* src/gplt_x11.c (exec_cmd): See above.
* src/eval.c (set_gpval_axis_sth_double): See above.
* src/datafile.c (df_readascii, plot_option_binary_format): See above.
* src/command.c (changedir, expand_1level_macros): See above.
* src/breaders.c (edf_findInHeader): See above.
2014-05-08 Dima Kogan <[email protected]>
REVERT patch from 2014-04-26 because it broke normal zoom operations.
* src/mouse.c (do_zoom rescale_around_mouse): Handle various conditions
that caused zooming around the current mouse position to fail.
2014-05-08 Ethan A Merritt <[email protected]>
* src/axis.h (ACTUAL_STORE_WITH_LOG_AND_UPDATE_RANGE)
src/plot2d.c (store2d_point) src/plot3d.c (get_3ddata)
src/datafile.c (df_readascii) src/tabulate.c:
Revised handling of NaN or Inf in the input data stream. The program
used to set type=undefined for this point but left all the data fields
untouched (i.e. left them containing random garbage). Version 5 fills
in all data fields, including the one[s] containing NaN or Inf.
This means that the output from "set table" matches the input data
whereas before any line marked "u" contained garbage in the data fields.
Note: For 3D data z=NaN or z=Inf is replaced by z=0. This is needed to
avoid problems with image data. Possibly this special case should be
handled in the image code itself rather than at the input stage.
* src/plot2d.c (impulse_range_fiddling) src/plot3d.c: Don't extend
range to zero for log-scaled axes.
2014-05-06 Ethan A Merritt <[email protected]>
* term/emf.trm: Custom dashtype support.
* configure.in term/pdf.trm: Modify PDFlib terminal for use with
version 5 dashtypes (but no custom dashtype support). Do not build
by default.
2014-05-05 Ethan A Merritt <[email protected]>
* src/gp_types.h src/graphics.c (place_objects do_rectangle)
src/misc.c (lp_parse) src/save.c (save_object) src/set.c (set_obj):
Allow object borders to have a full set of line properties including
dashtype.
* docs/gnuplot.doc: Update documentation to better describe recent
changes.
* src/qtterminal/QtGnuplotScene.cpp: Always use a solid line to draw
point symbols, even if the current linetype has a dash pattern.
* term/cairo.trm term/canvas.trm term/post.trm term/svg.trm term/wxt.trm
term/x11.trm src/term.c: Terminals that have been upgraded to version 5
dash handling should ignore the "dashed/solid" terminal setting.
* src/plot2d.c (impulse_range_fiddling) src/plot3d.c: Autoscaled plots
"with impulses" should include y=0 (z=0 in 3D) unless log-scaled.
2014-05-05 Tatsuro MATSUOKA <[email protected]>
* src/qtterminal/po/qtgnuplot_ja.ts: Update translations
2014-05-03 Ethan A Merritt <[email protected]>
* src/qtterminal/po/qtgnuplot_ja.ts: Update translations.
2014-05-01 Hans-Bernhard Broeker <[email protected]>
* config/mingw/Makefile (LDFLAGS2): Add auto-import flag.
($(TARGET)): Add icon files and Makefile as dependencies.
* config/config.mgw, config/config.cyg: The set of used /
available configuration macros has changed across the past several
years.
* src/stdfn.h (sgn): Fix parenthesization of macro.
(PATH_MAX): CLang compiler on Cygwin needs a silly little tweak.
* src/graphics.c (samesign): Improve parenthesization a bit.
2014-05-01 Ethan A Merritt <[email protected]>
* demo/gantt.dem demo/html/*: Add Gantt chart to demo collection.
Add dashtypes to demo collection.
* src/show.c: Show "fixed" property of arrow style.
2014-04-29 Ethan A Merritt <[email protected]>
* src/datafile.c (f_timecolumn): Replace the old 1-parameter function
timecolumn(col) with a 2-parameter timecolumn(col,"timeformat"). The
old version had no way to handle time data that didn't correspond to
a coordinate on a plot axis in time format (e.g. set xdata time).
It would segfault if the function appeared in a using spec slot >= 2.
Now we require an explicit format, so data input is dissociated from
any particular axis or time setting.
Bug #1394
* src/gplt_x11.c term/x11.trm term/xlib.trm:
Custom dashtype support for X11.
2014-04-28 Dima Kogan <[email protected]>
* src/mouse.c src/mouse.h src/set.c src/show.c docs/gnuplot.doc:
Remove the distinction between "coordinate format echoed to the screen
during mousing" and "coordinate format saved to the clipboard on click".
This removes the default bindings for hotkeys 3 and 4.
2014-04-28 Shigeharu Takeno <[email protected]>