Commit Graph

13700 Commits

Author SHA1 Message Date
Geert Janssens
8f850d0ff3 Only show the Save As dialog at the end of the Hierarchy druid if it
was called at the beginning of a new book, not when a hierarchy is
added to from the actions menu.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20344 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-26 14:42:40 +00:00
Christian Stimming
af2630904f 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@20343 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-26 14:04:34 +00:00
Geert Janssens
cb366864c4 Update gtk include headers to follow gtk recommendations (only include gtk/gtk.h)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20342 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-26 13:04:37 +00:00
Geert Janssens
f19e1d0d4c Set a printer job name when printing reports and cheques
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20340 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-25 23:59:21 +00:00
Cristian Marchi
3ab9bbd16f Updated Lithuanian translation by Mantas Kriaučiūnas.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20339 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-25 07:11:16 +00:00
Phil Longstaff
226917b373 Update revision to 2.4.3
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20336 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-25 00:29:25 +00:00
Christian Stimming
70b83c9ece Update German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20334 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-24 20:44:37 +00:00
Christian Stimming
0bb9fdc24d I18n improvement: Unify two very similar strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20333 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-24 20:44:25 +00:00
Cristian Marchi
a1326e2725 Updated Italian translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20332 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-24 19:29:00 +00:00
Cristian Marchi
b664b57ab2 Updated Slovak translation, copied from the translation project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20327 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-23 12:50:19 +00:00
Christian Stimming
8bb7cb9d26 Updated Traditional Chinese translation, by Kuang-che Wu.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20326 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-22 20:28:34 +00:00
Christian Stimming
7c05bb43fc Remove translation markers from already-translated strings in German tax report.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20322 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-20 21:05:39 +00:00
Christian Stimming
c9a1b871b7 Update German tax report, by Franz Stoll.
The contributor also sent some explanatory documents, which I for now
copied into tax/us/de_DE/, but I just didn't know whether they better
belong anywhere else.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20321 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-20 21:05:20 +00:00
John Ralls
b2ede997f4 qofinstance.h: Delete duplicate declarations and consolidate editlevel declarations in one place.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20317 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-19 01:17:42 +00:00
Cristian Marchi
f7c074a5b7 Updated Italian translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20316 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-18 19:08:11 +00:00
Cristian Marchi
370bf9f2d0 Unify two very similar strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20315 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-18 19:07:13 +00:00
Christian Stimming
6a6370ba4e Extend gtkmm/C++ plugin to include an actual gnc-plugin implementation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20314 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-18 11:35:45 +00:00
Christian Stimming
9d399b0c2e Really fix conditional configure test for gtkmm.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20313 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-18 11:35:34 +00:00
Christian Stimming
b6f909b75f Re-apply r20310: Add optional module that compiles with gtkmm.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20312 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-18 09:37:24 +00:00
Christian Stimming
df9044243b Revert r20310, "Add optional module that compiles with gtkmm..." - the configure code wasn't taking this as optional for whatever reason.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20311 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-17 18:43:43 +00:00
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 #642445 [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 #642284: 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 #641832: 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 #641832: 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