Commit Graph

2824 Commits

Author SHA1 Message Date
David Hampton
c7172736dd Fix some scheme inexact errors. Fixes 347462.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15088 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-06 04:45:27 +00:00
Joshua Sled
e0de0ed5f1 Add 2.0 art source files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14947 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-09 19:47:15 +00:00
Derek Atkins
c7c9199800 Add the ability to override the default sort (#150799).
Override the Transaction Number to sort numerically.
	* lib/libqof/qof/qofclass.h:
	* lib/libqof/qof/qofquery.c:
	* lib/libqof/qof/qofquerycore-p.h:
	* lib/libqof/qof/qofquerycore.[ch]:
	  - Publish the QofCompareFunc prototype.
	  - Add a new QofParam param_compfcn parameter
	  - Change QofQuery to use the param_compfcn over the
	    default type compare function.
	  - create (and publish) a qof API to compare strings
	    as numbers:  qof_string_number_compare_func()
	* src/engine/Transaction.c:
	  Assign TRANS_NUM to use qof_string_numer_compare_func()



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14903 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-27 13:39:32 +00:00
Derek Atkins
8bf369217a Revert r14892 in order to try a different approach.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14902 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-27 13:30:05 +00:00
Derek Atkins
f82c369b0e Implement SubQuery functionality in QOF: qof_query_run_subquery()
Now you can run one query off of the results of another query.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14901 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-26 23:47:09 +00:00
Andreas Köhler
c77679c601 Revert r14591 (bug 344966) to prepare another solution.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14893 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-26 22:07:42 +00:00
Derek Atkins
2bb357def4 Add a new QOF_TYPE_NUMSTRING to add numeric sorts. (#150799).
This new type is like QOF_TYPE_STRING but it sorts numerically
	  (first) and then sorts alphanumerically (by the tail of the
	  number).  Added the QOF Type, the gnome-search support, and
	  modified TRANS_NUM to use the new type.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14892 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-26 00:36:30 +00:00
Derek Atkins
bb5646f42c disable lot scrubbing during Check & Repair (#357370).
Lots are supposed to be disabled in the 2.0 release until we
	  get the cap-gains code working.  IMHO the cap-gains code should
	  deal with extra txn splits instead of creating additional txns.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14888 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-23 22:51:29 +00:00
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