This patch adds an additional label statement date to the box below the Credits
section.
Patch by C. Ernst
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17820 57a11ea4-9604-0410-9ed3-97b8803252fd
Report names are passed through the _() macro before they are stored to the
tree list.
Patch by C. Ernst.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17819 57a11ea4-9604-0410-9ed3-97b8803252fd
gnucash-2.2.7 doesn't (IMHO) log enough (any?) information about failures to
load optional modules. It was a bit of work to debug a recent problem (#564033)
and I ended up tweaking gnc_module_load_common() a bit to coax the error
messages out. I slightly reorganized the code in this function to accomplish
two things:
1. Make the logic clearer to someone new to the code (i.e., me)
2. If an optional module is found, log any errors in loading it
I tried to maintain the original spirit of not squawking too much about unfound
optional modules while still generating messages about legitimate problems.
Patch by G. Paul Ziemba.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17818 57a11ea4-9604-0410-9ed3-97b8803252fd
.scm files must be copied on windows because linking won't work.
Note: existing build directories will be fixed only after make clean.
Patch by C. Ernst.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17817 57a11ea4-9604-0410-9ed3-97b8803252fd
New versions: gwenhywfar 3.6.0, ktoblzcheck 1.20, aqbanking 3.8.1. Fix path to
xmlmerge. Fix aqbanking backend list when compiling without qt (untested
though).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17815 57a11ea4-9604-0410-9ed3-97b8803252fd
While loading an xml file, do not look up an internal commodity and modify that,
but rather work on a copy. When inserting the commodity, apply the same
replacements as in gnc_commodity_table_lookup().
This change should not be necessary on branches/2.2 but it might not do any
harm.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17814 57a11ea4-9604-0410-9ed3-97b8803252fd
This avoids a crash when the log configuration is not valid.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17813 57a11ea4-9604-0410-9ed3-97b8803252fd
Note that mnemonics are not copied on branches/2.2.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17812 57a11ea4-9604-0410-9ed3-97b8803252fd
* Relinking is really fast now, no need for a hack anymore
* Move the fix of the gnucash script into make_install()
* GnuCash does not install into lib/locale/ anymore
* Remove invalid LIBXML2_DIR from PATH
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17810 57a11ea4-9604-0410-9ed3-97b8803252fd
Re-add a removed space character, no need for regressions ;-)
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17807 57a11ea4-9604-0410-9ed3-97b8803252fd
* MinGW tools
* Autotools (ac 2.60, am 1.10.2, lt 2.2.6a)
- libtool feels faster, needs confirmation
- compiling ac needs a newer m4 version, add that
* Gnome
- intltool needs a newer perl, so upgrade to activeperl 5.10
- new libpng, separated into libpng and libpng-dev
- newly packaged zlib (zlib-dev as well), no dlltool'ing anymore
- remove libgnomeprint (cf. goffice), gtkprint finally seems to work
-> goodbye mirrored printouts
* libxslt
- not the newest because that will be moved to oldreleases/ soon
* openssl
- watch for libeay32.dll in your Windows folder, it might be too old,
better you remove it completely
* gmp
- untested, no BP needed (yet)
* gnutls
- untested, no BP needed (yet)
* swig
* pcre
* libgsf, goffice
- goffice does not use libgnomeprint anymore, new patch necessary,
grab gtk-doc.m4 from gtk-doc tarball instead of patching goffice
- install htmlhelp earlier and add flags to link to it
* svn
- includes an own libeay32.dll, may conflict with openssl/bin/libeay32.dll
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17806 57a11ea4-9604-0410-9ed3-97b8803252fd
Those commas will be interpreted as commands and warnings printed out. Also,
put square brackets around the strings describing the corresponding autoconf
definitions to save them from possible substitions.
Noticed by Kevin HaleBoyes.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17803 57a11ea4-9604-0410-9ed3-97b8803252fd
Both variables are only evaluated once away. Even worse, when used as
simply-expanded variables, the gnc-test-env script is called multiple times,
because of make re-reading the Makefile when called by make in the check-am
target. Those variable definitions are not portable and thus automake spit
warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17797 57a11ea4-9604-0410-9ed3-97b8803252fd
Automake-1.10 also supports dist-lzma but adding it to AM_INIT_AUTOMAKE
would require us to assume Automake 1.10 which might not yet be
available on each developer os. When dist'ing I will probably add a
short line to the dist target to tar up the same directory instead of
running dist-lzma manually.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17788 57a11ea4-9604-0410-9ed3-97b8803252fd
* Remove gnucash_core.i from _SOURCES, because automake probably does not use it
anyway.
* Put flags into separate lines.
* Add gnucash_core.c to maintainer-clean target and wrap it in
BUILDING_FROM_SVN, so that timestamps in tarballs do not try to regenerate it.
* Add example_scripts/*.py, tests/*.py and *.i to EXTRA_DIST.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17787 57a11ea4-9604-0410-9ed3-97b8803252fd
Add a new action "Balance" to reconcile window. It is only sensitive if the
difference is != 0.
If activated, it creates a new transaction in the account register to adjust
the difference. The corresponding account defaults to the orphan account.
Jump to the new transaction in the register window.
Patch by C. Ernst.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17782 57a11ea4-9604-0410-9ed3-97b8803252fd
This reverts one hunk of r17747: It's not necessary because the hash
table keys are freed up in gnucash_sheet_cleer_styles.
Patch by Jonathan Kamens.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17781 57a11ea4-9604-0410-9ed3-97b8803252fd
Sqlite3 uses utf8 encoding for all char fields, so it is non-ascii-safe.
For postgresql, the default encoding can be set on a per-db basis.
Since the database is not created by gnucash (the tables are, but not
the database), it is for the user to set utf8 encoding when the database
is created. For mysql, a default encoding can be set on a per-db,
per-table or per-field basis. Since there are char fields which do not
need to be utf8 (e.g. guids), encoding is set on a per-field basis.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17780 57a11ea4-9604-0410-9ed3-97b8803252fd
where previously the user had to hand edit scheme files to change
"Invoice" to "Tax Invoice" and the like, there is now an option to
enter a custom string. This string will override the word "Invoice"
(or "Bill" and "Expense Voucher") in all locations in the report.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17764 57a11ea4-9604-0410-9ed3-97b8803252fd
In gnc_history_generate_label() and gnc_main_window_generate_title(), replace
the username and password with an equal-length string of asterisks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17760 57a11ea4-9604-0410-9ed3-97b8803252fd
--enable-dbi is given" introduced a Gtk critical warning because an
action was removed from the compilation, but still referenced from the
ui xml file. This commit changes this so that the database connection
action is still created, but the add_to_window() function is overriden
to set that action insensitive if --enable-dbi is not given.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17759 57a11ea4-9604-0410-9ed3-97b8803252fd
This time, the XML element handler for the "weekend adjustment" is optional
so that old files without that element are read without error.
Patch (well, kind of) by Simon Arlott.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17751 57a11ea4-9604-0410-9ed3-97b8803252fd
The report options of multicolumn reports show in the Selected Reports the
attributes "Rows" and "Cols". If choose "Size" to edit these values a dialog
opens with "Column span" and "Row span" - just the other way around. I always
confuse this. This patch swaps the order in the dialog.
Patch by C.Ernst.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17749 57a11ea4-9604-0410-9ed3-97b8803252fd
When writing the report options to saved-reports the embedded reports (if any
exist) are stored too. This is important for saving multicolumn reports.
Patch by C. Ernst.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17748 57a11ea4-9604-0410-9ed3-97b8803252fd
Here's the problem... GnuCash uses a hash table with int keys to store
dimensions, and the key value is the number of rows in the dimension being
stored. The problem is that this key value is stored in a static int inside
the style_get_key function, which means that the key always has the same
address, and the hash functions in glib2 store the *address*, not the *value*
of the key. Unfortunately, the hash algorithm changed some time between
glib2-2.18.2 and glib2-2.19.2, such that there's a hash conflict between the
key value 1 and the key value 2, but since the value of the already hashed key
was swiped out from under it when style_get_key "created" a new key, the hash
table entry that's already there matches even when it shouldn't have.
The attached patch cleans this up by allocating memory to hold the key when
inserting it into the hash table. It also changes the way the hash table is
created to ensure that the memory is freed when a hash table entry or hash
table is destroyed. And while I was at it, I made the same fix for the cursors
hash table, which was also leaking memory when entries were removed or the
table was destroyed.
Patch by Jonathan Kamens.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17747 57a11ea4-9604-0410-9ed3-97b8803252fd
This resolves a compilation error about GtkButton*.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17745 57a11ea4-9604-0410-9ed3-97b8803252fd