Commit Graph

10874 Commits

Author SHA1 Message Date
David Hampton
434905ea1a Remember the current session when an option dialog boxes is opened,
and close it when the session is closed.  Fixes #394074.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15976 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-22 05:59:51 +00:00
David Hampton
c0dd45b5d2 Suspend qof events for the interval between swapping the books between
two sessions, and installing the new session as the current session.
The books end up same before and after, but there is small interval in
the middle where any call to get the current book will get bogus
results.  Fixes #414783.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15975 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-22 05:22:51 +00:00
Andreas Köhler
319f22bf81 Compile with --enable-locale-specific-tax on Windows.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15974 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-22 00:49:31 +00:00
Andreas Köhler
2719db653d To identify the active locale on Windows, use g_win32_getlocale instead of setlocale.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15973 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-22 00:48:03 +00:00
Joshua Sled
a135b79fa2 Bug#131623: Fix computation of unrealized gains in Balance Sheet report. Patch from Mike Alexander <mta@umich.edu>.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15972 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 22:20:18 +00:00
Joshua Sled
823e13c49b ebuild updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15971 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 21:49:11 +00:00
Joshua Sled
1c0d91cade update myself.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15970 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 21:46:47 +00:00
Joshua Sled
a2f828d235 Bug#372948: Add accounts/en_GB/ (as a copy of accounts/C/ ... sorry), add an example accounts file for VAT tracking.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15969 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 21:26:33 +00:00
Joshua Sled
c1f5e06edc Update ebuild for 2.1.x'es.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15968 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 20:58:18 +00:00
David Hampton
2b16fa1f41 Use GNC_TYPE_NUMERIC instead of GNC_NUMERIC.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15967 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 20:07:23 +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
David Hampton
d6d784617a Disable the close callback while updating reports. Fixes #416986.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15959 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 19:18:16 +00:00
Joshua Sled
619f085748 Bug#349693: s/Lot Viewer/View Lots/ for consistency with Account Tree and Action menu.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15955 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 18:44:15 +00:00
David Hampton
b1248d827c Validate whether or not an account exists before calling various
functions in Account.c.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15954 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 18:31:39 +00:00
David Hampton
e1d77fb1d1 Relax the check on whether xaccAccountGetCommodity is called with a
valid commodity.  This function is called from many places without
testing to see if the account is non-NULL.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15953 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 18:30:20 +00:00
Andreas Köhler
68adce5d1d Replace monolithic MinGW setup by smaller and reusable downloads.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15952 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 18:14:42 +00:00
Joshua Sled
117e7e53b6 Bug#347257: make the initial window a reasonable size, especially for --nofile.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15951 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 16:32:11 +00:00
Joshua Sled
c818c83df7 Bug#431435: guard against dirtying the SX/book when setting to the same values the SX objects already contain.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15950 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 15:30:47 +00:00
Joshua Sled
3d1174a884 Add accel for Scheduled overlay menu
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15949 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 14:08:08 +00:00
Andreas Köhler
fd209757ec Update the account name in the title of the account dialog on a parent change.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15948 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 12:47:05 +00:00
Andreas Köhler
e61407f673 Use correct mnemonic widget for "_Parent Account" in account dialog, #431963.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15947 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 12:26:20 +00:00
Andreas Köhler
94364fb33e Improve handling of the account in the account dialog.
* rename xaccAccountTypesCompatibleWith to
  xaccParentAccountTypesCompatibleWith, typically allow ACCT_TYPE_ROOT
  as parent but not as child
* remove ACCT_TYPE_ROOT from xaccAccountTypesValid
* no need to single-case the root account in gnc_common_ok anymore


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15946 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 12:00:56 +00:00
Christian Stimming
55c4675868 Update German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15945 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 08:59:49 +00:00
Joshua Sled
3e403f491f Bug#431771: remove from SX deferred-instance list by value. Remove inexplicably-commented line from SX Instance Model.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15944 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-20 21:24:08 +00:00
Joshua Sled
428497a0fe Bug#431756: use the correct return value for the xaccAccountForEachTransaction function.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15942 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-20 17:42:31 +00:00
Joshua Sled
01d7e59bc9 Only append if the list is valid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15941 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-20 16:56:10 +00:00
Joshua Sled
98acaeba82 Fix crasher in variable handling in SX editor. Be more consistent about alloc'ed memory ownership. Some formatting cleanups.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15940 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-20 15:34:58 +00:00
Andreas Köhler
75be841eec Convert tax strings to UTF-8.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15937 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-19 06:37:02 +00:00
David Hampton
cfa50383a5 Replace a function name mapping with the real function call.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15936 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-19 05:09:34 +00:00
David Hampton
29a5d3fbca Fix an error in a test data file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15935 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-19 04:19:03 +00:00
David Hampton
4c7b6f45fa Replace silent failures with noisy assertions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15934 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-19 04:18:19 +00:00
David Hampton
468b8995bf Finish moving account specific properties from the public data
structure to a private data structure.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15933 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-19 04:16:39 +00:00
Joshua Sled
c0d83537e5 Fix report version identifiers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15932 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-19 00:58:51 +00:00
Joshua Sled
abd55f7ddc Fix build breakage with --enable-locale-specific-tax
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15931 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-19 00:58:30 +00:00
Joshua Sled
1f07529e86 Re-fix Bug#104844, but better: have a separate 'last day of month' option, and use the corresponding Recurrence frequency.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15930 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-19 00:11:34 +00:00
Joshua Sled
0e79f2188e remove silly 'always set the month to january' logic.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15929 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-18 23:41:59 +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
Andreas Köhler
114190d816 Allow building from a tarball.
* Add UPDATE_SOURCES.  If "no", drop inst_svn and svn_up.
* Add BUILD_FROM_TARBALL.  If "yes", set GNUCASH_DIR=..\\..,
  REPOS_DIR=$GNUCASH_DIR and UPDATE_SOURCES=no.
* Fix renaming of setup.exe in dist.sh.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15924 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-18 22:05:36 +00:00
Andreas Köhler
cfd42cd0bf Install.sh: Test for g++.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15923 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-18 19:17:11 +00:00
David Hampton
973cacb3c0 Fix mistake in property install.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15922 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-18 05:11:56 +00:00
David Hampton
c6a609b8f7 Move more account properties from the public data structure to a
private data structure, with access to them as properties of the
object.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15921 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-18 04:50:34 +00:00
Andreas Köhler
3c9babbcf2 Win32: Add some text regarding QTDIR and AQBANKING_WITH_QT.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15920 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-17 22:47:31 +00:00
Joshua Sled
0702cf7255 update links for correctness.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15919 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-17 22:35:13 +00:00
Andreas Köhler
0791702725 Win32: Include custom at the beginning of defaults. Set AQBANKING_WITH_QT=yes.
To enable effective overriding of GLOBAL_DIR, first include custom and
then use set_default and add_step to complete the environment.  The
primer is new and sets a variable if it is unset or empty.  The latter
is modified to check steps for being blocked, either by block_step or a
previous call to add_step.  Add late_eval for expressions to be executed
at the end of defaults.

AQBANKING_WITH_QT (prior aqbanking_with_qt) is set to yes by default now
so that the aqbanking setup wizard is built and the user only needs to
install QT.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15918 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-17 19:48:27 +00:00
Christian Stimming
f116e824bb Improve documentation of German account template. Patch by Frank Ellenberger.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15917 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-17 18:02:54 +00:00
Andreas Köhler
bd4440ea8e Correct custom.sh to defaults in packaging/win32/Makefile.am.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15914 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-17 15:18:54 +00:00
Andreas Köhler
b80e44ff96 Rename custom.sh to defaults, recommend custom, add remove_step.
Declare defaults (custom.sh) as virtually immutable, so that svn updates
and commits do not interfere with local modifications.  Put those into a
file `custom' which is read at the end of defaults, if existent.
Remove_step helps to comment out steps now.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15912 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-16 22:33:26 +00:00
Andreas Köhler
30a7718b16 Fix quickfill handling in transfer dialogs, bug #413868.
Connect to key_press_event on description entry before the default
handler, let RET act like OK.  Do not care about button releases.  On
insert_text, make quickfill as in the register, set the position and
g_idle_add a function to set the selected region.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15911 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-16 20:51:37 +00:00
Andreas Köhler
82a41dbdca Add packaging/win32 to tarball.
In the long run it should be possible to build GnuCash on Windows from
the tarball within MSYS/MinGW.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15910 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-16 18:11:07 +00:00