source: git/factory/ChangeLog @ 2819fd

spielwiese
Last change on this file since 2819fd was 2819fd, checked in by Jens Schmidt <schmidt@…>, 26 years ago
* ChangeLog: Well ... git-svn-id: file:///usr/local/Singular/svn/trunk@1001 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 42.3 KB
Line 
1Wed Dec 17 09:56:25 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
2
3        * canonicalform.cc (operator ==, operator !=): rewritten and
4          speeded up
5          (operator >): slightly speeded up
6
7        * int_cf.h (class InternalCF): `sign()' declared as const
8
9        * int_poly.cc (comparesame): doc and assertion fix
10
11        * int_int.cc (sqrt, ilog2): assertion fixes
12
13        * int_pp.cc (comparecoeff): assertion fix
14
15        * int_rat.cc (comparesame): doc fix
16
17        * int_cf.cc (InternalCF::sign): method made pure virtual.
18          Declaration adapted.
19
20        * int_cf.cc (taildegree): bug fix.  Did not check whether CO is
21          zero.
22
23        * imm.h (imm_cmp): doc fix
24
25        * canonicalform.cc (CanonicalForm::gcd): method removed.
26          Declaration adapted.
27
28        * canonicalform.cc (degree, taildegree): one more time slightly
29          speeded up.  Hopefully for the last time.
30
31Fri Dec 12 10:06:33 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
32
33        * imm.h (imm_cmp_p, imm_cmp_gf): comparisons fulfill law of
34          trichitomy
35
36        * readcf.y (yylex): parser reads generator from GF(q) correctly
37
38Tue Dec  9 10:03:07 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
39
40        * GNUmakefile.in (.PHONY): dependencies `$(srcdir)/winnt/factory.h'
41          and `$(srcdir)/winnt/factoryconf.h' added
42
43        * winnt/factory.h:  automatically created from `factory.template'
44          using `makeheader'
45
46        * winnt/factoryconf.h: automatically created from
47          `factoryconf.template' using `makeheader'
48
49        * GNUmakefile.in (dist): dependencies `$(srcdir)/winnt/factory.h'
50          and `$(srcdir)/winnt/factoryconf.h' added
51          ($(srcdir)/winnt/factory.h): new target
52          ($(srcdir)/winnt/factoryconf.h): new target
53
54        * GNUmakefile.in (distntfile): new variable
55          (distfiles): `$distntfiles' added to distribution
56          (dist): creates directory `winnt/'
57          (distfiles): `bin/makeheader.pl' added to distribution
58
59        * config.h.in (INT64): new define
60
61        * bin/makeheader.pl: new file
62
63        * int_poly.cc (comparecoeff): unused argument `acoeff' removed
64
65Mon Dec  8 18:56:39 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
66
67        * INSTALL, README: doc fixes for the Windows NT port
68
69Thu Nov 27 21:00:00 1997  Ruediger Stobbe  <rstobbe@de.oracle.com>
70
71        * winnt: new directory containing configuration files for
72          Microsoft Windows NT port using MS Visual C++ 5.0
73
74        * winnt/INSTALL.nt: new file that describes the make process on
75          Windows NT
76
77        * winnt/nt.mak: Makefile for Windoes NT
78
79        * winnt/config.h: preconfigured file for Windows NT
80
81        * winnt/factoryconf.h: for the first time this file is a hand-made
82          version of factoryconf.h for Windows NT
83
84        * winnt/factory.h: for the first time this file is a hand-made
85          version of factory.h for Windows NT
86
87        * config.h.in: new typedef INT64 for 64 bit integer type of various
88          platforms (currently 'long long int' for gcc and '__int64' for
89          MS VC++)
90
91        * readcf.y: malloc.h and memory.h are included in the case of WINNT
92          to have prototypes for alloca and memcpy
93
94        * ffops.h: now uses INT64 instead of long long int
95
96        * ffops.cc: now uses INT64 instead of long long int
97
98        * imm.h: now uses INT64 instead of long long int
99
100        * int_poly.cc: includes strstrea.h instead of strstream.h in the
101          case of WINNT (a typical Microsoft 8.3 problem - its a pity)
102
103        * cf_random.cc: the way const data members were used was not
104          conforming to the C++ standard. Now there is a version of
105          RandomGenerator that should run the same way on gcc as well as on
106          CodeWarrior (mac) and MS VC++ (nt) and every other compiler
107          conforming to the C++ standard
108
109        * fac_iterfor.cc: fixed assertion that refers to a variable that
110          was not in the scope. Wondering why gcc compiled it
111
112        * fac_sqrfree.cc: isSqrFreeZ now returns a bool, as declared in
113          the prototype. Again wondering about gcc's behaviour
114
115        * sm_sparsemod.cc: array declaration of varf, varg and schnitt on
116          on the heap instead on the stack because the array size is not
117          a constant. delete [] is called at a suitable place
118
119        * fac_cantzass.h: MS VC++ does not like a default value for a
120          parameter that is a reference (in some sense this is good behaviour)
121          Therefore there are now no default values for the parameter list
122          of FpFactorizeUnivariateCZ
123
124        * fac_cantzass.cc: No reference parameters for FpFactorizeUnivariateCZ
125
126        * cf_factor.cc: FpFactorizeUnivariateCZ is called with full parameter
127          list
128
129        * fac_univar.cc: FpFactorizeUnivariateCZ is called with full parameter
130          list
131
132        * ftmpl_inst.cc: MS VC++ does not like to explicitly instantiate
133          template functions - tmax and tmin are therefore not instatiated in
134          the case of WINNT
135          Anyway it is not clear if this file is needed when using MS VC++
136          since the handling of templates in MS VC++ done in the spirit of
137          AT&T's Cfront compilers which do a more automatic job
138
139        * templates/ftmpl_list.h: MS VC++ wants a forward declaration of
140          template class List<T> and template class ListIterator<T>. This
141          should be no problem for gcc
142
143        * timing.h: changes in the case of WINNT
144
145Fri Nov 21 15:25:27 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
146
147        * canonicalform.h (class CanonicalForm): inline method hasGcd()
148          removed.
149
150        * int_poly.cc (coeff): explicit cast to CanonicalForm added
151          (coeff): cosmetic change
152
153        * int_rat.cc (comparecoeff): bug fix.  Did not calculate dummy
154          correctly.
155          (comparecoeff): assertion moved into `if' branch
156
157        * int_pp.cc (comparesame): assertion added
158
159        * int_int.cc (comparesame): assertion added
160
161        * int_cf.cc (coeff): explicit cast to CanonicalForm added
162
163        * int_cf.cc (comparecoeff): function made pure virtual.
164          Declarations adapted.
165        * int_cf.h (class InternalCF): new pure virtual function
166          comparecoeff()
167
168        * imm.h: doc fix
169
170        * GNUmakefile.in (ftestm4src): fbinops.m4 added to distribution
171
172Thu Nov 20 16:21:51 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
173
174        * imm.h: functions rereordered
175
176Wed Nov 19 12:21:27 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
177
178        * gfops.h: functions reordered
179
180        * imm.h (imm_sign): doc fix
181
182        * imm.h: functions reordered
183
184Thu Nov 13 09:10:53 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
185
186        * cf_chinese.cc (chineseRemainder): `const CF' in arguments
187          changed to `const CF &'.  Declaration adapted.
188
189        * configure.in: doc fix
190
191        * GNUmakefile.in (ftestall): new target
192          (.PHONY): dependencies `ftestall' `ftestclean' `ftestdistclean'
193          added
194
195        * GNUmakefile.in (%.d): dependency generation uses temporary files
196          (clean): removes these temporary files
197
198        * GNUmakefile.in ($(ftestexec)): dependecy `factoryconf.h' added
199
200Wed Nov 12 18:08:51 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
201
202        * configure.in: check for `GetOpt.h' removed
203
204Thu Nov  6 16:43:17 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
205
206        * configure.in: check for `libg++.a' commented out
207
208Wed Nov  5 14:48:46 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
209
210        * GNUmakefile.in (conftest): new target
211          ($(ftestexec), gengftables.o): dependency `conftest' added
212
213        * GNUmakefile.in (gengftables.o): some dependencies removed
214          (gengftables): dependencies slightly changed
215
216        * configure.in: exits with error on absence of libgmp.a or libm.a
217
218        * configure.in: check for `unistd.h' added
219
220        * configure.in: check for `libg++.a' added
221
222Wed Oct 29 12:41:04 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
223
224        * configure.in: check for `ln -s' added
225
226        * configure.in: checks for header files necessary for the FTE
227          added
228
229        * GNUmakefile.in (LN_S): new variable
230
231        * GNUmakefile.in ($(ftestexec)): new target
232
233        * GNUmakefile.in (ftestsrc, ftestincl, ftestm4src, ftestdistfiles,
234          ftestexec): new variables
235          (distsrc, distincl, distfiles, dist): FTE added to distribution
236          (ftestclean, ftestdistclean): new targets
237          (clean, distclean): dependencies ftestclean and ftestdistclean,
238          resp., added
239
240        * GNUmakefile.in (ftest/GNUmakefile): new target
241
242        * GNUmakefile.in (gengftables): rule slightly simplified
243
244        * test_install.cc (main): calls to `operator<<()' replaced by
245          calls to `printf()'
246
247        * configure.in (M4FLAGS): new output variable
248        * configure.in (M4): check for `m4' added
249
250        * configure.in: creates `ftest/GNUmakefile'
251
252Tue Oct 28 14:46:08 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
253
254
255    **************** Factory Version 1.3b released ****************
256
257       
258        * NEWS: updated to 1.3b
259
260        * README: doc fix.  Updated to 1.3b.
261
262        * INSTALL: doc fix.  Updated to 1.3b.
263
264        * configure.in (factory_version): updated to 1.3b
265
266        * examples/GNUmakefile: doc fix
267
268        * configure.in (factory_configuration): new variable
269        * config.h.in (FACTORYCONFIGURATION): new #define
270
271        * configure.in (ac_cv_shift): set to `yes' in case of cross
272          compiling
273
274        * examples/application.cc (main): check on existence of GF(q)
275          tables removed
276
277Mon Oct 27 15:14:19 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
278
279        * examples, examples/GNUmakefile, examples/application.cc,
280          examples/gcd.cc, examples/factorize.cc: new files
281        * GNUmakefile.in (distfiles, dist): `examples/' and `examples/*'
282          added to distribution
283
284        * canonicalform.cc (operator >, operator <): bug fix.  Calls
285          `comparecoeff()' in the right way.
286
287Fri Oct 24 18:44:37 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
288
289        * GNUmakefile.in (TMPLCXXFLAGS): set to `$(LIBCXXFLAGS)'
290
291        * cf_gcd.cc (gcd): bug fix.  Handles polynomials with rational
292          coefficients correctly
293
294Thu Oct 23 14:13:42 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
295
296        * ftmpl_inst.cc: implicit instantiations of `ListItem<T>' changed
297          to explicit instantiations
298
299        * factory.template, factoryconf.template, gengftables.cc,
300          ftmpl_inst.cc: doc fix
301
302        * cf_globals.cc (factoryConfiguration): new external variable.
303          Declaration added.
304        * test_install.cc (main): prints factoryConfiguration
305
306Wed Oct 22 15:41:30 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
307
308        * configure.in: doc fixes
309
310        * canonicalform.cc (operator ()): speeded up
311
312        * cf_random.cc (factoryrandom): returns a random number without
313          calculating any remainder if n equals zero
314
315        * ffops.cc (ff_setprime): does not clear table of primes if the
316          prime number used last time equals new one
317
318Tue Oct 21 13:24:48 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
319
320        * test_install.cc: new file
321        * GNUmakefile.in (distsrc): distribution file test_install.cc
322          added
323          (installtest, test_install, iftmpl_inst.o, test_install.o): new
324          targets
325          (clean): removes test_install
326          (.PHONY): phony target installtest added
327
328Wed Oct 15 16:31:53 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
329
330        * canonicalform.cc (taildegree): slightly speeded up
331
332        * canonicalform.cc (operator []): assertion added.  Bug fix (did
333          not work for immediates).
334
335        * canonicalform.cc (den, deriv, operator []): explicit casts to
336          CanonicalForm added
337          (sqrt): explicit calls to CFFactory::basic removed
338
339Tue Oct 14 16:47:28 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
340
341        * canonicalform.cc (mvar, degree): slightly speeded up
342
343Fri Oct 10 10:19:07 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
344
345        * gfops.cc (gf_get_table): casts to 'char *' added to avoid
346          warnings
347
348        * int_pp.cc: superfluous arguments removed
349
350        * int_int.cc: doc fix
351
352        * int_cf.cc: doc fix
353
354        * int_rat.cc: doc fix
355
356        * int_cf.cc (den): returns 'CFFactory::basic( 1 )' instead of
357          'genOne()'
358
359        * canonicalform.cc (LC, degree( v ), tailcoeff, deriv): slightly
360          speeded up
361
362        * canonicalform.cc (Lc): new method.  Declaration added.
363        * int_cf.cc (Lc): new method.  Declaration added.
364        * int_poly.cc (Lc): new method.  Declaration added.
365
366Thu Oct  9 10:20:56 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
367
368        * cf_algorithm.cc (divides): moved from canonicalform.cc to
369          cf_algorithm.cc.  Declaration moved, too.  In all files which
370          refer to this function #include of cf_algorithm.h added.
371          (divides): doc fix
372        * canonicalform.cc (divides): moved to cf_algorithm.cc.
373          Declaration moved, too.
374
375        * canonicalform.h (Lc): new function
376
377Wed Oct  1 14:21:53 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
378
379        * cf_random.h: (factoryrandom): n defaults to zero
380
381        * cf_random.cc (factoryrandom): checks for n = zero added
382
383Tue Sep 30 10:22:43 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
384
385        * GNUmakefile.in (%.d): order of dependencies changed
386
387Mon Sep 29 08:11:42 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
388
389        * GNUmakefile.in (%.d): `factoryconf.h' added as dependency
390
391        * canonicalform.h: doc fix
392
393        * cf_ops.cc (size( CF ), size( CF, Var )): new functions.
394          Declarations added.
395
396        * fac_univar.cc: doc fix
397
398        * cf_chinese.cc: doc fix
399
400        * cf_resultant.cc: doc fix
401
402        * cf_gcd.cc (maxnorm): spurious variable `h' removed
403
404        * cf_gcd.cc (balance): slightly speeded up
405
406Fri Sep 26 12:54:41 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
407
408        * assert.h: prints the function now where the assrtion occured if
409          we are translating with gcc
410
411Thu Sep 25 13:51:01 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
412
413        * cf_gcd.cc (chinesePoly): function removed
414          (gcd_poly_univar0): slightly speeded up
415
416        * cf_gcd.cc (lcm): bug fix.  Returns zero now if f or g equals
417          zero.
418
419        * cf_gcd.cc (gcd_poly): does not call sparsemod on univariate
420          polynomials an longer
421
422        * cf_gcd.cc (vcontent): assertion added.
423
424        * cf_gcd.cc (content( CF, Variable )): slightly speeded up.
425          Assertion added.
426
427Wed Sep 24 12:35:40 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
428
429        * canonicalform.cc (deriv): speeded up
430
431Tue Sep 23 17:24:24 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
432
433        * int_int.cc: doc fix
434
435        * canonicalform.cc: doc fix
436
437Fri Sep 12 17:25:14 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
438
439        * cf_gcd.cc (isqrt): function removed
440
441        * canonicalform.cc: doc fix
442
443Wed Sep 10 15:36:15 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
444
445        * int_cf.cc (InternalCF::sign): assertion added
446
447        * int_rat.cc (InternalRational::sign): call to mpz_cmp_si()
448          replaced by call to mpz_sgn()
449        * int_pp.cc (InternalPrimePower::sign): call to mpz_cmp_si()
450          replaced by call to mpz_sgn()
451        * int_int.cc (InternalInteger::sign): call to mpz_cmp_si()
452          replaced by call to mpz_sgn()
453
454        * int_pp.cc, int_int.cc, int_rat.cc, int_poly.cc, int_cf.cc,
455          canonicalform.cc (sign): doc fix
456
457        * imm.h (imm_sign): bug fix.  imm_sign() returned 0 for sign(1)
458          when calculating in GF(q).
459        * imm.h (imm_sign): bug bug fix
460
461        * gfops.h (gf_sign): doc fix
462
463        * configure.in (expl_datadir): initialization fixed.  If
464          $expl_datadir is relative we prepend the current working
465          directory now.
466
467        * cf_gcd.cc (isqrt): function removed
468
469Tue Sep  9 09:06:17 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
470
471        * README: doc fix
472
473        * INSTALL: doc fix
474
475        * cf_globals.h: doc checked
476       
477        * cf_globals.h: doc fix
478
479        * cf_globals.cc: doc checked
480
481        * cf_globals.cc: #include fix, doc fix
482
483        * cf_primes.cc, fac_cantzass.cc, int_pp.cc, int_rat.cc: #include
484          fix
485
486        * cf_factor.cc: #include fix
487          (factorize): cf_glob_switches.isOn() replaced by isOn() for
488          sake of uniformity
489
490        * cf_ops.cc (swapvar_between): arguments to operator * swapped
491
492        * cf_ops.cc (swapvar_between, swapvar_rec): functions reordered
493          and declarations removed
494
495        * cf_ops.cc (swapvar_between1, swapvar_rec1, swapvar1): new
496          experimental functions, to be removed in future
497
498        * cf_chinese.cc: doc fix
499
500        * fac_multihensel.cc: #include fix
501
502        * fac_berlekamp.cc: #include fix
503
504        * cf_util.cc: #include fix
505
506        * ffops.h: #include fix
507
508Mon Sep  8 12:39:09 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
509
510        * cf_algorithm.cc: doc checked
511
512        * cf_algorithm.cc (psr, psq, psqr): assertions added
513
514        * cf_algorithm.cc (psq, psqr): return correct values now if deg(f)
515          < deg(g)
516          (psr, psq, psqr): return correct values now if f = 0
517
518        * cf_algorithm.cc (cden): recursion terminates now for f in base
519          domain instead for f in coefficient domain
520
521        * cf_map.h: doc fix
522
523        * cf_map.cc: doc fix
524
525        * cf_algorithm.h: doc fix
526
527        * cf_switches.h: doc fix
528
529        * cf_switches.cc: doc fix
530
531Thu Sep  4 10:19:25 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
532
533        * cf_ops.cc: doc checked
534
535        * cf_ops.cc: (replacevar, replacevar_between): new functions
536        * canonicalform.h (replacevar): new declaration
537
538        * cf_algorithm.cc: doc fix
539
540        * cf_resultant.cc: doc fix
541
542        * cf_algorithm.cc: new file
543          (psr, psq, psqr, cden, common_den): functions moved from
544          cf_ops.cc to cf_algorithm.cc
545        * cf_ops.cc (psr, psq, psqr, cden, common_den): functions moved
546          to cf_algorithm.cc
547        * cf_algorithm.h: declarations of functions from cf_algorithm.cc
548          moved from canonicalform.h to cf_algorithm.h
549        * canonicalform.h: declarations of functions from cf_algorithm.cc
550          moved to cf_algorithm.h.  In all files which refer to these
551          functions #include of cf_algorithm.h added.
552        * GNUmakefile.in (basefactorysrc): cf_algorithm.cc added to
553          distribution
554
555        * cf_ops.cc (apply): bug fix.  In case f.inCoeffDomain() result is
556          now initialized to f.
557
558Mon Sep  1 10:47:41 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
559
560        * cf_algorithm.h: doc checked
561
562        * cf_resultant.cc: doc checked
563
564        * canonicalform.h (resultant): declaration moved to cf_algorithm.h
565        * cf_algorithm.h (resultant): declaration moved from
566          canonicalform.h to cf_algorithm.h
567
568        * cf_ops.cc (resultant): function moved to cf_resultant.cc
569        * cf_resultant.cc (trivialResultant): new function
570        * cf_resultant.cc (resultant): moved from cf_ops.cc to
571          cf_resultant.cc.  Completely rewritten.
572
573        * cf_ops.cc (psr): returns f now if deg(f) < deg(g)
574
575        * cf_resultant.cc (subResChain): new function
576        * cf_algorithm.h (subResChain): new declaration
577
578        * cf_factor.cc (factorize( CanonicalFormn, bool ), sqrFree):
579          default argument initializer from definition removed
580
581Fri Aug 29 09:10:28 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
582
583        * canonicalform.cc (degree( Variable )): slightly speeded up
584          (deriv( Variable )): slightly speeded up
585
586        * canonicalform.h (deriv): doc fix
587
588        * canonicalform.cc (deriv( Variable )): assertion added
589          (deriv( Variable )): bug fix
590
591        * cf_algorithm.h: declarations of functions from cf_linsys.cc
592          moved from canonicalform.h to cf_algorithm.h
593        * canonicalform.h: declarations of functions from cf_linsys.cc
594          moved to cf_algorithm.h
595
596        * cf_factor.cc (sqrFree( CF )): removed
597          (sqrFree( CF, bool )): default argument initializer added
598          (factorize( CF, bool )): default argument initializer added
599        * cf_algorithm.h  (sqrFree( CF )): declaration removed
600          (sqrFree( CF, bool )): default argument initializer added to
601          declaration
602          (factorize( CF, bool )): default argument initializer added to
603          declaration
604
605        * GNUmakefile.in (basefactorysrc): cf_resultant.cc added to
606          distribution
607
608        * cf_algorithm.h: declarations from cf_factor.h moved to
609          cf_algorithm.h
610        * cf_factor.h: declarations moved to cf_algorithm.h.  cf_factor.h
611          removed.  All #include statements changed.
612        * GNUmakefile.in (basefactoryincl): cf_factor.h removed from
613          distribution
614        * canonicalform.h: declarations of functions from cf_factor.cc
615          removed.  In all files which refer to these functions #include
616          of cf_algorithm.h added.
617
618        * cf_algorithm.h: new file
619        * cf_algorithm.h: declarations from cf_chinese.h moved to
620          cf_algorithm.h
621        * cf_chinese.h: declarations moved to cf_algorithm.h.
622          cf_chinese.h removed.  All #include statements changed.
623        * GNUmakefile.in (basefactoryincl): cf_chinese.h removed from
624          distribution.  cf_algorithm.h added to distribution.
625
626Thu Aug 28 09:21:15 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
627
628        * cf_map.h: superfluous '#include "templates/ftmpl_functions.h"'
629          removed
630
631Mon Aug  4 16:57:27 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
632
633        * canonicalform.cc (sqrt): doc fix
634
635Fri Aug  1 11:06:58 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
636
637        * cf_map.cc (operator << ( ostream& s, const CFMap & m )):
638          rewritten
639
640        * configure.in: checks for compiler characteristic are done with C
641          instead of C++
642
643Thu Jul 31 14:59:07 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
644
645        * fac_univar.cc (kBound): bound fixed
646
647        * canonicalform.h (sqrt): doc fix
648
649        * canonicalform.cc (sqrt): immediate case completely rewritten
650
651Wed Jul 30 09:40:08 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
652
653        * cf_linsys.cc (bound): off by one errors fixed
654        (linearSystemSolve): off by one errors fixed
655
656        * cf_linsys.cc (bound): debug output added
657
658        * cf_linsys.cc (bound): returns now bound + 1
659
660        * canonicalform.cc (sqrt): sqrt(0) works now
661        (sqrt): assertion added
662        (sqrt): 'int h' changed to 'long long h'.  Casts added.
663
664        * cf_defs.h (SW_RATIONAL, SW_QUOTIENT, SW_SYMMETRIC_FF,
665          SW_BERLEKAMP, SW_FAC_USE_BIG_PRIMES, SW_FAC_QUADRATICLIFT,
666          SW_USE_EZGCD, SW_USE_SPARSEMOD): #defines replaced by 'const
667          int's
668
669        * canonicalform.cc (fillVarsRec, getNumVars, getVars): moved to
670          cf_ops.cc
671        * cf_ops.cc (fillVarsRec, getNumVars, getVars): moved from
672          canonicalform.cc to cf_ops.cc
673
674        * cf_ops.cc: doc fix
675
676Thu Jul 24 12:44:46 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
677
678        * GNUmakefile.in (distfiles): bin/folding.el and bin/fold-docu.el
679          added
680
681Wed Jul 23 09:45:35 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
682
683        * cf_map.h: doc checked
684
685        * cf_map.h (class CFMap): references to List<CanonicalForm>
686          replaced by CFList
687
688        * cf_map.cc: doc checked
689
690        * cf_map.cc (CFMap( CFList )): 'P.append()' replaced by 'P.insert()'
691
692        * cf_chinese.cc (chineseRemainder( CF, ... )): operator % replaced
693          by function mod()
694
695        * README: doc fix
696
697Tue Jul 22 11:04:30 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
698
699        * cf_map.cc (CFList, CFListIterator, MPListIterator): references to
700          List<CanonicalForm>, ListIterator<CanonicalForm>, and
701          ListIterator<MapPair> replaced by their respective typedefs
702
703        * canonicalform.cc (initCanonicalForm): initialization of switches
704          removed since they are initialized by constructor
705
706        * bin/folding.el: doc checked
707
708        * bin/fold-docu.el: doc checked
709
710        * bin/folding.el: new file
711        * bin/fold-docu.el: new file
712        * bin/fold-docu.el (fold-docu): works now for all fold marks
713        * README: doc fix
714
715        * cf_switches.h: doc checked
716
717        * cf_switches.cc: doc checked
718
719        * cf_switches.h (CFSwitchesMax): new constant
720        * cf_switches.h (class CFSwitches): number of switches replaced by
721          references to 'const int CFSwitchesMax'
722        * cf_switches.cc (CFSwitches): number of switches replaced by
723          references to 'const int CFSwitchesMax'
724
725        * cf_util.h: doc checked
726
727        * cf_util.cc: doc checked
728
729
730    **************** Factory Version 1.3a released ****************
731
732       
733        * configure.in: doc fix
734
735        * INSTALL: doc fix
736
737        * NEWS: doc fix
738
739        * README: doc fix
740
741Mon Jul 21 12:58:04 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
742
743        * sm_sparsemod.cc (internalSparsemod): sparsemod() renamed to
744          internalSparsemod()
745          (sparsemod): new function which is a simple wrapper around
746          internalSparsemod()
747
748        * GNUmakefile.in (distfiles): NEWS and INSTALL added to
749          distribution
750
751        * configure.in (factory_version): version number incremented
752        * INSTALL: version number incremented
753        * README: version number incremented
754
755        * configure.in: doc fix
756
757        * GNUmakefile.in (dist): changed suffix of distribution suffix
758          (distclean): changed suffix of distribution suffix
759
760        * NEWS: doc fix
761
762        * INSTALL: doc fix
763
764        * INSTALL: new file
765
766        * README: doc fix
767
768        * GNUmakefile.in (installgftables): bug fixes undone
769        (installgftables): completely rewritten
770
771Sat Jul 19 08:57:34 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
772
773        * GNUmakefile.in (installgftables): bug fix
774
775        * GNUmakefile.in (dist): output is more beautyful now
776
777        * cf_gcd.cc (gcd_poly): call to sparsemod() added
778
779        * cf_ops.cc (resultant): assertion added
780        (resultant): new variable flipFactor
781        (resultant): handling of trivial cases fixed
782        (resultant): some other minor bug fixes
783
784        * cf_ops.cc (resultant): doc fix
785
786        * README: doc fix
787
788        * NEWS: doc fix
789
790        * GNUmakefile.in (uninstallgftables): brute force ('rm -rf')
791          replaced by a safer variant
792
793Thu Jul 17 11:05:04 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
794
795        * sm_util.cc: doc fix
796        (interpol): doc fix
797
798        * sm_util.h (REArray): bug fix
799
800        * sm_sparsemod.cc: new file
801
802        * GNUmakefile.in (basefactoryincl): files sm_util.h and
803          sm_sparsemod.h added
804          (basefactorysrc): files sm_util.cc and sm_sparsemod.cc added
805
806        * NEWS: new file
807
808Wed Jul 16 11:35:06 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
809
810        * cf_chinese.cc: doc checked
811
812        * cf_chinese.h: doc checked
813
814        * .cvsignore (config.cache): new entry
815
816        * canonicalform.cc (CanonicalForm::ilog2): new method
817        * canonicalform.h (class CanonicalForm): new declaration of ilog2
818        (ilog2): new function
819        * int_cf.cc (InternalCF::ilog2): new method
820        * int_cf.h (class InternalCF): new declaration of ilog2
821        * int_int.cc (InternalInteger::ilog2): new method
822        * int_int.h (class InternalInteger): new declaration of ilog2
823        * fac_univar.cc (norm, dnorm): function dnorm replaced by norm
824        (kBound): uses ilog2() and norm() now
825
826Tue Jul 15 14:47:53 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
827
828        * sm_util.h (REArray): new typedef.  All references to
829          Array<REvaluation> changed to REArray.
830
831        * sm_util.h: doc checked
832
833        * sm_sparsemod.h: doc checked
834
835        * sm_sparsemod.h: new file
836
837Mon Jul 14 10:00:59 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
838
839        * sm_util.h: doc fix
840
841        * sm_util.h (dinterpol): bug fix of declaration
842
843        * sm_util.cc: doc fix
844
845        * sm_util.cc: new file
846
847        * sm_util.h: new file
848
849        * int_cf.h (OBJDEL): spurious macro OBJDEL removed
850
851        * README: new file
852        * GNUmakefile.in (distfiles): README added to distribution
853
854        * canonicalform.cc (initCanonicalForm): initialization of
855          SW_USE_SPARSEMOD added
856
857        * canonicalform.cc (CanonicalForm::degree( Variable )): doc fix
858
859        * configure.in: doc fix
860
861        * configure.in (libmem, headerfactory, factoryconf): output
862          variables removed
863
864        * configure.in (templatedir): initialization fixed
865
866Fri Jul 11 09:48:26 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
867
868        * canonicalform.cc (CanonicalForm::degree): doc fix
869
870        * GNUmakefile.in: dependencies checked
871
872        * GNUmakefile.in: doc fix
873
874        * GNUmakefile.in (.PHONY): phony targets updated
875
876        * GNUmakefile.in (clean): core and *~ will not be removed any
877          longer
878
879        * GNUmakefile.in (depend): dependencies config.h and factoryconf.h
880          removed
881
882        * GNUmakefile.in (dist): 'chmod 777' removed
883
884        * GNUmakefile.in (gengftables): dependency on 'all' replaced by
885          dependency on $(libfactory) and libcfmem.a
886
887        * GNUmakefile.in (gengftables.o): dependency cf_util.h removed
888        (gengftables.o): dependencies factoryconf.h and config.h added
889
890        * GNUmakefile.in (installcf, installgftables): bug fix
891        (uninstallcf): bug fix
892
893        * GNUmakefile.in (libmem, headerfactory, factoryconf): variables
894          removed.  All references changed (to 'libcfmem.a', 'factory.h',
895          and 'factoryconf.h', resp.).
896
897        * GNUmakefile.in (realmaintainer-clean): target removed
898
899        * GNUmakefile.in (templatesrc, templateincl): file
900          ftmpl_functions.h moved from $(templateincl) to $(templatesrc)
901
902        * GNUmakefile.in (TESTLDFLAGS): flag '-L.' moved to target
903          gengftables
904        (gengftables): '-L.' moved from $(TESTLDFLAGS) to command
905
906        * GNUmakefile.in (TESTCXXFLAGS): new variable
907        (gengftables.o): references to $(LIBCXXFLAGS) replaced by
908          references to $(TESTCXXFLAGS)
909
910Tue Jul  1 14:26:29 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
911
912        * GNUmakefile.in (dist): use ln instead of cp to build
913          distribution
914
915        * canonicalform.cc (initCanonicalForm, mmInit): initialize memory
916          managment if compiled with Singular.  New declaration of
917          mmInit().
918
919        * cf_random.cc (RandomGenerator): definitions of 'const long int'
920          in class for mac removed.  Instead, they are initialized in the
921          constructor.
922
923        * cf_random.h (factoryrandom, factoryseed): declarations marked as
924          public
925
926Mon Jun 30 15:38:08 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
927
928        * GNUmakefile.in (LIBCFLAGS, LIBCXXFLAGS, TMPLCXXFLAGS): option
929          -Wall replaced by references to $(WARNFLAGS)
930          (WARNFLAGS): new variable
931
932        * imm.h (MINIMMEDIATELL, MAXIMMEDIATELL): initialization for mac
933          added which does not like a 'LL' suffix
934
935        * templates/ftmpl_matrix.cc: include paths for mac added
936        * templates/ftmpl_list.cc: include paths for mac added
937        * templates/ftmpl_factor.cc: include paths for mac added
938        * templates/ftmpl_array.cc: include paths for mac added
939        * factory.template: include paths for mac added
940        * canonicalform.h: include paths for mac added
941        * ftmpl_inst.cc: include paths for mac added
942        * cf_gcd.cc: include paths for mac added
943        * cf_map.cc: include paths for mac added
944        * cf_map.h: include paths for mac added
945        * fac_ezgcd.cc: include paths for mac added
946
947        * configure: checked into RCS
948        * readcf.cc: checked into RCS
949
950Fri Jun 27 10:33:29 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
951
952        * bin/makeheader: doc checked
953        * bin/install-sh: doc checked
954        * bin/mkinstalldirs: doc checked
955
956        * bin/makeheader: checked into RCS
957        * bin/install-sh: checked into RCS
958        * bin/mkinstalldirs: checked into RCS
959
960Thu Jun 26 16:06:39 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
961
962        * GNUmakefile.in: doc checked
963
964        * GNUmakefile.in: doc fix
965
966Wed Jun 25 10:02:51 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
967
968        * configure.in (enable_gmp): bug fix
969        (CPPFLAGS, LDFLAGS): bug fix
970
971Tue Jun 24 11:15:25 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
972
973        * configure.in: doc checked
974
975        * configure.in (with_builtingmp): command line option
976          --with-builtingmp removed.  All references to with_builtingmp
977          and some additional code to deal with the command line options
978          --with-gmp and --with-builtin-gmp removed, too.
979
980        * configure.in (enable_assertions): disabled by default
981
982        * configure.in (enable_gmp): with_gmp and with_builtin_gmp are set
983          to '$(includedir)' if command line option --enable-gmp is given
984
985        * configure.in: fixes in configure's messages
986
987        * configure.in: doc fix
988
989Mon Jun 23 12:44:50 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
990
991        * config.h.in: doc checked
992        * factory.template: doc checked
993        * factoryconf.template: doc checked
994        * gengftables.cc: doc checked
995
996        * config.h.in: doc fix
997
998        * factory.template: doc fix
999
1000        * factoryconf.template: doc fix
1001
1002Fri Jun 20 12:09:00 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
1003
1004        * templates/: all files prefixed with 'ftmpl_'.  All #include
1005          statements changed.
1006        * GNUmakefile.in (templatesrc, templateincl): all files prefixed
1007          with 'ftmpl_'
1008
1009        * ftmpl_inst.cc, tmpl_inst.cc: tmpl_inst.cc renamed to
1010          ftmpl_inst.cc
1011        * GNUmakefile.in: all references to tmpl_inst replaced by
1012          references to ftmpl_inst
1013
1014Thu Jun 19 14:33:17 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
1015
1016        * config.h.in: doc fix
1017
1018        * factoryconf.template: doc fix
1019
1020        * headers of almost all source files fixed
1021
1022Thu Jun 12 13:12:49 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
1023
1024        * cf_globals.cc: doc fix
1025
1026Fri Jun  6 09:38:05 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
1027
1028        * configure.in: some stupid warnings removed if "dangerous"
1029          combinations of with's/enable's are specified on commandline.
1030          Some other fixes in configure's messages.
1031
1032        * configure.in (enable_memdebug): code removed which sets
1033          enable_memdebug to 'normal' since this is really never tested
1034
1035        * configure.in (with_gmp, with_builtingmp): new command line
1036          options.  Rest of configure.in adapted to new scheme of
1037          specifying where gmp lives.
1038
1039        * configure.in: doc fix
1040
1041        * GNUmakefile.in (distsrc, clean): gengftables added to
1042          distribution
1043          (distfiles): ChangeLog added to distribution
1044
1045Thu Jun  5 15:03:48 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
1046
1047        * configure.in (enable_debugoutput, enable_timing): dependency on
1048          with_Singular removed so '--with-Singular --enable-debugoutput'
1049          and '--with-Singular --enable-timing' are possible
1050
1051        * GNUmakefile.in (gengftables.o): check added which makes make
1052          complain if factory was not configured in the right way
1053
1054        * configure.in: checks on sizeof(int) == sizeof(void *) == 4
1055          removed
1056
1057        * debug.h: dependency on #define NDEBUG removed
1058
1059        * factoryconf.template: doc fix
1060
1061        * config.h.in: added to distribution as source file.  config.h.in
1062          is not created from acconfig.h any longer.
1063        * acconfig.h: removed from distribution
1064        * GNUmakefile.in: ($(srcdir)/config.h.in, $(srcdir)/stamp-h.in,
1065          realmaintainerclean, dist, distfiles): changed to reflect the
1066          changes described above
1067
1068        * config.h.in (INCL_CONFIG_H): new #define to prevent multiple
1069          inclusion of config.h
1070
1071        * GNUmakefile.in ($(srcdir)/configure): make will not complain
1072          about a missing autoconf any longer
1073
1074        * canonicalform.cc (operator>>): returns 0 again if #define
1075          SINGULAR and #define NOSTREAMIO are switched on
1076
1077Before Mon Jun  4 1997 Jens Schmidt <schmidt@mathematik.uni-kl.de>
1078
1079        This is a list of most of the changes I made after I took the
1080        responsibility for factory development and before I started to
1081        update the ChangeLog regularily.  It is unlikely to be complete.
1082
1083        Besides minor changes at "source code level" (bug fixes, new
1084        features) which are not really visible to the user in general
1085        there are quite a lot of changes at "organization level" (aka
1086        preprocessor level) and at "distribution level" (configure,
1087        Makefile).
1088
1089
1090        First, the changes at distribution level:
1091
1092        * bin: some useful/necessary scripts added to distribution
1093        * install-sh: moved to bin
1094
1095        * ChangeLog: added to distribution
1096
1097        * configure.in: totally rewritten
1098
1099        * config.h.in, conf.h.in: conf.h.in replaced by a totally
1100          rewritten config.h.in.  Furthermore, config.h is now explicitly
1101          included in allmost every source file of the distribution.
1102        * factoryconf.template: new file. factoyconf.h is included instead
1103          of config.h in all source files which are not translated but
1104          installed (e.g. templates).
1105
1106        * factory.template, factory.h: factory.h replaced by
1107          factory.template since makeheader is now included in
1108          the distribution
1109        * factory.template: rewritten to new makeheader syntax
1110
1111        * factory.template, singfactory.h: Singular stuff moved from
1112          singfactory.h to factory.template.  Wrapped by #ifdef
1113          SINGULAR.
1114        * singfactory.h: removed from distribution
1115
1116        * gengftables.cc: code for generating gftables added to
1117          distribution
1118
1119        * GNUmakefile.in, Makefile.in: Makefile.in replaced by a totally
1120          rewritten GNUmakefile.in
1121
1122        * INSTALL: removed from distribution since not up to date
1123
1124        * memman.h, mmalloc.c, mmallocs.c, mmheap.c, mmprivate.h,
1125          mmutil.c, mmallocb.c, mmblock.c, mminit.c, mmspec.c: new memory
1126          manager added to distribution
1127
1128        * mpext.cc, mpext.h, mpfactory.h: removed from distribution.  No
1129          more MP support.
1130        * config.h.in (MULTIPROTOCOL): #define MULTIPROTOCOL removed
1131        * int_int.h (class InternalInteger): declarations dependent on
1132          #define MULTIPROTOCOL removed
1133        * int_rat.h (class InternalRational): declarations dependent on
1134          #define MULTIPROTOCOL removed
1135
1136        * readcf.cc: added to distribution since not all users have
1137          bison available
1138
1139
1140        Now for the changes at organization level:
1141        If we refer to the "DEBOUT macros", the "ASSERT macros", or the
1142        "TIMING macros" we mean one (or more) of the macros defined in
1143        debug.h, assert.h, and timing.h, resp.
1144
1145        * assert.h (NOASSERT, NDEBUG): #define NDEBUG to switch off
1146          assertions replaced by #define NOASSERT.  For sake of backward
1147          compatibility NDEBUG works, too.
1148
1149        * assert.h (DEBINCLEVEL, DEBDECLEVEL, DEBOUTSL, DEBOUT, DEBOUTLN):
1150          DEBOUT macros moved to debug.h
1151        * assert.cc: renamed to debug.cc
1152        * debug.h, debug.cc: new files.  DEBOUT macros moved from
1153          assert.h/assert.cc to debug.h/debug.cc.  All source files which
1154          need these macros include debug.h.
1155
1156        * assert.h (PVIRT_VOID, PVIRT_INTCF, PVIRT_BOOL, PVIRT_INT,
1157          PVIRT_CHARCC): PVIRT_*-macros moved from int_cf.h to assert.h
1158        * int_cf.h (PVIRT_VOID, PVIRT_INTCF, PVIRT_BOOL, PVIRT_INT,
1159          PVIRT_CHARCC): PVIRT_*-macros moved to assert.h
1160
1161        * assert.h (__ASSERT, __STICKYASSERT): the preprocessor instead of
1162          fprintf() pastes the message into the format string now
1163
1164        * assert.h (__ASSERT1, ASSERT1, STICKYASSERT1): new macros
1165
1166        * assert.h (__WARN, WARN, STICKYWARN): new macros
1167
1168        * canonicalform.cc (operator>>): dependency on #define SINGULAR
1169          removed
1170
1171        * cf_defs.h (INCL_CF_DEFS_H, incl_cf_defs_H): #define
1172          incl_cf_defs_H renamed to #define INCL_CF_DEFS_H so
1173          cf_defs.h is included only once
1174
1175        * cf_factor.cc (factorize): dependency on #define MULTIFACTOR
1176          removed
1177
1178        * cf_factory.cc (CFFactory::basic( int, int )): error message
1179          changed to call of ASSERT macros
1180        * fac_util.cc: (crossprod): error message changed to call of
1181          ASSERT macros
1182        * int_cf.cc: several error messages changed to calls of ASSERT
1183          macros
1184        * int_cf.h (InternalCF::InternalCF( InternalCF& )): error message
1185          changed to call of ASSERT macros
1186        * int_poly.cc (InternalPoly::InternalPoly( InternalPoly& )): error
1187          message changed to call of ASSERT macros
1188        * templates/array.cc (Array<T>::operator[], Array<T>::operator+=):
1189          error messages changed to calls of ASSERT macros
1190        * templates/list.cc (List<T>::getFirst, List<T>::getLast,
1191          ListIterator<T>::getItem): error messages changed to calls of
1192          ASSERT macros
1193
1194        * cf_gcd.cc: debug output changed to calls of DEBOUT macros
1195        * cf_linsys.cc: debug output rewritten and changed to calls of
1196          DEBOUT macros
1197        * fac_berlekamp.cc (QPrintFF, QPrintGF): definition and calls of
1198          QPrintFF(), QPrintGF() wrapped by #ifdef DEBUGOUTPUT
1199        * fac_univar.cc: debug output rewritten
1200          (hprint): calls to hprint() wrapped by calls to #define
1201          DEBOUTHPRINT, which definition depends on #define DEBUGOUTPUT
1202          (instead of NDEBUG, as before).  All callers changed.
1203
1204        * cf_linsys.cc: superfluous #define TIMING removed
1205        * fac_distrib.cc: superfluous #undef DEBUGOUTPUT removed
1206        * fac_ezgcd.cc: some superfluous #defines (DEBUGOUTPUT, TIMING)
1207          and #includes removed
1208        * fac_multihensel.cc: some superfluous #defines (DEBUGOUTPUT, TIMING)
1209          removed
1210        * fac_multivar.cc: some superfluous #defines (DEBUGOUTPUT, TIMING)
1211          removed
1212        * fac_univar.cc: some superfluous #defines (DEBUGOUTPUT, TIMING)
1213          and #includes removed
1214
1215        * config.h.in (GFTABLEDIR): new #define
1216        * gfops.cc (gf_get_table): uses #define GFTABLEDIR to get path
1217          to the GF(q) tables
1218
1219        * config.h.in (MDEBUG, NOASSERT, TIMING, DEBUGOUTPUT): new
1220          #defines
1221
1222        * config.h.in (NOSTREAMIO): new #define NOSTREAMIO to switch off
1223          stream IO.  Operators <<, >>, and related stuff wrapped by
1224          #ifndef NOSTREAMIO.
1225
1226        * debug.cc (deb_level, level_msg, deb_inc_level):
1227          deb_inc_level()'s output made more pretty at time of first call
1228
1229        * debug.h (DEBOUT, DEBOUTLN): slightly modified so they print
1230          "objects" instead of only one "msg" and one "object".  All
1231          callers changed.
1232
1233        * debug.h (DEBUGOUTPUT): #define DEBUGOUTPUT is switched off now
1234          if #define NDEBUG is switched on
1235
1236        * fac_univar.cc (ZFactorizeUnivariate): timing stuff changed to
1237          calls of TIMING macros
1238
1239        * gmpext.h: references to #define INCL_GCDEXT_H replaced by
1240          references to #define INCL_GMPEXT_H
1241
1242        * initgmp.cc (initializeGMP): dependency on #define SINGULAR
1243          removed
1244
1245        * mmallocb.c (MM_TEST, TEST): references to #define TEST
1246          replaced by references to #define MM_TEST
1247
1248        * readcf.h: '#include <stdio.h>' replaced by '#include <iostream.h>'
1249
1250        * readcf.y: dependency on #define COMEAU removed
1251
1252        * templates/matrix.cc (ASSERT): definition of ASSERT macros
1253          replaced by inclusion of factoryconf.h
1254
1255        * timing.h (HZ): new #define to calculate ticks per second in a
1256          more portable way.  All references changed.
1257
1258        * timing.h (TIMING_DEFINE_PRINT, TIMING_END_AND_PRINT): stream IO
1259          changed to std IO
1260
1261        * timing.h (TIMING_END_AND_PRINT): new macro
1262
1263
1264        Last not least, changes at source code level:
1265
1266        * canonicalform.cc (mapinto): fixed mapping from int to GF(q)
1267
1268        * cf_factor.cc (sqrFree( CanonicalForm, boolean )): new
1269          function which sorts output if desired
1270        * cf_factor.cc (sqrFree( CanonicalForm )): changed to call new
1271          sqrFree()
1272        * canonicalform.h, cf_factor.h (sqrFree( CanonicalForm, boolean )):
1273          new declaration
1274        * fac_sqrfree.cc (compareFactors, sortCFFList): new functions used
1275          by new sqrFree()
1276        * fac_sqrfee.h (sortCFFList): new declaration
1277
1278        * cf_defs.h (SW_USE_SPARSEMOD): new switch
1279
1280        * cf_globals.cc (factoryVersion): new external
1281        * cf_globals.h (factoryVersion): new declaration
1282        * config.h.in (FACTORYVERSION): new #define
1283        * factory.template: '#include cf_globals.h' added because of
1284          version string
1285
1286        * cf_linsys.cc (linearSystemSolve, determinant, determinant2):
1287          typedef int_ptr added
1288          (linearSystemSolve, determinant, determinant2): 'new (int*)[..]'
1289          replaced by 'new int_ptr[..]'
1290        * templates/matrix.h (Matrix<T>::T_ptr): new typedef
1291        * templates/matrix.cc (Matrix<T>::Matrix( int, int ),
1292          Matrix<T>::Matrix( Matrix<T> ), Matrix<T>::operator=): 'new (T*)[..]'
1293          replaced by 'new T_ptr[..]'
1294
1295        * cf_iter.h: superfluous '#include <iostream.h>' removed
1296        * cf_factor.h: superfluous '#include <iostream.h>' removed
1297        * cf_reval.h: superfluous '#include <iostream.h>' removed
1298        * memutil.c: superfluous '#include <stdio.h>' removed
1299        * mmalloc.c: superfluous '#include <stdio.h>' removed
1300
1301        * cf_random.cc (RandomGenerator): new class
1302          (RanGen): new static
1303          (factoryrandom, factoryseed): calls to stdlib random generator
1304          replaced by methods of class RandomGenerator
1305
1306        * cf_switches.h (RATIONAL): superfluous #define RATIONAL removed
1307        * int_int.cc (IntInt): superfluous #define IntInt removed
1308        * int_pp.cc (IntPP): superfluous #define IntPP removed
1309
1310        * fac_univar.cc (initHG, ZFactorizeUnivariate): STICKYWARNings
1311          added because of some strange errors which occur in these
1312          functions
1313
1314        * fac_univar.cc (kBound): cast to double added in calculation of
1315          the bound
1316          (UnivariateQuadraticLift): cast to double added in calculation
1317          of no_iter
1318
1319        * fac_univar.cc (max_fp_fac, MAX_FP_FAC): '#define MAX_FP_FAC'
1320          replaced by 'const int max_fp_fac'.  All references changed.
1321
1322        * fac_univar.cc (ZFactorizeUnivariate): superfluous declaration of
1323          'CFFList G' removed.  Some trivial structural changes.  Test on
1324          'D != 0' (before deleting D) removed.
1325
1326        * gfops.h (gf_gf2ff, gf_isff): declarations marked as public for
1327          Singular
1328        * factory.template: '#include "gfops.h"' added
1329
1330        * gfops.cc (gf_get_table): gf_table[gf_q] is guaranteed to be 0
1331
1332        * gfops.cc (gf_get_table): rewritten.  Major changes: copies
1333          Singulars tables if these are present instead of reading from
1334          disk.  Uses standard IO instead of stream IO to read the tables.
1335        * singext.h (nfCharQ, nfM1, nfMinPoly, nfPlus1Table): declarations
1336          of Singular objects added to copy Singulars GF(q) tables
1337
1338        * gfops.cc (gf_get_table): length of temporary buffer replaced by
1339          'const int gf_maxbuffer'
1340
1341        * gfops.cc (gf_isff): rewritten
1342
1343        * gfops.cc (gf_maxtable, MAXTABLE): '#define MAXTABLE' replaced by
1344          'const int gf_maxtable'.  All references changed.
1345        * gfops.cc (gf_valid_combination): 'int m' replaced by references
1346          to gf_maxtable
1347
1348        * gfops.cc (intVec2CF): new function
1349
1350        * gfops.h (gf_mipo): new declaration
1351
1352        * imm.h (class InternalCF): superfluous declaration of class
1353          InternalCF removed
1354
1355        * imm.h (imm_intval): convertion from GF(q) to integer added
1356
1357        * int_int.cc (InternalInteger::genOne): Ruedigers last fryday
1358          afternoon fix
1359
1360        * variable.cc (Variable::name): casts to int added
1361
1362        * variable.cc (Variable::Variable( char ),
1363          Variable::Variable( int, char ), rootOf): 'delete ...' changed
1364          to 'delete [] ...' where necessary
Note: See TracBrowser for help on using the repository browser.