Commit Graph

2816 Commits

Author SHA1 Message Date
Derek Atkins
b72c587350 suspend events around the Commit(). Fixes #347089 when combined with r14495.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14887 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-23 22:31:45 +00:00
Christian Stimming
557723f256 Remove mt940 module completely from the build and SVN because all of
its functionality has been moved into the hbci (aqbanking) module.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14871 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-19 18:44:56 +00:00
Andreas Köhler
64e0e791df Use some more automatic scrollbars in GtkScrolledWindow's.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14866 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-19 00:56:26 +00:00
Andreas Köhler
296f730165 Do not complain about non-existent files if we save to a new file. In
pass one we ignore the error returned by stat and call qof_session_begin
with create_if_nonexistent=TRUE for a second run.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14865 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-19 00:52:54 +00:00
Christian Stimming
60ff04b2fb Implement automatic relocation of previously compiled-in paths.
With the exception of the env variables in src/bin/gnucash we're
fully relocatable now.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14862 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 20:43:50 +00:00
Christian Stimming
b51a9207dd Move the MT940 importer action from the mt940 into the hbci plugin because in
the hbci plugin everything is already there. From now on, MT940
importing is available as soon as --enable-hbci is switched
on. The mt940 plugin can be removed from SVN now.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14841 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-13 14:22:54 +00:00
Christian Stimming
df175ce6b8 Add new file with utility functions to retrieve the needed directory
paths. All compile-time vs. runtime path lookups will be implemented
exactly in this file.




git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14821 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-07 20:37:53 +00:00
David Hampton
b5a0ce15a4 Include config.h a couple of places.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14819 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-07 16:32:10 +00:00
Christian Stimming
3675e7470e If the file type wasn't recognized, check whether this failed because
of no read permission and give appropriate user feedback if yes.
Feel free to adjust the wording.
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14791 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-03 20:14:07 +00:00
Christian Stimming
6b7bb49fc4 Fix error checking for non-existing filenames. Will now always give a
"file not found" message on nonexisting paths or filenames. #351351.
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14789 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-03 11:07:16 +00:00
David Hampton
c08483170a Remove some conditional code that is no longer compiled, or shouldn't
be compiled in 2.2.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14701 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-20 21:57:33 +00:00
David Hampton
25785e834e Maintain the account hierarchy when reparenting the descendants of a
deleted account.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14700 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-20 21:52:04 +00:00
Christian Stimming
088a1f9e26 Add new HBCI action to File->Import that imports a DTAUS file and
sends all transfers as HBCI online transfers to the bank.




git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14699 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-20 10:00:01 +00:00
David Hampton
aa7cda2a16 Update so that bug-buddy 2.16 will still allow you to file bugs
against gnucash.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14695 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-20 03:32:21 +00:00
David Hampton
a9993107ba Add missing call to xaccAccountBeginEdit.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14694 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-19 05:07:31 +00:00
David Hampton
e0244824a0 Add some 'const' declarations.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14690 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-18 04:48:18 +00:00
Christian Stimming
337bb207d4 Move #include "qofla-dir.h" into qofsession.c because this is the only place where it is used.
Removes an often regenerated dependency from qof.h.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14688 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-17 10:43:19 +00:00
Christian Stimming
267c41f2e0 Double-check really every string from aqbanking for valid utf-8 characters.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14680 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-15 20:05:43 +00:00
Christian Stimming
dfaec6654b Add gnc_utf8_strip_invalid_strdup() that returns a stripped copy instead of working in-place.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14679 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-15 20:00:14 +00:00
Christian Stimming
9f9dcbb5b9 Ensure the encoding of the ktoblzcheck library is used correctly.
Their encoding is still always ISO-8859-1, but in future versions 
they might change it to something else. We're prepared now.
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14676 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-15 13:39:19 +00:00
David Hampton
59a95cce9b Remove overloading of an argument passed to the
gnc_gconf_add/remove_notification functions..  This will solve a crash
on Solaris caused by g_vasprintf being passed a "%s" format string and
a NULL as argument.  BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14675 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-15 05:11:07 +00:00
David Hampton
d8c1435742 Add a tip for raising the accounts menu in a register page.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14670 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-14 19:00:20 +00:00
Chris Shoemaker
c0759a3adb Reverting r14626. It botched the 'svn move' (svk bug) and broke the build.
"gnc-gobject-utils.c:52: error: 'GtkFunction' undeclared."


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14658 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-13 03:12:15 +00:00
David Hampton
acf33097a8 Fix account currency problems when importing QIF files (introduced by
the widget cleanup.)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14627 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-11 02:17:15 +00:00
Derek Atkins
e71180c16a * move gnc-gtk-utils from core-utils to gnome-utils because
core-utils should not depend on gtk.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14626 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-09 17:48:00 +00:00
Christian Stimming
7ca685e5a9 Find absolute path of gconftool-2 during configure. Make gconftool rules to
fail if gconftool-2 could not be found. bug#349851.
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14607 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-08 09:39:12 +00:00
Christian Stimming
af935b5178 Improve wording for XML
data file import druid. bug#342727.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14604 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-08 08:52:53 +00:00
David Hampton
fc5fe1e5a6 Regularize the account type names into the form ACCT_TYPE_xxx.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14599 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-06 22:07:12 +00:00
David Hampton
2e4fbf692f gnc_import_process_trans_item() should return TRUE in those cases
where the transaction has been processed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14595 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-06 00:59:23 +00:00
David Hampton
e1a44e071c Fix compilation errors on FC3.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14594 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-05 21:48:54 +00:00
Andreas Köhler
de12947c4e Enable inline completion only for gtk>=2.6.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14593 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-05 21:15:22 +00:00
Andreas Köhler
a2db583699 Unref all new stores.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14592 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-05 09:18:26 +00:00
Andreas Köhler
a83f0c36b5 Check for account type compatibility when creating a new account. Fixes
344966.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14591 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-05 01:17:28 +00:00
Andreas Köhler
01dea719a7 Unref entry completion in gtk-gtk-utils.c; I18n "Type", unref store in
dialog-account.c


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14590 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-05 01:06:23 +00:00
Andreas Köhler
4f15e187a8 Add tooltips to the checkboxes in the Reset Warnings dialog showing the
long descriptions. Remove all linebreaks in these strings to make them
look better.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14589 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-03 09:30:56 +00:00
David Hampton
e5b0bdbe10 Remove the majority of the remaining deprecated widgets by collapsing
the "deprecated-cleanup" branch (r13935:14581) back into trunk.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14588 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-02 18:13:30 +00:00
Derek Atkins
e914708cc3 Adjust the "development version" message for the 2.0.1 release.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14587 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-31 13:22:31 +00:00
Andreas Köhler
fc8737d6b3 Replace the hbox separating debits from credits in the reconciliation
window by a homogeneous table. This avoids nasty redraws when one of
them changes in size. Fixes #342512.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14582 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-30 16:28:38 +00:00
Andreas Köhler
fd7877718f Add warning close_last_window and show it when user tries to close the
last GnuCash window. Fixes #338865.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14580 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-30 01:25:12 +00:00
Andreas Köhler
3b84f4ca95 Add new setting general/show_splash_screen to
preferences_dialog->General and only show the splash screen if it is
TRUE. Fixes 339876.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14579 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-30 01:18:43 +00:00
Andreas Köhler
2b1b9b51f1 Fixed some duplicate accelerators.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14578 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-30 00:58:22 +00:00
Andreas Köhler
8a8510d34b Add preference general/tab_position to choose the edge of the notebook
the tabs will be showed (top, bottom, left or right). Add it to
preferences_dialog->Windows. Move "Show close button on notebook tabs"
from General to Windows. Fixes #340299.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14577 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-30 00:39:02 +00:00
Derek Atkins
3ad22b5eb5 Allow proper compile/install from tarball using separate builddir.
- Don't distribute (most) generated files.
  - Be (more) consistent about when generated files are cleaned.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14555 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-25 13:25:26 +00:00
Derek Atkins
5fc3adca37 Now that we distribute the SX schema properly, don't skip it
in the POTFILES.skip file.
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14554 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-25 13:25:16 +00:00
Andreas Köhler
e7368b7c06 Correctly set column sort orders from gconf. Fixes #348248.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14552 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-23 11:43:12 +00:00
Derek Atkins
43dbf78b80 check for SLIB. (#347922)
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14551 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-22 15:47:46 +00:00
Andreas Köhler
1ff9e38a42 Make tabs within one notebook reorderable by dnd for gtk>=2.10.
Fixes #343454.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14550 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-21 17:20:49 +00:00
Christian Stimming
b4f6de5b35 On windows, deactivate gnucash's extra de-quoting of path names that is done on the GNC_MODULE_PATH env variable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14542 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-18 15:41:55 +00:00
Derek Atkins
416596dabe Properly round invoice entries and totals. Fixes #300042.
Perform internal computations to LCD, but then export rounded values.
Now, using the test case in Bug #300042 I get the same values
in the invoice window, in the printable invoice report, and
in the CoA Registers.
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14531 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-17 02:04:59 +00:00
Derek Atkins
e20663cbd8 Allow comma-radix numbers without a radix. Fixes #142424.
I.e., allow "17.500" to be parsed either as "seventeen and a half"
or as "seventeen thousand five hundred".  Note that numbers STILL
default to decimal-radix instead of asking the user to choose.
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14523 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-16 23:01:00 +00:00