1 diff -aur surf-1.0.5.orig/curve/Bezout.h surf-1.0.5/curve/Bezout.h
2 --- surf-1.0.5.orig/curve/Bezout.h 2006-03-04 22:11:56.000000000 +0100
3 +++ surf-1.0.5/curve/Bezout.h 2009-06-17 21:01:33.000000000 +0200
13 #include "TreePolynom.h"
15 diff -aur surf-1.0.5.orig/curve/BigInteger.h surf-1.0.5/curve/BigInteger.h
16 --- surf-1.0.5.orig/curve/BigInteger.h 2006-03-04 22:11:56.000000000 +0100
17 +++ surf-1.0.5/curve/BigInteger.h 2009-06-17 21:01:33.000000000 +0200
22 -#include <iostream.h>
30 return mpz_get_d (mpz);
32 friend inline bool isNull (const BigInteger &b);
33 - friend inline void negate (BigInteger &b);
34 + friend inline void negatenum (BigInteger &b);
39 return mpz_sgn(b.mpz)==0;
42 -inline void negate (BigInteger &b)
43 +inline void negatenum (BigInteger &b)
45 mpz_neg(b.mpz, b.mpz);
47 diff -aur surf-1.0.5.orig/curve/Monom.h surf-1.0.5/curve/Monom.h
48 --- surf-1.0.5.orig/curve/Monom.h 2006-03-04 22:11:56.000000000 +0100
49 +++ surf-1.0.5/curve/Monom.h 2009-06-17 21:01:33.000000000 +0200
54 -#include <iostream.h>
57 #include "doubleMath.h"
62 template<class Coeff, int num>
63 -inline void negate(CMonom<Coeff,num> &m)
64 +inline void negateMonom(CMonom<Coeff,num> &m)
66 - negate(m.getCoeff());
67 + negatenum(m.getCoeff());
71 diff -aur surf-1.0.5.orig/curve/RBTree.cc surf-1.0.5/curve/RBTree.cc
72 --- surf-1.0.5.orig/curve/RBTree.cc 2006-03-04 22:48:27.000000000 +0100
73 +++ surf-1.0.5/curve/RBTree.cc 2009-06-17 21:01:33.000000000 +0200
78 -#include <iostream.h>
87 diff -aur surf-1.0.5.orig/curve/RBTree.h surf-1.0.5/curve/RBTree.h
88 --- surf-1.0.5.orig/curve/RBTree.h 2006-03-04 22:11:56.000000000 +0100
89 +++ surf-1.0.5/curve/RBTree.h 2009-06-17 21:01:33.000000000 +0200
94 -#include <iostream.h>
101 diff -aur surf-1.0.5.orig/curve/RootFinder2d.cc surf-1.0.5/curve/RootFinder2d.cc
102 --- surf-1.0.5.orig/curve/RootFinder2d.cc 2006-03-04 22:48:27.000000000 +0100
103 +++ surf-1.0.5/curve/RootFinder2d.cc 2009-06-17 21:01:33.000000000 +0200
108 -#include <iostream.h>
110 #include "RootFinder2d.h"
112 diff -aur surf-1.0.5.orig/curve/RootFinder3d.cc surf-1.0.5/curve/RootFinder3d.cc
113 --- surf-1.0.5.orig/curve/RootFinder3d.cc 2006-03-04 22:48:27.000000000 +0100
114 +++ surf-1.0.5/curve/RootFinder3d.cc 2009-06-17 21:01:33.000000000 +0200
119 -#include <iostream.h>
123 diff -aur surf-1.0.5.orig/curve/TreePolynom.h surf-1.0.5/curve/TreePolynom.h
124 --- surf-1.0.5.orig/curve/TreePolynom.h 2006-03-04 22:11:56.000000000 +0100
125 +++ surf-1.0.5/curve/TreePolynom.h 2009-06-17 21:01:33.000000000 +0200
127 #ifndef TREEPOLYNOM_H
128 #define TREEPOLYNOM_H
130 -#include <iostream.h>
137 TreePolynomNode<Monom> *x = new TreePolynomNode<Monom>();
140 + negateMonom(x->monom);
142 // cmp might not be used uninitialized, because if parent != 0 we made a
143 // call to cmp = lexorder(mon, current->monom) (see above)
144 diff -aur surf-1.0.5.orig/curve/doubleMath.h surf-1.0.5/curve/doubleMath.h
145 --- surf-1.0.5.orig/curve/doubleMath.h 2006-03-04 22:11:56.000000000 +0100
146 +++ surf-1.0.5/curve/doubleMath.h 2009-06-17 21:01:33.000000000 +0200
151 -inline void negate (double &d)
152 +inline void negatenum (double &d)
156 diff -aur surf-1.0.5.orig/curve/mygmp.h surf-1.0.5/curve/mygmp.h
157 --- surf-1.0.5.orig/curve/mygmp.h 2006-03-04 22:11:56.000000000 +0100
158 +++ surf-1.0.5/curve/mygmp.h 2009-06-17 21:01:33.000000000 +0200
163 -#include <iostream.h>
166 +using namespace std;
168 extern void mpz_lcm (mpz_t lcm, mpz_t op1, mpz_t op2);
169 extern ostream & operator << (ostream &os, mpz_t z);
170 diff -aur surf-1.0.5.orig/debug/Timer.h surf-1.0.5/debug/Timer.h
171 --- surf-1.0.5.orig/debug/Timer.h 2006-03-04 22:11:56.000000000 +0100
172 +++ surf-1.0.5/debug/Timer.h 2009-06-17 21:01:33.000000000 +0200
177 -#include <iostream.h>
180 +using namespace std;
182 #define TIMER(s) Timer aTimer(s)
184 diff -aur surf-1.0.5.orig/debug/debug.cc surf-1.0.5/debug/debug.cc
185 --- surf-1.0.5.orig/debug/debug.cc 2006-03-04 22:48:27.000000000 +0100
186 +++ surf-1.0.5/debug/debug.cc 2009-06-17 21:01:33.000000000 +0200
191 -#include <iostream.h>
195 +using namespace std;
200 diff -aur surf-1.0.5.orig/debug/debug.h surf-1.0.5/debug/debug.h
201 --- surf-1.0.5.orig/debug/debug.h 2006-03-04 22:11:56.000000000 +0100
202 +++ surf-1.0.5/debug/debug.h 2009-06-17 21:01:33.000000000 +0200
207 -#include <iostream.h>
210 +using namespace std;
214 diff -aur surf-1.0.5.orig/draw/NewClip.cc surf-1.0.5/draw/NewClip.cc
215 --- surf-1.0.5.orig/draw/NewClip.cc 2006-03-04 22:48:27.000000000 +0100
216 +++ surf-1.0.5/draw/NewClip.cc 2009-06-17 21:01:33.000000000 +0200
221 -#include <iostream.h>
225 #include "NewClipSphereParallel.h"
226 diff -aur surf-1.0.5.orig/drawfunc/DrawFunc.cc surf-1.0.5/drawfunc/DrawFunc.cc
227 --- surf-1.0.5.orig/drawfunc/DrawFunc.cc 2006-03-04 22:48:28.000000000 +0100
228 +++ surf-1.0.5/drawfunc/DrawFunc.cc 2009-06-17 21:01:33.000000000 +0200
233 -#include <iostream.h>
236 +using namespace std;
240 diff -aur surf-1.0.5.orig/drawfunc/Monomial.h surf-1.0.5/drawfunc/Monomial.h
241 --- surf-1.0.5.orig/drawfunc/Monomial.h 2006-03-04 22:11:58.000000000 +0100
242 +++ surf-1.0.5/drawfunc/Monomial.h 2009-06-17 21:01:33.000000000 +0200
247 -#include <iostream.h>
250 +using namespace std;
253 #include "monomarith.h"
254 diff -aur surf-1.0.5.orig/drawfunc/MultiVariatePolynom.h surf-1.0.5/drawfunc/MultiVariatePolynom.h
255 --- surf-1.0.5.orig/drawfunc/MultiVariatePolynom.h 2006-03-04 22:11:58.000000000 +0100
256 +++ surf-1.0.5/drawfunc/MultiVariatePolynom.h 2009-06-17 21:01:33.000000000 +0200
258 #ifndef CLMULTIPOLY_H
259 #define CLMULTIPOLY_H
261 -#include <iostream.h>
264 +using namespace std;
268 diff -aur surf-1.0.5.orig/gtkgui/ClipWindow.cc surf-1.0.5/gtkgui/ClipWindow.cc
269 --- surf-1.0.5.orig/gtkgui/ClipWindow.cc 2006-03-04 22:48:28.000000000 +0100
270 +++ surf-1.0.5/gtkgui/ClipWindow.cc 2009-06-17 21:01:33.000000000 +0200
275 -#include <iostream.h>
277 #include "ClipWindow.h"
278 #include "RadioButtonBuilder.h"
279 #include "OptionMenuBuilder.h"
280 diff -aur surf-1.0.5.orig/gtkgui/ColorSelectionButton.cc surf-1.0.5/gtkgui/ColorSelectionButton.cc
281 --- surf-1.0.5.orig/gtkgui/ColorSelectionButton.cc 2006-03-04 22:48:28.000000000 +0100
282 +++ surf-1.0.5/gtkgui/ColorSelectionButton.cc 2009-06-17 21:01:33.000000000 +0200
287 -#include <iostream.h>
290 #include "ColorSelectionButton.h"
292 diff -aur surf-1.0.5.orig/gtkgui/ConfigurationWindow.h surf-1.0.5/gtkgui/ConfigurationWindow.h
293 --- surf-1.0.5.orig/gtkgui/ConfigurationWindow.h 2006-03-04 22:11:58.000000000 +0100
294 +++ surf-1.0.5/gtkgui/ConfigurationWindow.h 2009-06-17 21:01:33.000000000 +0200
296 #ifndef CONFIGURATIONWINDOW_H
297 #define CONFIGURATIONWINDOW_H
299 -#include <iostream.h>
303 #include "ParameterWindow.h"
304 diff -aur surf-1.0.5.orig/gtkgui/DitherWindow.cc surf-1.0.5/gtkgui/DitherWindow.cc
305 --- surf-1.0.5.orig/gtkgui/DitherWindow.cc 2006-03-04 22:48:28.000000000 +0100
306 +++ surf-1.0.5/gtkgui/DitherWindow.cc 2009-06-17 21:01:33.000000000 +0200
311 -#include <iostream.h>
313 #include "DitherWindow.h"
314 #include "RadioButtonBuilder.h"
315 #include "TableBuilder.h"
316 diff -aur surf-1.0.5.orig/gtkgui/Document.cc surf-1.0.5/gtkgui/Document.cc
317 --- surf-1.0.5.orig/gtkgui/Document.cc 2006-03-04 22:48:28.000000000 +0100
318 +++ surf-1.0.5/gtkgui/Document.cc 2009-06-17 21:01:33.000000000 +0200
323 -#include <iostream.h>
328 diff -aur surf-1.0.5.orig/gtkgui/DrawingArea.cc surf-1.0.5/gtkgui/DrawingArea.cc
329 --- surf-1.0.5.orig/gtkgui/DrawingArea.cc 2006-03-04 22:48:28.000000000 +0100
330 +++ surf-1.0.5/gtkgui/DrawingArea.cc 2009-06-17 21:01:33.000000000 +0200
335 -#include <iostream.h>
338 #include <gdk/gdkx.h>
340 diff -aur surf-1.0.5.orig/gtkgui/NumericWindow.h surf-1.0.5/gtkgui/NumericWindow.h
341 --- surf-1.0.5.orig/gtkgui/NumericWindow.h 2006-03-04 22:11:58.000000000 +0100
342 +++ surf-1.0.5/gtkgui/NumericWindow.h 2009-06-17 21:01:33.000000000 +0200
344 #ifndef NUMERICWINDOW_H
345 #define NUMERICWINDOW_H
347 -#include <iostream.h>
352 diff -aur surf-1.0.5.orig/gtkgui/ProgressDialog.cc surf-1.0.5/gtkgui/ProgressDialog.cc
353 --- surf-1.0.5.orig/gtkgui/ProgressDialog.cc 2006-03-04 22:48:28.000000000 +0100
354 +++ surf-1.0.5/gtkgui/ProgressDialog.cc 2009-06-17 21:01:33.000000000 +0200
359 -#include <iostream.h>
362 #include "ProgressDialog.h"
364 diff -aur surf-1.0.5.orig/gtkgui/Requester.cc surf-1.0.5/gtkgui/Requester.cc
365 --- surf-1.0.5.orig/gtkgui/Requester.cc 2006-03-04 22:48:28.000000000 +0100
366 +++ surf-1.0.5/gtkgui/Requester.cc 2009-06-17 21:01:33.000000000 +0200
371 -#include <iostream.h>
376 diff -aur surf-1.0.5.orig/gtkgui/mycolor.cc surf-1.0.5/gtkgui/mycolor.cc
377 --- surf-1.0.5.orig/gtkgui/mycolor.cc 2006-03-04 22:48:28.000000000 +0100
378 +++ surf-1.0.5/gtkgui/mycolor.cc 2009-06-17 21:01:33.000000000 +0200
383 -#include <iostream.h>
392 +using namespace std;
394 // These are not declared static...they get used in SurfDrawingArea...
395 Display * xdisplay = 0;
396 XStandardColormap *xstandardColormap = 0;
397 diff -aur surf-1.0.5.orig/gtkgui/mygtk.h surf-1.0.5/gtkgui/mygtk.h
398 --- surf-1.0.5.orig/gtkgui/mygtk.h 2006-03-04 22:11:58.000000000 +0100
399 +++ surf-1.0.5/gtkgui/mygtk.h 2009-06-17 21:02:38.000000000 +0200
404 -#include <iostream.h>
407 +using namespace std;
409 #define RECALL(method,klass) \
410 static void _ ## method (klass *k) \
411 diff -aur surf-1.0.5.orig/gtkgui/showAbout.cc surf-1.0.5/gtkgui/showAbout.cc
412 --- surf-1.0.5.orig/gtkgui/showAbout.cc 2006-03-04 22:48:28.000000000 +0100
413 +++ surf-1.0.5/gtkgui/showAbout.cc 2009-06-17 21:01:33.000000000 +0200
418 -#include <iostream.h>
423 diff -aur surf-1.0.5.orig/gtkgui/start.cc surf-1.0.5/gtkgui/start.cc
424 --- surf-1.0.5.orig/gtkgui/start.cc 2006-03-04 22:48:28.000000000 +0100
425 +++ surf-1.0.5/gtkgui/start.cc 2009-06-17 21:01:33.000000000 +0200
430 -#include <iostream.h>
434 #include "GuiThread.h"
435 diff -aur surf-1.0.5.orig/misc/Misc.cc surf-1.0.5/misc/Misc.cc
436 --- surf-1.0.5.orig/misc/Misc.cc 2006-03-04 22:48:28.000000000 +0100
437 +++ surf-1.0.5/misc/Misc.cc 2009-06-17 21:01:33.000000000 +0200
442 -#include <iostream.h>
445 +using namespace std;
449 diff -aur surf-1.0.5.orig/mt/GuiThread.cc surf-1.0.5/mt/GuiThread.cc
450 --- surf-1.0.5.orig/mt/GuiThread.cc 2006-03-04 22:48:28.000000000 +0100
451 +++ surf-1.0.5/mt/GuiThread.cc 2009-06-17 21:01:33.000000000 +0200
456 -#include <iostream.h>
461 diff -aur surf-1.0.5.orig/mt/Thread.cc surf-1.0.5/mt/Thread.cc
462 --- surf-1.0.5.orig/mt/Thread.cc 2006-03-04 22:48:28.000000000 +0100
463 +++ surf-1.0.5/mt/Thread.cc 2009-06-17 21:01:33.000000000 +0200
468 -#include <iostream.h>
472 +using namespace std;
477 diff -aur surf-1.0.5.orig/src/RgbBuffer.cc surf-1.0.5/src/RgbBuffer.cc
478 --- surf-1.0.5.orig/src/RgbBuffer.cc 2006-03-05 21:55:15.000000000 +0100
479 +++ surf-1.0.5/src/RgbBuffer.cc 2009-06-17 21:01:33.000000000 +0200
484 -#include <iostream.h>
489 +using namespace std;
493 diff -aur surf-1.0.5.orig/src/bit_buffer.cc surf-1.0.5/src/bit_buffer.cc
494 --- surf-1.0.5.orig/src/bit_buffer.cc 2006-03-04 22:48:28.000000000 +0100
495 +++ surf-1.0.5/src/bit_buffer.cc 2009-06-17 21:01:33.000000000 +0200
500 -#include <iostream.h>
503 +using namespace std;
505 #include "bit_buffer.h"
507 diff -aur surf-1.0.5.orig/src/main.cc surf-1.0.5/src/main.cc
508 --- surf-1.0.5.orig/src/main.cc 2006-03-04 22:48:28.000000000 +0100
509 +++ surf-1.0.5/src/main.cc 2009-06-17 21:01:33.000000000 +0200
514 -#include <iostream.h>
523 +using namespace std;
525 extern void start_gtk_main();
528 diff -aur surf-1.0.5.orig/yaccsrc/Script.cc surf-1.0.5/yaccsrc/Script.cc
529 --- surf-1.0.5.orig/yaccsrc/Script.cc 2006-03-04 22:48:28.000000000 +0100
530 +++ surf-1.0.5/yaccsrc/Script.cc 2009-06-17 21:01:33.000000000 +0200
535 -#include <iostream.h>
538 #include <sys/stat.h>
542 +using namespace std;
544 #include "FileWriter.h"
545 #include "TreePolynom.h"
546 diff -aur surf-1.0.5.orig/yaccsrc/SymbolTable.cc surf-1.0.5/yaccsrc/SymbolTable.cc
547 --- surf-1.0.5.orig/yaccsrc/SymbolTable.cc 2006-03-04 22:48:28.000000000 +0100
548 +++ surf-1.0.5/yaccsrc/SymbolTable.cc 2009-06-17 21:01:33.000000000 +0200
553 -#include <iostream.h>
554 -#include <iostream.h>
560 #include "SymbolTable.h"
561 #include "addDefaultSymbols.h"
563 +using namespace std;
565 inline char *copy (const char *str)
567 diff -aur surf-1.0.5.orig/yaccsrc/SymbolTable.h surf-1.0.5/yaccsrc/SymbolTable.h
568 --- surf-1.0.5.orig/yaccsrc/SymbolTable.h 2006-03-04 22:11:57.000000000 +0100
569 +++ surf-1.0.5/yaccsrc/SymbolTable.h 2009-06-17 21:01:33.000000000 +0200
574 -#include <iostream.h>
578 +using namespace std;
583 diff -aur surf-1.0.5.orig/yaccsrc/mymemory.cc surf-1.0.5/yaccsrc/mymemory.cc
584 --- surf-1.0.5.orig/yaccsrc/mymemory.cc 2006-03-04 22:48:28.000000000 +0100
585 +++ surf-1.0.5/yaccsrc/mymemory.cc 2009-06-17 21:01:33.000000000 +0200
588 /* ------------------------------------------------------------------------- */
590 -#include <iostream.h>
594 +using namespace std;
596 #include "mymemory.h"
598 char *new_char ( int n )
599 diff -aur surf-1.0.5.orig/yaccsrc/polyx.h surf-1.0.5/yaccsrc/polyx.h
600 --- surf-1.0.5.orig/yaccsrc/polyx.h 2006-03-04 22:11:57.000000000 +0100
601 +++ surf-1.0.5/yaccsrc/polyx.h 2009-06-17 21:01:33.000000000 +0200
606 -#include <iostream.h>
609 +using namespace std;
611 /*****************************************************************************/
612 /* POLYNIMIALS IN X */