Commit Graph

10543 Commits

Author SHA1 Message Date
Joshua Sled
068540a938 SX instance model event handling for enabled SXes:
- SX instance models properly handle SX update/add/remove events
  with/without enabled transactions.
- New SX editors now show non-enabled transactions
Patch from Peter McAlpine <peter@aoeu.ca>


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15510 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-06 00:14:10 +00:00
Joshua Sled
4ec231f487 Add todo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15509 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-05 23:59:39 +00:00
Joshua Sled
d5965e5460 Remove dead code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15508 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-05 23:55:23 +00:00
Joshua Sled
5382bc4a81 Mandriva 2007 updates from 'Shocky'.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15507 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-05 23:52:34 +00:00
Andreas Köhler
87c8b0b7af Install.sh: Add $INSTALL_DIR/bin to PATH.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15503 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-04 21:21:10 +00:00
Andreas Köhler
8e11f28f5c Prepend dirs in gnc-test-env, not append. Abstract a bit.
gnc-test-env is supposed to create an environment suitable for tests of
the current build tree, so given directories should take precedence over
initial environment variables. Simplify by adding get-dir-adder.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15502 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-04 21:16:05 +00:00
Joshua Sled
6f417c8247 restore last-day-of-month tracking
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15501 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-04 21:08:23 +00:00
Andreas Köhler
8b389efc60 Install.sh: Add $GOFFICE_DIR/bin to PATH.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15500 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-04 18:04:57 +00:00
Joshua Sled
b39d84252c Remove basically-unused qof date manipulation code better provided by GDate.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15499 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-04 16:50:27 +00:00
Joshua Sled
bdb61cba5c Fix bug in next-occur formatting for instances that do not have a next-occur date.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15498 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-04 15:21:10 +00:00
Joshua Sled
1767fd22a9 "None" is a totally valid SX frequency.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15497 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-04 15:11:32 +00:00
Joshua Sled
01e6da3fcc Bug#372262: create the session with the file-creation option enabled.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15496 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-04 15:04:18 +00:00
Joshua Sled
689796bd98 formatting/whitespace
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15495 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-04 15:02:07 +00:00
Andreas Köhler
fad14daab2 Add -mms-bitfields and -mwindows to configure.in.
On Windows, all C source files should be compiled with
-mms-bitfields. But this was only the case for those in modules
depending on gtk+. Fixes make check in src/app-utils.

Link with -mwindows, making the DLLs and gnucash-bin.exe to run in the
GUI subsystem. Clicking the bat will not open a console for gnucash,
starting from MSYS will not print messages, anymore.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15493 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-03 01:47:09 +00:00
Christian Stimming
e6e07fdc1a Added Canadian French account templates by Serge P. Leblanc
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15491 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-02 14:18:52 +00:00
Joshua Sled
193a95015a Rename "pts" -> "units". It's not actaully points.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15489 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-01 21:47:17 +00:00
Derek Atkins
266595a208 The engine shouldn't depend on business.
remove the references to the business-core includes directory


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15488 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-01 15:48:21 +00:00
Christian Stimming
e5f22f8ed0 Add generated ChangeLog of the year 2006 (r15286:r12229) to tarball.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15487 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-01 14:25:42 +00:00
Joshua Sled
8577897ac7 SX "enabled" patch from Peter McAlpine <peter@aoeu.ca>.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15486 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-01 03:30:21 +00:00
Joshua Sled
594a1f343f Make it a 1pt reduction, and make the variable just a bit clearer.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15485 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-01 02:25:52 +00:00
Andreas Köhler
c71c7ecd24 Add lib/libc/pow.h to avoid calculation errors on Windows.
If the return value of pow is not saved in a double but rather used for
other calculations or casts, results can be bad, like pow(10, 2) being
99 instead of 100. Wrap pow and store the return value first before
continuing.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15484 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-01 01:08:05 +00:00
Andreas Köhler
d719ce6cc2 Add a --library-dir to gnome-utils tests.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15483 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-01 01:00:31 +00:00
Andreas Köhler
1875a64aaa Reduce debug stack size in tests from 5,000,000 to 500,000.
Guile on windows will only accept the smaller value, cf. r13617.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15482 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-02-01 00:57:13 +00:00
Christian Stimming
f0d98b8e4d Add numerical check for match when importing transactions. By Ethy H. Brito.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15481 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 21:48:35 +00:00
Andreas Köhler
d7be4de889 Avoid even more divisions by zero in test-numeric.
Improve r15474 by repeating a test run if |nb|<4 holds, because nb is
divided twice by two, potentially becoming zero.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15480 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 16:22:11 +00:00
Christian Stimming
56e1b2acb7 Add more registry keys for aqbanking/gwenhywfar. Also, delete those keys on uninstall again.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15479 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 14:00:59 +00:00
Christian Stimming
565b3afbb0 Fix dist package creation after latest regex changes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15478 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 13:55:33 +00:00
Joshua Sled
68f9050a4b Force --enable-debug to strip spurious optimization added by AC_PROG_CC (for gcc). But if the user has optimization in their CFLAGS, make sure it's respected.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15477 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 02:36:53 +00:00
Joshua Sled
227489040d Fix bug in dispose for gnc-sx-list-tree-model-adapter causing (eventual) crash when sx-list plugin page is closed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15476 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 02:25:32 +00:00
Joshua Sled
f042147ca5 Change GncDenseCal font-handling from GDK to Pango. Change mark rectangles to circles, because they're cuter.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15475 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 02:05:02 +00:00
Andreas Köhler
cc8b101186 Do not intentionally divide by zero in test-numeric
Random numbers are 0 sometimes, especially on systems with smaller
RAND_MAX. Do not use it as divisor and repeat the run when we hit one.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15474 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 01:35:25 +00:00
Derek Atkins
b6be683d93 Fix the gnc-numeric test because using EXACT means we don't know
what the denominator is going to be, so if it gets ints a state
where it's NOT overflowing then you won't get a denominator of 1
like the tests assumed.  So use gnc_numeric_equal() in the few
tests where that's an issue.  This should fix the test on Win32.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15473 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 00:13:48 +00:00
Andreas Köhler
f81aa515fd Implement gnc_timegm directly without mktime.
Calculate the seconds since the start of the UNIX epoch directly without
the help of mktime. This also works on Windows. Systems with timegm are
unaffected.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15472 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 00:05:23 +00:00
David Hampton
a23e280d8d Prevent a crash when reading a new state file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15468 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-30 04:35:34 +00:00
Joshua Sled
bf67b8f33c remove questionmark
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15467 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-30 01:25:57 +00:00
Joshua Sled
909015dcbf Fix specious datafile dirtying in SLR dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15466 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-30 01:09:18 +00:00
Christian Stimming
cb02cab345 Code refactoring for further aqbanking features.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15465 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-29 20:58:46 +00:00
Joshua Sled
a34f91e975 add note re: datafile dirtying
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15464 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-29 14:38:24 +00:00
Christian Stimming
e1805d89a5 Fix typo in German translation. Fixes #402048.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15463 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-29 14:00:56 +00:00
David Hampton
44e614a706 Back out #15458 on trunk. This is temporary until after 2.0.5
(w/backward compatibility support) has been released for a while, and
then this patch will be re-committed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15461 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-29 05:30:32 +00:00
Andreas Köhler
0ef4c64c6b Do not crash on delete_event in new user dialog. Fix #401484.
If the new user dialog is closed with the help of the window manager,
the delete_event is not handled and g_assert_not_reached() is reached by
the code. Treat it like a click on "Cancel" instead.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15459 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-29 00:52:02 +00:00
David Hampton
4209e9bd88 Play nicer with recent releases of glib that have tightened what's
considered a valid key in a key/value file.  This change will cause
gnucash to rewrite any opened state file into a new version where all
key names fit the new glib requirements.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15458 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-28 21:58:20 +00:00
Christian Stimming
5ad71286b7 Fix relocation support detection that was broken with autoconf-2.60.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15457 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-28 21:44:21 +00:00
Joshua Sled
c7b436dc34 remove tabs to correct/consistentize indentation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15456 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-28 21:41:05 +00:00
Joshua Sled
17b046fde3 Correct return value of zero-loop list, preventing malloc(-1).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15455 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-28 21:24:30 +00:00
Christian Stimming
ed5966da7e Update German translation.
(Normally translations on trunk are not updated. In this case cstim keeps
track of this particular translation to handle it correctly when the large
2.0 -> trunk merge is going to happen.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15454 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-28 21:11:06 +00:00
Joshua Sled
5812812893 Bug#168700: extension of fin.scm with cpd_{,i,p}pmt functions, featuring variable compounding and consistent rounding functions. Patch from Ludovic Nicolle <ludo_gnc@chezludo.com>, though moved around in the file a bit.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15452 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-28 20:29:07 +00:00
Derek Atkins
9160a39948 Make sure we properly add the glib28 sources to EXTRA_DIST
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15450 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-28 14:13:27 +00:00
Andreas Köhler
f0d6aab958 Replace mkstemp and rename by g_mkstemp and g_rename.
Mkstemp is unavailable on Windows and g_rename is preferred. Completes
r15435 on trunk and must not be backported.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15449 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-28 13:40:54 +00:00
David Hampton
10d17674e6 Remove unused functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15448 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-28 06:20:43 +00:00