Commit Graph

9107 Commits

Author SHA1 Message Date
David Hampton
3bf8d37212 Update spec file from RH8 to FC4.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13334 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 22:02:37 +00:00
David Hampton
b575dc47af Compile cleanly with when _FORTIFY_SOURCE is defined. This definition
is forced when building RPMs on FC4.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13333 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 22:00:38 +00:00
Derek Atkins
b5713ba30c * configure.in: fix the qof configure test for OSX.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13332 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 21:45:11 +00:00
David Hampton
cc44d065bb Don't reference uninitialized memory.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13331 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 21:06:32 +00:00
Chris Shoemaker
6a6b7c5776 Add a local copy of GtkTreeModelSort from gtk 2.8.12. Our local copy is
called GncTreeModelSort.  This newer version of GtkTreeModelSort fixes at 
   least one observed bug with our use of sorted models.  The 
   gtktreedatalist.[ch] files are used by GtkTreeModelSort and are directly 
   from gtk 2.8.12 without any renames because they aren't exported by gtk.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13330 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 20:47:01 +00:00
Chris Shoemaker
3c72393369 Explictly require gtk2.6 for conditionally compiled code that needs it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13329 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 20:22:24 +00:00
Chris Shoemaker
0b46642d65 Factor out a compat definition of GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID
into gtk-compat.h.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13328 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 20:09:02 +00:00
Neil Williams
78f38c6ebd ChangeLog entries
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13327 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 19:55:36 +00:00
Neil Williams
7e890a2ed3 prepare for QOF 0.6.2 release
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13326 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 19:55:16 +00:00
Neil Williams
625a4cd05e replacing gnc-event with qofevent
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13325 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 19:54:03 +00:00
David Hampton
59a62d13ed Use a spin_box instead of an entry for the 'occurrences' and
'remaining' numeric fields.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13324 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 19:50:42 +00:00
David Hampton
133bb8957c HIGify the scheduled transaction dialogs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13323 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 19:40:24 +00:00
Neil Williams
2a6f832ded removing more unneeded headers with move pending
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13322 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 19:09:46 +00:00
Neil Williams
1c6a7b6eb2 remove unnecessary (and soon to be moved) header file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13321 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 18:49:46 +00:00
David Hampton
22b8646b43 Remove forced screen updates that are no longer necessary.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13320 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 16:11:06 +00:00
David Hampton
d1560a106c If the number of "visible to the user" lines in the register has
shrunk, force the parent widget to redraw.  This fixes #328787.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13319 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 16:02:06 +00:00
Derek Atkins
e4bca4ad0b Allow nested begin/commit in xaccTransSetTxnType(). Fixes #331771.
The old code wouldn't let you set the value if you were already
	  within a BeginEdit/CommitEdit block.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13316 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 04:40:06 +00:00
Chris Lyttle
0fdea46ecd update to release 1.9.1
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13314 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 03:16:26 +00:00
Chris Shoemaker
ceebdbd6c7 Fix for 'use of uninitialized' warning.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13313 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 02:58:29 +00:00
David Hampton
27d5ac3cf2 Take the selection into account when handling the keypad decimal point
key.  Fixes 314775.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13312 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 02:16:50 +00:00
David Hampton
4e402ce74e Remove unused debug code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13311 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 00:02:01 +00:00
David Hampton
f895d7e10f When looking for an matching account name, start at the beginning of
the selected region, not the end.  Problem created when the code
stopped adding placeholder accounts to the quickfill.  Fixes 328893.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13310 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-20 00:01:18 +00:00
Derek Atkins
9606f87741 Phil Longstaff's patch to make the GUID length a magic number.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13309 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 23:41:53 +00:00
Neil Williams
e609f9915a ChangeLog for reference and recursive QOF changes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13308 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 22:55:36 +00:00
Neil Williams
7a4935e7e7 updated test routine for new recursive code in libqof
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13307 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 22:55:11 +00:00
Neil Williams
fd4960d0cf Improved reference handling for recursive copying of entities - relocate disparate functions to a single new file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13306 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 22:54:39 +00:00
Neil Williams
82f66081dc ignore generated po/stamp-it file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13305 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 22:53:08 +00:00
Derek Atkins
4908c23154 Don't let users post negative invoices. (#166864)
Pop up an error dialog and prevent the post.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13304 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 22:43:28 +00:00
David Hampton
0c33f64499 Regularize the naming of the Finance::Quote auxiliary scripts. Remove
the obsolete gnc-prices script.  Move the to the bin directory the
scripts that weren't already there.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13303 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 22:16:49 +00:00
Joshua Sled
86bd7b9238 Build fix; finish removing obsolete merge "error" check.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13302 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 20:52:10 +00:00
Christian Stimming
9ff822ad75 Fix uninitialized variable warning
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13301 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 20:48:50 +00:00
Derek Atkins
ead7057358 A few tests to improve get_random_query() and fix a couple test bugs.
- Prefer QUERY_AND and QUERY_OR over NAND, NOR, XOR
	  - Don't randomly generate a gnc_numeric with a 0 denominator.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13300 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 19:29:51 +00:00
Derek Atkins
7d0228fa58 Use glib's gi18n.h instead of redefining gettext.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13299 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 19:28:28 +00:00
Derek Atkins
584f16aa36 Remember the last-used account when processing payment (#329725)
* src/business/business-core/gncOwner.[ch]: Add api to get owner
	  kvp-slots abstractly.
	* src/business/business-gnome/dialog-payment.c: Load/save the
	  last-used transfer account whenever the owner changes or
	  the dialog completes.
	  Fixes #329725.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13298 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 18:20:18 +00:00
Joshua Sled
abae418947 Implement new-hierarchy-druid placeholder-value merge policy as discussed on -devel.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13297 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 16:36:08 +00:00
Derek Atkins
3684d8a444 Brian's patch to add company-id to the company address.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13296 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 16:32:49 +00:00
Derek Atkins
57115770d6 Pop up a warning dialog if the user has no valid post-to accounts. Fixes #331730.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13295 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 16:22:21 +00:00
Derek Atkins
33133b87f0 Make sure we use tabs, not spaces, in the transaction log (#331620)
* src/engine/TransLog.c:  use TABS not SPACES for column separators
	* src/import-export/log-replay/gnc-log-replay.c: use printf
	  so we don't have a tab->space conversion problem like we
	  did in TransLog.c
	  Fixes #331620.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13294 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-19 15:23:15 +00:00
Derek Atkins
2b266cac25 Also report an error dialog if the fopen() fails.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13293 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-18 16:53:45 +00:00
Derek Atkins
46b1c64d77 display an error dialog when we fail to parse a log file
due to EOF or a bad header parsing.  Fixes #331620 based
on the test-case.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13292 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-18 16:45:50 +00:00
Derek Atkins
d6b618a92d * intl-scm/xgettext.scm: remove the absolute path from filenames
* intl-scm/Makefile.am: pass the absolute path to xgettext.scm



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13291 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-18 14:39:21 +00:00
Christian Stimming
f80dfa5a28 Fix old truncation of filename prefix that is no longer valid
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13290 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-18 10:08:19 +00:00
Christian Stimming
f1f7f58134 Make update-po because of recent massive string changes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13289 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-18 10:01:33 +00:00
David Hampton
d0e0f4e8cf Remove all explicit claiming of the selection in these files. The
GtkEntry they use already performs claims, and the additional just
mess things up.  Fixes #330153.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13288 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-18 05:18:29 +00:00
David Hampton
0ea6ebe253 Prepare for gtk change that will issue warnings if the return value of
the gtk_tree_model iter functions are not used.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13287 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-18 03:02:32 +00:00
Derek Atkins
d13a38cf25 * configure.in: autodetect OFX and use it if we find it.
the --enable/disable-ofx will make the check fatal on failure
	  or skip it altogether if you want to ignore an existing libofx.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13286 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-18 02:49:47 +00:00
Derek Atkins
a55a6b3ae5 * configure.in: remove un-needed/wanted gsf/goffice configure options
* macros/g-wrap.m4: fix the help text spacing.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13285 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-17 23:32:16 +00:00
Derek Atkins
d2221209ac Fix a double-set of CLEANFILES.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13284 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-17 23:31:09 +00:00
Derek Atkins
6d15e9e2ca scrub the transaction for a currency after we replay. (#143720).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13283 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-17 21:47:13 +00:00
Derek Atkins
6aec7f5a94 Don't pass NULL to ferror() (from bug #143720).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13282 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-17 21:31:29 +00:00