forked from mojca/gnuplot-context
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
3837 lines (2642 loc) · 144 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
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".
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>
* src/axis.h src/axis.c src/gadgets.c src/gadgets.h src/graphics.c
src/hidden3d.c src/internal.c term/README: Fix incomplete and incorrect
initializers found by gcc.
2011-05-14 Bastian Maerkisch <bmaerkisch@web.de>
* src/win/wgraph.c (drawgraph) [W_image]: Clip images as requested.
* src/win/wgraph.c (WndGraphProc) [WM_KEYDOWN]: Handle VK_CONTROL key
events again. Fixes ctrl-mousedrag rotation of splots.
* src/mouse.c (event_keypress): MinGW's toupper() masks out high bits
required for special keys. Only call for 8bit characters. Fixes
accelerated rotation with keys (e.g. shift-left) for wxt and windows
terminals.
* src/win/wgdiplus.c|h src/win/wgraph.c: Extend support for
antialiasing of line segments and point symbols. Omit border of
non-antialiased solid filled polygons.
2011-05-13 Ethan A Merritt <merritt@u.washington.edu>
* src/graph3d.c (draw_3d_graphbox): Avoid use of round() because
MSVC is still not C99-compliant.
2011-05-13 Allin Cottrell <cottrell@wfu.edu>
* src/wxterminal/gp_cairo.c (gp_cairo_convert): Make the WIN32 font
work-around (2009-11-06) conditional on cairo < 2.10. Needs more
testing.
2011-05-13 Bastian Maerkisch <bmaerkisch@web.de>
* src/win/wgraph.c (WndGraphProc): Cycle through mouse-modes by
clicking on status bar. Suggestion by plotter@piments.com
* src/plot.c (main): Print messages concerning codepages only in
interactive sessions.
* src/win/wgnuplot.rc: Give the MSVC compiler a chance to create the
manifest itself.
* src/win/wgraph.c (drawgraph): Fix image regression.
* term/win.trm: Help text for antialiasing.
2011-05-12 Ethan A Merritt <merritt@u.washington.edu>
* docs/gnuplot.doc src/set.c src/mouse.c: Update documentation for the
mouse format modes, which has been incorrect since approximately forever
(predates CVS repository).
2011-05-10 Ethan A Merritt <merritt@u.washington.edu>
* src/datafile.c (expand_df_column): Provide a shared routine for
dynamic allocation of space to hold input data lines. This replaces
three separate instances, only one of which did proper initialization.
* src/graphics.c (finish_filled_curve): Consolidate duplicated code.
* src/graph3d.c (draw_3d_graphbox) src/set.c (parse_label_options)
src/gadgets.h src/show.c src/save.c
docs/plotstyles.gnu docs/gnuplot.doc:
The X-axis and Y-axis labels in 3D plots can be aligned parallel to the
respective axis using the command `set [xy]label rotate parallel`.
2011-05-10 Bastian Maerkisch <bmaerkisch@web.de>
* term/gd.trm (PNG_options): Init font pointers before using them.
2011-05-09 Ethan A Merritt <merritt@u.washington.edu>
* term/eepic.trm: New terminal option {size XX,YY}
Bug #3170746
* src/graphics.c (boundary): Add a sanity check to make sure that the
plot size is not so small that the boundary limits go negative.
Implemented as int_warn(), but maybe it should be int_error().
Bug #3154401
* src/term_api.h src/term.c src/util.c src/util.h: Remove dead code.
2011-05-07 Bastian Maerkisch <bmaerkisch@web.de>
* src/command.c (help_command) src/win/wgraph.c (WndGraphProc)
src/win/winmain.c (WinExit, WinMain) src/wxtterminal/wxt_gui.cpp
(wxtPanel::RaiseConsoleWindow, wxt_atexit): For console gnuplot on
Windows, remove dependency on struct textwin, which represents the
non-existant text window. Fixes e.g. overwriting of text window
settings in wgnuplot.ini. Console gnuplot no longer depends on wtext.c
and screenbuf.c.
* src/standard.c (fn_asin, fn_asinh): Fix calculation for complex
arguments. Make sure that asin(sin(z))==z. Bug #2879772.
* config/README: Update to current status.
* config/config.mgw config/config.oww: Sync with config.h created
by autoconf tools.
2011-05-06 Shigeharu Takeno <shige@iee.niit.ac.jp>
* src/graph3d.c: Make "notitle" suppress contour line key entries in
addition to the surface key entry. This makes it possible to draw any
combination of surface, contours, and key entries.
2011-05-06 Benjamin Lindner <lindnerb@users.sourceforge.net>
* docs/plotstyles.gnu docs/gnuplot.doc: Add an illustration of the
'newhistogram' command.
2011-05-06 Ethan A Merritt <merritt@u.washington.edu>
* INSTALL: Update the description of readline options and mention
the ./prepare script.
2011-05-06 Shigeharu Takeno <shige@iee.niit.ac.jp>
* config/makefile.nt: Add missing support for GDI+. Bug #3298244
2011-05-06 Bastian Maerkisch <bmaerkisch@web.de>
* config/msvc/Makefile: New file for Microsoft Visual C++. Builds
out of tree. Intended to eventually replace config/makefile.nt.
config/Makefile.am.in (Makefile.am): Add new Makefile.
2011-05-05 Ethan A Merritt <merritt@u.washington.edu>
* src/datafile.h src/datafile.c src/plot2d.c src/plot3d.c:
Change prototype of df_set_key_title_columnhead() to match that of
df_set_key_title().
2011-05-05 Bastian Maerkisch <bmaerkisch@web.de>
* term/win.trm (WIN_set_font) src/win/wgraph.c (drawgraph): Defer
determination of default font name and size. Fixes bug addressed
by change of 2010-02-22, but without the need for do_string_replot()
* src/win/wgraph.c (drawgraph): New variable fill_color to track
color of fills. Use cached color brush for transparent solid fills
instead of creating a new one.
* src/win/wgraph.c (drawgraph) src/win/wgdiplus.c|h: Add support for
antialiased solid filled (transparent) polygons.
* src/win/wpause.c (WndPauseProc): Use default dialog font instead of
fixed width font for pause dialog.
* src/readline.c (readline): Tab is a printable character in some
locales, ie. isprint(TAB)>0.
* src/win/wgraph.c (MakeFonts): Reduce size of tics and point symbols
by 20%.
2011-05-04 Bastian Maerkisch <bmaerkisch@web.de>
* config/mingw/Makefile: Build support for lua tikz related TeX files.
Use Makefile.maint to update version.c. Update install target to match
directory layout of distribution and include share/lua/, share/LaTeX/,
contrib/, demo/, README, NEWS, Copyright and ChangeLog.
2011-05-02 Ethan A Merritt <merritt@u.washington.edu>
* src/variable.c (locale_handler): If built-in readline character input
is to recognize UTF-8 characters via wcwidth(), it is necessary to
initialize the CTYPE locale on entry. "set encoding utf" is not
sufficient.
2011-05-02 Bastian Maerkisch <bmaerkisch@web.de>
* src/readline.c (tab_completion, fn_completion, readline) NEWS:
Cycling variant of filename tab-completion for builtin readline.
* src/stdfn.c|h (strnlen, strndup) configure.in config/config.nt
config/config.mgw config/config.oww: Support functions used by
tab-completion code.
* src/stdfn.c|h (opendir, closedir, rewinddir): Add Kevlin Henney's
POSIX directory browsing functions and types for Win32.
* src/readline.c (mbwidth, isdoublewidth) configure.in: Determine
on screen width of utf8 encoded characters with wcwidth() if
provided by the system.
* src/readline.c (delete_previous_word): Overprint with exact
number of spaces, add NUL at eol.
2011-04-30 Ethan A Merritt <merritt@u.washington.edu>
* src/readline.c (clear_eoline): More efficient clear line algorithm.
2011-04-29 Ethan A Merritt <merritt@u.washington.edu>
* src/mouse.c (apply_zoom): Prevent double-free of custom font for tic
labels.
Bug #3294915
2011-04-28 Bastian Maerkisch <bmaerkisch@web.de>
Support for (optional) antialiasing in windows terminal via GDI+.
* config/config.mgw, config/config.nt: Compilers have support for
GDI+: define HAVE_GDIPLUS. Note: OpenWatcom might not support GDI+
* config/mingw/Makefile: Include new files wgdiplus.h|cpp in build,
add library gdiplus.
* src/win/wgdiplus.cpp src/win/wgdiplus.h: New files. C interface
to Windows GDI+ library. Currently supports polylines and circles.
* src/win/wgnuplib.h src/win/wgraph.c src/win/winmain.c
src/win/wresourc.h: Implement antialiasing for lines and and most point
shapes. Add option to LPGW, wgnuplot.ini and popup menu to toggle
antialiasing on and off. Default to oversampling off now that we have
proper antialiasing. Wrap all GDI+ code in #ifdef HAVE_GDIPLUS.
* src/win/wgraph.c (drawgraph) [W_fillstyle, FS_PATTERN]: Fix cycling
of pattern styles.
* src/wxterminal/gp_cairo.c|h (gp_cairo_default_font)
src/wxterminal/wxt_gui.c: New function to determine default font.
Default is "Sans" on all systems but Windows where this alias might
not work work in all cases.
2011-04-27 <wtf3@users.sourceforge.net>
* src/graphics.c: The autotitle option for column-stacked histograms
should honor "set key maxrows N".
Bug #3281635
2011-04-27 Bastian Maerkisch <bmaerkisch@web.de>
* src/command.c (help_command) src/win/winmain.h src/win/winmain.c
(WinExit, ShutDown, WinCloseHelp, WinMain): Work-around for apparently
well known html help bug, which causes spurious crashes on exit. Keep
track of help window handle and try to close the window as soon as
possible. New function WinCloseHelp.
Extensive update to color, linetype and fillstyle handling in windows
terminal. Fixes several bugs and implements new options.
* term/win.trm (WIN_id, WIN_opts, WIN_options): Add options "solid",
"dashed", "background", "fontscale" and "linewidth". Call new function
GraphInitStruct to initialize graphwin. Inlcude font in term_options.
* term/win.trm (WIN_point, WIN_filled_polygon): Handle dashed lines
in drawgraph, not here. (WIN_filled_polygon): Use generalized
W_fillstyle call, shared with WIN_boxfill. (WIN_boxfill): Pass second
corner as parameter, not width and height. Fixes spurious rounding
errors during translation to graph coordinates. (help text): Document
new options.
* src/win/wgnuplib.h (GW): Reorder entries according to function.
* src/win/wgraph.c (pattern_bitmaps): Fix double cross-hatch.
(GraphInitStruct): New function. (MakePens, DestroyPens): Account for
linewidth and sampling and create an additional "null" pen which is
used for filled polygons and boxes. (MakeFonts, GraphEnhancedOpen)
Account for fontscale. (draw_new_pens, draw_new_brush) New functions
to (re)create brushes and pens. Always create a "solid" partner for
the possibly "dashed" pen. Called by drawgraph.
* src/win/wgraph.c (drawgraph): Reorder variables according to
function. [W_line_type]: Save last LOGPEN instead of pen index. Make
use of draw_new_pens. Select background brush for line-type <=
LT_NODRAW (fix by Shigeharu Takeno, Bug 3192205). [W_fillstyle]: Unify
code for filled boxes and polygons. Use draw_new_brush. [W_boxfill]:
Fillstyle is now set by previous call to W_fillstyle. Change interface
from relative (width, height) to absolute position to avoid off by one
rounding errors. Deselect brush use for transparent fill before
deleting it. [W_line_width] Scale by linewidth option. [W_setcolor]
Use save LPOGEN to create pens with new color. Use draw_new_brush and
draw_new_pens to recreate brushes and pens. [W_filled_polygon_draw]
Fillstyle is now set by previous call to W_fillstyle. Use "null" pen
to avoid drawing a border around filled area. [W_image] Avoid static
variables. [W_plus,...] Use solid pen. Fixes point symbols drawn with
dashed lines. Adresses Bug 1952364.
2011-04-26 Ethan A Merritt <merritt@u.washington.edu>
* src/readline.c: Revise the built-in readline code to handle UTF-8
encoded character input. The revised code is only active if the user
has explicitly done "set encoding utf8" or "set encoding locale", but
probably it should be the default in a UTF-8 locale.
* src/readline.c (clear_line): More efficient clear line algorithm.
2011-04-25 Ethan A Merritt <merritt@u.washington.edu>
* src/plot.c (main) src/misc.c (load_file): Initializing c_token to an
illegal value is not a good idea.
Bug #3292512
2011-04-23 Shigeharu Takeno <shige@iee.niit.ac.jp>
* docs/gnuplot-ja.doc docs/term-ja.diff: sync to docs version 1.664.
* docs/Makefile.in (wxhelp/doc2html.o): Add missing space.
2011-04-22 Ethan A Merritt <merritt@u.washington.edu>
* src/readline.c docs/gnuplot.doc: Built-in readline did not recognize
the character sequence produced by the DEL key on many keyboards. Trap
this sequence for interpretation as "forward delete", which is what the
same key does under windows and gnu libreadline. This does not affect
keyboards or xmodmap configurations where the DEL key produces another
sequence entirely.
2011-04-22 Bastian Maerkisch <bmaerkisch@web.de>
* src/readline.c: The behavior of ^W was not consistent with the
documentation. Change it to match gnu libreadline (delete previous
partial or full word).
2011-04-20 Ethan A Merritt <merritt@u.washington.edu>
* src/gplt_x11.c: Most of the messages passed via the title bar
of the X Display window are controlled by #ifdef TITLE_BAR_DRAWING_MSG.
Do the same for the "allocating colors..." message.
2011-04-19 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
* config/Makefile.am.in (Makefile.am): Additional files to become
part of the distributed tarball. Reindented.
2011-04-19 Ethan A Merritt <merritt@u.washington.edu>
* src/datafile.c (f_columnhead df_set_key_title) src/datafile.h
src/eval.c src/plot2d.c (eval_plots) docs/gnuplot.doc:
New function columnhead(N) that returns a string containing column N
from the first line of a data set. 'plot ... title columnhead(i)'
was previously implemented as a keyword; making it a function instead
allows, for example,
'plot for [i=3:6] ... title "Results of ".columnhead(i)'
2011-04-19 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
* docs/Makefile.in (wxhelp/doc2html, gnuplot.htb): Ooops.
Yesterday's directory name change to windows was wrong. Undoing
it.
2011-04-18 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
* term/Makefile.am.in: Use $< where applicable.
($(srcdir)/lua/gnuplot-tikz.help): Make workable outside the
source tree. Use $< and $@ where applicable.
* docs/Makefile.in (CLEANFILES): Fix broken directory name;
indent.
(gnuplot.htb): Fix broken directory name. Make workable in
out-of-source builds.
(windows/wgnuplot.html, windows/doc2html.o, windows/doc2html): Fix
wrong directory name.
* Makefile.maint (amfiles): Missing semicolon.
2011-04-18 Bastian Maerkisch <bmaerkisch@web.de>
* src/win/wgraph.c (drawgraph): Fractional solid fill based on SF
Patch 2905570 by Shigeharu Takeno. Remove halftone brushes.
Eliminate static variable to keep track of pm3d brushes.
2011-04-17 Bastian Maerkisch <bmaerkisch@web.de>
* config/mingw/Makefile: Use $^ and $< where applicable. Patch by
Benjamin Lindner, SF Patch 2468650. Set TARGET only if it's not
already defined. GNUPLOT_LUA_DIR was included twice in
TERMOPTIONS. GNUPLOT_PS_DIR is required by show.c. [wgnuplot.chm]
Avoid changing directory via shell which seem not to work reliably
on all systems.
2011-04-17 Ethan A Merritt <merritt@u.washington.edu>
* config/Makefile.am.in: Fix package-build breakage.
2011-04-17 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
Building the three different types of executable for Windows
was quite cumbersome (change make variable, make clean, build,
all that thrice). Compiling to three different object file name
extensions helps with that.
* config/watcom/Makefile (VARIANT): New macro to choose among
targets.
(TARGETS_PLAIN, EXTRA_CPPFLAGS_PLAIN, TARGETS_PIPES)
(EXTRA_CPPFLAGS_PIPES, TARGETS_CONSOLE, EXTRA_CPPFLAGS_CONSOLE):
New macros for settings particular to one variant.
(DEFAULT_TARGETS): Changed definition to use new per-variant
macros.
(ALL_TARGETS): New macro listing all things that can be built.
(all): New target building all variants without the need to make
clean in between.
(WIN_EXTRA_INPUTS): Removed $(WINOBJS)
(OBJS): Add $(WINOBJS) here instead.
(CONSOLE_OBJS, PIPE_OBJS): Copies of $(OBJS) with different object
filename extension.
Use $(O) in favour of fixed .obj, to allow renaming trick.
(.EXTENSIONS): Add .cobj and .pobj to list of recognized file name
extensions.
(.c.cobj): New implicit rule to compile sources for the console build.
(.c.pobj): New implicit rule for pipe-enabled build.
(wgnuplot.exe): $(WINOBJS) is contained in $(OBJS) now.
(wgnuplot_pipes.exe): Use $(PIPE_OBJS) instead of $(OBJS)
(gnuplot.exe): USE $(CONSOLE_OBJS) instead of $(OBJS)
(term.cobj): New explicit rule to compile term.c for the console build.
(term.pobj): New explicit rule to compile term.c for the pipe build.
(.c): Added windows source subdirectory to VPATH search list.
(w*.obj): Removed unnecessary explicit rules for Windows-specific
files.
(clean): Remove object files with new names.
* config/watcom/.cvsignore: Add new file name extensions to ignore.
2011-04-17 Bastian Maerkisch <bmaerkisch@web.de>
* config/makefile.cyg config/makefile.mgw config/makefile.unx
cygwin/Makefile mingw/Makefile: Remove dependencies on