Commit Graph

15782 Commits

Author SHA1 Message Date
John Ralls
7755f9658c Ensure struct tm is zeroed before passing it to gnc_tm_get_today_start
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23707 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-18 21:50:31 +00:00
John Ralls
36ad32cfe8 Bug 721791 - Segmentation fault when correcting invalid date
And greatly simplify gnc_split_register_get_date_help by just getting a GDate and running
g_date_strftime on it instead of messing around with Timespecs and g_localtime_r (twice!)
and all of that just to make a stupid string.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23706 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-18 21:50:21 +00:00
Cristian Marchi
1a7effc7fd Bug 605991 Help button on New and Edit Job dialogs brings up wrong help page. With this patch I linked almost all business features to corresponding help pages. For features not yet documented, the button will open the initial chapter of the business section.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23705 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-18 18:47:52 +00:00
Cristian Marchi
32f0ff065a Update Catalan translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23704 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-18 16:56:12 +00:00
Cristian Marchi
edcbc38e17 Update Italian translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23703 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-18 16:45:41 +00:00
Geert Janssens
e48381ecf9 Bug 721600 - Segmentation fault on startup if report Income/Expense Chart was opened since last running
This bug is a continuation of bug 719481. The fix for that bug
wouldn't trickle down into the release tarballs because the needed
patch would only be applied if the tarball were generated against
guile 2.

This commit fixes this by applying that patch unconditionally

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23702 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-18 15:09:52 +00:00
John Ralls
2d97811265 Bug 722035 - Missing space in the Spanish translation of msgid "Total For "
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23701 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-17 00:26:12 +00:00
John Ralls
65e6185014 Bug 721576 - Gnucash can not work with files, that have russian symbols in path.
g_win32_locale_filename_from_utf8() is not only unnecessary, it does the
wrong thing.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23700 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-17 00:03:47 +00:00
John Ralls
767a25f7a7 Bug 555182 - Security Type template hidden
Part 2: Change commodities in namespace "template" to namespace "User"
unless the mnemonic is also "template". This makes commidities which
have been entered into "template" by mistake visible so that they
can be deleted or edited.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23699 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-16 22:52:03 +00:00
Christian Stimming
35217b6aeb Update cmake/cutecash build, adding the recently newly introduced file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23697 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-15 13:06:22 +00:00
John Ralls
b6654362ac Bug 721290 - SX Editor: Pressing "Enter" too soon hides transaction
The problem was that r23585 was a bit too broad in what it excluded, so
narrow it down to require exactly one split and that that split's
account is NULL.

Note that this will still cause the split to disappear from the SX
editor if one creates a transaction with no splits or with one that has
no account: A split will be created in the appropriate Orphan account.
It will be visible there and in the General Ledger so that it can be
easily deleted.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23692 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-13 02:12:45 +00:00
John Ralls
9ec098bc6b Extract function update_info.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23691 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-13 02:12:35 +00:00
John Ralls
4bf29ed1fb Extract function change_account_separator.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23690 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-13 02:12:27 +00:00
John Ralls
cd7f6d4120 Extract function create_blank_split.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23689 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-13 02:12:19 +00:00
John Ralls
5ad7e5a625 Bug 555182 - Security Type template hidden
Part 1: Prevent users from creating commodities of type "template"

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23688 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-13 02:12:10 +00:00
Christian Stimming
d5ba1ecc38 Fix build for aqbanking with version number > 5.2.0
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23687 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-12 20:50:51 +00:00
Christian Stimming
cad3b89973 Win32 build: Update aqbanking to most recent version 5.3.0
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23686 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-12 19:48:59 +00:00
Christian Stimming
5e797281fb Win32 build: Remove support for aqbanking < 5.x because 5.x has been released since 2010 by now.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23685 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-12 19:48:49 +00:00
J. Alex Aycinena
46233ea56c Update txf.scm for 2013 US Income Tax for,/schedule changes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23680 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-11 07:23:41 +00:00
John Ralls
156bda112c Bug 721667 - Accelerator key map loaded from one file and saved
to a different one which is ignored

So don't save it if using MAC_INTEGRATION. Changing accels on the
fly doesn't work with Mac menus anyway.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23679 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-10 23:16:59 +00:00
Mike Evans
5e4fbfe8c3 Bug 721929 - Importing a customer list causes a crash.
Seems I omitted some things.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23677 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-10 12:14:08 +00:00
Mike Evans
b67aa9c51a Split long line.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23676 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-10 12:13:25 +00:00
John Ralls
487ddeb4a4 Bug 721608 - Supported Platforms list in 2.6.0 README.txt
dates from 2.0.x

Reviewed and updated to reflect current status.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23675 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-09 18:50:51 +00:00
Cristian Marchi
c162fc205b Bug #721607 and #721608: fix GnuCash version numbers and remove/update links.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23674 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-08 21:46:40 +00:00
Christian Stimming
b057cf0b45 Win32 build: Update libofx version to use latest bugfixes there
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23671 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-07 10:30:24 +00:00
John Ralls
d38ac4be6b Bug 721251 - Incorrect Transaction Dates
Fix g_gnc_time_zone_adjust_for_dst to handle southern-hemisphere DST

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23670 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-05 20:42:38 +00:00
Christian Stimming
b50aef93e4 Win32: Update gwenhywfar/aqbanking/gnutls with recent versions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23664 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-02 21:52:45 +00:00
Christian Stimming
4050d7e096 Update aqbanking code for latest aqbanking development.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23663 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-02 21:43:07 +00:00
Christian Stimming
f3e0929e52 For aqbanking, take into account the actual purpose line length that is given from aqbanking.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23662 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-02 21:42:56 +00:00
Mike Evans
2ee26b38a5 Fix issue with Python bindings.
Any Entry.functions were returning <Swig Objects> instead of instances.
Also removed invalid items from entry_dict in gnucash_business.py.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23661 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-02 11:04:02 +00:00
John Ralls
5016478de8 Bug 721260 - Crash on startup: gnucash cannot handle default locale
Actually, Guile can't handle weird locales, which OS X 10.9 lets
one set. Guile will throw an exception.

This patch avoids the problem by ensuring that the locale is set to
something that setlocale() will work with, ideally in the language
indicated by defaults.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23660 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-31 22:36:36 +00:00
John Ralls
950a2933bc Fix another broken build
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23659 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-31 03:27:12 +00:00
John Ralls
b5f7385538 Release 2.6.0
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23642 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-28 19:40:15 +00:00
John Ralls
43c93a09fd Add new files to POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23641 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-28 19:40:07 +00:00
Mike Evans
6e9fda20fc A couple more edits.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23640 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-28 15:40:51 +00:00
Mike Evans
637b160640 Update Last Translator and removed cruft.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23639 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-28 14:23:41 +00:00
Mike Evans
2870c12327 Update Amercan -> British translations.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23638 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-28 14:23:21 +00:00
Geert Janssens
a65d0f6c06 Update gnome appdata file to pass validity check
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23634 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-27 18:42:11 +00:00
Cristian Marchi
61587396df Update French translations thanks to Sébastien Villemot.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23629 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-27 10:26:42 +00:00
Cristian Marchi
7531b4157e Update Lithuanian translation. Thanks to Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23628 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-27 10:23:24 +00:00
Geert Janssens
443ac692e5 Prevent gnc-numeric overflow in advanced portfolio report
Patch by zz-bugzilla-9297@qwerty.co.il
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23623 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-26 15:46:19 +00:00
Cristian Marchi
c1da862a65 Update Italian translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23622 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-26 14:03:48 +00:00
Geert Janssens
b0425c5879 Fix compile warning introduced in r23602
Quote from gnucash-devel:
"I think this introduced a "might be used uninitialized" warning in
src/gnome/top-level.c with my particular version of gcc.

Initializing *file_guid with NULL in gnc_restore_all_state() fixes
the warning, see below."

Author:    Herbert Thoma <herbert.thoma@iis.fraunhofer.de>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23621 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-26 13:47:49 +00:00
Geert Janssens
01b6bcaeb9 Bug 720646 - New Book Tabs on Windows
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23620 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-26 13:47:39 +00:00
Geert Janssens
1e1c705a14 Don't create a second account hierarchy page when cancelling the Hierarchy Assistant
Yet another case this could happen: when using Actions->New Account Hierarchy
on an already open book.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23619 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-26 13:47:30 +00:00
Geert Janssens
2921a5cea4 Make "New Book Options" dialog transient for its caller where possible
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23618 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-26 13:47:22 +00:00
John Ralls
1c0f4d61d1 Add plugin example to plugins
This is the former content of plugins-example.tgz, mentioned in the
wiki documentation.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23615 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-25 06:12:56 +00:00
Geert Janssens
6efd839282 Use same name for dialog and menu related to preconfigured reports
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23613 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-24 17:09:00 +00:00
Geert Janssens
07e2106386 Revert "Bug 720646 - New Book Tabs on Windows"
This reverts commit 5305c7909e.

This was incomplete and not meant to be pushed yet.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23612 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-24 17:08:50 +00:00
Geert Janssens
5305c7909e Bug 720646 - New Book Tabs on Windows
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23611 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-24 17:03:49 +00:00