Commit Graph
100 Commits
Author SHA1 Message Date
Derek Atkins ef1a9b797f Don't hardcode 'swig' in the Makefile
(based on suggested patch by "Erik Johansson" <erik@ejohansson.se>
2014-03-12 15:23:00 -04:00
Derek Atkins d15f463387 remove DOT_FONTNAME setting; FreeSans isn't included anymore, and we don't even use "dot" 2014-02-05 10:20:16 -05:00
Derek Atkins 39161c25ac Remove the 'SYMBOL_CACHE_SIZE' parameter (required for version 1.8.6) 2014-02-04 13:51:08 -05:00
Derek Atkins a4f5ad4dd0 Upgrade doxygen config to 1.8.3.1 2014-02-04 13:47:38 -05:00
Derek Atkins 7397e4adce Update r23747 -- require 2.0.10 for guile2 builds, but allow older versions
for guile 1.8 builds.  However if we don't have guile 2.0.10 then don't
allow "make dist" to run.  This also means we wont patch the guile
files unless we find swig 2.0.10.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23748 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-23 21:20:37 +00:00
Derek Atkins ba884bb18e Fix typo
Patch from Aurimas Fišeras <aurimas@members.fsf.org>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23087 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-07-02 20:28:01 +00:00
Derek Atkins f17d00842a Set SCM_FILE_LINKS even if not in a separate build directory, otherwise tests fail
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23035 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-06-04 00:20:09 +00:00
Derek Atkins 41f54fbe5e Remove (unused) LIBXML_VERSION from configure.ac (#680708)
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22272 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-07-27 15:45:41 +00:00
Derek Atkins 538910f00b Add a "features" table to the KVP frame, and pop up an error message
if we find a feature we don't know about.  Currently there are no
known features, so essentially we will error out if we see anything.

The format for the slots table is:

  Book Slots ->
      features (frame) ->
            <feature name> (string) -> <feature description>
            ...

The feature description is printed to the user: it should be stored in
the slots table in English but it should be defined as a translatable
string.

BP          

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21767 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-20 21:12:22 +00:00
Derek Atkins 95358ed1d9 Several people reporting that swig-runtime.h wasn't being created.
That's because '.' wasn't in the front of the SUBDIRS, so the Makefile
wasn't building the local targets.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20499 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-28 15:58:00 +00:00
Derek Atkins 22799c48d7 Revert r20082 (re-enable plugins)
Get the bi_import plugin building on Windows by including missing libc functions

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20085 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-13 16:52:59 +00:00
Derek Atkins 3f70c99002 Add APIs to get/set a flag signifying that a transaction is a book-closing txn.
This is necessary for Bug #570042 but doesn't completely solve it until
the reports are updated to use the new API.  This is backwards-compatible
with the slot data inserted by the book closing since 2010-03-02.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19945 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-16 02:11:53 +00:00
Derek Atkins e05af70262 add "isocodes" to reset directory
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19584 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-19 23:21:46 +00:00
Derek Atkins b45b80962f Make sure we include glade headers (#613326)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18931 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-19 15:42:55 +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
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
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
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
Derek Atkins bd706619e0 Use pwd instead of assuming $0 is a full path.
Set URL in a variable

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18123 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-13 04:37:39 +00:00
Derek Atkins e751014bca Refactor daily_build.sh into build_package.sh
Create a build_tags.sh that will check for new tags
in the tag directory and rebuild them when they appear.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18122 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-13 04:31:35 +00:00
Derek Atkins 134e4ad288 Upload the daily builds
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18098 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-06-01 04:29:30 +00:00
Derek Atkins 3eed1ba86b re-enable the python bindings
distcheck works for me now.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18047 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-13 17:54:36 +00:00
Derek Atkins 4ef29a2b3e Call swig with -python because we never need -noproxy
This should fix "make dist" even when you don't enable the python bindings

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18046 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-13 16:14:40 +00:00
Derek Atkins c02bba9102 Upgrade doxygen configuration from 1.5.2 to 1.5.7.1
for upgrade on server to Fedora 10.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18011 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-31 14:22:53 +00:00
Derek Atkins 45370b48d8 Add a glade file to the POTFILES list.
make check now works for me.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17992 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-13 15:31:35 +00:00
Derek Atkins c08c1baf73 remove python-bindings from POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17991 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-13 15:09:15 +00:00
Derek Atkins e52c8693a2 Ignore the python-bindings when building translations.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17990 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-13 15:07:39 +00:00
Derek Atkins ec886fd223 Bug #568473 – Add option to average-balance report.
It allows transactions that go from one selected account
to another to be ignored.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17855 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-29 15:35:21 +00:00
Derek Atkins 792bbae98d Remove duplicate report installation
Reorder reports alphabetically for easy listing

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17672 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-10-28 15:01:28 +00:00
Derek Atkins d4448d19aa Fix gcc warning from qof's lookup macro
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17671 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-10-28 14:58:15 +00:00
Derek Atkins 3561a6cbca The update to business-urls.c requires dialog-job.h
dialog-job.h requires some additional changes

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17665 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-10-27 11:20:55 +00:00
Derek Atkins 7ac1d9f1e1 export the various QOF_PARAM_* settings to guile
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17500 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-10 17:52:16 +00:00
Derek Atkins 1d32da84d5 Use G_GINT64_FORMAT instead of %lld for x86_64
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17498 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-06 18:13:32 +00:00
Derek Atkins 38d8ce62aa Add SQL glade file so "make check" succeeds
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17497 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-06 18:12:45 +00:00
Derek Atkins f0aaf504c8 Add Rolf to AUTHORS
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17261 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-07 16:13:04 +00:00
Derek Atkins ef25c17cd4 Get GnuCash building again.
- move the #include of g18n.h from gnc-date.h to gnc-date.c
- add gnc-date.c to POTFILES.in

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17250 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-24 23:28:31 +00:00
Derek Atkins fedaa3d87e Fix the usages of __EXTENSIONS__ so it works with newer auto-tools
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17213 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-11 12:52:27 +00:00
Derek Atkins 1f5ee72fbc Better patch for goffice-0.5/gtkhtml-3.14 checking
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17194 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-07 18:54:19 +00:00
Derek Atkins f3407d3283 GOffice >= 0.5 requires GtkHTML >= 3.14
Make sure that happens or the build will fail.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17193 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-07 18:38:15 +00:00
Derek Atkins 8d532f650c Match NULL and guid_null() for NULL GUID Matches
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17160 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-17 17:46:40 +00:00
Derek Atkins 1b01c93198 Don't clean out the EXTRA_DIST pixmaps if we're not building from SVN.
Otherwise "make clean" will put the code into a state where you cannot rebuild.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17159 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-17 13:22:24 +00:00
Derek Atkins fda5f25019 Honor the "used columns" in the balance row (#530924)
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17148 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-01 22:21:53 +00:00
Derek Atkins 8430b27f03 Handle AB_Job_GetResultText() returning NULL (#506499)
Don't output/printf a NULL string.  Windows doesn't like it.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17146 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-01 21:00:13 +00:00
Derek Atkins 0cd5892271 Look for Align_n keys in check printing formats (#467529)
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17089 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-17 14:16:08 +00:00
Derek Atkins f034c41dfb Add a new Liberty(tm) check format (GtkPrint only)
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17073 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-08 17:01:10 +00:00
Derek Atkins 0a2f2a76fb Fix r16860 by re-adding the slash in the XML closing tag.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16890 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-29 18:09:04 +00:00
Derek Atkins 3ea34ebb16 Small patch to recognize 401k/403b
Patch by Charles Day
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16878 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-20 18:16:33 +00:00
Derek Atkins c95bc361f9 When matching QIF transactions make sure the account matches (#506810)
Patch by Charles Day
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16877 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-20 18:13:00 +00:00
Derek Atkins 2324d9be48 Ignore empty (whitespace) lines in QIF leader (#457591)
Patch by Charles Day
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16876 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-20 18:06:54 +00:00
Derek Atkins 57706df9e5 Display the Notes if Memo is empty in Transaction Report (#454834)
Patch by Charles Day
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16875 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-20 18:03:58 +00:00
Derek Atkins 4f56d12169 Fix the rounding of security transactions in the QIF Importer (#373584).
The QIF file does not provide the total amount paid for the
  shares. What appears in the "T" line is the price paid for the
  shares *plus* commission ("O" line, if any).

Patch by Charles Day
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16874 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-20 17:52:55 +00:00
Derek Atkins 41c195d3f2 Improve the QIF txn matcher (#336211)
Don't run it when we have no accounts or empty accounts.
Cache the account list early on.
Patch by Charles Day
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16873 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-20 17:36:00 +00:00
Derek Atkins 1db95753b7 Throw a better warning for dates before 1970 (#106242)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16872 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-20 16:56:31 +00:00
Derek Atkins 848bfd2b34 Get distcheck working again on Fedora 7
- move the gnucash-desktop.in.in from POTFILES.skip to POTFILES.ignore
- only try to make-gnucash-potfiles if $(srcdir) is writable
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16868 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-16 16:35:52 +00:00
Derek Atkins d088b0e9bd Ignore src/gnome/gnucash.desktop.in in the POTFILES
Allows "make check" to work again.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16867 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-16 15:01:21 +00:00
Derek Atkins b1ac763cab If you close the books on the same day twice don't insert double txns.
The BalanceAsOf() API checks <, not <=, so just add one to the time.
Should be backported only if the rest of the book closing is backported, so:
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16848 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-09 04:18:29 +00:00
Derek Atkins 2bf34ffec9 Get distcheck working on FC7.
Need to ignore some files:
 ./share/icons/hicolor/icon-theme.cache and ./share/info/dir
these get created by the install system but don't get deleted
(and cannot be deleted because they could be shared).
So just ignore them.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16844 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-08 02:10:59 +00:00
Derek Atkins 0a149152b5 Better handling of QIF Split transaction matching (#114724)
If a QIF split transaction is involved in a match then it always has
  priority. The other half of the match will always be the half that
  gets discarded, even if it is from an investment account.

Patch by Charles Day
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16828 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-06 16:02:14 +00:00
Derek Atkins cf397f4c8a Always ask for the QIF currency (#504007).
Patch by Ian Lewis
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16826 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-06 15:46:33 +00:00
Derek Atkins add9cdd3ee Re-introduce the Profit & Loss report.
Just a renamed Income Statement, because the average person doesn't know better.
It's the exact same report, just relabeled.  Both reports are now available
in the menu.
This change does re-add the translatable string "Profit & Loss"
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16803 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-05 03:48:09 +00:00
Derek Atkins cfb048d142 Don't need to sleep in the test. (#505894)
If we do need to sleep, next time the comment should explain why.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16746 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-27 14:15:15 +00:00
Derek Atkins e6fbb91151 Fix the logic of the #if for the warning.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16745 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-27 14:02:06 +00:00
Derek Atkins 971bc5b709 Allow the user to permanently disable currency quotes (#499496)
Patch by Daniel Harding

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16730 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 05:17:37 +00:00
Derek Atkins 0fc726dc0f Show the balance row for all transactions before the "from" date.
Patch by Jeff Green
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16729 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 03:28:09 +00:00
Derek Atkins cd0574e346 Including all bills/invoices since the beginning of time.
Patch by Jeff Green.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16728 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 03:14:22 +00:00
Derek Atkins 8dfc49dc84 Wait for pending events before displaying the tree view (#463678)
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16727 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 02:39:29 +00:00
Derek Atkins 3759d41f96 Don't un-clear transactions improperly when postponing reconciliation (#497517)
Patch by Jeff Green and Mark Jenkins
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16726 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 02:26:39 +00:00
Derek Atkins fec3d53296 Allow creation of new lots from lot viewer. (#420543)
Patch by Klee Dienes <klee@mit.edu>

        * src/engine/Account.c (xaccAccountRemoveLot): Generate a
        QOF_EVENT_REMOVE for the lot and QOF_EVENT_MODIFY for the account.
        (xaccAccountInsertLot): Ditto, but QOF_EVENT_ADD.
        * src/engine/gnc-lot.c (gnc_lot_make_default): Move from
        cap-gains.c.
        * src/engine/gnc-lot.h (gnc_lot_make_default): Add prototype.
        * src/engine/cap-gains.c (MakeDefaultLot): Move to gnc-lot.c as
        gnc_lot_make_default().
        * src/gnome/lot-viewer.c: Add code to support lot creation:
        (RESPONSE_NEW_LOT): Add enumerated value.
        (lv_save_current_row): New function.
        (lv_select_row): Add call to lv_save_current_row.
        (lv_unselect_row): Use lv_save_current_row.
        (lv_close_handler): Use lv_save_current_row.
        (lv_response_cb): Handle RESPONSE_NEW_LOT.
        (gnc_lot_viewer_dialog): Watch for QOF_EVENT_ADD and
        QOF_EVENT_REMOVE for lots.
        * src/gnome/glade/lots.glade: Add "new lot" button.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16725 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 02:14:55 +00:00
Derek Atkins 480bb412c7 Fix a crash in the receivable aging report (#384879)
Dont access the owner object after it's freed.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16724 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 01:38:45 +00:00
Derek Atkins 04243f92fc reduce the width of reports (#366934)
Use &nbsp; instead of extra columns.
Patch by Paul Andreassen

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16723 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 01:07:04 +00:00
Derek Atkins 67119eeb53 Make sure we require slib in our RPM packaging (#471321)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16722 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 00:10:03 +00:00
Derek Atkins a4ec8b5e52 Add currencies XDR and XXX for IMF and "no-currency" (#504935)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16721 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 00:03:03 +00:00
Derek Atkins 238141c6c4 Maintain separate invoice number sequences for AR and AP (#327218)
Actually, maintain separate number sequences for Customer Invoices,
Vendor Bills, and Employee Expense Vouchers.  Support Jobs, too.
Based on a patch by Alex Prinsier.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16720 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-25 16:56:35 +00:00
Derek Atkins 3b983ff5cb Choose a reasonable currency in stock registers (#116353)
Based on the patch from Mike Alexander, walk up the account
tree until we find a "currency" account and use that instead
of always using the locale currency.  Pop up a dialog if this
fails search fails.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16718 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-25 16:23:47 +00:00
Derek Atkins 6f39c0c26e (#492137) Re-apply r16619 and make a change to the test
harness to actually get the checks to pass with r16690.
This was an overflow in the test harness.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16716 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-24 21:18:09 +00:00
Derek Atkins 244a779d7a Make sure to properly parent auto-created accounts.
Make sure to properly set account commodity.
Make sure a currency sub-account doesn't already exist before creating one.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16715 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-24 20:28:02 +00:00
Derek Atkins fe28cceea7 Fix a fencepost error in the book closing code (#106383).
Add 12 hours to the close_date before asking for the BalanceAsOfDate()


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16714 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-24 04:48:49 +00:00
Derek Atkins 8ca76d3635 First pass at a Book Closing dialog (#106383)
Helps the user to auto-zeroize Income and Expense accounts.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16713 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-24 04:40:53 +00:00
Derek Atkins 27fcf8ff7c Back out r16619 (#492137) because it breaks test-lots
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16712 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-24 04:40:46 +00:00
Derek Atkins 144398aac4 A reminder of where we need to set the income/expense accounts
for the auto-interest payments during the reconciliation process.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16609 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-02 16:51:13 +00:00
Derek Atkins 879ed4470f Make sure the splitlist is sorted before we return it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16608 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-02 16:51:07 +00:00
Derek Atkins db05fd5eae Revert Andrew's patch and just run "doxygen -u" to update
the doxygen configuration.  It doesn't crash anymore.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16580 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-11-04 14:05:28 +00:00
Derek Atkins d83b383a93 Apply Andrew Sackville-West's doxygen patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16578 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-11-03 01:53:08 +00:00
Derek Atkins 06d3996de3 Reference bug #483631 for slib failures as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16548 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-10-05 15:29:20 +00:00
Derek Atkins 80c5c1fb80 Make sure we have a valid gettext usermode when building (#476189)
Test that HAVE_GETTEXT is true and we can find gmsgfmt.  Bomb
out of configure if either fails, because the build will fail later.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16526 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-09-12 15:56:04 +00:00
Derek Atkins 0d45c24a03 Don't need to test for NULL. (#460924)
dnow,dent,dpost always exist


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16365 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-07-27 14:12:57 +00:00
Derek Atkins c052ac4078 limit SVK version information to 5 revisions/copies.
Otherwise the svk version info just continues to grow ad nausium


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16362 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-07-26 19:15:54 +00:00
Derek Atkins 5ccebc9d76 Don't crash running the Account/Account Txn Reports from A/R (#460432)
Two fixes here:

* make sure to call the correct report.  The C code calls into scheme
  with a #f, not '(), so check for both cases in standard-reports.scm.

* In the owner-report, don't return #f or '() but rather return -1
  when the user tries to run the Account Transaction Report on A/R or
  A/P when they don't have a transaction selected.  This will at least
  stop gnucash from crashing, but it will appear that gnucash isn't
  doing anything.  A step in the right direction but still not the
  best solution.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16361 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-07-26 19:15:43 +00:00
Derek Atkins d4be2606ee Overpayment for bills records wrong amount (#447269)
Patch by Mark Jenkins to improve the sign checking and not improperly
reverse the sign of the amount.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16249 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-07-04 19:10:03 +00:00
Derek Atkins b378cd8898 Fix space->tab issue in a Makefile (need tabs, not spaces)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16113 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-20 20:56:19 +00:00
Derek Atkins f9de5abe1b Use POTFILES.ignore (in addition to POTFILES.skip) to placate recent intltool
Eventually we can just move back to POTFILES.skip and remove the
POTFILES.skip tests from Makefile.am.   This should allow "make check"
to work on recent systems (like Fedora 7) with intltool-0.35.5
and automake-1.10


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16090 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-16 03:38:06 +00:00
Derek Atkins e5c59face3 Extend the stack size when pulling price quotes (#428133)
Patch from Mike Alexander.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15966 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 19:43:11 +00:00
Derek Atkins 167feed527 Make sure that each GNCModule has a unique set of symbols.
Change gnc-module.c to load the unique symbols based on the module filename.
Change gnc-module-api.h to declare the functions based on a provided filename.
Change ALL the modules to use the new symbol names.

This change should allow the code to build cleanly on the MacIntel platform.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15928 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-18 23:23:04 +00:00
Derek Atkins 85785f0789 Actually load the correct module to test invalid dependencies.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15927 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-18 23:22:52 +00:00