-
This was introduced when a fixed number of 15 decimals was added to the value, which should no longer be needed.
-
…d gammalib::rstrip_chars() function The gammalib::str() floating point conversion functions now make sure that no precision is lost in a string conversion (well, roughly).
-
If an application is constructed from the command line arguments with the --help option the application parameters are not loaded, and the destructor saved before the empty parameter container to disk, which effectively emptied the parameter file. Now the desctructor only save the parameters if they have been loaded before.
-
The application name and version were cleared in a call of the GApplication::clear() method, but these properties should be conserved. Now they are, and a call of the GApplication::clear() will perform the same actions than a call of the name and version constructor.
-
The optional linefeed parameter allows to terminate the string with (default) or without a linefeed.
-
The GApplication::log_parameters() method now takes a mandatory GChatter argument to enable displaying of parameters only above a given chattiness level. This avoids a log-level check in the client code. For the same purpose, the GApplication methods log_string(), log_value(), log_header1(), log_header2(), and log_header3() have been introduced (#1828).
-
On Mac OS X I encountered some KERN_INVALID_ADDRESS problems in the GLog::append() method. A possible reason to this was the test of the value of m_buffer[m_buffer.size()-1] without checking whether m_buffer.size() was positive. I added the test, hopefully the KERN_INVALID_ADDRESS problem (which was spurious) goes away.
-
…ion::check_value_real() methods.
-
…he --help option has been specified on the command line (#572).
-
This handles the special case that the PFILES environment variable is set, yet the parameter file does not exist. Before, in that case the users pfiles directory was searched for the parameter file. Now, if the parameter file is missing, it will be copied in from the syspfiles directory, which is the expected behaviour.
-
… value for all parameters that have not yet been queried (see #1349).
-
…ll GModelData derivatives
-
…name then filename is extracted from the parameter file. Thus any parameter update is correctly propagated. This fixes a bug where the logfile change was not taken into account under Python.
-
Dates were appended in the middle of a text block if the buffer was flushed before a \n character was reached. A private member m_linestart has been added that tracks whether the buffer is actually at a line start or the middle of a text block. Dates are only set at the beginning of the buffer is the buffer is at a line start.
-
The code has been reformated after changing the class names from GPar to GApplicationPar and GPars to GApplicationPars. The renaming has been logged in the ChangeLog file.
-
(I chose `centre` because there were more `centre` than `center` around.)