This file is part of the pdr/pdx project.
Copyright (C) 2010 Torsten Mueller, Bern, Switzerland

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or (at
your option) any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.



Change Log
==========

2011-03-23 release 1.4.0
------------------------
pdx
- added Cairo support to the Windows build
- added visible day based time periods for the diagrams
  You can define a list of time periods in your .pdrx file like this:
    period=from to color
    ...
    period=from to color
  in example:
   period=2011-01-17 2011-02-25 #F0F0F0
  All diagrams containing this time periods will show this periods using
  their specific colored background. This is useful for visualizing
  holidays, travels and experimental phases.
- added .eps and .fig as new output formats for diagrams
  (you need libboard for this)
- added (sundays {color}) to give sundays a color on the x-axis
- you can define dependencies in .pdrx
    report.dependencies = diagram1 diagram2 diagram3
  And these dependent outputs can have own dependencies, too. So you can
  shorten the global outputs line. (see manual)
- you can specify outputs on the command line
    pdx r10 d11 d12
  If pdx has command line arguments only these outputs are processed. If
  pdx has no arguments the complete outputs line from the .pdrx file will
  be processed as known until now. (see manual)
- two new functions for diagrams:
    (stairs {selection} {color})
    (stairs {selection} {color} {double})
  These functions could be interesting especially for insuline pumps.
- new symbols for curves
    . draws a single pixel (or a bigger one ...)
    X draws a big X, x draws a smaller x now
    # draws a square

- updated the Windows build, using boost 1.46 and POCO 1.4.1p1 now

2011-02-07 release 1.3.0
------------------------
pdr
- interactive mode accepts timestamps in expressions
  (this means completely new expressions can be inserted)
- bugfix, the interactive D command without parameters did not
  delete anything in the database (but on the screen)
- bugfix, handling of timezones in mails corrected
  (Blackberries send mails not in the local timezone but in +0000)
- separated bars from zigzag diagrams by two new functions:
    (bars {selection} {color})
    (bars {selection} {color} {int} {int})
  The following notation of the curve function is not longer supported:
    (curve {selection} {color} bars {int} {int})
  Use the second bars implementation mentioned above.
- more clearness in the signatures of the curve function, four
  concrete implementations made instead of one inconcrete:
    (curve {selection} {color})
    (curve {selection} {color} {double})
    (curve {selection} {color} {string})
    (curve {selection} {color} {string} {double})
  The old signature is not longer supported:
    (curve {selection} {color} ...)
  Note: there are no changes needed in existing diagrams for that.

pdx
- added a midnight-option in .pdrx to tell pdx which concrete time
  to use for logical midnight
- bar diagrams use the midnight-option in .pdrx
- removed statistic functions containing the day-{time}-clause:
    (avg   {selection} day {time})
    (count {selection} day {time})
    (first {selection} day {time})
    (last  {selection} day {time})
    (max   {selection} day {time})
    (min   {selection} day {time})
    (sdv   {selection} day {time})
    (sum   {selection} day {time})
  Statistic functions use the midnight-option in .pdrx, too. Just
  remove the {time} in the calls.

2010-12-22 release 1.2.0
------------------------
pdr
- full IMAP support
- some bugfixes handling coded mail subjects and content types
- rejections can be edited in interactive mode, too
- added descriptions on collections (shown with -l)

pdx
- added comparison operators (==, !=, <, >, <=, >=) (smaarster)

- added build support for autoconf/automake (smaarster)
- added a complex sample demonstrating nearly all features of pdx
  (usable immediately for ICT diabetics)
- new multi-page manuals

2010-12-09 release 1.1.3
------------------------
pdr
- bugfix handling incorrect expressions (rejects)

2010-11-28 release 1.1.2
------------------------
pdr
- bugfix exporting the database as XML
  (special characters in text collections are handled correctly)

2010-11-12 release 1.1.1
------------------------
pdr
- display text collections properly in interactive mode
- ? doesn't terminate interactive mode anymore
- allow strings in expressions

- minor changes in the MSVC solution

2010-11-02 release 1.1.0
------------------------
pdr
- allowed timestamps like "2010-10-14-12:34:56" in expressions
  (until now only "2010-10-14 12:34:56" was allowed)
- illegal timestamp values in expressions are recognized as errors now
  (until now a value like "2010-15-10-12:61:00" came into the database
  as "not-a-date-time", this caused a program termination later)
- avoided nested transactions in the database classes

pdx
- (HbA1c2) functions added
- better error messages in the case of invalid format specifications
- fixed a compilation problem with libboard 0.9.0

2010-08-16 release 1.0.0
------------------------
pdr
- added interactive mode
- added xml export
- changed xml import according to the new export, export and
  import are compatible and can be used to exchange data between
  different databases
- fixed some issues for MySQL

2010-06-13 release 0.3.6
------------------------
pdr
- shorter expressions in verbose output

pdx
- added complete Cairo support (create png diagrams)
- added (vline) functions
- + and - with timestamps and times added
- svg diagrams have now variable font size
- bugfix: improvements in diagrams, no normalized axes anymore
- bugfix: merge of empty selections supported
- bugfix: parameter -n didn't parse a timestamp correctly

2010-04-12 release 0.3.5
------------------------
pdr
- bugfix: datetime specifications could not be recognized correctly

pdx
- added builtin functions (merge) and (fold)
- added a 4th implementation of the (axis) function for drawing
  folded curves
- added readline and history support for pdx's interactive mode

- added MSVC solution for supporting the Windows platform
- added samples, a complete working environment with a SQLite-DB
- moved some files from here to there for more clearness

2010-04-02 release 0.3.4
------------------------
- added support for MySQL
- added builtin function (database)
- added option ctrl_line in configuration file for CSV input files
- more clearness in version strings

2010-03-31 release 0.3.3
------------------------
- started Change Log
