Commit Graph

7894 Commits

Author SHA1 Message Date
Linas Vepstas
ed714f2aa5 misc hacking
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8867 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-13 05:21:51 +00:00
Linas Vepstas
a4bf3b2142 add a special case: a termless, match-any query
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8866 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-13 05:20:10 +00:00
Linas Vepstas
59d7daabc6 set label tags
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8865 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-13 04:57:52 +00:00
Linas Vepstas
67766c1cb0 add some handy-dandy utility functions to set the label text
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8864 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-13 04:53:20 +00:00
Linas Vepstas
6c4b3c40b7 misc hacking
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8863 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-13 04:16:51 +00:00
Linas Vepstas
3c92f24d57 remove dead code
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8862 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-13 04:15:45 +00:00
Linas Vepstas
d3a52af048 tweak the name
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8861 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-13 03:46:35 +00:00
Linas Vepstas
df6641bb85 improved documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8860 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-13 03:39:14 +00:00
Linas Vepstas
7c9467c579 improve documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8859 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-13 03:35:32 +00:00
Linas Vepstas
4e7e854940 oops
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8858 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-12 22:54:55 +00:00
Linas Vepstas
915549af4e misc bogosity for the accounting period druid
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8857 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-12 22:32:35 +00:00
Linas Vepstas
288827aac2 GUI updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8856 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-12 21:18:47 +00:00
Linas Vepstas
8bd7ab76d1 glade druid for accounting periods
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8855 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-12 20:36:25 +00:00
Linas Vepstas
493e8f89b1 updtes for accounting periods
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8854 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-12 20:12:59 +00:00
Linas Vepstas
a4a47577aa start work on druid for setting up accounting periods.
Also some other misc cleanup


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8853 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-12 19:47:34 +00:00
Linas Vepstas
f6768d4705 missing header file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8852 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-12 18:28:13 +00:00
Derek Atkins
06aa3a6845 * src/import-export/import-parse.[ch]: routines to parse numbers
and dates in a mostly-locale-agnostic way.
	* src/import-export/import-format-dialog.c: a dialog to ask the user
	  to choose a format, when parsing just isn't enough.
	* src/import-export/generic-import.glade: add the format_match dialog
	* src/import-export/test/test-import-parse.c: test the import-parse
	  routines.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8851 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-11 03:28:00 +00:00
Derek Atkins
7b3bb91ed7 * src/business/business-core/gncBillTerm.c:
* src/business/business-core/gncTaxTable.c:
	  Fix a crash where removing items in the wrong order could
	  cause "Bad Things" to happen -- referencing an invalid
	  object.  When being destroyed, an object should remove itself
	  from it's parent's list of children, in addition to removing
	  itself from it's children's pointer-to-parent.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8848 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-10 03:18:17 +00:00
Derek Atkins
e703054fb7 * src/app-utils/gnc-ui-util.[ch]: add a function to parse a numeric
with the caller providing all the locale-specific information


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8847 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-10 03:10:08 +00:00
Derek Atkins
743889ead0 * configure.in: change (and comment out) checks for pthreads
* macros/acx_pthread.m4: change pthread search (should be removed)
	* src/engine/guid.c: remove pthread code and just use a static buffer.
	  (pthread code is kept within some #ifdef's, just in case we decide to
	   put it back in later).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8846 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-10 03:08:48 +00:00
Christian Stimming
e1ce34c9e5 2003-07-09 Christian Stimming <stimming@tuhh.de>
* README: Added remark about gnucash-docs.

	* src/import-export/hbci/druid-hbci-initial.c: Clarify the part of
	the HBCI setup about potentially adding HBCI accounts manually.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8845 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-09 20:29:54 +00:00
David Hampton
aae31451f0 Warn the user before deleting a commodity if there are price quotes
based on that commodity.  If the commodity is deleted anyway, delete
the price quotes that depend on it. #111643


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8840 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-05 01:34:21 +00:00
David Hampton
28640525f9 Allow the user to specify by namespace which commodities should be
retrieved when getting price quotes.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8839 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-03 22:40:18 +00:00
Linas Vepstas
881d12d320 add a utility routine
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8838 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-03 22:24:11 +00:00
Chris Lyttle
c4c5f4fcfb add Jon Lapham's patch
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8837 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-03 06:57:22 +00:00
David Hampton
6100719068 Update for qof changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8835 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-03 05:19:48 +00:00
Christian Stimming
739ce8a40c 2003-07-02 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-transfer.c,
	src/import-export/hbci/dialog-hbcitrans.c: Change HBCI online
	transfer action so that first the gnucash Transaction is created
	and only after that the HBCI connection is started. Necessary for
	later implementation of offline queueing and multi-job execution.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8818 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-02 21:09:13 +00:00
Christian Stimming
433a32769b Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8816 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-02 07:44:35 +00:00
David Hampton
4f38f63d11 Maintain group id when saving file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8814 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-02 04:51:41 +00:00
David Hampton
b9bf61723a Move the F::Q stuff from the util files to live with the rest of the
commodity code in gnc-commodity.c.  Turn quote sources into an object.
Eliminate the gnucash internal quote source names in favor of the F::Q
names.  Dynamically find and add installed F::Q sources that aren't
hard coded into gnucash.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8812 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-02 03:35:20 +00:00
David Hampton
fdc8099bcf Put the F::Q console output under the debug flag instead of
eliminating it entirely.  Comes in handy now and then.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8811 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-02 03:30:13 +00:00
Derek Atkins
87529fd3b0 * macros/acx_pthread.m4: macro to find the pthread library for
the particular system
	* configure.in: look for pthread library (now that we actually
	  USE pthreads, even if only for Thread Local Storage).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8810 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-01 00:28:44 +00:00
Linas Vepstas
d1f0cd1ae5 url decoding fixes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8809 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-30 16:24:23 +00:00
Linas Vepstas
55778231da the init/.shutdown functions shouldn't be private
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8808 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-30 05:59:14 +00:00
Linas Vepstas
a59bc5a754 glurg
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8807 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-30 04:58:35 +00:00
Linas Vepstas
19cd206dcd just can't get it right, try again ....
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8806 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-30 04:57:52 +00:00
Linas Vepstas
6baae8eeef oops
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8805 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-30 04:34:42 +00:00
Linas Vepstas
7382e6c531 fixup date printing
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8804 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-30 04:33:59 +00:00
Linas Vepstas
52f92b77f1 add some notes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8803 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-30 04:29:54 +00:00
Linas Vepstas
7657101c54 oops
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8802 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-30 04:19:22 +00:00
Linas Vepstas
7838125667 standardize some of the names of the date handling routines;
add routines to print time.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8801 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-30 04:14:50 +00:00
Linas Vepstas
439e305550 qof translation screwed up a couple of things
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8800 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-28 21:24:07 +00:00
Linas Vepstas
2bf5f33c44 port the postgres backend sot that it now compiles /.w qof
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8799 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-28 20:56:43 +00:00
Linas Vepstas
d181d075b8 updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8796 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-28 20:20:04 +00:00
David Hampton
395c452648 Clean up usage of guid_to_string() function. There is no longer any
need to release the pointer returned by this function.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8789 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-28 06:29:17 +00:00
David Hampton
18424838fa Use a thread local buffer for guid_to_string. Mark this routine as
returning a const char string so any attempts to free this buffer will
be caught at compile time.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8788 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-28 06:20:46 +00:00
David Hampton
a6d96aa193 Correctly mark a function as returning a const char string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8787 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-28 06:20:14 +00:00
David Hampton
57ed4113cd No need to duplicate the string returned by xaccPrintDateSecs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8786 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-28 06:19:35 +00:00
David Hampton
54414b2176 Fix small memory leak.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8785 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-28 06:17:49 +00:00
David Hampton
397fe76818 Fix 'Save As' so it can write to non-existing files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8784 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-28 06:17:24 +00:00