-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathChangeLog
More file actions
6814 lines (4229 loc) · 218 KB
/
ChangeLog
File metadata and controls
6814 lines (4229 loc) · 218 KB
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
2001-03-07 Johannes Zellner <[email protected]>
* src/pm3d.c: code cleanup
* src/plot3d.c: included stdfn.h so that HUGE is defined
2001-03-02 Hans-Bernhard Broeker <[email protected]>
* src/term.h [HAVE_LIBPNG]: Include new PDF terminal driver.
2001-03-01 Hans-Bernhard Broeker <[email protected]>
* term/pdf.trm: New terminal driver for Adobe PDF (Portable
Document Format) files.
* configure.in: Added detection code for PDFLib library, needed
to compile term/pdf.trm.
2001-02-28 Hans-Bernhard Broeker <[email protected]>
* src/term_api.h (DEFAULT_LP_STYLE_TYPE): New macro, to help
initializing lp_style_type struct variables directly.
* src/gadgets.c (DEFAULT_BORDER_LP): New macro to hold the default
lp_style_type for the graph border.
(default_border_lp): New global constant variable. Used to
re-initialize the border linetype by struct assignment.
* src/gadgets.h: Declaration for default_border_lp added.
* src/unset.c (reset_command): Assign border_lp from
default_border_lp instead of calling set_lp_properties().
* src/set.c (set_arrow, set_linestyle): Initialize local variable
from new macro DEFAULT_LP_STYLE_TYPE instead of calling
reset_lp_properties().
(set_border): Assign border_lp from default_border_lp instead of
calling set_lp_properties().
(reset_lp_properties, set_lp_properties): Functions no longer
used. Removed them.
* src/setshow.h (set_lp_properties): Removed prototype.
2001-02-28 Hans-Bernhard Broeker <[email protected]>
* term/emf.trm (EMF_text, EMF_reset): Reset emf_graphics flag to
FALSE to fix bug reported by J.Bollinger.
* term/emf.trm (EMF_STOCK_OBJECT_FLAG,
EMF_STOCK_OBJECT_WHITE_BRUSH, EMF_STOCK_OBJECT_BLACK_PEN,
EMF_STOCK_OBJECT_DEFAULT_FONT): New mnemonic macros to replace
magic numbers.
(EMF_setfont, EMF_text, EMF_dashtype): Use them.
* src/win/wgraph.c (LoadCursors): Use default cursor IDC_CROSS
instead of home-grown ptrcross.cur.
(CopyPrint): Codestyle: indented and commented #if/#else/#endif
lines.
* src/win/ptrcross.cur: File removed.
* src/win/wgnuplib.rc: Reference to ptrcross.cur deleted.
* src/win/wresourc.h (IDC_SCALING): Removed #define for
IDC_CROSSHAIR
* src/win/scaling.cur, src/win/rotating.cur: Binary files replaced
by new, much nicer versions.
* src/set.c (set_terminal): Codestyle: call gp_strdup() instead of
strdup().
* src/readline.h: The readline_ipc() prototype is now here, since
the functions is in readline.c, too.
* src/ipc.h: Moved readline_ipc() prototype away from here.
* src/command.c (com_line): Codestyle: #if's indented and
commented.
2001-02-27 Petr Mikulik <[email protected]>
* config/makefile.mgw: added a configuration section for easier setup
of compilation options.
2001-02-23 Hans-Bernhard Broeker <[email protected]>
* src/syscfg.h: Removed section defining VERYLARGE.
* src/stdfn.h: Moved blurb to define VERYLARGE macro from syscfg.h
to here. It needs <float.h> to have been included before it can do
its own part. Fixes endless loop bug in timefmt axes with a "set
xtics <incr>" type of tic placement lacking fixed endpoints.
2001-02-21 Petr Mikulik <[email protected]>
* src/win/wgraph.c: call GE_plotdone when graph drawn (otherwise
rotate-and-scale-by-mouse was not working); fixed set cursor
positioning typo ('set mouse zoomjump').
2001-02-19 Hans-Bernhard Broeker <[email protected]>
* src/win/wgraph.c (ruler, zoombox): Gave anonymous structs a
name.
(zoombox): Added string pointers for texts to be shown at corners
of the rubberband rectangle while zooming.
(everywhere): Lots of prototypes for static functions
added. Flagged all internal functions as 'static'. Comments added
and cleaned up. Stylistic changes.
(GWOPMAX): Moved here, from wgnuplot.h; only used inside this
module.
(GraphOp, Graph_put_tmptext, Graph_set_clipboard): Turned string
argument into to LPCSTR, i.e. pointers to const char, in Windows
parlance.
(GraphEnd) [USE_MOUSE]: Don't call DrawRuler from here.
(MakePens): Removed code no longer needed since the PM3D stuff
forced dynamic pen creation.
(Wnd_GetTextSize): New function. Isolated fragment from
MakeFont(), for re-use by mouseing functions.
(MakeFonts): Call new Wnd_GetTextSize().
(MakeFonts): Use TRUE and FALSE instead of 1 and 0 to asssing
states of lpgw->rotate.
(DestroyCursors): Replaced missing implementation by single
'return;' statement: the function has nothing to do, as it turns
out.
(drawgraph): If 'hdc' is a handle of a Metafile, GetDeviceCaps()
reports wrong results, leading to monochrome-only clipboard
contents. Assume colored output unless 'color' element in LPGW is
FALSE, for Metafiles.
(Wnd_exec_event): Compute difference of GetMessageTime() results
from one call to the next, so we should be able to tell
doubleclicks from single ones. Removed now-pointless parameter
'par2'.
(WndGraphProc): Moved static variable last_modifier_mask up to
function scope. It has to be visible to from different message
handling cases.
(WndGraphProc) [USE_MOUSE + WM_KEYUP]: Handle key-up events of
modifier keys, too.
(WndGraphProc) [USE_MOUSE + WM_KEYDOWN]: <Shift> and <Ctrl>
checking repaired. I haven't tested <Alt> yet.
(WndGraphProc) [WM_COMMAND + USE_MOUSE]: Don't call DrawRuler()
from here.
(WndGraphProc) [WM_PAINT + USE_MOUSE]: Re-paint all mouse
decorations of the plotwindow here, directly after the call to
drawgraph() has overwritten window contents.
(Graph_put_tmptext): Implemented cases 1 and 2 of the 'where'
argument by strdup'ing the texts over into the zoombox struct.
Update by calling DrawZoombox() before and after that.
(Graph_set_clipboard): Implemented.
(Draw_XOR_Text): New function. Implements true XOR text output via
a temporary bitmap, and an XOR-ing BitBlt() operation.
(DisplayStatusLine): Replaced previous, half-cooked version by
call of Draw_XOR_Text(). Removed argument 'erase'.
(UpdateStatusLine) [ENABLE_STATUS_LINE_RESIZE]: Threw out all the
chunks of this #ifdef version. This should be implemented in the
gnuplot core, instead.
(DrawZoomBox): Added implementation of corner label strings for
the zoom box. Uses Draw_XOR_Text() twice for each two-line string.
Also found and implemented a way to draw the zoombox in dashed
lines --- actually: in 'linetype 0', which is normally used for
zeroaxes and gridlines.
* src/win/wgnuplib.h (WGNUPLOTVERSION): Internal protocol version
number bumped by 0.1, with timestamp of yesterday, for all the
mouseing stuff and some other change I made while being at it.
(all over the place): Comments added and cleaned up.
(GWOPMAX): Moved out of here, over to wgraph.c.
(struct GW): Removed unused elements numsolid, hbpen, hpen[] and
hsolidpen[].
(GraphOp, Graph_put_tmptext, Graph_set_clipboard): Prototype
updated.
* src/gpexecute.c: Changed all PIPE_IPC || WIN_IPC conditionals
into PIPE_IPC, only. Windows doesn't actually use the stack of
mouse events implemented by these hungs.
(gp_exec_event) [WIN_IPC]: A big FIXME comment regarding
separation issues between wgnuplot.dll and wgnuplot.exe.
* src/command.c (winsystem) [_Windows] : made local variable 'p' a
pointer to constant char. That's LPCSTR, in Windows jargon.
* src/color.h (filled_polygon_3dcoords): GPHUGE attribute
specifier added to prototype
* term/svg.trm (SVG_PathLimit): Prototype added.
2001-02-15 Hans-Bernhard Broeker <[email protected]>
* src/win/wtext.h: Added #include <stdarg.h> needed to declare
va_list for prototypes.
* src/win/wgraph.c: Bracketed all mouse-specific within #ifdef
USE_MOUSE, as they should be. Removed some remains of the old
'numsolid' stuff.
(Wnd_exec_event): Pass message timestamp to gp_exec_event(),
replacing the fourth input parameter.
(WndGraphProc) [WM_MOUSEMOVE]: Rewrite and uncomment the Cursor
shape call. Also for the section used regardless of 'set mouse
off'.
(WndGraphProc) [WM_CHAR]: moved all the "special" keys into a new
WM_KEYDOWN case --- they don't generate WM_CHAR messages.
(WndGraphProc) [WM_KEYDOWN]: have all keys immediately call
Wnd_exec_event, so the default action can fall through to the
default handler. Handled some open ends introduced by Petr.
(WndGraphProc) [WM_KEYDOWN]: Moved the modifier key status check
to before the individual keys, and translated it from OS/2 to
Windows API. Code #ifdef'ed out for now, because it doesn't work,
yet.
* src/win/ptrcross.cur, src/win/scaling.cur, src/win/rotating.cur:
New files.
* src/win/wgnuplib.rc: Added definition of new cursor resources
for interactive mousing by reference to files.
* src/mouse.c (event_buttonrelease): Fixed FPRINTF() debugging
call.
* src/graphics.c (plot_vectors): Removed GPHUGE attribute.
* src/dynarray.c (nextfrom_dynarray): Corrected position of GPHUGE
attribute of the returned type.
* src/dynarray.h (nextfrom_dynarray): Prototype updated.
* config/makefile.win (CFLAGS) [WIN32]: Added -DVFPRINTF,
-DWIN_IPC and -DUSE_MOUSE to the list of flags.
(CFLAGS, CAUXFLAGS) [!WIN32]: Added -DVFPRINTF.
(DLLOBJS): Added gpexecute.obj.
(wgnupl32.exe): Added gpexecute to list of input files.
(DLLCC): Added -DUSE_MOUSE and -DWIN_IPC
2001-02-15 Hans-Bernhard Broeker <[email protected]>
* src/axis.c (axis_position_zeroaxis): Fixed behaviour for
reversed axes if 0.0 is not inside the range.
* src/graphics.c (histeps_vertical, histeps_horizontal): Added
code to handle clipping lines on reversed axes. Renamed parameters
'xl' and 'yl' to 'cur_x' and 'cur_y', in order to avoid confusion
with 'x1' and 'y1'.
2001-02-14 Hans-Bernhard Broeker <[email protected]>
* src/plot2d.c (get_data): For BOXES plots, don't set z_axis of
the plot to x_axis. That element is only used for a marker, not
for an actual x value.
(store2d_point): If z_axis of current plot is unused (-1), simply
store 'width' argument as the z value, without any of the usual
processing by STORE_WITH_LOG_AND_UPDATE_RANGE.
(eval_plots): Catch plot styles that don't work for functions.
Prints a warning and reverts to 'with points'
* src/plot3d.c (eval_3dplots): Catch plot styles that don't work
for functions. Prints a warning and reverts to 'with points'
* src/set.c (set_command): In 'set function style' handler, check
that plot style is applicable to function plots. If it isn't,
issue an error message and keep previous value.
(set_style): dito, for 'set style function' handler.
2001-02-12 Hans-Bernhard Broeker <[email protected]>
* src/win/wtext.h (MyVFPrintF): Fix typo: missing semicolon after
prototype.
2001-02-10 Petr Mikulik <[email protected]>
* src/win/wgraph.c: two more calls to DrawRuler() to draw the ruler
after the graph window has been de-minimized or replotted by gnuplot
after 'replot' or 'plot ...'; added remapping of VK_ key codes to
gnuplot key codes GP_.
2001-02-09 Hans-Bernhard Broeker <[email protected]>
* src/term.c (term_set_output): add code to work around an MSDOS
bug: 'set output' to the already open file causes file system
corruption. Solved by closing the file before opening it again.
2001-02-09 Hans-Bernhard Broeker <[email protected]>
* src/win/wgraph.c (ruler, zoombox): struct element 'on' made
TBOOLEAN.
(hptrDefault and friends): Uncommented Petr's suggestion, changed
type.
(GetMousePosViewport and friends): Internal prototypes updated.
(all over the place): Removed commented-out code blocks dealing
with the 'numsolid' and dynamic pen creation changes, for good.
(all over the place): changed // comments to /* ... */
(LoadCursors): New function. Loads cursor images from the system
or the resource file so cursor can change shape as different mouse
operations take place.
(DestroyCursors): New function, not implemented yet. Unloads all
the cursors registered by LoadCursors, to free the resources.
(drawgraph): Removed mouse_hdc initialization.
(Wnd_exec_event): New function, may no longer be needed. A wrapper
around gp_exec_event that records mouse position before calling
it.
(Wnd_refresh_zoombox): New function, used to be a code block in
WndGraphProc().
(WndGraphProc): Mouse position querying moved to helper functions
Wnd_exec_event and Wnd_refresh_zoombox --- only do the query if
the result is needed. Put an #ifdef USE_MOUSE around the code
added by Petr.
(WndGraphProc) [WM_CREATE]: call LoadCursors().
(WndGraphProc) [WM_DESTORY]: call DestroyCursors().
(Graph_set_cursor): Added LPGW parameter, implemented by
translating OS/2 sample code into Windows API calls.
(Graph_set_ruler): dito.
(Graph_put_tmptext): dito --- but implementation not complete,
yet.
(Graph_set_clipboard): Added LPGW parameter. Not implemented, yet.
(GetMousePosViewport): Added LPGW parameter. Removed Macros
WIN_XMAX and WIN_YMAX: query lpgw instead. Removed debugging
fprintf() to file.
(DisplayStatusLine): Added LPGW parameter. Implementation
rewritten almost from scratch, needing a new TBOOLEAN flag 'erase'
because of Windows API limitations.
(UpdateStatusLine): Added LPGW parameter.
(DrawRuler): Added LPGW parameter, turned OS/2 code outline into
Windows API implementation.
(DrawZoomBox): dito.
* term/win.trm (WIN_put_tmptext): pass LPGW pointer to graphwin
struct as additional parameter.
(WIN_set_ruler): dito.
(WIN_set_cursor): dito.
(WIN_set_clipboard): dito.
* src/win/wresourc.h (IDC_CROSSHAIR, IDC_SCALING, IDC_ROTATINT):
added resource identifier macros for mouse cursors.
* src/win/wgnuplib.h: Updated prototypes of mouse functions.
2001-02-08 Hans-Bernhard Broeker <[email protected]>
Several cleanups suggested by reading an MSVC compilation logfile:
* term/win.trm: added prototype for WIN_filledbox, and spread
warning notices all over the places regarding integer size
mismatch between the unsigned ints passed into the terminal API
and the WORD parameter accepted by GraphOp().
* src/win/winmain.c (MyVFPrintF): add 'const' qualifier.
(MyFPrintF): dito.
(MyFPutS): dito.
* src/win/wtext.h (MyFWrite): added 'const' qualifier.
(MyPrintF): dito.
(MyFPutS): dito.
(MyVFPrintF): prototype added.
(vfprintf): #define added, points to MyVFPrintF.
* src/win/wgraph.c (GraphOp): added 'const' qualifier to 'str' argument.
* src/win/wgnuplib.h: dito.
* src/command.c (winsystem): add 'const' qualifier to argument.
2001-02-07 Hans-Bernhard Broeker <[email protected]>
* src/fit.c (fit_command): Bugfix for 2D fits with a fixed yrange.
Local copying of range endpoints over to zrange was not done.
2001-02-06 Petr Mikulik <[email protected]>
* src/win/wgraph.c src/win/wgnuplib.h term/win.trm: partial
implementation of mouse support for Windows. It should be finished
according to my notes in the source code and on stderr.
2001-02-05 Petr Mikulik <[email protected]>
* config/makefile.mgw, src/gpexecute.h, gpexecute.c, mousecmn.h,
src/win/wgraph.c: WIN_IPC, an IPC for Windows. Hotkeys in the
windows terminal are now working.
2001-02-01 Hans-Bernhard Broeker <[email protected]>
* src/*.c, term/*.trm: Fixed incorrect usage of <ctype.h> macros.
If you pass a char to any of those, you *have* to cast it to
(unsigned char). Not to (int), but really unsigned char. The only
exception would be ints holding the result of an fgetc() or
similar call, but those don't occur in gnuplot.
* CodeStyle: added a paragraph describing this rule.
2001-02-01 Hans-Bernhard Broeker <[email protected]>
* src/set.c (set_command): Fix incorrect c_token movement in 'set
xdata {time}'.
2001-01-30 Hans-Bernhard Broeker <[email protected]>
* src/show.c (show_command): Fix broken 'show ticslevel' and 'show
ticscale' commands (from Pieter-Tjerk de Boer).
2001-01-22 Hans-Bernhard Broeker <[email protected]>
I had a look across all usages of [safe_]strncpy(), and patched
several:
* src/fit.c (backup_file): Off-by-one error in use of safe_strncpy
fixed.
* src/gplt_x11.c (ErrorHandler): cast 'display' argument to void
to silence a compiler warning.
* src/command.c (replotrequest): Replace strncpy call by memcpy
iff the 'size' argument of strncpy was hand-tailored to the length
of the 'from' string. In that case, the result is exactly the
same as with memcpy, but strncpy is inherently slower.
* src/fit.c (error_ex): dito.
(splitpath): dito.
(setvar): dito.
* src/gplt_x11.c (record): dito.
* src/plot.c (gp_expand_tilde): dito.
* src/set.c (set_pm3d): dito.
* src/fit.c (fit_interrupt): Replace sprintf() call with
user-specified string by safe_strncpy, to avoid format string
vulnerability.
2001-01-22 Hans-Bernhard Broeker <[email protected]>
* src/contour.c (fuzzy_equal): Removed use of 'zero' as a fudge
term. Avoid division-by-zero in another way. This also removed the
need for the private ABS() macro in this source. Removed.
* src/axis.c (mant_exp): Added code to change results like 10.0e0
to the result got from sprintf: 1.0e1, for number very close, but
not equal to 10.0. Takes the mantissa format string as a new
argument, to decide how close 'very close' should be.
(mant_exp): Also try to avoid calls to the pow() function wherever
possible.
(mant_exp): Changed type of 'scientific' flag to TBOOLEAN.
(gprintf): Now stores exponent found as a byproduct when
mant_exp() is called for the mantissa, to avoid another call to
mant_exp() for the exponent alone, later. Shuffled some code
lines to build starting conditions for mat_exp() correctly.
CAVEAT: this only works well if the mantissa is output _before_
the exponent, or the mantissa format has zero digits of precision.
(gprintf): Moved some repeated code out of the individual cases of
the main switch statement to behind it.
(gprintf): Avoids division of negative integers: the result would
be platform-dependant!
(gen_tics): Repaired numerically silly condition that would remove
all inner tics for axes shorter than DBL_EPSILON, i.e. about
1e-16.
2001-01-18 Hans-Bernhard Broeker <[email protected]>
* src/graphics.c (boundary): fix rounding errors in multiplot
placement by adding 0.5 to ytop, ybot, xleft and xright initial
values.
2001-01-18 Hans-Bernhard Broeker <[email protected]>
* INSTALL [HP-UX 10.x]: change recommendations regarding GCC on
HP-UX 10.x and higher.
* src/graph3d.c (xtick_callback, ytick_callback, ztick_callback):
remove 'static' attribute to avoid bug in HP-UX assembler. This
was the root of the long-standing compilation problems with GCC on
HP-UX 10 and higher.
* src/graphics.c (widest2d_callback, xtick2d_callback): dito
(ytick2d_callback): dito.
2001-01-16 Hans-Bernhard Broeker <[email protected]>
* src/term.h: add testing of THREEDKIT macro before activating
VGAGL terminal driver.
* src/interpol.c (cp_approx_spline, cp_tridiag, do_cubic):
streamline checks for logscaling and AXIS_UNDO_LOG calls into
AXIS_DE_LOG_VALUE calls.
* src/plot2d.c (eval_plots): dito.
* src/axis.h (AXIS_INIT3D, AXIS_INIT2D, CHECK_REVERSE): new
macro-local variable 'this' for more readable coding.
(AXIS_INIT3D, AXIS_INIT2D): only calculate log_base element if
logscaling is active for that axis, to avoid SIGFPE.
* src/axis.c (gen_tics): use AXIS_UNDO_LOG instead of explicit
coding.
(axis_output_tics): fix multiline x-axis label positioning.
2001-01-16 Hans-Bernhard Broeker <[email protected]>
New PNG feature from <[email protected]>:
* term/png.trm (PNG_id, PNG_opts): new option 'picsize' added to
table.
(PNG_options): handle new case PNG_PICSIZE by resizing the
drawable area handled by the 'bitmap' module.
(PNG_options): add output of option picsize.
(PNG_graphics): use new variable output sizes instead of fixed
constants.
(PNG terminal docs): document new option 'picsize'
2001-01-16 Hans-Bernhard Broeker <[email protected]>
* src/win/wpause.c (PauseBox): Change window style of Pause window
to make it show up in the taskbar and have it pop up on top of all
others.
(PauseBox): Insert WaitMessage() call to reduce CPU load while
gnuplot waits for the user to click away the pause window.
* term/win.trm (WIN_filledbox): New function, implements 'clear'
command for this terminal. Added entry to terminal API definition.
* src/win/wgnuplib.h (W_filledbox): define new message number.
* src/win/wgraph.c (drawgraph): handle new message W_filledbox to
draw blanked-out box.
2001-01-11 Hans-Bernhard Broeker <[email protected]>
* src/graphics.c (apply_head_properties): make temps unsigned to
match arguments of map_position().
* term/svg.trm (SVG_point): add missing TERM_PUBLIC stamp to
definition.
2001-01-04 Johannes Zellner <[email protected]>
* src/pm3d.c, src/pm3d.h, src/color.c: corrected
a bug for drawing the pm3d colorbox correctly if
using 'set pm3d zrange'.
2001-01-03 Johannes Zellner <[email protected]>
* src/pm3d.c: repaired 'pm3d zrange' for the column patch
2001-01-03 Johannes Zellner <[email protected]>
* term/post.trm: PS_make_palette() made it working with
negative palette values R/G/B.
2000-12-26 Johannes Zellner <[email protected]>
* term/ggi.trm,configure.in: pm3d for ggi using the
ggi xmi library. new configure switches:
--with-ggi
--with-xmi
2000-12-21 Johannes Zellner <[email protected]>
* src/save.c, src/show.c: handled the enum PM3D_SURFACE
2000-12-21 Johannes Zellner <[email protected]>
* src/graphics.c, src/plot3d.c: repaired function plotting
with lt pal or pm3d
2000-12-21 Johannes Zellner <[email protected]>
* new syntax
splot 'a.dat' with pm3d
and the plots are plotted in the correct order.
2000-12-21 Hans-Bernhard Broeker <[email protected]>
* src/datafile.c (df_tokenise): recover the original exponent
letter after addempting parse of FORTRAN-style numbers. Fixes bug
in parsing time/date input like "01Dec2000".
2000-12-20 Johannes Zellner <[email protected]>
* src/gp_types.h, src/graph3d.c, src/graph3d.h, src/hidden3d.c,
src/plot3d.c, src/pm3d.c, src/pm3d.h, configure.in, docs/gnuplot.doc,
TODO:
pm3d column feature: when specifying 2 or 4 columns for splot, the
last column is used to specify the palette color for either pm3d
or 'linetype palette'.
As I'm not sure if this breaks any existing stuff, and as it is
a quick hack, I decided finally to create a new branch. This branch
will be kept up to date, I'll try to synch it with the MAIN trunk
frequently until it is merged back to MAIN.
2000-12-20 Hans-Bernhard Broeker <[email protected]>
Fix bugs reported by Theo Hopman:
* src/set.c (set_logscale): "set logscale yz" bug fixed.
* src/save.c (save_tics): xtics saveing fixed.
* src/graph3d.c (do_3dplot): change incrementation of linetype for
contour lines. Fixes off-by-one bug between key sample and actual
line.
* src/contour.c (calc_min_max): Don't logarithmize the ranges
another time.
2000-12-20 Petr Mikulik <[email protected]>
* src/term.c: fixed one missing 'postscript_gpoutfile = 0;' after
a term->reset.
2000-12-20 Petr Mikulik <[email protected]>
* term/pm.trm src/os2/gclient.c: support for filled boxes (added
PM_fillbox routine) --- it is used by the 'clear' command in multiplot
mode to clear the subfigure area.
2000-12-19 Hans-Bernhard Broeker <[email protected]>
* docs/gnuplot.doc: small change to docs about EEPIC driver
behaviour.
2000-12-18 Hans-Bernhard Broeker <[email protected]>
* term/eepic.trm: cleaned up some warnings and 'checkdoc' problems.
2000-12-18 Hans-Bernhard Broeker <[email protected]>
* term/eepic.trm: Gabriel Zachmann <[email protected]> added lots of
new options to the 'eepic' driver, and fixed some bux while at it.
(EEPIC_PTS_PER_INCH): set to 72.27.
(EEPIC_DOTS_PER_INCH): set to 600, and renamed from DOTS_PER_INCH.
(eepic_color_on, eepic_true_rotate, fontsize_set): new variables.
(eepic_num_point_types, eepic_pointsize, EEPIC_points): split up
into three lists for different point sizes.
(eepic_numlines, EEPIC_lines): split up into three lists for
different 'line sets'.
(EEPIC_NUM_COLORS, eepic_color, eepic_colors): new variables, for
colored output feature.
(EEPIC_init): change initializers to new variables.
(EEPIC_graphics): change fontsize setting method.
(EEPIC_linetype): change linetype selection method; respect color.
(EEPIC_point): change point output method to respect pointsize.
(EEPIC_put_text): use real \rotatebox style rotation, if
available.
(EEPIC_options): new function. Handles all new options of the
eepic terminal.
help section: document new options.
2000-12-18 Petr Mikulik <[email protected]>
* docs/gnuplot.doc src/set.c src/term.c src/term.h src/term_api.h:
new commands 'set term push', 'set term pop' (in order to achieve
platform independent restoring of the terminal after printing, for
instance) --- see 'help set term'.
* src/gplt_x11.c: OS2_PIPE minor fixes.
2000-12-16 Johannes Zellner <[email protected]>
* src/gplt_x11.c: minor changes for -noevents
* term/x11.trm: some text about -noevents
2000-12-15 Petr Mikulik <[email protected]>
* README.exp: remove section about 'mouse is experimental'.
* src/term.c: removed obsolete routine 'fill_gp4mouse'.
* src/command.c: removed an OS/2 switch for readline vs. readline_ipc.
2000-12-12 Johannes Zellner <[email protected]>
* src/tables.c, src/show.c: corrected a bug so that
x2zeroaxis works again.
2000-12-08 Hans-Bernhard Broeker <[email protected]>
* src/datafile.c (df_3dmatrix): implement missing 'index' option
for 'matrix'-type splot datafiles. 'index' increases for every
blank or comment-only line, as both terminate mesh reading in
df_read_matrix().
* docs/gnuplot.doc: document this.
2000-12-08 Petr Mikulik <[email protected]>
* term/gif.trm: don't crash on pm3d in multiplot (reuse the previous
colour palette if no more colours are available).
2000-12-06 Petr Mikulik <[email protected]>
* src/color.c term/post.trm docs/gnuplot.doc: support 'set palette
maxcolors <n>' also for postscript terminal (allow discrete filled
contour-like steps).
2000-12-06 Johannes Zellner <[email protected]>
* term/ggi.trm, configure.in:
prepared for using wmh if it's available.
2000-12-05 Hans-Bernhard Broeker <[email protected]>
* src/graphics.c (boundary): move the setup_tics() calls of the x
axes above the code that applies 'set size ratio'. Otherwise, the
auto-extension of ranges can distort the aspect ratio.
2000-12-05 Hans-Bernhard Broeker <[email protected]>
* term/win.trm: un-comment the mouse function dummy entries in the
terminal entry.
* src/win/wgraph.c: include "getcolor.h". Fixes bug in Win32-pm3d
handling reported by Petr Mikulik.
* src/win/wgnuplib.h (farmalloc): make this macro definition
active for Borland C++ compilers higher than a certain version.
* src/hidden3d.c (split_line_at_ratio): changed vertex arguments
from pointer to array index avoid dangling pointers after realloc
of vlist array.
2000-12-05 Hans-Bernhard Broeker <[email protected]>
* term/svg.trm: new driver.
* src/term.h: #include it.
2000-12-05 Petr Mikulik <[email protected]>
* src/pm3d.c: take care about undefined points in PM3D_SCANS_AUTOMATIC.
2000-12-04 Johannes Zellner <[email protected]>
* term/ggi.trm: copy the ggi options to term_options.
2000-12-04 Johannes Zellner <[email protected]>
* term/ggi.trm: implemented relative motion events for the ggi
terminal. so that mouse actions work also with the DGA target.
2000-12-04 Petr Mikulik <[email protected]>
* docs/gnuplot.doc docs/psdoc/README docs/psdoc/ps_guide.ps
lisp/gnuplot-gui.el src/set.c src/term.c src/term_api.h term/post.trm:
a patch enabling the PostScript terminal to use CP-852 encoding.
2000-11-30 Petr Mikulik <[email protected]>
* term/pm.trm src/os2/gclient.c docs/gnuplot.doc: change PM terminal
codepage according to 'set encoding', and use codepage 912 for
iso_8859_2' (new routine PM_set_codepage() in pm.trm).
2000-11-29 Petr Mikulik <[email protected]>
* src/syscfg.h: #define FAQ_LOCATION "http://www.gnuplot.org/faq".
2000-11-29 Levente Novak <[email protected]>
* docs/gnuplot.doc docs/gnuplot.texi docs/psdoc/README
docs/psdoc/ps_guide.ps lisp/gnuplot-gui.el src/set.c src/term.c
src/term_api.h term/post.trm: a patch enabling the PostScript
terminal to use ISO-8859-2 encoding.
2000-11-27 Alexander Mai <[email protected]>
* src/readline.c: readline.c did not built with HAVE_LIBREADLINE.
So remove an #ifdef and - being here - make two symbols static.
2000-11-24 Lars Hecking <[email protected]>
* docs/Makefile.in: New variables BUILT_SOURCES, CLEANFILES. Reorganise
clean target.
* src/color.c, src/gadgets.c, src/getcolor.c, src/gpexecute.c,
src/gplt_x11.c, src/mouse.c, src/pm3d.c: Coding style.
2000-11-24 Alexander Mai <[email protected]>
* docs/gnuplot.doc: Update FAQ location. Remove "'" characters from
headers to make gnuplot.texi 'TeXable' again.
2000-11-24 Petr Mikulik <[email protected]>
* configure.in config/makefile.os2 term/x11.trm src/gpexecute.h
src/ipc.h command.c gpexecute.c gplt_x11.c plot.c readline.c:
The patch introduces explicit #define directives for different types
of interprocess communication (gnupmdrv, gnuplot_x11 => gnuplot):
OS2_IPC ... the OS/2 shared memory + event semaphores approach,
PIPE_IPC ... communication by using bidirectional pipe.
In the current sources, there is a mixture of #ifdef USE_MOUSE,
#if[n]def OS2, or #if defined() && () ... This patch makes it clear
what code is for what kind of IPC, while #ifdef USE_MOUSE ... #endif
parts don't mix with IPC codes. Of course, USE_MOUSE requires either
IPC defined.
Now it should be easy to add any other IPC for whichever platform
with terminal independent from the main gnuplot executable which wants
to support mouse and hotkeys; or modify PIPE_IPC to work for it too.
For example, gnuplot + gnuplot_x11 compiles on OS/2 fine with PIPE_IPC
instead of OS2_IPC, just it does not work.
2000-11-23 Lars Hecking <[email protected]>
* configure.in: Fix GNUPLOT_X11 for the case that no X11 support is
available.
* demo/contours.dem, demo/fit.dem: Add missing closing quotes.
* docs/Makefile.in: Add DESTDIR support.
* docs/gnuplot.texi, src/Makefile.in, src/makefile.all, src/version.c:
Regenerated.
* src/Makefile.maint: Re-enable version.c target.
* src/getcolor.c: Include getcolor.h.
* src/graphics.c(nearest_label_tag): Remove duplicate function.
* src/graphics.c(apply_head_properties): Remove nested extern
declarations.
* readline.c: Include ipc.h for readline_ipc() prototype.
* src/term_api.h: Add exported variables curr_arrow_headlength and
curr_arrow_headangle.
* src/unset.c: Remove nested extern decalartion of X11_unset_pm3d().
* term/cgm.trm: Remove nested extern decalartions.
2000-11-23 Alexander Mai <[email protected]>
* src/pm3d.c: Fix incomplete struct pm3d initializer.
2000-11-23 Alexander Mai <[email protected]>
* src/gplt_x11.c: fix some segmentation faults
2000-11-23 Petr Mikulik <[email protected]>
* src/pm3d.h graph3d.c mouse.c pm3d.c save.c set.c show.c unset.c
docs/gnuplot.doc:
1. changed variable 'pm3d_map_rotate_ylabel' to field 'pm3d.map';
2. implemented 'save' of 'pm3d', 'palette' and 'colorbox'.
2000-11-22 Petr Mikulik <[email protected]>
* src/set.c: suppose 'set pm3d at s' if pm3d was not used until now
and 'set pm3d not-at-option' was used.
2000-11-22 Hans-Bernhard Broeker <[email protected]>
* src/util.c (graph_error): don't call int_error(). Can't do that
from one variadic function to the other.
* src/plot2d.c (get_data): fix bug in datafile plots 'with boxes'.
2000-11-22 Alexander Mai <[email protected]>
* src/gplt_x11.c: fix two crashes (segmentation fault
and floating exception)
2000-11-22 Petr Mikulik <[email protected]>
* src/pm3d.h, tables.h, set.c, show.c, tables.c, unset.c
docs/gnuplot.doc pm3d/demo/README pm3d/demo/Demo.gp: new
pm3d command "[set|unset|show] colorbox" (formerly this was
a part of the "palette" options).
2000-11-21 Petr Mikulik <[email protected]>
* src/mouse.c: don't zoom x2 and y2 axes when in 3D plot.
2000-11-21 Johannes Zellner <[email protected]>
* src/gplt_x11.c: added a few ifdefs, so it compiles w/o mouse/pm3d.
2000-11-20 Johannes Zellner <[email protected]>
* term/x11.trm,src/gplt_x11.c: `set palette maxcolors' for x11
as requested by Petr.
2000-11-20 Hans-Bernhard Broeker <[email protected]>
* src/mouse.c (MousePosToGraphPosReal): fix typo in treatment of
logarithmic y axis values.
2000-11-20 Petr Mikulik <[email protected]>
* src/: color.c pm3d.c term.c term_api.h
term/: epslatex.trm pslatex.trm post.trm
pm3d: added 'FILE *postscript_gpoutfile' which is set to
'PSLATEX_auxfile' or 'gpoutfile' or '0' according to 'set term',
i.e. to the file where the postscript code goes to (if outputted).
Condition 'if (!postscript_gpoutfile)' can be used to distinguish
postscript terminals family (used in postscript optimized output
in pm3d).
* src/pm3d.c: bugfix crash when plotting surface with 1 scan only.
* src/mouse.c: disable changing 3D view and scale during 'set pm3d map'.
2000-11-15 Hans-Bernhard Broeker <[email protected]>
* src/graphics.c (map_position_double): added back a missing 'break'.
2000-11-15 Hans-Bernhard Broeker <[email protected]>
* src/command.c (help_command): [_Windows] fixed off-by-one error
in help topic determination.
2000-11-15 Petr Mikulik <[email protected]>
* src/color.h src/getcolor.c src/color.c src/show.c term/post.trm:
pm3d --- move PostScriptColorFormulae from post.trm to getcolor.c and
rename them to ps_math_color_formulae.
* src/getcolor.h: pm3d --- new file, declarations for getcolor.c.
* term/epslatex.trm: pm3d --- removed pm3d code from epslatex.trm which
duplicated the code in post.trm, and call the particular ps.trm
functions instead.
2000-11-14 Petr Mikulik <[email protected]>
* make the branched version compile under OS/2.
2000-11-12 James R. Van Zandt <[email protected]>
* term/README: describe pm3d and mouse API
* term/cgm.trm: add pm3d support.
2000-11-10 Gregor Thalhammer <[email protected]>
* term/epslatex.trm(EPSL_arrow): Arrows without heads are not drawn.
2000-11-10 Hans-Bernhard Broeker <[email protected]>
* src/gnuplot.opt: added new sourcefiles to the list.
* config/makefile.nt: adapted to 3.8 source layout, pm3d enabled.
2000-11-09 Petr Mikulik <[email protected]>
* src/color.c, src/pm3d.c: allow pm3d compile without pslatex.
2000-11-08 Hans-Bernhard Broeker <[email protected]>
* src/hidden3d.c (split_line_at_ratio): Changed parameters.
(draw_edge): Changed parameters.
(handle_edge_fragment): Changed parameters. Avoid checking same
polygon against the recursing edge again. Don't allocate fresh
edge.
(in_front): Changed parameters. Don't modify contents of 'edge'
passed in. Rather pass around vertex data separately. Revised some
of the tests to fix almost all currently known display bugs.
2000-11-08 Johannes Zellner <[email protected]>
* docs/gnuplot.doc, pm3d/README: included tgif as supported
2000-11-07 Hans-Bernhard Broeker <[email protected]>
* src/specfun.c (f_lambertw): set 'undefined' to TRUE
if lambertw returns error condition.
* src/specfun.c (lambertw): restructured a bit, removed fall-off
without a return value, avoided FP equality comparison.
2000-11-07 Hans-Bernhard Broeker <[email protected]>
From Gunter Kuhnle <[email protected]>:
* src/specfun.c (f_lambertw): new function.
(lambertw): new function.
* src/eval.c (ft): added entry for lambertw
* docs/gnuplot.doc: document new function lambertw
2000-11-07 Lars Hecking <[email protected]>
* configure.in: Check for png_init_io() instead of deprecated and
unused png_info_init().
* demo/Makefile.am.in: Use variables in place of "gnuplot" (GNUPLOT)
and "all.dem" (DEMO) to allow more fine-grained control over what is
run with "make check". Regenerate Makefile.am.
* term/epslatex.trm: EPSL_PostScriptColorFormulae and
PostScriptColorFormulae from post.trm are the same. Remove the former
and reference the latter.
2000-11-06 Ian MacPhedran <[email protected]>
* term/tgif.trm: Add PM3D support.
2000-11-06 Johannes Zellner <[email protected]>
* src/gplt_x11.c: Patch from Pieter-Tjerk de Boer to make
gnuplot_x11 recognizing if the main program died.
2000-11-04 Petr Mikulik <[email protected]>