Commit Graph

15544 Commits

Author SHA1 Message Date
Frank H. Ellenberger
3e11a1cd64 Fix of [23550]: Translator comments don't like empty comment lines.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23553 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-13 06:47:57 +00:00
Frank H. Ellenberger
3f556e8f5f Update translation into Arabic language to 44% completion on trunk
by عبدالسلام عبدالعزيز <ashalash@msn.com>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23552 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-13 06:33:41 +00:00
Frank H. Ellenberger
b3f14a3224 Tell translators where to adjust their credits.
Eventually we should run a msgmerge.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23550 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-12 20:24:33 +00:00
Mike Alexander
85c7631406 Ignore missing accounts in gnc:filter-accountlist-type to avoid an assert.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23549 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-12 05:18:09 +00:00
Mike Alexander
894630e1d4 Ignore XCode projects
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23548 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-12 05:17:43 +00:00
Mike Alexander
b3a433d7b8 Check for null account pointers in gnc_tree_view_account_set_selected_accounts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23547 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-12 05:17:30 +00:00
Frank H. Ellenberger
13a5b8a914 Port of "Completion of translation into Arabic language by 55%" by abdulsalam alshilash
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23545 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-11 22:36:02 +00:00
Frank H. Ellenberger
3cec5d38d4 Appendix to [23539] update POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23544 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-11 22:10:18 +00:00
Geert Janssens
6f4b818e98 Build svn releases with documentation from a matching branch
This is a quick hack to get the last 2.4 gnucash build
use the 2.4 branch of the documentation.
This should be implemented properly for git as well still,
but may need some more thought.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23543 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-11 17:43:37 +00:00
Geert Janssens
0065659b90 Bug 720235 - Python bindings should load environment file just like gnucash does
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23539 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-11 14:45:40 +00:00
Mike Alexander
2a1f9f7547 Fix r23536: got the 'closing keyword wrong in a couple of places
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23538 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-10 23:38:58 +00:00
Mike Alexander
2182d04dad Change various reports to find book closing transactions without pattern matching
Several reports need to find book closing transactions and let you specify a pattern
to match against the description of the transaction to detect them.  The Close Book tool
marks the transactions it creates so they can be found without pattern matching.  This
changes makes those reports use that mark to find them even if the pattern match doesn't.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23536 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-10 22:17:50 +00:00
Mike Alexander
9f5f1320be Add the ability to search for transactions that are, or are not, book closing entries.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23535 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-10 22:17:00 +00:00
Geert Janssens
a09e3d6a35 Ensure that opening an existing book never opens an empty main window.
If there's only one window, automatically add an account hierarchy page
to it. If it's a subsequent empty window, just ignore it (ie don't restore
it from the state file).

This commit deals with the secondary issue mentioned in
bug 436479 - Gnucash doesn't display the data file name in the title bar

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23528 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-10 17:13:00 +00:00
John Ralls
2f35bd3a91 Bug 705714 - QIF Import - File selection pop-up is not on top during qif import
Use gtk_window_set_transient_for(), not gtk_window_set_keep_on_top().
The latter forces the window on top of *everything*, at least on the
Gnome WM and on MSWindows.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23527 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-10 03:34:43 +00:00
John Ralls
c978ab68e4 QifImport: Fix crash from attempting to import an empty file.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23526 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-10 03:34:36 +00:00
John Ralls
d62d8557d0 Qif Import Assistant: Don't disable the whole dialog, just the Forward button
The Qif import assistant would at many steps block entirely, requiring the
user to either do whatever is necessary to move forward or to quit and
restart Gnucash. That's a bit rude, so set pages as GTK_ASSISTANT_TYPE_CONTENT
instead of GTK_ASSISTANT_TYPE_PROGRESS.

Fix the file selection page so that the forward button isn't enabled until
a file is selected.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23525 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-10 03:34:27 +00:00
John Ralls
4a82768e18 Bug 632588 - Scrub doesn't fix missing currency
So assign the currency from the first split (that belongs to an account.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23522 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-09 02:02:41 +00:00
John Ralls
16eaec05b2 Fix missing identifier from r23520
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23521 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-09 02:02:31 +00:00
Geert Janssens
8d59144c08 Fix (harmless) report warnings as reported in bug 639371
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23520 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-08 18:18:46 +00:00
Geert Janssens
6b9dbd9faa Long term fix for wrong version number part of bug 639371
Read compile time version number to display in the report

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23519 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-08 18:02:25 +00:00
Geert Janssens
51c2cd7161 Remove obsolete conditional that's never triggered anymore
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23518 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-08 18:02:09 +00:00
Cristian Marchi
1e1400e54b Updated French translation and glossary, thanks to Sébastien Villemot.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23517 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-08 17:15:23 +00:00
Geert Janssens
2308e9b3b5 Fix report background image loading on Windows
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23513 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-08 13:48:31 +00:00
Frank H. Ellenberger
bdb1188a86 Bug 711317 - Indian Rupee Symbol appears as "?" marks
update outdated INR locale symbol
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23510 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-07 20:49:01 +00:00
John Ralls
b574198961 Fix missing prototype warning from r23494.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23509 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-07 18:02:29 +00:00
Geert Janssens
a0ca453e6c Bug 627575 - Stylesheet names with non-alphanumeric characters and saved-reports -- addendum
Work around a bug in guile 1.8. It escapes spaces in symbols
when printed to a string, but can't convert that string
back properly in a symbol

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23501 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-07 15:57:46 +00:00
Geert Janssens
f14bd73ba9 Bug 627575 - Stylesheet names with non-alphanumeric characters and saved-reports
g_key_file_[gs]et_string parses the string to escape newlines and comments
This erroneously does some escaping in the #{symbol name}# guile extended format
for symbols. Since we already strip newlines and comments ourselves,
we can save and store the string without any additoinal parsing
using g_key_file_[gs]et_value.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23499 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-07 10:18:21 +00:00
Mike Alexander
5c3f0d3c81 Don't add a \n to the beginning of the split memo, account, or amount lists.
Pango seems to ignore it, but it really shouldn't be there.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23498 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-07 07:33:39 +00:00
Mike Alexander
0d3d2c33b8 Fix bug 653594 related to check printing.
This bug has two parts.  The original bug was that the wrong split is sometimes
used to print the check.  In the comments a second problem was mentioned:
sometimes the wrong split is omitted from the split list in formats that print
all the splits.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23497 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-07 07:33:33 +00:00
Mike Alexander
80b51ad5dd Protect against null account pointers in a couple of place to avoid asserts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23496 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-07 07:33:24 +00:00
Mike Alexander
bf1c6d3278 Protect gnc_mktime against bad dates.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23495 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-07 07:33:14 +00:00
John Ralls
e4fc44dd1c Test for overflow limits in gnc_numeric_add.
For analysis of Bug 665707.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23494 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-05 21:54:28 +00:00
John Ralls
de3a6e3df2 Handle RAND_MAX < 2^32 in get_random_gint64()
MacOSX, for example, sets RAND_MAX at 65535, which rather limits the
size of random gint64s on that platform.

Fixing this revealed some odd behavior in creating random interest rates,
so created a specific function for that with a somewhat more reasonable
approach.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23493 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-05 21:54:18 +00:00
Geert Janssens
71654e984c Multi-currency "Post invoice" improvements
- only pop up the exhange rate notification message when an exchange
  rate is effectively asked. Still only pop it up once per post operation.
- ask for conversion rates again if an invoice is reposted on a different date
- only keep one price per foreign currency in the invoice's price list

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23491 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-05 10:53:32 +00:00
Geert Janssens
361a803de5 Bug 630578 - current date instead of posting date in exchange rate, when posting a bill
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23490 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-05 09:41:30 +00:00
Geert Janssens
ae23373ed6 Bug 715123 - Post invoice problem, cannot unpost
Look for missing exchange rates in tax table entries
as well as in invoice entries

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23485 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-04 16:56:55 +00:00
Christian Stimming
f5e443c22e Fix cutecash build: Calling the iso-currencies-to-c script can directly use the unchanged .in script because we call the GUILE_EXECUTABLE directly from cmake.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23484 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-04 07:30:54 +00:00
Frank H. Ellenberger
ba0400b718 Update german glossary
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23483 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-04 04:26:22 +00:00
Mike Alexander
1787ffb01c Fix bug 719521. The two radio buttons were both there, but one on top of the other.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23482 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-04 00:58:51 +00:00
Christian Stimming
24fbdace04 Fix ugly typo in string.
I know, this is a minor break of string freeze, but it's still a very
hidden string, so I fix the typo better now than later.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23480 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-03 11:33:17 +00:00
Christian Stimming
b68147d904 Update German translation. Still 690 to go.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23479 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-03 11:33:02 +00:00
John Ralls
839f7f54a9 Bug 719726 - Click on File -> Open seg-faults
in gnc_uri_get_components in gnucash gnc-uri-utils.c:137

g_strsplit doesn't return a 2-element array if presented with an
empty string.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23478 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-02 23:46:49 +00:00
John Ralls
219c780641 Bug 708526 - GnuCash Crashes when opening About page
Downgrade the g_error in gnc_filepath_locate_file() to a g_warning
and ensure that all users will properly handle a NULL return value.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23477 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-02 23:46:40 +00:00
John Ralls
c914f15eac Remove src/gnome-utils/gnc-warnings.c from POTFILES.in
and add it to POTFILES.skip so intltool will stop adding it back.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23476 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-02 23:46:31 +00:00
John Ralls
d745ea99ec Protect older GCCs from -Wno-invalid-source-encoding
Needed for clang, added in r23434

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23475 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-02 23:46:22 +00:00
Geert Janssens
7492f14606 Fix python test
It no longer requires access to the installed gsettings schemas.
The default value for XDG data dirs didn't work anyway because
it used a ; instead of a : as separator (as it should for the
environment file).

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23474 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-02 16:05:44 +00:00
Geert Janssens
31c7396e15 GSettings: only load backend when installed
The preferences backend can't work from the source environment because
it's schemas won't be compiled. This situation is only relevant for testing,
which is done from the source (or build) tree.
Note that a few preferences are needed by the xml backend. If no preferences
backend is loaded, some sane defaults will be used instead. Again this should
only matter for testing, in which case the real preferences are not relevant
anyway.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23473 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-02 16:05:32 +00:00
Mike Alexander
b50ca70f50 Update progress bar while writing price DB as well as while reading it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23472 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-01 04:53:05 +00:00
John Ralls
6bc1ad6da0 Make that Release 2.5.9
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23470 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-01 03:24:15 +00:00