Commit Graph

15578 Commits

Author SHA1 Message Date
John Ralls
4147d88e72 Bug 710824 - GnuCash should sanitise UTF-8 before serialising files
to avoid writing broken unparseable XML.
This checks for both bad UTF8 and for invalid control characters
that libxml2 doesn't convert to entities.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23598 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-22 22:32:04 +00:00
Mike Alexander
d9c33eb571 Update .gitignore to include recently added config macros.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23597 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-22 22:13:42 +00:00
Mike Alexander
b21713b1ba Load old version 1 XML files without crashing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23596 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-22 22:13:36 +00:00
Geert Janssens
39ab0bde47 Bug 720556 - The Tip of the Day preference isn't getting saved
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23595 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-22 16:48:58 +00:00
Cristian Marchi
efe16b9b6d More update to Italian translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23590 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-21 15:09:13 +00:00
Geert Janssens
597b6f9c8a Drop double blanks from gschema strings.
These resulted in message translations not being found:
gnc-warnings.c is generated from these strings using xsltproc
the *.po files are generated from these strings using gettext

gettext collapses whitespace. xlstproc doesn't at least not in the
way we use it. So when gnucash needs to look up a translation for
a warning, it won't find it due to the mismatch in message id.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23589 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-21 11:54:25 +00:00
Geert Janssens
e24a339fda Reset Warnings dialog: show translated warnings
Author:    Aurimas Fišeras <aurimas@members.fsf.org>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23588 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-21 11:54:07 +00:00
John Ralls
73b63765bf Fix up and update strawberry perl URIs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23587 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-20 22:53:03 +00:00
Cristian Marchi
4717ded3e7 Another update to Italian Translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23586 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-20 21:01:47 +00:00
John Ralls
e90a0c00ba Suppress other register's blank transactions from General Ledger
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23585 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-20 00:44:51 +00:00
John Ralls
21e0e19f34 Bug 720555 - General Ledger - Can't Enter Transaction Amounts
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23584 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-20 00:44:43 +00:00
John Ralls
f694000ba5 Bug 157247 - Asset account's "total" value should use most recent transaction prices
Add price database entry for accounts (e.g., stock accounts) which don't have a price cell
in their register tables.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23583 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-20 00:44:35 +00:00
John Ralls
28c2f62034 Extract-method on gnc_split_register_auto_calc
Producing calculate_value, recalc_message_box, recalculate_shares, recalculate_price, recalculate_value

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23582 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-20 00:44:27 +00:00
John Ralls
ad96f1cd23 Rewrite apparently confusing comment.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23581 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-20 00:44:18 +00:00
Cristian Marchi
c1f3f4cde5 Update Dutch translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23578 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-18 20:45:36 +00:00
Cristian Marchi
eb96a71f66 Updated Lithuanian translation provided by Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23577 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-18 20:37:57 +00:00
Geert Janssens
48d589041f Add missing macros to distribution and silence libtool warning
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23574 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-16 18:55:50 +00:00
Frank H. Ellenberger
f70e0ee134 [23570] there was still one "_JP" although currently commented out
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23573 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-15 21:15:37 +00:00
John Ralls
0f412c79d5 Change guide and help translation directories
To match gnucash-docs r23523

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23570 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-15 19:30:55 +00:00
John Ralls
4a333aba7d Release 2.5.10
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23568 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-15 17:22:11 +00:00
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