Commit Graph
100 Commits
Author SHA1 Message Date
Christian Stimming 9d7b03615f Update po files with up-to-date pot template.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19435 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-15 09:20:18 +00:00
Christian Stimming 35ba93ed48 Remove unused file from both SVN and POTFILES.in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19434 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-15 09:05:05 +00:00
Christian Stimming ef26cb58ea Bug #626459: Change Transaction Report default account selection to none
I think in the specific case of the
"Transaction Report" this is the better choice. The error message
will be clear enough ("No accounts selected. Click here to Edit report
options"), and it will probably meet the user expectation that some account
needs to be selected anyway before something can be seen.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19432 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-14 20:57:26 +00:00
Christian Stimming 5fbfa23dbb Bug #625193: Added 'search by ID' in python binding for invoices, customers and bills.
Patch by Mike E and Mark Jenkins:

When creating or appending to invoices, customers and bills, searching by ID is
likely more useful than by GUID.  I've added this functionality to the Python
bindings.

Search by ID using the python code:
tmp = gnucash.gnucash_core_c.search_invoice_on_id(ID,book.instance)
if tmp:
  invoice =  gnucash.gnucash_business.Invoice(instance=tmp)

Use the invoice object as in sample_scripts/simple_invoice_insert.py

I support this patch, but I've made a few improvments of my own.

I switched up the arguments in search_customer_on_id, search_invoice_on_id,
search_bill_on_id to have Book first and ID second. The reason for this was to
make these functions more consistent with the other functions where a search is
done through a book on a particular attribute.

Also added some specific python bindings support to allow this to be used as
methods of Book: Book.CustomerLookupByID, Book.InvoiceLookupByID,
Book.BillLoookupByID.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19431 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-14 20:48:18 +00:00
Christian Stimming f8df02cdb4 Bug #624721: Show backtrace for errors in eguile templates
Patch by Matthijs Kooijman:

The current eguile template implementation catches errors that occur while
evaluating an eguile template. However, only the error is shown, not a
backtrace (so no location of the error either).

The attached patch modifies the error handling to also capture the stack
backtrace, using a lazy exception handler (e.g., capture the stack before
unwinding the stack to the real exception handler).

To extract only the relevant part of the stack (e.g., the part inside the
eguile template, not the tens of stack frames leading up to the report
rendering), a stack dump is made just before evaluating the eguile template (so
a sort of "diff" can be made).

For more details, see the extensive comments in the patch itself.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19430 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-14 20:48:05 +00:00
Christian Stimming 044873ee08 Bug #616613: Automatically append the extension if user forgot append them.
Patch by "Bob":

The enclosed patch simply tests for a period in the file name,
if one exists it leaves it alone,
if not, it adds one plus a default extension.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19429 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-14 20:47:53 +00:00
Christian Stimming 0d9917127f Bug #626403: Fix inconsistent formatting between stylesheets (Webkit vs. gtkhtml)
Patch by Alex Aycinena:

The 'default' stylesheet formats the balance sheet, cash flow, income statement
and transaction reports properly under webkit but not under gtkhtml.

The 'easy', 'footer', and 'technicolor' stylesheets are the reverse; that is,
they format the balance sheet, cash flow, income statement and transaction
reports properly under gtkhtml but not under webkit, except that the 'footer'
stylesheet also has some formatting problems with gtkhtml as well.

The attached patch file corrects these problems. Specifically:

- styles that are missing in the 'footer' stylesheet (compared to 'easy') are
added

- the function 'gnc-html-engine-supports-css' is used in the 'default', 'easy',
'footer' and 'technicolor' stylesheets to provide styles for either webkit or
gtkhtml

- the taxtxf.scm report file is simplified to take advantage of these changes

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19428 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-14 20:14:37 +00:00
Christian Stimming 0c41000c7a de.po: correction of "Income Tax Identity"
This term is used in the first dialog of "Ta_x Report Options".

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19427 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-14 20:11:23 +00:00
Christian Stimming 100ba4a4e7 Fix stupid compiler error.
(Should compile first, then commit, not the other way round.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19422 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-12 20:20:10 +00:00
Christian Stimming d743401986 Add error message if the unimplemented aqbanking setup button is pressed.
Please see http://lists.gnucash.org/pipermail/gnucash-devel/2010-August/029188.html
and http://lists.gnucash.org/pipermail/gnucash-devel/2010-August/029189.html

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19421 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-12 20:18:44 +00:00
Christian Stimming 0197ca7d42 Copy OpenOffice.org python macro for import of the gnucash file to here because its original download location is hard to reach.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19420 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-12 19:59:57 +00:00
Christian Stimming 9b5261641e Updated German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19385 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-29 20:42:17 +00:00
Christian Stimming b5cabba4eb Updated Dutch translation by Mark Haanen, copied from the TP.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19384 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-29 20:24:47 +00:00
Christian Stimming 1fcdfe70d2 Add missing return value specification of lookup_by_code() in python bindings.
Patch by Daniele Varrazzo.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19383 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-29 20:16:08 +00:00
Christian Stimming bc16634061 Add initial Bulgarian translation, by Rosi Dimova, by Bulgarian Gnome translation team.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19382 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-29 20:09:24 +00:00
Christian Stimming dc99266e24 Fix missing translation of buttons in invoice reminder dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19378 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-23 19:22:55 +00:00
Christian Stimming 1a69ea8392 Bug 612337: Add file save to hierarchy druid when the new file druid completes.
Patch by "Bob": I thought I would give this a try and come up with a patch to use the file save
as function after the after pressing the apply button. Not sure if it is the
best way but seems to work on my linux box and on windows without any errors.

I have changed the text in the account.glade file to reflect the firing of the
save as and also increased the size of the window to give more room for the
'Category Description' to stop scroll bars.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19377 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-20 20:37:39 +00:00
Christian Stimming 4dd0ee9c87 Fix r19364: Remove last reference to removed business-backend-sql.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19373 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-15 20:05:40 +00:00
Christian Stimming 3ef60aaba4 Bug #621016: Print multiple checks at the same time
The print checks operation should be able to print more than one check with a
single invocation of the "Print Check..." command.  The attached patch does
this.  If the active register is an account register, then the selected
transaction is printed (as before).  If it is a search results register where
all the splits are from the same account, then it prints a check for each of
them.  Anything else is an error.

Patch by Mike Alexander.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19370 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-14 20:38:24 +00:00
Christian Stimming 591bf8b9a7 Bug #118391: This patch add isocodes support for Windows build.
It automatically download,
build, install and packaging the isocodes.

Currently, the patch will not make Windows build show the locale long
currencies name. But it make the isocode available on Windows. Since the long
currencies names are already shown on Linux, I think it should not far to make
it happen on Windows too, especially the isocode will be available after this
patch.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19369 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-14 20:22:18 +00:00
Christian Stimming 0276f793bc Bug #620763: Fix permuted "Retained Earnings/Losses" in balsheet-eg.eguile.scm
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19368 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-14 20:22:06 +00:00
Christian Stimming 3d6d345a04 Bug #620763: remove trailing whitespace from balsheet-eg*
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19367 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-14 20:21:54 +00:00
Christian Stimming e1b1654f73 Bug #556713: Fix inconsistency in report options
The attached patch should fix the remaining outstanding issues of this bug.
Applying this patch now would break string freeze.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19366 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-14 20:21:40 +00:00
Christian Stimming f30fa7295b Update POTFILES.in after file moving.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19365 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-14 19:54:11 +00:00
Christian Stimming 2f39208e7d Merge the sql parsers of the business objects into the main sql module.
Also, completely remove the business-core/sql module because it is
no longer needed. The tests of this module have been moved into
backend/dbi because they depend on sql+dbi, but not more than that.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19364 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-14 19:39:19 +00:00
Christian Stimming 0f17917433 Completely remove the business-core/xml module as it is no longer needed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19363 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-13 09:56:24 +00:00
Christian Stimming 8cbf79291d Remove the separate business xml backend from cutecash and python as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19362 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-13 09:56:02 +00:00
Christian Stimming d35b135447 Merge the xml parsers of business objects into the main xml backend module.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19361 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-13 09:55:46 +00:00
Christian Stimming 4bd4d41c05 Remove separate object initialization in engine/gncBusiness.c and move this into one common initialization function cashobjects_register in <engine/cashobjects.h>.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19360 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-12 20:12:22 +00:00
Christian Stimming f8007880fd Follow-up of r19358: Need to use AB_SetupDialog_new instead as replacement of the previous wizard.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19359 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-12 20:12:08 +00:00
Christian Stimming ea0327864c Adapt to newest (unstable) aqbanking: No external application needed anymore for user setup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19358 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-12 18:54:42 +00:00
Christian Stimming 1111914b03 Merge most recent pot template into all language po files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19334 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-04 20:32:51 +00:00
Christian Stimming da5edb6d81 Update German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19333 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-04 20:16:35 +00:00
Christian Stimming c937185ada Merge most recent translation template into de.po.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19332 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-04 20:16:17 +00:00
Christian Stimming cad2b40bca Update POTFILES.in after recent file move.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19331 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-04 20:16:01 +00:00
Christian Stimming fae41c96b5 I18n improvements in invoice reports: Mark last untranslated strings for translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19330 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-04 20:15:49 +00:00
Christian Stimming 76b764582a Move the business object implementations from separate module into the main gnucash engine.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19329 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-03 21:53:22 +00:00
Christian Stimming 8e781e8cb4 Move initialization of business objects into gncBusiness.c so that this fits to the header where the function was declared.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19328 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-03 21:53:08 +00:00
Christian Stimming 5133b1733e Remove header gncBusinessP.h which is unused anyway.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19327 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-03 21:52:51 +00:00
Christian Stimming eaf3c5cbf8 Updated Dutch translation, copied from the Translation Project
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19311 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-30 18:20:36 +00:00
Christian Stimming 84d8a07dc5 Fix erroneous quotation in scheme string of last commit
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19310 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-28 14:56:12 +00:00
Christian Stimming f4a684f0fd Improve the initial report loading code so that it loads only files ending with .scm.
This should avoid accidentally loading .scm~ backup files etc. The code
matches the filenames against the regexp "\.scm$", so the previous hand-
written comparison against "." and ".." is no longer necessary as those don't
match that regexp anyway.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19309 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-27 18:56:56 +00:00
Christian Stimming 8c8fcd39af Update de.po after invoice review.
There were some equivocalnesses between invoice and balance.
After using the strings from tax-invoice in the other invoice forms,
the de translations should switch back.

Patch by Frank H. Ellenberger.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19308 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-27 18:39:14 +00:00
Christian Stimming 187da546b6 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@19301 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-25 18:44:40 +00:00
Christian Stimming 63eed826bd Improve i18n comments: Comment for gnucash.pot must appear immediately before the marked string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19300 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-25 18:22:59 +00:00
Christian Stimming 14940a96fa After learning the scheme case syntax, implement it correctly this time.
Fixes r19281, r19280, r19253, r19252.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19283 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-21 19:45:22 +00:00
Christian Stimming e859131511 Some more disabling of the new deactivated option in the piechart. Forgotten in r19280, sorry for that.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19281 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-20 18:42:25 +00:00
Christian Stimming ebb6d2120f Disable new option of piechart report even more.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19280 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-19 20:03:52 +00:00
Christian Stimming 43cecbcf51 Update Dutch translation from the TP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19269 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-16 19:10:22 +00:00
Christian Stimming 3b998c5979 Update Chinese (simplified) translation, from the TP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19268 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-16 19:10:10 +00:00
Christian Stimming 2b9d91e808 Add simple checkbook account chart in Dutch, by Mark Haanen.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19258 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-14 18:23:55 +00:00
Christian Stimming d72ad8d082 Fix report error in piechart due to the temporary deactivation of the new option.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19256 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-13 20:11:17 +00:00
Christian Stimming e37590aa2f Make business sql backend initialization functions accessible when statically linking.
Same change as what r18841 added in business-core/xml.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19255 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-12 16:11:04 +00:00
Christian Stimming 86e75faa85 Add averaging option (but currently deactivated) for monthly or weekly average in account piechart.
Will be activated once we're out of string freeze in order not to have
untranslated strings show up for the user.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19253 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-12 15:51:53 +00:00
Christian Stimming e744fdff1c Add getter function for mapping a {year,month,day} symbol to the conversion function of a date to a fractional number.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19252 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-12 15:51:40 +00:00
Christian Stimming 7c61b19357 Fix r19227, r19228: Don't make the "Due Date" the primary search; fix erroneous parameters when inserting into list.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19230 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-04 13:37:13 +00:00
Christian Stimming 12f2b9e624 Update German translation
Patch by Frank H. Ellenberger: update de.po

1. add missing translations
2. review fuzzy translations
3. correct liabilities: Passiva -> Fremdkapital/Verbindlichkeiten
4. correct discount: Skonto -> Skonto, Rabatt & Nachlass
5. typos

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19229 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-04 13:23:58 +00:00
Christian Stimming 341f4019b0 Bug #618954: Add a column "Due" to the invoice search results list.
Patch by "scar".

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19228 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-04 09:38:32 +00:00
Christian Stimming 3b9544b380 Bug #618951: Add ability to search for invoices by due date
Patch by "scar".

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19227 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-04 09:38:20 +00:00
Christian Stimming dcf9cd937d File convert commodity.glade in glade3-3.6.7 to ensure our gtk-2.10 requirement is sufficient.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19226 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-03 20:18:38 +00:00
Christian Stimming 54347bc028 Bug #118391: Resize currency dropdown list
Patch by Frank H. Ellenberger.

Now in the tested (european) languages one can understand the meaning without
horizontal scrolling - search for MXV or UYI to see long examples.

I used glade 3, which created the file in a somewhat different way -
let me know, if that is a problem.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19225 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-03 20:05:43 +00:00
Christian Stimming 3f4f241a85 Bug #619984: Remove "Gnumatic, Inc." from po/Makevars
Gnumatic Inc. does since a few years no longer exist.
So it makes no sense, to have it as copyright holder of new GnuCash
translations.

I got Linas OK for this change on IRC:
http://lists.gnucash.org/logs/2010/05/2010-05-28.html#T13:37:53 - #T16:12:23

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19224 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-03 20:02:06 +00:00
Christian Stimming f13dd15fed Bug #617797: Set eol-style to CRLF for win32 files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19223 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-03 19:58:28 +00:00
Christian Stimming 28a9de6ab8 Set eol-style for win32-bin.txt to CRLF because this file should view correctly on win32 systems
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19221 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-03 19:56:12 +00:00
Christian Stimming be43d127d6 Set all shell scripts to svn:eol-style LF because they should have the same line endings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19217 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-02 20:50:35 +00:00
Christian Stimming 0e0df56492 Updated Latvian translation by Valdis Vītoliņš.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19189 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-20 18:53:41 +00:00
Christian Stimming e2bd093abd Update Latvian account templates by Valdis Vitoliņš.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19188 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-20 18:52:36 +00:00
Christian Stimming e1add93556 Add Latvian account templates by Valdis Vitoliņš.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19177 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-15 20:29:24 +00:00
Christian Stimming ab93f4ecac Fix windows tag build script, by Geert Janssens
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19165 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-14 15:43:16 +00:00
Christian Stimming 6f9fb67c5d Revert r19159, "Fix windows tag build script, by Geert Janssens"
I thought I would get access to the build server immediately to
perform the cleanup of the old tag file, but apparently the server is
unreachable for me for now, so I cannot commit this change today. Maybe later.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19164 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-14 09:00:57 +00:00
Christian Stimming 467bc2e371 Update German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19163 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-14 09:00:43 +00:00
Christian Stimming 33a5d64fee I18n improvements: Remove colons from translatable strings. Use correct capitalization.
In most cases, the changed strings already appear somewhere else in the program,
so only very few are unfortunately now new strings even though we hoped
we could stick to the string freeze.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19162 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-14 09:00:28 +00:00
Christian Stimming b22a2e8448 Fix windows tag build script, by Geert Janssens
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19159 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-14 07:55:45 +00:00
Christian Stimming 2d179a9aff Updated Dutch translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19158 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-14 07:52:05 +00:00
Christian Stimming 301c70fc75 Bug #618341: Additional paths to reset.sh
Patch by Yasuaki Taniguchi.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19157 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-14 07:36:11 +00:00
Christian Stimming 2e918c2bcc One more revert of r19148, "Bug #615168: Remove instances of (use-modules (ice-9 slib))..."
Missed that one in r19154.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19156 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-14 07:24:00 +00:00
Christian Stimming fd892aa3fd Revert r19147, "Bug #615168: Remove spurious (require 'hash-table) instances..."
Apparently guile-1.6 still needs all of those.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19155 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-14 07:09:39 +00:00
Christian Stimming 105d7936ef Partly revert r19148, "Bug #615168: Remove instances of (use-modules (ice-9 slib))..."
Apparently guile-1.6 needs this in more places than I thought at r19148.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19154 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-14 07:09:28 +00:00
Christian Stimming b3fcd05aa2 Update Chinese (simplified) Translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19153 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-12 19:58:08 +00:00
Christian Stimming e34979b54f Bug #615168: Remove instances of (use-modules (ice-9 slib)) except report-system.scm
There are no more instances of (require ...), so Guile's slib support is
no longer needed.

Patch by Andy Wingo, but except report-system.scm because saved
reports still use the hash-for-each -- so we will need to
continue to support the symbol.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19148 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-09 19:24:45 +00:00
Christian Stimming 3ac36c816b Bug #615168: Remove spurious (require 'hash-table) instances except report-system.scm
Patch by Andy Wingo, but except report-system.scm.

There is nothing that the slib hash-table module provides that was used
in any of these files; they all used Guile's stock hash tables.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19147 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-09 19:24:30 +00:00
Christian Stimming b053ab6854 Updated Danish translation by Joe Hansen, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19145 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-08 19:10:27 +00:00
Christian Stimming 3295187d90 Bug #118391: Implement translation long currency names
Adjust in iso-4217-currencies.scm fullnames to conform with iso-codes-3.3

Patch by Frank H. Ellenberger.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19131 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-07 07:41:36 +00:00
Christian Stimming 6afded02b0 Cutecash: Fix config.h creation by using the #cmakedefine feature of CONFIGURE_FILE.
Finally, config.h will only be re-created if anything has changed, thus
reducing re-compiling to a minimum. This was done with instructions from
http://www.cmake.org/Wiki/CMake:How_To_Write_Platform_Checks ; however,
more of those checks (like CheckFunctionExists etc) don't work as easily as
CheckHeaderExists, so I left it at that.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19127 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-06 11:40:55 +00:00
Christian Stimming d4419cfd14 Add support for upcoming libaqbanking-5 version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19126 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-06 11:40:41 +00:00
Christian Stimming 3d4ebd8338 Bug #616524: Fix missing re-generating of gnucash_core.c code.
The .c file gets outdated easily because the makefile doesn't contain
enough of its dependencies. I would need to be regenerated each time any of the
included files was changed, but currently it doesn't contain these dependencies
in the makefile rules. Having it depending on config.h should
at least trigger the generation at each version number change (so
that the tarball contains an up-to-date version.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19124 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-06 09:02:00 +00:00
Christian Stimming 449df116d8 Bug #612212: Provide a method to set the default budget
Patch by Jeff Kletsky.

(Cstim: Accepted even though string freeze is in effect because it was
submitted before the freeze. Also, the string additions are very minor.)

Summary of Changes:

* Initial story related to providing default budget control
  * Add a "Budgeting" tab to the book-level preferences dialog
  * Add a "Default Budget" selector to the "Budgeting" tab
  * Modify gnc_budget_get_default() to
    * Respect the new KVP, if present
    * Fall back to 2.2.x behavior, if not present
  * Modify gnc:make-budget-option
    * Reformatted for readability with additional comments
    * Default is now "#f" so that selected value is always saved
      Otherwise, if selection happened to be the current default
      and the default was later changed, the report would change
    * getter, setter, and generate-restore-form all now consistent
      * setter now always takes a budget object
      * generate-restore-form does not rely on "hack" in setter that
          previously allowed either a budget object or a GUID string
          This is a different fix for 603215 -- see Known Issues

* Provide translation support for "Trading Acccounts" (and "Budgeting")
  * Refactor #define names for consistency and extensibility
    * KVP_OPTION_PATH for consistency with Guile usage
    * OPTION_SECTION_blahblah
    * OPTION_NAME_blahblah
  * Modify qofbookslots.h to be "SWIG-aware"
  * Pick up qofbookslots.h in make-gnucash-potfiles.in and po/POTFILES.in

Known Issues:

* There is no selection (yet) for "Use default budget" so changing the
  default budget and reloading a report does not change the budget used

* setter is no more robust to "bad" values than in previous code

* Budget reports created with 2.3.x after r18528 (between 2.3.8 and
  2.3.9) may not load or re-render as they relied on the setter taking
  either a budget object or a GUID as a string This should not impact
  any 2.2.x users as nothing was saved under 2.2.x related to the
  default budget. This can be resolved through removing the option
  restore code in ~/.gnucash/saved-reports-2.4 and, if affected reports
  were open, in ~/.gnucash/books/<name_of_book>

* Budget reports prior to r18528 did not save budget selection (603215)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19123 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-06 09:01:46 +00:00
Christian Stimming ced3775bbf Bug #586805: Fix errorneous abs() in csv import
Changes abs function to fabs in gnc-csv-model.c, to allow csv imports of values
less than $1.00.

Patch by James Raehl.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19122 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-06 08:36:59 +00:00
Christian Stimming 7d19c08d6e Bug #617660: Improving iso-4217-currencies
Patch by Frank H. Ellenberger

1. improve the header of fieldnames with annotations
2. sort by ISO code, because
   a. easier for non english people
   b. most tables in the internet have this sort order.
      So maintainance becomes easier.
3. inserting a Column local_symbol, because some people like to use it, e.g.
   https://bugzilla.gnome.org/show_bug.cgi?id=492417#c3
   But probably there is a better way to get this informations.
4. Review List:
   a. adding: CDF, GHS, ...
   b. outdated: AON->AOR->AOA, GWP->XOF, ...
   c. Typos like "fening".
   d. Alway use singular instead of a mixture.
5. add comments:
   a. outdated currencies prepared as in the header shown.
   b. for abbreviations.

Background is the thread starting with
https://lists.gnucash.org/pipermail/gnucash-devel/2009-October/026558.html

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19120 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-06 08:33:29 +00:00
Christian Stimming f9b1b546b8 Follow-up to r19099: Remove qof's backend loading because there is no backend anymore.
Remove generated file qofla-dir.h. This is actually good progress because
it gets rid of yet another compiled-in path, which are a nuisance and
need to be replaced by runtime path lookup everywhere, if needed.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19118 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-06 08:19:17 +00:00
Christian Stimming 8edb4f839b Bug #615168: Don't define hash-fold for guile 2.x
Patch by Andy Wingo.

* src/scm/main.scm (hash-fold): Only do the conditional hash-fold dance
  if we don't have guile 2.0. (Definitions in expression context are
  actually invalid Scheme, but older Guiles are more permissive.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19079 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-27 20:46:46 +00:00
Christian Stimming 1ac44f0b8f Bug #615168: scm_c_string_length is the proper spelling now
Patch by Andy Wingo.

Fix up a couple uses of scm_i_string_length, and add a back-compat shim
for earlier versions.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19078 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-27 20:46:25 +00:00
Christian Stimming abe7442d02 I18n: Fix erroneous message.
This (tooltip) string is blatantly wrong, so we need to fix it regardless
of string freeze.

Spotted by Mark Haanen.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19069 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 21:19:49 +00:00
Christian Stimming 30194b9d42 I18n fix: Mark forgotten strings for translation.
These are allowed regardless of string freeze because the strings are already
in the program and are untranslated so far. So marking them for translation
will only improve the situation but not introduce new strings into the
program in general.

Spotted by Mark Haanen.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19068 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 21:19:28 +00:00
Christian Stimming b3524ebb39 Bug #615168: Make sure that printf is available whereever it is used
So, the right thing is for each file to be in its own module. Barring
that it's tough to see what the environment is in a given module. So to
be safe, everywhere there's a printf, make sure the (gnucash printf)
module is duly included.

Patch by Andy Wingo.

Conflicts:

	src/business/business-reports/easy-invoice.scm
	src/business/business-reports/fancy-invoice.scm
	src/business/business-reports/invoice.scm
	src/business/business-reports/job-report.scm
	src/report/standard-reports/budget-income-statement.scm
	src/report/standard-reports/income-statement.scm
	src/report/standard-reports/trial-balance.scm

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19067 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 21:19:05 +00:00
Christian Stimming e68434cb03 Bug #615168: Fix a number of scheme syntax errors
This kind of error is detected "eagerly" in Guile 2.0.

Patch by Andy Wingo.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19066 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 21:07:13 +00:00
Christian Stimming 89e88ac983 Bug #615168: Fix bogus gnc:safe-strcmp definition
Patch by Andy Wingo.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19065 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 21:02:30 +00:00
Christian Stimming 1f45659dbd Bug #615168: Fixup one last simple-format bit
src/engine/iso-currencies-to-c did the same simple-format dance that is
now unnecessary.

Patch by Andy Wingo.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19064 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 21:02:09 +00:00
Christian Stimming 4e32243362 Bug #615168: Replace calls to simple-format with calls to format
Guile 1.6 and up always provides simple-format, and defines it as a
restricted subset of the full format, so there's no harm in using the
construct's proper name.

Patch by Andy Wingo.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19063 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 21:01:48 +00:00
Christian Stimming a52ca41d02 Bug #615168: Pull in printf from slib, change all code to use it.
There is a new module, (gnucash printf).

Patch by Andy Wingo.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19062 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 21:01:23 +00:00