Commit Graph

13504 Commits

Author SHA1 Message Date
Geert Janssens
d87afa65b4 Fix some spelling errors in doxigen documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20095 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-14 21:46:47 +00:00
Cristian Marchi
ea5f93b49e Remove the word "days" because it is also located after the near field.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20094 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-14 21:10:18 +00:00
Frank H. Ellenberger
d47c7c5ec0 Improve the for translators problematic format string from gnc_entry_ledger_verify_acc_cell_ok
This version uses 2 separate sentences,
mentions currencies and
gives a clue for the account type.
Add enable basic doxygen output.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20089 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-13 23:12:41 +00:00
Christian Stimming
15bc162e7c Bug #639365: Revert r18546 so that the bills-due dialog displays only bills but not invoices.
The INVOICE_TYPE string unfortunately is
stored in translated form due to the usage of gncInvoiceGetType()
for user-visible strings as well. Hence, as an exception we
must also search for the translated here even though it's an
internal flag.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20087 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-13 19:05:59 +00:00
Frank H. Ellenberger
7f25a62f33 Add python in section optional of README.dependencies
Additional: explain alternatives and optional parts

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20086 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-13 17:25:26 +00:00
Derek Atkins
22799c48d7 Revert r20082 (re-enable plugins)
Get the bi_import plugin building on Windows by including missing libc functions

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20085 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-13 16:52:59 +00:00
Frank H. Ellenberger
b367ec1bb7 Bug 638842 - Estonia adopted the Euro on 01.01.2011
Thanks to Toomas Tamm

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20083 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-13 02:47:29 +00:00
Phil Longstaff
4e25946061 Disable building the plugins directory until windows build issues can be fixed
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20082 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-13 02:47:03 +00:00
Christian Stimming
6f533fd6fe Add function for creating a new copy of an existing GncInvoice.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20081 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-12 20:40:51 +00:00
Christian Stimming
45749ffcbc Fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20079 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-12 20:04:25 +00:00
Christian Stimming
7c276dabd8 Bug #636907: Improve "Close when finished" handling in "Online Banking Connection Window"
Patch by Manfred Usselmann:

This patch adds a toggle action to the online banking menu, which allows to
open and close the online banking log window. In addition it adds an option to
the online banking preferences to keep the log window open after the transfer
has finished.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20078 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-12 19:47:34 +00:00
Christian Stimming
770b2ce101 Bug #639259: Add averages in barchart reports.
Patch by Herbert Thoma:

Matthias Gruhn suggested on the German GnuCash list:

Add averages to the income and expense bar chart reports just like it was
introduced for the income and expense pie chart reports in r19253

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20077 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-12 19:47:23 +00:00
Christian Stimming
86f46eb056 Fix version number in welcome report.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20076 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-12 19:29:40 +00:00
Christian Stimming
59ee53bf2f Bug #639172: Remove "Warning!! This is a DEVELOPMENT version .." tip of the day
Also, to my knowledge the docs don't contain a "what's new in 2.4" section,
so I removed that tip as well.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20071 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-11 21:07:54 +00:00
Christian Stimming
2fcb2e6bf0 Bug #638621: Update README file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20070 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-11 21:07:43 +00:00
Christian Stimming
aad98822fd Bug #502066: The aging in business reports should use the due date instead of the post date
Patch by Bert Claesen (but I changed the option name):

Patch to aging.scm to include due date and "current" bucket
Patch file for aging.scm to include:
* Option to select due date or date posted
* Added column of "Current" for invoices not yet due

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20069 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-11 20:59:18 +00:00
Christian Stimming
ac17b535af Bug #603334: Updates to RPM spec file to allow 2.3.7 to build on Fedora Core 12
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20068 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-11 20:45:40 +00:00
Christian Stimming
0090a10a1e Bug #638225: Sort when saving as XML
Patch by Jim Radford (with code beautified and re-indented by myself):

The attached patches sort the slots, lots, book accounts, bill terms,
customers, employees, entries, invoices, jobs, orders, tax tables and
vendors before saving them to the GnuCash XML file.

This is an attempt to make saves more idempotent thereby facilitating
the use of a revision control system on the GnuCash XML files.

With these patches most of the needless and seemingly random churn is
gone and I can add or remove a transaction and expect
there to be no unrelated changes to the GnuCash file.

I've been using and refining this patches for the last few years, so it has
received quite a bit of testing.

David Fraser adds: Without specific testing, I'm using this on an average-sized gnucash file
(5.7MB) without noticing any particular slowdown in saving, but a wonderful
reduction in diffs when comparing changes.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20067 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-11 20:40:19 +00:00
Christian Stimming
4406085e9a Bug #638962: Update Brazil Portugese translation by Dorneles Treméa
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20066 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-11 20:40:06 +00:00
Christian Stimming
9f454a8dc7 Bug #638615: Fix schema install with DESTDIR
Patch by Jim Radford:


When doing

  make install DESTDIR=/tmp/gnucash

the install fails because GCONF_SCHEMA_CONFIG_SOURCE doesn't end up using
DESTDIR (and it's non-trivial because of the xml:: prefix).  The attached patch
fixes it for me but is non-ideal because it hard codes the value of
GCONF_SCHEMA_CONFIG_SOURCE using GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20065 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-11 20:39:53 +00:00
J. Alex Aycinena
f70cb1fe2f Fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20058 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-11 00:15:02 +00:00
Christian Stimming
0c32774210 Bug #638543: Add a GUI for the counter format and current value.
Patch by Matthijs Kooijman:

This allows the user to change the format used for the various counters,
as well as see and change the current value of the counter.

This is a bit of hack right now, since the format and current counter
values are stored in the counter_formats and counters kvp slots
respectively, instead of options/<section> like the other options in the
File->properties window.

This is implemented by adding the make-counter-option and
make-counter-format-option, which both replace the scm->kvp and kvp->scm
functions defined by make-number-range-option and make-string-option
respectively. The replaced function simply ignores the "path" parameter
and instead saves to the "counter" or "counter_formats" slot hardcoded.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20057 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-10 21:39:40 +00:00
Christian Stimming
10b45bf554 Bug #638543: Validate counter format strings before using them.
Patch by Matthijs Kooijman:

The validation function is a very simple "parser" that simply checks for
a single gint64 conversion specification, allowing all modifiers and
flags that printf(3) specifies (except for the * width and precision,
which need an extra argument).

The validation function returns an error message that is used to log a
warning and can be used by the GUI later on.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20056 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-10 21:39:29 +00:00
Christian Stimming
e1c6d28eac Bug #638543: Make the various counter formats configurable.
Patch by Matthijs Kooijman:

This retrieves the counter formats from the kvp slots in the book. The
defaults are unchanged, so this should not affect existing books at all.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20055 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-10 21:39:18 +00:00
Christian Stimming
aa151f0ae0 Bug #638543: Centralize the counter formatting in qofbook.
Patch by Matthijs Kooijman:

Instead of querying qofbook for the next counter number and then doing
the formatting in all the different business modules (all using the same
format string), the formatting is now moved inside
qof_book_increment_and_get_counter (which is renamed to
qof_book_increment_and_format_counter).

This changes the return value of a bunch of helper functions from gint64
(the counter value) to gchar* (the formatted counter value), but does
not have any user-visible changes.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20054 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-10 21:39:06 +00:00
Christian Stimming
670b3b63da Bug #638543: Split the qof_book_get_counter function.
Patch by Matthijs Kooijman:

The qof_book_get_counter function now only gets the current counter
value. The new qof_book_get_and_increment_counter function now does the
incrementing.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20053 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-10 21:38:54 +00:00
Christian Stimming
d565bdb982 Bug #638543: Remove the counter() method from the backends.
Patch by Matthijs Kooijman:

This method is not implemented by either of the backends and removing it
makes the subsequent commits possible.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20052 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-10 21:38:43 +00:00
Christian Stimming
ae30067f56 Set sort order for GncEntry quickfill to LIFO by-date.
Previously, the insertion order was random instead of by-date.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20051 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-10 20:12:39 +00:00
Christian Stimming
a39583c860 Activate balance averaging in account piechart report, introduced in r19253.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20048 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-09 21:22:59 +00:00
Christian Stimming
2bb2858021 Fix potentially uninitialized variable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20047 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-09 21:15:56 +00:00
Phil Longstaff
ec1b93bdf5 Add budget name to budget tab
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20044 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-09 20:04:37 +00:00
Christian Stimming
4e04b157b6 Remove obsolete unused autoconf macro
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20043 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-09 20:00:13 +00:00
Phil Longstaff
55865d2e1b Fix more memory leaks. Also, when closing a book (to open a new one, not year end), free objects.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20042 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-09 18:01:47 +00:00
Phil Longstaff
3bd95ca483 More memory leaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20041 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-09 18:00:32 +00:00
J. Alex Aycinena
04078234c0 Add info about sub-accounts to Tax Info column on Accounts page.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20039 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-08 23:52:13 +00:00
Phil Longstaff
48f0ce9a37 Add gnc_budget_clone() and make some functions arguments 'const'
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20036 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-07 17:45:18 +00:00
Mike Evans
0e8cef246e Fixed some typos.
Please enter the commit message for your changes. Lines starting

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20035 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-07 14:05:07 +00:00
Mike Evans
c33270221d A plugin to import CSV data as a new invoice or bill. Based on code written by Sebastian Held.
Also includes a python script to massage a downloaded order form into the correct format for import.  See contrib/rapid2gnucash.py
This works with Rapid Electronics (UK) and can be used as a basis for other vendors.  Users need to add a line in their  ~/.gnucash/config.user
for the module to be loaded:
(gnc:module-load "gnucash/plugins/bi_import" 0)
See bug #624911 for more details.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20034 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-07 14:04:55 +00:00
Phil Longstaff
e8d8c4be42 Add "copy budget" command to menu. Works like "open budget" except that a copy of the budget is made with the name "Copy of "+name of old budget.
This command will allow you to easily create a copy of your 2010 budget and change its name to "2011".  I also plan to add UI capabilities to more easily manipulate budget numbers.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20033 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-07 01:48:17 +00:00
Christian Stimming
c6fa015dad Bug #636402: Add test case for DBI error: 1: table sqlite_sequence may not be dropped
Patch by Mark Jenkins:

The attached patch adds a test program demonstrating the problem in C, built in
src/optional/python-bindings
It pretty much shows the same calls that are being made to the C by the python
bindings (including initialization) and the example sqlite3 python script.
Running this small C program produces the same result.

(The program is built in check_PROGRAMS, not bin_PROGRAMS, to avoid having it installed.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20023 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-01 21:04:31 +00:00
Christian Stimming
e43e3e490f Bug #454109: Online banking: grey out online action menu items when there is no online account
Patch by Manfred Usselmann:

Show error message, if assigned online account is not valid or cannot be found
or if the selected online action is not valid for this account. Improved
checking if online job has been successfully executed.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20022 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-01 20:57:33 +00:00
Christian Stimming
9ad21c7337 Bug #373415: Replace existing transaction fields by imported transaction marked as reconcile
Patch by Manfred Usselmann:

This patch adds an additional update action to the import matcher as described
above. It can be activated with the online banking preferences dialog.

(Patch changed because of one function name adaption after r19936)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20021 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-01 20:57:22 +00:00
Phil Longstaff
1a53e1494a Revert part of r20018 - Freeing the guid returned from g_object_get() sometimes tried to free unmalloced memory.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20020 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 18:25:43 +00:00
Phil Longstaff
d10099b79c More memory leaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20019 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 16:55:33 +00:00
Phil Longstaff
3e3beb86b6 Plug more memory leaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20018 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 16:53:18 +00:00
Christian Stimming
573e3a8f13 Bug #635355: Implement the correct "DTAUS import and send" feature again.
Patch by Manfred Usselmann: Improved version: Only transactions which have
been successfully imported into GC are transmitted to the bank.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20016 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 12:29:09 +00:00
Christian Stimming
e224205e11 Bug #95635: QIF import: Mark matched transactions as cleared
Patch by Tristan Faujour:

Please describe the problem:
My bank allows me to download bank statement files in the QIF format. They
contain paid transactions, but there is no status ("C") line, so all
transactions are left in the "not cleared" status.
I wish it would be possible to define the default status in user preferences.

Steps to reproduce:
- Import a QIF file with no "C" line.

Actual results:
- Transactions are not cleared.

Expected results:
- The "near split" of the imported transactions should be set to a default
status 'defined in user preferences).

Does this happen every time?
- Yes

Other information:
- I developed a patch. See attachment. It allows defining another status that
will be applied to the transactions that are imported as "not cleared".
- It is my first contribution, it should be taken with all due prudence.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20015 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 12:25:30 +00:00
Christian Stimming
039c603bf8 Bug #636988: Tip about "New default date" by Tarlika Elisabeth Schmitz and Derek Atkins
Contributed at gnucash-user@gnucash.org 2010-09-16

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20014 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 12:25:18 +00:00
Christian Stimming
d91e927158 Bug #628444: String improvements after string freeze is lifted
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20012 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 12:07:01 +00:00
Christian Stimming
e6e8cdf852 Bug #565348: Patch to include subaccounts in the all columns in the account page
Patch by James Duerr:

Patch to include subaccounts in all columns, not just present column, and also
to sort including sub-account totals, rather than without.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20011 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 12:06:49 +00:00