Commit Graph

10828 Commits

Author SHA1 Message Date
Andreas Köhler
d6de54691d Do not remove files from history list on startup, #388500.
It is not clear yet, when and how it is best to remove inaccessible
files from the history list.  At least we should not do it on startup.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16091 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-17 13:28:43 +00:00
Derek Atkins
f9de5abe1b Use POTFILES.ignore (in addition to POTFILES.skip) to placate recent intltool
Eventually we can just move back to POTFILES.skip and remove the
POTFILES.skip tests from Makefile.am.   This should allow "make check"
to work on recent systems (like Fedora 7) with intltool-0.35.5
and automake-1.10


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16090 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-16 03:38:06 +00:00
David Hampton
fc72475bef Update translator comments.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16089 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-15 02:54:56 +00:00
David Hampton
8f6abfd96e Programmatically generate check file names from the title input by the
user.  Fixes #436255.  Also reload the check format combobox each time
a custom format is successfully saved.  Fixes #436394.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16088 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-15 02:47:06 +00:00
David Hampton
0964eebb45 Limit the values of randomly generated numbers a little bit more.
This prevents the test-lots case from dying when it attempts to divide
one split into two splits, and the ration of the two splits ends up
producing numbers less than 0.01.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16082 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-13 20:54:57 +00:00
Andreas Köhler
1413a11989 Add some delimiters for parsing CJK dates, #437898.
On Windows, the short date formats are used, containing standard
delimiters.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16081 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-13 15:02:40 +00:00
Christian Stimming
7d4786558b Update German translation. Fix some duplicate key shortcuts as pointed out by andi5.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16080 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-13 13:23:31 +00:00
Christian Stimming
64a22b519a Fix spelling error
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16079 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-13 13:22:20 +00:00
Andreas Köhler
03ccfc502e Make search and tax info dialogs invisible at the top-most level.
On the one hand this avoids nasty redraws, so that the user need not
watch the dialogs getting filled by widgets.  On the other, on Windows
because of #436721, dialogs are not redrawn correctly after a
gtk_window_resize(), rendering at least these two dialog partly unusable
without a full redraw.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16078 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-13 00:10:08 +00:00
Andreas Köhler
23c1d1a598 Add gnc_history_remove_file, call it if the history file cannot be loaded, #388500.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16077 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-12 23:30:35 +00:00
Christian Stimming
12ec997301 Fix memory leaks: All strings from gnc_gconf_get_string need to be freed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16076 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-12 19:36:39 +00:00
Christian Stimming
fdb7af4a6b Fix memory leak: Returned strings from gconf need to be freed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16075 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-12 19:12:02 +00:00
Joshua Sled
7aa1aec532 Remove broken hyperlinks; just in-line the urls.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16074 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-12 17:50:14 +00:00
Andreas Köhler
c402307aba Further improve date parsing on Windows. Revert parts of r16049 on Unix.
The recursive parsing of %x by strptime seems to work only for complete
strings, e.g. 4.6. in de_DE or 4/6 in en_UK will not be parsed
correctly.  Therefore, readd LANGINFO_D_FMT_CHECK and use
qof_win32_get_time_format(QOF_WIN32_PICTURE_{DATE,TIME,DATETIME} on
Windows for printing and scanning.  Make get_win32_locale_string and
translate_win32_picture accessible by QOF.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16073 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-12 16:50:49 +00:00
Christian Stimming
fc2dff9fe4 Update translations for next release.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16072 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-11 20:59:40 +00:00
Andreas Köhler
e4b8923fb0 On strptime('%X') and Windows, first translate the time picture to a format spec, cf. #437751.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16071 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-11 20:21:18 +00:00
Andreas Köhler
5237c40147 In gnc_find_or_create_equity_account, fix crash if there is no account "Equity", #436155.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16070 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-11 17:35:00 +00:00
Andreas Köhler
cc1f575c56 Update the window title after a new main window has been created, #436479.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16069 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-08 22:07:48 +00:00
Christian Stimming
125d497ecf Fix memory leak: Returned strings from gconf need to be freed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16068 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-08 21:06:16 +00:00
Christian Stimming
2ffe0b0832 Fix last commit, sorry.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16067 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-08 21:05:21 +00:00
Christian Stimming
d0f4e853c4 Fix small memory leak - unfreed string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16066 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-08 21:03:48 +00:00
Andreas Köhler
0a179cf181 Update comment in glade-fixup to Gtk+ v2.6.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16065 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-08 20:45:13 +00:00
Andreas Köhler
92491cdfb4 In the tax information dialog, add a GtkHPaned to allow resizing of the accounts treeview, #432072.
The treeview on the left hand side does not support horizontal
scrolling, so separate both sides by a horizontal paned widget.  Save
and restore its position in GConf, too.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16064 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-08 20:45:08 +00:00
Christian Stimming
f4d930d558 Improve user message wordings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16063 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-08 20:36:40 +00:00
Christian Stimming
52f1765f44 I18n improvements: Add comments for translators
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16062 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-08 20:33:48 +00:00
Christian Stimming
9488ce91e3 Fix small memory leak - unfreed string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16061 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-08 20:28:36 +00:00
Andreas Köhler
3d4136fbac Fix a NULL-%s-printf in bayes matching, #436455.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16060 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-07 18:39:51 +00:00
Chris Shoemaker
0cc3c94654 Plug a leak of strings in the swip-wrapped gnc_gettext_helper().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16059 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-07 13:24:27 +00:00
Christian Stimming
439ad78323 Fix memory leak where a free was forgotten
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16058 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-06 21:47:16 +00:00
Christian Stimming
8a9bc55475 Fix memory leak where a free was forgotten
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16057 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-06 21:27:09 +00:00
David Hampton
f2feb3016e Use the last second of the statement date when determining whether
clears transaction should be checked when the reconciliation dialog is
created.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16056 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-06 04:35:53 +00:00
David Hampton
5990e0be74 Fix several problems with the QOF book merge code. Use unique error
codes in the qof_book_merge_commit() function.  Fixes 343730.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16055 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-06 00:27:43 +00:00
Joshua Sled
31ba2398aa Bug#436177: more CSV Import hiding.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16054 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-05 23:25:58 +00:00
David Hampton
5277bb1d87 For report pages, make the "Refresh" menu item synonymous with the
Reload toolbar button.  Fixes 381737.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16053 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-05 23:23:29 +00:00
David Hampton
54deadecda Now that check printing has been rewritten, there no longer a need to
have the custom translation fields always enabled.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16052 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-05 22:20:09 +00:00
David Hampton
cf71fd4795 When saving a check format, query the user for the title to write into
that format.  Fixed #434409.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16051 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-05 21:46:06 +00:00
Joshua Sled
8b804cc6dd Bug#436177: disable menu items for Import CSV {,and send}.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16050 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-05 21:08:41 +00:00
Andreas Köhler
9f44e3155d Do not use langinfo to determine date format spec, but %x, %X or %c.
Remove check for HAVE_LANGINFO_D_FMT.  Rather use standard strftime and
(standard?) strptime format specifiers %x (date), %X (time) and %c
(date&time, all in national representation).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16049 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-05 21:02:56 +00:00
Andreas Köhler
b9664b2cab Add Windows-specific code to lib/libc/strptime.c to eat %x, %X and %c.
Originally, it came from evolution-data-server,
/libedataserver/e-time-utils.c, but was modified to not depend on GLib.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16048 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-05 20:44:24 +00:00
Joshua Sled
2252770c56 Bug#334939, partial: clarify the tooltips for the register reports.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16047 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-05 20:29:39 +00:00
David Hampton
3eb070ab80 Fix two bugs in custom check printing. One swaps the placement of the
amount(number) and amount(words) when printing directly from the
custom check page of the print dialog.  (No bugzilla.)  The other bug
is that GnuCash fails to write the guid in newly saved check
files. (Bug #434407)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16046 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-05 19:25:04 +00:00
Joshua Sled
719350041f Conditionally warn the user about file-format changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16045 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-05 19:20:35 +00:00
Joshua Sled
8db1c801a5 Invert "allow_file_incompatabiilty" tests: we now generate files that 2.0 might not read exactly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16044 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-05 17:03:42 +00:00
Andreas Köhler
b7d601be25 Save column selection in import account matcher to GConf.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16043 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-04 13:30:51 +00:00
David Hampton
9ec864163d Collapse the various "idata" fields into a single field attached to
the QofInstance object.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16042 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-03 03:56:31 +00:00
David Hampton
cad2164810 Collapse the various "version" and "version_check" fields into a
single pair of fields attached to the QofInstance object.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16041 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-03 02:56:56 +00:00
David Hampton
62dce55fb8 Fix a problem copying a guid from an object to a local variable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16040 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-03 02:56:15 +00:00
David Hampton
285a5216b3 Move QofInstance guid property from its public data structure to its
private data structure.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16039 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-02 05:42:41 +00:00
David Hampton
4f6fd1b090 Move QofInstance book properties from its public data structure to its
private data structure.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16038 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-02 03:18:46 +00:00
David Hampton
7d3c6b9a38 More a large number of the QofInstance 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@16037 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-02 01:57:49 +00:00