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
Phil Longstaff
67654bf11c
Remove debugging line which used only single account.guid value - using 1 value made SQL
...
statement much shorter and easier to examine.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18136 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-19 16:50:08 +00:00
Phil Longstaff
63ca792cfb
Implement QofQuery for splits. At this point, the queries used by current reports work, but
...
more split fields could be implemented. Implemented are: account.guid, reconcile-flag,
trans.desc and trans.date-posted.
Fixes Bug #585167
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18135 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-19 16:48:48 +00:00
Phil Longstaff
22a45587a9
Simplify SQL when loading slots for all objects of a given type.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18134 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-15 22:19:35 +00:00
Derek Atkins
66f9127933
Add the batch file for the win32 daily build.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18133 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-14 23:08:31 +00:00
Derek Atkins
4f970b0caa
Add start/stop build times.
...
(Useful for build logs)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18132 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-14 22:58:06 +00:00
Phil Longstaff
558efe9c57
Speed up account loading on mysql (especially) by creating an index on the tx_guid field
...
of the splits table. Without this, mysql can take a *really* long time to get the transactions
for an account.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18131 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-14 03:36:40 +00:00
Phil Longstaff
c04176b323
Fix bug #415127 - gncCustomer, gncEmployee and gncVendor now listen for
...
modification events from their addresses, and mark themselves as dirty and
emit their own modification events.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18130 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-13 23:35:22 +00:00
Derek Atkins
6ff4b73352
Properly reconfigure AqBanking 3.8.3 with the updated configure.ac
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18129 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-13 21:50:40 +00:00
Derek Atkins
b75113f853
Fix the patch name. Oops.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18128 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-13 21:25:31 +00:00
Derek Atkins
9a7fd572d0
Add AqB 3.8.3 patch for Win32
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18127 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-13 19:49:37 +00:00
Derek Atkins
fd5fb19d61
More updates the build-tags scripts:
...
* fix the GLOBAL_DIR definition
* Point to the 'global' HH_DIR so we don't reinstall it
* Use the build_package script from trunk
* Don't save the environment to /etc/profile.d on the build server
* re-add the ability to have an aqbanking patch (3.8.3 doesn't build)
* add the NO_SAVE_PROFILE flag
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18126 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-13 19:42:23 +00:00
Derek Atkins
cc55697374
Handle BUILD_FROM_TARBALL special for tag builds.
...
(Don't put the svn # in there)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18125 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-13 13:42:02 +00:00
Derek Atkins
aa0a88039f
it's "tagfile"
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18124 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-13 04:43:36 +00:00