forked from gnuplot/gnuplot-old
/
version.c
1838 lines (1831 loc) · 69.6 KB
/
version.c
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
#ifndef lint
static char *RCSid = "$Id: version.c,v 1.2 1998/08/18 16:28:50 lhecking Exp $";
#endif
/* GNUPLOT - version.c */
/*[
* Copyright 1986 - 1993, 1998 Thomas Williams, Colin Kelley
*
* Permission to use, copy, and distribute this software and its
* documentation for any purpose with or without fee is hereby granted,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation.
*
* Permission to modify the software is granted, but not the right to
* distribute the complete modified source code. Modifications are to
* be distributed as patches to the released version. Permission to
* distribute binaries produced by compiling modified sources is granted,
* provided you
* 1. distribute the corresponding source modifications from the
* released version in the form of a patch file along with the binaries,
* 2. add special version identification to distinguish your version
* in addition to the base release version number,
* 3. provide your name and address as the primary contact for the
* support of your modified version, and
* 4. retain our contact information in regard to use of the base
* software.
* Permission to distribute the released version of the source code along
* with corresponding source modifications in the form of a patch file is
* granted with same provisions 2 through 4 for binary distributions.
*
* This software is provided "as is" without express or implied warranty
* to the extent permitted by applicable law.
]*/
/*
* The rcs log will be removed for `real' releases
*
* A note about version numberering: Since RCS is notable faster when using
* trunk revisions (x.y), I have decided simply to start with revs 1.x
*
* There is a small bug in CVS that prevents the commit -r option from
* working. This means that the revision numbers in the individual files
* do not agree with the one in the log. I hope to fix this some time soon.
*
* $Log: version.c,v $
* Revision 1.2 1998/08/18 16:28:50 lhecking
* Fix typos.
*
* Revision 1.347 1998/06/22 12:24:56 ddenholm
* dd : retrieve fit.*, matrix.*, docs/latextut/makefile from earlier vsns
* add set noxdtics etc. (behave same as set xtics)
*
* Revision 1.346 1998/06/18 14:55:21 ddenholm
* Lars : compilation of many patches posted to the net.
* 1998-06-17 Lars Hecking <lhecking@nmrc.ucc.ie>
*
* * Imported beta 345.
*
* * docs/README, docs/doc2ms.c, docs/doc2tex.c, docs/gnuplot.doc,
* docs/ps_guide.ps, term/cgm.trm, term/post.trm,term/x11.trm:
* Cleanup patches by Dick Crawford <rccrawford@lanl.gov>.
*
* * docs/gnuplot.doc, term/post.trm: FIx typos.
*
* 1998-05-12 Lars Hecking <lhecking@nmrc.ucc.ie>
*
* * set.c: Fix axis width in lp_style_type. HBB and Lars Hecking.
*
* 1998-05-08 Lars Hecking <lhecking@nmrc.ucc.ie>
*
* * plot3d.c: Fix "title" option for "splot" under parametric mode.
* By Dick Crawford <rccrawford@lanl.gov>.
*
* * graphics.c, set.c, show.c: Margin calculation correction patch.
* By Dick Crawford <rccrawford@lanl.gov>.
*
* 1998-04-29 Lars Hecking <lhecking@nmrc.ucc.ie>
*
* * Makefile.in: Minor fixes.
*
* * fit.c, fit.h, matrix.c, matrix.h: Re-import versions from beta 343.
* Suggested by HBB.
*
* 1998-04-24 Lars Hecking <lhecking@nmrc.ucc.ie>
*
* * configure, configure.in: Don't use sudo.
*
* * graph3d.c: Fix range bug in splot. By HBB.
*
* 1998-04-22 Lars Hecking <lhecking@nmrc.ucc.ie>
*
* * Imported beta 344.
*
* 1998-04-16 Lars Hecking <lhecking@nmrc.ucc.ie>
*
* * set.c: Don't include math.h, but stdfn.h.
*
* * term/driver.h: Remove GOT_DRIVER_H, use TERM_DRIVER_H instead.
* Add some comments.
*
* * term/*.trm, TERM/README: Remove #ifndef GOT_DRIVER_H/#endif
* around #include "driver.h".
*
* * term/cgm.trm: Amend help section.
*
* * term/emxvga.trm: Add some comments, don't include math.h.
*
* * term/latex.trm (LATEX_rule): Replace valid with isvalid
* (valid is a macro in <locale.h> under SunOS 4.1.x).
*
* * term/png.trm: Test for png version moved to configure.
*
* * term/epson.trm, term/hp500c.trm, term/hpljii.trm, term/hppj.trm,
* term/pbm.trm, term/png.trm: Replace #ifdef vms with #ifdef VMS.
*
* * makefile.*: Remove unneeded symbols AUTOCONF, HAVE_STRERROR, NOGAMMA.
* Add stdfn.c and appropriate rules.
*
* 1998-04-15 Lars Hecking <lhecking@nmrc.ucc.ie>
*
* * parse.c (factor): Final, working workaround for HP 300 compiler
* limitation.
*
* 1998-04-13 Lars Hecking <lhecking@nmrc.ucc.ie>
*
* * atariaes.trm, atarivdi.trm, cgi.trm, cgm.trm, corel.trm, epson.trm,
* fig.trm, linux.trm, next.trm, pbm.trm, pc.trm, pm.trm, png.trm,
* post.trm, pslatex.trm, pstricks.trm, table.trm, tek.trm, texdraw.trm,
* unixplot.trm, vws.trm, win.trm, x11.trm:
* term-340.patch from Richard Crawford <u600256@gamma.lanl.gov>.
*
* * post.trm: Fix typos in Dick's term-340 patch.
*
* * scanner.c, util.c: Escape quotes patch
* from Glenn A. Horton-Smith <gas@SLAC.Stanford.EDU>.
*
* * post.trm, pbm.trm: X11 vs. ps (and pbm) colour inconsistency patch
* from Stephen Eglen <stephen@cns.ed.ac.uk>.
*
* * fit.c, matrix.c, matrix.h: fit-unlimited.diff.980105 from
* Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>.
*
* * cgm.trm: Updated version, fixes "plot size change"Mon Jun 22 13:22:33 BST 1998"ugly
* dashed lines" bug. From "James R. Van Zandt" <jrv@vanzandt.mv.com>.
*
* * term/README: Documentation fix from
* "James R. Van Zandt" <jrv@vanzandt.mv.com>.
*
* * fig.trm: Fix pointsize in fig terminal, from
* Hans-Martin Keller <hkeller@gwdg.de>, and
* Konrad Bernloehr <bernlohr@ik3.fzk.de>.
*
* * hp500c.trm, hppj.trm, pbm.trm, png.trm: Fix changing plot size bug.
* From Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>.
*
* * fit.c: Fix segfault in fit.c (fit_chisq_undef.diff.980304).
* From Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>.
*
* * command.c (define): Fix segfault where allocated structure
* (action table) is freed twice.
* From Konrad Bernloehr <bernlohr@ik3.fzk.de>
*
* * term.c (term_init): Memory allocation error fix.
* From Kai Poitschke <kai.poitschke@henkel.de>.
*
* 1998-04-11 Lars Hecking <lhecking@nmrc.ucc.ie>
*
* * acconfig.h: Remove AUTOCONF, NOCOPY, OLD_SELECT.
* Add HAVE_CPP_STRINGIFY, HAVE_LGAMMA, HAVE_STRNCASECMP, NO_MATH_H,
* NO_SETVBUF, NO_STRERROR, NO_STRRCHR, NO_STRSTR.
*
* * ansichek.h: Remove test for AUTOCONF, define ANSI_C if __STDC__ == 1.
* Define HAVE_CPP_STRINGIFY and PROTOTYPES if ANSI_C == 1.
*
* * config.hin: Regenerated from acconfig.h with autoheader.
*
* * configure.in: Add support for 'missing'. Add test for ANSI
* stringification. Rearrange test order (ANSI first). Rewrite tests
* for libgd and libpng, check png version.
*
* * configure: Regenerated from configure.in with autoconf.
*
* * stdfn.c: New file, adds strchr(), strstr(). Moved memcpy() from
* parse.c, memset() from plot.h, strerror() from util.c, purec_sscanf()
* from datafile.c, sleep() from command.c, strnicmp() from fit.c.
*
* * stdfn.h: Cleanups, adjustments for stdfn.c. Include math.h.
* New, general debug macro FPRINTF.
*
* * parse.c: Don't include math.h. Move memcpy() to stdfn.c. Workaround
* for buggy HP-UX compiler.
*
* * plot.h: Regroup OS specific defines at beginning of file. Define
* VMS for VMS platform. Move memcpy() to stdfn.c. Move most #include
* statements to stdfn.h. Define AMIGA for AmigaOS compilers. Define
* BACKUP_FILESYSTEM for VMS.
*
* * fit.c: Move strnicmp() to stdfn.c. Use BACKUP_FILESYSTEM in update().
*
* * gplt_x11.c, readline.c, term.c, time.c, util.c: Use FPRINTF instead
* of DEBUG, DEBUG_STR, and TRACE.
*
* * gplt_x11.c, plot.c: Remove superfluous prototype for main.
*
* * gplt_x11.c: Use HAVE_SYS_SELECT_H instead of OLD_SELECT. Use
* memset() instead of bzero(). In mainloop(), use ANSI_C instead
* of __STDC__
*
* * bf_test.c, binary.c, command.c, contour.c, datafile.c, fit.c,
* gplt_x11.c, graph3d.c, graphics.c, hidden3d.c, internal.c, interpol.c,
* matrix.c, misc.c, plot.c, plot2d.c, plot3d.c, readline.c, scanner.c,
* show.c, specfun.c, standard.c, strftime.c, term.c, time.c, util.c,
* util3d.c: Don't include headers already included by stdfn.h.
*
* * command.c: Move sleep() related declarations to stdfn.c and stdfn.h.
*
* * datafile.c: Move purec_sscanf() to stdfn.c.
*
* * hidden3d.c, plot2d.c, plot3d.c: Use HAVE_CPP_STRINGIFY in place
* of ANSI_C.
*
* * command.c, plot.c, scanner.c, term.c, util.c: Use VMS in place
* of vms.
*
* * plot.c, term.c: Use AMIGA for AmigaOS compilers.
*
* * strftime.c: Replace TEST with TEST_STRFTIME.
*
* * util.c: Move strerror() to stdfn.c.
*
* * errorfix.sh: Can now be run if compiledir != sourcedir. More
* robust.
*
* * term.h: Use AMIGA for Amiga compilers. Move X11 term inclusion.
*
* * vms.c: Include stdfn.h.
*
* * makefile.g: Remove -DAUTOCONF=1.
*
* 1998-04-09 Lars Hecking <lhecking@nmrc.ucc.ie>
*
* * ChangeLog: New file.
*
* * gplt_x11.c (prepare_plot): Remove unused definition term_icon[10].
*
* * set.c (set_arrow, set_linestyle): Replace aggregate initialisation
* for non-ANSI compilers.
*
* * Makefile.in: General cleanup. Add full support for GNU auto* tools.
*
* * missing: New file required for full GNU auto* tools support. Taken
* from automake 1.3 distribution.
*
* * acinclude.m4: New macros gp_PROG_CPP_STRINGIFY, taken from egcs,
* and AM_MISSING_PROG, from automake 1.3 distribution. Fixes in
* gp_CHECK_LIB_PATH and gp_CHECK_HEADER.
*
* * aclocal.m4: Regenerated from acinclude.m4 with aclocal.
*
* * configure: Regenerated from configure.in with autoconf.
*
* Revision 1.345 1998/05/19 18:05:03 ddenholm
* drd: add missing stdfn.c file
*
* Revision 1.344 1998/04/14 00:38:57 drd
* drd: oops - forgot to bump version number with last checkin.
*
* Revision 1.343 1998/03/22 23:31:31 drd
* hbb: compile on win16 ; latest and greatest hidden3d stuff
*
* Revision 1.342 1998/03/22 22:32:24 drd
* drd: update copyright statements on most files. There are still a
* few files (obscure terminal drivers) copyright others. Maybe
* we have to drop these, or at least list the files which
* cannot be redistributed with a modified gnuplot.
* (Or maybe it is okay to include these files unchanged in an
* otherwise modified gnuplot ?)
*
* Revision 1.341 1997/12/16 23:01:05 drd
* Lars Hecking: 0PORTING, 0README, 0INSTALL
* HBB: latest hidden3d stuff
* off-by-one error in long-line datafiles
* gas@SLAC.stanford.edu : fix for \" inside "strings"
* Hans-Martin Keller : fix for fault in contour stuff
* Niels Provos : VMS stuff
*
* Revision 1.340 1997/11/25 23:03:09 drd
* Alexander Mai: fix show output for non-auto x range
* Konrad Bernloehr: fixes for logscale tics
* pointsize for fig
* Thomas Witelski: set border in save output
* HBB: key entry for impulse plot
* Dick Crawford: recent (latest ?) docs
* drd: set cntrparam ; ...
* fix y2label placement (I hope)
*
* Revision 1.339 1997/10/10 06:51:56 drd
* drd: very minor tweaks : fix the longjmp on os/2 ; fix the problem
* with time on last column in data file ; make lmargin and tmargin
* of 0 actually work
*
* Revision 1.338 1997/07/23 23:16:36 drd
* drd: fix autodetection of libgd - inverted logic meant that !=no meant
* yes. Now !=yes means no, since it returns blank for no
* swap axes and smooth keywords on plot line, since smooth
* is really a data modifier
* fix the set key width stuff so that the text is within a
* key box for any combination of key reverse Left|Right
*
* Revision 1.337 1997/07/22 23:20:54 drd
* erik@tntnhb3.tn.tudelft.nl : conform to postscript DSC
* HBB, Lars Hecking : -Xc for solaris compile and other config changes
* ueda@syslab.lias.flab.fujitsu.co.jp : gplt_x11.c includes config.h
* fix script line number after inline data
* Roger Fearick : os/2 patches
* jgrant@traveller.com: gplt_x11.c fix to drain _all_ X events after a select()
* fix endianness problem in cgm driver
* Carsten Steger : fixes for clean build on amiga
* David Schooley : ai term updates
* M.N.Schipper@IRI.TUDelft.NL : workaround for broken sscanf(%n) on os9
* William Kirby : double->coordtype in interpol.c
* cb203@cus.cam.ac.uk: documentation : -noraise instead of +raise
* drd: localise use of <setjmp.h> to plot.c and parse.c, for png on linux
*
* Revision 1.336 1997/06/04 05:48:01 drd
* drd: put back setvbuf(...,1024)
* (trivial) make show at $3 work properly
* table output uses %g not %f for contours
*
* Revision 1.335 1997/05/27 01:29:03 drd
* HBB: change number of colours in pbm.trm
* new hidden3d.c and fit demo/docs
* Alexander Mai: os/2 patches (sorry I keep missing os/2 patches)
* Lars Hecking: autoconf changes for png, and more configure improvements
* drd: space in timefmt means 0 or more spaces. Add read of %b / %B
* tweak the windows /noend stuff
*
* Revision 1.334 1997/05/19 08:10:25 drd
* Dick Crawford : set key width [but I still think it should be absolute,not relative]
* drd: review the splot key stuff :
* set key box ; set contour ; splot x,y overran the key box
* splot x title '' was not same as splot x notitle
*
* Revision 1.333 1997/05/18 21:22:14 drd
* Dick Crawford : rmargin/y2label bug
* Latest docs
* Joost Witteveen: configure bug
* Lars Hecking: setvbuf workaround for win32
* HBB : don't fit when ndata < nparams
* HBB, Berthold Hoellmann : docs/makefile deps
* Novak Levente: tgif upgrade
* drd: fix pslatex aux again
* fix show xdata
* support %02H in time formats : allows suppression of leading 0's
*
* Revision 1.332 1997/04/12 05:44:01 drd
* HBB: FIT_MAXITER patch ; drd added it to fit.dem and gnuplot.doc
* drd: change hidden3d.c to not draw diagonals by default
* trap seg.fault in set term pslatex aux ; set out ; plot x
* Mention gif and png in 0INSTAL. Output a brief message when
* configure fails to detect the libraries.
* Add mention of AIX 4 NaNq bug to gnuplot.doc
*
* Revision 1.331 1997/04/10 02:33:29 drd
* Dick Crawford: fix broken set label ... font ...
* Lars Hecking: many cleanups
* Alexander Mai: os/2 changes
* drd: trap EOF in fit intr. handler
* warn if udf shares name with internal func
* doc and copyrights
*
* Revision 1.330 1997/04/08 06:14:18 drd
* Lars Hecking, drd: update command takes optional second parameter
* Roger Fearick: os2 patches ("os2237")
*
* Revision 1.329 1997/04/05 19:44:29 drd
* Ian MacPhedran, Konrad Bernloehr: fig driver patch
* Berthold Hoellmann: support --with-gd etc in configure
* patches for hidden demos
* John Grant : fix unitialised variable in gplt_x11
* HBB : latest hidden3d (25/3/97)
* Nelson Beebe : fix some typos
* Gary Holt: guard configure --with-gnu-readline=/bogus/path
* drd: make non-rotated labels the default
* fix up multilined title and x2label
* print extended-printf %c as e+/-nn for outrange powers
* (forgot to record in 322) : trap top-bit-set chars in bitmap.c
* configure --with-gnu-readline should not assume -ltermcap (Debian Linux)
*
* Revision 1.328 1997/03/09 23:50:19 drd
* drd: detect top-bit-set characters in bitmap.c
* detect gd lib in autoconf
* put writeback back into plot2d.c : deleted for some reason..?
* AL: NeXT fixes, plus some tidying.
* Roger Fearick, HBB : column check in fit.c
* HBB: latest hidden3d.c (wasn't latest last time)
* Stefan Bodewig: doc2xxxx for multiple top-level entries
* Alexander Jolk: error in %c in extended printfs
*
* Revision 1.327 1997/03/06 06:04:14 drd
* drd: add support for dates in user-tics ie set xtics ('format' 'place',...)
*
* Revision 1.326 1997/03/04 07:58:15 drd
* Alexander Mai : gif to os2 stdout
* Carson Wilson,drd: fix off-by-one in days for xdtics and %a
* CMWestern,William Kirby: win32 build with bc
* Dick Crawford : rotate patch
* HBB: latest hidden3d code (with drd's OUTRANGE tweak)
* James Obrien,drd : don't write to readonly string returned by xlib
* drd: change message when range is less than zero
* show as comment the current range hidden by auto
* fix output to PRN in windows
* latex multiplot uses original size for bounding box
* temporary fix for VMS help : allow only one toplevel help entry
*
* Revision 1.325 1997/01/05 22:02:42 drd
* Johannes.Hoffstadt,drd: free() bug in fit.c
* William Kirby: undefined tmpn in fit.c
* Carsten Steger: clean compile on HP-UX & Irix 6.2
* Robert Lutwak: avoid ObjC keywords in cgm.trm
* Jim Van Zandt: linwidth for cgm
* Alexander Mai: readline fix for os/2
* makefile.os2 update
* bjr@ln.nimh.nih.gov : take out redundant cast which upsets SGI
* Lucas Hart : titles and crosshair in multiple X11 windows
* nameless mailbox for VMS x11
* mgr.dem update
* C.M.Western@bristol.ac.uk : win95 fixes
* drd: (trivial) accept vectors (plural) as line style
*
* Revision 1.324 1996/12/19 20:25:30 drd
* Matthew Jackson (and others): segv on linux with set locale
* William Kirby: win32 has long filename, but win32s does not : fix update
* Jim Van Zandt : allow more contour levels
* G.Allen Morris III: texdraw fix
* Alexander Mai: makefile.os2
* David Schooley: mac patches
*
* Revision 1.323 1996/12/19 19:12:50 drd
* Roger Fearick/Alexander Mai : doc2ipf changes
* HBB: pointsize bug in hidden splot (?)
* Carsten Steger: tweaks for compile on amiga
* drd: eliminate some gcc -W... warnings (mostly prototypes)
* tidy use of lp in plot3d.c and set.c
* add some comments to term.c, and make term_suspend static
* set missing was completely broken (df_column->good is not boolean)
* show contour says approximately n levels
* off-by-1 error in incremental contour levels : last one was not shown
*
* Revision 1.322 1996/12/09 15:57:59 drd
* drd: config tweaks
* gif output on stdout
* invnorm(0) on aix
*
* Revision 1.321 1996/12/08 13:08:56 drd
* Lars Hecking : extensive changes to autoconf and various portability
* problems addressed. But is ifdef __STDC__ enough,
* or do we need if defined(__STDC__) && __STDC__ ?
*
* Revision 1.320 1996/12/08 12:28:48 drd
* Alexander Mai, Roger Fearick : more os/2 changes
* Joerg, drd : font 'name,size' for enhanced postscript
* drd : more checking in checkdoc, with file/line recording
* latest FAQ
*
* Revision 1.319 1996/11/26 07:15:19 drd
* Alex Jolk: fix scientific formats %s/%S for -ve powers
* Roger Fearick: os/2 fixes
*
* Revision 1.318 1996/11/25 22:37:40 drd
* drd: accept '% g' for format
* tolerate pressing ^c while in help
* both x11 and X11 terminals accept options
* set nomxtics ; save 'all.gnu' no longer outputs 'set no mxtics'
* move reopen of output file into term_init so that cgm output is not
* truncated when terminal is subsequently changed
* $0 in plot 'file' resets to 0 after an index change
* column(-1) works same as plot 'file' using -1:1
* - so plot 'file' using ($0+column(-1)):1 skips an x at blank lines
* set contour ; splot 0 no longer faults
* splot '/dev/null' binary no longer faults
* bf_test opens files "wb" on all platforms
*
* Revision 1.317 1996/11/24 16:47:13 drd
* drd: fix polar-mode tics when rmin != 0
* splot f(x,y)=x*y, f(x,y) faulted
* - scoping problem in plot3d.c : I blame the inconsistent indentation
* add tkcanvas driver (see file for authors)
* Ed.Breen@dms.csiro.au clear for x11
* Dick Crawford: latest doc changes
* dkh: buildvms.com fix
*
* Revision 1.316 1996/10/21 19:51:18 drd
* drd: fix radial grid lines in polar mode
* fix seg fault with set dgrid ; splot '/dev/null'
* pointsize and wide lines for pslatex
* plot ... linestyle was not being accepted
* HBB: remove 32k limit for DOS32
* Emmanuel Bigler : vector demo (for x11 only)
* Avinoam Kalma, drd: show action_table
* Joerg : more consistent linewidth stuff
* save cleanup ; add comments
*
* Revision 1.315 1996/09/29 21:12:41 drd
* drd: no ! after a shell command, except in interactive mode
* fix polar mode bug
* use fancy formats in user-defined tics
*
* Revision 1.314 1996/09/23 20:55:03 drd
* drd: try acos again : acos(-2) _is_ defined (but complex)
* post.trm was using pointsize directly, hence everything scaled twice
* - next.trm looks like it was doing the same
* define null pointsize routine to set scale for generic do_point
* test now fflushes (actually, uses term_start_plot and term_end_plot)
*
* Revision 1.313 1996/09/22 21:08:28 drd
* drd: include time.c in buildvms.com
* fix latex character width (again)
* fix problem with linetypes not matching key on post.trm
* anticipate -ve log in acos()
* Carsten Steger: amiga fixes
*
* Revision 1.312 1996/09/18 23:15:09 drd
* drd: fix font sizes in latex term
* try to work around assertion failure with x1y2 axes in parametric
* Roger Fearick: pm.trm tweaks
* Martijn Schipper: os9 changes
*
* Revision 1.311 1996/09/16 20:22:18 drd
* drd: fix seg fault with fig term on sunos
* -DNOGAMMA if neither lgamma nor gamma defined
* truncate term_options before call term->options
* Gary Holt, drd: outstr stored twice in save : now only a comment is output
* W.Geppert: doc changes
*
* Revision 1.310 1996/09/15 13:04:06 drd
* HBB: hidden3d fix
* gary Holt: configure --with-gnu-readline[=path]
* Dick Crawford: latest docs
* drd: file copyrights, comp.graphics.apps.gnuplot
*
* Revision 1.309 1996/09/11 23:39:56 drd
* drd: try again to get the line property keywords right
* remove duplicate pointsize entry points from term structure, and
* reimplement set pointsize via line property stuff
* implement line width for x11
* fix "unknown type in real()" from plot '<echo 0 0' thru 1/x
*
* Revision 1.308 1996/09/10 22:08:28 drd
* Alexander Jolt: relative errors displayed for fit
* Roger Fearick: more os2 changes
* drd: change "" to '' in latextut/*.plt
* fix typo in hidden3d.c
* tweaks to term/*.trm to make gnuplot.tex build cleanly
*
* Revision 1.307 1996/09/10 21:07:11 drd
* drd: de-ANSI-fication for sun cc
* fix problem in df_readline as shown up by 'purify'
* linewidth tweaks
* make next.trm conformant with termdoc.c
* also, remove some unbalanced ' in strings that were upsetting cpp ?
* move .NOEXPORT from top of docs/Makfile.in and latextut/...
* Steve Stuart: typo in makefile.unx
*
* Revision 1.306 1996/09/08 20:03:33 drd
* drd: tweaks to lp patch (parsing as #defines in plot.h, not lp_parse.inc)
* try again to tolerate "{/Symbol hello\nworld}" in enhpost
* Topher Cawlfield: histeps style (at last)
*
* Revision 1.305 1996/09/05 21:16:21 drd
* Joerg: linewidth patch (with some gratuitous drd tweaks !)
*
* Revision 1.304 1996/09/05 19:45:50 drd
* drd: run configure.in through autoconf 2.10
* fix autoranging bug in binary splot
* HBB: fix 'update' and demo
*
* Revision 1.303 1996/09/04 21:15:35 drd
* drd: comments in .doc file, so I can add an RCS ID
* don't assert fail with plot 'file' binary
* HBB: FSF-compliant Makefile.in, but not yet since my autoconf is old
* hidden-friendly demo/whale.dat
* multiplot clear for djsvga
* detect candlesticks/financebars in splot
* Konrad Berloehr: fig.trm revisions
* Thomas Koenig: on-the-fly postscript non-reencoding
*
* Revision 1.302 1996/09/02 22:36:55 drd
* drd, William Kirby: more problems with change to outstr
* drd: save of xdata time was broken
* Dick Crawford: set key samplen and spacing
* drd: axis alias for axes in plot ... axes ...
* HBB: hidden3d typo fix
* Konrad Bernloehr: fig driver changes
* Alex Woo: gif driver - user-specified sizes
* drd: oops - put in pm.trm.rej that I missed last time
*
* Revision 1.301 1996/08/15 00:04:44 drd
* drd: use AC_CHECK_FUNCS for strnicmp, ..., and update makefiles
* tolerate no closing backquote at end of line
* no limit on output filename
* main is int in doc2* funcs
* Robert Lutwak: NeXT stuff (at last - sorry !)
*
* Revision 1.300 1996/08/13 21:48:13 drd
* drd: dont check for #warn - solaris cant do it, but we dont use it
* *at last* - plot ... axes x1y2 ...
* typo in recent change to parse.c :-(
* (de-ansify macros in hidden3d.c in 299 but I forgot to note it)
*
* Revision 1.299 1996/08/12 21:36:10 drd
* Steve Turner, drd : eliminate warnings from enthusiastic SGI compiler
* Santiago Vila Docel: more VPATH makefile tweaks
* Alex Woo,Roger Fearick: gnuplot.doc error
* Roger Fearick: os/2 patches
* drd: infinite loop in enhpost with spurious '}' in text
*
* Revision 1.298 1996/08/11 21:56:20 drd
* Pieter Vosbeek: gnu readline
* pslatex bounding box
* David Schooley: mac patches
* Santiago Vila Doncel: mkinstalldirs
* Alexander Lehmann: PNG terminal changes
* HBB: hidden3d tweaks
* fit sanity checks
* djsvga terminal changes
* drd: 3d fitting ; eliminate FIT_INDEX
* support for ... using -1 and -2 (line and index)
*
* Revision 1.297 1996/08/08 21:24:48 drd
* drd: financebars / candlesticks
* plot 'file' using 0:1 gives x=0,1,...
* optional keyword 'font' in set xlabel etc
* Rolf Niepraschk: new descrip.mms
* Jens Emmerich: fix undefined points in splines
*
* Revision 1.296 1996/08/05 20:05:02 drd
* drd: latest FAQ
* provide a default location for HELPFILE in Makefile.in
* include stdfn.h in gplt_x11.c, for index() on solaris
* back out size/font-dependent tics {also fixes set format y '' bug}
* save \'s in xtics properly
* fix typo in djsvga.trm
* increase pslatex aux file from MAX_ID_LEN to MAX_LINE_LEN
* dont use PS_set_font from pslatex driver
* Santiago Vila Doncel : some Makefile.in tweaks
*
* Revision 1.295 1996/07/14 15:13:44 drd
* drd: update Projects and WhatsNew
* restore set size nosquare : it does no harm
* include stdlib.h in gplt_x11.c for malloc()
* rename vfree() in hidden3d.c to avoid name clash on next
* Carsten Steger: atan2() for real args
* Chuck McCorvey: fix for windows 95 printing
* Rolf Niepraschk: descrip.mms etc for VMS
*
* Revision 1.294 1996/07/14 11:51:55 drd
* drd: max_params typo in fit.c
*
* Revision 1.293 1996/06/27 22:04:48 drd
* drd: print "this", z, "that", f(2), ...
* ICCCM export of X11 pixmap
*
* Revision 1.292 1996/06/27 21:07:55 drd
* drd: add set size ratio ...
* take David Kotz' name out of latextut [at his request]
* try to fix the linux/x11 plot with dots problem
* Hans-Bernhard Broeker: extra checks in fit.c
* Scott Lurndal: variable scope in help.c [reported against 3.5]
* Alex Woo: Makefile for docs
* William Kirby: colours in win32 [again !]
* Carsten Steger: amiga fixes
* Dick Crawford: yet more postscript symbols
* Joerg Fischer: makefile.all fixes
* Neil Mathews: gplt_x11 tweaks
* Rolf Niepraschk: SQRTPI wrong in specfun.c !
* Joerg Fischer: back out a personal-preference change made earlier
*
* Revision 1.291 1996/06/05 21:39:01 drd
* pl291
* drd: term_reset() didn't check that term had been initialised
* enhance the heap checking with CHECK_HEAP_USE build
* trap access violation in hidden3d
* fit was bypassing alloc routines
* add leak-check calls around the plot calls
*
* Revision 1.290 1996/06/03 19:22:46 drd
* pl290
* drd: get rid of some warnings on NT
* fix access violation in hidden3d
* define GP_INLINE for inline fns if directive available
* Martijn Schipper: os-9 changes for x11
* Lars Hecking,drd : better support for on_exit vs atexit
*
* Revision 1.289 1996/06/02 21:44:55 drd
* pl289
* Hans-Bernhard Br"oker : many changes integrated (at last !)
*
* Revision 1.288 1996/06/02 20:26:42 drd
* drd: revisit time code again.
* add undocumented command: testtime 'format' 'string'
*
* Revision 1.287 1996/05/16 21:25:03 drd
* drd : oops - replot was broken
* oops - make command.o was broken
* fix the problems with the keyhole
* Joerg Fischer : fix number of call args to 10 as documented
*
* Revision 1.286 1996/05/16 19:49:54 drd
* drd: reset state of ytics did not match startup state
* print datafile name in error message if it failed to open
* default locale is "C", not "" ("" gives error on linux ?)
* Mark Diekhans : compile on FreeBSD
* Jim Van Zandt : CGM tweaks
*
* Revision 1.285 1996/05/14 19:50:08 drd
* drd: fix bug in linespoints / title '' code
* show arrow output
* Jim Van Zandt : cgm tweaks
* Joji Maeda : trap division by zero in view 90,90
*
* Revision 1.284 1996/05/14 18:59:18 drd
* drd: second attempt to move open_printer out of win.trm
*
* Revision 1.283 1996/05/13 21:04:05 drd
* drd: typo in gplt_x11.c
* incorporate latest makefile.all into Makefile.in
* try to clean up groff-ing of gnuplot.ms (not there yet)
*
* Revision 1.282 1996/05/13 19:27:31 drd
* Bruce Bowler: VMS gplt_x11.c termination fix
* drd: NT changes to makefile.all
* move open_printer() etc from win.trm to wprinter.c
* time.c changes to compile on NT
*
* Revision 1.281 1996/05/08 20:57:12 drd
* Dick Crawford: latest docs
* Alex Woo, William Kirby : latest gif driver (name changed)
*
* Revision 1.280 1996/05/08 19:24:16 drd
* drd: another change to the shared segment of the makefiles
* (core.mak was a bad choice of name, since make clean kills it)
*
* Revision 1.279 1996/03/04 22:10:45 drd
* drd: more tweaks to term.c API
* Alex Woo / Sam Shen : new gdgif.trm [no help yet]
*
* Revision 1.278 1996/03/04 21:41:36 drd
* drd: second attempt at getting core.mak into Makefile
*
* Revision 1.277 1996/03/04 20:50:33 drd
* drd: add core.mak, and arrange for it to be appended to Makefile by
* ./configure
*
* Revision 1.276 1996/03/04 20:33:54 drd
* drd: largish restructure of outfile access: rules are too complex to
* allow manipulation outside term.c, so provide a term_* API
* Separate out the replacement time routines into time.c, allowing
* use of either system routines or supplied routines
* Add TERM_BINARY flag to term structure
* gplt_x11.c/VMS - typo in client message code
* Joerg: fix typo in setting of axes
* Werner: increase fixed string buffers in tgif.trm
*
* Revision 1.275 1996/03/01 21:17:30 drd
* drd: new file time.c - update lots of makefiles
* fix typo in VMS gplt_x11.c
*
* Revision 1.274 1996/02/27 20:50:47 drd
* drd: fix multiplot for x11
* commit replot line at last possible moment, guarding against typos
*
* Revision 1.273 1996/02/26 23:12:36 drd
* Roger Fearick : fix pause -1 ; print 1
* drd : fix plot sin(x) ; replot cos(x)
*
* Revision 1.272 1996/02/26 22:49:44 drd
* William Kirby,Alex Woo,Roger Fearick: doc fixes
* William Kirby: tweaks to djgpp/2 and bc/win32 makefiles
* Roger Fearick: doc2ipf fixes
* David Liu: emxvga fixes
* drd: oops - wgnupl32.def was not commited to cvs
*
* Revision 1.271 1996/02/26 21:55:17 drd
* drd: detect on_exit() in place of atexit() for sunos 4
* Jim Van Zandt : cgm driver (portability tweaks by drd)
* Lucas Hart, drd : better gnuplot_x11 error response in VMS
* Rolf Niepraschk : compile gnuplot_x11 on VMS
* John Turner: tweaks to compile cleanly
* John Eaton: solid/dash for pslatex
*
* Revision 1.270 1996/02/24 19:10:24 drd
* drd: accept lp as an abbreviation for linespoints
* accept using ::4 as using 1:2:4
* Joerg Fischer : new format letter %P for multiple of pi
* drd: get rid of some of the obvious problems in gnuplot.tex output
* define DOS32 in emx and djgpp makefiles
* Emmanual Bigler,drd: tweaks for djgpp vsn 2
* drd: small tweaks to show output
* feed option on dumb terminal
* tweaks to new x11 terminal
*
* Revision 1.269 1996/02/23 01:32:04 drd
* drd: make new x11 driver work for VMS
* handle WM_DELETE_WINDOW messages neatly (all x11 ports)
* Dick Crawford, drd: docs
*
* Revision 1.268 1996/02/22 00:54:55 drd
* Neil Mathews: set auto fix
* drd: show arrows ; user-defined tics
* Roger Fearick: os/2 patches
* Emmanual Bigler: makefile for djgpp 2
* Joerg Fischer: GPMIN/MAX
* Anthony Heading: daycount bug
*
* Revision 1.267 1996/02/21 23:50:35 drd
* Gary Holt, drd : multiple, persistent X windows
* drd : tweaks to gdgif driver
*
* Revision 1.266 1996/02/17 18:28:00 drd
* Dick Crawford - terminal-driver help text
* Mark Charney - location of gdgif library
* Thomas Koenig - trap floating point exception in set view 0,90
* drd: TERM_CAN_MULTIPLOT in pm.trm
* rationalise code in x11.trm
* HAVE_LOCALE -> NO_LOCALE_H in configuration
* tweak makefiles for documentation
*
* Revision 1.265 1996/01/30 23:47:14 drd
* drd: tweak malefile.djg
* Stefan Bodewig: doc2info.c and xref.c
* Dick Crawford: new gnuplot.doc
* - note that there is a problem with tables in doc2ipf !
*
* Revision 1.264 1996/01/28 16:31:44 drd
* drd: take out defunct atari.trm from some makefiles
* (try to) choose real(sqrt(z)) >= 0
* Emmanuel Bigler, drd: encoding support for hpgl
* Werner Geppert: fixes to help text in post.trm and x11.trm
* Stefan Bodewig: add asinh etc
* Pieter Vosbeek: new pslatex.trm
* Emmanual Bigler: djsvga.trm
*
* Revision 1.263 1996/01/25 19:47:34 drd
* drd: all doc2* filters use termdoc.c
* trap seg fault in doc2rtf.c
* tweak grass.trm to work with doc2*
*
* Revision 1.262 1996/01/24 22:18:24 drd
* drd: optional heap checking if compiled with CHECK_HEAP_USE
* remove term/emxvgaold.trm term/bigfig.trm term/pstex.trm
* tweaks to hpljii.trm and win.trm for making manual with *.trm
* docs/termdoc.c reads from allterm.h if -DALL_TERM
*
* Revision 1.261 1996/01/23 20:42:24 drd
* Stephen Peters : %%Orientation in postscript output
* Thomas Witelski,drd: space after mirror in save_xtics
* Axel Kielhorn,drd: reset x2range
* Joerg Fischer,drd: change to GPMIN/GPMAX
* extend scientific symbols in gsprintf
* restore reading of files on command line
*
* Revision 1.260 1996/01/23 19:25:56 drd
* drd: tweaks to compile on NT (hope I got them all)
*
* Revision 1.259 1996/01/22 21:22:25 drd
* drd: have a go at splot 'file' matrix - index not done yet
*
* Revision 1.258 1996/01/18 20:36:22 drd
* Pedro Mendes, drd: try to tidy up sources/build for win16/win32
*
* Revision 1.257 1996/01/17 23:09:43 drd
* drd: first attempt at clear for multiplot
* catch seg fault in xstrftime
* fix output in show/save xrange for xdata time
*
* Revision 1.256 1996/01/16 22:12:34 drd
* drd: trap a div by zero with xdtics / xmtics
* try to support tm_wday field in ggmtime()
* first attempt at timecolumn() and tm_sec() family
*
* Revision 1.255 1996/01/11 22:45:12 drd
* Volker Solinus, drd: avoid namespace clashes with zlib used by png term
* Joerg Fischer: more help moved into terminal driver files
*
* Revision 1.254 1996/01/11 22:25:28 drd
* jrv@vanzandt.mv.com : auto contours at "nice" levels
* hkeller@gwdg.de : improvements to contouring code
*
* Revision 1.253 1996/01/11 21:58:22 drd
* Lucas Hart: trap a division by zero
* Volker Solinus: fix some weird problems caused by folding editor
* Carsten Steger: many small tweaks to compile on HP-UX and Amiga
*
* Revision 1.252 1996/01/11 21:43:34 drd
* s.mccluney@bre.com: make wgnuplot filename run until plot window is
* explicitly closed, or enter interactive session if
* /noend is specified
*
* Revision 1.251 1996/01/10 21:26:19 drd
* drd: add file gnuplot.opt containing a list of the core files
* update makefile.vms to use this. Comments in some other makefiles
*
* Revision 1.250 1996/01/10 20:18:37 drd
* drd: add doc2html.c into the cvs tree, and so into distribution
* trivial tweaks to win/ files to compile with VC++
*
* Revision 1.249 1996/01/10 20:07:49 drd
* cmw: patches for win32s using borland c + various small tweaks
*
* Revision 1.248 1995/12/20 22:44:28 drd
* Erik Luijten: missing static keyword in set.c
* fix a small layout problem in Makefile.in
* Joerg Fischer: put back in the extra line in boxed key
* drd: post eps bounding box
* make %T print as %d not %f hence no trailing .000000
*
* Revision 1.247 1995/12/20 21:46:41 drd
* Stefan Bodewig: updated remaining terminals
* Joerg Fischer: moved help text to drivers
* Dick Crawford: docs/ps_guide.ps
*
* Revision 1.246 1995/12/18 22:41:13 drd
* drd: accept %+... in gprintf()
* first attempt at accepting set ytics [start,]step[,end]
*
* Revision 1.245 1995/12/14 21:08:59 drd
* drd: oops - range calculation wrong in splines
* Neil Mathews: catch a possible pointer mis-access
* Joerg Fischer: tidy the set/show messages
*
* Revision 1.244 1995/12/12 22:15:24 drd
* drd: make interpol.c aware of dual axes and log scales
* tighten up on plot using n cf plot using 0:n, including plot..every
*
* Revision 1.243 1995/12/11 23:14:09 drd
* drd: dont seg fault if initial term not identified
* dont take logs twice in spline stuff
* both min and MIN are defined by some compilers - use GPMIN
* update spline demo
* various: small tweaks for different compilers
*
* Revision 1.242 1995/12/10 18:40:57 drd
* drd: back out change to bitmap.h [dont quite understand, actually !]
* second attempt at setlocale stuff
*
* Revision 1.241 1995/12/07 21:58:06 drd
* drd: tweaks to configure.in, Makefile.in
* add set locale
* Hans Olav Eggestad: timeseries patches
*
* Revision 1.240 1995/12/05 22:18:51 drd
* drd: try to fix the postscript bounding-box and reencode problems
* Joerg Fischer: cp437 and cp830 code pages for postscript
* drd: bogus code in boundary() in graphics.c (ybot used before set)
*
* Revision 1.239 1995/12/02 22:04:44 drd
* carsten steger: amiga fixes, plus upgrades for several terminals
* drd: make post.trm variables static
*
* Revision 1.238 1995/12/02 21:16:50 drd
* drd and many others: small tweaks to code to avoid compiler warnings
* and improve portability
*
* Revision 1.237 1995/11/29 19:01:22 drd
* schooley@ee.gatech.edu: mif.trm
* Ian MacPhedran: hpgl.trm
*
* Revision 1.236 1995/11/29 17:45:30 drd
* drd: changes for VMS
*
* Revision 1.235 1995/11/29 14:32:26 drd
* schuh@meteo.uni-koeln.de: fix splines, etc
* plot 'file' smooth ...
*
* Revision 1.234 1995/11/27 12:57:30 drd
* Ian_MacPhedran@engr.USask.CA : coloured points in fig output
*
* Revision 1.233 1995/11/27 11:28:48 drd
* drd: add x2 label
* allow fonts for title / axis labels / time
* allow strftime format for timestamp
*
* Revision 1.232 1995/11/20 12:04:53 drd
* Joerg Fischer: extra line in boxed key
*
* Revision 1.231 1995/11/20 11:28:45 drd
* drd: a few portability concerns
* beebe@math.utah.edu - trap use of void fn in an expression.
*
* Revision 1.230 1995/11/17 17:58:01 drd
* drd: try to eliminate the MAXINT problem in datafile.c
*
* Revision 1.229 1995/11/03 11:23:54 drd
* drd: accept x1y2 etc as well as first or second
* small change to tics for very small plots
*