Commit Graph

8717 Commits

Author SHA1 Message Date
Chris Shoemaker
f46c5dadb9 Re-enable logging for GnuCash modules that haven't explicitly set their
own levels.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12999 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-28 17:17:49 +00:00
Christian Stimming
021f9789c7 Require aqbanking-1.3.0 for HBCI.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12998 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-28 12:30:43 +00:00
Chris Shoemaker
af574ecfa6 Remove obsolete code to handle account-types filtering for budgets.
Really remove treeviewcolumns when we're done with them.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12997 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-28 06:05:54 +00:00
David Hampton
0efa562ecb Add translation and rotation to the custom printing page. Modify the
code so that only the custom widgets that have an effect for the
current setting are sensitive.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12996 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-28 05:01:02 +00:00
Chris Shoemaker
3e3280f97e Better default account selection when opening the budget report.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12995 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-28 04:14:56 +00:00
Chris Shoemaker
ac727fce70 Remove traces of old gnucash-run-script from gnucash.m4.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12994 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-28 02:23:38 +00:00
Chris Shoemaker
ef7c5f5b1e Move generation of report serial ids from guile to C.
Try to gracefully handle more errors during report loading.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12993 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-27 23:03:23 +00:00
Derek Atkins
ed2263acdb Get "make distcheck" to work....
* src/import-export/test/Makefile.am:
	  Added src/scm directory to test environment
	* lib/goffice-0.0.4/Makefile.am:
	  Don't install libgoffice-1.pc, but distribute it
	* lib/libgsf-1.12.3/tests/Makefile.am:
	  Link to the proper location of libgsf-1.la
	* lib/libgsf-1.12.3/Makefile.am:
	  Don't install the gsf .pc files, but distribute them.
	* lib/Makefile.am:
	  Use DIST_SUBDIRS to distribute qof, gsf, and goffice
	* configure.in:
	  fix QOF_LIBS to use builddir, not srcdir
	* Makefile.am:
	  add po/POTFILES.in to the dist
	  link gsf into the srcdir, not the builddir
	* src/report/report-system/Makefile.am:
	  make sure we distribute gw-report-system.h
	* src/bin/Makefile.am:
	  clean i18n.h in distclean



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12992 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-27 21:49:03 +00:00
Derek Atkins
ce1cddaf6a Commit the msgmerge to reduce the time a clean-checkout "distcheck" takes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12991 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-27 18:09:33 +00:00
David Hampton
27abe083de Default the --enable-compile-warnings argument to yes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12990 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-27 07:03:18 +00:00
Chris Shoemaker
6f5ef9f974 Check for invalid options tables when loading reports.
Also, plug memory leak in my last commit.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12989 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-27 06:15:31 +00:00
Chris Shoemaker
2bc6934c31 Avoid showing any invalid reports.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12988 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-27 05:27:08 +00:00
David Hampton
df317905f4 More HIG changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12987 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-27 05:13:46 +00:00
David Hampton
f30362eaa3 Fix compilation warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12986 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-27 05:03:51 +00:00
Chris Shoemaker
579ee13ac5 Avoid saving invalid pages.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12985 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-27 04:38:47 +00:00
Chris Shoemaker
64432b5521 Move the global report hash-table from guile to C.
Move the book-open/close hooks from guile to C.

   There are several places where we do report-management from C already.
   Those places no longer use libguile to access the hash-table of reports -
   they can just call C functions.

   For now, there's still some report-management happening in guile so guile
   can access the global state through g-wrapped functions.  Eventually, 
   all report-management should be in C and guile can just provide single
   reports one-at-a-time.
   


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12984 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-27 02:12:41 +00:00
Derek Atkins
8277d869c7 * configure.in: fail if we find libgsf >= 1.12.2 but not libgsf-gnome.
This is instead of configure succeeding and then failing the
	  build later.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12983 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-26 19:01:16 +00:00
Chris Shoemaker
897ee738cd Register book open/close callbacks during gui init.
Split handling of persistent application state into book-level data 
   and window-level data.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12982 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-26 17:38:26 +00:00
David Hampton
800323fa51 Move the totd glade file to the gnome-utils subdirectory too.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12981 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-26 14:25:29 +00:00
Chris Shoemaker
4a8a8d65c6 Remove the obsolete gnucash-run-script and its test.
Also, the (gnucash main) module no longer depends on (gnucash price-quotes).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12980 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-26 04:02:47 +00:00
Chris Shoemaker
f84d6e2d81 Move dialog-totd from gnome to gnome-utils.
Do low-level application initialization even before booting guile.
   This means the splash and totd come up almost instantly. 


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12979 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-26 03:07:03 +00:00
Chris Shoemaker
e9135b6e67 Install price quote sources without calling main.scm.
This makes the startup sequence a little clearer.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12978 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-25 04:54:12 +00:00
Chris Shoemaker
486a9e7831 Re-enable report menu setup.
The report menu setup is pretty fragile - it has to be done in a pretty
   specific order, so I pulled it out of (gnc:main) and call it independently.
   Also, move more bits of gnc:main into the modules where the bits are used.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12977 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-25 04:32:56 +00:00
Chris Shoemaker
f3bbfd9f12 Export debugging state from C to guile.
Remove obsolete guile command line options.
   Remove guile setting of add-extension hooks that were apparently
   obsoleted by C code a while ago.
   Remove guile's access to application lifecycle function hooks.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12976 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-25 02:06:08 +00:00
Chris Shoemaker
ebd305b9ff Consolidate application lifecycle functions into src/gnome-utils,
leaving only the highest level of gui initialization in /gnome/top-level.c
   Process --loglevel command-line option from C.
   Move the running of the startup hook from guile to C.
   Distrubute bits of scheme from main.scm to the modules they're used in.
   Remove more obsoleted scheme.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12975 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-25 01:36:28 +00:00
Chris Shoemaker
96cbfeab11 Process --debug command-line option from C instead of guile.
This re-enables the debugging "extensions" menu.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12974 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-25 01:21:28 +00:00
Christian Stimming
8a1e1197cf More proposed work on mt940 importer. More refactoring of HBCI functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12973 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-24 21:26:30 +00:00
Christian Stimming
bda328ea16 Factor out importing functions that might be useful for mt940 importer.
2006-01-24  Christian Stimming  <stimming@tuhh.de>

	* src/import-export/hbci/gnc-hbci-gettrans.h: Factor out importing
	functions that might be useful for mt940 importer.

	* src/import-export/hbci/gnc-hbci-transfer.c: Fix wrong amount
	sign.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12972 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-24 20:43:05 +00:00
Derek Atkins
ba731b6fbd * src/engine/test/Makefile.am: add explicit libdep on libcore-utils.la
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12971 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-24 01:20:03 +00:00
Christian Stimming
218cbaa346 fix typos in strings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12968 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 21:26:30 +00:00
Chris Shoemaker
2ec3482f47 ChangeLog entries copied from 'svn log -v'
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12967 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 21:25:13 +00:00
Christian Stimming
9447c7f75d Improved German translation. 3370 out of 3589 done.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12966 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 21:22:38 +00:00
Neil Williams
4ce8539ed0 Expand on the error message
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12965 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 19:33:43 +00:00
Chris Shoemaker
a38ae3abf7 Avoid GUI initialization durring --add-price-quotes, fixes #327670
BTW, it turns out that we don't need to call gtk_init().  It's called 
  during the LIBGNOMEUI_MODULE initializtion from gnome_program_init().


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12964 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 19:29:57 +00:00
Neil Williams
86213e725d Increase QOF dependency to the next release to ensure compatibility.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12963 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 19:01:13 +00:00
Neil Williams
edde6a9b34 Expand on the error message
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12962 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 19:00:46 +00:00
Neil Williams
7b380af8db Fix QSF import and merge, closes [Bug 327640]. r12961.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12961 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 19:00:26 +00:00
Neil Williams
80fc84bca8 glade-fixup change
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12960 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 18:59:22 +00:00
Neil Williams
d886a1aa5a Let QOF backends work with splits without checking for the parent Trans
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12959 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 18:59:02 +00:00
Chris Shoemaker
a521262717 Major step in extraction of application startup from guile.
Details:
    Remove the last bits of libguile from top-level.[ch].
    Change the gui initialization funtions so they can be called from C.
    Drop some gwrappers for gui initialization functions.
    Process the --nofile and filename command-line options from C.
    Drastic simpilification of main.scm.
    Initialize the gui and enter the gtk event-loop from C.

  Even though there's some more clean-up to do, this patch does mark
  a certain milestone:  A developer seeking to understand and/or modify 
  GnuCash's startup process can now essentially ignore the guile portion.
  Most parts of our startup now look pretty typical for a gnome-2 app.
  The parts that remain firmly in guile are initialization of the report
  menus and the installation of price-quote sources.

  Caveat: We have multiple mechanisms for handling the filename
  argument string -- some in guile and some in C.  The C-side mechanisms
  (in engine/gnc-filepath-utils.c) seem a little nicer than the guile
  ones (in main.scm).  They have slightly different behavior (e.g. which
  paths they'll search for data files.)  They both handle URIs and
  making absolute paths out of relative ones.  This patch switches from
  using the guile functions to the C function.  I've tested that the common
  cases are handled the same way, but it wouldn't surprise me if some 
  corner-cases are not.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12956 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 17:38:13 +00:00
Neil Williams
d51aacf100 bug fix: prevent bad time values from being passed to entity - already in QOF CVS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12955 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 14:30:37 +00:00
Neil Williams
1cb5500bcf bug fix: book merge handling of QOF_TYPE_CHAR - already in QOF CVS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12954 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 14:24:56 +00:00
David Hampton
9652410066 Add/update copyright on files modified since the start of the year.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12953 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 06:38:20 +00:00
David Hampton
7079008d54 More HIG changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12952 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 05:53:11 +00:00
David Hampton
cf241d1dc6 Add an icon to the export button in the generic filename dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12951 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 05:42:27 +00:00
David Hampton
59cd5535dd More HIG changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12950 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 04:36:24 +00:00
David Hampton
fda788321c Overhaul the print check dialog. Make HIG changes, and make the
dialog remember its state across invocations (including all the custom
values).  Fix a crash when canceling printing.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12949 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 04:34:58 +00:00
Chris Shoemaker
ed3432108c Remove "batch-mode" processing from main.scm. It's no longer needed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12948 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 03:56:10 +00:00
Chris Shoemaker
47707f1e26 Remove --devel option, which aparently doesn't do anything.
Also remove now unused guile portion of --add-price-quote option.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12947 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 03:43:55 +00:00
Chris Shoemaker
4796f631b2 Process the --add-price-quotes command-line option from C.
This is done by booting guile with a custom inner_main.
  Much of the work is still handled by price-quotes.scm, which
  is now a true stand-alone guile module without the circular dependency
  on the (gnucash main) module.

  One caveat:  Since the initialization of guile-side debugging variables 
  is in main.scm, and since main.scm is no longer executed when running
  --add-price-quotes, the guile code that runs during --add-price-quote
  isn't affected by the --debug option.  A work-around is to use the 
  GNC_DEBUG environment variable: 
    $ GNC_DEBUG=yes gnucash --add-price-quote myfile

  In the longer term, we'll either move the debugging aids to a common place
  where it can be used by both main.scm and price-quotes.scm, or we'll get
  the debugging state from the C-side via gwrap.
 


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12946 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-23 03:26:01 +00:00