-
Notifications
You must be signed in to change notification settings - Fork 5
/
ChangeLog.3
4249 lines (2917 loc) · 160 KB
/
ChangeLog.3
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
This is the ChangeLog covering gnuplot development between
November 2009 (4.4-rc1) and November 2011 (split off 4.6 stable branch)
========================================================================
2011-11-22 Ethan A Merritt <merritt@u.washington.edu>
* Branchpoint for 4.6 (cvs tag -b branch-4-6-stable)
2011-11-22 Ethan A Merritt <merritt@u.washington.edu>
* src/contour.c (contour): Format contour labels using gprintf rather
than sprintf so that LC_NUMERIC and "set decimal" are honored.
Bugfix.
* term/js/gnuplot_svg.js: Try to correct for coordinate offset due to
scrollbars. The fix is unfortunately browser specific.
2011-11-22 Peter <plotter@piments.com>
* term/svg.trm: "standalone" option includes gnuplot_svg.js mousing
support directly in the output *.svg file rather than linking to it
as an external resource.
2011-11-18 Daniel Leidert <dleidert@users.sourceforge.net>
* demo/html/webify.pl demo/html/webify_svg.pl demo/html/webify_canvas.pl
Use perl5 native routine ctime() rather than perl4 external module.
* src/datafile.c term/epson.trm term/post.trm:
Typos.
* configure.in: Check for lua5.1.pc if lua.pc is not found.
* man/gnuplot.1: Add some needed character escapes.
2011-11-18 Bastian Maerkisch <bmaerkisch@web.de>
* src/win/wgdiplus.cpp src/win/wgdiplus.h src/win/wgnuplib.h
src/win/wgraph.c src/win/wresourc.h: Antialiasing of fill patterns.
* src/win/wgraph.c (CopyPrint): Use Print Setup dialog since the Page
Setup dialog does not offer a possibility to change printer. Do not
use antialiasing on printers.
2011-11-15 Bastian Maerkisch <bmaerkisch@web.de>
* src/win/wgnuplib.h src/win/wgraph.c term/win.trm: Store current
text encoding in list of drawing ops.
2011-11-15 Ethan A Merritt <merritt@u.washington.edu>
* src/axis.h src/axis.c (parse_range, parse_named_range)
src/axis.c (save_writeback_all_axes check_axis_reversed)
src/fit.c src/plot2d.c src/plot3d.c src/stats.c src/unset.c:
Replace axis-related macros with equivalent subroutines.
2011-11-14 Ethan A Merritt <merritt@u.washington.edu>
* config/Makefile.am.in demo/Makefile.am.in m4/Makefile.am.in
tutorial/Makefile.am.in term/Makefile.am.in:
Make sure that the generated files Makefile.am and gnuplot-tikz.help
do not end up non-writable by the owner, which caused build cleanup
problems while packaging. Bug #3419881
2011-11-14 Peter Juhasz <juhaszp@users.sourceforge.net>
* src/plot2d.c (store2d_point): Fix for 4-column mode of
BOXPLOT style which did not handle log scale correctly.
2011-11-14 Bastian Maerkisch <bmaerkisch@web.de>
* src/win/wgnuplib.h src/win/wgraph.c src/win/winmain.c
src/win/wtext.c: Localisation support for menu and help files.
Files are loaded according to current language settings from
files named "wgnuplot-LL.mnu" and "wgnuplot-LL.chm", where LL is
the abbreviation of the current language. Fall back to
"wgnuplot.mnu" and "wgnuplot.chm" if localised files don't exist.
Defaults may be overwritten by new entries "MenuFile" and
"HelpFile" in wgnuplot.ini.
Choose appropriate default fonts in Japanese environments.
src/show.c (show_version) src/win/winmain.h: List correct names
of menu and help files on Windows.
src/win.trm (WIN_set_color): Immediately translate palette color
values to RGB instead of passing them on. This makes it possible
to use more than one palettes in multiplots and in different
graph windows. Test e.g. with pm3dcolors.dem
* src/win/wgraph.c src/win/wresourc.h src/win/wgnuplib.h: Add a
separate switch to toggle antialiasing of polygons.
* src/win/wgraph.c (Draw_XOR_Text): Implement a 10 year old FIXME:
Use proper raster operation instead of double inversion.
2011-11-12 Shigeharu Takeno <shige@iee.niit.ac.jp>
* src/win/README.win-ja src/win/wgnuplot-ja.mnu: Update and sync
with wgnuplot.mnu
2011-11-12 Bastian Maerkisch <bmaerkisch@web.de>
* src/set.c (set_degreesign): Windows implementation using a Windows
API call since iconv() does not understand locales as returned by
setlocale().
* src/command.c (help_command): HTML help window need to occlude
the text window.
* term/win.trm (WIN_filled_polygon): Use boxfill for filled polygons
which are actually rectangles.
* src/win/wgnuplib.h src/win/wgraph.c: Add support in windows terminal
for toggling individual plots on/off by clicking on the corresponding
key sample in addition to toggling via toolbar buttons.
2011-11-11 Ethan A Merritt <merritt@u.washington.edu>
* src/set.c (set_degreesign): More attempts to work around oddities in
Solaris locale handling.
2011-11-10 Shigeharu Takeno <shige@iee.niit.ac.jp>
* docs/gnuplot-ja.doc docs/term-ja.diff: Sync to docs version 1.699.
* docs/gnuplot.doc term/be.trm term/cairo.trm term/context.trm
term/win.trm: Fix typos.
2011-11-09 Ethan A Merritt <merritt@u.washington.edu>
* src/axis.c src/command.c src/eval.c src/gadgets.c src/graphics.c
src/internal.c src/tables.c src/unset.c src/util.c src/util.h
term/post.trm: Fix or remove some FIXMEs.
2011-11-09 Bastian Maerkisch <bmaerkisch@web.de>
* doc/gnuplot.doc: New terminal driver epscairo.
* term/gd.trm: Don't use gd font pointer variables for builtin fonts.
2011-11-08 Ethan A Merritt <merritt@u.washington.edu>
* configure.in src/set.c: Use nl_langinfo(CODESET) to find the encoding.
This hopefully works around non-standard encoding names used by Solaris.
* src/wxterminal/wxt_gui.cpp: Toggle for "plot ... with circles"
2011-11-08 Bastian Maerkisch <bmaerkisch@web.de>
* doc/gnuplot.doc [New features]: Document new cairolatex and
revised windows terminal.
2010-11-08 Tatsuro Matsuoka <tmacchant3@yahoo.co.jp>
* src/set.c (set_degreesign): Move include of iconv.h to top level.
2011-11-07 Bastian Maerkisch <bmaerkisch@web.de>
* term/fig.trm: Update help on font option.
* term/context.trm: Avoid use of round() because MSVC is still not
C99-compliant.
New terminal driver cairolatex, which uses the cairo EPS or PDF
backend for graphics output and LaTeX text created by functions
shared with the epslatex and pslatex terminals.
* term/cairo.term term/post.h term/post.trm term/pslatex.trm: New
terminal driver cairolatex.
Patch #3413095
2011-11-06 Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Add a context terminal, which creates output suitable for ConTeXt.
* configure.in docs/doc2texi.el docs/gnuplot.doc docs/Makefile.in
src/makefile.all src/makefile.awc src/term.h term/context.trm:
New terminal driver context.
Patches #1654807 and #1503836. Feature Request #2815867.
2011-11-05 Ethan A Merritt <merritt@u.washington.edu>
* src/wxterminal/wxt_gui.cpp src/wxterminal/wxt_gui.h
src/wxterminal/wxt_term.h term/wxt.trm:
Add support in wxt terminal for toggling individual plots on/off
by clicking on the corresponding key sample.
2011-11-04 Ethan A Merritt <merritt@u.washington.edu>
term/wxt.trm src/wxterminal/wxt_term.h src/wxterminal/wxt_gui.cpp:
Add a term->layer() entry point for the wxt terminal.
* src/mouse.c src/term_api.h: TERM_LAYER_BEFORE_ZOOM
2011-11-02 Ethan A Merritt <merritt@u.washington.edu>
* src/util.c src/util.h src/set.c (set_encoding set_degreesign):
Provide an internal char sequence degree_sign[] appropriate for the
current encoding. Use iconv(), if available, to translate it into the
environment's locale after `set encoding locale`.
* src/show.c (show_decimalsign): Show the degree sign also, mostly
so that people can report problems with the encoding code above.
2011-11-01 Bastian Maerkisch <bmaerkisch@web.de>
* src/win/wmenu.c src/win/wtext.c: Use proper dropdown menu for
Options toolbar item.
2011-10-30 Bastian Maerkisch <bmaerkisch@web.de>
* INSTALL: Update Windows section.
* config/makefile.mgw: Superseded by config/mingw/Makefile. Removed.
2011-10-30 Shigeharu Takeno <shige@iee.niit.ac.jp>
* config/config.nt config/makefile.nt: Windows console apps support
pipes.
2011-10-30 Bastian Maerkisch <bmaerkisch@web.de>
* config/config.cyg config/config.mgw config/config.nt
config/config.oww: Enable stats command.
2011-10-28 Ethan A Merritt <merritt@u.washington.edu>
* src/color.c (make_palette): Fix segfault caused by initializing a
terminal with an "infinite" color palette (colors == 0) when previous
terminal had merely a large color palette (e.g. WIN_PAL_COLORS 4096).
Bug #3429772
2011-10-24 Ethan A Merritt <merritt@u.washington.edu>
* src/axis.c src/axis.h src/datafile.c src/fit.c src/mouse.c
src/plot2d.c src/plot3d.c src/save.c src/set.c src/setshow.h src/show.c
src/stats.c src/tabulate.c src/unset.c term/canvas.trm term/svg.trm:
Change the axis structure field from TBOOLEAN axis.is_timedata to an
enum {DT_NORMAL, DT_TIMEDATE} field axis.datatype. This is preparation
for adding code to implement a new mode DT_DMS (degrees, minutes,
seconds) that tracks x and/or y as geographic coordinates.
There is no change to the behavior of the current code.
2011-10-22 Ethan A Merritt <merritt@u.washington.edu>
* term/svg.trm: Friendlier error message, add a <title> tag at the
top of the output svg document.
2011-10-17 Christoph Bersch <cbersch@users.sourceforge.net>
* docs/doc2texi.el: Handle presence of three nodes with the same key.
2011-10-14 Ethan A Merritt <merritt@u.washington.edu>
* src/specfun.c (humlik):
Re-order code to avoid accessing an unitialized variable.
* term/emf.trm (EMF_put_text):
Re-order code to avoid accessing an unitialized variable.
* src/command.c (else_command): An else clause might either be
processed by if_command() or else_command(). The latter was not
correctly updating c_token.
* src/misc.c (lf_load): Tie maximum depth of load commands to
STACK_DEPTH.
2011-10-13 Ethan A Merritt <merritt@u.washington.edu>
* docs/gnuplot.doc docs/titlepag.tex: Revise the sections that
describe function plots to mention `set samples`. Allow the table of
builtin functions to split across pagebreaks in the TeX documentation.
* src/wxterminal/gp_cairo.c: Decrease linewidth used by pdfcairo
terminal for pattern fill. This works around what seems to be a pdf
bug in libcairo versions through at least 1.10.
* src/fit.c (error_ex): Exit via int_error() so that it can walk
through the list of XXX_reset_after_error() routines.
2011-10-10 Ethan A Merritt <merritt@u.washington.edu>
* src/hidden3d.c: Bump default QUADTREE_GRANULARITY from 10 to 30.
At 10, 24% of the CPU time for all.dem is spent in hidden line removal.
At 30 this decreases to 12%, for roughly a 10% speed increase overall.
2011-10-10 Peter Juhasz <juhaszp@users.sourceforge.net>
* src/datafile.c src/datafile.h src/gadgets.h src/graphics.c
src/graphics.h src/plot2d.c src/save.c src/set.c src/show.c
demo/boxplot.dem docs/gnuplot.doc:
Add new mode for the "with boxplot" plot style.
If there is a 4th column in the using spec, the values in it it will
be interpreted as the discrete levels of a factor variable. As many
boxplots will be drawn as there are different values in the factor
column, each boxplot representing part of the dataset. These boxplots
are optionally labeled and sorted. New options "separation", "label",
and "sorted"/"unsorted" to "set style boxplot" govern the behavior of
this new mode. The demo "boxplot.dem" is extended to showcase the new
capability.
2011-10-09 Shigeharu Takeno <shige@iee.niit.ac.jp>
* src/internal.c (f_sprintf): More complete MSVC++ snprintf() patch.
2011-10-09 Adam Strzelecki <ono@users.sourceforge.net>
* src/wxterminal/wxt_gui.h src/wxterminal/wxt_gui.cpp:
Work around a number of issues compiling and running wxt with wx 2.9
using 64-bit Cocoa on OSX Lion. All changes are #ifdef __WXOSX_COCOA__.
These may not be necessary once Cocoa reaches a stable release.
(1) use wxToolbar AddStretchableSpace rather than AddSeparator
(2) wx Cocoa does not support logical operators such as wxDC inverse
(3) wx Cocoa toolbar icons are blurry unless they are 24x24
(4) wx Cocoa does not define _Bool even though it says it does
2011-10-07 Ethan A Merritt <merritt@u.washington.edu>
* src/color.h src/command.c src/getcolor.c src/gplt_x11.c src/save.c
src/set.c src/show.c src/tables.c src/tables.h term/post.trm
term/x11.trm demo/pm3d.dem docs/gnuplot.doc:
New palette option "cubehelix". The is a family of palettes with the
general property of combining N cycles of a color-wheel with a monotonic
increase in overall intensity. This feature was suggested by Ingo Thies.
See: D A Green (2011) "A colour scheme for the display of astronomical
intensity images" http://arxiv.org/abs/1108.5083
2011-10-06 Shigeharu Takeno <shige@iee.niit.ac.jp>
* src/internal.c (f_sprintf): Always null-terminal a string written by
the non-ANSI compliant MSVC++ routine _snprintf().
2011-10-03 Bastian Maerkisch <bmaerkisch@web.de>
* term/win.trm (WIN_options): When searching the list of graph windows
the correct test is for window Id.
2011-10-03 Rich Seymour <richseymour@users.sourceforge.net>
* term/svg.trm: Look for strings " Bold" and/or " Italic" in font name
and set the corresponding properties if found. Patchset #3058920.
2011-10-03 Bastian Maerkisch <bmaerkisch@web.de>
* term/post.trm (PS_options): Properly contain new variable in a
block. Bug #3417716
* src/Makefile.maint: New target makefile.awc.
* src/makefile.all src/makefile.awc: Regenerated to include stats.c.
2011-10-02 Ethan A Merritt <merritt@u.washington.edu>
* configure.in src/Makefile.am src/command.c src/command.h src/show.c
src/stats.c src/stats.h src/tables.c docs/gnuplot.doc:
New command to generate a statistical summary of the data in a file.
stats "datafile" [using col1[:col2]] [nooutput] [name "PREFIX"]
Data is read from the input file under the control of the same options
used for 'plot' commands (e.g. xrange, yrange, using, index, every).
The min/max/mean/stddev/quartiles of data from one or two data columns
are printed to the terminal and stored in named variables. These
variables can be used to modify subsequent plot commands.
This code was developed primarily by Philipp Janert and Zoltán Vörös.
* demo/html/Makefile demo/html/Makefile.svg demo/html/Makefile.canvas
demo/stats.dem demo/all.dem: New demo to exercise stats code.
2011-10-01 Bastian Maerkisch <bmaerkisch@web.de>
* term/cairo.trm: Depending on the version, Cairo defaults to cropping
eps files to the minimal bounding box. This patch adds support for the
{no}crop option to the epscairo terminal. Cropping is prevented by
putting two points in background color in opposite corners, or by
directly setting the bounding box for Cairo newer than 1.11.0.
* config/mingw/Makefile: Include epscairo terminal.
2011-10-01 Christoph Bersch <cbersch@users.sourceforge.net>
* term/post.trm term/pslatex.trm: New options `background` and
`nobackground` for terminals postscript, epslatex, pstex and pslatex.
Patch #3415158
2011-09-29 Ethan A Merritt <merritt@u.washington.edu>
* src/color.c src/graph3d.c src/graphics.c: User-specified axis tick
labels should override auto-generated tick labels in 3D plots just as
they already do in 2D plots.
* src/plot2d.c: In `plot with labels`, skip labels for which the x,y
coordinates are UNDEFINED.
Bug #3415454
* term/js/gnuplot_mouse.css: Opera is picky about missing units.
2011-09-27 Ethan A Merritt <merritt@u.washington.edu>
* term/emf.trm term/fig.trm term/metapost.trm term/tgif.trm:
Prefer the new syntax set term ... font "<name>,<size>" in the
documentation. This does not change the terminal input, only the docs
and the options string echoed back by "show term".
* term/canvas.trm: Implement set term canvas ... font "<name>,<size>".
Currently the name is ignored.
2011-09-23 Ethan A Merritt <merritt@u.washington.edu>
* docs/gnuplot.doc src/plot2d.c: Defer interpretation of newhistogram
linetype until the histogram itself is drawn.
2011-09-21 Bastian Maerkisch <bmaerkisch@web.de>
* demo/borders.dem: Use loop instead of `reread`.
* demo/image2.dem: Explicitely `reverse` axes.
* src/win/wgraph.c (drawhraph) [W_filled_polygon_draw]: Transparent
pattern fill actually fills with white background since 2011-05-15.
Fixed.
* src/win/wgnuplib.h src/win/wgraph.c (WndGraphProc) term/win.trm
(WIN_options, WIN_update_options): Update term options on changes via
graph window/menu. Track font face and size as read from ini-file.
* src/stdfn.c|h (gp_basename) term/pslatex.trm (PSTEX_common_init):
Move code from pslatex.trm to new function gp_basename which takes
two different directory separators into account and does not change
its argument.
2011-09-16 Peter Hedwig <peter@affenbande.org>
* term/lua/gnuplot-tikz.lua: Modify the commands used for rgb color
selection so that they are compatible with context as well as tikz.
Bug #3401068
2011-09-16 Oliver Jennrich
* term/lua/gnuplot-tikz.lua: Update syntax used for setting line join
properties.
Bug #3410554
2011-09-12 Bastian Maerkisch <bmaerkisch@web.de>
* config/mingw/Makefile: Fix building gnuplot.ps and gnuplot.pdf.
Include figures in gnuplot.pdf. Define new targets 'console', 'windows'
and 'pipes' to build different versions of gnuplot. Use separate
file extensions for each version. Let 'make all' build all versions.
Match 'install' target to Tatsuro Matsuoka's packages.
2011-09-09 Ethan A Merritt <merritt@u.washington.edu>
* docs/doc2tex.c docs/titlepag.tex: Tweak format of TeX documentation
(no section numbers in table of contents, text width appropriate for
paper size).
2011-09-09 Bastian Maerkisch <bmaerkisch@web.de>
src/win/wgnuplib.h src/win/wgraph.c src/win/wresourc.h term/win.trm:
Add a toolbar to the graph window. Currently, it offers icons for Copy,
Print, Save and Options. Additionaly, plot elements can be temporarily
hidden, ie. without a `replot`. This is much like what can be done
using canvas and svg terminals and is implemented using term->layer.
2011-09-08 Ethan A Merritt <merritt@u.washington.edu>
* src/graphics.c (plot_image_or_update_axes): "with image" from a
function may not make sense, but at least it should not segfault.
Bug #3406642
2011-09-07 Ethan A Merritt <merritt@u.washington.edu>
* src/parse.c (parse_sum_expression): Simplify construction of summation
action table.
* src/command.c (undefine_command) src/eval.c (del_udv_by_name):
Break out the guts of undefine_command into a utility routine that can
be called internally.
* src/hidden3d.c (build_networks): Valgrind found a test against an
uninitialized field.
2011-09-06 Ethan A Merritt <merritt@u.washington.edu>
* configure.in: cairo_ps_surface_set_eps is only supported by cairo
version 1.6.0 or later.
2011-09-05 Ethan A Merritt <merritt@u.washington.edu>
* src/term.c term/canvas.trm: Allow canvas and svg terminals to provide
mousing even if gnuplot itself is built without USE_MOUSE.
* src/gplt_x11.c src/Makefile.am: gnuplot_x11 --version
2011-09-04 Bastian Maerkisch <bmaerkisch@web.de>
* src/readline.c (fn_completion, tab_completion, isdoublewidth)
src/win/screenbuf.h (sb_calc_length) src/win/wcommon.h (open_printer,
close_printer) src/win/wgraph.c (UnicodeText) src/win/winmain.c
(ShutDown, CheckMemory) src/win/wmenu.c: Add missing prototypes,
make local functions static.
* src/alloc.c src/alloc.h src/ansicheck.h src/command.c src/command.h
src/plot.c src/scanner.c src/stdfn.c src/syscfg.h src/term.c:
Remove conditional code for Atari Pure C and Borland C compilers.
* src/axis.c src/command.c src/datafile.c src/getcolor.c src/misc.c
src/pm3d.c src/variable.c: Remove unused variables and prototypes.
2011-09-03 Ethan A Merritt <merritt@u.washington.edu>
* term/svg.trm term/canvas.trm term/js/gnuplot_mouse.js
term/js/gnuplot_svg.js: Add support for time coordinates to the mousing
code used by svg and canvas terminals. In this initial implementation,
only the primary X axis is checked, and there is no provision for a
user-supplied format.
2011-09-02 Ethan A Merritt <merritt@u.washington.edu>
* configure.in term/cairo.trm: Check for the presence of cairo-ps.h
before trying to build the epscairo terminal.
2011-09-02 Bastian Maerkisch <bmaerkisch@web.de>
* docs/makefile.ami docs/old/README.ami docs/old/README.win
src/gnuplot.prj src/linkopt.ztc: Removed.
* config/makefile.unx docs/Makefile.in src/Makefile.am: Remove
references to obsolete files.
2011-09-01 Ethan A Merritt <merritt@u.washington.edu>
* configure.in: Yet another rewrite of the installation path rules for
TeX files.
Bug #3401370
* configure.in: Remove some obsolete status messages.
2011-09-01 Shigeharu Takeno <shige@iee.niit.ac.jp>
* term/emf.trm (EMF_put_text): Use iconv to handle Shift_JIS encoding.
2011-08-31 Ethan A Merritt <merritt@u.washington.edu>
* m4/apple.m4: Revert change of 2011-07-23 (aquaterm LIBS)
* configure.in: Rewrite the installation path rules for TeX files.
Bug #3401370
2011-08-29 Bastian Maerkisch <bmaerkisch@web.de>
* src/winmain.c (_WIN32_IE): MinGW64 headers require IE >= 501.
Bug #3398189
2011-08-29 Ethan A Merritt <merritt@u.washington.edu>
* src/gplt_x11.c src/stdfn.h src/getcolor.c: Make "assert" statements
trigger int_error() rather than abort(), so that debugging is easier.
2011-08-28 Shigeharu Takeno <shige@iee.niit.ac.jp>
* docs/gnuplot-ja.doc docs/term-ja.diff: sync to docs version 1.688
2011-08-28 Peter Juhasz <juhaszp@users.sourceforge.net>
* src/plot2d.c (get_data): Revert yesterday's change to this file
because it broke stringvar.dem.
2011-08-27 Ethan A Merritt <merritt@u.washington.edu>
* PORTING src/makefile.all src/makefile.awc src/term.h configure.vms
config/config.cyg config/config.dj2 config/config.mgw config/config.nt
config/config.os2 config/config.oww config/makefile.unx configure.in:
Remove obsolete mgr terminal driver. The mgr window system offered a
terminal sort of like xterm+graphics in the era of Sun3 (i.e. early-mid
1990s). Source for the mgr server has apparently disappeared from the
net. Gnuplot's mgr.trm supported only text and vector commands, so
even if an operational installation of mgr could be found, features
added to gnuplot since about version 3.7 would be irrelevant. Let it go.
2011-08-27 Peter Juhasz <juhaszp@users.sourceforge.net>
* src/datafile.c (expect_string) src/eval.c src/eval.h docs/gnuplot.doc:
Add patch #3397007 to complete the support for named columns with the
"labels" style. The following now works:
plot 'data' using "A":"B":"labels" with labels
Update the documentation.
* src/datafile.c (f_timecolumn) src/plot2d.c:
Track the current using spec to ensure that the timecolumn function
gets the right timeformat. (fixes part of bug #3163386)
* demo/timedat.dem: Remove the relative date demo because it was
misleading and incorrect.
* src/set.c (set_tics): For some options set_tics()
didn't act on all axes.
* src/graphics.c (boundary): Fix (?) boundary calculation for
"set xtics rotate".
2011-08-25 René Haber <renehaber@users.sourceforge.net>
* term/cairo.trm: New terminal epscairo using the shared cairo/pango
code to produce and export an eps surface.
* term/term.c: Allow "set term eps" as short for "set term epscairo".
* term/cairo.trm: Test for and skip empty vectors.
2011-08-24 Bastian Maerkisch <bmaerkisch@web.de>
* src/command.c src/command.h src/win/winmain.c: "raise/lower <id>"
command for windows terminal.
* src/command.c (rlgets): Restore code for builtin readline which was
deleted by accident.
2011-08-23 Peter Juhasz <juhaszp@users.sourceforge.net>
* src/datafile.c (f_stringcolumn) docs/gnuplot.doc:
Implement 'stringcolumn("string")' in using specs to allow named columns
for the "labels" style too. The more natural
plot 'data' using "A":"B":"labels" with labels
still doesn't work: document this fact.
2011-08-23 Bastian Maerkisch <bmaerkisch@web.de>
* src/command.c (rlgets): Removing duplicate entries trashes command
line history when using editline. Just suppress adding the same command
to history repeatedly.
* src/history.c (history_find_all): editline's version of
history_set_pos() does not work, so traverse history list manually.
History indices are reversed compared to GNU readline. Fixes history ?.
Patch #3186010
* term/emf.trm (EMF_put_text): Use iconv (if available) to convert
UTF-8 encoding to UTF-16 and store using wide characters.
Bug #3021779
* config/config.mgw config/mingw/Makefile: add support for libiconv
2011-08-22 Ethan A Merritt <merritt@u.washington.edu>
* src/graph3d.c: Honor 'set key maxrows N' in 3D plot key.
Bug #3396501
2011-08-19 Ethan A Merritt <merritt@u.washington.edu>
* src/commands.c src/misc.c docs/gnuplot.doc:
The old-style if/else syntax cannot be mixed with the new syntax using
{ and } to enclose blocks of commands, possibly spanning several lines.
Add stronger warnings to the documentation and issue an error message
if an old-style if statement is encountered inside a bracketed clause.
Bug #3393631
2011-08-15 Bastian Maerkisch <bmaerkisch@web.de>
* src/win/wgraph.c (WndGraphProc): Restore text window on space key:
also show terminal window if it is currently minimized.
* src/command.c (pause_command) src/win/wgnuplib.h (GW) src/win/wgraph.c
src/win/winmain.h src/win/winmain.c term/win.trm: Support multiple
graph windows. All state variables of graph windows were contained
in a single struct already. Replace all references to this struct
(graphwin) by pointers and dynamically allocate new instances when
required. Do not pass on mouse and key events from inactive windows.
Note: Since a single number passed to `set term win` is now interpreted
as window identifier, the old and fontsize options are no longer
supported and the `font` keyword is now required. This is consistent
with other terminals (e.g. x11 and wxt).
* src/win/wgnuplib.h src/win/wgraph.c: Make GraphChangeFont static.
2011-08-15 Reinier Heeres <rheeres@users.sourceforge.net>
* src/win/pgnuplot.c: Detect termination of wgnuplot. Slightly enhanced
version of SF patch #2373741.
2011-08-09 Ethan A Merritt <merritt@u.washington.edu>
* PORTING config/config.cyg config/config.dj2 config/config.mgw
config/config.nt config/config.os2 config/config.oww
config/makefile.unx configure.in configure.vms docs/Makefile.in
docs/doc2texi.el docs/gpcard.tex src/Makefile.am src/makefile.all
src/makefile.awc src/rgipgnu src/term.h term/rgip.trm
Remove code specific to the rgip terminal (Redwood Graphics Interface
Protocol). The company (uniplex) supporting this protocol no longer
exists. The terminal itself no longer compiles cleanly, and valgrind
shows many buffer overflows and alloc/free errors.
19 files changed, 13 insertions(+), 841 deletions(-)
2011-08-02 Ethan A Merritt <merritt@u.washington.edu>
* docs/plotstyles.gnu docs/gnuplot.doc term/be.trm term/canvas.trm
term/cgm.trm term/ai.trm term/aquaterm.trm term/cgi.trm:
Documentation updates
* src/wxterminal/wxt_gui.cpp (OnCreateWindow): It is not acceptable
to have every new plot window occlude the center of the screen.
2011-08-01 Micha Wiedenmann <mw-u2@gmx.de>
* src/eval.h src/eval.c (get_udv_by_name free_at) src/show.c (disp_at)
src/internal.h src/internal.c (f_sum) src/parse.c (parse_sum_expression)
docs/gnuplot.doc demo/bivariat.dem:
New expression type for summation:
sum [<var> = <beg> : <end>] <something>
2011-07-30 Stefan Reiser <stefanreiser@users.sourceforge.net>
* src/win/wgraph.c (WriteGraphIni): Fix spelling of "Antialiasing"
field. Bug #3382732
2011-07-27 Ethan A Merritt <merritt@u.washington.edu>
* src/graphics.c (plot_impulses): Skip UNDEFINED points.
Bug #3382469
2011-07-28 Bastian Maerkisch <bmaerkisch@web.de>
*src/win/wgraph.c (GraphEnhancedOpen, GraphEnhancedFlush): Fix sign
error in placement of rotated enhanced text with sub-/superscripts.
2011-07-27 Ethan A Merritt <merritt@u.washington.edu>
* term/svg.trm: Handle multiple overprint characters, albeit not
the way people probably expect.
Bug #3371782
2011-07-25 Ethan A Merritt <merritt@u.washington.edu>
* term/svg.trm: Remove size limit on svg plot dimensions.
2011-07-24 Ethan A Merritt <merritt@u.washington.edu>
* src/wxterminal/wxt_gui.cpp: Fix MSWin breakage from yesterday's patch
due to conditional code block damage.
Bug #3376861
* src/datafile.c (df_readbinary): Allow "using ... xticlabels()" for
binary files as well as ascii files. Only string-valued functions
are valid in this case, as no string can be read from the binary
datafield itself.
* src/graph3d.h src/hidden3d.c src/misc.c src/misc.h src/plot3d.c:
Re-work assignment of color and line type to top/bottom hidden3d
surfaces. Keep the user-requested linetype in a new field of the
splot structure, since otherwise linetype definitions would overwrite
it.
2011-07-23 Adam Strzelecki <ono@users.sourceforge.net>
* src/wxterminal/wxt_gui.cpp src/wxterminal/wxt_gui.h m4/apple.m4:
OSX support for wxt terminal. For OSX, switch to using single-threaded
hybrid GUI & console event loop at wxt_waitforinput().
Add -framework ApplicationServices to the apple-specific
configuration flags.
2011-07-23 Mojca Miklavec <mojca.miklavec.lists@gmail.com>
* m4/apple.m4: Replace -laquaterm with -Wl,-framework -Wl,AquaTerm
which is supposed to make the Macports version of aquaterm install
properly.
2011-07-22 Peter Juhasz <juhaszp@users.sourceforge.net>
* src/parse.c src/parse.h plot2d.c plot3d.c set.c unset.c command.c:
Revise iteration-over-plot mechanism to handle edge cases of nested
iteration correctly.
2011-07-20 Peter Hedwig <peter@affenbande.org>
* term/lua/gnuplot-tikz.lua: Point types 10 and 11 were upside down.
Bug #3368877
* fill paths now have a pensize > 0 to have slight overlap of tiles to
avoid rendering artifacts
* path building was broken and showed interrupted lines on certain plots
e.g. plot '+' u 1:($1**2):($1**2) with lines palette lw 3 title '$x^2$'
* a new terminal option (tightboundingbox|notightboundingbox) is added
2011-07-20 Ethan A Merritt <merritt@u.washington.edu>
* src/datafile.c: Allow binary data for plot style fillsteps
Bug #3371199
* term/gd.trm: Prevent infinite loop on unrecognized terminal option
2011-07-14 Ethan A Merritt <merritt@u.washington.edu>
* src/graphics.c (plot_boxes): Correct positioning of bars in clustered
histograms when some values are missing.
Bug #3360882
* src/datafile.c (df_open plot_option_using df_readascii f_column)
src/datafile.h src/parse.c (create_call_column_at extend_at) src/parse.h
src/eval.c src/eval.h src/plot2d.c src/plot3d.c docs/gnuplot.doc:
Implement column selection based on matching a leading substring of the
column header.
plot 'foo' using (column("A")):(column("B"))
plot 'foo' using "A":"B"
plot for [value in "Weight Height"] 'foo' using "Age":value
2011-07-12 Peter Juhasz <juhaszp@users.sourceforge.net>
* src/command.c src/term.c: Fix crash of 'test' after an
unsuccessful 'set term'
Bug #3347683
* src/parse.c src/parse.h docs/gnuplot.doc: Add nested iteration in plot
and other commands: constructs like 'plot for [i=1:5] for [j=1:5] foo'
are now valid
* src/axis.c src/axis.h src/color.c src/graph3d.c src/graphics.c
src/save.c src/set.c src/show.c src/unset.c docs/gnuplot.doc:
Allow explicit justification for tic labels, e.g. set xtics right
2011-07-11 Ethan A Merritt <merritt@u.washington.edu>
* src/graphics.c (plot_steps): Don't pass negative heights to t->fillbox
Bug #3358185
2011-07-03 Ethan A Merritt <merritt@u.washington.edu>
* src/term.c (term_apply_lp_properties): Handle the case where
LT_COLORFROMCOLUMN is passed through as a linetype along with a color.
Bug #3350570
2011-06-30 Ethan A Merritt <merritt@u.washington.edu>
* src/hidden3d.c (draw_edge): Do not apply the default top/bottom
colors to line segments belonging to the plot border.
Bug #3344103
2011-06-28 Ethan A Merritt <merritt@u.washington.edu>
* term/svg.trm: Pattern-fill definitions must initialize both fill and
stroke style; otherwise the most recent setting may bleed through.
Bug #3334216
2011-06-28 Shigeharu Takeno <shige@iee.niit.ac.jp>
* docs/gnuplot-ja.doc docs/term-ja.diff: sync to docs version 1.677
2011-06-21 Ethan A Merritt <merritt@u.washington.edu>
* src/graphics (plot_histeps): Fix range-checking of log-scaled y.
Bug #3323828
2011-06-20 Ethan A Merritt <merritt@u.washington.edu>
* src/getcolor.c term/x11.trm src/gplt_x11.c:
Remove a set of routines in getcolor.c used only by the x11 terminal
to pass a color gradient description through the pipe to gnuplot_x11.
They packed four doubles (value; RGB color) into 8 bytes, losing
precision and failing to round. Now we instead use 12 ascii characters
"0.1234RRGGBB".
Bug #3322975
2011-06-19 Ethan A Merritt <merritt@u.washington.edu>
* src/command.c src/command.h src/misc.c src/misc.h src/parse.h
src/scanner.c src/scanner.h src/tables.c src/util.c docs/gnuplot.doc:
Extend the line input processing to include blocks of commands enclosed
by curly braces, possibly spanning multiple lines. This syntax is used
by new commands:
if (<cond>) { ... } else { ... }
do for [...] { ... }
while (<cond>) { ... }
2011-06-18 Ethan A Merritt <merritt@u.washington.edu>
* src/datafile.c src/gplt_x11.c src/plot2d.c src/set.c src/util.c:
Remove dead code sections. Most of these have been commented out for
many years.
* src/command.c (do_line): Macro expansion must be done before calling
scanner() to identify specific tokens.
* src/command.c src/command.h: Export string_expand_macros().
* src/command.c (read_line): Prepare for block-structure work by adding
a parameter to allow extending, rather than replacing, the input line.
2011-06-17 Ethan A Merritt <merritt@u.washington.edu>
* src/getcolor.c (quantize_gray)): Remove a possible discontinuity at
the boundary of defined palettes with a small number of segments.
Bug #3317746
2011-06-17 Peter Juhasz <juhaszp@users.sourceforge.net>
* src/time.c (gstrptime): The correction for the difference in epochs
(2000 - 1970) was incorrect when reading times in %s format.
Bug #3163386
2011-06-16 Ethan A Merritt <merritt@u.washington.edu>
* src/pm3d.c (z2cb): If cb is log-scale, then limit result to positive
values.
Bug #3316616
2011-06-14 Ethan A Merritt <merritt@u.washington.edu>
* src/graphics.c (plot_histeps): Allow data points with y=0 even if log
scaling is active.
Bug #3316112
2011-05-31 Ethan A Merritt <merritt@u.washington.edu>
* term/emf.trm: Reset line and text colors at the start of each plot.
* config/config.cyg config/config.dj2 config/config.mgw config/config.nt
config/config.os2 config/config.oww config/makefile.dj2
config/makefile.emx config/makefile.unx config/makefile.vms
docs/doc2texi.el docs/Makefile.in docs/term-ja.diff
src/makefile.all src/makefile.awc src/show.c src/term.c src/term.h
configure.in configure.vms INSTALL PORTING NEWS
term/gnugraph.trm term/unixplot.trm:
Remove obsolete terminal drivers gnugraph and unixplot. The underlying
gnu plotutils library is itself more than 10 years out of date (last
release July 2000) and the terminal drivers haven't been upgraded for
longer than that. In any event, current gnuplot has better native
terminal drivers for the devices supported by unixplot/gnugraph.
2011-05-27 Ethan A Merritt <merritt@u.washington.edu>
* src/datafile.c (df_open df_determine_matrix_info):
Add a keyword '[s]plot ... nonuniform matrix'
This provides an ascii input option parallel to 'binary matrix'.
nonuniform matrix: ascii; y coords in row 1, x coords in column 1
binary matrix: binary; y coords in row 1, x coords in column 1
matrix: ascii; uniform grid of x/y coords
binary general: binary; uniform grid of x/y coords
* docs/gnuplot.doc: Reorganize the description of data file contents.
More reorganization is still wanting.
2011-05-25 Bastian Maerkisch <bmaerkisch@web.de>
* docs/windows/doc2html.c: Encoding of gnuplot.doc is UTF-8.
2011-05-24 Christoph Bersch <usenet@bersch.net>
* term/cairo.trm: PDF documents normally behave as if they had a
transparent background. Modify the pdfcairo terminal to do this by
default, but also to accept the keywords {no}transparent.
2011-05-24 Harald Koenig <h_koenig@users.sourceforge.net>
* src/Makefile.maint: Use dd rather than head to update last-modified
date since not all platforms support "head -c".
2011-05-24 Ethan A Merritt <merritt@u.washington.edu>
* docs/titlepag.tex, docs/gnuplot.doc: Add Peter Juhasz,
Bastian Maerkisch, and Shige Takeno to the list of contributors. UTF-8.
2011-05-22 Ethan A Merritt <merritt@u.washington.edu>
* parse.c (check_iteration next_iteration empty_iteration) parse.h
plot2d.c plot3d.c set.c unset.c: Rather than using a single set of
global iteration bookkeeping variables, require that each iteration
user pass in a structure for bookkeeping. This allows nested
iteration, so long as two different iteration structures are used.
* command.c (do_line): Strip trailing comments from input lines as
they are read, since there is no point in storing what we are going
to ignore later. Minor cleanup of #ifdef nesting.
2011-05-16 Ethan A Merritt <merritt@u.washington.edu>
* src/specfun.c (humlik): Initialization would fail whenever y = -1.
2011-05-15 Bastian Maerkisch <bmaerkisch@web.de>
* src/wxterminal/gp_cairo.c (gp_cairo_draw_fillbox): Width of filled
box was off by one unit.
* src/win/wgraph.c (GetMousePosViewport): Window size is zero for
minized windows on Vista. Fixes crash when closing plot window in
minimized state e.g. via taskbar.
* src/win/wgraph.c (drawgraph): [W_boxfill] Fix inversion of
transparency. [W_filled_polygon_draw]: Fix transparency in case of
aliased solid white polygons.
2011-05-14 Ethan A Merritt <merritt@u.washington.edu>