Commit Graph

12018 Commits

Author SHA1 Message Date
Charles Day
ac30591d8b Bug #587913: Register: Don't mark the account cell as changed if the name hasn't changed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18188 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-07 21:15:01 +00:00
Charles Day
6c1a471a72 Register: Clarify a debugging message.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18187 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-07 20:09:14 +00:00
Derek Atkins
a39b4c0c0d Let the trap happen.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18185 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-07 02:45:46 +00:00
Phil Longstaff
15052777a4 Remove unneeded status file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18184 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-07 02:39:21 +00:00
Phil Longstaff
cf0123efa3 Add gnucash-setup-env to list of files to be cleaned
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18183 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-07 02:38:02 +00:00
Phil Longstaff
8ed56c7a05 Add new file to POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18182 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-07 02:37:39 +00:00
Phil Longstaff
05148a0532 Make split queries stupid - depend only on account. This makes them *much* faster on sqlite3.
Once they can be sped up, the stupidity can be removed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18181 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-07 00:14:45 +00:00
Phil Longstaff
bde496195d 1) When deleting a sched transaction, delete the recurrence properly (SQL backend)
2) Fix bug 586558 – When a scheduled transaction is deleted, the objects aren't cleaned up properly
The problem is that the xaccSchedXactionFree() function didn't properly call qof to commit the
delete operation.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18180 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-06 23:11:56 +00:00
Christian Stimming
06d7cdea42 Updated Korean translation by yongdoria
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18179 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-06 18:58:54 +00:00
Phil Longstaff
93428aec01 When opening a file, "sqlite3" and "xml" dropdown list items are replaced by "file", since the user
shouldn't care what type of file it is.  Gnucash will figure it out.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18178 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-06 02:13:13 +00:00
Charles Day
677aa0cc6f Bug #567709: Register: Don't assume that cells outside the cursor are valid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18177 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-05 22:16:03 +00:00
Charles Day
c18ab75030 Bug 563598: QSF XML Export: Remove the tooltip from the GtkCalendar. It was causing a crash, probably due to bug 586896.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18176 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-04 22:57:50 +00:00
Phil Longstaff
095f6a6d0c pgsql-win32.tar.gz which provides client access to a postgresql library has been updated to add
some needed DLLs.  Unfortunately, unlike mysql, postgresql does not provide a pre-built win32
package containing the client side include files and libraries.  pgsql-win32.tar.gz is a set of
files taken from a full windows installation.

With the new pgsql-win32.tar.gz, to compile on win32, you will need to delete your
pgsql directory and downloads/pgsql-win32.tar.gz file i.e.:

    cd /c/soft
	rm downloads/pgsql-win32.tar.gz
	rm -rf pgsql



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18175 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-04 19:12:56 +00:00
Phil Longstaff
14058ec397 Fix bug 586901: Price editor creates price before all information available
When creating a new price, don't create the price when the dialog is opened.  Instead, create it
in the gui_to_price() routine if no price has been created yet.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18174 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-04 16:45:53 +00:00
Phil Longstaff
1ed10b6532 Fix pgsql files copied - remove pgsql/bin which doesn't exist
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18173 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-04 04:14:39 +00:00
Phil Longstaff
f5954cd45d Handle SPLIT_VALUE terms in split query. I'm not sure credit vs debit is handled correctly, but
given the weird way queries work, it doesn't really matter.  By this, I mean that all the backend
is supposed to do with a query is ensure that the correct set of splits is loaded.  Since an
account can only be reconciled once it is opened in a register, and opening a register loads all
splits in the account, and reconciling queries for a subset of splits (those that haven't been
reconciled), the reconcile query could do nothing and it would all still work.  This will need
to be revisted once the register and queries need to be smarter.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18172 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-03 17:49:51 +00:00
Phil Longstaff
5e5d165309 Fix (I hope) installation of libpq
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18171 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-03 16:16:11 +00:00
Derek Atkins
75c37f935f Make sure we copy the logfile even on error
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18170 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-03 12:57:34 +00:00
Christian Stimming
975365c72a Add Korean translation by Jin-Hwan Jeong.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18169 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-02 08:18:01 +00:00
Christian Stimming
0660ede301 Decrease verbosity of libgwenhywfar debugging output.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18168 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-02 08:17:51 +00:00
Christian Stimming
35f1112c47 Bug #582048: Fix missing GUI callbacks for online transfer.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18167 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-02 08:04:05 +00:00
Charles Day
b34e82722b Bug #580968: Register: Keep track of the account when an exchange rate is set, and don't reset the rate unless the commodity changes. Previously the rate would be reset whenever focus left the account cell, even if the commodity hadn't changed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18166 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-01 23:05:24 +00:00
Phil Longstaff
5c2112de5f Fix URL for pgsql library stuff
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18165 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-01 12:33:56 +00:00
Phil Longstaff
7140a46206 Build pgsql libdbi driver
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18164 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-29 21:10:21 +00:00
Phil Longstaff
f6eaab3238 Mark transaction dirty when setting enter-date
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18163 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-28 22:54:47 +00:00
Phil Longstaff
72263402cf Add some doxygen routine headers
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18162 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-28 22:53:51 +00:00
Phil Longstaff
8c8dc41825 Fix 'make check'
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18161 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-28 22:52:56 +00:00
Phil Longstaff
4ebb6ce9bf Build mysql client library and libdbi driver properly
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18160 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-25 22:16:48 +00:00
Phil Longstaff
2fd0d848b8 Add .def file to allow libmysql.dll to be built.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18159 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-25 03:58:12 +00:00
Phil Longstaff
6bcfa31619 Install aqbanking patch even if AQBANKING_WITH_QT is no. This allows RC to be defined properly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18158 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-25 03:52:07 +00:00
Phil Longstaff
a69d2ee674 Remove call to backend from qof_commit_edit() and leave it to qof_commit_edit_part2().
Fixes bug 586686: column 'enter_date' is set to 19700101000000 (postgres) when entering
transactions


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18157 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-25 01:54:58 +00:00
Phil Longstaff
817b95e0dc Fix bug 586768 – Opening transaction list takes a very long time with MySQL backend
Redo transaction queries as joins based on suggestion by Mauro Leibelt to improve query performance
on mysql.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18156 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-25 00:27:23 +00:00
Phil Longstaff
a10dff4e69 Patch by Daniel Harding
After renaming eguile-gnc.snc, I forgot to update Makefile.am


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18154 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-22 21:32:04 +00:00
Phil Longstaff
dfe486e0ce Patch by Daniel Harding - update install.sh to handle new gnucash-setup-env script
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18153 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-22 21:29:11 +00:00
Phil Longstaff
7778029d61 Rename eguile.scm to eguile-gnc.scm
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18152 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-22 11:51:28 +00:00
Phil Longstaff
1315842941 If session_begin contains initial 'xml://' or 'file://', remove it.
Fixes bug 585789 and 586121


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18151 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-22 00:40:33 +00:00
Phil Longstaff
86ee8c9cdc Add eguile.scm written by Chris Dennis
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18150 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-21 22:22:57 +00:00
Phil Longstaff
c98535c160 Separate environment variable setup into common file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18149 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-21 17:41:29 +00:00
Phil Longstaff
46a42024df Fix more memory leaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18148 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-21 17:32:34 +00:00
Phil Longstaff
aac2b49b16 Fix memory leaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18147 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-21 16:14:04 +00:00
Phil Longstaff
d3f08e7a60 Fix memory leak - string not freed when creating SELECT statement
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18146 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-21 16:11:08 +00:00
Phil Longstaff
067927c22c Move debug lines printing SQL statements being executed before the actual execution so that
if there are problems, the SQL statement will be logged.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18145 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-21 14:38:44 +00:00
Phil Longstaff
21fb877d30 r18143 needs Makefile.am changes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18144 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-21 13:29:35 +00:00
Phil Longstaff
4116a3c330 Fix bug 586296 – Generated gnucash-dbg and gnucash-valgrind scripts are inconsistent with the
gnucash script - patch by Daniel Harding.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18143 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-21 13:02:58 +00:00
Phil Longstaff
42ae03a262 Fix bug 586419 – Install aborts unpacking SVN .exe package
wget_unpacked doesn't handle .exe files.

Patch by Gary Bartlett


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18142 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-21 00:12:29 +00:00
Phil Longstaff
0e57f5d7c9 Fix bug 585785 – setlocal command is not included in gnucash.bat generated by Windows build
Patch by Daniel Harding


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18141 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-20 23:44:10 +00:00
Phil Longstaff
c53d7f6710 When installing msys dtk, when moving files out of the way, check that the source file exists
first.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18140 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-20 23:39:04 +00:00
Phil Longstaff
6070dbf8ae Fix bug 339726 – Cannot set fractional discount rates in Billing Terms
Modify "adjustment" values to allow fractional values


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18139 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-20 03:44:53 +00:00
Phil Longstaff
66f1525cf0 1) Fix bug 586425 - Patch by Gary Bartlett - update version of gnutls for windows - old
version (2.7.3) is no longer available - replace by 2.8.1 - probably matches gnome odd=unstable
even=stable version numbering

2) Add some symbols used to build mysql/pgsql dbd files for win32 build


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18138 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-20 00:52:56 +00:00
Phil Longstaff
286cbca2eb Fix bug #586295 - Patch supplied by Daniel Harding. Use the executable module to determine
the installation directory rather than the registry contents.  Allows a locally built gnucash
to use its own libraries, not the libraries in any installed version.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18137 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-20 00:05:59 +00:00