Commit Graph

8552 Commits

Author SHA1 Message Date
Chris Shoemaker
7452d320be Avoid creating new xml parser for each test file.
This plugs a mem leak in the test case.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12329 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-12 21:22:03 +00:00
Christian Stimming
2be0b00d11 Revert not-yet-agreed change in QOF variables by myself that accidentally slipped in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12328 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-12 15:52:00 +00:00
Neil Williams
72a8d16d49 doxygen tweak
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12324 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-11 13:26:15 +00:00
Neil Williams
d9e6063412 doxygen tweak
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12323 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-11 13:06:07 +00:00
Chris Shoemaker
ad79d941fa Factor-out cut-n-paste job from xaccCloneAccount{Simple}.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12322 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-11 04:39:12 +00:00
Chris Shoemaker
f502a238e4 Convert account name, code and description to use string cache.
Plus minor comments and tweaks.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12321 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-11 04:30:20 +00:00
David Hampton
0598081427 A couple of simple substitutions for deprecated functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12320 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-11 04:29:06 +00:00
Chris Shoemaker
32a5612d4c Add CACHE_REPLACE(dst, src) macro for common case in string setters.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12319 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-11 04:27:02 +00:00
David Hampton
eaa9d47eab Use newer function for setting the width of a GtkSpinButton.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12318 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-11 04:25:36 +00:00
David Hampton
34edc2ab95 The gnucash gpg networking code isn't called from anywhere. No need
to compile it as part of the build.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12317 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-11 03:08:25 +00:00
Chris Shoemaker
e4506925fc Convert gnc-commodity to use vanilla string cache macros.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12316 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-11 02:58:59 +00:00
Chris Shoemaker
eb729c2073 Add const to gnc_string_cache_insert argument.
Handle NULL values gracefully.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12315 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-11 02:56:02 +00:00
David Hampton
abffefe382 Replace deprecated functions with their current equivalent.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12314 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-11 02:41:26 +00:00
Chris Shoemaker
3a8b735879 Add commented-out test case demonstrating lack of year 2038 support.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12313 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-11 02:19:42 +00:00
Derek Atkins
efe7f9c4e6 ignore dangling symlinks when building po/POTFILES.in
* make-gnucash-potfiles.in: ignore dangling symlinks when
	  building po/POTFILES.in



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12312 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-10 22:10:22 +00:00
Chris Shoemaker
7b63c404e0 Plug memory leak of gnc_commodity_namespace->QofInstance; found w/ valgrind.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12311 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-10 21:42:55 +00:00
Christian Stimming
563e3d22ac Add account templates for Norwegian (Bokmal) language; by Tor Harald
Thorland <linux@strigen.com>; not fully functional so far.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12310 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-10 20:13:47 +00:00
Christian Stimming
627170594e Updated Norwegian translation by Tor Harald Thorland
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12309 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-10 19:58:42 +00:00
Chris Shoemaker
8f7fbc0f9e Avoid testing dates near or after 2038, because the qof parsing functions fail.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12308 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-09 21:06:45 +00:00
David Hampton
6e66d8e154 Add tooltip for new button.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12307 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-09 12:58:51 +00:00
Chris Shoemaker
6400638073 Don't test numeric parsing for numbers that overflow, we'd fail.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12306 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-09 03:33:46 +00:00
David Hampton
36dceb4d18 Add a button to clear the name of the currently selected file in a
file chooser.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12305 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-08 22:39:47 +00:00
David Hampton
89db6572b1 The GTK2.4 headers are missing a named constant.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12304 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-08 22:34:04 +00:00
David Hampton
7853ce804d Fix a couple of compiler version issues.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12303 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-08 22:31:40 +00:00
Derek Atkins
bc7964de49 * Makefile.am: fix the dist-hook macro for po/POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12302 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-08 22:29:47 +00:00
Christian Stimming
d6a783fd2d Updated German translation. 3414 done.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12301 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-08 21:41:17 +00:00
Christian Stimming
048a0577bb Add more tooltips to main window buttons. i18n improvements.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12300 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-08 21:37:30 +00:00
Neil Williams
1de3fe86d2 QOF 0.6.1 release update
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12299 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-08 17:51:29 +00:00
Neil Williams
4a2a175106 updated en_GB translation (92fuzzy remaining) in association with Nigel Titley and the translation project
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12298 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-08 14:57:07 +00:00
Neil Williams
aa3ff78701 ENTER and LEAVE matching, typo and doxygen tweak
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12297 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-08 14:45:28 +00:00
Christian Stimming
f9b989e0e3 Fix gnc-svninfo.h rule for gentoo ebuild where svn is no longer available
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12296 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-08 14:24:27 +00:00
Christian Stimming
8b2ba203b1 src/gnome-utils/gnc-main-window.c: Add gnc workaround function for
errorneous gtk_action_group_set_translation_domain. Fixes the
statusbar-tooltip error mentioned on 2006-01-07. Filed in gtk as
bug#326200.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12295 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-08 14:01:14 +00:00
David Hampton
e5a2e3b155 Copy the table markup from an intermediate table to the final
displayed table.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12294 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-07 19:13:29 +00:00
David Hampton
10dc5c75ac When building a html table from an account tree, apply markup to the
"total" lines so that they use the right stylesheet colors.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12293 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-07 19:12:35 +00:00
David Hampton
7888e9506b Fix the "share decimal places" option.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12292 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-07 18:42:58 +00:00
Christian Stimming
cdca53eebb Oops, fix unintended additional changes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12291 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-07 17:15:06 +00:00
Christian Stimming
caf7882116 Updated German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12290 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-07 17:13:47 +00:00
Christian Stimming
4ae6ac8ffa Add more tooltips to actions.
src/report/report-gnome/gnc-plugin-page-report.c: Rename "Save report"
menu item to "Add report" according to IRC discussion with warlord.
	



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12289 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-07 17:13:21 +00:00
Christian Stimming
5613dbec34 Add display of a GtkAction's tooltip in the statusbar when the mouse
is selection its menu item. Code copied from gtk+'s
test/testmerge.c. Works fine, except that in non-C locales a tooltip
of "" is errorneously passed through gettext(), which will
accidentally catch a wrong string from the po files. This needs to be
fixed.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12288 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-07 17:12:30 +00:00
Christian Stimming
aab5d996e2 Improve valgrind script
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12287 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-07 15:48:53 +00:00
Christian Stimming
c56ccdd3cf Updated Norwegian translation by Tor Harald Thorland
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12286 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-07 15:47:17 +00:00
Christian Stimming
f86241f0a7 Move code from macros/autogen.sh to ./autogen.sh to make it more
obvious what happens. Add checks for all programs that are called,
fixes bug#325721. However in principle the code wasn't changed, only
cleaned up.




git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12285 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-07 14:51:37 +00:00
David Hampton
48f556c360 Update for recent HBCI fixes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12284 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-07 07:36:47 +00:00
David Hampton
89feeb7dec Add some access keys to menu items and buttons.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12283 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-07 07:28:40 +00:00
David Hampton
d23f2cfea3 Remove some deprecated gnome functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12282 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-07 07:03:48 +00:00
David Hampton
b9750610cd Add a script to invoke the new gnucash.bin executable via valgrind.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12281 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-07 06:18:14 +00:00
David Hampton
fdbff57186 Performance enhancements. Remove the model from the combo box before
clearing and repopulating it.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12280 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-07 06:00:05 +00:00
Joshua Sled
eb97fef444 buffer-flush notes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12279 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-06 22:55:02 +00:00
Chris Shoemaker
d20e593428 Fix floating point exception by checking for overflow.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12278 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-06 22:28:38 +00:00
Christian Stimming
8b487afd7b Improve glade-fixup script so that it can be used in subdirectories, too
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12277 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-06 22:10:48 +00:00