David Hampton
78587b5a02
Ignore generated files
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15886 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-14 16:19:12 +00:00
David Hampton
6536479c48
Begin the GObjectification of the Account object. Move some
...
properties from the public data structure to a private data
structure, and enable access to them as properties of the object.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15885 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-14 16:01:55 +00:00
Christian Stimming
8adf99bf51
Improve i18n
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15884 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-14 11:34:01 +00:00
Christian Stimming
fd38c08aea
Update German translation.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15883 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-14 11:33:17 +00:00
Christian Stimming
b642c9ec7a
Fix i18n; add explanation of word meanings and i18n issues here.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15882 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-14 11:24:15 +00:00
Christian Stimming
4fe03a99c6
Copy po files from branch-2.0 r15797 to trunk and merge trunk's po template by make update-po.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15881 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-14 10:47:04 +00:00
Andreas Köhler
36e3d2434d
Wrap SPLIT_{ACCT_FULLNAME,CORR_ACCT_{NAME,CODE}} correctly. Reported by Mike Alexander, #429075 .
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15880 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-14 10:36:53 +00:00
Christian Stimming
ea9c56e68c
Fix missing exchange rate dialog on purchasing stocks. Patch by Mike Alexander, bug#335101.
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15879 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-14 09:24:15 +00:00
Joshua Sled
b1f84468ce
Formatting.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15877 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-11 22:00:35 +00:00
Joshua Sled
92f3dc0bad
Fix indentation; clarify comment/description of vector of functions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15876 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-11 21:58:48 +00:00
Andreas Köhler
d208d7f5d8
Balance some more ENTER/LEAVE calls. Replace one ENTER by DEBUG.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15875 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-11 16:47:42 +00:00
Andreas Köhler
4acc6ac577
Add a few gncAddressBeginEdit before gncAddressDestroy.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15874 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-11 15:37:09 +00:00
Andreas Köhler
584819956f
Use ERR_BACKEND_READONLY if data file cannot be unlinked on write.
...
On Windows, we need write access to the data file to remove it before
replacing it by the already written out temp file. We should not just
chmod the data file, but tell the user that it may be read-only.
ERR_FILEIO_BACKUP_ERROR was misleading because the backup actually
worked.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15873 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-11 15:34:19 +00:00
Joshua Sled
2bd54380ce
Revert 15855: we can't get away with this yet.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15872 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-11 13:27:41 +00:00
Joshua Sled
331863ed08
a bit safer.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15871 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-11 02:57:20 +00:00
Joshua Sled
ba63c51cc5
Bug#428452: use the g_path_get_dirname(...) of the last-file-opened to initialize the default directory of the File > Open dialog.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15870 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-11 02:08:23 +00:00
Christian Stimming
260dbe55b1
Use aqbanking's FiId field for correct OFX duplicate matching. #418072 , patch by David Reiser.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15868 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-10 19:32:30 +00:00
Derek Atkins
0db8a768b4
Phil Longstaff's patch for begin/commit edit in price quotes.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15860 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-10 14:17:11 +00:00
David Hampton
4a8089b4c5
Add some const declarations.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15857 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-09 23:28:09 +00:00
David Hampton
13d841930b
Add some begin_edit/commit_edit checks.
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15856 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-09 23:26:43 +00:00
David Hampton
7e6d9f8a5f
Re-enable -Wunused checks.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15855 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-09 23:24:35 +00:00
Derek Atkins
b15d6171c7
Phil Longstaff's patch to enable gnc_numeric to be a GValue
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15854 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-09 23:02:47 +00:00
Derek Atkins
7990568f9b
Phil Longstaff's patch to fix a kvp_frame bug.
...
Save the current frame so we know where to build the new one.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15853 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-09 23:02:33 +00:00
Joshua Sled
880da659b5
make hashtable destruction a bit more defensive
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15852 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-09 20:00:46 +00:00
Andreas Köhler
f5e053f05d
Rename g_date_equals to gnc_gdate_equal and g_date_hash to gnc_gdate_hash.
...
Those are not native GLib functions. Make _equals consistent with
g_{str,int}_equal, also return a gboolean. g_date_compare checks its
parameters for validity already, so do not do that twice.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15851 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-09 00:51:51 +00:00
Andreas Köhler
ec22b196e5
Remove unused code for gnc_timet_get_day_{start,end}_gdate from qof.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15850 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-09 00:51:45 +00:00
David Hampton
a2269e623e
Fix compiler complaints about dereferencing type-punned pointers.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15849 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-07 18:24:53 +00:00
Derek Atkins
18c4cbf122
First step of QOF/Object GObjectification.
...
- Merge QofEntity into QofInstance
- Derive QofInstance from GObject
- Convert all QofInstance-derived objects to use GObject framework
- renamed qof_instance_init() to qof_instance_init_data()
- removed qof_instance_release() because it's no longer needed
Merge from branches/gobject-engine-dev-warlord (r15827)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15846 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-07 16:02:27 +00:00
Andreas Köhler
3fc5e23b51
Remove unused functions qof_print_{hours,minutes}_elapsed_buff().
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15845 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-06 23:29:56 +00:00
Andreas Köhler
8f8a8a33b1
Remove unused function qof_is_same_day().
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15844 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-06 22:59:34 +00:00
Joshua Sled
df48c26f49
s/printf/g_logging/
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15843 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-06 20:03:50 +00:00
Joshua Sled
459a053a30
Bug#348364: (Emulating price-cell,) we need to ensure the denominator of the amount is in the SCU of the account's commodity (so gnc-ui-util.c:is_decimal_fraction() on the remainder denom for fractional values will be a "decimal").
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15842 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-06 20:00:04 +00:00
Joshua Sled
cdcc26bbc9
Re-layout SX editor dialog: move 3 major components into notebook tabs. Bug#339003.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15841 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-06 17:24:11 +00:00
David Hampton
65c3b8d3c5
Conditionally remove some more deprecated functions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15840 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-06 04:44:07 +00:00
Joshua Sled
aa94af8c94
Free memory.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15839 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-06 02:49:19 +00:00
David Hampton
df0cfeddc2
The function name xaccSplitDateOrder is misleading, so rename it to
...
xaccSplitOrder. Add a new xaccSplitOrderDateOnly function.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15838 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-06 02:31:28 +00:00
Joshua Sled
897633f01b
Combine two copies of "dow abbrev[iation]" code.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15837 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-06 02:22:29 +00:00
Joshua Sled
f7206b1fd1
Mem handling fixme.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15836 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-06 01:47:37 +00:00
Joshua Sled
49640205d3
Rename GncSxInstances->list to instance_list, which at least emacs doesn't hilight as a (potential)keyword.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15835 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-06 01:20:27 +00:00
David Hampton
d2f7b84a4e
Remove some deprecated functions. Bump version numbers were GnuCash
...
sets the "disable deprecated" flags.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15834 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-06 01:15:15 +00:00
Joshua Sled
18f0e755ec
Normalize memory handling of GncDenseCal marked-element "info" string.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15833 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-06 00:54:52 +00:00
Joshua Sled
bda70ee100
detail
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15832 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-06 00:51:42 +00:00
Joshua Sled
18703684f1
remove a level of (legacy) indirection around some calls.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15831 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-06 00:50:50 +00:00
Joshua Sled
f64b83c37f
decided against
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15830 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-06 00:50:13 +00:00
David Hampton
392cd816a3
Balance ENTER/LEAVE calls on some functions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15829 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-06 00:19:08 +00:00
Andreas Köhler
b7cc4b2e1e
Fix a %s-NULL-printf.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15828 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 19:49:52 +00:00
Derek Atkins
8c6e7b8394
Add hooks for the gobject dispose() function so that we can
...
migrate each object's "free()" function to a combination of
dispose() and finalize().
(and yes, "make check" still passes all its tests)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15827 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 03:10:26 +00:00
Derek Atkins
b4323dbfcf
Get "make check" to work with the gobjectified objects.
...
- fix a bunch of tests to use the new gobject defs
- make sure we initialize g_type_init() in qof_init()
- fix qofbook's destruction sequence (I broke it earlier)
- use dispose() in QofInstance
- use qof_init() for the business tests.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15826 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:44:47 +00:00
Derek Atkins
4c64b3e9a0
convert GncVendor to gobject initialization
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15825 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:44:36 +00:00
Derek Atkins
aca8de8037
convert GncTaxTable to gobject initialization
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gobject-engine-dev-warlord@15824 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-05 02:44:25 +00:00