|
From: Bastian M. <bma...@we...> - 2011-03-11 20:25:34
|
Hello, the last official release of gnuplot for Win16 (3.7.3) is now 7 years old. I think it's about time to remove support for this platform altogether. Below you find the output of diffstat for a preliminary patch that does that. config/config.nt | 5 - src/alloc.c | 10 -- src/alloc.h | 2 src/command.c | 42 +++------- src/eval.c | 4 src/fit.c | 4 src/gpexecute.c | 3 src/plot.c | 2 src/syscfg.h | 2 src/win/wcommon.h | 17 ---- src/win/wgnuplib.c | 29 ------- src/win/wgnuplib.h | 19 ---- src/win/wgnuplot.mnu | 3 src/win/wgnuplot.rc | 6 - src/win/wgraph.c | 120 +++-------------------------- src/win/winmain.c | 69 +++-------------- src/win/wmenu.c | 81 ++++---------------- src/win/wpause.c | 33 -------- src/win/wprinter.c | 197 -------------------------------------- ----------- src/win/wtext.c | 85 +++------------------ term/win.trm | 13 --- 22 files changed, 93 insertions(+), 652 deletions(-) In addition several build files could be removed (src/win/wgnuplot.def, wgnuplib.def, config/makefile.msw). config/makefile.win also contains 16bit portions. Please let me know how we should proceed. Bastian |
|
From: Ethan A M. <sf...@us...> - 2011-03-11 20:54:59
|
On Friday, March 11, 2011 12:25:28 pm Bastian Märkisch wrote: > Hello, > > the last official release of gnuplot for Win16 (3.7.3) is now 7 years > old. I think it's about time to remove support for this platform altogether. > > Below you find the output of diffstat for a preliminary patch that does > that. I did not realize there was so much residual code left. The code sections marked "DOS16" and "DOS386" are long gone. Is this remaining cruft hiding in the #else clause of code protected by WIN32? Ethan > > config/config.nt | 5 - > src/alloc.c | 10 -- > src/alloc.h | 2 > src/command.c | 42 +++------- > src/eval.c | 4 > src/fit.c | 4 > src/gpexecute.c | 3 > src/plot.c | 2 > src/syscfg.h | 2 > src/win/wcommon.h | 17 ---- > src/win/wgnuplib.c | 29 ------- > src/win/wgnuplib.h | 19 ---- > src/win/wgnuplot.mnu | 3 > src/win/wgnuplot.rc | 6 - > src/win/wgraph.c | 120 +++-------------------------- > src/win/winmain.c | 69 +++-------------- > src/win/wmenu.c | 81 ++++---------------- > src/win/wpause.c | 33 -------- > src/win/wprinter.c | 197 -------------------------------------- > ----------- > src/win/wtext.c | 85 +++------------------ > term/win.trm | 13 --- > 22 files changed, 93 insertions(+), 652 deletions(-) > > > In addition several build files could be removed (src/win/wgnuplot.def, > wgnuplib.def, config/makefile.msw). config/makefile.win also contains > 16bit portions. > > Please let me know how we should proceed. > > Bastian > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > |
|
From: Bastian M. <bma...@we...> - 2011-03-11 21:02:11
|
Am 11.03.2011 21:54, schrieb Ethan A Merritt: > On Friday, March 11, 2011 12:25:28 pm Bastian Märkisch wrote: >> Hello, >> >> the last official release of gnuplot for Win16 (3.7.3) is now 7 years >> old. I think it's about time to remove support for this platform altogether. >> >> Below you find the output of diffstat for a preliminary patch that does >> that. > > I did not realize there was so much residual code left. > The code sections marked "DOS16" and "DOS386" are long gone. > Is this remaining cruft hiding in the #else clause of code protected by WIN32? > > Ethan > Yes, most of the code is in #ifndef WIN32 sections. But there are also checks for WINVER and some manual GetVersion() calls. Moreover there is still code which once was used to handle segmented memory: farmalloc, OFFSETOF, SELECTOROF etc. Plus some outdated comments which only concern Win16. Bastian >> >> config/config.nt | 5 - >> src/alloc.c | 10 -- >> src/alloc.h | 2 >> src/command.c | 42 +++------- >> src/eval.c | 4 >> src/fit.c | 4 >> src/gpexecute.c | 3 >> src/plot.c | 2 >> src/syscfg.h | 2 >> src/win/wcommon.h | 17 ---- >> src/win/wgnuplib.c | 29 ------- >> src/win/wgnuplib.h | 19 ---- >> src/win/wgnuplot.mnu | 3 >> src/win/wgnuplot.rc | 6 - >> src/win/wgraph.c | 120 +++-------------------------- >> src/win/winmain.c | 69 +++-------------- >> src/win/wmenu.c | 81 ++++---------------- >> src/win/wpause.c | 33 -------- >> src/win/wprinter.c | 197 -------------------------------------- >> ----------- >> src/win/wtext.c | 85 +++------------------ >> term/win.trm | 13 --- >> 22 files changed, 93 insertions(+), 652 deletions(-) >> >> >> In addition several build files could be removed (src/win/wgnuplot.def, >> wgnuplib.def, config/makefile.msw). config/makefile.win also contains >> 16bit portions. >> >> Please let me know how we should proceed. >> >> Bastian >> |