Commit Graph

15558 Commits

Author SHA1 Message Date
John Ralls
813c9ed325 Rename some directories in src/import-export
The gschema.xml.in.in pathnames were too long for versions with more than
5 characters, e.g. 2.5.10, so tar was rejecting them. aqbanking, csv-import,
csv-export, and qif-import are now aqb, csv-imp, csv-exp, and qif-imp,
respectively.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23567 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-15 17:21:20 +00:00
John Ralls
9da77a1767 Move gnc-warnings.c from POTFILES.skip to POTFILES.ignore
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23566 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-15 17:20:10 +00:00
John Ralls
070ef2f953 Fix ax_pkg_swig.m4 filename.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23565 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-15 17:19:51 +00:00
John Ralls
5c7bc36a21 Revert a stray, unrelated change from r23556
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23564 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-15 17:19:40 +00:00
John Ralls
0ecc6caa63 BUG 336843 (Attach images/files/urls to transactions):
- Added conditional to grey-out/disable 'Open File/Link' when association is unset
    - Converted 'Open Location' dialog to gtk_dialog_new_with_buttons
    - fixed invalid options from last submitted patch
    - made dialog modal



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23563 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-15 17:14:47 +00:00
John Ralls
d2bfbf0c0d Fix missing xaccTransCommitEdit() from r23466
Caused imported transactions to not be committed.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23562 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-15 05:47:23 +00:00
John Ralls
0d0fc1964a Bug 619478 - Build warning in html/gnc-html-webkit.c
Require WebKit 1.2 as a minimum

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23561 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-14 18:24:47 +00:00
Geert Janssens
f6c4308690 SWIG version updates
- move the swig version check after the guile checks
  this allows us to check for a different version of swig
  based on the guile version that was detected
- use more recent autoconf macros for swig (from the autotools archive)
  this give us more flexible error reporting

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23560 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-14 16:40:54 +00:00
Geert Janssens
8325bf8e5c Guile 1.8 fixes for r23556 and r23557
- guile 1.8 doesn't need the swig patch
- make sure all swig interface files include guile-mappings.h
  for the *utf8_string to *locale_string mappings
  but only load it when building guile modules

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23559 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-14 16:40:42 +00:00
Cristian Marchi
09b0544353 Update Italian translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23558 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-13 21:46:17 +00:00
Geert Janssens
2a5f68c812 Bug 719481 - GnuCash report crashes with Guile2
This is actually a bug in swig.
This commit works around it by patching the swig
generated source files until swig itself has been fixed.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23557 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-13 20:22:01 +00:00
Geert Janssens
510c20b8a9 Use scm_[to/from]_utf8_string instead of scm_[to/from]_locale_string as per guile recommendation
Notes:
- in some situations the original *locale_string variant is retained. This
  is when locale encoded strings are processed (mostly file names).
- the utf8 variants don't exist for guile 1.8. For that version these
  functions will be rededefined to call the locale variants.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23556 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-13 20:21:41 +00:00
Mike Evans
21fddc1f68 Move customer, bill, and invoice importers form the business menu to
the file menu.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23555 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-13 14:42:47 +00:00
Mike Evans
19c54162ac Remove empty file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23554 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-13 14:41:34 +00:00
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