source: git/factory/ChangeLog @ 06d4ff

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