Commit Graph
2311 Commits
Author SHA1 Message Date
Derek Atkins 33133b87f0 Make sure we use tabs, not spaces, in the transaction log (#331620)
* src/engine/TransLog.c:  use TABS not SPACES for column separators
	* src/import-export/log-replay/gnc-log-replay.c: use printf
	  so we don't have a tab->space conversion problem like we
	  did in TransLog.c
	  Fixes #331620.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13294 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 15:23:15 +00:00
Derek Atkins 46b1c64d77 display an error dialog when we fail to parse a log file
due to EOF or a bad header parsing.  Fixes #331620 based
on the test-case.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13292 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-18 16:45:50 +00:00
Derek Atkins d6b618a92d * intl-scm/xgettext.scm: remove the absolute path from filenames
* intl-scm/Makefile.am: pass the absolute path to xgettext.scm



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13291 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-18 14:39:21 +00:00
David Hampton d0e0f4e8cf Remove all explicit claiming of the selection in these files. The
GtkEntry they use already performs claims, and the additional just
mess things up.  Fixes #330153.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13288 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-18 05:18:29 +00:00
David Hampton 0ea6ebe253 Prepare for gtk change that will issue warnings if the return value of
the gtk_tree_model iter functions are not used.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13287 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-18 03:02:32 +00:00
Derek Atkins d13a38cf25 * configure.in: autodetect OFX and use it if we find it.
the --enable/disable-ofx will make the check fatal on failure
	  or skip it altogether if you want to ignore an existing libofx.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13286 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-18 02:49:47 +00:00
Derek Atkins a55a6b3ae5 * configure.in: remove un-needed/wanted gsf/goffice configure options
* macros/g-wrap.m4: fix the help text spacing.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13285 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-17 23:32:16 +00:00
Derek Atkins 6d15e9e2ca scrub the transaction for a currency after we replay. (#143720).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13283 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-17 21:47:13 +00:00
Derek Atkins 6aec7f5a94 Don't pass NULL to ferror() (from bug #143720).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13282 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-17 21:31:29 +00:00
Derek Atkins 3fcedbca8e Make the build work if the build directory is not the source
directory.  Also symlink .scm files into the build directory
          so it's possible to run from it.
	  Also fix "fin.scm installed twice", bug #168629.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13281 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-17 20:22:54 +00:00
Derek Atkins 8f98e8a109 * lib/libqof/qof/Makefile.am: add qofla-dir.h to DISTCLEANFILES
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13279 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-16 06:07:17 +00:00
Derek Atkins ba4a80579a need g_type_init() because we don't actually "load" the file backend.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13278 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-16 06:06:25 +00:00
Derek Atkins b481174d1f move jsled's g-type initialization into the module init
this way we don't need to worry about it in every test app.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13277 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-16 04:50:37 +00:00
Derek Atkins bb9dbe25e7 combine XML_{CFLAGS,LIBS} into LIBXML2_{CLFLAGS,LIBS}
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13276 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-16 04:31:37 +00:00
Derek Atkins 0c2cc63b56 get --disable-gui configure switch to actually do what we want.
- Move a bunch of configure code around in the file.
	  - Don't look for goffice/gsf if we ask for --disable-gui
	  - add a few more comments
	  - no need to check for libxml2 twice  (more work to do here).



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13275 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-16 04:07:31 +00:00
Joshua Sled 9fb01762df Andreas Kohler's patch to not scroll the tree view headers in the new-account hierarchy druid. Bug#330850.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13274 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-16 03:56:03 +00:00
Joshua Sled 88f70b0508 Fix test (init) failure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13273 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-16 03:34:59 +00:00
Derek Atkins 22e48923c7 set the document title properly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13270 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-15 16:42:29 +00:00
Derek Atkins 25bb23b8d0 Small QOF build fix for dist and non-srcdir builds:
* lib/libqof/qof/Makefile.am: keep qofla-dir.h out of the dist
	* configure.in: look in builddir for qof includes.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13269 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-15 16:19:17 +00:00
Derek Atkins f53542a337 Fix a typo; forgot one procedure name-change instance.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13268 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-15 15:16:45 +00:00
Derek Atkins b9525a269e Andrew Sackville-West's patch to add display options and fix
the multicurrency patch.  Fixes #314554 and #330577.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13264 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-14 23:48:52 +00:00
Christian Stimming 3fc8a1b10b Make the gconf key wordings consistent across all of our schemas
files, as discussed and prepared on
http://wiki.gnucash.org/wiki/GConf_Wording .



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13262 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-14 21:03:36 +00:00
Christian Stimming e081feb3a8 For latest aqbanking changes, define AQBANKING_NOWARN_DEPRECATED to
disable aqbanking compiler warnings because we will still use those
functions for some time to come.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13261 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-14 19:58:50 +00:00
David Hampton b3e92f5c24 Andreas Köhler's patch to convert the account types list in the
account edit dialog to a GtkTreeView/GtkListStore.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13259 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-13 23:45:18 +00:00
David Hampton f4ee1b4226 Andreas Köhler's patch to prevent crash when voiding a transaction.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13258 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-13 23:21:09 +00:00
Derek Atkins b4e25ac2e4 use glib macro instead of cast to convert pointer to int. Fixes #330581.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13257 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-13 16:23:30 +00:00
David Hampton b85cd56cc5 Andreas Köhler's patch to wrap label text in a couple of dialogs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13256 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-13 15:42:09 +00:00
Derek Atkins effc0e7a9c Revert advanced-portfolio.scm r13244 because it breaks the report.
* src/report/standard-reports/advanced-portfolio.scm:
	  revert r13244 in this file because it's badly formed and
	  breaks the report.  Reopened bug #314554.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13252 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-13 05:05:55 +00:00
Neil Williams f48ea7baa2 ChangeLog entry for bug 107876 fix in fin.c
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13249 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-13 00:15:15 +00:00
Chris Shoemaker 850dd5b341 Copy 'svn log -v' output from past 20 days to ChangeLog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13247 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 23:13:06 +00:00
Derek Atkins 299562c8f9 Christian Neumair's desktop patch (#145545)
* src/gnome/gnucash.desktop.in
	* src/gnome/Makefile.am
	  Make the desktop more HIG-compliant.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13246 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 22:19:37 +00:00
Derek Atkins 73b2c29692 Mike Alexander's reconcile preselection patch (#112653).
* src/gnome/window-reconcile.c (gnc_reconcile_window_create_list_box):
        * src/gnome/reconcile-list.c (gnc_reconcile_list_new):
        * src/gnome/reconcile-list.h (gnc_reconcile_list_new):
          Don't pre-select the reconciled status for transactions after the
          statement date.
	Fixes #112653.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13245 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 22:09:08 +00:00
Derek Atkins f0f7210097 Mike Alexander's patch to handle multiple currencies in reports. (#314554)
* src/report/standard-reports/portfolio.scm:
        * src/report/standard-reports/advanced-portfolio.scm:
          Report currency option
          Sort accounts
          Handle "nearest price" option better
        * src/report/standard-reports/cash-flow.scm:
          Handle multiple currencies better
        * src/report/standard-reports/transaction.scm:
          Add common currency option.
          Handle "nearest price" option better.
        * src/report/report-system/commodity-utilities.scm
          (gnc:exchange-by-pricedb-nearest):
          Use price nearest to noon on the day specified.
	Fixes bug #314554.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13244 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 21:46:36 +00:00
Derek Atkins 77099e3545 Boris Zbarsky's advanced-portfolio patch. (#311549)
* src/report/standard-reports/advanced-portfolio.scm:
	  Apply dividend and brokerage to moneyin and moneyout to more
	  accurately reflect account activity.  Fixes bug #311549.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13242 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 20:29:05 +00:00
Derek Atkins f2c2caa5b0 Mike Alexander's Currency Scrub patch.
* src/engine/Scrub.c:
        * src/engine/Scrub.h:
          Try to fix transactions that have no currency, perhaps because
          of a log replay.  Workaround for bug #143720.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13241 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 20:03:46 +00:00
Derek Atkins 35808690de Des Dougan's patch to let the user choose the fancy-stylesheet image alignment. Fixes #314048.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13240 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 19:32:06 +00:00
Neil Williams 92a82737df ChangeLog for my commits today
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13239 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 18:56:10 +00:00
Derek Atkins 1e2c372b0a Brian's patch to fancy-invoice to parameterize everything.
* src/business/business-utils/business-prefs.scm:
	* src/business/business-utils/business-utils.scm:
	  Add a bunch of new File -> Properties to describe the business.
	* src/business/business-reports/fancy-invoice.scm:
	  Parameterize all the various settings in the report so
	  they can all be set through the options or file->properties
	  settings.  Patch by "Brian", but slightly modified to not
	  hard-code some strings.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13237 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 18:31:30 +00:00
Derek Atkins dd03084db4 Rework some APIs for the fancy-invoice set the client name font. #327545.
* src/business/business-core/business-core.scm:
	  add gnc:owner-get-name-dep and gnc:owner-get-address-dep APIs
	* src/business/business-reports/fancy-invoice.scm:
	  Change the font of the client company name to match the
	  owner company name.  Fixes #327545.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13233 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 16:16:20 +00:00
Derek Atkins 6dacd59a05 rename gnc:owner-get-address-dep to gnc:owner-get-name-and-address-dep
in preparation of some other patches.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13232 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-12 15:28:58 +00:00
Derek Atkins 75ef10c0d1 rework the initialization to require autoconf-2.59 and automake-1.9
parse the version out of the AC_PACKAGE_VERSION macro, so
we still only need to set it in one place.  This should
solve a number of old-automake related problems people have seen.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13225 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 23:24:01 +00:00
Derek Atkins 87fd8b71dc set the document title properly AFTER type-str is set.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13224 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 22:50:28 +00:00
Derek Atkins a52e1d9e13 don't need to scm_gc_{un,}protect_object on SCM_BOOL_F.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13219 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 20:22:40 +00:00
David Hampton 2adb2b51ca Patch from Tommi Vainikainen <tvainika@niksula.hut.fi> to remove
extraneous line breaks.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13218 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 20:08:30 +00:00
David Hampton cdc686ecb5 Globally replace the words "exchange_code" with cusip in the
source. No user visible changes.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13213 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 20:00:52 +00:00
Christian Stimming 136cc78b4d Add --keyword=Q_ to xgettext arguments so that translations with
context prefix/disambiguation prefix are included as well.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13205 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 10:55:34 +00:00
David Hampton 06c9aba901 Correctly open an account and its sub-accounts. Fixes 330745.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13197 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-11 03:54:24 +00:00
Derek Atkins 11a9890323 Better handling of event removal. This allows us to actually
clean up, but also makes sure we don't destroy the handler
list out from under us as we're processing events.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13196 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-10 22:43:19 +00:00
Derek Atkins 72a28d2063 check that we can find g-wrap-wct.h.
detects that we're running on a "broken" system like Ubuntu.
This is in response to #330539.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13195 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-10 15:32:39 +00:00
Derek Atkins c4dd2190b2 added README.dependencies to the dist. Fixes #330614.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13194 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-10 15:04:12 +00:00