Commit Graph

15578 Commits

Author SHA1 Message Date
Geert Janssens
a952699285 Improve guile testing in configure.ac
Use guile specific macros to determing the guile executable to use.
Unfortunately the macro names may be different on various supported
platforms. So we have to run some extra tests to determine which
macro names we need exactly.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23390 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-13 15:50:59 +00:00
Christian Stimming
e65779599c First update of German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23389 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-13 07:18:53 +00:00
Christian Stimming
27667582b1 I18n message improvements: Fix typos; unify strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23388 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-13 07:18:36 +00:00
Mike Alexander
7942b9c11e Collapse the two transaction currency scrubbing functions into one and fix some bugs.
The most serious bug was that it would, in some cases, set the transaction's currency
to a non-currency commodity.  It also sometimes set the currency directly without calling
xaccTransSetCurrency which skipped a number of side effects.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23387 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-11 03:09:57 +00:00
John Ralls
18ac55505b Wrap budget UI strings in the translation function
Author: Robert Ratliff

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23386 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-10 21:35:34 +00:00
John Ralls
8b51ff9d13 Fix Application Menu Preferences Item
Previous fix put it in the wrong place and didn't even fix changing it to "Preferences Gnucash".

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23385 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-10 21:35:25 +00:00
Mike Alexander
b205a7713d Handle multi-currency transactions in registers without a default currency.
Editing a multi-currency transaction in a serach results register sometimes
sets the exchange rate to 1 instead of the value you want.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23384 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-08 04:53:10 +00:00
Christian Stimming
79d8d8059a Bug #711493: Fix unselected account that is NULL.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23383 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-05 21:44:15 +00:00
John Ralls
517f161e35 Update dependencies and versions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23382 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-05 19:33:10 +00:00
Geert Janssens
79bb4b8b78 Enable translations on gsettings schemas
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23381 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-05 18:37:45 +00:00
Geert Janssens
b3b40ac924 Bug 711294 - Gnucash repeatedly ask associated income account when import qfx file
Patch by Kuang-che Wu <kcwu@csie.org>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23380 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-04 21:23:48 +00:00
Geert Janssens
05953e51f6 Use proper conversion modifier for unsigned int
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23379 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-04 21:23:24 +00:00
John Ralls
c2d93cbe4c Fix broken win32 build
MinGW doesn't think a gsize is an unsigned long.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23377 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-03 23:28:50 +00:00
John Ralls
1d31c33af4 Release 2.5.7
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23374 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-03 00:04:48 +00:00
John Ralls
e607c93519 Clean out log files from testing the xml backend.
Otherwise make distcheck whines about them.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23373 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-03 00:04:38 +00:00
John Ralls
839bd61560 Remove dialog-preferences2.c from POTFILES.in
Left over from r23331

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23372 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-02 20:51:33 +00:00
John Ralls
53c139ce0b Skip this test when building with clang
See comment in test-scm-query-strings.c

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23371 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-02 20:51:17 +00:00
John Ralls
4431cdc67b replace static string filename with generated one
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23370 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-02 20:51:04 +00:00
John Ralls
47928126e0 Remove dead code.
Unsigned ints can't be less than 0.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23369 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-02 20:50:56 +00:00
John Ralls
fcd7b2ffbb Replace deprecated tempnam with a constant.
Fixes complaint in 10.9 Mac headers. Even though we were just using tempnam for convenience, we don't really need a randomized filename anyway.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23368 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-02 20:50:44 +00:00
John Ralls
d14473b707 Mac: Don't append 'Gnucash' to the 'Preferences' menu item title.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23367 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-02 20:50:32 +00:00
John Ralls
f20857edde Avoid critical error from trying to access an uninitialized GHash.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23366 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-02 20:50:23 +00:00
John Ralls
c0bd3d03cd Fix incorrect Enum type specifier
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23365 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-02 20:49:48 +00:00
Geert Janssens
c42c13da47 Update POTFILES.in after my recent work
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23364 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-31 22:26:20 +00:00
Geert Janssens
014eeee0b6 Bug 693244 - View Lots window enhancements
Fix remaining issue: sort on date now works

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23363 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-31 22:26:00 +00:00
Geert Janssens
f3c5b93b1e Improve visual appearance and sorting of Invoice payment dialog
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23362 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-31 22:25:03 +00:00
Geert Janssens
fed6a1e5b7 Bug 687478 - Bills due reminder doesn't work well with credit notes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23361 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-31 22:24:27 +00:00
Geert Janssens
d1cdf9a163 Bug 687479 - Automatic invoice/payment matching on posting an invoice should be an optional feature
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23360 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-31 22:24:05 +00:00
Geert Janssens
1f7549c082 Code reindentation in tests
Command used: astyle --indent=spaces=4 --brackets=break --suffix=none <files>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23359 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-31 22:23:28 +00:00
Geert Janssens
440f732edd Code reindentation
Command used: astyle --indent=spaces=4 --brackets=break --suffix=none <files>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23358 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-31 22:22:53 +00:00
Geert Janssens
cba8e9aef2 Remove now unused parameter
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23357 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-30 14:54:43 +00:00
Geert Janssens
36778dae52 Bug 710979 - Crash in gnc_plugin_page_invoice_summarybar_position_changed
Signal handlers didn't get removed properly from gsettings keys
when an invoice page was closed, leading to a crash if the
signal handler is later activated again.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23356 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-30 14:43:58 +00:00
Geert Janssens
9ae7cb08d8 Some white space and comment improvements
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23355 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 20:53:21 +00:00
Geert Janssens
fd94134b85 Cleanup leftover from state save/restore re-implementation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23354 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 20:53:09 +00:00
Geert Janssens
50e02d7ac6 Fix crash when deleting budget
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23353 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:27:27 +00:00
Geert Janssens
b3c33b7fdb Remove function that no longer adds value
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23352 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:26:39 +00:00
Geert Janssens
4cfe666dfc Re-implement state save/restore functionality in gnc_tree_view
The new implementation uses the gnucash metafile in .gnucash/books
to save gui state for any page that is based on gnc_tree_view.

Think Account Hierarchy, Budgets, Vendor/Customer/Employee overviews.
Each of these sets a unique name for a state section that the tree view
will use to store column width/visibility, sort column, sort order.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23351 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:26:23 +00:00
Geert Janssens
de58942794 Move state handling code to separate file and improve on it
- keep the state information in memory while gnucash is running
- upon saving the state, only delete those sections that will be
  recreated by the save_all_state function

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23350 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:26:02 +00:00
Geert Janssens
df299589d4 On file open, only destroy a previous session if really exists
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23349 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:25:52 +00:00
Geert Janssens
7835e8cb3e Remove gnc_build_book_path from swig interface file
It hasn't been used in guile since 2006

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23348 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:25:42 +00:00
Geert Janssens
3aebc9ca54 Remove some unused includes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23347 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-29 19:25:29 +00:00
Mike Alexander
1cfa86695a Guard against bad parameter to gnc_plugin_page_invoice_summarybar_position_changed.
This avoids the crash in bug #710979 but doesn't fix the underlying problem.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23346 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-28 19:17:00 +00:00
Geert Janssens
bc1970bf71 Use the symbol in iso-4217-currencies by default
Author:    Frédéric Perrin <frederic.perrin@resel.fr>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23345 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-28 09:22:38 +00:00
Frank H. Ellenberger
96f52a43e6 Rename .texinfo files to .texi to get rid of the autogen.sh warning.
I am wondering if anybody still uses the content of this directory.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23344 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-28 01:02:53 +00:00
Mike Alexander
45f18a7eff Add --with-xdg-data-dirs to specify default search path for XDG data directories.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23343 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-27 21:57:42 +00:00
Mike Alexander
0c5c0c7e19 Fix a typo in --with-qt3-wizard-package.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23342 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-27 21:57:32 +00:00
Frank H. Ellenberger
9e4c76ece4 Bump required automake version to 1.11
see https://www.gnu.org/software/automake/manual/html_node/Obsolete-Macros.html
and http://lists.gnucash.org/logs/2013/10/2013-10-27.html#T16:03:07

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23341 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-27 20:45:13 +00:00
Mike Evans
693a2efed7 Bug 710871 - Undo my last two commits.
Wrong solution to the problem.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23340 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-27 14:58:34 +00:00
Mike Evans
7c34b75f58 Bug 710871 - Remove errant $.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23338 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-26 09:28:22 +00:00
Geert Janssens
82a0329df0 Small XDG_DATA_DIRS improvements
- win32: improve iss script to only replace the real XDG_DATA_DIRS path, not the comment
- use $(datadir) instead of $(prefix)/share, for the rare case someone configures with
  --datadir=DIR

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23337 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-10-26 08:56:26 +00:00