Commit Graph

15261 Commits

Author SHA1 Message Date
John Ralls
df4f6a321c Handle exception in set_mac_locale()
When [locale objectForKey: NSLocaleCountryCode] returns nil

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23150 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-26 17:02:54 +00:00
Cristian Marchi
757a1ef120 Revert Persian translation update while Persion translators coordinates the translation effort.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23149 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-22 18:59:41 +00:00
Cristian Marchi
ffd3dc2deb Update traditional Chinese translation thanks to Kuang-che Wu.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23148 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-20 20:08:51 +00:00
Geert Janssens
61b79aa231 Bug 334939 - Account Report and Account Transaction Report are apparently the same, but different
Change menu entry for the single transaction Account Report
from
"Accout Transaction Report"
to
"Account Report - Single Transaction"

Author:    Carsten Rinke <carsten.rinke@gmx.de>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23147 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-20 13:49:46 +00:00
John Ralls
4774967890 Fix pointer conversion warnings on 64-bit builds
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23146 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-18 22:55:39 +00:00
Geert Janssens
a04cf371e5 Add comment to document the hack for multicolumn multi-chart reports
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23145 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-18 21:22:15 +00:00
Geert Janssens
28de0f4c78 Bug 704525 - When you have a mix of chart types (bar charts and pie charts)
Add calls to gnc:substring-replace-from-to to procedure gnc:report-run.
Filter out all occurances of jquery.min.js and jquery.jqplot.js except for the first occurances.
Author:    Carsten Rinke <carsten.rinke@gmx.de>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23144 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-18 21:22:07 +00:00
Geert Janssens
cc51bcf7c0 Bug 704525 - When you have a mix of chart types (bar charts and pie charts)
Add new procedure gnc:substring-replace-from-to

Similar to gnc:substring-replace, but offers the possibility to replace substrings in a range of occurances.
Author:    Carsten Rinke <carsten.rinke@gmx.de>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23143 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-18 21:21:57 +00:00
John Ralls
299b6c4b4d Add Lithuanian translators to AUTHORS
Per request of Tae Wong <seotaewong40@gmail.com>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23142 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-18 00:03:47 +00:00
John Ralls
155223d487 Set mime-type property on AUTHORS and DOCUMENTERS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23141 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-17 23:23:18 +00:00
John Ralls
48901c39f0 Testing: Split.c: Filter out expected error message.
Includes putting the message-handler cleanup in teardown.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23140 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-16 16:44:45 +00:00
John Ralls
6aa2cb9deb Unit test Transaction.c
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23139 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-16 16:44:28 +00:00
John Ralls
6379a23b87 [Testing] Create log handlers in one step, clean up in teardown
New functions to simplify creating log handlers for expected log
messages, especially fatal message handlers. Handlers are tracked in the
Fixture and automatically freed during teardown.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23138 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-16 16:44:08 +00:00
John Ralls
7ae9ebc69a Protect split-iterator from NULL split
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23137 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-16 16:43:58 +00:00
John Ralls
bb5d1751d2 Protect xaccTransIsBalanced against crashing if passed a NULL Transaction
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23136 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-16 16:43:39 +00:00
John Ralls
6c49aad96e Transaction.c: Note a bug discovered in testing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23135 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-16 16:43:30 +00:00
John Ralls
4ac2182cce Guard xaccTransGetRateForCommodity against NULL arguments
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23134 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-16 16:43:12 +00:00
John Ralls
6f93931df5 Split: Ignore fatal message
It's checked already as a normal message.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23133 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-16 16:43:01 +00:00
Christian Stimming
29facc54c6 Bug #629136: Move the code that updates the sensitivity of immutable page actions from gnc_main_window_switch_page to gnc_main_window_generate_title.
Patch by Guilherme Salgado.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23132 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-15 19:44:32 +00:00
Christian Stimming
bbf7c34f98 Bug #696492: Change report name in menu or in report output to be consistent
Change the register name to "Accout Transaction Report" when the register
type is GENERAL_LEDGER, INCOME_LEDGER, or default in function gnc_reg_get_name().

Patch by Carsten Rinke.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23131 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-15 19:44:20 +00:00
Cristian Marchi
2d845cae0d Update Persian translation, copied from the translation project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23129 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-12 12:20:28 +00:00
Cristian Marchi
63bf8578c8 Update Lithuanian translation thanks to Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23128 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-04 19:12:06 +00:00
Cristian Marchi
2765b3137b Improve a tooltip. Patch thanks to Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23127 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-04 19:10:51 +00:00
Cristian Marchi
b436673a52 Change po files for previous patch removing double spaces. Patch thanks to Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23126 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-04 19:08:29 +00:00
Cristian Marchi
6bf62a3679 Remove double spaces from translatable strings. Patch submitted by Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23125 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-04 19:04:39 +00:00
John Ralls
a96929969c Fix some uninitialized variable warnings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23124 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-03 21:47:35 +00:00
John Ralls
2b2838c834 Bump for 2.5.4 release
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23122 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-03 14:42:21 +00:00
Cristian Marchi
852c3ed568 More consistency for UI strings. Patch by Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23120 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-02 18:34:40 +00:00
John Ralls
9918d767b0 Revert "Support for querying Bitcoin/Litecoin prices via F::Q's MtGox module"
This reverts commit r22988.
See https://bugzilla.gnome.org/show_bug.cgi?id=698769#c8

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23119 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-02 18:33:25 +00:00
Cristian Marchi
0d04bb4b70 Update Italian translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23118 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-02 18:32:52 +00:00
John Ralls
b1fb99d211 - Functions which can return null always return a Python object
Minor change to check for and return None in method_function_returns_instance

Author: Tom Lofts <dev@loftx.co.uk>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23116 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-02 18:08:55 +00:00
John Ralls
abe3440291 Bug 704183 - ofx file import tries to match online_id against ACCTID[space]ACCTKEY even when ACCTKEY is empty
Alters the gnucash account matching code to search a second time if
the original search fails and the account ID has a trailing space. The second
search tries with the trailing space removed.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23114 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-02 17:55:52 +00:00
John Ralls
ab3d8086be Register rewrite Update, add delete transaction up/down function. This update corrects a mistake in the removal of previous gui update. Author: Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23113 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-02 17:55:40 +00:00
John Ralls
530bcd446d Register rewrite Update, change to using original query. This update changes the model to drop the filter and sort models to use the qof query to do these parts. This is in response to the slowness of large transaction lists with the intention to load only a subset of them. This is the start and this update should result in the same out put as using the filter and sort model. Author: Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23112 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-02 17:55:26 +00:00
John Ralls
d97086e260 Register rewrite Update, added extra dates and cursor changes. This update fixes the following, allow the cursor to move between cells and make active, changed the preference for showing date entered to include reconcile date and added another option to show when transaction selected. Also added menu option to show these extra dates. Author: Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23111 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-02 17:55:10 +00:00
Cristian Marchi
c1da48fb46 Make CSV account import table header translatable. Patch by Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23110 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-01 20:06:57 +00:00
Cristian Marchi
d3569e6709 Update Catalan translation copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23109 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-01 19:10:16 +00:00
John Ralls
c4736ea79a Fix report tests which fail in OSX
Because of too-small stack sizes.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23108 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-01 18:42:19 +00:00
John Ralls
41b99bb87c Bug #704185: GnuCash 2.5 doesn't build on FreeBSD
Undefined symbols 'timezone' and 'daylight'
These are declared extern globals in time.h on most Unices, but not
on some BSDs. Since they're not used anywhere in Gnucash, just delete
setting them.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23106 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-07-14 17:10:03 +00:00
Cristian Marchi
10ed9757ea Update Danish TRanslation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23105 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-07-10 18:19:08 +00:00
Cristian Marchi
0e8eeb5fc3 Update Lithuanian translation thanks to Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23104 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-07-08 19:51:22 +00:00
Cristian Marchi
15788775e2 Fix some translation issues. Author: Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23103 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-07-08 19:44:06 +00:00
Cristian Marchi
7dd9d42fbe Fix translation of table headers. Author: Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23102 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-07-08 19:42:22 +00:00
Cristian Marchi
e1c5f01134 Fix typo preventing dash marker usage. Author: Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23101 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-07-08 19:41:25 +00:00
John Ralls
08adbfdb06 Bump version for 2.5.3 release
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23099 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-07-07 00:09:18 +00:00
John Ralls
f1e77948e5 Bug 703272 - list of windows in Windows menu outdated
Only set the menu once per window!
When combined with fixing the autorelease pool problem of Byg 698334,
the window menu now behaves correctly.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23098 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-07-06 22:16:07 +00:00
Geert Janssens
5126d49141 Implement Save and Save As for custom report templates
This fixes bug 649284 - Allow saving of Custom Reports without changing name, overwriting existing report

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23097 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-07-06 20:51:23 +00:00
Geert Janssens
7fd6e8b552 New function to open custom reports dialog with one report name in edit mode
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23096 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-07-06 20:51:11 +00:00
Cristian Marchi
96d99d732d Better wording for Italian translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23095 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-07-06 17:50:13 +00:00
Geert Janssens
32203b08f8 Fix windows compilation error since r23083
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23094 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-07-06 16:22:55 +00:00