Commit Graph

13680 Commits

Author SHA1 Message Date
Christian Stimming
5eba235bac Add optional module that compiles with gtkmm, i.e. in C++.
This was just a crazy idea, but it turns out to be extremely easy.
This can be used as a place for new GUI elements which people prefer
to write in gtkmm/C++ instead of C. It's disabled by default.
Use configure --enable-gtkmm to enable it.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20310 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-16 21:39:54 +00:00
Christian Stimming
75454cbdbb Fix const-correctness of gnc-module interface.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20309 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-16 21:39:40 +00:00
Christian Stimming
5061b7d911 Add missing run-time typechecks in new code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20308 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-16 21:08:26 +00:00
Christian Stimming
a6f944598a Fix CRIT gtk warning if the old_page_long_name was NULL but still passed to g_strrstr.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20307 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-16 21:08:10 +00:00
Christian Stimming
3304711d6c Fix invoice line ordering mismatch between register window and reports.
The new code was missing the call to gncInvoiceSortEntries.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20306 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-16 20:47:49 +00:00
Christian Stimming
9742dab337 Win32 build: Updated aqbanking5 version numbers
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20305 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-16 20:16:35 +00:00
Christian Stimming
80e4847f2a Add extra toolbar buttons as shortcuts for some business functions, "New Invoice" for now.
The extra toolbar buttons are disabled until the user enables them
manually in Preferences -> Business -> Extra buttons.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20304 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-16 20:13:37 +00:00
Geert Janssens
d7073fb148 Bug [PATCH] Segfault when tip_of_the_day.list is empty
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20303 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-16 11:46:01 +00:00
Christian Stimming
8650eec61c Add accessor of GtkUIManager in GncMainWindow.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20302 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-14 21:15:08 +00:00
Christian Stimming
fe58851549 Win32 build: Fix outdated (and broken) URL of ActivePerl.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20301 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-14 19:34:52 +00:00
Christian Stimming
bb26d07dce Bug : Fails to build on Ubuntu Natty
Patch by Ahmed El-Mahmoudy.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20300 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-14 19:33:02 +00:00
Christian Stimming
f265d7ce1c Updated German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20299 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-14 19:21:56 +00:00
John Ralls
314e54586e QofSession: Don't push a new generic error if there's already one available that might be more descriptive.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20298 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-14 00:17:50 +00:00
John Ralls
ef0dd46391 Remove no-longer-correct warning about the aqbanking5 setup wizard not being implemented: It is.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20297 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-13 20:19:45 +00:00
Christian Stimming
8fcbbe1022 Updated German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20296 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-13 20:18:52 +00:00
John Ralls
9995c03ed0 Bug : Use g_strdup_printf() instead of dbi_conn_queryf() to format the query; the latter crashed msvcrt. Also reverts r20287 because the root bug is fixed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20295 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-13 20:03:12 +00:00
Christian Stimming
0bcf002937 Implement command for changing the ordering of invoice entries by moving them up or down one row.
Turned out this is rather easy: Just swap the "date-entered" of both items.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20294 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-12 21:55:57 +00:00
Christian Stimming
2e1e0a0377 Add a Timespec constructor for the current clock time.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20293 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-12 21:55:46 +00:00
Christian Stimming
988873f878 Win32 build: Fix some cross-compiling issues.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20292 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-12 20:32:17 +00:00
Christian Stimming
b5c492d0b7 Win32 build: Update some version numbers: libofx, gwenhywfar, aqbanking
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20291 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-12 19:28:52 +00:00
Christian Stimming
b4635710d6 Bug : Workaround to avoid the current crashes on windows.
On win32 the queryf() calls below seem to crash. On the other hand,
we know the used libdbi on windows is fine, so as a first
workaround, we assume libdbi is safe.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20287 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-12 17:30:13 +00:00
Christian Stimming
7700b974ab Update German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20285 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-12 16:34:34 +00:00
Christian Stimming
6ff18f3b07 Update translation po files: Merge latest pot template.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20284 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-12 16:30:48 +00:00
Christian Stimming
a95cd710e2 Fix potential parsing of NULL strings by correctly use an empty non-NULL string instead.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20283 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-12 16:03:31 +00:00
Christian Stimming
d398e99593 Another error message somewhat more verbose.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20282 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-12 15:53:51 +00:00
Christian Stimming
5f7e50efef Make log warning about bad gnc_numeric print the actual error code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20281 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-12 15:53:37 +00:00
Christian Stimming
4741dc2b42 Add address auto-completion of r20272 also for address line 4.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20279 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-12 15:18:46 +00:00
Christian Stimming
4978611f28 Updated Spanish translation, by Francisco Javier.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20278 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-12 14:49:09 +00:00
Christian Stimming
7216898b6a Fix r20272: The text selection after auto-completion should work correctly now.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20275 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-12 09:46:57 +00:00
Cristian Marchi
0794a01d8c Update Russian translation by Sergey Belyashov.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20274 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-11 13:40:08 +00:00
Christian Stimming
77679b6bcc Extend the addr2/addr3 auto-completion also to the shipping addr2/addr3 lines.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20273 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-10 21:49:44 +00:00
Christian Stimming
2f8a1265af Implement auto-completion on the addr2/addr3 lines of the "New Customer" dialog box.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20272 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-10 21:49:29 +00:00
Christian Stimming
213afffc2c Add a common shared quickfill object for the addr2/addr3 lines of a GncAddress.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20271 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-10 21:49:12 +00:00
Christian Stimming
deec6809aa Minor code cleanup - remove includes from header if not necessary.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20270 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-10 21:48:58 +00:00
Cristian Marchi
99a4130043 Updated Dutch translation copied from the translation project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20269 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-10 20:10:24 +00:00
Christian Stimming
792b4ac1ee Bug : Rename "Financial Calculator" into "Loan Repayment Calculator"
I've been told (by users who know the subject well enough) the "Financial
Calculator" should rather be called a "Loan Repayment Calculator" or a
"Mortgage Payment Calculator", as this is what is being offered there. So
I finally made this renaming.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20268 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-10 19:46:56 +00:00
Christian Stimming
59cbfb2b6f Bug : Adding very limited Perl-Support for doxygen
Adding Doxygen commands to the Perl-scripts in the sources

I searched for every *.pl file in the GnuCash source and added Doxygen commands
like @file, @brief, @author to better include them in doxygen.

Patch by Christoph Holtermann.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20267 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-10 19:40:38 +00:00
Christian Stimming
17669ec5bf Bug : Adding very limited Perl-Support for doxygen
There are a few Perl-scripts scattered through the GnuCash sources. This patch
enables doxygen to interpret them so that they can be provided with information
about author, date and so on.

This is done by telling doxygen that their python-files. So python-comments can
be used.

The actual Perl-source is commented out by using
@cond Perl
...PERL-CODE...
@endcond Perl

Patch by Christoph Holtermann

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20266 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-10 19:40:22 +00:00
Christian Stimming
0f0b1e662a Bug : Adding Example Skripts for historic Stock Quotes
This patch adds the example skripts from
http://wiki.gnucash.org/wiki/Stocks/get_prices
to the directory python-bindings/example_scripts.

Patch by Christoph Holtermann.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20265 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-10 19:37:23 +00:00
Christian Stimming
d16ef1765e Bug : This patch makes Transaction.GetSplitList and Account.GetSplitList return Split instances
I changed gnucash_core.py so that GetSplitList methods of Transaction and
Account return Split-instances so that the user doesn't need to call
Split(instance=GetSplitList()[n]).

I checked the examples and changed one either.

Patch by Christoph Holtermann

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20264 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-10 19:37:07 +00:00
Christian Stimming
e3b8b22ab5 Bug : Changing the way __format__ works for Split and Transaction
Patch by Christoph Holtermann

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20263 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-10 19:36:52 +00:00
Christian Stimming
b0fb01c81c Fix CRIT error message on program quit in the aqbanking module.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20261 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-09 21:51:36 +00:00
Christian Stimming
b66ee496b8 Fix missing copying of invoice currency on "Copy Invoice".
Unfortunately this feature has been creating invoices with no currency set.
This leads to weird amounts that have more digits than expected and don't
sum up correctly, and it also triggers the warning dialog "One or more of
the entries are for accounts different from the invoice/bill currency. (...)"

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20260 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-09 21:10:55 +00:00
Christian Stimming
8e379a035c Bug : Fix broken price scatter plot
The report was unknowingly broken by the move of one function in r20209
namely gnc-locale-default-iso-currency-code from app-utils to core-utils,
and somehow this needs a re-export in the core-utils.scm declaration.
(I don't know why. For me, this confirms again this whole scheme plugin
stuff sucks, royally.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20259 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-09 19:52:21 +00:00
Christian Stimming
dbf058b097 Minor tweaking of icon for duplicate invoice so that it doesn't look grayed out
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20256 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-07 21:39:00 +00:00
Christian Stimming
88d677c834 Update Dutch translation by Mark Haanen, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20255 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-07 21:19:05 +00:00
Christian Stimming
65f0c7b8ef Updated Spanish translation, by Francisco Javier F. Serrador.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20254 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-07 21:07:29 +00:00
Phil Longstaff
112778f12e Update revision to 2.4.2
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20252 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-06 22:30:26 +00:00
Christian Stimming
c97a58b97b Partly revert r20207, "Modify Tax Info on Account Page..."
The changes in the tree-model-account caused CRITICAL gtk warnings, so we
revert that part for now. The changes in gnc-ui-utils.[hc] have been kept.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20251 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-06 21:18:49 +00:00
Christian Stimming
ab195d7333 Updated German translation, now 100% completed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20250 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-06 21:16:52 +00:00