source: git/factory/ChangeLog @ 92ea79

spielwiese
Last change on this file since 92ea79 was 92ea79, checked in by Jens Schmidt <schmidt@…>, 27 years ago
* ChangeLog: Well ... git-svn-id: file:///usr/local/Singular/svn/trunk@526 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 16.3 KB
Line 
1Wed Jul 16 11:35:06 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
2
3        * canonicalform.cc (CanonicalForm::ilog2): new method
4        * canonicalform.h (class CanonicalForm): new declaration of ilog2
5        (ilog2): new function
6        * int_cf.cc (InternalCF::ilog2): new method
7        * int_cf.h (class InternalCF): new declaration of ilog2
8        * int_int.cc (InternalInteger::ilog2): new method
9        * int_int.h (class InternalInteger): new declaration of ilog2
10        * fac_univar.cc (norm, dnorm): function dnorm replaced by norm
11        (kBound): uses ilog2() and norm() now
12
13Tue Jul  1 14:26:29 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
14
15        * GNUmakefile.in (dist): use ln instead of cp to build
16          distribution
17
18        * canonicalform.cc (initCanonicalForm, mmInit): initialize memory
19          managment if compiled with Singular.  New declaration of
20          mmInit().
21
22        * cf_random.cc (RandomGenerator): removed definitions of
23          'const long int' in class for mac.  Instead, they are
24          initialized in the constructor.
25
26        * cf_random.h (factoryrandom, factoryseed): declarations marked as
27          public
28
29Mon Jun 30 15:38:08 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
30
31        * GNUmakefile.in (LIBCFLAGS, LIBCXXFLAGS, TMPLCXXFLAGS): option
32          -Wall replaced by references to $(WARNFLAGS)
33          (WARNFLAGS): new variable
34
35        * imm.h (MINIMMEDIATELL, MAXIMMEDIATELL): initialization for mac
36          added which does not like a 'LL' suffix
37
38        * templates/ftmpl_matrix.cc: include paths for mac added
39        * templates/ftmpl_list.cc: include paths for mac added
40        * templates/ftmpl_factor.cc: include paths for mac added
41        * templates/ftmpl_array.cc: include paths for mac added
42        * factory.template: include paths for mac added
43        * canonicalform.h: include paths for mac added
44        * ftmpl_inst.cc: include paths for mac added
45        * cf_gcd.cc: include paths for mac added
46        * cf_map.cc: include paths for mac added
47        * cf_map.h: include paths for mac added
48        * fac_ezgcd.cc: include paths for mac added
49
50        * configure: checked into RCS
51        * readcf.cc: checked into RCS
52
53Fri Jun 27 10:33:29 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
54
55        * bin/makeheader: doc checked
56        * bin/install-sh: doc checked
57        * bin/mkinstalldirs: doc checked
58
59        * bin/makeheader: checked into RCS
60        * bin/install-sh: checked into RCS
61        * bin/mkinstalldirs: checked into RCS
62
63Thu Jun 26 16:06:39 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
64
65        * GNUmakefile.in: doc checked
66
67        * GNUmakefile.in: doc fix
68
69Wed Jun 25 10:02:51 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
70
71        * configure.in (enable_gmp): bug fix
72        (CPPFLAGS, LDFLAGS): bug fix
73
74Tue Jun 24 11:15:25 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
75
76        * configure.in: doc checked
77
78        * configure.in (with_builtingmp): command line option
79          --with-builtingmp removed.  All references to with_builtingmp
80          and some additional code to deal with the command line options
81          --with-gmp and --with-builtin-gmp removed, too.
82
83        * configure.in (enable_assertions): disabled by default
84
85        * configure.in (enable_gmp): with_gmp and with_builtin_gmp are set
86          to '$(includedir)' if command line option --enable-gmp is given
87
88        * configure.in: fixes in configure's messages
89
90        * configure.in: doc fix
91
92Mon Jun 23 12:44:50 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
93
94        * config.h.in: doc checked
95        * factory.template: doc checked
96        * factoryconf.template: doc checked
97        * gengftables.cc: doc checked
98
99        * config.h.in: doc fix
100
101        * factory.template: doc fix
102
103        * factoryconf.template: doc fix
104
105Fri Jun 20 12:09:00 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
106
107        * templates/: all files prefixed with 'ftmpl_'.  All #include
108          statements changed.
109        * GNUmakefile.in (templatesrc, templateincl): all files prefixed
110          with 'ftmpl_'
111
112        * ftmpl_inst.cc, tmpl_inst.cc: tmpl_inst.cc renamed to
113          ftmpl_inst.cc
114        * GNUmakefile.in: all references to tmpl_inst replaced by
115          references to ftmpl_inst
116
117Thu Jun 19 14:33:17 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
118
119        * config.h.in: doc fix
120
121        * factoryconf.template: doc fix
122
123        * headers of almost all source files fixed
124
125Thu Jun 12 13:12:49 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
126
127        * cf_globals.cc: doc fix
128
129Fri Jun  6 09:38:05 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
130
131        * configure.in: some stupid warnings removed if "dangerous"
132          combinations of with's/enable's are specified on commandline.
133          Some other fixes in configure's messages.
134
135        * configure.in (enable_memdebug): code removed which sets
136          enable_memdebug to 'normal' since this is really never tested
137
138        * configure.in (with_gmp, with_builtingmp): new command line
139          options.  Rest of configure.in adapted to new scheme of
140          specifying where gmp lives.
141
142        * configure.in: doc fix
143
144        * GNUmakefile.in (distsrc, clean): gengftables added to
145          distribution
146          (distfiles): ChangeLog added to distribution
147
148Thu Jun  5 15:03:48 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
149
150        * configure.in (enable_debugoutput, enable_timing): dependency on
151          with_Singular removed so '--with-Singular --enable-debugoutput'
152          and '--with-Singular --enable-timing' are possible
153
154        * GNUmakefile.in (gengftables.o): check added which makes make
155          complain if factory was not configured in the right way
156
157        * configure.in: checks on sizeof(int) == sizeof(void *) == 4
158          removed
159
160        * debug.h: dependency on #define NDEBUG removed
161
162        * factoryconf.template: doc fix
163
164        * config.h.in: added to distribution as source file.  config.h.in
165          is not created from acconfig.h any longer.
166        * acconfig.h: removed from distribution
167        * GNUmakefile.in: ($(srcdir)/config.h.in, $(srcdir)/stamp-h.in,
168          realmaintainerclean, dist, distfiles): changed to reflect the
169          changes described above
170
171        * config.h.in (INCL_CONFIG_H): new #define to prevent multiple
172          inclusion of config.h
173
174        * GNUmakefile.in ($(srcdir)/configure): make will not complain
175          about a missing autoconf any longer
176
177        * canonicalform.cc (operator>>): returns 0 again if #define
178          SINGULAR and #define NOSTREAMIO are switched on
179
180Before Mon Jun  4 1997 Jens Schmidt <schmidt@mathematik.uni-kl.de>
181
182        This is a list of most of the changes I made after I took the
183        responsibility for factory development and before I started to
184        update the ChangeLog regularily.  It is unlikely to be complete.
185
186        Besides minor changes at "source code level" (bug fixes, new
187        features) which are not really visible to the user in general
188        there are quite a lot of changes at "organization level" (aka
189        preprocessor level) and at "distribution level" (configure,
190        Makefile).
191
192
193        First, the changes at distribution level:
194
195        * bin: some useful/necessary scripts added to distribution
196        * install-sh: moved to bin
197
198        * ChangeLog: added to distribution
199
200        * configure.in: totally rewritten
201
202        * config.h.in, conf.h.in: conf.h.in replaced by a totally
203          rewritten config.h.in.  Furthermore, config.h is now explicitly
204          included in allmost every source file of the distribution.
205        * factoryconf.template: new file. factoyconf.h is included instead
206          of config.h in all source files which are not translated but
207          installed (e.g. templates).
208
209        * factory.template, factory.h: factory.h replaced by
210          factory.template since makeheader is now included in
211          the distribution
212        * factory.template: rewritten to new makeheader syntax
213
214        * factory.template, singfactory.h: Singular stuff moved from
215          singfactory.h to factory.template.  Wrapped by #ifdef
216          SINGULAR.
217        * singfactory.h: removed from distribution
218
219        * gengftables.cc: code for generating gftables added to
220          distribution
221
222        * GNUmakefile.in, Makefile.in: Makefile.in replaced by a totally
223          rewritten GNUmakefile.in
224
225        * INSTALL: removed from distribution since not up to date
226
227        * memman.h, mmalloc.c, mmallocs.c, mmheap.c, mmprivate.h,
228          mmutil.c, mmallocb.c, mmblock.c, mminit.c, mmspec.c: new memory
229          manager added to distribution
230
231        * mpext.cc, mpext.h, mpfactory.h: removed from distribution.  No
232          more MP support.
233        * config.h.in (MULTIPROTOCOL): #define MULTIPROTOCOL removed
234        * int_int.h (class InternalInteger): declarations dependent on
235          #define MULTIPROTOCOL removed
236        * int_rat.h (class InternalRational): declarations dependent on
237          #define MULTIPROTOCOL removed
238
239        * readcf.cc: added to distribution since not all users have
240          bison available
241
242
243        Now for the changes at organization level:
244        If we refer to the "DEBOUT macros", the "ASSERT macros", or the
245        "TIMING macros" we mean one (or more) of the macros defined in
246        debug.h, assert.h, and timing.h, resp.
247
248        * assert.h (NOASSERT, NDEBUG): #define NDEBUG to switch off
249          assertions replaced by #define NOASSERT.  For sake of backward
250          compatibility NDEBUG works, too.
251
252        * assert.h (DEBINCLEVEL, DEBDECLEVEL, DEBOUTSL, DEBOUT, DEBOUTLN):
253          DEBOUT macros moved to debug.h
254        * assert.cc: renamed to debug.cc
255        * debug.h, debug.cc: new files.  DEBOUT macros moved from
256          assert.h/assert.cc to debug.h/debug.cc.  All source files which
257          need these macros include debug.h.
258
259        * assert.h (PVIRT_VOID, PVIRT_INTCF, PVIRT_BOOL, PVIRT_INT,
260          PVIRT_CHARCC): PVIRT_*-macros moved from int_cf.h to assert.h
261        * int_cf.h (PVIRT_VOID, PVIRT_INTCF, PVIRT_BOOL, PVIRT_INT,
262          PVIRT_CHARCC): PVIRT_*-macros moved to assert.h
263
264        * assert.h (__ASSERT, __STICKYASSERT): the preprocessor instead of
265          fprintf() pastes the message into the format string now
266
267        * assert.h (__ASSERT1, ASSERT1, STICKYASSERT1): new macros
268
269        * assert.h (__WARN, WARN, STICKYWARN): new macros
270
271        * canonicalform.cc (operator>>): dependency on #define SINGULAR
272          removed
273
274        * cf_defs.h (INCL_CF_DEFS_H, incl_cf_defs_H): #define
275          incl_cf_defs_H renamed to #define INCL_CF_DEFS_H so
276          cf_defs.h is included only once
277
278        * cf_factor.cc (factorize): dependency on #define MULTIFACTOR
279          removed
280
281        * cf_factory.cc (CFFactory::basic( int, int )): error message
282          changed to call of ASSERT macros
283        * fac_util.cc: (crossprod): error message changed to call of
284          ASSERT macros
285        * int_cf.cc: several error messages changed to calls of ASSERT
286          macros
287        * int_cf.h (InternalCF::InternalCF( InternalCF& )): error message
288          changed to call of ASSERT macros
289        * int_poly.cc (InternalPoly::InternalPoly( InternalPoly& )): error
290          message changed to call of ASSERT macros
291        * templates/array.cc (Array<T>::operator[], Array<T>::operator+=):
292          error messages changed to calls of ASSERT macros
293        * templates/list.cc (List<T>::getFirst, List<T>::getLast,
294          ListIterator<T>::getItem): error messages changed to calls of
295          ASSERT macros
296
297        * cf_gcd.cc: debug output changed to calls of DEBOUT macros
298        * cf_linsys.cc: debug output rewritten and changed to calls of
299          DEBOUT macros
300        * fac_berlekamp.cc (QPrintFF, QPrintGF): definition and calls of
301          QPrintFF(), QPrintGF() wrapped by #ifdef DEBUGOUTPUT
302        * fac_univar.cc: debug output rewritten
303          (hprint): calls to hprint() wrapped by calls to #define
304          DEBOUTHPRINT, which definition depends on #define DEBUGOUTPUT
305          (instead of NDEBUG, as before).  All callers changed.
306
307        * cf_linsys.cc: superfluous #define TIMING removed
308        * fac_distrib.cc: superfluous #undef DEBUGOUTPUT removed
309        * fac_ezgcd.cc: some superfluous #defines (DEBUGOUTPUT, TIMING)
310          and #includes removed
311        * fac_multihensel.cc: some superfluous #defines (DEBUGOUTPUT, TIMING)
312          removed
313        * fac_multivar.cc: some superfluous #defines (DEBUGOUTPUT, TIMING)
314          removed
315        * fac_univar.cc: some superfluous #defines (DEBUGOUTPUT, TIMING)
316          and #includes removed
317
318        * config.h.in (GFTABLEDIR): new #define
319        * gfops.cc (gf_get_table): uses #define GFTABLEDIR to get path
320          to the GF(q) tables
321
322        * config.h.in (MDEBUG, NOASSERT, TIMING, DEBUGOUTPUT): new
323          #defines
324
325        * config.h.in (NOSTREAMIO): new #define NOSTREAMIO to switch off
326          stream IO.  Operators <<, >>, and related stuff wrapped by
327          #ifndef NOSTREAMIO.
328
329        * debug.cc (deb_level, level_msg, deb_inc_level):
330          deb_inc_level()'s output made more pretty at time of first call
331
332        * debug.h (DEBOUT, DEBOUTLN): slightly modified so they print
333          "objects" instead of only one "msg" and one "object".  All
334          callers changed.
335
336        * debug.h (DEBUGOUTPUT): #define DEBUGOUTPUT is switched off now
337          if #define NDEBUG is switched on
338
339        * fac_univar.cc (ZFactorizeUnivariate): timing stuff changed to
340          calls of TIMING macros
341
342        * gmpext.h: references to #define INCL_GCDEXT_H replaced by
343          references to #define INCL_GMPEXT_H
344
345        * initgmp.cc (initializeGMP): dependency on #define SINGULAR
346          removed
347
348        * mmallocb.c (MM_TEST, TEST): references to #define TEST
349          replaced by references to #define MM_TEST
350
351        * readcf.h: '#include <stdio.h>' replaced by '#include <iostream.h>'
352
353        * readcf.y: dependency on #define COMEAU removed
354
355        * templates/matrix.cc (ASSERT): definition of ASSERT macros
356          replaced by inclusion of factoryconf.h
357
358        * timing.h (HZ): new #define to calculate ticks per second in a
359          more portable way.  All references changed.
360
361        * timing.h (TIMING_DEFINE_PRINT, TIMING_END_AND_PRINT): stream IO
362          changed to std IO
363
364        * timing.h (TIMING_END_AND_PRINT): new macro
365
366
367        Last not least, changes at source code level:
368
369        * canonicalform.cc (mapinto): fixed mapping from int to GF(q)
370
371        * cf_factor.cc (sqrFree( CanonicalForm, boolean )): new
372          function which sorts output if desired
373        * cf_factor.cc (sqrFree( CanonicalForm )): changed to call new
374          sqrFree()
375        * canonicalform.h, cf_factor.h (sqrFree( CanonicalForm, boolean )):
376          new declaration
377        * fac_sqrfree.cc (compareFactors, sortCFFList): new functions used
378          by new sqrFree()
379        * fac_sqrfee.h (sortCFFList): new declaration
380
381        * cf_defs.h (SW_USE_SPARSEMOD): new switch
382
383        * cf_globals.cc (factoryVersion): new external
384        * cf_globals.h (factoryVersion): new declaration
385        * config.h.in (FACTORYVERSION): new #define
386        * factory.template: '#include cf_globals.h' added because of
387          version string
388
389        * cf_linsys.cc (linearSystemSolve, determinant, determinant2):
390          typedef int_ptr added
391          (linearSystemSolve, determinant, determinant2): 'new (int*)[..]'
392          replaced by 'new int_ptr[..]'
393        * templates/matrix.h (Matrix<T>::T_ptr): new typedef
394        * templates/matrix.cc (Matrix<T>::Matrix( int, int ),
395          Matrix<T>::Matrix( Matrix<T> ), Matrix<T>::operator=): 'new (T*)[..]'
396          replaced by 'new T_ptr[..]'
397
398        * cf_iter.h: superfluous '#include <iostream.h>' removed
399        * cf_factor.h: superfluous '#include <iostream.h>' removed
400        * cf_reval.h: superfluous '#include <iostream.h>' removed
401        * memutil.c: superfluous '#include <stdio.h>' removed
402        * mmalloc.c: superfluous '#include <stdio.h>' removed
403
404        * cf_random.cc (RandomGenerator): new class
405          (RanGen): new static
406          (factoryrandom, factoryseed): calls to stdlib random generator
407          replaced by methods of class RandomGenerator
408
409        * cf_switches.h (RATIONAL): superfluous #define RATIONAL removed
410        * int_int.cc (IntInt): superfluous #define IntInt removed
411        * int_pp.cc (IntPP): superfluous #define IntPP removed
412
413        * fac_univar.cc (initHG, ZFactorizeUnivariate): STICKYWARNings
414          added because of some strange errors which occur in these
415          functions
416
417        * fac_univar.cc (kBound): cast to double added in calculation of
418          the bound
419          (UnivariateQuadraticLift): cast to double added in calculation
420          of no_iter
421
422        * fac_univar.cc (max_fp_fac, MAX_FP_FAC): '#define MAX_FP_FAC'
423          replaced by 'const int max_fp_fac'.  All references changed.
424
425        * fac_univar.cc (ZFactorizeUnivariate): superfluous declaration of
426          'CFFList G' removed.  Some trivial structural changes.  Test on
427          'D != 0' (before deleting D) removed.
428
429        * gfops.h (gf_gf2ff, gf_isff): declarations marked as public for
430          Singular
431        * factory.template: '#include "gfops.h"' added
432
433        * gfops.cc (gf_get_table): gf_table[gf_q] is guaranteed to be 0
434
435        * gfops.cc (gf_get_table): rewritten.  Major changes: copies
436          Singulars tables if these are present instead of reading from
437          disk.  Uses standard IO instead of stream IO to read the tables.
438        * singext.h (nfCharQ, nfM1, nfMinPoly, nfPlus1Table): declarations
439          of Singular objects added to copy Singulars GF(q) tables
440
441        * gfops.cc (gf_get_table): length of temporary buffer replaced by
442          'const int gf_maxbuffer'
443
444        * gfops.cc (gf_isff): rewritten
445
446        * gfops.cc (gf_maxtable, MAXTABLE): '#define MAXTABLE' replaced by
447          'const int gf_maxtable'.  All references changed.
448        * gfops.cc (gf_valid_combination): 'int m' replaced by references
449          to gf_maxtable
450
451        * gfops.cc (intVec2CF): new function
452
453        * gfops.h (gf_mipo): new declaration
454
455        * imm.h (class InternalCF): superfluous declaration of class
456          InternalCF removed
457
458        * imm.h (imm_intval): convertion from GF(q) to integer added
459
460        * int_int.cc (InternalInteger::genOne): Ruedigers last fryday
461          afternoon fix
462
463        * variable.cc (Variable::name): casts to int added
464
465        * variable.cc (Variable::Variable( char ),
466          Variable::Variable( int, char ), rootOf): 'delete ...' changed
467          to 'delete [] ...' where necessary
Note: See TracBrowser for help on using the repository browser.