Commit Graph

8834 Commits

Author SHA1 Message Date
David Hampton
1efe4385db Check for bogus window structures (i.e. empty) when reading/writing
the state file.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12905 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-20 01:02:57 +00:00
David Hampton
fa6adfba4d Remove unused functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12904 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-20 00:38:53 +00:00
Derek Atkins
f53d3b3151 Fix a fencepost error.
Fixes a crash trying to reload a file with empty windows.
(there's still another bug which is that we should ignore empty windows)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12903 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 19:34:23 +00:00
Chris Shoemaker
60bd0b97a4 Remove "reverse_balance" fucntions from top-level.h.
Add another #include for gnucash-bin.c


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12902 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 18:43:59 +00:00
Chris Shoemaker
01940cadb9 Filter out deprecated account types from the account types treemodel.
Patch by Eskil Bylund <eskil.bylund@gmail.com>


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12900 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 18:02:18 +00:00
Chris Shoemaker
540cca4e7a Add hooks just once in app_utils module init.
Also don't try to load imaginary module.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12899 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 17:58:02 +00:00
Derek Atkins
7bbe9277ba Get the code to compile against glib-2.4 again.
* src/business/business-gnome/dialog-invoice.c:
	  need to #include gkeyfile.h for glib24 systems
	* src/business/business-gnome/Makefile.am:
	  link against glib26 compatibility library.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12896 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 17:15:46 +00:00
Chris Shoemaker
4580431997 add missing #include
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12886 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 14:16:58 +00:00
David Hampton
54bca2a883 Delete the invoice page completely when closing it. Prevents a crash
when trying to open a different data file is there is an invoice page
in the window.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12884 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 06:02:23 +00:00
David Hampton
03927d2747 Finish the job. Make sure this component isn't unregistered multiple
times.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12883 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 06:01:12 +00:00
Chris Shoemaker
58a67a439f Exit gnucash from C, not guile.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12882 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 05:54:16 +00:00
Chris Shoemaker
96276b269d move some app-util function hooks from guile to C
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12881 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 05:18:27 +00:00
Derek Atkins
02153f897e Print SVN version information more often.
* src/bin/gnucash-bin.c:
	* src/gnome-utils/gnc-splash.c:
	  Always print the SVN version and build date.
	  Make "development version" based on GNUCASH_SVN
	* src/gnome-utils/Makefile.am:
	  Define GNUCASH_SVN whenever the source is not a dist tarball.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12880 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 04:54:37 +00:00
Chris Shoemaker
5de7b22021 Move "unstable development version" message from guile to C.
Remove crufty guile command-line options.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12879 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 04:29:07 +00:00
David Hampton
a8255eba00 Save/restore business invoice pages.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12878 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 04:09:00 +00:00
David Hampton
cd3a907ff3 Tweak a debugging statement.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12877 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 04:06:49 +00:00
David Hampton
b4ef9f5b4f Unregister this component properly when destroying it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12876 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 04:04:03 +00:00
David Hampton
51bfd5a614 The GtkObject destroy function can be called multiple times. Protect
from unregistering the component multiple times.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12875 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 04:02:01 +00:00
Chris Shoemaker
18a90eaf39 dlopen() modules from C, instead of from guile
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12874 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 02:34:23 +00:00
Chris Shoemaker
40a341c49d The Parenthesis! My favorite punctuation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12873 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 02:00:25 +00:00
Chris Shoemaker
0484ba995b Minor scheme cleanup.
Move one function from path.scm to command-line.scm.
  Remove processing of arguments now handled in C.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12872 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 01:33:16 +00:00
Joshua Sled
54c5abad36 Migrate content to bugzilla.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12871 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 01:29:52 +00:00
Joshua Sled
dafcbea15e C-style comment conventions; rename identifiers that are C++ keywords.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12870 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 01:29:24 +00:00
Joshua Sled
8906c31ef1 Remove name-editing setup from account tree plugin page.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12869 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 01:27:27 +00:00
Chris Shoemaker
2943f81d59 Use popt to automatically generate pretty --usage and --help.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12868 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 01:26:21 +00:00
David Hampton
0f6e632bee Fix a string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12864 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 00:41:07 +00:00
David Hampton
b0b5380840 Rework schema infrastructure so that all schema strings will appear
for translation, and the translations will be incorporated back into
the schema files.  Fixed bugs #327507 and #327353.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12863 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 00:40:32 +00:00
Joshua Sled
fefb86c6c5 Propgate bi-weekly ui-frequency in transition from "schedule transaction" dialog to "Advanced..." (Scheduled Transaction Editor).
2006-01-18  Joshua Sled  <jsled@asynchronous.org>

	* src/gnome/dialog-sx-from-trans.c (sxftd_update_fs): Propgate
	bi-weekly ui-frequency in transition from "schedule transaction"
	dialog to "Advanced..." (Scheduled Transaction Editor).
	Patch from Robert Zaleski <rzaleski81@yahoo.com>.
	<http://bugzilla.gnome.org/show_bug.cgi?id=327547>.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12841 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-18 18:01:28 +00:00
Derek Atkins
d9a99b743f Get gnucash-bin to compile...
- Need to #include "config.h" first.
- Need to make gnucash_command_line static.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12840 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-18 15:57:09 +00:00
Derek Atkins
5bc3898c4d Fix the build so Chris' command-line processing works.
* src/bin/Makefile.am:  Fix some srcdir/builddir issues
	  with #includes and libraries.
	* src/Makefile.am:  Move 'bin' last so that it's built
	  after gnome-utils so Chris' change works.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12839 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-18 15:49:17 +00:00
Chris Shoemaker
77ce54effc Catch --version argument before booting Guile.
Also show svn revision info if binary was built from svn.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12838 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-18 03:46:53 +00:00
Christian Stimming
180e7dc3a2 Add initial work on upgrading the old non-compilable mt940-importer
code by F. Steinel. Code still non-compilable, see
http://bugzilla.gnome.org/show_bug.cgi?id=325170



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12835 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-17 21:26:44 +00:00
Neil Williams
510c53e03f Removing .la suffix on backend GModule name
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12829 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-17 17:56:49 +00:00
Neil Williams
5280cc2310 allowing external QOF to work when specifically enabled for testing
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12821 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-17 14:24:49 +00:00
Neil Williams
881692e2fb Completing en_GB translation for svn. 3395 translated
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12819 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-17 11:14:34 +00:00
Chris Shoemaker
4ededf8a36 sane indenting
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12817 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-17 02:28:13 +00:00
Chris Shoemaker
f347e07c65 Pull the C inner_main into the environment of the guile (gnucash main) module.
Strangely, symbols that are resolved during a dlopen() *before* calling 
scm_set_current_module() are not resolvable from guile code that is inside 
a module. 

In order for code in a guile module to see symbols from dlopen'ed libraries,
they must be dlopen'ed *while* that guile module is current.  I imagine this
is because the process of changing the current guile module purposely hides 
all symbols in the current symbol table - to create an illusion of an empty
table.  Kinda interesting... kinda scary...


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12816 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-17 02:26:16 +00:00
Chris Shoemaker
bc941165c5 Don't distribute non-existant 'gnucash'
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12815 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-17 01:42:46 +00:00
Joshua Sled
17ad304770 Remove unused 'thumbnailer' directory.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12374 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-16 20:30:00 +00:00
Joshua Sled
ece31d81df Compatibility with gtk 2.8, as well, for selection of the auto-completed region.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12373 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-16 20:30:00 +00:00
Chris Shoemaker
a2a0bfc1b1 update budget-related status
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12372 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-16 20:30:00 +00:00
Christian Stimming
23c1361ae2 Improve explanation of glossary
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12371 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-16 19:21:48 +00:00
Christian Stimming
de82186b8d Updated Greek translation by Nikos Charonitakis
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12370 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-16 19:19:44 +00:00
Derek Atkins
d78854a3a3 * configure.in: us AM_PATH_GWRAP properly. Exit configure on failure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12369 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-16 16:50:57 +00:00
Chris Shoemaker
2bf2277660 Slight contraction of gnc-module API.
Privatize structures that aren't used externally.  Remove unused functions. 



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12368 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-16 16:30:12 +00:00
Chris Shoemaker
85c5bcd51c Register business objects before testing them.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12367 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-16 14:42:43 +00:00
Chris Shoemaker
15533c3a3d Allow a libgsf test to pass even with glib 2.4.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12366 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-16 14:24:57 +00:00
Chris Shoemaker
9ef9db1e44 Remove unneeded testing environments.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12365 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-16 05:30:34 +00:00
Chris Shoemaker
4c40e79c96 Remove obsolete test for starting GnuCash with a different guile.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12364 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-16 05:22:01 +00:00
Chris Shoemaker
3cd6a9ac54 Fix src/bin/test/test-version for new gnucash executable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12363 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-16 03:23:35 +00:00