-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
354 lines (236 loc) · 11.4 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
2017-05-01 Ales Cepek <cepek@dodo>
* matvec 1.02 - user defined initializer replaced by
std::initializer_list
2016-08-19 Ales Cepek <cepek@biggy>
* patch by Greg Troxel
fixed "test ==", which is a bash extension and not POSIX compliant
2016-08-14 Ales Cepek <[email protected]>
* new release 1.18
This is a maintainer's version introducing some minor technical
changes and important syntax changes in configure.ac (many thanks
to Greg Troxel <[email protected]> for the patch and testing on OS X
10.9, netbsd-7 i386 and netbsd-7 amd64).
* configure.ac : patch by Greg Troxel <[email protected]>
CPPFLAGS was set with +=, which is a bash extension and fails on
POSIX-conforming shells. This resulted in sqlite3 support not being
enabled on NetBSD, even though the sqlite3 library was found and
linked in.
* fixed some minor problems reported by Greg Troxel (doc, NEWS)
* in local/network.cpp commented out // removed_obs.clear();
* fixed a formatting bug in outlaying terms (due to c++11)
* fixed a bug in HTML parser test
* Simplified class LocalPoint. Removed helper classes XYZ, XY and
ZZ, replace by correspondning constructors. Removed exceptions
from x(), y() and z() methods; user of the class is responsible
for correct usage of LocalPoint objects, i.e. for calling
test_xy() and test_z().
* fixed a bug in sql export reported by Dominik Hladik
* added @documentencoding UTF-8 into gama.texi
2015-11-08 Ales Cepek <[email protected]>
* new release 1.17
This is a maintainer's version introducing some basic functions
for handling inconsistent systems (like right-handed coordinates
with left-handed angles). Gama-local program solves this problem
by internally changig signs of all Y coordinates, together with
observed Y coordinates and Y differences (vectors).
All y signed information is changed in the output. This works file
for batch processing (gama-local) but fails in interactive
dialogue environment of Qt based gama-q2 where all input
information can be edited by user and changed signed Y coordinates
(and observations) must be switched only once.
2015-07-25 Ales Cepek <[email protected]>
* fixed two bugs reported by Greg Troxel <[email protected]>
** The bug with the tests is that they specify /bin/bash as the shell.
POSIX does not require bash to be present.
** Bad conditional in test for availability of xmllint parser.
2015-07-24 Ales Cepek <[email protected]>
* new release version 1.16
2015-05-22 Ales Cepek <[email protected]>
* 1.15j fixed a bug in LocalNetwork class reported independently by
Marek Peca <[email protected]>
Kolesár András <[email protected]>
Alex Shulg <[email protected]>
@@ -724,8 +724,8 @@ void LocalNetwork::project_equations()
min_x_[n++] = p.index_z();
}
}
- least_squares->min_x(min_n_, min_x_);
}
+ least_squares->min_x(min_n_, min_x_);
2014-01-02 Ales Cepek <[email protected]>
* fixed a bug reported by Gabriel Gyori <[email protected]>
in the class LocalNetwork2sql
2013-11-06 Ales Cepek <[email protected]>
* fixed a bug reported by Dirk Falk in azimuth computations
ApproximateCoordinates fialed to solve azimuth-distance
combinatios in some cases
2013-06-06 Ales Cepek <[email protected]>
* Tae Wong <[email protected]> contributed with thorough
revision of accentuation of names in the GNU Gama
2013-05-30 Tomas Kubin <[email protected]>
* a posteriori standard deviation Chi-Square test is newly always
performed in gama-local. The patch sent by Tomas Kubin.
2012-12-25 Ales Cepek <[email protected]>
* added Chinese translation in GBK encoding (switch "zh")
by 项维 (Vim Xiang) <[email protected]>
2012-11-24 Ales Cepek <[email protected]>
* class Gkf2sql (used in gama-local-gkf2sl) updated to be a general
export class and renamed to LocalNetword2sql
2012-09-10 Ales Cepek <[email protected]>
* added basic test suite for gama-local (make check)
2012-09-07 Ales Cepek <[email protected]>
* new release 1.13
2012-09-07 Ales Cepek <cepekgnu.org>
* removed matvec constructors with variable number of parameters
(direct initializaion of Mat / Vec elements).
2012-09-06 Ales Cepek <[email protected]>
* Fixed templates lookup name syntax errors reported by Brandon
Invergo <[email protected]> (detected by compiler g++-4.7).
Many thanks for your patch, Brandon.
2012-08-11 Ales Cepek <[email protected]>
* In gama-local suppressed output of running results during
linearization iterations
* added doxygen documentation into statan.h, removed forgotten
Czech comments from statan.cpp
2012-08-10 Ales Cepek <[email protected]>
* Fixed a bug reported by Jacques Beilin <[email protected]>
Function NormalDistribution ended in an endless loop for high
values of input argument x.
diff --git a/lib/gnu_gama/statan.cpp b/lib/gnu_gama/statan.cpp
index 4da4a3b..bc2255c 100644
--- a/lib/gnu_gama/statan.cpp
+++ b/lib/gnu_gama/statan.cpp
@@ -21,7 +21,7 @@
#include <gnu_gama/statan.h>
#include <gnu_gama/radian.h>
-
+#include <cfloat>
using namespace std;
@@ -211,7 +211,10 @@ void NormalDistribution(double x, double& D, double& f)
D = p2/q2;
if (!typv)
D = 1 - D;
- } while ( (r-D) != 0 || (s-D) != 0);
+ } while (std::abs(r - D) > DBL_EPSILON);
+
+ if (s - D) return;
+ if (typv) D = 0; else D = 1;
}
// Kolmogorov-Smirnov probability function
2012-07-26 Ales Cepek <[email protected]>
* Fixed a bug reported by Anton Horpynich <[email protected]>
The computation of approximate coordinates failed if an angle
needed for computing of an intersection was smaller than 0.15
radians / 10 gons (implicit testing criterion). Although this is a
reasonable limit for standard surveying networks, in a batch
computation of approximate coordinates a much smaller value can be
sometimes acceptable. It is more or less a matter of personal
opinion if this is to be supposed a bug or not.
Gama newly solves approximate coordinates in two main loops.
During the first loop the default value 0.15 in class Acord is
used. If afterwards there are still some coordinates remain
missing Gama starts a second loop with series of iterations in
which firstly tries to find a solution with the default value
then secondly with a very tiny limit of 0.0015 radians.
In most cases all coordinates are solved in the first loop with
the default small angle limit 10 gons.
............................................
2012-07-24 Ales Cepek <[email protected]>
* new release 1.12
2012-05-08 Vaclav Petras <[email protected]>
* class BaseVisitor and related classes moved to separete file visitor.h
* local Observation has protected init method and non-parametric constructor
Code in local Observation was reorganized and some atributes are not const.
* local observations are visitable (base is Accept<>)
- class Direction : public Observation
+ class Direction : public Accept<Direction, Observation>
* local observations' write methods moved to WriteVisitor
* LocalRevision and LocalLinearization are now visitors
* base classes Revision and Linearization removed from local
* method observations_summary in LocalNetworkXML uses visitor for counting
* method observations in LocalNetworkXML uses visitor for writing
* function OutlyingAbsoluteTerms uses visitor for writing
* method test_abs_term in LocalNetwork uses visitor for test
* local Observation set_passive and set_active methods are now non-const
* function AdjustedObservations uses visitor for writing part of table row
* function TestLinearization uses visitor for computing and writing
* function ResidualsObservations uses visitor writing observation name
2012-03-16 Ales Cepek <[email protected]>
* fixed a bug in the definition of angular observations reported
by Anna Kratochvilova <[email protected]> and Vaclav
Petras <[email protected]>
2012-03-05 Ales Cepek <[email protected]>
* updated version of review.hu.lang by Siki Zoltan, some
corrections in the Hungarian translation of GNU Gama
2011-08-22 Ales Cepek <[email protected]>
* two syntax errors reported by Siki Zoltan
lib/gnu_gama/g3/g3_write_observation_xml.h
@@ -46,7 +46,7 @@ namespace GNU_gama { namespace g3 {
{
private:
- mutable std::ostream& out;
+ std::ostream& out;
lib/gnu_gama/local/local_linearization.h
@@ -67,7 +67,7 @@ namespace GNU_gama { namespace local {
private:
- mutable PointData& PD;
+ PointData& PD;
The C++ Standard (7.1.1 Declarations, paragraph 8): The mutable
specifier can be applied only to names of class data members and
cannot be applied to names declared const or static, and cannot be
applied to reference members.
............................................
1.11 2011-08-14 Ales Cepek <[email protected]>
* new release 1.11
2011-08-13 Ales Cepek <[email protected]>
* class ObservationVisitor renamed to BaseVisitor (possible use of
abstract base visitor class in acyclic visitor pattern is not
limited to observations)
2011-08-11 Ales Cepek <[email protected]>
* added a new intermediate helper template class Accept (in
model.h) to unify definiton of accept() method in observational
classes in gama-g3. Function accept(ObservationVisitor*) is a pure
virtual method defined in the base Observation class.
2011-04-17 Ales Cepek <[email protected]>
* SVD class (matvec/svd.h) selected internal data members and
variables declared volatile to suppress g++ optimization
2011-04-12 Ales Cepek <[email protected]>
* added Spanish translation of *.lang files supplied by Jokin
Zurutuza <[email protected]>
* fixed a minor bug in formatting of adjustment general
parameters (general_parameters.h)
2011-03-30 Ales Cepek <[email protected]>
* first draft of string functions Utf8::length() and Utf8::leftPad()
2011-03-18 Vaclav Petras <[email protected]>
* added a new class SqliteReader for access to sqlite3 databases for
gama-local adjustment program
2011-03-17 Ales Cepek <[email protected]>
* description added as a public atribute to the LocalNetwork class
2011-02-25 Ales Cepek <[email protected]>
* redefined the tree structure of GNU Gama exception classes to
have a common base class GNU_gama::Exception::base (derived from
std::exceptions). Removed classes GNU_gama::local::Exception,
GNU_gama::local::ParserException and
GNU_gama::local::MatVecException are only typedefs to
GNU_gama::Exception::string, GNU_gama::Exception::parser and
GNU_gama::Exception::matvec respectively.
* added virtual functions clone() and raise() to all exceptions
2010-09-27 Jiri Novak <[email protected]>
* a patch by Jiri Novak for xml/gama-local-schema.sql and Gkf2sql
class to be compatible with Oracle XE 10g, PostgreSQL 8.4,
MySQL 5.1.7 (also suggested by Vaclav Petras) and Sqlite3.
2010-09-10 Ales Cepek <[email protected]>
* added a new class Gkf2sql and a new program gama-local-xml2sql
* added SQL DB schema xml/gama-local-schema.sql
Tested with sqlite3 3.7.2 and postgresql 8.4.4-2
2010-08-13 Ales Cepek <[email protected]>
* all calls to typeid() replaced by dynamic_cast<>()
* all CVS $Id: comments deleted
* directory structure simplified to a single tree
* namespace GaMaLib renamed to GNU_gama::local
* source codes scattered around directories local/revision/ and
local/linearization/ were joined together into a single file
local/observation_local.cpp
#######################################
# See ChangeLog.2 for older changes #
#######################################