source: git/factory/ChangeLog @ 388fe1e

spielwiese
Last change on this file since 388fe1e was 388fe1e, checked in by Jens Schmidt <schmidt@…>, 27 years ago
o just a security check in git-svn-id: file:///usr/local/Singular/svn/trunk@388 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 9.9 KB
Line 
1Fri Jun  6 09:38:05 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
2
3        * configure.in: removed some stupid warnings when 'dangerous'
4          combinations of with's/enable's are specified and some other
5          fixes in configures messages
6
7        * configure.in (AC_ARG_ENABLE(memdebug)): removed code which sets
8          enable_memdebug to 'normal' since this is really never tested
9
10        * configure.in (AC_ARG_WITH(gmp, builtingmp)): new command line
11          options.  rest of configure.in adapted to the new scheme of
12          specifying where gmp lives
13
14        * configure.in: doc fix
15
16        * GNUmakefile.in (distsrc, clean): gengftables added to the
17          distribution
18          (distfiles): ChangeLog added to the distribution
19
20Thu Jun  5 15:03:48 1997  Jens Schmidt  <schmidt@mathematik.uni-kl.de>
21
22        * configure.in: --with-Singular --enable-debugoutput is now
23          possible.  So is --with-Singular --enable-timing.
24
25        * GNUmakefile.in (gengftables.o): added check which makes make
26          complain if factory was not configured in the right way
27
28        * configure.in: removed checks on sizeof(int) == sizeof(void *)
29          == 4
30
31        * debug.h: removed dependency on NDEBUG
32
33        * factoryconf.template: doc fix
34
35        * GNUmakefile.in: ($(srcdir)/config.h.in, $(srcdir)/stamp-h.in,
36          realmaintainerclean, dist, distfiles): instead of creating
37          config.h.in we will deliver it as a real source file
38        * config.h.in: config.h.in is a real source file and not
39          longer created from acconfig.h
40
41        * config.h.in (INCL_CONFIG_H): added flag to prevent multiple
42          inclusion of config.h
43
44        * GNUmakefile.in ($(srcdir)/configure): make will not complain
45          about a missing autoconf any longer
46
47        * canonicalform.cc (operator >>, SINGULAR): returns 0 again when
48          compiled with Singular and with stream IO enabled
49
50Before Mon Jun  4 1997 Jens Schmidt <schmidt@mathematik.uni-kl.de>
51
52        This is a list of most of the changes made after I took the
53        responsibility for factory development and before I started to
54        update the ChangeLog regularily.  It is unlikely to be complete.
55
56        Besides minor changes at 'source code level' (bug fixes, new
57        functionality) which are not really visible to the user in general
58        there are quite a lot of changes at 'organization level' (aka
59        preprocessor functionality) and at 'distribution level'
60        (configure, Makefile).
61
62
63        First, the changes at distribution level:
64
65        * bin: some useful/necessary scripts added to the distribution
66        * install-sh: moved to bin
67
68        * ChangeLog: added to the distribution
69
70        * configure.in: totally rewritten
71
72        * conf.h.in, config.h.in: conf.h.in replaced by a totally
73          rewritten config.h.in.  Furthermore, config.h is now explecitely
74          included in allmost every file of the distribution.
75        * factoryconf.template: the contents of config.h and assert.h is
76          now pasted into factoryconf.h created from factoryconf.template.
77          factoyconf.h is included instead of config.h in all source files
78          which are not translated but installed (e.g. templates) and is
79          installed, too.
80
81        * factory.template, factory.h: factory.h removed from the
82          distribution, factory.template added since makeheader is now
83          included in the distribution
84        * singfactory.h: removed from distribution.  Functionality
85          moved to factory.template/factory.h.
86
87        * gengftables.cc: code for generating gftables added to the
88          distribution
89
90        * INSTALL: removed from distribution since not up to date
91
92        * memman.h, mmalloc.c, mmallocs.c, mmheap.c, mmprivate.h,
93          mmutil.c, mmallocb.c, mmblock.c, mminit.c, mmspec.c: new memory
94          manager added to the distribution
95
96        * Makefile.in, GNUmakefile.in: Makefile.in replaced by a totally
97          rewritten GNUmakefile.in
98
99        * mpext.cc, mpext.h, mpfactory.h: removed from distribution.  No
100          more MULTIPROTOCOL support.
101
102        * readcf.cc: added to distribution since not all users have
103          bison available
104
105
106        Now for the changes at organization level:
107
108        * canonicalform.cc (operator >>, SINGULAR): removed dependency on
109          #define SINGULAR
110
111        * cf_factor.cc (factorize, MULTIFACTOR): removed dependency on
112          #define MULTIFACTOR
113
114        * cf_defs.h (incl_cf_defs_H, INCL_CF_DEFS_H): #define renamed so
115          cf_defs.h is included only once
116
117        * cf_gcd.cc (DEBOUT): debug output changed to calls of DEBOUT
118          macros
119        * cf_linsys.cc (DEBOUT): debug output rewritten and changed to
120          calls of DEBOUT macros
121        * fac_berlekamp.cc (QPrintFF, QPrintGF, DEBOUT): debug output
122          changed to calls of DEBOUT macros
123        * fac_univar.cc (DEBOUT, DEBOUTLN, DEBINCLEVEL, DEBDECLEVEL):
124          debug output rewritten
125          (hprint, DEBOUTHPRINT, NDEBUG): calls to function hprint()
126          wrapped by macro DEBOUTHPRINT, which definitions depends on
127          DEBUGOUTPUT (instead of NDEBUG, as before).  All callers
128          changed.
129        * timing.h (iostream.h stdio.h): stream IO changed to std IO
130
131        * cf_linsys.cc (TIMING): #define TIMING removed
132        * fac_distrib.cc (DEBUGOUTPUT): #undef DEBUGOUTPUT removed
133        * fac_ezgcd.cc (DEBUGOUTPUT, TIMING, timing.h): some spurious
134          #define's and #include's removed
135        * fac_multihensel.cc (DEBUGOUTPUT, TIMING): some spurious
136          #define's removed
137        * fac_multivar.cc (DEBUGOUTPUT, TIMING): some spurious
138          #define's removed
139        * fac_univar.cc (DEBUGOUTPUT, TIMING, sys/times.h): some spurious
140          #define's and #include's removed
141
142        * config.h.in (MDEBUG, NOASSERT, TIMING, DEBUGOUTPUT): new
143          #defines
144
145        * config.h.in (MULTIPROTOCOL): #define removed.  No more
146          MULTIPROTOCOL support.
147        * int_int.h (class InternalInteger, MULTIPROTOCOL): removed
148          declarations dependent on #define MULTIPROTOCOL
149        * int_rat.h (class InternalRational, MULTIPROTOCOL): removed
150          declarations dependent on #define MULTIPROTOCOL
151
152        * config.h.in (NOSTREAMIO): new define NOSTREAMIO to switch off
153          stream IO.  Operators <<, >>, and related stuff wrapped by
154          #ifndef where necessary
155
156        * cf_factory.cc (CFFactory::basic ( int, int ), ASSERT1): error
157          message changed to call of ASSERT1 macro
158        * fac_util.cc: (crossprod, ASSERT): error message changed to
159          call of ASSERT macro
160        * int_cf.cc: (ASSERT, ASSERT1): error messages changed to calls of
161          ASSERT1 macro
162        * int_cf.h (InternalCF::InternalCF( InternalCF& ), ASSERT): error
163          message changed to call of ASSERT macro
164        * int_poly.cc (InternalPoly::InternalPoly( InternalPoly& ),
165          ASSERT): error message changed to call of ASSERT macro
166
167        * fac_univar.cc (TIMING, TIMING_END_AND_PRINT, timing.h): timing
168          stuff changed to calls of TIMING macros
169
170        * initgmp.cc (initializeGMP, SINGULAR): dependency on
171          #define SINGULAR removed
172
173        * int_cf.h (PVIRT_VOID, PVIRT_INTCF, PVIRT_BOOL, PVIRT_INT,
174          PVIRT_CHARCC): PVIRT_-*functionality moved to assert.h
175
176        * mmallocb.c (TEST, MM_TEST): references to #define TEST changed
177          to MM_TEST
178
179        * timing.h (TIMING_END_AND_PRINT): new macro
180
181        * timing.h (HZ, CLOCKS_PER_SEC, time.h): ticks per second
182          calculated in a hopefully more portable way
183
184        * timing.h: doc fix
185
186
187        Last not least, changes at source code level:
188
189        * canonicalform.cc (mapinto): fixed mapping from int to GF
190
191        * cf_defs.h (SW_USE_SPARSEMOD): new switch
192
193        * cf_factor.cc, cf_factor.h (sqrFree( CanonicalForm, boolean )):
194          new function which sorts output if desired
195        * cf_factor.cc (sqrFree): simply calls the new function now
196
197        * cf_globals.cc (factoryVersion, FACTORYVERSION): version string
198          added
199        * cf_globals.h (factoryVersion): version string added
200        * config.h.in (FACTORYVERSION): new #define to initialize
201          factoryVersion
202
203        * cf_linsys.cc (linearSystemSolve, determinant, determinant2):
204          typedef int_ptr introduced and used
205
206        * cf_random.cc (RandomGenerator, RanGen): new class
207          RandomGenerator and new static RanGen which replace calls to the
208          poorly programmed stdlib-random generator
209
210        * cf_iter.h (iostream.h): spurious #include <iostream.h> removed
211        * cf_factor.h (iostream.h): spurious #include <iostream.h> removed
212        * cf_reval.h (iostream.h): spurious #include <iostream.h> removed
213        * cf_switches.h (RATTIONAL): spurious #define RATIONAL removed
214        * int_int.cc (IntInt): spurious #define IntInt removed
215        * int_pp.cc (IntPP): spurious #define IntPP removed
216        * memutil.c (stdio.h): spurious #include <stdio.h> removed
217        * mmalloc.c (stdio.h): spurious #include <stdio.h> removed
218
219        * fac_univar.cc (MAX_FP_FAC, max_fp_fac): #define changed to const int
220
221        * fac_univar.cc (initHG, ZFactorizeUnivariate): added
222          STICKYWARNings because of some strange errors which occure in
223          these functions
224
225        * fac_univar.cc (kBound): added cast to double in calculation of
226          the bound
227          (UnivariateQuadraticLift): added cast to double in calculation
228          of no_iter
229
230        * fac_univar.cc (ZFactorizeUnivariate): removed spurious
231          declaration of CFFList G.  Some trivial structural changes.
232          Removed test on D != 0 before deleting D.
233
234        * fac_univar.cc: doc fix
235
236        * int_int.cc (InternalInteger::genOne): Ruedigers last fryday
237          afternoon fix
238
239        * variable.cc (Variable::Variable( char ), Variable::Variable( int, char ),
240          rootOf): delete changed to delete [] where necessary
241
242        * variable.cc (Variable::name): casts to int added
243
244
245        Not sorted yet:
246
247        * assert.h (NOASSERT, NDEBUG): the define to switch the assertions
248          off is NOASSERT instead of NDEBUG.  But NDEBUG works, too, for
249          backward compatibility.
250          (__ASSERT1, ASSERT1, STICKYASSERT1): new assert macros which
251          print additional argument
252          (DEBINCLEVEL, DEBDECLEVEL, DEBOUTSL, DEBOUT, DEBOUTLN): debug
253          functionality moved to debug.h
254          (PVIRT_VOID, PVIRT_INTCF, PVIRT_BOOL, PVIRT_INT, PVIRT_CHARCC):
255          PVIRT_*-functionality moved from int_cf.h to assert.h
256          (__WARN, WARN, STICKYWARN): new macros
257          (__ASSERT, __STICKYASSERT): the preprocessor instead of
258          fpritnf() pastes the message into the format string now
259        * assert.cc: renamed to debug.cc
260        * debug.h, debug.cc: new files.  DEBOUT-functionality moved from
261          assert.h/assert.cc to these files.  All sourcre files which need
262          this functionality include debug.h.
263          (DEBUGOUTPUT, NDEBUG): DEBUGOUTPUT is switched off now if NDEBUG
264          is switched on
265          (DEBOUT, DEBOUTLN): slightly modified so they print 'objects'
266          now instead of only one 'msg' and one 'object'.  All callers
267          changed.
268          (deb_level, level_msg, deb_inc_level): modified so
269          deb_inc_level()'s output is more pretty at time of first call
Note: See TracBrowser for help on using the repository browser.