Commit Graph

13367 Commits

Author SHA1 Message Date
John Ralls
73d53afef3 Bug 632166: A Better fix that doesn't break string freeze or introduce a Gtk GUI dependency into the backend.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19680 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-19 18:32:50 +00:00
Cristian Marchi
2b9a9d48d6 Updated Bulgarian glossary by Rosi Dimova.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19675 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-19 11:51:46 +00:00
Cristian Marchi
af1be2413e Updated Bulgarian translation by Rosi Dimova.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19674 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-19 11:51:05 +00:00
John Ralls
e536180587 Bug 632166: Notify user when something goes wrong with a transaction save.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19673 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-18 21:56:05 +00:00
John Ralls
657a435f38 qoflog.h: No such macro as G_LOG_LEVEL_FATAL
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19672 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-18 21:54:19 +00:00
Cristian Marchi
e10a508092 Updated Latvian translation by Valdis Vītoliņš.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19671 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-18 19:16:01 +00:00
Phil Longstaff
5c5cc3f059 Fix include files. Include files now only include other include files if symbols from the other files are needed by this one.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19670 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-17 21:17:14 +00:00
John Ralls
a899e3149c Bug 611077: Warn instead of assert about gtk_html_jump_to_anchor not being implemented in webkit. Note, however, that Webkit seems to take care of this on its own, so even the warning may be unnecessary.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19669 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-17 20:21:41 +00:00
John Ralls
decd290b5f Remove lbgncmod-backend-xml as an additional library in business/business-core/test/Makefile.am. libgncmod-backend-xml.so is a loadable module, not a shared library, and it shouldn't be dynamically linked. While this will do no harm on Linux, it fails on OSX/Darwin.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19668 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-17 19:48:13 +00:00
John Ralls
1d4e1ef051 Fix misplaced quote in backend/dbi/test/Makefile.am, broke dbi testing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19667 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-17 17:24:57 +00:00
Geert Janssens
6ad9f9f74f Rename old gnc_book_get_commodity_table into the newer gnc_commodity_table_get_table.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19666 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-16 14:05:29 +00:00
Geert Janssens
62407f1b99 Spelling fixes in comments.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19665 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-16 12:08:29 +00:00
Geert Janssens
e1f224493e Replace all occurrences of the old gnc_book_get_pricedb with the newer gnc_pricedb_get_db
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19664 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-16 10:23:37 +00:00
Christian Stimming
83322e1ab1 Partly revert r19550, "Bug #370331: Store the numeric values of SX..."
This caused the numbers in the "SX from txn" to appear as "220/100" ratios,
which we do not want.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19659 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-15 20:25:22 +00:00
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