Merge branch 'maint' after release 2.6.15.

This commit is contained in:
John Ralls 2016-12-18 12:14:00 -08:00
commit 4979eb62a7
39 changed files with 3255 additions and 2773 deletions

569
AUTHORS
View File

@ -1,303 +1,326 @@
GETTING HELP: If you need help with GnuCash, please do not contact any of the
Authors directly. Instead, first look at http://wiki.gnucash.org/wiki/FAQ to
see if your question is common and is answered there. If that doesn't help,
there are mailing lists in English, Dutch, French, German, Italian, and
Portuguese and an English IRC channel. More information can be found at
http://wiki.gnucash.org/wiki/Mailing_Lists and http://wiki.gnucash.org/wiki/IRC.
GETTING HELP: If you need help with GnuCash, please do not contact any
of the Authors directly. Instead, first look at
http://wiki.gnucash.org/wiki/FAQ to see if your question is common and
is answered there. If that doesn't help, there are mailing lists in
English, Dutch, French, German, Italian, and Portuguese and an English
IRC channel. More information can be found at
http://wiki.gnucash.org/wiki/Mailing_Lists and
http://wiki.gnucash.org/wiki/IRC.
Main Developers:
Current Project Team:
=====================
J. Alex Aycinena: Tax Reports, General Development
Derek Atkins: Infrastructure, User Support
Mike Alexander: Pricing/Exchange Rates, Lots, Advanced Portfolio Report
Frank Ellenberger: Currencies
Rob Gowin: CMake build system
Robert Fewell: GUI Development
Geert Janssens: General Development and Maintenance
Aaron Laws: General Development
John Ralls: General Development and Maintenance
Christian Stimming: Administration
Linas Vepstas: Administration and Website Hosting
Dependencies:
=============
We'd like to acknowledge the contributions of some specialty packages
that are incorporated into GnuCash and are critical to some of its
features:
Erik Colson: Finance::Quote
Benoit Gregoire: libofx
Martin Preuss: AQBanking
Early Developers:
----------------
(In Historical Order)
Robin Clark <rclark@hmc.edu> wrote the original X-Accountant in Motif
as a school project, taking it to version 0.9 by October 1997.
Although every single line of his code has been re-written (several
times over), his name appears as a credit in almost every file.
Such is the power of copyrights.
Robin Clark wrote the original X-Accountant in Motif as a school
project, taking it to version 0.9 by October 1997. Although every
single line of his code has been re-written (several times over),
his name appears as a credit in almost every file. Such is the
power of copyrights.
Linas Vepstas <linas@linas.org> liked what he saw: the GUI was slick,
the code was documented and well structured, and it was all GPL'ed.
And so he re-wrote it: adding cell-widgets to XbaeMatrix, so that
the combobox and arrows would make an even slicker GUI, rewrote the
Linas Vepstas liked what he saw: the GUI was slick, the code was
documented and well structured, and it was all GPL'ed. And so he
re-wrote it: adding cell-widgets to XbaeMatrix, so that the
combobox and arrows would make an even slicker GUI, rewrote the
X-Accountant internals to add double-entry, an account hierarchy,
split out a transaction mini-engine, add support for stocks, and spiffed
up the help menus. All for version 1.0 as of January 1998. Since
then, for version 1.1 & 1.2, the engine was expanded & refined, and the
register window code completely redesigned and made mostly
Motif-(and GUI-)independent.
split out a transaction mini-engine, add support for stocks, and
spiffed up the help menus. All for version 1.0 as of January 1998.
Since then, for version 1.1 & 1.2, the engine was expanded &
refined, and the register window code completely redesigned and
made mostly Motif-(and GUI-)independent.
Jeremy Collins <jcollins@gnucash.org> publicized the GnoMoney project
widely and broadly, and then changed its name to GnuCash. (Actually,
he put the selection of the name up to popular vote. We all learned
that democracy is not a good way to pick names.) Jeremy registered
the domain name, and created and maintained the gnucash.org web site
for years, and got the initial GTK/gnome code working.
Jeremy Collins publicized the GnoMoney project widely and broadly, and
then changed its name to GnuCash. (Actually, he put the selection
of the name up to popular vote. We all learned that democracy is
not a good way to pick names.) Jeremy registered the domain name,
and created and maintained the gnucash.org web site for years, and
got the initial GTK/gnome code working.
Rob Browning <rlb@cs.utexas.edu> abused everyone for not using perl,
and then after we added Perl support, dumped Perl in favor of
Guile/Scheme support. Rob added user preferences, re-wrote the
reports in scheme, and contributed the change-over of the
file-format to XML. He then concentrated on scheme performance and
has been the g-wrap guile wrapper maintainer.
Rob Browning abused everyone for not using perl, and then after we
added Perl support, dumped Perl in favor of Guile/Scheme
support. Rob added user preferences, re-wrote the reports in
scheme, and contributed the change-over of the file-format to
XML. He then concentrated on scheme performance and has been the
g-wrap guile wrapper maintainer.
Dave Peticolas <dave@krondo.com> worked on most parts of Gnucash, especially
the register and GUI.
Dave Peticolas worked on most parts of Gnucash, especially the
register and GUI.
Bill Gribble <grib@billgribble.com> is not shy, or softly spoken. So don't
be shy if you find a bug in his code: QIF import, query API and
transaction search, check-printing, commodity and currency support, gtkhtml
integration and report printing, pgp support, guppi integration, and the
new main window layout.
Bill Gribble is not shy, or softly spoken. So don't be shy if you find
a bug in his code: QIF import, query API and transaction search,
check-printing, commodity and currency support, gtkhtml integration
and report printing, pgp support, guppi integration, and the new
main window layout.
Robert Graham Merkel <rgmerk@mira.net> extensive work on reports and
reporting infrastructure, gnome GUI work, and user preferences.
Robert Graham Merkel extensive work on reports and reporting
infrastructure, gnome GUI work, and user preferences.
James LewisMoss <dres@debian.org> design doc patches, XML refactoring,
automated test suite, new file hierarchy import.
James LewisMoss designed doc patches, XML refactoring, automated test
suite, new file hierarchy import.
Christian Stimming <stimming@tuhh.de> is a report-generating
monster. He's been one of the largest contributors to the report
infrastructure, creating many of the important reports initially.
He has also contributed HBCI online banking support and manages
internationalization and translation.
Christian Stimming was a report-generating monster. He's been one of
the largest contributors to the report infrastructure, creating
many of the important reports initially. He has also contributed
HBCI online banking support and manages internationalization and
translation.
Joshua Sled <jsled@asynchronous.org> works on scheduled transactions, and
general project monkeying (IRC bot, logs, website maintenance,
bug-triage, &c.).
Joshua Sled worked on scheduled transactions and general project
monkeying (IRC bot, logs, website maintenance, bug-triage, &c.).
Derek Atkins <derek@ihtfp.com> wrote the business-accounting package
for Gnucash. This includes the Customer/Vendor database, Job tracking,
Order entry, Invoicing, Accounts Payable, Accounts Receivable, and
related technologies. In the process he re-wrote the Query engine,
modularized the Book object storage, and modularized the backend
to allow pluggable objects.
Derek Atkins wrote the business-accounting package for Gnucash. This
includes the Customer/Vendor database, Job tracking, Order entry,
Invoicing, Accounts Payable, Accounts Receivable, and related
technologies. In the process he re-wrote the Query engine,
modularized the Book object storage, and modularized the backend to
allow pluggable objects.
David Hampton <hampton@employees.org> is an all-around hacker. He
implemented a large porting of the gtk2 conversion. He generally
works on cleaning up the GUI and on fleshing out support for
stocks. David has picked up Dave Peticolas's previous tendency to
hack obsessively on GnuCash. (Something in the name?)
David Hampton was an all-around hacker. He implemented a large porting
of the gtk2 conversion. He generally works on cleaning up the GUI
and on fleshing out support for stocks. David has picked up Dave
Peticolas's previous tendency to hack obsessively on
GnuCash. (Something in the name?)
Chris Lyttle <chris@wilddev.net> Administers the GnuCash bug list.
Improved the help and integrated and finished a concepts and
tutorial written by Carol Champagne. Looks after
releasing new GnuCash versions and updating the website.
Chris Lyttle Administered the GnuCash bug list. Improved the help and
integrated and finished a concepts and tutorial written by Carol
Champagne. Looks after releasing new GnuCash versions and updating
the website.
Benoit Grégoire <bock@step.polymtl.ca> coded a long awaited OFX module
for GnuCash and wrote the external libOFX library that it uses.
Benoit Grégoire coded a long awaited OFX module for GnuCash and wrote
the external libOFX library that it uses.
Neil Williams <linux@codehelp.co.uk> finished conversion from GncBook
to QofBook and worked on the separation of QoF into a standalone
library. He also contributed lots of Doxygen fixes and updates.
Neil Williams finished conversion from GncBook to QofBook and worked
on the separation of QoF into a standalone library. He also
contributed lots of Doxygen fixes and updates.
Chris Shoemaker <c.shoemaker@cox.net> implemented budgeting support
for GnuCash. He replaced g-wrap by SWIG as GnuCash's guile wrapper
generator and is also an all around hacker.
Chris Shoemaker implemented budgeting support for GnuCash. He replaced
g-wrap by SWIG as GnuCash's guile wrapper generator and is also an
all around hacker.
Andreas Köhler <andi5.py@gmx.net> is hunting down lots of bugs,
especially for GUI code and other gtk related issues.
Andreas Köhler hunted down lots of bugs, especially for GUI code and
other gtk related issues.
Charles Day <cedayiv@gmail.com> overhauled the QIF importer and now
focuses mainly on investment- and currency-related issues.
Charles Day overhauled the QIF importer and now focuses mainly on
investment- and currency-related issues.
Other Contributors:
----------------
(In alphabetical order)
Mike Alexander <mta@umich.edu> Cap gains, lot and MacOS fixes.
Andrew Arensburger <arensb@cfar.umd.edu> for FreeBSD & other patches
Matt Armstrong <matt_armstrong@bigfoot.com> for misc fixes
Jon Arney <jarney1@cox.net> Windows porting patches, misc fixes
A. Alper Atici <alper_atici@yahoo.com> Turkish translation
Mike Alexander Cap gains, lot and MacOS fixes.
Andrew Arensburger for FreeBSD & other patches
Matt Armstrong for misc fixes
Jon Arney Windows porting patches, misc fixes
A. Alper Atici Turkish translation
J. Alex Aycinena Heavily improved Tax Report & TXF export
Fred Baube <fred@moremagic.com> for attempted Java port/MoneyDance
Roman Bertle <bertle@smoerz.org> Austrian German account templates
Jan-Pascal van Best <j.p.vanbest@tbm.tudelft.nl> MT940 importer
Dennis Björklund <dennisb@cs.chalmers.se> Swedish translation
Andreas Bogk <andreas@andreas.org> Postgres backend patch
Per Bojsen <bojsen@worldnet.att.net> several core dump fixes
Terry Boldt <tboldt@attglobal.net> financial calculator and expression parser
Forest Bond <forest@alittletooquiet.net> Budget report improvements
Richard Braakman <dark@xs4all.nl> xml version configure patch
Simon Britnell <simon.britnell@peace.com> patch to RPM spec
Christopher B. Browne <cbbrowne@hex.net> for perl, lots of scheme and documentation updates
Nathan Buchanan <nbinont@yahoo.ca> packaging Windows binaries for release
Johan Buret <johanburet@free.fr> french translation
Thomas Bushnell <tb@becket.net> fix for file backups
Eskil Bylund <eskil.bylund@gmail.com> account type deprecation
Paul Campbell <kemitix@users.sourceforge.net> reconcile children patch
Conrad Canterford <conrad@mail.watersprite.com.au> register bug fix
Bill Carlson <wwc@wwcnet.nu> performance improvements
David Marín Carreño <davefx@aspl.f2s.com> Spanish translation of account setup.
Tomas Cernaj <tcernaj@gmx.de> GType consistency changes, register fixes
Carol Champagne <carol@io.com> documentation & a patient GUI usability critic
Nikos Charonitakis <charosn@her.forthnet.gr> Greek translation
Graham Chapman <grahamc@zeta.org.au> for the xacc-rpts addon package
George Chen <georgec@sco.com> for MS-Money QIF's & fixes
Albert Chin-A-Young <china@thewrittenword.com> configure.in patch
Kenneth Christiansen <kenneth@gnome.org> Danish translation
Matthew Condell <mcondell@bbn.com> FreeBSD patch
Patrick Condron <pcondon@rackspace.com> for webserver and T1 connection (credits to rackspace.com)
Raphael Dechenaux <raphael.dechenaux@worldonline.fr> register patch
Ciaran Deignan <Ciaran.Deignan@bull.net> for AIX binary version
Glen Ditchfield <gjditchfield@acm.org> updated documentation
Tyson Dowd <tyson@tyse.net> for config/make patches & debian maint
Koen D'Hondt <ripley@xs4all.nl> for Solaris patches to XmHTML
Bob Drzyzgula <bob@mostly.com> for budgeting design notes
Frank H. Ellenberger <f.ellenberger@online.de> small things, usually germany related
Volker Englisch <Volker@englisch.us> QA and testing
Frank H. Ellenberger <f.ellenberger@online.de> Fix for IDR currency
Christoph Ernst <C.Ernst72@googlemail.com> Small bugfixes and minor enhancements
Jonathan Ernst <jonathan@ernstfamily.ch> Translations
Stephen Evanchik <evanchsa@clarkson.edu> Logging improvements; gtk2 conversions
Mike Evans <mikee@saxicola.co.uk> Bug fixes and testing.
Joshua Facemyer / Impressus Art <faceman@impressusart.com>: New artwork.
Paul Fenwick <pjf@schools.net.au> ASX support, Finance::Quote
Hubert Figuiere <hfiguiere@teaser.fr> patch to gnc-prices
Valek Filippov <frob@df.ru> messages Russian translation
Jan-Uwe Finck <jufi@nerdnet.de> for messages German translation
Kevin Finn <kevinfinn@mediaone.net> auto-decimal point, options, auto interest xfer patches
Aurimas Fišeras <aurimas@members.fsf.org> Lithuanian Translation, general i18n
Danny Fischer <dan.pescaru@gmail.com> Romanian translation
Ron Forrester <rjf@aracnet.com> for gnome patches
Christoph Franzen <ChristophFranzen@gmx.net> German account template for Wohnungswirtschaft business
Dave Freese <DFreese@osc.uscg.mil> for leap-year fix
Todd T. Fries <todd@flare.fries.net> OpenBSD fix
John Goerzen <jgoerzen@complete.org> file i/o fix for 64-bit architectures
Jeff Green <jeff@parit.ca> Python bindings, with grant funding from Assiniboine Credit Union (http://assiniboine.mb.ca/)
Hans de Graaff <hans@degraaff.org> XML patches
Daniel Hagerty <hag@linnaean.org> patch to balance sheet report
Mitsuo Hamada <mhamada@redhat.com> messages Japanese translations
Otto Hammersmith <otto@bug.redhat.com> for RedHat RPM version
Eric Hanchrow <offby1@blarg.net> updated currency documentation
Daniel Harding <dharding@gmail.com> Windows build tweaks; various code fixes
Alexandru Harsanyi <haral@codec.ro> for core dumps, lockups, gtk work
John Hasler <john@dhh.gt.org> engine patch
Jon Kåre Hellan <hellan@acm.org> misc core dump fixes
Hendrik-Jan Heins <hjh@passys.nl> Dutch translation
Joachim Herb <joachim.herb@gmx.de> Data table option for barchart reports
Claus Hindsgaul <claus_h@image.dk> messages Danish translation
Christoph Holtermann <c.holtermann@gmx.de> Python wrapper improvements
Ori Hoch <ori@uumpa.com> Hebrew translation
Péter Hosszú <hosszu@web.de> Hungarian translation
Edward J. Huff <ejhuff@huff20may77.us> Date handling in reports, quarterly option
Tomokazu Iwashita <iwashita@center.nitech.ac.jp> Japanese translation of xea
Geert Janssens <janssens-geert@telenet.be> GUI fixes for Lots, autocompletion in gnc-general-search, several small fixes
David Jafferian <david.jafferian@east.sun.com> Delete account query code.
Mark Jenkins <mark@parit.ca> Python bindings, with grant funding from Assiniboine Credit Union (http://assiniboine.mb.ca/) and Legal Aid Manitoba (http://www.legalaid.mb.ca/)
Rich Johnson <rich@dogstar-interactive.com> Mac OS X patch
Miquel Jordana Vilamitjana <jjvmjv@mundomail.net> Spanish translation of manual
Prakash Kailasa <PrakashK@bigfoot.com> for gnome build fixes
Alexey Kakunin <small@arcadia.spb.ru> quickfill patch for Cyrillic
Ben Kelly <ben.kelly@ieee.org> for Motif menu bug fix, core dump fixes
Jeff Kletsky <gnomebugzilla@allycomm.com> Various patches, including for OFX import
Tom Kludy <tkludy@csd.sgi.com> for SGI Irix port
Tuomo Kohvakka <tuomo.kohvakka@iki.fi> Finnish translation
Matt Kraai <kraai@alumni.carnegiemellon.edu> date accelerator bug fix
Mantas Kriaučiūnas <mantas@akl.lt> Lithuanian Translation
Rafał Krzewski <rafal.krzewski@caltha.pl> bi module fixes
Sven Kuenzler <sk@xgm.de> for SuSE README file
Fabrice Kurz <kurzf@voila.fr> French translation
Eneko Lacunza <enlar@enlar.net> Spanish Translation
Bryan Larsen <blarsen@ada-works.com> guile budget report
Chris J (Oakton) Leach <LeachCJ@az1.bp.com> autoconf patch
Nicholas Lee <nj.lee@plumtree.co.nz> scheme bug fix
Graham Leggett <minfrin@sharp.fm> for fixing a hang
Rolf Leggewie <foss@rolf.leggewie.biz> SKR04 and gnucash for german business
Georg Lehner <Jorge.Lehner@gmx.net> Nicaraguan Spanish translation
Ted Lemon <mellon@andare.fugue.com> for NetBSD port
Yannick Le Ny <y-le-ny@ifrance.com> French translations
Frederic Leroy <> 64bit fixes, GUI improvements
Frederic Lespez <frederic.lespez@wanadoo.fr> French account templates fixes.
Chao-Hsiung Liao <pesder.liao@msa.hinet.net> Traditional Chinese translation
Grant Likely <glikely@nortelnetworks.com> gnome and engine patches
Vitaly Lipatov <lav@altlinux.ru> complete Russian translation, build tweaks, code cleanup
Volodymyr M. Lisivka <lvm@mystery.lviv.net> Ukrainian translation
Phil Longstaff <plongstaff@newearth.org> fixes for pricedb
Duarte Loreto <happyguy_pt@hotmail.com> message and documentation Portuguese translations
Raffael Luthiger <modir@huanga.com> Swiss German translation
Lionel Elie Mamane <lionel@mamane.lu> Patches for gcc2.95 macro compatibility
Kjartan Maraas <kmaraas@gnome.org> Norwegian translations
Heath Martin <martinh@pegasus.cc.ucf.edu> gnome patches, major register work, x86_64 support
Matt Martin <mgmartin@abacusnet.net> guile error handling code
Yves-Eric Martin <yem_lists.gnucash.org@filter.yve.net> work on financial year end work
Tadas Masiulionis <tadzikaz@gmail.com> Lithuanian Translation
Juan Manuel García Molina <juanmagm@mail.com> messages Spanish translation
David Montenegro <sunrise2000@comcast.net> all sorts of Scheme reports
Orestes Mas <orestes@tsc.upc.es> Catalan translation
Bernard Meens <meensb@xs4all.nl> Dutch translation
Christopher Molnar <molnarc@mandrakesoft.com> build system patch
Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu> port to alpha-dec-osf4.0f
Lucimar Moresco <lucimarmoresco@hotmail.com> pt_BR account templates
G. Allen Morris III <gam3@ann.softgams.com> for QIF core dump
Steven Murdoch <sjmurdoch@bigfoot.com> gnc-prices fix for London exchange
Jose Carlos Nascimento <joseca@psabs.com> Brazilian Portuguese translation
Brent Neal <brent@baton.phys.lsu.edu> TIAA-CREF support.
Christian Neumair <chris@gnome-de.org> Various gnome2 fixes/HIG work.
Johnny Ernst Nielsen <j.e.nielsen@iname.com> messages Danish translation
Stefan Nobis <stefan-ml@snobis.de> German translation patch
Martin Norbäck <d95mback@dtek.chalmers.se> Swedish translation
Peter Norton <spacey@inch.com> for a valiant attempt at a GTK port
Bill Nottingham <notting@redhat.com> guile configure patch
Peter O'Gorman <peter@pogma.com> file i/o patches, Mac OS X patches
OmNiBuS <webmaster@obsidian.uia.net> web site graphics & content
Gordon Oliver <gordo@pincoya.com> multiple currency status line patch
Scott Oonk <s.oonk@comcast.net>, <scott.oonk@gmail.com> register changes for utf-8 and pango.
Alan Orndorff <dwarf@solarisresources.com> Solaris packager
Myroslav Opyr <mopyr@IPM.Lviv.UA> for misc patches
Laurent Pélecq <laurent.pelecq@wanadoo.fr> i18n patches with gettext
Sulyok Peter <sp@elte.hu> Hungarian account templates
Alain Peyrat <Alain.Peyrat@nmu.alcatel.fr> for configure.in patches
Zdenko Podobný <zdpo@mailbox.sk> Slovak translations
Peter Pointner <peter@wuzel.m.isar.de> QIF import fixes, Qt patches
Gavin Porter <maufk@csv.warwick.ac.uk> for euro style dates
Tomas Pospisek <tpo@spin.ch> Debian patches
Paul Poulain <famille.p.poulain@free.fr> French translations
John Ralls <jralls@ceridwen.fremont.ca.us> MacOSX integration
Ron Record <rr@sco.com> for SCO Unixware & OpenServer binaries
Keith Refson <Keith.Refson@earth.ox.ac.uk> Solaris fixes
Jerry Quinn <jlquinn@optonline.net> Bugfixes
Andreas Rottmann <a.rottmann@gmx.at> fixes for g-wrap 1.9
Betina Schmidt <betina-s@gmx.de> German account template
Dirk Schoenberger <schoenberger@signsoft.com> Qt/KDE work
Jan Schrage <jan.schrage@urz.uni-heidelberg.de> documentation patches
Christopher Seawood <cls@seawood.org> for XbaeMatrix core dump
Peter Selinger <selinger@users.sourceforge.net> date completion
Alessandro Seveso <aleseveso@tiscalinet.it> messages Italian translations
Clytie Siddall <clytie@riverland.net.au> Vietnamese translation
Mike Simons <msimons@fsimons01.erols.com> misc configure.in patches
Keld Simonsen <keld@dkuug.dk> messages Danish translation
Richard Skelton <rich@brake.demon.co.uk> for Solaris cleanup
Thomas Vander Stichele <thomas@urgent.rug.ac.be> Macro for filtering system directories
James Strandboge <jstrand1@rochester.rr.com> "Easy" Invoice report
Henning Spruth <spruth@bigfoot.com> for German text & euro date rework
Ben Stanley <bds02@uow.edu.au> test infrastructure
Robby Stephenson <robby.stephenson@usa.net> register & file history patches
Robert Stocks <robert.stocks@gmail.com> additional register report options
Michael T. Garrison Stuber <garrisonstuber@bellsouth.net> report patch
Bartek Szady <bszx@bszxdomain.edu.eu.org> engine and build system patches
Herbert Thoma <tma@iis.fhg.de> gnome register & euro support patches
Tor Harald Thorland <linux@strigen.com> testing, Norwegian translation
Nigel Titley <nigel@titley.com> British English translation
James A. Treacy <treacy@debian.org> doc patch
Arnold Troeger <troeger@samart.co.th> Mandrake packager
Diane Trout <detrout@earthlink.net> scheme QIF import patch
Nicolae Turcan <nicturcan@gmail.com> Romanian translation
Richard -Gilligan- Uschold <uschold@cs.ucf.edu> tax report & txf export
Tom Van Braeckel <tomvanbraeckel@gmail.com> various patches and fixes
Matthew Vanecek <mevanecek@yahoo.com> lots of postgres backend work
Didier Vidal <didier-devel@9online.fr> various G2 fixes.
Oliver Vollmer <ovo@mx.lihas.de> German account templates SKR03
Richard Wackerbarth <rkw@dataplex.net> patch to gnc-prices, qif import fixes
Rob Walker <rob@valinux.com> guile and register patches
Darin Willits <darin@blueyonder.co.uk> initial budgeting prototype
Andy Wingo <wingo@pobox.com> income per day-of-week report
Tom Winterhalder <t.winterhalder@freesurf.ch> Swiss German account template
David Woodhouse <dwmw2@infradead.org> messages British translations
Kuang-che Wu <kcwu@csie.org> Traditional Chinese translation
Ken Yamaguchi <gooch@ic.EECS.Berkeley.EDU> QIF import fixes; MYM import
Shimpei Yamashita <shimpei@gol.com> messages Japanese translation
Alex Zepeda <jazepeda@pacbell.net> postgres configure patch
Roman Bertle Austrian German account templates
Jan-Pascal van Best MT940 importer
Dennis Björklund Swedish translation
Andreas Bogk Postgres backend patch
Per Bojsen several core dump fixes
Terry Boldt financial calculator and expression parser
Forest Bond Budget report improvements
Richard Braakman xml version configure patch
Simon Britnell patch to RPM spec
Christopher B. Browne> for perl, lots of scheme and documentation updates
Nathan Buchanan packaging Windows binaries for release
Johan Buret french translation
Thomas Bushnell fix for file backups
Eskil Bylund account type deprecation
Paul Campbell reconcile children patch
Conrad Canterford register bug fix
Bill Carlson performance improvements
David Marín Carreño Spanish translation of account setup.
Tomas Cernaj GType consistency changes, register fixes
Carol Champagne documentation & a patient GUI usability critic
Nikos Charonitakis Greek translation
Graham Chapman for the xacc-rpts addon package
George Chen for MS-Money QIF's & fixes
Albert Chin-A-Young configure.in patch
Kenneth Christiansen Danish translation
Matthew Condell FreeBSD patch
Patrick Condron for webserver and T1 connection (credits to rackspace.com)
Raphael Dechenaux register patch
Ciaran Deignan for AIX binary version
Glen Ditchfield updated documentation
Tyson Dowd for config/make patches & debian maint
Koen D'Hondt for Solaris patches to XmHTML
Bob Drzyzgula for budgeting design notes
Frank H. Ellenberger small things, usually germany related
Volker Englisch QA and testing
Frank H. Ellenberger Fix for IDR currency
Christoph Ernst Small bugfixes and minor enhancements
Jonathan Ernst Translations
Stephen Evanchik Logging improvements; gtk2 conversions
Mike Evans Bug fixes and testing.
Joshua Facemyer / Impressus Art : New artwork.
Paul Fenwick ASX support, Finance::Quote
Hubert Figuiere patch to gnc-prices
Valek Filippov messages Russian translation
Jan-Uwe Finck for messages German translation
Kevin Finn auto-decimal point, options, auto interest xfer patches
Aurimas Fišeras Lithuanian Translation, general i18n
Danny Fischer Romanian translation
Ron Forrester for gnome patches
Christoph Franzen German account template for Wohnungswirtschaft business
Dave Freese for leap-year fix
Todd T. Fries OpenBSD fix
John Goerzen file i/o fix for 64-bit architectures
Jeff Green Python bindings, with grant funding from Assiniboine Credit Union (http://assiniboine.mb.ca/)
Hans de Graaff XML patches
Daniel Hagerty patch to balance sheet report
Mitsuo Hamada messages Japanese translations
Otto Hammersmith for RedHat RPM version
Eric Hanchrow updated currency documentation
Daniel Harding Windows build tweaks; various code fixes
Alexandru Harsanyi for core dumps, lockups, gtk work
John Hasler engine patch
Jon Kåre Hellan misc core dump fixes
Hendrik-Jan Heins Dutch translation
Joachim Herb Data table option for barchart reports
Claus Hindsgaul messages Danish translation
Christoph Holtermann Python wrapper improvements
Ori Hoch Hebrew translation
Péter Hosszú Hungarian translation
Edward J. Huff Date handling in reports, quarterly option
Tomokazu Iwashita Japanese translation of xea
Geert Janssens GUI fixes for Lots, autocompletion in gnc-general-search, several small fixes
David Jafferian Delete account query code.
Mark Jenkins Python bindings, with grant funding from Assiniboine Credit Union (http://assiniboine.mb.ca/) and Legal Aid Manitoba (http://www.legalaid.mb.ca/)
Rich Johnson Mac OS X patch
Miquel Jordana Vilamitjana Spanish translation of manual
Prakash Kailasa for gnome build fixes
Alexey Kakunin quickfill patch for Cyrillic
Ben Kelly for Motif menu bug fix, core dump fixes
Jeff Kletsky Various patches, including for OFX import
Tom Kludy for SGI Irix port
Tuomo Kohvakka Finnish translation
Matt Kraai date accelerator bug fix
Mantas Kriaučiūnas Lithuanian Translation
Rafał Krzewski bi module fixes
Sven Kuenzler for SuSE README file
Fabrice Kurz French translation
Eneko Lacunza Spanish Translation
Bryan Larsen guile budget report
Chris J (Oakton) Leach autoconf patch
Nicholas Lee scheme bug fix
Graham Leggett for fixing a hang
Rolf Leggewie SKR04 and gnucash for german business
Georg Lehner Nicaraguan Spanish translation
Ted Lemon for NetBSD port
Yannick Le Ny French translations
Frederic Leroy 64bit fixes, GUI improvements
Frederic Lespez French account templates fixes.
Chao-Hsiung Liao Traditional Chinese translation
Grant Likely gnome and engine patches
Vitaly Lipatov complete Russian translation, build tweaks, code cleanup
Volodymyr M. Lisivka Ukrainian translation
Phil Longstaff fixes for pricedb
Duarte Loreto message and documentation Portuguese translations
Raffael Luthiger Swiss German translation
Lionel Elie Mamane Patches for gcc2.95 macro compatibility
Kjartan Maraas Norwegian translations
Heath Martin gnome patches, major register work, x86_64 support
Matt Martin guile error handling code
Yves-Eric Martin work on financial year end work
Tadas Masiulionis Lithuanian Translation
Juan Manuel García Molina messages Spanish translation
David Montenegro all sorts of Scheme reports
Orestes Mas Catalan translation
Bernard Meens Dutch translation
Christopher Molnar build system patch
Tim Mooney port to alpha-dec-osf4.0f
Lucimar Moresco pt_BR account templates
G. Allen Morris III for QIF core dump
Steven Murdoch gnc-prices fix for London exchange
Jose Carlos Nascimento Brazilian Portuguese translation
Brent Neal TIAA-CREF support.
Christian Neumair Various gnome2 fixes/HIG work.
Johnny Ernst Nielsen messages Danish translation
Stefan Nobis German translation patch
Martin Norbäck Swedish translation
Peter Norton for a valiant attempt at a GTK port
Bill Nottingham guile configure patch
Peter O'Gorman file i/o patches, Mac OS X patches
OmNiBuS web site graphics & content
Gordon Oliver multiple currency status line patch
Scott Oonk register changes for utf-8 and pango.
Alan Orndorff Solaris packager
Myroslav Opyr for misc patches
Laurent Pélecq i18n patches with gettext
Sulyok Peter Hungarian account templates
Alain Peyrat for configure.in patches
Zdenko Podobný Slovak translations
Peter Pointner QIF import fixes, Qt patches
Gavin Porter for euro style dates
Tomas Pospisek Debian patches
Paul Poulain French translations
John Ralls MacOSX integration
Ron Record for SCO Unixware & OpenServer binaries
Keith Refson Solaris fixes
Jerry Quinn Bugfixes
Andreas Rottmann fixes for g-wrap 1.9
Betina Schmidt German account template
Dirk Schoenberger Qt/KDE work
Jan Schrage documentation patches
Christopher Seawood for XbaeMatrix core dump
Peter Selinger date completion
Alessandro Seveso messages Italian translations
Clytie Siddall Vietnamese translation
Mike Simons misc configure.in patches
Keld Simonsen messages Danish translation
Richard Skelton for Solaris cleanup
Thomas Vander Stichele Macro for filtering system directories
James Strandboge "Easy" Invoice report
Henning Spruth for German text & euro date rework
Ben Stanley test infrastructure
Robby Stephenson register & file history patches
Robert Stocks additional register report options
Michael T. Garrison Stuber report patch
Bartek Szady engine and build system patches
Herbert Thoma gnome register & euro support patches
Tor Harald Thorland testing, Norwegian translation
Nigel Titley British English translation
James A. Treacy doc patch
Arnold Troeger Mandrake packager
Diane Trout scheme QIF import patch
Nicolae Turcan Romanian translation
Richard -Gilligan- Uschold tax report & txf export
Tom Van Braeckel various patches and fixes
Matthew Vanecek lots of postgres backend work
Didier Vidal various G2 fixes.
Oliver Vollmer German account templates SKR03
Richard Wackerbarth patch to gnc-prices, qif import fixes
Rob Walker guile and register patches
Darin Willits initial budgeting prototype
Andy Wingo income per day-of-week report
Tom Winterhalder Swiss German account template
David Woodhouse messages British translations
Kuang-che Wu Traditional Chinese translation
Ken Yamaguchi QIF import fixes; MYM import
Shimpei Yamashita messages Japanese translation
Alex Zepeda postgres configure patch
... and I am sure that I have missed many others ...
... and many others who've submitted patches ...

264
ChangeLog
View File

@ -1,10 +1,270 @@
2016-12-17 John Ralls
* Update Danish and Serbian translations from the Translation Project. (HEAD, maint)
2016-12-17 Phil Davis
* README typo (origin/maint)
2016-12-13 John Ralls
* Bug 775912 - Tips of the Day shows content only once very 3 times
2016-12-11 John Ralls
* Remove QIF importer error “Dates earlier than 1970 are not supported”.
2016-12-11 John Ralls
* Bug 685329 - Crashes on non-existent date
2016-12-11 John Ralls
* Bug 772369 - Replace use of guile's internal date/time functions
2016-12-11 John Ralls
* Bug 773808 - Export Report Crash
2016-12-10 John Ralls
* Bug 772484 - Segfault on Transaction edit
2016-12-10 John Ralls
* Bug 774237 - FTBFS under some timezones (eg. GMT-14)
2016-12-09 John Ralls
* Bug 775385 - Confusing error message which includes the text "file file"
2016-12-09 John Ralls
* Bug 775368 - "Average cost" price source problem
2016-12-09 John Ralls
* Change the default price-source from Average Cost to Nearest in Time.
2016-12-09 John Ralls
* Calculate rates only for buy transactions in the report commodity for cost totals.
2016-12-04 John Ralls
* Single functions for gnc:make-exchange-alist and gnc:get-exchange-totals.
2016-12-01 John Ralls
* Move checks for no split amount and trading accounts to get-match-commodity-splits.
2016-12-01 John Ralls
* Clean up whitespace in commodity-utilities.scm.
2016-12-06 Ryan Tucker
* fix missing chmod +x in configure.ac
2016-12-04 John Ralls
* Bug 775567 - Importing QIF file from PayPal crashes GnuCash 2.6.14 on Windows XP service pack 3
2016-12-03 John Ralls
* Prevent crash when there's an error loading a qif import file.
2016-11-19 Robert Fewell
* Bug 516920 Scheduled trasaction calendar popup off screen
2016-11-30 Geert Janssens
* Fix compiler warning about misleading indentation
2016-11-28 Geert Janssens
* Fix report html header
2016-11-16 Robert Fewell
* Changed the default value for date format
2016-11-16 Robert Fewell
* Fix check printing custom preference value
2016-11-16 Robert Fewell
* Correct the default options if default invalid
2016-11-16 Robert Fewell
* Add an unset option to date-format
2016-11-15 Robert Fewell
* Added a default currency to the currency option
2016-11-15 Robert Fewell
* Add plot size option for future compatibility
2016-11-15 Robert Fewell
* Fix warning from glib when saving reports.
2016-11-15 Robert Fewell
* Change report resizing when not in view
2016-11-15 Robert Fewell
* Forgot to add the png file to previous commit
2016-11-15 Robert Fewell
* Add an image for the report tab
2016-11-15 Robert Fewell
* Change the reload to include using web_view_reload
2016-11-15 Robert Fewell
* Track visibility of the view scroll bars
2016-11-15 Robert Fewell
* Add progress bar updates for reload / Update
2016-11-15 Robert Fewell
* Add call back to track page size changes
2016-11-15 Robert Fewell
* Stop the progress bar changing height
2016-11-15 Robert Fewell
* Add idle function to load report
2016-11-15 Robert Fewell
* Remove macros/as-scrub-include.m4 from makefile
2016-11-13 Geert Janssens
* Fix make check after commit 673888dee7c
2016-11-12 Geert Janssens
* Bug 770364 - Sign of Value in Lots in Account window seems inconsistent
2016-11-12 Geert Janssens
* Use G_MAXINT64 instead of 0 to indicate an invalid date
2016-11-11 Geert Janssens
* Show empty business splits in lot viewer
2016-11-11 Geert Janssens
* Check more splits while running check & repair on business accounts
2016-11-11 Geert Janssens
* Business check & repair - correct lot invoice state
2016-11-09 Geert Janssens
* Various small improvements to check & repair on business accounts
2016-11-06 Geert Janssens
* When juggling business splits while scrubbing set both value and amount
2016-11-06 Geert Janssens
* Update progress bar while running Check & Repair
2016-11-09 Geert Janssens
* Remove lot from account while deleting the lot
2016-11-10 John Ralls
* Ensure that the Namespace combo box is initialized to a valid iter.
2016-10-24 John Ralls
* Bug 769124 - Australian (GMT-10) OFX transactions imported have previous
2016-10-20 John Ralls
* Bug 769124 - Australian (GMT-10) OFX transactions imported have previous days date.
2016-10-14 Rob.Gowin
* Remove configuration of HAVE_PUTENV.
2016-10-10 Geert Janssens
* Bug 771617 - Build fails because test test-report-utilities is sensitive to time of day/timezone
2016-10-10 Geert Janssens
* Bug 771617 - Build fails because test test-report-utilities is sensitive to time of day/timezone
2016-10-04 John Ralls
* Fix CSV importer to handle GMT + 13 Timezone (New Zealand Daylight Time).
2016-10-04 John Ralls
* Bug 772382 - Date off-by-one after DST change
2016-09-28 Ralf Habacker
* Fix broken german account template 'Kontenrahmen für Wohnungswirtschaft'.
2016-10-03 Geert Janssens
* Bug 771617 - Build fails because test test-report-utilities is sensitive to time of day/timezone
2016-10-02 Geert Janssens
* Bug 772313 - Invalid DOCTYPE in report generation
2016-09-27 Rob Gowin
* Use default PKG_CHECK_MODULES for CMake version > 3.4
2016-09-25 John Ralls
* Remove obsolete AS_SCRUB_INCLUDES macro.
2016-09-25 Mike Evans
* Bug 771246 - Set Invoice/Bill items date correctly from imported CSV.
2016-09-17 John Ralls
* Fix version in CMakeLists.txt. (tag: 2.6.14a)
2016-09-16 John Ralls
* Synchronize translation project. (HEAD, maint)
* Release 2.6.14 (tag: 2.6.14)
2016-09-16 John Ralls
* Synchronize translation project.
2016-09-15 John Ralls
* Bug 769746 - Zero interest loan formula fails. (origin/maint)
* Bug 769746 - Zero interest loan formula fails.
2016-08-01 Robert Fewell

View File

@ -8,26 +8,32 @@ http://wiki.gnucash.org/wiki/Mailing_Lists and http://wiki.gnucash.org/wiki/IRC.
Contributors:
Current -
Bengt Thuree <bengt@thuree.com>
Chris Lyttle <chris@wilddev.net>
Christian Stimming <stimming@tuhh.de>
Cristian Marchi <cri79@libero.it>
Dave Herman <dvherman@bigfoot.com>
David Hampton <hampton@employees.org>
J. Alex Aycinena
Niklas Spille <see-g@web.de>
Patrick Schweiger <pks@spiffykitty.com>
Yasuaki Taniguchi
Yawar Amin
Frank Ellenberger
Chris Good
Geert Janssens
Mike Evans
John Ralls
David T.
Past -
Bill Gribble <grib@billgribble.com>
Christopher Browne <gnucash@cbbrowne.com>
Carol Champagne <carol@io.com>
Eric Hanchrow <offby1@blarg.net>
Glen Ditchfield <gjditchfield@acm.org>
James A. Treacy <treacy@debian.org>
Jon Lapham <lapham@extracta.com.br>
Linas Vepstas <linas@linas.org>
Neil Williams <linux@codehelp.co.uk>
Robert Graham Merkel <rgmerk@mira.net>
Yawar Amin
Christopher Browne
Carol Champagne
Glen Ditchfield
Bill Gribble
David Hampton
Eric Hanchrow
Dave Herman
Jon Lapham
Chris Lyttle
Cristian Marchi
Niklas Spille
Patrick Schweiger
Christian Stimming
Yasuaki Taniguchi
Bengt Thuree
James A. Treacy
Linas Vepstas
Neil Williams
Robert Graham Merkel

47
NEWS
View File

@ -1,5 +1,52 @@
Version history:
------- -------
2.6.15 - 18 December 2016
Announcement: GnuCash 2.6.15 Release 2016-12-18
GnuCash 2.6.14 released
The GnuCash development team proudly announces GnuCash 2.6.15, the
fifteenth maintenance release in the 2.6-stable series.
The following bugs are fixed:
Bug 340991 - Default price source for reports not good.
Bug 516920 - Scheduled trasaction calendar popup off screen.
Bug 685329 - Crashes on non-existent date.
Bug 769124 - Australian (GMT-10) OFX transactions imported have
previous day's date.
Bug 770364 - Sign of Value in Lots in Account window seems inconsistent.
Bug 771246 - Set Invoice/Bill items date correctly from imported CSV.
Bug 771617 - Build fails because test test-report-utilities is
sensitive to time of day/timezone.
Bug 772313 - Invalid DOCTYPE in report generation.
Bug 772369 - Replace use of guile's internal date/time functions.
Bug 772382 - Date off-by-one after DST change.
Bug 772484 - Segfault on Transaction edit.
Bug 773808 - Export Report Crash.
Bug 774237 - FTBFS under some timezones (eg. GMT-14).
Bug 775368 - "Average cost" price source problem.
Bug 775385 - Confusing error message which includes the text "file file".
Bug 775567 - Importing QIF file from PayPal crashes GnuCash 2.6.14
on Windows XP service pack 3/
Bug 775912 - Tips of the Day shows content only once very 3 times.
Other repairs that weren't marked as bugs in git:
Fix report html header
Changed the default value for date format in Business Options
Change report resizing when not in view
Add an image for the report tab
Show empty business splits in lot viewer
Business check & repair - correct lot invoice state
When juggling business splits while scrubbing set both value and amount
Update progress bar while running Check & Repair
Remove lot from account while deleting the lot
Ensure that the Namespace combo box is initialized to a valid iter.
Fix CSV importer to handle GMT + 13 Timezone (New Zealand Daylight
Fix broken german account template 'Kontenrahmen für
Wohnungswirtschaft'.Time).
Translation Updates: Danish, German, Serbian
2.6.14 - 17 September 2016
Announcement: GnuCash 2.6.14 Release 2016-09-17
GnuCash 2.6.14 released

2
README
View File

@ -211,7 +211,7 @@ Building & Installing
GnuCash uses GNU Automake to handle the build process, so for most of
the details, see the generic instructions in INSTALL. (If you are
building directory from Git, read the README.git file for more instructions.)
building directly from Git, read the README.git file for more instructions.)
Below we detail the GnuCash specific bits.
Prior to building GnuCash, you will have to obtain and install the

View File

@ -44,14 +44,9 @@ EXECUTE_PROCESS(
FILE(STRINGS ${CMAKE_CURRENT_BINARY_DIR}/tip_of_the_day.list.tmp TIP_OF_THE_DAY_LINES)
SET(TOTD_OUTPUT "")
SET(FIRST_LINE TRUE)
FOREACH(line ${TIP_OF_THE_DAY_LINES})
STRING(REGEX REPLACE "^ *\"" "" line2 "${line}")
STRING(REGEX REPLACE "\" *$" "" line3 "${line2}")
IF (NOT FIRST_LINE)
LIST(APPEND TOTD_OUTPUT "\n\n")
ENDIF()
SET(FIRST_LINE FALSE)
LIST(APPEND TOTD_OUTPUT "${line3}\n")
ENDFOREACH()

2697
po/da.po

File diff suppressed because it is too large Load Diff

781
po/sr.po

File diff suppressed because it is too large Load Diff

View File

@ -35,10 +35,10 @@
(cons secs 0))
(define (gnc:timepair->date tp)
(localtime (gnc:timepair->secs tp)))
(gnc-localtime (gnc:timepair->secs tp)))
(define (gnc:date->timepair date)
(gnc:secs->timepair (car (mktime date))))
(gnc:secs->timepair (gnc-mktime date)))
(define (gnc:timepair? date)
(and (number? (car date))
@ -143,15 +143,15 @@
;; convert a date in seconds since 1970 into # of years since 1970 as
;; a fraction.
(define (gnc:date-to-year-fraction caltime)
(let ((lt (localtime caltime)))
(let ((lt (gnc-localtime caltime)))
(+ (- (gnc:date-get-year lt) 1970)
(/ (- (gnc:date-get-year-day lt) 1.0)
(* 1.0 (gnc:days-in-year (gnc:date-get-year lt)))))))
;; return the number of years (in floating point format) between two dates.
(define (gnc:date-year-delta caltime1 caltime2)
(let* ((lt1 (localtime caltime1))
(lt2 (localtime caltime2))
(let* ((lt1 (gnc-localtime caltime1))
(lt2 (gnc-localtime caltime2))
(day1 (gnc:date-get-year-day lt1))
(day2 (gnc:date-get-year-day lt2))
(year1 (gnc:date-get-year lt1))
@ -180,7 +180,7 @@
;; convert a date in seconds since 1970 into # of months since 1970
(define (gnc:date-to-month-fraction caltime)
(let ((lt (localtime caltime)))
(let ((lt (gnc-localtime caltime)))
(+ (* 12 (- (gnc:date-get-year lt) 1970.0))
(gnc:date-get-month lt) -1
(/ (- (gnc:date-get-month-day lt) 1.0) (gnc:days-in-month
@ -315,7 +315,7 @@
; Note: use of eval is evil... by making this a generator function,
; each delta function gets its own instance of Zero Date
(define (make-zdate)
(let ((zd (localtime 0)))
(let ((zd (gnc-localtime (current-time))))
(set-tm:hour zd 0)
(set-tm:min zd 0)
(set-tm:sec zd 0)
@ -479,7 +479,7 @@
(gnc:reldate-get-desc rel-date-info)))
(define (gnc:get-start-cal-year)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set-tm:sec now 0)
(set-tm:min now 0)
(set-tm:hour now 0)
@ -489,7 +489,7 @@
(gnc:date->timepair now)))
(define (gnc:get-end-cal-year)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set-tm:sec now 59)
(set-tm:min now 59)
(set-tm:hour now 23)
@ -499,7 +499,7 @@
(gnc:date->timepair now)))
(define (gnc:get-start-prev-year)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set-tm:sec now 0)
(set-tm:min now 0)
(set-tm:hour now 0)
@ -510,7 +510,7 @@
(gnc:date->timepair now)))
(define (gnc:get-end-prev-year)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set-tm:sec now 59)
(set-tm:min now 59)
(set-tm:hour now 23)
@ -521,7 +521,7 @@
(gnc:date->timepair now)))
(define (gnc:get-start-next-year)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set-tm:sec now 0)
(set-tm:min now 0)
(set-tm:hour now 0)
@ -532,7 +532,7 @@
(gnc:date->timepair now)))
(define (gnc:get-end-next-year)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set-tm:sec now 59)
(set-tm:min now 59)
(set-tm:hour now 23)
@ -549,7 +549,7 @@
(gnc:secs->timepair (gnc-accounting-period-fiscal-end)))
(define (gnc:get-start-this-month)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set-tm:sec now 0)
(set-tm:min now 0)
(set-tm:hour now 0)
@ -558,7 +558,7 @@
(gnc:date->timepair now)))
(define (gnc:get-end-this-month)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set-tm:sec now 59)
(set-tm:min now 59)
(set-tm:hour now 23)
@ -568,7 +568,7 @@
(gnc:date->timepair now)))
(define (gnc:get-start-prev-month)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set-tm:sec now 0)
(set-tm:min now 0)
(set-tm:hour now 0)
@ -582,7 +582,7 @@
(gnc:date->timepair now)))
(define (gnc:get-end-prev-month)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set-tm:sec now 59)
(set-tm:min now 59)
(set-tm:hour now 23)
@ -597,7 +597,7 @@
(gnc:date->timepair now)))
(define (gnc:get-start-next-month)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set-tm:sec now 0)
(set-tm:min now 0)
(set-tm:hour now 0)
@ -611,7 +611,7 @@
(gnc:date->timepair now)))
(define (gnc:get-end-next-month)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set-tm:sec now 59)
(set-tm:min now 59)
(set-tm:hour now 23)
@ -626,7 +626,7 @@
(gnc:date->timepair now)))
(define (gnc:get-start-current-quarter)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set-tm:sec now 0)
(set-tm:min now 0)
(set-tm:hour now 0)
@ -636,7 +636,7 @@
(gnc:date->timepair now)))
(define (gnc:get-end-current-quarter)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set-tm:sec now 59)
(set-tm:min now 59)
(set-tm:hour now 23)
@ -648,7 +648,7 @@
(gnc:date->timepair now)))
(define (gnc:get-start-prev-quarter)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set-tm:sec now 0)
(set-tm:min now 0)
(set-tm:hour now 0)
@ -663,7 +663,7 @@
(gnc:date->timepair now)))
(define (gnc:get-end-prev-quarter)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set-tm:sec now 59)
(set-tm:min now 59)
(set-tm:hour now 23)
@ -679,7 +679,7 @@
(gnc:date->timepair now)))
(define (gnc:get-start-next-quarter)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set-tm:sec now 0)
(set-tm:min now 0)
(set-tm:hour now 0)
@ -693,7 +693,7 @@
(gnc:date->timepair now)))
(define (gnc:get-end-next-quarter)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set-tm:sec now 59)
(set-tm:min now 59)
(set-tm:hour now 23)
@ -712,7 +712,7 @@
(cons (current-time) 0))
(define (gnc:get-one-month-ago)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(if (= (tm:mon now) 0)
(begin
(set-tm:mon now 11)
@ -726,7 +726,7 @@
(gnc:date->timepair now))))
(define (gnc:get-three-months-ago)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(if (< (tm:mon now) 3)
(begin
(set:tm-mon now (+ (tm:mon now) 12))
@ -740,7 +740,7 @@
(gnc:date->timepair now))))
(define (gnc:get-six-months-ago)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(if (< (tm:mon now) 6)
(begin
(set:tm-mon now (+ (tm:mon now) 12))
@ -754,7 +754,7 @@
(gnc:date->timepair now))))
(define (gnc:get-one-year-ago)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set:tm-year now (- (tm:year now) 1))
(let ((month-days (gnc:days-in-month (+ (tm:mon now) 1)
(+ (tm:year now) 1900))))
@ -764,7 +764,7 @@
(gnc:date->timepair now))))
(define (gnc:get-one-month-ahead)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(if (= (tm:mon now) 11)
(begin
(set-tm:mon now 0)
@ -778,7 +778,7 @@
(gnc:date->timepair now))))
(define (gnc:get-three-months-ahead)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(if (> (tm:mon now) 8)
(begin
(set:tm-mon now (- (tm:mon now) 9))
@ -792,7 +792,7 @@
(gnc:date->timepair now))))
(define (gnc:get-six-months-ahead)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(if (> (tm:mon now) 5)
(begin
(set:tm-mon now (- (tm:mon now) 6))
@ -806,7 +806,7 @@
(gnc:date->timepair now))))
(define (gnc:get-one-year-ahead)
(let ((now (localtime (current-time))))
(let ((now (gnc-localtime (current-time))))
(set:tm-year now (+ (tm:year now) 1))
(let ((month-days (gnc:days-in-month (+ (tm:mon now) 1)
(+ (tm:year now) 1900))))

View File

@ -67,6 +67,53 @@ typedef char gchar;
%typemap(in) gint64 " $1 = scm_to_int64($input); "
%typemap(out) gint64 " $result = scm_from_int64($1); "
%typemap(in) time64 " $1 = scm_to_int64($input); "
%typemap(out) time64 " $result = scm_from_int64($1); "
%typemap(in) time64 * (time64 t) "t = scm_to_int64($input); $1 = &t;"
%typemap(out) time64 * " $result = ($1) ? scm_from_int64(*($1)) : SCM_BOOL_F; "
%typemap(in) struct tm * {
SCM tm = $input;
struct tm t = {
scm_to_int(SCM_SIMPLE_VECTOR_REF(tm, 0)),
scm_to_int(SCM_SIMPLE_VECTOR_REF(tm, 1)),
scm_to_int(SCM_SIMPLE_VECTOR_REF(tm, 2)),
scm_to_int(SCM_SIMPLE_VECTOR_REF(tm, 3)),
scm_to_int(SCM_SIMPLE_VECTOR_REF(tm, 4)),
scm_to_int(SCM_SIMPLE_VECTOR_REF(tm, 5)),
scm_to_int(SCM_SIMPLE_VECTOR_REF(tm, 6)),
scm_to_int(SCM_SIMPLE_VECTOR_REF(tm, 7)),
scm_to_int(SCM_SIMPLE_VECTOR_REF(tm, 8)),
#ifdef HAVE_STRUCT_TM_GMTOFF
scm_to_int(SCM_SIMPLE_VECTOR_REF(tm, 9)),
scm_to_locale_string(SCM_SIMPLE_VECTOR_REF(tm, 10)),
#endif
};
$1 = &t;
}
%typemap(out) struct tm * {
SCM tm = scm_c_make_vector(11, SCM_UNDEFINED);
struct tm* t = $1;
SCM_SIMPLE_VECTOR_SET(tm, 0, scm_from_int(t->tm_sec));
SCM_SIMPLE_VECTOR_SET(tm, 1, scm_from_int(t->tm_min));
SCM_SIMPLE_VECTOR_SET(tm, 2, scm_from_int(t->tm_hour));
SCM_SIMPLE_VECTOR_SET(tm, 3, scm_from_int(t->tm_mday));
SCM_SIMPLE_VECTOR_SET(tm, 4, scm_from_int(t->tm_mon));
SCM_SIMPLE_VECTOR_SET(tm, 5, scm_from_int(t->tm_year));
SCM_SIMPLE_VECTOR_SET(tm, 6, scm_from_int(t->tm_wday));
SCM_SIMPLE_VECTOR_SET(tm, 7, scm_from_int(t->tm_yday));
SCM_SIMPLE_VECTOR_SET(tm, 8, scm_from_int(t->tm_isdst));
#ifdef HAVE_STRUCT_TM_GMTOFF
SCM_SIMPLE_VECTOR_SET(tm, 9, scm_from_long(t->tm_gmtoff));
SCM_SIMPLE_VECTOR_SET(tm, 10, scm_from_locale_string(t->tm_zone));
#else
SCM_SIMPLE_VECTOR_SET(tm, 9, scm_from_long(0));
SCM_SIMPLE_VECTOR_SET(tm, 10, scm_from_locale_string("GMT"));
#endif
$result = tm;
}
%define GLIST_HELPER_INOUT(ListType, ElemSwigType)
%typemap(in) ListType * {
SCM list = $input;

View File

@ -2047,9 +2047,15 @@ xaccTransSetDate (Transaction *trans, int day, int mon, int year)
GDate *date;
if (!trans) return;
date = g_date_new_dmy(day, mon, year);
g_assert(g_date_valid(date));
if (!g_date_valid(date))
{
PWARN("Attempted to set invalid date %d-%d-%d; set today's date instead.",
year, mon, day);
g_free(date);
date = gnc_g_date_new_today();
}
xaccTransSetDatePostedGDate(trans, *date);
g_date_free(date);
g_free(date);
}
void

View File

@ -138,15 +138,15 @@
(let ((txn (xaccMallocTransaction (gnc-get-current-book)))
(split-1 (xaccMallocSplit (gnc-get-current-book)))
(split-2 (xaccMallocSplit (gnc-get-current-book)))
(localtime (gnc:timepair->date date)))
(gnc-localtime (gnc:timepair->date date)))
(with-transaction txn
(lambda ()
(xaccTransSetDescription txn (env-string env "ponies"))
(xaccTransSetCurrency txn (gnc-default-report-currency))
(xaccTransSetDate txn
(gnc:date-get-month-day localtime)
(gnc:date-get-month localtime)
(gnc:date-get-year localtime))
(gnc:date-get-month-day gnc-localtime)
(gnc:date-get-month gnc-localtime)
(gnc:date-get-year gnc-localtime))
(xaccSplitSetParent split-1 txn)
(xaccSplitSetParent split-2 txn)
(xaccSplitSetAccount split-1 credit)

View File

@ -12,7 +12,7 @@
(define (test-split-in-list?)
(let* ((env (create-test-env))
(today (gnc:date->timepair (localtime (current-time))))
(today (gnc:date->timepair (gnc-localtime (current-time))))
(account-alist (env-create-test-accounts env))
(bank-account (cdr (assoc "Bank" account-alist)))
(expense-account (cdr (assoc "Expenses" account-alist)))

View File

@ -174,12 +174,15 @@ gnc_file_dialog (const char * title,
{
/* look for constructs like postgres://foo */
internal_name = gtk_file_chooser_get_uri(GTK_FILE_CHOOSER (file_box));
if (strstr (internal_name, "file://") == internal_name)
if (internal_name != NULL)
{
/* nope, a local file name */
internal_name = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER (file_box));
if (strstr (internal_name, "file://") == internal_name)
{
/* nope, a local file name */
internal_name = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER (file_box));
}
file_name = g_strdup(internal_name);
}
file_name = g_strdup(internal_name);
}
gtk_widget_destroy(GTK_WIDGET(file_box));
LEAVE("%s", file_name ? file_name : "(null)");
@ -206,7 +209,12 @@ show_session_error (QofBackendError io_error,
else if (! gnc_uri_is_file_uri (newfile)) /* Hide the db password in error messages */
displayname = gnc_uri_normalize_uri ( newfile, FALSE);
else
displayname = g_strdup (newfile);
{
/* Strip the protocol from the file name. */
char *uri = gnc_uri_normalize_uri(newfile, FALSE);
displayname = gnc_uri_get_path(uri);
g_free(uri);
}
switch (io_error)
{
@ -366,7 +374,7 @@ show_session_error (QofBackendError io_error,
}
else
{
fmt = _("The file %s could not be found.");
fmt = _("The file/URI %s could not be found.");
gnc_error_dialog (parent, fmt, displayname);
}
break;

View File

@ -139,11 +139,8 @@
;; 2000 => 100.) We also want to allow full year specifications,
;; (i.e. 1999, 2001, etc) and there's a point at which you can't
;; determine which is which. this should eventually be another
;; field in the qif-file struct but not yet. mktime in scheme
;; doesn't deal with dates before December 14, 1901, at least for
;; now, so let's give ourselves until at least 3802 before this
;; does the wrong thing.
((and (integer? post-read-value)
;; field in the qif-file struct but not yet.
((and (integer? post-read-value)
(< post-read-value 1902))
(set! y2k-fixed-value (+ 1900 post-read-value)))
@ -643,7 +640,7 @@
(if all-ok parsed #f)))
(define (qif-parse:print-date date-list)
(let ((tm (localtime (current-time))))
(let ((tm (gnc-localtime (current-time))))
(set-tm:mday tm (car date-list))
(set-tm:mon tm (- (cadr date-list) 1))
(set-tm:year tm (- (caddr date-list) 1900))

View File

@ -481,15 +481,7 @@
"Missing transaction date."
#f
#f))
((< (list-ref qif-date 2) 1970)
(qif-import:log progress-dialog
"qif-import:qif-xtn-to-gnc-xtn"
(_ "Dates earlier than 1970 are not supported."))
(throw 'bad-date
"qif-import:qif-xtn-to-gnc-xtn"
"Invalid transaction year (~A)."
(list (list-ref qif-date 2))
#f))
(else
(apply xaccTransSetDate gnc-xtn (qif-xtn:date qif-xtn))))

View File

@ -75,6 +75,7 @@ const char *qof_win32_get_time_format(QofWin32Picture picture);
typedef struct
{
void (*timespec_normalize) (Timespec *t);
GTimeZone* (*timezone_new_local) (void);
} Testfuncs;
Testfuncs *gnc_date_load_funcs (void);

View File

@ -1442,5 +1442,6 @@ gnc_date_load_funcs (void)
{
Testfuncs *tf = g_slice_new (Testfuncs);
tf->timespec_normalize = timespec_normalize;
tf->timezone_new_local = gnc_g_time_zone_new_local;
return tf;
}

View File

@ -1837,6 +1837,22 @@ test_gnc_dmy2timespec_end (FixtureB *f, gconstpointer pData)
}
}
static GDateTime*
offset_adjust(GDateTime *gdt)
{
Testfuncs *tf = gnc_date_load_funcs();
GTimeZone *zone = tf->timezone_new_local();
int interval = g_time_zone_find_interval(zone, G_TIME_TYPE_STANDARD,
g_date_time_to_unix(gdt));
int offset = g_time_zone_get_offset(zone, interval) / 60;
int off_hr = (offset / 60) + (offset % 60 ? (offset < 0 ? -1 : 1) : 0);
int correction = off_hr < -10 ? -10 - off_hr : off_hr > 13 ? 13 - off_hr : 0;
GDateTime* new_gdt = g_date_time_add_hours(gdt, correction);
g_date_time_unref(gdt);
g_slice_free(Testfuncs, tf);
return new_gdt;
}
/*gnc_dmy2timespec_neutral*/
static void
test_gnc_dmy2timespec_neutral (FixtureB *f, gconstpointer pData)

View File

@ -659,9 +659,13 @@
table
(list
(string-append label ":&nbsp;")
(string-expand (strftime date-format
(localtime (car date)))
#\space "&nbsp;")
;; oli-custom - modified to display a custom format
;; for the invoice date/due date fields
;; I could have taken the format from the report options, but... ;)
(string-expand (strftime (gnc-default-strftime-date-format)
(gnc-localtime (car date)))
#\space "&nbsp;")
;;(string-expand (gnc-print-date date) #\space "&nbsp;")
)))
(define (make-date-table)
@ -729,6 +733,14 @@
""))
#\newline "<br>" )
(if url (string-append (_ "Web:") " " url) "")))
;; oli-custom - I didn't want today's date on the invoice.
;; The invoice already has a date.
;; Today's date can be in the email, fax or letter accompanying the invoice.
;; (gnc:html-table-append-row! table (list
;; (strftime
;; date-format
;; (gnc-localtime (car (gnc:get-today))))))
table))
(define (make-break! document)

View File

@ -621,7 +621,7 @@
(gnc:html-table-append-row! table (list
(strftime
date-format
(localtime (car (gnc:get-today))))))
(gnc-localtime (car (gnc:get-today))))))
table))
(define (make-break! document)

View File

@ -526,7 +526,7 @@
(gnc:html-table-append-row! table (list
(strftime
date-format
(localtime (car (gnc:get-today))))))
(gnc-localtime (car (gnc:get-today))))))
table))
(define (make-break! document)

View File

@ -731,7 +731,7 @@
(gnc:html-table-append-row! table (list
(strftime
date-format
(localtime (car (gnc:get-today))))))
(gnc-localtime (car (gnc:get-today))))))
table))
(define (make-break! document)

View File

@ -101,7 +101,7 @@
(set-tm:isdst result -1)
result))
(define tax-day (cons (car (mktime bdtm)) 0))
(define tax-day (cons (gnc-mktime bdtm) 0))
(define after-tax-day (gnc:timepair-later tax-day today))
@ -322,10 +322,10 @@
(let* ((type (xaccAccountGetType account))
(code (gnc:account-get-txf-code account))
(date-str (if date
(strftime "%d.%m.%Y" (localtime (car date)))
(strftime "%d.%m.%Y" (gnc-localtime (car date)))
#f))
(x-date-str (if x-date
(strftime "%d.%m.%Y" (localtime (car x-date)))
(strftime "%d.%m.%Y" (gnc-localtime (car x-date)))
#f))
;; Only formats 1,3 implemented now! Others are treated as 1.
(format (gnc:get-txf-format code (eq? type ACCT-TYPE-INCOME)))
@ -410,7 +410,7 @@
(define (render-level-x-account table level max-level account lx-value
suppress-0 full-names txf-date)
(let* ((account-name (if txf-date ; special split
(strftime "%d.%m.%Y" (localtime (car txf-date)))
(strftime "%d.%m.%Y" (gnc-localtime (car txf-date)))
(if (or full-names (equal? level 1))
(gnc-account-get-full-name account)
(xaccAccountGetName account))))
@ -547,7 +547,7 @@
((4th-est 4th-last) ; Oct 1
(set-tm:mon bdtm 9))))
(set-tm:isdst bdtm -1)
(cons (car (mktime bdtm)) 0))))
(cons (gnc-mktime bdtm) 0))))
(to-value (gnc:timepair-end-day-time
(let ((bdtm from-date))
@ -590,7 +590,7 @@
(else
(set! bdtm (gnc:timepair->date to-value)))))
(set-tm:isdst bdtm -1)
(cons (car (mktime bdtm)) 0))))
(cons (gnc-mktime bdtm) 0))))
(txf-feedback-str-lst '())
(doc (gnc:make-html-document))
@ -603,8 +603,8 @@
(txf-special-split? (gnc:account-get-txf-code account)))
(let*
((full-year?
(let ((bdto (localtime (car to-value)))
(bdfrom (localtime (car from-value))))
(let ((bdto (gnc-localtime (car to-value)))
(bdfrom (gnc-localtime (car from-value))))
(and (equal? (tm:year bdto) (tm:year bdfrom))
(equal? (tm:mon bdfrom) 0)
(equal? (tm:mday bdfrom) 1)
@ -619,7 +619,7 @@
(set-tm:mday bdtm 1) ; 01
(set-tm:mon bdtm 2) ; Mar
(set-tm:isdst bdtm -1)
(cons (car (mktime bdtm)) 0))
(cons (gnc-mktime bdtm) 0))
from-value))
(to-est (if full-year?
(let* ((bdtm (gnc:timepair->date
@ -629,7 +629,7 @@
(set-tm:mon bdtm 1) ; Feb
(set-tm:year bdtm (+ (tm:year bdtm) 1))
(set-tm:isdst bdtm -1)
(cons (car (mktime bdtm)) 0))
(cons (gnc-mktime bdtm) 0))
to-value)))
(list from-est to-est full-year?))
#f))
@ -765,11 +765,11 @@
;; Ignore
'())))
(let ((from-date (strftime "%d.%m.%Y" (localtime (car from-value))))
(to-date (strftime "%d.%m.%Y" (localtime (car to-value))))
(to-year (strftime "%Y" (localtime (car to-value))))
(let ((from-date (strftime "%d.%m.%Y" (gnc-localtime (car from-value))))
(to-date (strftime "%d.%m.%Y" (gnc-localtime (car to-value))))
(to-year (strftime "%Y" (gnc-localtime (car to-value))))
(today-date (strftime "%d.%m.%Y"
(localtime
(gnc-localtime
(car (timespecCanonicalDayTime
(cons (current-time) 0))))))
(tax-nr (or

View File

@ -132,7 +132,7 @@
(set-tm:isdst result -1)
result))
(define tax-day (cons (car (mktime bdtm)) 0))
(define tax-day (cons (gnc-mktime bdtm) 0))
(define after-tax-day (gnc:timepair-later tax-day today))
@ -552,10 +552,10 @@
(if (and txf?
(not (gnc-numeric-zero-p account-value)))
(let* ((date-str (if date
(strftime "%m/%d/%Y" (localtime (car date)))
(strftime "%m/%d/%Y" (gnc-localtime (car date)))
#f))
(x-date-str (if x-date
(strftime "%m/%d/%Y" (localtime (car x-date)))
(strftime "%m/%d/%Y" (gnc-localtime (car x-date)))
#f))
;; Only formats 1,3,4,6 implemented now! Others are treated as 1.
(format (get-acct-txf-info 'format type code))
@ -825,7 +825,7 @@
(string-append
" on "
(strftime "%Y-%b-%d"
(localtime (car pricedb-lookup-price-time)))
(gnc-localtime (car pricedb-lookup-price-time)))
")"
)
""))
@ -978,7 +978,7 @@
"Not Available"))
(list (gnc:make-html-table-cell/markup
"text-cell-center"
(strftime "%Y-%b-%d" (localtime
(strftime "%Y-%b-%d" (gnc-localtime
(car trans-date)))))
(list (gnc:make-html-table-cell/markup
"number-cell-bot"
@ -1264,7 +1264,7 @@
""
(string-append "Balance on "
(strftime "%Y-%b-%d"
(localtime (car
(gnc-localtime (car
(gnc:timepair-previous-day
from-value))))
(if (string=? curr-conv-note "")
@ -1498,7 +1498,7 @@
(gnc:make-html-table-cell/markup
"date-cell"
(strftime "%Y-%b-%d"
(localtime (car trans-date)))))
(gnc-localtime (car trans-date)))))
(gnc:html-table-set-style! num-table "table"
'attribute (list "border" "0")
'attribute (list "cellspacing" "0")
@ -1689,14 +1689,14 @@
#f
(if (txf-beg-bal-only? tax-code)
(string-append "Balance on "
(strftime "%Y-%b-%d" (localtime (car
(strftime "%Y-%b-%d" (gnc-localtime (car
(gnc:timepair-previous-day
from-value))))
" For "
)
(string-append "Balance on "
(strftime "%Y-%b-%d"
(localtime (car to-value)))
(gnc-localtime (car to-value)))
" For "
)
)
@ -2121,7 +2121,7 @@
((4th-est 4th-last) ; Oct 1
(set-tm:mon bdtm 9))))
(set-tm:isdst bdtm -1)
(cons (car (mktime bdtm)) 0))))
(cons (gnc-mktime bdtm) 0))))
(to-value (gnc:timepair-end-day-time
(let ((bdtm from-date))
@ -2165,7 +2165,7 @@
(else
(set! bdtm (gnc:timepair->date to-value)))))
(set-tm:isdst bdtm -1)
(cons (car (mktime bdtm)) 0))))
(cons (gnc-mktime bdtm) 0))))
(form-line-acct-header-printed? #f)
(form-schedule-header-printed? #f)
@ -2182,8 +2182,8 @@
(txf-special-date? (gnc:account-get-txf-code account)))
(let*
((full-year?
(let ((bdto (localtime (car to-value)))
(bdfrom (localtime (car from-value))))
(let ((bdto (gnc-localtime (car to-value)))
(bdfrom (gnc-localtime (car from-value))))
(and (equal? (tm:year bdto) (tm:year bdfrom))
(equal? (tm:mon bdfrom) 0)
(equal? (tm:mday bdfrom) 1)
@ -2198,7 +2198,7 @@
(set-tm:mday bdtm 1) ; 01
(set-tm:mon bdtm 2) ; Mar
(set-tm:isdst bdtm -1)
(cons (car (mktime bdtm)) 0))
(cons (gnc-mktime bdtm) 0))
from-value))
(to-est (if full-year?
(let* ((bdtm (gnc:timepair->date
@ -2208,7 +2208,7 @@
(set-tm:mon bdtm 1) ; Feb
(set-tm:year bdtm (+ (tm:year bdtm) 1))
(set-tm:isdst bdtm -1)
(cons (car (mktime bdtm)) 0))
(cons (gnc-mktime bdtm) 0))
to-value)))
(list from-est to-est full-year?))
#f))
@ -2396,13 +2396,13 @@
) ;; end of let*
)
(let ((from-date (strftime "%Y-%b-%d" (localtime (car from-value))))
(to-date (strftime "%Y-%b-%d" (localtime (car to-value))))
(let ((from-date (strftime "%Y-%b-%d" (gnc-localtime (car from-value))))
(to-date (strftime "%Y-%b-%d" (gnc-localtime (car to-value))))
(today-date (strftime "D%m/%d/%Y"
(localtime
(gnc-localtime
(car (timespecCanonicalDayTime
(cons (current-time) 0))))))
(tax-year (strftime "%Y" (localtime (car from-value))))
(tax-year (strftime "%Y" (gnc-localtime (car from-value))))
(tax-entity-type (gnc-get-current-book-tax-type))
(tax-entity-type-valid? #f)
(prior-form-schedule "")

File diff suppressed because it is too large Load Diff

View File

@ -19,7 +19,7 @@
(define (test-account-get-trans-type-splits-interval)
(let* ((env (create-test-env))
(ts-now (localtime (current-time)))
(ts-now (gnc-localtime (current-time)))
(test-day (tm:mday ts-now))
(test-month (+ 1 (tm:mon ts-now)))
(test-year (+ 1900 (tm:year ts-now)))

View File

@ -108,7 +108,7 @@ balance at a given time"))
(gnc:options-add-price-source!
options gnc:pagename-general
optname-price-source "c" 'average-cost)
optname-price-source "c" 'pricedb-nearest)
(if do-intervals?
(add-option

View File

@ -189,7 +189,7 @@
(gnc:options-add-price-source!
options pagename-commodities
optname-price-source "b" 'average-cost)
optname-price-source "b" 'pricedb-nearest)
(add-option
(gnc:make-simple-boolean-option

View File

@ -206,7 +206,7 @@
(gnc:options-add-price-source!
options pagename-commodities
optname-price-source "b" 'average-cost)
optname-price-source "b" 'pricedb-nearest)
(add-option
(gnc:make-simple-boolean-option

View File

@ -169,7 +169,7 @@
(gnc:options-add-price-source!
options pagename-commodities
optname-price-source "b" 'average-cost)
optname-price-source "b" 'pricedb-nearest)
(add-option
(gnc:make-simple-boolean-option

View File

@ -223,7 +223,7 @@
(gnc:options-add-price-source!
options pagename-commodities
optname-price-source "b" 'average-cost)
optname-price-source "b" 'pricedb-nearest)
(add-option
(gnc:make-simple-boolean-option

View File

@ -154,7 +154,7 @@
;; optname-from-date optname-to-date "a")
(gnc:options-add-price-source!
options gnc:pagename-general optname-price-source "c" 'average-cost)
options gnc:pagename-general optname-price-source "c" 'pricedb-nearest)
;;(gnc:register-option
;; options

View File

@ -143,7 +143,7 @@
(gnc:options-add-price-source!
options pagename-commodities
optname-price-source "b" 'average-cost)
optname-price-source "b" 'pricedb-nearest)
(add-option
(gnc:make-simple-boolean-option

View File

@ -186,7 +186,7 @@
(gnc:options-add-price-source!
options pagename-commodities
optname-price-source "b" 'average-cost)
optname-price-source "b" 'pricedb-nearest)
(add-option
(gnc:make-simple-boolean-option

View File

@ -171,7 +171,7 @@
(gnc:options-add-price-source!
options pagename-commodities
optname-price-source "b" 'average-cost)
optname-price-source "b" 'pricedb-nearest)
(add-option
(gnc:make-simple-boolean-option

View File

@ -30,7 +30,7 @@
(bank-account (cdr (assoc "Bank" account-alist)))
(wallet-account (cdr (assoc "Wallet" account-alist)))
(expense-account (cdr (assoc "Expenses" account-alist)))
(today (localtime (current-time)))
(today (gnc-localtime (current-time)))
(to-date-tp (gnc-dmy2timespec-end (tm:mday today) (+ 1 (tm:mon today)) (+ 1900 (tm:year today))))
(from-date-tp (NDayDelta to-date-tp 1))
(exchange-fn (lambda (currency amount date) amount))
@ -66,7 +66,7 @@
(bank-account (cdr (assoc "Bank" account-alist)))
(wallet-account (cdr (assoc "Wallet" account-alist)))
(expense-account (cdr (assoc "Expenses" account-alist)))
(today (localtime (current-time)))
(today (gnc-localtime (current-time)))
(to-date-tp (gnc-dmy2timespec-end (tm:mday today) (+ 1 (tm:mon today)) (+ 1900 (tm:year today))))
(from-date-tp (NDayDelta to-date-tp 1))
(exchange-fn (lambda (currency amount date) amount))
@ -98,7 +98,7 @@
(bank-account (cdr (assoc "Bank" account-alist)))
(wallet-account (cdr (assoc "Wallet" account-alist)))
(expense-account (cdr (assoc "Expenses" account-alist)))
(today (localtime (current-time)))
(today (gnc-localtime (current-time)))
(to-date-tp (gnc-dmy2timespec-end (tm:mday today) (+ 1 (tm:mon today)) (+ 1900 (tm:year today))))
(from-date-tp (NDayDelta to-date-tp 1))
(exchange-fn (lambda (currency amount date) amount))

View File

@ -222,7 +222,7 @@
(gnc:options-add-price-source!
options pagename-commodities
optname-price-source "b" 'average-cost)
optname-price-source "b" 'pricedb-nearest)
(add-option
(gnc:make-simple-boolean-option

View File

@ -273,12 +273,12 @@ option like this.")
;; these are samples of different date options. for a simple
;; date with day, month, and year but no time you should use
;; gnc-print-date
(let ((time-string (strftime "%X" (localtime (current-time))))
(date-string (strftime "%x" (localtime (car date-val))))
(date-string2 (strftime "%x %X" (localtime (car date2-val))))
(rel-date-string (strftime "%x" (localtime (car rel-date-val))))
(let ((time-string (strftime "%X" (gnc-localtime (current-time))))
(date-string (strftime "%x" (gnc-localtime (car date-val))))
(date-string2 (strftime "%x %X" (gnc-localtime (car date2-val))))
(rel-date-string (strftime "%x" (gnc-localtime (car rel-date-val))))
(combo-date-string
(strftime "%x" (localtime (car combo-date-val)))))
(strftime "%x" (gnc-localtime (car combo-date-val)))))
;; Here's where we fill the report document with content. We
;; do this by adding 'html objects' such as text, tables, and