Commit Graph
13353 Commits
Author SHA1 Message Date
Geert Janssens e7dfb3308a File dialog - make enter activate the default action for mysql/pgsql selection.
This was already the case in the standard file selector. This change makes the 
two selection methods more consistent.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19658 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-15 11:58:25 +00:00
Geert Janssens 072ee537ab Rework two nearly identical fuctions into a common function with parameters.
Keep the old function names as convenience wrappers around the new function.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19657 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-14 21:00:46 +00:00
Geert Janssens ccb89d5d52 Remove obsolete example files: also remove them from the makefile.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19656 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-14 20:41:00 +00:00
Geert Janssens da08ea90ef Remove incompatible example files (X-Account) and update the README file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19655 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-14 13:20:28 +00:00
Geert Janssens ec76f3731f Commit missed file for gnc-fq-* location fix.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19654 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-13 16:38:07 +00:00
Christian Stimming 66692aea57 Make qof_query_run_subquery() available to scheme as well, and also the gnc_numeric options.
Needed to remove an unimplemented function from <gnc-numeric.h>
header.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19653 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-13 16:16:17 +00:00
Christian Stimming 67c6a3d0cf Replace some renamed functions by their real new names, removing the annoying #defines.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19652 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-13 16:16:04 +00:00
Geert Janssens de7b16533e Make sure the right gnc-fq-* scripts are used.
With the original configuration, whatever script was found first on the path was used.
When testing development versions, this caused the also installed stable version to 
be used as it happened to appear first on the path.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19651 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-13 16:11:44 +00:00
Geert Janssens f58788f91c Separate load paths for shared libraries and gnucash loadable modules.
The former should be found on (DY)LD_LIBRARY_PATH, the latter on
GNC_MODULE_PATH. These paths shouldn't overlap as that needlessly
confuses things.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19648 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-11 20:46:36 +00:00
Phil Longstaff b762dfa3ae Fix #630286 - Please add handling code for GDate kvp values in SQL, too
If slots table does not include gdate field, it will be added and all current slots will have a NULL value.

Tested on sqlite3 and mysql.  Tested using the example gnucash file referenced from the bug report.  When saved from XML -> sqlite3 -> XML, some timestamps changed their timezone because of a change of timezone (I'm in North America).  I guess this is OK.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19647 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-10 22:21:43 +00:00
Christian Stimming aba704a59a Make the INVOICE-BILLTO query predicate available to scheme also.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19644 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-07 20:04:26 +00:00
Christian Stimming 7f018ba293 Fix erroneous extra package that I forgot to remove in r19641.
It doesn't have to be reverted because libjpeg-7 shouldn't be needed
with a clean webkit rebuild anyway.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19643 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-07 20:04:14 +00:00
Christian Stimming 6388e8172c Minor update of German translation.
"xy anlegen" -> "Neue xy"
bill -> "Lieferantenrechnung" to distinguish from invoice -> "Rechnung".

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19642 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-05 19:54:54 +00:00
Christian Stimming eb7a0126a4 Revert r19576, r19590, r19593, r19601: "Update gtk versions..."
It's been 3 weeks without a working windows build. Apparently this
has to wait until we have an updated webkit again. Revert this back once
we have a working webkit with gtk-2.20.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19641 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-05 19:29:09 +00:00
Cristian Marchi 1bb6b8c021 Updated Turkish translation by Seyfi Duyan.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19640 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-05 19:05:26 +00:00
Christian Stimming d8cc052875 Bug #631058: Add future date period choices to be available in the date options
Patch by Chris Leach:

This patch provides date utilities to calculate future dates. This
allows easy selection of common future periods.

cstim adds: This patch adds new strings, but they are not used anywhere so
far, i.e. they will not be user-visible. Hence, I agree those scheme functions
may be useful for external report writers and for this reason they are
already added.

Note: The original submission would have added those options to the standard
relative-date chooser report option, but I (cstim) do not support adding those
extra option for all reports as standard setting. Hence, the usage of this
additional choices has to be added by the report writer explicitly.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19639 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-05 18:19:57 +00:00
Christian Stimming ab0dd2cca7 Bug #593479: Ensure not to accidentally delete our main account file.
Original patch by Tim Retout who writes:

strptime is passed (name + pathlen + 1) as the string to search.  However, when
looking at the main account file, strlen(name) == pathlen, so strptime is
looking at the point just past the end of name.

Sometimes this will be parseable by strptime, and this leads to the account
file being unlinked.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19638 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-05 18:07:38 +00:00
Geert Janssens 012d76aa53 Fix typos in comments.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19630 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-04 15:40:57 +00:00
Christian Stimming a57ed88ee0 Re-indentation of source code.
This re-indentation was done using astyle-1.24 using the following options:

 astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=none

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19627 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-03 12:27:44 +00:00
Christian Stimming 752b94a8b9 Minor update of German translation.
Kontenbaum (urgh) -> Kontenplan
Kontenrahmen -> Kontenplan

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19626 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-03 12:23:19 +00:00
Christian Stimming 1f2994b1d3 Add wrapper for obtaining a list of business objects as list of owners, and add SWIG wrappers so that scheme can use it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19625 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-02 14:59:33 +00:00
Christian Stimming 382d6733d7 Add a function gncBusinessGetList() that existed previously until r6680 so that a list of all customers can be obtained.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19624 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-02 14:59:21 +00:00
Christian Stimming e205c3fad5 Decrease number of test iterations in old engine tests - they take just way too long otherwise.
Also, nobody can actually give any reason as for why a higher number
of iterations would really cover more of our test cases. My suspicion
is that 2-3 iterations would be sufficient anyway, and only more
clever test case construction would give a larger test coverage.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19623 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-02 14:59:05 +00:00
Christian Stimming 046c7cf461 Minor update of German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19622 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-02 14:58:51 +00:00
Cristian Marchi 2203e0be98 Updated Turkish translation by Seyfi Duyan
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19621 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-01 12:28:05 +00:00
Christian Stimming 62c4a0e781 Add word wrapping to very long label in dialog-tax-info
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19620 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-28 20:35:16 +00:00
Cristian Marchi 72bca0ad75 Corrected a problem with c-format attribute.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19617 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-27 16:30:28 +00:00
J. Alex Aycinena c44254c424 Remove leading character N from tax code, but only if it is there, and remove leading blank character when no tax code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19616 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-27 15:58:52 +00:00
Cristian Marchi 9868279502 Updated Dutch translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19614 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-27 04:19:24 +00:00
Phil Longstaff ba5b74cbd9 Add kvp_frame_set_gdate() function
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19613 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-26 18:56:30 +00:00
Cristian Marchi 4bd51e1f9d Updated accounts chart by Seyfi Duyan.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19612 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-25 17:14:27 +00:00
Christian Stimming ff709cf863 Bug #554396: Implement a partial TXF output for capital gains
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19611 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-24 19:48:02 +00:00
Christian Stimming 4c8b4870fb Bug #620663: Fix French spelling mistake in preferences window
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19610 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-24 19:38:46 +00:00
Christian Stimming a497c15355 Remove file locations from de.po file by running
msgcat --no-location de.po > tmp ; mv tmp de.po

This way, the text diff of translation updates suddenly becomes readable.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19609 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-24 19:36:19 +00:00
Christian Stimming ec3660ccb4 Update German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19608 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-24 19:34:58 +00:00
Christian Stimming fdcb4f03de Win32 build: Temporarily disable the english (C) help compiling because it crashes the hhc.exe compiler.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19607 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-24 19:28:46 +00:00
Cristian Marchi ce2ed5e216 Updated Italian translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19605 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-24 12:06:01 +00:00
Cristian Marchi ad617a443a Fix use of accelerator for a string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19604 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-23 10:57:57 +00:00
Cristian Marchi 07c894e5a9 Fix use of accelerators for some strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19603 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-22 11:41:36 +00:00
Christian Stimming 2a5d192904 Win32 build: Needs libjpeg-7 in dist as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19602 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-21 19:51:58 +00:00
Christian Stimming ccf1d14e95 Win32 build: The existing webkit binary needs libjpeg-7, so we install that one, too.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19601 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-21 19:48:54 +00:00
Christian Stimming 334744d70f Enclose book kvp manipulation in begin/commit_edit in aqbanking plugin.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19600 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-21 19:26:49 +00:00
Christian Stimming 59820c823e Win32 build: Is running again. Some debug output of r19595 can be removed again.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19599 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-21 17:46:17 +00:00
Christian Stimming 9238e82989 Bug #629641: Fixes WARN messages.
Bug in gncIDSearch.c causes "WARN <qof.class> [qof_class_get_parameter()] no
object of type string" to be emitted to error log.

Currently only affects Python bindings; InvoiceLookupByID(ID_STRING).

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19598 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-21 17:31:53 +00:00
Christian Stimming 1cad336aae Bug #118391: Put isocodes in README.dependencies to inform packet maintainers
Additional changes in that file:
1. Link to more up to date http://wiki.gnucash.org/wiki/Dependencies
2. Introduce Structure:
required, alternatives, optional, at runtime suggested
3. Add webkit

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19597 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-21 17:31:40 +00:00
Christian Stimming f4d1e8ae91 Win32 build: Fix libxslt installation. Improve its calling arguments. Download inno before processing the docs (if the latter fails, we at least have inno).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19595 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-21 17:09:42 +00:00
John Ralls 866dbd0aa1 Fix typo in osx_accel_map, caused error in Accounts page Actions>Transfer accelerator
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19594 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-20 20:48:32 +00:00
Christian Stimming 41b7edbd3b Win32 build: Switch back gettext to 0.17 because 0.18 require libc++ which we don't want to have.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19593 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-20 19:34:41 +00:00
Christian Stimming 09e6fd507a Win32 build: xsltproc needs its suitable iconv and zlib, so install it there.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19592 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-20 19:34:13 +00:00
Christian Stimming 31bb57bae3 Win32 build: Fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19591 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-20 19:11:58 +00:00